go to post Dmitry Maslennikov · Feb 15, 2016 Cache for Windows (x86-64) 2016.2 (Build 595U) Wed Feb 10 2016 19:12:54 EST Action `Delete` in context menu by project items, no works after first use. Deleting three thousands of items at once leads to Atelier does not respond. In project folder nothing changes. And all that time CPU in ~70% and about 2Gb memory
go to post Dmitry Maslennikov · Feb 15, 2016 I just have found that $system.OBJ.Load() supports loading in an UDL format. And found $system.OBJ.ExportUDL() which can export classes and routines in UDL format. So, it means that we can easily organize work in Studio and in Atelier at the same time. What we should, it is to export all files in Studio hook at the same manner as it doing Atelier. With this new possiblility, will be much easier to migrate from Studio to Atelier. Thanks.
go to post Dmitry Maslennikov · Feb 15, 2016 Well, we got very exciting feature. But how about some more methods for arrays, such as: $unshift, $pop, $shift, $concat, $join, $slice ? It would be very helpful. And as we have $listbuilds in Caché, I want to easily convert it to json array like below set array = ([]).$from($lb(1,2,3)) do array.$toJSON() [1, 2, 3]
go to post Dmitry Maslennikov · Feb 12, 2016 As you may already know, tables in Caché is a classes. And Class defintion stores in %Dictionary Package. SELECT * FROM %Dictionary.PropertyDefinition where parent='Sample.Person'
go to post Dmitry Maslennikov · Feb 12, 2016 Ok then, how to manage to get it worked with REST in Caché. For example. My application uses REST dispatch class for csp application. This class returns static files from disk in development, or from XData in production. And then I need to use WebSocket as well, but all requests catch by REST class. And in REST route map, i want to have path '/websocket', and send it to my WebSocket class.
go to post Dmitry Maslennikov · Feb 8, 2016 Sure, you cando label^routine(arg1, arg2)set result=$$func^routine(arg1, arg2)
go to post Dmitry Maslennikov · Feb 8, 2016 You want to log, every outputs in csession like in cterm in windows, or just want to log every output for concrete command/routine ?
go to post Dmitry Maslennikov · Feb 8, 2016 Unfortunately not so many information could be found in documentation, yet. But what I know, when ordinary class/classmethod or clientmethod defined in %Dictionary.MethodDefinition, systemmethod defined in %Dictionary.SystemMethodDefinition (link to localhost:57772). Defintion for systemmethod is quite close to method, but with much less parameters.
go to post Dmitry Maslennikov · Feb 1, 2016 Hi Luca, Will there any academic sessions at global summit with Docker ? I think it should be, it will be very helpful, to understand how it works with Cache, how possible to deploy applications. I like docker, and think about it, but still do not understand how it can be used with our applications, and how to make container for it, and connect to Cache's container.
go to post Dmitry Maslennikov · Jan 27, 2016 Yes, it is so. And yes, I'm already have enough rep for editing. But I'm not sure in stackoverflow rules, is it available for such changes? And I'm not sure in my english, that's maybe main reason, why I have not done it yet.
go to post Dmitry Maslennikov · Jan 27, 2016 You can see my example at code.intersystems.com. and with this code, you do such query select * EnsUtil.Message_fetch() or select count(*) EnsUtil.Message_fetch('namespace1,namespace2')
go to post Dmitry Maslennikov · Jan 27, 2016 Looks like, one rss feed works, but with just a few posts
go to post Dmitry Maslennikov · Jan 26, 2016 And even if you don't extend any classes, it any case will be hidden extend with %Library.Base. and %systemInclude still be included.
go to post Dmitry Maslennikov · Jan 26, 2016 I'm very agree, with advertising stackoverflow tags, it is a very good platform for questions. But unfortunately just a few people use it, some more at different google groups , and as I think much more at russian forum sql.ru. But I see that stackoverflow, much better that any others. Unfortunately here as we already know, it is quite difficult to recognize a question in new posts. And very bad that this site still does not have any RSS, i can't wait when it happen. And too difficult to catch any new posts via email subscriptions, which is so ugly yet. You mentioned tag objectscript at stackoverflow, but I don't understand why so many people choose it as relevant to intersystems technologies. It does not, it looks odd, even every last question marked with this tag, depends only with caché. And it looks we should change description for this tag, which will be relevant to Caché.
go to post Dmitry Maslennikov · Jan 23, 2016 Is it your account on github ? Looks like you already know how to create repository and work with github. Just create another repository, and create some readme (in english), license file. Most of projects on InterSystems technologies uses MIT license. In your porject more then one class, so better to export each file separately. Easy to do it with Studio hooks, for example with this project. It can help to export project files automaticaly after compile. And then after publish your project, Evgeny or somebody else who manage intersystems account, will fork it.
go to post Dmitry Maslennikov · Jan 21, 2016 Final method or not it checks only in a compile time. Much helpier would be if you show an error which you get.
go to post Dmitry Maslennikov · Jan 21, 2016 In Cache uses typeless language. So in some cases such as in command IF if varName write "true" else write "false" or any other logical operations any non zero values will be as true values. and '1 will give a 0
go to post Dmitry Maslennikov · Jan 21, 2016 I guess that you writing an function for rule. And your class where you do it extends Ens.Util.FunctionSet where Lookup is located. Lookup is a method and you should call it as a method, now it is as variable. /// Returns the participant code based on MSH-4ClassMethod getParticipant(iSendingFacility As %String) As %String [ Final ]{ set a = $PIECE(iSendingFacility,"^",1) set b = $PIECE(iSendingFacility,"^",2) set sc1 = ..Lookup("ParticipantCodeMap",a) if sc1 = "" { set sc1 = ..Lookup("ParticipantCodeMap",b) } q sc1} And if you want to call it by terminal, it should be so: write ##class(Ens.Util.FunctionSet).Lookup("ParticipantCodeMap","1083601330")