Inside 214-1E

Existential Pontification and Generalized Abstract Digressions

December, 2014

Unintended consequences: Bound threads and unsafe FFI calls

A while ago, I wrote a post describing how unsafe FFI calls could block your entire system, and gave the following example of this behavior: /* cbit.c */ #include <stdio.h> int bottom(int a) { while (1) {printf("%d\n", a);sleep(1);} return a; } /* cbit.h */ int bottom(int a); /* UnsafeFFITest.hs */ {-# LANGUAGE ForeignFunctionInterface #-} import […]

  • December 8, 2014

Ubuntu Utopic upgrade (Xmonad)

I finally got around to upgrading to Utopic. A year ago I reported that gnome-settings-daemon no longer provided keygrabbing support. This was eventually reverted for Trusty, which kept everyone's media keys. I'm sorry to report that in Ubuntu Utopic, the legacy keygrabber is no more: ------------------------------------------------------------ revno: 4015 [merge] author: William Hua <> committer: Tarmac […]

  • December 4, 2014