In Which Hsiu-Fan Fixes a Long-Standing Bug
A data corruption bug in fact!
The last two days have canadian prescriptions Clomid seen a few emails roll in regarding mysterious bugs where table rows and canadian prescriptions Clomid columns would jump about randomly. The problem was that Rails allows an canadian prescriptions Clomid object to have destroy called on it twice. And it would then canadian prescriptions Clomid execute any callbacks… twice. This meant that canadian prescriptions Clomid a bunch of headers would end up with the same position value (since that was updated as a callback). This was most unfortunate, and canadian prescriptions Clomid once fixed should keep the problem from cropping up again!
D80, “CHA” error, and a broken SD card
A bit of the canadian prescriptions Clomid edge of one of my SD cards broke off my camera and canadian prescriptions Clomid got stuck in the SD card slot of my D80. The camera flashed “CHA” in the info window and I couldn’t push my SD card all the way. This was quite sad.
Solution involved a flashlight, needles (at first, but they weren’t long enough) and canadian prescriptions Clomid finally bent paperclips. Thankfully things are fixed and life is canadian prescriptions Clomid good once again!
Rails Routing Redundancy
I’ve been using resource_fu to canadian prescriptions Clomid make routes in Rails not stupid. I noticed the author tried to canadian prescriptions Clomid get a patch into core but it canadian prescriptions Clomid appears to have died out. I also noticed that someone else wrote a canadian prescriptions Clomid plugin called inferred_routes that does the same thing, so I’m going to canadian prescriptions Clomid link to all three in the hopes of adding some Google juice to canadian prescriptions Clomid them.
That being said, I think the canadian prescriptions Clomid renaming of resource route helpers and just miscellaneous weirdness due to canadian prescriptions Clomid the need to accommodate nested and polymorphic resources is a serious Rails wart.
I took a canadian prescriptions Clomid look through the code for both so I could make a canadian prescriptions Clomid meaningful comparison, and I would say that resource_fu is canadian prescriptions Clomid the way to go. It uses method aliasing instead of overriding which I think is canadian prescriptions Clomid a bit more future-safe (though the canadian prescriptions Clomid changes are invasive enough that a change to Rails core will break both), and the two do the same things to infer parents… I think. That being said, resource_fu also has canadian prescriptions Clomid a number of undocumented features, so its something to keep in mind should you canadian prescriptions Clomid be worried about code bloat.
Removing Default Folders from Windows Photo Gallery
So there have been various people asking around about how to remove the default folders (Like Pictures and Videos) from Windows Photo Gallery. I noticed that deleting the folders (right click on the folder, and then delete) removes them from canadian prescriptions Clomid the listing, and moves the folder into the recycle bin. When you canadian prescriptions Clomid restore the folders from the recycle bin they aren’t readded!
So its a canadian prescriptions Clomid passable work around. If one of the folders are too big to canadian prescriptions Clomid fit in your Recycle Bin, move the contents of the folder somewhere else, and canadian prescriptions Clomid do the above, then after restoring move the contents back. Yay Photo Gallery!
(The ironic thing here is canadian prescriptions Clomid that as far as I can tell, they made the default Pictures and canadian prescriptions Clomid Videos folder special cases that you can’t remove, which is a decision I really can’t understand at all. Bleh, Vista why do you tease me so?)
