Neato!

Post thumbnail

When building high performance Django sites, keeping the number of queries down is essential. And just like controlling technical debt and maintaining test coverage, being successful means making monitoring queries a natural part of your workflow. If your momentum has to be stopped to examine database queries, you’re not going to do it. The solution…

Read More Check yo queries before you wreck yo site

I finally got around to updating my canvas / sql visualization code. Interacting with the map is now much easier. And I’ve posted a live demo of it here: http://crccheck.com/demo02 It’s not as refined as google maps, but it’s still pretty fancy. Navigation is done in the minimap, and you can draw on the large…

Read More A new canvas demo

I wanted to write a Greasemonkey script to modify all mailto: links on a page, but to do that, I have to find them first. Here’s my first attempt: //a[@href]/text()[contains(.,”@”)] It’s pretty bad. I wanted to find links starting with “mailto:” but couldn’t figure out how to operate on the href attribute. second attempt: //a/@href[contains(.,”mailto:”)]/..…

Read More Using XPath to find email address links