Services
Find Stuff
Pages
Buy My Apps
Other Stuff I’ve Built
Book Club
Archives
- 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
- Book Club (118)
- Boxing (23)
- Energy (5)
- iPhone (142)
- Jack Handy (289)
- NaNoWriMo (3)
- People (11)
- Planet Microsoft (5)
- Projects (88)
- Python (43)
- Reelviews (3)
- Reverse Engineering (18)
- Six Word Stories (110)
- 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
The Prince: Chapter 18
Today we look at the eighteenth chapter of Niccolo Machiavelli’s “The Prince“. This chapter discusses “In What Way Princes Must Keep Faith”, and concludes the dastardly tetralogy of chapters on which, in my opinion, the popular conception of N.M. is … Continue reading
The Prince: Chapter 17
Today we look at the seventeenth chapter of Niccolo Machiavelli’s “The Prince“. This chapter is “Of Cruelty and Clemency, and Whether It Is Better to Be Loved or Feared”, and, if you know N.M. by reputation (or have been following … Continue reading
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
The Prince: Chapter 16
Today we look at the sixteenth chapter of Niccolo Machiavelli’s “The Prince“. This chapter is “Of Liberality and Niggardliness”. It is an interesting chapter which argues that a prince who is generous with his (people’s) money will ultimately earn their … Continue reading
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
The Prince: Chapter 15
Today we look at the fifteenth chapter of Niccolo Machiavelli’s “The Prince“. This chapter is “Of the Things for Which Men, and Especially Princes, Are Praised or Blamed”, and is perhaps the most stereotypically “Machiavellian” of the book. It’s still … Continue reading
The Prince: Chapter 14
Today we look at the fourteenth chapter of Niccolo Machiavelli’s “The Prince“. This chapter discusses “The Duties of a Prince with Regard to the Militia”, and in it N.M. argues that making war is the essence of being a prince; … Continue reading
