Like, I doubt I will ever hit 61k rep on there, despite many hours of answering questions. But if I'd Googled and cited an RFC at the right place at the right time, y'know.
Took the original answerer like a minute of effort. (All of the other info was added on in later edits.)
@Mauris True. My highest votes/effort must be this one: stackoverflow.com/questions/23318875/…. I don't normally even answer questions this simple, especially not in popular tags. My guess is that this one accumulated upvotes because it has very good search terms in the title. People with the problem will probably find this question.
I believe John Skeet got about 500 upvotes for explaining the difference between static and non-static member variables in Java. Granted, it was a very nice and clean explanation. But not very demanding for sure.
You can't parse [X]HTML with regex. Because HTML can't be parsed by regex. Regex is not a tool that can be used to correctly parse HTML. As I have answered in HTML-and-regex questions here so many times before, the use of regex will not allow you to consume HTML. Regular expressions are a tool th...
@Mauris I know people say that, but I'm not convinced. I don't think I get more upvotes for the same types of answers now that I have a moderate amount of rep (and one tag gold badge) than I did when I joined last year.
One of the gold badges is a ridiculous gimmick to get, and many of the other ones are just "get lotsa upvotes" which is akin to "win the lottery and/or ask a question in 2009".
The gimmick being visit the site 100 days in a row or whatever, yeah.
Because if your internet goes out for a day I guess you're not a trustworthy, valued user of the SO community and you deserve to get your progress on that kicked back to zero days?
The biggest problem I have with SO is that there are fewer and fewer good questions. My rep gain actually slowed, and that's the main reason. Well, and maybe spending more time here...
@feersum That's probably part of it. But I only joined last year, and I think it has gotten worse even then. Frankly, just between us, the level is partly frightening. There are claims that SO is for "professionals". But I can't believe that more than 5% of the people asking questions are professionals. Then again, I have interviewed plenty of people that make it believable...
The main problem of SO is not even trying to a) fix anything yourself b) google the problem c) read the SO guidelines d) read the similar questions SO suggests to you when creating one. This leads to these questions.
Me in the Interview: I fill in a glass of water and fill in just a bit too much so it flows over. The Interviewer asks me "Nervous?" I answer to him "No I always give 110%."
261 289 characters
Regex with backreferences, 289 characters
Yes, it is possible!
/^(?=.{64}2\)\?\.\*\\.{204}\\2\\\(\)\{2\}\.\{11\}\$\/$)((.*)(\2\2)?.*\/\2\^\2\(\2\?=\2\.\2\{64\2\}2\2\\\2\)\2\\\2\?\2\\\2\.\2\\\2\*\2\\\2\\\2\.\2\{204\2\}\2\\\2\\2\2\\\2\\\2\\\2\(\2\\\2\)\2\\\2\{2\2\\\2\}\2\\\2\....
@MartinBüttner Since you're already up... Would this be doable?
Are you planning a snippet to list existing languages and their best answers? If so, what format should people use when adding a note about trivial variants? Perhaps the convention should be a section beginning ### Language variants and an unordered list of items in the format * Unary (123456 bytes). Explanation...? — Peter TaylorSep 5 at 8:20
It's very common for a question to leave the input format unspecified and simply let the golfer choose a 'reasonable' input format. I'd say this is a bit vague, and we should decide what can be considered reasonable.
I recognize two separate categories, with subcategories (feel free to edit):
...
Find all matchings code-golfpermutations
Golf this SO question in any language. Fewest bytes wins.
Given two equal-size sets of positive integers,
A={3,1,5}
B={2,4,3}
a matching pairs up elements from
{(5, 2), (1, 4), (3, 3)}
There's one matching for each permutation of n elements, wher...
@TheNumberOne D'oh! Well who knows, perhaps Wiles' proof is just gibberish and the few ones who actually reviewed it are just too proud to admit that they did not understand a single word!
It's somebody's birthday!
popularity-contest
Beta Decay was very selfish on their birthday, demanding cake from everyone and no plans to share! 🎂
It's bound to be somebody's birthday today, so why not make them a cake. Use Chef to make a delicious cake, with a nice "Happy Birthday" message ...
I cannot believe that there hasn't been someone mention it at SO or something like that.
There surely haven't been hunderts of users just waiting for the right moment to spam the site with stuff, there must have been something that triggered the propagation?
I assumed somebody more familiar with it would have added it. I've not used it, and wasn't involved in the creation of it enough to give details. I know something along the lines of "a group of users made a language about dropping marbles onto stuff". :D
(topology) A topological space which is a product of two circles.
(mathematics) The standard representation of such a space in 3-dimensional Euclidean space: a shape consisting of a ring with a circular cross-section: the shape of an inner tube or hollow doughnut.
torus m (genitive torī); second declension
torus c
Verb: torus
Second-person singular imperative present form of torua + the suffix -s.
Introduction
Yesterday I saw a birthday puzzle. Congrats!!
Also this week I watch a Bones episode where the dead body was found buried under a tree. To calculated the time of dead, they count the tree rings.
Rings are form because tree growth slower during winter and faster during summer so yo...
That sucks. I moved all my good stuff to bank or Omega ruby while I was filling my dex. Took quite a while, transferring from all games since platinum.
I've probably got the same amount living. I keep meaning to organize my bank so that the first boxes are all in dex order (and I can see what I'm missing living), but uuuuugh.
the weird thing about ferrothorn is that i found one that is exactly the same as my competitive one except it can't be my competitive one, it's not level 50
I do wonder why they got rid of the clothing in ORAS. While it was dumb having to unlock all the different shops, it was nice having slightly customizable options for how you show up to others.
technically you want to be as slow as possible in case you and your opponent are both down to your last mon and they're both ditto (so transform fails)
choice scarf is the best ditto item because you'll always outspeed and you're not going to set up as ditto anyway (you come in after they've set up ;) )
Cut a pizza into identical slices
This is what I thought this question was going to be, before I fully read it.
A group of code golfers walk into The Nineteenth Bite Pizzeria and order a pizza. It comes in an irregular shape, made of unit squares. Your task is to help them cut it into identical...
It does seem like it's going to be used in basically the same way as a long press on Android, though. The most common thing I see on a few sites is "contextual menus".
So, long press, right click, whatever you want to compare it to.
Hmm. That sounds interesting, but I'd have to get my hands on it to see I think. It seems to me that it would be really hard to fine-control your force while swiping.