jarrin
News
Interests
My House
Personal
Feedback
Garage Sale
Donate


Search just this section


 
Like Grains of Sand
"u were in my dream last nite. we were sitting in the back of a moving car and you told me with fear in your voice, "andrea. i don't think i want to build robots anymore. i'm afraid they will kill me"."
- Andrea
"I can't tell if you're joking or insane, [jarrin]. This is a common problem."
-Hedgie



Vaxjo: kdawson is the Cory Doctorow of Slashdot. And I'm sick of both of them.
Vaxjo: kdawson is the Cory Doctorow of Slashdot. And I'm sick of both of them.

Vaxjo: Jeffery #5 apprehended, isolated and released. That's got to be the last one!
Vaxjo: Jeffery #5 apprehended, isolated and released. That's got to be the last one!

Vaxjo: @bethescudder I'm pretty sure the entirety of House of Leaves was a footnote.
Vaxjo: @bethescudder I'm pretty sure the entirety of House of Leaves was a footnote.

Temperature

National Security Letter
I have not received a National Security Letter.


Journal
jQuery Selector Performance
I just got done spending a few hours debugging some slow jQuery and thought that I should share the summary of my findings with the world at large. Always try to use an id or class designation when selecting DOM elements. For example, on a page with about a megabyte of HTML I had this selector:
var firstRow = ("#aspxGrid table tr td table tr:first");
That one line took nearly eight seconds to execute. I poked around in the HTML a bit and was eventually able to change it to (approximately):
var firstRow = ("tr#_DXHeadersRow");
That line now executed in just one millisecond. Say it with me, "just one millisecond". I hope you've learned something today.