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

It's the eternal pendulum:

- take no risk, and people will blame the project for being static.

- take risks, and people will blame the project for being reckless.

E.G:

- don't adopt a new feature, and your language is old, becoming irrelevant, and a wave of comments will tell you how they just can't use it for X because they don't have it.

- break compat, and you will have a horde stating you don't care about users that need stability. You got one comment in this thread talking about "the python treadmill"!

And all that for an open source project most don't contribute to and never paid a dime for.

comment 3y ago · link · parent

Summary:

- Python without the GIL, for good

- LPython: a new Python Compiler

- Pydantic 2 is getting usable

- PEP 387 defines "Soft Deprecation", getopt and optparse soft deprecated

- Cython 3.0 released with better pure Python support

- PEP 722 – Dependency specification for single-file scripts

- Python VSCode support gets faster

- Paint in the terminal

1593.

What's up, Python? The GIL removed, a new compiler, optparse deprecated(bitecode.dev ↗)

400 points · by BiteCode_dev · 3y ago · 292 comments

comment 3y ago · link · parent

Because it's being prudent. With such a big project, the unknown unknowns are numerous.

Something nobody though about lurks in this nogil build, and we are only going to find out when it goes to prod and users report about it.

Instead of breaking the entire Python community's code, the risk is opt-in for a few years.

comment 3y ago · link · parent

Do you include the man hours in those calculations? Because they pollute a lot between the car, the food, the electricity the computer and internet for devs consumes, etc.

comment 3y ago · link · parent

Plus now with ChatGPT, you don't even have to write the comments.

comment 3y ago · link · parent

It is also that, after all it's part of the fun.

comment 3y ago · link · parent

You are assuming that they care about crashing. Maybe they see them as we see erlang processes.

comment 3y ago · link · parent

Reddit /r/alien is the best source. Pop in and just ask, they are friendly and can articulate a thought between 2 memes.

comment 3y ago · link · parent

I'm a software dev and I don't drink at all.

I'm one of those persons that think this is a luxury job.

comment 3y ago · link · parent

Modern people drunk a lot, event recently. In France, 80 years ago, kids would drink wine at school.

Drink and driving prevention and repression certainly played a big part in it.

But I think other factors came at play:

- Science. We know now better about the effect of alcohol. This drove the public opinion into a certain direction. Having the general acceptance this was a bad idea created policies to prevent things like having wine in schools in 1956: https://expat-in-france.com/wp-content/uploads/2022/02/wine-...

- Hygiene. If you can drink water safely from the tap, it helps.

- Moving to a service based society. If you don't have to work in a mine, you drink less.

- Other drugs came around. The ones you identify as such. And the one that are more innocent, like sugar, tv shows and social medias.

comment 3y ago · link · parent

But that's the problem I think.

1% of quality posts from a giant instance will always be bigger, more diverse, and with higher chance of containing an amazing thing that 100% of whatever small instance you are on.

Plus now you have to do your homework: what is it federated with? What are the rules?

And what's more, the recommendation system on mastodon is very limited, so you are basically stuck with what's trending for everyone or your subscribe list.

Maybe you have a good instance to recommend for programming?

comment 3y ago · link · parent

Well, 37.8K users, even when fully engaged, are not going to do much. If you take a single subreddit, such as /r/Python, is has by itself 1,137,771 users.

It's easy to take for granted how massive the flow of interactions from twitter, facebook, insta and reddit are.

comment 3y ago · link · parent

A lot of various sub silos are popping everywhere. They have the advantage of the niches, but also the disadvantage of being all isolated.

comment 3y ago · link · parent

I am on mastodon, but the volume, quality and diversity of interactions are disappointing me.

Also, there is not really a sense of community.

I've yet to see mastodon related memes in my feed, nobody made me smile with some rando IT stuff after years being on it, and the discussions I had were quite short.

I still have better exchanges here, on twitter or reddit. But reddit and twitter are sliding away slowly.

1606.

Ask HN: Where do you discuss computer related stuff now?

8 points · by BiteCode_dev · 3y ago · 14 comments

comment 3y ago · link · parent

Cool tool in a pinch.

Use it when it makes sense, but make sure you never, ever, depend on it.

They will do everything in their power so you do.

They will make it very attractive. Very convenient. At some point it will require active efforts not to. People might pressure you to do so, like when everybody asked you to create a FB account.

But unlike facebook users, you have the technical know-how, so if you put your entire dev stack in the proprietary cloud, with microsoft services on top of that, nobody will cry for you when you ineluctably get bitten by it a few years from now.

Big companies are not your friends. They will abuse it. You will get locked in.

comment 3y ago · link · parent

No but I'll forgive you for startling me.

Which is the scale of Mozilla "badness" compared to the rest, even you.

And especially in the ligh of the good things they do.

You can be a critic, but be so in balance with the good things, otherwise you are making doing good something so ingrate a lot of people will give up.

If you thing doing the right thing is easy, you have not been doing a lot of it.

comment 3y ago · link · parent

Spectrum of goodness:

    [M. theresa...VLC foundation....Mozilla.......You.......................Microsoft.......................................Nazis]                                                                       
I think your comment only shows how spoiled we are by open source.

comment 3y ago · link · parent

> So if you root an Android phone and get flagged by the Android Integrity API, several types of apps will just refuse to run.

That's just messed up. If like saying if your car detect you have been doing maintenance yourself, you can use this particular brand of carburetor because they will refuse to work.

And they want that... for the web?

comment 3y ago · link · parent

So many people are harsh Google critics, yet still never use duckduckgo, don't try to migrate from gmail, or stick to firefox.

Complaining is easy, but apparently even small compromises like these are hard.

comment 3y ago · link · parent

When a shirt is dirty, one stain doesn't stand out much.

When a shirt is white and clean, the smallest stain stands out.

Mozilla is one of the rare companies with a mostly white clean shirt.

It is been judged harshly, while we should rejoice that they have been doing amazing things for 20 years despite the competition being terrible people playing dirty.

If we keep doing this, they will be no more Mozilla in the world. Who wants to be the good guys if you are held up against impossible standards when your competitors are paid handsomely to destroy the world?

I know some groups that target perfect ethics: they do nothing, because it's impossible to do anything without screwing up sometimes.

comment 3y ago · link · parent

So that people handling the servers are not tempted to look at them, so that backup don't contain them in clear text, so that export must explicitly chose to decrypt them or not, etc.

comment 3y ago · link · parent

I don't think we do :)

comment 3y ago · link · parent

The analogy is only meant for the consumption pattern and business model.

Extrapolating it to anything else than that would be to read too much into an anecdote given at a diner.

comment 3y ago · link · parent

It's a small industry :)

comment 3y ago · link · parent

I worked in various "alternative" industries in my youth.

One day I was having an informal diner with people that, in another context, could have been business partners.

One guy was making a killing with an astrology service by phone. He started with those text message based games, that were popular in the 2000'. Remember? "Send 'love' to this number to know if he loves you".

And eventually created a full phone call based business with about 200 freelancer astrologists and mediums. He just redirected, and took a cut. He made banks.

What he told me that night was that 99% of his customer base were women.

"You have to see astrology as porn for women", he said. "Porn public is mostly male, astrology mostly female. Both know it's not real, and most won't spend more than a few minutes on it. But many pay for it even if they would never say they do".

comment 3y ago · link · parent

Those have different goals, it's not an XOR.

1619.

PEP 722: Python dependencies for single-file scripts(github.com ↗)

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

comment 3y ago · link · parent

Oh right.

My rent is 750€, and my mortgage would be about 1200€.

I didn't realize I could go the other way. This makes sense.

1
535455
184