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.

Evgeny Shvarov · Aug 14, 2018 go to post

Hi, Alessandro!

Thanks for the great post!

I wonder if Cube Relationships can address the same problem? e.g. if we have in this case two cubes: Patients and Doctors based on DeepSee.Study.Patient and DeepSee.Study.Doctor respectfully would basic synchronization of the cubes solve all the update issues?

Evgeny Shvarov · Aug 14, 2018 go to post

You are right. But I believe there are cases.

I don't know why Eduard needs it but e.g. if you consider implementing licensing on your ObjectScript solution with controlling logic in ObjectScript I believe you don't want the method of license checking to be overloaded. Final method in deployed mode could be a solution in this case.

Evgeny Shvarov · Aug 14, 2018 go to post

If you can provide me access to an IRIS system on GCP Cloud, then sure.

You can provide the access to IRIS on GCP by yourself - it's open for everyone, as listed in the announcement.

What functionality would you like to see, and what would the target audience be?

This is simple. I wonder, what are the benefits of QEWD for developers on IRIS.

Note: I'm not around to do anything until early September

No rush here.

Evgeny Shvarov · Aug 14, 2018 go to post

Hi, Ernesto! This is great!

You can make a Pull Request to the repo - so everyone can review/comment the changes too

Speaking about IRIS export - yes, it exports with <Export generator="IRIS"> which makes it complicated to import into Caché and Ensemble without manually changing the file.

I'd suggest @Kurro Lopez to export releases for IRIS and Caché/Ensemble separately for now and invite @Stefan Wittmann and @Benjamin De Boe to share guidelines what is the best way to develop on IRIS and make it available for Caché/Ensemble too.