I like programming and understanding how stuff works. My background is in systems programming and game development.
Public Key
npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Profile Code
nprofile1qqs2997jaa4rdfm255jpelzvp266kylr02c442jxkjx6hkxv8t8gjhqpz3mhxue69uhhyetvv9ujuerpd46hxtnfduqs6amnwvaz7tmwdaejumr0ds5qszht
Show more details
Published at
2026-09-09T02:40:20Z Event JSON
{
"id": "956eb15c1cbb9e55c3aca6fec82b5b64a66c9b9f48e9a08fade1b66d8d4eda70" ,
"pubkey": "a297d2ef6a36a76aa5241cfc4c0ab5ab13e37ab15aaa46b48dabd8cc3ace895c" ,
"created_at": 1788921620 ,
"kind": 0 ,
"tags": [
[
"proxy",
"https://mastodon.social/users/pervognsen",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub"
]
],
"content": "{\"name\":\"Per Vognsen\",\"about\":\"I like programming and understanding how stuff works. My background is in systems programming and game development.\",\"picture\":\"https://files.mastodon.social/accounts/avatars/000/523/512/original/f41d1d4bf379077f.png\",\"nip05\":\"[email protected] \",\"fields\":[]}" ,
"sig": "8b2799fbd489114bbd9fdb23e92ca1abd437ce64d5405ef27748bfddf603c4e107e73e6b40c77c17675158dc7c3e314852c23f255e83ab91def705b61a155fcd"
}
Last Notes npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen Jepsen analysis of a vibe-coded database: https://jepsen.io/analyses/particledb-1.1.4. I knew their clients couldn't indefinitely block publication of a Jepsen report, but it's good to see it demonstrated again. "ParticleDB was a fractal of correctness errors. [...] ParticleDB claimed to be “1087x faster than PostgreSQL”. In our tests ParticleDB was nowhere near this fast. [...] Once ParticleDB reaches a baseline level of correctness, revisiting performance benchmarks could be worthwhile." npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen I'm glad I grew up in gamedev as a kid during the early real-time 3D graphics boom. The culture was (and continues to be) that we learned whatever we needed to read SIGGRAPH papers and mine them for practical ideas that could be adapted for contemporary real-time rendering. There wasn't a grievance culture aimed at academia. There was a tacit understanding that they were working in a different context, not all ideas would transfer to our setting, and it always needed to be adapted. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen I'm pretty sure I just self-diagnosed sciatica (actual diagnosis TBD) for a lower back issue that started out of nowhere 3 weeks ago. I also suddenly have a sore throat and I'm fully bracing for the flu that's going around. So my week is going great. Hopefully you all are doing better. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen If you updated Firefox and wondered what the hell happened to the UI like I did, open about:config and set browser.nova.enabled = false. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen Trying to kill the myth of immediate-mode UI being power inefficient. That's with a blinking cursor with a 1s blink interval which stops blinking after 10s of inactivity. So it's 1 non-idle frame per second when blinking and 0 when not blinking, hence the 0.6/s number. https://files.mastodon.social/media_attachments/files/117/365/645/130/499/280/original/23c5a67a2f3be428.png npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen I saw this in a ripgrep issue on GH that turned out to be a kernel bug. "I think it's worth contemplating why the kernel works at all." https://github.com/torvalds/linux/commit/478a1c3abebfc717db0d1281a9cdd7befafee542 npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…h6ty It looks like GNU parallel can do it too: https://www.gnu.org/software/parallel/man.html#:~:text=%2D%2Dhalt%20now%2Cdone%3D1 npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen Apparently wolves are back in Danmark and a quick search shows some hilarious news headlines. Politiken: Er der virkelig nogen, der render rundt og fodrer ulve med godbider? "Is anyone really running around and feeding treats to wolves?" npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…h6ty I'm a fuzzy on what exactly you're trying to accomplish. Are you just saying that you're okay with having a very delayed copy of the counters? npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen In case you're not already using it, SponsorBlock is really good: https://addons.mozilla.org/en-US/firefox/addon/sponsorblock/ npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…zdn5 @nprofile…valu The specific repo is new and Codeberg itself is new. So this is the absolute worst it'll ever be in terms of search ranking. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…zdn5 @nprofile…valu It's on the first page of a Kagi search but definitely a bit buried. It's disappointing to see a bunch of random GH forks with higher ranking, but the Codeberg repo is also new. https://files.mastodon.social/media_attachments/files/116/316/418/871/426/150/original/d6dde06ed851fff4.png npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen Yesterday I was thinking about serialization of fiber-based state machines and remembered Near (RIP) had written an article exploring the problems and potential solutions: https://saveweb.github.io/near.sh/articles/design/cooperative-serialization.html. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen I've seen several independent, complete misconceptions of the Curry-Howard isomorphism just in the last week. Where are people getting these ideas, I wonder. Today's specimen, courtesy of the Hegel thread on HN: "Given Curry-Howard isomorphism, couldn't we ask AI to directly prove the property of the binary executable under the assumption of the HW model, instead of running PBTs?" npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen My favorite weird physical scaling limit in computing is that you can't tile a 3D networked grid of computers indefinitely because you eventually create a black hole: https://en.wikipedia.org/wiki/Schwarzschild_radius#Calculating_the_maximum_volume_and_radius_possible_given_a_density_before_a_black_hole_forms. Whereas you can in theory tile the computers in a 2D network indefinitely. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen My recollection is that people implementing infinite smooth scrolling on the Amiga dealt with the wrap-around issue by replicating the streaming writes so that when you eventually reset the window to the opposite edge the data there is ready as an identical copy. On the NES it's usually assumed you do this via mappers in the carts (so you don't have to replicate the writes but can rely on address mirroring) but were there non-mapper-based smooth scrolling games on NES that replicated writes? npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…valu One of the nice things about https://phanpy.social (which is purely client side) is how it handles that. I remember having that problem you mentioned with the original Mastodon web UI. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…wxct Cool demo. That reminds me, did you ever see https://rerun.io/viewer? npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen I guess this deserves to be posted on a regular cadence for the benefit of anyone who hasn't seen it before: https://www.dkriesel.com/en/blog/2013/0802_xerox-workcentres_are_switching_written_numbers_when_scanning npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen Very strange to read a paper that has a section titled "SIMD Implementation" and sentences like "Utilizing SIMD instructions, specifically POPCNT, this step efficiently identifies varint terminations within the 64-bit block" and all it ever does is word-level popcnt, clz and pext. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen Someone on Lobsters wondered "how a modern compiler would fare against hand-optimized asm" in reference to Abrash's TransformVector (3x3 matrix-vector multiply) hand-written x87 routine in Quake. Oh my sweet summer child. Has there ever been a compiler that did an amazing job for x87 in-order dual-pipe scheduling? The entangling of register allocation, instruction selection and instruction scheduling is like nightmare difficulty mode for compiler backends. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…mv7s @nprofile…x9sp It's definitely true that if you mostly use Vulkan to dispatch compute shaders then life is simpler. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen Seeing @nprofile…x9sp write OpenGL on stream has made me want to return to GL ES 3.0/GL 3.3 as a baseline again. No compute shaders (I know Sean uses them) but what a peaceful existence. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen The Midlayer Mistake: https://lwn.net/Articles/336262/ npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen Remember when "top posting" was the ultimate online faux pax? I was just thinking that pretty much all the ways of interacting on social media nowadays are the equivalent of top posting. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…mv7s Like https://github.com/KhronosGroup/Vulkan-ValidationLayers/blob/main/docs/gpu_validation.md? npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen There's long-running debate in programming about brevity vs descriptiveness for names, but something I don't see pointed out is that strong conventions (either universally or in your code base) like 'ptr' for memory pointer and 'idx' for sequence index are _more_ descriptive than 'pointer' and 'index'. A 'pointer' could be a mouse pointer and an 'index' could be a database index. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen This seems mildly terrifying if you're using AMD's auto-update tool on Windows on an untrusted network: https://mrbruh.com/amd/. Them immediately closing it as a "won't fix" because it involves a MITM attack is odd. I guess that policy must have been more concerned with CPU-level vulnerabilities? npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen I almost can't believe this thing is on the Archive with ISOs and everything: https://archive.org/details/ldr_0496_6cd/linux%20%20back.jpg. This specific CD-ROM set is how I got started with Linux (Slackware 3.0 for the win). Back when FTP mirrors were things you shipped on CD-ROMs. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen I'm so glad I'm not using this abomination anymore. "The company [Microsoft] argues that it reads all user feedback in the Feedback Hub and has reached a few conclusions. First, the Start menu should be quicker as it’s the place where you “begin” on Windows 11. At the same time, it should feel more “personal” and “calm,” which is why it has those recommended items turned on by default." npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…mv7s That cuts both ways. If 2^53 bits of integer precision aren't enough then 2^64 bits might not be enough either. E.g. some of the int128 proposals for timestamps (which strikes as overkill but I'm sure it can be justified). npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen ASCII characters are not pixels: a deep dive into ASCII rendering. https://alexharri.com/blog/ascii-rendering npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…mv7s I wonder if there's a way you can ship a mostly headless self-check so that when things break the user (a) finds out sooner than later (it doesn't silently misbehave in weird ways) and (b) they can capture some kind of standardized diagnostic log with enough info that you can resolve it quickly without endless back and forth over GH issues or whatever. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…v2v2 By decouple you mean having deallocation queues between threads (which should work with any allocator) rather than integrating the batching and deferred handoff into the allocator design? @nprofile…svlt @nprofile…2ad0 @nprofile…kudx npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen I distinctly remember that at least in Danish computer media at the time (and enthusiasts informed by that media) there were a ton of people who hated the Pentium. Even prior to launch and before the FDIV bug was known, so it definitely wasn't based on that. I was stuck on our old family 486 way past the Pentium 1 era. At this point I don't even remember what it was about, but I do remember it fueled a lot of defections to AMD and Cyrix CPUs. Maybe it was primarily a cost issue--anyone remember? npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen The 9800X3D + RX 9070 XT system arrived. Might have gone slightly overboard with the fans in this case. https://files.mastodon.social/media_attachments/files/115/021/106/946/450/356/original/8181e95976c5b21c.jpeg npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…8x2j For a long time (before I learned what it meant) I had indeed misread it as HSBC and was very confusd. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen Random musing: If T is an immutable (non-interior-mutable), copyable type then it would be nice if r: &T and let t = *r; &t were indistinguishable. But you can cast references to pointers and observe their pointer identity (via address equality), so they are distinguishable. That seems like a tangible way in which the value semantics picture is nicer. Letting a shared reference's observable identity change non-deterministically (even if only one at function boundaries) is too icky. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen It feels like a troll that p => q (implication) is equivalent to p <= q (less than or equal). npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…gvnm You know who doesn't like NUMA? UMA Thurman. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen The programmer at IBM in the 1960s who came up with the name "dope vector" was smoking it. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…8x2j Feel the freedom! npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…tslx That's the kind of thing @nprofile…2key's link to GetFrameStatistics, etc, is about. Unfortunately I don't think there is a reasonable cross platform option currently. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen I was doing some experiments and you have to admit this is pretty funny: Summary tcc sqlite3.c -c -o sqlite3.o ran 1.25 ± 0.05 times faster than tokei sqlite3.c 14.02 ± 0.45 times faster than cloc sqlite3.c npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen You know things have gotten bad when the Social Security Administration is sending out email blasts with partisan propaganda. Just got an email from them with the subject line: "Social Security Applauds Passage of Legislation Providing Historic Tax Relief for Seniors" npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…tslx Right. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…tslx Aka blocking (a term I try to avoid since its default meaning in programming is confusingly different). In this case it's representing a table as a variable-length array of fixed-size tiles where a tile is internally a structure-of-arrays (so the arrays are fixed length). npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen One nice thing about tiling compared to fully columnar/structure-of-arrays is that the fixed-size arrays within each tile are at a constant bytewise offset so you don't need a separate variable/register for each array base. You just need the tile base and the per-array offsets can be folded into the memory operands. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen AccessKit: reusable UI accessibility - Matt Campbell. https://www.youtube.com/watch?v=OI2TzJ6Sw10. Interesting that the push-based architecture makes it easy to integrate with IMGUIs without having to do your own stateful tree synchronization (which would be required if you wanted to integrate directly with the pull-based platform APIs), since AccessKit will diff against its own shadow DOM so it won't just forward app-pushed updates directly to the platform if there aren't any actual changes to nodes. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen If Apple ever moves away from ARM and designs their own instruction set, they should call it Apple LISA. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…e2ev What is an even number, even? npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen I can understand it with my parent's generation who didn't grow up with English the same way we did, but I'm always surprised when I see a Danish academic who is much younger than me giving a talk in English with a Villy Søvndal tier accent. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…59k6 (This reminds me that D&D 5E's version of the diviner subclass of wizard has you roll a number of portent die at the start of every day and you can use them, as a reaction, instead of a die roll. And because you can substitute them for saving throws of enemies vs your spells but also to (spell) attack rolls, both high and low portent die rolls are useful.) npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…59k6 Portmanteau of chick and shiksa? npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen When the LLM is off in lala-land: "Many instruction sets do something similar - x86 has special encodings for immediate values 0, 1, and -1." (If you count any imm8 as special, I guess.) npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen There are two reasonable justifications for encapsulation. The only fundamental justification is preserving data invariants, especially when safety is involved. So it's very strange to me that the OOP people never talk about them and only talk about reducing low coupling to make it easy to reduce the long-range impact of changes. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen The Full-Source Bootstrap: Building from source all the way down. "If you run guix pull today, you get a package graph of more than 22,000 nodes rooted in a 357-byte program—something that had never been achieved, to our knowledge, since the birth of Unix." https://guix.gnu.org/en/blog/2023/the-full-source-bootstrap-building-from-source-all-the-way-down/ npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen I think it's long overdue we retire the colloquial use of "superpower" in tech to describe any capability that isn't invincibility or teleportation. It's become almost as bad as "code ninjas" was in 2010. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…59k6 Was AD niche back then in computer graphics? It must have been; at least I don't remember it being much of a thing when I was still paying attention to SIGGRAPH in that period (well, a little after). npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen Re: boost, what the fuck is going on in Windows land. Has it really gotten this bad over there? npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen Building a deterministic hypervisor for fuzzing: https://www.youtube.com/watch?v=0E6GBg13P60 npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…gvnm A practical joke? You mean a pranck? npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…zsct Yeah, I didn't switch from Amiga to PC until the middle of the 486's lifespan and for games specifically it didn't really feel Amiga got overtaken by PC until Wolf3D and especially DOOM. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…zsct I always had the impression Amiga never got very big in the US and it was more of a European phenomenon. What was your perspective? npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…59k6 Personally love this graphic design style. https://files.mastodon.social/media_attachments/files/114/434/825/888/855/891/original/d486f63519af8315.png npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…59k6 It's funny how random academics show up in these old microcomputer contexts. Steve Vickers (who I assume you were reminded of because of Topology via Logic based on what you posted yesterday) but also the topologist Glen Bredon who wrote https://en.wikipedia.org/wiki/Merlin_(assembler). npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen The frequency response of my laptop speakers is so bad that hihats are completely inaudible even at a volume high enough that other bands produce distortion. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…59k6 (This is very tangential but I first came across the name 'Gauss' as a kid because of the ultra-powerful Gauss Gun in Bullfrog's game Syndicate for the Amiga. At the time I didn't know it was a German name so I also butchered the pronunciation until I finally learned where the name came from.) npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen A random comment I made reminded me that half-integers naturally show up when you represent an open or closed integer interval as a (center, radius) pair. It seems like many of the natural occurrences of half-integers in math/physics might be secretly related to the same kind of thing with centers on grids? https://en.wikipedia.org/wiki/Half-integer#Uses. Never made that connection, so it might be nonsense. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…59k6 Interesting notion of a "pledge" that gets altered as soon as (or likely after) you start doing the bad thing you said you wouldn't do. Is this some kind of holdover from the self-mythology of the "don't be evil" days? npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen WASD was a mistake. ESDF is the way. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…gyrf @nprofile…xsrr Sounds like a good project for Ph. D. student although the potential for a dud effect seems pretty significant. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…gyrf @nprofile…xsrr The current situation (where a language emits LLVM-level control flow for the overflow panics) is also needlessly overconstraining the optimizer if all you want is deferred (as opposed to precise) overflow checking semantics. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen Every time I see "Arm ARM" in official reference documentation I feel like I'm having a stroke. But I think they can do better than that. "Arm's Arm ARM" would be a valid way of saying Arm (the company)'s Arm (the instruction set) Architecture Reference Manual. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen Done for today. That was a lot of thinking and writing. #DecemberAdventure https://gist.github.com/pervognsen/9787fb384b28b2d5412e5262354729a7#day-3 npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen Sketched out some initial sandbox ISA ideas for my #DecemberAdventure project. https://gist.github.com/pervognsen/9787fb384b28b2d5412e5262354729a7#day-3 npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…gyrf Utah solidarity? npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen "Why no one should use the AT&T syntax ever, for any reason, under any circumstances" by @nprofile…juq3. https://outerproduct.net/2021-02-13_att-asm.html npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen When I was staffing up an OS systems, I wrote a take-home test where you had to write a very simple debugger for a simple fictional ISA called PIS-16. I am very mature. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen I made the mistake of watching Jon Kalb's "This Is C++" talk. It's amusing to see him routinely use words like "careless" to describe C++ programmers who write code that can trigger UB. Apparently good C++ programmers like him don't trigger UB. But he has an example with signed int add, mul and div functions where he enumerates potential UB. He mentions add and mul can overflow, which is UB. Then he says that div cannot overflow but could divide by 0, which is UB. Anyone see the irony? npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen Have there been any RCEs in the wild from attacker-controlled NaN injection into sorting functions like C++ std::sort where non-total (in this case even non-partial) orderings lead to undefined behavior? npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…gyrf I'm invariant-pilled but I think I slightly prefer to think of this algorithm in terms of algebraic laws: popcount(0) = 0 popcount(x) = popcount(clear_lowest_bit(x)) + 1 if x != 0 This can be turned directly into a function definition. Of course you have also have to prove clear_lowest_bit(x) = x & (x - 1) if x != 0. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…gyrf I'm built different. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…y6g5 "You know who else liked to draw things?" npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen Couldn't help myself and tried to find some other quotes with search terms like "Alan Kay hates data" and came up with this, which almost reads like an Alan Kay parody. https://files.mastodon.social/media_attachments/files/113/544/596/799/120/573/original/e4c759448ec0a89d.png npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…gyrf Couldn't fit this in the original post's character limit but here's a bonus just for you : "The browser wars are irrelevant...you don't NEED a browser, if you follow what this staff sargeant figured out how to do in 1961." npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen A programmer's visceral reaction to this Alan Kay quote is a personality test: "So all you had to do to read a tape in 1961 was read the front part of one of these records into core storage and start jumping indirect through the pointers and the procedures were there. [...] HTML on the Internet has gone back to the dark ages, because it presupposes that there should be a browser that understands its formats." npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…gyrf Although I conveniently blocked out of my mind that Bay is responsible for Transformers which was kind of a foreshadowing of how bad action movies would become. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…gyrf What after the complete marvelization of movies I could go for some classic Bayheimer right about now. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…cc5z Is there a reason this couldn't be shipped with the compiler itself to avoid that compile-time dependency? npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…cc5z Rust has a similar issue with proc macros (as opposed to pattern matching macros). A proc macro is essentially just a token stream transformer so it has to do its own parsing if it wants to process Rust syntax as opposed to some other made-up syntax. And since the compiler itself does not provide that (mainly to avoid exposing the internal compiler APIs) you have to use a third party package for that like syn. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…cc5z Why are you rebuilding SwiftSyntax? Using it for syntax highlighting of Swift code in your iOS Godot editor? npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @nprofile…gyrf @nprofile…rdul Obviously C-Reduce is much more evolved but one of the takeaways I had when first reading Zeller's original delta debugging paper and then implementing my own version was that it worked way better than it had any right to. I guess nowadays people might not be as easily impressed since fuzzing has become such an expected thing. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen Just Windows things: https://devblogs.microsoft.com/oldnewthing/20050715-14/?p=34923 npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @npub1f3n…e887 Sprouting? Nah, I'm pretty sure Shub-Niggurath is trying to break through to our dimension. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen The $599 for the base M4 Mac Mini looks like a good deal if you don't mind macOS. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @npub1c9m…9xjd I'm curious what you did to prompt this. But yes I would chuck any tool that did this in the trash. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen @npub1c9m…9xjd Did you get around to reading Shannon Appelcline's four-volume history of RPGs, by the way? Designers & Dragons. I read it when it was released and learned a lot of details I hadn't known. npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen I've been replaying Baldur's Gate 1 and now 2 with https://www.gibberlings3.net/mods/tweaks/scs/ on the highest difficulty and it's incredible how much it breathes life into those games. Considering how limited the scripting system is in the Infinity Engine, it really shows how much can be achieved by just piling on tons and tons of decision logic if the scripter has the stomach for it (the author is a philosophy professor who has been working on SCS for well over a decade). npub152ta9mm2x6nk4ffyrn7ycz444vf7x743t24yddyd40vvcwkw39wqv3v7uc Per Vognsen When reading a paper it's fun to guess which out-of-place paragraphs and sections the authors were asked by the reviewers to insert. You can usually tell.