News for hackers. Stuff that matters.
Re:Stack Overflow hit 1,000,000 questions last night by jcnnghm on Wednesday October 13, 2010 @01:40PM (#1788074)
Stack Overflow is the ultimate long-tail resource. My favorite example of this is, what I consider to be, a very obscure question I asked then answered about getting (http://stackoverflow.com/questions/570076/netbeans-forwarded...) anti-aliased fonts and sub-pixel rendering working when running java software on a remote X11 server. This sort of thing is incredibly esoteric, yet, close to 1,000 people have looked at it in the last year. When I asked the question, and found the answer, there was no useful information that I could find about it, yet when you search on google today for 'x11 java anti-alias' the first result is my question, and the second is someone elses.

We've come a long way since expertsexchange.

Re:Stack Overflow hit 1,000,000 questions last night by cookiecaper on Wednesday October 13, 2010 @03:51PM (#1788603)
And now that question would get closed and marked "Belongs on ServerFault" before anyone could answer it.
Re:Stack Overflow hit 1,000,000 questions last night by codinghorror on Wednesday October 13, 2010 @11:38PM (#1789737)
why would that get moved to serverfault? It's about an IDE. I wouldn't vote to move it to SF.

if anything it is more SuperUser-ish, but it's so developer centric that I don't think any off-topic votes are necessary.

Re:Stack Overflow hit 1,000,000 questions last night by steveklabnik on Wednesday October 13, 2010 @05:55PM (#1789055)
Wouldn't it just get moved to ServerFault, and then someone would have answered it, and the Google result would have pointed at ServerFault instead?
Re:Stack Overflow hit 1,000,000 questions last night by blasdel on Wednesday October 13, 2010 @07:51PM (#1789332)
No, unfortunately it wouldn't. The google juice is completely concentrated on the stackoverflow domain — I constantly find insta-moved SO questions at the top of the search results, with the moved question on SF or SU nowhere to be found. Yet another defect of their asinine community silo policy.

They don't do a 301 redirect — how would google know where the real question is?

Re:Stack Overflow hit 1,000,000 questions last night by codinghorror on Wednesday October 13, 2010 @11:36PM (#1789735)
we do a 301 redirect if the stub is deleted. We probably should be auto-deleting the migration stubs after a period of time but haven't gotten to that quite yet.
Re:Stack Overflow hit 1,000,000 questions last night by steveklabnik on Wednesday October 13, 2010 @09:23PM (#1789502)
Ah, gotcha. I was real into SO for the first week, and then stopped contributing. I didn't realize that was what would happen...
Re:Stack Overflow hit 1,000,000 questions last night by bbk on Thursday October 14, 2010 @04:39AM (#1790268)
its off the topic but i read expertsexchange as expert sex change
Re:Stack Overflow hit 1,000,000 questions last night by joshhart on Wednesday October 13, 2010 @01:37PM (#1788051)
I actually have trouble contributing to StackOverflow as much as I'd like. The community has gotten so good that most questions with my realm (Scala & Java) seem to be answered within 30 minutes. Since I only look for questions to answer a few times a week, I never find anything.

At least I can get points by asking good questions.

Re:Stack Overflow hit 1,000,000 questions last night by robgough on Wednesday October 13, 2010 @12:13PM (#1787632)
This is great news, if for no other reason that prowling google for answers is 100%[1] more effective than it used to be, as most searches lead me straight to stackoverflow.

[1] well, 100%-ish. I've not measured this. Nor am I going to.

Re:Stack Overflow hit 1,000,000 questions last night by markkanof on Wednesday October 13, 2010 @02:47PM (#1788330)
There seem to be a number of sites that just poorly mirror content from StackOverflow. They usually have the question and then maybe some answers, but don't usually include comments to answers or even which answer was marked as correct.

It's very frustrating when they come up above StackOverflow in Google searches. I end up slowing down a lot to make sure I don't click on those results. Sure I could just go straight to StackOverflow which I often do, but there are other good sources of programming knowledge on the internet that I want to be able to find too.

These mirror sites are also frustrating because they are blatantly leaching off of the work of both the StackOverflow developers and the StackOverflow community. Kind of makes me wish Google did have a blacklist for these cases.

Re:Stack Overflow hit 1,000,000 questions last night by spolsky on Wednesday October 13, 2010 @03:32PM (#1788525)
When we find out about these cases, we ask them to conform to our creative commons license agreement by linking back to stackoverflow.com, in hopes that ultimately this will teach Google that they are non-canonical and rank them lower than us.
Re:Stack Overflow hit 1,000,000 questions last night by brc on Thursday October 14, 2010 @01:35AM (#1789926)
That might be so, but right now there's about three of them and they clog up the search results with essentially the same answer but lower quality for the reasons mentioned above. So far I've not seen any that outrank stackoverflow, but it's only a matter of time before one does some blackhat and jumps for certain questions.

You say that they link back, but in the cases I've seen, they link back with a slightly different Url form to the one you use.

For example : http://stackoverflow.com/questions/1037925/recreate-stack-tr... this question appears on scraping sites (not going to name them for fear of feeding them traffic), but they link back with this Url: http://stackoverflow.com/questions/1037925 - which doesn't resolve back to the longer version. I know there's a canonical link on it (for the longer url) but I'm wondering if this strategy is working or not.

Maybe it's time to start rejecting some bots crawling the site, or at least to slow them right down.

It's a problem for Google and for SO, so someone from both places should probably be talking about it. Because in the end, SO starts looking spammy because the others are spammy and scrape the content, which is exactly the opposite case of how things should be. The spam sites are just cloning SO and shoving crappy ads everywhere, it's not high quality content. When you ask a question, you want 5 different answers from 5 different site, not the same answer spammed 5 times back at you.

Re:Stack Overflow hit 1,000,000 questions last night by cdr on Wednesday October 13, 2010 @01:19PM (#1787963)
I haven't noticed too much change in Google; I generally just go straight to Stackoverflow first.
Re:Stack Overflow hit 1,000,000 questions last night by ankimal on Wednesday October 13, 2010 @01:01PM (#1787863)
I m mostly always doing 'site:www.stackoverflow.com how do I do XYZ ?' in google ..
Re:Stack Overflow hit 1,000,000 questions last night by rayvega on Wednesday October 13, 2010 @01:42PM (#1788084)
To conveniently search all of their stackexchange sites using Google including stackoverflow.com, try the search box on http://stackexchange.com/.

This somewhat helps with a problem they are facing which is fragmentation of questions and answers across their sites. For example, for Ubuntu you might need to search three or four of their sites before finding an answer to an issue you are having.

Re:Stack Overflow hit 1,000,000 questions last night by cookiecaper on Wednesday October 13, 2010 @03:53PM (#1788613)
Duck Duck Go makes this a bit easier, just say !so xyz.
Re:Stack Overflow hit 1,000,000 questions last night by eneveu on Wednesday October 13, 2010 @07:57PM (#1789337)
Even faster, I've setup "keyword searches" in Firefox (http://kb.mozillazine.org/Using_keyword_searches). I created the following bookmark:

  Name     : [so] Search StackOverflow     // the "[so]" here is just a mnemonic
  Location : http://www.google.com/search?q=site%3Astackoverflow.com+%s
  Keyword  : so
Then, when I want to search for "vim vs emacs" on SO, I open a new tab (Ctrl + T), type "so vim vs emacs", and press enter. This searches "site:stackoverflow.com vim vs emacs" on Google.

I have a similar smart bookmarks setup for HN searches, and you could get more creative if you want (DuckDuckGo search, or even a custom StackExchange search like rayvega mentioned, using "http://stackexchange.com/search?q=%s in the location field).

Chrome has something similar: http://www.google.com/support/chrome/bin/answer.py?hl=en&...

Re:Stack Overflow hit 1,000,000 questions last night by edanm on Wednesday October 13, 2010 @08:49PM (#1789433)
Just to clarify, in Chrome this works automatically. After performing one search on Stack Overflow, you can now start typing "stack overflow" into the address bar. As soon as you see that the first autocompletion is StackOverflow.com, you can hit tab and perform a search.

This works automatically with any site you perform a search on, with no need to configure anything. One of the main reasons I moved to Chrome after years of being an FF user.

Re:Stack Overflow hit 1,000,000 questions last night by mhp on Wednesday October 13, 2010 @01:49PM (#1788109)
Weird... it used to be on duckduckgo that if a Stack Overflow result was your first result, the answer would actually be displayed as well, but that doesn't seem to be working right now: http://duckduckgo.com/?q=Netbeans+Forwarded+over+X11+Font
Re:Stack Overflow hit 1,000,000 questions last night by Sephr on Wednesday October 13, 2010 @04:18PM (#1788700)
You can always just search Stack Overflow directly (I consider it to have an adequate search engine), which is easily done in Chrome by typing stackoverflow.com (often only the first two characters), tab, and then your query.
Re:Stack Overflow hit 1,000,000 questions last night by mahmud on Wednesday October 13, 2010 @02:40PM (#1788308)
you can drop the "www." prefix, btw.
Re:Stack Overflow hit 1,000,000 questions last night by Sukotto on Wednesday October 13, 2010 @01:52PM (#1788123)
While it's cool they've had a million questions, I feel more interested in seeing stats on things like:

# non-closed questions (broken out by answered/non)

# questions with an accepted answer

# questions forced to community-wiki vs those that were not

Re:Stack Overflow hit 1,000,000 questions last night by spolsky on Wednesday October 13, 2010 @03:33PM (#1788528)
Just go here and type in your SQL query:

http://odata.stackexchange.com/stackoverflow/query/new

Re:Stack Overflow hit 1,000,000 questions last night by Sukotto on Thursday October 14, 2010 @09:55AM (#1790857)
Thank you very much for making this data available Joel. This is really interesting stuff.
Re:Stack Overflow hit 1,000,000 questions last night by nopal on Wednesday October 13, 2010 @05:40PM (#1789017)
I think these are right.

# non-closed questions (broken out by answered/non) - http://odata.stackexchange.com/stackoverflow/q/12626/

# questions with an accepted answer - http://odata.stackexchange.com/stackoverflow/q/12627/

# questions forced to community-wiki vs those that were not - Don't know enough about their schema to answer this one. This could be the answer - http://odata.stackexchange.com/stackoverflow/q/12635/

Re:Stack Overflow hit 1,000,000 questions last night by bullseye on Thursday October 14, 2010 @12:37AM (#1789838)
>> # non-closed questions (broken out by answered/non)

Are the labels flipped? When AcceptedAnswerId is NULL, wouldn't that indicate a non-answered question?

Re:Stack Overflow hit 1,000,000 questions last night by nopal on Friday October 15, 2010 @10:20PM (#1797140)
Yes. I played with the order, but forgot to adjust the WHERE clauses.

Here's the right version - http://odata.stackexchange.com/stackoverflow/q/12795/

Re:Stack Overflow hit 1,000,000 questions last night by RossM on Wednesday October 13, 2010 @01:55PM (#1788142)
This could be done using their data dumps (however I don't have access to SQL Server so I couldn't tell you this).
Re:Stack Overflow hit 1,000,000 questions last night by digitallogic on Wednesday October 13, 2010 @04:14PM (#1788689)
The data dumps are in an xml format, you don't need SQL Server to work with the data.
Re:Stack Overflow hit 1,000,000 questions last night by alanl on Wednesday October 13, 2010 @01:13PM (#1787933)
My default google query for a programming problem has become.

[keywords] site:stackoverflow.com

And with 1M Q/A it looks like this isn't going to change any time soon!

Re:Stack Overflow hit 1,000,000 questions last night by jacoblyles on Wednesday October 13, 2010 @01:53PM (#1788128)
Congrats and thank you for making the web a better place!
Re:Stack Overflow hit 1,000,000 questions last night by dnos on Wednesday October 13, 2010 @12:30PM (#1787707)
Wow, that truly is amazing.

On a funny note: I wonder how many of those questions were answerable by the first result of a simple google search? :P

Re:Stack Overflow hit 1,000,000 questions last night by codeslush on Wednesday October 13, 2010 @12:33PM (#1787725)
My experience tells me that they usually are the first search result in google -- and when they aren't, I specifically look for them in the search results because the site is incredibly accurate and useful and I have come to trust it.
Re:Stack Overflow hit 1,000,000 questions last night by DrJokepu on Wednesday October 13, 2010 @12:39PM (#1787751)
Just as a side note, please make sure to upvote both the question and any helpful answers if you've found the question using Google and it helped you as that's how Stackoverflow dynamics work.
Re:Stack Overflow hit 1,000,000 questions last night by walkon on Wednesday October 13, 2010 @01:03PM (#1787877)
It seems like very few people understand that it doesn't cost anything to upvote other answers and especially questions. Lots of good questions get around 0-2 votes, but clearly draw significant activity and interest otherwise. Are people afraid of point inflation?
Re:Stack Overflow hit 1,000,000 questions last night by michaelbuckbee on Wednesday October 13, 2010 @01:17PM (#1787955)
On the StackOverflow podcast they had talked about some of the issues faced with awarding points for asking questions.

Apparently many people feel that asking a good question isn't worthy of points (or as many points) as answering a question.

They at one point (IIRC) were awarding points for asking a question, but that led to people spamming in low quality questions.

My personal rule is that if the question was interesting enough to make me read it, it should probably be upvoted.

Re:Stack Overflow hit 1,000,000 questions last night by EliAndrewC on Wednesday October 13, 2010 @01:38PM (#1788064)
They've also recently created a Gold "Electorate" badge, which is defined as "Voted on 600 questions and 25% or more of total votes are on questions." This should encourage people to vote up good questions as well as good answers.
Re:Stack Overflow hit 1,000,000 questions last night by RossM on Wednesday October 13, 2010 @01:58PM (#1788156)
I feel that since there are comments, answering a question should automatically upvote it. It depends on what the criteria for upvoting a question is - whether it's "not spam/trash or poorly worded" then this would work, I feel most people go on "it taught me something amazing/unique" however.
Re:Stack Overflow hit 1,000,000 questions last night by sxdfvgbnhjhgbv on Wednesday October 13, 2010 @03:32PM (#1788524)
The problem is that it isn't clear WHY you should upvote a question. Upvoting an answer is helpful - I'm saying that I confirm that it's correct and you should believe it - but upvoting a question is just gold star time.
Re:Stack Overflow hit 1,000,000 questions last night by gaius on Wednesday October 13, 2010 @05:14PM (#1788930)
I upvote questions if I've wondered the same thing myself, and it's already been answered. I only use favourite to follow the discussion.
Re:Stack Overflow hit 1,000,000 questions last night by retube on Wednesday October 13, 2010 @11:41AM (#1787497)
Ah dammit. I noticed a couple of days ago the number of questions was at 997k. I meant to keep an eye out and see if I could ping in number 1 million - but then promptly forgot.
Re:Stack Overflow hit 1,000,000 questions last night by blasdel on Wednesday October 13, 2010 @07:58PM (#1789339)
How many of those are duplicates of existing questions — doesn't heralding growth contradict the original site goal of wiki-edited QA that stays fresh forever?
Re:Stack Overflow hit 1,000,000 questions last night by mike463 on Wednesday October 13, 2010 @05:47PM (#1789035)
Bet they'd have more questions and answers without that stupid third-party login crap. (OpenID)