The FOSS-only people remind me of vegans. Plenty are respectful. Other ones get in your face to tell you how much of a piece of shit you are.
This page still exists.
I'm sure some would want to kill it with fire.
Did I just learn monads by accident?
#AoC2017 day 2 #FSharp solution Show more
// Assume that x is a pre-parsed input of type "int list list"
// full file: https://github.com/a-red-christmas/aoc2017-fs/blob/master/day2/Program.fs
let part1 x =
List.map (fun y -> List.max y - List.min y) x
let part2 x =
// iterate over the list twice to find a divisor that isn't self and clean
let findDiv l = List.sumBy (fun y ->
List.sumBy (fun z ->
if y <> z && y % z = 0 then y / z else 0) l) l
List.map findDiv x |> List.sum
my crowning achievement for the day: wrote a 1655 character, 190 word commit message for a one line change.
Deleting dead source code is very satisfying.
>GNU coreutils is the standard user land toolset for Linux
Listen here you little shit
i remember the first time i ever booted up ubuntu in like 2007 or something. i was like, ah its brown, pretty 70s i guess
@ekaitz_zarraga It sounds kinda silly, but I'm missing the days we used to build sites with plain HTML. I mean the modern web would be impossible without what already exists, but even an old Perl script seems like a less complex alternative
Probably easier to maintain for a lot of cases too
You know, I see this kind of artwork in Mastodon marketing images, then one arrives and it's black and grey and 1990s cyberpunk.
Perhaps it wouldn't hurt if the default presentation was more... social?
(Did I just do the UX equivalent of "you should smile more"? 🤦♂️ )
albums got worse when CDs came out because CDs are too long, nobody can make that much music thats actually good