All posts by Ash Blue

Ashton Blue is a web developer in San Francisco who engages in helping its citizens, design meetings, fighting the occasional nemesis, and public speaking. He also has a noteworthy obsession with coffee...

A Star (*) Pathfinding Speech at SF HTML5 Developer Conference

One of the biggest frustrations with getting into AI, is understanding the basic algorithms. As most information sources out there expect you to already understand them. Inspired by my own struggles in AI, I gave an interactive demo explaining the A Star (*) Pathfinding Algorithm from the ground up.

Continue reading A Star (*) Pathfinding Speech at SF HTML5 Developer Conference

HTML5 contenteditable Backspace Bug Fix

When editing text in HTML5’s contenteditable attribute you probably need to have all of your content wrapped with <p> or <div> tags like so.

<p>My text</p>
<p>Another line of text</p>

The problem is if you do the following it will screw up your block formatting and dump in empty lines of text. Which is nasty formatting you don’t want and the cursor placement will start wacking out in your contenteditable area.

Continue reading HTML5 contenteditable Backspace Bug Fix