« first day (663 days earlier)      last day (4302 days later) » 

6:00 PM
@ecatmur can you answer my comment pls?
 
I want to see pictures of cats.
 
@Chimera Learn from it :D
 
And bacon.
 
Xeo
@Drise Boost.Assign
Or whatever it's called
 
@R.MartinhoFernandes ideone doesn't seem to have constexpr
 
6:00 PM
@sbi hah, cute. I hadn't seen that :)
 
@Drise OH I do, that's why I stick around.. :-)
 
@LuchianGrigore done and... done.
 
Xeo
 
@LuchianGrigore If I were him, I would surely answer "No" simply because it's shorter than "Yes". Pro-tip: pls don't use pls
 
@MooingDuck use LWS?
 
6:00 PM
@Drise with boost
 
Xeo
It's the new and fancy ideone, so to speak
Even has Boost in C++11 mode
 
@ecatmur I just read the q in the q.
 
@Xeo that seems like the wrong link
 
Xeo
no it's not :P
 
6:02 PM
@ecatmur better
 
@MooingDuck They're the same?
 
@Drise now they are. check Xeo's edit: chat.stackoverflow.com/messages/4875760/history
 
Xeo
shush, you
 
@MooingDuck Right.
 
@DeadMG #define NULL (1, 0) doesn't work: liveworkspace.org/code/a216a556e86b59c0fcd357f6fcef4d97
 
6:07 PM
I know there is a #undefine.. what's the proper term?
 
@Drise #undef
 
@Drise error: invalid conversion from 'int' to 'int*'
@Drise the undef merely solves a warning
 
@MooingDuck It was a warning?
 
@Drise yes
 
6:09 PM
oh
 
@Drise the problem is that 0 is a constant literal thingy, and (1, 0) is an expression that results in a integer.
 
@MooingDuck error: "NULL" redefined
 
@Drise oh, was a warning on ideone anyway
 
constant-expression: conditional-expression
 
sbi
6:11 PM
@Drise There was some research as to the viscosity of liquids and what it does to those who try to swim in it. They seriously put jelly into some big indoor swimming pool. I think those scientists even got the ignobel price for it. IIRC, what you lose through it being more viscose, you gain through increased buoyancy. So, unless I got this wrong, for once, XKCD is actually wrong there.
 
A comma expression is not a conditional-expression.
 
@MooingDuck Still not allowed. NULL must be defined to an "integer constant expression", and (according to the standard) that can't include a comma operator.
 
@sbi How is it wrong?
 
expression: assignment-expression | expression , assignment-expression
 
sbi
@Drise He wouldn't get slower by the jelly.
 
6:13 PM
@Drise you can push harder against jelly, giving more force as well as more drag
 
@RadekSlupik Is that the one true C room? Who named it LOUNGE(C) and when?
 
That's reasonable.
 
@sbi technically it doesn't say he would get slower
 
@FredOverflow I don’t know nor care.
 
sbi
@MooingDuck AFAIR they explained it with increased buoyancy.
 
6:13 PM
@FredOverflow when people decided LOUNGE<C> was too C++ like
 
sbi
@MooingDuck That is covered by my "...unless I got this wrong..." clause, too.
 
@sbi mythbusters talked about force.
 
Since when does increased viscosity imply increased buoyancy?
 
@sbi I'm not sure how that would help. In fact, it might well hurt -- they claim that swimming under water is faster than on the surface.
 
@MooingDuck Which is a syntax error in C, IIRC
 
sbi
6:14 PM
@ecatmur Ah, I think I explained that wrong. The jelly increased both.
 
@sbi Likely raised the density.
 
sbi
@JerryCoffin Because human buoyancy makes you flap around just under the surface.
 
@FredOverflow I did Jul 8 8:33 PM
 
@Drise Not if LOUNGE and C are integral types. Then you have two comparisons there. Assuming another int comes after the > of course :)
 
@MooingDuck The point is: no side-effects.
 
6:16 PM
@FredOverflow You know what happens when people assume?
 
@R.MartinhoFernandes I realized that much later :(
 
@Drise Chernobyl?
 
@FredOverflow It... makes an ass out of you and me?
Have you never heard that?
 
@Drise error: expected expression before ‘}’ token (ideone.com/gw7GA)
 
Also, I'd be grateful if anyone showed me the part that requires if(p != NULL) to be well-formed :P I can only find the part that requires NULL to a null pointer constant, not the part that requires it to interact nicely with the rest of the syntax :( (meaning the 5^5 idea is already insidious enough)
 
6:17 PM
@Drise No. Many English and American expressions/figures of speech are unknown to me.
@R.MartinhoFernandes The standard probably doesn't want to talk too much about the preprocessor.
 
@FredOverflow Well, it makes an ass out of you and me.
 
Yay! I'll finally get that damn ReSharper license.
 
Oh wait, I finally got it! ass, u, me, assume, LOL
 
Oh God those images on Google Images for the query “granny” when SafeSearch is disabled… >.>
 
@EtiennedeMartel Oh, that's nice.
 
6:19 PM
@FredOverflow No, see how assume is spelled. Unless I'm being countertrolled.
@RadekSlupik WHY!?!
 
@Drise I needed a normal picture of a granny to troll a friend.
And then Google comes up with this. Google y u no helpful.
 
@RadekSlupik Creepy.
 
Meh, the lentils take much longer to cock than the rice. I should have put the rice in later. Now I will have overcooked rice and hard lentils :(
 
@Drise Good thing I’m a /b/ regular. :P
 
Genius.
@RadekSlupik OhGawd
 
6:21 PM
@Drise No. It’s not “OK”.
If you cast double* to long, your code is bad, you are bad, and you should feel bad.
6
 
sbi
@RadekSlupik Most of them look younger than me. How can they be grannies?!
 
@FredOverflow Nasty typo.
 
@sbi Saying somebody is younger than you doesn’t really tell anything useful.
 
@R.MartinhoFernandes argh, too late to edit :( been watching too much family feud, they always talk about penises and stuff.
 
sbi
@RadekSlupik They are unlikely to be grandparents.
 
6:24 PM
:P
 
@sbi Not sure you've been to the American south
Haven't looked at those photos, don't plan to
 
@Drise Also incorrect (in the context it was used).
 
@sbi 36-40 year old grandparents is becoming more and more common, but I haven't seen the pictures.
 
D:
 
Assuming that long is 32-bit is as bad as assuming that a pointer will fit in it.
 
sbi
6:26 PM
@Collin Does LA count? :b
 
I think grannies of 30~35 years old are quite common in certain continents.
 
Personally, I reckon that the only sensible 64-bit data model is ILP64
You should be able to rely on int being the native word size.
Even if it's a quadword.
 
@sbi LA is... interesting.. I was thinking Alabama
 
sbi
@RadekSlupik I presumed google to deliver Western-dominated results.
 
or Georgia
 
6:27 PM
@ecatmur define "native word size"
 
@Collin Don't judge!
 
@Drise Alabama or Georgia?
 
@Collin the former.
 
@Collin West Virginia.
 
@RadekSlupik not without firstname(s)
 
6:28 PM
@MooingDuck um.
 
@sehe Boss of Gertrudis.
The big baus.
 
Natural size of integral registers?
 
@RadekSlupik Aha. No, that was another guy whose name I would recognize, but not recall
 
i.e. the largest size that arithmetic instructions operate on without penalty.
 
@ecatmur 7"
 
6:29 PM
I want bigint registers. :<
 
who the hell is Bruce Heinbuch and why has he sent me 8 email forwards in the last 10 minutes
 
sbi
@Collin Most of what I know about Alabama and Georgia is from Joshylin Jackson's books. :(
 
@sbi I drove through it once, saw a dude at the grocery store with a revolver on his hip
Who feels the need to carry at the grocery store?
 
Huntsville is a city located primarily in Madison County in the central part of the far northern region of the U.S. state of Alabama. Huntsville is the county seat of Madison County. The city extends west into neighboring Limestone County. Huntsville's population was 180,105 as of the 2010 Census. The Huntsville Metropolitan Area's population was 417,593. Huntsville is the fourth-largest city in Alabama and the largest city in the four-county Huntsville-Decatur Combined Statistical Area, which in 2008 had a total population of 545,770. It grew across nearby hills and along the Tennessee...
 
@Collin Who feels the need to visit a grocery store, when you could just hunt?
 
sbi
6:31 PM
@Collin Might have been esr.
 
@sbi Jeebus
 
@sehe Hunt for toothpaste?
 
BRB; I’m going to acquire some OJ.
 
sbi
@Collin Did you seem my comments and his replies? (Search for "sbi".)
 
@EtiennedeMartel Sounds like butthurt.
 
6:33 PM
wtf who set up that topic lol
 
I need some advice on naming classes. I have a class with the purpose to order blocks. I call the class block_ordinator and the public method that is called on an instance of block_ordinator is called order_blocks(blocks). Good? Bad? Any better names?
 
@Chimera Who needs toothpaste? Just crack some bones with your theeth. Keeps them sharp and healthy. Also, just hunt for bears and leave the honey :)
 
ordniator sounds like the french word for computer lol
 
@sbi This guy is an idiot.
 
Toothpaste is primarily made of salt; i.e. you could just as well eat ketchup-flavoured crisps and bacon.
 
sbi
6:34 PM
yesterday, by R. Martinho Fernandes
room topic changed to Lounge<C++>: Who cares about squirrels? Elephants are more interesting. [c++] [c++11] [c++-faq] [fun]
 
i meant this one: Hmmm. My ding ding dong.
 
@Cicada Mais non.
 
Mais si. Encore un pleurnicheur qui n'aime pas le C.
 
sbi
@Papergay Oh, I should've reloaded the tab before searching. :(
 
What an ugly language.
 
6:35 PM
ur all mad cuz c is osom :))))))))
 
sbi
@RadekSlupik Mine isn't.
 
osom?
 
@ManofOneWay "ordinator" not a word.
 
@sbi thx for trying at least :P
 
higgs osom
 
6:36 PM
@Cicada Personne n'aime le C. Ceux qui en font ne connaissent rien d'autre, ou sont obligés d'en faire. Mais personne n'en fait parce qu'ils ont envie d'en faire.
 
@Papergay Ha, I disguised that one. You'll never find me!
 
@Papergay what the Cat things everything is not.
 
@ecatmur those are the best names
 
Oh no, @Cicada rolling up in here about to make a fuss.
:D
 
Je fais du C et je préfère largement C à Merde++.
 
6:36 PM
@EtiennedeMartel Hey, Chimera can read C French
 
sbi
@Papergay I think this one comes from some message flagged in another room. ICBWT.
 
@Cicada :)
 
@Cicada Eh. T'as oublié de prendre tes médicaments?
 
@R.MartinhoFernandes i dont even know how to search yet D:
 
@Cicada I understood "Merde", it means "shit", right?
 
@Cicada Mais qu'est ce que tu dis!
 
merde++ lol
 
@FredOverflow Yes.
 
sbi
@sehe I can read French, too. It's mostly Latin letters, after all. I just can't rponounce or understand it.
 
@FredOverflow Exactly.
 
6:37 PM
Noun
ordinator (plural ordinators)
One who ordains or establishes; a director.
 
@sbi You're wrong. Not that I'd have anything to do with it.
 
@EtiennedeMartel No. You failed to see how Cicada doesn't do bandwagoning
 
@ecatmur wiktionary doesn't onebox.
 
Dammit my French is rusty.
 
Dammit French is rusty.
 
6:38 PM
@sbi reading without understanding lol
 
Mon français est rusty
 
@StackedCrooked Despite the fact that you live next to a bunch of French speaking people?
 
sbi
@Papergay Read the Code of Conduct!
 
@StackedCrooked Yet correct.
 
@rubenvb "rouillé"
 
6:38 PM
So there exists such a thing called Google translate, so I can understand everything you all are saying.
 
Mon bacon est crusty
 
@EtiennedeMartel We don't speak to each other.
 
@sbi you mean for searching?
 
@Cicada Yeah, after three edits and two Google searches.
 
@EtiennedeMartel yeah, that :P
 
6:38 PM
@StackedCrooked That's a tragedy. You could exchange beer drinking tips.
 
sbi
@Papergay For everything!
 
@sbi I can read and pronounce some German too. I just have no idea WTF I'm reading.
 
@sbi translated "Nobody loves C. Those who do, don't know anything else, or are obliged to. But nobody uses it because they like to."
 
@sbi okay thx
 
sbi
@R.MartinhoFernandes I presumed you could read it.
 
6:39 PM
@R.MartinhoFernandes You're probably summoning Satan or something.
 
@sehe Thanks for the translation.
 
@EtiennedeMartel lulz
 
German always sounds angry.
 
@Cicada I do sound like that.
 
6:39 PM
@ManofOneWay arrange, arranger?
 
@sbi I liked the responses that claimed european solutions never work in the US.. not sure which ones they're talking about, but it's that ridiculous notion that the US is the best country in the world and no-one could possibly do anything better.
 
nothistopicagain.rar
 
sbi
@EtiennedeMartel Ach!
 
@sbi And that sounds like you recently swallowed a cat or another furry animal.
 
@EtiennedeMartel I would dare to compare Flanders-Wallonia with the French-English "conflict" in Quebec, although I don't know as much about the latter.
 
6:40 PM
@EtiennedeMartel indeed :D
 
a furry merkin
 
@Cicada his topic?
 
Wallonia sounds very Russian...
Or Roman.
 
@sehe you nitpicker you
 
@rubenvb Really?
@Cicada There is period missing at the end of that sentence!
 
6:40 PM
@sehe Wiki translation says Wallonia...
 
@rubenvb Russian?
 
or "Walloon region", which sounds like an elephant.
 
@sehe enough of this faggotry
 
Wallon is like simplified French.
 
@rubenvb It's not really a conflict. The most commonly used term is "two solitudes".
 
6:41 PM
Jun 7 at 14:22, by Cicada
@sbi I was referring to the missing period
 
@sehe well, I think "Wallonia" sounds Russian.
 
@sehe Oh nice one. +1
 
But, yeah, I get what you mean.
 
@rubenvb Ok. Surprising stuff.
 
CAPS JUST TO MAKE YOU MAD
 
sbi
6:42 PM
1 message moved to bin
 
COPS JUST TO TAKE YOUR HAT
 
Win.
 
sbi
@EtiennedeMartel I'd never thought this would have such an effect!
 
Once upon a time I posted a link. Soon the little link that could traveled further and further up the page. The little link looked down, scared of the towering heights constructed from thoughts of swimming through viscous gelatin. Soon the little link got scared for he got too close to the top of the page. Then he vanished and no one cared.
 
lol
 
6:43 PM
Oh that's tough.
 
@Cicada You can do better than that.
 
don't troll the room owners.
 
Not trollish enough.
 
@Cicada Ça va finir dans le sang.
 
Ouiiiii
 
6:44 PM
@EtiennedeMartel That's gonna end in blood.
 
@Cicada Implication is not negated here. I mean binning that message doesn't imply anything about C being a good or a bad language. Only not binning it implies something about C.
 
Since when are we doing polyglots?
@StackedCrooked Yeah, that's why I didn't bin it
 
@StackedCrooked It's called a win/win
 
frick, I figured out my problem. The 1st place visual studio looks for includes is teh same folder as the file with the include statement.
 
Fuck, I don't get it. Have a +1.
 
6:47 PM
@MooingDuck even when using <file.h>?
 
@MooingDuck Only iff #include "header.h" is used, not #include <header.h>
 
@jalf Seems like you'll be beating your previous star record. (The one with that message about how Java officially sucks.)
 
@MooingDuck by the way, this is standard specified behaviour, which is the reason you would use <> vs. "" for includes in the first place
 
@sehe Problem is, third party libs can often use #include "header.h" when they really need to be using #include <header.h>
 
@DeadMG Screw them. Write your own damn libraries ;)
 
6:49 PM
lol
 
@DeadMG sed to the rescue
 
@sehe wut? The difference between "" and <> is implementation defined...
 
Also, it would be looked for, relative to that header, so if you left thirdparty headers in their own include dir, there will be no problem
@rubenvb The exact order of search paths for <> is implementation defined
 
@sehe Woa, I got my own subtitles and everything.
 
@EtiennedeMartel Yeah, since you didn't bother, I thought I might be your slave for a minute
 
6:51 PM
@sehe Hmm, my slave. That sounds nice.
 
@sehe ok, but it's not a reason to use one over the other.
 
@sehe And for "" it's searching for the file in an implementation-defined place, and if not found, use <>. Not much of an improvement.
 
@EtiennedeMartel Because someone sued McDonalds for the coffee being hot when she spilled it there.
 
@EtiennedeMartel srsly?
 
6:52 PM
@EtiennedeMartel just for your info, this is an English chat, and other would like to meme-flirt the roach, you shouldn't have unfair advantage :)
 
@sehe Is Cicada pregnant?
 
@EtiennedeMartel "L'area the oolala"?
Is that really a word?
 
@FredOverflow Is she??
 
@R.MartinhoFernandes It's a bad translation
 
Not even a translation.
 
6:52 PM
@R.MartinhoFernandes French is funny.
 
"area de oolala". Never heard that.
 
@R.MartinhoFernandes Really? I haven't seen an implementation where "" didn't first lookup in the directory of the current source file?
 
@EtiennedeMartel It's the best translation
 
It doesn't mean anything.
 
6:53 PM
C'est Franglais.
 
Non. C'est de la merde. Comme C++.
 
Although I might understand why they called it that.
 
@sehe Sure, but that's irrelevant when you claim it's "standard specified behaviour" :P
 
@sehe Implementations don't have to support directories.
 
@Cicada YET you know what is meant :)
 
6:54 PM
FTR, Hell++ for Windows looks for them in the C:\Windows directory.
 
@Cicada No translation needed. Subtitler: "<expletives>"
 
@sehe Because of the english part. Else, I wouldn't have understood the french one.
 
@R.MartinhoFernandes The `J:` directory?
 
@Cicada My mom has a dog, the breed is shi-tsu, pronounced as shit-su.
 
@R.MartinhoFernandes Actually, it Googles for them and then downloads any file it can find with that name. Also searches virus.com and porn sites.
 
6:54 PM
@R.MartinhoFernandes lol. No, even better: it looks in C:\Windows\System32 and extract exported functionds from the dll's to find a match to the functions you use in your code.
 
@StackedCrooked This is hilarious in english only :(
 
Hell++ for Linux looks for them in /proc.
 
@sehe Tututu.
 
93
A: What is the difference between #include <filename> and #include "filename"?

piCookieThe only way to know is to read your implementation's documentation. In the C standard, section 6.10.2, paragraphs 2 to 4 state: A preprocessing directive of the form #include <h-char-sequence> new-line searches a sequence of implementation-defined places for a header identif...

 
6:55 PM
@ecatmur Franglais != messages that don't mean anything
 
@R.MartinhoFernandes meh
 
nowhere does it say that it searches in the location of the source file in question. When in doubt, do -I.
 
@rubenvb When in doubt, stop using Hell++.
-I. is relative to the cwd, not the file's directory, right?
 
Indeed.
 
@rubenvb Posix does, though.
 
6:57 PM
Psychic stars. They say there is a asteroid rain due next week
 
3
A: What is the difference between #include <filename> and #include "filename"?

ydroneaudSome good answers here make references to the C standard but forgot the POSIX standard, especially the specific behavior of the c99 (e.g. C compiler) command. According to The Open Group Base Specifications Issue 7, -I directory Change the algorithm for searching for headers whose name...

 
@R.MartinhoFernandes What exactly is Hell++ supposed to be? C++?
 
127
Q: What is the difference between #include <filename> and #include "filename"?

quest49In the C and C++ programming languages, what is the difference between using angle brackets and using quotes in an include statement, as follows? #include <filename> #include "filename"

 
FIXED THE MEMORY LEAK!
 
Finally.
 
6:59 PM
Apparently the issue had nothing to do with ABI boundaries
 
@IDWMaster You have memory leaks?
 
@Collin Not anymore!
 
> The lesson: If the optimist says the glass is half full, and the pessimist says the glass is half empty, the physicist ducks.
 
My code doesn't leak but my brains do.
 
I feel like I missed a large and long discussion on this
 

« first day (663 days earlier)      last day (4302 days later) »