Skip to content

Instantly share code, notes, and snippets.

@dariusk
dariusk / recs.md
Created February 23, 2018 17:10
Recommendations for ML5

Recommendations for ML5

Darius Kazemi, Feb 23 2018

After a few days of poking around at ML5 I have some recommendations for making it a healthier open source project. I am, of course, happy to sit down and talk through any of these recommendations in depth, but I thought I'd get them documented first.

Project management

These are project management, rather than technical, recommendations.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Interactive Machine Learning

Taught by Brad Knox at the MIT Media Lab in 2014. Course website. Lecture and visiting speaker notes.

@shiffman
shiffman / 00_anonymous.js
Last active September 28, 2015 17:41
Discussion of issues around callbacks for multiple elements in a loop. Using setTimeout() here for demonstration purposes. Actual scenario relates to examples here: https://github.com/shiffman/Programming-from-A-to-Z-F14/tree/master/week6_apis
// While this seems like the right idea
// This does not work at all!
// The loop will finish and i will be at 10 by
// the time the anonymous function is called
for (var i = 0; i < 100; i++) {
setTimeout(function() {
console.log(i);
}, 100*i);