Better HN
topnewbestaskshowjobs
Log inSign up

BiteCode_dev

24,628 karma · joined Oct 21, 2019 (7y ago) · 5,512 submissions

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

https://www.bitecode.dev/

Email: contact at bitecode.dev

Submissions

comment 1y ago · link · parent

But that makes them superb heat battery, which is under used at the moment to store energy.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

Or, you know, use numpy.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

Yes, and I hope we will steal obj destructuring soon as well.

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

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

That's what t-strings are about. They are lazy, so you can mark them for translation "as-is".

comment 1y ago · link · parent

Does perl have lazy string processing? And I'm not talking about a coderefs hack.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

You don't need interactivity for this, you just need "<img src="" />"

comment 1y ago · link · parent

It's "accelerated mobile pages" but I love the abuse version.

comment 1y ago · link · parent

I'm in France, maybe I should open a proxy. You order through me, I reexpedite to the US, with a French stamp lol.

comment 1y ago · link · parent

I had bad reviews been supressed by amazon several as well, so at this point I'm assuming any review system is theater.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

Ah, so you are not using pyQT, numpy, any database driver, pillow or anything using cryptography, then?

comment 1y ago · link · parent

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...

comment 1y ago · link · parent

They can get "hacked" and wooops.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

So the alternative is to let uninformed civilians clean it with their hose and bare hands?

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

If one need to get on Beam, is it better to start on Elixir or Gleam?

comment 1y ago · link · parent

I think it's just a convenient and popular language to experiment with.

For production systems, people just use Python + Rust when needing a balance between dynamism and strictness. The tooling to mix them is very mature and the communities are overlapping.

With uv becoming the defacto packaging solution for python, I expect the border to blur even more in the future.

comment 1y ago · link · parent

Can't we have TURN over something like bittorrent or ifps so that it's decentralized ?

comment 1y ago · link · parent

And rich and uneducated.
1
131415
184