Question Evgeny Shvarov · Dec 18, 2016 How to exclude substring(s) from a string Hi, community! Consider you need to exclude substring(s) from a string. I did it with the following snippet: /// excludes all the substrings from the string ClassMethod ExcludeSubstring(substr,str as %String) As %String { while ($L(str,substr)>1) { set str=$Piece(str,substr)_$Piece(str,substr,2,*) } quit str } So, for example: #Code Snippet #ObjectScript #Caché 0 2 0 487
Question Evgeny Shvarov · Dec 14, 2016 Intergity test for cbk files Hi, Community!We have our internal backup system which produces *.cbk files for Full, Incremental and Cumulative backup modes.Does anyone have an automation procedure to restore this files on some target testing system, check the integrity and mark the files as "restorable"?Please, share?Thank you in advance! #System Administration #Backup #Caché 0 2 0 496
Announcement Evgeny Shvarov · Dec 12, 2016 The new tag Tools introduced Hi, Community!We just introduced the Tools tag to mark the articles where you are describing, announcing, promoting the Tools for development in InterSystems Caché. #DC Feedback 1 0 0 229
Announcement Evgeny Shvarov · Dec 7, 2016 InterSystems Developer Community Birthday! Hi, Community!Today, the 7th of December is the very good day - today is InterSystems Developer Community birthday! #Developer Community Official 10 11 0 579
Announcement Evgeny Shvarov · Dec 2, 2016 Developer Community Update, 2nd of December 2016 Hi!We updated the DC a bit.Member's answersWith this release, you can see the answers on the member's page too.E.g. see the answers by Timothy Leavitt. Post updates don't move the post to topSo we can fix the tags, spelling and make other updates to the post and it would not be moved to top anymore. #Release #Developer Community Official 2 1 0 238
Announcement Evgeny Shvarov · Nov 30, 2016 Developer Community Digest, November 2016 Hi, Community!Here is the digest of Articles and Questions published on InterSystems Developer Community in November 2016.Most viewedCaché and Ensemble 2017.1 field test now available 212Simple Arithmetics 179Reflection in Caché 177 #Digest #Developer Community Official 1 0 0 425
Question Evgeny Shvarov · Nov 27, 2016 New tag for the tools for developers Hi!We want to introduce the tag for the posts which describe the tools for the developers. How about #DevTools?Your ideas? #DC Feedback 0 2 0 184
Question Evgeny Shvarov · Nov 22, 2016 Create Namespace snippet Does anyone have a snippet to create the Namespace and database with defaults in one command? Something like: do ##class(Utils.Namespace).Create(Name) Please share? Thank you in advance! #Code Snippet #Namespace #ObjectScript #Caché 1 4 0 875
Question Evgeny Shvarov · Nov 20, 2016 How to export class package in xml Hi!Is there any way to export a class package to xml file programmatically which will include all the classes of the package? #Change Management #Caché 2 12 1 2K
Discussion Evgeny Shvarov · Nov 6, 2016 DC monthly digest format - do you like it? Hi, Community! We introduced the monthly digest a few months ago. Now it consists of articles and questions by tags in the post and only articles in your email. Do you like it? How can we make it better? Should we do it weekly? #DC Feedback 0 2 0 271
Announcement Evgeny Shvarov · Nov 2, 2016 New InterSystems Developer Community Moderator Hi, Community!Let me introduce Dmitry Maslennikov as our new Developer Community Moderator.Dmitry continuously shows the outstanding contribution to InterSystems Developer Community and we decided to trust Dmitry this role and hope that Dmitry can even help to make the Developer Community better in this new status.Thanks for your great contribution, Dmitry! And, we are looking for the new moderators from Community! #Developer Community Official 7 1 0 332
Announcement Evgeny Shvarov · Nov 1, 2016 Developer Community Articles and Questions Digest, October 2016 Hi, Community!Here is the digest of Articles and Questions published on InterSystems Developer Community in October 2016.Most viewedInternal Structure of Caché Database Blocks, Part 1 407Caché and Ensemble 2016.2.0 Release 306How to execute terminal commands from a webpage 214 #Digest #Developer Community Official 1 0 0 484
Announcement Evgeny Shvarov · Oct 31, 2016 Developer Community update: new favorites and subscriptions Hi, Community!We deployed the new update on DC and it brings:The new post subscriptions/favorites modelSome menu changesBug fixes.The new post subscriptions/favorites model:with every post you now see the star in the left bottom corner of the widget in the feed or of the post. #Developer Community Official 1 0 0 382
Question Evgeny Shvarov · Oct 28, 2016 Max function for the set of parameters There is an interesting discussion in the Russian forum going. What is the best solution for the function which returns the max for the set of parameters? From the listed solutions I like this one: ClassMethod max(args...) { for i=1:1:args { s max(+$g(args(i))) = i } s i="", max=$o(max(i),-1, i) Q $lb(max, i) } #ObjectScript #Caché 1 8 0 1.1K
Announcement Evgeny Shvarov · Oct 26, 2016 2.000 Members on DC! Hi, Community!This place is getting bigger and today we reached 2.000 of registered members on InterSystems Developer Community!Recently we introduced online analytics (build on InterSystems DeepSee) of main figures regarding Developer Community. #Developer Community Official 2 0 0 214
Announcement Evgeny Shvarov · Oct 24, 2016 Developer Community Update Hi, Community!We put in production the new DC update today. With this update we fixed some bugs, like publishing drafts with proper date and RSS fix and introduced the new look to the member page.Now member's page consists of Posts, Comments, and Favorites: e.g. this is the page of Alexander Koblov: #Developer Community Official 0 8 0 400
Announcement Evgeny Shvarov · Oct 19, 2016 InterSystems UK Technology Summit 2016 started! Hi, Community! I'm glad to announce UK Technology Summit 2016 started! #ISCTech2016 tag will help be in touch with all is happening in the Summit. You are very welcome to discuss the Summit here in comments too! #Events #Other 1 0 0 259
Question Evgeny Shvarov · Oct 18, 2016 Classes removing and renaming best practice with Atelier Hi!Suppose I have a project in Atelier with two classes: Class A and Class B and develop it in my local Caché installation. If I decide to delete Class A and delete it in Atelier project will it be deleted in Caché automatically or should I do it manually?Or what is the suggested workflow in this case?Same question is if I decide to rename Class B to Class C. #Change Management 1 4 0 654
Announcement Evgeny Shvarov · Oct 1, 2016 Developer Community Articles and Questions Digest, September 2016 Hi, Community!Here is the digest of Articles and Questions published on InterSystems Developer Community in September 2016.Most viewedMirroring 101: a brief guide and FAQ - 238NewBie's Corner Session 27 Traversing A Global with $Order Part 1 - 214Cache for Raspberry Pi? - 209Free Text Search: The Way To Search Your Text Fields That SQL Developers Are Hiding From You!* - 199REST in Pieces - 196User authentication using Arduino with RFID - 146Windows 7 performs shutdown too fast for Cache to close and so it gets forced down - 143Cache or Caché? - 141NewBie's Corner Session 28 Various Methods to Traverse a Global - 134Cache Certification - 128Most votedEnsemble and file outbound adapters - a small hint - 11Free Text Search: The Way To Search Your Text Fields That SQL Developers Are Hiding From You!* - 9Windows write caching - 9Advanced URL mapping for REST - 6Windows 7 performs shutdown too fast for Cache to close and so it gets forced down - 6Featured InterSystems Video: OAuth 2.0 Overview - 6The Art of Mapping Globals to Classes (2 of 3) - 5Running HealthShare XSLTs from Terminal - 5Cache for Raspberry Pi? - 5Cache or Caché? - 5Most commentedNewBie's Corner Session 27 Traversing A Global with $Order Part 1 - 16Cache for Raspberry Pi? - 14question on ExternalFreeze on windows platform -- - 14Cache or Caché? - 12Mirroring 101: a brief guide and FAQ - 10Windows 7 performs shutdown too fast for Cache to close and so it gets forced down - 9Multiple namespaces in web application - 8cleaning up CSP sessions (aka where/who/what is the %CSP.Daemon?) - 8NewBie's Corner Session 28 Various Methods to Traverse a Global - 8Free Text Search: The Way To Search Your Text Fields That SQL Developers Are Hiding From You!* - 7 #Digest #Developer Community Official 0 0 0 397
Question Evgeny Shvarov · Sep 19, 2016 Tag for the newbies posts Hi, Community!We want to introduce tag for the posts, which are related to the newbies.What is the best tag for it?Newbie's corner?Newbie?Beginner?Your option? #DC Feedback 0 6 0 264