« first day (585 days earlier)      last day (4349 days later) » 

7:00 PM
Ta yeule! (?)
 
@Cicada I noticed that too. Must be a pun on some sort of local thing
Quebec has the weirdest proper names
> Ta yeule is the québécois way of pronouncing "ta gueule", a widely used expression in standard French. Gueule literally means "animal mouth". In Québec, its most common usage is "farme ta yeule", which means the same thing as its standard French equivalent, "shut your mouth" or "shut up".
 
@sehe It's a derivate of "Ta Gueule" but I can't figure why the Y
 
There ^
 
aaargh y it so hot
 
Thanks for that
 
7:01 PM
I can't think
 
Maybe I should leave
 
@CaptainGiraffe In our next installment of the C++ course, we will start the first couple of weeks with Karel the Robot. The "language" (actually, it's just a C++ API) only has 4 basic commands that change the world and 5 commands that sense the world. Then there is calling functions, writing functions, if and while. That's it. That's the whole language. Now we can focus on programming.
 
@Cicada Nah. They're always like this.
 
We don't have to talk about types in the first couple of weeks because we don't even need variables for the kinds of problems we are going to solve.
 
@DeadMG lol, us English really can't cope with more then 15C :P
 
7:02 PM
@Cicada "Ta gueule"
 
It's 26 here.
 
@FredOverflow Sounds awesome. I have a lego programming course (If I'm lucky) before mine.
 
@Cicada how come?
 
@EtiennedeMartel No need for rude language there. Please keep it polite.
 
@FredOverflow You teach C++?
 
7:03 PM
@Cicada lol
 
@Cicada since 2010, yes
 
@FredOverflow Anyway I can get in contact with you?
 
@thecoshman T.r.o.l.l.
 
@CaptainGiraffe about what?
 
@thecoshman It was a failed pun reply to the "aaargh y it so hot"
 
7:03 PM
@sehe I hate coming back to the chat and missing half the conversation … how did you guys get to Québequois insults?
 
@sehe I wasn't saying it to her specifically.
 
@EtiennedeMartel Zing. Glad I know it now
 
@FredOverflow email? I'm from a swedish university. About teaching strategies.
 
@Cicada ahh, well that went right over my head
 
Puntastic.
 
7:04 PM
@thecoshman Apparently nobody got it :(
 
@Cicada We have our own way of saying it.
 
There is much potential in this one.
 
@Cicada Hey. I got it!
2 mins ago, by sehe
@Cicada Nah. They're always like this.
 
I could do a pun on Etienne's name. But that would be in French though
 
Go ahead.
 
7:05 PM
You pun it. We bin it.
 
We like French. We don't understand French, but we do like it.
 
This is heading the wrong way.
 
@CatPlusPlus we?
 
We, the king of the room.
 
congratulations :)
 
Xeo
7:06 PM
@FredOverflow Well, that wasn't very challenging :P
 
Quelque chose du genre Etienne martelle <insérer quelque chose>
Pas très recherché
 
DIACRITICS BETCHES
 
I love lap cat
 
room topic changed to Lounge<C++>: Derailing every topic since 2009. [c++] [c++11] [c++-faq]
 
7:08 PM
Erm. I get the "Pas très recherché" part.
 
I'm afraid that's not the core part but you're not missing anything anyway
 
@CatPlusPlus Is Ruby just a derailed Ruby on Rails?
 
room topic changed to Lounge<C++>: Derailing every topic since 2009, and also food. [c++] [c++11] [c++-faq]
 
Derailing food?
 
7:08 PM
Today was a nice day. My kids were the sweetest, they played over at a friend, who dutifully didn't go to the 'water playground' because I didn't fancy the thought. She took it in stride, and they had a great time regardless.
 
It was somewhat painful.
 
Then they came home and played like angels in our own backyard.
 
How do you derail food?
 
@DeadMG Can you also add "And also the best sex ?"
 
And my poor youngest just had me come to his bedroom by crying. It turned out he had a splinter in his blister I gently convinced him that I'd remove it, lest he wanted it to hurt a lot more tomorrow. It's a toughie explaining to a 4y/o that he'll be glad it's out when you are massaging his blister to get 'a handle' on the splinter :)
Oh, and I completely unexpectedly repcapped. Weehoo. About noon, actually.
 
7:09 PM
Or punful. Har har.
 
It's out now.
 
@CatPlusPlus I don't know, throw it off a train? :)
106
Q: Throwing the fattest people off of an overloaded airplane.

IvyMikeLet's say you've got an airplane, and it is low on fuel. Unless the plane drops 3000 pounds of passenger weight, it will not be able to reach the next airport. To save the maximum number of lives, we would like to throw the heaviest people off of the plane first. And oh yeah, there are milli...

 
That's deoptimising food.
Because it's not as fast anymore.
 
Xeo
I love it if at the end of the installation, the installer tells me there was an error. :(
 
I was just stumped why I couldn't use std::vertex -_-
I no words
 
7:11 PM
 
You accidentally a word.
 
@thecoshman std::vertex?
 
@ScarletAmaranth room topic changed to Lounge<C++>: Derailing every topic since 2009, and also food. And the best sex. [c++] [c++11] [c++-faq]
 
@RMartinhoFernandes THANKS!
 
Derailing sex?
Well, that makes kind of sense.
 
7:13 PM
Derailing the best food sex
 
@FredOverflow I remember partaking in that discussion!
 
@KonradRudolph You know this chat could actually fit on that previous website we mentioned, judging by the high concentration of reproduction-oriented topics.
 
You partook of it? How swell
 
room topic changed to Lounge<C++>: Derailing every topic since 2009, and also food. And the best sex. Also keyboards, children, and memes. [c++] [c++11] [c++-faq]
 
@Cicada Nah. It doesn't have the appropriate ratio of occurrences of the word "fag".
 
7:14 PM
@Cicada All websites come the same size on my screen. So yeah, it'll fit
@RMartinhoFernandes No we only berate flags here
 
@RMartinhoFernandes That could be fixed with little effort
 
@Cicada I'm not so sure.
 
@DeadMG std::vector :P
 
Enough of this faggotry.
 
@Cicada Apparently I always miss these discussions …
 
7:15 PM
room topic changed to Lounge<C++>: Derailing every topic since 2009, and also food. And the best sex. Also keyboards, children, and memes. And a kitchen sink. [c++] [c++11] [c++-faq]
 
I'm pretty sure we have derailed topics from earlier than 2009 ;-)
 
@Cicada by any chance do you know what faggots are?
 
@thecoshman I'm a smoker, please dont discriminate that much
 
@thecoshman If i'm not mistaken it's small logs grouped together
 
room topic changed to Lounge<C++>: Derailing every topic since 2009, and also food. And the best sex. Also keyboards, children, and memes. And a kitchen sink. We also lost a space-time continuum somewhere. [c++] [c++11] [c++-faq]
 
7:17 PM
@thecoshman Typoed maggots.
@DeadMG Collaborative topic changing.
 
@DeadMG Also, posting YouTube videos!
 
> Noun faggot (plural faggots) A burning or smouldering piece of firewood.
 
Xeo
The fuck. I go to youtube and suddenly I'm logged in as someone who was last active a year ago
 
@FredOverflow I counter
 
When did smoking become worse than beating your wife? (Yes it is)
 
7:18 PM
@Cicada oh, I forgot about that meaning. I think that is more a Merkin definition. I was thinking more along the lines of the dumpling like thing in England
 
@thecoshman You mean UK people are allowed on this chat.
 
@Cicada the dog is English too
 
faggots are fucking tasty, pity I can't eat them anymore since I got sick
 
@thecoshman That explains a lot of things!
 
7:19 PM
@DeadMG dog shouldn't eat people food
@Cicada though I live in Ireland :P
 
@sehe Well you see we got a nice concentration in a few minutes. I'm going to stop there however. Getting banned after 3 days of activity isn't exactly my goal (or is it?)
 
which makes me like one of ten people in the country to know about the Internet
 
@Cicada Oh. I didn't notice
 
@Cicada you don't get banned from this room. Fuckity fuck fucks
no one cares
 
@FredOverflow That video is awesome!
 
7:20 PM
@Cicada But no, please don't get yo' ass flagged :)
 
@Cicada I've been banned a few times. It's no big deal.
4
 
@CaptainGiraffe Apart from the drum solo, which just bores the crap out of me. But the rest is sooo yummy!
 
@DeadMG but you venture the other realms don't you
 
@thecoshman Huh?
 
7:21 PM
@FredOverflow Didn't get to the drumsolo yet =)
 
I want to do some coding, but I've got a dreaming cat on my lap
 
@CaptainGiraffe I used to love watching Portnoy play, but nowadays I simply don't care about drum solos anymore.
 
@DeadMG I basically just stay in this lunge, occasionally pop my head up to ask a question
@FredOverflow because you came to your senses and realised drum solos are not that interesting
 
@FredOverflow Did you ever get into Massive Attack?
 
@CaptainGiraffe I think I've one of their albums on my shelve. Not sure though.
 
7:24 PM
@FredOverflow Just asking, cause that were it went for me.
 
@CaptainGiraffe The drum solos?
 
@FredOverflow lol, no
 
@thecoshman Still, I'm gonna be cautious and continue on my seduction process until everyone here loves me. By then, this lounge and the rest of the world shall be mine.
 
facepalm
 
7:25 PM
@CaptainGiraffe What exactly does "it went for me" mean, is that a good or a bad thing?
 
@Cicada Hey, that's my mission.
 
@FredOverflow I've travelled a long way from Bach.
 
@Cicada I wish I could rise above it, by I can only think of gender related retorts to that :(
 
@CaptainGiraffe video not available in Germany
 
7:27 PM
@CaptainGiraffe korn?
 
@CaptainGiraffe You started with Bach? That's rather unusual. That's like learning assembly language, or rather micro-code, before learning C++ :)
 
When I realized I no longer liked Bach, thats a realization.
 
Yes I did start with assembly
 
Someone tagged a question john-skeet. Wat wat wat
 
7:28 PM
@Cicada on meta?
 
@RMartinhoFernandes I think this version is problematic in that Common<T...> is always computed, even though it might not make sense. Should possibly be typename Conditional</* same test */, std::common_type<T...>, identity<Common>>::type, i.e. defer computation after the test (ignoring the Decay for the sake of simplicity).
 
8
Q: Restrictions on implicit typing

P.Brian.MackeyIn his book, Jon Skeet refers to 7 restrictions on implicit typing. I need clarification on the last two: A. The type you want the variable to have is the compile-time type of the initialization expression. B. The initialization expression doesn't involve the variable being declared. The book ...

 
@Cicada You can invent any tag you like. My favorite tag is .
 
Suddenly this makes asking questions a lot more fun
 
@Cicada Well, why wouldn't a question on Skeet's book be tagged as such?
 
7:29 PM
@LucDanton Hmm, yeah, right. Needs the lazies.
 
Oh, the tag was fixed. Less kitsch :(
 
I started with assembly when I was 9. I didnt even have a decent manual. Shit was tough then. I had a book called "DeRe Atari"
 
@FredOverflow Yes of course. I simply find the tag amusing :)
 
@Cicada There's no wiki page for , it should be Jon Skeet facts
 
And a manual describing the macros of the assembler MAC65
 
7:30 PM
@CaptainGiraffe Assembly was your first programming language? Wow. It was only my second. 6502 assembly, that is. x86 was much later.
 
@FredOverflow Yep, I read the IO port, moving the cursor with the joystick =)
 
My first programming language was VB6.
I'm slightly ashamed of that.
 
@RMartinhoFernandes Also tbh I don't think I've ever decayed the result of std::common_type. Is it necessary?
 
@EtiennedeMartel I started in BASIC and then VB6, NO SHAME.
 
I think... either PHP or C++ they where both very close
 
7:32 PM
@LucDanton Dunno. My original used Common<Decay...>. I was just mimicking Konrad's actual code.
 
@EtiennedeMartel That's fine, my first programming language was BASIC on a very old Commodore, and I'm doing just fine. I don't believe BASIC cripples you forever.
 
Mom said, WFT kid, you are not supposed to up at this hour in the morning.
 
@LucDanton Won't CommonType<int&, int&> be int&?
 
And it's all downhill from there.
 
@RMartinhoFernandes Yes. I think it's a feature for those cases where I do use CommonType.
 
7:34 PM
So, Decay is really needed.
 
I started doing some C afterwards, but I stopped. In fact, I did so little that by the time I started doing C++, I didn't even really know what pointers were.
 
Although that's clever, CommonType<Decay<T>...> should always be the same as Decay<CommonType<T...>>, that solves that lazy + composability problem. Probably.
 
@EtiennedeMartel Do you know now? ;)
 
Maybe. I know they can bite my gonads off if I look at them funny.
 
@FredOverflow My Contact: should but did not include Captain.
 
7:36 PM
@CaptainGiraffe What?
 
Easy question, how do I declare a reference to a const char * e.g. for specializing a "const T& foo" function with T as const char *
 
@CaptainGiraffe Why is your gravatar not a picture of a giraffe?
 
const char* &
 
isn't that a mutable reference?
 
7:36 PM
@Eloff Because I doubt you really need a const char *, why do you want to do that?
 
Use this one!
 
Dat image not found :D
 
@Eloff References are never mutable.
 
@Eloff There is no such thing as a mutable reference in C++.
 
@EtiennedeMartel They are rare and precious and should not be taken advantge of
 
7:37 PM
He means you may mutate what it refers to.
 
Mutable reference would be a spifficated thing to have.
 
@GManNickG impossible in C++
 
Non-const reference <-> mutable reference
 
Ah what I mean by that is it's an out parameter, I could assign to it in the function and it would affect the caller
 
What if you dump radioactive waste on a reference? Can it mutate?
 
7:37 PM
@FredOverflow To the thing which the reference refers, mutate it.
Trivially possible.
 
char const* const&?
 
If you have a Reference<T> class you can make it mutable.
 
Tip: always use postfix const.
3
 
@ScarletAmaranth reference_wrapper or pointers. Pick your poison.
 
Oh wait, it should probably be const char * const &, so the T is actually const.
 
7:38 PM
@ScarletAmaranth std::reference_wrapper<T>
 
Not to be confused with reference rapper.
 
A guy who raps on the Standard?
 
reference_wrapper is magic
 
Xeo
Not really
 
@ScarletAmaranth Does it involve Monads?
 
7:39 PM
The very reason we get to say things like "const-reference to T" and know it means "a reference to a const T" is because we 1) know we cannot reseat a reference, so 2) the literal reading isn't meaningful and 3) we aren't dicks who try to be pedants for the sake of showing we can be pedant. :)
 
@RMartinhoFernandes that compiles fine as a specialization of const T& foo
 
@FredOverflow It involves pigmies and fairies.
 
Xeo
@GManNickG Wait, 3) is wrong
 
Whops, i forgot to mention Trolls and Leprecons.
 
Xeo
We are pedants for the sake of being pedants
 
7:40 PM
@Xeo Oh right, C++ room...
 
I guess this case illustrates a shortcoming of const char * and const T& syntax
 
@ScarletAmaranth What about Leprepros?
2 mins ago, by R. Martinho Fernandes
Tip: always use postfix const.
:P
 
@Eloff Why? Just use const char * const & and all is honkey-donkey.
 
@Eloff only if you're specializing. It's easier if you just overload it
 
@RMartinhoFernandes Why does Qt go the other way around
 
7:41 PM
Anyway, why'd you want a const-reference to a pointer?
Just pass the pointer by value.
 
Right, it's just for specialization
 
@Cicada Qt is made of shit.
And C++ code. But mostly shit.
 
What Etienne said.
 
@Eloff Now, specializing on const char* sounds a bit scary to me, what are you doing that for?
 
Why exactly? Can we get a Qt love/hate topic now plees
 
7:42 PM
There's nothing to hate about QT.
 
as a matter of interest, what do you guys do in this situation where you want a specialized function that works on small value types e.g. int, const char * and classes like std::string
 
@GManNickG Just curious, how much Java do you know?
 
People say Qt is a C++ framework. That's not exactly true.
 
I could have defined the function as T foo instead of const T& foo, but that seemed the greater evil
 
@ScarletAmaranth I hate QuickTime!
 
7:43 PM
@Eloff What does the function do?
 
Qt is a set of C++ extensions (to the point where we can almost call the resulting language C++/Qt), a class library, and a build system (qmake).
 
@Mysticial Not much, it's something I would like to know much better though, just haven't got around to it. Can read it fairly well.
 
@Eloff overload or specialize. Usually overload.
 
@StackedCrooked True dat, true dat :)
 
@Cicada SIGNAL and SLOT is so fucking conveneint!
 
7:44 PM
Qt's library can fully replace the C++ standard library.
 
@StackedCrooked Is that a variation on the Observer pattern?
 
Xeo
Maaah, fuck, I can't remember my Google password..
Or rather, I think I remember it, but it's wrong.
 
@GManNickG That's probably good enough. :) As long as you can compile and run some basic code is enough.
 
@Xeo Can you Google it somehow?
 
Xeo
And password recovery isn't sending me any mails. -.-
 
7:44 PM
In the end, when you use Qt to the fullest, that means you're essentially using a different language, with a proprietary platform. Might as well do Java then if you really want portability.
 
@Xeo Conspiracy!
 
@FredOverflow Being sarcastic actually. But yeah, it is, just like boost::signals2, but crappier.
 
@MooingDuck why am I specializing this... I'm getting confused from C#, templates are compile time, what's different between an overloaded function and a specialized template function with a T case that just throws not implemented. I don't think there is one, I can just change it to an overloaded function...
 
@StackedCrooked Asked your employer whether you can spend some of your worktime reading books yet ?
 
Ah, I brought a book to work recently to use as a reference.
 
7:46 PM
@Eloff Herb Sutter suggests overloading instead of specialization IIRC.
@StackedCrooked a mutable reference? ;)
 
Yeah, I can see why, it seems like a no-brainier now that I think of it
 
@Eloff there's no specialization in C#
 
@ScarletAmaranth But I'm not really gonna ask him if it's alright for me to plough through some great books at work. I don't know, it's awkward :D
 
Xeo
@FredOverflow He indeed does.
MAH, fuck you Google!
 
TL;DR: Qt sucks.
(I feel like I'm just screaming nonsense in the middle of a crowd)
 
7:48 PM
Overloading is definitely in my top 5 of coolest C++ features.
 
@Eloff You can specialize and overload a template function at the same time, it doesn't cause any problems.
 
@Cicada yes and no, I used to do it anyway with some caveats: arbel.net/2007/11/22/…
@MooingDuck I didn't know that either, ah well seems my c++ is rustier than I thought
thanks for enlightening me
 
@StackedCrooked I agree, overloading is pewpew. On the other side of the spectrum, there's multiple inheritance ^^
 
@Eloff The only problem is that the overloads will only be picked for perfect matches on the parameters, otherwise it will use the template. But if the unspecialized template function is undefined, you'll get a compiler error, so no unexpected bugs
 
@ScarletAmaranth Policy-based class design would like to have a word with you :D
 
7:51 PM
@Eloff I would recommend not defining the unspecialized template, rather than having it throw an exception. That way it fails to compile instead of giving you random untime errors.
 
Xeo
Oh my gosh, I remembered my password
 
@MooingDuck yeah, that's exactly what I was thinking. Compile time checking definitely beats doing it at runtime.
 
@StackedCrooked Then it's a bad policy :)
 
@ScarletAmaranth Yeah fuck the policy!
 
@StackedCrooked NWA ?
 
7:53 PM
you are able to create and add data to a temporary std::vector that you are passing into a constructor right?
 
@Xeo Was it "password"? ;)
 
@ScarletAmaranth Something like that, I guess...
 
You can just say : bar({5, 6, 7, 8}) {} thanks to uniform initialization.
 
ie foo::foo(): bar(std::vecotr<int> { 5, 6, 7, 8 }){}
 
@StackedCrooked : - ) Next episode of OP is gonna be too damn good :) Can't wait to see JImbei's ass kicked :)
 
7:54 PM
@FredOverflow Who doesn't start with bach. And yes, who doesn't start with assembly?
 
@ScarletAmaranth Or Luffy's :D
 
@Xeo Was it "Tina"?
 
@StackedCrooked I don't think that's likely :)
 
@FredOverflow oh sweet LD
 
@EtiennedeMartel LOL!
 
7:54 PM
@sehe I don't remember what I started with. It was probably Bon Jovi or something :)
@thecoshman Maybe even : bar{5, 6, 7, 8} {} can you try it and tell me if it works?
 
mm. can't imagine it
 
@sehe The song "Stacked Crooked" by The New Pornographers contains the line "I couldn't imagine it.". Is that helpful to you by any means?
 
Suprisingly... no.
 
Too bad :(
 
@FredOverflow well, my 'bar' class takes a std::vector as a parameter, and I am wanting to pass it a vector of PODs, so {{1,2,3},{4,5,6},{7,8,9}}
 
7:57 PM
For once I was trying to help...
 
I predict high quality music coming from the production of The New Pronographers ®
 
@StackedCrooked Just bad enough.
 
@thecoshman Does the compiler require the parenthesis around the braces or not?
 
@ScarletAmaranth Hey they have Neko Case as one of their singers. Can't be anything but badass!
 
@FredOverflow nope, not for uniform initialization
 
7:58 PM
@FredOverflow apparently so, though my compiler might be a bit old
 
Xeo
@EtiennedeMartel no, it was ******** :)
 
no? yes? can you make up your minds? :)
 
With parens, it requires a constructor that takes a std::initializer_list IIRCC
@FredOverflow Of course. I'm right. But you can read the specs ;)
 
bar({{1,2,3},{4,5,6},{7,8,9}}) but bar{{1,2,3},{4,5,6},{7,8,9}} fails to compile
 

« first day (585 days earlier)      last day (4349 days later) »