HNHacker News
TopNewBestAskShowJobs

BiteCode_dev

24,628 karma · joined October 21, 2019

I write to save you time and effort when dealing with Python:

https://www.bitecode.dev/

Email: contact at bitecode.dev

submissionscomments
BiteCode_dev··on Replacing Kubernetes with systemd (2024)
The solution to this is to not solve all the problems a billion dollar tech does on a personnal project.

Let it not be idempotent. Let it crash sometimes.

We lived without kubs for years and the web was ok. Your users will survive.

BiteCode_dev··on Gorgeous-GRUB: collection of decent community-made GRUB themes
Useful for dual boots, especially for beginners that get nervous when things don't look pretty.
BiteCode_dev··on My takeaways from DjangoCon EU 2025
The problem with sqla is that you need to deal with the session object all the time. Doing it right is not that easy, and never as concise.

SQLA is cleaner and more powerful, but when you just need CRUD, django wins.

BiteCode_dev··on My takeaways from DjangoCon EU 2025
django-ninja will give you a fastapi like experience without the hassle
BiteCode_dev··on My takeaways from DjangoCon EU 2025
The ecosystem has improved thought. django-ninja is great for API, django-coton brings component supports and you have better options than celery for qeueing.
BiteCode_dev··on Spain is about to face the challenge of a "black start"
A lot of energy is spent to heat things anyway.
BiteCode_dev··on Spain is about to face the challenge of a "black start"
But that makes them superb heat battery, which is under used at the moment to store energy.
BiteCode_dev··on Oracle engineers caused five days software outage at U.S. hospitals
I managed to break production before vibe coding was cool.

20 years old me had rm -fr root access to way too many systems.

I don't think it's much different today.

If anything, I think the youngsters will learn faster from their mistakes because they already have good mentor for the easy stuff and will get grinded on the hard stuff sooner.

BiteCode_dev··on Greek Particles (1990)
Unrelated but somewhat funny:

I read someone jokingly proposing we pronunciate "particles" and "molecules" like we do for greek nouns (think "hercules").

And now with these "articles", I'm going to do this in my head for one more day.

BiteCode_dev··on Show HN: I built a hardware processor that runs Python
Which is what nuitka does. But the result doesn't allow for real time python programs, andy you don't get direct access to the hardware like here.
BiteCode_dev··on The Illuminated Gospel of St John
I wonder if this article was about an illuminated quran if it would have reached HN front page.

Religious scriptures for sale feels really weird on HN either way.

BiteCode_dev··on Haskelling My Python
Or, you know, use numpy.
BiteCode_dev··on PEP 750 – Template Strings
It has lazy enumeration with generators, but:

    - string construction is a hot path, you don't want them to always be lazy, especially since any access is slow in python.

    - having it using a string syntax is just very clean and easy to read. It's explicit and can be supported by good editor highlighting.

    - it's easy to grep, analyse for, substitute, etc.

    - you get one single unified API instead of thousands of variations. Translations API, log API and escaping API can all look the same, arguments are in the same shapes.
BiteCode_dev··on PEP 750 – Template Strings
Yes, and I hope we will steal obj destructuring soon as well.

I mean, they took "yield" and @decorator, we have a trade deficit.

BiteCode_dev··on PEP 750 – Template Strings
You don't need iterators or decorators.

But normalizing one pattern ensures the whole community build API around it. This creates a unified ecosystem.

And it's a very clean API that is a no brainer for the string user.

BiteCode_dev··on PEP 750 – Template Strings
That's what t-strings are about. They are lazy, so you can mark them for translation "as-is".
BiteCode_dev··on PEP 750 – Template Strings
Does perl have lazy string processing? And I'm not talking about a coderefs hack.
BiteCode_dev··on PEP 750 – Template Strings
t-string are lazy, which is the point (escaping HTML, translating strings when you get preferred language headers, preparing SQL statements...).

Does Ruby strings already allow lazy processing ?

I'm not talking about wrapping them in a block and passing the block (all languages can do that with a lambdas) but a having literally that eventually resolves to something when you use it.

BiteCode_dev··on AMP and why emails are not (and should never be) interactive
You don't need interactivity for this, you just need "<img src="" />"
BiteCode_dev··on AMP and why emails are not (and should never be) interactive
It's "accelerated mobile pages" but I love the abuse version.
BiteCode_dev··on Temu pulls its U.S. Google Shopping ads
I'm in France, maybe I should open a proxy. You order through me, I reexpedite to the US, with a French stamp lol.
BiteCode_dev··on Temu pulls its U.S. Google Shopping ads
I had bad reviews been supressed by amazon several as well, so at this point I'm assuming any review system is theater.
BiteCode_dev··on Ask HN: Why is there no P2P streaming protocol like BitTorrent?
stremio works fine and is quite popular.

It's similar to popcorn time that was killed by legal ways so I'd say they did take off.

Stremio smartly avoids being killed by making pirating an optional plugin you have to install from another site so they get deniability.

It works well and save my ass from needing 1000s' of subscriptions.

BiteCode_dev··on Whenever – typed and DST-safe datetimes for Python
Ah, so you are not using pyQT, numpy, any database driver, pillow or anything using cryptography, then?
BiteCode_dev··on Whenever: Typed and DST-safe datetimes for Python
Functions that you have to document, test and maintain of course. You do that, right? And all the people in your team, they do that and will keep doing that once you leave, right? And they all understand the business domain and all the pitfalls that come with it and have the skill, time, and resources to take care of it, right?

And this for every single problem: time, text, maths, network, parsing, formatting, validating, authenticating...

BiteCode_dev··on Google will let companies run Gemini models in their own data centers
They can get "hacked" and wooops.
BiteCode_dev··on How a $2k 'Made in the USA' Phone Is Manufactured
It's $650 in a world in which you don't have tariffs with China.

In a world in which you do, you pay more for the machines, the materials, the components you can't make in the US (a phone is thousands of component, phone makers don't make most of them), etc.

It's probably $650 to design it, build half the parts, ordering most other parts and assemble them.

Now what's interesting with the tariffs is that it's not just it will make the parts you can order more expensive, it will make the supply of such parts available to you restricted since you are now competing with buyers that don't have tariffs and can outbid you easily.

Or course, all this include rare earth supply which China already restricted for US export, so even the part you can make are going to be super expensive. The premium is going to be way more than the tariff ones.

Finally, since you are not going to be able to sell to the Chinese market of 1.5M of people, you will sell fewer phones, meaning your volume effect will be lower.

Meanwhile, competitors from Asia and Europe will be able to sell to the rest of the world, unrestricted by such problems, so much more price competitive and with a more robust cash flow. So you will lose markets in other areas too, hitting your volume effect even more, possibly sending you spiraling.

So, it's definitely pop corn time.

BiteCode_dev··on Tailscale has raised $160M
Steam does fine financially and without having to answer investors, which is why it's been able to stay mostly good to its user base for so long.

This is not an "xor" statement.

BiteCode_dev··on What's in that bright red fire retardant? No one will say, so we had it tested
So the alternative is to let uninformed civilians clean it with their hose and bare hands?
BiteCode_dev··on UK bans fake reviews and sneaky fees
To fine a business for fake reviews, the state must prove there are a lot of unaddressed fake reviews, which is very hard to demonstrate.

With AI, it will be almost impossible to do unless you enforce some kind of generalized ID check.

← PreviousPage 13 of 34Next →