Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cesarb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
331.
▲
by
cesarb
2y ago
> m³ is already a pretty hard to visualize unit (unless you are used to visualize volume) I don't think it's that hard; just think of a standard 1000L water tank (which is, in my experience, the most common size).
332.
▲
by
cesarb
2y ago
> hash a .tar file, not a .tar.gz file For security reasons, it's usually better to hash the compressed file, since it reduces the attack surface: the decompressor is not exposed to unverified data. There have already been vulnerabi
333.
▲
by
cesarb
2y ago
The main problem with tail call optimization is that it's unreliable; small apparently unrelated changes elsewhere in the function, a difference in the compiler command line flags, or a different compiler version, could all make a tail
334.
▲
by
cesarb
2y ago
> Thus, SMM, because there was no other way to hook power management on a 386 laptop running " normal" DOS In theory, there was: you could have a separate microcontroller, accessed through some of the I/O ports, doing the
335.
▲
by
cesarb
2y ago
It seems to me that a key requirement for this attack is that both the attacker and the victim load the same link, that is, that the attacker knows the URL the victim is going to load. If Signal/Discord created a different link to be g
336.
▲
by
cesarb
2y ago
I'd say Rust editions are more like going from Python 2.x to Python 2.y, than the 2->3 migration. The Rust standard library is still the same (and the string type is still "valid UTF-8") no matter the edition (this is why
337.
▲
by
cesarb
2y ago
> an implicit context variable that allows you to pass stuff deep down the call stack, without intermediate functions knowing about it. [...] but is actually very useful and can result in cleaner code with less globals or less superfluou
338.
▲
by
cesarb
2y ago
> Brute-forcing symmetric encryption is a somewhat silly concept anyways, because each decryption is equally valid. Each decryption is equally valid as long as the key has the same size as the data . What happens, in practice, is that t
339.
▲
by
cesarb
2y ago
> Why pay for the Steam Deck, though? Buy it online and claim it never arrived to get a refund. If you do so, the seller has one less device. If you copy a game, the seller still has the same number of games. Your analogy clearly doesn&#
340.
▲
by
cesarb
2y ago
> and this was the age of "smaller is cooler" mobile phones, so they tried to keep the screens small. I, for one, would love a return to "smaller is cooler" with small screens and big numeric keypads. I have an elderl
341.
▲
by
cesarb
2y ago
> Btrfs [...] still doesn't match ZFS in features [...] Isn't the feature in question (array expansion) precisely one which btrfs already had for a long time? Does ZFS have the opposite feature (shrinking the array), which AFAI
342.
▲
by
cesarb
2y ago
> "Sorry, you cant sign in to your bank because you are using Linux." That's not an hypothetical for us here in Brazil: online banking was Windows-only for quite some time, because there was no Linux version of the invasiv
343.
▲
by
cesarb
2y ago
> Again, citation needed. I made it through the 2000s just fine, thank you. Playing devil's advocate: banking trojans used to be really common here in Brazil back in the pre-smartphone era of the early 2000s (smartphones already exi
344.
▲
by
cesarb
2y ago
> We continue to repeat the same mistakes that made people believe we needed v6 in the first place. The IPv6 designers already thought of that and prepared for that eventuality. Only 1/8 of all available IPv6 addresses (the ones sta
345.
▲
by
cesarb
2y ago
At least for C++, it's older than C++11; a lot of us used for a long time the "C++0x" pseudo-standard (which is mostly the draft of what later became C++11; as the C++0x name indicates, it was originally intended to be finish
346.
▲
by
cesarb
2y ago
You're right, in the case of FAT16/FAT32 it AFAIK has to use the current system locale, since unlike EXFAT or NTFS there isn't a place in the filesystem to store that locale table.
347.
▲
by
cesarb
2y ago
> (TLDR: X didn't adhere to all of Brazil's regulations and refused to pay the resulting fines so a judge deemed Starlink a related company and blocked payments to Starlink until X complied.) IIRC, the judge didn't block p
348.
▲
by
cesarb
2y ago
The file picker is precisely where case-insensitivity should be done; the rest of the application should already have the correct file name.
349.
▲
by
cesarb
2y ago
> You have no control over all the DLLs loaded in your process. If a user DLL loads that can't handle UTF-8 narrow APIs, you're just praying it won't break. I want to emphasize this point. From what I've heard, on Win
350.
▲
by
cesarb
2y ago
> And case-sensitivity is still applied, stupidly enough, using locale-specific rules. (Change your locale, and you change how case-insensitive filenames work!) AFAIK, it's even worse: it uses the rules for the locale which was in u
351.
▲
by
cesarb
2y ago
> An explanation I heard ~10 years prior is that doing so exposed bugs in CRT and nobody wanted to fix them. What I've heard is that the issue is not with the CRT, but with applications using fixed-size byte buffers. IIRC, convertin
352.
▲
by
cesarb
2y ago
> I'm not sure why the non-unicode APIs are still so commonly used. I can't imagine it's out of a desire to support Windows 98 or Window 2000. Nowadays, it's either for historical reasons (code written back when suppo
353.
▲
by
cesarb
2y ago
> Bush hid the facts For those who don't know the reference: https://en.wikipedia.org/wiki/Bush_hid_the_facts it's a vaguely related issue, in which a Windows component misinterprets a sequence of ASCII ch
354.
▲
by
cesarb
2y ago
> However, resolving this problem isn’t that as simple as just replacing the main() with its wide-character counterpart. Since the function signature has been changed, maintainers would need to rewrite all variable definitions and argume
355.
▲
by
cesarb
2y ago
> All of the OSs I'm aware of that run on the Pi depend on "firmware" from the Raspberry Pi folk. Looking at the files in the folder that holds this stuff, it's pretty clear that every variant of the Pi has a file tha
356.
▲
by
cesarb
2y ago
> Underwriters Laboratories, UL. Look at the back of pretty much any mains powered device and you'll see their mark. I just looked at the closest mains powered device I have here (a fancy humidifier/fan), and only saw an Inmetr
357.
▲
by
cesarb
2y ago
> It seems it is only a misnomer if you are too young to remember how these types of applications used to be written. They weren't always servers. In the early days they were subprocess modules[1]. [1] https://en.wikipedi
358.
▲
by
cesarb
2y ago
> The median product engineer should reason about applications as composites of high-level, functional Lego blocks where technical low-level details are invisible. We don't make buildings from Lego blocks. We do use modular componen
359.
▲
by
cesarb
2y ago
> I get the impression that a load of people are preparing to jump ship once Win10's sundowned and they're faced with having to get rid of a perfectly usable computer to install Win11. In my opinion, what will most likely happe
360.
▲
by
cesarb
2y ago
> I think it's pretty hard to find a laptop with similar performance characteristics, build quality, repairability and firmware support at the steam deck price point. On the other hand, it's much easier to find any laptop at
More ›