iPhone 3.0 Event Next Week: March 17th

Got the graphic from CNET.  They have some details about the event:

Apple distributed invitations Thursday for a March 17 special event in Cupertino, Calif., to discuss the iPhone 3.0 software and a new software development kit.
Next Tuesday’s event will come a little more than a year after Apple unveiled the original SDK at the [...]

Source Code That Allegedly Broke the Microsoft Zune

Thanks to Lawrence, Ryan, JSTN.
while (days > 365) {
if (IsLeapYear(year)) {
if (days > 366) {
days -= 366;
year += 1;
[...]

New Dutch Architecture Five (5) Euro Coin, Programmed in Python

Yes, I said Python.
First, special hat tip to Mario Sundar for finding this lead.  Mario is not a coin collector, but he reads my blog often enough to know that I have a special interest in coins.  This one is a beauty, since it combines creative visualization with a unique engineering tale.
Here is the coin [...]

Ding Dong, The Apple iPhone NDA is Dead

They’ve been celebrating in the streets all day.  Apple iPhone NDA.  Gone. History. Finito.  Buh-Bye.
Great news and timing for the CS 193P class at Stanford, as this means that forums are likely to emerge quickly for students to engage with, learn from, and help each other.
Here is some text from the Apple Announcement:
We have decided [...]

Stanford CS193P: iPhone Application Programming Launches Tomorrow

A little too busy tonight for a long blog post, but thought I’d share how excited I am to be helping assist the launch of a new course at Stanford this Fall:
CS 193P: iPhone Application Programming
The class website is still a work in progress, but it will come along.  The course is open to Stanford [...]

SimCity Is Now Open Source as Micropolis

Very cool to see that the original SimCity code has been updated and released under the name Micropolis.
There is coverage on Boing Boing:
 SimCity has just been released as free software under the GPL version 3 license (though the name has been changed to Micropolis for trademark reasons; it was the original working title). This was [...]

My Mail.app Plugin, v0.1

Major milestone tonight.
Spent two hours after the boys went to bed.  Managed to get swizzling working.  I have now completed a Mail plug-in that when installed…
… drumroll, please …
logs out to console the name & email address of the sender of every email you view in Mail.app.
… let it sink in …
OK, it may not [...]

Mac OS X: Method Swizzling in Cocoa

It took me about 45 minutes, but I finally think I have this figured out:
Method Swizzling in Cocoa
Basically, it’s the missing piece you need to effectively “hijack” an existing function in an existing piece of Mac OS X software.
To do this, you follow a few key steps:

You identify a method of an existing class in [...]

Getting Ready to Write an Apple Mail.app Plug-in for Mac OS X

Blowing some dust off the old compiler this weekend… after about 8 years, I’m actually getting ready to write some real client-side software again.  Just a personal project, for fun.
Nothing fancy, but I’ve decided to see if I can’t write some useful plug-ins for Mac OS X.  In particular, I’m going to see if I [...]

Code Monkey Video on YouTube

Found this today on Chad Alderson’s blog. It’s not worth $1.65 Billion, but it’s definitely worth something.

Jonathan Coulton releases his songs under the Creative Commons license, allowing third parties (like Michael Booth) the ability to create things like these videos with them. These videos themselves are spliced together from [...]