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


last night i dreamed

we were fishing together

(i've never been fishing)


Found over at “Tiny Mix Tapes” – a mixtape suggestion/request service. Surprisingly poetic (well, most). Gives you a good glimpse into music uses & gratifications.

after you left i had nothing to come home to anymore
requested by: dee

I need a bank robbin� mix.
Requested By: Bonnie

And at once it came. Out of the darkness of the doorway.
Requested by: csl

A mix for that sunny Sunday late morning/early afternoon, when you�re sort of lying in bed and staring at the ceiling or out the window with lots of natural light pouring onto you, warming you with the feeling that you�ve got nothing to do today but think.
Requested by: Spencer

songs to put ikea furniture together to
requested by: allen wrench

I�m a high school drop out and she�s almost through her masters program.
Requested by: Joey

You make me morning poetry and fajitas, how could I not love you?
Requested by: ARE

sweetheart of the rodeo
Requested by: minimal

Sad songs for freckled girls.
Requested by: Kev Bot

Songs for that ugly period of time between winter and spring.
Requested by : Jill

(At the moment, I’m doing research into mix tape culture).


Dex Digital, over at the Mix Tape Show hip-hop podcast opens up his shows with “hey, what’s good” or “hey, what’s wonderful.” I really like that.


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 that trip, so the first night one of us had the bright idea to do stairwell repeats up the fire escape. So we laced up our sneakers and bounded up the stairs two by two, laughing between breaths, running single file and breathing musty cigarette air. I remember losing count of the stairs we had climbed, unfocusing my eyes and watching each set of steps blur by in my field of vision, wondering when I would fall. I didn’t. By the twenty-fifth floor the stairs ended and we poured out onto the rooftop of Beijing, stars bright as our eyes, daring each other to look down at the maze of city streets below. Some of us pantomimed a fall. We didn’t.


Oftentimes in 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 hack is to copy and paste the module declaration line (the “prototype,” if you will). The prototype looks like this:

module Foo( bar,
</br> baz,
</br> …
</br> );

The HDL synthesizer can correctly wire inputs, regardless of instantiated order, by surrounding the names of the local wires with the input names as declared in the prototype in a format such as:

Foo foo_instance ( .bar(bar),
</br> .baz(baz),
</br> …
</br> );

So to do so is a rather painful matter of adding a period before the input name, copy and pasting the input name and pasting it after the name, bracketed by parentheses.

But what do you do if your module has thirty inputs? Our previous solution was to surrender our wrists to inevitable Repetitive Stress Injuries. Today, I realized that I should have used a freakin’ elementary regular expression.

Search: (.*),
</br>Replace: .$1($1),

Wah-lah! I’m kicking myself for not thinking of this earlier. And it has taken me 10 minutes to tell you how I saved forty-five seconds and my poor wrists. Anything to avoid more work (shh, don’t tell Alex) :)

Currently Listening
Kid A
By Radiohead
see related


Sensations 02: Those Who Dreamed