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 5y ago · link · parent

As a Frenchmen, Youtube is exactly the same:

- algo is a black box, and uncalibrated youtube makes my eyes bleed;

- own by the biggest spy on the planet, google, known for manipulating information, monopolistic behavior, participation in the worst gov programs (e.g: PRISM);

- impose American censorship rules to the entire world, and makes creators do inane cuts to fit some terrible metrics

Besides, the typical Tik Tok customer doesn't give a damn about those things. They didn't on facebook, insta, whatsapp, or whatever. They don't even know it's an issue, "have nothing to hide", don't care about privacy, power centralization, citizen spying and so on.

So Tik Tok or something else doesn't matter.

comment 5y ago · link · parent

> So the idea here is that we don’t need degrowth; instead, we can keep raising everyone’s standard of living without exhausting the planet’s resources.

Well, we haven't been able to pull that off. Quite the opposite.

Asia is a dumpster now, their rivers are black stinky waters, trash is everywhere, climate is changing at an alarming rate, we have lose 60% of all the insect species, oceans are emptying, full of micro-plastic and with great current disturbances, extreme weather events are occurring more and more and the amazon forest is getting eaten.

But sure, tell me how your magical theory matches practice in your dream like land.

comment 5y ago · link · parent

Typical Apple talk: instead of telling you they send a text message behind your back, they are blaming your carrier to charge for it.

comment 5y ago · link · parent

Nicely done.

comment 5y ago · link · parent

And that's for each page that uses it I assume, so If you have 10 pages using Arc, that's not going to be imperceptible.

3846.

Ask HN: What VCS to use for binary files only?

2 points · by BiteCode_dev · 5y ago · 3 comments

comment 5y ago · link · parent

Youtube vence and firefox mobile are life savers on android

comment 5y ago · link · parent

Again, we are already producing more than the demand, we just don't distribute it to all the demand.

The market, at this point, has produced concentration of power and hasn't sold distribution problem.

Creating something that can produce even more is not gonna help.

comment 5y ago · link · parent

Oh sure, I don't say to toss the tech on the trash. I'm just saying it won't solve world food current problems.

Although I'm skeptical for mars, bigger plants will deplete their substrate very fast, it could be a limiter.

comment 5y ago · link · parent

Yes, and then you have Wifi, touchpads, graphic cards, web cams... It's amazing that we even have a working OS honestly.

comment 5y ago · link · parent

I have a list of FOSS projects I rotate and donate to regularly, including Ubuntu and the FSF. So many projects need help, VLC, libreoffice, firefox, python, ublock origin...

It's not just about the money, it's also a way for devs to feel that their work matters.

comment 5y ago · link · parent

While this is not correct, and I do use my BT headphone with Ubuntu 20.04, it's is almost true for any casual user.

Indeed, the number of glitches and irritating workaround I have to use to make something else than a mouse work with BT is something most people don't want to put up with their $1000 laptop.

Yes, BT is a shitty tech. But their phone works out of the box. Their Mac OS and Windows as well.

The fact we still get BT not pairing randomly (or wifi stop working, or sleep mode never awaking) is a huge problem in 2021.

We should not ignore that as a community.

That's why I report bugs, give money and help people online.

But it will not be enough if we close our eyes on the work yet to be done.

comment 5y ago · link · parent

Unless human nature has changed last week, this is not going to be used to use less land, only to produce more on the same land.

We are already overproducing food, that doesn't prevent us to try to produce more.

comment 5y ago · link · parent

> If more and larger crops could be grown on even more marginal land closer to where people desperately need the food then it is a solution we should use.

That's not going to happen. People that desperately need the food don't have a problem of not growing enough rice or potatoes because of the nature of the crop. It's not why they are hungry. It's any other reason, politics, weather, logistics, economics, you name it.

The only things this will do is allow some company to patent this, and then sell it under restricted conditions that will be unfavorable to those who are hungry.

Yield increase is not really a winner if you have no water, if you are at war, if you don't have money/land, or if corporations own your society.

We reached a state in humanity development where any improvement in agricultural yield for basic food is not only unnecessary, but will lead to more problems than solution.

comment 5y ago · link · parent

Not to mention we don't need it. We don't have a problem with producing food, but with distributing it.

The result here would be only more profit for some players, it's not going to help with world hunger. It's not going to take prices down (potatoes/rice price is not a blocker, but margin is nice). But it certainly will have a systemic cost that we will all share for a gain we will not.

Problems we do have but that they are making worst:

- poorer and poorer soils;

- big companies making it hard for small player to even exist;

- weak nutritional content of our food;

- food chain dependency on a few players;

comment 5y ago · link · parent

Honestly given the situation, I think the disruptions we are experiencing are actually quite small. I'm surprised, impressed even, by the reliability of our house of cards.

comment 5y ago · link · parent

No, I mean it's clear cut that it's a terrorist organization. I'm the kind of person to think people should read Mein Kampf and the little red book in order to understand history, I won't argue we should prevent people to have access to knowledge.

But I get one company may want to avoid being the one hosting it.

comment 5y ago · link · parent

The article is not representative of the community, quite the opposite.

In fact, the community is embracing "black" these days, the python equivalent of gofmt, exactly because we have better things to do than arguing over PEP 8.

comment 5y ago · link · parent

Yes, but a judge should be involve. Because for the Taliban, it's clear cut, but it's not always the case.

And of course, one day, it will be abused.

comment 5y ago · link · parent

> Hosting the websites of terrorist groups is something few people would advocate

The problem is not to remove those, the problem is to do that outside of a proper legal process.

Because it's easy to say "yeah, ISIS are terrorists, remove their forum", but the word "terrorist" has been abused to much you pretty much guaranteed it's going to be the justification to remove "content we don't like".

comment 5y ago · link · parent

> With this article, it seems to me that Twitter devs, for all their fancy dev toolchains, could only produce slightly better HTML than my professor.

I assume they also make the html complicated to make it hard to scrap the site.

comment 5y ago · link · parent

Agreed, it's very heavy for no reason given it's doing pretty much nothing. It's buggy, slow, sluggish at times, with delay on clicks and scroll. It's really a terrible UI given how simple the problem is, and how much money they got.

It's not like they have 1000 of concurrent events like facebook, and their frontend should have nowhere the complexity of their backend. I don't understand how it's even happening.

The most absurd aspect of it is that how slow loading a single tweet is. The timeline could have the excuse of a slow and complicated backend call (but it doesn't, the backend is actually doing ok), but several seconds for one single tweet?

comment 5y ago · link · parent

If you pass the proper option, it will compile everything, including libpython, resulting in a stand alone executable.

The only dep would be libc, and if you compile against an old version, it should be forward compatible.

comment 5y ago · link · parent

Not an installer no. The installer part is not provided, the result is an executable that works out of the box. The installer would then take that and put it somewhere, but you don't need to. It can even work from a USB key.

comment 5y ago · link · parent

"Can compile Javascript sources to executables with no external dependency"

comment 5y ago · link · parent

See also: shiv, which doesn't compile, but bundles you python scripts and deps:

https://news.ycombinator.com/item?id=28377545

Very nice for deployment and scripting.

comment 5y ago · link · parent

Yes, but since nuitka targets distribution, you probably wants to disable that for the end user.

comment 5y ago · link · parent

The best feature of nuitka, and its main goal, is not speed gain. That's the cherry on top.

The main goal is getting a standalone executable that works with c extensions.

comment 5y ago · link · parent

Yes but pyodide is probably better suited for that and can load uncompiled python code.

See :

https://github.com/pyodide/pyodide

And an example featuring a pure client side jupyter instance :

https://news.ycombinator.com/item?id=28377550

comment 5y ago · link · parent

nuitka takes your python code and all its deps, turns it to c code, and compiles that into a standalone executable that is both faster and doesn't need a separate python vm to be installed.
1
128129130
184