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/ $ … Continue reading

Posted in Uncategorized | Leave a comment

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, … Continue reading

Posted in Uncategorized | 1 Comment

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 … Continue reading

Posted in Uncategorized | 6 Comments

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 … Continue reading

Posted in System Administration | 14 Comments

Calling Applescript from Ruby

Today I wrote a Ruby version of my quicky function for calling Applescript from Perl: The usage looks like this (almost identical to the Perl version): osascript <<-END tell application “Finder” display dialog “Hello” end tell END

Posted in Software | Tagged , | 2 Comments

“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 … Continue reading

Posted in Games, Life | 11 Comments

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 … Continue reading

Posted in System Administration | 7 Comments

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 … Continue reading

Posted in Hardware, Life | 22 Comments

Emacs For OS X . com gets a new Mac Mini

I recently used Funded By Me to help raise some money for a new build server for Emacs for Mac OS X . com. I set it up and then decided to start publicizing it on a Friday and by … Continue reading

Posted in Hardware | 4 Comments

VLC 64 Bit Problems

I just spent way too long trying to figure out why VLC wasn’t opening DVDs. I was getting this error in the log window: no access module matched “dvdnav” Turns out the problem is that VLC 1.1.11 only has 32-bit … Continue reading

Posted in System Administration | Leave a comment

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 … Continue reading

Posted in Software, System Administration | Leave a comment

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 … Continue reading

Posted in Games | Leave a comment

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 … Continue reading

Posted in System Administration | 1 Comment

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. … Continue reading

Posted in Software, System Administration | Leave a comment

Fridge Schematics/Wiring Diagram

I couldn’t find these schematics online anywhere. They came from the behind the front panel of my Kenmore Coldspot refrigerator, model number 106.9555923. Continue reading

Posted in Hardware | 1 Comment

How to get fsaclctl off your Leopard install DVD

Leopard came with a program called fsaclctl that let you turn on and off ACL control for a filesystem. Here’s how to get it off your Leopard (10.5) install DVD. Continue reading

Posted in System Administration | 3 Comments

How to find out what Mac OS X system is installed on a random disk

Ok, so you have a random disk lying around and you plug it in and it looks like it has Mac OS X installed on it. How do you tell what version it is without booting into it?
Continue reading

Posted in System Administration | Leave a comment

CentOS (RHEL) 5.4 kernel source

Say you want to build the source tree for a RHEL/CentOS 5.4 kernel (2.6.18-164.11.1.el5 in my case) and you are running a recent Debian or Fedora system. You might get patch failure errors.
… Just add this to fix it:
%define _default_patch_fuzz 2 Continue reading

Posted in Software | 1 Comment

Cool things about Snow Leopard (OS X 10.6) that no one but me will care about

I admit, I am easily amused. Continue reading

Posted in Life, Software | Leave a comment

What I had to do to get Snow Leopard to install on my MacBook

I was getting this message:”Mac OS X cannot be installed on “silver”, because this disk cannot be used to start up your computer.”

The problem turns out to be that the Mac OS really wants 128MB of unused space after your main Mac OS partition.
Continue reading

Posted in System Administration | 8 Comments