« first day (1326 days earlier)      last day (1318 days later) » 

12:29 AM
I think that Code Suisse competition is only available to HK and Singapore students, indicated by credit-suisse.com/careers/en/career-opportunities/…
 
 
5 hours later…
5:58 AM
Been trying to solve this one: codegolf.stackexchange.com/questions/47562/…
but I'm not sure what's wrong with my current answer: tio.run/##SyzI0U2pTMzJT9dNrShJzUtJTfn/qG@qp/@jtgkG/…
is it a problem with bigger integers?
@dzaima I think there was an SOGL answer in there already
 
6:15 AM
@Razetime Why not ⊥⍣¯1 instead of ? TIO
not sure why it doesn't work in extended
 
6:32 AM
I don't know what ⊥⍣¯1 does
@JoKing oh it's an extended thing
should report that to @Adám
thanks a lot
 
@Razetime ⊥⍣¯1 is the inverse of decode, which is basically decode with the left side until zero
 
huh, maybe my method was just wrong then
 
I think that reshaping to size ⍺+1 was not enough
 
yes, looks like my encoding wasnt right
even golfed off a byte(!)
@JoKing btw, the github link on your profile is broken
 
Oh yeah, i changed it. Thanks for telling me
 
7:31 AM
I'm back with another problem yay
I need to get a way to display big numbers without them getting turned into E notation
19999999999999999999999 gets changed to 2e22
 
For comparison's sake, in NARS2000 if you enter 19999999999999999999999x (note that "x" postfix), the expression evaluates to bigint and the output would be 19999999999999999999999. But I was told Dyalog hasn't this facility yet.
Might be setting some system variable would work?
 
yep there was one thing that Adám told me but umm it's lost in chat history
 
See if this help
 
@jimfan Got it, (⎕FR⎕PP)←1287 34
 
Yeah similar to what's mentioned in the stackoverflow thread
 
7:42 AM
10⊥⍣¯1 can be ⍎¨⍕
 
@Razetime That makes me wonder what exactly ⎕FR and ⎕PP stand for. Reading doc of Dyalog and NARS2000 now
 
I know PP is Print Precision
 
@JoKing Yes but I just feel that I don't know what does the expression "print precision" stand for. In NARS2000 doc, it is explained as "N significant digits after the decimal point are shown". But @Razetime 's problem there is no decimal point at all.
That makes me wonder
 
probably theres some ] command to do it
 
7:57 AM
Okay the description in "Mastering APL Dyalog" book is much more accurate: But if the numbers are very large (or very small), and would require more digits to be shown
than the maximum (defined by ⎕PP , Print Precision) APL displays them with a "normalised"
mantissa with only one integer digit, followed by the appropriate exponent
In Dyalog my default ⎕PP is 10. Evaluating 1234567890 gives 1234567890. But evaluating 12345678901 gives 1.23456789E10 because 12345678901 is 11-digit. So in Dyalog ⎕PP affects display of integers too.
Much better now.
@Razetime That's why setting ⎕PP to 34 works for your case
 
8:44 AM
interesting
 
 
4 hours later…
ngn
12:37 PM
@ngn 57: {' /_\'[4|⌽0@0a@(2×~a←2|⍵)⌽0@0 1@0⊃,/{-⌽⍵}\1⍵/⊂2⍪∘.+⍨⍳2]}
 
ngn
1:19 PM
48: ↑⍕¨⌽⊢∘⊂\⌽'_' '/\ ' '/__\'⍴⍨¨1 2/0 1++\4 3×0 2⊤⎕ different approach, more like razetime&dzaima's original
 
ngn
1:45 PM
45: ↑2((⊂'_'/⍨¯2,×-|+|),' /\ ' '/__\'⍴⍨¨2 1+×+|)⊢ train
 
At this point you should post the answer lmao
 
fwiw here's my progression
 
ngn
2:02 PM
@Razetime i don't wanna have to explain it :)
yes! 44: ¯2⌽@0+⍨(↑'_' ' /\ ' '/__\'⍴⍨¨(--⊢),2 1++)2∘|
 
2:25 PM
i mean, you don't need to explain it, right?
 
ngn
@Razetime technically no
 
@ngn golfer's honour?
 
 
1 hour later…
3:31 PM
<kritixilithos> news.ycombinator.com/item?id=24434717 "April, an APL Compiler for Common Lisp" with comments from the author
 
 
3 hours later…
6:35 PM
@dzaima -2
 
 
2 hours later…
8:08 PM
<phantomics> You can also drop your comments here if you want to hear from the author
 
 
1 hour later…
9:27 PM
<moon-child> phantomics: any thoughts on simd support?
 

« first day (1326 days earlier)      last day (1318 days later) »