98

Congrats to Stack Overflow on 10 million questions! Out of curiosity, what was the 10 millionth question?

25
  • 10
    @Qix it was definitely not stackoverflow.com/questions/10000000
    – topher
    Commented Aug 20, 2015 at 16:51
  • 4
    According to Jonny 5's screenshot, it would be this one. However, I guess since older questions are constantly deleted, it's more a floating range…
    – Bergi
    Commented Aug 20, 2015 at 16:53
  • 6
    In that screenshot there's some other candidate
    – Bergi
    Commented Aug 20, 2015 at 16:57
  • 154
    Which ever question turns out to be the 10 millionth, please don't spam a bunch of "WOW CONGRATZ" comments on it :|
    – user229044 Mod
    Commented Aug 20, 2015 at 17:02
  • 1
    @meagar this is already happening on the first question Bergi linked :P I don't think you'll be able to stop those to pop up... no matter how off-topic these comments are :(
    – Patrice
    Commented Aug 20, 2015 at 20:10
  • 2
    @Patrice and the (non-so-aptly) named "historical lock" would also likely be inappropriate.
    – ryanyuyu
    Commented Aug 20, 2015 at 20:36
  • @Bergi Not necessarily, if they had any ignored tags preventing some questions from showing up.
    – Emil Laine
    Commented Aug 20, 2015 at 22:21
  • 2
    I tried the query SELECT * FROM Posts LIMIT 1 OFFSET 10000000 on SE Data Explorer, but it didn't work :(
    – Tim
    Commented Aug 21, 2015 at 7:11
  • @Tim I think you mean this, but (I believe) this doesn't take deleted posts into account. Commented Aug 21, 2015 at 9:17
  • 3
  • 9
    "I tried teh codez but it didn't working. I kept getting the error. Pls help mee"
    – user146043
    Commented Aug 21, 2015 at 9:36
  • 1
    @nginx: Pass n (<1e10) explicitly. There is no n=10000000 question yet. Read the previous comment
    – jfs
    Commented Aug 21, 2015 at 10:48
  • 5
    Oh, and of course the data in Data SE is a bit behind - it gets synced every Monday. Commented Aug 21, 2015 at 10:54
  • 12
    I want to know what was the 9999999th question.
    – camden_kid
    Commented Aug 21, 2015 at 12:31
  • 2
    @Lankymart: I can. I've updated the query. It is one more example why you should avoid premature optimization.
    – jfs
    Commented Aug 21, 2015 at 13:42

2 Answers 2

34

There are many 10-millionth questions - at different times. We only are counting non-deleted questions, and questions are constantly getting deleted (at notable rates). So even when this SEDE query will show some results as soon as the data dump will have been updated, it will only show the results of the day. There's a sliding window - post your question right now and it will likely be the 10 millionth question on SO at some time, when enough of the ones preceding it have been deleted.

So which was the first ten millionth question, the first to throw the counter above the 7-(decimal)-digit mark? We likely will never know, unless some SO employee will run an SQL query on the live data and takes deletion history into account.
But I don't think that's necessary. Neither will the author get a new car, nor is that particular question actually significant:

Every single question counts towards the number.

The first does as much as the last. The ten millionth question sits atop the shoulders of a giant mountain - even if that mountain is melting. All of you guys have done an amazing job!

5
  • 31
    But which was the first 10-millionth question?
    – camden_kid
    Commented Aug 21, 2015 at 14:53
  • I'd like to believe there was some automated counter that turned on the 10m page, logo and toast, and if so it would be interesting to know which one caused the activation. But as you rightfully pointed out, it wouldn't be 10M without the other 10M-1.
    – topher
    Commented Aug 21, 2015 at 15:02
  • 10
    @topher It wasn't automated. We didn't put up the banner until we were about 5,000 over the 10M mark.
    – animuson StaffMod
    Commented Aug 21, 2015 at 16:37
  • 18
    Wouldn't it be awkward if we went back under 10M? Commented Aug 22, 2015 at 1:46
  • 1
    @PyRulez: Not gonna happen, unless the community would decide to nuke half of the page. While we may loose about 600 old and recent questions per day, there are also about 6000 new questions asked per day.
    – Bergi
    Commented Aug 22, 2015 at 19:33
3

In addition to data.SE query for n-th question (no result until the next update), here's /10m question according to SO API (it changes from request to request). I don't know whether it includes locked questions that it shouldn't.

1
  • It does include historical locks; you can test this by replacing 10000000 with the current question count from the site incremented by 300.
    – user3717023
    Commented Aug 21, 2015 at 18:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .