Mac OS X codesigning woes

I just discovered this wonderful bug. Apparently “hdiutil makehybrid” is stripping code signatures in some cases. I first verify the code signature on an App (a build of Emacs, in this case)—there are no errors: $ codesign –verify _dmg-build/Emacs.app/ $ I then use “hdiutil makehybrid” to create a disk image out of the directory. $ … Continue reading Mac OS X codesigning woes

Playstation 4 NW-31250-1 Error

All my Playstation 4 downloads were failing today with “DNS Error” and “NW-31250-1”. I ran a tcpdump on my router and found this: 15:07:10.389761 00:ee:ff:aa:bb:cc (oui Unknown) > 11:22:33:44:55:66 (oui Unknown), ethertype IPv4 (0x0800), length 109: (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 95)     red-death-router.porkrind.org.domain > 10.0.0.113.49218: … Continue reading Playstation 4 NW-31250-1 Error

Mac OS X 10.9 (Mavericks) and SSH pkcs8 keys

After upgrading to Mavericks (Mac OS X 10.9) I found that ssh-add wasn’t working. After investigating I discovered that the SSH shipped with Mavericks has a regression and doesn’t support pkcs8 keys. Mac OS X 10.8’s SSH supported these keys just fine. Earlier in the year I had read an article about using pkcs8 formatted … Continue reading Mac OS X 10.9 (Mavericks) and SSH pkcs8 keys

iMessage on Mac OS X not working

My iMessage suddenly stopped working in the Messages app and I couldn’t get it to log in properly. In the accounts section it would spin for a while when I typed my password and then give this error: The registering device does not have appropriate credentials I finally decided it must be some background task … Continue reading iMessage on Mac OS X not working

Calling Applescript from Ruby

Today I wrote a Ruby version of my quicky function for calling Applescript from Perl: def osascript(script) system ‘osascript’, *script.split(/\n/).map { |line| [‘-e’, line] }.flatten end The usage looks like this (almost identical to the Perl version): osascript <<-END tell application “Finder” display dialog “Hello” end tell END

“An Ancient Piece of Computer Lore in a Place You’d Never Expect” or “Dungeon (Zork) Map in Duplicity”

Back in March of 2012 I was watching Duplicity and I noticed something odd about 28 minutes in: In the top right corner there’s an 11×17 paper with an image on it that’s really hard to make out. I recognized it instantly. I first saw the image in question over 30 years ago when my … Continue reading “An Ancient Piece of Computer Lore in a Place You’d Never Expect” or “Dungeon (Zork) Map in Duplicity”

libvirt based QEMU VM pausing by itself

I just debugged this for hours. I have a bunch of QEMU VMs and different sets of them would start pausing themselves. If I resumed them they would immediately pause themselves again. Checking logs showed nothing. I found a disk with a bunch of S.M.A.R.T. errors but it turned out to be a red herring … Continue reading libvirt based QEMU VM pausing by itself

The Core Memory Module from my dad’s homebuilt PDP-11/05

Here is one: This is basically the 1974 version of a DIMM. It measures 16″ by 11.5″ and holds 16 kilobytes. It’s technically 18 bits wide but only 16 were used in the PDP-11. The raised part in the middle is where the cores are actually stored. Each bit is a little ring with 3 … Continue reading The Core Memory Module from my dad’s homebuilt PDP-11/05

Daemon-Manager: Manage your non-privileged daemons

It seems I’ve been writing little daemons a lot lately–small things that don’t want to run as root but still need to be launched in the background as services. I’ve been noticing because it’s such a pain to integrate them into the system once they are written (or installed). I have to mess around as … Continue reading Daemon-Manager: Manage your non-privileged daemons

Crysis 2–weapon stuck in semiautomatic mode.

So I was playing Crysis 2 and hit a random button on my xbox controller and my weapon went into semiautomatic mode. I could not for the life of me figure out what I had done or get it to switch back. Apparently I’m just dumb but it was so frustrating I tried to search … Continue reading Crysis 2–weapon stuck in semiautomatic mode.

Snow Leopard Time Machine Tweaks

Sparse bundles created by Time Machine in the latest versions of Snow Leopard are created slightly differently than they used to be. It used to be that Time Machine would create a sparse bundle with a name like “machine-name_001122334455.sparsebundle” where the “001122334455” part was your main ethernet port’s MAC address. Now it creates just “machine-name.sparsebundle”. … Continue reading Snow Leopard Time Machine Tweaks

Introducing Daemon Manager

The idea for Daemon Manager came about when I was converting a web site from Apache to Nginx. Nginx doesn’t launch FastCGI programs itself—it only connects to FastCGI sockets and so it requires that you manage the FastCGI server yourself. For a simple web site it might be OK to manually create an /etc/init.d script, … Continue reading Introducing Daemon Manager

Last Modified on: Dec 31, 2014 18:59pm