Load site modules...
lade...
random avatar

marcus_grant - Network

Posts Subscribe

I've completed "Restroom Redoubt" - Day 14 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/14What a cool...

https://fosstodon.org/@marcus_gr...

I've completed "Restroom Redoubt" - Day 14 - Advent of Code 2024 adventofcode.com/2024/day/14
What a cool problem today. I got to use my Grid and Position template classes I made to speed up development. And the solution isn’t easily done with LLMs. In fact you need to step through iterations yourself to find an Easter egg. I did some statistical analysis on each grid iteration to guess where it happens so i don’t have to wait so long. Here’s my solutions. github.com/marcus-grant/advent

14.12.2024 17:19I've completed "Restroom Redoubt" - Day 14 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/14What a cool...
https://fosstodon.org/@marcus_gr...

I've completed "Claw Contraption" - Day 13 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/13Went into...

https://fosstodon.org/@marcus_gr...

I've completed "Claw Contraption" - Day 13 - Advent of Code 2024 adventofcode.com/2024/day/13

Went into this one thinking I was hot shit because I know basic linear algebra and could use numpy for quick elegant solution. LOL, humbled. Watch out for floating point errors.

13.12.2024 21:46I've completed "Claw Contraption" - Day 13 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/13Went into...
https://fosstodon.org/@marcus_gr...

I just completed "Garden Groups" - Day 12 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/12Phew!!!!!That...

https://fosstodon.org/@marcus_gr...

I just completed "Garden Groups" - Day 12 - Advent of Code 2024 adventofcode.com/2024/day/12

Phew!!!!!

That was a tough one until I started over with memories of my days. I used because, given the right kernel matrix, you can detect edges, and sides in a 2D grid of features.

12.12.2024 20:48I just completed "Garden Groups" - Day 12 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/12Phew!!!!!That...
https://fosstodon.org/@marcus_gr...

I've completed "Plutonian Pebbles" - Day 11 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/11Not too...

https://fosstodon.org/@marcus_gr...

I've completed "Plutonian Pebbles" - Day 11 - Advent of Code 2024 adventofcode.com/2024/day/11

Not too bad, just make sure you think about what data structure you use, out of memory errors are a real possibility here.

11.12.2024 18:27I've completed "Plutonian Pebbles" - Day 11 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/11Not too...
https://fosstodon.org/@marcus_gr...

Solution hints to Advent of Code Day 10I've completed "Hoof It" - Day 10 - Advent of Code 2024 #AdventOfCode...

https://fosstodon.org/@marcus_gr...

Solution hints to Advent of Code Day 10


I've completed "Hoof It" - Day 10 - Advent of Code 2024 adventofcode.com/2024/day/10

Not too bad, just use a BFS traversal with some helper functions and this problem becomes much easier.

10.12.2024 15:25Solution hints to Advent of Code Day 10I've completed "Hoof It" - Day 10 - Advent of Code 2024 #AdventOfCode...
https://fosstodon.org/@marcus_gr...

I just completed "Bridge Repair" - Day 7 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/7Yesterday was...

https://fosstodon.org/@marcus_gr...

I just completed "Bridge Repair" - Day 7 - Advent of Code 2024 adventofcode.com/2024/day/7

Yesterday was awful, the advent is scaling complexity too quickly. Certainly faster than previous years, even last year which scaled quite quickly. Thankfully this one wasn't too bad using DP.

7.12.2024 16:14I just completed "Bridge Repair" - Day 7 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/7Yesterday was...
https://fosstodon.org/@marcus_gr...

I've completed "Mull It Over" - Day 3 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/3I won't even...

https://fosstodon.org/@marcus_gr...

I've completed "Mull It Over" - Day 3 - Advent of Code 2024 adventofcode.com/2024/day/3

I won't even hide this one behind a CW,

JUST USE SOME REGEX

You'll thank me later, it's not worth doing this one with explicit string manipulation.

3.12.2024 15:01I've completed "Mull It Over" - Day 3 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/3I won't even...
https://fosstodon.org/@marcus_gr...

Advent of Code Day 2 SolutionI've completed "Red-Nosed Reports" - Day 2 - Advent of Code 2024 #AdventOfCode...

https://fosstodon.org/@marcus_gr...

Advent of Code Day 2 Solution


I've completed "Red-Nosed Reports" - Day 2 - Advent of Code 2024 adventofcode.com/2024/day/2

Should've been an hour or less, but man, I get caught up so easily in not reading some tiny detail about the problem I'm solving. When modifying part 1's solution in part 2, remember a report is "SAFE" if ANY removal of one value in the report results in the report being safe with the same rules as part 1. It doesn't matter which value.

2.12.2024 14:05Advent of Code Day 2 SolutionI've completed "Red-Nosed Reports" - Day 2 - Advent of Code 2024 #AdventOfCode...
https://fosstodon.org/@marcus_gr...

I just completed "Historian Hysteria" - Day 1 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/1Glad that it...

https://fosstodon.org/@marcus_gr...

I just completed "Historian Hysteria" - Day 1 - Advent of Code 2024 adventofcode.com/2024/day/1

Glad that it seems like they've adjusted how quickly difficulty grows this year I might actually have time to finish this

1.12.2024 16:58I just completed "Historian Hysteria" - Day 1 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/1Glad that it...
https://fosstodon.org/@marcus_gr...

https://news.ycombinator.com/item?id=42028873 Really cool paper on SPANN. A way to use nearest neighbour algorithms to perform...

https://fosstodon.org/@marcus_gr...

news.ycombinator.com/item?id=4 Really cool paper on SPANN. A way to use nearest neighbour algorithms to perform insanely fast searches on huge data sets. It stores nearest neighbour positions in tensor space for the data sets in memory and then all the actual content stays on disk. With just 64GB RAM they manage to recall any part of 2.6TB of data on average in just under 1 millisecond

2.11.2024 22:58https://news.ycombinator.com/item?id=42028873 Really cool paper on SPANN. A way to use nearest neighbour algorithms to perform...
https://fosstodon.org/@marcus_gr...

https://arstechnica.com/security/2024/10/ai-chatbots-can-read-and-write-invisible-text-creating-an-ideal-covert-channel/ Really clever way...

https://fosstodon.org/@marcus_gr...

arstechnica.com/security/2024/ Really clever way to inject text the will detect but the person copy and pasting might miss. Brings up a lot of questions how offensive and defensive prompt injection will develop

15.10.2024 15:40https://arstechnica.com/security/2024/10/ai-chatbots-can-read-and-write-invisible-text-creating-an-ideal-covert-channel/ Really clever way...
https://fosstodon.org/@marcus_gr...

Just goes to show that in #F1 preseason testing isn’t terribly informative. Can’t wait till tomorrow when we get the first real...

https://fosstodon.org/@marcus_gr...

Just goes to show that in preseason testing isn’t terribly informative. Can’t wait till tomorrow when we get the first real comparison of performance (single lap, not pace)

29.2.2024 16:47Just goes to show that in #F1 preseason testing isn’t terribly informative. Can’t wait till tomorrow when we get the first real...
https://fosstodon.org/@marcus_gr...

Happy #newyear #Fediverse one of the better years in recent memory. Since 2016 I don’t immediately want to forget this one, unlike...

https://fosstodon.org/@marcus_gr...

Happy one of the better years in recent memory. Since 2016 I don’t immediately want to forget this one, unlike basically every year since

31.12.2023 22:56Happy #newyear #Fediverse one of the better years in recent memory. Since 2016 I don’t immediately want to forget this one, unlike...
https://fosstodon.org/@marcus_gr...

I just completed "Mirage Maintenance" - Day 9 - Advent of Code 2023 #AdventOfCode https://adventofcode.com/2023/day/9Not too bad,...

https://fosstodon.org/@marcus_gr...

I just completed "Mirage Maintenance" - Day 9 - Advent of Code 2023 adventofcode.com/2023/day/9

Not too bad, gets especially easy once you realize differentials are involved.

9.12.2023 13:54I just completed "Mirage Maintenance" - Day 9 - Advent of Code 2023 #AdventOfCode https://adventofcode.com/2023/day/9Not too bad,...
https://fosstodon.org/@marcus_gr...

I've completed "Camel Cards" - Day 7 - Advent of Code 2023 #AdventOfCode https://adventofcode.com/2023/day/7Oh man this one...

https://fosstodon.org/@marcus_gr...

I've completed "Camel Cards" - Day 7 - Advent of Code 2023 adventofcode.com/2023/day/7

Oh man this one was to test for and there's tons of little gotchas along the way to the answer

8.12.2023 18:37I've completed "Camel Cards" - Day 7 - Advent of Code 2023 #AdventOfCode https://adventofcode.com/2023/day/7Oh man this one...
https://fosstodon.org/@marcus_gr...

Spoilers for "Wait For It" - Day 6 - Advent of Code 2023This was one of the easier ones so far. Usually the more math heavy ones...

https://fosstodon.org/@marcus_gr...

Spoilers for "Wait For It" - Day 6 - Advent of Code 2023


This was one of the easier ones so far. Usually the more math heavy ones take less time because there's less wrangling of complicated data structures.

Just make sure you look at the values for distance travelled for different possible charge times. They follow a pattern, with a maximum. Resemble anything? A parabola perhaps?

I just completed "Wait For It" - Day 6 - Advent of Code 2023 adventofcode.com/2023/day/6

6.12.2023 19:50Spoilers for "Wait For It" - Day 6 - Advent of Code 2023This was one of the easier ones so far. Usually the more math heavy ones...
https://fosstodon.org/@marcus_gr...

Hint, calculate all intervals

https://fosstodon.org/@marcus_gr...

Hint, calculate all intervals

5.12.2023 21:42Hint, calculate all intervals
https://fosstodon.org/@marcus_gr...

I just completed "If You Give A Seed A Fertilizer" - Day 5 - Advent of Code 2023 #AdventOfCode...

https://fosstodon.org/@marcus_gr...

I just completed "If You Give A Seed A Fertilizer" - Day 5 - Advent of Code 2023 adventofcode.com/2023/day/5

Careful with this one, you could easily thrash your swap space if you try the naive approach

5.12.2023 21:20I just completed "If You Give A Seed A Fertilizer" - Day 5 - Advent of Code 2023 #AdventOfCode...
https://fosstodon.org/@marcus_gr...

I've completed "Gear Ratios" - Day 3 - Advent of Code 2023 #AdventOfCode https://adventofcode.com/2023/day/3Holy crap this one...

https://fosstodon.org/@marcus_gr...

I've completed "Gear Ratios" - Day 3 - Advent of Code 2023 adventofcode.com/2023/day/3

Holy crap this one was annoying to debug

4.12.2023 11:03I've completed "Gear Ratios" - Day 3 - Advent of Code 2023 #AdventOfCode https://adventofcode.com/2023/day/3Holy crap this one...
https://fosstodon.org/@marcus_gr...

I just completed "Cube Conundrum" - Day 2 - Advent of Code 2023 #AdventOfCode https://adventofcode.com/2023/day/2Honestly with all...

https://fosstodon.org/@marcus_gr...

I just completed "Cube Conundrum" - Day 2 - Advent of Code 2023 adventofcode.com/2023/day/2

Honestly with all the abstract representations of data needed to complete these I think I need to start creating data classes that name things to go faster in these solutions.

2.12.2023 18:06I just completed "Cube Conundrum" - Day 2 - Advent of Code 2023 #AdventOfCode https://adventofcode.com/2023/day/2Honestly with all...
https://fosstodon.org/@marcus_gr...
Subscribe
To add news/posts to your profile here, you must add a link to a RSS-Feed to your webfinger. One example how you can do this is to join Fediverse City.
         
Webfan Website Badge
Nutzungsbedingungen   Datenschutzerklärung  Impressum
Webfan | @Web pages | Fediverse Members

⬆️

⬇️