Amazon.com Widgets

Archive for the 'hacking' Category

thank-yous

Saturday, August 2nd, 2008

First, for xwjl. Thanks for a good old late night talking/hacking session that could not have been more timely. Let’s do it more often! There is much work to be done on the masterpiece:

And next, for Mom. Thank you for being aware, in touch, and supportive as you always have been. [...]

du is slow

Saturday, January 5th, 2008

The du command always takes forever. Couldn’t the filesystem cache size information and lazily bubble it up the tree so that it can report disk usage faster?

Risk dice roller and battle simulator

Sunday, December 30th, 2007

Over the holidays, I went home and spent time with family. We played some games, one of which was Risk. You may recall that this game can get quite slow and tedious when armies and battles get big. Remembering this, I sat down and wrote the javascript risk dice roller and [...]

best program ever

Monday, June 25th, 2007

graph [scroll down] is a small ocaml program that me and a coworker wrote. It graphs data coming down standard in, on your terminal! It’s like, really trivial and yet so useful.
One catch: it currently doesn’t support negative numbers properly. I’d love to see a patch that made it do [...]

monthly challenges

Sunday, June 17th, 2007

Lately I’ve been into challenging myself by setting arbitrary rules for my behavior, usually for a one-month period. The idea is to learn or grow through this exercise. Some things I’ve tried so far:

Going vegetarian for a month. This didn’t feel all that enlightening at the time, but for other reasons I’ve [...]

the ocaml summer project

Saturday, February 10th, 2007

http://osp2007.janestcapital.com/
Like, duh.

a new startup idea

Wednesday, January 3rd, 2007

I’m sure this idea isn’t original. It’s too obvious. In fact, I’d bet money that somebody is already doing it.
Consolidate the social networks. Write a nice abstract social network layer, and connect all the data into one large, meta, …social internet.
Wired predicts that in 2007, if this doesn’t happen, the social networks [...]

usbcell (again)

Monday, November 27th, 2006

usbcell is now available in the US. w00t!

what’s wrong with this picture?

Monday, November 6th, 2006

let () =
  Arg.parse specl anonfun usage_msg;
  match List.rev !anonargs with
  | [] -> Arg.usage specl usage_msg; exit 1
  | args ->
     begin
       match !conf with None -> () | Some conf -> do_config conf;
       let string = "world" in
       printf "hello %s\n%!" string;
     end

buffer overflow in tar

Friday, March 10th, 2006

In this day and age, it seems insane that so common a program would have such a bug. Arbitrary code execution, just by opening a tar archive?
It’s time to rewrite gnu in a real programming language!