Categories
Computers

WTF: assertFalse(/foo/.test(null)) fails?

$ js
Rhino 1.7 release 1 2008 03 06
js> var foo = new RegExp("([a-zA-Z/])+");
/([a-zA-Z/])+/
js> foo.test(null)
true

What? Passing null to a regexp passes?

Categories
Shopping

Amazon Summer Store

FYI, I get a small kickback if you buy anything after clicking on this picture

amazon-summer-fun

Having a kid makes all this stuff fun again. :)

Categories
Computers Family

“No”

1972 – Alain Colmerauer designs the logic language Prolog. His goal is to create a language with the intelligence of a two year old. He proves he has reached his goal by showing a Prolog session that says “No.” to every query.

From One Div Zero: A Brief, Incomplete, and Mostly Wrong History of Programming Languages.

Categories
Coffee

Triple Ristretto

triple

After visiting Gimme! a while ago and having one of their tasty triple ristrettos, I decided to pick up a triple basket and see if I could pull it off in my Rancilio Silvia at home. The basket arrived on Tuesday, so today was the first go round.

So far, it works great. I’m using ~ 17g of coffee and getting 1.5oz in about 30s. Very tasty and and nice controlled pour. I’m a convert.

If you’re interested in triples, there’s a good page over on Home Barista about it too.

Categories
Shopping

Kindle DX

Kindle dx

Wow, a nearly 10″ screen, native PDF rendering, and all the existing goodness of the Kindle. Mandy really likes hers and this just looks amazing. Can’t wait to see one in person.