TrajiklyHip - Blog - The Personal Blog of Aaron West
The Four Obsessions of an Extraordinary Executive by Patrick Lencioni         The Five Temptations of a CEO by Patrick Lencioni         Getting Things Done by David Allen         The Tin Roof Blowdown by James Lee Burke         The 7 Habits of Higly Effective People by Stephen R. Covey         Books I've recently read and recommend!
February 3, 2007

I was pilfering through the net looking for information on developing for the Mac menu bar in Xcode when I came across a pretty cool article on Apple's Web site. If you are at all interested in programming Java and you want to learn more about the Eclipse platform you should check out this article (http://developer.apple.com/tools/usingeclipse.html). It's all about developing Java applications in Eclipse. It covers the Java perspective, Xcode, and XSwing.

November 19, 2006

I recently blogged about my affinity for last.fm. While browsing around the site this morning I noticed they are looking for a Java developer to work on the last.fm back-end, a PHP developer to work on the actual Web site, and a graphic designer to work on the last.fm site. They're also seeking a smart C++ developer who will be responsible for working on their client tools. You can check out the job postings here (http://www.last.fm/about/jobs/). Now, if we could just get them to power the site with ColdFusion!

March 10, 2006

After reinstalling some development software the other day I needed to access some XML files that were in a hidden directory. Typically I would filter all my access to hidden files through the appropriate Terminal commands but I decided to look for a more elegant solution. Immediately, I found the following Terminal command that directs Apple Finder to show all hidden files:

defaults write com.apple.finder.AppleShowAllFiles ON

That's at least a start, but I don't want to fire up Terminal to run two simple commands, one to turn on hidden file viewing and one to turn it off - plus, restarting Finder altogether. After digging around a bit I found an AppleScript that automates the process. I made a few adjustments to suit my needs and I was in business. Seeing how useful my MusicStoreAutoPlay script was I decided to offer this one up as well.

Here are some installation instructions:

  1. Download the zip, and extract the AppleScript file to the /Users/your-user-name/Library/Scripts folder. If this folder doesn't exist, create it.
  2. The Finder does not have a "script" menu like iTunes does so I recommend turning on the system-wide "Script Menu." Navigate to /Applications/AppleScript/ and double-click the "Install Script Menu" Application. This will create a new "script" menu that shows in the menu bar (upper right near the clock). You can use this script menu drop-down to access the ToggleHiddenFiles AppleScript.
  3. Here's a link with more info on the system-wide Script Menu.
If you have any questions or something doesn't go right, just let me know. Enjoy.

February 25, 2006

With the iTunes Music Store selling it's 1 billionth song a few days ago (incidentally, the guy purchasing the milestone song made out like a bandit) no one can argue the face of music (and music purchases) has changed dramatically. I use the music store quite frequently and really enjoy how it has changed the way I listen to music. However, previewing albums on iTunes is not the seamless experience I'd like it to be. To solve this problem, I wrote a simple AppleScript that allows me to listen to an entire iTunes album (or any track list showing) without having to play each track individually. For instance, instead of double-clicking the next track (or pressing the right arrow key) as the current track approaches its 30-second end, I sit back, relax and listen to each track stream to my computer without my intervention. Of course, you could also read e-mail, your favorite blog, or whatever.

After sharing the script with a few friends I figured more of the general Web could benefit from it as well. NOTE: This is an AppleScript that requires Apple OS X. After downloading the script just drop it in your /Users/your-user-name/Library/iTunes/Scripts folder. Then, load up the iTunes music store and one-click the first track of an album (to highlight it). Next, use the iTunes script menu and select "MusicStoreAutoPlay" to begin playing that albums tracks.

Click here to download.

June 3, 2003

Recently, I had the need to take the journey into building Web applications for multiple languages. Internationalization - i18n for short (there are 18 letters between the "i" and the "n" in "internationalization") - is the process of building Web applications for multiple languages and/or locales. The W3C defines internationalization as "proposing and coordinating any techniques, conventions, guidelines and activities within the W3C and together with other organizations that allow and make it easy to use W3C technology worldwide, with different languages, scripts, and cultures."

While this definition is good and comprehensive I needed to only focus on a specific level of internationalization. This article describes the application I was working with, the pitfalls that I ran into, and the solutions that I found to make my application work.

[More]

November 27, 2002

I came across Joel Spolsky's article "Law of Leaky Abstractions" while reading Judith Dinowitz's blog. Joel's article is absolutely fantastic and should be read by anyone with a modicum of programming experience. In his article Joel outlines how the world of abstraction (making something simple out of something difficult) tends to be as leaky as that old, dripping faucet.

Here's some excerpts:

"This is what I call a leaky abstraction. TCP attempts to provide a complete abstraction of an underlying unreliable network, but sometimes, the network leaks through the abstraction and you feel the things that the abstraction can't quite protect you from. This is but one example of what I've dubbed the Law of Leaky Abstractions: All non-trivial abstractions, to some degree, are leaky."

"Abstractions fail. Sometimes a little, sometimes a lot. There's leakage. Things go wrong. It happens all over the place when you have abstractions."

"One reason the law of leaky abstractions is problematic is that it means that abstractions do not really simplify our lives as much as they were meant to."

"The law of leaky abstractions means that whenever somebody comes up with a wizzy new code-generation tool that is supposed to make us all ever-so-efficient, you hear a lot of people saying "learn how to do it manually first, then use the wizzy tool to save time." Code generation tools which pretend to abstract out something, like all abstractions, leak, and the only way to deal with the leaks competently is to learn about how the abstractions work and what they are abstracting. So the abstractions save us time working, but they don't save us time learning."

Enticed? Click below for the full article.

http://www.joelonsoftware.com/articles/LeakyAbstractions.html

BlogCFC was created by Raymond Camden. This blog is running version 5.5.005.