Videos about JavaScript
github.com
github.com
'Hey Underscore, You're Doing It Wrong' -- http://www.youtube.com/watch?v=m3svKOdZijA
It is much better than the title would suggest :)
Overall, I feel that the idea of looking at Events as Streams is a step in the right direction and having well composed functions is a key piece of making that dream a reality.
But I'll save you two minutes: Underscore describes itself as affording Functional Programming, but in fact.. it doesn't.
He then goes over several examples of common FP patterns, like currying, composition, and functors, and shows how underscore fails in these regards, and how you can do so much better if a few things were done differently in the library.
If you are looking for technical videos though, this will probably not be what you are looking for.
crockford's: javascript the good parts
Not for beginners but a good intro to javascript and some its oddities. Its thin too which I like in books.
If there is anything I could complain about, it would be at the other end of the spectrum: it ends after covering just the basics of the language itself; I don't even think it covers the browser DOM. But if you buy it at a physical bookstore, the thickness of it should tip you off as to what you're getting. As far as it goes, it's a great book.
A good starting place would be A Conceptual Future For The Multi-Device Web, which covered a plethora of new APIs like WebRTC, Geolocation, and Orientation, combining them in rather novel ways.
Also excellent was Invent The Future, Don't Recreate The Past, which looked at the evolution of JS and possible future consequences of the decisions being made in ES6 and ES7.
Overall, fantastic conf with excellent speakers (Jeremy Ashkenas, Reginald Braithwaite, and David Nolen, to name a few personal heroes).
In the following code, assuming that there are no read errors, is the load callback guaranteed to be always executed? I.e. are DOM events dispatched only after the call stack is cleared?
let main = () => {
let reader = new FileReader();
reader.readAsText(file);
reader.addEventListener("load", callback = (event) => console.log(event.target.result));
};My _guess_ would be yes, this would work. Regardless of how fast the file loaded. One way to test it would be to stick a large while loop between readastext and addeventlistener to block the stack for a few seconds and guarantee that the file is read before the handler is bound.
I'll try and take a look when I am back at a computer if nobody else responds either way :)
The "OK Photoshop" demo is just hilarious :)
e: a couple of my favourites by Raymond Hettinger
http://pyvideo.org/video/1780/transforming-code-into-beautif... http://pyvideo.org/video/1669/keynote-3
I'm still relatively new to JS and have really enjoyed Secrets of the Javascript Ninja.
I reassembled the videos into a product called Framework that I am working on.
If you want me to remove something, email me at chrisb(AT)unitymg.com and I'll get rid of them.
Great stuff though.
Also Its been the meta to use a Github repository.
The sense you mean is a shortening of “metagame”, a term used since the early 2000s or maybe before by Starcraft I players to describe the broad trends in overall strategy and play-style evolving over time as the whole community of players adapt to each-other’s games. The term may have been used in other similar contexts before that time, but as far as I can tell that’s mainly where it was popularized.
So is your description, Meta is an ancient greek preposition that in English roughly means a concept that is an abstraction from another concept (though originally in Greek meant "after").
It is also used commonly to mean something that is knowingly circular or self-referential "That film director doing a movie about film directors was so meta", I don't like this usage but it is common.
In either case your usage is considerably narrower and not at all the standard usage.
It's reasonable for the term metagame to encompass the evolution of the strategy of a game over the years (character matchups in fighting games, use of certain "builds" in real-time strategy, etc.), as it's beyond the scope of individual matches or players; it's then reasonable to abbreviate that to "meta", as many gaming communities do, and applying it to long-term trends in things other than games is only a small semantic shift.
Of course, that means little if the term doesn't actually exist here, but if it could come to exist without any especially gross abuse of language, I wouldn't call it wrong.
He's saying "oh, this person just used meta like it means 'something that is all the rage', which is some strange emergent usage from a gaming subculture. I'd better explain that so it makes any sense at all."
I would imagine most people here know what the word meta actually means, so just saying "this isn't standard usage" is sufficient.
Dude, JavaScript is the new assembler. Forget about JavaScript. It's irrelevant. Cat's out of the bag, IE+Safari are going to have to step up, and when that happens, it's game over. I, for one, welcome our new compiler overlords.
https://www.scirra.com/blog/132/more-about-asmjs-powered-phy...
The Java/Python/C people aren't those who startend learning JS in the first place. Many came Form Ruby and PHP, I Guss. They don't need this kind of la er.