Category: JavaScript
-

Run Your Own Television Network with Channel Two
YouTube allows anyone to be the star in their own television show, but the true dream job of every little girl and boy has still been out of reach: Vice President of Program Scheduling. But today, that dream becomes reality. Channel Two is a web application I’ve written that allows you to run your own…
-
Typo.js 1.2.1 Released
I’ve tagged and released version 1.2.1 of my pure JavaScript spellchecker, Typo.js on npm. The only change in this version from 1.2.0 is that it’s now less susceptible to a regular expression Denial of Service attack, which is to say that it more elegantly handles .aff files with lots of consecutive whitespace. (Thanks to huntr.dev…
-
Turn your Mac OS Photos library into a Web photo album
Six years ago, I released iPhoto Disc Export, a tool for exporting an iPhoto library as a standalone website. Now that iPhoto is no longer supported on the newest versions of Mac OS, I was force to update the software to work with Photos. Enter Photos Disc Export. Photos Disc Export is a a PHP…
-
Turn Your X-Carve into a Plug Cutter
One of my favorite aspects of Inventables’s X-Carve CNC router is Easel, their free online carving software. My favorite part of Easel is that it is programmable — you can write apps for it. Apps automate tasks like turning an image into a puzzle, carving gears, or making inlays. Inventables has written nine apps and…
-
Introducing Reenact: an app for reenacting photos
Here’s an idea that I’ve been thinking about for a long time: a camera app for your phone that helps you reenact old photos, like those seen in Ze Frank’s “Young Me Now Me” project. For example, this picture that my wife took with her brother, sister, and childhood friend: Reenacting photographs from your youth,…
-
Turn your iPhoto library into a Web photo album
Update: Now that Apple has dropped support for iPhoto, you may be more interested in the new version of this software, Photos Disc Export. iPhoto is good for managing and organizing photos and photo metadata, but it’s not easy to get that information back out if you want to share more than a few photos.…
-
A practical application of Typo.js
I released Typo.js about two years ago as a pure JavaScript implementation of the Hunspell spellchecker. I’ve been using it in Comment Snob for Chrome, but I haven’t seen many other projects using it. (JavaScript spellchecking is a very narrow niche, to be fair.) A few days ago, however, I was made aware of a…
-
Announcing Typo.js: Client-side JavaScript Spellchecking
In which I spend lots of time on something that will eventually be made obsolete by a Chrome extension API.
-
Uploading form data and files with JavaScript (Mozilla)
A code snippet that will be of great value to very few people.
-
Facebook Image-to-Email: Broken Again
I am aware that the Facebook Image-to-Email Firefox extension is (once again) broken, and given that version 1.1 installed on Firefox 2.0.0.8 was working, and now version 1.1 installed on Firefox 2.0.0.8 is not working, it has to be due to a change that Facebook made. The problem is that I can’t discern any relevant…
-
Convert Facebook e-mail images to actual e-mail links
The massively popular social network Facebook uses images to display the e-mail addresses of your friends, making it impossible to copy the e-mail address or click on it to send e-mails to your friends, thus making Facebook’s own proprietary in-site messaging system more attractive to its users. Yesterday, Gervase Markham posited that it should be…
-
Pownce has a big security problem
Kevin Rose’s latest project, Pownce, has a glaring security problem on its front page. The JavaScript that Pownce uses in its login form can reveal your password in plain text on the screen. Here are the steps to reproduce the problem in Firefox: Login to Pownce via http://www.pownce.com/. Allow Firefox to save your login information…
-
Extending JavaScript
There are a lot of common programming algorithms that are built into various languages as functions: checking if an array contains a certain item, trimming a string, mapping a function to an array, etc. JavaScript doesn’t have a lot of these built-ins, but with prototypical inheritance, it’s easy enough to add them. I’m thinking it…
-
Video Tutorial: The JavaScript Programming Language
Yahoo!’s video of Douglas Crockford’s The JavaScript Programming Language lecture is definitely the best overview of JavaScript that I’ve ever seen. (The first part is embedded below, and the remaining 3 parts are linked after that.) I saw it a while back, but it’s been getting a fair amount of press in the social media…