ben
banner
clews.id.au
ben
@clews.id.au
Cloud Native Software Engineer in Hobart, Tasmania || Python & Golang || Kubernetes & GCP.

https://clews.id.au/
Advent of Code sent me down a rabbit hole and I rediscovered monotonic stacks. They’re great for “pick the best K items while maintaining order” problems.

clews.id.au/til/monotoni...

#AdventOfCode
December 5, 2025 at 8:00 AM
Advent of Code taught me that Rust’s % operator isn’t modulo - it is remainder. For wrap-around math I ended up using rem_euclid() instead.

clews.id.au/til/rust-rem...

#Rust #AdventOfCode
December 5, 2025 at 7:59 AM
Day 4 - "Cafeteria" - ⭐️⭐️

github.com/bclews/adven...

#AdventOfCode
December 5, 2025 at 7:57 AM
Quick tip I stumbled upon: `python -m py_compile ` validates syntax without running code.

clews.id.au/til/python-s...

#Python
December 5, 2025 at 12:59 AM
So I was tired of installing massive C library dependencies just for type checking. Turns out Python's import system doesn't care if packages are real. Just create stub directories with type signatures and Pyright is happy. Fast setup, no bloat.

clews.id.au/til/type-stu...

#Python #TypeChecking
December 5, 2025 at 12:57 AM
Day 4 - "Printing Department" - ⭐️⭐️

github.com/bclews/adven...

#AdventOfCode
December 5, 2025 at 12:34 AM
Day 3 - "Lobby" - ⭐️⭐️

github.com/bclews/adven...

#AdventOfCode
December 3, 2025 at 11:07 PM
Day 2 - "Gift Shop" - ⭐️⭐️

github.com/bclews/adven...

#AdventOfCode
December 2, 2025 at 11:17 PM
Day 1 - "Secret Entrance" - ⭐️⭐️

github.com/bclews/adven...

#AdventOfCode
December 2, 2025 at 2:15 AM
You pour months into a project, and then it's gone. What's left?

I wrote about the lessons from the wreckage and the art of strategic indifference:

clews.id.au/posts/cancel...
Cancelled Projects and the Art of Strategic Indifference | Ben Clews
Blog
clews.id.au
September 25, 2025 at 3:34 AM
Three days, one iPhone, and a BERT model. Challenge accepted!

Blog post here:
clews.id.au/posts/runnin...
April 4, 2025 at 5:29 AM
Well, shit. This is amazing.
brilliantcrank.com/eject-disk/

"You’re not burned out because you’re weak.

You’re burned out because you’ve been relevant, valuable, over-functioning for too long—inside systems that reward your ability to endure dysfunction and call it leadership."
Eject disk.
A manifesto for everyone stuck in the system that keeps crashing you. What follows here isn’t a framework or a fix—it’s a declaration. A reckoning. And a call to return to ourselves before we try to ...
brilliantcrank.com
April 3, 2025 at 2:43 AM
TIL: Installing PostGIS on PostgreSQL 16 (M1 Mac) isn't as straightforward as it seems. Wrote up my debugging notes: clews.id.au/posts/settin... #postgres #PostGIS
February 3, 2025 at 5:26 AM
🎄✨ Just finished my write-up on tackling Advent of Code 2024 💻💥

Check out my journey, lessons learned, and GitHub solutions here: clews.id.au/posts/advent...

#AdventOfCode
January 27, 2025 at 10:52 PM
I just completed all 25 days of Advent of Code 2024... Better late than never! #AdventOfCode
January 20, 2025 at 10:55 AM
Day 25 - "Code Chronicle" - ⭐️⭐️

github.com/bclews/adven...

#AdventOfCode
January 20, 2025 at 10:45 AM
Day 24 - "Crossed Wires" - ⭐️⭐️

github.com/bclews/adven...

#AdventOfCode
January 20, 2025 at 10:22 AM
Day 23 - "LAN Party" - ⭐️⭐️

github.com/bclews/adven...

#AdventOfCode
January 5, 2025 at 4:34 AM
Day 22 - "Monkey Market" - ⭐️⭐️

github.com/bclews/adven...

#AdventOfCode
January 5, 2025 at 4:07 AM
Day 21 - "Keypad Conundrum" - ⭐️⭐️

github.com/bclews/adven...

#AdventOfCode
January 4, 2025 at 7:28 AM
Day 20 - "Race Condition" - ⭐️⭐️

github.com/bclews/adven...

#AdventOfCode
December 28, 2024 at 5:20 AM
Day 19 - "Linen Layout" - ⭐️⭐️

github.com/bclews/adven...

#AdventOfCode
December 23, 2024 at 11:29 PM
Day 18 - "RAM Run" - ⭐️⭐️

github.com/bclews/adven...

#AdventOfCode
December 23, 2024 at 11:35 AM
Doing the #AdventOfCode this year has made me realise something: brute forcing is my go-to move—like a weird form of procrastination. I dive in, let the computer grind it out, and avoid actually thinking things through. Then impatience hits, and I’m like, ‘Okay, time to *actually* solve this thing.’
December 22, 2024 at 10:48 AM
Day 17 - "Chronospatial Computer" - ⭐️⭐️

github.com/bclews/adven...

#AdventOfCode
December 22, 2024 at 10:46 AM