News for hackers. Stuff that matters.

jbmartin

Re:D3 3.3 Released on Thursday August 22, 2013 @03:11PM (#6259367)
What's new in 3.3?

- Brush transitions http://bl.ocks.org/mbostock/6216724

- Tools to help dynamic simplification (scale appropriate geometry on zoom): http://bl.ocks.org/mbostock/6252418

- Bug fixes

- Others?

Re:Show HN: Tridiv - CSS 3D Editor on Wednesday August 21, 2013 @05:19PM (#6253374)
In terms of rendering speed, how efficient is CSS compared to webGL or other related 3D technologies?
Re:Promises/A+ - understanding the spec through implementation on Wednesday August 21, 2013 @12:12PM (#6251326)
My mistake. I thought the blog post was about using jQuery. I totally agree with you.
Re:Promises/A+ - understanding the spec through implementation on Wednesday August 21, 2013 @12:05PM (#6251258)
I found Async Javsacript by Trevor Burnham super helpful for learning how use promises properly. However, it doesn't cover the javascript implementation of a promise (uses jQuery), so this is a nice blog post complementing that material.
Re:Promises/A+ - understanding the spec through implementation on Wednesday August 21, 2013 @11:58AM (#6251201)
jQuery loosely follows the Promises/A spec [1], so Q.js [2] might have been better choice.

[1] http://domenic.me/2012/10/14/youre-missing-the-point-of-prom... [2] http://documentup.com/kriskowal/q/#

Re:Helpouts by Google on Wednesday August 21, 2013 @04:41AM (#6248884)
I wonder if there's a more general issue with public video services getting abused by adult content. Interesting to see how (if?) Google deals with this problem...
Re:An Absolute Beginner's Guide to Node.js on Wednesday August 21, 2013 @03:31AM (#6248717)
People coming from multi-threaded server environments should be aware that multi-threading does in fact exist in Node (scope of parent comment), but it's rather different from other more common concurrent event handling schemes. I.e., you cannot have shared mutable variables across threads (scope of article and ongoing async discussion). For examples, see https://npmjs.org/package/webworker-threads and https://github.com/cramforce/node-worker.
Re:An Absolute Beginner's Guide to Node.js on Tuesday August 20, 2013 @07:02PM (#6247156)
Technically speaking, HTML 5 introduced web-workers which allows javascript to have multiple threads (see 1). However, it's still useful to think about them as being single threaded since workers are sandboxed, meaning they don't have access to the global namespace. This avoids issues commonly found in concurrent programming. E.g., separate threads cannot read and write to the same variable since they don't have access to each other's namespaces.

[1] https://developer.mozilla.org/en-US/docs/Web/Guide/Performan...