Thanks for the review!
- Log in to post comments
Thanks for the review!
Moreover, you can receive points and badges in Global Masters by completing the reviews.
It's not! Everyone is very welcome to review the apps. E.g. here you can provide a review for the ZPM Package manager.
Released a new version with @Alexey Maslov suggestion and two new one-liners, courtesy of @Sylvain Guilbaud
This is really cool, @Alexey Maslov ! Updated two one-liners with your suggestion!
Turned out, that this behavior can be adjusted by removing the Final clause from DDL generation via the following flag:
set sc=$SYSTEM.SQL.Util.SetOption("DDLFinal",0,.oldval)Just tried - it makes the global name not random but ClassD like. So for Sample.Person it is ^Sample.PersonD.
Great life-hack, thanks @Sylvain Guilbaud !
Wow, thank you @Sylvain Guilbaud ! This is cool!
Thanks @Robert Cemper !
Thanks, that was my expectation. @Bob Kuszewski ?
It's not only for Eastern and Central Europe, @Ben Spead ! Any startup from any region is very welcome! The majority of activities will be online! Besides the Czech Republic, we already have applications from USA, UK, Netherlands, UAE, Ukraine and invite startups to apply!
Nice! Stolen for one-liners)
Snippets are great and deserve attention, but one-liners have a very certain use case, when you can execute it from the command line or as a docker image tweak
Even better! Thanks @Sergey Mikhailenko
And images with ZPM package manager 0.3.2 are available accordingly.
From clause could look like:
FROM intersystemsdc/iris-community:2022.1.0.114.0-zpmAnd change the image to any of the following:
intersystemsdc/iris-community:2022.1.0.114.0-zpm intersystemsdc/irishealth-community:2022.1.0.114.0-zpm intersystemsdc/irishealth-ml-community:2022.1.0.114.0-zpm intersystemsdc/irishealth-community:2022.1.0.114.0-zpm intersystemsdc/iris-community:2021.2.0.651.0-zpm intersystemsdc/iris-ml-community:2021.2.0.651.0-zpm intersystemsdc/irishealth-community:2021.2.0.651.0-zpm intersystemsdc/irishealth-ml-community:2021.2.0.651.0-zpm
Also you can benefit from the latest and preview tags. Latest is equal to the latest GA IRIS, and preview is for the latest Preview version. e.g.
FROM intersystemsdc/iris-community:2021.2.0.651.0-zpmequals to:
FROM intersystemsdc/iris-community:latest
FROM intersystemsdc/iris-communityAnd
FROM intersystemsdc/iris-community:2022.1.0.114.0-zpmequals to:
FROM intersystemsdc/iris-community:previewAnd to launch IRIS do:
docker run --rm --name my-iris -d --publish 9091:1972 --publish 9092:52773 intersystemsdc/iris-community:2022.1.0.114.0-zpm docker run --rm --name my-iris -d --publish 9091:1972 --publish 9092:52773 intersystemsdc/iris-ml-community:2021.2.0.651.0-zpm docker run --rm --name my-iris -d --publish 9091:1972 --publish 9092:52773 intersystemsdc/iris-community:2021.2.0.651.0-zpm docker run --rm --name my-iris -d --publish 9091:1972 --publish 9092:52773 intersystemsdc/irishealth-community:2021.2.0.651.0-zpm docker run --rm --name my-iris -d --publish 9091:1972 --publish 9092:52773 intersystemsdc/irishealth-ml-community:2022.1.0.114.0-zpm docker run --rm --name my-iris -d --publish 9091:1972 --publish 9092:52773 intersystemsdc/irishealth-community:2021.2.0.651.0-zpm
And for terminal do:
docker exec -it my-iris iris session IRIS
and to start the control panel:
http://localhost:9092/csp/sys/UtilHome.cspTo stop and destroy container do:
docker stop my-irisUpdated to 651, thanks, @Jeff Fried!
Also, we have the latest tag for ZPM images, so this will take the latest:
FROM intersystemsdc/iris-community:latestOr just like this:
FROM intersystemsdc/iris-communityBTW, there is a very good one-liner to install ZPM, cortesy of @Guillaume Rongier:
set $namespace="%SYS", name="DefaultSSL" do:'##class(Security.SSLConfigs).Exists(name) ##class(Security.SSLConfigs).Create(name) set url="https://pm.community.intersystems.com/packages/zpm/latest/installer" Do ##class(%Net.URLParser).Parse(url,.comp) set ht = ##class(%Net.HttpRequest).%New(), ht.Server = comp("host"), ht.Port = 443, ht.Https=1, ht.SSLConfiguration=name, st=ht.Get(comp("path")) if 'st { w $System.Status.GetErrorText(st) q } set xml=##class(%File).TempFilename("xml"), tFile = ##class(%Stream.FileBinary).%New(), tFile.Filename = xml do tFile.CopyFromAndSave(ht.HttpResponse.Data) do ht.%Close(), $system.OBJ.Load(xml,"ck") do ##class(%File).Delete(xml)Now this list could be expanded by Tableau, PowerBI and Adaptive Analytics (AtScale).
Hi @Julius Kavay! I agree with you! Could you please submit your suggestion on our dedicated Community Ideas site? I could do it too, but it's great to know that it's not an employee who needs that but partners, and ... I already submitted a lot :)
Sign with your DC credentials.
Maybe we need to include the rule that checks SQL string for reserve words in ObjectScript Quality checker. @Daniel Tamajon , what do you think?
Thanks, @Vitaliy Serdtsev ! This is a good catch!
Thanks, @Robert Cemper! Not obvious)
Hi @Guillaume Rongier !
I tried to use pip3 in the app and failed. I see it is being installed during the image build, but cannot run it later. What I'm doing wrong?
And images with ZPM package manager 0.3.2 are available accordingly:
intersystemsdc/iris-community:2021.2.0.651.0-zpm
intersystemsdc/iris-ml-community:2021.2.0.651.0-zpm
intersystemsdc/irishealth-community:2021.2.0.651.0-zpm
intersystemsdc/irishealth-ml-community:2021.2.0.651.0-zpm
intersystemsdc/iris-community:2021.1.0.215.3-zpm
intersystemsdc/irishealth-community:2021.1.0.215.3-zpm
intersystemsdc/irishealth-ml-community:2021.1.0.215.3-zpm
intersystemsdc/irishealth-community:2021.1.0.215.3-zpmAnd to launch IRIS do:
docker run --rm --name my-iris -d --publish 9091:1972 --publish 9092:52773 intersystemsdc/iris-community:2021.2.0.651.0-zpm docker run --rm --name my-iris -d --publish 9091:1972 --publish 9092:52773 intersystemsdc/iris-ml-community:2021.2.0.651.0-zpm docker run --rm --name my-iris -d --publish 9091:1972 --publish 9092:52773 intersystemsdc/iris-community:2021.2.0.651.0-zpm docker run --rm --name my-iris -d --publish 9091:1972 --publish 9092:52773 intersystemsdc/irishealth-community:2021.2.0.651.0-zpm docker run --rm --name my-iris -d --publish 9091:1972 --publish 9092:52773 intersystemsdc/irishealth-ml-community:2021.2.0.651.0-zpm docker run --rm --name my-iris -d --publish 9091:1972 --publish 9092:52773 intersystemsdc/irishealth-community:2021.2.0.651.0-zpm
And for terminal do:
docker exec -it my-iris iris session IRIS
and to start the control panel:
http://localhost:9092/csp/sys/UtilHome.cspTo stop and destroy container do:
docker stop my-irisAnd the FROM clause in dockerfile can look like:
FROM intersystemsdc/iris-community:2021.2.0.651.0-zpmOr to take the latest image:
FROM intersystemsdc/iris-communityHi @Ben Spead!
I've introduced the support for DATETIME type in 1.3.1 release for "guesstype" functionality :)
So this should work now, and via LOAD DATA if you are on 2021.2+
added LOAD DATA support to csvgen 1.3.0
But I agree - maybe we shouldn't deploy IRIS with a "prebuilt demo namespace" - a new namespace and database should go with the configuration setting. Tagging @Benjamin De Boe and @Andreas Dieckow
Hi @Werner Noske! It looks like you are trying to work on your project in the built-in USER namespace and database.
Don't.
USER namespace is for testing/demo purposes.
You are welcome to start a new clear database from scratch.
For example, you can follow this template that starts with a new clear namespace and database IRISAPP.