You have to use VSCode, where you will get support for JavaScript/Typescript out of the box. And you can also code ObjectScript there as well. So, you could do everything in one modern editor.
- Log in to post comments
You have to use VSCode, where you will get support for JavaScript/Typescript out of the box. And you can also code ObjectScript there as well. So, you could do everything in one modern editor.
So, company policy forces to keep all the source code only in Caché? You can install own source control server, even GitHub. It will be completely your own server anywhere you will decide. With no ability to connect from outside if you would need it.
So, yes, I still sure, not a problem at all.
I have been worked in company with two contours, one is for development with no access to internet, completely isolated. And another network for outside world. And we had to use two PCs, for our work. And we anyway we were able to use source control
What do you mean by $zf does not work for anymore? There are no reasons that it would not work, if it have not used on windows with interactivity. And anyway, there are no more reasons to stay with Studio anymore, while VSCode already available
It’s not a problem at all. You can use on-premises versions of GitHub, GitLab, Bitbucket or anything else, depends on your budget and needs.
fixed
use $translate
USER>write $translate("some 'data'", "'")
some dataCould you explain your issue with some examples of code?
It's available on Docker Hub
https://hub.docker.com/_/intersystems-iris-for-health
And on docker registry provided by InterSystems, with even more options
https://community.intersystems.com/post/introducing-intersystems-contai…
InterSystems have changed SuperServer port in a few latest builds, back to 1972. So, just replacing 51773 with 1972, should work.
You can use docker inspect
docker inspect containers.intersystems.com/intersystems/iris:2020.4.0.524.0Will outputs something like this
.....
"ExposedPorts": {
"1972/tcp": {},
"2188/tcp": {},
"52773/tcp": {},
"53773/tcp": {},
"54773/tcp": {}
},
.....
"Labels": {
"com.intersystems.adhoc-info": "",
"com.intersystems.platform-version": "2020.4.0.524.0",
"com.intersystems.ports.default.arbiter": "2188",
"com.intersystems.ports.default.license-server": "4002",
"com.intersystems.ports.default.superserver": "1972",
"com.intersystems.ports.default.webserver": "52773",
"com.intersystems.ports.default.xdbc": "53773",
"com.intersystems.product-name": "IRIS",
"com.intersystems.product-platform": "dockerubuntux64",
"com.intersystems.product-timestamp": "Thu Oct 22 2020 13:02:16 EDT",
"com.intersystems.product-timestamp.iso8601": "2020-10-22T17:02:16Z",
"maintainer": "InterSystems Worldwide Response Center <support@intersystems.com>",
"org.opencontainers.image.created": "2020-10-22T19:32:32Z",
"org.opencontainers.image.documentation": "https://docs.intersystems.com/",
"org.opencontainers.image.title": "intersystems/iris",
"org.opencontainers.image.vendor": "InterSystems",
"org.opencontainers.image.version": "2020.4.0.524.0-0"
}I've just left, only interesting lines in your case. Where you can find, which ports are declared as exposed in the image, and labels, which declares available ports in the image.
Access directly to the label
$ docker inspect containers.intersystems.com/intersystems/iris:2020.4.0.524.0 \
--format '{{ index .Config.Labels "com.intersystems.ports.default.superserver" }}'
1972Static analyzer for ObjectScript
https://www.objectscriptquality.com/
demo
https://community.objectscriptquality.com/projects
It's also available as VSCode extension
Configuration of what?
Could you explain deeper your idea? How it will help, and whom?
Those tools already have some expertise in that area. Yeah, they may have some difficulties with InterSystems IRIS, may not understand some of the features of InterSystems SQL language, and so on. DBeaver, for instance, is an open-source project and can be improved by anybody.
But I'm not sure that it's a good idea to invest so much time in implementing something, which already available and in some cases for free.
Having too many tools out of the box, not so good idea, it will not mean that all of those tools will have enough quality.
So, in this case, I would focus development on improving existing tools, in better support for InterSystems products. It will take less time, with a bigger profit (at least InterSystems will be noticeable not only for current InterSystems users).
Why it has to be implemented inside? Why would not use some already well-established tools, such as DBeaver, JetBrains DataGrip, and so on?
First of all, it's not a common case for any code editor, and for sure VSCode is not an exception. What are you talking about is kind of deployment process. And have to be solved in that manner. You have to produce some kind of version of your application and install it. It's how it's supposed to be.
At the moment with VSCode, you can export any source code from the server, to get all the classes locally. And import those files as a folder. But it may not work as you would expect, and may cause some compiling issues. This case will not be changed in the future, as completely make no sense to have in the Editor.
The issue not in Caché, it’s in Windows, which just not allows any interaction from services. You can enable it by editing service.
But in your case I would look into other ways for interaction. Server means, that in 99% of time it works alone with no people sitting behind the screen, even it should not have a screen at all. So, in normal case it’s very small chance that anybody will see your message and press ok.
If you need a suggestion on how would it better, please describe what’s exactly you are trying to achieve.
I am not sure about something simple out of the box. I would go with creation some class for particular XML schema, which will extend %XML.Adaptor, so, will be able to be imported from XML. And extended by %JSON.Adaptor, so, it will be possible to export it to JSON. And vice-versa.
Unfortunately, docker-compose does not have any way, on how to limit cpus during build. While it's possible for deploy. The only way to do it in your case, is to build image manually with specified limitation.
docker build -t someimagename --cpuset-cpus 0 .
and then just add this image name to docker-compose.yml, you can keep the build section, it will not be used if you desired image already produced.
services:
iris:
image: someimagename
cpuset: "0-7"You can omit schema in the query of your scheme is set as default, by default it’s SQLUser for class package User. You are also able to change sql name for a package. In case that default sqlname is quite long you are able to make it shorter.
Whan, you work through SQL empty string as $Char(0) in storage, while NULL as an empty string.
So, I would suggest you update it will NULL value.
What about your JSON, I'm not sure how you get it. If you using %JSON.Adaptor, you can set parameter %JSONNULL to 1 for class, or for a particular property, so, it will not exclude it from export.
Not, yet
Just for the info, few years ago, on Moscow's hackathon was a project SpatialIndex. Related article
For any new project based on IRIS, I would recommend, to have all the application logic outside of InterSystems IRIS, and use it only as a database. For instance with NodeJS Native API.
But the issue may be in Raspbian, which I suppose is 32 bit, while 64 bit yet in beta. And you have to install 64 bit version of Raspbian or Ubuntu 20.04 64 bit
RPi 4 should be fine, it's just the first edition which got 64 bit, RPi 3 was 32 bit and it would not run IRIS anyway.
$ docker run --init --name my-iris -it --rm -p 9091:1972 -p 9092:52772 -p 9093:52773 -p 9094:7041 store/intersystems/iris-community-arm64:2020.4.0.524.0 [INFO] Starting InterSystems IRIS instance IRIS... [INFO] This copy of InterSystems IRIS has been licensed for use exclusively by: InterSystems IRIS Community Copyright (c) 1986-2020 by InterSystems Corporation Any other use is a violation of your license agreement Starting IRIS Sign-on inhibited. See messages.log for details. [ERROR] Unknown QEMU_IFLA_INFO_KIND ipip Unknown QEMU_IFLA_INFO_KIND ip6tnl qemu: uncaught target signal 6 (Aborted) - core dumped 11/26/20-10:05:11:295 (954) 0 [Generic.Event] Global buffer setting requires attention. Auto-selected 25% of total memory. 11/26/20-10:05:11:508 (954) 0 [Generic.Event] Allocated 1557MB shared memory: 1234MB global buffers, 123MB routine buffers 11/26/20-10:05:12:118 (954) 0 [WriteDaemon.UsingWIJFile] Using WIJ file: /usr/irissys/mgr/IRIS.WIJ 11/26/20-10:05:12:119 (954) 0 [WriteDaemon.CreatingNewWIJ] Creating a new WIJ file 11/26/20-10:05:13:081 (954) 0 [WriteDaemon.CreatedNewWIJ] New WIJ file created 11/26/20-10:05:13:205 (957) 0 [WriteDaemon.Started] Write daemon started. 11/26/20-10:05:13:206 (957) 2 [Generic.Event] create_iotd_pool failed because LKIO_SETUP returned error 38 11/26/20-10:05:13:222 (964) 2 [Generic.Event] create_iotd_pool failed because LKIO_SETUP returned error 38 11/26/20-10:05:13:222 (963) 2 [Generic.Event] create_iotd_pool failed because LKIO_SETUP returned error 38 11/26/20-10:05:13:224 (957) 2 [Generic.Event] create_iotd_pool failed because LKIO_SETUP returned error 38...(repeated 63 times) 11/26/20-10:05:13:224 (957) 1 [Generic.Event] Write daemon asynchronous I/O disabled dueto failure allocating control structures. 11/26/20-10:05:13:228 (964) 2 [Generic.Event] create_iotd_pool failed because LKIO_SETUP returned error 38...(repeated 63 times) 11/26/20-10:05:13:228 (964) 1 [Generic.Event] Write daemon asynchronous I/O disabled dueto failure allocating control structures. 11/26/20-10:05:13:228 (963) 2 [Generic.Event] create_iotd_pool failed because LKIO_SETUP returned error 38...(repeated 63 times) 11/26/20-10:05:13:228 (963) 1 [Generic.Event] Write daemon asynchronous I/O disabled dueto failure allocating control structures. 11/26/20-10:05:15:881 (954) 0 [Generic.Event] Startup of InterSystems IRIS [IRIS for UNIX (Ubuntu Server LTS for ARM64 Containers) 2020.4 (Build 524U) Thu Oct 22 2020 16:49:47 UTC] in ./ with mgr: /usr/irissys/mgr with wij: /usr/irissys/mgr/IRIS.WIJ from: /usr/irissys/mgr/ OS=[Linux], version=[#1 SMP Fri May 8 23:03:06 UTC 2020], release=[5.4.39-linuxkit], machine=[aarch64] nodename=[dbac38c4a18e]. numasyncwijbuf: 0, swdwrtmax: 0, wijdirectio: on, synctype: 3 System Initialized. 11/26/20-10:05:17:582 (979) 0 [Database.MountedRW] Mounted database /usr/irissys/mgr/ (SFN 0) read-write. 11/26/20-10:05:18:285 (979) 3 [Generic.Event] Process 979 (JobType=Interactive job (application mode),Dumpstyle=0,Directory='/usr/irissys/mgr/') caught signal 11. 11/26/20-10:05:18:793 (979) 3 [Generic.Event] If core dumps are enabled, a core file will be created by process 982 in the location specified by the system configuration. 11/26/20-10:05:18:802 (979) 3 [Generic.Event] Parent process will clean up and halt [ERROR] See /usr/irissys/mgr/messages.log for more information [FATAL] Error starting InterSystems IRIS
Just curious, which RPi you are tring to use?