Home›Discover›Programming›Random ASCII

Random ASCII

Posts per week · about 00 subscribersenProgramming
randomascii.wordpress.com

Recent articles

Subscribe and these — and every new article — show up in your reader

Reflections on My Tech Career – Part 2

AI summaryThe author continues their career retrospective, describing how they moved to Cavedog Entertainment in 1997 and discovered their talent for debugging and fixing crashes, then spent 2002-2011 at Microsoft's Xbox group, where they found a CPU design bug in the Xbox 360, optimized math functions and memory pages, and learned the ETW performance analysis skills that defined their later career. Along the way they taught at DigiPen, which transformed them from fearing public speaking to loving it, and in 2011 they joined Valve, where the flat management structure and bug-laden codebase let them fix important problems at a record pace.

Reflections on My Tech Career – Part 1

AI summaryThis is the first part of the author's reflections on his 37-year software development career, beginning with his time as a university dropout who taught himself programming on the Amiga and Apple ][ in the mid-1980s. He describes writing a fast fixed-point Mandelbrot fractal explorer (MandFXP) that demonstrated his performance-estimation skills and helped him land a job at Distinctive Software working on games like Test Drive, while also developing the CygnusEd text editor as a side project. The narrative then covers his two-year round-the-world trip with his partner and his subsequent move to ASDG/Elastic Reality in Wisconsin, where he finally learned Windows, C++, and version control.

Finding a VS Code Memory Leak

AI summaryIn 2021, the author discovered a massive memory leak in VS Code—reaching around 64 GB—despite never having used the tool, by noticing unusually high seven-digit process IDs during a remote pair-programming session with a coworker, which signaled a process-handle leak. Using Task Manager and an ETW trace, they quickly traced the leak to a missing CloseHandle call after an OpenProcess call, which leaked roughly 64 KiB per unclosed handle, and the bug was fixed within days of being reported. The author concludes by suggesting that automatic resource limits on handles and memory would help catch such bugs during testing.

Acronis True Image Costs Performance When Not Used

AI summaryThe author discovered that Acronis True Image's shell extension (tishell64.dll) caused severe Explorer.exe slowdowns—consuming dozens of CPU seconds—whenever an external monitor was plugged or unplugged, because it repeatedly (sometimes thousands of times) enumerated all running processes via CreateToolhelp32Snapshot. Using ETW traces, WPA, and debugger breakpoint counting, he traced the issue to the Acronis DLL and contacted the company, which provided a registry-key workaround and promised a fix in the next release, while the outdated version distributed by Crucial remains affected. The author also criticizes missing file metadata in Microsoft and Acronis DLLs and recommends simply uninstalling Acronis True Image once it has served its purpose.

Google Maps Doesn’t Know How Street Addresses Work

AI summaryThe author documents multiple Google Maps errors in British Columbia, such as 138 W 6th Ave in Vancouver being plotted 2.4 km from its real location and an address in Vernon being sent four blocks off, arguing that Google Maps lacks sanity checks (like verifying the city, street, and hundred block) when mapping addresses to parcels. The mistakes, likely caused by typos or a batch of bad data ingested around mid-March, have real consequences like late actors arriving at wrong audition locations. Reporting fixes through Google's feedback tool proved unreliable and slow, and the author calls on Google to validate incoming address data and run batch processes to catch similar errors at scale.

What this blog is about

AI summaryThe author describes their blog 'randomascii' and the difficulty of summarizing its mix of personal stories and technical investigative work to non-technical audiences. They provide one-paragraph summaries of Windows bugs they diagnosed—including a quadratic desktop-icon slowdown, Gmail hangs, a kernel disk-caching bug, and a mouse-freezing issue—several of which led to fixes benefiting millions of users. Their most popular post, read over 400,000 times, is a guide to reliably comparing floating-point numbers.

Find me on bsky

AI summaryThe author announces they have left X/Twitter, calling it a disinformation-filled site that harms democracy, and moved to Bluesky where they can be found at randomascii.bsky.social. They describe the topics they post about, including ranting about base 2 versus base 10, transportation, housing, and tech failures, along with vacation photos and astronomy blurbs. They encourage readers to follow them on Bluesky and note that organizations abandoning X may have good reasons for doing so.

Life, death, and retirement

AI summaryThe author's wife died of pancreatitis nine weeks after her diagnosis, and the resulting grief—compounded by isolation from remote work and few friends nearby—drained his motivation and made him resent work's demands on his time. After a three-month leave of absence confirmed he didn't miss work at all, he decided to retire from Google after ten years, with his last working day being October 4th, 2024. He says he may still blog occasionally or offer private consulting on Windows performance problems if readers or companies reach out.

Localization Failure: Temperature is Hard

AI summaryThe article examines a localization error in a Guardian headline about Malawi, where a temperature 20 °C above average was reported as '68 °F above average' instead of the correct 36 °F. The author explains that while 20 °C as an absolute temperature equals 68 °F, converting a temperature difference requires only multiplying by 1.8—adding 32 °F in that context is wrong. This illustrates that translating temperatures demands context, since 20 °C could mean 68 °F, a 36 °F difference, or −4 °F depending on usage.

32 MiB Working Sets on a 64 GiB machine

AI summaryThis article investigates an undocumented Windows behavior where calling SetPriorityClass with PROCESS_MODE_BACKGROUND_BEGIN caps a process's working set at 32 MiB, causing Chrome's setup.exe to spend 99% of its CPU time in page-fault handling. The author's tests showed this can make memory scans run 250 to 800 times slower, and because trimming the working set merely moves pages to the standby list without actually saving memory, the feature achieves nothing useful. The author recommends that Microsoft remove this behavior or at least document it, noting the issue has been known since at least Windows 7 and remains unaddressed.