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 Boeing to plead guilty to criminal fraud charge stemming from 737 MAX crashes
Actually, it's the same point.

We are currently trying to punish entities (with fines), and it's ineffective.

We should move back to punishing people more, and moving back the responsibility to people, instead of pretending companies are people, and therefore responsible.

BiteCode_dev··on Boeing to plead guilty to criminal fraud charge stemming from 737 MAX crashes
The power of having a bank account, of moving funds around, of signing contracts, etc.

Before that, companies had to have everything attached to a human, not the company. So the human was responsible.

You are so used to it that you think it's normal, but it's not.

It's a concept we have created: that companies can act in their own name, like they are actually something concrete.

But when we did that, we failed to give companies expiration date, something like inheritance tax, the equivalent of prison and so forth.

Something that doesn't exist, a concept, enjoy many things a concrete human can do, but won't pay nearly the same consequences.

In fact, it's sometimes in the title: limited liability company. It's by design.

And of course, it allowed humans to do a lot of things without risking to lose all their life if they failed. But we went to far and now, we have companies that can enjoy all those benefits but with much less limitations than the humans counterpart.

It makes them too powerful.

BiteCode_dev··on Boeing to plead guilty to criminal fraud charge stemming from 737 MAX crashes
We moved the power from the human to something we said is "human enough" to have them. But this thing is a concept, it doesn't exist. It can't die. It can change forms until it doesn't pay taxes. It can't experience pain or go to prison.

Basically, we gave the power to the company without the responsibilities to the humans behind it because there is less consequences, less skin in the game.

BiteCode_dev··on Boeing to plead guilty to criminal fraud charge stemming from 737 MAX crashes
They can make investments, sue, go bankrupt, have bank accounts, like a person, in their own name instead of the owner.
BiteCode_dev··on Boeing to plead guilty to criminal fraud charge stemming from 737 MAX crashes
Companies are persons, except they are not.

They cannot die. They cannot go to prison.

This concept of a moral person is a totally unfair advantage that they exploit again and again.

BiteCode_dev··on Show HN: A modern Jupyter client for macOS
Yes, very underrated tool.
BiteCode_dev··on Kivy – a cross platform Python UI framework
Ah, sorry I misunderstood.

Yes, it would be nice to have that by default.

In fact, it's what uv (https://github.com/astral-sh/uv) does, and one of the reasons it's so fast and became so popular so quickly.

Astral for the win.

BiteCode_dev··on Starcraft (A History in Two Acts)
Blizzard missing the Moba train is when I understood it was not the same company anymore and they started to be corporate.

They stopped following the fans and community and started to push for business plans.

It worked, they made tons of money.

But I stopped admiring them.

BiteCode_dev··on Starcraft (A History in Two Acts)
Tower defense was popularized by Starcraft mods.

Dota, and so LOL, is often thought of as something coming from Warcraft 3 Defense of the Ancient, but the concept really started as a starcraft mod as well.

Of lot of the gaming culture is born on the original Battle.net.

SC 1 was one of the most influential game ever created.

BiteCode_dev··on Kivy – a cross platform Python UI framework
What do you mean by "Flutter developer trying to pivot to real native development" ?
BiteCode_dev··on Kivy – a cross platform Python UI framework
I'm assuming by system you mean OS, which is a terrible, terrible idea. Dev stack and system libs should not coexist, especially because system libs should be vetted by the OS vendor, but you can't ask them to do that for dev libs.

> I have to create a new conda environment for almost every ML paper that comes out

That's how it's supposed to work: one env per project.

As for the rest, it's more telling about the C/C++ community building the things bellow the python wrappers.

BiteCode_dev··on Kivy – a cross platform Python UI framework
Given the track record they got, I'm confident they will.

But what I really hope is that they'll tackle the user app shipping problem eventually.

BiteCode_dev··on Kivy – a cross platform Python UI framework
This is especially true when you use a lot of tooling. I love jupyter, but installing it in a venv means pulling a lot of deps which will affect a lot what I can install.

Fortunately the Python community is much more serious about making deps that work together than the JS community, and the fact it works at all given the cartesian products of all the python modules is kind of a miracle and a testament to that.

Unfortunately, that's a problem that is unlikely to be solved in the next decade, so we all live with it.

The reverse problem is true for JS, and I see many projects shipping very heavy frontend code because despite all the tree shaking, they embed 5 times the same module with different versions in their bundle. That's one of the reasons for the bloated page epidemic.

I guess it's a trade-off for all scripting languages: choosing between bloat or compat problem. Rust and Go don't care as much, and on top of that they can import code from 10 years ago and it sill works.

However, and while I do know how hard it is to ship python code to the end user (at least if you don't use a web app), I don't think the version problem is the reason. We have zipapp and they work fine.

No the main reason iscompiled extensions are very useful and popular, which means packaging is solving more than packaging python, but a ton of compiled languages at one. Take scipy: they have c, pascal and assembly in there.

This can and will be improved though. In fact, thanks to wheels and indygreg/python-build-standalone, I think we will see a solution to this in the coming years.

I'm even betting on astral to providing it.

BiteCode_dev··on Kivy – a cross platform Python UI framework
Note that those are not stock widgets.

And that's one of the main show stopper for me with kivy: it comes with very few built-in UI controls, so you have to code a lot of things yourself.

I much prefer Python to JS, but things like react native win because of the community libs you can install save you tons of time, and produce a better result.

BiteCode_dev··on The Steel Man Technique: How to Argue Better and Be More Persuasive
Besides the fact this article avoids giving any concrete examples, showing the author probably doesn't use the technique himself, it's going to fail when the opposite side cannot be convinced by rationality, which is most of the time.

Indeed, you cannot "patch up the weaknesses of the other side’s proposition" of someone supporting a sports team or a religious belief. Because there is no real argument, but rather some kind of emotional commitment.

However, if you engage in the exercise a lot, you'll notice that a huge number of debates are around such notions, where ego, identity, and feelings are more important than ideas.

It's certainly true for lots of political beliefs, but also many technical ones where your social situation depends on the result of the debates more than being wright or wrong (e.g: at work).

Not to mention when you are debating, it happens regularly you win not by convincing the other side, but by winning over the popularity contest with the audience of the exchange. This again, has nothing to do with the logic of the discussion.

So even if the technique works for, say, your discussion with your physicist or philosopher friend (in which you probably didn't need it anyway), there is really little value in it if it can't work in the situations with more at stake.

Or to use a more scientific term:

I call BS.

BiteCode_dev··on With Nothing to Do
I don't understand how one can be bored in this situation.

You can learn a new language or to draw. Read novels. You can start writing a program or a blog: write it on a different computer, but you are in this situation nobody cares anyway.

You can listen to podcast, even binge watch a tv show discreatly.

You can practice maths, go back learning things you wish you spent more time learning in school.

You probably can even start a business if you are careful no to leave trail.

But also: you can put money on the side, and prepare to leave.

BiteCode_dev··on The EU should be the heat-pump pioneer
You see, that's the rational approach: you got a problem, you find a solution.

Most people don't do that.

"I heard that..."

"I believe that..."

Is mostly the source of their decision making.

Forcing heat pump on people will make them react like you are stealing from them.

Because you are: you are stealing their ability to choose.

But they choose badly.

BiteCode_dev··on The EU should be the heat-pump pioneer
Indeed. Hence the religious aspect.

She doesn't care about making sense.

She cares about her stance on electricity heating.

BiteCode_dev··on The EU should be the heat-pump pioneer
As a nerd, I get you think it was the main problem.

But most people didn't care about that.

The main contenders were:

- Linky calculates my electricity bill badly. It was in fact more accurate, but sometimes it meant a raise in bill.

- Linky emits dangerous radiation or magnetism. That was, of course, a total hoax.

- Linky didn't allow me to cheat on my bill anymore (lots of people around me were hacking their meter to pay less).

- Linky is forced on us by Big Electricity. So it's bad.

The privacy thing is legit, but all those people had full facebook accounts, most of them had full sync on their smartphone, use chrome without an adblock, and so on.

Only geeks like us really care about the privacy aspect.

On the other hand, it's a greener solution:

- Less people in cars to check meters.

- Live load balancing on the power grid.

- Clear consumption stats so that you can optimize your own bill.

So the linky, which eventually got into most homes, is deployed with success.

But it took so many years because of the pushback.

Eventually, if the pushback would have been just about the privacy, we could have focused on fixing that and would have had a cheaper, faster deployment, with privacy.

We had the worst: expensive, long deployment, and the privacy invasion is still in place.

BiteCode_dev··on The EU should be the heat-pump pioneer
Yeah but there is heavy resistance.

My mother won't install a heat pump because she claims she doesn't want to be dependent on electricity. She likes the idea that if it goes down, she can still heat her home.

It is irrational because her gas burner needs electricity to run anyway, and if electricity shuts down, she lights a wood fire, which she could have as an alternative to the heat pump.

Humans have religion-like behavior in every aspect of their life, not just God-related things.

If you haven't heard about the French pushback against the linky, a smart electricity meter, google it. You will have a good overview of what can go wrong if we force the issue on people.

BiteCode_dev··on Air-Bus Hijacking: Silently Taking over Avionics Systems
With timer of 35 minutes.
BiteCode_dev··on The Sphere
French administration would be my first guess :)
BiteCode_dev··on Kanban vs. Scrum: What's the difference?
I don't think op was referring in any way to pangermanism.
BiteCode_dev··on The Sphere
While the sphere is more modern, and features the very hyped exterior LED screen, the concept of a sphere with a cinema screen wrapped inside it is quite old.

30 years ago, la geode already existed in Paris : https://www.lageode.fr/

I got good memories of this as a kid, and if you are in the area, it's definitely a must-do in the city. Especially since it's attached to one of the most fun science museums you'll get to visit with a lot of interactive bits.

I do want to get into the sphere to experience what 3 decades of progress have given us.

BiteCode_dev··on Kanban vs. Scrum: What's the difference?
When people say words are losing all meaning, this is what they mean.

10 years ago, I was complaining people used amazing, friend, hilarious and other superlatives to talk about mildly better ordinary things.

Today I see people throw in fascist and nazi like darts at a pub night.

The noise/signal ratio is really getting terrible.

BiteCode_dev··on Finding near-duplicates with Jaccard similarity and MinHash
Ok, so you get better accuracy if you datasets have obviously weighted fields. Do you pay that in perfs, and if yes how much?
BiteCode_dev··on Finding near-duplicates with Jaccard similarity and MinHash
Interesting.

What would you say are the main differences with other approaches?

BiteCode_dev··on Finding near-duplicates with Jaccard similarity and MinHash
I worked with a client that implemented their own Python version of this to deduplicate citizen entries in a big french gov database. It worked well.

Of course, nowaday I would probably just tell them to use datasketch (https://pypi.org/project/datasketch/).

With this trip to memory lane, I looked around a little, and noticed people are still creating new stuff on the topic. E.G:

https://pypi.org/project/rensa/

Which is basically a more specialized but faster version of datasketch minhash, written in rust, with a little python on top.

BiteCode_dev··on Show HN: I made a search engine for Hacker News
Thanks, 10 years of HN and I was still using "site:news.ycombinator.com"
BiteCode_dev··on A Bugatti car, a first lady and the fake stories aimed at Americans
If you go on Tik Tok, sometimes you see fake French news, with the proper setting, format, voices, and sometimes faces.

It's quite believable, especially on a platform where you scroll mindlessly.

But if you look for the bit online, you will not find it on the official TV channel website because it never happened.

I'm used to my gov and American propaganda, but they are rarely faking the whole thing, mostly selectively presenting a certain truth or point of view.

That's new to me: completely fabricated, sophisticated facts and media.

← PreviousPage 28 of 34Next →