Delaunay Triangulation Makes Pretty Pictures

May 22nd, 2015

Some pretty triangles.

A few months ago I was playing around with Delaunay triangulations and realised today that I never wrote anything about it. Briefly, a Delaunay triangulation of a set of points is a way of drawing triangles connecting those points in order to maximize the minimum angle of all of the triangles. They often look something like this:

Loading comment count...

Read the rest →

Why is Arduino digitalWrite So Slow?

January 4th, 2015

I got an Arduino Uno for Christmas this year and I've been playing around with it a little bit over the last few days. While trying to get a simple PWM program to work, I noticed that it starts acting weird at higher frequencies. The square wave actually produced by the microcontroller drifts farther and farther away from the expected signal the higher the frequency gets. Here's some oscilloscope output to show you what I mean. All of the signals should be 5 Vp-p and have a 50% duty cycle. The scope is set to 5V/div in every image.

Loading comment count...

Read the rest →

What Kind of Weirdo Uses Gopher?

October 11th, 2014

Me. I do.

At least, I do since yesterday. Not for any good reason, I just thought it would be a fun thing to do. It turns out to actually be a lot easier than setting up an HTTP server, so I thought I'd share the process here in case anybody else is interested in playing with web protocols developed at the University of Minnesota in the early '90's. Also, shout-out to all my Minnesota friends.

Loading comment count...

Read the rest →

Updating CyanogenMod on an Encrypted Device

October 2nd, 2014

The CyanogenMod Logo

So, I went to upgrade my phone to the latest CM snapshot and every time I tried to install it my phone would just reboot. I think this must be related to the fact that I recently enabled encryption on the device since I can't think of anything else that I've changed since the last time I updated it. I googled around a little bit and found a process that works on my Nexus 5, so I thought I'd document it here in case anybody else (including future me) needs to know how to do it.

Loading comment count...

Read the rest →

I am a Data Hoarder or: How to Create a Btrfs RAID on Multiple Encrypted Disks

June 7th, 2014

A car full of luggage.

This is what my computer must feel like.
Original image from Alan Denney on Flickr. Some rights reserved: by-nc-sa.

Loading comment count...

Read the rest →

1 2 3 4 »