#aoc2023 — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #aoc2023, aggregated by home.social.
-
Qui a fait quoi lors de l'Advent of Code 2023 ?
-
D’éirigh liom an t-#AdventOfCode a chríochnú roimh teacht don Bhliain Úr! 🎉
Mo chuid réiteach in #Rust:
-
Managed to finish #AdventOfCode before the New Year! 🎉
My solutions in Rust:
-
AoC2023.25: Advent of Code gifs
https://cohost.org/sol-hsa/post/3974760-ao-c2023-25-advent-o
-
Advent of Code Day 22 — Sand Slabs
I almost gave up on this one. Then I started playing around with it in a 3D render package and I found the issue.
https://chasingdings.com/2023/12/22/advent-of-code-day-22-sand-slabs/
-
AoC2023.17: Advent of Code gifs
https://cohost.org/sol-hsa/post/3896385-ao-c2023-17-advent-o
-
AoC2023.16: Advent of Code gifs
https://cohost.org/sol-hsa/post/3884901-ao-c2023-16-advent-o
-
AoC2023.14: Advent of Code gifs
https://cohost.org/sol-hsa/post/3862480-ao-c2023-14-advent-o
-
- Yesterday decided that I should probably check out #OCaml's regular expression syntax. It does make the #AdventOfCode input line parsing a lot less verbose, if more cryptic ("and now you have two problems", as the joke goes).
- I really love the fact that OCaml has a toplevel REPL where you can interactively experiment (e.g. figuring out said regexes) like you do in #Python or #R. To quote the lovely first line from the relevant docs: "An OCaml toplevel is a chat between the user and OCaml".
- Spent almost too much time hacking around; had to make my Saturday trail run a bit shorter than usual. Sunny but windy in the mountain. Current audiobook: "God Emperor of Dune" by Frank Herbert which I last read in high school.
- Attended my bro-in-law's #SchoolOfRock band concert, an open-air show at Simonsvlei. He warned us that it was going to be "a school concert but with adults". That wasn't too inaccurate, but school concerts with adults still have craft beer in plastic cups and cheering and vibe – it was super enjoyable. BiL has become quite the drummer in just 3 years, and their cover of Muse's Resistance was the highlight.
- Today I tackled some of my outstanding #AoC2023 puzzles. Had to smile when I saw Day 10, which is a twist on a classic (and favourite) maze-solving puzzle in competitive coding.
- Asked the 14yo to handle the entire #braai for lunch, and he took control and eschewed advice like only a teenager who just finished their first year of high school can do. It turned out delicious. -
- Yesterday helped to set up the 12yo's entrepreneurs' day stand. Fudge and a soda fountain always seem to be a hit with the other kids. She turned a nice profit as fundraiser for her class's Netherlands exchange next year.
- Knibbled a bit on #AoC2023 Day 7 yesterday, but the work day was a bit full to really spend time on it.
- Today I again chaired the annual Jac van der Merwe competition for the best #innovation in an Engineering final-year project at #StellenboschUniversity. Absolutely incredible to see the quality and potential of the students' work. Thought of you, @hugovdm.
- Finished Day 7, Part 1 of #AdventOfCode, and had a look at Part 2 of this one and Part 1 of Day 8. I'll continue doing 1⭐ each day unless Part 2 is a fairly simple extension (like Day 6).
- Tinkered a bit with an interesting full-stack web framework in #OCaml that @last is putting together as a side project. If I get time I might take a stab at converting my personal page to this. I've been thinking of doing a #Markdown-based CMS for a while now; this might be a nice foundation.
- Fridays are gourmet burger nights at the Van Rooyen household. Tonight we had thick deli beef patties with lightly toasted buns and a thick homemade Caesar sauce out of Louise Pickford's "Sauces" 😋 -
- Yesterday helped to set up the 12yo's entrepreneurs' day stand. Fudge and a soda fountain always seem to be a hit with the other kids. She turned a nice profit as fundraiser for her class's Netherlands exchange next year.
- Knibbled a bit on #AoC2023 Day 7 yesterday, but the work day was a bit full to really spend time on it.
- Today I again chaired the annual Jac van der Merwe competition for the best #innovation in an Engineering final-year project at #StellenboschUniversity. Absolutely incredible to see the quality and potential of the students' work. Thought of you, @hugovdm.
- Finished Day 7, Part 1 of #AdventOfCode, and had a look at Part 2 of this one and Part 1 of Day 8. I'll continue doing 1⭐ each day unless Part 2 is a fairly simple extension (like Day 6).
- Tinkered a bit with an interesting full-stack web framework in #OCaml that @last is putting together as a side project. If I get time I might take a stab at converting my personal page to this. I've been thinking of doing a #Markdown-based CMS for a while now; this might be a nice foundation.
- Fridays are gourmet burger nights at the Van Rooyen household. Tonight we had thick deli beef patties with lightly toasted buns and a thick homemade Caesar sauce out of Louise Pickford's "Sauces" 😋 -
- Skipped #AoC2023 Day 4, Part 2 for now; on to Day 5.
- Brief 7am check-in with the Japanese client.
- One of our larger clients today remarked that they like working with us because we are "80% meticulous and 20% pragmatic". The perfect can be the enemy of the good when it comes to getting a project across the line, but boy – quality is still the bulk of it.
- Blockchain is a dirty word again nowadays, but I had to spend quite some time sorting out transfers of ERC-721/1155 tokens for a Fanfire client today. I really love this tech, especially the magic of #Web3 authentication rather than brokering my identity through one of the MANGAs.
- Finished Day 5, Part 1 of #AdventOfCode. Half the effort was parsing the input; #OCaml made the list folding a cinch. Got Part 2 mostly done, so might wrap it up later. ⭐
- Late afternoon trail run in the beautiful #Helderberg.
- My wife and I kicked back for an episode or so of #TheBear, Season 2. What an absolutely brilliant series. There are even some small vignettes that I want to tie up with a ribbon and send to people who would appreciate it. -
- Skipped #AoC2023 Day 4, Part 2 for now; on to Day 5.
- Brief 7am check-in with the Japanese client.
- One of our larger clients today remarked that they like working with us because we are "80% meticulous and 20% pragmatic". The perfect can be the enemy of the good when it comes to getting a project across the line, but boy – quality is still the bulk of it.
- Blockchain is a dirty word again nowadays, but I had to spend quite some time sorting out transfers of ERC-721/1155 tokens for a Fanfire client today. I really love this tech, especially the magic of #Web3 authentication rather than brokering my identity through one of the MANGAs.
- Finished Day 5, Part 1 of #AdventOfCode. Half the effort was parsing the input; #OCaml made the list folding a cinch. Got Part 2 mostly done, so might wrap it up later. ⭐
- Late afternoon trail run in the beautiful #Helderberg.
- My wife and I kicked back for an episode or so of #TheBear, Season 2. What an absolutely brilliant series. There are even some small vignettes that I want to tie up with a ribbon and send to people who would appreciate it. -
AoC2023.5: Advent of Code gifs
https://cohost.org/sol-hsa/post/3764003-ao-c2023-5-advent-of
-
- Finally got round to doing #AoC2023 Day 3 before work.
- Starting to actively box in "greedy" commitments that demand attention and time, and disrupt the well-behaved projects. I'm working towards a much less reactive daily workflow. Keep #sente, avoid gote.
- A fun aspect of #AdventOfCode is the second part of each day's puzzle which you don't get to see until you successfully complete the first part. If you write your code for Part 1 in a modular way that's easy to reuse and refactor, Part 2 is sometimes really easy. Happy that this worked out for me today ⭐⭐
- A year ago I would have been very uncertain about the role of an Industrial Engineer in a technology development firm like Octoco. We've just hired our second one, and my current "golden ratio" is 1 IE per ~20 Software/Electronic engineers – for us, these are the people who engineer our work processes; both internal and external.
- Some admin before bedtime, then finished AoC Day 4, Part 1. Set types in #OCaml are finicky at first, what with comparator witnesses and all, but really powerful and concise. -
- Finally got round to doing #AoC2023 Day 3 before work.
- Starting to actively box in "greedy" commitments that demand attention and time, and disrupt the well-behaved projects. I'm working towards a much less reactive daily workflow. Keep #sente, avoid gote.
- A fun aspect of #AdventOfCode is the second part of each day's puzzle which you don't get to see until you successfully complete the first part. If you write your code for Part 1 in a modular way that's easy to reuse and refactor, Part 2 is sometimes really easy. Happy that this worked out for me today ⭐⭐
- A year ago I would have been very uncertain about the role of an Industrial Engineer in a technology development firm like Octoco. We've just hired our second one, and my current "golden ratio" is 1 IE per ~20 Software/Electronic engineers – for us, these are the people who engineer our work processes; both internal and external.
- Some admin before bedtime, then finished AoC Day 4, Part 1. Set types in #OCaml are finicky at first, what with comparator witnesses and all, but really powerful and concise. -
- Finally got round to doing #AoC2023 Day 3 before work.
- Starting to actively box in "greedy" commitments that demand attention and time, and disrupt the well-behaved projects. I'm working towards a much less reactive daily workflow. Keep #sente, avoid gote.
- A fun aspect of #AdventOfCode is the second part of each day's puzzle which you don't get to see until you successfully complete the first part. If you write your code for Part 1 in a modular way that's easy to reuse and refactor, Part 2 is sometimes really easy. Happy that this worked out for me today ⭐⭐
- A year ago I would have been very uncertain about the role of an Industrial Engineer in a technology development firm like Octoco. We've just hired our second one, and my current "golden ratio" is 1 IE per ~20 Software/Electronic engineers – for us, these are the people who engineer our work processes; both internal and external.
- Some admin before bedtime, then finished AoC Day 4, Part 1. Set types in #OCaml are finicky at first, what with comparator witnesses and all, but really powerful and concise. -
- Finally got round to doing #AoC2023 Day 3 before work.
- Starting to actively box in "greedy" commitments that demand attention and time, and disrupt the well-behaved projects. I'm working towards a much less reactive daily workflow. Keep #sente, avoid gote.
- A fun aspect of #AdventOfCode is the second part of each day's puzzle which you don't get to see until you successfully complete the first part. If you write your code for Part 1 in a modular way that's easy to reuse and refactor, Part 2 is sometimes really easy. Happy that this worked out for me today ⭐⭐
- A year ago I would have been very uncertain about the role of an Industrial Engineer in a technology development firm like Octoco. We've just hired our second one, and my current "golden ratio" is 1 IE per ~20 Software/Electronic engineers – for us, these are the people who engineer our work processes; both internal and external.
- Some admin before bedtime, then finished AoC Day 4, Part 1. Set types in #OCaml are finicky at first, what with comparator witnesses and all, but really powerful and concise. -
Yay, tonight i skipped #aoc2023 in favor of getting my vault items decrypted via #rbw crate for my #BitWarden #VaultWarden mobile client. Now i think i know everything in regards to the libraries, so i can finally start with filling architecture gaps.
-
Yay, tonight i skipped #aoc2023 in favor of getting my vault items decrypted via #rbw crate for my #BitWarden #VaultWarden mobile client. Now i think i know everything in regards to the libraries, so i can finally start with filling architecture gaps.
-
#AOC: I solved day 2 using the #winnow parser in #Rust and my solution takes 6-8 µs on my machine.
Of couse, we are dealing with the category "BLAZINGLY FAST" 🚀😜
You are welcome to benchmark your code against mine and start performance wars 🥊
EDIT: @corpsmoderne came up with a version about twice faster than mine with even less code! See his comment below 🏆️
PS: I know about premature optimizations, but let me have my fun 😝
-
#AOC: I solved day 2 using the #winnow parser in #Rust and my solution takes 6-8 µs on my machine.
Of couse, we are dealing with the category "BLAZINGLY FAST" 🚀😜
You are welcome to benchmark your code against mine and start performance wars 🥊
EDIT: @corpsmoderne came up with a version about twice faster than mine with even less code! See his comment below 🏆️
PS: I know about premature optimizations, but let me have my fun 😝
-
Es ist nur Teil eins des Advent of Code #aoc2023 von heute, aber das war sehr spaßig, und ich bin stolz überhaupt, den Emulator des #x16 in Betrieb zu nehmen, und die Puzzledaten aus einer Datei gelesen zu haben.
Hübsch ist das alles noch nicht, und es scheitert z.T. auch daran, dass ich keine Zeichen in eine Zeile einfügen kann (löschen geht) - OTOH weiß ich gar nicht, ob das auf dem C64 überhaupt ging.
Das ist übrigens der Emulator des Commander x16 und das hauseigene #BASIC
-
Es ist nur Teil eins des Advent of Code #aoc2023 von heute, aber das war sehr spaßig, und ich bin stolz überhaupt, den Emulator des #x16 in Betrieb zu nehmen, und die Puzzledaten aus einer Datei gelesen zu haben.
Hübsch ist das alles noch nicht, und es scheitert z.T. auch daran, dass ich keine Zeichen in eine Zeile einfügen kann (löschen geht) - OTOH weiß ich gar nicht, ob das auf dem C64 überhaupt ging.
Das ist übrigens der Emulator des Commander x16 und das hauseigene #BASIC