Posts
1721
Following
Hidden
Followers
Hidden

In hindsight, this was probably one of the most important classes that I took in college.

0
0
1
Edited 1 year ago
Advent of Code, Day 2
Show content
0
0
1

@ethanschoonover Pleroma/Akkoma’s frontend is one of the few that does allow that sort of filtering. I’ve tried a few others and immediately discarded them since they don’t have that support.

1
0
1
Advent of Code, Day 1
Show content
# p ARGF.read.split("\n\n").map { _1.each_line.map(&:to_i).sum }.max
p ARGF.read.split("\n\n").map { _1.each_line.map(&:to_i).sum }.sort[-3..-1].sum

I always find the code for my leaderboarding attempts (especially the successful ones) to be an interesting look into both my initial instincts for breaking down a problem, as well as which parts of Ruby I use to solve it.

#AdventOfCode

0
0
2
“autosplat”, I love it.
1
0
0
Show older