« first day (1555 days earlier)      last day (3615 days later) » 

14:00
just read a bunch of Meijer's opinions. fuck me what an idiot
user1804599
@AndyProwl (It was a gamble, I don't know.)
@рытфолд seems correct
> I have a text file contains a lot of "Xn"s and n is integer number Ex: X20,X25,X30....etc. and I want to change all the n's by multiplying it by a factor how can i do this with C++ or Java ? Thanks.
You know what? I bet Erik Meijer uses space indentation.
That's how you know he's worth listening to
ENDURANCE IS STARTING TO HEAT
user1804599
14:03
Meijer is sometimes funny, but often has Meyers-like unhumor.
what's the right motivation for closing questions like the one I quoted a few messages above?
Best kind of humor.
"too broad"?
"it's shit"
I like Meyers-like unhumor
user1804599
14:04
@AndyProwl Too broad.
Comedy option: off topic pointing to cooking.se
@AndyProwl You read the file, you parse the string, you extract the numbers, you multiply them by the factor, you write to file. The actual implementation is left as an exercise to the reader.
@Jefffrey That's pretty much what the answer says
link
How to do anything:
1. Do it
14:05
but that answer is as useless as the question. It should be closed
The answer is excellent.
@Jefffrey here
It's on the same level of abstraction as the question is.
which is inappropriate
Not for OP clearly.
14:07
but SO is not just about helping the OP
for 99% of the community that's useless
perhaps more
SO is about helping OPs all around the world.
SO is so awesome
no, it's not. It's about collecting useful Q&As. Helping the OP is a side-effect.
willing to help people regardless of their sexual preferences
user1804599
@AndyProwl Unless you're OP.
14:08
@AndyProwl What's the purpose of collecting useful Q&As?
With the amount of duplicates and shitty questions and bloo blooing that goal is history
@gnat: Link rot is preferable to no link rot if the resource pointed to by the link is itself rotten. :) — Lightness Races in Orbit 9 secs ago
@Jefffrey to help users who search for solutions to their problems
@AndyProwl There you go.
@Jefffrey users != OPs
14:09
s/!=/==/ FTFY
you can be a user without posting anything
you don't even need a SO account
I meant OPs as in OPs that don't need to be OPs because some other OP posted the question they were looking for.
They are theoretical OPs.
They are a category in itself.
user == potentialOP && potentialOP != OP
once there was the "too localized" motivation
it seems to have disappeared though
14:12
The category of OPs includes potential OPs. There are even isomorphisms from potential OP to OP.
@CatPlusPlus 2. Don't fail at doing it.
3. Don't rightfold it.
4. Don't Puppy it.
@AndyProwl "user == potentialOP" not necessarily
Not all potential OPs are users and not all users are potential OPs.
There's a <|----|> relationship.
|._.| <- so cute
14:16
I have to confess
whenever I find an answer on SO that helps me
|-_-"|
I forget to upvote
user1804599
JavaScript y u no goto.
is goto so useful?
@AlexM. | -_-| > |-_- | > repeat
user1804599
14:17
@AndyProwl I'm too lazy to factor this out into a function.
@Jefffrey lol
user1804599
I could make it tail-recursive.
@рытфолд can't you put a while (true) at the beginning and a break instead of the goto?
user1804599
@AndyProwl The break is in another loop
user1804599
In PHP you can use break 2; for that. 8D
14:19
@AndyProwl How is that better, except that you can say "I didn't use goto"?
@рытфолд Is it?
user1804599
It's within the for loop.
@рытфолд I didn't see the final throw. Otherwise breaking from the inner for loop would just get you to the next iteration of the outer loop
@LightnessRacesinOrbit You can wear this shirt:
@рытфолд Oh, duh
that confused me
kinda disproving my own point now then
imma go buy some cheese and stuff some chicken with it
then fry it
user1804599
14:21
The code is terrible.
should go well
user1804599
I can use an exception to simulate goto!
@LightnessRacesinOrbit it's not. I was just playing with rightfold's laziness. Extracting to a new function is what I would do.
not really
I don't see how moving this function to be a new function helps much
@Jefffrey You're a silly goose.
@AlexM. Is that a thing?
user1804599
14:23
@AndyProwl You know what I would do?
user1804599
Using a lexer generator instead of rolling a lexer manually.
@Nooble yes
mine will be just schnitzels filled with cheese
but look into things like
A Cordon bleu is meat wrapped around cheese (or with cheese filling), then breaded and pan fried or deep fried. (Veal) Cordon bleu is a dish of breaded veal pounded thin and wrapped around a slice of ham (or prosciutto) and a slice of cheese (such as Swiss), breaded, and then pan fried or baked. Schnitzel Cordon Bleu may be veal or ham. Chicken cordon bleu is a breaded cutlet dish of chicken. Ham Cordon Bleu is ham stuffed with mushrooms and cheese. == History == The origins of original cordon bleu as a schnitzel filled with cheese are in Switzerland, probably around the 1940s, first mentioned...
like this
Looks tasty.
Cordon bleu is gud
14:28
I could also add mushrooms, hmm
user1804599
@AlexM. that's good.
yup, as long as the meat is cartilage-free
2.30pm Sunday. wonder whether Martin's pissed yet
nothing ruins the feeling of soft meat and cheese like some cartilage coming from pork or beef :(
Prepare the meat better
user1804599
I got Good Answer badge for "No."
user1804599
lol
it's "Nice Answer", isn't it?
Good Answer is 25 upvotes
user1804599
Oh.
user1804599
Well the brown badge.
user1804599
14:33
Yeah Nice Answer.
Nice arser
I just take my A0 size poster in to the interview room. During the interview, professors will test my knowledge, ask me what I've done and judge that if I'm adequate to the fellowship. In the room it will have a white board for you to outline what I've done, and this is what is poster born for. Instead of drawing figure or chart by myself, I just need to open the poster and show what's what. — Ooker 2 days ago
this guy is a moron
For the record, I think that @ff524's answer is wildly better than mine. Not sure why you migrated the acceptance tick! — Lightness Races in Orbit 3 mins ago
shh, don't ruin it
user1804599
I should sed 's/[fF]etcher/\1etishist/g' on our code base.
I know that his answer is better than yours. I just feel that your answer is easier for me to digest. It's not his answer is uncomfortable, it's because there are somethings (that I think) needed to be ask deeper. I still choose his answer as the best. — Ooker 47 secs ago
wot
14:41
ff524 is a woman goddamnit
s/him/her/
@AlexM. it's the internet, gender is irrelevant until shown otherwise
is there some fast way to check if I forgot .c_str() in a ... variable parameter?
thanks Alex
@Ooker "her answer"* — Lightness Races in Orbit 7 secs ago
I know that her answer is better than yours. I just feel that your answer is easier for me to digest. It's not her answer is uncomfortable, it's because there are somethings (that I think) needed to be ask deeper. I still choose her answer as the best. The accepted answer is the one that works for me. — Ooker 27 secs ago
he reposted it :D
user1804599
@Gizmo proper question, please
Don't use varargs
14:54
@рытфолд well I just finished translating, thd there are now many` + string +` replaced with %s
I ned to know if I have skipped making .c_str() anywhere
what Cat wrote
@CatPlusPlus alternatives to string formatting?
user1804599
@Gizmo Use __attribute__((format(printf, 0, 1))) where 0 and 1 are the proper parameter indices.
There are type-safe formatting libraries
Don't use libc crap
is boost::format one of those?
14:55
Yes
alright ^.^
@Gizmo Yes. Turn on your compiler warnings.
Mine warns any time I pass a non-POD into varargs, and that includes passing a std::string to printf.
oh nice! Does Visual C++ warn too?
fuck knows. fuck VS
Easy to check though.
indeed
user1804599
14:59
VS is Dutch for US, so fuck it indeed.
doesn't seem to by default. let me investigate
I only have VS Express; struggling to find detailed compiler options and maybe it doesn't have any
ah, project settings
hah, nope, it doesn't warn on that at any level. even at the maximum level, which then spews 642 warnings from its own fucking standard library
fyi tested with the following on VS 2012 Express:
#include <string>
#include <cstdio>

int main()
{
	printf("%s", std::string("fuck you, world"));
}
user1804599
Use D instead of C++.
the D is great
@рытфолд "Verenigde Staten"
user1804599
And it's plural like it should be.
15:04
@LightnessRacesinOrbit lol
ugh. the wikipedia article on the US is utterly obnoxious as heck
zero criticism whatsoever.
what happened to NPOV?
inb4 "have you considered there is literally nothing wrong with murrica" from certain people here
how did the UK not start a war with the US already
or at least LRiO with the US
user1804599
@AlexM. Because they'd instantly lose.
user1804599
They'd lose even before they began.
@LightnessRacesinOrbit can you enlight me about the editorial mistake ? (Im not an English native)
15:11
Thief has one of the best looking architecture and color palette I've seen in games
should have been called something else
not being linked to the series would've given it a better welcome
leaving the cheesy story aside, the atmosphere is great
and breaking into places to steal stuff is intense, if you don't want to be spotted
Ok I see, thanks
@quantdev np
& thanks for accidentally bringing it to my attention
> Scunthorpe United F.C.: Both of team’s goalkeepers break arms in 2-0 loss to Bristol City
haha
what's up with people obsessing over patterns anyway
15:20
what the actual fuck — Lightness Races in Orbit just now
that question is hilarious
@AlexM. fixed it
Fuck Disqus. It does not load half the time!
user1804599
lol
user1804599
They gave someone Twizzlers.
user1804599
> Is this what grandmas eat to practice their chewing?
15:42
@LightnessRacesinOrbit Hey, you stole that latter example from me :*
Apparently the GTX960 will perform worse compared to the 760, except with better power consumption.
-_-
@LightnessRacesinOrbit that question must be a dupe
@AlexM. They have. That's how the US came to be.
@AndyProwl probably
how about this?
15:46
@Nooble The UK started a war with the US and that led to the creation of the US. Makes sense.
@AndyProwl no
why not? it explains the difference
@LightnessRacesinOrbit It makes sense if you don't think about it.
@AndyProwl that does not make it a duplicate
@Nooble ;p
@AndyProwl no you're just looking at catch-all "FAQ" questions that are in no way the same as the OP's question
I would be half-tempted with that last one though
@LightnessRacesinOrbit how is that one not answering the precise point the OP is puzzled about?
@AndyProwl you're still not getting it
you should be searching for a duplicate question
the co-incidence that the answer to some other question happens to look a bit like an answer to this question, does not make the questions the same
The question is "So what am I missing here?"
Nooble is supreme koala overlord.
15:51
also, " I thought C++ considers these two styles of instantiations the same" kind of implies the question "are these two styles of [initialization] the same?"
Jesus, I have to sort out financial stuff for Uni now
That means a shitload of paperwork
@AndyProwl no
one is a false assumption; the other is a question
@AndyProwl Aww god, not Alf
15:54
@LightnessRacesinOrbit I don't understand. He wrote: "If I change it to Base b(a); it compiles fine. [...]. What am I missing here?" How is this not a duplicate question of "What's the difference between T a(b); and T a = b;"?
In every way imaginable.
They are literally polar opposites
The new question says "why doesn't this explicit ctor work in this circumstance" (to which the answer is "the two init methods are different, and here are the reasons why X/Y/Z")
The old question says "what is different between the two init methods?" (to which the answer includes "e.g. you can't use an explicit ctor")
They are totally inverse to each other. How can one be a "duplicate" of the other?
Adjective: duplicate (not comparable)
  1. being the same as another; identical. This may exclude the first identical item in a series, but usage is inconsistent.
Verb: duplicate (third-person singular simple present duplicates, present participle duplicating, simple past and past participle duplicated)
  1. to make a copy of
  2. to do repeatedly; to do again
  3. to produce something equal to
  4. duplicate
  5. duplicāte
Noun: duplicate (plural duplicates)
  1. One that resembles or corresponds to another; an identical copy.
  2. (law) An original instrument repeated; a document which is the same as another in all essential particulars, and differing from a mere copy in having all the validity of an original.
  3. The game of duplicate bridge.
  4. The game of duplicate Scrabble.
no need to post a wall
seemed appropriate seeing as I'm talking to one :)
(also, no need to use multiple exclamation marks)
I can use as many exclamation marks as I like!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
15:58
no need != you can't
2
user1804599
I want to move to Alaska.
@AndyProwl no need to tell me what there is no need for
@рытфолд I want you to move to Alaska, too
@LightnessRacesinOrbit someone's been starring random shit for the last few days
@Borgleader saw :(
I think it's @πάνταῥεῖ
you fucking wankers with your non-Latin usernames
16:01
@LightnessRacesinOrbit "sigh"
@AndyProwl no need to sigh :)
@LightnessRacesinOrbit Wot?
hi
see I knew you were here
humans are the best thing on this planet and for one reason only
they discovered how to make cheese <3
@LightnessRacesinOrbit that proves nothing =/
16:04
It was one time I did star something by accident
@πάνταῥεῖ You can unstar.
Yesterday I've seen some stuff randomly starred
@Nooble I well know
@Nooble And I did so
bullshit
we both know you star things at random
now spill it
user1804599
> Tips For Getting Pregnant
> It’s important to choose a sexual partner you know is fertile and capable of having children, like your father.
user1804599
> If you are unable to conceive after two weeks of trying, give up. This is nature’s way of letting you know your body is a caustic, inhospitable cesspool and your black, frigid soul was never intended to feel motherly love.
16:08
> like your father
wat
Yes! I finally found a Corsair K70 without a tramp stamp.
@Borgleader it proves everything
@LightnessRacesinOrbit even string theory?
@Borgleader String cheese theory.
16:13
wtf qt, i didnt understand why i couldn't see the new project window until i unmaximized it
Exact question : Write down a program, that will find all of the k-element subsets of a set (1, 2,.., n). — Setzo 38 secs ago
hello
can someone help me deleting one of my own questions ?
@average You should be able to do that yourself
@bor
@Borgleader well I tried and wasn't able to
@Bor
16:22
@average Why delete it? It wasn't a koality?
@Borgleader "Sorry, this question has answers and cannot be deleted; flag it for moderator attention instead."
@Nooble what's a koality ?
@average So why did you not flag it for moderator attention?
@average pun on quality (he's a koala)
16:23
I realise that it's fucking good fun to simply ignore the instructions you're given, but Christ...
@LightnessRacesinOrbit I did flag it, but noone got around to giving it attention :(
not sure what you think we can do about that
why do you want so badly to delete it?
@LightnessRacesinOrbit well I flagged it for deletion but nobody looked at it..
I need a meat-related pun with "Princess Leia".
@average I don't think that is anywhere near the truth.
Either you did not wait long enough, or it was simply rejected.
16:24
@LightnessRacesinOrbit because(as explained in the reason when I flagged it), the question was dumb on my side, and does not offer a "wealth" of information to anyone, so I believe it's a good idea to have it deleted
@average fair enough
You can check the status of your flags, y'know
we still can't help though!
well.. if you still can't help, then I guess I'll just drink my coffee
(Get to your profile page, click the number next to "helpful flags".)
16:25
@R.MartinhoFernandes "I'll take beef over princess caulifloeia any day."
@R.MartinhoFernandes Princess Leia is married to Ham Solo (sorry it's all I can come up with on short notice)
No, I mean, the name of the punned princess has to be meat-related.
if anyone would like to help me deleting it, please do
@Borgleader I already have Ham Solo and Luke Steakwalker.
@LightnessRacesinOrbit You only say that because robots can't die, right?
@LightnessRacesinOrbit who should I talk to about deleting a question though ?
@average I don't get it. It's even upvoted, so someone found it helpful, not?
@average mods.
if they ignore you, tough!
@πάνταῥεῖ lol. you know better than to equate upvotes with goodness
16:34
Fuck it, I'll keep "Leia".
@LightnessRacesinOrbit Of course I know that's not an indicator of a really good question or answer
0
A: Is there a way to take a series of zeros as an int input?

Alberto MartinAs many calculators, the 0s at the left of a number will be deleted. So there's no way to input 0003 and be recognized as an int (you can read also documentation to understand data types: http://www.cplusplus.com/doc/tutorial/variables/) I see many possibilities to fix your problem: Use FLOAT ...

dat suggestion
@R.MartinhoFernandes Princess Liver
Oooh. I hate liver, but seems good.
16:41
Is it easy to use clang++ instead of g++ in QtCreator?
@Borgleader IIRC you have free choice of toolchain with QtCreator
By default it seems to be g++ I just don't know how to change it to clang++. Although it seems to be related to qmake -spec
yep can't do better than Princess Liver
user1804599
Hi.
Found it, I had to edit "Kits"
16:50
intuitive
Yeah, QtCreator is an incredibly "intuitive" tool :)
0
A: Is there a way to take a series of zeros as an int input?

R. Martinho Fernandes"Three". "3". "Threeeeeeeeeeeeeeeeee". "03". "003". "0003". "00000000000000003". "III". "٣". "11". "३". "三". "Γʹ". What do all the above things have in common? They're all representations of the number three†. Are the representations different? Yes. Are the numbers they represent different? No. ...

There, pet peeve expressed.
All vowels in that sentence are "e"s.

« first day (1555 days earlier)      last day (3615 days later) »