« first day (704 days earlier)      last day (4245 days later) » 

1:00 PM
std::wstring is considered Unicode, right?
 
user784668
@TonyTheLion It depends on wchar_t.
 
@Fanael the size of it or what?
 
@TonyTheLion Doesn't have to be.
I don't know off-hand of a platform where it's not though.
 
right
 
user784668
@TonyTheLion On the character set it's supposed to hold.
 
1:03 PM
so then can a normal std::string considered to be ASCII?
 
user784668
@TonyTheLion No. If I store a UTF-8 string in it, it's obviously Unicode.
 
@Fanael so is there anything that doesn't vary in any of the strings in C++?
let's state it another way: how does not NOT get confused by all that?
 
std::string is encoding-agnostic. You cannot assume any encoding, so it must be part of the documentation somewhere.
 
user784668
@TonyTheLion I don't know "not", so I don't know how it doesn't get confused by that.
 
1
Q: Online Preprocessor for C++

NarekI have: C++ code with lots of complicated MACROS (#define bla bla ...) And the usage (instantiation) of those MACROS I need: A tools (online for example) that will simply do the instantiation of the MACROS (or the system of macrros) and show the resultant code. Example: Input: #define AAA...

 
1:05 PM
E.g. 'UTF-8 is assumed everywhere.' is simple enough as documentation goes.
 
right
 
user784668
@LucDanton Or my favorite: "everything ASCII-compatible is okay".
 
so with really you can't make any assumptions about the encodings of either string or wstring
now, can you make assumptions about the encoding of char or wchar_t?
 
user784668
@TonyTheLion No.
 
Yes. The encoding is part of the data (but is not stored), not of the type. You can have two string objects right next to one another, yet the underlying data is encoded differently.
 
1:08 PM
fuck
walked my dog around the park
and I realized that my solution to the Oracle guy's question was dumb
 
@LucDanton hah. I see.
@DeadMG lol
 
user784668
0
Q: How do I iterate over a vector and also know the index of the element?

kunj2aanI need to access each element in a vector and also know what index the element is in. So far I could come up with two ways for (iterator it= aVector.begin(), int index= 0; it!= aVector.end(); ++it, ++index) or for (int index = 0; index < aVector.size(); ++index) { // access using [...

 
user784668
C++ y u has no enumerate
2
 
@Fanael Why would it want one?
I see no reason why the second version is bad or wrong
 
I have functionality for for(auto&& e: index(v)) { ... }!
 
user784668
1:10 PM
@DeadMG Because ranged for is more cool.
 
and you could certainly implement a kind of for(cont, [](index, reference) { ... }); thing
 
@DeadMG no, we (need ([](more) {braces}))
 
user784668
@DeadMG And because it's harder to use for(int) with e.g. lists. Or sets. Or streams. Or gawd knows what else.
 
@Fanael I don't think that indices make sense for those things.
 
user784668
@DeadMG They do when you want to print a nice, clean message for the user.
 
1:12 PM
@Fanael I don't think that the user can index into data structures with their mind, or files, or such things.
 
My index thingy totally works for lists. Probably.
 
user784668
@DeadMG I don't either.
 
indices don't make sense for lists, sets, or streams. If you want to define your own meaning, then it's no surprise that you'll have to deal with that meaning yourself.
 
^ this
Indices pretty much only make sense for sequential containers.
imho
 
Lists are sequential containers.
> The headers <array>, <deque>, <forward_list>, <list>, and <vector> define template classes that meet the requirements for sequence containers.
 
1:19 PM
@Borgleader More like random-access containers.
 
Err yes
 
I'm thinking of putting together a community-edited meta post on why C++ questions usually get closed. Would that be a good place? Good idea?
 
are you asking why or listing the reasons?
 
Listing reasons
 
naw, there's no point
each question has a specific reason and that's all that matters
 
1:21 PM
@LuchianGrigore And I'll top that by making a community-edited meta meta post on why people make questions about why c++ questions usually get closed.
 
@LuchianGrigore Not really. I would think the reasons would be the same whether it is a C++ question or not.
 
^ this
 
For example, there's recently been a lot of += vs -= and <= vs <, which is okay, but they usually don't even profile.
Or ask a C++ question with only C code in it.
Or don't post the error message they're complaining about.
Or don't post the code.
 
@LuchianGrigore Close as dupe of a canonical answer for C++ operators, if it exists
@LuchianGrigore Retag and comment for clarification
@LuchianGrigore Post a comment asking for the error message
@LuchianGrigore Post a code asking for a code snippet
 
1:24 PM
@sbi All things in moderation, including moderation itself.
 
I don't think any of those reasons are specific to C++ questions, IMO.
 
I'd rather just vote to close than commenting on tens of questions a day...
 
@LuchianGrigore It would be nice to have a "canned comments" feature. :-)
 
Downvote, closevote.
 
@LuchianGrigore is that in the best interest of the community though?
 
1:27 PM
@Chimera if you link to the meta post, then yes. Some will edit the question to fit the format....
 
sbi
@Insilico I think there's a user script for that.
 
Who was it that e-mail the teacher of the "Advance C++" class?
 
0
Q: Which is the more efficient way of generating random variables in C using GSL?

LegendreI am generating random variables in C using GSL like this: gsl_rng* r = gsl_rng_alloc (gsl_rng_mt19937); gsl_rng_env_setup (); gsl_rng_set(r,(unsigned int)time(NULL)); < Generate random variables set 1. > gsl_rng_free (r); gsl_rng* r = gsl_rng_alloc (gsl_rng_mt19937); gsl_rng_env_setup ...

^this
 
+1'd
 
1:36 PM
Memory management in Obj-C is terrible.
 
@LuchianGrigore You should make that an answer. People gettin' too lazy 'round these parts...
 
Mostly people don't realize that, 90% of the time, profiling is the only reliable way of determining which is more efficient
So many variables come into play when efficiency is involved
 
What the....
 
lol
 
1:40 PM
:))
 
C++ y u no modules. :'(
 
129
Q: AutoReviewComments - Pro-forma comments for SE

Benjol No more re-typing the same comments over and over! This script adds a little 'auto' link next to all comments boxes. When you click the link, you see a popup with 6 configurable auto-comments, which you can easily click to insert. This script was inspired by answers to this question on meta....

 
@Borgleader Twas me.
 
1:42 PM
Did you get an answer?
 
no
 
Ah ok
 
Hey puppy, how did the phone interview with Oracle go the other day? (I'm cool with links to the transcript if you don't want to repeat yourself)
 
the one yesterday or the one today?
 
The one today!
=)
 
1:44 PM
Oh, you had two?
 
how did it go?
 
Manager: "Hi, how are you doing today?" Developer: "I'm making progress, for some sensible definition of progress"
 
yeo
yesterday I spoke to Thomas and it went well, and today I spoke to Lukas
 
sbi has removed an event from this room's schedule.
 
we talked a bit about the projects I'd done and what I was interested in, and then he asked me a simple algorithm question
 
1:45 PM
Hey!
:(
 
sbi
Just in time.
 
except then I cocked it up in an embarassing way
 
@sbi Arrrr! Why did yeh do that?
 
sbi
@R.MartinhoFernandes Why did you add that?
 
@DeadMG Oh. What did you do?
 
1:46 PM
it was a simple question about matching a regex subset
 
@sbi 'coz it's talk like a pirate day, mate!
 
@sbi because it was appropriate and funny
 
Ell
@DeadMG do you happen to know the laws on using a fake id to buy alcahol in the uk?
 
and I produced a half-recursive half-iterative version and I forgot half the termination conditions
 
sbi
@TonyTheLion Meh.
 
1:46 PM
@Ell I'm pretty sure the laws on using a fake id anywhere boil down to: you can't.
 
sbi
@R.MartinhoFernandes So? Who wants to talk like a robber, murderer, and raper, anyway?
 
@Ell I'm pretty sure that having or using a fake ID is illegal. Selling to a minor is a criminal offence. But having alcohol as a minor isn't illegal, only buying it.
 
@DeadMG So did you manage to save the situation in any way?
 
@ManofOneWay well, I figure that the instant I debugged it, it would have been obvious which bits I'd missed
so it wouldn't have been that big a deal
but I only realized how bad it was after I'd gone to walk the dog and it was over
 
Ell
1:48 PM
:/
 
@DeadMG Oh. I'm going to need that for finding word boundaries.
 
@sbi :(
Party pooper.
 
@DeadMG So what will happen now? Did they tell you anything?
 
@ManofOneWay Lukas will speak to Thomas then they will tell me what they think
 
1:49 PM
@DeadMG Oh, that sounds like shell globbing.
 
sbi
I am sorry if I overstepped by deleting this one. OTOH, nobody asked me whether I'd agree to it. If you feel so incredibly strong about it, then why don't you go and put it back in?
 
the point is that it's a tad of a mess and missing half the proper terminating conditions :P
 
What was the time limit ?
 
none
he simply wanted to see my approach to solving it
 
@sbi Meh, it's not like I know how to talk like a pirate anyway. I just randomly butcher words and add "Arrr!".
 
1:51 PM
hi, all
 
@R.MartinhoFernandes lol
> OTOH, nobody asked me whether I'd agree to it.
 
sbi
@R.MartinhoFernandes Well, if you do not feel strong about it, then why are you making such a fuss over it?
 
lol
@sbi Trolling?!
 
@DeadMG I mean, did he ask you to write it while he was on Skype, or did you email him hours later?
 
@ManofOneWay Whilst he was on Skype. That's why it was a Google doc
I spoke to him about the logic and stuff whilst I was typing it
 
Xeo
1:53 PM
WHY BOOST.RANGE, WHYYYYY?!
 
> i'm in grade 7 going to grade 8 and this has helped me a lot in class ~ Youtube comment on calculus video. By some user (according to his account) from the US.
 
sbi
1 message moved to bin
 
Xeo
why does Boost.Range dereference the iterators here...
 
^ In grade 7 I didn't even begin simultaneous equations...
 
Xeo
1:53 PM
@sbi Hey, that was about the size of an image :/
 
No wonder the US has so many nobel laureates... :'(
 
sbi
@Xeo Every newbie coming here posting such a wall of text gets smacked on the forehead.
 
@DeadMG Then he will take that into consideration. The whole perform under pressure thing.
 
@Xeo Oh. Nasty.
 
Xeo
@R.MartinhoFernandes And it's not even documented
 
1:54 PM
@ManofOneWay Eh, it's not about pressure, and more about "I would have noticed if I'd just run a couple tests on it" :P
 
sbi
@TonyTheLion What's there to laugh about it? This room has a lot of owners, and they do not always agree with each other. We've had this a lot in other regards: one owner adding someone to the owner list, the others removing them, one owner trampling over another's tagline 39mins after it was changed etc. What's so special about this case?
 
Xeo
The reference says it takes a SinglePassRange, but the code uses boost::prior, which requires at least bidirectional access. Or does SinglePass not mean "only ++" anymore?
 
|| needle[i] |= '?' fail!
 
@R.MartinhoFernandes Not concerned about the simple typo there.
 
@Xeo Then that's wrong. You should file a bug.
 
1:56 PM
seriously though, my stupid nomadic primitive education system put aside, do schools really teach calculus in grade 7?
 
@sbi I don't think I should answer that question.
 
Xeo
In any case, why are they making it so hard to pass an adapted range to it...
 
@sbi What? I disagree!
 
@DeadMG More importantly, oh gawd, it's missing a test for needle[i] and haystack[i].
 
(Also, I'm of to run errands and pick up some more kids)
 
1:58 PM
@R.MartinhoFernandes hm?
 
> pick up some more kids
how many kids do you have?
 
@DeadMG When does that first loop ever end?
 
@R.MartinhoFernandes Hence why I said that half the terminating conditions are missing.
 
Yeah, that's quite an embarassing failure.
 
I personally have two. Of which 1 is currently present. I am in the process of exchanging one playmate for the other and I will extend the selection with a twin that practically lives here since ~1.5 weeks due to family situation
So yeah, errands and accumulating a "bakfiets"
g2g
 
1:59 PM
well, it kinda is and kinda isn't, I mean, it would have been trivially obvious with a single test
 
Xeo
@sehe hf
 
and my fundamental logic isn't flawed, I think
 
@sehe I see what you did there. :D
 
There's only one "iterator".
There should be a separate one for each string.
 
actually, the whole algorithm should just be recursive
 
2:03 PM
(Oh, is it ok if I brutally honestly point out the flaws in it?)
 
@R.MartinhoFernandes Considering that I'm telling you how bad it was :P
 
It also seems to be non-greedy, though whether the intention is greedy or not is not clear from the examples.
 
@R.MartinhoFernandes Yeah, I asked about that, and he said that non-greedy was fine.
 
Xeo
Non-greedy is easier to implement, isn't it?
 
2:05 PM
@ApprenticeHacker Come on, man. That's from last week's xkcd. We all here read xkcd.
 
@R.MartinhoFernandes lol, sorry.
 
sbi
> Hey, I just got a leaked copy of a new movie! #TalkLikeAPirateDayErik V. Olson
5
 
Xeo
lawl
 
2:06 PM
Arrr that be pleasin' to me eye.
 
@R.MartinhoFernandes No it isn't. I don't recognize the quote.
 
oh
 
3
Q: Cleaner, prettier stack traces in GDB for C++ template (mostly boost)-heavy code

ARVI work on a financial application (Linux/C++/gcc) that uses boost and templates extensively. The stack traces generated while debugging via GDB is horrifyingly complex with the internal template-wiring of boost adding a lot of ugly noise to the output. Does anyone know of a way to get a cleaner, ...

 
What's wrong with twitter oneboxes ?
 
2:07 PM
I think this guy has nice dreams ^
but I doubt they will be reality
 
Xeo
@kbok He reformatted so the text's visible in the starboard
 
any poor souls here suffered with clearcase and know a way to delete a revision of a file, not the entire file it self, just a revision of it?
 
not me
 
sbi
Today is International Talk Like a Pirate Day. Camilla's been up all night learning Somalian. Awkward. #talklikeapirateday
 
@Xeo Ah, yeah. Handy.
 
sbi
2:07 PM
Sorry for this one, but I just couldn't help it.
 
or even an entire branch
 
@sbi lol, again.
@sbi can't resist the temptation to star this one too...
 
sbi
@ApprenticeHacker What with that user name, I'll not gonna inline this one.
 
ah ha! I think I have it :D
come here you dirty little command line, let me use your power
 
sbi
Talk-Like-A-CoshMan-Day.
4
 
2:10 PM
wait, no I don't have it
RAGE
I HATE CLEARCASE!!!!
 
good, good, I can feel your anger...
 
let the hate flow through you
 
@sbi That's three epic messages in a row. I'll die due to continued ROFLing.
 
indeed, let it embrace you
 
robot
how about this for a better match
 
2:13 PM
Looks better.
 
EVEN MORE RAGE AT THE ADMINS WHO PREVENT ME FROM DOING WHAT I NEED TO DO
 
sbi
@ApprenticeHacker You gotta work on this! There are still some messages of others on the starboard!
 
RAGHHH!!!
 
the question is
 
kick ALL THE THINGS
 
2:13 PM
do I e-mail the Oracle guy, tell him what happened, and show him the better one, or leave it
 
@DeadMG Why not email him?
I would
 
aright
 
1
Q: Why we need write c++ memory management module

stackpopI am always very confused about the C++ memory management. The memory on the HEAP can apply via new and release via delete The memory on the STACK is managed by the system. So a programmer who never forget to free a memory can manage memory well? Someone says that to implement a memory modul...

meh
 
Honestly, I have no idea. All I can say is that I would probably do it. Take the time to run tests on it though.
 
If you have a complete solution that is and point out what was wrong with the previous one
 
2:14 PM
@TonyTheLion Oh gawd, what a mess.
 
@ManofOneWay What's wrong with the previous one is that I didn't really consider the termination cases properly
 
rofl I didn't think my comment would get for "likes"
 
@TonyTheLion There is one thing right in that question: "I am always very confused about the C++ memory management." It shows.
 
@DeadMG Have you fixed it and checked that it works?
 
"Someone says that to implement a memory module is because the consideration of Performance". WTF.
 
2:16 PM
@DeadMG Btw, it was Java, right?
 
@R.MartinhoFernandes Nah.
 
What other language uses boolean?
 
doesn't matter
 
the point of the exercise was so that he could watch whilst I wrote it
 
2:17 PM
@R.MartinhoFernandes yes.
 
Because I don't like how that thing generates about a gazillion strings.
 
@R.MartinhoFernandes Arguably, an iterator-based version could be recursive without having to endlessly duplicate the strings.
 
Though in Java substring is smart and doesn't duplicate anything (immutable strings make that simple).
 
sbi
@thecoshman Last time some admins hindered my work ("if you need something from MSDN, just ask us admins; but right now we don't have the time to search for it; we'll do it first thing tomorrow"), I wrote an email to the R&D boss explaining that the deadline had just moved one day, and went home at lunch time. By the time I got home, I already had three calls on the answer machine, with increasing urgency. That stirred them up quite well.
 
why... why conspire to make working with clearcase even harder
 
2:19 PM
@sbi Nice :)
 
It can bite you if you have a ginormous string and grab a little substring out of it and then you ask yourself why the GC isn't doing its job. Not that it ever happened to me. whistles
 
lol
 
sbi
@ManofOneWay The admins thought otherwise. Took them two months until we were friends again. :-/
 
Do you really believe this hasn't been asked already? Have you checked for duplicate before jumping to answer? — Piotr Dobrogost 8 hours ago
 
lol he's pissed at you because you answered a question that had been answered before?
 
2:22 PM
@Borgleader not at me.
At the guy with the top answer.
 
Clearly he's butthurt.
 
I'll vote to re-open. It's not even a dupe.
 
> C++ is the king
lol, his "about me"
 
sbi
@Borgleader No, he isn't. He is the one who does the right thing: rather than reaping rep no matter for what, he strives to keep the site tidy and organized. You're sneering comes across very immature.
 
I disagree. The goal with SO is to ensure questions get fucking answers. Keeping it tidy and organized" comes in at a distance second place
4
And even if the guy is right, I think he's the one who comes acrss as sneering and immature
 
2:26 PM
@jalf this
 
sbi
@jalf I know you disagree on that one. However, that doesn't change that SO tries to not to have duplicates.
 
1
A: Specialize class for couple of possible arguments(typenames)

Johannes Schaub - litbYou can use a dummy std::true_type parameter template<typename T, typename = std::true_type> class Reader { }; template<typename T> class Reader<T, std::integral_constant<bool, std::is_integral<T>::value> > { // ... }; Incidentally you will ...

 
Even if you believe that answering a duplicate question is harmful, there are better, and less "sneering and immature" ways to point that out
@sbi That's not true. SO tries to not have too many duplicates.
 
I'm annoyed. So, you can't change the primary template. But then you get an accepted answer that changes the primary template.
 
@Borgleader: it's possible the person didn't think to check, it's possible the person checked and didn't find a duplicate question that had been aswered. If he'd said it without implying the guy was fishing for rep I would've been fine with the statement.
 
2:27 PM
OPs that change the rules mid-game suck.
 
Also duplicate-closing people tend to close Q even if they aren't exact dupes.
 
it has been stated several times, by moderators, by Jeff and Joel, that SO thrives on having some duplicates
It has never been a goal of SO to have no duplicates
 
The tendency is slowly drifting to a hunt for previous, alike, questions.
 
sbi
@jalf And there are far worse ways to do so. In fact, I doubt you would be more polite. :)
 
xkcd1110.surmair.de <-- todays xkcd in a ... 'better' format?
 
2:29 PM
@sbi Sure, but following his outburst, jumping on @Borgleader for being "sneering and immature" strikes me as hollow and hypocritical.
As if sneering and immaturity is fine as long as it's used to defend the viewpoint you like, but it's wrong when used to defend another viewpoint
 
@thecoshman By "better", do you mean "a blank page that takes forever to load"?
 
sbi
@jalf Waitaminute. Before we continue — are we even both talking about "Do you really believe this hasn't been asked already? Have you checked for duplicate before jumping to answer?" Because I can see nothing sneering and immature in that.
 
@R.MartinhoFernandes scroll you fool! it's a MASSIVE image
 
@sbi Yes, we are. And I do. It comes across as needlessly condescending and passive-aggressive
 
@thecoshman Yes, and I can't zoom!
 
Xeo
2:31 PM
@R.MartinhoFernandes No, "blank page that takes a shitton of memory" :)
 
sbi
@jalf Then, jalf, I will end this discussion with you at this point.
 
Do you know that I can scroll on the original xkcd post?
 
:)
 
@thecoshman Arguably the original xkcd post is in a better format.
It's not a MASSIVE image.
 
2:32 PM
Greetings Earthlings
 
It's a massive HTML table with the various segments strewn together.
 
sbi
@R.MartinhoFernandes Yeah, but the scroll window is a lot smaller in that.
 
@R.MartinhoFernandes the original one can zoom?
 
@rubenvb oh there you are. :)
 
@thecoshman No.
 
2:32 PM
I mentioned you earlier today
and the fact you haven't been here for a while
 
> Clearly you have never been to Singapore!
Oh, but yes... I have :D
 
@R.MartinhoFernandes then get a decent browser that will let zoom out this version, like chrome will
 
@TonyTheLion I was news!
@TonyTheLion vacation
 
With all the pointer masturbation, this looks awfully like C instead of C++! — Tony The Lion 9 secs ago
 
Anyone up for some variadic macro hackery?
 
2:33 PM
@thecoshman I'm using Chrome. It lets me zoom out. A little.
 
I'm trying to shoe-horn boost::assign::map_list_of and C++11 brace init into one macro interface.
 
@R.MartinhoFernandes indeed, not enough though... dang guy with his massive images
 
If I zoom out as much as Chrome allows, all I see is still a blank page.
 
Being ridiculously ineffective at that.
 
And I think panning (which is what you get in the original) is a better UX than scrolling.
 
2:35 PM
@R.MartinhoFernandes you might need to re-fresh once
 
@thecoshman What for?
 
@R.MartinhoFernandes middle click with your mouse in chrome should let you scroll via moving of mouse
 
is anyone here able to give good references to an explanation of loop tiling. I've read the wikipedia article and still can't get my head around it.
 
@R.MartinhoFernandes ¬_¬ to actually load the image. I think my friend had same problem
 
@thecoshman Nope, the images are loaded.
But the top left corner is blank.
 
2:36 PM
Can anyone explain to me how 32-bit Firefox uses 3.4 GB of RAM on Windows? I thought everything 32-bit was limited to 3GB?
 
@R.MartinhoFernandes that's because the top left corner is blank
 
@rubenvb I was under the assumption it was 4GB
 
sbi
> Man, #TalkLikeaPirateDay is SO over. All the cool people are doing #TalkLikea19thCenturyWelshCoalMiner. — BillCorbett
 
2:38 PM
@mraxilus Ah, yes. it is that on a 64-bit OS. On 32-bit, it's 3GB when the exe has the LARGE_ADDRESS_AWARE flag set linkie
 
It's 3GB of address space.
 
@rubenvb Or 4GB on a 64bit Windows with LARGE_ADDRESS_AWARE.
 
@R.MartinhoFernandes address space is the maximal accessible memory limit, no?
 
saying no and switching the order of words isn't hepful (reading the link now though)
 
2:41 PM
@rubenvb 32-bit computers have a 4 GB address space. how much memory there is varies.
 
@rubenvb I didn't (just) switch the order of the words. I used different words.
 
@rubenvb under x64 OS, x32 application may use 4GB of memory
 
@rubenvb Accessible != Addressable
 
huh.
This is interesting.
Thanks
 
IIRC, the virtual memory limit is 16TB per process on 32-bit Windows, and 256TB on 64-bit Windows. Don't quote me on those numbers, though.
 
2:48 PM
0
Q: nesting c++11 range loops for finding combinations

kirill_igumfinding combination involves two loops over the same container. the first iterates over elements: pick an element iterate over the elements on the left print the first and the second iterated elements so here is a wrong example: vector<int> vec; for(size_t i=0; i< 10 ; ++i) v...

Not sure what he's asking...
 
Ell
who needs a memory limit of 16tb? :L who uses that much atm?
 
Who needs limits at all?
 
Ell
yeah o.O
why are there limits?
 
Probably because it complicates the kernel for no interesting benefit.
 
sbi
Nobody needs more than 4GB of memory!
 
2:55 PM
Maybe it's just filesystem limitations
 
@sbi I thought 128kb was all you would ever need?
 
@thecoshman 640k
 
sbi
I'm not aware of an architecture that had a 128k limit. That would require a 17bit address bus, after all.
 
ah, close enough :P
 
Sure, five times less is close enough.
 
2:57 PM
indeed it is
 
I found a macro+boost.assignment workaround for brace init lists
 
@sbi awe, look at you knowing how to calculate stuff, have a cookie
 
well, someone else found it for me.
 
sbi
@thecoshman I'll tell the guy who prepares your income deposit, Ok?
 
@sbi or some OS imposed limit.
 
2:58 PM
Dafuq some guy posted a java question and answered it (within a few seconds)
 
@sbi I assume you mean 'pay check', and point taken :P
 
@Borgleader That's ok.
 
@Borgleader Yeah, so?
If it were bad to answer your own question, the creators of Stack Exchange would have made it impossible.
 
Why would you post a question and then answer your own question within 5 sec? (Btw the answer was pre-written it)
 
Jeff Atwood on July 01, 2011

The FAQ has contained one key bit of advice from the very beginning:

It’s also perfectly fine to ask and answer your own question, as long as you pretend you’re on Jeopardy! — phrase it in the form of a question.

So …

if you have a question that you already know the answer to

if you’d like to document it in public so others (including yourself) can find it later

it is OK to ask, and answer, your own question on a relevant Stack Exchange site.

To be crystal clear, it is not merely OK to ask and answer your own question, it is explicitly encouraged. …

 
Ell
2:59 PM
hmm "If it were bad"... "if it was bad"?
 
@Borgleader Because that can help future visitors? Googlers?
 
sbi
@thecoshman Um. I think you got that wrong. When I was young, we were wielding soldering irons over Z80 chips. Those had 64k of address space with their 16bit address bus. The only thing I had to calculate to take it from there is x2. Even I can do that.
 
Thats not my point. He must have had the answer already
 

« first day (704 days earlier)      last day (4245 days later) »