Category: General Development

iOS and iCloud: overcoming “bad file descriptor” errors

January 16, 2012 1 Comment by Ben

Pretty quick one today. I beat my head against this for several hours before I found the obvious solution, so I thought I’d jot the info down here for reference, and maybe to help someone else out. NOTE: There is now a relevant answer on StackOverflow. Unfortunately, this answer wasn’t there when I needed it. […]

Read More »

jQuery Deferred Objects – Part 2

December 12, 2011 5 Comments by Robin

Deferred Objects – Part II As you recall from the first part jQuery Deferred Objects – Part I, deferred objects give you a way to organize asynchronous blocks of code in to a self-managed callback queue, while allowing you to attach 1..* callbacks. Also, you’ll recall that the basics of using jQuery deferred objects include […]

Read More »

jQuery Deferred Objects

November 18, 2011 3 Comments by Robin

If you’re a web developer, you may be asking yourself, ‘what are these “deferred objects” I keep hearing about?’ Hopefully, this article will help explain that. Given the asynchronous nature of the web, and specifically JavaScript, a general asynchronous callback pattern has proliferated. So you have something you need to defer a bit so you […]

Read More »

UPDATED: Terminal Nirvana with TotalTerminal (Snow Leopard, Lion)

August 29, 2011 1 Comment by Ben

It’s been a while since I wrote up how I achieved Terminal Nirvana on Snow Leopard using SIMBL and Visor. Since then, some things have changed: TotalTerminal has replaced Visor Mac OS X Lion has been released TotalTerminal changes up the way it launches Terminal — instead of being automatically injected via SIMBL, it manually […]

Read More »

Enabling git access via password authentication with gitolite

March 4, 2011 3 Comments by Ben

We recently started using gitolite at my workplace. Our previous git hosting setup involved manually managing linux users and groups on the Ubuntu server, which was needlessly time consuming and painful. There were times when file permissions got out of sync because the repo was deployed by user X from his workstation (where group permissions […]

Read More »

Resizing an image with GDI+ with C++

November 11, 2010 6 Comments by Richard

Resizing images Resizing images is a fairly common need; there are lots of libraries around that do this.  However, I just needed to create thumbnails on-the-fly, and I certainly didn’t want to triple the size of my binary by linking against ImageMagick just to support resizing common image types. GDI+ has the capability to do […]

Read More »

Integrating doxygen and confluence

October 19, 2010 4 Comments by Richard

FireBreath has a new website This last week FireBreath has taken a big step — we have a new website at http://firebreath.org. The reasons for the move are varied, but what it comes down to is that Google Code’s wiki, while pretty decent for small projects, simply isn’t powerful enough to handle documentation for a […]

Read More »

Solr DisMax gotchas: fun with stopwords and punctuation

September 17, 2010 No Comments by Ben

I have been using Apache Solr on a recent project for my employer, and ran into some gotchas. Notably, I had issues with a DisMax query not working the way I expected because of inconsistent stopwords configuration on the fields being searched. I also ran into a problem with words being tokenized with their surrounding punctuation, […]

Read More »

Dynamic HTML content in iTunes LP / iTunes Extras

August 17, 2010 No Comments by Ben

Recently, I have been doing some iTunes LP projects for one of my clients. One of the things that immediately struck me as a huge potential time saver was automating the creation of HTML elements for lists of items, ie lists of song and video tracks. Often I can splice images such that their position […]

Read More »

Debugging PHP in Vim using VimDebugger

August 5, 2010 9 Comments by Richard

Remote Debugging PHP from vim I’ve recently been using PHP a lot.  I’ve also been using VIM a lot.  So, it makes sense that I would start using the PHP remote debugger, right?  Well, the problem is (and don’t take this the wrong way), the php remote debugger plugin for vim was written in 2004, […]

Read More »