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 A year of uv: pros, cons, and should you migrate
It uses the content of the UV_PROJECT_ENVIRONMENT var env, which defaults to .venv. If you pass --active, it can also look whatever is in VIRTUAL_ENV and CONDA_PREFIX.

You can also force an env passing a complete path to --python

BiteCode_dev··on It's time to become an ML engineer (2022)
You are confusing not being able to do something well with being able to do it quickly.
BiteCode_dev··on It's time to become an ML engineer (2022)
Some jobs it's more.

I had to sign a 140 page contract of foreign language legalese. Mostly boiler plate, but I had specific questions about it.

Asking questions to an AI to get the specific page answering it meant I could do the job in 2 hours. Without an AI, it would have taken me 2 days.

For programming, it's very good at creating boilerplate, tests, docs, generic API endpoints, script argument parsing, script one-liners, etc. Basically anything for which, me, as a human, don't have much added value.

It's much faster to generate imperfect things with AI and fix them that to write them myself when there is a lot of volume.

It's also pretty good at fixing typos, translating, giving word definition, and so on. Meaning if you are already in the chat, no need to switch to a dedicated tool.

I don't personally get 10x on average (although on specific well suited task I can) but I can get a good X3 on a regular basis.

BiteCode_dev··on Grok 3: Another win for the bitter lesson
It is very up to date however, I asked it about recent stuff on python packaging, and it gets it while others don't.
BiteCode_dev··on A year of uv: pros, cons, and should you migrate
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".

BiteCode_dev··on A year of uv: pros, cons, and should you migrate
uv export?
BiteCode_dev··on A year of uv: pros, cons, and should you migrate
Soon uv will invlude a task runner that will take care of that use case but I get your point.
BiteCode_dev··on A year of uv: pros, cons, and should you migrate
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.

BiteCode_dev··on A year of uv: pros, cons, and should you migrate
Author here. A.m.a
BiteCode_dev··on A year of uv: pros, cons, and should you migrate
Mostly less modes of failures, particularly at bootstrapping.
BiteCode_dev··on A year of uv: pros, cons, and should you migrate
I've seen a lot of docker images move to uv inside their docker file.

Use both.

BiteCode_dev··on A year of uv: pros, cons, and should you migrate
You don't need to activate anything with uv, all commands do it in the venv automatically, and including uv run.
BiteCode_dev··on A year of uv: pros, cons, and should you migrate
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.
BiteCode_dev··on A year of uv: pros, cons, and should you migrate
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.

BiteCode_dev··on Andrej Karpathy: "I was given early access to Grok 3 earlier today"
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.

BiteCode_dev··on Show HN: Scripton – Python IDE with built-in realtime visualizations
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.

BiteCode_dev··on DSLs for Safe iOS/WatchOS Communication
Can captain proto be used there?
BiteCode_dev··on U.K. demand for a back door to Apple data threatens Americans, lawmakers say
https://xkcd.com/538/

This applies to corps as well.

BiteCode_dev··on U.K. demand for a back door to Apple data threatens Americans, lawmakers say
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.

BiteCode_dev··on U.K. demand for a back door to Apple data threatens Americans, lawmakers say
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.

BiteCode_dev··on U.K. demand for a back door to Apple data threatens Americans, lawmakers say
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.

BiteCode_dev··on Boring tech is mature, not old
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.

BiteCode_dev··on A tale of distros joining forces for a common goal: reproducible builds [video]
You mean you don't need dep resolution, signatures and moderation? How so?
BiteCode_dev··on Stop using zip codes for geospatial analysis (2019)
You ask a customer their census unit on purchase though.
BiteCode_dev··on It is time to standardize principles and practices for software memory safety
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"

BiteCode_dev··on It is time to standardize principles and practices for software memory safety
Now the billion dollar question, how to make that work for the entire linux kernel.
BiteCode_dev··on Workday erases 8.5% of workforce because of AI
It doesn't say what jobs are being replaced so hard to know if it's not a scape goat.
BiteCode_dev··on They Thought They Were Free: The Germans, 1933-45 (1955)
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.

BiteCode_dev··on They Thought They Were Free: The Germans, 1933-45 (1955)
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.

BiteCode_dev··on "A computer can never be held accountable"
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.

← PreviousPage 16 of 34Next →