Technology

You are currently browsing the archive for the Technology category.

Everyone knows Flickr is awesome. I totally agree! I like to use Flickr to get ideas of other photos on a particular subject. But — you knew there was going to be a ‘but.’ But when I’m looking for a photo or an idea, it takes too long. I realized that what I wanted was a higher level view of multiple photos at once.

After getting an API key, I created this Flickr Macro View. Since the geeks will want to know, the XMLHttpRequest is called using Prototype.js.

Here are some good demo links. Try it out!

For those of you who wish to go to the 2009 MacWorld Expo in San Francisco, here’s a money saver.

  1. Go to this website.
  2. Fill out the registration form and used KWT73578 for the ‘priority code’.    Your Expo floor pass is now free, instead of the normal $25 fee.
  3. Print your receipt and pick up your badge when you get there.

See you in The City!

This blog is now totally mobile, folks.

This post was written on the WordPress iPhone app.

Like it so far!

If you know me, you know I love Eclipse. But sometimes Eclipse needs a little nudge. If you ever needed to view the CJK (Chinese, Japanese or Korean) languages in the console, you know what I mean.
My current project supports those three and ten other languages. Needless to say my UTF-8-fu has become very strong.

Here are the steps to get Eclipse’s console to display text in UTF-8.

  1. Go to Eclipse > Preferences > General > Appearance > Colors & Fonts > Debug > Console font
    • choose a Unicode font, like Lucinda Grande
  2. View the Tomcat server overview page (double-click on the name in the Servers tab).
    • Click the “Open launch configuration” link
    • Choose the Arguments tab, add  -Dfile.encoding=UTF-8 to the VM arguments text field.
    • Choose the Common tab, select the “Other” Console Encoding radio button, and choose “UTF-8″.
  3. Select the Eclipse application, in the Finder. Right-click and choose “Show Package Contents”.
    • in Contents/MacOS/eclipse.ini, add -Dfile.encoding=UTF-8 to the bottom of the file.

Here’s what the final product looks like. Without the steps above, all of the Japanese characters in the image will appear as question marks (?????).

I just logged over 200 miles via Nike +. Hold your applause. Much to my disappointment, there was no “atta boy” or congratulatory message on this huge accomplishment (for me, that is).

Instead, I saw this lame, “keep on, keepin’ on” message. The worst part of this, is that I have to run 300 more miles to get another web badge! Now I’m not saying this should be easy. But a nice congratulations after 250 miles would be great.

It’s taken me somewhere around 14 months to log this many miles. So I look forward to getting the 500 mile badge sometime in 2010. Lame.

After a month of working with Eclipse (instead of Xcode), there are only 2 things that I don't really like about it. One of which is easily fixable.

  1. Cheesy, non-distinguishable icons on iconbar

  2. Just look at this thing. What are these images representative of? Ok, I get the "floppy disk" as "Save" Command. Do floppies even exist anymore? Am I dating myself, by acknowledging that I know what those are (or is it were?) I'm really sorry to admit that I remember floppy floppy disks. But I digress… And yes, that's a printer, so it's the print command. But what are the next two? Some strange outer space pyramid, with a yellow plus above it? Oh, how silly of me! Why it's so obvious to me now that the fourth icon from the left is the "New Web Service" icon!
    Lame.

  3. Text shift right/left is set to Tab/Shift Tab
  4. The other is just a hard habit to break. After conforming to BBEdit keystroke conventions for so long (and using the same for TextMate), how in the world am I supposed to not use Command [ for "shift left?"

See my instructions on how to change this.

Eclipse is a terrific IDE. This means that it must have a great text editor. When I stumbled upon a key sequence that didn't work as I expected it to (shifting text to the left or right). I didn't get mad. Why? Because an app this good must have a means to remap the key commands. And guess what? Eclipse does. Niiice.

Here's how to do it.

  1. If you have the Mac OS X version installed, go to the Eclipse menu, and choose Preferences. Otherwise, go to the Window menu, and choose Preferences.
  2. Click the Modify button
  3. Near the bottom of the window, change the "When" pulldown menu to "Editing Text"
  4. Change the "Category" pulldown menu to "Edit"
  5. Change the "Name" pulldown menu to "Shift Left"
  6. Click the "Remove" button
  7. In the "Key Sequence" area, in the "Name" field, type the keys command and [ at the same time.
  8. For "Shift Right", follow the same steps, just entering command and ] into the "Name" field.
  9. Click the "OK" button.

So after reading on the Wikipedia that WebObjects will be made to play friendly with other IDEs, including Eclipse, I decided to give Eclipse another looksy. It's probably been, oh 3 years since I last ran a build of it. It was dog slow, and nothing that would make a play for my compiling attention. I have to recant my earlier displeasures. Eclipse is hotter than an August day in Tucson. However, much of my 5 star review is based on the MyEclipse plugin. Calling it a plugin almost sounds like an insult. It's really too amazing to be put in the "plugin" category. It's like an all new version of Eclipse. A better Eclipse. Eclipse on steriods. The $6 million IDE.

  • I love being able to control Tomcat 5.5 from inside MyEclipse.
  • Being able to get rid of my somewhat large collection of GUI Database clients, and get the same data right out of MyEclipse is just plain awesome.
  • Being able to easily 'add hibernate capabilities' to a web app, easily cuts 2 – 3 hours development time overall.

I'm officially on the bandwagon. The next revision of Xcode has been be pretty special, because I'm about to jump ship altogether now.