Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
comex
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
331.
▲
by
comex
2y ago
There is also the ABI compatibility guarantee: https://doc.rust-lang.org/nightly/std/primitive.fn.html#abi-... > The following types are guaranteed to be ABI-compatible: > *const T, *mut T, &T, &mut
332.
▲
by
comex
2y ago
And yet one of the fancy new features being advertised in recent years (in multiple APIs including Metal) is support for mesh shaders – which seem to have a lot in common with geometry shaders, including the output ordering property that th
333.
▲
by
comex
2y ago
Are you sure it's handwritten or obfuscated? I remember from when I used to disassemble compiled ARM code (not on the NDS though) that it was common to see CMP, followed by a bunch of instructions with one condition predicate, followed
334.
▲
by
comex
2y ago
While it’s a bit newer than the GBA, there is at least one Wii game with intentional anti-emulation measures: https://tcrf.net/Cars_2_(PlayStation_3,_Xbox_360,_Windows,_W...
335.
▲
by
comex
2y ago
If Apple’s password manager required websites to indicate compliance before generating passwords for them, it would defeat the goal of a password manager to work with existing sites. It’s not like Apple invented the idea of a password mana
336.
▲
by
comex
2y ago
> With resident keys? A couple dozen, if you're lucky. Or, future tokens start bundling a bit of flash storage and make this a non-issue. Considering how cheap it is, that ought to be possible even for low-cost tokens.
337.
▲
by
comex
2y ago
> Of course, iPhone users can still upload their whole address books if they choose.
338.
▲
by
comex
2y ago
Looking at this further, the standards change doesn't even match what Cosmopolitan is doing. From the 'changed their rules' link, the 'Desired Action' is to add this text: "The input file may be of any type, bu
339.
▲
by
comex
2y ago
Ah, indeed. Here are the first 16 bytes of one: 4d 5a 71 46 70 44 3d 27 0a 00 00 10 00 f8 00 00 |MZqFpD='........| There are already nul bytes here, and there are a lot more before the single quote gets closed at offset 0x200.
340.
▲
by
comex
2y ago
Decent critique, but it mixes together two things: the design language, and UI papercuts showing a lack of attention to detail. Consider the current macOS Finder: https://a.qoid.us/20240907-finder.png Finder's design i
341.
▲
by
comex
2y ago
Key point: > running with the vnc QPA The demo they have running has no native display or input support; it just serves the interface over a socket via VNC.
342.
▲
by
comex
2y ago
> What is grep going to do while it waits for data? Two things: - Search the data it’s already read in. If data is coming in fast enough, it’s better to read and search in parallel rather than alternating. - If this is a recursive grep,
343.
▲
by
comex
2y ago
Direct link to the court opinion: https://storage.courtlistener.com/recap/gov.uscourts.ca2.609...
344.
▲
by
comex
2y ago
Direct link to the court opinion: https://storage.courtlistener.com/recap/gov.uscourts.ca2.609...
345.
▲
by
comex
2y ago
Some pretty… interesting… naming conventions. One of the types is called: mse::rsv::TXSLTACSSSXSTERandomAccessIterator What to make of this? The readme provides this guidance: > The "CSSSXSTE" part of the typenames s
346.
▲
by
comex
2y ago
In theory there shouldn’t be any. The official Rust builds, I believe, have one level of bootstrapping: the previous official build is used to build an intermediate build of the current version, which is then used to build itself. So the
347.
▲
by
comex
2y ago
And even if other threads are contending for the page table lock, the kernel doesn’t hold that lock for the entire duration of the I/O. Only for the tiny fraction of that duration where the kernel is spending CPU time doing bookkeepin
348.
▲
by
comex
2y ago
It's not useful to have a type implement Iterator for multiple element types. But in Rust, if Iterator took the element type as a generic parameter, it would be possible . The fact that it's not useful is precisely why Rust m
349.
▲
by
comex
2y ago
(2017)
350.
▲
by
comex
2y ago
Also Ruby.
351.
▲
by
comex
2y ago
The introduction says that HPKE is different from the “traditional combination” of “encrypt the symmetric key with the public key”, but it doesn’t explain why it’s better. Does anyone know?
352.
▲
by
comex
2y ago
Blender can run on Linux…
353.
▲
by
comex
2y ago
> Stop-the-world is only brief, to scan the register file of each thread and any other capabilities held in the kernel (asynchronous I/O, signal handlers, etc). Once done the entire memory sweep can be done concurrent with execution
354.
▲
by
comex
2y ago
The $1.1 billion figure is for Truvada total, not for PrEP specifically. It’s perhaps notable that Gilead chose not to break that down, given that the original claim they were responding to was about PrEP specifically.
355.
▲
by
comex
2y ago
The post is a summary of a book. I haven’t read the book, but here is a longer summary of the same book: https://www.nytimes.com/roomfordebate/2015/04/16/what-are-co... > State codes (including that
356.
▲
by
comex
2y ago
Even just using HTTPS instead of insecure HTTP would prevent this type of attack. (I see no indication that the attackers obtained forged TLS certificates, and compromising a client-side ISP wouldn’t be enough to get one.)
357.
▲
by
comex
2y ago
I wish rustc had a way to 'pin' the output of type inference, in the same way that Cargo.lock pins the versions of dependencies. That way, old code would continue to compile based on what the types were originally inferred as, ev
358.
▲
by
comex
2y ago
If it just clones the repos and removes the .git directories, then I assume it doesn't keep their commit history? So if you use e.g. `git blame` or `git log` to look at file history, you will see when changes were introduced to the pa
359.
▲
by
comex
2y ago
It’s nice to make invalid states unrepresentable. Unfortunately, you can’t do that in C++ if you have a move constructor. C++ moves have to leave the source object in a valid state, since the object can still be accessed afterwards and wi
360.
▲
by
comex
2y ago
In that case it couldn’t corrupt data, but the orq instruction itself could crash if it pointed to an unmapped address. (Which is kind of the point of stack probes.)
More ›