Services
Find Stuff
Pages
Buy My Apps
Other Stuff I’ve Built
Book Club
Archives
- May 2018
- February 2014
- December 2013
- November 2013
- August 2012
- July 2012
- April 2012
- March 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
Categories
- Boxing (23)
- Energy (5)
- iPhone (142)
- Jack Handy (283)
- NaNoWriMo (3)
- People (11)
- Planet Microsoft (5)
- Projects (88)
- Python (43)
- Reelviews (13)
- Reverse Engineering (18)
- Six Word Stories (111)
- The Hard Way (3)
- Uncategorized (6)
- UNIX (8)
- Vacation Slides (30)
- Web stuff (51)
Blogroll
Monthly Archives: December 2009
Happy New Year
I just wanted to wish you a happy new year. Thank you for taking the time to stop by and read what I write. This site is tiny by the standards of the Internet, but that just means each reader … Continue reading
Posted in Jack Handy
Comments Off
Welterweights
Since the Floyd Mayweather/Manny Pacquiao fight seems to have run up on the rocks at the moment, let me seize this opportunity to issue a modest proposal: Paul Williams (who says he can still make 147) vs. the winner of … Continue reading
Posted in Boxing
Comments Off
Deep Copying (Built-In)
I’d previously presented some code that made deep copies of plists. I recently discovered that this code is superfluous, due to the CFPropertyListCreateDeepCopy method. You can invoke this function with a call such as this: testData = CFPropertyListCreateDeepCopy(kCFAllocatorDefault, [NSDictionary dictionaryWithContentsOfFile:path], … Continue reading
Posted in iPhone
Comments Off
Merry Christmas
s = ‘s = %s; print s %% repr(s)’; print s % repr(s) (Put it in a file, e.g. ps.py, then run python ps.py | python | python | python | python | python | python | python | python … Continue reading
Posted in Python
Comments Off
C99 Arrays
Today, I learned that a cool “new” C feature had snuck up on me. This was added in C99, and it has apparently been integrated into Objective-C (where I stumbled across it) as well. Briefly, this sort of thing is … Continue reading
Posted in iPhone
Comments Off
Cat Racing
Seth Godin today: Someone asked me where I get all my good ideas, explaining that it takes him a month or two to come up with one and I seem to have more than that. I asked him how many … Continue reading
Posted in Jack Handy
Comments Off
Churchillian
Never give in–never, never, never, never, in nothing great or small, large or petty, never give in except to convictions of honour and good sense. Never yield to force; never yield to the apparently overwhelming might of the enemy. — … Continue reading
Posted in Jack Handy
Comments Off
Taking Pictures
Today it’s just a quick note on using the iPhone’s camera to take pictures from within your app. They’ve made this really easy. Begin by reading the section in the iPhone Application Programming Guide that covers the UIImagePickerController class. That … Continue reading
Posted in iPhone
Comments Off
Vetting
Scott Adams has a post up with an interesting bit at the end: We’re only a few years away from a point where no mating will ever occur because no one will pass the background check. If you knew everything … Continue reading
Posted in Jack Handy
Comments Off
Core Graphics Problems (Update)
A while back I wrote about some Core Graphics code that gave rise to memory management errors when (a.) compiled for iPhone OS 3.0 and (b.) run on the iPhone Simulator; the core of the problematic code looked like this: … Continue reading
Posted in iPhone
Comments Off