Better HN
topnewbestaskshowjobs
Log inSign up

cesarb

15,874 karma · joined Mar 4, 2014 (12y ago) · 4,380 submissions

Submissions

comment 4h ago · link · parent

> Why are you allowed to go for the server and domain and not allowed to go for the DNS record?

You are allowed to go for the DNS record! At the place where it's located: the authoritative DNS servers for that domain. Quad9 is just a cache.

comment 1d ago · link · parent

IIRC, back then they sent these books to anyone who wanted them, you just had to ask.

comment 1d ago · link · parent

I've never seen Firefox re-warn about the self-signed certificate of my OpenWRT router, and I've been using the same self-signed certificate for over a year.

comment 1d ago · link · parent

Brazil: https://ntp.br/ from Observatório Nacional. Their servers are also on the NTP Pool, so if you're in Brazil and using the NTP Pool, you might already be using some of them.

comment 1d ago · link · parent

> Seems like BSD licensing would be more attractive today, yet Linux prevails.

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

> but the moment they do an active MITM I don't think a self-signed cert will be very useful

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

> all browsers use it since Chromium bundles it

Doesn't Firefox use NSS instead?

comment 4d ago · link · parent

> Although you can write the or-then-check-zero memcmp in any high level language and it's very unlikely to compile to data-dependent timing unless your compiler is AGI.

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

I'm not the parent poster, but I believe it was a reference to https://en.wikipedia.org/wiki/Omarchy#Funding_and_controvers...

comment 4d ago · link · parent

Not many people seem to know that the definition of "open source" they use (the OSD) is actually the definition of "free software" Debian uses (the DFSG) with the serial numbers filed off.

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

> But current "home" lab 3D printing is incapable of producing chips

Current "home lab" 3D printing is fundamentally different from chip manufacturing (additive manufacturing versus lithography), so it's unsurprising that it's incapable of producing chips.

comment 4d ago · link · parent

> My god, you only see this type of horrendous API in C don't you.

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 5d ago · link · parent

> Then I'd posit your org isn't using it correctly.

"You are holding it wrong."

comment 1w ago · link · parent

I also got the same 403 message from a normal residential ISP, no Tor or any other VPN active. It's not just waiting 2 seconds, you have to temporarily enable Javascript for that site and refresh the page first; then it said to wait for 5 seconds, and after that time it automatically refreshed to the release notes.

comment 1w ago · link · parent

I recall reading somewhere (perhaps some presentation?) that Tor had massive speed gains from implementing a better congestion control algorithm. A quick web search found https://blog.torproject.org/congestion-contrl-047/ which seems to have some details about it.

comment 1w ago · link · parent

You left out the ending: now we do have an unified national ID document (under gradual adoption, it'll be a few years until it's required), and its number is that tax ID (CPF).

comment 1w ago · link · parent

For those who don't know it, our tax id (CPF) is basically public information. For instance: we just had an election. The official public site with the official information about all the candidates (https://divulgacandcontas.tse.jus.br/) has the CPF for all of them. Want to know our president's CPF? It's there.

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

There's an element of risk involved, isn't there?

A firefighter entering a burning building is literally risking his or her life at that moment. A paper pusher who works on preventing the fire in the first place is normally very far from danger.

comment 1w ago · link · parent

> every minute, ask every server in each location directly for the temperature from its onboard sensors, take the average, and if it’s elevated, blast an alert out to everyone on the systems team to check for datacenter overheat.

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

And then you reach critical mass (http://www.catb.org/jargon/html/C/critical-mass.html), when trying to fix each bug only increases the number of bugs.

comment 2w ago · link · parent

> There was a time when all tables were made by hand. [...] Then the industrialisation came; factories started making tables. [...] Software development is just in the middle of this transition, [...]

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

The main problem with smartphones is not that they started at an "in-between" time, but that they started in an "in-between" place as a hybrid of a PDA and a traditional cell phone. Cell phones tended to be very closed in large part due to the influence of traditional phone companies, which wanted control over every device plugged into the phone network, and smartphones inherited some of that.

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 2w ago · link · parent

I think the term you're looking for is HMD (Head Mounted Display).

comment 3w ago · link · parent

> I wouldn’t be surprised if we start seeing individual drivers and subsystems move over.

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 3w ago · link · parent

> What else would you use to power the configuration gui frontend?

Perl?

comment 4w ago · link · parent

> What remains to be seen is which polling stations remained open and which did not.

You can check it yourself, the output and log files for each ballot box are already available. I can see that mine opened and closed at the expected time.

comment 1mo ago · link · parent

Power Network Tycoon: https://store.steampowered.com/app/2429930/Power_Network_Tyc...

comment 1mo ago · link · parent

Or even Whatsapp, which people already have installed on their phone. No need to go to the store to install anything.

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

Or the adb escape hatch. IIRC, their adb equivalent is limited to having a small number of apps installed at the same time, needs each app to be periodically reinstalled at short intervals (IIRC, one week), and you need to have your expensive Apple laptop with you for that reinstall.

Even with Android becoming much more closed, it's still more open than Apple.

comment 1mo ago · link · parent

> But the Go version is as well old news,

> 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!

12345
146