24,628 karma · joined Oct 21, 2019 (7y ago) · 5,512 submissions
https://www.bitecode.dev/
Email: contact at bitecode.dev
comment 1y ago · link · parent
On top of that, the US can update it all remotely, including the hardware now thanks to things like intel ME.
Let's hope we never get into a conflict with them, because even without bombs, they can basically shut us down with a few keystrokes: https://www.bitecode.dev/p/the-eu-can-be-shut-down-with-a-fe...
Or at least have everything they need to develop such a capability. And it's not like the current people in power care much about alienating other countries.
comment 1y ago · link · parent
In places when you don't have a lot of money to go around, solidarity goes a long way, and nobody finds it weird to ask for help.
I understand on HN the average salary allows to pay for a lot, but it's an exception.
In France, it's common that everybody brings something for dinner, for example, even if you are invited.
If you throw a big party and then ask people if they want to help the people that did that, they are usually happy to do it.
comment 1y ago · link · parent
I'll add: if you need money but don't want to ask for it upfront, you will need to have someone to ask for it individually to each person mid party.
Just having a box to collect it somewhere, or a sign with a qr code, doesn't work nearly as well.
It's annoying to do, but if your party is good people react surprisingly well to this.
comment 1y ago · link · parent
comment 1y ago · link · parent
uv has a script mode, a temp env mode, and a way to superimpose a temp env on top of an existing env.
See: https://www.bitecode.dev/p/uv-tricks
That's one of the selling point of the tool: you don't need a project, you don't need activate anything, you don't even need to keep code around.
Yesterday I wanted to mess around with logoru in ipython. I just ran `uvx --with loguru ipython` and I was ready to go.
Not even a code file to open. Nothing to explicitly install nor to clean up.
For a tool that is that fantastic and create such enthusiasm, I'm always surprise of how little of its feature people know about. It can do crazy stuff.
comment 1y ago · link · parent
But this is much better. Any plan on open sourcing this infra for sphinx or mkdocs?
comment 1y ago · link · parent
Read the doc of https://iommi.rocks/, make a demo project showing of the capability of this tool.
(I have a claude.md with more info, but that's the prompt)
Came back with a fully functional demo with everything installed and working. runserver, and a glance at the code, and I get it.
TL;DR: it's like the django admin, except you can use it in any endpoint in your side. Pretty nice.
comment 1y ago · link · parent
It always surprises me (although it shouldn't) how many underrated gems there are still in the world. And new ones are produced every day.
E.G: I still think QTMN will deserve a place as a classic sci-fi author among the great ones, for "there is no antimemetics division" alone. And yet despite a solid fan following, it has never exploded in popularity. It is 10 times better than the 3 body problems, which comparatively had stratospheric success.
In movies, "Amelie" has been a planetary success, but from the same author, the excellent "The city of the lost children" is practically unknown.
Even last month, a tv show named "Nero" came out on Netflix, and while not revolutionary, is clearly above most of the crap that regularly comes out. Yet, nobody talks about it.
Popularity is a cruel mistress.
comment 1y ago · link · parent
I assume the beginning of the answer is given to a cheaper, faster model, so that the slower, more expensive one can have time to think.
It keeps the conversation lively and natural for most people.
Would be interesting to test if it's true, by disabling it with a system prompt, and measure if the time-to-answer is slower for the first word.
comment 1y ago · link · parent
This solution is interesting, as it provides the patched code as if it were a new package, indendant of the existing one you have installed, like vendoring, but without the burden of it.
In case you want to be the only one seing your patch, this is great. It also makes the whole maintenance easier, as you don't have to wonder if you patch it at the right time or in the right way. MK can fail in many subtle edge cases.
Inheritance, particularly, is a great Mk pitfall I expect this method to transparently work with.
comment 1y ago · link · parent
comment 1y ago · link · parent
Also the fact the population is so huge make it hard even for such a powerful state to grasp it all.
But regular citizen flexibility when something is not state-approved in advance is very limited compared to ours. The state can limit where they can move because of the citizen passport, limit what they can buy (and say) because of wechat, limit what they can see and know because of the GFW, limit how much you can be anonymous because big cities have cameras everywhere, coupled with AI tracking.
In Europe, if my government does something I don't like, I can pay in cash, or cross a border and do it in a different country. I can complain on the internet and find like-minded people to organize, advice, help...
I want to go to a gay bar and pay without having a record of it? I can. I want to finance an art or political project that the government would not like? I can.
In fact, anywhere in the world there is cash, and I have some secure cash stash, I can pay if I lost my phone, or with no battery. I can pay if my bank account is blocked by the bank. If it's in the red. If there is an outage on their app. I can pay if I've been robbed of my wallet and phone. I can pay if there is no electricity or no internet. I can even pay if war is declared, if I'm under bombs. I can buy illegal drugs, illegal plant seeds, illegal literature, and illegal human services.
Remember when visa prevented us to send money to wikileak? It was not illegal to do so in my country, and it was my money, but they just said no. Yet I could pay in Bitcoin, that I could buy with cash.
No-cash societies make everything easier when everything goes according to plan. When you fit in the box, and the box is not broken. It's why it feels so great, because day-to-day life is mostly this, for most people.
But the lack of alternatives will make you feel helpless the day you really need it. Cashless has never been about convenience, it's about deleting those annoying grey areas, inch by inch. It's about control.
It's not a new thing for China. The first time I went there, I was 17 years old, and there was no internet. So the state appointed us a state guide, and she was following us everywhere during the whole time, to make sure "we were safe".
Now China doesn't need to do that anymore. They know everything you do at any moment except in the remote countryside. And they can push a button if they want to stop you.
comment 1y ago · link · parent
With no cash, the citizen passport and the GFW, the dictatorship has total control of society. It's not that there are no homeless, is that they are pushed to even worse conditions, out of sight. It's not that there is zero crime, it's that the crime is from the state, the mafia, and there is a lot of corruption. But nobody can talk about it because there is no free press.
I do think it's important to state how much China is advancing, and surpassing the West, because they are going to rule the world as the Americans did, soon.
But let's not pretend it's some kind of utopia.
comment 1y ago · link · parent
So unless you are a lean startup, the reasons many products are horribly slow are very low hanging fruits no body are ever going to bother picking.
If you ever reach the time where pipelining is giving you a boost in perf, your app was already in a nice state.
It's so nice to be able to code on a baremetal server where my monolith has directly access to my postgres instance on my personal projects.
comment 1y ago · link · parent
It's really beautiful work, especially since touching the back bone (the import system) of a language as popular as Python with such a diverse community is super dangerous surgery.
I'm impressed.
comment 1y ago · link · parent
They took a decade to solidify that. At some point, you have to balance evolution and stability. For a language as popular as Python, you can not break the world every week, but you can't stay put for 5 years.
comment 1y ago · link · parent
In fact, half of the community basically uses only a modernized set of python 2.4 features and that's one of the beauties of the language. You don't need a lot to be productive, and if you want more, you can optionally reach for it.
It has worked very well for the last 2 decades and it will likely work again.
comment 1y ago · link · parent
Their company already don't produce much in France, it's all imported. They are paying minimal taxes already on what they produce and sell outside of France. And they don't pay taxes personally. So what would we lose if they leave?
For the things that are actually made in France, it's because they have to. They would have moved it already otherwise. So it's physical assets and people that can't be moved or sourced elsewhere. So what they have to produce there, they will still do. Their real estate, their logistic chain vehicles, and their local workshops will stay here. Even if they would sell part of it in fact, the actual physical stuff would stay here.
And what they sell here, they will still do: they are not going to exit the French market just because they can't be physically here so it's not going to affect the economy that much. What, less jet and luxury hotels revenue? It's ok.
And of course, we can increase taxes on their companies so that they get less revenue to compensate for their exile. We tax trading or exporting French-based company stocks so that they can't move that around without paying first.
Besides, once a stock is bought from the IPO, moving it from hand to hand is not investing more money into the company in any way. It's not going back into the economy.
They can move with their bank accounts and bonds, why do we care? It's not something that goes into our economy. They made sure of it.