Cyrus Smith lays a sick burn on Captain Nemo in Jules Verne’s “The Mysterious Island”

I’ve been reading Jules Verne’s L’île mystérieuse (The Mysterious Island.) It’s about a bunch of Civil War prisoners who escape in a balloon, find themselves marooned on a desert island, and by a slow application of engineering principles build up food, shelter, defense, and eventually a working telegraph system. Oh, and it has Captain Nemo….


How to record a phone call on a Windows 10 phone

First, check the specifications for your phone to see if it has the necessary hardware to support call recording – not all phones do. For example, the Lumia 950 does: Lumia 950 specifications And so does the Lumia 550: Lumia 550 specifications You’re looking for something like this: If you’re trying to set up call…


Extracting GUIDs from a bunch of text

As part of messing with Windows Performance Recorder profiles, I had a need to extract everything that looks like a GUID from a blob of text. So I wrote this script. It digs through its STDIN and outputs all the GUID-looking things, uppercase-ized and sorted.


Getting the schema for Windows Performance Recorder profiles

I was having some trouble authoring a Windows Performance Recorder profile by hand-editing the XML, and I wanted to check it against the schema. This MSDN page says “you can get the WPRControlProfiles.xsd file in %ProgramFiles(x86)%\Windows Kits\8.1\Windows Performance Toolkit“. That appears to no longer be true. I dug around a little and eventually found it. It’s…


Perl scripts to encrypting and decrypt text using Rijndael

I talked about Rijndael in a few previous posts: Expressing a function f: GF(2⁸) → GF(2⁸) as a polynomial using a Lagrange polynomial, Generating the Rijndael S-box, Efficient multiplication and division in GF(28), Sieving irreducible monic polynomials over a finite field, Addition and multiplication table for GF(22). Today I wrote a couple of Perl scripts…


Pulling ClickOnce applications from the client using a script

I have a bunch of internal Microsoft ClickOnce applications that I use all the time. But every time I clean install my machine I need to go look up all the application entry points and reinstall them. This got boring, so I wrote an executable that takes a URL on the command line, and then uses the System.Deployment.Application.InPlaceHostingManager…


Riffing on Raymond – incrementing the reference count on a smart pointer

Last Friday, Raymond Chen blogged about how to use a function that released one of its inputs with various smart pointer classes. He made two suggestions, and I offered a third: (Raymond) tell the smart pointer class to release ownership to the function (Raymond) use a different function that doesn’t release the input (Me) take…


Poking into the "trusted root certification authorities" certificate stores for the current user and the local machine

Sometimes, like when trying to install a test driver you just built, it is very important to distinguish between “I trust this code” and “my machine trusts this code.” It can be difficult to tell the difference by just double-clicking on a .cat file or using signtool.exe verify – luckily, the Microsoft Management Console provides…


Taking audio glitch traces on Windows 10: phone edition

Related blog post: Taking audio glitch traces on Windows 10: desktop edition Sometimes if audio is glitching we will reach out to people and ask them to take glitch traces so we can look at them and try to figure out what is going on. One of the tools we use to take audio glitch…