Issues » 163

This week's JavaScript news Archive | Read this issue on the Web
JavaScript Weekly Issue 163
January 10, 2014
Editor: Dr. Axel Rauschmayer Managing editor: Peter Cooper
JavaScriptWeekly.com Gets Search and Proper Archives
It's been a long time coming, but the official JavaScript Weekly site now has proper archives and, even better, full-text search (for example, all items about Ember). It's still early days but it might come in handy to re-find items from old issues :-)
Featured
Frida: Inject JavaScript to Explore Native Apps On Windows, Mac, Linux and iOS Calling itself ‘Greasemonkey for native apps’, Frida is a dynamic code instrumentation toolkit that lets you inject JavaScript into native apps on several platforms.
Ravnås and Kalleberg
Stop Writing JavaScript Compilers! Make Macros Instead Mozilla’s James Long explains JavaScript macros, as implemented via Sweet.js. Two benefits of macros are that they enable polyfilling of new syntax and composable language extensions (extensions such as React’s JSX are not mutually exclusive, anymore).
James Long
jQuery UK 2014 – May 16, 2014 – Early Bird Tickets On Sale
jQuery UK
ng-conf 2014 To Stream Live Online on January 16/17 The link is just to the conference’s homepage, but if Angular is your thing and you can’t make it to Salt Lake City, put it in your calendar to watch their live stream next Thursday and Friday.
ng-conf
From our Sponsor
Reading
Closures in JavaScript Roughly, a closure is the combination function plus connection to “surrounding” variables. This article explains the details.
Kirupa Chinnathambi
Gulp Is The New Black Gulp is a new build tool for JavaScript and web development. Where the popular Grunt is declarative, Gulp is more imperative. This blog post by Shaun Dunne gives an introduction to Gulp. Additionally, the blog post “Gulp, Grunt, Whatever” by Nicolas Bevacqua has a shorter intro and more on the “Gulp versus Grunt” debate (spoiler: each has a role to play).
Building An In-Browser JavaScript VM and Debugger Using Generators JavaScript, implemented in JavaScript.
Amjad Masad
Refactoring Your JavaScript Code with Grasp Grasp is a command line tool for syntactically transforming JavaScript code. This article gives examples of using it.
George Zahariev
Introduction to HTML5 Desktop Apps With Node-Webkit node-webkit is an app runtime based on Chromium and Node.js that enables you to write desktop applications as a combination of HTML5 and Node.js code.
Nettuts+
Why I Am Switching to Promises A comprehensive look at Promises, a pattern for asynchronous programming. Covers error handling, implementations, performance, debugging and more.
Gorgi Kosev
Recreating THX’s Deep Note in JavaScript with The Web Audio API
Stuart Memo
Ember.js Components: A Deep Dive Also mentions how Ember’s component infrastructure related to Web Components.
Nettuts+
Four Smooth AngularJS Application Tips
Nathan LeClaire
Cookies Versus Tokens, Getting Authentication Right with AngularJS
Alberto Pose
Making a JS Trailing Comma Remover Trailing commas are ignored in ECMAScript 5, but can cause problems on older engines. This article explains how to use the syntax transformation library falafel to remove them.
Toby Ho
Evaluating JavaScript Code Via eval() and new Function() Explains the basics of dynamically evaluating code in JavaScript. A crucial aspect is in which scope code is evaluated (locally via direct eval() versus globally via indirect eval() and Function). Use cases are also briefly mentioned.
Axel Rauschmayer
Beyond pushState – Building Single Page Applications Recent APIs have given us a lot of control over browser histories, but it is still tricky to get every user experience aspect right. This article covers important details: going back quickly to how the page looked previously; remembering the scroll position; etc.
Daniel F Pupius
Creating Your First Grunt Plugin
JavaScript Playground
React vs Angular
Sean Clayton
JSCert: A Trusted Mechanised JavaScript Specification [PDF]
Bodin, Charguéraud et al.
Watching
EmberFest Videos Now Online The videos of the talks at the EmberFest in August 2013 are now online. Each talk is approximately 20 minutes long. Topics include “Ember Reusable Components and Widgets”, “Complex Architectures in Ember” and “Ember-Data, the Way Forward”.
Jobs
Senior or Junior Engineer at View The Space (New York, NY) View The Space is a fast growing online leasing platform for commercial real-estate brokers and we need your help. If you love learning new technologies and have experience with Javascript, Angular, Rails, IOS, TDD or all of the above, you'd be a great fit!
Full Stack JavaScript Engineer @ StyleSeat [San Francisco, CA] StyleSeat is the largest and fastest growing marketplace in the beauty industry. We're looking for a Full Stack JavaScript Engineer to join our team and help us launch the consumer side of our marketplace business. Node and Angular experience ideal.
Code, Libraries and Tools
Ember.js 1.3.0 and 1.4 Beta Released Version 1.3 brings improvements to testing, promises and more. Version 1.4 improves debugging, routing and more.
Ember.js Blog
Ocrad.js: Optical Character Recognition in JavaScript The Ocrad project, compiled to JavaScript via Emscripten. Check out the live demo on the page, which does not need a server for the OCR(!)
JavaScript 2D Canvas Libraries A Google Spreadsheet comparing various 2D Canvas libraries.
kangax
ConvNetJS: Deep Learning in Your Browser A JavaScript library for training Deep Learning models (mainly Neural Networks).
Andrej Karpathy
ngmodules: Directory of AngularJS Modules, Plugins and Directives
ngmodules.org
Semicolon.js – The Most Useful JavaScript Library for Cargo Cult Programmers A library that is more about making a stylistic point than about being useful in practice. Hard to beat its size!
Dmitry Chestnykh
texlive.js: LaTeX Compiler in JavaScript
$.whenLive: Receive Events When Elements Become Available in The DOM
Tim Ambler
Last but not least..
Hack Reactor: $100k Average Salaries. 98% Hiring Rate Become a full-stack engineer in 12 weeks at Hack Reactor’s software career accelerator. Includes 800 hours of instruction, Hiring Day and technical interview prep.
Hack Reactor  Sponsored
Published by Cooper Press.
Want to sponsor an issue? See our media kit.

© 2014 Cooper Press Ltd. Email policy Privacy policy
Cooper Press, Fairfield Enterprise Centre, Louth, LN11 0LS, UK
Update your email address
or unsubscribe here
ONE e-mail each Friday. Easy to unsubscribe. No spam — your e-mail address is safe
Published by Cooper Press and curated by Peter Cooper