Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fyi1183
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
fyi1183
8y ago
Maybe the answer is "wait and see the full details when they become available", but is there an example of code that is hardened against cache side channel attacks but would be vulnerable against TLB side channel attacks?
2.
▲
by
fyi1183
8y ago
The main problem with HTML email is that it breaks interleaved responses ("bottom posting"). Bottom posting is so useful that even Outlook users reinvent it, badly of course, using different text colours etc. It's been decade
3.
▲
by
fyi1183
8y ago
Phabricator is decent in many ways, but it's terrible at handling patch series. Most people don't seem to be aware of the feature at all, and it's not integrated at all into tools like arcanist.
4.
▲
by
fyi1183
8y ago
I'm saying that it very well could have been intentional, yes. Not in the sense of somebody at Google targeting Blender specifically (that's possible but seems very unlikely), but in the sense of somebody at Google trying to see h
5.
▲
by
fyi1183
8y ago
> once the humans at youtube are alerted about the problem, the videos are put back up, as in the case of the blender videos. But if it was an intentional human takedown, the videos wouldn't be put back up. It could also have been
6.
▲
by
fyi1183
8y ago
There's already been an example of this with the AMD + Intel combination sold by Intel in the Hades Canyon NUC. It's an Intel CPU and an AMD GPU in a single package on some sort of interposer. The more common approach is via SOCs
7.
▲
by
fyi1183
8y ago
True. This makes me wonder if there's an oracle relative to which BQP = PH?
8.
▲
by
fyi1183
8y ago
I suspect that something like a heap implementation could use this. For concurrency, you want different cores to use different pools to avoid atomics. In practice, this means per-thread pools are used today, but this rseq feature seems like
9.
▲
by
fyi1183
8y ago
This is basically the TCS version of a clickbait headline. It's a separation of BQP and PH by an oracle. Certainly a nice result, but to put it into context, we also have a separation of P and NP by an oracle. Yet, we are very far away
10.
▲
by
fyi1183
8y ago
The JavaScript that arrives at the browser is usually not source code in the way that licenses tend to define the term (which is the preferred form for modifying the program). It's usually at least minified. It's kind of an intere
11.
▲
by
fyi1183
8y ago
That's a nice story, but True and False are keywords in python. Such assignment attempts are a syntax error.
12.
▲
by
fyi1183
8y ago
There's torrent via I2P, which provides a different anonymity-vs-performance tradeoff compared to normal BitTorrent. I would say that BitTorrent just fits is particular design constraints fairly well, so I don't see anything repla
13.
▲
by
fyi1183
8y ago
You're right of course. Just remember to use addition mod X instead of xor in that case to combine the choices.
14.
▲
by
fyi1183
8y ago
... with a bias if X is not a power of 2.
15.
▲
by
fyi1183
8y ago
Exactly. Keep in mind that AMD is currently selling 32-core chips. They don't go up to that insane frequency, but still. There's plenty of opportunity to shop around if you want really beefy systems, which is a very refreshing sta
16.
▲
by
fyi1183
8y ago
I don't really know much about memory controllers, but being able to mask at the byte level seems like an important optimization. Without that, many writes will have to do a read first to them merge the read bytes with the dirty bytes.
17.
▲
by
fyi1183
8y ago
On the other hand, when you do run across this construct in the wild, it is trivial to look up what it does and learn. I imagine that's how most people learned about it, since it doesn't exist in other languages. In a way I find y
18.
▲
by
fyi1183
8y ago
The if you're talking about ends in a break. To me and many others, having an else associated to an if that ends in break/continue/return is a code smell, because it misleadingly suggests that there are two possible paths of
19.
▲
by
fyi1183
8y ago
Your suggested replacement duplicates the break condition, which is not ideal for maintainability. Also, it only happens to work due to Python's variable scoping rules. I have wished for a for-else construct in C and C++ many times: ha
20.
▲
by
fyi1183
8y ago
Funny, I actually like for-else because it can simplify loop exits. First of all, the core of a linear search loop always has two exits: the break and the normal (unsuccessful) loop exit. But in a lookup-or-insert pattern, a regular for l
21.
▲
by
fyi1183
8y ago
The way I remember it is that it makes sense in loops that search for something in an iterable. Such loops break when they're successful, and so it makes sense for the code in the else clause to run when the loop was unsuccessful.
22.
▲
by
fyi1183
8y ago
To be fair, raytracing a sphere is easier than raytracing triangles. Even a single triangle is harder than a sphere, but with a triangle mesh you can't avoid thinking about acceleration structures and having a watertight intersection t
23.
▲
by
fyi1183
8y ago
Gouraud shading and rasterization are not mutually exclusive. Rasterization is a technique for getting from polygons to pixels, gouraud shading is a technique for assigning colours to those pixels. Even flat shading is usually done with ras
24.
▲
by
fyi1183
8y ago
That feels like one of these misleading marketing statements. The real competition are GCC and clang. But yes, embedded compilers are usually a nightmare.
25.
▲
by
fyi1183
8y ago
The iDevices are not really creative computing tools. They're mostly about consumption and, in the case of iPhones, communication. Really expressing creativity in computing requires a richer interface, at least a keyboard and a mouse.
26.
▲
by
fyi1183
8y ago
The fundamentals of a transistor, sure, but where does computer engineering include the chemistry of the actual lithography processes?
27.
▲
by
fyi1183
8y ago
Those would be the literal meanings of the words, yes. In practice, the fundamental difference is probably more about a person's radius of empathy (progressives tend to apply their empathy to a larger group of people), and then lots of
28.
▲
by
fyi1183
8y ago
Interesting, thanks. I'll see if I can grok this from the link you gave. I do have one follow-up question though: I was under the impression that clock trees contain repeaters in the form of CMOS inverters. Wouldn't those have dyn
29.
▲
by
fyi1183
8y ago
It's possible I misunderstand you, but I don't think we're talking about the same thing. With buses, you have different clocks and data moves between them. Like you said: CPU core 1 has its own clock, the bus between them has
30.
▲
by
fyi1183
8y ago
Do you have a good source on how clocks work in modern designs? From the high level down to the actual circuits? I've always wondered why you can't generate clocks locally, but in a synchronized way. So basically like clock region
More ›