go to post Dmitry Maslennikov · Jan 10, 2020 Embedded SQL queries, with variables, and INTO. When I would like to see query plan, I have to first clean it and replace with `?`. Would be good, to be able to get query plans for such cases, a bit more easier.
go to post Dmitry Maslennikov · Jan 10, 2020 Something like this, you can have many serverN folders, with own settings.json there, configured for any server. { "folders": [ { "name": "root", "path": ".", }, { "name": "server1", "path": "server1", }, { "uri": "isfs://server1", "name": "server1", }, { "uri": "isfs://server1?ns=%25SYS", "name": "server1 sys", }, { "name": "server2", "path": "server2", }, { "uri": "isfs://server2", "name": "server2", }, { "uri": "isfs://server2?ns=%25SYS", "name": "server2 sys", }, { "name": "server3", "path": "server3", }, { "uri": "isfs://server3", "name": "server3", }, { "uri": "isfs://server3?ns=%25SYS", "name": "server3 sys", } ], "settings": { "objectscript.serverSideEditing": true } }
go to post Dmitry Maslennikov · Jan 9, 2020 Could you explain a bit, how would you like to see work with CSP files? For me, when you working with own local instance, you can just open csp folder in VSCode, and edit as a usual file, InterSystems will compile it automatically with the next request. I think it would be possible to add CSP editor only as part of Server-side editing feature. Server-side search, not yet available, because, search engine not yet publicly released. I've already implemented server-side search when server-side editing enabled, and you can test it with the latest beta version of vscode-objectscript, and only with Code-Insiders version, and with flag --enable-proposed-api daimor.vscode-objectscript Could you add your expectations from debugging feature, as an issue here?
go to post Dmitry Maslennikov · Jan 9, 2020 Only one server connection. At the moment it is possible to have multiple folders configured for each own server, and tied up with .code-workspace file. I see you already use server-side editing, so, you can just extend your file. And the link for the info, how to configure it. Curiously, what do you expect from XData? Could you fill the issue, so, for any other ideas as well?
go to post Dmitry Maslennikov · Jan 9, 2020 When your team uses Studio with source hooks, it's even easier to move to VSCode. VSCode supports source control class hooks, and even some types of actions from menu. You can the latest beta release, to get more features. VSCode can also be used to edit files directly on a server, almost the same way as Studio. Just at the moment it does not check any changes on the server, and uses your opened files as a source of truth.
go to post Dmitry Maslennikov · Jan 8, 2020 Scott, could you give some more details about your experience with VSCode, privately directly to me or publicly here? What do you expect, and what would help you decide to use VSCode instead of Studio?
go to post Dmitry Maslennikov · Dec 28, 2019 His LinkedIn and Twitter, but I don't see any relations of him with InterSystems technologies. So, I think he just googled how to join our leaderboard.
go to post Dmitry Maslennikov · Dec 26, 2019 The best solution would be to use docker-compose.yml version: '3.7' services: service1: .... service2: ... And each service in such configuration will be able to contact any other service by his name.
go to post Dmitry Maslennikov · Dec 17, 2019 crossType and crossSteps I get from $lb stored in grid which I read with $Data with variable crossInfo. So, I use the trick with the second argument in $Data, where variable gets value if data exists. And another trick with the left $listbuild as you noticed. Which just extracts values from right's side $listbuild to variables in the left's side $listbuild. The documentation actually has information about it. Good luck. ))
go to post Dmitry Maslennikov · Dec 11, 2019 How is it related to Cache? Your files currently stored as data in Cache database or stored as files on your Linux server? How are you going to use your files stored in SharePoint when you will move it?
go to post Dmitry Maslennikov · Dec 11, 2019 I'm not sure that it is collect any such logs. But I think you can ask author @Nikita Savchenko to implement it.
go to post Dmitry Maslennikov · Dec 5, 2019 The very recent version of IRIS available only as a Docker image, at the moment version 2019.4. The version available for any other platform on the download page is just 2019.1. Look how SMP looks side by side in 2019.1 and 2019.4
go to post Dmitry Maslennikov · Dec 5, 2019 Looks like rescheduling running task does not work. But it is possible to create a new one, which runs once. Class User.Test Extends %SYS.Task.Definition { Parameter TaskName = "SomeTask"; Method OnTask() As %Status { Set task = ##class(%SYS.Task).%New() Set task.Name = "Test task" Set task.NameSpace = $Namespace Set task.TaskClass = ..%ClassName(1) Set task.TimePeriod = 5 // RunOnce Set task.RescheduleOnStart = 0 Set tSC = task.%Save() If $$$ISERR(tSC) { Quit tSC } Set nextDate = +$Horolog + $Random(10) + 1 Set nextTime = $ZTimeh("10:00") Quit ##class(%SYS.Task).RunOnce(task.%Id(), nextDate, nextTime) } }
go to post Dmitry Maslennikov · Dec 5, 2019 This is actually nothing related to InterSystems at all. You can do something like in this article. Just catch the file on the client-side in Browser, and send this file to the server, where you can save it as would do it for any usual file
go to post Dmitry Maslennikov · Dec 5, 2019 Task scheduler quite flexible Monthly simple Or more advanced way Do you have another algorithm, which can't be covered by this? If so, you can write a task, which will re-schedule itself when launched.
go to post Dmitry Maslennikov · Dec 4, 2019 I've recorded how I solved Day 4 with IRIS and VSCode-ObjectScript https://www.youtube.com/embed/3KtJY_ts5Ho[This is an embedded link, but you cannot view embedded content directly on the site because you have declined the cookies necessary to access it. To view embedded content, you would need to accept all cookies in your Cookies Settings]
go to post Dmitry Maslennikov · Dec 3, 2019 I think, the best way would be to have REST entrypoint, which would redirect also work with WebSockets, while REST api can handle any Authentication issues. As an example, you can look at %API.Atelier.v1 class and method RunDebugger, which redirects control WebSocket.