
I'm a developer from Melbourne working at Octopus Energy. I'm also a former core developer for @djangoproject where I primarily contributed to the ORM.
Melbourne, Australia
Joined March 2009
- Tweets1.7K
- Following229
- Followers249
- Likes884
Pinned Tweet
Proposal to name a ternary return "returnary":
`return thing.other if thing else None`
2
4
C'mon @code let us have wider command and file selector palettes! Just over 4 years now 😢 github.com/microsoft/vscode/… #vscode
30
Thought I'd give UNLOGGED postgres tables a try when running Django tests, but saw likely slow downs rather than speed ups. Sharing in case anyone else wants to experiment: gist.github.com/jarshwah/2b4…
#django
1
3
137
The “human shield” discourse here is fucking wild. I mean - we accept without question that SWAT teams won’t just blow up a building with hostages inside. Of course they wouldn’t!
64
Hey @EpicGames due to refund years ago for unintentional purchases of fortnite consumables, my sons account is negative balance (of about $1000). He wants to pay you money for battle passes, but support tells me the only way is to settle the $1000 balance. Can this not be reset?
1
1
122
Reckon mypy is the next in line for the @astral_sh treatment? You'd literally give me back 6gb of memory and years of my life. #ruff #astral #python
2
7
552
A co-worker switched our python formatter from black to ruff yesterday, and everyone is impressed!
2
5
331
Our CI pipeline takes longer to restore the cache than it does to format check approximately 5M lines of code. So much so that we combined our ruff lint and ruff format jobs into a single job.
Black used to take 10 *minutes*.
Next up - github.com/astral-sh/uv . This is just about to land in our local environment as a parallel option. Once we're happy, CI and then deployments.
I've posted about this before, but a raw install with pip is about 4m30s. UV from scratch is about 50 seconds without cache.
1
2
313
Another celery bashing post? Sure let's go! Long running tasks aren't ACKed during a warm shutdown when using RabbitMQ + acks_late *unless* you disable application [heartbeats](docs.celeryq.dev/en/latest/u…), so you'll often have tasks succeeding twice!
1
75
Hey @Shopify what the fuck is this permission request?? All I want to do is track an order and I can’t without connecting gmail and allowing you to read all my emails and settings?
1
3
111
I still see many folks that aren't yet automating their dotfiles in some way. Most that do seem to use a git repo to manage them.
I switched to github.com/lra/mackup which supports a bunch of standard mac apps out of the box, and syncs your files to a dropbox or drive account.
1
4
314
Getting HTML emails to render correctly cross-browser reminds me of the good ol' days of NOTHING FUCKING WORKING PROPERLY.
Android: fuck you, zoomy!
Edge: fuck you, here's some extra padding
Outlook: float right? da fuq is that
1
4
103
Does anyone actually do TDD? A few folks in interviews have said they “try to” but I think that’s mostly because they think they should. I’ve not (knowingly) met a single person practising TDD. I write code that is easy to test, but never begin with tests.
4
3
240
I've wasted literally seconds, possibly even minutes, of my life looking for the "convert to draft" link on PRs @github - despite the "Ready for review" being a giant honking button at the bottom of a PR.
So.. I'm going to reply to this tweet every time I forget where it is.
1
98




