👀 — Swiss⚡️Italian 🐍 @pyconit organiser 🐚 @ThePSF Fellow - @patrick@patrick.wtf — Checkout @strawberry_gql 🍓 @patrick.wtf on bsky

London, England
Joined January 2008
Here's my handle on other social networks 😉 @patrick@farbun.social
2
1
17
Patrick Arminio 🍓 retweeted
"It has never been easier to build an MVP and in turn, it has never been harder to keep focus. When new features always feel like they're just a prompt away, feature creep feels like a never ending battle. Being disciplined is more important than ever." I really feel this one!
6 months ago @Sentry acquired our company & since then I've been experimenting a lot with AI I wrote up some of my thoughts on vibe coding & dealing with "AiDHD" josh.ing/blog/aidhd
26
70
9
1,013
Patrick Arminio 🍓 retweeted
Here's FastAPI 0.121.0 🍰 In case you needed to exit early from dependencies with yield, you can now opt in with: Depends(some_func, scope="function") fastapi.tiangolo.com/tutoria…
Patrick Arminio 🍓 retweeted
polar is about to become your startup's best friend
listen up with polar, you have a perfect overview of your business revenue but what if... we gave you a perfect overview of your costs, margins & profits on a customer-level we are about to reimagine how you keep track of llm costs, customer margins & business profitability
3
1
107
Patrick Arminio 🍓 retweeted
Agreed! Django desperately needs a built-in method for doing background work. I think it will unlock so much for so many projects that aren't prepared to take on the complexity of setting up something like Celery.
The new Task system is going to be great for so many users
2
1
1
29
Patrick Arminio 🍓 retweeted
RE: Stacked Diffs on @GitHub After discussion w @ttaylorr_b, we can implement stacked PRs/PR groups already (in fact we kind of do with Copilot) but restacking (automatically fanning out changes from the bottom of the the stack upwards) would be wildly inefficient. To do it right, we need to migrate @GitHub to use git reftables instead of packed-refs so that multi-ref updates / restacking will be O(n) instead of ngmi. This will take some time but has been greenlit.
73
70
47
1,467
Patrick Arminio 🍓 retweeted
Here's @savostrowski's first feature in Typer 😎 Suggest commands on error 🙋 Available in Typer 0.20.0 just released 🎉 Read the new docs: typer.tiangolo.com/tutorial/…
1
3
58
For database migrations files do you prefer sequential naming (like 0001_initial) or date based naming (like 202510191600_initial) or something else? 👀
51% 0001_initial.py
45% 202510191600_initial.py
4% other (reply)
255 votes • Final results
51% 0001_initial.py
45% 202510191600_initial.py
4% other (reply)
255 votes • Final results
4
2
6
Patrick Arminio 🍓 retweeted
This year I've helped three amazing senior/founding product designers find great new full-time gigs. If you're actively looking (or just quietly open) for your next role, shoot me a DM and I'll keep my eye out for you. 100% private.
...okay one more.
12
8
165
Patrick Arminio 🍓 retweeted
ok been on a mac studio for 2 months after 15 years of arch linux - here's some takeaways note i still remote into arch for all my work i used to use a 5K ultra wide - on linux you could split it into virtual displays i split it into one 4k display and the remainder was a secondary area, could window manage each independently this is impossible on macOS so the ultra wide was useless - eventually swapped to a 6K regular monitor i settled on aerospace for window management, it's the best i found but it's still rough, macos really does not want you using it this way so much of macos is not customizable i had trouble turning off all animations so a few things still feel slow on the plus side the whole iphone + airpod + mac combo is insane - it changed so many of my habits to the point where i can't imagine giving it up i also use my iphone as my desk camera now, another thing that works seamlessly on mac all media stuff got easier, video recording, editing, audio - even simplified my physical setup in a few places raycast is great - linux sorely missing something as polished. there's a lot of very polished mac apps without a linux equivalent overall...i'm frustrated. there's a lot of good but it's not a slam dunk and my system doesn't feel as optimal as it used to but i also don't wanna give up the positives to go back to linux i feel like the gap is close and apple could close them...but i have no faith they care about any of this stuff
Patrick Arminio 🍓 retweeted
Here's FastAPI 0.119.0 🚀 With support for both @pydantic v2 and v1 on the same app, at the same time 🤯 This is just so you can migrate to Pydantic v2 if you haven't done it yet, here's your (last) chance! 🤓 Pydantic v1 is now deprecated ⛔️ Read more fastapi.tiangolo.com/how-to/…
2
19
2
203
Patrick Arminio 🍓 retweeted
Heard from a company in London: We have found the UK visa sponsorship process to be excellent - we’ve sponsored several visas for super talented engineers. Process takes jut a couple of weeks and costs £5-10K. One of the advantages of building in London over US!
80
57
28
1,239
it's actually refreshing to see many nice tweets about the release of Python 3.14 🥰
2
Patrick Arminio 🍓 retweeted
3 ways that Python lazy imports help me: 1/ CLI tools. Keep startup < 1ms so that most commands are fast, hide all the slow libraries in code paths that are already slow. 2/ @modal style distributed training. I don’t want to load or run torch & friends locally, but need it to run on my remote machines. I use local imports right now and it’s a little gross. 3/ Notebooks. Your imports should all be at the top but it’s annoying when it’s slow and gets in the way of running another cell.
I don't understand this – why would you import a package into your code that you weren't using?
3
6
1
54
Patrick Arminio 🍓 retweeted
Gentlemen I need your full attention. Python is introducing lazy imports. I repeat. Python is introducing lazy imports. inb4 the flood of `treewide: adopt lazy imports` +123,244 PRs
So it turns out people who care about performance already turn all Python imports into local ones under the hood: both Hudson River Trading, and Meta's production python auto lazy import:
28
55
17
1,161
Patrick Arminio 🍓 retweeted
Here's another quick FastAPI bug fix release, 0.118.2 🚀 This fixes a use case with Pydantic models using discriminated unions in the body. 🐛 (If you don't understand or use that, no need to worry about it either 😎) Thanks @fvoron! 🙌 And thanks @patrick91 and Yurii! 🍰
3
10
93
Patrick Arminio 🍓 retweeted
Here's FastAPI 0.118.1, with compatibility for the latest @pydantic. 🚀 This one had the combined effort of the community, the @pydantic team, and the @FastAPI team, all together. 🙌 github.com/fastapi/fastapi
5
25
2
215
Patrick Arminio 🍓 retweeted
This is funny but I'm also so sorry to trigger this during a talk. This is making me wonder if I can reliably detect when the display is being mirrored and delay update notices... Thanks for using Ghostty, though!
the Ghostty update showing up at @OpenAI dev day 😂
96
70
14
5,584
Patrick Arminio 🍓 retweeted
had a lot of fun sharing the story of how i launched Orbit at @RamenClubHQ a few weeks back for Shipaton London @RevenueCat full talk on youtube, link below!
4
5
92
Patrick Arminio 🍓 retweeted
Python in Zed is finally… fun 😎 • basedpyright by default • auto-activated venvs + per-project interpreters • monorepo-ready (multi-venv? yup) • run/launch configs that don’t fight you Bonus: ty + Ruff, out of the box (@astral_sh)
26
47
5
1,015