Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Search - "adventofcode"
Those coding competitions like adventofcode.com tho, where people actually solve the tasks in a minute or two, whereas I just finished reading the little story behind them.
I want to see their solutions!1
Advent of Code day 13 !
Fucking amazing day. Oh boy i love this one.
We got a fucking breakout in intcode (Which is code for VM we finished in day 9).
And we had to beat the game.
At first i was like uhmmmmmmm im supposed to play the game ? (Which is actually a possibility you can do)
But just tracking the ball X position and comparing it to padle X position and then outputing left or right.
That was enough. Sad that i had to go to school and had to finish it just now. But still a good one.
anyone else having Adventofcode problems? day1 told me the obviously right answer was wrong. after a full day of debugging two obvious lines of code, it finally decided to accept the first answer.
and day two seems to be doing the same. guess I'll just be a day behind then?
Writing PHP code for advent of code (https://adventofcode.com):
I'll use camel case for that function and snake case for the second one and why not just use all lowercase (what is that called anyway?) for the third function. Variables: $input, $inputs, $a, $count2, $xord, $yord. Why do I have no consistent naming scheme?!?!
My Advent of Code solution is calculating and calculating, which means I clearly did it wrong. But I already spent 4 hours trying to code it in Clojure (OMG, why can't tail call optimization just work there?!?!)