John Paton
banner
johnpaton.net
John Paton
@johnpaton.net
Dad | 🇨🇦 in 🇳🇱 | ML Platform Engineer

ML(Platform) | Open Source Software | Python | Bouldering | Books (esp Sci-Fi) | Leftism | Toddler Management

Af en toe ook in het Nederlands

https://johnpaton.net
https://github.com/johnpaton
Not me regretting my domain name handle
January 22, 2025 at 4:11 PM
I feel personally attacked
January 22, 2025 at 3:12 PM
The Lazarus Heist Season 2 alternate ending
BBC World Service - The Lazarus Heist
Hackers, North Korea, billions of dollars. Season 2 begins at an ATM, possibly near you
www.bbc.co.uk
January 15, 2025 at 11:59 AM
why would you do this to me
January 7, 2025 at 7:12 PM
Actually one of them is already gone I think
January 7, 2025 at 6:17 PM
I don’t think you can force them to unfollow but I’ve been seeing these accounts getting taken down pretty quickly so probably the best thing to do is just to report
January 7, 2025 at 6:14 PM
Yeah I DM’d them your @, must have mistaken the intention behind your initial enthusiasm

Nah for real they probably work like web crawlers and work their way through the following graph.
January 7, 2025 at 6:14 PM
Nah look at that uninspiring lack of originality

This is a JavaScript job for sure
January 7, 2025 at 5:01 PM
Default values are pretty handy. For everything else there’s ~~Mastercard~~ if statements
December 30, 2024 at 9:11 AM
Welcome aboard! 🚢
December 29, 2024 at 4:29 PM
I tweaked mine a little, it the creation part looks like

if [[ -z $VIRTUAL_ENV || ! -d $VIRTUAL_ENV ]]; then
uv venv --seed
if [[ -f "uv.lock" ]]; then
log_status "Syncing dependencies from uv.lock with \`uv sync\`."
uv sync
fi
fi
December 29, 2024 at 2:22 PM
Nice! I’m also not sure if it’s idiomatic™️ but it works and it’s not too much trouble.

Mind you do need the central direnv config for the uv layout as well

github.com/direnv/diren...
Python
unclutter your .profile. Contribute to direnv/direnv development by creating an account on GitHub.
github.com
December 29, 2024 at 2:21 PM
Figuring out whether a "breaking change" is breaking _for me_
December 19, 2024 at 10:36 AM
Yeah conda is another beast, my old pyenv+virtualenvmanager setup was pretty pain free to covert which is lucky. Just recreated all my venvs inside the target directory
December 15, 2024 at 11:38 AM
But that’s not as elegant as the rest, I admit
December 15, 2024 at 10:37 AM
You can still source ~/.venv/bin/activate from anywhere in a pinch
December 15, 2024 at 10:36 AM
I guess this was easier than the Dependabot update
December 9, 2024 at 7:20 PM