Evgeny Shvarov · May 14, 2022 go to post

Thanks @Lucas Enard ! This is a really helpful sample!

Just tried vs my FHIR deployment - works like a charm!

I didn't get through the advantage of having VSCode inside the container? Can't I do the same mapping source folder using volumes in docker-compose?

Also, is it possible to VSCode inside a container with IRIS? e.g. if I want to build something using Embedded Python?

Evgeny Shvarov · May 8, 2022 go to post

Now csvgen supports LOAD DATA inside and is still useful to generate the class from scratch vs the arbitrary CSV.

Evgeny Shvarov · May 7, 2022 go to post

Hi Rochdi! curl is a software that can make http calls from a command line. 

Are you sure you need curl? Or maybe you need to make http calls from IRIS or Ensemble? 

There are plenty of examples.

E.g. here is a one line to make an http GET request and download  and install ZPM:

    s r=##class(%Net.HttpRequest).%New(),r.Server="pm.community.intersystems.com",r.SSLConfiguration="ISC.FeatureTracker.SSL.Config" d r.Get("/packages/zpm/latest/installer"),$system.OBJ.LoadStream(r.HttpResponse.Data,"c")

It is an example of http request

Evgeny Shvarov · Apr 19, 2022 go to post

I see! Maybe you want to share a PR to make the app compatible with WIN10?

I find Global-tool as a much more user-friendly app to deal with globals compared to SMP. 

Evgeny Shvarov · Apr 18, 2022 go to post

@Robert Cemper, why did you provide such a low assessment for the tool in your review?

I've just tested the repository: it builds and works as expected:

You can follow the instruction, but I did it with VSCode:

1. Opened Visual Studio Code with Docker and ObjectScript plugins installed. Cloned the repository in VSCode.

2. Right-click on the docker-compose.yml file and choose "Compose Up" in the menu.

3. Once it builds successfully it indeed goes with a random available port. But this is done intentionally to not force you to stop other docker images if they own the port. To start the application comfortably just click on ObjectScript menu in the bottom bar to choose Refresh - it will find the port and show the user menu.

4. Choose Globals menuitem and start using the app.

What's wrong, @Robert Cemper ?

What ENV variables do you mean?

Evgeny Shvarov · Apr 12, 2022 go to post

@Dmitry Maslennikov , thanks for contributing it! It’s so fast working UI with clear UX to filter and search for globals and find the data across different namespaces! Well done! I recommend adding the tool to a usual InterSystems IRIS developer toolset! 

Evgeny Shvarov · Apr 12, 2022 go to post

I suppose your code is in some repository, e.g. GitHub, GitLab or Bitbucket. So you can just do the class rename code-refactoring procedure in all the classes of the package and in all the places the methods of package class can be called: rename code test.a->work.a.

and move all the files from folder test.a to work.a.

Evgeny Shvarov · Apr 3, 2022 go to post

Added macro for all the one liners.

So you also can

include dc.one.Line

and call

$$$changealladminpass("pass") to change all the predefined passwords to "pass", and other useful one-liners you suggested.

The Line.cls file illustrates the usage.

Suggest your useful one-liners!

Evgeny Shvarov · Mar 18, 2022 go to post

We are looking for the implementations of different data models with globals as a persistence engine. Technically everyone can implement their own graph, temporal, columnar, document, or any other type of a persistence engine implementing the API via Embedded Python, ObjectScript, or through Native API libs of node.js, java, python, or dotnet.

Also, we are looking for smart data index implementations, such as spatial index, functional indexes for search, etc.

There will be technical bonuses of such. Stay tuned and join our Monday's kick-off for more details.

Evgeny Shvarov · Feb 23, 2022 go to post

Updated the article with notes regarding the lowercase for classes:

Package names are written in all lower case to avoid conflict with the names of classes or interfaces.

So the full qualified name of the class is company.project.subpackage.TheClass.cls.

The approach borrowed from the naming convention for java classes.

Evgeny Shvarov · Feb 22, 2022 go to post

Thanks for the explanation, @Dan Pasco

Could you please explain why the size of indexes is reduced and why the queries are faster? Is it because of a shorter global name and path to the indexes?

For a lot of developers who got used to the meaningful global names this random hash can be an issue when you want to examine the global values for the related class/table or to make direct changes to it programmatically.