Collecting my attempts to improve at tech, art, and life

2024-08-17

Tags: hackers-town look

Does any of this enlighten, entertain, or otherwise please you? Please consider a Tip. Every little bit helps!

I last updated this page

Activity Log

hackers.town: 2024-08-17 Sat 00:17

Okay took a tiny bit of fiddling, but I got the working files back in working state, and got my tests passing again.

oh look at the time

hackers.town: 2024-08-17 Sat 10:06

Sharing so it’s easier for me to remember: #justfile recipes can take splat arguments.

Means I can do

and that’ll expand to

hackers.town: 2024-08-17 Sat 11:24

writing a test to ensure that no unlinked files go into my site build (kinda important when you have private notes mixed in with the public brain) and couldn’t figure out why it keeps failing on this file and uh oh right because that file’s not linked by any of my pages

good job me

hackers.town: 2024-08-17 Sat 11:33

@jack oh hey you might have a suggestion for this: using pytest’s --pdb flag to launch the debugger on test fail — print debugging is awkward for examining large lists — and I was wondering if there’s a friendlier debugger, with a pytest plugin perhaps?

hackers.town: 2024-08-17 Sat 12:59

Nothing critically private sitting there unlinked that I was able to find. Just 50 or so stray images that have been coming along for the ride in the last several iterations of the site.

hackers.town: 2024-08-17 Sat 13:09

YES

I made a change, expecting my tests to fail. And they did. In the way I expected them to.

So the test writing effort was worth it.

hackers.town: 2024-08-17 Sat 17:12

@nomad exactly!

hackers.town: 2024-08-17 Sat 23:02

Probably not going to do anything with it long-term, but having a little fun with CSS background-image.

blog post with fantasy cloud city image as backdrop for post header

hackers.town: 2024-08-17 Sat 23:04

@adamchainz improvements to pdb would definitely be appreciated. It’s not the worst debugger experience I’ve had, but it contrasts with the rest of the Python experience.