go to post Robert Cemper · Mar 13, 2023 I just hope- for the sake of fairness - that the one that did the practical work implementation, testing, describing, publishing gets some points as well ???
go to post Robert Cemper · Mar 8, 2023 short add onASCETIC - there is no minor trace of any comfort aroundSPOOKY - it's been around since ever but is rather unknown and invisible in Docs
go to post Robert Cemper · Mar 6, 2023 I was asked why I didn't use VScode for the examplesSimple reason: Studio Wizards are not available in VSCode See here
go to post Robert Cemper · Mar 6, 2023 Thank you for the clarification!I don't need it, but I got pushed why not using VSCode at that step.
go to post Robert Cemper · Mar 6, 2023 $system.Util.InstallDirectory()classmethod InstallDirectory() as %String Returns the location of the installation directory, i.e. that which is displayed by ccontrol on Unix and VMS, where the .cpf configuration file is kept.
go to post Robert Cemper · Mar 4, 2023 The Video is available now. See last section Streams in Pieces
go to post Robert Cemper · Mar 3, 2023 If you are not afraid of using basic COS functionality:your reload method raises a LOCK ^myRELOAD and drops it with completion LOCK -^myRELOAD Your check utility does the same but with a timeout LOCK ^myRELOAD:0if it fails - signaled by $TEST=0 you loop and hang around and retryfor success $TEST=1 you go on but release your successful LOCK immediatelynot to block anyone else.
go to post Robert Cemper · Mar 1, 2023 According to your JSON model, I would assume this to start:(sory had no chance to test myself) Class Test.GEOMETRIEPOINT Extends (%SerialObject, %JSON.Adaptor, %XML.Adaptor) { Property "GEO_TAB_COORDONNES" As list Of %Float; } Class Test.GEOMETRIELINE Extends (%SerialObject, %JSON.Adaptor, %XML.Adaptor) { Property "GEOMETRIE_LINE" As list Of GEOMETRIEPOINT; } Class Test.POLYGON Extends (%Persistent,%JSON.Adaptor, %XML.Adaptor) { Property "GEOMETRIE_POLYGON" As list Of GEOMETRIELINE; {
go to post Robert Cemper · Feb 24, 2023 You have to blame the designers of the language back in the 60ties of last century.it was even an ANSI Standart then.And it is backward compatible and the code of the 60ties still can run unchanged!
go to post Robert Cemper · Feb 21, 2023 it's an interesting line: patient0 = Patient.parse_obj(patients_resources.search(family='familyname',given='givenname1').first().serialize()) I miss some checks if the search was successful.Because NONE indicates a missing content.If search(family='familyname',given='givenname1')fails you receive NONE and this can't be serialized. COS would just return NullString """
go to post Robert Cemper · Feb 21, 2023 Hi Harry, a year ago I created this example globaltojson-embeddedpython-pure For early ePY (no $D() yet) Wrapping it in JSON is just an extra
go to post Robert Cemper · Feb 20, 2023 if you have access to the CSP or ZEN page you may just check the user name in method OnPreHTTP or similar, and redirect him to the moon. if can't touch the page then rename it and create a filter page that does a server-side redirect for everyone except the banned user. .
go to post Robert Cemper · Feb 20, 2023 Fully agree:Package was used for the chapter of OEX from day zero!.Instead of semantic discussions, it would be much more important to take care of quality and completeness and easy-to-evaluate examples for the community.Every member of the community is a customer. To my understanding this is majorpoint of being different do other code exchange and discussion platforms.I have checked almost all packages (except the commercials) and most contributors seem to share this understanding. Though I have to admit that there are also lessservice-minded contributors that just don care about issues and PRs.A community of white sheep only is an illusion.I've seen too much to have such dreams
go to post Robert Cemper · Feb 20, 2023 You are correct module.xml indicates IPM/ZPM usage and that's OK.But "Packages" is much wider since it also includes those parts that do not contain installable code or data to load but (if well prepared) a bunch of additional information like (hopefully) user guides, installation guides, description of the purpose of the packages, as well as screenshots, examples, ..... All this is not part of the IPM module. for good reasons.I would feel "module" as a downgrade of the excellent work the contributors provided to the community.
go to post Robert Cemper · Feb 19, 2023 in iris.script for NSP %SYS add set par("AutheEnabled")=64 set tSC=##class(Security.Applications).Modify("/csp/sys",.par) the disadvantage:You are UnknowUser and might need to add the required Roles as well. set role="%All" set tSC=##class(Security.Users).AddRoles("UnknownUser",.role,1) ----------------------my personal approach is to have a fixed port for SMPand save my _SYSTEM / SYS in browser with autofill.