Forum Overview :: Site Comments
 
PLEASE DON'T BEAT ME TOO MUCH by Senor Barborito 03/09/2003, 3:41am PST
Because we are stupid and like to play cowboy with caltrops.com (and do really dumb things like only backup once a week if we're feeling shitty, etc. - but fortunately I lucked out today and we backed up so close to the time I fucked everything up that only one post was lost) we do live updates to the post database. This results in MY stupidity of typing things like the following into psql:

update posts set post_text='blah blah blah'; WHERE pid='####';

instead of:

update posts set post_text='blah blah blah' WHERE pid='####';


The problem is that the first example, what I actually typed in this case, updates every post in the forums to read 'blah blah blah'

The result is what happened today.

Fortunately, owing to the fact that I happened to be experimenting with how to enter a newline character into the 'blah blah blah' textfield, I backed up just beforehand and we lost a single post by a guy named 'Lort' (sorry, guy, hope it wasn't too long).

Anyways, first thing we're going to do around here is up the backup frequency a whole hell of a lot. The second is to write an admin interface (ES will probably be doing this).

Sorry for the downtime. If blaming a misplaced semicolon doesn't seem to cover the depth of your rage, blame Vag for making yet another warez link after expressly being told not to, which is what kicked off the flurry of editing in the first place (hey, since I can't handle being wrong, it's what I'm doing).

--SB
NEXT REPLY QUOTE
 
PLEASE DON'T BEAT ME TOO MUCH by Senor Barborito 03/09/2003, 3:41am PST NEW
    It counts as an update. Victoire! (nt) NT by conflictNo 03/09/2003, 6:11pm PST NEW
    I CAN SEE AGAIN! PRAISE THE LORD! by Llort 03/19/2003, 7:16pm PST NEW
        BARBIE MUST DIE. KILL HIM!!! -nt- by laudablepuss 03/20/2003, 1:37pm PST NEW
    Guess What? by chimp 03/20/2003, 10:03pm PST NEW
        *claps hands to face* by Senor Barborito 03/20/2003, 10:35pm PST NEW
            Yes I see now by chimp 03/20/2003, 10:50pm PST NEW
                STOP FUCKING NMAPING ME!!! NT by chimp 03/20/2003, 11:12pm PST NEW
                    ONO by chimp sucks dick 03/20/2003, 11:38pm PST NEW
                *sighs* by Senor Barborito 03/20/2003, 11:43pm PST NEW
 
powered by pointy