Wednesday, December 24, 2008
mmap in OCaml
I'm learning OCaml and have been trying to find a way to mmap a file in OCaml so that I can efficiently treat it as a giant string in memory. I finally happened across this code for a Bigstring module which does essentially what I want. Reading the code provides some good pointers on other parts of OCaml's standard library that handle memory mapping of files.
Wednesday, December 17, 2008
Hooray for Time Machine!
I recently upgraded by desktop to Mac OS X Leopard. I kept running into useful software that I wanted to try which required Leopard (iPhone SDK, GHC, etc). I finally forked over the money. I was a little disappointed that Leopard had so little to show by way of improvement. The performance improvements in Spotlight are nice. Time Machine looked interesting too, so I used an external USB drive and set it up. Now, after running it for 5 days, I used Time Machine to restore some files that I accidentally deleted. It took me about 3 minutes to restore the files. It would have taken a couple hours to recreate them from scratch. There is no longer a doubt in my mind: Leopard was worth all 12,900 pennies.
Labels:
backups,
os x,
time machine,
upgrade
Subscribe to:
Posts (Atom)