News for hackers. Stuff that matters.

vardump

Hmm... Copper, I guess it must be great for representing lists. :-)
Re:Nibnib: Image compression with extreme decompression speed on Sunday November 01, 2026 @05:34PM (#50330632)
This reminds me a bit of Amiga HAM. Similar horizontal fringing.

I guess you could also call Amiga's HAM graphics mode a compression method. Getting 12-bit (4096 colors) with just 6 input bits, with the original Amiga chipset, often called as "OCS".

Or later 262144 colors with 8 input bits, with the AGA chipset.

Re:StackOverflow now gets fewer than 1000 questions a month on Thursday October 29, 2026 @08:42AM (#50288025)
Heresy! 6502/6510 was the only true CPU back then!

(In other words, my daddy bought me a C64 in the eighties. ;-))

Re:SIMD-accelerated computer vision on a $2 microcontroller on Wednesday October 28, 2026 @10:30AM (#50274244)
The average scalar (=integer) instructions per cycle is pretty comparable between Pentium III and Xtensa LX6, the original ESP32 CPU representing the worst case.

While P3 is superscalar, it could only execute about 0.9 instructions per cycle on average. Of course you can optimize for it and get better results in certain cases.

Most Xtensa scalar instructions take just 1 clock, branches 3 for taken, 1 for not taken. So 0.7-0.8 instructions per clock is a reasonable estimate. Assuming of course code is executing from SRAM.

Xtensa's FPU is slow, and it lacks divide and square root instructions. Clock for clock, P3 probably outperforms it by 3-4x. It also lacks 64-bit floats.

Re:SIMD-accelerated computer vision on a $2 microcontroller on Tuesday October 27, 2026 @08:40AM (#50258225)
The compiler does not generate SIMD instructions on this platform. So they're not "normal" instructions in that sense.

Or perhaps you want to argue that everything is running "normal" instructions. Be it a hardware video decoder or a GPU.

Re:eMudhra to Exit Global SSL/TLS Certificate Business on Thursday October 22, 2026 @11:43AM (#50196972)
That was reality in the eighties! You could open some cars using a popsicle stick as a key. Fun times!
Re:Ukraine claims first drone evacuation of wounded soldier on Monday October 19, 2026 @03:10PM (#50156620)
Well, there's just one dictator involved, Putin. Trump is supporting him right now.
Re:macOS 15.8.2 Breaks OpenGL on Sunday October 18, 2026 @07:22PM (#50146526)
Ah, I could have sworn it's Copeland. Thanks for the correction.
Re:macOS 15.8.2 Breaks OpenGL on Sunday October 18, 2026 @01:19PM (#50143127)
Copeland... (That was the actual name of supposed future Apple's OS 30 years ago, sounds kinda different with 2026 perspective.)
Re:macOS 15.8.2 Breaks OpenGL on Sunday October 18, 2026 @01:06PM (#50142972)
That sounds right.

Although so far I'm mostly happy with Apple products. Happier than with any Windows laptops.

(But damn if I encounter a bug or an issue. Just reporting those have made hordes of Apple fans attack me, in response to a standard technical bug report.)

Re:Tesla Debuts 2026 Roadster on Thursday October 15, 2026 @09:30PM (#50112632)
0-60 mph 0.81s.

According to Musk, 0.5 mach max speed.

He also said it can corner better than any car in the world due to massive downforce. And that it'll be in production in 2028.

We'll see.

Re:Bets on what we will see at tonight's Tesla Roadster event on Thursday October 15, 2026 @06:53PM (#50111504)
The Musk we wish we had all the time: tech Musk.

If only he just stuck to tech.

Re:Gemini 4 Argon on Tuesday October 13, 2026 @05:26PM (#50079036)
Didn’t check agy or AI studio, but at least Argon is available in Gemini page/app.
Re:3rd Yandex Cloud Data Center Was Hit on Sunday October 11, 2026 @05:59AM (#50041478)
Zero censorship? Who do you think you are kidding?
Fair enough. I agree there are many kinds of 4k demos.
The first thing a 4k demo is going to do is to decompress executable. The second thing is to procedurally generate assets. Perhaps also do some code generation. So the cache footprint is going to be larger.

At this point you can be talking about 600 kB on a DOS machine. Sky is the limit on modern systems.

That said, typical inner loops of that era demos were pretty small, usually 20-200 byte range, IIRC.

Pre-cache era demos often had huge unrolled self-modifying speedcode inner loops, but that's another matter.

Cycle accurate compared to what?

Even with a cycle accurate CPU you'd still have a lot of variation caused by the motherboard chipsets, DRAM speeds, cache chips and graphics cards.

Tseng ET4000 was on a completely different level than something like Cirrus Logic CL-GD510 or heaven forbid, Oak Technologies card.

If the era appropriate PCs had huge variations, what extra does cycle accuracy really bring at this point? The same PC demo could perform very differently on two 486DX2 66 MHz PCs.

Cycle accurate emulation helps little with this era PC demos, because back in 1993 PC hardware performance variation was already massive. From 386SX-16 to Pentium 66 MHz, that's over 20x difference in performance.
Re:Benchmark in Milliseconds on Tuesday October 06, 2026 @05:27PM (#49984392)
I did warm-up rounds, to prime caches and so on. I fiddled with statistics: IIRC simple average seemed to give the best results overall. I thought keeping the lowest n results would be the best, but that turned out to be wrong.

The results were indeed multimodal.

All I wanted was to have a reproducible benchmark to see how the code changes affected performance over time.

Re:Benchmark in Milliseconds on Tuesday October 06, 2026 @01:28PM (#49981551)
Did all of those trying to reduce the jitter. I think it was about the CPU clock not being stable.

Additionally I avoided core 0, because it was the noisiest and did some cgroups core pinning for the test workload.

There were zero page faults during the test runs and the CPU core was uncontested by other threads.

I think in 2008 CPUs were not so crazy about power and heat management.

Re:Benchmark in Milliseconds on Tuesday October 06, 2026 @11:03AM (#49979562)
Benchmarking like that is often broken because of continuous CPU core clock speed adjustments, system interrupts, SMIs, etc.

I tried to fix it by switching hyperthreading off, playing with the scaling governor, boost, setting a CPU frequency to no avail. The jitter was too much and the results were not reproducible, so I just gave up.

Of course your mileage may vary; this was on an AMD Zen 3 CPU.

Re:Fuck Android Developer Verification Program on Thursday October 01, 2026 @03:28AM (#49918777)
You might be able to fix those "weird street-name issues" yourself in Google Maps.
I hope that was sarcasm.
Re:The Effect of CRTs on Pixel Art on Monday September 21, 2026 @05:33AM (#49785063)
This is not elitism, it's about historical accuracy. This is how many remember the games of their youth.
Re:Compiler-style optimization for drawing via Skia on Saturday September 19, 2026 @05:51PM (#49770421)
I wonder if same could be done to games. How much unnecessary work are modern games submitting to the GPU?
I wonder if our universe is the experiment to resolve this.
I just twisted my mouth sides upwards with my fingers to form a smile in agreement.
Re:T. Rex Had a Body Temperature of 97 Degrees on Friday September 18, 2026 @12:08PM (#49756448)
Thanks!
Re:T. Rex Had a Body Temperature of 97 Degrees on Thursday September 17, 2026 @05:05PM (#49746543)
Can you share the prompt?
Re:A 386 PC for Your RP2350 on Monday September 14, 2026 @10:45AM (#49697777)
You certainly did not, as Win95 requires 32-bit, 80386 or better. 286 was a 16-bit CPU.

Older »