Feynman FTW

After a few minutes, Feynman had worked out the process of spontaneous emission, which is what Stephen Hawking became famous for a year later. Feynman had it all on my blackboard. He wasn’t interested in copying down what he’d written. He just wanted to know how nature worked, and he had just learned that isolated black holes are capable of emitting energy when you take into account quantum effects. After he finished working it out, he brushed his hands together to get the chalk dust off them, and walked out of the office.

(From http://nautil.us/blog/the-day-feynman-worked-out-black_hole-radiation-on-my-blackboard)

My first Nix derivation

Does precisely nothing, but I’m inexplicably excited 😛

nix-repl> d = derivation { name = "foo"; builder = "${bash}/bin/bash"; args = [ ./builder.sh ]; system = builtins.currentSystem; }

nix-repl> :b d
[1 built, 0.0 MiB DL]

this derivation produced the following outputs:
  out -> /nix/store/l23m6a2fkidklr8plhkb6iwl5x690c7h-foo

Starting this all over again!

After much whining, I decided to try out alternatives to my static website, to “see what sticks”, and then realized that I used to have a Tumblr (just as I used to have an Ello or Google+ but let’s not speak of those), and … maybe this is the right place for snippets of code and test and random links I want to share.

So for now — dunno, few months? A year? — I’m going to stop updating agambrahma.com with new posts and (more frequently!) update this instead.

Using “x-ray” in the Kindle

(Note: this piece had been lying around from about three years ago! I had just never posted it!)

I recently discovered the “x-ray” feature in the Kindle, partly because I only recently resumed reading something on it (“Moby Dick”, two-thirds of the way in).

I can imagine it being super-helpful when going through a really big book with lots of characters etc., but clearly, it has its share of amusing entries. See the one below for “Jove”.