Veterans Day

Thanks again, guys. And good luck.

Posted in Jack Handy | Comments Off

Time Sink

Do you like Python? Do you enjoy challenges? Well, why not try the Python Challenge?

And, just because I think it’s funny, from a 1969 Ebert review:

It is said that Orson Welles saw John Ford’s “Stagecoach” 200 times before directing “Citizen Kane.” According to a press release here on my desk, Radley Metzger has seen John Huston’s “The Treasure of the Sierra Madre” 103 times. That was not enough.

Posted in Jack Handy, Python | Comments Off

Jack

Two interesting quotes from Jack Nicholson, from interviews done around the time he was working on “The Shining”:

The average celebrity meets in one year ten times the amount of people that the average person meets in his entire life.

[A]s a successful actor you can’t have one set of theories; y’know, you can go for years saying “I’m gonna get this thing real because they really haven’t seen it real – y’know, they just keep seeing one fashion of unreal after the other that passes as real” and, y’know, you go mad with realism and then you come up against someone like Stanley [Kubrick] who says “yeah, it’s real, but it’s not interesting”.

Posted in Jack Handy | Comments Off

Table Sections

Today I present a simple design technique that can make your UITableViewControllers a lot more flexible. To put it concisely: You should use indirection when considering section indices in your flow-of-control. This technique makes section re-ordering much easier, and may in fact be necessary to make such re-ordering practical at all. I explain more below.

Continue reading

Posted in iPhone | Comments Off

Mac Mini Memory (Part 2)

About 5 months ago I wrote about my unsuccessful attempt to add more memory to my Mac Mini. Today I gave it another shot, and seem to have been successful. Below, I share a few pieces of information that you might find helpful if you’re interested in performing a similar upgrade.

Continue reading

Posted in iPhone | Comments Off

Licenses

Last week, a reader wrote in with this question:

[Y]ou’ve got all this great code, but you haven’t declared a license. Is it public domain, or BSD?

This is, as they say, a fair question. I address it today.

Continue reading

Posted in iPhone, Planet Microsoft, Projects, Python, Reverse Engineering, UNIX, Web stuff | Comments Off

Salesmanship

Having written a bunch about Dale Carnegie’s views on persuasion, I’d like to share an anecdote of my own. I was getting my car washed the other day, and, for the first time ever, was “upsold” a hand wax. I provide more details below, not out of raging narcissism, but because the sales pitch was top-notch and I think illustrative of more general questions.

Continue reading

Posted in People | Comments Off

Swelling Cells

The iPhone documentation discusses a technique for laying out certain types of tables in NIB files; you add the table’s cells to the NIB file, connect them to outlets that you add to the table view controller, and then write a simple tableView:cellForRowAtIndexPath: function that returns the proper cell for the proper index path. There’s a little pitfall to this approach if your cells have non-standard heights, having to do with the fact that the frames of UITableViewCells are changed by the framework after you return them from the UITableViewDataSource.

Continue reading

Posted in iPhone | Comments Off

Elvira

Interesting interview with Cassandra Peterson, the woman behind the “Elvira” character, up at the Onion’s AV Club. She makes a particularly interesting remark on the subject of motivation:

My character’s not owned by anyone, which has a great side and a bad side. The great side is, I can do anything I want. The bad side is, I don’t have the money from a big studio behind me, so I get much less exposure. But it pays off when I go to horror conventions or Comic-Con, where you see people from Star Wars or Star Trek or whatever. When people wonder why they get tired of their characters and I don’t, it’s because I make 100 percent of everything I get, and they only make a small percentage. The studio gets all the money, and they’re just “allowed” to appear and get paid a fee. When I sell something, I get all the money. So I don’t ever get tired of my character, because I get all the money. I was at a convention with “Captain Kirk”—you know, what’s his name—and all he wanted to do was get away from that character. And it’s because he can’t make any money at it.

Posted in Jack Handy | Comments Off

Taipan! fix

I just posted a small update to my Taipan! port; Under some circumstances, a fine could reduce your cash-on-hand below zero. This caused problems, and also looked squirrelly.

Posted in Projects | Comments Off