go to post Evgeny Shvarov · Jun 6, 2016 One more solution from Russian forum: ClassMethod gluconatV2(x) As %String [ ProcedureBlock = 1 ] { s y="" f i=1:1:$l(x){s c=$e(x,i),a=$a(c)-97-(c]"r")-(c]"y"),z=c]" ",d=a\3+2*z s:d=$e(y,*) y=y_" " f j=0:1:a#3+("sz"[c)*z s y=y_d} q y } And one "extremum" version: ClassMethod ToPhone( t, a = "(t){s s="" f i=1:1:$l(t) {f N=0:1:3 s n=$f(""adgjmptw "",$c($a($e(t,i))-N)) s:n n=n#10,s=s_$e("" "",s_-1[(n_-1))_$e(n_n_n_n,1,N+1),N=9} q s}") As %String [ CodeMode = expression ] { $xecute(a,t) }
go to post Evgeny Shvarov · Jun 3, 2016 Hi, Asaf!Yes, you are right - Compound Cubes!In any case, I believe that giving the option (in Architect and Studio), to mark a date dimension to include all dates (or a range of years), would be a good enhancement to DeepSee.That would be great!
go to post Evgeny Shvarov · Jun 2, 2016 Luca, thank you! And thanks for the following and retweeting!
go to post Evgeny Shvarov · Jun 2, 2016 Good news, thanks!My question was because importing smth to %SYS needs temporary write permission to CACHELIB database to be turned on and everything installed in %SYS will be erased with the next Caché update.
go to post Evgeny Shvarov · May 31, 2016 One more variant from Russian forum: p(t) { s R="" f %=1:1:$l(t) f N=0:1:3 s n=$f("adgjmptw ",$c($a($e(t,%))-N)) s:n n=n#10,R=R_$e(" ",$e(R,*)=n)_$e(n*1111,1,N+1),N=9 } 132 symbols.
go to post Evgeny Shvarov · May 31, 2016 Joe! Would you please describe how can the Listing Groups be deployed?
go to post Evgeny Shvarov · May 31, 2016 Hi, Dan!Have you seen this conversation?There is USA map in DeepSee Web which shows how you can tie any data to polygons and color it according to the data value.
go to post Evgeny Shvarov · May 31, 2016 Thank you for this great tool, Tony!One question: is it possible instead of importing into %SYS, import to OTHERNAMESPACE and map the package to %All?
go to post Evgeny Shvarov · May 30, 2016 Hi, Joe!Thanks for the article!Is it possible to use one Listing Group for several cubes?
go to post Evgeny Shvarov · May 30, 2016 Personally, I think looking at different ways of doing the same thing are a great learning lesson. Judging based on the length of the code, simply encourages bad programming.Agreed. So I think is good to provide two versions: readable and the shortest.
go to post Evgeny Shvarov · May 30, 2016 And would you please provide "readable" version too just to see the algorithm better? TIA!
go to post Evgeny Shvarov · May 30, 2016 Alexander Koblov, thank you for such interesting problem for the Contest Final. Your variant? ;)
go to post Evgeny Shvarov · May 29, 2016 Hi, Rob! What are the benefits of using ewd-document-store abstraction?
go to post Evgeny Shvarov · May 25, 2016 I've added couple updates to the dashboard - so it now supports click filter for the counties too. Click on the county to see it's data in the indicator widget on the right.
go to post Evgeny Shvarov · May 25, 2016 Here is the case, when you probably will need at least two web apps for DeepSee REST API.Consider you want some data to be accessed with authorisation and you provide this access with /webapp1 which is set up with authorisation by password.And maybe you want some data to be accessible for everyone - you can do it with /webapp2 with option for UnknownUser.
go to post Evgeny Shvarov · May 24, 2016 Hi, Amir!Have you looked at the recent article from Alexander Koblov related to collations? I hope it has some answers on this topic.
go to post Evgeny Shvarov · May 24, 2016 No, you don't need gulp to use it. Gulp is used to make releases. To use it on your server do following: Install MDX2JSON first. Download Installer.cls.xml (from MDX2JSON folder in repository or releases page) and import it into any namespace)Run in terminal (import namespace) under user with %All role: Do ##class(MDX2JSON.Installer).setup() It will create MDX2JSON Namespace, will create /MDX2JSON webapp, make MDX2JSON package mapping to %All. Check server:port/MDX2JSON/Test that installation was successful. Then download the recent DSWeb release and install it. How to install: download installer. Import it to any Namespace (f.e. User). Run: d ##class(DSW.Installer).setup() It will create webapp, folder and will install the client. To update DSW, run: d ##class(DSW.Installer).update()