Skip to content

Index

Aihato WordPress maintenance notes

According to Brian Kernighan, “Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it?” With that in mind I'm re-exposing myself to the spaghetti that is the Aihato WordPress code base. Read More »

NFSN PHP file write permissions in safe_mode

I've been causing some (security) concerns for myself by thoughtlessly using the dreaded 777 permissions for upload directories to allow the various PHP-based websites that I host at nearlyfreespeech.net to write files there. What this drastic anti-security measure didn't allow me to is to manage these uploaded files through SSH (and SCP/Rsync). In the chroot jail which I'm allowed to enter through SSH, I am ‘me’, while the files created from PHP end up being owned by user ‘web’. However, for some reason these files didn't get owned by group ‘web’ of which the ‘me’ user is a member. Also, I got into trouble with new directories that were being created by the upload scripts. Read More »

WordPress admin bar and absolute CSS positioning

WordPress 3.2 introduced an admin bar, which is fixed at the top of the window when you're logged in. An annoying side-effect that has been bugging me for some time is that, although this pushed down most of my content, HTML elements that used absolute positioning stayed in there old place. This didn't look particularly good, but I left it hanging for a long time because it only affected logged in users (that is: either me or Halfgaar). Read More »

Thinkpad T61 Hardware Maintenance Manual

I thought I'd upload the hardware maintenance manual [PDF] for my Lenovo Thinkpad T61… Read More »

Refresher on basic relational database entity terminology

Here's a couple of basic relational database concepts and their commonly used synonyms.
table=relation=class
row=record=tuple
column=field=attribute
Read More »

Anatomy of a Mashup: Definitive Daft Punk visualised

The Man in Blue created a HTML5/CSS3 visualization of his own mashup of Definite Daft Punk, a Daft Punk discography. Besides being an interesting showcase for various pieces of HTML5, it is also a pleasing way of visualizing the anatomy of his mashup. Read More »

Hobo Lobo of Hamelin

Hobo Lobo of Hamelin is worth looking at even if just for the novelty of how the story and artwork are digitally presented (something to do with a ‘parallaxer’). But, I'd much rather let the creator do the talking: Read More »

Making a bash script terminate when a command returns an error

#!/bin/bash -e trap "echo ERROR HANDLING HERE." ERR echo "Starting" asdfasdf echo "End" Read More »

Chemical tin for circuit boards

For the record, about chemical tin PCB treatment: Seno Glans Tin Read More »

I need a Nanny for Google Chrome

I just installed Nanny for Google Chrome, which, like LeechBlock for Firefox, should help me to recoup some of the time that is now actively being stolen by YouLube and FaceLook. If I'm too weak on my own to push back technology to its proper servile place, then I might as well use technology to do some of the pushing for me. You're a tool, you damn computer, nothing more than that! Read More »