All articles about Javascript
2023
DOM
2016
Accessing Local Storage from a Web Worker
A quick how-to to work around the limitations on accessing LocalStorage from within a Web Worker instance.
Structured messages with TypeScript
Exploring how to use newer features of the TypeScript type system to work with structured messages in the browser.
2013
Triggering CSS transitions on new elements
A work around to ensure that CSS transitions trigger for newly added DOM elements.
A TypeScript & alt JS grab bag
Various and sundry observations about altJS languages, with a focus on TypeScript.
Modeling union types using only functions
The lambda calculus is the basis for functional programming. Church's encodings in the untyped lambda calculus show an interesting pattern that parallels union types in languages like Haskell. Here I try to show how these discriminated union types can be implemented using only javascript functions.
ANN: Color.js 1.0
color.js
, my color management library for JavaScript, has hit 1.0.
A clarification
duck-wrapping types
Duck-wrapping
If it doesn't quack like a duck, wrap it in a duck. Or don't.
2011
ANN: An improved Clojure brush for Syntax Highlighter
Introducing a new Clojure brush for the Syntax Highlighter javascript library.
Simple L‑system generation
A simple but functional implementation of L-Systems in Clojure.
CoffeeScript comprehensions are broken
An examination of List Comprehensions in several languages, how Coffeescript's ‘comprehension’ semantics differ from the common case, and limitations that arise.