I care about making software more reliable through careful debugging, clear bug reports, and choices that reduce avoidable complexity.
I said media file parsing has been behind so many security issues.
I think using completely raw data is very practical in many cases today.
- I suggested avoiding DCT and ADPCM; I said “No RLE” and “Just raw pixels/samples.”
I proposed a widely agreed on header for modern raw data that is just a non-extendable struct.
I have observed that conditional breakpoints have a dramatic impact on performance when debugging C++ code.
I said python is already so slow that you don’t notice much when using conditional breakpoints.
While watching my son play Skyblock, I pointed out another culling bug.
Meta fixed the avatar-culling bug I had noted, but it took over half a year.
I described the VR Shell culling bug as an error that you can see in a lot of 3D software outside the battle tested engines.
I said you want to avoid wasting time drawing things that won’t be seen, so you typically first do some calculations to see if a visibility test is needed.
Many years ago, a vendor thanked me for thoroughly isolating a bug before I reported it.
The vendor contrasted my thorough bug report in contrast to the “it just crashes” reports they usually get.
It stuck with me, and I strive to make the type of reports I would like to receive.
I was super impressed by the @PyTorch team’s response to bug reports.
Because PyTorch is fully open source, part of me felt I should go all the way down to creating a patch myself.
I have been stopping at the API level because a project that size has a substantial learning curve to full contributor competency.
On 2024-07-19, I spent far too long trying to debug a remote config issue before finding out that Visual Studio @code services had been down for hours.
I wrote, “VS Code’s debugger would lock up whenever I stepped past a line like: S=tensor.untyped_storage()”.
I found that the print function for this class doesn’t do any kind of elision, which contributed to the debugger hang.
The debugger window that automatically displays local variables started a dump of over a billion elements from the debug server before it would process any other commands.
I found that if the ‘variables’ option in the Python debugger panel is unchecked, it doesn’t do any requests; this also speeds up single-stepping code and can be useful in other contexts.
I had a game engine debugging dream last night, rather than reporting a confirmed debugging result.
Every couple seconds, a particular piece of furniture would flip on its X axis and scoot across the floor for a bit.
In the dream, the physics engine was interpreting it as an acceleration impulse, giving the furniture a little kick.
I said, “(AFAIK, no actual engine behaves like that, but Dream Logic)”; this was dream logic, not a claim about verified engine behavior.
I didn’t root cause the problem, but I suspected an uninitialized variable, so it must have been a C++ codebase.
I haven’t done game dev in years, but I was making a suggestion to @boztank about avatar rendering recently.
I had heard horror stories of version control by xcopy and similar practices among the pre-iOS smartphone vendors.
I said that router and 5G equipment apparently also left much to be desired.
I mentioned these impressions while discussing Security Engineering by Anderson, which I had started reading just before CrowdStrike, and linked to https://t.co/9UCeGql9Tw.
I reported that I failed to get Quest HDMI Link working with two different USB video capture systems and five different video sources.
Related: everyday software usability, responsive software and playback, software safety and foundations