Announcement Dmitry Maslennikov · Sep 9, 2019 VSCode ObjectScript release 0.7.13 Hi all, it's finally time for the next release of VSCode ObjectScript extension. So what's new in this release.Debugging support, for classes, routines and attach to a running processFiles in Server Explorer now can be editedAdded more details about connection errorsImprovements in Server Explorer build treeFixed memory leak when exporting large amount of filesServer view can be opened in explorer as virtual file system with schema `isfs://`Option to suppress popup information message about successful compile, ("objectscript.suppressCompileMessages": true)Export, addCategory setting have more flexibility in naming category for exported itemsFormatting for commands and functions, as Word, UPPER or lowerSome improvements in syntax highlightingSome other small fixes #CaretDev #Development Environment #ObjectScript #VSCode #Other Open Exchange app 10 16 3 1.8K
Article Dmitry Maslennikov · Jul 13, 2019 6m read Dealing with a disk space in Docker I wanted to write it as a comment to article of @Evgeny Shvarov . But it happens to be so long, so, decided to post it separately. I would like to add a bit of clarification about how docker uses disk space and how to clean it. I use macOS, so, everything below, is mostly for macOS, but docker commands suit any platform. #Best Practices #CaretDev #Cloud #Containerization #Docker #System Administration #Caché #InterSystems IRIS 6 6 3 7.2K
Announcement Dmitry Maslennikov · Jun 10, 2019 VSCode-ObjectScript release 0.7.11 Hi all, I have released the latest version of VSCode extension for ObjectScript already a month ago, and finally a time for the info about this new release. So, what's new in the release: What's new in this version added export setting "objectscript.export.addCategory" if enabled uses the previous behaviour, adds category folder to export folder, disabled by default added Server actions menu, by clicking on server info from status bar. Open Management portal, Class Reference and toggle connection. Class Suggestion in ##class, Extends, As, CompileAfter, DependsOn, PropertyClass $SYSTEM suggestion by Classes from %SYSTEM Import and compile folder or file by context menu in File Explorer Server Explorer, now possible to open any other namespace Macros suggestion For details how it works now, look further. #CaretDev #Development Environment #ObjectScript #VSCode #InterSystems IRIS #Other Open Exchange app 9 14 5 1K
Article Dmitry Maslennikov · Jun 10, 2019 2m read GitHub now supports ObjectScript Hey developers, I have great news for you. A few days ago, GitHub was updated with the latest version of linguist project, which is being used to recognize source code types in repositories. It helps to determine which programming language had been used in every file of the repository. Repository statistics section shows the results of this module work. Also, you can search across all available GitHub repositories for any chosen language. #Development Environment #GitHub #Languages #ObjectScript #Other 6 3 1 841
Article Dmitry Maslennikov · Jun 4, 2019 1m read Favourite editor for programming There are many projects which work on InterSystems products, and they are not always written only in ObjectScript. I think some of you working with different programming languages and already have some experience with other editors, and hope you already have a favourite online editor. My current choice is VSCode, whereas you may already know I have added an extension to support ObjectScript. #Development Environment #Other 1 8 0 837
Announcement Dmitry Maslennikov · May 31, 2019 VSCode Extension for ObjectScript 1000 installs My extension has recently reached first 1000 installations. And thank you all of you, who use it and fill issues and even contribute to the project. #CaretDev #Development Environment #Other Open Exchange app 9 4 2 496
Question Dmitry Maslennikov · May 6, 2019 Cross Caché/IRIS development Well, we now have two different platforms Caché and IRIS. With so many changes, that it makes so many difficulties to have the same sources for both platforms. I'm not arguing about the reasons for it. Some of the changes are really reasonable.It's good when I can import code from Caché to IRIS and get it worked after all background job was done. In Caché we have %CacheStorage type used for Storages. In IRIS it automatically converts to %Storage.Persistent. So, If I develop on IRIS, I will have incompatible sources for Caché. #Development Environment #ObjectScript #InterSystems IRIS 0 6 0 601
Article Dmitry Maslennikov · Mar 20, 2019 3m read Behind the scene of isc-tar project and story about Continuous Integration using GitHub Actions This is a continuation of my story about the development of my project isc-tar started in the first part. Just having tests is not enough, it does not mean that you will run tests after all changes. Running tests should be automated, and when you cover all your functionality with tests, everything should work well after any change in any place. And Continuous Integration (CI) helps to keep the code and deployment procedure with as fewer bugs as possible and automates the routine procedures, like publishing releases. I use GitHub to store the source code. And some time ago GitHub started to work on its own CI/CD platform and named it GitHub Actions. It is not widely available, yet. You have to be signed as a beta tester for this feature, as I did. GitHub Actions uses quite a different way how to deal with a build workflow. What is important that Github Actions allows to use Docker, and it’s quite easy to customize available actions. And interesting that GitHub Actions is really much bigger than any classic CI like we have in Travis, Circle or Gitlab CI and so on. You can find more in the official documentation. #Containerization #Continuous Integration #Development Environment #DevOps #Docker #GitHub #InterSystems IRIS 3 0 1 764
Article Dmitry Maslennikov · Mar 18, 2019 4m read Behind the scene of isc-tar project I am just recently announced my project isc-tar. But sometimes it is not less interesting what’s behind the scene: how it was built, how it works and what happens around the project. Here is the story:How to develop this projectHow to test itHow to release new versions for publishingAnd finally how to automate all aboveContinuous integrationSo, I would like to tell all about it. #Development Environment #DevOps #Docker #VSCode #InterSystems IRIS 2 0 2 645
Article Dmitry Maslennikov · Mar 15, 2019 2m read Tar compress tool in ObjectScript I'm sure most of you have already familiar with the possibility of using GZIP in InterSystems products. But, the problem is that GZIP working only with one file or stream, and it does not support folders. When you work in Unix systems, there is a possibility how to solve it, using tar compress tool which goes with every Linux system from out of the box. But what to do if you have work on Windows as well, which does not have it. I am pleased to offer you my new project isc-tar, which will help you do not care about operating system, and deal with tar files anywhere. #Development Environment #Tips & Tricks #Tools #InterSystems IRIS #Open Exchange Open Exchange app 6 1 4 964
Question Dmitry Maslennikov · Mar 6, 2019 Increment value in property with SQL Let's imagine you have only SQL. You need some table where you should increment value in some property when you update this line. We have the table CREATE TABLE "test" ( "identifier" VARCHAR(200) NOT NULL, "value" INTEGER, PRIMARY KEY ("identifier") ) #SQL #Caché 1 6 0 813
Announcement Dmitry Maslennikov · Mar 4, 2019 CachéQuality for VSCode now available Hope most of you already familiar with project CachéQuality from @Daniel Tamajon. For those who don’t know about it, it is a static syntax analyzer for your code written for InterSystems products. It may help you to find and solve many different types of issues in your code, and even possible bugs before clients will find it in production. So, with help of CachéQuality you will be able to deliver a better product. You can find the complete list of rules used to check ObjectScript code here. It was already available in Studio. And now it is also available in VSCode. #Development Environment #ObjectScript #VSCode #Open Exchange 5 41 1 2.3K
Announcement Dmitry Maslennikov · Feb 17, 2019 VSCode-ObjectScript next release 0.7.9 I'm pleased to announce the latest version of extensions for ObjectScript. Just a month has gone since my latest update, and I already have something new to show. Important. In this version connection to the server will be disabled by default. You have to activate connection through the settings:"objectscript.conn.active" = true. #Development Environment #ObjectScript #VSCode #Open Exchange Open Exchange app 5 12 1 1.1K
Announcement Dmitry Maslennikov · Jan 14, 2019 VSCode extension for InterSystems ObjectScript update I'm pleased to announce the latest version of the renewed for ObjectScript, which is now available with a lot of new features. This new extension is a fork of previously developed extension in different repository originally started by @Oleg Dmitrovich. #CaretDev #Development Environment #ObjectScript #VSCode #Open Exchange Open Exchange app 28 16 10 3.7K
Announcement Dmitry Maslennikov · Nov 28, 2018 Advent Of Code 2018 Are you ready for the next Advent of Code this year? Just a few days left, the first puzzles will unlock on December 1st at midnight Eastern Time. #Contest #Events #ObjectScript #Other 2 4 0 570
Question Dmitry Maslennikov · Nov 12, 2018 Managing with heavy databases Let's say you have about 100TB of data in multiple CACHE.DAT. The biggest one is about 30TB but mostly more than 1TB. You have limited time for maintenance during a day, and it is only a few hours at night. You have to check Integrity as much often as possible. And of course backup it.How would you do it? #Backup #Databases #System Administration #Caché 0 2 0 509
Article Dmitry Maslennikov · Nov 5, 2018 13m read Abnormal programming with InterSystems I bet that not everyone familiar with InterSystems Caché knows about Studio extensions for working with the source code. You can actually use the Studio to create your own type of source code, compile it into interpretable (INT) and object code, and sometimes even add code completion support. That is, theoretically, you can make the Studio support any programming language that will be executed by the DBMS just as well as Caché ObjectScript. In this article, I will give you a simple example of writing programs in Caché Studio using a language that resembles JavaScript. If you are interested, please read along. #Caché #Studio #InterSystems IRIS 12 6 6 1.3K
Announcement Dmitry Maslennikov · Sep 24, 2018 CacheBlocksExplorer now available in Docker I have already mentioned my project CacheBlocksExplorer recently in two articles #Containerization #Databases #Docker #System Administration #Caché 3 0 1 364
Article Dmitry Maslennikov · Sep 4, 2018 1m read Global Summit 2018: Unconference topics to discuss Global Summit will happen too soon, and I'm going to be there, as many of you I hope. You should register if still did not do it. #Events #Global Summit 2018 #Summit 2 5 0 548
Article Dmitry Maslennikov · Sep 4, 2018 1m read GlobalSummit 2018 share your experience with Docker GlobalSummit too close now, so many people going to be there from so many companies. I'm sure that somebody already uses Docker or even Kubernetes in their work, I do. And would like to share my experience and thoughts about what could be better. And want to hear other people about their experience, how you use Docker, what issues have you faced and how did you solve it. I think InterSystems will help us to find time and place when we could do it, and hope @Luca Ravazzolo will join us. #Docker #Global Summit 2018 #Summit 0 3 0 378