@vaporeon_ interesting results so far
@Lucy what the actual fuck
re: Advent of Code Day 1, Part 1 spoiler
@vaporeon_ reported for lies
re: Advent of Code Day 1, Part 1 spoiler
@vaporeon_ oh i didn't read it right
uh, you might be right? although the inputs the question give you have turns greater than 100 if im not mistaken, so maybe this wouldn't work
re: Advent of Code Day 1, Part 1 spoiler
@vaporeon_ in javascript the negative numbers do result in negative results with the % operator because the language is bad
re: Advent of Code, day 1, part 2, spoilers
@vaporeon_ that edge case got me too! but something else was wrong after i accounted for it and i gave up haha
@coriander blockable behavior, but then i wouldnt see bumbleposting
re: Advent of Code, day 1, part 2
@vaporeon_ also good morning
re: Advent of Code, day 1, part 2
@vaporeon_ i didn't end up getting a working solution for part 2, good job!
@coriander i should report you for "pupdate" but it is cancelled by the yukonpost
@aescling @monorail @The_T the easiest way for marth to dodge it would be to directional air dodge, something that will kill the marth. otherwise the marth is betting that they know the timing on when the falcon and approach and swinging on that. i really think the upb was a solid option for the situation, although an ordinary arial might have been just as effective with less risk
@NaClKnight eggcog-nac?
advent of clod "spoiler"
console.log(
"solution:",
Deno.readTextFileSync("day-03-q1-input.txt").split("\r\n").reduce((a, s) => {
for (var d = new Array(12).fill(-1), m = { "-1": -1 }, i = 0; i < 12; ++i) for (let j = m[i - 1] + 1; j < s.length - 11 + i; ++j) if (+s[j] > d[i]) d[i] = +s[m[i] = j];
return a + d.reduce((sum, n, i, a) => sum + 10 ** (a.length - 1 - i) * n, 0);
}, 0));
despite what you may suspect from the double for loop, this runs in O(n) time
@holly cool im gonna forward you a report, since you lied
hi @vaporeon_ wanna see Advent of Clod code so golfed that its not even a spoiler?
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