News for hackers. Stuff that matters.

Cold_Miserable

Re:C Is Not a Low-Level Language (2018) on Monday September 07, 2026 @06:03PM (#49603451)
Intel don't have vpintersect. Its micro-coded dog slow but its such an obscure operation and of little use if any. I'd rather AMD re-invest the hardware into speeding up useful operations, shave 1 cycle off divide or square root or something.
Get-ItemProperty : Cannot find path 'HKCU:\SOFTWAREMicrosoftIdentityCRLExtendedProperties' because it does not exist. At line:1 char:7

I guess I'm good then.

This is just a worse copy of the original ifma method. Sneller is even better for max throughput.
Re:It's OK to compare floating-points for equality on Saturday April 18, 2026 @03:10PM (#47818610)
I've yet to encounter a need for == equality for floating point operations.
Re:Investigating Split Locks on x86-64 on Saturday April 11, 2026 @03:51AM (#47728445)
It went from ~30ns to 2K ns but mostly timed out when I changed the alignment to +7.5 QWORDs on Golden Cove.
Re:Endian wars and anti-portability: this again? on Monday April 06, 2026 @09:50AM (#47660932)
Small indian. Starting at zero and extending is logical. Big indian is dumb and confusing.
Re:Everything old is new again: memory optimization on Saturday March 28, 2026 @01:51AM (#47552002)
That's me. 1 byte ASCII is all that's needed for text.
shlx doesn't alter the flag register.
Re:JPEG Compression on Wednesday March 18, 2026 @06:01AM (#47423657)
I found a jpeg2000 reference PDF somewhere. It may as well have been written in Mandarin. I got as far as extracting the width and height. Its much more advanced than jpeg. Forget about writing a decoder.
Re:Generating All 32-Bit Primes (Part I) on Sunday March 15, 2026 @10:22PM (#47394435)
Heh. 1.Create fast modulus quad M for dword D for the first 2000? 200000? (xM)D 2.Eliminate 0b,101b 3.Divide using vrcp14ss/vdivss with correction. Use fast square root too using rsqrt14.
Re:Why No AI Games? on Tuesday March 03, 2026 @02:07PM (#47237172)
Distant Worlds I and now II has had full automation for ages.
Re:US orders diplomats to fight data sovereignty initiatives on Wednesday February 25, 2026 @01:57PM (#47156089)
"Currency printing" and inflation are exactly the same thing.
Re:AVX2 is slower than SSE2-4.x under Windows ARM emulation on Wednesday February 18, 2026 @01:39PM (#47064510)
AVX2 isn't really 256-bit. Its 2x128-bit.
Human hearing is excellent. Good directional perception and sensitivity. Eyesight is the weakest sense. Poor color sensitivity, low light sensitivity, blindspot. The terrible natural design flaws are compensated by natural nystagmas and the brain filling in the blanks.
Idiocracy is the future.
Re:Kilobyte is precisely 1000 bytes on Wednesday February 04, 2026 @04:29AM (#46883565)
Its 1024. Hard drive manufacturers should be forced to use the correct metric.
Re:xAI joins SpaceX on Tuesday February 03, 2026 @05:17AM (#46869079)
A really painfully laboured way of just saying conduction.
Re:De-dollarization: Is the US dollar losing its dominance? on Wednesday January 21, 2026 @01:19AM (#46701809)
Britain should have stayed neutral like Sweden and Switzerland instead of getting economically devastated.
x87 should have been killed off. It would have forced lazy game developers to use SSE around the 2005 era.
Re:Don't fall into the anti-AI hype on Sunday January 11, 2026 @07:24PM (#46582109)
Its not hype. There's no such thing as AI. Matrix multiplication isn't intelligence.
Re:Zmij: Faster floating point double-to-string conversion on Wednesday December 17, 2025 @05:28PM (#46306461)
Already done ages ago. Nothing more of interest.

The bottleneck are the 3 conditionals: - positive or negative - positive or negative exponent, x > 10.0 - correction for 1.xxxxx * 2^Y => fract(log10(2^Y)) 1.xxxxxxxx > 10.0

Baldur's Gate linux native build performed poorly on Gamers Nexus tests.

Where's a proper comparison between the fastest linux OS "CachyOS" and Windows 11 LTSC with all the crap removed, particularly the biggest offenders: Defender, Update, Edge, "fullscreen optimizations" and all the weird little services from print spooler to NPSV_xxx "now playing service" ?

Re:Memtest86+ v8.00 Released on Wednesday December 03, 2025 @11:24AM (#46136351)
Testmem5 is in a league of its own yet its unclear how. Maybe the AWE table is prone to corruption. Theres nothing special about the internal workings. It doesn't use fences or clflushes.
Re:Brexit reduced UK GDP by 6-8%, investments by 12-18% [pdf] on Saturday November 15, 2025 @12:23AM (#45935253)
HDI, electrical generation per capita, energy use per capita.
Re:Terminal Latency on Windows (2024) on Friday November 14, 2025 @01:21AM (#45924384)
Is there a simple way to get the "Legacy Console" back without having to format and reinstall windows? Installing packages / the windows modules installer is broken.
Re:A brief history of random numbers on Tuesday October 28, 2025 @02:27PM (#45736808)
Xorshift, LCM and hardware rdrand work just fine. PCG and Weyl are overkill.
Re:When Compiler Optimizations Hurt Performance on Wednesday October 22, 2025 @06:40AM (#45667172)
I see what you're doing. 13 bytes, 3 cycles. Why does newline not work?

lzcnt ecx,ecx

mov eax, 00100 0011 0010 0000 0001b shl ecx,2 shrx eax,eax,ecx and eax,15

Re:When Compiler Optimizations Hurt Performance on Tuesday October 21, 2025 @01:18PM (#45658487)
I can't see any elegant solution. \n

Struggling proc \n lzcnt ecx,ecx \n test cl,cl \n setz al \n lea edx,[ecx-2] ;[0,1,2] \n cmp rdx,2 \n cmovle eax,ecx \n ret \n Struggling endp

Re:Tinnitus Neuromodulator on Saturday October 18, 2025 @06:59PM (#45630969)
I have low pitch rumbling in my right ear. MRI was useless. Hearing test "perfect". Its hard to sleep without background noise. I think its a damaged blood vessel in my brain or neck: veinous stenosis.
The UK is going downhill. Economically and politically. Use of government thugs "police" to intimidate is just the beginning. Home invasion child rapists were given less time than Lucy Connelly, Alex Bellfield or Tommy Robinson got for hurty words.

Older »