Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sparkie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
301.
▲
by
sparkie
4y ago
I'm curious as to whether the techniques used here are safe against Spectre-like attacks. There appears to be a heavy reliance on indirect branching. The slides here are dated just before Spectre was published, so it would not have bee
302.
▲
by
sparkie
4y ago
wxHexEditor has a similar look and feel to WinHex, and similarly supports editing of extremely large files or raw devices. It's nowhere near as featureful but still very useful, and doesn't have the proprietary license. https:&#x
303.
▲
by
sparkie
4y ago
To reduce power usage by any significant amount, need to get rid of the clock.
304.
▲
by
sparkie
4y ago
I would say work on a project that you want for yourself, regardless of whether or not if there is a market for it. If you're already in a well-paying job, money should not be the cause of your concerns. Work on something out of princi
305.
▲
by
sparkie
4y ago
The problem might not be your script, but that the system is stateful. Users can access and mutate the /usr directory, and some software will do this outside of the system's built-in package manager. You can also compile and link
306.
▲
by
sparkie
4y ago
Missing the elephant in the living room: The money keeps losing its value, and manufacturers have no choice to keep reducing quality because consumers would rather buy a slightly worse product at the same price rather than the same product
307.
▲
by
sparkie
4y ago
I believe this is meant to be used in combination with a low-bits pointer tagging scheme. One of the low-bits tags represents a float value, and you insert this tag into the NaN-space of a IEEE-754 single-precision float in the full lower 3
308.
▲
by
sparkie
4y ago
Differentiation of an algebraic data type, resulting in its zipper: https://upload.wikimedia.org/wikipedia/commons/c/c7/Labyrint... Explanation: https://en.m.wikibooks.org/wiki/Haske
309.
▲
by
sparkie
4y ago
I was commenting mostly in jest anyway. The purpose of the standard is to give a numeric code which is language agnostic, for internationalization of forms and software. Adding other genders isn't really applicable, since there's
310.
▲
by
sparkie
4y ago
N/A is the non-binary answer (neither M nor F). Could be worded otherwise, "Non-binary or Not Applicable". Not Known is for when no answer is given. This option shouldn't be presented to the user, but is for the case whe
311.
▲
by
sparkie
4y ago
Go for 0. Not known 1. Male 2. Female 9. N/A Why? It's an international standard: ISO 5218. And it suits everyone.
312.
▲
by
sparkie
4y ago
An issue with many languages is the presence of mutually dependant parts of code, because how do you generate a content-hash for something whose constituent part's content-hashes depend on it? Merkle trees can be generalized to DAGs, b
313.
▲
by
sparkie
4y ago
Needs to distinguish between Mandarin and Cantonese. 'Chinese' is not really a language.
314.
▲
by
sparkie
4y ago
There's a report video button on top of the video for these. Far too many incorrect videos ruins the game a bit: You're on a streak and no video means you can lose 3 lives. I've reported about 50 videos so far.
315.
▲
by
sparkie
4y ago
You probably don't want all the platform-specific stuff in a capability based language, because the filesystems in mainstream OSs are not capability based, and you can't sugar-coat a non-capability system with capabilities. The ca
316.
▲
by
sparkie
4y ago
Not tested, but should be predictable. Each instrinsic maps to one instruction. Instruction latencies according to uops.info: vmovdqa64 zmm, m512 ; latency<=12 vpbroadcastq zmm, r64 ; latency<=5 vpcmpeqq k, zmm,
317.
▲
by
sparkie
4y ago
Other reason to move them outside of the function: you might want to prepare them in memory in a way that could speed up the comparison further, which would only need to be done once, not each time the function is called. For example, using
318.
▲
by
sparkie
4y ago
It is compatible. The people who have a say are the people who write the code. If you are not comfortable with dual licensing, don't contribute upstream. You can fork such dual licensed project, add your own contributions and then Sign
319.
▲
by
sparkie
4y ago
I have UC (IBD) and yoghurt causes the inflammation to flare up. One pot of yoghurt and I'm on the toilet for the next week. Been this way for ~5 years.
320.
▲
by
sparkie
4y ago
The central bank is doing it, they just have a license to produce counterfeits. If you could get away with it, you would too. The ~2% target they aim for is really "this is probably what we can get away without without prices exploding
321.
▲
by
sparkie
4y ago
If you had a machine that printed $10 bills, would you line your pockets?
322.
▲
by
sparkie
4y ago
Filco Majestouch 2 with Cherry browns: https://www.diatec.co.jp/products/det.php?prod_c=754
323.
▲
by
sparkie
4y ago
Zero inflation does not line their pockets
324.
▲
by
sparkie
4y ago
`dynamic_cast` does a dynamic type cast (a downcast). It does what it says on the tin. It's purpose is to cast a value whose precise type may not be known until runtime.
325.
▲
by
sparkie
4y ago
Yes, downcasting performs dynamic type checking. There are no two ways about it. C++ correctly calls this `dynamic_cast`. The only way to completely avoid dynamic type checking in such object hierarchies is to forbid downcast completely, as
326.
▲
by
sparkie
4y ago
Some people have been saying we are a cult, but they are not using the correct definition of "cult," in our opinion.
327.
▲
by
sparkie
4y ago
The set of RISC-V processors is going to be far more diverse than you are expecting. There's already dozens of open cores, both 32-bit and 64-bit, with varying support of standard extensions. Assume RVG64GBCV, do we skip P, T, Q? What
328.
▲
by
sparkie
4y ago
AVX-512 is huge. See https://www.intel.com/content/www/us/en/docs/intrinsics-guid...
329.
▲
by
sparkie
4y ago
There's far more than 2. Even just taking RV32I, you have M, A, F, D standard extensions which are all optional. A CPU could include any combination of these, so you have 3! possible instruction sets off the start line. But let's
330.
▲
by
sparkie
4y ago
Practical use is double-precision floating-point constants, preprocessor generated bit-flags, high-bits pointer tagging in dynamic languages, etc. Having to read them from memory or expend multiple cycles to materialize them into a register
More ›