go to post Robert Cemper · Oct 8, 2022 I do the same exercise in my package GlobalToJSON-ePython-pure it should be basically sufficient to replace the JSON packing + writing by print(...)see >>> def node(nd,nxt,fil):
go to post Robert Cemper · Oct 8, 2022 in my various examples I took these strategies: try to run the Py code in PY shell in a REAL terminal or docker command line console error messages directly from the shell are much more useful insert temporary print(...) statements at suspicious points what I see by COS <THROW> is often more obfuscation than a hint to my experience, your 'KeyError' indicates that you try to get a valuefrom a non-existing global or subscript. in COS it would be <UNDEF>
go to post Robert Cemper · Oct 6, 2022 in my package GlobalToJSON-ePython-pureI developed this workaround: #; simulate $data() for existence and content def Ddata(gref): val = None _d = 11 #; check for subscripts o=gref.order([]) if o == None: _d -= 10 try: val=gref.get([]) except KeyError: #; no value @ top node _d -= 1 return [_d,val]
go to post Robert Cemper · Oct 4, 2022 NIce you share a picture of a PDP11 ! a few of my heroes: Prof. Heinz Zemanek one of my teachers at university Terry Ragon Neil Pappalardo --- I know also some handicapped developers.BUT: I find it highly insensitive and inadequate to drop their names in this forum
go to post Robert Cemper · Oct 4, 2022 Vikings Dr.Shivago Metropolis (F.Lang ,1925/26) Gone with the Wind (1939) Convoy
go to post Robert Cemper · Oct 4, 2022 mountain climbing long distance walking practicing foreign languages studying astrophysics, cosmology, nucelar physics, anthropology, geology
go to post Robert Cemper · Oct 4, 2022 Any sport that requires mental concentration. eg. mountain climbing, And I mean REAL climbing, not just moving your body somehow across nature.
go to post Robert Cemper · Oct 4, 2022 first I check the logical qualification - e.g. playing chess next check the skills in estimating results of simple mathematical calculations or simple mechanical ckecks or puzzle strategies (without paper and pencil) next, I observe the operation of their mobile phone and ask for explanations the very last might be t take a look into suggestions like yours With 2 very successful sons in software, internet, and project engineering (49yrs. + 36yrs.)I have a valid benchmark for my strategy.
go to post Robert Cemper · Oct 4, 2022 A real software developer doesn't care about the hardware or operating system.Specific hardware is a subject for gamers.
go to post Robert Cemper · Sep 28, 2022 I enjoy to solve what was declared to be IMPOSSIBLE before.I dislike it if it turns out that issue was just a fake and nobody cares about my creations.
go to post Robert Cemper · Sep 26, 2022 Not of importance but interesting observation anyhow.$ZPI differs in the last 3 digits .$ZPI is right according to Wiki write "3.141592653589793116 PY",!,$ZPI_" IRIS",! 3.141592653589793116 PY 3.141592653589793238 IRIS
go to post Robert Cemper · Sep 25, 2022 --progress plain This is essential information.Without it the building log just runs though with no chance for a rollbackand iris.script allows a lot of temporary debugging info.
go to post Robert Cemper · Sep 22, 2022 my PR contains an update on docker-compose.ymland a bash script startflask.shall available here https://github.com/rcemper/iris-python-flask-api-template Sep.23 all merged
go to post Robert Cemper · Sep 21, 2022 The actual GTY is containers.intersystems.com/intersystems/webgateway:2022.1.0.209.0 And there is no :latest defined
go to post Robert Cemper · Sep 21, 2022 DONE!I found my solution and placed it in a PullRequest.it was slightly more than just a missing port.
go to post Robert Cemper · Sep 21, 2022 You may use input redirection as you find it in almost all Dockerfile installations: RUN iris start IRIS \ && iris session IRIS < iris.script \ && iris stop IRIS quietly and iris.script (as example) zn "%SYS"Do ##class(Security.Users).UnExpireUserPasswords("*")zn "USER"
go to post Robert Cemper · Sep 20, 2022 As Issues are disabled in the GitHub Repo I place my issue here. Container starts fine Postman fails:POST http://localhost:5000/persons/ Error: connect ECONNREFUSED 127.0.0.1:5000 Network agent: "Desktop Agent" Request Headers Content-Type: application/json User-Agent: PostmanRuntime/7.29.2 Accept: */* Cache-Control: no-cache Postman-Token: d40ec7c2-5b24-4944-8a76-c4cbf2685bf7 Host: localhost:5000 Accept-Encoding: gzip, deflate, br Connection: keep-alive Request Body {"name":"Elon Musk","title":"CEO","company":"Tesla","phone":"123-123-1233","dob":"1982-01-19"} as port 5000 is not mapped in docker-compose.yml this might be related ???
go to post Robert Cemper · Sep 20, 2022 I miss this in your Trigger code:%ok: A variable used only in trigger code.If trigger code succeeds, it sets %ok=1.If trigger code fails, it sets %ok=0. see %ok, %msg, and %oper System Variables