ReactJS logo

I’ve been playing around a bit with React, since that’s where all the hot and shiny is lately. I really like it, but I can see some of the hot and shiny warts – I’ll blog about that later after I’ve been fully brainwashed had more time to play with it.

For the purposes of this exercise, one thing I’m trying to do is go the no-build-step route, where it’s all pure HTML and JavaScript. This means no JSX, no npm, no Babel. It’s really not too bad at all (unfortunately almost all examples I’ve seen online use JSX – and understandably).

It’s also given me a good stretch at using ES6 modules natively, one hot and shiny wart I’ve noticed there too.

Read the rest of this entry …

§1099 · October 19, 2017 · JavaScript, Software, Technology, Web · 2 comments ·


JavaScript logo

The last piece heralding the dawn of modern JavaScript (sometimes thought of as ES6, but we’re past that now) arrived last month when two browsers (Chrome and Safari) shipped support for ES6 modules natively without developer flags. It’s now possible to write all this stuff (modules, classes, arrow functions, const/let variables, Promises) using just your code and not relying on transpilers!

Read the rest of this entry …

§1080 · October 17, 2017 · Chrome, Firefox, JavaScript, Safari, Software, Technology, Web · 2 comments ·


I want to believe. SVG as an image format.As promised, I have a tiny thing to announce here. I recently split off and refactored the code that deals binary data in kthoom into a new open source project: https://github.com/codedread/bitjs, Binary Tools for JavaScript.

The faster and faster JavaScript engines in modern browsers and the rise of new technologies like Typed Arrays, Web Workers, and the File APIs mean that browsers can actually be used to read in binary formats completely on the client-side (as long as native performance isn’t a requirement).

For now the library includes two main capabilities:

  • streams for reading in bits and bytes from a Typed Array
  • unarchiving zip, rar or tar files (that’s right, you can unzip and unrar in JavaScript now)
§1026 · September 19, 2011 · JavaScript, Software, Technology, Web · Comments Off on Binary Tools for JavaScript ·


[clipart]Sometimes I get an idea and I just have to see it through to a point where it will let my brain go. At work Thursday we were all slobbering over Steve’s iPad and someone brought up how cool the Marvel app is. I had to admit it was much nicer than any piece of software I’d used for viewing comics before on my laptop.

In the meantime, I’ve been carefully watching WebKit creep closer and closer to implementing the W3C File API (Go Kinuko!). Something I’ve been eagerly waiting for more browsers to do so you can open up local files in SVG-edit.

And then it hit me. Read the rest of this entry …

§832 · April 12, 2010 · JavaScript, RIA, Software, Technology, Web · 3 comments · Tags: , ,


[clipart]Issue 70 has been open for awhile now. In fact it’s one of just a handful of two-digit bugs left in SVG-edit. Now that all browsers have heralded support for SVG into the future, one might argue that the need for this bug will evaporate in a couple years. However, one would be wrong. First, there are lots of mobile browsers out there. Second, in some cases it could be easier to just tell the browser how to draw a collection of dots rather than mathematical instructions (think thumbnails). So how to solve it? Read the rest of this entry …

§782 · March 31, 2010 · JavaScript, RIA, Software, SVG, Technology, Web · 3 comments · Tags: ,