The Sweet Spot
On software, engineering leadership, and anything shiny.

Category: andrew 2.0

2012
October
Deploying Janky on Ubuntu

[Janky](https://github.com/blog/1013-janky) is a Github-developed [Hubot](https://github.com/github/hubot) + Jenkins control interface. It's developed to be deployed on Heroku. However, what if you need it to live on an internal VM? Here's how …

June
Updating max file limit on OSX Lion

I've been hitting a lot of "Maximum file limit exceeded" dialogs after a long day at work -- at any point in time I've got a kajillion Chrome tabs open, …

April
Backup, backup, backup

Well, the inevitable happened: I finally experienced a hard drive failure. It's pretty incredible that in the twenty-odd years I've been around computers I've never had the horror of losing …

March
RSpec order-agnostic array matching

What's that? [You want to write an expectation for an array but your method returns the Array in a nondeterministic ordering](http://stackoverflow.com/questions/2978922/rspec-array-should-another-array-but-without-concern-for-order)? Simple. Write: my_method.should =~ See the [source](https://github.com/dchelimsky/rspec/blob/master/lib/spec/matchers/match_array.rb).

January
Ohm gotchas

Here's a list of things that have been annoying, or at least a bit frustrating using [Ohm](http://ohm.keyvalue.org), the Redis ORM, in a Rails app. Beware to those who assume Ohm is …

2011
June
Code For Oakland Barcamp

[caption id="" align="alignnone" width="500" caption="Is that Jon Chan I see? Yes it is. Photo credit Oakland Local."][![](http://farm4.static.flickr.com/3527/5804304389_e539db36a2.jpg)](http://www.flickr.com/photos/oaklandlocal/5804304389/)[/caption] A few notes from this [one-day barcamp/hackfest](http://codeforoakland.org/). The goal was to create mobile …

February
Save our souls - a Twitter art installation

Here's how the installation looked on the day of the art show. [caption id="" align="alignnone" width="333" caption="We mounted the installation on the inside of the Regeneration cafe. The Arduino lies …

The making of SOS: Intro

[![Save Our Souls - Logo](http://farm6.static.flickr.com/5095/5408231821_b4d0fd6837.jpg)](http://www.flickr.com/photos/andrewhao/5408231821/) I'm starting a project for my church's art show that integrates Twitter, print design and light. I'm titling it "Save Our Souls". The theme of …

January
Using 37signals shorthand for UX flows

[http://37signals.com/svn/posts/1926-a-shorthand-for-designing-ui-flows](http://37signals.com/svn/posts/1926-a-shorthand-for-designing-ui-flows) I've found this technique useful for illustrating workflows quickly, particularly when brainstorming in teams.

2010
August
On selling my soul and switching to Mac

A month ago I bought an '07 MacBook on Craigslist. No, it's not one of those sexy aluminum hot rods, but it sure is pretty. I was full of mixed …

June
post-review, git-svn and Review Board

Here's how to set up the excellent VMware-developed open-source [Review Board](http://www.reviewboard.org/) and its `[post-review](http://www.reviewboard.org/docs/releasenotes/dev/rbtools/0.2/)` command line review creation utility to work with git and git-svn on your computer. My assumption …

April
YUI 3 Widget lazy instantiation

At work, we make good use of [YUI 3](http://developer.yahoo.com/yui/). It's a really well-thought-out framework, from sandboxing and deep namespaces to CSS3 selector support and lazy-loading modules through the Yahoo! CDN. …

It's official: "Web site" becomes "website"

[![](http://www.g9labs.com/wp-content/uploads/2010/04/screenshot1-500x350.png)](http://www.g9labs.com/2010/04/16/its-official-web-site-becomes-website/screenshot1-2/) [](http://www.g9labs.com/2010/04/16/its-official-web-site-becomes-website/screenshot1-2/)File this under "Nobody is going to care", but I've always been instructed to write "Web site" in my technical communications class. I found it grating. Hooray for change!

March
Upgrading Wejoinin to unicorn

(Reposted from the [Wejoinin Blog](http://blog.wejoinin.com/2010/03/14/server-transition-nuts-and-bolts/)) When you run a Web app like Wejoinin on minimal VPS resources (read: we're too poor to get a beefy server), it forces you to …

Shiny font overhaul!

### [![](http://www.g9labs.com/wp-content/uploads/2010/03/screenshot1-500x126.png)](http://www.g9labs.com/2010/03/12/shiny-font-overhaul/screenshot1/) A couple of months ago I switched over to TypeKit, a cloud-hosted font service (buzzword! "cloud" gets me all warm and fuzzy). They basically take your font stack …

2009
February
Thoughts on rural computing in Botswana

I'm currently in Botswana, doing volunteer work at a nonprofit Christian agency called [Love Botswana Outreach Mission](http://lovebotswana.org). Among my responsibilities are helping out with the organization's IT needs. I was …

2008
October
First look at SproutCore and Cappuccino

One trend on the Web these days is to move away from traditional full-stack frameworks (like [Rails](http://rubyonrails.org)) toward client-side, full-stack Javascript frameworks (among them [Dojo](http://dojotoolkit.org/), [GWT](http://code.google.com/webtoolkit/), [SproutCore](http://sproutcore.com), and [Cappuccino](http://cappuccino.org)). There's …

September
Updated portfolio... sort of.

Since I'm in the process of doing some housekeeping around the blog, I've begun moving my [old design portfolio over to Flickr](http://www.flickr.com/photos/andrewhao/sets/72157602687541585/). [![](http://www.g9labs.com/wp-content/uploads/2008/09/design-gallery-updated-300x288.png)](http://www.flickr.com/photos/andrewhao/sets/72157602687541585/) This is sort of an intermediary step …

A layman's guide to the OAI-ORE data aggregation protocol

In Spring 2008, I took an information architecture course in the [UC Berkeley School of Information](http://ischool.berkeley.edu), taught by [Erik Wilde](http://dret.typepad.com) (disclaimer: I dropped the course after a month because of …

I Like Google Chrome

I have to admit, I am an unabashed fan of [Google Chrome](http://google.com/chrome), the new Web browser on the block. Why? UI design that shows attention to detail and a really …

August
Work Series Graphics - Good Shepherd Christian Church

Part 2 of a summer series: [![Work Series](http://farm4.static.flickr.com/3184/2764222573_62576684e8.jpg)](http://www.flickr.com/photos/andrewhao/2764222573/) [![Work Series](http://farm4.static.flickr.com/3237/2765067628_f8e05a66d8.jpg)](http://www.flickr.com/photos/andrewhao/2765067628/) [![Work Series](http://farm4.static.flickr.com/3117/2764221737_3f4b6ee146.jpg)](http://www.flickr.com/photos/andrewhao/2764221737/)

July
Wisdom Series Graphic - Good Shepherd Christian Church

I was commissioned to create graphics for a sermon series titled "Wisdom" at my home church, [Good Shepherd](http://www.gschristian.org/). Some of the artists and leaders decided to go with a lantern …

April
Sensations - Negotiating Noise

[![Sensations - Negotiating Noise](http://farm3.static.flickr.com/2124/2443375144_9e096efe29.jpg)](http://www.flickr.com/photos/andrewhao/2443375144/) I'm showing this and a few more design pieces at **Exposed**, Cal Christian Fellowship's art and performance extravaganza tonight. You can visit it today, April 26--the …

March
Tales from the crypt

Now I remember why I love and hate assembling computers. You've got to love the rush of building something cool. The anticipation of the new BIOS screen--blue letters on black …

After site duplication, an .htaccess redirect for old Wordpress posts

I think I must preface this post with a bit of context: A month ago I added a new blog ([blog.andrewhao.com](http://blog.andrewhao.com)). I wanted that blog to become my personal blog …

February
Quad Core and the Nerd

My apartmentmate Mike just upgraded his computer to an Intel Core 2 Quad-core processor. Once he got it up and running, he opened up Task Manager and summoned me over …

Today's Geek Hijinks

### Morning: Woke up and attempted to mount a Samba file share under Ubuntu. My Gutsy server in the living room is getting a second life as a backup file …

Noam Chomsky is The Man

Why? The man is a respected thinker, theorist and activist. I've had several Mass Communications classes devote a couple of sections to his thoughts about mass media and its effect …

A new blog is coming!

I'm forking this blog in two: a design/development blog and a personal blog. I'll be keeping [blog.g9labs.com](http://blog.g9labs.com) as my technical blog: if you stay with me here, you'll find me …

January
Wordpress Bughunt

I spent a good four hours today digging through [Wordpress](http://www.wordpress.org) code, trying to get our [Cal Christian Fellowship](http://www.ocf.berkeley.edu/~ccf) Web site back up. The problem: the page seemed to freeze when …

2007
December
I'm ready for the winter.

Okay, I confess. I've been daydreaming about winter break: 1. Sleeping in. 2. The laughter of friends. 3. Taking a day trip with a camera to Monterey/Carmel (or anywhere awesome). …

Feeling awesome today

So for our [CS188 (Artificial Intelligence)](http://inst.eecs.berkeley.edu/~cs188/fa07/announcements.html) project, [Capture-the-Flag Pac-Man](http://inst.eecs.berkeley.edu/~cs188/fa07/projects/contest/contest.html), I'm responsible for writing a script that does some processing and analysis on a game board, simulating a Pac-Man agent (my …

Meeting Joe Hewitt

I shook [Joe Hewitt](http://www.joehewitt.com)'s hand today (psst, he's the guy who did tons of Mozilla stuff but most notably built [Firebug](http://www.getfirebug.com/)). I stammered a lot. But that's okay, because I …

November
More scenes

_Disclaimer: about 95% of you won't get this. The other 5% should consider getting a life._ So we're in CS lecture (this is with Prof. Papadmitrou), and one student in …

October
Sensations

[![Sensations - Awaken the Dawn](http://farm3.static.flickr.com/2379/1756742112_a54cf5e9a8.jpg)](http://www.flickr.com/photos/andrewhao/1756742112/)

Sensations

[![Sensations - Rocks Cry Out](http://farm3.static.flickr.com/2051/1738876421_c2e2aa4ec8.jpg)](http://www.flickr.com/photos/andrewhao/1738876421/)

Yahoo! University Hack Day

So Hsiu-fan and I had floated the idea of doing a hack for [Yahoo! University Hack Day](http://developer.yahoo.com/hacku/). We had even polled some of our friends about it, and the consensus …

Crusher website

What gives you more geek fuzzies than seeing an Evite competitor with an ASCII logo? [Crusher website ~ Send invites for free](http://crush3r.com/) Fun, simple, bare-bones, everything you need and nothing …

September
Hello, awesome

[![Hello awesome](http://farm2.static.flickr.com/1221/1364248426_8f30709fd6.jpg)](http://www.flickr.com/photos/andrewhao/1364248426/) Only a geek could take a picture of his computer... and be proud of it.

August
Thinking about writing a Rhapsody Scrobbler

_Filed under "Fun Ideas That Could Take Three Hours or Three Months"_ I want to write a [Rhapsody](http://www.rhapsody.com) [scrobbler](http://www.last.fm/help/). It's already been done as a [desktop application](http://www.atlansky.com/dev/rhapsodyscrobbler.html), but I don't …

A Web Site for Word Geeks

Have you ever compiled long lists of words you thought were awesome (don't lie, I've met two or three of you)? Do you love words such as "[phthisis](http://wordie.org/words/phthisis)" and "[tantamount](http://wordie.org/words/tantamount)" …

April
Taiwan Roundup II

![](http://farm1.static.flickr.com/230/467031358_e06878d13b.jpg?v=0) After weeks of being stuck in a really deep rut, I've finally stumbled upon something that's decently interesting with regards to the state of the Taiwanese blogsophere (this is …

Blog habits & evolution

[Way back when I started blogging](http://blog.g9labs.com/index.php?page=showcomments&id=5) soph year of high school (it's been five+ years!), I pointed out that the public act of blogging helped me "get my thoughts straight" …

Sensations

![last night i dreamed](http://www.g9labs.com/img/blogart/03-fishing-dream-1.png) ![we were fishing together](http://www.g9labs.com/img/blogart/03-fishing-dream-2.png) ![(i've never been fishing)](http://www.g9labs.com/img/blogart/03-fishing-dream-3.png)

Mixtaped

Found over at "[Tiny Mix Tapes](http://www.tinymixtapes.com/-Mix-Tapes-)" -- a mixtape suggestion/request service. Surprisingly poetic (well, most). Gives you a good glimpse into music uses & gratifications. > after you left i …

March
Sensations

Do you remember? We were freckle-faced high schoolers tumbling over China, our obnoxious American mannerisms betraying our origins despite our butter skin. We had agreed to stay in shape during …

Verilogical

Oftentimes in [Verilog](http://en.wikipedia.org/wiki/Verilog) code, we build testbenches (test fixtures). A common thing to do is to instantiate a module and plug in wires of the same names. Now a common …

Sensations

![Sensations 02: Those Who Dreamed](http://www.g9labs.com/img/blogart/02-those-who-dreamed.jpg)

February
Liveblogging from: the Stacks

I have friends who run a cost-benefit analysis on every decision. And they're always measuring things up against Time. Freakin, Endless, Time. I think I'm one of them, too. May …

Taiwan Roundup

So I'm writing the first part of my International Media paper on the structures of the media systems in Taiwan. Just wanted to share with you what I've been coming …

eXtreme Editing

I realized today (with a grin) that I wasn't editing my essay as much as I was [refactoring](http://c2.com/xp/RefactorMercilessly.html) it.

Sensations I

![never-ending](http://www.g9labs.com/img/blogart/never-ending.jpg)

2006
September
GTD-izing my Thunderbird client, and other productivity things

Do any fellow geeks out there follow any [GettingThingsDone](http://en.wikipedia.org/wiki/Getting_things_done) (GTD) practices? (I'm trying to get my life organized�a futile attempt before the sledgehammer of school and responsibilities drops. Organized as …

July
The FAQQLY Tour

Many of you have wondered what it's like daily indulging in the opulence that are the FAQQLY offices. Allow me to take you on a tour. These are known as …