Evgeny Shvarov · Sep 4, 2018 go to post

Hi, Emanuel!

You put this post into Community Feedback group, so nobody saw it. Changed to Caché, hope guys will answer you now.

Evgeny Shvarov · Sep 4, 2018 go to post

Hi, Rustam!

Thanks for the article, but where are the links to the repos? And formatting is awful ;)

Here is the link to isc-dev project which performs import/export to UDL you mention here.

Evgeny Shvarov · Sep 3, 2018 go to post

Hi, Jaqueline!

Yes, sure, you can hide the header of the dashboard if you untroduce a "&embed=1" parameter after namespace in the URL.

e.g. like here

Evgeny Shvarov · Sep 3, 2018 go to post

Hi, Ward! This looks very interesting.

Do you have an example of sending e-mails using NPM from COS?

Evgeny Shvarov · Sep 3, 2018 go to post

Hi, Yuri! Thanks for posting the link to a really great post! But DC is more for articles posted directly here rather then links to somewhere else. Is it possible to repost it here too?

Evgeny Shvarov · Sep 3, 2018 go to post

Hi, Daniel!

You mentioned Code Coverage - what do you mean? Is it a test coverage? 

Evgeny Shvarov · Aug 31, 2018 go to post

Thank you, John!

Actually, I don't know the case when we may need to change passwords for ALL users to the one specified.

So, don't run this code on your production system.

@Eduard Lebedyuk is there any close to reality case when this snippet could be useful?

Evgeny Shvarov · Aug 29, 2018 go to post

Elaborated ;) Full classmethod Main() now.

You can get rid of two lines:

set ways = $lb("listnext", "listfind", "lfs", "base")

and

set way = $lg(ways, i)

if you change for to:

for way="listnext", "listfind", "lfs", "base" {
Evgeny Shvarov · Aug 29, 2018 go to post

Ed, it's not about speed, but about syntax sugar on "for cycles". you can go like that: 

 

/// do ##class(POI.Test).main() 
ClassMethod main(rounds As %Integer = 1000, size As %Integer = 10, nullPercent As %Integer = 20) {
 set list = ..getList(size, nullPercent) 
 write !,"Rounds: ", rounds 
 write !,"Size: ", size 
 write !,"NullPercent: ", nullPercent 
 write !,"List: " 
 zwrite list
for way="listnext", "listfind", "lfs", "base" {

  set start = $zh set list2 = $classmethod(,way, rounds, list)

  set end = $zh set time = end - start 
 write !,"Way: ", way 
 write !,"Time: ", time 
write !,"List: "
 zwrite list2

  write ! }
Evgeny Shvarov · Aug 28, 2018 go to post

Fantastic!  Should we substitute Community engine to it? ;)

It seems though that comments doesn’t work. 

Is there the source code of this implementation of Conduit available? I mean the implementation which works with IRIS?

Evgeny Shvarov · Aug 28, 2018 go to post

Hi, Jaqueline!

You can add a Property element to the Level you want to sort differently - e.g. this date property. And you can alter if you want this level members be sorted by the property values. See the screenshot:

Evgeny Shvarov · Aug 23, 2018 go to post

Well!

We already have two slots taken!

One is:

Static Analysis for ObjectScript with  CacheQuality 

It's a CI compatible static analysis to for ObjectScript codebase which finds bugs and obeys code guidlines using a set of managed rules from LiteSolutions (which is now better will sound as IRISQuality, @Daniel Tamajon? ;)

Another slot is a secret topic, will be announced just before the GS.

So we have two more, book your session on InterSystems IRIS Flash Talks from Developer Community!

Evgeny Shvarov · Aug 17, 2018 go to post

Hi, Lassi!

Consider you have two databases on your production system:

AppData - with application data

AppCode - with the code for your solution.

AppData namespace maps classes needed for the application in AppCode.

You deploy your releases only in AppCode namespace. In this case, you either delete everything before deploying the latest release or delete and create a new AppCode database the with latest release.

And you shouldn't bother of deleted classes in the repo ;)

Evgeny Shvarov · Aug 16, 2018 go to post

Wow. Do you have any experience with Portanier + IRIS containers? I think it deserves a new article.

Evgeny Shvarov · Aug 16, 2018 go to post

Another question: can I deploy a container manually on production host with a reasonable number of steps in management or CI is the only option?

Evgeny Shvarov · Aug 16, 2018 go to post

Thanks, Eduard! 

But why Gitlab? Can I manage all the Continuous Delivery say with Github?

Evgeny Shvarov · Aug 16, 2018 go to post

Great article, Eduard, thanks!

It's not clear though what do I need to have on a production host initially? In my understanding, installed docker and container with IRIS and container with IRIS is enough. In that case how Durable %SYS and Application data (USER NAMESPACE) appear on the production host for the first time? 

Evgeny Shvarov · Aug 16, 2018 go to post

I agree with Benjamin - the question is more about globals/locals vs DynamicObject/DynamicArray. 

@Arcady Goldmints-Orlov could you share the examples of code with globals/locals and Dynamic structures to illustrate two approaches more clear? 

Evgeny Shvarov · Aug 15, 2018 go to post

Hi, Lassi!

Just in case you've never heard about but there is a community supported WebTerminal which works via web-sockets and supports code highlighting, code completion and many other convenient things. And it doesn't need terminal access (telnet, ssh) to a server, web access is enough.