Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ynik
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
211.
▲
by
ynik
11y ago
Yes, here's a python module written in Rust: https://github.com/dgrunwald/rust-cpython/blob/master/extens... But anything more complicated than that (defining extension types etc.) isn't yet su
212.
▲
by
ynik
11y ago
"Normal" C code that is written in a coding style that disagrees with the MISRA guidelines can have more than 1 violation per line of code, even if the quality of the codebase is otherwise quite good. For example, the static analy
213.
▲
by
ynik
11y ago
async/await is useful for more than just 'real parallelism': its main use is coordinating concurrency. The GIL isn't a problem when dealing with async IO or async calls into C libraries.
214.
▲
by
ynik
12y ago
That's only on Linux though, and I consider it a bug. The RFCs are quite clear that 0.0.0.0 is unroutable and cannot be connected to. Windows gets this right.
215.
▲
by
ynik
12y ago
std::map and std::set are designed to support a large set of use cases, and as a result, cannot really be optimized. In particular, the iterator invalidation semantics prevent implementers from using more cache-friendly data structures like
216.
▲
by
ynik
12y ago
Except 'orbit' doesn't mean they put a satellite 2000km high and let it fall back down. It means the satellite travelled at least once around the earth, so that's equal to at least 40000km of range.
217.
▲
by
ynik
12y ago
git is harder than other distributed vcs. With a centralised VCS, you have two 'version's of the file system: your local working copy, and the current branch in central repository. That leaves limited room for inconsistencies betw
218.
▲
by
ynik
12y ago
Are you talking about the .NET misfeature that gave managed programs running from network shares less permissions than native programs running from the same network share? Because that was removed a long time ago (.NET 3.5 SP1?).
219.
▲
by
ynik
12y ago
There are no hashes that are proven to be secure. And we aren't likely to get such a proof any time soon: secure hashes can only exist if P != NP.
220.
▲
by
ynik
12y ago
With programs that need UAC elevation, there's no "Internet zone" warning because there's already the UAC warning, and it would be rather annoying to have to press "Yes, really" on two warnings per program. I g
221.
▲
by
ynik
12y ago
Don't forget that SSL/TLS normally resists downgrade attacks -- but browsers use insecure fallback due to servers that don't properly handle the SSL handshake. The whole purpose of TLS_FALLBACK_SCSV is just to re-enable the T
222.
▲
by
ynik
12y ago
You don't need the three-party handshake. A sends packet to B, which gets dropped by B's stateful firewall. B sends packet to A, which gets interpreted as response and accepted. A sends packet to B, which gets interpreted as respo
223.
▲
by
ynik
12y ago
A single trusted root is better than the hundreds of roots in the CA system. I don't trust Verisign very far, but I certainly trust them more than Verisign AND Diginotar AND honest achmed's used cars and certificates AND ... And s
224.
▲
by
ynik
12y ago
But it is quite plausible that we will see AIs being employed with the goal of "keep this factory running smoothly, and optimize the production process". Being a part of the factory, this AI would have an interest in continuing to
225.
▲
by
ynik
13y ago
Let's not pretend that HTTP 1.1 was simple. Text formats break down whenever they need to contain arbitrary (possible non-text) data. You get one of: * complex escaping rules (and assorted inefficiencies) * non-text portions embedded w
226.
▲
by
ynik
13y ago
Once you add multithreading into the mix, there's plenty of undefined behavior in almost any language. In particular, compiler optimizations can cause surprising effects in programs without sufficient synchronization. In the Java memor
227.
▲
by
ynik
13y ago
It's possible that the difference is in the actual code: x86 machine code sometimes has multiple different encodings for the same assembler instruction. These would show up as single-byte differences in the binary. See http:/