Evgeny Shvarov · Sep 7, 2018 go to post

Hi, Alex!

Didn’t know that it is possible. Just a question: how username/password can be not valid if they are being set new with this API?

Evgeny Shvarov · Sep 5, 2018 go to post

Hi, Francisco!

If the comment/answer has child comment/answer it cannot be deleted.

Today you can change the content of the comment/answer to say 'DELETED' and it's a good signal for moderators to delete it. Would it work?

Evgeny Shvarov · Sep 5, 2018 go to post

Hi, @Yuri Marx! I kind agree with Herman here - the post is great, well done and very thoughtful. But if you add to this one or two working technical solutions on IRIS to prove/describe  the idea better, that will be much interesting for the audience if the Developer Community.

Evgeny Shvarov · Sep 5, 2018 go to post

Hi, Emanuel! I don't know the answer, but I have a comment - you have 3 questions in one. If we have a discussion here on all 3 it will be a mess. Also, we have a feature of 'Accepted answer' which you will choose when the problem is done - it's difficult to accept an answer for 3 different questions.

Could you please consider to split it into 3 different questions?

Evgeny Shvarov · Sep 4, 2018 go to post

You are welcome!

Also would love to mention that DeepSee Web (DSW) gives you the option to iframe any particular widget. 

Just right click on a widget and choose Share menuitem and you'll get the iframe code to get this widget embeded to any other web-page.

E.g. here is the code for this widget:

<iframe style="border: none" src="https://analytics.community.intersystems.com/dswpub/index.html#!/d/PostsByYears.dashboard?ns=COMMUNITYPUBLIC&embed=1&widget=0&height=303&isLegend=true" width="551" height="303" ></iframe>

And here is how I obtained it:

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: