Paul's blog

History meme

Perpetuating the history meme!

$ history|awk '{print $2}'|sort|uniq -c|sort -rn|head
   58 ls
   48 clear
   45 cd
   41 ss
   34 vim
   22 ping6
   22 dig
   20 make
   13 man
   13 fo

"ss" opens a new screen window with an ssh session to "".
"fo" is an alias for "killall -9".


Memalign Hack for OSX

I was having trouble recently executing SSE intrinsics on Leopard. The problem, simply put, is that OSX lacks a memalign() function. As a result I was getting messages of the form:

Undefined symbols:
"_memalign", referenced from:
_init in ccB0Dp2Z.o
_init in ccB0Dp2Z.o
_init in ccB0Dp2Z.o
_main in ccB0Dp2Z.o
_main in ccB0Dp2Z.o
_main in ccB0Dp2Z.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

However, I have found a partial solution. Including the following c source file above all your other headers will allow your program to allocate memory properly. Note however, that memory will NOT be freed correctly (or at all possibly). As such, do not use this except for experimentation.


Credit for the above belongs to Jeff Clites.


Found a great little extension today for Firefox. SystemProxy lets Firefox use the system wide proxy settings set up with OSX's Locations.

In collaboration with Marco Polo, this makes the hassle usually experienced going from College to Home and vice versa disappear.

Truly brilliant!


Subscribe to RSS - Paul's blog