April 29, 2008

The Kruckenberg Ear Index


Some time ago we had a dinner discussion that got onto the topic of ear sizes. Heidi made some statement about ears being full size early on, or never stopping growing, or some interesting piece of ear trivia that got us talking about ears. This led to a cursory review of each family members ears, which quickly led to a more scientific approach to determining how each members ears measured up.


The scientific data gathering included taking a napkin around the table, holding the napkin up to each person's ear and marking the distance from the ear lobe to the top of the ear. The results were predictable, with one surprise in that Heidi had the longest ears of all. I find it interesting the relatively small difference between a 2-year old ear and that of an adult. 3/8" is all that 35 years will add to Saul's ears.

At the time we didn't consider measuring ear protrusion, or the distance an ear sticks out to the side of one's head. Based on informal research, Saul easily takes the cake, although it might be a proportional thing where at a young age the ear appears to stick out more.

Anyhow, supposing this to be interesting research history for us sometime down the road, and on the off chance our results might be interesting to someone else, I'm posting the visual results.

Posted by mike in Recreation at 1:01 PM | Comments (0) | TrackBack (0)

April 28, 2008

A Week in Puerto Rico

We're about halfway through a trip to Puerto Rico, somewhat aligning with a break in the kids school. It has been fantastic, we've had a chance to see a lot of different things on the island. We're enjoying the culture and weather, and wishing we knew more Spanish (although we're getting through with the bare essentials, like El baƱo).

A brief synopsis:

  1. April 24: fly to San Juan in the morning, spend day in Old San Juan, drive to Mayaguez
  2. April 25: sightseeing in Mayaguez, evening at beach in Rincon, late-night visit to Plaza Colon
  3. April 26: drive to Ponce for lunch and sightseeing, continue on to Luqillo
  4. April 27: relax at condo, play games, do a puzzle, go for leisurely walk
  5. April 28: morning at Playa Azul (beach), afternoon at condo pool
  6. April 29: morning at rain forest, afternoon at condo pool and Luquillo beach
  7. April 30: fly back to Boston

We've put a few selected photos up in the gallery.

Posted by mike in Recreation at 4:13 PM | Comments (0)

April 2, 2008

All the Reasons to Attend 2008 MySQL Conference

If there ever was a year to be at the MySQL conference, this seems to be it. The keynote lineup has always been excellent, and this year looks to be no exception. I'm guessing there will be quite a round of applause when Jonathan Schwartz takes the stage (slightly more vigorous from MySQL stockholders).

If that's not compelling enough, Werner Vogels (CTO, Amazon) will talk about building the Amazon infrastructure, the scaling MySQL keynote panel (with representatives from Flickr, Facebook, YouTube, and MySQL) is sure to provide some valuable notes, and Raj Cherabuddi will talk about the new Kickfire appliance with SQL-processing chip. And that's just a few of the keynotes. Other notable companies with speakers include Google, Digg, Twitter, New York Times, Ebay, Ticketmaster, Stumbleupon, Sxip, Six Apart, and a slew of others that probably deserve to get mentioned.

And there's no shortage of technical content. Personally, Monday's MySQL Proxy: The Complete Tutorial by Giuseppe and Jan looks fantastic. A great chance to get fully up to speed on something I think is going to become increaslingly important in building MySQL systems.

I won't be there this year, decided a few months back to sit out this year (yes, it is ironic given this post...I'm questioning that decision now that I look over the conference program). I'm hoping bloggers will be in full force.

Posted by mike in MySQL at 12:23 PM | Comments (1) | TrackBack (0)

March 13, 2008

R.E.M. Plays SXSW

The SXSW Conference seems to be coming up on my radar more this year than it ever has in the past. Came up again yesterday when R.E.M. did a show at Stubbs as a part of the conference, which was broadcast and archived on NPR.

What's impressive about this show is the range of their music catalog they touched. As a fan from the "early" days I was pleased to hear tunes from Reckoning (Second Guessing), Fables of the Reconstruction (Auctioneer), Life's Rich Pageant (Fall on Me). Looking forward to hearing the new stuff from Accelerate when I can get my hands on it.

Will have to see if I can swing seeing R.E.M. play in Boston this summer.

Posted by mike in at 11:52 AM | Comments (0) | TrackBack (0)

February 6, 2008

Inline Web Browser File Upload

I'm tackling a project where we're trying to simplify the way users add attachments to various parts of our site. This involves some reorganizing of workflow, but also could benefit from a more modern mechanism for uploading files.

Our art director (where this idea started) pointed me to SWFUpload, which seems like a very slick option using Flash. Initially I thought this was the right way to go.

However, after some asking around I was pointed to jqUploader, a jQuery plugin that also uses a bit of Flash. Since we already use jQuery I figured this might be a good option since we're versed in jQuery and already have some architecture in place to readily support jQuery plugins.

But then in discussions with other members on our engineering team I was encouraged to look at pure JavaScript methods for doing this, where a standard form is submitted and Ajax uploads the file with a second Ajax request going back to get progress indicators. I have been able to find a few articles about doing this, but not a drop-in solution like SWFUpload or jqUploader.

While digging around for pure JavaScript solution I stumbled into this over on ThinkingPHP, a note on the top of an older post about JavaScript/Ajax file uploading:

Important Warning: The code presented her was an experiment of mine that I did over a year ago. In the meantime flash based file uploaders have become a much better weapon of choice when it comes to unobtrusive upload experience enhancing. As of now I highly recommend you to checkout either jqUploader or SWFUpload as I am no longer able to provide support for this solution. Setting them up should be multiple times easier and will require no Perl or (Cake)PHP on the server side.

LightLoader is another pure Ajax uploader/file progress indicator. Runs PHP on the server side. Uber-uploader is another one, server side stuff available in a number of open source languages.

Now, for some digging around in our code to try some of these out...

jqUploader Notes

I've gotten the jQuery plugin working, but there are some things that I don't like. First, the Flash UI has some issues. There are a few settings that allow you to control presentation, but not enough. I can control the background color, and some portions of the text that is displayed for the user. The positioning of the input box and message area on the Flash are indented so they don't align with other elements on the page. I think it's annoying that an long empty rectangle sits in the widget at all times. When you upload a file you realize that it's the progress bar, but I don't think there's a need to show it unless you're actually uploading.

I also don't like the fact that you browse and then upload, independent of what is happening on the form. It seems to make more sense to "browse" and then "save" the page, with the upload happening as a part of the save.

Last complaint, there are a lot of reported issues that really make for uncertainty about using this solution. I'm digging around at the HTTPS issues that seems to cause an I/O error when trying to use a secure connection. These documents have some clues about what is going on. Oh, and here's a good article about how to debug Flash via a browser plugin. More info on the HTTPS problem. As far as HTTPS, I have confirmed the following snips from the comments on this document to be true in Flash 9:

!! Warning for Mac player !! When you use the FileReference.upload(), the class add the port 80 to the request! For example, with the url http://www.nectil.com/upload.php the real query will be sent at http://www.nectil.com:80/upload.php. Please, Flash player team, remove the :80 !!! It's impossible to send it over HTTPS for mac users!
...
I have had a similar situation using HTTPS on both Mac and Windows Flash Players. I can get .upload to work correctly on Mac Safari and Windows IE through HTTPS if I put the fully-qualified path, including the SSL port 443, in the url parameter like so:

file.upload("https://www.somesite.com:443/cgi-bin/someScript.sh");

My final tests demonstrate that with Flash file uploads, HTTPS is not reliable. With the workaround you can get it to work in some browsers, but not all.

This all being said, it is really simple to put jqUploader on the page and get inline uploads going in just a few steps, so long as you're using HTTP.

SWFUpload Notes

I got SWFUpload working, and really like the way it fits right into our form using standard HTML elements. However, there is the same issue with HTTPS. SWFUpload mentions it in the documentation's Known Issues:

There have been some reports that the Flash Player cannot upload through SSL. The issue has not been pinned down but uploading over SSL may be unreliable.

I can get the upload to work just fine using standard HTTP, but HTTPS fails with an I/O error. We run strictly in HTTPS on our production site.

Pure Ajax Notes

I was hoping that one of the Flash "drop-in" solutions would do the trick, but it seems like the pure Ajax method is going to get some attention. These two articles were send to me as other sources of documentation.

Posted by mike in Technology at 12:50 PM | Comments (0) | TrackBack (0)

January 28, 2008

Mini Cooper Coming Soon...

Saturday we went and paid for this little guy, picking it up on Wednesday.

Posted by mike in Recreation at 12:39 PM | Comments (1) | TrackBack (0)

January 18, 2008

Macworld 2008 Comes to a Close

It has been a good week here in San Francisco at Macworld 2008. The Moscone West was once bustling with folks but is now very quiet with only a few folks lingering. Looking down to the street there are still a lot of folks walking between the two expo halls on the ground floor of Moscone South and West.

I haven't blogged much this week. I attended some great sessions, but was also working which meant there was not a lot of time for leisure.

I'm interested to see how my thoughts about attending Macworld settle over the next few months. Was definitely worth it, but wonder if it's a one-time experience or if I'll feel compelled to come back again. The most obvious highlight was getting to see Steve Jobs deliver one of his famous Macworld keynotes in person. Another was meeting some people who I've known on email and phone but never met in person. Finally, there were a bunch of good things I learned in sessions and wandering around the showroom floor (which was quite packed with good hardware, software, and more). I guess seeing the MacBook Air in person just a few minutes after it was released was pretty cool too. If I traveled a lot I would totally sign up for one of those.

A little sad that it is coming to an end. But it is good to be headed home and back to the regular routine for a little while.

p.s. - I rented two movies from iTunes for the flight home, synced to my iPhone this afternoon

Posted by mike in Technology at 6:42 PM | Comments (0) | TrackBack (0)

January 16, 2008

The Designers Role in Sustainable Practice

Listening to Nathan Shedroff at Macworld 2008 talking about sustainability as it pertains to designers. Some designers have direct impact on sustainability due to product manufacturing, packaging etc. But designers also have an impact on sustainability in how they deliver a message. There are lots of social issues to consider in design, and how the design impacts behavior.

Sustainability is defined as "use and development that meets today's needs without preventing those needs from being met by future generations."

Very interesting presentation about tradeoffs between different issues. Compares Prius to Hummer, paper bag to plastic bag, and paper cup to ceramic mug. Uses some different methodologies for comparing how sustainable different products are.

Posted by mike in at 4:21 PM | Comments (0) | TrackBack (0)

Fantastic News for MySQL and Sun

A lot is being said about Sun's acquisition of MySQL. I think it is great news. Congratulations to the MySQL folks.

I have a lot of respect for Sun from using their systems for many years. In recent years they have moved in a good direction with respect to open source. Having MySQL under their umbrella is excellent news for them. For MySQL, being tied to Sun seems like a great place to move.

Will be very interesting to see where this goes over the next few years and how MySQL benefits from being part of Sun.

Posted by mike in MySQL at 10:22 AM | Comments (0) | TrackBack (0)

January 15, 2008

At Macworld 2008 Keynote

I will not be providing ongoing updates like macrumors and many other sites, but I am sitting in my seat waiting for the Macworld 2008 keynote to start. Got to Moscone West this morning about 7:30 and got in almost immediately. Then waited outside the keynote room in the hall for ~45 minutes before they let us into the room.

Should be starting any minute now.

And there he is...

Posted by mike in Technology at 11:26 AM | Comments (0) | TrackBack (0)