« first day (1350 days earlier)      last day (1305 days later) » 

2:40 AM
I'm on MAc, and Console doesn'tseem to work
 
2:57 AM
hmm, looks like System.Console has moved out of mscorlib and into System.Console.dll in .Net Core
if dzaima can get to System.DateTime then I assume .Net Core ships with Dyalog, so maybe if you can find where that file is then ⎕using←'System.Console,/path/to/System.Console.dll'⋄Beep might work
 
 
7 hours later…
10:24 AM
Is there a better way to get the 2nd column than 2⌷⍤1?
I feel like I'm missing something obvious
 
10:35 AM
@rak1507 a[;2] or 2⌷⍉a
 
Thanks, shaved off two bytes
{{⍵⌿⍨∧/2>↑2⌷⍉⍵}(⍪,⊥⍣¯1∘⍵¨)1↓⍳⍵} codegolf.stackexchange.com/questions/51178/…
any more golfing available?
Ah that doesn't work for 1234321, going to need to come up with something more efficient :/
 
@rak1507 efficient? there's no time or memory limit on the challenge
 
@rak1507 you don't need to worry about tio's limits
 
Well it doesn't work for 1234321 so isn't that an issue?
It doesn't work locally either, crashes
 
      2  1 0 0 1 0 1 1 0 1 0 1 0 1 1 0 0 1 0 0 0 1
   1111  1 0 0
1234320  1 1
1234321  1 0
 
10:47 AM
 
seems fine on my machine
 
Ah it's probably just that my school laptop is a bit shit
Oh yeah it did do it, after not responding for a few minutes
 
@rak1507 :p (in general, for code golf you can assume infinite time and memory, unless specified otherwise)
 
Alright
 
⊥⍣¯1 is ⊤ in extended
 
10:53 AM
@rak1507 depending on the output formats allowed, you could skip creating a matrix, and just process ⊥⍣¯1∘⍵¨t←1↓⍳⍵
 
I don't think you can, because then you have to reverse that, which is a pain right? Not sure
 
{1+⍸{∧/2>⍵(⊥⍣¯1)w}¨1↓⍳w←⍵}
its still worse in points than your current answer
 
Yeah doesn't get the bonus
 
yours is 23.25 and this one's 26
 
{{⍵⌿⍨∧/2>↑2⌷⍉⍵}(⍪,⊤∘⍵¨)1↓⍳⍵} is 21
 
10:58 AM
@rak1507 reverse what? (i have a working 29, outputting this)
 
The above is 28
 
@rak1507 mine still has ⊥⍣¯1; with it's 26 bytes
 
@dzaima 30 after transpose right
 
Ah nice
 
@Razetime well, you'd need to before it, making it 31
 
11:00 AM
I guess that output format is probably allowed, I just wanted to stick with roughly the example output
 
oh ok
 
11:11 AM
@dzaima (that was this)
 
Oh yeah the checksum, forgot about that
 
 
2 hours later…
1:04 PM
codegolf.meta.stackexchange.com/questions/5243/… sorry if I'm being dumb but how do I request a bounty for this?
 
@rak1507 Edit the post.
 
Oh oops I linked the wrong one, I meant your one
 
Well, edit that one instead ;-)
 
It is less clear how to edit it, how do I know what amount to put?
 
@rak1507 Have you explained your code?
 
OK, now I know it isn't your first APL post, and a quick check reveals that you're not a new winner either.
So that's 50×2 (for explanation) =100.
 
Alright I think I get it
 
1:37 PM
codegolf.stackexchange.com/a/211599/95516 would this be 200 because it was my first APL answer?
 
@rak1507 Yes.
 

« first day (1350 days earlier)      last day (1305 days later) »