Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Slashdot Posting Bug Infuriates Haggard Admins 262

Last night we crossed over 16,777,216 comments in the database. The wise amongst you might note that this number is 2^24, or in MySQLese an unsigned mediumint. Unfortunately, like 5 years ago we changed our primary keys in the comment table to unsigned int (32 bits, or 4.1 billion) but neglected to change the index that handles parents. We're awesome! Fixing is a simple ALTER TABLE statement... but on a table that is 16 million rows long, our system will take 3+ hours to do it, during which time there can be no posting. So today, we're disabling threading and will enable it again later tonight. Sorry for the inconvenience. We shall flog ourselves appropriately. Update: 11/10 12:52 GMT by J : It's fixed.
This discussion has been archived. No new comments can be posted.

Slashdot Posting Bug Infuriates Haggard Admins

Comments Filter:
  • by bernywork ( 57298 ) * <.bstapleton. .at. .gmail.com.> on Thursday November 09, 2006 @11:46AM (#16786073) Journal
    *Clap clap clap*
  • we shall flog ourselves appropriately


    Please do.
  • by AppHack ( 622902 ) on Thursday November 09, 2006 @11:47AM (#16786079)
    ... roll over to be a last post?
  • D'oh. (Score:5, Insightful)

    by NeuralAbyss ( 12335 ) on Thursday November 09, 2006 @11:47AM (#16786089) Homepage
    Anyone could have made the mistake.. good to keep us all in the loop though :)

    And let this be a reminder to the kids - RTFM, twice!
  • I for one (Score:5, Funny)

    by MrBulwark ( 862510 ) on Thursday November 09, 2006 @11:48AM (#16786097)
    welcome our 2 to the power of X overlords.
  • Last post! (Score:5, Funny)

    by buro9 ( 633210 ) <david&buro9,com> on Thursday November 09, 2006 @11:48AM (#16786103) Homepage
    Last post!
  • by admdrew ( 782761 ) on Thursday November 09, 2006 @11:49AM (#16786117) Homepage
    Alright, who's the joker who posted the 16,777,216th comment?

    Thanks for breaking slashdot, jerk :D
  • Oh Noes! (Score:5, Funny)

    by The Mysterious X ( 903554 ) <adam@omega.org.uk> on Thursday November 09, 2006 @11:49AM (#16786125)
    Its like y2k, only worse!
  • Oops (Score:2, Funny)

    by Irish-DnB ( 161087 ) *
    As Nelson Muntz would say "HA HA"
  • Congrats taco (Score:5, Interesting)

    by LiquidCoooled ( 634315 ) on Thursday November 09, 2006 @11:49AM (#16786133) Homepage Journal
    Does this mean that comment id#16777215 has the longest thread in history?

    Can anyone actually find it to see - I tried but could only get to 16777217 [slashdot.org], its likely to be in a journal or just a reply to an older article.
    • Re: (Score:3, Informative)

      Does this mean that comment id#16777215 has the longest thread in history?
      Not likely. The parent pointer doesn't just max out (I would think, but I don't know how SQL handles things like this), but rather roll over. So many comments would point at random other comments as their parent. Except that nearly all of these would in fact be in a different article, and would therefore not form a thread.
  • by Anonymous Coward on Thursday November 09, 2006 @11:50AM (#16786141)
    As if a thousand geeks all made the same damn "last post!" joke at once. . . . . .
  • by The_Wilschon ( 782534 ) on Thursday November 09, 2006 @11:50AM (#16786147) Homepage
    I mean, look how quick we got to 16M comments. 4.1 Gigacomments will come in hardly any time at all. I predict we'll be doing all this again in merely a few weeks!
  • by Rob T Firefly ( 844560 ) on Thursday November 09, 2006 @11:51AM (#16786159) Homepage Journal
    I wonder who posted comment #16777216. That person should win some sort of "I borked Slashdot!" award.
  • by PFI_Optix ( 936301 ) on Thursday November 09, 2006 @11:51AM (#16786169) Journal
    "it's like y2k but worse"

    I know what you mean. Y2K was supposed to put an end to civilization, but at least we'd have been able to post on slashdot.
  • by jihadi_schwartz ( 989888 ) on Thursday November 09, 2006 @11:51AM (#16786171)
    ...why wasn't this problem discovered on the dev system in advance?
  • by 0racle ( 667029 ) on Thursday November 09, 2006 @11:52AM (#16786183)
    Anyone could have made the mistake
    But it's so much funnier when that anyone is not you.
  • Taken from http://franksworld.com/blog/archive/2005/01/04/600 .aspx

    Chapter 2: Destructional Patterns

    2.4 Detonator

    The Detonator is extremely common, but often undetected. A common
    example is the calculations based on a 2 digit year field. This bomb
    is out there, and waiting to explode!
  • Check out... (Score:3, Interesting)

    by BJH ( 11355 ) on Thursday November 09, 2006 @11:53AM (#16786203)
    ...comment 16777215 [slashdot.org].
    Mmmm... CT, are you sure the parent index was your only problem?
  • 2^24 (Score:5, Funny)

    by Anonymous Coward on Thursday November 09, 2006 @11:54AM (#16786219)
    "2^24 comments ought to be enough for anyone" -- CmdrTaco
  • by jamie ( 78724 ) * <jamie@slashdot.org> on Thursday November 09, 2006 @11:54AM (#16786231) Journal

    Some of you are asking which comment it was that got the cid 16,777,216. The answer is that none did. For redundancy, Slashdot is now running multiple-master replication which skips values for auto-increment [mysql.com]. Our db-1 assigns odd-numbered primary key IDs, and db-2 assigns even-numbered. Right now writes are going to db-1 so newly created rows will have only odd IDs.

    The comment that got 2**24-1 was this one [slashdot.org], if anyone cares :)

    Sorry about the inconvenience, everyone.

  • Digg? (Score:5, Funny)

    by Afrosheen ( 42464 ) on Thursday November 09, 2006 @11:55AM (#16786235)
    That's cool, I'll just pretend I'm on Digg, with its 1981 Commodore 64 BBS-style threading.

      Wait..sorry Commodore fans. I know it had better threading than Digg.
  • Haggard? (Score:5, Funny)

    by Anonymous Coward on Thursday November 09, 2006 @11:55AM (#16786249)
    Haggard admins? Does this mean that the Admins will go buy some meth and get a massage?
  • by eldavojohn ( 898314 ) * <eldavojohn@noSpAM.gmail.com> on Thursday November 09, 2006 @11:55AM (#16786251) Journal
    Uh, this is a reply to the 8th post down from the top (remember to use this like an array and zero reference). Yes, I'm talking to you, admdrew.

    You claim that the 16,777,216th comment would have broke it but I contest that actually the 16,777,217th comment poster would be the culprit. Since it should be able to handle that many comments if it is zero referenced, and it would actually be the one after that one that would break it. You laugh but these kinds of problems plague a lot of coders?

    If you don't agree with me, please respond below and reference my comment ID.
  • by DrJimbo ( 594231 ) on Thursday November 09, 2006 @11:57AM (#16786273)
    ... should have been enough for anyone.
  • Holy Chit! (Score:5, Funny)

    by RedCard ( 302122 ) on Thursday November 09, 2006 @11:58AM (#16786289)
    No threading? Welcome to Farkdot.
  • So let me guess...the parent index has been lost forever?

    Hopefully it just rolled over, and you can add 2^24 to every value to get the parent links back.

    Though I somehow doubt that will work.
  • Re:OMG (Score:3, Funny)

    by jZnat ( 793348 ) * on Thursday November 09, 2006 @11:59AM (#16786305) Homepage Journal
    Posting comments is my entire life!! What will I do?? :-(
    I know how you feel; reading them is my life, too.
  • And? (Score:5, Funny)

    by Lars T. ( 470328 ) <Lars,Traeger&googlemail,com> on Thursday November 09, 2006 @12:00PM (#16786325) Journal
    Sorry for the inconvenience. We shall flog ourselves appropriately.
    And post the YouTube link?
  • by Temuar Skylari ( 1008449 ) on Thursday November 09, 2006 @12:03PM (#16786369)
    Dupe! I TOTALLY posted this story like, last WEEK man! (I laugh, but I betcha someone might post this in seriousness)
  • by camusflage ( 65105 ) on Thursday November 09, 2006 @12:04PM (#16786381)
    Flogging and Haggard in the same sentence? If we can get "crystal meth" in, we'll hit the trifecta!
  • Sounds Familiar (Score:5, Informative)

    by old_skul ( 566766 ) on Thursday November 09, 2006 @12:04PM (#16786385) Journal
    I used to work at Comair. Remember, that airline that stranded about 10,000 people in the airport a couple of Christmases ago? Same deal. Program was capable of handling only a certain number of changes. Hopefully your president won't have to resign.
  • Did anyone else read the headline and think that's what it was about?
  • by tlhIngan ( 30335 ) <slashdot.worf@net> on Thursday November 09, 2006 @12:05PM (#16786391)
    So is the bug still in the CVS revision of Slash, or was it fixed 5 years ago and Slashdot never applied the patch?
  • by davidwr ( 791652 ) on Thursday November 09, 2006 @12:05PM (#16786397) Homepage Journal
    Give a 2^0-year Slashdot subscription to the guy who hit the limit and one to the the first non-administrator guy who successfully posted after the fix.

    If you can find the first guy who COULDN'T reply due to the limit, give him one too. He deserves something for his trouble.
  • by DeadCatX2 ( 950953 ) on Thursday November 09, 2006 @12:05PM (#16786399) Journal
    Actually, comment 16,777,217 couldn't break it, because that comment's parent cid could have only been 16,777,215. Up until then, there wouldn't have been an overflow value put into the db.

    There's no telling which comment it is, because (16,777,217 + 2n) might not have been a reply, meaning it would come up correctly.
  • Dorks. (Score:4, Funny)

    by morgan_greywolf ( 835522 ) on Thursday November 09, 2006 @12:07PM (#16786419) Homepage Journal
    Does this mean that Slashdot is going to denegrate into Digg now?
  • I'd like to extend a big thanks for letting us know, and also for explaining how the problem arose in the first place.
    (I'm not smart enough to jump into slashcode and feel at home there, so its pretty interesting to see the kinda stuff you people have to face every now and then)
  • Reply to 16786251 (Score:5, Informative)

    by RAMMS+EIN ( 578166 ) on Thursday November 09, 2006 @12:08PM (#16786431) Homepage Journal
    Reply to comment number 16786251 [slashdot.org]:

    ``You claim that the 16,777,216th comment would have broke it but I contest that actually the 16,777,217th comment poster would be the culprit. Since it should be able to handle that many comments if it is zero referenced'' ...but it's probably not zero-referenced. Typically, ids in SQL start at 1.
  • by admdrew ( 782761 ) on Thursday November 09, 2006 @12:09PM (#16786443) Homepage
    @eldavojohn, #16786251 [slashdot.org] (god, this feels like digg now)
    Uh, this is a reply to the 8th post down from the top (remember to use this like an array and zero reference). Yes, I'm talking to you, admdrew.

    You claim that the 16,777,216th comment would have broke it but I contest that actually the 16,777,217th comment poster would be the culprit. Since it should be able to handle that many comments if it is zero referenced, and it would actually be the one after that one that would break it. You laugh but these kinds of problems plague a lot of coders?

    If you don't agree with me, please respond below and reference my comment ID.

    I certainly admit I wasn't thinking 0-based when I wrote that. The question is, though, should we blame the person who wrote the last valid comment (therefore ruining the fun for the rest of us), or whoever wrote the first broken comment?

    Also, is everyone going to add the obligatory 'parent' link on their posts today?


    [ Parent [slashdot.org] ] - [ Reply to this [slashdot.org] ]
  • by Shadow Wrought ( 586631 ) * <shadow.wrought@g ... minus herbivore> on Thursday November 09, 2006 @12:09PM (#16786449) Homepage Journal
    Any thoughts on making the DB publicly accessable other than through teh Dot? Not sure what I'd do with all that data, but I'm sure these's a grad student somewhere who'd love the opportunity...
  • eldavojohn (898314)

    (http://slashdot.org/~eldavojohn/journal/ | Last Journal: Tuesday April 04, @01:06PM) Uh, this is a reply to the 8th post down from the top (remember to use this like an array and zero reference). Yes, I'm talking to you, admdrew. You claim that the 16,777,216th comment would have broke it but I contest that actually the 16,777,217th comment poster would be the culprit. Since it should be able to handle that many comments if it is zero referenced, and it would actually be the one af

  • by zepo1a ( 958353 ) on Thursday November 09, 2006 @12:14PM (#16786501)
    Brillant!

    I always wondered where Paula Bean ended up...
  • by Stalyn ( 662 ) on Thursday November 09, 2006 @12:14PM (#16786505) Homepage Journal
    mod parent up
  • by foniksonik ( 573572 ) on Thursday November 09, 2006 @12:17PM (#16786527) Homepage Journal
    Uhhhh who's your daddy?
  • by poot_rootbeer ( 188613 ) on Thursday November 09, 2006 @12:19PM (#16786543)
    Slashdot being a news (for nerds) site, I would expect that the usage patterns are such that a huge majority of the content accessed by users is very recent -- say, perhaps, 90% of the database hits are for stories and comments that were posted in the last week.

    So why, pray, is this usage pattern not accounted for in the database design?
  • by bazorg ( 911295 ) on Thursday November 09, 2006 @12:19PM (#16786545)
    Mod parent ... wait..
  • LOST Post!
  • I thought you guys were like Gods or something. Maybe I should start praying to someone else instead now?
  • > #16786493 [slashdot.org]

    Exactly, just link to their comment, and if you want you can even follow the standard "Re:" format if you want :D
  • by Anonymous Coward on Thursday November 09, 2006 @12:22PM (#16786577)
    http://slashdot.org/~themusicgod1/journal/137880 [slashdot.org] ...ok, so it was obvious...
  • Would not have happened if Slashdot used PostgreSQL.

    Let the flamewars begin...

  • by deaton ( 616663 ) on Thursday November 09, 2006 @12:25PM (#16786597)
    Take all the time you need, I'm more than willing to refrain from posting durin.... Oh shit!
  • Trolls (Score:3, Funny)

    by Jaseoldboss ( 650728 ) on Thursday November 09, 2006 @12:26PM (#16786609) Homepage Journal
    At least nobody can feed the trolls now!
  • Slashed Eyeballs (Score:4, Insightful)

    by Doc Ruby ( 173196 ) on Thursday November 09, 2006 @12:26PM (#16786611) Homepage Journal
    If Slashdot released the Slashcode more frequently, with more/better comments/docs, and encouraged some of the many of us who complain about bugs/features to help the project, then it's more likely that someone would have debugged this bug earlier.

    Open source - it's not just a buzzword, it's a way of life.
  • by QuickFox ( 311231 ) on Thursday November 09, 2006 @12:29PM (#16786661)
    And this is why you should not have arbitrary limits in your programs, ladies and gentlemen. Not even limits on the values your numbers can represent

    Now this is a real Slashdotter! This guy knows how to build an infinite computer!
  • So let me guess...the parent index has been lost forever?

    Hopefully it just rolled over, and you can add 2^24 to every value to get the parent links back.

    Though I somehow doubt that will work.


    Or they could just use a DB backup. Does MySQL support point-in-time recovery?

    Parent [slashdot.org]
  • So let me guess...the parent index has been lost forever?

    Hopefully it just rolled over, and you can add 2^24 to every value to get the parent links back.

    Though I somehow doubt that will work.


    Or they could just use a DB backup. Does MySQL support point-in-time recovery?

    Parent [slashdot.org]
  • I had a hard time imagining how the admins of Ted Haggard's site [tedhaggard.com] could be miffed at Slashdot.

    I also didn't recollect Slashdot discussing our favorite non-homosexual, non-meth-using ex-pastor recently...
  • 24 bit? (Score:5, Insightful)

    by voidptr ( 609 ) on Thursday November 09, 2006 @12:40PM (#16786795) Homepage Journal
    Why on earth does MySQL have a 24 bit integer datatype? On what platform does it even remotely make sense to use that in the first place? It's going to get cast to 32 bits for any arithmetic operations anyway, and on most platforms today alignment requirements are going to pad the extra byte in memory and disk, so you're not even saving any space. Why even give someone the option over choosing between 16 bit and 32 bit integers?
  • by jamie ( 78724 ) * <jamie@slashdot.org> on Thursday November 09, 2006 @12:41PM (#16786801) Journal

    poot_rootbeer asks why all the comments are in one table, when the data access pattern is such that 90% of our hits are on only the most recent entries in that table.

    The answer is that we used to do it this way but it's a huge pain. In 2000 we converted from having two tables for 'stories', recent and archived, and merged them together. The performance hit was not big, and it made the code so much simpler it was a no-brainer.

    It's the database's job to cache properly whether we split the table or not, and the database does that just fine. The only performance problem could be when there is a rush of inserts, or updates to the same sets of rows, spanning both newer and older portions of the table, and that just doesn't happen.

    If we did want to do this we wouldn't split the tables manually; the code complexity is too high a price to pay. In MySQL 5.0 we would use a MERGE [mysql.com] engine, which has issues of its own but would involve smaller changes to our code. That's still not worth it for us. What we're probably going to do is wait for MySQL 5.1 to get out of beta and then do some performance testing on tables partitioned [mysql.com] by date and see if that gains us anything. For example, a SELECT on our comments table could be limited with a WHERE clause to only retrieve rows with a date >= the discussion object's date, which for 90% of our queries MySQL 5.1 could optimize to only look at the most recent partition. If the gains turn out to be significant, then since partitioning involves very limited code changes, we'll probably do that. Generally speaking, though, database performance is not a problem for us. So far our main bottlenecks have been CPU and RAM on the webheads. As long as we don't do anything stupid our database performance has been fine, though, as today proves, we are quite capable of being stupid.

    [ Parent [slashdot.org] ]

  • ....yet another non-existent comment numbered 16777215 [slashdot.org]. And another one [slashdot.org]. And another one [slashdot.org].
    Normally, accessing a non-existent comment gets you either the "nothing to see here [slashdot.org]" message or the "can't find that comment in this discussion [slashdot.org]" message. Where are the ghost comments coming from?
  • by Control Group ( 105494 ) * on Thursday November 09, 2006 @12:44PM (#16786841) Homepage
    Any thoughts on making the DB publicly accessable other than through teh Dot? Not sure what I'd do with all that data, but I'm sure these's a grad student somewhere who'd love the opportunity...

    Not just grad students; as a DBA by profession, I'd love a crack at the DB. If nothing else, it would give me a great place to play around with MySQL. Not to mention the ability to maybe extract some interesting user-level statistics.

    Of course, the odds of this happening are pretty damn low - there'd have to be an awful lot of work and review done to scrub the DB of information that is entrusted to /. that people didn't plan on having released to the internet at large. Passwords, for example (even if they're stored only as hashes, getting the whole DB would make it feasible to crack them); real email addresses, real names...I assume that the subscription process doesn't involve actually storing credit card information in the DB (I don't know; I've only used PayPal), but that might be another concern.

    Just the email addresses would be a huge deal - can you imagine the market value of such a targeted list of addresses?

    In short, it would be fantastically cool for them to release the DB, but it would be a lot of work on their part for no particular return. Not to mention that if they released it once, they'd no doubt be pestered to keep releasing periodic updates...then there's the bandwidth issues...and, even, the potential copyright issues (/. doesn't own the copyright on posted comments, the poster does)...then the copyright issues for stuff they do own; releasing the DB would make it trivial for a bad actor to post a mirrored slash. A little bit of domain typosquatting and some ad deals, and you could be talking about real money.

    If I were them, there's no way in hell I'd even think about doing it.

    But it would be cool.

    Parent [slashdot.org]
  • And this is why you should not have arbitrary limits in your programs, ladies and gentlemen. Not even limits on the values your numbers can represent - unless you have _proven_ that no values outside the representable range will ever occur.
    If you don't have limits, performance suffers. I suppose you could have keys be arbitrary-length with some databases, but it is a huge performance hit.
  • >>16786443 [slashdot.org]
    The question is, though, should we blame the person who wrote the last valid comment (therefore ruining the fun for the rest of us), or whoever wrote the first broken comment?

    The issue is that comments after 2^24 can't be replied to since their ID won't fit into the "parent" field. So the real culprit is the guy who wrote the first post that nobody could reply to.
  • by bigpat ( 158134 ) on Thursday November 09, 2006 @12:46PM (#16786861)
    Would not have happened if Slashdot used PostgreSQL.

    Let the flamewars begin...


    Unthreaded flame wars are much less enjoyable.
  • I thought something with the Slashdot web code didn't agree with some part of my newly installed Firefox 2.0. I was looking at a comment and wanted to see the parent. When I clicked it, I got a blank comment. Now I see this story and that explains it.

    Comment #16,777,216 should definitely get a free "Last Post" t-shirt courtesy of Slashdot and Comment #16,777,217 should definitely get a free "I /.ed /." t-shirt courtesy of Slashdot. Or would that be 16,777,215 and 16,777,216? Whichever. Do it!
  • ...am aiming for post # 33554432 (2^25)

  • by Speare ( 84249 ) on Thursday November 09, 2006 @12:48PM (#16786879) Homepage Journal

    The number 2^24 is of interest to digital computer artists, as that is the number of unique colors combined in the commonly implemented "True Color" RGB8 space. That color space is looking pretty limiting in some respects, but that is truly a lot of unique colors when you think about it. A 16 megapixel image does not need to repeat any color used.

    If all slashdot posts from the history of Slashdot were sorted into color bins,
    • every post including the -2 trolls would get their own unique color,
    • all the colors which are predominantly blue would be claimed as "first posts,"
    • all the colors which are predominantly green would be unfunny memes like "hot grits,"
    • all the colors which are predominantly red would be complaints about editing or journalism,
    • the pure cyan, magenta, yellow shades are moderated as insightful or interesting,
    • the 256 posts corresponding to completely neutral gray shades are actually insightful or interesting

    Once that were done, people could simply post their replies as a reference to existing posts. "Hey, #938D3A to you, buddy!" "Know what I think of that? #F2C2A9!"

  • by _xeno_ ( 155264 ) on Thursday November 09, 2006 @12:48PM (#16786885) Homepage Journal

    Ah, MySQL. Where trying to insert a row with a column value larger than the column can actually store results in MySQL clipping it to the max value.

    mysql> create table test (field mediumint unsigned);
    Query OK, 0 rows affected (0.05 sec)

    mysql> insert into test values (20000000000);
    Query OK, 1 row affected, 1 warning (0.02 sec)

    mysql> select * from test;
    +----------+
    | field |
    +----------+
    | 16777215 |
    +----------+
    1 row in set (0.00 sec)

    Fortunately, as of MySQL 5, you can fix this problem.

    mysql> set session sql_mode='TRADITIONAL';
    Query OK, 0 rows affected (0.00 sec)

    mysql> insert into test values (20000000000);
    ERROR 1264 (22003): Out of range value adjusted for column 'field' at row 1

    So, yes, early versions of MySQL had a brain-dead default SQL mode that simply "corrected" invalid column values, but MySQL 5 fixes this.

    Now if only they would add column constraints...

  • The indices don't actually store the 'real' copy of the data - that's in the table. The index is just a fast lookup method. Rebuilding the index from the original data in the table is, of course, simple (an ALTER TABLE statement as the story says) but it takes quite a while as it requires a sort of the entire table.
  • by voidptr ( 609 ) on Thursday November 09, 2006 @12:53PM (#16786941) Homepage Journal
    One day, Cmdr Taco is designing his database, and he sits down at a table with three integers on it. First, he tries the baby bear's integer, but exclaims "2 meager bytes is way too small for my appetite."

    Next, he tries Papa bear's integer, but proclaims "4 bytes is way too big for my little site, I'd just end up wasting so much."

    Finally, he tries Mama bear's integer, and extols "3 bytes is just right," not noticing it was really the same as Papa Bear's bowl in disquise.
  • by Control Group ( 105494 ) * on Thursday November 09, 2006 @12:58PM (#16786979) Homepage
    Get your mod points ready, this is off topic, but considering the current state of discussion anyway, I don't feel so bad about it.

    Regardless, while writing this post [slashdot.org] regarding why the /. admins won't (and shouldn't) consider releasing a copy of the /. DB to the public, something occurred to me.

    Comments on /. are owned by the poster, according to that one line that shows up on all the comment pages (specifically, "The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.") At the same time, though, /. doesn't provide a method for having comments you've made removed from the DB.

    If I own the copyright on the comments I've made, shouldn't I be able to rescind publication rights on them, and prevent /. from displaying them in future? Or is there some kind of implicit license in posting on /.? Did I clicksign an agreement covering this when I joined (this was getting on towards a decade ago, so I really don't remember the joining process at all)?

    Or are publication rights, once granted, irrevocable?

    Of course, I suppose asking questions when there's no way for people to hit reply is a specific form of vague insanity...still, I'm curious.
  • by filesiteguy ( 695431 ) <perfectreign@gmail.com> on Thursday November 09, 2006 @12:59PM (#16786991)
    I'd really like to see it. I bet it goes something like, "what's this stupid web thingy anyway? I bet it'll never make it to version 2.0..."
  • Re:Old discussions (Score:3, Informative)

    by DeadCatX2 ( 950953 ) on Thursday November 09, 2006 @01:03PM (#16787015) Journal
    Sorry, I think index was a bad choice of words.

    Whenever a post is made and it has a parent cid, that number must be stored in the table.

    If MySQL saturates instead of rolling over (see this comment [slashdot.org]), then all replies after comment 16,777,215 will have the wrong parent cid, and I don't think there's any way to fix it.
  • by ripcrd ( 31538 )
    You can flog the dolphin while you are waiting on the reindexing. So get yer hands back to the keyboard til that job is running.

    Carry on.
  • No Ramen and no Jolt!
  • Hey, at least I get to claim now that we have more data than slashdot! Woo! Nothing like large, delicious MySQL databases. Mmm, Mmm good.
  • Some time back, our ClearCase record database hit the exact same limit of 2^24. Set us up for a schema 54 upgrade. It was very challenging. I feel your pain, CmdrTaco.
  • My eyebrows are going to be bushy!
  • I've never been quick enough to get a 1st Post. ;-)

  • +10 (Score:5, Insightful)

    by BandwidthHog ( 257320 ) <inactive.slashdo ... icallyenough.com> on Thursday November 09, 2006 @01:19PM (#16787141) Homepage Journal
    Ten points for honesty!

    At least they didn’t try to make bullshit excuses. I respect them for being up front about the real nature of the issue.

  • You need a Data Administrator, who would have told you not to use unsigned because it is non-standard -- and to use PostgreSQL because it has DOMAINs.
  • As if a thousand geeks all made the same damn "last post!" joke at once. . . . . .

    I would suggest we make a thread for just such jokes but....
  • Little Brother: /Hey, this whole no threading thing reminds me of something.

    //Obscure?


    I don't see anyone else using the FARK posting format, so, apparently yes.

    /slashie
  • by UnanimousCoward ( 9841 ) on Thursday November 09, 2006 @01:31PM (#16787247) Homepage Journal
    As your punishment, you should write some kind of data-mining algorithm that starts from the point you disabled threading and try to construct intelligent threads based on the subject and the body of comments...

  • I'd really like to see it. I bet it goes something like, "what's this stupid web thingy anyway? I bet it'll never make it to version 2.0..."

    Well, here's the oldest story I could find: posted 12/31/1997 [slashdot.org], ignoring all the stories listed as posted on 12/31/1969. But there are no comments attached, so that doesn't really help.

    This [slashdot.org] is the oldest comment on the oldest story [slashdot.org] I could find that had comments, posted on 1/1/1999.

    Unfortunately, it's not even close to comment #1...but it's the best I could arrange. ;)

    P [slashdot.org]
  • Now if we could only get politicians to be this forthright and transparent!

    Anonymous Coward for president!
  • by LizardKing ( 5245 ) on Thursday November 09, 2006 @01:39PM (#16787307)

    I guess this is another thing to add to the MySQL gotchas page [sql-info.de]. Of course, in a decent database engine, like PostgreSQL, if you alter a column data type then the indexes are updated to reflect this.

  • by Sloppy ( 14984 ) on Thursday November 09, 2006 @01:40PM (#16787319) Homepage Journal
    In reply to this [slashdot.org]:
    Or are publication rights, once granted, irrevocable?

    IMHO, probably. When you published a comment, there was no mechanism available to you, for removing comments, or even the slightest hint that one might appear in the future. You knew what you were getting into, so it could be argued that you accepted what happened.

    In a more general sense, it is well-known that sending a packet to the 'Net is like opening a bottle and letting a genie out. Once you do it, it's out, and if you ever manage to shove it back inside, it'll be more a matter of luck, rather than something possible because of policy.

  • by sH4RD ( 749216 )
    Hah. I win.
  • There's a work around to the flat structure :

    1. Select the post you want to reply to.
    2. Click on it's CID (on the right side of the post header. Don't confuse it with the UID).
    3. The post appears alone on it's own webpage.
    4. Click on the reply button.
    5. Now you're replying again in a tree-like fashon.
    6. ???
    7. Profit ! (Or infuriate the administrator who actually had a good reason to temporary force a flat style),

    And here's a link [nickscipio.com] on my opinion about flat-structured forum !
  • I have a Flog file here that I would be happy to send to you. However, due to regulations, etc. that abound with regards to the material tghat can be transmitted via the internet, I'll have to use an antiquated modem transmission.

    Let me know when you are ready, then I'll Kermit the Flog.

    [insert groan here]
  • by quokkapox ( 847798 ) <quokkapox@gmail.com> on Thursday November 09, 2006 @02:01PM (#16787537)

    If all slashdot posts from the history of Slashdot were sorted into color bins, ...

    So, from a distance the site would blur into an ugly pastiche resembling lime green?

  • by Iron Condor ( 964856 ) on Thursday November 09, 2006 @02:02PM (#16787541)
    With all teh funnae posts about it, let me be the first one to ask: why were you using 3-byte integers to begin with? Why would anybody anywhere ever use these for any reason at all? What advantage to these have? Why was this table laid out like this? This doesn't make sense to me at all. Were you really imagining that shaving a byte off each post was going to save you DB space? I can't quite believe that. But than what exactly would be the motivation for using such an odd integer size?
  • 2^24, or in MySQLese an unsigned mediumint

    After that final Taco, you really do need a bigmint.
  • Oh wait, there ARE no parents.
  • I'm not sure if anyone will see my poor little comment stranded at the bottom of this well of posts, but I have nothing else to do so I'll post it anyway.

    It's nice to see a site posting reasons for breakages from time to time. I'm sick of seeing errors like "Database error, sorry for the inconvenience". Database error? Should I try again? Should I try again later? How long will it take to fix? Did someone screw up somewhere, or did some of your hardware explode?

    Here, we get "Heh, we forgot to twiddle with t

Beware of Programmers who carry screwdrivers. -- Leonard Brandwein

Working...