Jeff’s Brain Dump

Sometimes the first duty of intelligent men is the restatement of the obvious.

Crap4J update

Posted by Jeff October 27, 2008

Alberto and Bob were kind enough to comment. Sounds like good news:

  • \”Recent developments might give us an opportunity to not only continue to support Crap4j, but to take it to the next level.\” - Alberto
  • \”I am the maintainer… I will be getting it updated to Ganymede shortly, and getting everything else back online.\” - Bob

Clover is a commercial product with similar functionality, but it looks like I\’ll wait for the new Crap4J version.

\"Reblog
No Tags

Whither Crap4J?

Posted by Jeff October 23, 2008

Crap4J is/was a great Eclipse plugin which computes code crappiness via JUnit coverage testing vs. cyclomatic complexity. In short: Tests Good, Complexity Bad.

I tended to use it for TDD as a lightweight coverage tool. You could simply run a test, and the gutter annotations show if the line was tested or not:
eclipse

Unfortunately, as of the Eclipse Ganymede release, Crap4j no longer finds the tests… and Agitar is defunct/acquired.

What’s a good Crap4J replacement?

No Tags

Planet Money Podcast

Posted by Jeff September 22, 2008

A while back, This American Life did a fantastic show on the subprime crisis - “The Giant Pool of Money”. The show did a great job of tracing the steps as crap loans were repackaged and aggregated, ending up as AAA paper:

Alex Blumberg: Glen [Pizzolorusso, who was an area sales manager at an
outfit called WMC mortgage in upstate New York. Just to repeat, he was making 75
to a 100 grand a month. That’s over a million dollars a year] had five cars, a 1.5 million dollar vacation house in Connecticut, and penthouse that he rented in Manhattan. And he made all this
money making very large loans to very poor people with bad credit.

Glen Pizzolorusso: We looked at loans. These people didn’t have a pot to piss
in. They can barely make a car payment and we’re giving them a 300, 400
thousand dollar house.

Now these same folks have gotten their own podcast: Planet Money.The topics are dead on target:

Government Wants to Buy ‘Toxic Waste’ for You
The U.S. Treasury Department and members of Congress are considering a $1 trillion plan to buy up bad assets on Wall Street. Economist Raghu Rajan says that looks like a move made in panic to him. He blames election-year politics, and proposes a way for Wall Street to save itself.
Fri, 19 Sep 2008 17:43:12 -0400
Ralph Reed Lands on Planet Money
Ralph Reed provides one of the clearest takes on the financial crisis that we’ve yet heard, and then switches over to politics. Plus, more questions from listeners and answers from us.
Thu, 18 Sep 2008 19:33:37 -0400
Naked Short Selling, Meet Moral Hazard
Alex Blumberg takes a peek at the arcane Wall Street practice of naked short selling, while Adam Davidson considers what happens when the Street takes a break from moral hazard.
Wed, 17 Sep 2008 23:44:40 -0400
Can You Pick a Politician on Economics?
With the insurance big AIG on the ropes today, questions from listeners poured in. Mike Pesca joins Adam Davidson and Laura Conaway for another round of answers to queries from inquiring minds on Planet Money.
Wed, 17 Sep 2008 23:44:30 -0400
What’s the Deal With Lehman and Merrill?
The financial world — and more to the point, the rest of us — woke up Monday morning to a whole new Planet Money. Lehman Brothers filed for bankruptcy. Merrill Lynch sold itself to Bank of America. And the questions came pouring in. We answered as many as we coul d in 22 minutes.
Tue, 16 Sep 2008 14:10:57 -0400
Global Nightmare: If Fannie/Freddie Had Failed
Whatever the cost to taxpayers, foreign financial ministers tell us the U.S. Treasury had no choice but to save Fannie Mae and Freddie Mac. They say it was either act now or face economic Armageddon.
Fri, 12 Sep 2008 18:07:02 -0400
How Fannie Mae and Freddie Mac Met China
Economist Brad Setser obsessively studies the way China buys American debt. If the buying stops, he says, the American economy would be in trouble — and the laws of economic logic suggest that’s almost inevitable.
Tue, 09 Sep 2008 11:23:14 -0400

Rss is http://www.npr.org/rss/podcast.php?id=510289. Subscribed.Rss is http://www.npr.org/rss/podcast.php?id=510289.

No Tags

Xootr Review

Posted by Jeff September 10, 2008

My Xootr MG review is up over at Cool Tools.  I’ve been taking the Xootr on the commuter rail since April - it’s twice as fast as walking.

No Tags

Artisan Bread in 5 Minutes a Day

Posted by Jeff May 04, 2008

We’ve been working through Artisan Bread in 5 Minutes a Day. It’s amazing. Per the NYT: “The technique is more or less as streamlined as this: Mix flour, salt, yeast and water. Let it sit a bit, refrigerate it, take some out and let it rise, then bake it. The crusty, full-flavored loaf that results may be the world’s easiest yeast bread.” Here’s a video of the authors.

We haz a book.. and a bucket:
aI haz bucket.dough
So far we’ve made:

- Bread
- Pizza
- Sticky buns
a

Next up, we made the Challah dough. The bread came out well - very light and airy.
http://farm3.static.flickr.com/2144/2464704993_2ac680deec_m.jpghttp://farm4.static.flickr.com/3085/2464704079_af6dbf9ab2_m.jpg

One super-cool thing: By not washing the 5 quart container, more complex flavors can be obtained. Less work and waste - my engineer side loves this.

Looks like we’ll be getting our next yeast from Costco - and keeping it in the freezer.

YelpFin

Posted by Jeff April 15, 2008

Inspired by Redfin’s Walkscore, I’ve done a GreaseMonkey script to link to Yelp from Redfin listings. (thanks rouftop and Navtej!)
It looks like this:

  1. Install the Firefox plugin Greasemonkey
  2. Restart Firefox
  3. Install the YelpFin Greasemonkey script
  4. Find some Redfin listings and click the link that appears below the address
No Tags

Posted by Jeff March 14, 2008

Posting from Google Docs

Gdocs can post to your blog. Very nice.

As long as I’m posting to test, some Friday links:
Paradox of choice - why abundance of choice is making us miserable.
Business Technology : Bigger Computer Monitors = More Productivity
Pete Seeger’s Banjo

No Tags

Using Firefox Spellcheck with Google Docs

Posted by Jeff March 09, 2008

When using Google Docs, the default Firefox menu is overridden. No sweet spellchecker goodness. Using Tools/Options and unchecking “Disable or Replace Context menus”, you can get both menus.

Confused? Try the movie - 1:54, with sound.

No Tags

Great Validation Email

Posted by Jeff March 09, 2008

This made me laugh hard… bodes well -

Howdy and welcome to RescueTime- We’ll make this short and sweet…

Here’s your login info (store it in a cool dry place):

Username: jeff@server.com
Password: As IF we would send you your password in cleartext!

No Tags

Hide Distractions with Clutter Cloak

Posted by Jeff March 08, 2008

My last post was about full-screen text editors. The goal is to reduce options and choices, encouraging focus and flow.
Turns out, there is a more general solution - Clutter Cloak. Invoke it with a keystroke - CC obscures everything on the screen except the child window immediately under the mouse pointer. I changed the hotkey to Ctrl-Space, easier to type.

This mimics Inattentional Blindness - the tunnel vision we get when in extreme focus. Blocking out extranous content is a great way to promote Flow.

Fun video-how many passes does the White team make in this video?

No Tags

« Older blog posts