24,628 karma · joined Oct 21, 2019 (7y ago) · 5,512 submissions
https://www.bitecode.dev/
Email: contact at bitecode.dev
comment 4y ago · link · parent
Taste is something we cannot objectively agree, and in fact, people will end up arguing even about this very statement, offering what they think is an objective measure.
Bikesheding, yes. Hours lost in meeting, chat debates, documentation to write, linting configuration. To be redone for each project, team, etc. Worse even in FOSS where everybody will come in a ticket and complain. And after while, you do it again, because the debate is never settle even in the same team or project.
There is not way to take a team of 3 people, choose a style, and make it so that they are all 100% happy with it.
Black took the road of gofmt: you can't chose. And it won because of that: it saved people time and energy.
People realize the cost was not worth the satisfaction, which you are unlikely to get anyway. Let's just move on to what matters, it's good enough. Pareto.
comment 4y ago · link · parent
I remember that I got a home assignment in an interview for a PHP job. The person evaluating my code said I should not have used UTF8, which causes "compatibility problems". At the time, I didn't know better, and I answered that no, it was explicitly created to solve compatibility problems, and that they just didn't understand how to deal with encoding properly.
Needing-less to say, I didn't get the job :)
Same with Python 2 code. So many people, when migrating to Python 3, suddenly though python 3 encoding management was broken, since it was raising so many UnicodeDecodingError.
Only much later people realize the huge number of programs that couldn't deal with non ASCII characters in file paths, html attributes or user names, because they just implicitly assume ASCII. "My code used to work fine", they said. But it worked fine on their machine, set to an english locale, tested only using ascii plain text files on their ascii named directories with their ascii last name.
comment 4y ago · link · parent
Because after so many years, a lot of the ecosystem hasn't moved, or is even not compatible with it. Good multi display support is missing, and some games don't render well.
I want it to succeed, and the project has been progressing non-stop, but it does show how much time and energy such an endeavor takes. I was expecting to be able to use it for years and years.
See also: BTRFS
comment 4y ago · link · parent
Python 3.10 is the first release to be exciting to me, since 3.6. Not because of pattern matching. Not because it adds 2 builtins. Because the error messages are so much better. And 3.11 will do even more.
Who said you needed a buzz word to get a nerd attention?
3132.
Python core dev says “It's now time to deprecate the stdlib urllib module”(twitter.com ↗)
15 points · by BiteCode_dev · 4y ago · 3 comments
comment 4y ago · link · parent
Is your machine state persistent between connections ?
EDIT: well, I tried to join and the signup ask me for my phone number. I already disliked that, but tried anyway. Every time I tried to setup a machine, the site answered:
"This machine type has not been approved for this account yet. Tell us a bit more about your use case and we will prioritize your request. A member of our support team will approve your request shortly".
Yeah, my request is that I'm a paying customer, I don't want to justify myself for the privilege of paying for their service, thank you very much.
So, no, I don't think I will try paperspace.
comment 4y ago · link · parent
I love the laptop factor, but I need a good GPU sometimes. There are ways to plug one using USB-C, and I wanted to go for that first.
But my little bro, a gamer, told me it was a waste of money. For $29 a month, I can get a remote beast of a computer with Windows 10 on it and use it as much as I want.
At first, I wasn't convinced. Primo, I'd have to upload all of my stuff. Secondo, what about the latency ?
Well, I'm not playing multiplier online games, so it turns out the latency is imperceptible for my use cases. It's not your typical VNC setup, they optimized their client and protocol and I sometimes forget I'm not on a local machine.
Second, OVH is behind the brand, so their uplink is crazy good. Which means uploading and downloading things is very fast. Sometimes it's even better to stream movies from the shadow and watch it remotely than to use my local connection O_o
Eventually I saw the $2000 GPU I wanted to buy, and realize that it would take me more than 5 years of shadow usage to reach that price. After which my GPU would get old anyway, and I would need another one.
Bonus: it takes no space on my desk, doesn't make noise, doesn't heat, and I can use it when I travel, so I have the buffed up GPU at my disposal at my clients sites, in holidays, anywhere with decent wifi.
Because yes, the latency is good enough that I actually don't bother to plug my ethernet cable anymore: wifi works fine. Hotel wifi sucks though :)
Unlike gaming streaming services, you are not limited to a gaming provider, you can reuse your steam account or gog games. You are actually not limited to game, you have a full Windows 10 at your disposal. You can do video edition, model training or 3D rendering. Not crypto mining though, according to the terms of use. In fact, nothing that requires background tasks as the computer shuts down as soon as no human use it (I assume they make money by sharing the hardware).
But if you do want to play, it's nice. I tested Borderlands 2 with all settings cranked to the max, it works smoothly, including a with a controller plugged with BT into the laptop!
It's not without any problem, obviously:
- one or twice a day, the image will glitch, and I will lose control for a few seconds. So don't do remote surgery or bank your MMR on it.
- the linux client just doesn't work on the lastest Ubuntu. I have to reboot every time to my windows session.
- I'm in France, so YMMV, since I have no idea how good the ping to their server is from the US. Work fine from Germany.
- if you alt tab for too long the shadow client (from the laptop windows, not the shadow windows), it will consider you are not using the machine and disconnect (probably part of their business model). I lost data this way.
- the GPU you get depends of where you are. Some get a P5000 with 16GB GDDR5X, some a GTX 1080 with 8GB GDDR5X and some a RTX4000 with 8GB GDDR6
- if it gets through, it can act as a VPN. Unfortunately, the ports it uses may be blocked.
- their support is google-level terrible. If the answer is in the FAQ, you are good to go. If not, you are on your own.
comment 4y ago · link · parent
That the size of a zipped plain text bible.
There are some people that knows the bible by heart, and I suppose if you work with it a lot, you have a general idea of the order of all things, and what's going on in each part without having to know the exact words. Like an essay you've been working on for months.
So seems about right.
Maybe it's time for a new metric: 1 floppy is what you can hold. More is too much.
comment 4y ago · link · parent
Which is one more hint that our legal system is not working as it should. It is completely ineffective at enforcing laws above a certain threshold of power.
comment 4y ago · link · parent
If you tried to serve a black customer in many places in the MLK era, it would have been trouble for your job.
In France, the big blue collar companies have on constant display political messages from the various left leaning CGT and Lutte Ouvrière. You may very well be pressured to join.
I my clients companies at least, I don't see the trend going up or down. It's pretty much as political as it used to be.
comment 4y ago · link · parent
I guess my point is more that political used to imply some stakes from the person involved. Because if you believe in something without having some skin in the game, you don't really believe in it.
Now a day, outrage on the internet cost nothing to the trolls and raging people. In fact, it's pleasant to them.
So I have a hard time considering that political.
But maybe I should just be more flexible.
comment 4y ago · link · parent
Most people don't own a gun.
I never heard, unlike in the valley where colleagues told me exactly that, that you have to be careful to not road rage because you don't know if the other guy is not an idiot packing.
comment 4y ago · link · parent
Practically, IRL, people are not acting politically very much. Not more than 15 years ago around me at least. And certainly not the ones that are screaming on the internet.
Anecdotally, those who are politically active in my circle (choosing what they buy, protesting, helping a category of living beings, writing to politicians) are actually not active on social media. They don't have time or energy for that, so they prioritize. If you don't know them, you don't know about what they do.
So there is a lot of political outrage, virtue signaling, pavlov reacting and tribalism.
But I don't think in reality people are hyper politics. They talk a lot of about the fashionable rant du jour, but have no dept, and it's not followed by actions.
The article is mentioning that medias are becoming hyper politics, and on that I can agree. Social medias, but even sites for fun like imgur.
And the corporation world as well, because a temporary outrage can make people superficially act against them for a limited amount of time, which will impact trust. In an economy where value is decorelated from what you really do, an ephemeral spike can tank you. But on the long run, those same people will forget about everything quickly, and revert back to their old patterns. They are not politically commited, they are just being even more manipulated than before.