Reading the shell installation script generated by cargo-dist (e.g: to curl install uv: github.com/astral-sh/uv...) is very interesting. It's a course in defensive programming, shell compat gymnastics and how messy the ecosystem is.
And this is still easier than making and signing a package.
08.08.2025 09:35 β π 0 π 0 π¬ 0 π 0
Cursed Knowledge | Immich
Things we wish we didn't know
Immich's log of cursed knowledge learned while building the project
immich.app/cursed-knowl...
Love the idea, and I'm going to implement that in all my future projects, albeit not make it public
08.08.2025 08:58 β π 1 π 0 π¬ 0 π 0
Also notes that if you need recovery yourself, you better need it before those 4 shots are made. And they are likely made early in the day in batch.
07.08.2025 13:58 β π 2 π 0 π¬ 0 π 0
The middle ground would be:
app, routes, conf = App.main_entry_point()
@routes.get()
def endpoint():
....
Which would be a shortcut for:
conf = Config()
app = App(conf)
apps.router.app("where", routes)
With optionally routes.subset()
Routes should not be tied to endpoints.
07.08.2025 13:56 β π 0 π 0 π¬ 0 π 0
Fascinating insight on email 2FA:
news.ycombinator.com/item?id=4482...
07.08.2025 13:41 β π 4 π 1 π¬ 1 π 0
I can't believe I find this gem...
I can't believe I find this gem https://github.com/Rhodiola-vs-Berberine on GitHub of all places. Google doesn't...
Welp, my trial of subreply has been short. This is what the creator of the service posted last:
subreply.com/reply/30294
Too bad, I liked the concept.
07.08.2025 12:23 β π 0 π 0 π¬ 0 π 0
OF did half of that: they own a huge part of their payment infra.
It's harder to do for the card service as it's a lot of partnership you have to secure with a lot of banks, but over 10 years it's doable, and it's certainly super profitable.
07.08.2025 11:13 β π 4 π 0 π¬ 0 π 0
20 years ago, I read an old guy ramble on how he made scripts to move old files into temp archives. I laughed inside. What an old smuck move!
Yet today I wrote cleandesk .sh to move the stuff from my desktop to a daily archive, cleandl .sh to a yearly dl archive.
I apologize old man. You knew.
06.08.2025 11:34 β π 2 π 0 π¬ 0 π 0
foo
foo. GitHub Gist: instantly share code, notes, and snippets.
You know how you can "uv run" python code from a text file using just a URL?
No? Well, you can:
uv run pastebin.com/raw/RrEWSA5F
And since yesterday, you can even run a github gitst:
uv run gist.github.com/charliermars...
06.08.2025 09:44 β π 6 π 0 π¬ 0 π 0
The hiring test that defeated AI
For a few months
Many of us looked for the Grail of a hiring test that defeats AI. I posted a few months ago that I found it, then it went away.
Now I can reveal what it was.
www.bitecode.dev/p/the-hiring...
05.08.2025 15:20 β π 1 π 0 π¬ 0 π 1
You get motivation to try Coq, then rust and then gleam and then zig. And what about Odin, and then Hexa, Nomos, etc. And oh, a weird array language! Plus there is always the temptation to try old stuff too. Awesome time to live, but man, "choosing is refusing" has never been so real
05.08.2025 10:26 β π 1 π 0 π¬ 0 π 0
Datastar
The hypermedia framework.
I'm a big fan of HTMX, but just learned about DataStar (data-star.dev) and I'm intrigued. Has anybody given it a try? What's your take on it?
05.08.2025 10:10 β π 3 π 0 π¬ 1 π 0
PHP 8.5 Adds Pipe Operator: What it means
The PHP Foundation β Supporting, Advancing, and Developing the PHP Language
PHP 8.5 adds pipe operator
thephp.foundation/blog/2025/07...
It's lovely to see how PHP keeps growing. It's far from what it was when I used to code with it in V3. I really thought it would be lost in its bad design, but the core devs kept at it, and it is, indeed, a pretty decent language now.
05.08.2025 08:41 β π 2 π 0 π¬ 0 π 0
asyncio: a library with too many sharp corners
An explanation of some major issues with asyncio.
https://sailor.li/asyncio
05.08.2025 03:15 β π 3 π 2 π¬ 0 π 1
This is indeed infuriating, especially since it's sufficiently close to a real report meaning you can't distinguish it from a real issue without investing time and effort in doing so.
This is taking away precious skilled resources out of a project that helps all humanity.
Parasites.
04.08.2025 09:58 β π 1 π 0 π¬ 0 π 0
What's up Python? Unpacking in Comprehension, Android Wheels, and uv is a big boy now...
July, 2025
What's up Python? Unpacking in Comprehensions, Android Wheels, and uv is a big boy now...
www.bitecode.dev/p/whats-up-p...
01.08.2025 11:53 β π 5 π 1 π¬ 0 π 0
Build a tool with Rust, then integrate it into Python with the amazing PyO3 π¦ π π
25.07.2025 12:27 β π 5 π 2 π¬ 1 π 0
Why This Old Python Performance Trick Doesnβt Matter Anymore
A deep dive into Pythonβs name resolution, bytecode, and how CPython 3.11 quietly made a popular optimization irrelevant.
If you haven't read the excellent "Confessions of a Code Addict" blog, they have a great article right now about why the old "local alias" trick to speed up Python code is not needed anymore:
blog.codingconfessions.com/p/old-python...
01.08.2025 10:30 β π 0 π 0 π¬ 0 π 0
Ah yeah, and loosing hairs, and making noise, and breathing. Those damn humans biologing everywhere.
31.07.2025 08:03 β π 0 π 0 π¬ 0 π 0
This is the proper way, but only if:
- You deal with modern Python. Old systems using src or eggs may have a different experience.
- You deal with installed packaged. It won't work for free with your own or colleagues code if it's not packaged.
30.07.2025 17:29 β π 2 π 0 π¬ 0 π 0
between PEP 649 and free-threading, Python 3.14 is truly my least favorite release in a long time but I guess few are as unlucky as me to be sandwiched with their projects right between two impact zones.
be patient with your maintainers, this is a rough one
30.07.2025 15:47 β π 9 π 1 π¬ 1 π 0
Client Challenge
y'all have no idea how much work on all levels went into this little beta release π
30.07.2025 05:40 β π 4 π 2 π¬ 2 π 0
Bite Code @bitecode
Quality and to-the-point bites about the Python world. And other tech stuff. Get more on bitecode.dev
I'm going to give this SubReply thing a go so you can find me here as well:
subreply.com/bitecode
Subreply is peculiar. It's a very minimalist microblogging platform, no support for image and a very barebones design. Like a cross over between HN and early twitter.
29.07.2025 07:47 β π 0 π 1 π¬ 0 π 0
Description by Claude Sonnet 4: This is a whimsical illustration of a white duck or goose riding a red bicycle. The bird has an orange beak and is positioned on the bike seat, with its orange webbed feet gripping what appears to be chopsticks or utensils near the handlebars. The bicycle has a simple red frame with two wheels, and there are motion lines behind it suggesting movement. The background is a soft blue-gray color, giving the image a clean, minimalist cartoon style. The overall design has a playful, humorous quality to it.
Description by Claude Sonnet 4: This image shows a cute, minimalist illustration of a snowman riding a bicycle. The snowman has a simple design with a round white body, small black dot for an eye, and an orange rectangular nose (likely representing a carrot). The snowman appears to be in motion on a black bicycle with two wheels, with small orange arrows near the pedals suggesting movement. There are curved lines on either side of the image indicating motion or wind. The overall style is clean and whimsical, using a limited color palette of white, black, orange, and gray against a light background.
Pretty decent pelicans from the new GLM-4.5 and GLM-4.5 Air models. Both models are MIT licensed, released by Chinese AI lab Z.ai this morning
simonwillison.net/2025/Jul/28/...
28.07.2025 18:00 β π 125 π 7 π¬ 12 π 2
For the first time, I have a game that runs flawlessly on Linux, but is buggy on Windows.
I'd post a pika face, but I'm genuinely surprised.
28.07.2025 16:25 β π 2 π 0 π¬ 1 π 0
TIL, Cloudflare 1.1.1.3 blocks adult content. So if you have kids, you can just set their device DNS to that if it's a concern to you.
28.07.2025 15:34 β π 1 π 0 π¬ 0 π 0
Work: Python, Dart, Rust, Linux, freelancing,
Hobbies: Peercoin cryptocurrency, cycling, trading.
I'm a python developer and Emacs user with a hobby interest in statistics. I also like learning about functional programming, still ain't got it though!
Developing PyO3 to bring Rust π¦ and Python π together.
Working with the team at Pydantic to build software that developers love.
Co-Host The Real Python Podcast. Author of Django In Action. Fractional CTO. Komodo dragon wrestler. Profile perjurer.
Rust dev, Electronics engineer, Author, Rust library team lead, ADHD, Polyamorous, Lesbian, She/Her
SPy creator, HPy founder, PyPy core dev, PyScript core dev, doing Python, compilers and WASM stuff at @anacondainc.bsky.social
Also on:
- github.com/antocuni
- https://mastodon.social/@antocuni
- https://twitter.com/antocuni
PyCon US is a community-focused conference for Python users and developers. Join us in Pittsburgh, PA from May 14 - May 22, 2025!
I'll help you take your Python skills to the next level!
Get a daily drop of Python knowledge ππ§ -> https://mathspp.com/drops
Pydon'ts β free Python book π https://mathspp.com/books/pydonts
#Python core developer who also works on packaging; works on Python stuff at #Microsoft (although this is a personal account). Proudly #Canadian.
No one of consequenceπ§
Solutions Engineer
Industrial-Organizational psych
Stage 4 endo & stroke survivor
Building Pydantic Logfire - uncomplicated observability for Python. Sequoia Scout.
Free-range computer scientist living in Evanston, Illinois. I wrote some Python books. If you want to talk code, take a CS course https://www.dabeaz.com/courses.html. I'm mainly here for dogs, bikes, trombones, and other random stuff.
π΄ @djangoproject.com blogger and contributor
βοΈ Author of three books on Django and Git
π Django London co-organizer
π¬π§ London / π΅πΉ Lisbon
Python: News, Projects, Articles, Discussions.
https://pythonhub.dev
Anaconda Founder&Head of AI; created the PyData movement, PyScript, Bokeh, Datashader; Fellow @ Python Software Foundation; Center for Humane Tech
Game~B; Physics, Cybernetics, Memetics. A student of the human condition.
Memento mori
31 - She/They - Artist
ES/EN/ζ₯ζ¬θͺ
Tech leader, Django/Python developer, public speaker, occasional youtuber, collector of hobbies, and misplaced Brit. @andrewgodwin most other places. Day job: Lambda Labs. π³οΈβππ
Husband / Father of two / Founder voidzero.dev / Creator @vuejs.org & @vite.dev
There Is No Antimemetics Division (https://qntm.org/antimemetics) ~ "Lena" ~ Absurdle ~ HATETRIS ~ many other cool things