I would appreciate!
- Log in to post comments
I would appreciate!
Ron! It's just great! Put the code on Github/Gist?
And would you please make online demo of it? ) I mean slack conference with channel from Ensemble?
%All is quite useful namespace alias. Since it appeared hope nobody keeps creating %Package.Class classes and installs something in %CACHELIB when installs solutions.
With %CELL you should be always aware when you add any dimension, measure or property in MDX if you need to change %CELL expression too due to new columns rows or because of deletions of rows and cols.
Great project! Why some class elements are in Italic case(I.e. Cinema.Film class) and other not?
What's the format for members' mentioning?
So, you can mention member with the post this way: [@Paul Gomez]. Paul, has you got it?
Hi, Scott! Makes sense. We plan to add Subscription feed to show you only the posts on tags, members and groups you most interested in.
And compact index view with header, author, date only is also a good idea.
Thanks.
Nic! Is it possible to share this REST and publish sources on GitHub?
I agree with you. As mentioned it is an option if you need to use %Status as a method result.
And what about e.Log() - do you use it to log errors or use something else?
OK. But how do you call methods which return %Status?
Do you raise Error? Or you check Error status with if? Or do you ignore status at all?
Timothy! Thanks for sharing this!
It' can be a standalone post as "Error and resource handling in large Caché ObjectScript project".
Thank you!
About |latest| approach for docs. What if a new release will not contain certain doc chapter - how latest url would work?
404?
Hi, Nic!
Thank you for your answer!
Would you please put it on Stackoverflow too? http://stackoverflow.com/questions/36400699/how-to-avoid-writing-duplic…
Thank you in advance!
Thank you Kenneth!
But what if you need a part of data? Say the records only from current year or from particular customer?
And what if you need not all the classes, but part of them - what globals should I choose to export?
I believe in this cases we should use SQL to gather data. The question is how to export/import it.
If so, create a new database on instance A and then use GBLOCKCOPY to copy from the existing database to the new one. Then just move the new database to instance B.
That can help sometimes. Thank you. Just move - you mean unmount and download cache.dat file?
Is this a one-time migration of data from instance A to instance B?
My question is a request for general approaches. But my task now is to extract some part of consistent data from the large database to use it as test data in my local database for development purposes.
Thank you, Ed. And I can import the result on Instance B with class .... ?
Bookmarks are another may be rare use case but I meant links to the documentation with "latest" segment in URL f.e. in this article. There are a lot of links to documentation there. What will happen with this links if some parts from documentation will be removed in the next version?
Good article, Eduad. Is this prototype only or you do use it in production somehow?
Maybe you are looking for Caché ObjectScript code beautifier?
Hi, Scott! Thanks for sharing this! Do you want to share it via github too?
We introduced Code Snippet tag. Please use it if your post contains a good snippet, or one of the answers/comments on your post is a valuable code snippet.
I believe Scott is looking for something like ycombinator style.

I think this is really good alternative to Main. Of course it should be switchable.
To highlight the code you also can simply go into post's html source (press source button or "disable rich text") and insert your code between pre and code tags, like it is shown in the shot

Great article, Nikita! What is the general approach in your case to show/save logs of what was installed? Of course, I can open Package.Installer class to see what should have happened during installation, but I think it is good to know what really happened with the target system.
Yes, at least these cases. And what is the general approach with your type of installation to show the user:
What's happened?
Were there any errors during installation?
This is MUMPS-Enigma code)
Mark, thank you, that's useful!
I use also $T command in terminal, which shows the line with bug, like:
USER> w $T(Method+7^Package.Class.1)
This looks much better. What about class reference?