go to post Herman Slagman · Nov 6 Is there a more structured way of specifying these values, such as a config.file ?
go to post Herman Slagman · Nov 4 I didn't but it wasn't needed for the import to work.Now I did together with IRISINSTALLDIR.Thanks
go to post Herman Slagman · Nov 4 Thanks John, the Audit log did it: the Resource %DB_USER needed to be RW enabled.
go to post Herman Slagman · Jun 16 1: Yes 😉2: See other comment on Quit3: yes 😉You should never 'modernize' for the sake of modernizing (refactoring is something else)ZTrap is not old-fashioned, it's a mechanism other programming languages just don't have.It is out-of-the-way, is doesn't introduce another stack level and it doesn't need extra indentation, it's just some code that you hope will never be executed, it isn't part of the main logic.Try-Catch can be very useful for indeed a 'Try' for something you can't be sure how it will behave, such as{}.%FromJSON(SomeJSON)
go to post Herman Slagman · Apr 16 The start tag would be right after the XML declaration, i.e. <StartTag (the element name ends when a space is encountered), the end-tag would then be </StartTag. From there find the closing bracket >
go to post Herman Slagman · Apr 14 Remember FHIR is a very immature 'standard'.If you jump on the bandwagon, you must be prepared to be agile.You talk about R5, but R6 is well on its way and, since they actually are STU4, 5, 6 and so on, there is no FHIR 1.0Some standard bodies opt for stability like Nictiz in the Netherlands, where most of the official specifications are still based on STU3.Opting for implementation of an immature standard ,one must be prepared for (extreme) agility, otherwise we are all ending op with in-operability because of different incompatible implementations.
go to post Herman Slagman · Apr 11 > I want to remove the object from memory even if it is still referenced in memory That makes no sense and it is not possible, it would invalidate every other variable or object property that references it.But why do you want to do this?
go to post Herman Slagman · Mar 26 You are right, but this was based on your original question: "if they share a common element/ value return 1" But the code is easily enhanced to return all common values.
go to post Herman Slagman · Mar 22 Set x="Purple,Black,Yellow,Pink,Yellow,White,White,a,b,c,d,e,f" Set y="Red,Green,Orange,Yellow,z,y,x,w,v" Set Found=0 For i=1:1:$Length(x,",") { For i2=1:1:$Length(y,",") { If $Piece(x,",",i)=$Piece(y,",",i2) { Write $Piece(x,",",i)," = ",$Piece(y,",",i2),! Set Found=i_","_i2 Return Found } } }
go to post Herman Slagman · Mar 22 What do you expect of such a class (or classes)?I might have something on the shelf as a skunk project.
go to post Herman Slagman · Feb 6 We were 'forced' to use CQ by one of our customers and I was rather disappointed about it.It looks like the designers of those rules didn't have a lot of COS (or even MUMPS) experience.Maybe we should, as a community, find some kind of consensus what is good (?) (C)OS code.ISC is not a good example, their code (completely open for developers to look at, which you find nowhere in the industry): a lot of different styles (don't mention the 'p" and 't' prefixes ... ;-))I don't have the time to set this up, but am happy to join the discussions.
go to post Herman Slagman · Jan 28 No, if you build a Git plugin yourself, you will also have to build the Git menu and optional context menu. Class Git.PlugIn Extends %Studio.SourceControl.Base
go to post Herman Slagman · Jan 22 Yes, I know, but I was talking about the automatic configuration by the IRIS installer. It seems that it only supports IIS on Windows.
go to post Herman Slagman · Jan 21 What is the reason we cannot use Apache on Windows?Apache is already installed, I don't like installing IIS next to it.
go to post Herman Slagman · Jan 16 It is a custom build Git Studio plugin plus application and CLI, that can handle multiple repositories per namespace. It is one of the reasons I still use Studio.
go to post Herman Slagman · Jan 16 In the Git plugin, a %Studio.SourceControl.Base subclass , I get the active branch Set Active=##class(Git.Utils).GetActiveBranch(Repos.Directory)If Active["fatal" {Set sc=##class(Git.Utils).AddToSaveList(Repos.Name)}If that gets a fatal I call: Set Command="cd "_Repository.Directory_" && git config --global --add safe.directory "_DirSet sc=..CPipe(Command,.Output)This process runs under the Studio account
go to post Herman Slagman · Jan 4 User S-1-5-18 is (Local) Sytem a hidden account, https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/u....Your IRIS server is probably running under the System account.I'm using a Git plugin for Studio and let that background process execute the ' git config --global --add safe.directory' command.
go to post Herman Slagman · Dec 25, 2023 That's because the Portal is a ZEN application. CSS is 'hidden' in XData blocks inside the ZEN classes such as %CSP.Portal.Home XData CSS3Style{<style type="text/css"> #selector {overflow: auto;}
go to post Herman Slagman · Dec 18, 2023 I've reported this to WRC more then a year ago, They didn't seemed bothered.
go to post Herman Slagman · Dec 5, 2023 You should use $System.Event to wake-up queue handlers, not as a queue itself.