Compile GLFW on Ubuntu and fix “libglfw.so: cannot open” error

The usual method for building GLFW on Ubuntu from source is like so: make x11 sudo make x11-dist-install Assuming you’ve got the proper libraries installed for compiling, everything should go smoothly and the compiled libraries will be put in system directories. If you’re missing libraries needed to compile, try installing them with this command: sudo […]

SSD: A worthwhile upgrade for an aging laptop?

I’m still using an HP DV6227CL from 2007 for my school work and otherwise mobile computing, and it goes without saying that there have been considerable improvements in technology since then. With its old 5400 RPM laptop hard drive and unimpressive hardware, some would become rather impatient waiting for programs and files to load. However, […]

So you want to make a torrent? Tutorial

BitTorrent is a common and exceptionally useful tool for distributing large amounts of data on the internet. I’ll assume you already know how to download files with BitTorrent. You’re here because you want to upload and distribute your own files using the BitTorrent protocol. This example makes use of the Transmission client, so if you […]

Release of Teensy_sPWM Library v0.1

Today I’m making available the first “complete” version of the software-based pulse-width-modulation library I’ve been working on for a few weeks for use in my upcoming Teensy 2.0 projects. Key features include high-frequency PWM, and the ability to apply independent PWM to all output capable pins on the Teensy. It is not thoroughly tested, so […]

Apply Nvidia overclock settings at startup on Linux

If you’ve tried experimented with Nvidia GPU overclocking on Linux using the nvidia-settings application, you’ll notice one pesky problem: the settings don’t stay set when you reboot. This is slightly annoying, and thankfully is easily fixed. Depending on your Linux distro, the settings can be applied at startup in one of a few ways. The […]

Game mode for dual screens on Linux

I’ve been running dual monitors on Ubuntu for a while now. It’s much nicer than a single monitor in terms of enabling higher productivity, however it can produce quirky behavior in some specific situations. One such situation occurs when trying to run a full screen game that only wants to use one monitor, yet I’ve […]

“Half caff coffee doesn’t wake me up”

I think the people who say this to me either A) Haven’t tried drinking it without a pre-existing caffeine addiction, or B) Don’t understand the placebo effect. Nine times out of ten, I’d bet on the latter. An 8oz cup of half caff. coffee has caffeine content roughly equivalent to two or three cans of […]

Teensy Development Setup Script for Ubuntu/Debian

It’s not exactly a challenge to set up your Linux box for developing on the Teensy, but it takes a precious few minutes that I’m sure anyone would like to save. So, I wrote a short script that takes care of the basic setup for you. This includes installing the gcc-avr package and associated C […]

Experiments with Ubuntu software RAID0

Ubuntu Linux uses the Mdadm utility to manage software raid devices. This isn’t as fast as having a hardware raid controller, but it’s certainly cheaper (free!) and more convenient. I had a few identical drives laying around, and I’m in the middle of building an HTPC so I figured this would be a good opportunity […]