260 points · by marcopolis · 12y ago · 116 comments
To have it reopened, all the OP needs to do is give the community all the information they need to reproduce the issue. Should we ask any less?
It's also worth noting that the question was not closed by moderators (denoted by diamonds next to their name), but by members of the community with high reputation (> 3000). These users have community moderation powers by virtue of their reputation, but are not moderators per se.
If you have over 3000 reputation, you could vote to reopen.
Full disclosure: I am an elected moderator for Stack Overflow: http:stackoverflow.com/users/16587/george-stocker
B) Someone is gifting free interesting content to the site; even if it's imperfect does the reaction have to be so harsh? This is, personally, exactly why I never post on stack overflow. You're acting like you're doing them a favor by letting them post there, when they're doing you a favor by giving you interesting content in the first place.
A user can gift all the free interesting content they want. But if it's not scoped or on topic, then it's not scoped for the site or on topic and would be closed and/or deleted. Just because Rodney Dangerfield turns up to your bedroom and starts making jokes doesn't mean it's the time or place.
Disagree. OP failed to exclude some possibilities by doing multiple randomized trials and so on (or at least stating whether he had done so), but he supplied the source code and a description of the behavior that was perfectly adequate to understand the issue. Nothing personal, but your post above is the epitome of deflecting a question instead of engaging with it.
Most likely his problem is due to his terminal (my guess: cmd.exe/powershell in Windows) and not his program code at all.
FWIW here's my non-reproduction of his problem, on Linux amd64, Sun Java 1.6.0, running in urxvt:
real 0m3.568s
user 0m0.616s
sys 0m1.152s
real 0m3.393s
user 0m0.648s
sys 0m1.060s
In other words, I could not reproduce the issue with the information he provided.Well in real life, those are the tough ones and where help is more appreciated.
The only bugs that I remember are the ones that were random or that nobody else could reproduce and yet were there.
Why close other's question because of your own incompetence? Why the fuck prevent a question from been answered because only five retards can't get it?
Isn't the solemn purpose of the site is to wait until someone who is capable of reproducing it and solve it?
It's a pet peeve of mine. At least 10% of the time I google for a answer to a programming question it takes me to a StackOverflow question... which has been marked off-topic.
If a future person were to run into that problem I think that is the most appropriate location for the answer to reside.
It was mostly Assembly, Turbo C, Microsoft C or DJGPP in the later games
Making the sound card work -> sucked (especially with interrupts >= 10)
Multithreading -> Non existent / roll your own
Graphics -> VGA or Vesa. Vesa was nice except for one small detail (next point)
Real mode -> Awful! The bane of developers! Going from "16-bit" to 32-bit protected mode is like going from the worse stick-shift car to an automatic modern car.
The reason this also influences VESA is that VGA fits into a segment 320*200 = 64k anything bigger doesn't.
"9001 Wrong Things Programmers Assume About Internationalization"
This behavior should at a minimum be locale-aware. I would be surprised if Firefox did that by default in my pt-BR profile.
Is that loose of a search not actually desirable in "find in page" instances?
In other words, are there many words where 'e' matching 'é' would actually generate a false positive? This is the only case I could see that would be problematic.
And even then "find in page" is usually used as quick navigation to the minimum matching search (high recall) and not about excluding all possible mismatches (high precision).
Isn't it common knowledge though? Cat some 1GB file to your terminal and notice it takes more than the <100ms it takes to cat it to /dev/null.
Everyone with >5 years of printf() debugging experience.
Nowadays I don't know if the difference is noticeable enough to be common knowledge though.
Here's another way to increase your CPU load with apparently doing nothing:
$ cat /dev/zero
"See, this is exactly what's wrong with SO."
"Really? Because it seems like a perfect example of why SO works perfectly."
Of course, I find I am increasingly disposed to read the comments that way...
If it wasn't a line length issue, it probably would have been
1) Proportional kern'd antialiased fonts some glyphs hardware accelerated some not.
2) Maybe for speed it only caches certain font glyphs but its an anti-accelerant strategy this time. After all, what normal person generates outputs like this?
3) UTF-8 to ASCII and or localization code gone wild or similar misoptimization.
4) You'd like to think a simple string printer and the fancy formatted string printer (aka printf and friends) are separate optimized routines but the simple printer might actually be a degenerate form of the formatted printer and the formatted printer has a severe hangup about certain characters. Maybe # is processed quickly but b gets processed extremely slowly because its regex'ing in a very inefficient way to find the \ as in \b.
5) remember LTRS/FIGS from baudot 5 bit teletype coding? Someone trying something "funny" with 3-d accelerated text rendering treating certain letters as 3-d sprites and some not and its getting all messed up and unoptimized this time. Someones LRU cache of 3-d glyph/sprites isn't as LRU as you'd like to think, perhaps.
By acting quickly before 5 other power user close the question, of course.
Well, I shouldn't be surprised... There are people who try to code with a proportional font too, so I guess anything is possible, though it may not make sense to me.
Terminal is a very large word these days. In the SO post, he was using the output console of NetBeans.
2) Outputting to STDOUT can have some serious overhead depending on where you're actually rendering the text-- textview inside your IDE? Crazy, off-the-wall terminals? Let's dump this to a file and see how long it takes