24 Sep 12

Sep. 24th, 2012 09:34 pm
tithonium: (Default)
[personal profile] tithonium
Spent the day fighting with two broken things. First.. I'm using ActiveRecord in a Sinatra app. If mysql drops the db connection because it's idle, which happens after 8 hours, iirc, then the app will throw an error the first time you hit it, then work after that. I dug down into the code and finally found that connection.active?, which is supposed to return false if the connection has dropped, is falsely returning true. If I manually run .clear_cache!, which wipes the prepared-statement cache, then .active? returns the correct value, and everything works perfectly. WTF? So, for now, I'm just clearing the cache every single damned hit. Lame.
Second, tests that I've been trying to get to pass for four business days. Finally got down to only one failing, and gave up. For now, anyway.

Got HD ripping working on Vela.. Both HD-DVD and BluRay are now ripping. Slowly. Very very slowly.

Went to Olive Garden for dinner, because I was craving chicken scampi. Was tasty.

[livejournal.com profile] loree started describing what she wants for the next part of the norwescon ConMan work, because she doesn't like me having free time or sanity, apparently.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

tithonium: (Default)
tithonium

February 2019

S M T W T F S
     12
3456789
10111213141516
17181920212223
2425262728  

Expand Cut Tags

No cut tags