Evgeny Shvarov · Jul 29, 2020 go to post

Exactly!

As discussed previously in the Naming Convention topic, the first package in a class name is your name or your company. 

dc. - is for packages contributed to InterSystems Community, by InterSystems or by individuals and companies when a personal name or company's name is not an option for some reason.

Evgeny Shvarov · Jul 28, 2020 go to post

So, dc. is the selected package name for Community-related packages.

e.g. 

dc.library.class 

is an example of the name.

Evgeny Shvarov · Jul 28, 2020 go to post

And this "SQL format" could be imported then into PostgreSQL only or to any SQL-driven DBMS?

There is no such feature in IRIS, but if you share an example I think it could be baked shortly.

IRIS can export data into Globals format in Global output file (GOF), or XML. which could be imported then into any IRIS.

And you can export CSV file from IRIS class/table.

Evgeny Shvarov · Jul 24, 2020 go to post

Docker Images with IRIS 2020.3 and ZPM 0.2.4:

intersystemsdc/iris-community:2020.3.0.200.0-zpm

intersystemsdc/iris-community:2020.2.0.204.0-zpm

intersystemsdc/irishealth-community:2020.3.0.200.0-zpm

intersystemsdc/irishealth-community:2020.2.0.204.0-zpm

intersystemsdc/iris-aa-community:2020.3.0AA.331.0-zpm

And to launch IRIS do:

docker run --name my-iris -d --publish 9091:51773 --publish 9092:52773 intersystemsdc/iris-community:2020.3.0.200.0-zpm

docker run --name my-iris -d --publish 9091:51773 --publish 9092:52773 intersystemsdc/iris-community:2020.2.0.204.0-zpm

docker run --name my-iris -d --publish 9091:51773 --publish 9092:52773 intersystemsdc/irishealth-community:2020.3.0.200.0-zpm

docker run --name my-iris -d --publish 9091:51773 --publish 9092:52773 intersystemsdc/irishealth-community:2020.2.0.204.0-zpm

docker run --name my-iris -d --publish 9091:51773 --publish 9092:52773 intersystemsdc/iris-aa-community:2020.3.0AA.331.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.csp
Evgeny Shvarov · Jul 22, 2020 go to post

Another example which I use in Covid-19 online dashboard to update the data:

ClassMethod CreateTask() As %Status
{
    Set task=##class(%SYS.Task).%New()
    Set task.Name = "Update data"
    Set task.NameSpace=$Namespace
    Set task.TimePeriod=0 // Daily
    Set task.TimePeriodEvery=1 // Every 1 day
    Set task.DailyFrequency=1 // Run Several times in a day
    Set task.DailyFrequencyTime=0 // Run every x minutes
    Set task.DailyIncrement=60 // # of minutes between runs
    Set task.DailyStartTime = 0 // Start at 00:00:00
    Set task.DailyEndTime = 86399 // End at 23:59:59
    Set task.StartDate = $p($H,",",1) // Start today
    
    Set taskdef = ##class(Covid19.UpdateTask).%New()
    Do task.AssignSettings(taskdef)
    Set task.TaskClass=$classname(taskdef)
    
    Set st = task.%Save()
    Return:$$$ISERR(st) st
    Return ##class(%SYS.Task).RunNow(task.%Id())
}

But you need to have the class,  Covid19.UpdateTask in this case:

Class Covid19.UpdateTask Extends %SYS.Task.Definition
{

Method OnTask() As %Status
{
    return ##class(Covid19.Utils).DailyUpdate()
}

}

HTH

Evgeny Shvarov · Jul 19, 2020 go to post

Thanks, Robert! Yes, this is relevant stuff. I'm not sure if this fits in that case, I mean if the approach could be used with ntegratedML

Evgeny Shvarov · Jul 19, 2020 go to post

Hi Yuri!

It is still not working for me using the docker run. 

Any ideas on how can I fix it?

Evgeny Shvarov · Jul 19, 2020 go to post

Hi Renato!

A small note:

SELECT id, Name, Tags, Text FROM Community.Post Where not text is null order by idSELECT id, Name, Tags, Text FROM Community.Post Where not text is null order by id

Do we really have posts without text there?

Evgeny Shvarov · Jul 16, 2020 go to post

Hi Yuri!

I tried the "Docker way" to install - all installed properly. I follow your video but I do not see the IntegratedML option on my laptop, no IntegratedML item:

What do I miss?

Evgeny Shvarov · Jul 15, 2020 go to post

Yes, I think of using it with the site. We may introduce it as an option for authors to use "guessed" tags, or to moderators to update it. Curious to see the IntegratedML option working too!

Evgeny Shvarov · Jul 15, 2020 go to post

Hi Renato!

E.g. here the author has introduced absolutely random tags (Database, Developer Community).

The proper tags could be: Caché, SQL

Is there a way to help the system to educate itself with proper tag sets?

Evgeny Shvarov · Jul 14, 2020 go to post

Renato, this is impressive!

Is it possible to give an URL of the post to your solution and get the tags list back?

E.g. for this post?

Evgeny Shvarov · Jul 1, 2020 go to post

In fact, It works!

Installation:

USER>zpm
zpm: USER>install terminal-multiline

[terminal-multiline]    Reload START
[terminal-multiline]    Reload SUCCESS
[terminal-multiline]    Module object refreshed.
[terminal-multiline]    Validate START
[terminal-multiline]    Validate SUCCESS
[terminal-multiline]    Compile START
[terminal-multiline]    Compile SUCCESS
[terminal-multiline]    Activate START
[terminal-multiline]    Configure START
[terminal-multiline]    Configure SUCCESS
[terminal-multiline]    Activate SUCCESS
zpm: USER>q

Usage with copy-n-paste from docs:

USER>d ^%zml
Entering multi line mode. Run with empty line. Stop with single "."
USER:zml:1> SET x=8
USER:zml:2>   FOR { WRITE "Running loop x=",x,!
USER:zml:3>         SET x=x-1
USER:zml:4>         QUIT:x=3
USER:zml:5>       }
USER:zml:6>   WRITE "Next command after FOR code block"
USER:zml:7> 
Running loop x=8
Running loop x=7
Running loop x=6
Running loop x=5
Running loop x=4

Next command after FOR code block
USER:zml:1>

It works like a charm!

Bravo, @Robert Cemper!

Evgeny Shvarov · Jun 29, 2020 go to post

But are you sure that method which does the thing was invoked?

Is there a matter of Namespace (just a guess)?

And what is the status then?