Yes, I’m still alive

Hey all, sorry for the lack of posts. I hadn’t intended to go two months without posting. I suppose this makes it more of a rocky start than a bumpy one.

I thought I’d give a status update on where I am with things:

An update to Picture Switcher is about 88% done.
An update to Web Control is about 60% done.
An update to Desktop Log is about 40% done.
An update to Pref Setter is about 10% done.

As you may guess from the above, I’m spending most of my time with Picture Switcher. It’s keeping me rather busy, which has contributed to the lack of posts (though I’ll be honest and say not totally).

If it helps any, my friends are all wondering where I’ve disappeared to as well. ;)

Comments Fixed

Oops, my comment system somehow was a bit broken. It’s fixed now.

Sorry ’bout that, everyone.

Of Kqueues and Max Open Files

Kqueues are a great thing. They let you keep an eye on files, sockets — anything that has a file descriptor. It takes very little code, and you don’t have to worry about manually polling or the like. Awesome stuff.

There is one thing you do have to worry about, though. Your app’s number of open files. I ran into this problem in a spectacularly bad way. When I first released my application Picture Switcher (it’s a status menu item, which you can use to switch your desktop picture(s)), I had it going through the file system and checking the modification dates of the folders containing the pictures Picture Switcher knows about — when the user clicked on the status menu. This was a Really Bad Way to do things — it made the menu take a while to actually show (and if the user had a lot of folders, it could show the SPOD). So, when I was working on version 1.1 I decided to use kqueues to watch the folders instead of going through them when the user opened the menu. It was great, I didn’t need to worry about manually looking through all the folders anymore.

Welcome to Ramblings of a Mad Poet

I’ve been thinking on and off over the last few… years, really… of starting up a blog. It’s a great way to keep in touch with my users, and gives me a voice in the developer world — something I have been wanting to do. So why has it taken me so long?

Well, the short and long of it is is that I’m a quiet person. I’m not much given to talking or writing something without it being a reply to someone else talking or writing to me. I enjoy reading blogs, but the thought of writing my own just rubbed me the wrong way. It’s somewhat contrary to my nature. There’s also the issue where I really don’t do a lot of exciting things, and I’ve often thought that any blog that I wrote would be a great way for an insomniac to have a way to go to sleep. :smiley2_tb:

So what changed my mind?