Robert Cemper 路 Dec 11, 2023 go to post

Ah, some improvements.
I personally always used UTC since the introduction of ENSEMBLE  (ages back)  

Robert Cemper 路 Dec 11, 2023 go to post

Your time zone is taken from your settings in the underlying operating system

$ZTZ shows the offset from UTC. You can set it to whatever you need.
but ATTENTION  this affects $H for the whole IRIS instance !!!
take a serious look into documentation on mostly not wanted the side effects

Robert Cemper 路 Dec 5, 2023 go to post

Similar to previous years I will provide the results of our private leaderboard 

  • It will sort by published ranking but separate DC members from "guests"
  • The matching of DC members is a manual task 
  • if I missed you pls. let me know your identity in AoC by DC mail  to add your DC flag
  • updates will always happen in this reply
    •  
  • DCrank  AOCrank Scores  Stars   ok%     ----- Code Parts OK -----       Name
    0       ---     ----    ----    ---     ----*----*----*----*----*       --- DC Members ---
    1       1       6825    50      100     3333333333333333333333333       Kevin An
    2       2       6812    50      100     3333333333333333333333333       maxymczech
    3       3       6697    50      100     3333333333333333333333333       Yuval Golan
    4       12      4868    39      0       -------------------------       Jaume Ferre
    5       13      4646    36      74      3333333331313333--111311-       Oliver Wilms
    6       14      4305    35      68      3333333333313133--111--1-       Ivo ver eecke
    7       15      4138    34      0       -------------------------       Oskari Kosonen
    8       17      3054    24      0       -------------------------       Keith Avery
    9       29      1368    12      0       -------------------------       Dieter PAUL
    10      30      1046    9       0       -------------------------       TylerFeldhege
    11      36      415     4       0       -------------------------       Chris Marais
    12      38      302     3       0       -------------------------       Daniel Aguilar
    13      39      259     2       0       -------------------------       Muhammad Umar Waseem
    14      40      114     1       0       -------------------------       rhodery
    15      10      5504    44      0       -------------------------       isc-Junhee Lee
    16      19      2326    19      0       -------------------------       isc-Chris Stewart
    17      23      1820    15      0       -------------------------       isc-Rebecca Agustin
    18      27      1541    12      0       -------------------------       isc-Ajinkya Sonawane
    19      37      333     3       0       -------------------------       isc-bquirk
    20      41      104     1       0       -------------------------       isc-Arwa A.
    21      42      100     1       0       -------------------------       isc-Raj Singh
       
    22      ---     ----    ----    ---     -------------------------       --- unknow in DC ---
    23      6       6476    50      100     3333333333333333333333333       Test Set1
    24      7       6353    50      100     3333333333333333333333333       Test Set2
    25      4       6604    50      0       -------------------------       Joaquin Derrac Rus
    26      5       6573    50      0       -------------------------       Dominik Znidar
    27      9       6062    50      0       -------------------------       Dang Quang Vi
    28      8       6184    48      0       -------------------------       Jarjar 314
    29      11      5139    42      0       -------------------------       Sloan Kanaski
    30      16      3163    27      0       -------------------------       (anonymous user #3860190)
    31      9       2491    21      0       -------------------------       Paul Langelaan
    32      18      2353    19      0       -------------------------       Jesper Olsson
    33      20      2145    18      0       -------------------------       Luke Schuurman
    34      22      1947    17      0       -------------------------       Michael Cheng
    35      21      2091    16      0       -------------------------       Gary Nguyen
    36      24      1719    16      0       -------------------------       SubstantialProduct27
    37      25      1661    14      0       -------------------------       hazamashoken
    38      26      1619    13      0       -------------------------       nwattana
    39      28      1422    12      0       -------------------------       Nahuel
    40      31      1015    9       0       -------------------------       Geoffrey Lu
    41      32      800     7       0       -------------------------       (anonymous user #214666)
    42      23      697     6       0       -------------------------       j-dolenc
    43      33      669     6       0       -------------------------       Dominique Dordain
    44      34      482     4       0       -------------------------       LFY
    45      35      476     4       0       -------------------------       Robert Trifan 
  • UTC 2023-12-25 18:52:18
  • EST 2023-12-25 13:52:18

Ranking by completion

Robert Cemper 路 Nov 27, 2023 go to post
  • in the Java Contest, we are expected to use Java
  • in the Python Contest, we were expected to use Python
  • in the ObjectScript Contest, we were expected to use COS/ISOS
  • in a Node.js Contest, we would be expected to use Node.js

It was never a question of this could have been done differently
As I understand it, the important point is that IRIS has some role to play

Robert Cemper 路 Nov 24, 2023 go to post

I checked multiple namespaces. All look identical.

everywhere the same picture.
That %Zpy* is stored in IRISSYS.

BTW: the subscript mapping is identic to rMAC in IRIS and also in historic Cach茅. versions

Robert Cemper 路 Nov 22, 2023 go to post

I just learned here that "NAMED PIPE" is significantly different in

  • UNIX/Linux where it is just a kind of file structure and
  • Windows where it offers the duplex feature I was looking for

So my workaround (by accident) turns out to be better for my needs than the Linux FIFO feature
as I'm able also to read partial lines and don't need newlines or similar as separators.

it was kind of Lucky Punch

Robert Cemper 路 Nov 22, 2023 go to post

I also did some experiments using netcat in my container.
Using Ubuntu pipe files works somehow. But it was not convincing.
Ubuntu experts may do it better. 

Robert Cemper 路 Nov 21, 2023 go to post

CPIPE ../WRITE  works here  https://github.com/rcemper/java-global-editor

	set cpipe="|CPIPE|1"
 		,cmd="cd /opt/irisapp/ && java gedi > g.log"
 	open cpipe:(cmd:/WRITE)
 	;; later in loop
 		use 0 read "?:",opt,!
		use cpipe write opt,!
 	;;;

With NPIPE   I just was lost  ,  
OPEN hangs or  has timeout....
no idea ; Could be the Ubuntu side in Docker was wrong.
 

Robert Cemper 路 Nov 11, 2023 go to post

You may take a look at my example.  
You can run ObjectScript as in a terminal and receive a reply.
But it is invoked out of Python. external  or embedded

Robert Cemper 路 Nov 10, 2023 go to post
  • native-api template  was broken since May
  • I have fixed it for the contest with this Pull Request
    • Build for Java is ok
    • CLASSPATH is adjusted to the changed location in IRIS install
  • Python is also available
  • Node.js has some version and resource issues. It is out-commented now
  • .NET is also somehow sick and breaks build. Also out-commented The rest builds and starts ok.
Robert Cemper 路 Nov 10, 2023 go to post

Good point !

None of my machines fit. Ivy Bridge is not on your list.
Would this mean IRIS 2023.* is the last version I can use without major investments in hardware?

Robert Cemper 路 Nov 6, 2023 go to post

the correct syntax

            ccontrol [ run OR console OR cterminal ] <instance name>
                        Runs Cach茅 in programmer mode with
                        [ no-device OR console OR cterminal ] for $Principal

Robert Cemper 路 Nov 2, 2023 go to post

try this dirty hack:

  • create your JSON object using "_"  
    • Property "client._id" As %Integer [ Required ];
    • Property "client_firstName" As  %String [ Required ];
    • Property "client_lastName" As  %String [ Required ];
  • create your JSON_body = { "details":{ ....} }
  • before sending use $TRanslate(JSON_body,"_",".")
Robert Cemper 路 Oct 30, 2023 go to post

the code fails already for start year 1924  <NULL VALUE>
and is in principle wrong   馃檨

Robert Cemper 路 Oct 30, 2023 go to post

From my IBM-360-Assembly programming times in the late 60ties

If your code is running hard,
apply a switch to make it smart

 

Robert Cemper 路 Oct 30, 2023 go to post

instead of strange constructs that are hard to follow,
I would just take the pragmatical way and add a param SUPER=0

Class SubClass Extends MyClass
{
  ClassMethod Foo(SUPER = 0 )
  {
   if SUPER  do ##super() quit
  . . . . . 
      do ##super() // <----
  }
}

The efficiency is evident also to less sophisticated programmers
 

Robert Cemper 路 Oct 29, 2023 go to post

You may place  a PRODLOG at WRC;
And it might be changed in some future release.