« first day (591 days earlier)      last day (4371 days later) » 

11:00 AM
@FredOverflow:Thanks for the link.
 
hay, check out Mr Burns over here
 
@thecoshman ASCII stupid questions, get stupid ANSIs.
 
sounds good
 
@KodeSeeker I just googled "using namespace std bad practice" :)
 
@RMartinhoFernandes meh
 
11:00 AM
@FredOverflow : I see what you did there ;)
 
@Fred what you say to a meet up in Prague?
 
@thecoshman I don't like to travel.
 
@KodeSeeker he told you, 'I just googled "using namespace std bad practice" :)'
@FredOverflow do you live in a good place?
 
@thecoshman : Uh Yes.
 
@KodeSeeker learn to reply to specific messages, it really helps chat make some sense
 
11:02 AM
"(...) chat make some sense", lol
 
Why am I getting a badge for whatever I do?
 
The faq explains it somewhere
 
@thecoshman good for what?
 
For living, duh.
 
@RMartinhoFernandes why'd you delete your answer?
 
11:04 AM
@jalf It's redundant now.
 
I wonder why there are these many public licenses..
 
@jalf To what question?
 
can't there be just one
 
No.
 
11:06 AM
guys in my company copy some, cant copy some
 
Yet another question "I want to be able to do X, but without using Y nor Z which are the only ways to achieve X"
 
@neeradkumar half of it is a PR exercise in saying "look we're a big important player in this area"
 
@thecoshman okay, new around here. Getting used to it.
 
@awoo
@awoodland yes, and they make it closed license
 
0
Q: C++ exception doesn't get thrown for default constructor?

Mupparthy RavindranathI have a very simple C++ class "A", whose empty constructor is invoked in main. The one and only empty c'tor just throws an exception SomeException. #include <iostream> using namespace std; class SomeException : public exception { }; class A { public: A() { throw SomeExce...

Close votes please.
 
11:10 AM
@neeradkumar they look like philanthropists though with the $bigcompanyx community awesome license 2.1
 
"Community Awesome License" sounds awesome.
 
I'm just an internee, so I'm not much used to copying the code
may be I'll get to, soon
 
Uh what do you mean. You copy open source code and make it closed?
That's perfectly illegal in most public licences
 
Licenses are not jurisdictions </nitpick>
 
nah, use a small open sourced library in big project
 
11:14 AM
Yeah I realized just after posting
 
@RMartinhoFernandes He's still touched by the Community Awesome License
 
Lol!
 
Oh India, y u so kitsch
 
so, u r german
 
Thank god I'm not
 
11:19 AM
In continuum to my earlier doubt about using std:: and using namespace , isnt it more likely than not that Id be sticking to the general`std` library in most cases, and so wouldnt using namespace std suffice?
 
For the moment you're sticking with std
 
Aw man. I was about to do something important, and five minutes later I find myself reading TVTropes with no idea what it was I intended to do.
3
Shit.
 
Just getting into IT field, I think every thing these guys do take libraries that are made here and there, add some thing and build apps
 
@Cicada yeah. So , is that expected to change during the normal *learning*course?
 
Well that's just stealing. Oh well. Classical human behavior I guess
 
11:20 AM
Lol
 
@KodeSeeker No but in a production environment it is (I suppose? I'm not well placed to answer that)
 
@KodeSeeker Whatever you do, don't get used to it.
 
@neeradkumar :Do you guys mention credits,if applicable ,anywhere?
 
@KodeSeeker I'd absolutely definitely avoid it in headerfiles because then you force that decision on others too
 
@Cicada Gotcha.
 
11:22 AM
 
I don't think they do. They carefully filter out those libraries which don't require those
there are several types of gpl's right?
 
@RMartinhoFernandes Yup, I got the point noted down.
 
@neeradkumar There's bad GPL, and worse GPL :P
 
@neeradkumar which is exactly why licensing anything you publish under GPL is good
 
Okay time to attend the only course of the day I choose to attend (because they check presence).
 
11:23 AM
@awoodland :okay. I get your point.
 
@RMartinhoFernandes Do Allegro GPL next!
 
Except that GPL is a ridiculously restrictive license
 
I hate the way we're required to check attendance at lectures like the students are 14 year old school kids or something
 
if I develop anything that I want others to use, then I'm going to pick a license that lets others use it...
 
@jalf it's not restrictive if you only inhabit the GPL world
 
11:24 AM
@cicada ciao, enjoy ur only class
 
@awoodland that is the restriction. Not everyone does
 
@RMartinhoFernandes Oh wait, that's Affero apparently.
 
@LucDanton What's that? "Slightly worse than bad GPL, but not as bad as worse GPL"?
 
curfew isn't restrictive either, if you always stay indoors ;)
 
@LucDanton that's the "oh damn we forgot about webservices" one right?
 
11:24 AM
censorship isn't restrictive, if you just shut up :)
 
@awoodland Yes. Although I've never looked up the details for this one.
 
@jalf A "the fuck" in the middle there would do wonders.
 
@jalf but it's a trade off - you get to use all my awesome stuff if you let me use yours. If not go and play with someone else's work
 
sry I meant *hero
 
@neeradkumar, what do you work on?
 
11:26 AM
The heck?
 
trade secrets
 
@awoodland sure, but my point is that it's a restrictive license, which I prefer to avoid
 
lol, I signed a NDA
 
rotfl.
Okay.
 
I don't see the point in writing code for others to use, only to then say "but you can't use it, because I don't like how you work"
@jaffa don't you start...
 
11:27 AM
sry I meant to say *come on
 
Did I miss some context to @Jaffa's comments?
 
What's up with this @jaffa guy?
 
@awoodland I... don't know
 
Without context, sounds like a troll.
 
yeah although I really fancy a jaffa cake now
 
Xeo
11:28 AM
@jalf I see a hint of Neil from earlier in there, somehow.
 
:3898611 hermaphrodite?
 
@Xeo yeah, I was thinking the same
 
lol, my friend typed it
 
How's his face now?
 
because the only thing that's more mature than throwing a hissy fit and telling people to fuck off is subsequently changing your name and then saying fuck off
Although the main thing it reminded me of is this
 
Xeo
11:29 AM
@jalf Neil is still here, though, so it wasn't a name change
 
@jalf I don't think that's it. It's a six day old account.
Unless he planned this for almost a week (what?)...
 
Xeo
@RMartinhoFernandes 7 days (the series)!
He went back in time tomorrow to prepare last week for his revenge today.
 
@Xeo yeah, but it was one of the first things that came to mind. :)
 
@jalf. exactly . cicada and i were talking abt python. and then abt monty python and u came in and.....
 
I'm validating the flagsies.
 
Xeo
11:31 AM
They're mine, btw
 
what are flagsies?
 
Xeo
@neeradkumar Like oopsies, just flagsies
 
okay
 
Xeo
Oh, yeah, robot: Is this supposed to work? Clang says yes, GCC 4.7 says no.
 
@jaffa you can reply to specific comments directly which makes multi-threaded superscalar out of order execution of conversations perfectly reasonable
4
 
Xeo
11:33 AM
Or atleast my pretty old Clang 3.1 snapshot says yes
 
smart_wrap_unwrap is a damn stupid name, btw.
 
@RadekdaknokSlupik sorry, moest ik de AIVD inlichten?
 
Xeo
2
Q: Wrapping smart pointers with method replacement

MiralI'm trying to write a smart pointer wrapper (contains a boost shared_ptr or scoped_ptr or another smart pointer wrapper); each wrapper type injects a bit of extra functionality (eg. logging usage, lazy init, verifying correct construction/destruction order, etc) but I want them to be as invisible...

Context.
 
@RMartinhoFernandes damn missed the fun
 
@Xeo I think so.
What's the error GCC gives?
 
Xeo
11:36 AM
Overload resolution selects the non-unwrapping overload directly after the first unwrapping one, and complains that smart<smart<...>> is no pointer type
 
@Xeo Change std::forward<T>(v) to std::declval<T>().
 
Sounds buggy.
 
I haven't used std::forward inside decltype for a long, long time due to quirks like those.
 
@LucDanton Would that make a real difference, or it is just an incantation that makes GCC happy in this particular case?
 
@RMartinhoFernandes Workaround. Both expressions have type T&&.
 
Xeo
11:38 AM
@RMartinhoFernandes Well, according to the question I linked to in my comment on @Matthieu's answer, it is a very strange part of the standard
The declaration isn't complete until the return type is determined, but it needs the declaration to "recurse". And the declaration seems to be complete thanks to the fact that it's a template. But only if it involves a user-defined type
Or something like that... x_x
 
And btw, I totally don't see the Haskell in that code.
 
1 hour ago, by thecoshman
@Neil tempted to rip into you for being wrong... but I have actual work to do :(
 
Xeo
No, I just said it feels a bit like pattern matching
 
^ starred that just because of the rarity of the occasion
 
Xeo
unwrapping till it's not that pattern anymore, and then switching to the other overload. Btw, I love overloading with long and int.
 
11:42 AM
@Xeo I'd understand that if the overload was like smart_wrap_unwrap(smart<T>&& v, int) (but yeah, not fwding)
 
Xeo
@RMartinhoFernandes Not the path, but the result is what I mean.
Anyways, I'm now going to grab a mango. Om nom nom.
 
@RMartinhoFernandes Keeping in mind that the return type does restrict the parameter.
 
sbi
@thecoshman In your heads? Wow, not only do you have a very strange head (what with its ability to merge the grumpy old man with a young girl), you even got a whole set of them. I pity your gf.
 
Are you discriminating based on his appearance?
 
sbi
@awoodland One of my pet peeves. Why can't chatters simply reply to messages?
That would make this chat so much more accessible to old people like me.
 
11:48 AM
since you guys now a lot about c++, is there anyway to store generic instance of class to pointer so it can be destructed without knowing the exact class beforehand?
 
Xeo
@sbi The mobile view doesn't allow it. :s
 
sbi
@weggo Yes.
 
@weggo smart_ptr
 
Xeo
Which is why I don't reply when I'm online from my dumbphone
@weggo Yes, there is.
 
sbi
@Xeo Yeah, I know. But you can't be trying to tell me that so many of the regulars here are commonly chatting in through their phone.
 
Xeo
11:49 AM
@sbi Maybe they got mobile view in their browser!
 
Xeo
Also, it's a bit tiring to always move my hands from the keyboard to the mouse to click that little arrow.
 
the same like storing abstract class to smart pointer, but without any parent class between those concrete classes
 
sbi
Also, I can switch to the real thing in my phone's browser. Not that this is helpful (except for being able to reply to messages, see the starboard etc.), but compared to the hassle of actually "typing" on a touch screen, this all doesn't matter much.
 
void ptr wont do the thing since it cant destroy the concrete classes properly
 
sbi
11:50 AM
@Xeo You talking to me?
 
Xeo
heh
 
sbi
@sehe Spoil sport!
 
@weggo The technique is known as type-erasure in the C++ world.
28
Q: Type erasure techniques

Xeo(With type erasure, I mean hiding some or all of the type information regarding a class, somewhat like Boost.Any.) I want to get a hold of type erasure techniques, while also sharing those, which I know of. My hope is kinda to find some crazy technique that somebody thought of in his/her darkest ...

 
@jalf The heck is that?
 
sbi
@sehe You mean it's rare @the guy has work to do?
 
11:52 AM
@Xeo So, now you understand us vimmers!
 
gotta check that out
 
Xeo
@RMartinhoFernandes Wat.
 
@sbi all men have two... ooh... perhaps I will not go there
 
@Xeo Keyboard-only handling.
 
Feb 2 at 15:13, by sehe
@DeadMG & @Abyx: well I just read all of the comments in http://boost-spirit.com/home/articles/qi-example/zero-to-60-mph-in-2-seconds/ and it appears you both are simply right :) Learnt something today.
 
11:53 AM
@thecoshman Oh gawd.
 
@sbi I usually have work to do
 
@sehe javascript:void(0)?
 
sbi
@RMartinhoFernandes Well, once MS has setup a decent std-conforming C++ compiler, they can implement their C# compiler in Boost.Spirit as a side-project.
2
 
Windows y u slow after unsleep.
 
Xeo
@thecoshman All men have millions of heads! Sperm heads!
 
11:54 AM
@RMartinhoFernandes serious laughter at that :P
 
@CatPlusPlus Because you no RAM?
I mean, I remember that when I had 2GB.
Now it doesn't happen anymore.
 
@RMartinhoFernandes It's sleep, everything that was in RAM should still be in RAM.
That's like, the point.
 
Xeo
@CatPlusPlus Everything, and more.
 
It's Windows. It pages the hell out of everything.
 
@RMartinhoFernandes page ALL the things
 
sbi
11:55 AM
@thecoshman Do you do your thinking with your balls? Well, that certainly does explain a few things we've seen from you.
 
Besides, I have 4GB.
 
@sehe Why ping me?
 
@sbi do MS even care about C++ any more?
so... Prague meet up?
 
It's 12GB too little (too few? English hard), but still.
 
@thecoshman Yes. They just don't give a fuck about the devs.
 
sbi
11:57 AM
@RMartinhoFernandes I am not moving this to the bin, because I always liked the idea of brain bleach, and can't make myself wipe it out here. I am not going to click on it either, though.
 
I think they care more about shiny, expensive IDE than any language, really.
 
@CatPlusPlus And ALL CAPS.
 
sbi
@thecoshman I only have their word about it. So do you, though, which is why I am a bit baffled that you would ask me.
 
I don't know exact data, but I'm willing to bet their marketing team is like, 4 times bigger than compiler team.
 
11:59 AM
@sbi I must have misplaced it, along with all my fucks
 
At least.
A long what?
 
Hey, you unstarred it!
@thecoshman You acc identally a word.
 
Or is long a sort of container?
 
sbi
@RMartinhoFernandes You'd rather have me move it to the bin?
 
@RMartinhoFernandes better?
 
sbi
12:00 PM
@thecoshman "it"?
 
@sbi Nah, it's okay. I'll have to wait until you're out to sneak in some more.
 
@sbi MS's word
 
@thecoshman It's in the Office suite. Right next to Excel and PowerPoint
 
And it sucks.
 
sbi
12:03 PM
@CatPlusPlus Over time I have seen that even small (<50 employers) companies have a hard time staying in business if their marketing department isn't at least as big as their R&D department. I suspect it's even worse for big companies that do not go after a market niche, but drop their product among the sharks. 4 times does seem a bit big, though, even given that.
 
@jalf that's arrogant d:
 
sbi
@thecoshman No, it was a brilliant reply.
 
sbi
@RMartinhoFernandes My spillchucker disagrees with you.
 
@sbi read the transcript for around 10:00 to 11:30 (ish)
 
sbi
@thecoshman No, I won't. Point me to what you want to show me, or forgo the chance I could see it.
 
@sbi tl;dr someone was accusing @jalf of being arrogant because they disagreed
 
sbi
@thecoshman Oh, I see. Well, we have seen that before, haven't we?
 
You never know what's in a penguin's head.
 
@sbi ah, you got there in the end
 
12:07 PM
Which is the only good gender-neutral pronoun.
And everyone saying differently is crazy.
 
@CatPlusPlus I would say brains, but I am sure someone would find me some sort of penguin head cup
 
@sbi ಠ_ಠ
 
What the heck is Penguin doing in there?
 
sbi
@RMartinhoFernandes Usually he's chatting. Why?
 
12:11 PM
TEA I FINALLY HAVE TEA.
WOOOO.
 
sbi
Our @Cat in residence is making progress in his attempt to learn cooking. He can now make tea.
 
Hey, I could always make tea.
Tea is awesome. Tea is better coffee than coffee.
 
never got into 'normal' tea
 
Xeo
@CatPlusPlus You could always make tea go from the bottle to the cup?
 
What bottle?
 
sbi
12:21 PM
@CatPlusPlus Not true. Tea is better tea than coffee, though. Much better.
Inspirational status of the day: Don't be a douche
 
I don't know what the hell you're drinking that comes in a bottle, but that ain't tea.
 
sbi
 
@sbi my lord, is that... bottled tea? how on earth did they manage that
 
anyone know if it's reasonably possible to create a ramdisk on Windows?
 
@jalf would it be practical?
 
@sbi yeah, I googled it too. The reason I asked was for the "reasonable" part. Not whether it's possible, but if anyone has actual experience with it, and knows how well it works :)
we're playing around with ideas for speeding up our build server.
 
haven't use ramdisk on Microsoft since config.sys
 
One option could be to checkout the code onto a ramdisk, and then build there
 
sbi
@jalf Distributed builds.
 
@sbi We do use incredibuild already :)
except on our build server, ironically, because incredibuild requires VS to be installed, and the build server just uses the Win SDK compiler atm
 
sbi
12:31 PM
@jalf I've never seen it used for builds on a build server, only for individual builds by developers.
 
but yeah, getting that to use incredibuild might be the solution too
Another part of the problem is that both me and my boss really dislike precompiled headers, so we don't use those ATM
 
sbi
@jalf It used to not to require VS.
 
we might have to cave in and use PCH's (at least optionally)
 
sbi
@jalf I am starting to like you and your boss.
 
:)
atm it takes around 12 minutes for a full build with incredibuild. 40-50 without it
 
sbi
12:35 PM
No, what I meant when I said "distributed builds" was: set up several build slaves and distribute builds. Doing this is much cheaper than compromising your code base or putting work into speeding up the build otherwise. Find a few unused machines, set up a Jenkins build/test system (possible in almost no time), and get back to coding.
 
@sbi we do that too. The problem we're looking at is basically the turnaround time from you commit until our build server can tell you if you screwed up. As long as it takes 50 minutes to build, you won't get the results for at least 50 minutes after you commited
and it's hard to verify that your code works locally, because we have bunch of different platforms and configurations
 
sbi
@jalf Yeah, BTDT. How about building and executing small unit test projects in parallel? That catches some of the problems at least.
 
Good morniiinguuu.
@CatPlusPlus I should really drink tea more often.
 
@EtiennedeMartel Yes, you should.
 
Water tastes better than tea
 
12:44 PM
@Pubby Water tastes nothing.
It's like saying Budweiser or PBR tastes better than tea.
 
allo allo
 
The following Norwegian beers are better: Nordlandspils, Hansa, and Ringnes
 
Yellow
 
Not to mention Danish beer
 
12:47 PM
define 'better'
 
@CheersandhthAlf I'm gonna note this down.
 
I enjoy English and Belgium beers
 
@stdOrgnlDave ain't budwiser
 
i like them in preference to e.g. budweiser
Danish Carlsberg, a tad "light" but otherwise known as the best beer in the world
 
oh, I had an American beer the other day that was actually nice! I was amazed
 
12:47 PM
well I just don't drink, so I'm wondering by what qualities you are judging
 
@CheersandhthAlf probably
 
The italians try to make a good beer, but it could use a little work. They're better at making wine, lets just say that.
 
I do know that if you live in America and want good beer that isn't imported you get stuff from local microbreweries of which there are TONS
 
I got drunk with Belgian beers the other day (i.e. with four beers; and I can tank alcohol like a champ, so make of that what you will)
 
12:49 PM
Italians seem to miss something form the drinks. Sure there white wine is ok, but it lacks a certain something that makes you love it
 
is it irresponsible to drink and code automatic car driving software?
 
@EtiennedeMartel That's also why I like it. ;)
 
@stdOrgnlDave No.
 
@stdOrgnlDave xkcd can answer this perfectly, but I am too lazy to find the comic
 
Your employer might not approve you drinking at work though.
 
12:49 PM
edited that question
 
@stdOrgnlDave would that count as drink driving I wonder :S
 
I am excited, getting a bed delivered today, won't have to wake up with a bloody back from the springs sticking out anymore
 

« first day (591 days earlier)      last day (4371 days later) »