Monthly Archives: May 2010

Countable Dense Sets

So here’s a problem. Sometimes someone’ll ask me why the real numbers are uncountable. Should I give the somewhat unconvincing diagonalization argument, or the non-empty perfect set argument that I barely understand? Well I just thought of an argument that … Continue reading

Posted in math | Leave a comment

highlight-launch

So I write an unfortunate amount of code for school, and usually end up copy-pasting it into an OpenOffice document to hand in. And I like to have it syntax-highlighted. Made this fairly easy with the ‘highlight‘ program, and this … Continue reading

Posted in openoffice | Leave a comment

Rearranging definitions in R

I came up with a handy little trick for programming in R. I like to define a lot of variables all at once without worrying about what order they’re in. The goal would be something like this: K  = -R2/R1 … Continue reading

Posted in R | 1 Comment