]> CodeDread Blog | Google

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 ·


I want to believe. SVG as an image format.Grooveshark recently deployed an updated UI done in HTML5 instead of Flash. In a word, it’s awesome. Scrolling is smoother. Text is fully selectable. I like being able to resize the UI (I don’t think their previous Flash interface allowed zooming at all). I really hope Grooveshark can find a successful revenue model that will keep it alive. Read the rest of this entry …

§969 · December 5, 2010 · Google, Microsoft, Software, Technology, Web · 7 comments ·


[clipart][clipart]While it sounds like the name of a bad porno, it’s clearly good marketing strategy by Google to bring content authors to the Android platform and to court tool-maker Adobe.

But I still say that the introduction of the iPad is a signal of doom for Flash-as-a-format. On the other hand, as Adobe gets more serious about producing HTML5, SVG, Canvas, JavaScript from their Flash IDE, well…

§847 · April 28, 2010 · Adobe, Android, Google, Software, Technology · Comments Off · Tags: , , ,


[clipart]SVG-edit has far exceeded my expectations in the seven months since I’ve been working on it. The people I’ve met there have been amazing and it’s been really fun to watch the project grow both in members and in capabilities. Without the people working on it, people like Alexis (now the top contributor) and wormsxulla (whip-cracker on UI translations) and others, there wouldn’t be a project – that much is obvious. But would you like to know the secret sauce in the SVG-edit project? Of course you would. Read the rest of this entry …

§589 · January 22, 2010 · Google, JavaScript, RIA, Software, SVG, Technology, Web · 2 comments · Tags: , , ,


I was impressed with the announcement of Google Wave at Google I/O two weeks ago. Thanks to being in attendance, I was able to get a sandbox account and start checking it out. Of course because there aren’t a lot of people that I know on there and after getting shinied for a week doing simple things (or sometimes nothing at all), I needed to take a break. But Google Wave led to GWT which led to the idea of automating web application testing.

One of the interesting things about Google Wave is that it was implemented using the Google Web Toolkit (GWT, pronounced ‘gwit’ apparently). GWT is a Java-based framework that compiles your code to HTML/JS/CSS. Like a lot of folks, I was skeptical about this idea (particularly since none of the significant Google web services were built using GWT). The fact that Google has implemented a major service on top of this toolkit now gives me a sense that GWT has been put through its paces.

Anyway, after the announcement, I adjusted my second day conference schedule so that I could take in the session on Wave and GWT. As part of this talk, they mentioned how they use WebDriver to automate testing of Wave across browsers. I had never really heard about automating web app testing, so I found the notion particularly interesting. Has anybody had any success with Selenium or WebDriver on apps that use SVG or Canvas?

Really briefly I tried to use the Selenium IDE extension for Firefox to run a test on the svg-edit demo. Unfortunately it doesn’t seem possible to capture the mouse click/movement on SVG elements, which means it’s a non-starter for me at the moment. I signed up for an account with OpenQA and asked an unanswered question. Note that after I asked this question, the svg-edit app abandoned its use of the <object> tag in favor of inline SVG that is programmatically added to the page. Unfortunately this resulted in the same effect: Selenium IDE ignores mouse clicks within SVG elements. Bummer.

I then tried to submit a bug only to find that OpenQA’s JIRA was crashing. To report THAT bug I’d have to sign up with an account at atlassian and that’s just too many degrees away from where I want to be. No one was around on the #selenium channel in IRC Freenode so I gave up for now. Hot Tip: if you want to build a community, make sure basic things like signing in to your bug tracker work!

§537 · June 8, 2009 · Google, Software, SVG, Technology, Web · 2 comments · Tags: , , , , , ,