New post

検索

Question
· May 30, 2024

IRIS Weblink - Basic capabilities

Hi Folks,

I am an architect working on a program involving Weblink. I am new to InterSystems and I am looking for information around basic capabilities of Weblink. I understand that the version we are dealing with (2014) is not supported no need to review that :).

Thank you,

Mike

6 Comments
Discussion (6)5
Log in or sign up to continue
Article
· May 30, 2024 2m read

Buscando los límites del nuevo tipo de datos VECTOR

Después del último concurso de programación sobre OEX tuve algunas observaciones sorprendentes.
Había aplicaciones casi exclusivas basadas en AI en combinación con módulos Py prefabricados.
Pero profundizando más, todos los ejemplos utilizaron las mismas piezas técnicas de IRIS.

Visto desde el punto de vista de IRIS, era más o menos lo mismo si se buscaba texto
o buscar imágenes u otros patrones.Terminó en métodos casi intercambiables.

Esto me recuerda mi situación privada en casa. Mi esposa y mi hija mantienen una (para mí)
increíble y enorme colección de faldas, camisas y todo el resto de prendas. Pero al final del día,
es con mi esposay mi hija con quienes hablo y vivo - sin importar qué cobertura usen.

Volver al concurso: 
Un montón de envoltorios sofisticados para más o menos el mismo contenido técnico de IRIS.
Todos tomaron la misma carretera. Nadie nunca tocó ningún límite.

Entonces traté de profundizar más y encontrar los límites del tipo de datos VECTOR.
Todos los vectores tienen 2 parámetros base.
- static DATATYPE : "integer" (o "int"), "double", "decimal", "string", y "timestamp"
- semidinámico LEN(gth): > 0 a menudo también denominado POSITION; un %Integer puro.

Este parámetro LEN/POSITION es el equivalente a lo que usted conoce como
dimensiones matemáticas de un vector.
Por supuesto, en el universo de Einstein es posible que solo necesites 4 dimensiones o menos.
basado en su Teoría de la Relatividad.
Incluso la teoría cosmológica de Strings que surgió en los años 60 no pasa de las 11 a 12 dimensiones.
Pero todos los buenos paquetes de soluciones de análisis de texto prefabricados utilizan
238, 364, >1200, .... dimensiones y probablemente más.

Entonces: ¿Cuál es el límite fijado por IRIS al POSITIONs posibles?
La documentación oficial no tiene respuesta.
Bueno, tomé mi terminal y probé.

for i=1:1 set $vector(test,I,"int")=i
;; very fast
<VECTOR>
zwrite i
i=65537

Probé con todos los tipos de datos: el límite es 65536

OK. Los tipos numéricos * 65536 son claros bajo el límite mágico <MAXSTRING> superior a 3 Mb.

PERO: ¿Qué sucede con el tipo "string" si su tamaño tiene una dimensión significativa?

El resultado impresionante:
lo logré con 65536 POSITIONs y una STRING de 3.600.000 bytes.
STRING tiene unos pocos kB debajo de <MAXSTRING>.
¡Aunque!  ¡Son 225.000 MB en total en un solo VECTOR!
No logro imaginar cómo se hace esto.

Sin duda, manejar este gigante inusual lleva tiempo y hay que esperar bastante.
Pero demuestra que el tipo de datos VECTOR es capaz de satisfacer todos los requisitos
prácticos sin estar limitado por el diseño.

Le deseo mucho éxito trabajando con VECTORs.

Discussion (0)1
Log in or sign up to continue
InterSystems Official
· May 30, 2024

May 30, 2024 – Advisory: License Enforcement Changes – REST and SOAP

Beginning with the release of InterSystems IRIS® data platform 2022.3, InterSystems corrected the license enforcement mechanism to include REST and SOAP requests. Due to this change, environments with non-core-based licenses that use REST or SOAP may experience greater license utilization after upgrading. To determine if this advisory applies to your InterSystems license, follow the instructions in the FAQ linked below.

This table summarizes the enforcement:

Product

REST & SOAP requests included in license enforcement?

InterSystems Caché®

Yes

InterSystems Ensemble®

No

InterSystems IRIS, InterSystems IRIS® for Health, and Health Connect prior to 2022.3

No

InterSystems IRIS, InterSystems IRIS for Health, and Health Connect 2022.3 and later

Yes

 

Customers have requested consistency in enforcement between Caché and IRIS. This change aligns licensing enforcement for REST and SOAP requests with Terms & Conditions; it also provides consistency moving forward across all InterSystems products. Planning for upgrades that cross the 2022.3 threshold should consider the potential impact of this change. 

To help understand this change's impact, InterSystems is providing resources, including temporary mitigation. For more information, see:

FAQ - License Enforcement Changes

The relevant product change for reference is DP-417320.

 

⚠ If you have any questions regarding this advisory or are interested in temporary mitigation, please contact your InterSystems Account Manager or InterSystems Worldwide Response Center (WRC).

Discussion (0)2
Log in or sign up to continue
Article
· May 30, 2024 1m read

How to avoid ODBC query timeouts

InterSystems FAQ rubric

To disable the timeout, set the query timeout to disabled in the DSN settings:

Windows Control Panel > Administrative Tools > Data Sources (ODBC) > System DSN configuration

If you check Disable query timeout, the timeout will be disabled.

If you want to change it on the application side, you can set it at the ODBC API level.

Set the SQL_ATTR_QUERY_TIMEOUT attribute when calling the ODBC SQLSetStmtAttr function before connecting to the data source.

Discussion (0)1
Log in or sign up to continue
Question
· May 30, 2024

Javascript library "Irisnative" does not work for 8 bits IRIS servers

Hi, 

I almost managed to connect myself from nodejs to IRIS via intersystems-iris-native, but the connection failed. 

 

> const irisnative = require('./intersystems-iris-native')
> irisnative
{
  createConnection: [Function (anonymous)],
  Connection: [Function: Connection],
  Iris: [Function: Iris],
  Iterator: [Function: Iterator],
  IRISList: [Function: IRISList]
}
.....
>     var connection = irisnative.createConnection({
...     host: ip,
...     port: port,
...     ns: namespace,
...     user: username,
...     pwd: password
...     })
Uncaught Error: 8-bit servers are not supported [ERROR_8BIT_SERVER]
>

 

It finished with ERROR_8BIT_SERVER.   I would like to ask you whether it is possible to connect to IRIS from javascript, in order to execute Mumps commands from nodejs.

Kind regards,

 

Alin C Soare.

1 Comment
Discussion (1)2
Log in or sign up to continue