Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

Why is the first post in a thread sometimes Reply #0 and sometimes Reply #1?

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
This topic is archived.
Home » Discuss » The DU Lounge Donate to DU
 
Orrex Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Mar-26-09 08:55 PM
Original message
Why is the first post in a thread sometimes Reply #0 and sometimes Reply #1?
Edited on Thu Mar-26-09 08:55 PM by Orrex
Is this some kind of weirdo binary mind-fuck or something?!?

Printer Friendly | Permalink |  | Top
mainegreen Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Mar-26-09 08:57 PM
Response to Original message
1. database race conditions I imagine.
A deadlock for the current post counter record, and one must fail. But rather than fail the whole post, insert NULL in the post count field, which for the first person more than likely defaults to 0 at the database.
Printer Friendly | Permalink |  | Top
 
Orrex Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Mar-26-09 09:01 PM
Response to Reply #1
3. I don't think I like your tone, buddy
Spare me your "knowledge" and "information," please. :mad:
Printer Friendly | Permalink |  | Top
 
mainegreen Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Mar-26-09 09:03 PM
Response to Reply #3
6. I like talking that way because I'm a New England Elitist Snob.
I wearing my sweater snobbishly right now.
Printer Friendly | Permalink |  | Top
 
Orrex Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Mar-26-09 09:04 PM
Response to Reply #6
8. Well, how could you wear it otherwise?
Like a Pennsylvanian?!? Puh-leeze!
Printer Friendly | Permalink |  | Top
 
Ptah Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Mar-26-09 08:59 PM
Response to Original message
2. It depends on whether or not the OP previews the thread..
Printer Friendly | Permalink |  | Top
 
Orrex Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Mar-26-09 09:01 PM
Response to Reply #2
4. What if I preview it twice?
Could I give my thread 50 or 100 views before it's ever posted?
Printer Friendly | Permalink |  | Top
 
Ptah Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Mar-26-09 09:03 PM
Response to Reply #4
5. Max of one count per new thread, I think.
Printer Friendly | Permalink |  | Top
 
flvegan Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Mar-26-09 09:04 PM
Response to Original message
7. These are not the droids you're looking for.
Printer Friendly | Permalink |  | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Fri Apr 26th 2024, 12:07 AM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » The DU Lounge Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC