Hi, Robert!
Thanks for contributing the answer.
I like that approach as well! Was looking if there is something better).
P.S. I think "UTF8" is not mandatory, cause it is always UTF8 if you consider exporting a Global to XML.
- Log in to post comments
Hi, Robert!
Thanks for contributing the answer.
I like that approach as well! Was looking if there is something better).
P.S. I think "UTF8" is not mandatory, cause it is always UTF8 if you consider exporting a Global to XML.
Thank you, Eduard!
But how do you manage it (the global) in CVS?
And what is the Installer script in case of a global?
Thanks, Peter!
Guys, may I ask you to put a cacheobjectscript-udl topic on your repos and to increase the number? We have a race to reach 100 repos with UDL to make Github introduce COS highlighting support. See the discussion. You can help )
So!
The repos are presented and the winners of AdventOfCode2017 in Caché ObjectScript are:
1st place: Bert Sarens! Repository.
2nd place: Peter Steiwer! Repository.
3rd place: Dmitry Maslennikov. Repository.
Congratulations Bert!
You get 10,000 Global Masters points and the title of the AdventOfCode champion in Caché ObjectScript at least until December 2018!
Peter and Dmitry! You get 5,000 and 3,000 points respectively.
The announcement and prizes would follow in Global Masters tomorrow as well!
All participants! Thank you for your attention to the contest and the efforts you pay in this exciting coding marathon!
I bet you had a lot of fun as we did!
Congratulations!
How to call a classmethod?
If you are inside the class Circle call it with:
do ..Radius()
If you call this method from another class use:
do ##class(Circle).Radius()
But there are cases when you do not know either name of a class or name of a method on runtime. So $classmethod is your friend here:
do $classmethod("Circle","Radius")HTH
Here is mine: https://github.com/evshvarov/Advent
Hey, guys! Congratulations! I think we are ready to announce a winner of our home COS championship ;)
Guys, please share your GitHub or any other public repos with COS in UDL inside?
Maybe the comments are not in UTF in the original cls? Can you check it with any editor (e.g. VS Code or Notepad++).
And, you have 2016.2.+ - so you can use Atelier ;) Try with Atelier? )
And to start it: for me the most helpful article this year was REST FORMS Queries - yes, I'm using REST FORMS a lot, thanks [@Eduard Lebedyuk]!
Another is Search InterSystems documentation using iKnow and iFind technologies
Two helpful questions were mine (of course ;):
How to find duplicates in a large text field
and Storage Schema in VCS: to Store Or Not to Store?
and How to get the measure for the last day in a month in DeepSee
Wow, congrats!
Hi, p rd!
Would you please describe how do you import UDL file in Studio? Drag-n-drop? Import dialog? Or via $System.OBJ.Loaddir?
Also, would you please provide the result of $zv in terminal (the full version code).
Hi, Bert!
Thanks for the suggestion.
What do you say if we manage to show new comments (with color or/and sign) appeared since the last visit?
Great, Peter! Let's make top-50! ;)
And the webinar recording is available on the InterSystems Developers YouTube Channel as well!
Hi, Josnei!
You are invited!
Hi, Fab!
We thought about that. I think the working procedure, in this case, is to kindly ask the maintainer of the original repo to push changes to the DC repo as well. And provide an access to him for the forked repo of course.
Would it work? What do you think?
It's really good idea, but no)
The reason is that it's not InterSystems technology behind this community pages - it's Drupal and PHP.
Bert, if you find something which works very slow please feel free to add in Feedback group, I would appreciate!
But the analytics are in InterSystems DeepSee and that would be exposed to the public soon!
So you would be able to install DC Analytics on your laptop/server and contribute to it.
Fixed it, thanks, Robert!
Hi, Souiane!
But, I think HSADUIT is RO by purpose. Do you really need that?
If you want to do something with it, I would map it in another namespace and merge/examine needed parts.
Thanks, Sean!
I have updated Cogs which makes 37 UDL repo's and counting.
Great! Maybe it makes sense to mark our Advent repos with UDL as well.
See also the related post on different GitHub topics on InterSystems.
Thanks, Sean, for raising the topic.
Actually, they are not all in UDL form of source code. We do want the highlighting of UDL not XML, right?
So I introduced cacheobjectscript-udl tag which lists the repos with COS in UDL.
Please, mark your repos with this topic and we can show up it to github.
As soon as the number of points for the task depends on the time passed after task availability it’s relatively save to share it once you solved it.
So it’s OK to show up the repo after the marathon ends but of course I would only appreciate to see the discussions around nice solutions in COS.
Hi, Bert!
You are right! The winner should show the public repository with solutions in Caché ObjectScript to be recognized as a winner.
But I think it’s OK to share solutions even now. I would only appreciate it.
I can add that Caché Evaluation version is pretty limited in functionality vs fully functional release.
To get the full experience of InterSystems Caché try online learning courses with "Interactive course" and "Caché" filters on (see the highlighted checkboxes on a screenshot).

With this courses you would have your personal cloud sandbox where you can learn and try different InterSystems Caché features.
And, to join Global Masters just use your WRC creds on the login page, or leave a comment to this post, that you are participating in the contest, we would send you a special invite code.
We decided to promote and support the contest, and launched a challenge on Global Masters:
We would track the private leaderboard with code: 130669-ab1f69bf. Join this private leaderboard, solve tasks with Caché ObjectScript be the leader in the end and get the endless fame plus 10,000 GM points!
2nd and 3rd places would get 5,000 and 3,000 points too.
Yes, there is some handicap for current members:

But we wouldn't change anything: we believe you have enough time and talent to beat them!
Let's have fun and let the COS power be with you! ;)
Or just use node.js vs REST.