Kinda Scruffy!

I’m crawling out of my cave to make a quick point before I get back to coding. In Cocoa, if you want to have your window shown when you click on its icon in the Dock, you need to add this method to the app delegate:

- (BOOL)applicationShouldHandleReopen:(NSApplication *)theApplication [...]

Read more...

§651 · December 30, 2009 · Technology · 1 comment · Tags:


We don’t have a very big Nagios installation, comparatively anyway, but it is big enough to find that the default layout for configurations is insane. I tried using the provided layout, until I wound up with single text files with thousands of lines in them. This made it very hard to do individual customizations [...]

Read more...

§647 · December 9, 2009 · Technology · 2 comments · Tags: ,


My answer to a great question over at serverfault.

First off, find your logs. Most Linux distros log to /var/log/messages, although I’ve seen a couple log to /var/log/syslog. If something is wrong, most likely there will be some relevant information in the logs. Also, if you are dealing with email at all, don’t [...]

Read more...

§631 · December 4, 2009 · Personal, Technology · (No comments) · Tags: , , , , , , , , , , , , , ,


Comparing two server operating systems, like SuSE Linux Enterprise Server (SLES) and RedHat Enterprise Linux (RHEL), needs to answer one question, “what do we want to do with the overall system”? The version of Linux running underneath the application is immaterial, as long as the application supports that version. It is my opinion that we [...]

Read more...

§629 · December 4, 2009 · Technology · (No comments) · Tags: , , , , , , , , , , , , , ,


I’m writing an article for TAB about my new blogging engine, Jekyll. I’ve taken most of the reliance on the command line out of dealing with Jekyll on a day to day basis, and instead have a few Automator workflows in the scripts menu in the Mac menubar. It’s a great setup, I’m [...]

Read more...



There’s been times when I’ve walked away from the command line, times when I’ve thought about doing something else for a living. There’s even been brief periods of time when I’ve flirted with Windows servers. However, I’ve always come back to Unix, in one form or another. Starting with Solaris, then OpenBSD, [...]

Read more...

§614 · August 10, 2009 · Technology · (No comments) · Tags: , , , , , , , ,


Understand every line of code written in my apps Do not use frameworks (see rule 1). Do not copy and paste code (see rule 1). Add lots of comments so I remember what I was doing at any given time. Manage memory as I go, don’t wait until I’m nearly finished and then go and “clean it up”. Roadmap the [...]

Read more...



One of the features of Servers.app is that it pings the host and shows a little indicator for it’s status: green is good, red is dead. Getting that little feature in here was not quite as easy as I thought it would be. After searching the Apple documentation for what seemed like years, [...]

Read more...

§580 · June 15, 2009 · Technology · (No comments) · Tags: , , , , , , , , , , , , ,