Wireframes in OSL

I was inspired by Haken’s video for their single “Earthrise” to write a shader which essentially acts as a Mix Shader using the wireframe of the geometry as the mix factor. Throughout the video is random geometry around the performing members of the band, intercut with a larger city scene – all of which only …

Killall DD on OSX

Most of us will be familiar with the common watch -n5 “killall -USR1 dd” trick when doing a huge byte transfer using DD on Linux to check it’s progress. OSX is different (well, 10.10 is, ymmv with other releases), because why the hell not, and instead of the -USR1 signal, opts for the -SIGINFO signal. …

Pacman “signature is unknown trust” error

Are you getting errors like the below while trying to update your Arch-based system using Pacman? error: package_name: signature from “Person Name ” is unknown trust :: File /var/cache/pacman/pkg/package-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)). You’re system is probably really, really out of date. Below is what I did to fix it: # …

Linux on Mac (that isn’t Ubuntu)

As previously mentioned, I’ve been wanting to try Arch Linux for a while, but have been dealing with setting up X Server plus a halfway decent window manager for a long while. I’ve also been using Ubuntu on my MacBook Pro, as it’s the only Linux distro I’ve found that runs on OSX’s fancy bastardisation …

My ZSH Prompt

Time for me show off some ZSH magic, specifically my prompt (because that’s the “in thing” these days) ec 0 15-01-27 9:28 me@server:~ % Kinda neat, the integer after the ‘ec’ is the exit code of the previous command, and the timestamp after is the current time. This means I can copy that line with …

Standing Desk (or, a desk on a desk)

Insert “standing desks are too expensive so I made my own!” comment here. Materials: LACK White Side Table from IKEA Melamine Shelf (except in black) from Bunnings Two small brackets from Bunnings Large and Small Screws Overall it cost me less than twenty dollars plus maybe an hour of my time to put it together. …

A disposable system

I’ve increasingly become less and less precious about my OS system disk, now leaving all of my important files on a pair of external drives. Having an essentially disposable system, like anything, has advantages and disadvantages… The good stuff * I can jump between different operating systems at the drop of a hat without fear …

Help for Linux Newbies

Linux Help is a section of this site I’m dedicating purely to helping people who want to get into Linux, but have no idea on where to start. My first entry is about navigating a filesystem using the cd command. If you’re interested in using Linux or have started and don’t quite understand the command …

Vim sucks, except that it doesn’t

I’m far beyond the point of irritation now when I hear people say “Vim is too hard”, or “Vim sucks”. Really? Is it Vim that sucks or your complete lack of either desire or capability (both of which are inexcusable) to learn Vim that sucks. To anyone who says that Vim is too hard to …