Let's go! 🤣
Come join us! 🤗
> 👋 Hey you Twtxters/Yarners 👋 Let's get a Advent of Code leaderboard going!
>
> Join with
1093404-315fafb8 and please use your usual Twtxt feed alias/name 👌>
> Twtxt/Yarn AoC > Leaderboard
Let's go! 🤣
Come join us! 🤗
> 👋 Hey you Twtxters/Yarners 👋 Let's get a Advent of Code leaderboard going!
>
> Join with
1093404-315fafb8 and please use your usual Twtxt feed alias/name 👌>
> Twtxt/Yarn AoC > Leaderboard
Let's go! 🤣
Come join us! 🤗
> 👋 Hey you Twtxters/Yarners 👋 Let's get a Advent of Code leaderboard going!
>
> Join with
1093404-315fafb8 and please use your usual Twtxt feed alias/name 👌>
> Twtxt/Yarn AoC > Leaderboard
It’s quite surprising to see (imho) how many people on reddit started substituting strings (
one becomes 1 etc.). That makes the puzzle *much* harder by introducing nasty corner cases.(Maybe I was just lucky this time to pick the correct approach right from the start. 🤣 Or maybe it’s a bit of experience from doing past AoC events …)
It’s quite surprising to see (imho) how many people on reddit started substituting strings (
one becomes 1 etc.). That makes the puzzle *much* harder by introducing nasty corner cases.(Maybe I was just lucky this time to pick the correct approach right from the start. 🤣 Or maybe it’s a bit of experience from doing past AoC events …)
It’s quite surprising to see (imho) how many people on reddit started substituting strings (
one becomes 1 etc.). That makes the puzzle *much* harder by introducing nasty corner cases.(Maybe I was just lucky this time to pick the correct approach right from the start. 🤣 Or maybe it’s a bit of experience from doing past AoC events …)
$ wc -l day2*.go
270 day2.go
69 day2_test.go
339 total
~
$ wc -l day2*.go
270 day2.go
69 day2_test.go
339 total
~
$ wc -l day2*.go
270 day2.go
69 day2_test.go
339 total
~
strings.TrimSpace() and strings.Split() because I hand-built a custom parser 🤣
strings.TrimSpace() and strings.Split() because I hand-built a custom parser 🤣
strings.TrimSpace() and strings.Split() because I hand-built a custom parser 🤣
*MMAcevedo (Mnemonic Map/Acevedo), also known as Miguel, is the earliest executable image of a human brain. It is a snapshot of the living brain of neurology graduate Miguel Acevedo Álvarez (2010–2073), taken by researchers at the Uplift Laboratory at the University of New Mexico on August 1, 2031.*
https://qntm.org/mmacevedo
*MMAcevedo (Mnemonic Map/Acevedo), also known as Miguel, is the earliest executable image of a human brain. It is a snapshot of the living brain of neurology graduate Miguel Acevedo Álvarez (2010–2073), taken by researchers at the Uplift Laboratory at the University of New Mexico on August 1, 2031.*
https://qntm.org/mmacevedo
kind of sucked. should have waited another day and give my body an actual rest because my legs were tired as fuck. did the park-to-park route which was cool. the second park was cool because it had a lot of walkways and a neat tower thing so did a bit of tourist mode there. the last leg of the run was brutal and just did not have the motivation.
#running
kind of sucked. should have waited another day and gave my body an actual rest because my legs were tired as fuck. did the park-to-park route which was cool. the second park was cool because it had a lot of walkways and a neat tower thing so did a bit of tourist mode there. the last leg of the run was brutal and just did not have the motivation.
#running
kind of sucked. should have waited another day and gave my body an actual rest because my legs were tired as fuck. did the park-to-park route which was cool. the second park was cool because it had a lot of walkways and a neat tower thing so did a bit of tourist mode there. the last leg of the run was brutal and just did not have the motivation.
#running
kind of sucked. should have waited another day and gave my body an actual rest because my legs were tired as fuck. did the park-to-park route which was cool. the second park was cool because it had a lot of walkways and a neat tower thing so did a bit of tourist mode there. the last leg of the run was brutal and just did not have the motivation.
#running
https://movq.de/v/6441f2fe2a/MVI_6760.MOV.mp4
It shows the machine’s boot sequence and the copy process: I somehow have to grab the files from my normal PC and I do that using FTP under Windows 3.11, there’s a PCI Ethernet card in that machine. Then some glorious WinZip action to decompress the files. 😃 Finally the first two AoC 2023 puzzles are being run.
(Yes, there’s a GRUB on that machine. 🥴 It’s a left-over from some experiments with Linux ages ago and I didn’t bother to uninstall it.)
https://movq.de/v/6441f2fe2a/MVI_6760.MOV.mp4
It shows the machine’s boot sequence and the copy process: I somehow have to grab the files from my normal PC and I do that using FTP under Windows 3.11, there’s a PCI Ethernet card in that machine. Then some glorious WinZip action to decompress the files. 😃 Finally the first two AoC 2023 puzzles are being run.
(Yes, there’s a GRUB on that machine. 🥴 It’s a left-over from some experiments with Linux ages ago and I didn’t bother to uninstall it.)
https://movq.de/v/6441f2fe2a/MVI_6760.MOV.mp4
It shows the machine’s boot sequence and the copy process: I somehow have to grab the files from my normal PC and I do that using FTP under Windows 3.11, there’s a PCI Ethernet card in that machine. Then some glorious WinZip action to decompress the files. 😃 Finally the first two AoC 2023 puzzles are being run.
(Yes, there’s a GRUB on that machine. 🥴 It’s a left-over from some experiments with Linux ages ago and I didn’t bother to uninstall it.)
red and then backtracks to the number before it; completely ignoring the semi-colons because they don’t matter), and – like any good C program – will crash horribly on malformed input. 👌😂🥴https://www.uninformativ.de/git/advent-of-code/file/2023/day02/s.c.html
It really depends on what you’re after. I’d never write code like this in “real-world applications”. But for these puzzles and my DOS use case, it’s “good enough”. 😅
red and then backtracks to the number before it; completely ignoring the semi-colons because they don’t matter), and – like any good C program – will crash horribly on malformed input. 👌😂🥴https://www.uninformativ.de/git/advent-of-code/file/2023/day02/s.c.html
It really depends on what you’re after. I’d never write code like this in “real-world applications”. But for these puzzles and my DOS use case, it’s “good enough”. 😅
red and then backtracks to the number before it; completely ignoring the semi-colons because they don’t matter), and – like any good C program – will crash horribly on malformed input. 👌😂🥴https://www.uninformativ.de/git/advent-of-code/file/2023/day02/s.c.html
It really depends on what you’re after. I’d never write code like this in “real-world applications”. But for these puzzles and my DOS use case, it’s “good enough”. 😅
- @movq
- @prologic
- @xuu
- @movq
- @prologic
- @xuu
- @movq
- @prologic
- @xuu
Come join us!
> 👋 Hey you Twtxters/Yarners 👋 Let's get a Advent of Code leaderboard going!
>
> Join with
1093404-315fafb8 and please use your usual Twtxt feed alias/name 👌>
> Twtxt/Yarn AoC > Leaderboard~
Come join us!
> 👋 Hey you Twtxters/Yarners 👋 Let's get a Advent of Code leaderboard going!
>
> Join with
1093404-315fafb8 and please use your usual Twtxt feed alias/name 👌>
> Twtxt/Yarn AoC > Leaderboard~
Come join us!
> 👋 Hey you Twtxters/Yarners 👋 Let's get a Advent of Code leaderboard going!
>
> Join with
1093404-315fafb8 and please use your usual Twtxt feed alias/name 👌>
> Twtxt/Yarn AoC > Leaderboard~