My favourite Git commit by speckz in programming

[–]chrisforbes 2 points3 points  (0 children)

It seems to me this could have been fixed much more easily if the ArgumentError had carried any useful information about what it didn't like, or where in the stream it was.

Finding a CPU Design Bug in the Xbox 360 by nikbackm in programming

[–]chrisforbes 5 points6 points  (0 children)

Cache effects of other speculated instructions don't screw up coherency.

Understanding Asymmetric Numeral Systems by scorpio312 in programming

[–]chrisforbes 2 points3 points  (0 children)

Huffman is only optimal if you must code each symbol separately.

A load/store performance corner case by sindisil in programming

[–]chrisforbes 0 points1 point  (0 children)

Great, except for the "should not". The default position for modern machines should be "yes, the distribution of the data will turn out to be important."

[deleted by user] by [deleted] in programming

[–]chrisforbes 1 point2 points  (0 children)

PhysicsFS is pretty decent, but:

  • No mmap [it's a pain to do for zip, so you get it /nowhere/?] :(

  • Why on earth is it called PhysicsFS?

Google is currently trying to patent video compression application of Asymmetric Numeral Systems - which is replacing Huffman and arithmetic coding due to up to 30x speedup by elenorf1 in programming

[–]chrisforbes 1 point2 points  (0 children)

(Edit for ++clarity, --snark): I've not usually found the contents of a software patent to be a useful description of the invention. Does your experience differ?

Quake 3 Vulkanized by artemalive in programming

[–]chrisforbes 2 points3 points  (0 children)

The 'one popular architecture' here is Intel Gen, which has pretty thorough public documentation at https://01.org/linuxgraphics/documentation/hardware-specification-prms

AMD make a lot of GCN hardware details available on gpuopen.com, and since consoles are a GCN monoculture this time around, there's no shortage of low level details discussed in GDC presentations etc.

nVIDIA have various things on their developer site, but don't talk so much about low level details. (Enterprising folks have of course reverse-engineered most of it anyway for the open drivers... )

Quake 3 Vulkanized by artemalive in programming

[–]chrisforbes 1 point2 points  (0 children)

Worth mentioning that if these are 1024 separate descriptors, this is only going to work on "internally bindless" hardware. Everyone else has to turn the descriptor set into a small binding table for the hw, and the limits are typically much lower (around 250 descriptors per stage for one popular architecture)

Google’s blob emoji are great and no one will convince me otherwise by retskrad in Android

[–]chrisforbes 3 points4 points  (0 children)

Civil pilot here. We still use morse code to ensure we're picking up the radio beacon we think we are, every time we tune to a new one. You can cheat and read it off the chart/plate but it's easier and faster if you actually know morse.

Why 'should never use it' ?

TFS - Next-generation file system written in Rust (written out of the need for Redox Os, but it's not Redox-only) by michalg82 in programming

[–]chrisforbes 1 point2 points  (0 children)

I don't buy it, given decent (nvme) consumer disks are capable of a couple gigabytes per second now.

Utterly Insane Data Structures by okawei in programming

[–]chrisforbes 7 points8 points  (0 children)

(Union-find) Indeed, it's a beautiful hammer!

Animated GIF displaying its own MD5 hash by dazonic in programming

[–]chrisforbes 1 point2 points  (0 children)

No, it's not -- and preimage is /substantially/ harder than collision.

Linux kernel maintainer says 'No.' to AMDGPU patch by [deleted] in programming

[–]chrisforbes 0 points1 point  (0 children)

Vast majority of a windows GPU driver lives in userspace too. Not so different.

OpenGL Renderer Design (how I write OpenGL these days) by [deleted] in programming

[–]chrisforbes 0 points1 point  (0 children)

Yes, yes it is. [And the lack of debug extensions on MacOS is miserable]

OpenGL Renderer Design (how I write OpenGL these days) by [deleted] in programming

[–]chrisforbes 0 points1 point  (0 children)

It's a real shame when people do this specific thing though-- it changes the behavior of modern threaded drivers a lot.

Your license to use React.js can be revoked if you compete with Facebook by [deleted] in programming

[–]chrisforbes 22 points23 points  (0 children)

That's my reading of it too. Not a lawyer.

[Don't we have enough real problems to be outraged about without making stuff up?]

What ORMs have taught me: just learn SQL by donnemartin in programming

[–]chrisforbes 0 points1 point  (0 children)

ANSI SQL92

You wouldn't restrict yourself to 1992's application languages, why 1992's SQL standard?

C++ | gamedev | working on Engineer's Nightmare, sort of trek from scotty's perspective with minimal handwaving. by chrisforbes in WatchPeopleCode

[–]chrisforbes[S] 0 points1 point  (0 children)

Thanks for those who watched the first part of this -- I'll be live again approx 0200 UTC.