Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wholesomepotato
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
wholesomepotato
3y ago
Instruction level parallelism will make extra shift free. Other than this it needs to be benched and might depend on cpu/arch. I don't care enough to bench and optimize further.
2.
▲
by
wholesomepotato
3y ago
I think you're right. Even better. Did you have time to bench it, etc.? I see what you mean by length. I just skimmed over the text originally as I don't have time for rather lame problems like this. I'd just add 3 bits of le
3.
▲
by
wholesomepotato
3y ago
It's unclear what is in the highest byte, so I assume not 0x000x0y0z, but 0xab0x0y0z where ab is unknown (in the past comment I used XX for this). If highest byte is known, then sure, even better.
4.
▲
by
wholesomepotato
3y ago
Might be wrong but this shortcut corrupts the lower bits with garbage from the higher byte. The lookup table can detect some, but not all errors, so yeah, it relies on valid input.
5.
▲
by
wholesomepotato
3y ago
Yes, but also - they lie about the inflation and force the public to hold the bonds anyway (aka. financial repression, yield curve control).
6.
▲
by
wholesomepotato
3y ago
I'm sorry but most of your comment has nothing to do to what I said, and seems like random rambling. Except: > 3.2% is absolutely peanuts to what it was some 3-4 decades ago. But 3-4 decades ago governments, all institutions and eco
7.
▲
by
wholesomepotato
3y ago
What's amazing about it if the debt increased more in the absolute terms? :D . If I max out credit cards I can at least show spending (GDP) growth at least the same as what I borrowed... How is it not obvious to everyone that this is t
8.
▲
by
wholesomepotato
3y ago
it's one XOR, SHL, OR, SHR, AND, on some archs the shifts might come free with the other instruction. I'd expect it to be faster. a = v ^ 0x30303030lu // normalize to digits 0xXX0a0b0c b = (a << 12) | a /
9.
▲
by
wholesomepotato
3y ago
What products/services they produce if they're private? They're in this sweet spot where they're neither held accountable by the voter, nor by the consumer. The can be wrong over and over and over again and nothing is go
10.
▲
by
wholesomepotato
3y ago
Exxon is a private company so some basic level of competency can be assumed. The Fed is basically bunch of incompetent academic buffoons.
11.
▲
by
wholesomepotato
3y ago
Would use XOR 0x30303030lu, then OR with a value shifted left 12 bits, take bits 24..12 and lookup in 4k pre-computed lookup array.
12.
▲
by
wholesomepotato
3y ago
This needs to be said: Every single thing Poettering touched was huge improvement. A great hero of Linux userspace architecture.
13.
▲
by
wholesomepotato
3y ago
> In an infinite world of abundance ... :D
14.
▲
by
wholesomepotato
3y ago
Features of modern CPUs don't really prevent them from real time usage, afaik. As long as something is bounded and can be reasoned about it can be used to build a real time system. You can always assume no cache hits and alikes, maximu
15.
▲
by
wholesomepotato
3y ago
Public discourse was and should always be in the private domain. Anything else is totalitarianism by definition.
16.
▲
by
wholesomepotato
3y ago
The do increase shareholder value, just in exactly short-term. The problem with publicly traded companies is not as much wanting to increase the value, but how short is the time horizon, when most owners don't have any understanding of
17.
▲
by
wholesomepotato
3y ago
If you want to really understand modern money check "Broken Money" book.
18.
▲
by
wholesomepotato
3y ago
What about my code?
19.
▲
by
wholesomepotato
3y ago
https://www.service-architecture.com/articles/web-services/s... After enough people retire that remember how big of a mess this was, we can probably re-use "Service Oriented".
20.
▲
by
wholesomepotato
3y ago
Wow, how much do I pay to run it on MacOS?
21.
▲
by
wholesomepotato
3y ago
Helix the binary is around 24M on my system. Helix uses tree-sitter for rich language support. Tree-sitter's grammars are binary dynamic libraries compiled from some source code. Depending on how they are written and how complex they a
22.
▲
by
wholesomepotato
3y ago
Nice use of both Observer and Strategy patterns!
23.
▲
by
wholesomepotato
3y ago
> The visceral reactions to OOP here are interesting. You could say it's a pattern.
24.
▲
by
wholesomepotato
3y ago
It's like Pox Party. You're exposing them early so they get immune when they're adults from this disease.
25.
▲
by
wholesomepotato
3y ago
Arguably Xi was a design-bloat. I mean - it was a research project. Nothing wrong with it, but the community got super-excited about it, ignoring ... well, the pragmatic reality. Any time it was mentioned it talked about efficiently editing
26.
▲
by
wholesomepotato
3y ago
Even as a non civil engineer I can understand floor plans and alikes and find then immediately useful. Even as a professional SWE these example diagrams don't seem useful or informative enough to justify bothering with them. Code is to
27.
▲
by
wholesomepotato
3y ago
It's still a rock. Play with a language with proper pattern matching, Rust, Haskell, Ocaml, Scala, and you will also see it's just a rock.
28.
▲
by
wholesomepotato
3y ago
Your planning to scoop up some on the cheap? Because all it would do is to benefit buyers and price would bounce back very quickly.
29.
▲
by
wholesomepotato
3y ago
It's like some choice who brainwashes my kids. Are they going to learn about men being pregnant and go to a drag show or that god created earth 5 thousand years ago. Maybe i could even alternate every year so they are "well rounde
30.
▲
by
wholesomepotato
3y ago
I need X. A and B both have X product. It's worth for them something to make me aware of and buy their product over competition. So that $14 is not just "didn't even want".
More ›