Upstart is Ubuntu’s replacement for /sbin/init, and Monit is a great little monitoring service that lets you do intelligent things when errors occur and servers fall over. But for some reason Monit is still installed as a System V init daemon. So I switched it over to use Upstart.
Node.JS is a great little server and it’s also very easy to install and set up. In the same fashion, NVM is a fantastic tool for installing and switching from one installed version of Node to another. The problem arises when you develop as one user but the deployed application needs to be run as a different user and you need to guarantee that the Node configurations they are using are identical. How do you use NVM to install node globally for all users?
You and a friend have time to kill and lots and lots of Toblerone (thanks Santa!) so you have decided to pass the time by playing a lethal game involving chocolate.
Jack is tossing a fair coin. John believes in gambler’s luck, i.e. that if Jack has tossed more heads than tails so far then the next toss is more likely to be a tail. This way, in the long run things balance out. Jim knows that previous coin tosses have no effect on the next toss. John and Jim start betting with each other on the result of each coin toss. Who is likely to win more of the bets, John or Jim?
Julian Baggini’s “Do They Think You’re Stupid” is a light, amusing read with a serious meta-lesson tucked away inside. Presented as a list of 100 common argumentative fallacies and why they’re wrong, it can actually be interrogated as a guide to good analysis. Read the rest of this entry »
The Dell Inspiron 14z is meant to have 4-5 hours battery life out of the box. Suffice to say that this wasn’t the case when I first put Ubuntu 12.04 (Precise Pangolin) on it. Two hours if I was lucky, more often 90 minutes or less.
When Katie and I started going out, and for a long time afterwards, we lived apart. At first that just made sense (you don’t move in with someone three days after meeting them) and later it was a necessity, while I was working in London and she was finishing her doctorate in Oxford. Overall, long distance and living apart is rubbish, but it did mean that we managed to avoid all the thorny financial decisions that being in a relationship normally brings for much longer than you’d expect.