nothing prevents you to load this script at runtime from server.
<script src="myscripts.js"></script>
from w3schools.com https://www.w3schools.com/tags/att_script_src.asp
So you are outside your Caché
- Log in to post comments
nothing prevents you to load this script at runtime from server.
<script src="myscripts.js"></script>
from w3schools.com https://www.w3schools.com/tags/att_script_src.asp
So you are outside your Caché
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):
in my various examples I took these strategies:
to my experience, your 'KeyError' indicates that you try to get a value
from a non-existing global or subscript. in COS it would be <UNDEF>
in my package GlobalToJSON-ePython-pure
I 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] NIce you share a picture of a PDP11 !
a few of my heroes:
---
I know also some handicapped developers.
BUT: I find it highly insensitive and inadequate to drop their names in this forum
Any sport that requires mental concentration. eg. mountain climbing,
And I mean REAL climbing, not just moving your body somehow across nature.
With 2 very successful sons in software, internet, and project engineering (49yrs. + 36yrs.)
I have a valid benchmark for my strategy.
A real software developer doesn't care about the hardware or operating system.
Specific hardware is a subject for gamers.
I use and just verifiied
iris.cls(__name__).SetupGame()
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.
--progress plain
This is essential information.
Without it the building log just runs though with no chance for a rollback
and iris.script allows a lot of temporary debugging info.
my PR contains an update on docker-compose.yml
and a bash script startflask.shall available here https://github.com/rcemper/iris-python-flask-api-template
Sep.23 all merged
The actual GTY is containers.intersystems.com/intersystems/webgateway:2022.1.0.209.0
And there is no :latest defined
You're welcome. Those things keep my mind in speed. ![]()
DONE!
I found my solution and placed it in a PullRequest.
it was slightly more than just a missing port.
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"
As Issues are disabled in the GitHub Repo I place my issue here.
Congratulations to all winners!
Not sure if I can make the date.
Anyhow using Studio since its first days in Caché 5.0 for 20+ years almost daily
and still firmly tied to Windows I just have no need for change.
And I use my experience with all tricks and shorthands burned deep in my mind.
It's just Dino's behavior as a veteran that started with X ^% in terminal
nice
but how does ERLANG relate to IRIS or Caché ?
Class Reference of %SYSTEM.Status says:
classMethode IsError(statuscode As %Status) as %Boolean
Returns 1 if the statuscode contains errors. Otherwise, it returns 0.
So if you get [res] as (0,....) it is an ERROR!
and therefore the result of IsError should be 1. It is an Error.
%BI classes date back to Miner (DeepSee-1) and just were left in Caché over a decade at least
while its functionality was replaced by %DeepSee classes more than 10 years ago.
Of course, you can map all %BI.* classes to some DB where you have R/W access and import it from Caché.
that's about 300 Classes.
BUT: no one can tell you if they compile correctly
AND: you have to take care of the hidden %bi*.obj (~430) and other deployed code which you can't compile, but import and pray they work.
SO: this doesn't look like a promising approach.
Therefore I'd suggest migrating from %BI to %DeepSee in Caché first and to IRIS next
The questions seem to imply the view from a management position:
However, how would you recommend to people aged between 20 and 30 to start, maintain, or reboot their joy, excitement, love, or interest for coding and software development?
As I had the responsibility for a team of specialists my experience is such:
HTH
just to make your valuable entry visible in browser and email
http://<server-ip>:<smp-port>/api/atelier/
and you get back this nice JSON object:.png)
nice for IRIS, not Caché, Ensemble
SOAP is quite specific and critical to data format and structure.
You might extend it, but then Edge Server is the active part and you depend on its regular "broadcast".
If Doc Server should be the active partner I'd rather suggest to use JDBC in Linux.
Your actual $get might be embedded as a Method projected as SQL Procedure that you call.
There exist examples to even execute COS commands by that approach:
see: ObjectScript over ODBC