Monday, June 18, 2007

Grass Isn't Necessarily Greener?

Stevey is back 1, and it seems totally obvious that he's writing about a bad project he worked on at Google. Google, where he went for greener pastures of software engineering, maybe isn't so green? Not possible.



1Warning! This is long, it took me about 20 minutes to read, but it was very fun.

Wednesday, June 13, 2007

Better Remote Filesystem

Forget Samba (windoze shares) or NFS. You already have an ssh server on our linux box (if you don't, then this blog post probably isn't for you), so use sshfs. After having read about it, twice, from a crazy Mac user (no hard feelings, Dr. Windley), I tried it this evening. Super simple, and just so darn handy. I love ssh, and I think I love fuse now too.

Friday, June 1, 2007

Highlight "#if 0" Region of C, C++

My vim using co-workers enjoy a useful feature that I haven't yet found in emacs. A common thing to do to comment out large sections of C or C++ code is to put an #if 0, #endif pair around them. Vim seems to know to change the code highlighting for those regions. Emacs does not. I searched google and came across this suggestion to use hideif.el, which kinda works, but I'm not satisfied. It doesn't automatically change the color of the text like commenting it out does, you have to run the hide-ifdefs to get it to change the color, and you have to re-run it if you do any more editing. I want it to work just like other font-locking in emacs, automatically. Does anyone know how to do this?