Article Evgeny Shvarov · Apr 22, 2017 3m read InterSystems Developer Community Welcome Page Hi! If you see this page you are in the InterSystems Developer Community! You are very welcome! #Developer Community Official 8 14 0 15K
Article Evgeny Shvarov · Jan 12, 2017 1m read Update notifications for the last year postings Hi, Community!We are fixing groups, tags and message types for the several last year's postings.So that's why you are getting "strange" notifications now with no any new comment.As a result, you'll get better tagging and for the DC articles and questions.Anyway, you can turn off the "OnUpdate" notifications as it is described here. #DC Feedback 1 0 0 227
Article Evgeny Shvarov · Jan 5, 2017 1m read Notifications for the posts' updates and how to turn off it Hi!Today DC supports the notifications for the posts' updates. It means if someone changes the post text, title, group or tag you can be notified about that.But this notifications just inform that there were updates, but do not show what exactly was changed in the post.So through this, you can get the notifications for the posts from previous years without any reason what's happened.I would suggest to turn off this types of notifications until we'll implement the details in notifications, what exactly was changed in the post and why did you get it. #DC Feedback #Developer Community FAQ 0 15 0 527
Article Evgeny Shvarov · Dec 18, 2016 1m read [ANIMATION] How to make a post First, register to make postings.Here is the short gif which demonstrates how to post, paste text from Word, make COS highlighting and put Group and tag.Here it is: #Developer Community FAQ #DC Feedback 3 0 0 795
Article Evgeny Shvarov · Aug 31, 2016 1m read DeepSee cubes building troubleshooting Hi! Sometimes you see that call to DeepSee cube building method: w ##class(%DeepSee.Utils).%BuildCube("CubeName") does nothing. Here are my 2 cents on possible reasons. 1. Run DeepSee Reset method in certain Namespace: NAMESPACE> w ##class(%DeepSee.Utils).%Reset() and try again. 2. Make sure, that all the indices in your base class for the cube are rebuilt, rebuild them and run it again: #InterSystems IRIS BI (DeepSee) #Cubes #Tips & Tricks 1 2 0 421
Article Evgeny Shvarov · Aug 16, 2016 1m read Yet another use case for $translate: date conversion Have you tried $Translate for date conversion? USER>write $Translate("Dd.Mm.WwYy","WwYy-Mm-Dd","2015-08-02") 02.08.2015 Stolen from Russian forum and Alexander Koblov. #Code Snippet #ObjectScript #Tips & Tricks #Caché 1 1 0 694
Article Evgeny Shvarov · Jul 27, 2016 1m read Tips & Tricks. Be aware of Month->Week hierarchy in DeepSee Hi, Community!You know, that when we build hierarchies in DeepSee dimension all the members of lower level should be the part of one member of the higher level.If not you'll get some empty results in MDX queries with this hierarchy.With Time dimensions the obvious valid hierarchy is Year->Month->Day, cause every Month consists of one Year and every day consists of one month. #InterSystems IRIS BI (DeepSee) #Tips & Tricks 2 3 0 430
Article Evgeny Shvarov · Jul 25, 2016 2m read Developer Community email notification subscriptions Hi, Community!Today there are two main settings for your email notification subscriptions.1. Subscribe to all new posts, all comments, all answersYou can do it in your subscription settings in the Content Types. Click on My Account, go to Subscriptions and click on Content types tab: #DC Feedback #Developer Community FAQ 1 15 1 923
Article Evgeny Shvarov · Jul 14, 2016 1m read Caché Haiku Alex Koblov posted today a #CachéHaiku: Full command names Make your code more readable Than compact versions My haiku: Caché Globals Shows you keys to the value If you $order it Your variant? ;) #Caché 8 19 1 1.1K
Article Evgeny Shvarov · Jun 13, 2016 1m read Debug: using locks for breakpoints Hi, Community! Want to share with you one debugging approach from the Russian forum. Suppose I want to debug the application and I want it to stop the execution on a particular line. I add in code this line: l +d,-d When I want to start debugging in this line I block d in terminal USER> l +d And execute the app. The app stops on this line and lets me connect to it with Studio debugger. #Best Practices #Debugging #ObjectScript #Caché 0 8 1 683
Article Evgeny Shvarov · Jun 8, 2016 1m read How to post an article from Word or Google Docs Hi, Community!If you prepare your longread for DC in Microsoft Word or Google Docs there is one very easy way how to add your formatted text and images in DC post at once.To make it do the following:1.Click Create Post on Developer Community.2. Copy all the text in Word o GDocs to the buffer.3. Click the button Paste from word (see the shot):4. Paste the text to the opened window an press OK. #DC Feedback #Developer Community FAQ 0 7 0 558
Article Evgeny Shvarov · May 11, 2016 1m read The simplest snippet to read from file in InterSystems IRIS Hi! I believe the simplest is (to work with csv delimited by ";"): set file = ##class(%File).%New( "data.csv" ) set sc = file.Open( "R" ) if $$$ISERR(sc) quit ; or do smth while 'file.AtEnd { set str=file.ReadLine() for i=1:1:$length( str, ";" ) { set id=$piece( str, ";" ,i ) write !, id // or do smth } } do file.Close() Possible options: different variants of error handling with sc code. Embrace while loop into try/catch block. And what's yours? #Code Snippet #CSV #ObjectScript #Caché #InterSystems IRIS 3 16 0 7.1K
Article Evgeny Shvarov · Apr 16, 2016 1m read Try catch block I usually use in InterSystems ObjectScript Hi! Want to share with you code snippet of try catch block I usually use in methods which should return %Status. { try { $$$TOE(sc,StatusMethod()) } catch e { set sc=e.AsStatus() do e.Log() } Quit sc } Here $$$TOE is a short form of $$$TROWONERROR macro. Inside macro StatusMethod is any method you call which will return %Status value. This value will be placed into sc variable. #Code Snippet #ObjectScript #Caché #InterSystems IRIS 6 21 2 3.4K
Article Evgeny Shvarov · Apr 15, 2016 2m read Sources for InterSystems Global Summit 2016 Sessions and Experiences Hi! Please find all the source code Global Summit 2016 Sessions and Experiences in following GitHub repositories: #Global Summit 2016 #ObjectScript #Summit 4 1 0 964
Article Evgeny Shvarov · Mar 18, 2016 1m read Developer Community MVP of March and the Winner of GLobal Summit Contest II is ... Hi, Community! The Second InterSystems Global Summit Contest finished yesterday, and we have a new winner! John Murray has won the prize and showed very impressive contribution activity with the result: #Global Summit 2016 #DC Feedback #Summit 2 4 0 331
Article Evgeny Shvarov · Mar 10, 2016 1m read DeepSee Termlist Deployment What is the best way to deploy DeepSee Termlists? #InterSystems IRIS BI (DeepSee) 0 5 0 396
Article Evgeny Shvarov · Mar 9, 2016 2m read How to make posts with code on Developer Community Hi! Here is small "How to" again. Suppose you need to share something with source code. How can we manage it on DC? Sharing code snippets 1. Add normal post (not Code Package). 2. Paste your code in the post and format it with highlighting as it is described here. #Caché #Code Snippet #Coding Guidelines #DC Feedback 3 2 0 521
Article Evgeny Shvarov · Feb 15, 2016 2m read How to highlight Caché ObjectScript, work with htm, add image in the post and other questions Hi, Community! We've updated Developer Community (DC) portal and here are some good news. Now you can insert in your post highlighted parts of code. It works with help of highlight.js library. To illustrate it I took some code snippets from Fabian's article. #Developer Community FAQ #DC Feedback 10 13 0 1.2K
Article Evgeny Shvarov · Feb 1, 2016 1m read How to Make a Post and Other Frequently Asked Questions Hi, InterSystems Developer Community!We are working to improve this site to make it comfortable to read, contribute, share and get answers from InterSystems Developer Community!But while we haven't fixed some UI issues please find in this post some simple answers on how to deal with Developer Community.How to add post?Open Communities page, choose desired e.g. Caché and click "Create New Post" button. #DC Feedback 4 17 0 498
Article Evgeny Shvarov · Dec 14, 2015 1m read Cache Web Terminal Release 3.1.4 Hi ISC Community!I'm pleased to announce new release of Caché Web Terminal 3.1.4.What's new:1. Drag'n'drop to Studio installation: just import xml in any namespace.2. After import and comilation access your web terminal app on URL server:port/terminal/.F.e. localhost:57772/terminal/ Slash is mandatory.3. No need to use %CACHELIB anymore - please feel free to update your Caché and continue using CWT. #Caché #Development Environment #Terminal #Release 6 13 1 1.2K