#aoc2023 — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #aoc2023, aggregated by home.social.
-
New Hacking the Grepson podcast episode is out!
Hacking the Grepson 060: Advent of Code 2023 Wrapup - Part 2
We finish the remaining days (17-25) in our Advent of Code 2023 Mega Discussion!
Episode Link: https://www.podbean.com/eas/pb-niheh-156def4
Show Feed: https://feed.podbean.com/hackingthegrepson/feed.xml
Show Home: https://hackingthegrepson.com#HackingTheGrepson #podcast #programming #development #AdventOfCode #aoc #aoc2023
-
New Hacking the Grepson podcast episode is out!
Hacking the Grepson 060: Advent of Code 2023 Wrapup - Part 2
We finish the remaining days (17-25) in our Advent of Code 2023 Mega Discussion!
Episode Link: https://www.podbean.com/eas/pb-niheh-156def4
Show Feed: https://feed.podbean.com/hackingthegrepson/feed.xml
Show Home: https://hackingthegrepson.com#HackingTheGrepson #podcast #programming #development #AdventOfCode #aoc #aoc2023
-
New Hacking the Grepson podcast episode is out!
Hacking the Grepson 060: Advent of Code 2023 Wrapup - Part 2
We finish the remaining days (17-25) in our Advent of Code 2023 Mega Discussion!
Episode Link: https://www.podbean.com/eas/pb-niheh-156def4
Show Feed: https://feed.podbean.com/hackingthegrepson/feed.xml
Show Home: https://hackingthegrepson.com#HackingTheGrepson #podcast #programming #development #AdventOfCode #aoc #aoc2023
-
New Hacking the Grepson podcast episode is out!
Hacking the Grepson 060: Advent of Code 2023 Wrapup - Part 2
We finish the remaining days (17-25) in our Advent of Code 2023 Mega Discussion!
Episode Link: https://www.podbean.com/eas/pb-niheh-156def4
Show Feed: https://feed.podbean.com/hackingthegrepson/feed.xml
Show Home: https://hackingthegrepson.com#HackingTheGrepson #podcast #programming #development #AdventOfCode #aoc #aoc2023
-
New Hacking the Grepson podcast episode is out!
Hacking the Grepson 060: Advent of Code 2023 Wrapup - Part 2
We finish the remaining days (17-25) in our Advent of Code 2023 Mega Discussion!
Episode Link: https://www.podbean.com/eas/pb-niheh-156def4
Show Feed: https://feed.podbean.com/hackingthegrepson/feed.xml
Show Home: https://hackingthegrepson.com#HackingTheGrepson #podcast #programming #development #AdventOfCode #aoc #aoc2023
-
@lorddimwit any struct that only consists of comparables (ints, strings, arrays) can be used as map key. And it’s faster than any bytes-converting hash function that I tried in userland (gob, jsoniter). For example, to speed up one of my #aoc2023 solutions I converted an []int slice field to a fixed size [32]int field and was able to use the parent struct as map key for a 5x speedboost.
-
@lorddimwit any struct that only consists of comparables (ints, strings, arrays) can be used as map key. And it’s faster than any bytes-converting hash function that I tried in userland (gob, jsoniter). For example, to speed up one of my #aoc2023 solutions I converted an []int slice field to a fixed size [32]int field and was able to use the parent struct as map key for a 5x speedboost.
-
@lorddimwit any struct that only consists of comparables (ints, strings, arrays) can be used as map key. And it’s faster than any bytes-converting hash function that I tried in userland (gob, jsoniter). For example, to speed up one of my #aoc2023 solutions I converted an []int slice field to a fixed size [32]int field and was able to use the parent struct as map key for a 5x speedboost.
-
@lorddimwit any struct that only consists of comparables (ints, strings, arrays) can be used as map key. And it’s faster than any bytes-converting hash function that I tried in userland (gob, jsoniter). For example, to speed up one of my #aoc2023 solutions I converted an []int slice field to a fixed size [32]int field and was able to use the parent struct as map key for a 5x speedboost.
-
@lorddimwit any struct that only consists of comparables (ints, strings, arrays) can be used as map key. And it’s faster than any bytes-converting hash function that I tried in userland (gob, jsoniter). For example, to speed up one of my #aoc2023 solutions I converted an []int slice field to a fixed size [32]int field and was able to use the parent struct as map key for a 5x speedboost.
-
New Hacking the Grepson podcast episode is out!
Hacking the Grepson 059: Advent of Code 2023 Wrapup - Part 1
Matt and Mike and a special guest discuss Advent of Code 2023, Days 11 - 16.
Episode Link: https://www.podbean.com/eas/pb-xevqk-155a5e1
Show Feed: https://feed.podbean.com/hackingthegrepson/feed.xml
Show Home: https://hackingthegrepson.com#HackingTheGrepson #podcast #programming #development #AdventOfCode #aoc #aoc2023
-
New Hacking the Grepson podcast episode is out!
Hacking the Grepson 059: Advent of Code 2023 Wrapup - Part 1
Matt and Mike and a special guest discuss Advent of Code 2023, Days 11 - 16.
Episode Link: https://www.podbean.com/eas/pb-xevqk-155a5e1
Show Feed: https://feed.podbean.com/hackingthegrepson/feed.xml
Show Home: https://hackingthegrepson.com#HackingTheGrepson #podcast #programming #development #AdventOfCode #aoc #aoc2023
-
New Hacking the Grepson podcast episode is out!
Hacking the Grepson 059: Advent of Code 2023 Wrapup - Part 1
Matt and Mike and a special guest discuss Advent of Code 2023, Days 11 - 16.
Episode Link: https://www.podbean.com/eas/pb-xevqk-155a5e1
Show Feed: https://feed.podbean.com/hackingthegrepson/feed.xml
Show Home: https://hackingthegrepson.com#HackingTheGrepson #podcast #programming #development #AdventOfCode #aoc #aoc2023
-
New Hacking the Grepson podcast episode is out!
Hacking the Grepson 059: Advent of Code 2023 Wrapup - Part 1
Matt and Mike and a special guest discuss Advent of Code 2023, Days 11 - 16.
Episode Link: https://www.podbean.com/eas/pb-xevqk-155a5e1
Show Feed: https://feed.podbean.com/hackingthegrepson/feed.xml
Show Home: https://hackingthegrepson.com#HackingTheGrepson #podcast #programming #development #AdventOfCode #aoc #aoc2023
-
New Hacking the Grepson podcast episode is out!
Hacking the Grepson 059: Advent of Code 2023 Wrapup - Part 1
Matt and Mike and a special guest discuss Advent of Code 2023, Days 11 - 16.
Episode Link: https://www.podbean.com/eas/pb-xevqk-155a5e1
Show Feed: https://feed.podbean.com/hackingthegrepson/feed.xml
Show Home: https://hackingthegrepson.com#HackingTheGrepson #podcast #programming #development #AdventOfCode #aoc #aoc2023
-
Managed to reduce the exec time for 2023 day 23 part 2 from 513 seconds (~8.5 mins) to a stellar 0.310 seconds. Looking back at my commits these were the biggest leaps:
- By far the biggest leap: Shrink unique nodes to <= 64, then instead of a map simply use a `uint64` bitmask for boolean lookups (visited or not). Saves a lot of map accesses & assignments
- Prefer `int` when doing most calculations and comparisons, seems super optimized in the Go runtime -
Managed to reduce the exec time for 2023 day 23 part 2 from 513 seconds (~8.5 mins) to a stellar 0.310 seconds. Looking back at my commits these were the biggest leaps:
- By far the biggest leap: Shrink unique nodes to <= 64, then instead of a map simply use a `uint64` bitmask for boolean lookups (visited or not). Saves a lot of map accesses & assignments
- Prefer `int` when doing most calculations and comparisons, seems super optimized in the Go runtime -
Managed to reduce the exec time for 2023 day 23 part 2 from 513 seconds (~8.5 mins) to a stellar 0.310 seconds. Looking back at my commits these were the biggest leaps:
- By far the biggest leap: Shrink unique nodes to <= 64, then instead of a map simply use a `uint64` bitmask for boolean lookups (visited or not). Saves a lot of map accesses & assignments
- Prefer `int` when doing most calculations and comparisons, seems super optimized in the Go runtime -
Managed to reduce the exec time for 2023 day 23 part 2 from 513 seconds (~8.5 mins) to a stellar 0.310 seconds. Looking back at my commits these were the biggest leaps:
- By far the biggest leap: Shrink unique nodes to <= 64, then instead of a map simply use a `uint64` bitmask for boolean lookups (visited or not). Saves a lot of map accesses & assignments
- Prefer `int` when doing most calculations and comparisons, seems super optimized in the Go runtime -
Managed to reduce the exec time for 2023 day 23 part 2 from 513 seconds (~8.5 mins) to a stellar 0.310 seconds. Looking back at my commits these were the biggest leaps:
- By far the biggest leap: Shrink unique nodes to <= 64, then instead of a map simply use a `uint64` bitmask for boolean lookups (visited or not). Saves a lot of map accesses & assignments
- Prefer `int` when doing most calculations and comparisons, seems super optimized in the Go runtime -
I finally finished both parts of day 1 of #aoc2023 using #zig 😌
part two took time until I noticed that my first solution is missing:
twone
I see the two, but instead of going on with w, my algorithm went on with the n, thus not seeing the one 😃
eventually the algorithm got simpler too because in the wrong first version I had to book keep which characters I'm matching right now,
now everything happens in another nested loop.
once that exits, it continues with the next character. -
That said, running the exact squeezed single-core-optimized algorithm, but for multiple inputs on multiple cores simultaneously with 5 lines of code, feels absolutely awesome! 😎
-
That said, running the exact squeezed single-core-optimized algorithm, but for multiple inputs on multiple cores simultaneously with 5 lines of code, feels absolutely awesome! 😎
-
That said, running the exact squeezed single-core-optimized algorithm, but for multiple inputs on multiple cores simultaneously with 5 lines of code, feels absolutely awesome! 😎
-
That said, running the exact squeezed single-core-optimized algorithm, but for multiple inputs on multiple cores simultaneously with 5 lines of code, feels absolutely awesome! 😎
-
That said, running the exact squeezed single-core-optimized algorithm, but for multiple inputs on multiple cores simultaneously with 5 lines of code, feels absolutely awesome! 😎
-
New Hacking the Grepson podcast episode is out!
Hacking the Grepson 058: Advent of Code 2023 - Day 4 to 10
More discussion about (the now ended) Advent of Code 2023. This time, days 4 through 10.
Episode Link: https://www.podbean.com/eas/pb-af35f-1544792
Show Feed: https://feed.podbean.com/hackingthegrepson/feed.xml
Show Home: https://hackingthegrepson.com#HackingTheGrepson #podcast #programming #development #aoc #aoc2023 #AdventofCode
-
New Hacking the Grepson podcast episode is out!
Hacking the Grepson 058: Advent of Code 2023 - Day 4 to 10
More discussion about (the now ended) Advent of Code 2023. This time, days 4 through 10.
Episode Link: https://www.podbean.com/eas/pb-af35f-1544792
Show Feed: https://feed.podbean.com/hackingthegrepson/feed.xml
Show Home: https://hackingthegrepson.com#HackingTheGrepson #podcast #programming #development #aoc #aoc2023 #AdventofCode
-
New Hacking the Grepson podcast episode is out!
Hacking the Grepson 058: Advent of Code 2023 - Day 4 to 10
More discussion about (the now ended) Advent of Code 2023. This time, days 4 through 10.
Episode Link: https://www.podbean.com/eas/pb-af35f-1544792
Show Feed: https://feed.podbean.com/hackingthegrepson/feed.xml
Show Home: https://hackingthegrepson.com#HackingTheGrepson #podcast #programming #development #aoc #aoc2023 #AdventofCode
-
New Hacking the Grepson podcast episode is out!
Hacking the Grepson 058: Advent of Code 2023 - Day 4 to 10
More discussion about (the now ended) Advent of Code 2023. This time, days 4 through 10.
Episode Link: https://www.podbean.com/eas/pb-af35f-1544792
Show Feed: https://feed.podbean.com/hackingthegrepson/feed.xml
Show Home: https://hackingthegrepson.com#HackingTheGrepson #podcast #programming #development #aoc #aoc2023 #AdventofCode
-
As with all #AdventofCode years, I did not finish #aoc2023. Not even close. I _did_ do better than 2022, so that's something.
I also built a Ruby on #Rails 7 web app to show off my progress, and will be backfilling it with my progress in previous years...eventually.
-
As with all #AdventofCode years, I did not finish #aoc2023. Not even close. I _did_ do better than 2022, so that's something.
I also built a Ruby on #Rails 7 web app to show off my progress, and will be backfilling it with my progress in previous years...eventually.
-
As with all #AdventofCode years, I did not finish #aoc2023. Not even close. I _did_ do better than 2022, so that's something.
I also built a Ruby on #Rails 7 web app to show off my progress, and will be backfilling it with my progress in previous years...eventually.
-
As with all #AdventofCode years, I did not finish #aoc2023. Not even close. I _did_ do better than 2022, so that's something.
I also built a Ruby on #Rails 7 web app to show off my progress, and will be backfilling it with my progress in previous years...eventually.
-
I might be a bit behind, but I've finally completed day 3 of 2023 Advent of Code.
It's slow going, and at times frustrating, because I’m using it as an opportunity to learn a bit of Rust. But at the same time, it is great fun, because I actually feel like I’m slowly getting more comfortable with Rust.
-
I might be a bit behind, but I've finally completed day 3 of 2023 Advent of Code.
It's slow going, and at times frustrating, because I’m using it as an opportunity to learn a bit of Rust. But at the same time, it is great fun, because I actually feel like I’m slowly getting more comfortable with Rust.
-
I might be a bit behind, but I've finally completed day 3 of 2023 Advent of Code.
It's slow going, and at times frustrating, because I’m using it as an opportunity to learn a bit of Rust. But at the same time, it is great fun, because I actually feel like I’m slowly getting more comfortable with Rust.
-
I might be a bit behind, but I've finally completed day 3 of 2023 Advent of Code.
It's slow going, and at times frustrating, because I’m using it as an opportunity to learn a bit of Rust. But at the same time, it is great fun, because I actually feel like I’m slowly getting more comfortable with Rust.
-
I might be a bit behind, but I've finally completed day 3 of 2023 Advent of Code.
It's slow going, and at times frustrating, because I’m using it as an opportunity to learn a bit of Rust. But at the same time, it is great fun, because I actually feel like I’m slowly getting more comfortable with Rust.
-
After doing #AoC2023 I like to think I know #Golang quite well now… I miss ternaries. Although famous, nobody actually uses the go keyword. Pointers are fun, I missed them. Tools for testing and profiling are keys to mastering our craft. I deeply want a sound type system like that of #Rust and #TypeScript.
-
After doing #AoC2023 I like to think I know #Golang quite well now… I miss ternaries. Although famous, nobody actually uses the go keyword. Pointers are fun, I missed them. Tools for testing and profiling are keys to mastering our craft. I deeply want a sound type system like that of #Rust and #TypeScript.
-
After doing #AoC2023 I like to think I know #Golang quite well now… I miss ternaries. Although famous, nobody actually uses the go keyword. Pointers are fun, I missed them. Tools for testing and profiling are keys to mastering our craft. I deeply want a sound type system like that of #Rust and #TypeScript.
-
After doing #AoC2023 I like to think I know #Golang quite well now… I miss ternaries. Although famous, nobody actually uses the go keyword. Pointers are fun, I missed them. Tools for testing and profiling are keys to mastering our craft. I deeply want a sound type system like that of #Rust and #TypeScript.
-
After doing #AoC2023 I like to think I know #Golang quite well now… I miss ternaries. Although famous, nobody actually uses the go keyword. Pointers are fun, I missed them. Tools for testing and profiling are keys to mastering our craft. I deeply want a sound type system like that of #Rust and #TypeScript.
-
D’éirigh liom an t-#AdventOfCode a chríochnú roimh teacht don Bhliain Úr! 🎉
Mo chuid réiteach in #Rust:
-
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:
-
Managed to finish #AdventOfCode before the New Year! 🎉
My solutions in Rust:
-
So, jetzt hier Advent of Code Tag 9 🙈 ...
-
CW: AoC day 24
Whew, finally got a proper solution for part 2 (ie. not just getting the result from wxMaxima).
I tried rounding the result – but that got me a number too high by 1 (my solution produced a float ending in .8). Not sure if that’s some numerical precision problem on f64 or the “official” solution uses floor-rounding.
Anyway, the exercise made me remember some linear algebra and allowed me to learn nalgebra crate basics.
https://gitlab.com/silmeth/advent-of-code-2023/-/blob/main/day-24/src/lib.rs?ref_type=heads#L86