Houston TechFest: Intro to Android Programming Sep 28, 2013

I gave an Intro to Android Programming presentation today at Houston TechFest. The slides are available on Google Drive.

Thanks to everyone who attended. Keep Android trill!

Migrating from Ant to Gradle Aug 06, 2013

I’ll be giving a talk on migrating a custom Eclipse/Ant build to Android Studio/Gradle at tonight’s Houston Android Developers meetup. The slides are available on Google Drive.

I hope to see you there!

Surprised this domain was available Jul 14, 2013

I finally got around to registering a domain name and setting up a basic Octopress site. I’ll be posting here about music/code/coffee/beer/life releated stuff when the mood strikes.

Setting item selected state in Android GridView Sep 25, 2012

When working with the GridView in an Android app recently, I ran into a very strange behavior around setting the selected state for a view created in my ArrayAdapter's getView() method.  I'm using selectors to handle the drawable states and everything works properly when tapping a list item to select/tapping again to unselect.  When debugging the ArrayAdapter's getView() method, I could see that the selected state was being set to the correct value when calling view.setSelected(), but the button background was not updated to the proper state.

...
A Functional Queue in JavaScript Feb 03, 2012

It's been over a year since I've posted here, but I've been busy delving into Android and Ruby on Rails among other things. To get back into blogging (hopefully more regularly...we'll see), I thought I'd share an interesting JavaScript exercise I was asked to complete as part of a job interview recently.

The task was to build a functional queue in JavaScript.  A functional queue is a queue (first in, first out) which is implemented with no side-effects.  For instance, a function to enqueue a value onto an existing queue will return a new object which represents the larger queue.  The original (smaller) queue is still available.

...
My Top 10 Albums of 2010 Dec 28, 2010
Since I put together my inaugural Top 10 list last year, I may as well make it a tradition. Luckily I had the foresight to keep a running list in Evernote throughout the year, so the tough part was putting them in order. Some may argue about the order of the albums on the list or the exclusion of others. I'd love to hear your opinions.

So without any further jibba jabba, here's my Top 10 Albums of 2010 list:
  1. Local Natives - Gorilla Manor The harmonies are amazing. I saw these guys twice this year and loved both shows.
  2. Flaming Lips - Dark Side of the Moon I was lucky enough to see the Lips perform this on NYE 2009 in OKC. A great cover of a great album.
  3. The Black Keys - Brothers I listened to this album over and over this past summer. Nice gritty bluesy rock.
  4. Yeasayer - Odd Blood Another band I saw live this year. Upbeat indie rock to enliven any task or workout.
  5. Surfer Blood - Astro Coast Surf rock sound thanks to lots of Telecaster but new and different at the same time. Plus a song about David Lynch.
  6. Born Ruffians - Say It I saw these guys play at the newly reopened Fitzgerald's in my 'hood. Great live show. Catchy album.
  7. Spoon - Transference Few bands consistently release great albums while gradually morphing their sound. Spoon does. Another constant listen this past year.
  8. Wavves - King of the Beach The summer of 2010 was a brief indie surf rock renaissance. Or maybe I'm discounting a trend with a longer shelf life. But I'm no critic. Good album for the beach. Or kings of them.
  9. Suckers - Wild Smile These guys toured with Local Natives and the first time I heard them was when they opened that show. Bad ass tunes kinda like Local Natives but not. Apples and oranges, but still fresh & delicious organic fruit (I may have yuppied that fruit part up a bit, but oh well).
  10. Giant Princess - Zip Zop Wow Awesome new band from the H Tizzle. Raucous indie rock. Saw them do an in store at my beloved Cactus Music and dug it.
Things To Do While I'm on Vacation in December Nov 22, 2010
I didn't take much of my vacation time this year, so I'm left with thirteen days of vacation to take in December. In an effort to make the most of this bounty of time off, I made a list of things to do. Thanks to Jamie for suggesting I make a list after patiently enduring my first couple brainstorming sessions.

Here's the list in no particular order:
  • Triumphant return to homebrewing - Brew an American Pale Ale. Cascade hops and more Cascade hops.
  • "Fixing a hole where the rain gets in..." - Patch a couple small leaks in the garage roof.
  • No clever way to say it - Rake some leaves.
  • Dining reconnaissance at Stella Sola - One of the few local restaurants I haven't tried yet.
  • Mini "Into the Wild" camping trip - Solo camping for a few days with my guitar and mountain bike. Maybe Huntsville State Park.
  • These are the (An)droids you're looking for - Finally finish developing the Android application I've been working on sporadically over the past several months.
  • Save me from my phone, Phone - Build a Windows Phone 7 equivalent of my Android application. Given the far superior development tools available for WP7, this should be a much quicker build than the Android app.
  • Eat, drink, and be merry - Celebrate the most wonderful time of the year with family and friends.
  • Put the needle on the record - Put on some headphones, lay on the floor, and enjoy my record collection.
  • "Take a look, it's in a book..." - Decide which book I want to read next and spend some time turning pages.
Indie Rock Mix CD for My Canada/Montreal Trip Jul 07, 2010
Any good trip needs a soundtrack. With this in mind, I created a mix CD with the following tracks. All of the bands except where noted hail from Montreal or at least Canada. I've included links to listen to the tracks on YouTube. No Celine Dion or Bryan Adams will be found here, only the coolest indie bands Canada has to offer.

These are in no particular order. I know, I know... the art of a good mix is in the song order, but I plan to put the CD on shuffle in the rental car to let chance determine what we hear when:


My review of The Flaming Lips' "New Year's Eve Freakout" Jan 02, 2010
Since my friend Greg asked for it, here's a review of The Flaming Lips' "New Year's Eve Freakout" as their latest album, "Embryonic", spins on the turntable.

The last time I saw the Lips was in high school just after the release of "Clouds Taste Metallic". That experience and word-of-mouth since prepared me for the celebratory chaos that is a Flaming Lips show. Joe Mathlete of 29-95.com did a very entertaining set of cartoons documenting his trip to OKC for the show accurately described a Flaming Lips concert as "the biggest happiest birthday party ever, and everyone in the room is turning six".

The biggest draw for me was the fact that the Lips would be playing Pink Floyd's "Dark Side of the Moon" at midnight. The week before the concert, they released the studio version of the album. I debated for less than five minutes whether I should listen to it or wait to hear it live on New Year's. Of course, I caved and listened to it repeatedly. I love how they made it their own, even completely changing the vibe of some songs like "Breathe" so that I had to really focus to hear what my ears were used to hearing from the Floyd version. Similarly, the clocks at the beginning of "Time" and the cash register/coins sound collage at the beginning of "Money" were changed (ha ha ha, pun intended) up quite a bit. I also appreciated that Henry Rollins was tapped for the speaking parts interspersed throughout the album. For my American English trained ears, this was the first time I was able to understand some of the speaking parts without the veil of a thick British English accent.


Back to the concert itself... We wisely got a room at the Renaissance Inn across the street from the convention center to avoid the need to drive anywhere. Some friends and friends of friends joined us at the hotel before the show for a little preparty. Around 10pm, we walked across the street to the convention center. The Flaming Lips had just gone on stage and proceeded to play a mixture of old and new songs including "Do You Realize?", "Convinced of the Hex", "She Don't Use Jelly", and "Yoshimi Battles the Pink Robots".


Big balloons in a variety of colors bounced among the crowd and my eyes noticed a sea of such balloons occupying the seats behind the stage. "Why aren't these balloons being enjoyed?", I wondered. I decided to do my part and throw as many of the balloons as possible into the part of the crowd where we were sitting. This was much appreciated by those around us, but was quickly interrupted by the yelling of stagehands below. It was then I realized these balloons were for midnight. My bad, dudes.

At midnight, the aforementioned idle balloons were swept into the crowd, resulting in a sea of multicolored balloons reminiscent of the ball pit at Showbiz Pizza. After (or before, I'm not sure), Wayne came out with giant hands and shot green lasers into the large hemispherical disco ball in the center of the arena. The disco ball refracted the lasers everywhere and prepared us for the Flaming Lips/Pink Floyd masterpiece we were about to witness.


Before they started playing Dark Side, Wayne asked all of us to set the alarm on our phones for 12:55 AM with whatever sound was currently set, which was obviously when they planned to launch into "Time". No cuckoo clocks with gears and chimes in 2010; this would be interesting.

Their performance of Dark Side for the most part stuck to the studio version, but hearing it live and seeing a seemingly endless sea of costumed characters such as a whale in a captain's uniform dancing at the sides of the stage made it even better. I really enjoyed watching Steven scream the diva part from "The Great Gig in the Sky" into a distorted megaphone. The Pink Floyd version of that song always gives me chills and The Flaming Lips version is no different. I also loved when they said "And now, we begin Side 2" in the middle of the performance. Time to flip the record, kids... We were sitting on the left side of the stage and I didn't see Henry Rollins, but heard his speaking parts throughout the set. Were they using a recording of him? Maybe someone with a different vantage point can clear that up for me.

Overall, it was a great New Year's Eve. No one was shoving past me to get to a bar and I didn't have to listen to the clucking of drunk girls in extra short cocktail dresses. I didn't have to drive, and I didn't have to talk to any police officers.

If you haven't ever listened to Pink Floyd's "Dark Side of the Moon", SHAME ON YOU! Go get a turntable, the record, and a good set of headphones. Then, let me know how wonderful it is. After 100 or more listens, treat yourself to the Flaming Lips version. Which reminds me, I still need to listen to that with headphones...

Here are a few videos:

Convinced of the Hex


Yoshimi Battles the Pink Robots


Money (Pink Floyd cover)
Bands I've Seen Live Apr 19, 2009

I’ve been thinking for quite some time about trying to compile a list of all the bands I’ve seen live over the years. I’ll put these in order as much as possible. I plan to keep adding to this as I recall past shows and attend more in the future. I have a ticket stub book, so I’ll include the dates and other details for those I have. Some of these are special in that the bands have since split up, are no longer touring, and/or some members have passed away. You can find videos from a lot of these shows on my YouTube channel. Here we go:

...