32

I got the following error and got really curious:

You may only change your hat once every 10 seconds.

Not that that's something that annoys me in any way, perfectly fine restriction, I just try again and it only happened because I miss clicked first.

But I can't help to wonder the reason (probably technical) behind this. Is it too resource heavy to change hat?

Because it's not something that would generate a polluted log to look add, like asking questions or editing comments and such. So I can only guess the reason.

14
  • 11
    But I can't help but wonder... I have to wonder too. Why would you need to change your hat more than once every 10 seconds, so you'd need to care about the limit? (And note that change does not mean reposition on your head, but place a new hat on your head - how many times IRL do you change hats every 10 seconds?)
    – Ken White
    Commented Dec 31, 2016 at 1:47
  • 8
    I don't need to! As I mentioned, that's not something that annoys me in any way whatsoever, I was just curious for the reason behind it.
    – Luan Nico
    Commented Dec 31, 2016 at 4:53
  • 1
    The reason behind it is because the developers at SE decided it should be the minimum. This is similar to the question I saw in the Hot Network Questions that asked Why did <this fictional character> dislike <this other fictional character> on sight? - the answer is clearly because the author decided that was the case.
    – Ken White
    Commented Dec 31, 2016 at 4:58
  • 4
    @KenWhite That question (especially if it's the one I think it was) was almost definitely on a site where they'd be asking "in universe". So, to continue your analogy, they're asking what's the author's reasoning.
    – Mark Hurd
    Commented Dec 31, 2016 at 7:29
  • 1
    "Why?" questions should always make it clear what kind of answer you want. Is it "can anyone think of a good reason why this is a good idea?", or is it "who made the decision and when, and did they state their rationale?" Commented Dec 31, 2016 at 9:47
  • 2
    Guys how do you resize your hat? I made my hat to small and now I am unable to make it big.
    – Jeru Luke
    Commented Dec 31, 2016 at 12:53
  • 2
    Software without rate limiting is broken. Why wouldn't you have a limit? Commented Dec 31, 2016 at 16:41
  • 2
    You have too much time on your hands if asking questions like this is a high priority
    – charlietfl
    Commented Dec 31, 2016 at 16:46
  • 1
    The phrase "barking hatstand" springs to mind :-)
    – Stephen C
    Commented Jan 1, 2017 at 7:55
  • 2
    I have no idea why this question has attracted so many downvotes. The OP clearly said " it only happened because I miss clicked first." so it's not like they were trying to set the world record in hat rotating or something.
    – Mr Lister
    Commented Jan 1, 2017 at 13:40
  • can someone let me know , why this new "hat" feature? I mean motto behind this? Commented Jan 1, 2017 at 17:37
  • @vishwaratna "fun".
    – Mr Lister
    Commented Jan 1, 2017 at 18:09
  • @MrLister I just asked my friend that is my hat visible to him and he said no, but I can clearly see a hat in my profile!! What's wrong? Commented Jan 1, 2017 at 18:11
  • 3
    @vishwaratna Your friend obviously doesn't know that your cup is a hat.
    – Mr Lister
    Commented Jan 1, 2017 at 18:14

1 Answer 1

69

How fast can you change hats in real life?

(be aware that you need to set the hat correctly on your head, and that you need to put the old one on its designated spot on the shelf).


Everything is rate limited. The hat changing limit is even mentioned in The Complete Rate-Limiting Guide on Meta Stack Exchange. It would be hard to DDoS Stack Overflow just by changing your hat too often, but they had to set a limit.

7
  • I imagined there was a request limit per IP to avoid DDoS, but that seems a reasonable security measure too, to avoid other methods
    – Luan Nico
    Commented Dec 30, 2016 at 18:53
  • 2
    Oh, beware that a hat change might be just a little tilt, not necessarily exchanging the hat. So I guess I can beat one per ten seconds :p
    – Luan Nico
    Commented Dec 30, 2016 at 18:54
  • 30
    These guys took 96 hours to put on their hats. 10 seconds seems luxurious.
    – Jon Ericson Staff
    Commented Dec 30, 2016 at 19:03
  • 6
    Although being DDoS by hats has yet to be proven, there is a record of earlier promotional events that did cause outage due to load ...
    – rene
    Commented Dec 30, 2016 at 19:08
  • 5
    Within around 2 seconds.
    – honk
    Commented Dec 30, 2016 at 19:09
  • What is this "shelf" thing you refer to? I thought the designated spot was on the floor.
    – ajb
    Commented Dec 31, 2016 at 21:22
  • 1
    Hats are synced between SE servers. Aside from DDoS, a simple race condition problem might be the reason. Imagine that every server is own thread with own TLS and every time you change hat attribute on one, others should see that. If you changed it again, some other thread received the update on one system, then changed own hat status before second update came, it generated another update with other sites. Status of hat on third site would be undetermined. Or they start constantly to flip the hat around. Setting time frame in which that update is ignored may solve the issue Commented Jan 2, 2017 at 11:39

You must log in to answer this question.

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