Friday, February 10, 2012

Orphion - iPad musical instrument

Pretty interesting. There appears to be some amount of thought given to the geometry of the layouts as it relates to musical theory. And it's a new platform that I'm sure will gather a community around it.

Thursday, February 2, 2012

Tuesday, January 31, 2012

ZenCash

This is neat. It's like a collection agency, but for freelancers/small biz owners.

Friday, January 27, 2012

Wednesday, January 25, 2012

Lisp in ruby

Lisp in ruby. Short and sweet.

Friday, January 13, 2012

What the bagel man saw

Interesting story, but the conclusion might suffer from survival bias - is the number of dropped customers statistically significant?

Tuesday, January 10, 2012

Random notes on WebGL

Notes on WebGL.

SML vs OCaml

I was learning SML over the holidays. Neat language.

Here's a syntax comparison between it and OCaml.

Tuesday, December 6, 2011

Fixing IE PNG opacity

So you've got a sweet jQuery-based animation working in Firefox and Chrome and all that, and you check in IE, and, in horror, you find that the opacity animations on PNG background images are showing this ugly black halo. What to do?

Easiest fix:

//say this is your initial style
.thing {
background:url(images/translucent.png) no-repeat;
filter:alpha(opacity=50);
opacity:0.5;
}

//add this to the stylesheet
.thing {
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(
src=/path/to/images/translucent.png) alpha(opacity=50);
background:none\9;
}

(I wrapped the one line to fit in the blog, but the filter declaration should be all in one line)

Just make sure you use an absolute image path on the filter, not a relative one. Tweak the opacity to your liking.

When animating, jQuery is smart enough to not clobber the AlphaImageLoader filter when it changes the opacity one.