go to post Robert Cemper · Jun 16, 2023 just a hint:Webterminal uses 2 connections: http/https wss/ws websockets this might cause problems. just my guess In WEBCOMMAND I use just 1 connection (rather straight CSP)with less comfort
go to post Robert Cemper · Jun 9, 2023 Confirmed! Also if zipped typical IRIS.DAT is not accepted by GitHub because of size.If cut to smaller pieces performance and flexibility are lost.
go to post Robert Cemper · Jun 9, 2023 If not disabled all global SET and KILL and also transactions are documented in JOURNALthere are also related search utilities available in %SYSthere is no equivalent feature for Global READ.if you just look for the fact that there was a SET or KILL at object levelDSTIME could be an option see example: https://community.intersystems.com/post/synchronize-data-dstimeit is easier to handle than JOURNAL
go to post Robert Cemper · Jun 9, 2023 I had some doubt in your initial question. NowYOUR mistake is evidentyou compose a JSON array args=[arg1value,agr3value,arg3value,..]using %Push(..) to %SQL.Statement this is just kind of a strange structured String%SQL.Statement doesn't deal with JSON Arrays or Objects with arg... you have to pass a local variable arraywhich is a core structure of Object Script (since ever)arg=3 ;;<max subscript count>arg(1)=arg1value arg(2)=arg2valuearg(3)=arg3valueas already described by @Julius Kavay
go to post Robert Cemper · Jun 6, 2023 Thank you @Irène Mykhailova 🌷I'm really sorry I couldn't attend the event after my45 years with InterSystems 1978 - 2023
go to post Robert Cemper · May 25, 2023 done on Caché 2018.*s txt="-123.45E6789" if txt w "true" >>> truetrue/false stops checking Strings at the first nonzero numeric sign to set $T=1almost since ever
go to post Robert Cemper · May 20, 2023 see doc on Variable Number of Parameters Summary: args = number of params passed args(n) = n-th param modify as you need, it's just a local variable
go to post Robert Cemper · May 18, 2023 Great improvement! 🥂for me: Emojis are the emotional equivalents to single-character commands in M 🌷
go to post Robert Cemper · May 17, 2023 one of my (former) customers suggested this approach: Train COS not on IRIS but on some Caché/ENS 2018 instances with Studio or on some older IRIS version As they run pure COS they have Studio for Training. An no need of new features once all the logic works they may move the result to some final IRIS (if ever they migrated)
go to post Robert Cemper · May 16, 2023 Just to rephrase your issue: you expect a JSON array of JSON objects [{..},{..},{..} ] but you get a JSON object containing that array {"cursos": [{..},{..},{..} ]} ;; asssumptio input holds the received obj set jobj={}.%FromJSON(input) ; convert to obj set jarray=jobj.%Get("cursos") ; content of "cursos" = [..] set output=jarray.%ToJSON() ; convert to string docu: %Library.DynamicObject
go to post Robert Cemper · May 15, 2023 There is still another critical directory for Windows Docker Desktop C:\Users\<yourusername>\AppData\Local\Temp\docker-scout\sha256 There some GB of Generated/Downloaded images are kept and NEVER clearedI didn't miss anything when I deleted them manually after stopping Dockergetting back some more GB
go to post Robert Cemper · May 12, 2023 In past (before2016),I had 2 times the challenge to run a private training within a window of 2 years Are developers generally willing or resistant to the idea of learning ObjectScript? Mostly rather resistant, but forced to learn it to get the job, Why? ObjectScript is not the mainstream. And in my geographic environment (middle Europe) demand is rather low. So it's more a curiosity skill that almost no recruiters value For developers trying to learn ObjectScript - what was that process like? classroom training + practical exercises What were the main challenges there? In-person learning? Y Online class? N Documentation? Y What were your impressions? almost all tried to map the previous experience to ObjectScript the concept of variable scoping + global variants shocked them they had massive problems following CSP=>CLS=>MAC=>INT=>OBJ How did it compare to other languages? They were looking for public examples. Support of SQL was often disappointing compared to market leaders What would have made it easier to learn? pushing it to universities and technical schools instead of retreating and leaving that space to competitors How long did it take to learn? basics 2 weeks - guided development 3 months Was it longer/shorter than expected? Just a predefined schedule Easier or harder than expected? Hackers and Investigators had a clear advantage Formal thinkers suffered the most. The main environment was a huge application Upgraded fromMUMPS to ObjectScript with a lot of old-style code using enoughancient tricks that might "Code Quality" drive crazy. Are there any other comments you'd like to make about the hiringor training process that might help us improve?My personal prerequisites list: understanding Java (:= Object concept) understanding SQL DBs willing and able to think across the fence rather exploring new ideas than varying old models courageous enough to explore and fill white space on their skills map digging into details Besides the technology item:being rather an explorer than an administrator
go to post Robert Cemper · May 10, 2023 Obviously, ChatGPT has no idea of ObjectScriptnonexisting methods, wrong indexing, ...... DISAPPOINTING
go to post Robert Cemper · May 10, 2023 ClassMethod SortVersion(input As %DynamicArray) As %DynamicArray { Set sorted = [] Set val = "" Kill order For i=1:1:input.%Size() Set order(input.%Get(i-1))="" For { Set val=$o(order(val)) Quit:val="" do sorted.%Push(val) } Quit sorted }
go to post Robert Cemper · May 8, 2023 works fine. it didn't know me first 😉just a minor adjustment ports: - 52773:52773 - 51773:1972