I like programming and understanding how stuff works. My background is in systems programming and game development.
🌉 bridged from ⁂ https://mastodon.social/@pervognsen, follow @ap.brid.gy to interact

@pervognsen.mastodon.social.ap.brid.gy
I like programming and understanding how stuff works. My background is in systems programming and game development.
🌉 bridged from ⁂ https://mastodon.social/@pervognsen, follow @ap.brid.gy to interact
Does NVIDIA still issue those Master Inventor black leather jackets that look straight out of Grease? And that was before Jensen started always wearing his jacket. NVIDIA clearly has a jacket problem.
"I admit that some people claim to have mastered the art of adding two-digit numbers without any explicit introduction to the concept of 2-cocycle, and I think that Tal Kubo and myself are both resigned to the likelihood that the ordinary carry-digit function will remain the only 2-cocycle that […]
By an extremely round-about set of associations, this also reminded me of a bit of old math folklore that people liked to bring up as a factoid, namely that the digit carry function is a 2-cocycle: timothychow.net/mathstuff/jd…. All of those old James Dolan Usenet factoids from the 1990s are […]
The probably more familiar appearance of the semidirect product (or at least it's the first example that always comes to mind for me) is when you construct the Euclidean group E(n) as the semidirect product of O(n) and R^n as an abelian group, where R^n acts by translations. Then Ax + b is the […]
Thinking about fast scan circuits again, as one does, I just noticed the propagate-generate composition (p1, g1) (p2, g2) = (p1 & p2, g1 | (p1 & g2)) is the same as what you have with parallel Horner's method: if (a, b) represents ax + b then the Horner's method composition law is (a1, b1) (a2 […]
I've spent too much time with both programming and shmups so occasionally I'll see TLB in either context and my brain will misfire and I'll be very confused for a second. L2 TLB, you mean Hibachi, the loop 2 true last boss in Dodonpachi? STG, either the Japanese name for shooting game (shmup) or […]
@dougmerritt I wish it was impressive but fast bulk ASCII testing with scalar code is just applying standard techniques and AFAIK most people do something like what I wrote up in that comment.
I really like the KDE tile docking system. Meta-T to edit the landing zones per screen and then drag and drop windows while holding shift to drop them on specific zones. That's aside from the more universal stuff for just splitting window sizes or aligning them to edges, which is nice but not as […]
Even Morin only spends 2 pages on it in the introductory chapter (davidmorin.physics.fas.harvard.edu/sites/g/file…, section 1.2) plus the related exercises in that chapter. But that's still more than the approximately zero coverage I've seen elsewhere. Anyway, Morin's book is probably the best […]
I'm sure most of us grew up with physics teachers admonishing us to "check your units [before submitting results]" but it wasn't until I read David Morin's Introduction to Classical Mechanics that I realized how much you can nail down the form of a solution ahead of time by dimensional analysis.
I just noticed you can derive the form of the Newton-Raphson method for nth roots (and families of other methods) by dimensional analysis, which I guess is kind of neat. You still need to pick a specific Ansatz for the dimensionless function and then pick some constraints to nail down the […]
[answer]
@benjins This also reminds me that the fast path of correctly rounded decimal to binary floating point conversion takes advantage of how division of exactly representable integers is correctly rounded. For that problem it's very important you convert e.g. "123.456e2" with a single […]
[answer]
@benjins In fact, (x * 1.0) / 255.0 has only one round-off error whereas x * (1.0 / 255.0) has two round-off errors in general: 1.0 / 255.0 isn't exactly representable as a float and then multiplication by x can introduce its own round-off error.
"We had a physical hardware version control system where each level had a physical object, an action figure with a name tag, like "Bafford's Manor." To edit a level you had to find the person who had that physical object. The object hierarchy file's token was a Nerf football shaped like a brain […]
Interview with Marc LeBlanc about some of the Looking Glass tools: www.gamedeveloper.com/programming/…. cc @nothings
When I noticed the connection originally it led me to some interesting work going back to the 1960s published as RAND reports by Stuart Dreyfus, e.g. www.rand.org/pubs/researc…. "Presents a new dynamic programming derivation of the classical Hamilton-Jacobi method of solving optimization […]
I see Wikipedia now mentions it in this introductory section on the Hamilton-Jacobi equation, but when I was learning variational mechanics I found Hamilton-Jacobi theory the most initially abstruse. It wasn't really until I noticed its connection to dynamic programming (e.g […]
Speaking of Blasjo...
John Harrison - Formalization and Automated Reasoning: A Personal and Historical Perspective: www.youtube.com/watch?v=AaE1…. Includes a long case study of his formal proof of the isoperimetric theorem, where the mathematical history is so fascinating (see e.g. egunawan.github.io/math2794sp19…).
One of the best game intros of all time and it was done on an Amiga 500: www.youtube.com/watch?v=Qh9k….