Migrating off substack now
I'm migrating off Substack to my own hosting; you might see some disturbances in the force.
I'm migrating off Substack to my own hosting; you might see some disturbances in the force.
I'm late on my lateness, hence a double dose of recap today with both September and October newish news:Python 3.15 is here. Duh.You need to update a lot of things. Now.Cloudflare Python Workers are generally available, and it's weird.Memory Snapshots for CPython. Intriguing. Probably not gonna work.PEP 827: Type Manipulation. It's not the easiest read, but it's useful.? is back, baby! And I really want it.d-strings. Yeah, I know, another prefix.RISC-V is now officially supported by CPython. Freedom is calling.PEP 845 – Leading-Dot Value Patterns. It's not the easiest read, but it's useful. Round 2.I missed export. So now you know.And Moar
Typesafe AI made a lot of noise by releasing a new model called Jev, which takes an input like an LLM, but in addition, a series of possible classifications. The system then returns those classifications with probability ranks, quickly and cheaply.Half of the community scream it's genius.The other half say it's overhyped, and that we had one-shot classifiers before.Let's have a look.
new.bitecode.dev just got a new RSS page that lets you configure what you want to subscribe to.The code is a bit long but not complicated, and it shows you could do much, much more!
August, 2026
Notes on those plateforms are underwhelming, and new.bitecode.dev is live
Maybe we are going to get official symbol export in Python.
Pyodide has official wheel support. You are going to be able to pip install a lot of stuff in your web browser.
You can make your scripts just a little nicer with some tweaks:
pip gets lock files support.
Busy month!
Yes, yes, OpenAI bought Astral. We know. There is already an article dedicated to that.
ChatGPT makers acquired the company behind uv, which has become an incredibly popular and critical part of Python tooling in a very short time, despite worries about its sustainability.
Wow, it’s March already?
exe.dev is a new service that is a weird cross-over between a VPS, Heroku, and a local Docker pod.
Astral publishes UVX.sh, a service that lets anybody install any Python CLI tool published on Pypi without having to deal with Python. Or to even know it’s Python.
It’s the end of the year as you know it, and we close 2025 with the release of ty, the little brother of ruff and uv, that will take care of your code’s type. But, surprise, it goes beyond that!
mprocs is a small dev-oriented process manager that lets you run and monitor long-running processes in the background.
It’s nice to have shortcuts for commands you use often. To have normalized names for installing dependencies, running the code, or starting the tests across all your projects.
For the 3rd time, a proposal for adding an immutable mapping type to Python has landed.
Pydantic has grown so Fast, and it now contains a full-featured settings loader system with support for getting values from env vars, multiple dotenv files, config files, and cloud vaults.
Still looking to free RAM, this time I turned to Firefox. An open tab like Reddit can use more than 1Gb if you scroll a lot and leave it open. Infinite scrolls and rich media are pigs.
But extensions can also do a lot of damage.
E.G:
Logs show that Bitwarden tried to reach the (not installed) desktop app (not installed) every 10s, and each failed attempt cumulated in memory. After 8 days the add-ons process held 1.8 GB.
Solution: remove the add-on permission to "Exchange messages with programs other than Firefox".
To alert you have have software update, Ubuntu starts gnome-software in the background.
It's the software to manage their app store, and it doesn't have a light mode for just checking updates, it loads the entire catalogue in memory, which on my machine, eats 2.4 Gb of ram all the time.
To avoid that, create a dummy ~/.config/autostart/org.gnome.Software.desktop with:
[Desktop Entry]
Type=Application
Name=Software
Hidden=true
This will override the system one.
I really like raindrop.io, in fact I pay for it, but the fact their browser extension adds 30 ms of load time to EVERY SINGLE PAGE you visit is bonker.
Fortunately they provide a bookmarklet: https://help.raindrop.io/install-extension#faq
Bitwarden has the same problem, disabling auto complete on page load helps.
Grammarly have the same problem, but you can only disable site by site.
Which is crazy if you think about it, because even something as integrated as uBlock takes only a 20ms hit.
So, I moved off substack, I added a ton of filters on my stats to remove bots and fake visits, but I still have 3 times more traffic than I had in my substack stats.
So either you REALLY prefer the new platform, or I still have a ton of bot I can't detect.
And as much as I want to believe my move was a genius one, I'm not that delusional.
I already check for weird signatures (like http1 + not loading css + mobile UA), I have honeypots in my robots.txt, block on volume, check unlikely behavior (like have a referer on my redirecting only apex)...
Any other tips?
Treating an SPA static assets as a PWA static assets (with a web worker) even if your app is NOT offline first yield surprisingly good performance improvements.
Turns out those 304 accumulate.
Humanity is stead fast on ending this year with a bang
https://github.com/anthropics/formal-math/tree/main/vp-vnp
Trying out zram (https://doc.ubuntu-fr.org/zram) to compress what is in RAM, so far so good.
Got a third of the laptop RAM compressed, some of that is allocated to swap (!) and the ratio so far has been 4:1 compression.
In a world where RAM is expensive, and yet you have VM and agents eating a lot of it, it's an interesting avenue. Windows and Mac already do that by default.
Looking at my log, I had a recurring 404 people hit after the migration, yet I don't have this URL anywhere on my site:
/action/disable_email
Turns out it's the Substack unsubscribe email url.
Whoops.
Ok, so if you have tried to unsubscribe for the last 2 days (and likely marked me as spam as a result), I'm sorry. I screw up that part, didn't mean to hold you hostage ^^
A colleague of mine recently got pwned (a not so subtle shell injection because of lack of escape), and his site was serving a lot of bad pages, but he couldn't figure out where it came from.
Turns out the attacker managed to get to his cloudflare account, and inserted his logic in a cloudflare middleware, between the user and his servers. This means the code was nowhere on his servers, and very hard to find.
O_o
Universal XSS in uBlock Origin from website-driven element picker
https://iter.ca/post/ubo-uxss/
Update your extensions.
Nobody is spared from the current avalanche of vulnerability discoveries.
(ublock origin still rocks though)
Things That Turbo Pascal is Smaller Than
https://prog21.dadgum.com/116.html
When I was an intern, there was a guy using basic for utilities carrying a few Mb of .dll around from machine to machine. Devs used to make fun of him because compared to C++ stand alone executables it was so bloated.
I always have readers reporting mistakes in my articles, and there is a lot of frictions to do this: they have to copy or capture the problem, show where in the article it is, then choose a platform and contact me on it.
And yet people do it!
So I just baked the feature right in.
Now you can click a little pen button in each article, and directly suggest a typo fix. I will receive the diff, and be able to integrate it directly in the article.
Thanks to all the nerds that take the time to make me a little bit less wrong.
So what do you gain with the new blog?
- Notes are directly in the home page (and have their RSS), so if you are not on bluesky or mastodon, you can still see them.
- Better code support. It's just nicer to read, especially on mobile, both for inline and code blocks.
- No buttons or modals telling you to subscribe.
- No 3rd party analytics. No Ads. No crazy tracking. I have GoAccess looking at the logs, that's it.
- Works without JS (albeit without code coloration to keep the markup clean).
- You can subscribe with RSS separately on the articles and the notes, or filter by tags: https://www.bitecode.dev/subscribe/rss
And it opens the door for funky things later like porting the https://www.pystebin.com/ code runner to the blog so you can run snippets from the article directly in the browser later on.
Ok, migration done, I don't see anything broken on my side.
Waiting for the bots to swarm the new IP any minutes now, and I don't have cloudflare so it's going to be fun.
I'm migrating off Substack to my own hosting; you might see some disturbances in the force.
new.bitecode.dev will soon be www.bitecode.dev, and redirect to it. The Substack access will be moved to old.bitecode.dev and deindexed.
I will take the opportunity to upgrade the server and reboot it, since I don't do it that often, so you will see the site down for a little bit, as I don't plan to make a fallback for such a non-critical service.
Your newsletter and RSS subscriptions should still work out of the box, but I will now only put the summary of the article in the email with a link to the online version, to save me from reformatting the entire thing in the Substack editor. They really are not automation-friendly.
Ping me if something is off.
Creating your custom agentic harness is the 2026 equivalent of "I am coding my own editor" twenty years ago and writing your web framework a decade ago.
The Secret of Monkey Island: all 13 versions side by side
https://monkeyisland.pages.dev/
That's just crazy what Luca's people were able to adapt to.
(Also the game is amazing, if you haven't tried it before. It's old and dated in every possible ways, but it's a blast)
Uber probably got hacked recently.
Got a 2FA email from them despite the fact:
- I haven't tried to connect to it.
- The password is unique to that account.
AIs are buzzy little bees.
Just had an ad displayed on @netflix despite the fact that I have the Standard plan, which is without ads.
Is it a bug? Did they change their policy?
Cause I'm not paying 15 euros a month to watch ads.
EDIT: actually 2 ads, they are really spending that good will fast.
I've refreshed the article "Yield: the weirdest Python keyword"
https://www.bitecode.dev/p/the-weirdest-python-keyword
All in all, the content doesn't need to be updated, and it's a pretty solid tutorial. But code coloration really makes it better.
I didn't check for typos because of the Grammarly bug. Won't be a problem when I switch to new.bitecode.dev as main
What a clever idea!
They took the CPython codebase and asked an AI to turn it into Lean (a language that comes with a proof checker), then demonstrated 418 bugs with it.
https://broyojo.com/python-formalization/
With AI making full rewrites cheap, this means we can technically do that with any codebase, write in the nice language you want to use, and prove it with Coq or Lean to be correct.
Albeit at the cost of also porting the tons of dependencies that come with your project.
I really like the Grammarly browser extension, it's a very nice spell checker. But it tends to completely mess up code blocks colored with Prism in CodeMirror, replacing the code with [Object], because it seems to ship its own copy of Prism (I assume to be able to check typos in those blocks), scan all code.language-* classes and inject his own stuff in them, which CodeMirror takes as a edit and saves raw.
The fix is to use the language-* class instead of code.language-* to mark the code block and prevent Grammarly from finding it. You lose spell check in code, but it's actually better, it's usually not great at it.
Following the eMudhra debacle, all package manager issued an update:
certifi 2026.10.19
pip 26.2.2
uv 0.13.4
sigstore 4.5.1
conda 26.9.4
pixi 0.82.1
virtualenv 21.14.12
You probably want to update ASAP. Right now would be ideal.
https://discuss.python.org/t/information-for-python-users-regarding-emudhra-emsign-ca-certificate-security-incident/109576
Hacker reverse engineers his Samsung TV and finds on-board AI always listening
https://www.reddit.com/r/antiai/comments/1xdv3e5/hacker_reverse_engineers_his_samsung_tv_and_finds/
This is really nasty. People talking about being listened to by their phone because of targeted apps have been gaslighted for years.
But we know Siri and Alexa both got caught on listening scandal, and now this. At this stage, it is naive to think it's not happening on a regular basis.
Timestral: Mistral's time-series foundation model
https://mistral.ai/news/timestral/
A generic model for time series prediction. Don't know how well it works, but given the variability between patterns (or the absence thereof) the real world produces, it's interesting
A programming language that LLMs can't use
https://blog.picheta.me/post/killswitch-lang/
Johannes on X: "I can confirm that the Ledger supply chain is compromised in Europe as well"
https://x.com/0xJohannes_/status/2109634513957527974
My mind is blown every week with the current state of events. We are truly living in interesting times.
Yet another way to invoke functions without parentheses
https://blog.ikaes.de/yet-another-way-to-invoke-functions-without-parentheses/
Another grave and dangerous incident in AI's activity: I made it code a YouTube client, and it uses "never give you up" as test data.
Claude Rick-rolled me :D
Catastrophic failures are rare with frontier models now. They're becoming very reliable.
People will get used to this and take fewer precautions.
But I'd argue that, as these systems become ubiquitous and more powerful, we should actually take more.
This morning, Claude happily deleted all the SSH keys on one machine.
Of course, it was a machine dedicated to Claude, I had a full backup, and the keys were passphrase-protected, so it wasn't a big deal. I've had interns do way worse. I've done way worse myself.
I wiped an entire production server with a PHP 3 script at my first job. I still remember it like it was yesterday. My mentor was really nice about it. The price of learning. And I learned.
But consider that these AI systems can perform a thousand actions per second, with an error rate of just 0.2%. That's two fuck-ups per second.
They make fewer mistakes than humans now, and most of those mistakes are benign. But they make them so much faster, and they're becoming involved in so many things, that guardrails and contingency plans are more important than ever.