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

You certainly can, as pyodide proves it, but it's a complicated task. Pyodide is upgraded only once in a while to a upper python version because of how much work it is.

This makes it much easier.

comment 5y ago · link · parent

In this particular case, the fact it's written in rust gives it some very interesting properties:

- it makes compiling your entire project into a standalone executable trivial

- the interpreter can be compiled to WASM way more easily than with something like pyodide

- you can provision python with cargo, which mean no more fiddling with pyenv, deadsnake, epel, etc. and yet getting a consistent, to the minor version, python distribution

- rewritting you hot path in rust becomes first class citizen. Since the python story is, start with python, and when you need to scale, you can always create an extension later, this is really attractive.

All that has only value, of course, if the project reaches a good compat and is supported.

But still, the possibilities it offer are not negligible.

comment 5y ago · link · parent

Austin: https://github.com/p403n1x87/austin

comment 5y ago · link · parent

You mean like facebook is better than the freaking entire _internet_ ?

comment 5y ago · link · parent

We do tax them with VAT, which brings a LOT of money.

We could, and should tax them more on earnings too, despite loop holes and tax heavens.

But even if you could just get VAT on drugs and prostitution, that would be HUGE. Not to mention profits would go to legal businesses, which would stimulate the economy, instead of going into criminals pockets, which hurts society.

comment 5y ago · link · parent

That's the metaverse we wish for, yet it's not the metaverse FB wants to build. It is the metaverse only in name, but it's just another proprietary sillowed plateform built to milk users.

A metaverse should have an HTTP-like protocol, with the goal to interconnect, to give power to the client, while allowing an ecosystem to build, because it would be defined as an open standard.

We need a 2021 Tim Berners Lee, not a Mark Zuckerberg.

comment 5y ago · link · parent

Sure, that's also what sport coaches, musician teachers, people teaching cooking on youtube and librarians say.

Also you should get 8 hours of sleep, buy food at the farmers market, spend time with your familly, meditate, get this GTD rolling, and learn a new skill for your carreer.

But honestly, the truth is, as soon as VR is cheap and comfy, I think people will rush to it anyway for one reason: porn. So the metaverse can grow, if like in second life, it allows for porn to develop. But since FB tend to want a family friendly experience, I think we got a betamax vs VHS situation here.

comment 5y ago · link · parent

On the other hand, Chrome doesn't ask, it just does it.

Logged in youtube ? You probably meant to sign in the browser too, sync all your life with google, and link your android phone. There, fixed it for you.

comment 5y ago · link · parent

Apple TV is at this point, the underdog that most people don't know about. Probably 1 out 50 persons even know it exists around me.

So I wager they wanted very hard that the name of Asimov created a fan base that would carry their own PR.

Otherwise, why chose the book at all ? After all, as you said, it's almost impossible to adapt, so they didn't buy the rights for the writing.

comment 5y ago · link · parent

Did you validate Firefox updates before?

Most people don't.

For the rare people that do (probably 100 on the entire planet), they can disable the automatic updates and do it manually.

I have no problem with automatic updates I can disable.

comment 5y ago · link · parent

The problem here is windows not providing an open way to update things from an external repo easily like Linux does.

The end game, I assume, is that updates eventually come through the store. But that effectively prevent updates unless they agree to it.

comment 5y ago · link · parent

Sure, but in that case you can't expect to benefit from the hype produced by the fans community, and any backslash is on you.

Turns that those people make a lot of noise for their small number. The screeching voices and all that.

comment 5y ago · link · parent

You can't have your cake and eat it.

Apple made a ton of buzz around the TV show, and it took _because_ they use the Asimov work.

Apple did the Apple thing, they overhyped a product that they then designed according to their own rules, expecting everybody to just eat their crap and smile as usual.

But it turns out people liking classic SF books are not your average fanboy, and they don't like being lied to.

It's not just about marketing, it's about trust. It's about taking a dump on a legendary art piece to make money with a the Apple smug confidence. While Dune was a masterful yet humble demonstration of respect and love to the book.

Sure, it's was impossible to adapt the book as a show. By nature. Any reader would have told you that.

They didn't care. They wanted their poney.

It was never about making something for us.

Well, for once, I'm happy it back fired. They don't get to hear "no" often enough.

comment 5y ago · link · parent

Protecting the kid against immoral or chocking things is a, IMO, not as important as not exposing them to constant brain washing from ads.

If I have to chose between naked people and a coke ad, I'd rather have the kids see sex. Honestly, the former never had a negative impact on me, but the later really had.

comment 5y ago · link · parent

Better, when you click, it triggers a game to kill time. But the game engages you with the product.

Evil genius.

comment 5y ago · link · parent

Who cares? When I want to know where my python comes from, I which it. Oh, that's the virtualenv, thanks.

Unless you doing alternative micro meta alpine docker images, this has no importance whatsoever.

comment 5y ago · link · parent

I assumee unless you have a GIL, most operations on collections are not thread safe, but they are async safe, since context switching can only happen where you await.

comment 5y ago · link · parent

Would you happen to be freelancing a bit?

I'd like to hire somebody for a day to teach me those things. Remote is ok.

comment 5y ago · link · parent

Well, not really. If you are using a cloud solution, you usually needs an engineer that knows this particular solution. Outside of the HN bubble, it's a rare breed and it cost a lot more than your traditional linux admin, that you probably already have anyway.

Then you need to design, maintain and debug the distributed cloud system, which is more complex.

So you'll have a dedicated person or team for that in both cases.

On the other end, setuping a linux box for the common tasks (web server, cache, db, etc) never takes me more than a day.

comment 5y ago · link · parent

Yeah, I edited my answer because that's fair. Even AS 430 main frames with crazy uptimes are not unheard of after all.

comment 5y ago · link · parent

Can you educate me on the typical setup you would use to achieve that goal?

comment 5y ago · link · parent

If the alternative is a mass surveillance state (which we are sliding to) and the end of democracy, yes. Yes it's way better.

comment 5y ago · link · parent

I'm not arguing about the subpoena, I'm arguing against the idea that encrypted solutions are bad.

If you have a subpoena to open a safe, and you realize that you have no tools that are strong enough to open that safe, you don't suddenly blame safes. You don't tell banks they should stop using safes. You don't ask them to create weaker safes robbers can break into.

You try another route.

A subpoena is fair. Asking signal to preemptively not encrypt the data in case we need it later is not.

comment 5y ago · link · parent

Yes, perfs are better on bare metal, and it's cheaper too. In fact, even a cheap VPS will perform better than the cloud for much less money, and scale vertically to incredible highs.

You do have to do a lot of things manually, and even doing that, you won't get the high availability and elasticity you have the potential to get from a cloud offer. Potential being the key word though.

But honestly, most projects don't need it.

Crashing used to terrify me. One day I started to work for a client that had his service down once a month.

Guess what ? Nothing happened. No customers ever complained. No money was lost, in fact, the cash flow kept growing.

Most services are not so important they can't get switched off once in a while.

Not to mention, monoliths are more robust they are given credit for.

comment 5y ago · link · parent

It's not a dead end with Signal. But it requires field work, as they used to do 50 years ago.

Now, cops and politicians want to solve all the problems from their desk.

No, sorry, my freedom is not to be sold for their convenience.

You want to catch a bad guy, you get a trained investigation team that follows people, that wires their house, that interrogates neighborhood, etc.

Is it more work ? Yes. Is it more dangerous ? Hell, yes.

But don't say you can't catch criminals because of Signal. What you can't do, is click on a button to spy on people. It's a good thing.

This mantra is just an excuse to chew off chunks of democracy.

comment 5y ago · link · parent

Let go? Sued.

comment 5y ago · link · parent

- Your privacy is being invaded. Look at snowden, PRISM, facebook!

- Don't have anything to hide.

- At least use Firefox.

- Nah.

Sorry but no, it's definitly apathy.

comment 5y ago · link · parent

bandwith

comment 5y ago · link · parent

Rate limiting for all would be fair. You can torrent the whole db anyhow.

comment 5y ago · link · parent

Can you give us more details about this ? Do you have a particular story in mind ? It seems a lot of fresh blood is comming to the python project recently, so I'm interested in what you have to say.

But why are you using a throwaway account ? And that you that have been answering the other comments with also newly created accounts ?

1
114115116
184