Tutorials Page 127
Gist Shortcode Embed
Blog comments and forum posts are traditionally the worst place to post code, but unfortunately are the frequent hosts of code for developers like us. Many developers choose to post links to more dev-friendly environments like GitHub instead, but there's a certain disconnect that comes with...
Confessions of a Web Developer XIII
It's been quite a while since I've gotten a few things off of my chest and since I'm always full of peeves and annoyances I thought it was time to unleash: As Firefox OS inches toward a 1.0 release, I cannot wait to see how the product changes...
The Truth About Semicolons in JavaScript
There's been a lot of debate over semicolons in JavaScript. Semicolons aren't required due to the nature of JavaScript's automatic semicolon insertion, but they've been been considered a best practice for years. The following illustration sums up my thoughts on semicolon usage within JavaScript: Ultimately it's a...
apple-itunes-app Meta Tag
Whenever you visit the website of a vendor that provides an iOS app, you're either hit by an alert or ugly popup saying "Download our iPhone App!" It's great that they want to pitch their iOS app but the lack of structure and uniformity in the...
An Introduction to Persona
So you've heard of this new hipster login service called Persona. It promises to relieve you of dealing with passwords, and be easy to setup. Can it really? I'm here to walk you through setting up Persona on your own website, in just a...
Tech Recruiter Do’s and Don’ts
Tech recruiting is big business. Hire the right developers and you have the next big thing; hire the wrong developers and you have a team full of egos, problems, and headaches. I've gotten a fair share of recruiter emails over the past five years and, as...
David Walsh on Shop Talk Show
Just wanted to throw you quick heads up that I was recently a guest on Chris Coyier's Shop Talk Show podcast! Here is the topic rundown: David Walsh is a MooTools lover, recent Mozilla-er, and (for a final “M”), fellow original Madisonian with Chris. David has...
afterscriptexecute Event
Fellow Mozillian Daniel Buchner, curator of the X-Tag project and clever developer who showed us how to detect dom node insertions using CSS animations, recently showed me a new JavaScript feature I'd never heard of: the
SCRIPT
element's afterscriptexecute event.Get Class Methods with Python
As a newbie to the excellent world of Python development, I'm not always familiar with the methods provided by imported classes. Oftentimes these classes are well-documented but in the case that methods aren't documented, I found the
dir
function useful for getting a list of methods: The...Empty an Array with JavaScript
Emptying an array is a common JavaScript task but too often I see the task performed in the incorrect way. Many times developers will create a new array: That isn't the optimal way to get a fresh array; to truncate an array, and thus empty it, you...