« first day (2 days earlier)      last day (759 days later) » 

3:50 AM
@UnrelatedString is it flexible
 
it's... really not designed for such a use case
 
I'm hoping I'll get top 100 again today, which might be enough to put me on the global leaderboard
 
@UnrelatedString sad
 
With my library, I'll either totally throw or get top 100 lol
There is no in between
 
like the vast majority of builtins are just defined as lambdas in the dict that maps atom tokens directly to them
 
3:56 AM
is there a jelly function to take a program string and argument array, returning the output?
should be helpful enough with solving
 
think so but doesn't help the issue of actually typing half the builtins quickly without the bookmarklet
guess the whole thing could be done in browser
 
make an editor extension maybe
too much work honestly
 
oh yeah
that is an option
 
might as well just use numpy and whatnot
 
@UnrelatedString laughs in on-screen keyboard built into online interpreter
 
4:01 AM
honestly since my current workflow requires me to copy paste the input in repeatedly doing a solution on tio is not a terrible idea
 
laughs in on-screen keyboard AND keyboard shortcuts for every character in both jelly and vyxal built into online interpreter
except for the online interpreter part cuz i just leech off of TIO/vyxal PA
 
i threw yesterday
 
wonder if Doormat will get the #1 this year
@PyGamer0 this is your first AoC right
 
yes
> 14) 340 tjjfvi
15) 339 hyper-neutrino
 
don't think about speed
just focus on finishing the problems
 
4:12 AM
yeah i didnt finish day 3
part 2
 
finish it now
 
i cant, not on my computer
can i finish it later?
 
ah i see
yeah there's no real time limit
 
@Razetime ok cool
 
4:17 AM
yeah you can go back and solve 2015 day 1 if you want
lol
 
wat lol
 
yeah the problems never close
 
does first place on the leaderboard get a prize?
 
if i really wanted to i could probably solve 2020 day 20 part 2 in a month hypothetically speaking
 
don't think so
@UnrelatedString 💀
 
4:19 AM
@PyGamer0 there is no money in aoc
 
ok
i think the first place gets atleast recognition
 
usually the first place winners are also winning in other big contests as well
 
which other big contests?
 
codeforces stuff
 
is the right side of the calendar ascii art?
 
4:22 AM
there's many competitive coding contests and stuff
@PyGamer0 yes, check the prev years
 
4:40 AM
20m
I think the brown is the path of the sub
And the blue at the top is the ocean surface, which fades away to the left due to the sub's increasing depth
 
Oh, that's a good observation
Under 10m
 
4:55 AM
5m
 
2m
1m
not many people here today or smth?
 
just really preparing
 
30s
fair enough
 
I was busy reading about the draft, the NMSQT, and chemical weapons
 
4:59 AM
lol
20s
 
10s, GLHF everyone
 
i just finished day 3 part 2
and day 4 started lol
the puzzle input looks like APL matrices
 
what the actual hell is this puzzle format?
 
6/21
it took me an absurdly long time to figure out what exactly part 2 was trying to get me to do lol
 
5:11 AM
Yes!
106/96
First time I've ever top-100'd on a part 2
 
i'm gonna be super late today
 
@RedwolfPrograms congrats!
 
I got a wrong answer for both lol
This was tough for day 4
Under 200 completed still lol (for part one!)
 
i really don't know how to actually debug this stuff
 
@RedwolfPrograms because of input formatting probably
 
5:12 AM
niiiice
 
Debugging it sucked
My mistake was multiplying by the wrong number
 
oh yeah i forgot my method of handling blank lines fucking SUCKS
i just had to add more to the end
and it worked
 
Input parsing was the easiest part for me
Is it harder in other langs or something?
Just split, slice, and filter
 
@RedwolfPrograms it is in golfing langs
 
If I didn't make those two mistakes, I'd probably have been top 20 or 30 or so for both parts
I used some horrible, horrible mix of maps, for loops, some/every, and setting undeclared variables in the conditions of if statements
 
5:16 AM
i lost valuable seconds because i did .split("\n\n")
and got trolled cuz my editor
saves with \r\n
 
I missed "Diagonals don't count"
 
Using JS is nice since you can just use the console
 
@tjjfvi oh, that's incredibly unfortunate
 
No copying/pasting, predictable I/O
 
Spent a while debugging why my thing was detecting an early win
 
5:17 AM
ooh, 11th
so i'm already at where i finished last year lol
 
Oh nice!
 
oh nice doorknob is top global rn
i said my goal was top 10 for this year but if i'm already here i might set my goal to 5 instead
 
I was confused for a second because you're tied with someone with a last name off by a letter and I was 99% sure you weren't a Robert
 
@RedwolfPrograms in BQN yes
 
5:19 AM
finally got a rank that it pbothered to tell me on both stars
412/505
 
613/525
 
First 3-digit rank on a part 1 for me
 
5:20 AM
oh yeah wait this is my first three digit since 1-1
 
I notice we're all climbing a lot, that's cool
 
Except for the first day (when I forgot advent of code was a thing until 7PM), I've always gotten a 3-digit rank on part 2
 
i'm rather annoyed with my poor reading comprehension
i had to fix my second part solution like 4 times
and my final correct version was actually simpler than all of the wrong versions i implemented
 
i understood part 2 as i read it but i didn't understand it as i implemented it lmao
 
I was #6 in the PPCG leaderboard for a few minutes until a few people caught up with me (I'm #8 now)
 
5:23 AM
choked a bit on how to filter boards out then neglected to actually let the final board complete properly
 
Same!
I was halfway through typing that out lol
I think that was a common mistake
Given that I made it and still managed to move up in rank from p1 to p2
 
@UnrelatedString same :/
 
my row and column bingo checks were completely separate so i didn't want to copy paste the same thing in twice but this is fucking aoc of course i should copy paste the same thing in twice
 
first time i ended the loop when the remaining boards was length 1
then i got stuck on whether the multiplier was meant to be the callout that made the last board win or that made the first board win
 
I made exactly the same mistake in my code
 
5:25 AM
(because i was actually outputting the callout that made the second last board win)
 
oh
oh wait no yeah i was doing that too
 
glad to see we all have the same reading comprehension issues 💀
 
difference being i uynderstood from the start that i had to use the score for the actual final board but completely negleclted to implement it that way lmao
 
nice
i thought it was callout for final board
but since i was outputting second last board by accident i thought i interpreted it wrong
and swapped it to first board
 
5:27 AM
I feel an odd sense of comraderie in our collective failure to do that part right :p
 
ape together strong
 
My goal this year is to try to make it onto the global leaderboard
I'm not too sure I'll be able to, but I've definitely got a more solid start than last year
 
you got this
 
5:31 AM
i believe 🙏
 
Thanks! :D
 
5:42 AM
wow holy crap part 2 is way easier than part 1
 
are you high
 
nope
 
how is p2 easier
am i like
 
my part 1 is accidentally optimised for part 2
 
damaged in the brain
 
5:43 AM
lo
l
 
I'm already getting whether or not each board wins
from there, it's just checking a) if all boards have a win and if so b) which board changed?
 
honestly my part 2 was a modification of my part 1 that would have been trivial if i didn't suck
 
my p2 took a bit more messing around with to get it to work
 
Y'all writing whole programs and not just typing 50 different one liners in the console and gluing them together by hand
 
but it still would've been pretty easy if i weren't stupid
 
5:48 AM
yep as I said, trivial modifications for p2
by over-engineering p1, p2 was ez
 
oh you mean like
the transition from p1 to p2
was easier than writing p1 itself
 
yep
 
i thought you meant you thought p2 as a whole was easier than p1 and i was like
no?
 
p2 only needed 26 extra bytes
 
5:50 AM
oh right you're using vyxal
i was like that is a really small amount of modification wtf
unless you weren't using vyxal and it was actually just that close
 
 
if aaron or emanresuA were here, they'd say that they hate what I wrote
←boards `

`/`  ` ` `vV↵

ƛ⌈ƛ';;⌊;
that's what input parsing looks like when pain
wait I'm actually in the top 1000 for part 2?
holy frick
 
that's my first 3 digit in part 2 this year
502nd
 
5:55 AM
nice!
 
Nice!
Dang, still three digits for p2? Must be a seriously hard one
Loool look at the stats graph
 
well dang
 
It's too early in the month for a Great Filter
 
looks like I'll be able to only do 1 star tomorrow and never be able to do AoC again
because rn I have 68 stars total from 4 years
 
5:57 AM
interesting to see what those stats look like in 20 hours or so because there's no way this was that hard for that many people
😔
wait have you done aoc for four years or is some of that doing past year problems for practice and fun
 
so this is what they mean by squid game
@UnrelatedString 4 years, never completed all 25 days
 
 
if we deny the existence of sea monsters i completed 25 last year but not the year before
 
i've full solved 2015 and 2020
2020 because i was competing, 2015 because i upsolved while developing my library last year
 
5:59 AM
oh yeah maybe i should go back and finish my gaps from 2019 once i'm done with finals
 
which i cannot find anymore and don't want either kekw
 
once this term is done i will work on a better command line utility for this
idk why i tried doing lisp-like the first time i tried making a pseudo-language for it
stack based is clearly both easier to implement and use lmao
 
Well, I'm going to sleep now, gotta get up early the morning after tomorrow o/
 
6:01 AM
to whoever implemented the global array in vyxal: thanks for wasting a bit of my time today
 
because I tried to use it but it silently errored
 
and for a very stupid reason
 
the big thing i've been thinking about is just having a robust way to toss some shit together to parse the inputs nicely
 
6:01 AM
anyone wanna tell me what's wrong with that?
(btw, ctx.global_array is a default python list)
 
wait
isn't it append
 
@hyper-neutrino correct!
 
push is a JS thing no?
kekw!
 
wait why would the error be silent doesn't python list literally not define push
 
6:03 AM
prob bad error handling by vyxal
 
^
 
you know AOC is fun when you have to use the offline vyxal interpreter on the command line
 
bruh moment
 
wait
giant squid?
is aoc gonna have squid game and a submarine as their ascii art
 
6:15 AM
oh no
 
6:36 AM
:|
in other news wow the completion still hasn't reached 10k
 
6:48 AM
finally finished it
somehow my rank isn't 5 digit
my part 2 was quite awful
@UnrelatedString about 3k more to go
considering my rank was in the 7000s for both of em
 
i'm half sure both parts have a nice array oriented solution
i finished part 1 and realized my part 1 didn't check the antidigagonal at all
 
You don't need to
Diagonals don't count
Only rows and columns
 
oh well
 
i am not sure where to start
so i am not doing it lol
 
6:56 AM
@lyxal then i am lucky my solutions were right at all
 
i wonder if the input was actually engineered not to punish you for checking diagonals or if you did get really damn lucky
 
@PyGamer0 start by writing a function that removes called numbers from a board
Make sure to maintain the shape of the board
Then write a function that checks if all items in a row or column are empty
 
i.e. just zero them
 
@UnrelatedString it does specifically say diagonals don't count
 
@UnrelatedString not exactly
 
6:58 AM
@UnrelatedString do NOT zero them
-1 them
 
^
 
0 is a valid bingo number
 
all i know is i zeroed them and it worked
 
bruh?
 
6:58 AM
???
 
lmaoooooo
 
Y'all got lucky
 
0 was one of the numbers in my input
 
6:58 AM
WAIT IT IS
 
it's literally in the example input
 
gmaing
 
the example literally has it
 
Lol
 
6:59 AM
and it didn't even fail the example
 
lmao
yep
 
advent of code that technically works
 
7:35 AM
ngl "do diagonals count" was one of the first things i checked when i saw "bingo"
or rather, remembered to keep an eye out for
 
i am very very lucky
 
Gerat, I forgot about tday's as well
 
i forgot how fast neutrino was, top 11 last year
cgcc leaderboard has so many pros
 
Great, input parsing
 
7:48 AM
all my competitive programming experience def helped
 
hm how do we get Legionmammal978 on the private leaderboard
they're also on the global ranking
 
i haven't been doing cp since grade 7 for nothing
 
@hyper-neutrino i recently tried and honestly idk if i'll get good at it
 
Btw NaN is my favorite number
 
i was never really good at it, lol :/
 
7:51 AM
Oh wait
 
somehow, i got into my country's national competition and completely failed that
 
It's cos I split on spaces and they padded mininumbers
 
ಠ_ಠ When using an integer parsing function fails and casting to a integer works
 
@hyper-neutrino which country is this
 
7:55 AM
canada?
 
north america in general is hypercompetitive for programming
 
That moment when you're playing 4D bingo
 
i feel like it can't be that general a north america thing if there's so little around here
 
another CGCC user we should get on the leaderboard is Oliver Ni
 
8:01 AM
i mean granted
i attend and live right next to one of the more well-known unis for STEM in canada lol
 
(it's actually the one that runs all the nation-wide math and CS contests that people actually care about)
 
CMC: Given a bit matrix, check if at least one row or column has all items truthy
 
oh nice
 
(I have 48 in JS)
 
8:02 AM
(which is great cuz some people fly in from across the country and i'm just like)
(man i could've walked here)
 
what if they ask you to move out of town and fly in for the contest if you qualify
 
@emanresuA i see what you have done
 
4 mins ago, by emanresu A
(I have 48 in JS)
I've done it
It's just a fun CMC
 
@emanresuA then post it in tnb
 
@Razetime oh i mean i'd do it
i mean i ended a family vacation and flew back alone on my birthday to attend a thing at the uni (was in HS at the time)
 
8:13 AM
@emanresuA ∨´·∧´˘⊢∾⍉
 
wait
i just got what you mean
wtf
 
@hyper-neutrino lmao
i was confuse for a bit when you agreed lmao
 
yeah i thought you just meant like what if i had to fly out of my city to attend
but no your message is incredibly cursed
 
Apparently the solution to part one is either 25 or 0.
 
@Razetime is that bqn
 
 
2 hours later…
9:52 AM
Part 1 complete!
(It only took me two hours)
(Because JS objects are very weird sometimes)
 
@PyGamer0 yes
@emanresuA happens
 
I thought #2 would be a trivial modification
But it isn't, idk why
 
It is depending on how you wrote part 1
Part 2 only required an additional 26 bytes for me, and that included adding a 4 char long variable
 
10:08 AM
As in I made a trivial modification (actually similar to the amount you changed) but it didn't work
 
10:18 AM
Great, I just lost all my code.
 
F
 
10:40 AM
session moment
 
 
6 hours later…
4:10 PM
If anyone's interested, here's my repository containing all my solutions so far. It's not much, but I'm very proud that all of my solutions are under 10 lines and run almost instantly
 
2 days ago, by lyxal
I'm a whole day ahead of y'all
but many days :P
or wait, wrong message to link
2 days ago, by lyxal
Y'all only sharing your repos today
 
Did you see my repo lol
I was joking, I literally just have two Husk one-liners in there
 

« first day (2 days earlier)      last day (759 days later) »