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 ·


I want to believe. SVG as an image format.Oh, I forgot to mention a cool thing that happened at the beginning of the year while I was so busy: Wikipedia inched a step closer to having an in-browser editing experience for its impressive collection of vector image files via an experimental MediaWiki Extension. The extension was put together by Brion Vibber of StatusNet and WikiMedia fame. Fingers crossed for this to one day appear in Wikipedia! 🙂

§1013 · February 24, 2011 · Software, Technology, Web · 2 comments ·


I want to believe. SVG as an image format.I’ve been busy at my day job not launching code, but over the weekend I had some fun converting kthoom‘s unzip/inflate algorithm from using binary strings to using Typed Arrays. Typed Arrays mean native binary data that is accessible to JavaScript in the browser, making operations like unzip much much faster (like 4x). Read the rest of this entry …

§1005 · February 23, 2011 · Firefox, Google, Software, Technology, Web · Comments Off on TypedArrays make me theoretically happy ·


I want to believe. SVG as an image format.I’ve updated my marketshare spreadsheet for Nov 2010 charting the percentage of web users who can view SVG and Canvas: 44.57%