I found this in my Documents folder. I wrote it about three months ago, and haven't seen a hint of progress in the "right" direction, so I figured I should post it. :)
The Legacy of 140 characters
I realize that a large number of people will say that the beauty and elegance of Twitter is in the fact that it limits your posts to 140 characters. While it might be perfectly reasonable to assume that any given random thought such as, "I am watching (movie X here)." or "Hey, anyone want to meet at (meeting location here)?", this is a huge limitation when trying to communicate with someone for an extended chat, which leads to:
I have a UIViewController that has a number of UITextField subviews. In Cocoa for iPhone, I was unable to find a way to determine what the current UIResponder is in order to dismiss it properly, so I wrote this bit of code to iterate through the subclasses of the view, and resign the text field that is currently being edited.
One thing that is notable here is introspection, where once we have the object, we ask it if it is a KindOf UITextField. If so, we know that we can send it the messages 'isEditing' and 'resignFirstResponder'.
I would have to say that I agree with the various postings lately about the gPhone vs. iPhone. I haven't seen a compelling reason to run out and get a T-Mobile account, and get on the G1 train. I do, however, feel that the Android platform is going to be a force to be reckoned with for Apple.
I was just reading this article regarding flash on the iPhone. The original author basically states that Apple's SDK limitations disallow a developer to author and publish an interpreter (Java/JVM, or Flash would fall into this category).
I recently launched a beta version of this site for my client: http://www.pencils.com/. It uses Drupal 5.7, and the latest Ubercart. The site concept is very cool, and I think they will do well. I'm planning on writing up a technical paper on how everything was done as a contribution.
We're on the cusp of the release of Drupal 6.0, and that will be a happy day for all of us, as there are a number of improvements to the core functionality, and enhancements to the Drupal API. Unfortunately, it seems that two of the key contributed modules (in my book) are going to be a little behind the core 6.0 release. These would be CCK and Views. To me, the easiest way around this is to continue to use 5.x until at least these two modules 'catch up'.
A friend of mine sent me this today, and I found it amusing:
"Whenever I get a package of plain M&Ms, I make it my duty to continue the strength and robustness of the candy as a species. To this end, I hold M&M duels.
Taking two candies between my thumb and forefinger, I apply pressure, squeezing them together until one of them cracks and splinters. That is the "loser," and I eat the inferior one immediately. The winner gets to go another round.