Monthly Archives: September 2014

Adding Waves!

Inspired by a physical exhibit at the Exploratorium that used sliders to add sine waves, I built an online version here.  I liked the physicality of the bars in the original exhibit because it emphasized that the heights were being … Continue reading

Posted in Uncategorized | Leave a comment

Circular images, with D3

A friend wrote to me today stuck on a d3 problem.  He was looking to create circles with images in them from a set of horizontal and vertical photographs.  The goal was to have the image fill the circle, such … Continue reading

Posted in Uncategorized | Leave a comment

Why make it about boys and girls. Instead, let’s create a rich, varied education experience for everyone?

I read this NYT Opinion piece today, which argues that boys learn differently than girls and that we need teachers to be “boy-friendly.”  Here is my response. Are the bell curves really so distinct that this is truly about boys … Continue reading

Posted in Uncategorized | Leave a comment

Choosing white or black text to contrast with a light or dark background

Today I needed a way to switch to using white text if the background was particularly dark. 24ways.org had a blog post on the topic, which offered this small javascript function. function getContrast50(hexcolor){ return (parseInt(hexcolor, 16) > 0xffffff/2) ? ‘black’:’white’; … Continue reading

Posted in Uncategorized | Leave a comment

Swedish Parental Birth Age Study: shows sensitivity to confounding factors

Read an interesting study this morning on various psychological and academic outcomes based on age of Dad at birth.  http://www.wrrh308.com/wp-content/uploads/2014/03/JAMA-Study.pdf It’s interesting to see how much the conclusion can change based on the factors that the researchers take into account.  … Continue reading

Posted in Uncategorized | Leave a comment

tabula: best thing ever

I just discovered Tabula, which converts PDFs into a form that can be saved as a csv or other usable data format.  If you know the pain of having beautiful data right there in front of you but in a … Continue reading

Posted in Uncategorized | Leave a comment