It is well known that I am a nerd. But if there were any doubt, this removes it. :)
Category Archives: Design
Computer coffee table
Here’s something fun. I had a computer sitting on the floor in my lab for a few months while I waited for some parts to arrive so I could service it. In the intervening time I discovered that it was rather handy, and functioned as a small “coffee table” in the center of my room which was good for storing books and magazines on. So I taped some cardboard to the base (for when I stub my toe on it!) and have kept it as a permanent fixture now.
Target then source
I’m surprised it took me this long to figure this out. But there’s a very big problem with a command like this:
rsync var/data/ target:/var/data/
The problem is that in order to type that command, you first have to type the first part of the command, which includes this command:
rsync var/data/ target:/
That first part of the command is in fact a valid command, and if you pressed ENTER accidentally before you had finished typing the whole command, then rsync would begin to replace your entire root file system with the contents of var. That’s the sort of thing that will ruin your day.
So from now on, when I write command-line tools, I will nominate the target *before* the source, and if both the target and source are not specified then I will return an error.
p.s. Yes, the reverse problem exists, that when you nominate the target first you can still fuck up with the source, but given that you are operating on the target from the source, if you get the source wrong, you can just fix your command and run it again and it will be fixed up.
Presentations by Bret Victor
I just found him but I’m a big fan of Bret Victor.
CSS tips
Some CSS tips for the day: CSS Tips.
Visual design rules you can safely follow every time
Some interesting rules of thumb for user interface design: Visual design rules you can safely follow every time.
One note I want to make for later on is to use #222222 instead of #000000 and #F2F2F2 instead of #FFFFFF.
Whoops!
5 Best Vector Graphics Editors for Linux
Today I reviewed: 5 Best Vector Graphics Editors for Linux. Will play with Inkscape first I guess…
Postmodern design
This one turned up in my feed today: There’s More to Design Than Data and Rationality. I feel like the author is discovering postmodernism. It made me realise that when people discover things they have the feeling like they’re the first (but they’re probably not).
Autonomic computing
Found some interesting reading on autonomic computing.
