Duncan Booth
kupuguy.bsky.social
Duncan Booth
@kupuguy.bsky.social
Programmer, loves Food, Electric Vehicles and taking photos.
Congratulations to all those wanting independence in Scotland and Wales. According to androidpolice you seem to have achieved it.
May 21, 2025 at 6:26 AM
I figured out how to beat the RNG playing #blueprince.
May 20, 2025 at 3:26 PM
Playing #BluePrince today, got to room 46 for the first time.

First time in the antechamber was on Day 9 but didn't know what to do next and it then took me until Day 26 to get back and continue to room 46.
May 3, 2025 at 8:03 PM
Playing Blue Prince and I've got 1 footstep remaining. When I go through the door there's approximately 1 second until all fades to black. But there's an orange, and the room beyond that is the dining room. Did I grab the orange in time to survive?
April 27, 2025 at 4:47 PM
Reposted by Duncan Booth
To celebrate last week's launch of Blue Prince we're running a GIVEAWAY! 8 lucky folks could win a copy of Blue Prince on Steam, Xbox or Playstation. To enter follow our account, like and share this post. Good luck. Winners will be announced on April 28th.
April 18, 2025 at 2:01 PM
Watched today's partial eclipse with my Dwarf II.
Unfortunately I didn't get all of it as I forgot to use an external battery pack and timelapse mode really drains the battery hard. Still I'm happy with what I got.
#dwarflab #dwarf2 #dwarfii

youtu.be/0teaVh8cscc
Eclipse March 2025
YouTube video by Duncan Booth
youtu.be
March 29, 2025 at 12:36 PM
@binarydinosaurs.co.uk I tripped over your page about the Torch Disk Pack where you say it ran a slightly modified CP/M. Nope, CP/N contained no code from CP/M; it was an almost fully binary compatible clone. For apps where compatibility broke we wrote shims (mostly terminal emulators).
March 18, 2025 at 10:31 AM
Reposted by Duncan Booth
petition.parliament.uk/petitions/70... UK petition is taking off to stop any foreign influence on UK politics (like Musk). Please consider signing & reposting. @alastaircampbell2.bsky.social @eddavey.libdems.org.uk @peterstefanovic.bsky.social @carolvorderman.bsky.social @deborahmeaden.bsky.social
January 26, 2025 at 8:14 AM
Reposted by Duncan Booth
25 ENL and 6 RES joined us for FS Chelmsford on the 4th January 2025. Great company, portal hunt, mission banner fun and #beergress at the restock portal. We look forward to seeing you at the next event. #NIA #niantic #ingressfs #fevgames
January 4, 2025 at 2:25 PM
I just completed all 25 days of Advent of Code 2024! #AdventOfCode adventofcode.com

Merry Christmas everyone!
Advent of Code 2024
adventofcode.com
December 25, 2024 at 7:14 AM
I've completed "Crossed Wires" - Day 24 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/24 #python
Part 2 solution below is a mess. I generate the expected expressions and when one fails try to fix it by switching wires. Works for my data but not really general.
pastebin.com/EVPesZji
Day 24 - Advent of Code 2024
adventofcode.com
December 24, 2024 at 2:45 PM
I've completed "LAN Party" - Day 23 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/23 #python

Brute-force work for this (even though a fast algorithm exists). First attempt took about 45 seconds but some minor changes brings that down to 7 seconds.
pastebin.com/bDrLDVJW
Day 23 - Advent of Code 2024
adventofcode.com
December 23, 2024 at 8:30 AM
I've completed "Monkey Market" - Day 22 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/22 #python

I don't think there were ny fancy optimisations, just emulated all the steps. collections.Counter made the last part nice and clean.

pastebin.com/U6Cf3cB3
Day 22 - Advent of Code 2024
adventofcode.com
December 22, 2024 at 12:10 PM
I've completed "Keypad Conundrum" - Day 21 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/21 #python

I don't know why I found this one so hard but I did. Given I was asleep for the first 3 hours rank is ok 4931/2962; yesterday woke earlier and was 4711/2966.

pastebin.com/75RTGdZF
Day 21 - Advent of Code 2024
adventofcode.com
December 21, 2024 at 12:36 PM
I've completed "Race Condition" - Day 20 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/20 #python
What sounded at first reading like a scary problem actually pretty straightfoward.
pastebin.com/7bfP4cVw
Day 20 - Advent of Code 2024
adventofcode.com
December 20, 2024 at 7:31 AM
I've completed "Linen Layout" - Day 19 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/19 #python

Python's cache decorator almost makes this feel like cheating. Almost.

pastebin.com/1M8NTsCC
Day 19 - Advent of Code 2024
adventofcode.com
December 19, 2024 at 9:33 AM
I've completed "Chronospatial Computer" - Day 17 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/17 #python
Another 2d path-finder today. This time with a binary chop search for part 2.

pastebin.com/4yKzhT2a
Day 17 - Advent of Code 2024
adventofcode.com
December 18, 2024 at 6:59 AM
I've completed "Chronospatial Computer" - Day 17 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/17 #python
Part 2 needed a little bit of thought but surprisingly simple once I figured out how to approach it.
pastebin.com/zGsRBHcV
Day 17 - Advent of Code 2024
adventofcode.com
December 17, 2024 at 8:58 AM
I've completed "Reindeer Maze" - Day 16 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/16 #python
Not too bad today. Complex coords make moving in a direction and turning left/right trivial. Forward BFS to find costs. Run backwards to find the paths.
pastebin.com/39PSksZb
Day 16 - Advent of Code 2024
adventofcode.com
December 16, 2024 at 7:28 AM
I've completed "Restroom Redoubt" - Day 14 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/14 #python

Part 2 was hard but I found a solution that gets the most likely answer from 10403 possibilities in under 6 seconds.

pastebin.com/sXP1KmT2
Day 14 - Advent of Code 2024
adventofcode.com
December 14, 2024 at 10:22 AM
I've completed Part One of "Claw Contraption" - Day 13 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/13 #python

Day 13 gave me a headache. Solved it with integer division then checking if it was a valid solution. Python EAFP wins every time!

github.com/kupuguy/aoc2...
Day 13 - Advent of Code 2024
adventofcode.com
December 13, 2024 at 9:22 AM
I've completed "Garden Groups" - Day 12 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/12 #python

Had to think a bit about part 2 until I realised number of sides is same as number of corners.

github.com/kupuguy/aoc2...
Day 12 - Advent of Code 2024
adventofcode.com
December 12, 2024 at 9:05 AM
I've completed "Plutonian Pebbles" - Day 11 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/11 #python

Very rare day when the part1 solution just worked for part2 as well. Darn that's a big number.

pastebin.com/WvkR73MZ
Day 11 - Advent of Code 2024
adventofcode.com
December 11, 2024 at 6:57 AM
I've completed "Hoof It" - Day 10 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/10 #python

Pleasantly straightforward today. dict[complex,int] for the map then just breadth first search of reachable points at each level.

[Paste](pastebin.com/ZkarxUxn)
Day 10 - Advent of Code 2024
adventofcode.com
December 10, 2024 at 1:50 PM
I've completed "Disk Fragmenter" - Day 9 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/9 #Python

My solution and thought process are at www.reddit.com/r/adventofco...

I'm fairly happy with how it went today, ended up with a reasonably efficient solution.
Day 9 - Advent of Code 2024
adventofcode.com
December 9, 2024 at 11:05 AM