Viewing profile — wholesomepotato
wholesomepotato
HN member- Joined
- Fri, Sep 08, 2023, 5:10 PM UTC
- HN karma
- 115
- Public activity
- 49 items
- HN profile
- View on Hacker News ↗
About wholesomepotato
No profile information was provided.
Recent public activity
-
comment
Comment #38511137
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.
-
comment
Comment #38504086
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 …
-
comment
Comment #38495627
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 su…
-
comment
Comment #38475873
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.…
-
comment
Comment #38475829
Yes, but also - they lie about the inflation and force the public to hold the bonds anyway (aka. financial repression, yield curve control).
-
comment
Comment #38469730
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…
-
comment
Comment #38469376
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 borro…
-
comment
Comment #38468446
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 0xXX0a…
-
comment
Comment #38456614
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 a…
-
comment
Comment #38455974
Exxon is a private company so some basic level of competency can be assumed. The Fed is basically bunch of incompetent academic buffoons.
-
comment
Comment #38452113
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.
-
comment
Comment #38425257
This needs to be said: Every single thing Poettering touched was huge improvement. A great hero of Linux userspace architecture.
-
comment
Comment #38423484
> In an infinite world of abundance ... :D
-
comment
Comment #38291433
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.…
-
comment
Comment #38283244
Public discourse was and should always be in the private domain. Anything else is totalitarianism by definition.
-
comment
Comment #38209668
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 ho…
-
comment
Comment #38142294
If you want to really understand modern money check "Broken Money" book.
-
comment
Comment #38109038
What about my code?
-
comment
Comment #38074968
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".
-
comment
Comment #38043147
Wow, how much do I pay to run it on MacOS?
-
comment
Comment #38018359
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. D…
-
comment
Comment #38017083
Nice use of both Observer and Strategy patterns!
-
comment
Comment #38014498
> The visceral reactions to OOP here are interesting. You could say it's a pattern.
-
comment
Comment #38013583
It's like Pox Party. You're exposing them early so they get immune when they're adults from this disease.
-
comment
Comment #37987765
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. A…