go to post Herman Slagman · Nov 29, 2022 Not only external code, but IRIS itself would probably stop working ;-)But setting it as a ClassDefinition option should be feasable, then the class compiler could convert 'standard' precedence to ObjectScript precedence.
go to post Herman Slagman · Oct 11, 2022 I consider myself a 'real' developer, but if I'm developing with/against clusters, containers, WSL, K8S etc, I think the beefiest the better. OS doesn't matter, but i9 grade and 32 GB is minimum. 4K partitions on DSM-11 doesn't do it anymore.
go to post Herman Slagman · Sep 1, 2022 Except that calling Python is about 10x slower, although it gives probably the value that you want.$Now() gives a different value because it doesn't take Daylight Savings Time into account.
go to post Herman Slagman · Jun 27, 2022 Yes, it can, ECP seems to be compatible between IRIS and Ensemble (or Cache)We will use it for migration to IRIS too, first add an IRIS ASync member to the mirror and then later promote it.We only have done this in a test scenario, so no guarantee ;-) Herman
go to post Herman Slagman · May 8, 2022 I don't know what you call slow, but a class with 24 mio objects shouldn't be slow.Even in our biggest class with 3 billion objects a rather complex query takes about 30 secs.
go to post Herman Slagman · Mar 14, 2022 The only way you could accomplish this is by watching the journal files, there would be journals like "Set Global" and "Kill Global"
go to post Herman Slagman · Feb 22, 2022 IRIS isn't suitable (nor meant to be) running on the edge or inside containers for that matter.As its name implies it is a Data *Platform* a framework on its own for running large-scale mission-critical applications.IRIS Agents or ECP Clients or whatever you will call them could extend IRIS to the realm of containers and edge applications.
go to post Herman Slagman · Dec 20, 2021 This seems to work: Method %OnNew(InitVal As %String) As %Status{Do ..HTMLZIPDoc.%LocationSet("c:\temp\zips")Return $$$OK}
go to post Herman Slagman · Dec 13, 2021 We got an answer from ISC: ====IRIS and Cache do use log4j but our products do not include versions affected by this vulnerability. This vulnerability affects versions from 2.0-beta9 to 2.14.1. The log4j versions used in Cache and IRIS product are based on version 1.x of log4j which is not affected by this issue.==== But of course one can use Log4j 2.* in your own Java applications.
go to post Herman Slagman · Dec 12, 2021 If you mean an argument to the Method, use the MethDef.FormalSpec string:The format is Arg1:Type,Arg2:Type=default,...
go to post Herman Slagman · Dec 10, 2021 Open the ClassDefinition: Set ClassDef=##class(%Dictionalry.ClassDefinition).%OpenId(ClassName)Add the Parameter Set Parm=##class(%Dictionary.ParameterDefinition).%New(ClassName_":"_ParameterName)Set Parm.Default=ParameterValueDo ClassDef.Parameters.Insert(Parm) Find the desired method in ClassDef.Methods collection by MethDef.NameUse the MethDef.Implementation stream to manipulate the codeCompile the class.
go to post Herman Slagman · Dec 7, 2021 I don't know if this is the case, but be sure not to output anything before setting Content-Type or HTTP status.In my case it was a debug Write statement that wrote directly to the current TCP stream.Because of IO redirect when something is written to the stream (the HTTP body) first the headers must be written and those are at that time the default values.
go to post Herman Slagman · Nov 5, 2021 But it's not about the front-end, you can use any you like.The power of CSP is in the back-end: hybrid server-side rendering, seamless integration with Classes, #server/#call.If you are developing an InterSystems-only web application, not using CSP would be foolish.You can still use Bootstrap, Tailwind, etc for the UI sugar, but for data integration and routing there's no match.
go to post Herman Slagman · Nov 4, 2021 Old man Glad you were of great help in the early days of Caché.
go to post Herman Slagman · Nov 4, 2021 Interesting to see if this will be a container-only release (as intermediate releases tend to be) or a full kit release.In the Early Adaptor Program, there were full kits available, which would be my preference.
go to post Herman Slagman · Nov 4, 2021 > ISC was never a leader in WebPages I don't agree: Weblink/CSP was Ajax-avant-la-lettre, it was absolutely amazing what you could accomplish with CSP/CSR. Rob Tweed and Chris Munt invented it and Stavros Macrakis marked it. We were able to rewrite our VB based application (dll-hell) within a few months and being much more flexible.I still think CSP is very useful for 'internal' applications, combined with Tailwind ccs and Alpine js anything is possible.
go to post Herman Slagman · Aug 5, 2021 Did you put a space (or a tab) at the beginning of the line ?<tab>Write "xxx"