go to post Fabian Haupt · Aug 18, 2017 You can use netstat to identify which process is using a port (and then kill it). Sometime we're seeing a process hang around and not free the port. This has happenend with the .net gateway before.
go to post Fabian Haupt · Aug 18, 2017 As per Nancy:"WRC Problem was opened and a resolution was reached."
go to post Fabian Haupt · Aug 17, 2017 Every time I see the name I have to think of: https://en.wikipedia.org/wiki/QWOP :)
go to post Fabian Haupt · Aug 16, 2017 Nice! Thanks for this! Here's what I'm currently using to deal with pButtons/mgstat output: https://community.intersystems.com/post/visualizing-data-jungle-part-iv-... Cheers, Fab
go to post Fabian Haupt · Aug 11, 2017 As to your second part, $ZTS is the most precise time you have. On unix: The $ZTIMESTAMP time value is a decimal numeric value that counts the time in seconds and fractions thereof. The number of digits in the fractional seconds may vary from zero to nine, depending on the precision of your computer’s time-of-day clock. On Windows systems the fractional precision is three decimal digits; on UNIX® systems it is six decimal digits. $ZTIMESTAMP suppresses trailing zeroes or a trailing decimal point in this fractional portion. (http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...)
go to post Fabian Haupt · Aug 11, 2017 Hi, no. There aren't any library methods for that. It should be simple enough to implement a fairly generic quicksort you can re-use. cheers, Fab
go to post Fabian Haupt · Jul 17, 2017 That seems to be a very specific question. What is the actual problem you're trying to solve? (on a sidenote, check out $QUERY, which allows you to do what you are asking for)
go to post Fabian Haupt · Jul 14, 2017 Yes. Have a look at the documentation as well: http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=... And if you need more advanced features: https://community.intersystems.com/post/advanced-url-mapping-rest Best, Fabian
go to post Fabian Haupt · Jul 10, 2017 Wouldn't it be easier and more direct to have your react app talk to a REST API created in Cache? I wonder how the performance compares between having to go through server side nodejs instead of going through a REST API directly? Do you have any experience comparing the two?
go to post Fabian Haupt · Jul 5, 2017 While you are right that all the code is always going to be there in server/explorer view, the 'Project Explorer' view only shows the classes that have been added to the project?
go to post Fabian Haupt · Jun 21, 2017 No. Unfortunately that's not something that's implemented. You'll have to extend the toolbar and implement that on your own. -Fab
go to post Fabian Haupt · Jun 15, 2017 I still don't get the benefit of exposing terminal functionality through a webpage. Maybe I'm getting old, but all I can see are security nightmares with this ;) What can one do with the web terminal that one can't do with a ssh session to the server?
go to post Fabian Haupt · Jun 13, 2017 Why do you need to change that? Semantically identical xml should not make a difference anywhere?
go to post Fabian Haupt · Jun 12, 2017 Hi: You are missing the CSP shell. SAMPLES>d $SYSTEM.CSP.Shell() CSP Shell Command shell for debugging CSP pages. It looks and acts like a Cache programmer prompt, but you can use the GET or HEAD command to fetch a CSP page. You can set breakpoints, step into the code etc. You may pass query parameters to the page as well, eg.:CSP>>> GET /csp/samples/request.csp?A=1&B=2 The output you see is what would be sent to the browser, including any HTTP headers. You can also interact with the session, request and response objects via the special variables %session, %request and %response. CSP:SAMPLES>>> get /csp/samples/menu.csp HTTP/1.1 200 OK Content-Type: text/html; charset=utf-8 Set-Cookie: CSPSESSIONID-UP-csp-samples-=41056 41056; path=/csp/samples/; httpOnly; Cache-Control: no-cache Date: Mon, 12 Jun 2017 12:34:00 GMT Expires: Thu, 29 Oct 1998 17:04:19 GMT Pragma: no-cache <!-- Copyright (c) 2001 InterSystems Inc. ALL RIGHTS RESERVED. --> [....] This can then be used with the command line debugger (zbreak/break) to step through your csp/rest code. Another useful set of toosl: syntax coloring for isclog/csplog for sublime text: https://github.com/seanklingensmith/LogColors
go to post Fabian Haupt · May 31, 2017 Since you can emulate any type of request with JMeter, yes. It is 'compatible'. For anything other than standard http/soap/rest requests you might have to write your own request module, but other than that you can use it out of the box. -Fab