HNHacker News
TopNewBestAskShowJobs

pixl8ed

5 karma · joined December 14, 2011

Interested in making stuff, physical computing, motion control, juggling... Oh, and robots!
submissionscomments
pixl8ed··on Mars Wrigley Fined After Two Factory Workers Fell into Chocolate Tank
Could have been the plot for the movie "Consuming Passions"

A satire about what happens when three men are accidentally shoved into a vat of chocolate in a confectionery factory, and chocolate lovers favour the resulting confections.

pixl8ed··on Puzzle HN: Can you please help us mathematically solve a puzzle?
http://www.mathematische-basteleien.de/snakecube.htm

http://stackoverflow.com/questions/11622068/snake-cube-puzzl...

pixl8ed··on Ask HN: Any ideas on how to thumbnail 2M images?
http://codeascraft.com/2010/07/09/batch-processing-millions-... is a writeup of a similar task at Etsy to resize 135 million images.
pixl8ed··on JQuery implicit loops
Doh -- of course... Many thanks for the explanation & the links!
pixl8ed··on JQuery implicit loops
I'm not convinced that there's two loops -- aren't the .css() methods chained together, and would be executed right after each other for each step through the implied loop?

In $(".widget").css("color", "green").css("font-size", "16px"); does the color of all the widgets change, and then the fontSize, or does the color/fontSize change together for each widget? I suspect the latter...

pixl8ed··on JQuery implicit loops
Is it re-looping? Doesn't the .css setter return a jQuery object that is used by the next method in the chain? So it's actually only going through an implicit loop of $( ".widget" ) once?
pixl8ed··on Embedded development with JS/Node and BoneScript
I've been patiently waiting for adafruit to get the BeagleBone in stock to play around with this... http://www.adafruit.com/products/513