I monitor a number of servers using nagios and I always thought it would be neat to be able to have some sort of ambient device light up when there was a critical problem. Yes, I get email and text alerts, and nagios is always up in one tab on my browser, but I wanted […]
Every so often I have the opportunity to help a friend with a seemingly intractable computer problem. More often than not, the problem is not really a problem at all, it is just plain awful design. Case in point: My friend was using Safari and this appeared every time he wanted to access his email. […]
I struggled a long time trying to figure out why my nginz + php-fpm setup was not working. I could tell that the gateway was fine and I was getting a HTTP 200 OK response, but the output was blank and there were no illuminating entries in either the nginx or php-fpm logs. After a […]
A client’s website of mine had been running fine for many years until a few weeks ago. Certain users of IE started getting this error: “Expected token not present” and were no longer able to login. My guess is that the design team switched some elements from Flash to HTML5/jQuery and introduced some bad cookie […]
My favorite editor on the Mac is Aquamacs (me and Emacs go waaay back) and something that has long been a productivity killer for me was the different actions of C-y and CMD-V. This is due to there being two clipboards, the one belonging to the Mac and the one in Emacs (the kill ring). […]
I needed to have an HTML5 video with a clickable poster frame. The first issue was that Safari would preload the movie, removing the poster frame after a few seconds. I fixed that by setting preload=”none”: <div id=”promovid”> <video id=”video” controls=”controls” poster=”video-poster.jpg” preload=”none” width=”640″ height=”480″> … </div> Them to make the poster frame clickable, I […]
There are a number of good posts out there discussing problems with uploading sketches to an arduino, but my problem was really basic: I had some wiring connected to digital ports 0 and 1 (TX and RX) and that was causing communication errors. I unplugged the wires to those ports and the upload then worked […]
I’m playing with a perl Net::Twitter app to see if I can tweet my solar production at the end of every day.