The related topic Docker Desktop + WSL 2 Integration Deep Dive will be today in 30 min on Dockercon 2020
- Log in to post comments
The related topic Docker Desktop + WSL 2 Integration Deep Dive will be today in 30 min on Dockercon 2020
Felicidades @David Reche , @Kurro Lopez, @Nancy Martínez, @Esther Sanchez!
Spanish Community is growing and I think I need to study Spanish already now )
Mentioning @Lexi Hayden
Thanks to everyone who joined the webinar today!
We bring our apologies for several letters sent with the event link - we had some issues with the mail system today, we are working to fix this and hope this will not happen again!
I hope you liked the webinar and looking forward to seeing you at the next one!
Hi Renato!
Thanks for participating in the contest!
You can submit a new question here on Developers Community, or ask in Discord, or report on the problem to support@intersystems.com
Actually the ObjectScript Package Manager became the answer to this question.
Thanks, @Benjamin De Boe ! It doesn't explain though (at least for me) why hosted variables can't be used for table and column names.
Participate in the contest as a team!
Possible? - Yes!
We don't have "forming teams" UI at the moment, but you are welcome to form a team by yourself, .e.g. using use Direct Messages on the Developer Community or chatting in Discord channel, make the project and submit it under anyone name from a team!
Julius, what does 'radix' stand for?
Wow.
Thank you @Vitaliy Serdtsev , @Robert Cemper, @Steven Hobbs - that helps a lot!
Julius! Thank you very much for such a story, very touching. And for the prompt opinion.
And thank you for sharing your fantastically rich experience with Dev community where we all benefit a lot from your knowledge and direct feedback!
And I remember the meat-chopper too :)
I'm on Mac.
And I'm on Git and commit to GitHub.
And I like Docker.
VSCode works on Mac, has Git out-of-the-box and I can install Docker and ObjectScript plugin.
With VSCode and Docker have 0 (zero) time to set up the environment to develop for InterSystems IRIS with ObjectScript or any other language.
My vote is for VSCode.
Glad that this has been solved!
Nice! Thank you, Vitaly!
So, assuming @Vitaliy Serdtsev and @Robert Cemper answers we have:
Index ext [type = bitmap; Extent];Is the must for every Persistent class, with standard ID, if we want to have fast answer on "How many records"
And the easiest and fastest "How many records" in this case is:
ClassMethod HowManyRecords(ByRef recordsCount as %Integer) As %Status
{
&sql(SELECT Count(1) INTO :recordsCount FROM schema_package.table)
IF SQLCODE<0 {WRITE "SQLCODE error ",SQLCODE," ",%msg QUIT}
}
And if I make the Extent index a bitmap will it be faster to get the amount of records?
Do we really don't have anything faster than a full scan on ID index?
Thanks, Ed!
Why does ExtentSize() is faster than GetExtentSize()?
Thank you, Semen!
Hi David!
Did you use docker up, or docker-compose up? Like this:
docker-compose up -d --buildThis works for me. I'm on Mac, and have Docker Desktop installed.
Fixed the issue with double "/" in DeployPath: ${cspdir} ends with "/"
And renamed all {$param} -> ${param}, to have this be used same as in %Installer. But you can use both variants.
BTW, if you want to turn back to Community Registry, call:
zpm:USER>repo -n registry -r -reset-defaults
Hi Tani!
Though /_spec endpoint can provide more info, indeed we can use the embedded /api/mgmnt/ entry, which is avaialble for your REST API on:
"http://localhost:9092/api/mgmnt/v1/USER/spec/pbuttons" , if you install it in NAMESPACE USER, and run docker with:
docker run --name my-iris -d --publish 9091:51773 --publish 9092:52773 intersystemsdc/irishealth-community:2020.2.0.196.0-zpm
To visualise the API I installed the module "swagger-ui":
USER>zpm
zpm: USER>install swagger-ui [swagger-ui] Reload START [swagger-ui] Reload SUCCESS [swagger-ui] Module object refreshed. [swagger-ui] Validate START [swagger-ui] Validate SUCCESS [swagger-ui] Compile START [swagger-ui] Compile SUCCESS [swagger-ui] Activate START [swagger-ui] Configure START [swagger-ui] Configure SUCCESS [swagger-ui] Activate SUCCESS
and got the nice interface to the API on:
http://localhost:9092/swagger-ui/index.html

All set )
So, it works for me!

But, another "issue" I'm facing here that I need to submit "login/pass" two times. One for CSP app, another for REST app called from CSP. Is it a 'groupid' case, or common cookie folder?
Hi Tani!
I fixed the issue with deploy path - see the PR. Could you please republish the module on OEX?
It turned out we don't need "/" after {cspdir}. Will update the templates, thank you!
Hi Yone!
The steps are good, but it is only for IRIS and IRIS for Health.
It looks like a bug. We'll look into it, thanks Tani!