go to post Robert Cemper · Aug 22, 2022 for DOCKER:docker exec -it [-u root] <container-name or -id> bashdetails
go to post Robert Cemper · Aug 20, 2022 A somewhat similar example might be found in ENSDEMO Class Demo.Loan.FindRateTCPService
go to post Robert Cemper · Aug 20, 2022 check this: https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=EHTTP_inbound#EHTTP_creating_bus_service_configespecially this: https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY... The URL is then http://your-server-ip:your-port/
go to post Robert Cemper · Aug 18, 2022 The count is totally correct as you asked for all lines of codes you get counted all executable code.you do not count properties, comments, whatever ..... It might be easier to do an export in UDL format and let someNotepad or similar count the lines without any qualification. BTW. do get paid by lines ?
go to post Robert Cemper · Aug 17, 2022 ¡Hola Yone!What about your replies to this 3 deep basic questions ?
go to post Robert Cemper · Aug 16, 2022 Thank you @Ben Spead !In our common project, I had the joy of letting rule creativity (which in turn triggers productivity)!That's a key skill of an excellent project manager. It acts like a musher in Iditarod. Making the dogs give their best + having fun
go to post Robert Cemper · Aug 16, 2022 It's funny you raise that subject now, as I just finished writing my "technologic bio" for my sons.I won't translate the whole booklet but just pick out some highlights, #1) Why did you choose to become a software engineer / developer? To become Engineer was an almost a genetic determination. I could roll back my ancestors downto 1600 to find a repeating pattern of technical construction in wood, stone, metal, ...and started with studying electronics. Software just happened by consequence and found itssummit by a complete operating system, with a distributed M-database, interpreter, ... on VAX. #2) How and when did you start to generate a "flow state of mind" during your career? As a boy I was reading Walt Disney's comics. "Gyro Gearloose" was the most impressivecharacter to me and his statement "An engineer can invent everything" just caught me.I was reading the German translation that added some extra fun: "Dem Intschinör ist nix zu schwör!". It became my personal mission statement: "For a real engineer ‘IMPOSSIBLE’ doesn’t exist !"It became a red trace throughout my whole life. And the epigenetic 'fighter gen' inherited from myfirst ancestor surviving the 30years war with honors formed me to never give up. #3)What are recommended habits inside and outside, during you own time and duringyour work time, to be focused during your coding session and daily tasks? For software development, you should understand the language you use down to its darkest corner. You have to be as fluent as in a foreign language you speak. You know that you are there if you use it also in your dreams. Let your creativity roll on and seek to have fun with it to find the 'impossible' solution, and forget about thinking: "this can never happen!" This is just an illusion. Don't accept stops by rules that are not yours. I've seen so many nonsense measurements like the number of lines by month. In the first years even the number of punched cards (!) length of code, length of lines, number of comment lines by method, sick naming conventions, .. find your solution first and make it fast and stable and leave the polishing to please Code Quality and similar tools that will never follow your mind to the "coding clerks" (minor qualified engineers) to please controllers and administrators and managers who are not able to follow your great ideas. Finally, share your oeuvre with a qualified software engineer that you trust, to add the minimum required comments and explanations triggered by his questions. If your employer dislikes your style., leave it. Working against your own fire of creativity and your own fun at working can never be compensated by money. I did it for some short years and was not happy at work at all. I fought for my success and had my achievements. But fun at work came back only until returned to software engineering.
go to post Robert Cemper · Aug 11, 2022 It works if you do it better than just copy/paste from browserSee this: https://community.intersystems.com/post/basic-objectscript-not-working-linux-command-line#comment-197376 and this:https://community.intersystems.com/post/basic-objectscript-not-working-linux-command-line#comment-197371
go to post Robert Cemper · Aug 10, 2022 , which approach would you take ?I would try to use embedded Python to escape from <MAXSTRING>cut it to reasonable pieces and use them in COS as far as necessary.
go to post Robert Cemper · Aug 9, 2022 Thanks for the announcement.It releases energy for new solutions and examples, that were blocked otherwise.
go to post Robert Cemper · Aug 9, 2022 package Terminal-Multi-Line-Optionand Terminal-Multi-Line-Command-Editor allow thisin a Terminal connection but not in WebTerminal
go to post Robert Cemper · Aug 9, 2022 ALL code needs compiling. You just don't recognize it.<tab> as the first separator indicates that you to want to store a local commandline. WRITE<space>123 executes immediately while WRITE<tab>123 stores a line labeled WRITE with a nonsense code 123 WRITE<tab>WRITE<apace>123 creates a useful command line that you may run by DO<space>WRITEThis just explains what is happening. But this is not a programming tutorial.
go to post Robert Cemper · Aug 9, 2022 It's an ages-old story dating back almost 50 years.At that time code was not compiled but interpreted (as Python shell today)the code was kept in the local partition and <tab> signaled that this is to be kept and not executed immediately. Also, somelabel<tab> worked like that.Today it is compiled undercover, but not kept. Similar to the origin.
go to post Robert Cemper · Aug 8, 2022 that's because the browser or this horrible web editor converts <tab> to <blank>this is just core MUMPS style for writing .INT code AUMHSCRTC:USER>a<tab>SET x=1AUMHSCRTC:USER><tab>WHILE x<10 {AUMHSCRTC:USER><tab>WRITE !," Looping",xAUMHSCRTC:USER><tab>SET x=x+1AUMHSCRTC:USER><tab>}AUMHSCRTC:USER><tab>WRITE !,"DONE"AUMHSCRTC:USER>do a
go to post Robert Cemper · Aug 8, 2022 you are mixing things.#1) working:1.1 yo talk to login + authentication1.2 you talk to command prompt that stores your code locally. #2) not working authentication from script is not supported, the rest goes nowhere#3) not working examplesboth assume that3.1 you enter the code in Studio, VSCode, ...and COMPILE it.3.2 you call the compiled code from the command line
go to post Robert Cemper · Aug 4, 2022 DATEDIFF only compares the YEAR numbers. So: write $system.SQL.DATEDIFF("yy",$h-250,+$h) >>>> 1because of comparing 2021 to 2022but it definitely is less than 1 yearand it depends on the actual day of the year