How to make the IEEEtran bibliography font smaller

It’s ridiculously over spaced by default, and in addition to correcting this, you may want to reduce the font size to get that extra half page you desperately need to eke out to meet the page limit. To accomplish these two goals, put the following in your preamble: \renewcommand{\IEEEbibitemsep}{0pt plus 2pt} \makeatletter \IEEEtriggercmd{\reset@font\normalfont\footnotesize} \makeatother \IEEEtriggeratref{1} […]

Morals, smorals

I just spent several disappointing minutes on Amazon checking out two books by Pinker and Harris recommended on one of the atheist podcasts I follow, both with theses relating to the development of morals. Unsurpisingly, I found a scathing review of Harris’s book— full disclosure: I *really* *really* don’t like the guy, ever since I […]

Spark for Linear Algebra: don’t

Here are some pretty pictures of empirical orthogonal functions (principal components in climatology jargon) calculated for the 3D field of ocean temperatures using data collected over 32 years, generated by computing a rank 20 PCA of a 2 Tb matrix. I’ve been doing a lot of programming recently, implementing truncated SVDs in Spark on large […]

Installing Spark with Hadoop 2 using spark-ec2

YARN does not seem to be configured correctly when you use the spark-ec2 script to install a Spark cluster on EC2. Here’s my short workaround for getting YARN to work (with a simple python script at the bottom): launch a cluster with e.g. spark-ec2 -k <keyname> -i <keyfile> -s –instance-type=<type> –placementgroup=<placementgroupname> –hadoop-major-version=2 –copy-aws-credentials launch <clustername> […]

My thoughts on the confederate flag

The Confederate flag is literally a symbol of treason. Not only that, but the most treasonous act in the entire history of the United States. Anyone who buys into the ‘States Rights’ explanation for the Secession either doesn’t understand what rights we’re talking about, or doesn’t care: the right to slavery. Elide motivations all you […]

A quick thought on Supernatural and some other tv shows

Just finished season 9 of Supernatural. You’ve got to give that show credit for being one of the few that *demands* a deus ex machina ending. Anything less, after all this fighting over who’s going to take God’s place and Castiel’s moments of mysterious grace, would be a let down. I can’t wait to see […]