go to post Dmitry Maslennikov · Aug 10, 2020 what do you mean by integrating with IS? Is it just Integrating with application working on IS? Years ago, I've implemented some of the video services into our application. So, I have some experience. But this time it could be even less complex, or completely different. And anyway depends on how exactly you would like to see it. I can help you with it, please contact me directly dmitry@caretdev.com, I co-founder of a company, where we can help you to implement this or anything else.
go to post Dmitry Maslennikov · Aug 10, 2020 0.8.8 now when you save your code locally changed on the server, should warn you about it, and should offer to review, just load from the server or overwrite changes on server. There is no full synchronization, yet at the moment. Could you fill the issue, if you would need exactly this feature? And explain how would you like to see it? If you don't care about your local changes, and want to get the latest server's version of code, just export needed from Explorer view, or export everything by the command `Export sources` from command palette. You have to have correct `objectscript.export` settings, so, your exported sources will overwrite your local files correctly.
go to post Dmitry Maslennikov · Aug 2, 2020 Vitaly did not explain this magic number, I'll do. An important thing to now about Base64 is that any thee bytes of data encoded to four bytes. So, if you need encode data you have to read in length devisable by 3 (5700/3=1900), and when you decode data, read divisible by four. But decoded data may contain line endings, which should be omitted and not counted. So, you can use 24573 if you'd need to encode, and 32764 to decode data. 24573 appears as 32764/4*3. 24573 bytes becomes 32764 after encoding, so, it will not be more than the default string limit if no long string activated.
go to post Dmitry Maslennikov · Aug 2, 2020 Muni, First of all, you have to copy all of your journals, you currently have, so, they will not be purged by schedule. Next, it depends, on how that data was deleted. If it happened in the transaction, so, you are lucky. It will be possible to restore that data, if not, again depends on how it was killed. Just Kill ^Global, outside of the transaction, just kills it, with no useful information for restore. I think you can actually do what you with ^ZJRNFILT. But I prefer direct access to journals through their API, in %SYS.Journal classes.
go to post Dmitry Maslennikov · Jul 27, 2020 I don't see the value for port, could you set it as well, and check again? For the next time, the best place to post about issues you faced is issues page right in the repository
go to post Dmitry Maslennikov · Jul 24, 2020 Looks like you solving the issue wrong way. If you have multiple servers that can listen for connections, and allowed to do so, and you just need one external address that would use any of them for the clients. I would recommend using HAProxy, it's a load balancer tool, which may work for HTTP, and for plain TCP as well. In this case, clients will use HAProxy's address and port, and it will establish a connection to one of the backends. It may check if the backend is available, use backup backends if all primary backends died, and many other features. I'm using this in one of the projects for years, for HTTP with thousands of concurrent users, and 10 backends.
go to post Dmitry Maslennikov · Jul 16, 2020 The error says almost everything, you have a permission issue. While you have Windows, it's kind of a common issue. You have to check permission flags. But, I would not recommend using Durable %SYS at all. I suppose you use it in development right now, so, no reasons to use Durable %SYS. Ready for development image should be prepared with Dockerfile.
go to post Dmitry Maslennikov · Jul 11, 2020 Instead of Atelier, I would recommend looking at VSCode with an extension for InterSystems. This extension in active development, while Atelier not. Look at these videos, how to install and use VSCode. Introduction to VSCode-ObjectScript Webinar ObjectScript with Visual Studio Code
go to post Dmitry Maslennikov · Jul 11, 2020 This is explorer view, supposed to be only to view the source of code on the server and read-only. There are two ways Preferable, store any code locally, and when you save it, it will upload to server and compile it there. If you already have some of your code on server, you can export it from the explorer view. Use virtual filesystem named isfs, in this case, all of your code stored only on server. Documentation You can find some useful videos on youtube on Developer Community channel, for instance ObjectScript with Visual Studio Code Introduction to VSCode-ObjectScript Webinar
go to post Dmitry Maslennikov · Jul 7, 2020 In addition to already mentioned options, System will help to organize compilation order. You can prioritize some kind of system classes, which by any case have to be compiled first. By using System, DependsOn, or CompileAfter, you can correctly organize your compilation order, CompileAll should work correctly with flags `ck-u`.
go to post Dmitry Maslennikov · Jul 7, 2020 In OS X, X is just a version 10, which in fact already replacing by 11 this year (after many years), and it's not just OS X, it's macOS. And anyway, I would not recommend macOS for a production server, it's only suitable and supported for development. Supported Server Platforms
go to post Dmitry Maslennikov · Jul 2, 2020 As Kai, already mentioned, this icon, will appear only if you have any folder opened. Such a folder is a kind of project in VSCode. And, while Server Explorer view, which can be opened available by this icon, is supposed to be as just a server explorer, without editing. So, there are no reasons to make it available until any project will be opened.
go to post Dmitry Maslennikov · Jun 21, 2020 First of all, you have to open this .code-workspace file with VSCode, it should offer to do it if you did not. Next, path is relevant to .code-workspace file location, and should contain own .vscode/settings.json. If all conditions are met, but behaviour not expected, please fill the issue, with examples, and screenshots, I'll try to reproduce and find the solution.
go to post Dmitry Maslennikov · Jun 21, 2020 Not sure if it should work there, the minimal version of Caché is 2016.2
go to post Dmitry Maslennikov · Jun 20, 2020 That’s very good to hear. As for the latest question, work in progress, and update should be available soon
go to post Dmitry Maslennikov · Jun 18, 2020 Look at the project mentioned earlier. This part { "folders": [ { "name": "main", "path": "." }, { "name": "part1", "path": "part1" },{ "name": "part2", "path": "part2" } ] } Mentions three folders, where part1 and part2 supposed to be used to connect to two different servers. And each folder, have own .vscode/settings.json, which contains own settings to the server.
go to post Dmitry Maslennikov · Jun 18, 2020 You can reach me directly if you would need some help with VSCode, I can help with the migration process for sure, as well. It will be more productive than looking at the Atelier way.
go to post Dmitry Maslennikov · Jun 17, 2020 Is there any reasons to install Atelier which will not be updated anymore? Why do not use VSCode with extension VSCode-ObjectScript. At the moment, this is only modern and in active development editor for InterSystems products. You can download the latest file (*.vsix) with this extension here, and install in VSCode by command Install from vsix