go to post Dmitry Maslennikov · Jan 10, 2017 Yes, and cloud of tags, does not show that hierarchy. And when I search needed tag by typing while create new post, too.So, hierarchy here looks useless.
go to post Dmitry Maslennikov · Jan 10, 2017 Sure, leading zero, so, fixed code. set hashHex="" for i=1:1:$l(hash) set hashHex=hashHex_$translate($justify($zhex($a(hash,i)),2)," ","0")
go to post Dmitry Maslennikov · Jan 9, 2017 The difference only in output format. InterSystems returns just string of bytes, while online generator returns hex codes for that bytes, which is much better for reading by human. So, you may quickly check it with command zzdump. And you may notice, that zzdump shows the same hash you got from online generator. USER>set hash=$system.Encryption.SHAHash(512,"test") USER>zzdump hash 0000: EE 26 B0 DD 4A F7 E7 49 AA 1A 8E E3 C1 0A E9 92 î&°ÝJ÷çIª..ãÁ.é. 0010: 3F 61 89 80 77 2E 47 3F 88 19 A5 D4 94 0E 0D B2 ?a..w.G?..¥Ô...² 0020: 7A C1 85 F8 A0 E1 D5 F8 4F 88 BC 88 7F D6 7B 14 zÁ.ø áÕøO.¼..Ö{. 0030: 37 32 C3 04 CC 5F A9 AD 8E 6F 57 F5 00 28 A8 FF 72Ã.Ì_©.oWõ.(¨ÿ And this simple line of code, may help you to convert this hash to hex hash. USER>set hashHex="" for i=1:1:$l(hash) set hashHex=hashHex_$zhex($a(hash,i)) USER>write hashHex EE26B0DD4AF7E749AA1A8EE3C1AE9923F618980772E473F8819A5D494EDB27AC185F8A0E1D5F84F88BC887FD67B143732C34CC5FA9AD8E6F57F5028A8FF USER>write $zconvert(hashHex,"L") ee26b0dd4af7e749aa1a8ee3c1ae9923f618980772e473f8819a5d494edb27ac185f8a0e1d5f84f88bc887fd67b143732c34cc5fa9ad8e6f57f5028a8ff
go to post Dmitry Maslennikov · Jan 8, 2017 In my experience such behavior I saw when we had so many writes to the disk, and write daemon queue only grown up.In first I would launch mgstat tool from InterSystems. But it should be started before the freezing system, and for quite long time, with at least 5 seconds interval, better if it would be 1 second. Then you should look at some columns such as WDphase, PhyWrs, WDQsz.What you should look for. WDphase - should not be all the time in the 8th phase.WDQsz - from time to time should fall to zeroPhyWrs - may help to calculate a "real" speed of writing to the disk. And compare with expected speed.WDPass - time to time should be increased, if WD still at the same cycle so long time, it may cause a freezing system.
go to post Dmitry Maslennikov · Jan 6, 2017 Unlicensed trial version, have only 1 license unit available. So if you have already opened Studio, connected to this server, this license unit already busy. You may try to close Studio, and all other tools, such as terminal, and System Management Portal, and try again.
go to post Dmitry Maslennikov · Jan 3, 2017 Counts only lines which appear in the final "INT" code. If you working with MAC code, you may open INT by pressing Ctrl+Shift+V in the Studio. And then you can go to this needed line wit dialog called by Ctrl+Shift+G, Where you should put 'label+line' or just '+line'. If you Studio says, that no other sources, you should check flag "Keep Generated Source Code" and add compiler flag "k" in the Studio options and recompile your routine.
go to post Dmitry Maslennikov · Jan 3, 2017 Because only one backup process could be launched at the same time.
go to post Dmitry Maslennikov · Jan 2, 2017 Thanks, and thanks for your articles hope to see next article soon.
go to post Dmitry Maslennikov · Jan 1, 2017 Did you install 2016 version on the same machine where you had Cache 2014? For me, it looks like, the error on AutoCAD or Windows side, not on Caché side. But anyway I think you should ask for help in WRC.
go to post Dmitry Maslennikov · Jan 1, 2017 Plase add some more details, what do you mean by slowly?Do you work remotely? Is it still slowly if connect locally on the server?
go to post Dmitry Maslennikov · Jan 1, 2017 You should look at the requirements part at this download Atelier page. Where you will see that Caché should be licensed.
go to post Dmitry Maslennikov · Jan 1, 2017 Well, there are some different reasons to do it: optimization network traffic for readers. You should remember, that you wrote the public article for people all around the world, with different quality of their network connection. Some people may even disable images for loading. in slow internet connection, you may see empty spaces for your images, while it will be loaded. it is a bit difficult to recognize your terminal images due to the white background, the same as for page. If you put it as a formatted text, it will have the different background.
go to post Dmitry Maslennikov · Dec 29, 2016 I would recommend to use a bit modern way set rs=##class(%Routine).RoutineListFunc("ABC*.int") while rs.%Next() { write !,rs.Name }
go to post Dmitry Maslennikov · Dec 28, 2016 Tani, please change all terminal samples and samples of code from pictures to plain formatted text.
go to post Dmitry Maslennikov · Dec 26, 2016 InterSystems still support only SQL-92. While WITH appeared only in SQL-99. So, Caché doesn't support it.
go to post Dmitry Maslennikov · Dec 23, 2016 w #,*27,"[32m" s $lb(tw,th,twi,c,tp,l)=$lb(2,4,8,40,4,24) while (l-th>tp) { f st=0:1:th-1 { s y=tp+st,x=c-(tw/2),w=tw-1 s:w ts(y)=$lb(x,w) w *27,"[",y,";",c-(tw/2),"H/",*27,"[",y,";",c+(tw/2),"H\" s tw=twi/th*2+tw } s tp=tp+th,tw=tw-twi } w !,*27,"[0m","Press any key to exit" f { w *27,"[",y,";",x+1,"H",$j("",w) f i=1:1:y\4 { w *27,"[",$r(10)+30,"m",*27,"[",y,";",$r(w)+x+1,"Ho",*27,"[1;1H"} s y=$o(ts(y),-1,d),$lb(x,w)=d i w<5 {s y=$o(ts(""),-1) h 0.3} r q:0 q:$t } w *27,"[0m"
go to post Dmitry Maslennikov · Dec 22, 2016 It is a very different question, please create as a separate one.
go to post Dmitry Maslennikov · Dec 20, 2016 Before doing such task, you should know a bit more about technologies which you going to use. PDF - it is a binary format, so, you can't just copy text from PDF. Some of the files may contain a text, some just a picture with text. And to get plain text from PDF, you have to use some third party OCR software. One of the leaders is ABBYY FineReader it is proprietary, but if you need you can find some products for free.