Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vardump
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
751.
▲
by
vardump
3y ago
> …32 colors and want to update a single pixel, you have to write four bytes… A small correction, you have to write 5 bytes (or 16-bit words, same performance). 4 bytes changed gets you only 16 colors.
752.
▲
by
vardump
3y ago
Looks absolutely amazing considering Amiga 500 limitations. Same renderer as in Dread, a newish Amiga game.
753.
▲
by
vardump
3y ago
> `a[i++] = a[i++] + 1;` This is probably not what you want, as "i" is increased twice.
754.
▲
by
vardump
3y ago
I guess that 8/8 split PCIe could also be used for 100 Gbps networking? I suppose 100 Gbit card requires up to 200 Gbit bandwidth.
755.
▲
by
vardump
3y ago
Same. I've replaced a ton of LUTs with pure [vectorized] code and most of the time it's a big win. Some computations can of course be too heavy, but that's pretty rare nowadays.
756.
▲
by
vardump
3y ago
Perhaps a wrong link? Your link shows a case where the compiler's implementation is better than a custom one.
757.
▲
by
vardump
3y ago
Most of the time the solution that pollutes L1 caches more is going to lose in real life use. LUTs do that a lot, but of course ballooned code can hit L1C cache badly as well. You can compute a ton on a modern CPU during what a memory acces
758.
▲
by
vardump
3y ago
> Which boils down to add, add, cmp, cmov on x86. By using SIMD instructions like AVX2 you can do 32 characters in parallel. With AVX512, 64. Pretty easy to write something way faster by not using a LUT.
759.
▲
by
vardump
3y ago
Wow, having to stare at disassembly too often, I really like this. Makes it much faster to follow branches and can easily see what instructions correspond to source code lines, even though it's not very exact at higher optimization lev
760.
▲
by
vardump
3y ago
Practically all id's revenue came from DOS games in Doom era. 99%+.
761.
▲
by
vardump
3y ago
Until mid-nineties things could have gone either way. Then x86 DOS got Doom. Everyone had to get a PC now.
762.
▲
by
vardump
3y ago
I feel like I've been installing these updates all the time lately. What's going on? Of course I'm happy these do get fixed.
763.
▲
by
vardump
3y ago
My microwave oven definitely interferes with anything Bluetooth, like headsets etc. Although audio still somewhat works from a laptop upstairs ~30-50 ft away. Anyways, this is normal. Microwave oven generates a lot of 2400-2500 MHz ISM ban
764.
▲
by
vardump
3y ago
And a video where Musk states it: https://www.youtube.com/watch?v=Sea-Uxw5Syg ..."because a bot costs a fraction of a penny call it a tenth of a penny, but if somebody even has to pay a few dollars, some minor amount,
765.
▲
by
vardump
3y ago
> I think Twitter/X charging money might be what kills it off. I don't think this is true at all. Where did you get this idea they'd charge money for reading and posting?
766.
▲
by
vardump
3y ago
Probably nearly no brake dust. EVs are notorious for using so little brakes that they just rust due to lack of use.
767.
▲
by
vardump
3y ago
Watt for watt, Apple's M2 demolishes anything x86 has to offer so far.
768.
▲
by
vardump
3y ago
> Because the only actual problem in EVS is making a better battery. The only actual problem is making a boatload of current batteries. Technology is good enough as it is. Of course it'll still improve over time.
769.
▲
by
vardump
3y ago
Macbook can use its case as a massive heatsink.
770.
▲
by
vardump
3y ago
Two words: software support.
771.
▲
by
vardump
3y ago
One reason I like Golang is that errors are on your face. Sure, it's annoying, but it really helps robustness. (I like Rust, C, C++ etc. as well.)
772.
▲
by
vardump
3y ago
Ultimately we will need to recycle practically everything . Even if not in this century.
773.
▲
by
vardump
3y ago
"Is it common for drivers to use SQLite to store configuration information in any OS? I dare say I've never seen this." It's not. You're going to use your assigned registry hive for it.
774.
▲
by
vardump
3y ago
For example SQLite is superior. That said, on Windows you kinda have to use registry, especially on the kernel driver level.
775.
▲
by
vardump
3y ago
Not mine, but the actual customers'. "Works for me" is not going too far. Besides, registry is not a rocket even on a clean system.
776.
▲
by
vardump
3y ago
No guesstimates, but it's generally very bad. Especially when there's some corporate "security" software in the loop. And that's the case you have to really code against.
777.
▲
by
vardump
3y ago
"high-performance" We might have differing opinions about that. (I've got experience for example in Windows kernel mode drivers and service development.)
778.
▲
by
vardump
3y ago
Raspberry Pi could have been like that if the other options were prohibitively expensive. But they're not. It would have been interesting to see how far RPi can be pushed in similar conditions, but we'll never know. Still an impor
779.
▲
by
vardump
3y ago
Can be multiple vendor specific exploits.
780.
▲
by
vardump
3y ago
I guess. But at least the cameras are not going to AI hallucinate non-existent details.
More ›