For Those Who Know C++

string code = "";
code.append(0);
very much does not equal
string code = "";
code.append("0");

That was 20 minutes of my life.

Here's to the crazy ones. The misfits. The rebels. The troublemakers. The round pegs in the square holes. The ones who see things differently. They're not fond of rules. And they have no respect for the status quo. You can quote them, disagree with them, glorify or vilify them. About the only thing you can't do is ignore them. Because they change things. They push the human race forward. And while some may see them as the crazy ones, we see genius. Because the people who are crazy enough to think they can change the world, are the ones who do.

— "Think Different" ad, Apple Computer, Inc., 1997, http://en.wikipedia.org/wiki/Think_Different

EPS Images in LaTeX

LaTeX makes it fairly easy to include most common image files. Typically something like

\usepackage{graphicx}
\includegraphics[width=0.75\textwidth]{image.png}
is all you need. LaTeX apparently doesn't play nicely with .eps files by default, however, presenting "Unknown graphics extension: .eps". This is unfortunate because .eps files are vector images, meaning they retain their quality when being scaled up. This is helpful because the images Matlab generates, for example, are typically small.

Fortunately, the epstopdf package fixes this all by running a quick conversion process in the background when compiling your document. Using
\usepackage{epstopdf}
fixes the problem like a charm.

[Edit] This problem only applies to the "pdflatex" command, which by default looks for a .pdf file extension. "latex" looks for a .eps extension by default, rendering this issue moot.

And use a real template. With a color scheme that doesn't make me want to puke. Thank you, Don McMillan.

Photoshop 1.0 on the iPhone

So cool. Totally useless and ridiculous, but it brings me back to the days of Photoshop 7 in my high school's darkroom.