Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
comex
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
75 ms
·
871.
▲
by
comex
5y ago
Indeed, it seems contradictory to be talking about converting multiple branches within a basic block. Or even a single branch, for that matter. Perhaps they're talking about what ends up in a single basic block after the conversion
872.
▲
by
comex
5y ago
There is a reason: the majority of the file size comes from statically linked LLVM libraries. You can instead configure LLVM’s build system to build a single dynamic library and have the tools link to it, and this eliminates all of the dupl
873.
▲
by
comex
5y ago
> On the same day, the Attacker posted a link to a key that would decrypt files encrypted by the Conti ransomware. [..] Without the decryption key, it is unknown whether systems could have been recovered fully [..] but it is highly likel
874.
▲
by
comex
5y ago
Accelerate is a pure C API. Metal is an Objective-C API. It is possible to call arbitrary Objective-C APIs from pure C using the Objective-C runtime functions, and Apple themselves recently released a Metal API wrapper written in C++ that
875.
▲
by
comex
5y ago
I’m having a hard time thinking of what kind of network topology would result in a routing loop. Can you elaborate? It seems like the first router would have to be forwarding only a subset of a /32 to the second router; if the second
876.
▲
by
comex
5y ago
> Assuming natural immunity is better than vaccine This is a big assumption. Both types of immunity have their advantages, but a study published by the CDC last month [1] suggests the vaccine provided more reliable immunity (against pas
877.
▲
by
comex
5y ago
It depends on the exact wording of your employment contract. If it only covers work you did with company property, you're lucky. As far as the law goes, in California (per Labor Code section 2870), employment agreements are allowed to
878.
▲
by
comex
5y ago
LLVM has at least two optimizations that can elide moves in different circumstances, MemCpyOpt and SROA. But it depends on the situation. If you call a function that moves its argument to its return value, that move definitely won't
879.
▲
by
comex
5y ago
And they also both design CPUs. ARM just doesn't manufacture theirs themselves.
880.
▲
by
comex
5y ago
> Furthermore, the vaccines don't prevent transmission, They do prevent transmission, since they make people less likely to be infected, and if you're not infected with the virus you won't transmit it. The vaccines are so
881.
▲
by
comex
5y ago
And what of spending money on stuff just because you enjoy collecting? From my limited knowledge, it seems like most buyers are motivated by that to at least some extent.
882.
▲
by
comex
5y ago
If you actually see two conflicting chains (either proof-of-work or proof-of-stake) with large numbers of people vouching for both, then the correct chain is not necessarily "whichever one is longer". Well, it could be, for you;
883.
▲
by
comex
5y ago
> If it is recognised that you mine on more than one fork at a time, you lose the security deposit you gave before the fork. Yes, modern proof-of-stake algorithms work this way. The caveat is that at some point (on the order of months l
884.
▲
by
comex
5y ago
> Bitcoin is an open source permissionless protocol, so you have multiple clients to chose from, each with their own list of bootstrapping nodes, many open source where you can submit a PR to add your node too. You can even build your ow
885.
▲
by
comex
5y ago
> But it's a threat for single nodes not for the network as a whole. Indeed, but the same is true for attacks on "weak subjectivity" proof-of-stake. They're only a threat for nodes that have been disconnected for a l
886.
▲
by
comex
5y ago
The history still needs to be signed by former stakers to be valid. The "nothing at stake" problem is that a staker might break the rules by signing two mutually incompatible histories. During the staking period, they are strong
887.
▲
by
comex
5y ago
> Do you know any other way to bootstrap a peer to peer network without centralised authorities? I’m not the parent, but – no, I don’t. But that’s exactly the point. The need to bootstrap from centralized authorities is what’s supposed
888.
▲
by
comex
5y ago
> The difference in Proof of Stake is a lawsuit could force the distributor of the software to change the hash to one where coins weren’t stolen. And with proof of work a lawsuit could force the distributor to change the consensus rule s
889.
▲
by
comex
5y ago
Indeed. And even if you posit a PoW currency which never has policy changes, unlike Bitcoin or any other major cryptocurrency… And you assume that attackers will never have enough computing resources to execute a 51% attack – which could h
890.
▲
by
comex
5y ago
Nitpick: The document you linked to is a summary of the eSign Act. At the beginning is a link to the eSign Act itself, which is 14 pages.
891.
▲
by
comex
5y ago
/usr/bin/python3 is technically preinstalled, but it’s just a stub that looks up the currently selected Xcode installation and execs the real python3 from there. (Same as /usr/bin/clang, /usr/bin
892.
▲
by
comex
5y ago
It’s just an abbreviation.
893.
▲
by
comex
5y ago
Even with relaxed memory ordering, you’re still bouncing the cache line around between every CPU that tries to access bumpPtr. I would expect that to be significantly slower than using per-thread heaps (especially if you have a large numbe
894.
▲
by
comex
5y ago
The complaint does also have a straight-up breach of contract claim, in addition to the CFAA claim.
895.
▲
by
comex
5y ago
> The specific method that's causing me trouble right at the moment is "computeCommandEncoder" Yeah, it looks like there's no way to avoid autorelease here. > It looks like objc_retainAutoreleasedReturnValue might
896.
▲
by
comex
5y ago
Huh, I'm surprised. I had just assumed without looking that this library provided wrapper classes where the copy constructor calls retain and the destructor calls release. Apparently not.
897.
▲
by
comex
5y ago
From a quick grep, it looks like this wrapper does not automatically call autorelease, so autorelease happens only when a method implementation autoreleases its own return value (or if you call autorelease yourself). Objective-C has a sta
898.
▲
by
comex
5y ago
Interesting; I was wondering if they had added some magic feature to Clang to enable Objective-C in pure C++ mode, but no, it really is C++. It just directly calls the Objective-C runtime functions like sel_registerName, objc_lookUpClass,
899.
▲
by
comex
5y ago
I've seen galaxy brain comics where the last row is the punchline. The comic might start out moving in a certain direction in a logical way, which may or may not be humorous by itself, but then the last row has a twist, an unexpected
900.
▲
by
comex
5y ago
> The best you can do is have the "target" userland marshal calls to the native userland, translating across native and target ABI. Which is what Box64 does.
More ›