Closed for Summer (2015)

April 28, 2015

Comes again the time where the semester comes to an end. Students are busy with finals and various assignments, professors are busy with marking finals and assignments. Soon it will be over and I will concentrate on research and publication. I have this thing I’ve been trying to finish for a few months now—still just a few days more, just a few days more—and new stuff I want to start. So I will neglect, like last year, the blog until September, where I will return with the normal, once-a-week or almost, posting schedule.

(Dalia, 2560×1440)

(Dalia, 2560×1440)


A runcible nonce

April 15, 2014

In the recent panic surrounding the Heartbleed bug, we ask ourselves why, and how, these bugs still happen. We know that it was a preventable bug, with a simple fix, but with potentially important repercussions.

heartbleed

The bug is explained in non-technical (but accurate) terms here, and the patch is shown here. But that’s not what I want to talk you about. Let’s discuss the source of the problem.

Read the rest of this entry »


A random Golden Ratio Appears!

November 12, 2013

Well, we all make errors once in a while, but sometimes they’re more interesting than others. So I inadvertently forgot a square in a calculation and the series suddenly started converging, to the most beautiful of convergences of all: \phi.

wild-chespin

So, let’s see how I got the golden ratio to emerge from a broken algorithm.

Read the rest of this entry »


Best. Number Base. Ever.

July 30, 2013

One of the first things we learn when we begin programming is that there are different number bases: base 10, the usual one, but also binary, octal, and hexadecimal. Their expressive power is strictly equivalent, but we also notice that hexadecimal numbers are written much more compactly than binary, and so, hexadecimal is “more efficient.”

coin-obverse-small

But “efficiency” begs the question: how do we define it, and, once efficiency defined, which base is the best? Let’s find out!

Read the rest of this entry »


Glass Tardis

July 24, 2012

A good friend of mine and his wife just had a beautiful baby girl, and I wanted to give them something different. Turns out, the mom is a big fan of Dr Who and so I had the idea of making a stain-glass Tardis nightlight.

So I looked around the interwebs to find a couple of pictures of the Tardis to get the scale/ratio right, and set to cut glass:

Read the rest of this entry »


Bad Graphs!

July 17, 2012

One of the good things of the peer review process is that if you publish, you’re eventually going to have to review papers for conferences or journal in your (perceived) area of expertise. Sometimes you get pearls such as “the resulting results of algorithm X are resulted” (true story), or “the dynamics of the attorney of yes no plasmodium” (also true), but sometimes bad science comes from the bad presentation of results.

This is also a (essentially true) story. So I’m reviewing a paper that proposes some kind of method for predicting the value of (some) parameter that minimizes some error function. The method is fast, but not analytic. The graph in the paper looks something like:

Read the rest of this entry »


Artsy Recycling: follow-up

June 28, 2012

A while ago I wrote to my mayor to ask for better recycling of electronics and other technological items in my home town. The mayor responded rapidly with good news!

Read the rest of this entry »