125

I've been mulling recently over how one might go about designing a Stack Overflow robot, to gain as much rep as possible without being detected as a bot.

Let me make it very clear that I have no intention of actually writing such a robot. It is just an interesting design exercise, like trying to work out how you'd break into Fort Knox. (It might be useful for working out how to spot such bots, too.)

What will happen if I post my ideas for discussion on MSO? Will I get taken outside and given a good kicking? Will the moderators torture my little puppy?

It seems like an interesting discussion question, but basically I'm too scared to post it.


I should add that I'm not really concerned at this stage about whether it's on-topic. I'm sure I can write it so that it is, and if it gets closed, I'll live with that. I just don't want to get into trouble for encouraging naughtiness.


One more thing to add, in response to comments below: obviously it would be great if we had a bot that was genuinely useful in answering people's questions and so on, but I more had in mind something that would accumulate rep without improving the world to any noticeable extent! Hopefully a discussion on how to write such a thing might lead to a hardening of the system to prevent it.

31
  • 20
    Forgetting about the ethical issues for a second.... where do you want to post such questions? Stack Overflow or on Meta? Questions arising from problems in actually programming it would be on-topic for SO but discussions and idea seeking would be off-topic. On meta, discussions questions about the site are on-topic, but I don't think discussions about ideas on implementing such a bot would be really about the site (making them off-topic for meta as well). There really isn't a home for the kind of question I think you want to post. Commented Oct 26, 2014 at 12:22
  • 3
    Interesting -- first thought is, how to get a raise after 2000 after using up editing bonuses. But, since this would discuss a concept rather than A Practical Programming Problem (SO) or The Workings of SO (MSO), would Programmers SE be a good place?
    – Jongware
    Commented Oct 26, 2014 at 12:29
  • 4
    "Thoughts" are not on topic, only questions. High odds you ought be checking the Stack Apps site. Commented Oct 26, 2014 at 13:09
  • 71
    I'd be interested in reading about this. Talking about it shouldn't get you on anyone's "naughty" list.
    – Bill the Lizard Mod
    Commented Oct 26, 2014 at 15:01
  • 4
    On Meta nobody cares, just post it, I'm interested in seeing that idea.
    – user3818284
    Commented Oct 26, 2014 at 23:17
  • 79
    You Know You're A Real Programmer When writing a bot to post interesting questions and answers seems easier/more fulfilling than actually posting interesting questions and answers. <sigh> Commented Oct 27, 2014 at 1:33
  • 48
    Could you start with a "Find and Close All The Duplicates" bot? Make sure to unit test the 3 laws. Commented Oct 27, 2014 at 14:34
  • 2
    I wanted to post comment 'This is a decent community of reasonable programmers, normal people.' But I've quickly changed my mind. It would be really interesting for discussion for those who don't want to write bot. But you can be certain that there are lurkers everywhere, waiting for their chance to gain advantage of that discussion. Commented Oct 28, 2014 at 12:27
  • 47
    Such a bot already exists. It's called Jon Skeet. dodges flying produce
    – aaronburro
    Commented Oct 28, 2014 at 13:44
  • 1
    @Jongware Not saying getting over 2000 rep with a bot would be easy, but there are tons of questions where the only problem is a syntax error and they don't always get closed... ;)
    – ivarni
    Commented Oct 28, 2014 at 13:58
  • 41
    48 upvotes... what if you're already that robot and this was just meant to throw us off???
    – Señor O
    Commented Oct 28, 2014 at 15:05
  • 2
    If you actually do write one, then that is probably how we're gonna lose our jobs. If there's a bot that can solve programming questions that doesn't need food or salary, then what' the use of a programmer..! I jut hope no one write such a thing in the near future, or a bot that in turn writes another bots which does something else... and finally we'll end up in matrix. o.0
    – T J
    Commented Oct 28, 2014 at 16:07
  • 23
    @Leushenko Obligatory XKCD Commented Oct 28, 2014 at 17:25
  • 1
    I wonder how much fun it would be to let an instance of chatbot post comments into this question.
    – Geeky Guy
    Commented Oct 28, 2014 at 19:49
  • 3
    I think that the discussion of creating robots for the purpose of gaining reputation on Stack Overflow is a good idea. -- StackOverflowbot
    – rgettman
    Commented Oct 28, 2014 at 20:07

8 Answers 8

84

Your question will be voted upon, as every other question on MSO is. Some people will not like it (and downvote it), some will find it interesting (and upvote it), some will consider it off-topic (and vote to close it). To me, it sounds like a good idea for a self-answered .

There won't be any administrative actions, you're not violating the terms of service by merely discussing such a bot (which is a good thing actually). Not even writing one would be discouraged, only running it could bring you in trouble.

17
  • 51
    And if he managed to write a really successful one, it might be a significant advance in AI. Commented Oct 27, 2014 at 1:49
  • 54
    Actually, I believe Joel once discussed such a robot on the podcast and concluded that if you can write one that works, you do deserve the reputation points - as you are bringing value to the site by doing exacly what it was designed to do - answering questions.
    – skolima
    Commented Oct 27, 2014 at 9:39
  • 76
    @skolima A relevant xkcd comic: Constructive
    – PM 2Ring
    Commented Oct 27, 2014 at 9:42
  • 1
    I just got a basic C# bot ready that answers "debug my code" questions that are tagged .NET and JS if formatted properly (obviously there are lots of limitations but it does it's job fine). now what? Commented Oct 28, 2014 at 14:18
  • @RandomUser: Start a discussion about how it should be used
    – Bergi
    Commented Oct 28, 2014 at 14:28
  • 4
    The question would be downvoted and then closed because nearly every interesting question on Stackoverflow is treated with extreme prejudice. Commented Oct 28, 2014 at 14:47
  • @ChrisMarisic: We're talking about questions on Meta SO, not on SO itself. Such a discussion would indeed be offtopic on SO.
    – Bergi
    Commented Oct 28, 2014 at 14:49
  • 3
    @Bergi this place is even worse than SO for treatment of users who think outside the box. Honestly I'm shocked that this question wasn't closed here. Commented Oct 28, 2014 at 14:51
  • 21
    @ChrisMarisic Is there a specific point to your detrimental comments or are you just on a soapbox right now?
    – TylerH
    Commented Oct 28, 2014 at 15:50
  • running it could bring you in trouble actually not.. any bot made sometime in this decade will most probably use it's creator's knowledge to answer questions.. only much much faster (8000x on a 2.6GHZ processor and 2mbps internet). Btw looking at my rep you can clearly tell I don't use a bot - or a good one for that matter - though :P Commented Oct 28, 2014 at 17:27
  • 1
    @RandomUser: Yes, it can. Apart from that it is really hard to write a bot that uses its creator's knowledge in the right way (most bots will do rather do rubbish, and get blocked for that), you can get in trouble alone by doing things too fast.
    – Bergi
    Commented Oct 28, 2014 at 17:55
  • 1
    @Bergi hmm.. what if I slow it down by 1000x and make it run at half-super human speed? I have also answered a (as in one) question with it - for testing purposes - here (before the edit) Commented Oct 28, 2014 at 18:07
  • @Bergi Notice how it (somewhat) understood the question and provided a code snippet too :) Commented Oct 28, 2014 at 18:14
  • @RandomUser: I know chat has throttles, I would very much expect questions and answers to have them as well (And if not, the mods better get on that). Commented Oct 28, 2014 at 21:25
  • 2
    @RandomUser: I'd be happier if the bot had it's own account, like the chatbots. Commented Oct 28, 2014 at 23:16
13

I am not really getting what is wrong with writing a bot on SO to generate reputation. I have never seen that this is illegal (if I am wrong please point me to the explanation), assuming that your bot is doing useful things.

If you will find a way to automatically answer questions or edit bad answers to make them better - this is amazing and I assume that you can submit your application to SO to work for them.

4
  • 1
    This would indeed be immensely cool but probably impossible... what I had in mind was something that wouldn't be useful at all but would appear to be so. Commented Oct 27, 2014 at 14:26
  • @chi like answering duplicate questions with duplicate answers? Bot or not, that is not allowed and mods will smite you soon. Commented Oct 27, 2014 at 15:39
  • 5
    @JanDvorak Right, so that is neither useful nor apparently useful! Commented Oct 27, 2014 at 15:47
  • 3
    @chiastic-security The problem with this whole thing is that StackOverflow is designed in such a way that answers which appear useful actually are, otherwise they don't appear useful because the appearance of usefulness only comes from input from users who find it useful. Commented Oct 28, 2014 at 20:11
7

SO is for questions and answers. The question about expressing thoughts and ideas about writing something would be likely downvoted and closed as too broad. The answer that would concentrate on expressing ideas, not on answering the specific problem would be likely to be flagged as not an answer.

Putting the bot topic aside, SO is not a good place for such generic conceptual ideas, it is designed for adressing specific problems, which naturally could occur as the consequence of writing such a bot.

1
  • 3
    You mean meta-SO, right? Commented Oct 28, 2014 at 21:04
4

I do agree with the thought, that writing one for educational purposes and especially just discussing it, is in no way against the rules. However, I don't think that you should give away any of the information about how you did it since it will surely lead to abuse and exploitation.

A good thing you could do, is to send the source code to some of the administrators so they could create an "good" bot which would detect if any "user" (<- being the "bad" bot) was doing exactly what the algorithm of said "bad" bot would do, and thus temp-/ban said user.

2

I think a bot that copies and then refactors answers to make them look unique would definately be possible.

change numbers into words, add a few typos and hey presto - new answer

5
  • We don't need bots to do things ordinary humans can do far better: stackoverflow.com/a/26460663/2564301 vs. stackoverflow.com/a/8226480/2564301. (I think the same argument is used against the need for "self replicating robots".)
    – Jongware
    Commented Oct 29, 2014 at 12:53
  • This is part of what I had in mind, yes! Commented Oct 29, 2014 at 12:55
  • 1
    @Jongware Absolutely right. But then, I wasn't talking about creating a bot that we need. The question is whether one could create a bot that accumulates rep without doing any useful work, but without being identified as a bot. Commented Oct 29, 2014 at 12:57
  • @chiastic-security: in that case, I agree with Mickey: definitely quite possibly possible.
    – Jongware
    Commented Oct 29, 2014 at 13:55
  • I once wrote an anti forgery app for a university and thats how i tested it. Commented Oct 29, 2014 at 17:43
1

If such a bot can be written without actually improving the site, then I'd think we'd need to know about it, so we could devise methods to stop it. If you can do it in public, others could do it in secret.

0

The real question is whether you can make a bot which writes bad code, asks questions about that bad code, and then replies to the questions of others, improving their code.

After that we only need to make the bot learn from the answers of others, and we can make humanity redundant :)

-3

please don't down vote me for this answer!

i think you ask a good question, and sure about stack overflow now focusing more over it so no one able to make stack overflow robot. Regarding writing robot,there is always some short of bugs and backdoor entry , you just need to deduct them and make a hole over that. No doubt you ask a genuine question full filling the stack overflow terms and conditions, but only either a hacker or stack overflow team can know the right answer of it,but they will not share it with you.

My up vote for you for adding extra ordinary thinking question.

3
  • 1
    The physical appearance of the "please" makes no difference.
    – TylerH
    Commented Oct 30, 2014 at 15:10
  • 1
    Yes it does, you can't ignore bold text
    – Jon Story
    Commented Oct 30, 2014 at 15:28
  • 1
    Calling all first-world anarchists...
    – Air
    Commented Oct 30, 2014 at 17:12

You must log in to answer this question.

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