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 »

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 »

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 »

Terminal Nirvana on Snow Leopard with SIMBL + Visor

July 21, 2010 4 Comments by Ben

Note 1: The method described here should also work in Mac OS X Leopard or Tiger, just get the appropriate versions of SIMBL / Visor. Note 2: If you don’t want everything on my bullet list, just follow the steps appropriate for what you want to accomplish. Note 3: I have provided .patch files, etc. […]

Read More »