go to post Marcel den Ouden · Jul 5, 2022 Thanks @Robert Cemper Since my specific case is for the EU, I think the simplest solution is to use $ZTZ to correct for basic time zone. The rules for summertime are always the same in this area (until they change it, the discussion flares up two times a year). I already found some pseudo-code for that. If summertime, subtract another 60 minutes from $ZTZ. Not as generic as I wanted, but good enough for my case.
go to post Marcel den Ouden · Jun 17, 2021 @Dmitry Maslennikov Are there any special characters to watch with static .csp and .js files? I would expect the last map item to catch all, but it does not match with /csp/mynamespace/myfile.js (ends up in /MyFolder/csp/mynamespace/.... and I would expect /MyFolder/src/csp/mynamespace/...
go to post Marcel den Ouden · Jun 16, 2021 I have one prepared but not found the time yet. My plan is to measure the electricity use of my house continuously, do analysis on when I have a surplus of energy of my solar panels, and then switch certain devices based on that. My dishwasher, pool pump and heat pump are all connected. Currently I can do net metering for electricity but that will change in the near future. Better to use it myself if they don't want to pay a decent price for it ;-) The Pi is perfect for that kind of home automation.
go to post Marcel den Ouden · Jun 15, 2021 For my customers in Holland, our time-zone is POSIX is "CET-1CEST". Also works for most neighbours. (2016+) write !, "Current time: "_$ZDT($H) do $System.Process.TimeZone("CET-1CEST") write !, "New Current time: "_$ZDT($H)
go to post Marcel den Ouden · Feb 23, 2021 Looks nice Benjamin! I had to use http://localhost:52773/csp/mem-config/configurator.html to open it. Also, the screenshot on the openexchange page is not showing. IRIS for Windows (x86-64) 2019.1.1 (Build 612_0_19459U) Mon Dec 2 2019 16:11:46 EST (HS-UCR) in a VM. Could it do automatic measurement of the current machine/VM it is running on, especially memory?
go to post Marcel den Ouden · Feb 3, 2021 Excellent, thanks @Dmitry Maslennikov! Mine is simpler at this moment "objectscript.export": { "folder": "MyFolder", "addCategory": false, "map": { "(UnitTest\\..*)": "internal/$1", "(..*)": "src/$1" } } This does the trick for now.
go to post Marcel den Ouden · Feb 1, 2021 Have there been any updates on this? I am involved in a project which uses VSCode, and we want all unit test (Start with UnitTest.) classes to end up in another folder so they can be kept out of production easily.
go to post Marcel den Ouden · Jan 27, 2021 You can get license info through the $SYSTEM.License APIs: Set currentLicenses = $SYSTEM.License.LUConsumed() Set maxLicenses = $SYSTEM.License.LUMaxConsumed() See: https://docs.intersystems.com/irislatest/csp/documatic/%25CSP.Documatic....
go to post Marcel den Ouden · Jan 27, 2021 I love VSCode, but some handy features of IRIS Studio are indeed missing. I keep an instance of the latest InterSystems Studio in a VM to use when things which are missing, but after that I quickly switch back to VSCode and import the code. I really like the integration with Git & Docker.
go to post Marcel den Ouden · Nov 11, 2020 Hi Ingo, You could look into Ens.Util.FunctionSet, there is a Pad() method. Those utility functions can be used in DTLs. https://docs.intersystems.com/irislatest/csp/documatic/%25CSP.Documatic.... Good luck! Marcel
go to post Marcel den Ouden · Jul 30, 2019 Thanks to all who voted for us, on behalf of the Benelux team!
go to post Marcel den Ouden · Sep 5, 2017 I have a customer who uses a cloud based storage for all error/warning messages which happen in Ensemble. I don't remember the name of the service, but it is accessible through a REST service. They have written a simple REST client (Ensemble Business Operation) which uses PUT/POST to send the messages/warnings they capture. The API description should help you connect to such a system. You can use the alerting framework (ens.alert) to capture and forward it to your BO which connects to Tivoli or other system. SNMP might also be an option.
go to post Marcel den Ouden · Aug 15, 2017 Hi Tom,Tani's answer is correct, I tested it and came to the same conclusion.
go to post Marcel den Ouden · Feb 23, 2017 With this you can override the global setting. It is useful to have a maximum to protect you from having a "runaway" process to eat all your memory. If you need more in a process (for example I needed to instantiate a very large XML file as an object), you could overide the global setting (in my case 4GByte). But since only one specific process needs it, it is better to set it dynamically in that process. As Eduard said, it is only a maximum, it is not claimed when the process starts but only when needed.
go to post Marcel den Ouden · Nov 2, 2016 The credentials do not have space to store a Domain field. Maybe add the domain as an extra setting?Property Domain As %String ;Parameter SETTINGS = "Domain";Then you can use ..Domain in your Business Operation. You might also need to subclass the adapter to get it working with the Domain.
go to post Marcel den Ouden · Jan 5, 2016 Steve, I just remember someting else since this is Ensemble; it depends on whether or not you are using an Enterprise license or a C-license (Cache with Ensemble add-on). I'm not entirely sure but I think the E-licenses are unlimited with regards to SOAP. Marcel
go to post Marcel den Ouden · Jan 5, 2016 Hi Steve, I have tested with this in the past, when 2011.1 was released and the 10 seconds delay was introduced for anonymous soap calls. With SOAPSESSION=1 the calls utilize the same session on the back-end. Multiple subsequent calls will only use 1 license, and the license will be held until the normal time-out expires. I could easily see this behaviour in the license statistics. I'm not sure what happens when you do multiple calls in parallel, will they be queued?
go to post Marcel den Ouden · Jan 5, 2016 For one customer we use this solution which works fine for them: DATA database which contains the end customer data and is the default mapping CODE database which contains the cubes (package mapping) and Pivots and Dashboards (^DeepSee.Folder en ^DeepSee.FolderItem global mapping) IDX database which contains all the other DS stuff (^DeepSee global mapping) This works fine so far as we can replace the end-customer data easily and keep it seperate, and we can also update a new batch of cubes and dashboards easily by replacing the CODE database with a new version. IDX can be rebuild by compiling/building the cubes so that’s easy too. This works fine because currently they create all dashboard for their customers. We foresee that some end customers need some custom pivot/dashboards, which we then would like to map to a 4th database; we don’t want it in CODE because we want to keep that the same at all end-customers. Maybe we should we do a subscript type mapping of ^DeepSee.Folder(Item), and is that sustainable among Cache versions? I have not looked into it further as both their DS customers are happy with the current solution and don't create any dashboards or pivots themselves. Marcel