15,874 karma · joined Mar 4, 2014 (12y ago) · 4,380 submissions
comment 1d ago · link · parent
comment 1d ago · link · parent
For most people, the licensing doesn't matter; if you're just using instead of distributing, the licenses are effectively the same (zero cost, no field-of-use restrictions).
And Linux and the BSDs are similar enough that, once you're using one of them (and your hardware is supported), there's not much gain in switching to the others. Which makes the early popularity gains of Linux "sticky".
comment 1d ago · link · parent
In my experience, it's TOFU (Trust On First Use): once you accept the self-signed certificate the first time, Firefox will store its hash and no longer warn you as long as the certificate doesn't change. An active MITM after that point should still warn about an untrusted certificate, since the certificate would no longer be the same as the stored exception.
(And the same would happen if you initially accepted the self-signed certificate while under an active MITM, and the attack later stops; the only way to avoid a warning would be to have the attack be running continuously since the first use.)
comment 4d ago · link · parent
No need for "AGI", the compiler just needs to have enough value tracking to know that the value saturates (once a bit is set, it never gets unset), and an heuristic to move the comparison inside the loop when it might allow it to do less loop iterations.
(I wrote a Rust crate to do precisely that kind of "constant time memcmp", and the only truly reliable way to do so without help of the compiler, is by using inline assembly as a "black box" to make a few things invisible to the compiler's optimizer. It was inspired by code in the Linux kernel which did the same thing also using inline assembly as a "black box".)
comment 4d ago · link · parent
comment 4d ago · link · parent
The problem with "free software" lies exclusively with the English language; other languages don't have the same issue due to having separate words for "freedom" and "zero price".
comment 4d ago · link · parent
This is the appropriate place to put a link to this pair of classics on API design:
"How Do I Make This Hard to Misuse?" https://ozlabs.org/~rusty/index.cgi/tech/2008-03-30.html
"What If I Don't Actually Like My Users?" https://ozlabs.org/~rusty/index.cgi/tech/2008-04-01.html
comment 1w ago · link · parent
comment 1w ago · link · parent
comment 1w ago · link · parent
The bad part is the rest. Having the name together with the phone number, plus being on the list meaning you most likely have one of a particular set of products from Caixa, makes it much easier for the scammers to pretend to be from the bank.
comment 1w ago · link · parent
I've once done the opposite: the office "server room" (a small room with three racks, two of them for the patch panels, one for the servers and switches) was cooled by a mini-split which was prone to locking up with the compressor enabled (the relay which controls the compressor got stuck) and freezing, which then stopped the air from circulating due to all the ice. I wrote a script which ran on one of the servers which read the ambient temperature through IPMI to detect when the room was too cold, email a warning, and power off (using ssh) the neighboring servers and then itself.
comment 2w ago · link · parent
comment 2w ago · link · parent
Sorry, but that transition already happened. A long time ago. It was when compilers replaced hand-written assembly.
What we're talking about would be more like the design phase, where someone prepares the molds and tooling which will be used by the factories to make the tables. Even that has already been partially automated, with CAD/CAM on physical manufacturing, and IDEs in software development.
The current usage of LLMs for software development, has AFAIK no analogue on the physical manufacturing side, so we can't reason by analogy there.
comment 2w ago · link · parent
Unfortunately, new devices tend to inherit from smartphones instead of desktop computers; even VR devices like the Steam Frame are clearly based on smartphone hardware, even though it doesn't have (for now) a cell phone modem.
comment 3w ago · link · parent
Already happening. https://lwn.net/SubscriberLink/1102982/c3a3a2d4f17108c5/ "Removing binder.c" is an article from yesterday, about discarding the old C implementation of the Android Binder driver (used by every single Android phone) in favor of its Rust reimplementation.
comment 1mo ago · link · parent
comment 1mo ago · link · parent
A scammer managed to convince a relative to share their screen during a Whatsapp video call. Luckly, said relative didn't use banking apps on the phone, the bank rejected as suspicious the transaction on the computer which would have sent money to the scammer, and the relative asked me for help before going to the ATM to unblock the account (I then contacted the bank and had them fully block the account as a precaution, and told my relative to go to the bank branch the next day to change the passwords and unblock the account).
comment 1mo ago · link · parent
Even with Android becoming much more closed, it's still more open than Apple.
comment 1mo ago · link · parent
> actually it was one of the first stories about eMudhra appearing on the HN homepage yesterday.
I feel like I'm going crazy, something which happened (checks clock again to be sure) yesterday (actually two days ago I think, so much has happened that it all blurs together) is being considered old news!