found drama

get oblique

Category Archives: Code

Shell scripts, JavaScript pedantry, CSS fixations, Java debugging, and the rest of the polyglotism.

review: HTML5 and JavaScript Web Apps

by Rob Friesel

I was drawn to Wesley Hales’ HTML5 and JavaScript Web Apps (O’Reilly, 2012) because it seemed right up my alley — a book about all the latest client-side technologies 1 for building enterprise grade “HTML5-based” web apps. At around 150 pages, Hales takes us on a whirlwind tour of these new technologies and tactics, taking […]

review: Accessibility Handbook

by Rob Friesel

Katie Cunningham’s The Accessibility Handbook (O’Reilly, 2012) is a concise and specific introduction to accessibility (a11y) and 508-compliance. Cunningham provides a “walking tour” of the major types of disabilities that web developers need to consider when creating a site for a11y, illustrating how people with those disabilities will use a site, and then detailing easy […]

using lists to hold parameters for Compass functions

by Rob Friesel

This past weekend at Vermont Code Camp, I caught Mike Fowler’s presentation, “Crafting Scalable Stylesheets”. In that presentation, he discusses this notion of “smart” variables (slides 32 through 35), wherein we provide an argument to a mixin (or even just a simple @if statement), and then based on that argument’s type-of value, we select a […]

headless JavaScript unit testing with Jasmine and PhantomJS

by Rob Friesel

Yesterday, I gave a talk (slides are here, and/or rate my talk here) at the fourth Vermont Code Camp on how to run fast, reliable, headless unit tests for JavaScript using the Jasmine BDD test framework and PhantomJS. What follows here is a summary of “the meat” of the talk: specifically, how to execute your […]

review: Learning JavaScript Design Patterns

by Rob Friesel

Goodreads.com has a community guideline that states that reviews must be about the book, and not about the author. Now, I happen to agree with the spirit of this guideline, but I also feel like that guideline gets a little fuzzy when you’re looking at non-fiction, and especially fuzzy when you’re talking about technical books. […]

review: Regular Expressions Cookbook

by Rob Friesel

Although I run the risk of fawning all over this book here, Jan Goyvaerts and Steven Levithan’s Regular Expressions Cookbook (Second Edition) (O’Reilly, 2012) is a technical text that I will gladly describe using words like “essential” and “indispensable” and “invaluable”. It should be on every working programmer’s bookshelf, if not on her desk. It […]

Danielewski.js

by Rob Friesel

Inspired by @fat’s @angustweets’ 1 “If Hemingway wrote JavaScript”: if Mark Z. Danielewski (author of House of Leaves) wrote JavaScript: // The narrator leaks globals but we cannot know if he intends this; we are // forced to trust him. There is no going back. stairs = this[‘stairs’] || {}; stairs[‘0’] = null, stairs[‘1’] = […]