Advent of Code Day 1, Part 1 spoiler
@wallhackio @vaporeon_ advent of clod
@The_T the campaign unfortunately peaks early, the second half is much worse than the first half
But the opening level is an S++++ tier opening level, one of the best I've seen in a videogame
@The_T I played through the campaign of Timesplitters 2 earlier this year and was extremely impressed
@holly well done hoppet, and good luck!!
hi @vaporeon_ would you like to see the bloboreon
re: Advent of Code Day 1, Part 1 spoiler
@aescling @vaporeon_ correct!
re: Advent of Code Day 1, Part 1 spoiler
@aescling @vaporeon_ that was on purpose
@vaporeon_ the downside is that github demands 2fa so you'll need me whenever you need to log in
@vaporeon_ yeah you have to use reddit's javascripts im pretty sure
i could also let you use my github account which i didn't use for AoC
@vaporeon_ i could make you a dummy reddit account real quick if you would like
Advent of Code Day 1, Part 1 spoiler
@vaporeon_
There is a round safe lock with the numbers 0-99. I have a text file called "inputs.txt" that has a bunch of instructions separated by line terminators. The instructions are like "L38" or "R15" and tell you turn the safe lock left or right by the given number. The safe lock starts at 50, I need to find how many times the safe lock hits the number 0.
let bound = 100, t = 50, hits = 0;
Deno.readTextFileSync("input.txt").split("\r\n").map(s => s.replace("L", "-").replace("R", "")).forEach(n => {
if ((t +=+ n) < 0 ? t = -(-t % bound) : t %= bound); else ++hits;
});
console.log("password:", hits);
hi @vaporeon_ want to read some disgusting golfy javascript code i just wrote
@vaporeon_ yes, clodsires are known to make mistakes in their past
@vaporeon_ i didn't know what this was 10 minutes ago but now i am participating at this very moment
Mastodon hashtags are case-insensitive (correctly so), which means it's not possible to have hashtag DECember like there's hashtag Marchintosh
kept afloat by big ideas.
you can call me Caleb or Clodsire. i also go by clodboy and catwin. i am not picky about names (unless its one amy made up)
videogame enjoyer. mathematics hobbyist and recovering physicist. software engineer. professional wonk. prophet of The Truth. the walking embodiment of "not diagnosed, but somethings wrong". i like animals that wear cowboy hats.
number of fat cock awards received: 56
pfp is by @The_T
header is by @vaporeon_
"i regret ever allowing him here" ~aescling
"oh you're one of those weird movie likers" ~Ti
"i know your taste in movies well enough to discount your opinion" ~globin
"caleb is the only person on this websites who truly understands what the report button is for: 'i don't like this post'" ~holly
30+
straight
he/him