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

It is common to have a task runner to abstract away commands.

doit, poethepoet, just... They are simpler than builders like make or maeven, and more convenient than aliases.

E.g: i don't run ./manage.py runserver 0.0.0.0:7777, I run "just openserver".

Poetry, cargo and npm have support for this natively, and there is an open ticker for this in uv too.

So you would not do "uv run manage.py runserver" but "uv serve".

comment 1y ago · link · parent

uv export?

comment 1y ago · link · parent

Soon uv will invlude a task runner that will take care of that use case but I get your point.

comment 1y ago · link · parent

Charlie Marsh said in our interview they plan to compete with anaconda on b2b:

https://www.bitecode.dev/p/charlie-marsh-on-astral-uv-and-th...

Make sense, the market is wide open for it.

comment 1y ago · link · parent

Author here. A.m.a

comment 1y ago · link · parent

Mostly less modes of failures, particularly at bootstrapping.

comment 1y ago · link · parent

I've seen a lot of docker images move to uv inside their docker file.

Use both.

comment 1y ago · link · parent

You don't need to activate anything with uv, all commands do it in the venv automatically, and including uv run.

comment 1y ago · link · parent

conda compiance is nearly impossible to get because the typical anaconda project doesn't exist: it's a separate ecosystem with huge variability that is by design incompatible with everything else and that no two teams use in the same way.

comment 1y ago · link · parent

True and uv will probbaly never brings non python deps on the table.

But anaconda doesn't do inline deps, isn't a consitent experience (the typical conda project doesn't exist), is it's own island incompatible with most python ecosystem, is super slow, the yaml config is very quirky, and it's very badly documented while having poor ergonomics.

In short, anaconda solves many of those problems but brings other ones on the table.

comment 1y ago · link · parent

I would love that.

Problem is, it will probably not tell you the truth about it as Twitter has always had censorship one way or the other.

So it will tell you what twitter policy is allowing people to talk about and allowing grok to report.

comment 1y ago · link · parent

I like the idea, but it should be a separate product, not an IDE.

Make it a Python runner with a visualization tool and independent from an IDE.

You will not have to catch up with the big IDEs, no need to maintain the IDE code, you get people using different IDEs to adopt your products and they can keep their tooling.

comment 1y ago · link · parent

Can captain proto be used there?

comment 1y ago · link · parent

https://xkcd.com/538/

This applies to corps as well.

comment 1y ago · link · parent

1 + 1 = 2

If they can ask whatever they want (they had secret courts that could provide any legal request), they have a massive data acquisition apparatus, they had many backdoors they actively used, and big companies complied while being silenced by a gag order, assuming they have direct backdoors provided officially today that we don't know about, and that companies with proprietary systems we can't check can't talk about, is just common sense at this point.

Why would you give them the benefit of the doubt when the 2 last decades of track record have given you all the reason not to, and that the next step is the logical conclusion?

Lions kill gazelles. But not this specific gazelle because I like this one?

But anyway, the point is moot, they don't even need to for this particular debate. They already have a lot. The UK therefor not matching them exactly is just them using a slightly parallel road for the same result.

It's a terrible thing either way for us. But I get the logic for them.

comment 1y ago · link · parent

Wikipedia clearly states:

PRISM collects stored internet communications based on demands made to internet companies such as Google LLC and Apple under Section 702 of the FISA Amendments Act of 2008 to turn over any data that match court-approved search terms.

https://en.m.wikipedia.org/wiki/PRISM

They were actively providing the data on request.

comment 1y ago · link · parent

The US, through the Intel ME software, already got a backdoor in most laptop. Using PRISM, it also had one on most big Saas, and now that it's over, it probably has a similar one we don't know about given Snowden's revelations about xkeyscore and how it works.

It's very likely they also have a backdoor in Apple phone with a gag order, given Apple was part of PRISM and we can't check their proprietary system.

We also know China has backdoors to any software or hardware product you want to sell there.

So it is a problem that the UK is asking for this for us, but from their perspective, they are just catching up with the current horrible state of things.

comment 1y ago · link · parent

YMMV greatly.

Python is a very old tech (v1 in 1991), but you won't have a hard time finding a job because the popularity of the language has been kept up first with the web, then with data analysis and now with AI.

Also, the more something has been out there, the more legacy there is to maintain. There is no shortage of PHP or Java jobs. Sure they are not sexy, but you'll have work.

comment 1y ago · link · parent

You mean you don't need dep resolution, signatures and moderation? How so?

comment 1y ago · link · parent

You ask a customer their census unit on purchase though.

comment 1y ago · link · parent

Can't wait to read the first incendiary linus style rant being generated by the AI as a result.

"As a large languge model, I can't answer your patch merge request you absolute fucking moron"

comment 1y ago · link · parent

Now the billion dollar question, how to make that work for the entire linux kernel.

comment 1y ago · link · parent

It doesn't say what jobs are being replaced so hard to know if it's not a scape goat.

comment 1y ago · link · parent

No I'm noting that to fight better we must realize what we did inefficiently and correct course so that we can mobilize more people.

Right now If I discuss the events around me, many are apathetic, because they think I'm exaggerating. Because that's what they have been used to.

And your comment is directing your anger at someone that very likely share a lot of your value system while he was trying to make a self-reflecting point. This is a waste, and it divides us.

When everything is an outrage, the outrage is worth nothing.

And while you are fighting on semantics with potential allies, for virtue signaling no less, the real threat is showing a united front, no doubt, no debate.

comment 1y ago · link · parent

I remember I once stumbled upon pictures of the daily life of ordinary nazis.

They looked so normal, having fun, teasing each other, drinking and playing instruments.

There is even a video where hitler is shying away from his love companion.

This was a shock to me as a kid: evil doesn't look like the caricature of "the very bad guy", it emerges in every day people.

I think we failed to communicate that. It was too tempting to have a universal vilain you could use in Hollywood movies and instantly recognize. That you can't identify to. Black and white is so easy to sell.

But what it means is a huge part of our society cannot make the link between what is happening in their own life and the past. Because they have a vision of the past that looks like a kid show, not what really happened.

Worse, on the other side, outraged people abused the term nazi to call out anybody that had a bad behavior. But there is a huge difference between being an asshole and being ready to commit genocide.

Eventually it means the word nazi lost all of its meaning. And all of its usefulness to defend ourselves.

In the last too decades, we surely spent a lot of time playing with words until they could not be useful anymore. But it made us feel good for a moment.

comment 1y ago · link · parent

Precisely what americans state you should not do: regulate.

There should be laws stating who has skin in the game, maybe by stating that if you take responsability for the profit by having a high salary, you also take responsability for the damage with prison.

comment 1y ago · link · parent

ChatGpt is pretty good at deobfuscate js

comment 1y ago · link · parent

Same. I tried zed but it doesn't come close.

comment 1y ago · link · parent

I'll write an article on bitecode.dev at the one year mark (about end of feb) about the various situations I tested it in with clients and the results.

I will include a section about the things that it was not good for and the problems with it. Spoiler, there were not that many and they fixed them astonishingly well (even one this week!). But obviously there were some, no software is perfect although they worked hard to not make it too opinionated for the first taste.

I can ping you when it comes out.

1
161718
184