« first day (702 days earlier)      last day (4239 days later) » 

4:00 PM
@jornak You did see what she looks like in the morning before the makeup, right? :-P
 
Room Name: Lounge<C++> Description: A lounge generally for c++, but we give relationship advice as well.
sigh
 
@Insilica Yup.
 
@ITNinja Ha. "Generally for C++". Ha. Haha. Ha.
 
@jornak pics or it didn't happen.
 
:P
 
4:01 PM
@LuchianGrigore Yes, because I want to give internet strangers pictures of my Girlfriend
 
@jornak well, you're asking them for advice, might as well go ahead with the pictures...
 
@jornak That always works out totally fine
 
how else do you expect good advice
 
They need to make a relationship.stackexchange.com :P
 
room topic changed to Lounge<C++>: A lounge generally for relationship advice, but we sometimes give C++ advice, too. [c++] [c++11] [c++-faq] [stop-removing-my-tags]
9
 
4:02 PM
@ITNinja: I think you mean Lounge<C++> Description: A lounge "technically" for c++, but we'll give you relationship advice too.
 
user784668
@jornak I have compose key. And when I don't, I still have vim. I have absolutely no trouble inputting diacritics.
 
@jornak besides, some may argue that the advice depends on the hotness of your girlfriend too
 
@netcoder Explain it to me in C++... please @ITNinja for a change
>_>
 
@jornak: if (gf.hotness < 5) abort();
3
 
I don't believe in abort-ions. -cough-
Why the fuck can't I italicize part of a word without separating it? :(
 
4:05 PM
@netcoder You forgot proper C++ style. if(gf.get_hotness() < 0.5) { std::terminate(); }
 
Murkdown hates you.
Getters and proper style haha.
Good joke.
 
There, I've even normalized the scale for you.
 
user784668
@Insilico I'dn't want to see proper Java style.
 
@netcoder Why aren't you a fan of DBA?
 
DBA destroys souls.
 
4:06 PM
dba?
 
@DeadMG Database Admin
 
oh
that DBA
what's it got to do with the message you replied to?
 
user784668
@DeadMG He doesn't know how to reply properly.
 
@Fanael I don't know what "proper Java style" is. Probably for the better.
 
9 mins ago, by netcoder
I wouldn't become a DBA even if my mother threatened to disinherit me
what @Fanael said
 
4:08 PM
@Insilico Isn't that PSY's new song?
 
user784668
@Insilico Abstract singleton factory.
 
@jornak No, that would be "Gangnam Style". Which is way better than "Java Style".
 
@Fanael: Abstract singleton factory service locator.
 
Gangnam style the music video went from 180m hits last night, to 194m O.O
 
@netcoder AbstractGeneralizedProxySingletonTemplateFactoryServiceProviderLocatorBean
 
4:10 PM
Abstract singleton proxy factory bean?
 
user784668
@Insilico Oh, that.
 
What is a Bean exactly ?
 
Located in package java.framework.system.library.oracle.sun.utility.
@ereOn It's what you get when you create a Java framework while on crack.
 
A bean is a reusable software component that can be visually manipulated in builder tools.
 
sbi
 
4:13 PM
@jornak: "Visually", like "I need a graphical editor to develop" ?
 
user784668
@ereOn Graphical editor or sanity. You can't have both.
 
@Fanael Sanity is overrated.
 
@Fanael: Seems so. I was once told that I was stupid to use Vim because Eclipse has the "refactor" option which allow one to change all the occurences of a class name at once !
 
So Beans are a way to get people who can't program at all making Java programs?
 
user784668
@jornak Then goto Java.
 
4:15 PM
Because changing all class names is the first feature a text editor must have. And is a common operation.
 
@ereOn Presumably changing class names is just a matter of find-and-replace, no?
 
@jornak Then make something useful out of brainfuck? ideone.com/mal7Z
xD
 
@Insilico: That's so 80's. Eclipse is the future.
 
class Foo ---> class Bar. That doesn't require anything super sophisticated.
 
"After reports of unusual voting patterns, we've determined that you engaged in a pattern of downvoting against specific users." wat? fuck off mods
 
4:17 PM
@ereOn It's basically a class that is configurable using a "Beans API", read "completely useless"
 
You think they would be mad if i replied to the PM with a simple "fuck off"?
 
the worst is that you can modify the Bean's private properties outside the class
like if that made any sense
 
@jornak You can go to Meta.SO and make your case. In a civil manner of course.
 
@jornak: I would advise you against doing that. You better explain what the misunderstanding is and perhaps they will fix the problem.
 
user784668
Is there a language where private actually works?
 
4:18 PM
@Insilico Fuck it, I don't care, I'm just going to ignore it and do what I came here to do.
 
@Fanael What do you expect private to do?
@jornak Are you sure it wasn't just an automated message?
 
@Insilico: He shouldn't tell you. It's private.
 
Care.Level = 0
Nah, it's not automated.
Mods here even more anal than mods at EE lol
 
user784668
@Insilico Disallow access to the member from outside the class, modulo "proper" circumventions like friend in C++.
 
@Fanael Presumably reflection APIs are not a "proper" circumvention.
 
4:21 PM
 
user784668
@Insilico Yes, they're not.
 
harhar, take that bacon extremists
 
@DeadMG Won't somebody please think of the bacon?!
 
@Fanael So I guess C++ has a "proper" private by your criteria?
 
@Insilico I just replied with a "Derp."
 
4:22 PM
Access control is lame.
 
@CatPlusPlus Yeah screw permissions let's just give everyone full control
 
all that wasted bacon
what a shame
 
@TonyTheLion Salvage what you can and have world's largest bacon fry
 
I use more languages with no or loose access control than ones with strict one. I don't miss it at all.
 
@CatPlusPlus There's a "your mom" joke in there somewhere.
 
user784668
4:24 PM
@Insilico No, Johannes has proved that in C++ privates aren't very private.
 
@Fanael Okay, so lawyering around the language rules are not considered "proper" circumvention then. :-P
 
@jornak No, there's not.
 
@CatPlusPlus I swear there is... something about loose access control.
:P
I'm sorry; I'm like Michael Scott — everything thing in my head is processed through "your mom" and "that's what she said" filters
 
@Insilico Lawyering? See for yourself: "The usual access checking rules do not apply to names used to specify explicit instantiations."
 
@LucDanton Yeah. It's using the rules of the language to do something that you shouldn't really be doing.
 
4:31 PM
I could quote the description of the tag but on the other hand you're DeadMGing.
 
@LucDanton I'm not aware of what the term "DeadMGing" means?
 
[Change of Subject] So how about those US Elections?
 
@jornak You mean that process that gives the illusion of choice to U.S. citizens?
 
Most of us are from EU. I know I don't care at all.
 
user784668
So Merkins have elections?
 
4:35 PM
@Insilico Oh, I just wanted to see if anyone else was on the "Romney is a moron" boat.
 
user784668
Honestly, I don't give a Scheiße.
 
@jornak It's about on par with politicians nowadays.
 
I blame the mainstream media. — Shmiddty 38 secs ago
lol
 
user784668
Are there any regulars who live in Europe, but outside the European Union?
 
Alf is in Norway.
 
4:39 PM
I'm reading this article about how Boost implements mutexes on Windows, and for some reason I don't understand what Listing 4 does in addition to Listing 2. :-/
Like apparently Listing 2 has a problem regarding "hand-off" and Listings 3 and 4 apparently solves it, but I don't see how.
 
@sbi Very true!
 
user784668
@Insilico Atomic ops black magic. No need to understand.
 
@Fanael I want in on the black magic!
 
@LucDanton hey
 
Y helo.
 
4:46 PM
Yellow!
 
user784668
There are 50 close votes per day, right?
 
@jornak I'm on that boat
 
@TonyTheLion Mind you he's still appealing to 80% of America.
The 80% that doesn't have an IQ over 120, mind you.
 
@jornak That's not what I've read.
 
I mean, trying to appeal
 
4:48 PM
He's bad news
 
@TonyTheLion Obama's not much better though, but lesser of two evils, right?
 
user784668
The smarter of two idiots.
 
if you have to pick one, then Obama is indeed the better one
 
Ron Paul 2012 please
 
user784668
4:50 PM
I don't, fortunately.
 
Romney is just gonna do a Bush Jr or worse
 
Romney will probably cause another depression
 
Romney is the depression
 
depression/recession, whatever you want to call it
@TonyTheLion Man how I wish proportional representation was more prevalent as an election system throughout the world
 
4:52 PM
EU seems to be doing it right.
 
Politicians are still shitty
 
user784668
@TonyTheLion They're shitty everywhere. They're politicians, after all.
 
indeed
 
You want to know the most single deciding factor between the EU and the US politics-wise?
Religion, or lack thereof.
 
that's not really it
it's more symptomatic
the US is ruled by fear and superstition rather than logic and science
 
4:54 PM
So Religion vs None then
 
Is EU ruled by logic?
 
Moreso than the US
 
Politician logic then
which is something that only they seem to understand well
 
I mean look at most of Romney's platform.
Anti-abortion, it's in the Bible.
Anti-gays, it's in the Bible.
 
He's trying to appeal to the Bible Belt in the US.
which is quite a large part of the US.
 
4:56 PM
It's not even only the Bible belt anymore
 
He's appealing to people's blind faith in something without questioning it
 
Hi. Is it normal to hate your manager?
 
@DeadCicada Yes. Yes. And yes.
There's a reason most anyone with an IQ over 120 is atheistic.
 
It's in fact the most natural response to hate your manager :P
 
4:57 PM
@DeadCicada: Not really, imo
 
if I hate my manager he's not going to stay my manager
 
there's a correlation between education and atheism but it's not that strong
there are still plenty of faithful scientists
 
there's dumb atheists too
 
the problem is that there's a big difference between being theistic and running your life based on fear and some idiot holy book
 
4:59 PM
that's true
 
I like the mark near 100%
 
Okay because today we were given a small project to do throughout the year (in team of 6 people). And we have a manager from a IT company. And we had a meeting. And wow. I just hate pretty much everything about him.
 
Anything under 68 IQ is considered mental retardation
 
@Fanael private works very well in C++; it allows you to write modular programs. When I look at a class and see private on a member, my brain goes "Thank god, I don't have to worry about this member." I do not think "Muahaha, I'm gonna cast my way around this and wreak havoc in the system!"
 
individuals tend towards #1 but groups can definitely trend towards #2
 
4:59 PM
lol
 
Hi. I don't think this is the right place for this, but can someone with enough rep peer review this edit so I can accept this dude's answer? stackoverflow.com/a/11889392/1015595
 
user784668
@FredOverflow I thought it's obvious I was playing a language lawyer.
 
Of course, if you want to write awful code, C++ won't stop you, because it assumes you know what you're doing.
If you don't know what you're doing, C++ is not the language for you.
 
@davidkennedy85 done
 
Thanks Tony :D
 
5:00 PM
:)
 
user784668
1 min ago, by Fanael
@FredOverflow I thought it's obvious I was playing a language lawyer.
 
@davidkennedy85 More specifically just install git-credential-winstore
Well, that and switch the helper to winstore
Okay food time, cya guys.
 
user784668
Git sucks on Windows. It sucks everywhere, but even more so on Windows.
 
user784668
IOW, use Mercurial.
 
Using the GitHub UI works pretty well for simple stuff
 
5:06 PM
@Cameron: Git doesn't mean GitHub
 
@netcoder Clearly, but cant you point their windows app at any source? I don't remember
 
Git’s CLI is superior.
 
@daknøk Also known as CLIT.
 
@FredOverflow ^ ClitHub
 
rofl
 
user784668
5:13 PM
I don't use Adblock and I don't see ad like these :(
 
@Fanael s/\(/\)/
 
user784668
@daknøk if you really want that: s#\V(#)#
 
Xeo
@daknøk Escapes always look ridiculous
 
What does it take to build libc++ on Linux these days?
 
user784668
Is there a list of standard library <files> that were added in C++11?
 
5:16 PM
posted on September 17, 2012 by vcblog

The hat (^) is one of the most prominent features of C++/CX--it's hard not to notice it when one first sees C++/CX code. So, what exactly is a ^ type? A hat type is a smart pointer type that (1) automatically manages the lifetime of a Windows Runtime object and (2) provides automatic type conversion capabilities to simplify use of Windows Runtime objects. We'll start off by discussing how Wind

 
@Fanael en.cppreference.com/w/cpp/header the once marked (since C++11).
 
user784668
Fail, <system_error>'s not marked.
 
user784668
Or was it introduced in TR1?
 
@TonyTheLion or @jornak sorry but can I get another edit please on this question: stackoverflow.com/a/11889392/1015595
I realized after the fact that I didn't really make the answer any better by simply adding another link heh
or anyone else that could possibly help me out with approving an edit?
K I'm not sure who approved it but thanks again :)
 
@davidkennedy85: why are you in a rush anyway?
if you submit an edit it'll be moderated eventually
 
5:27 PM
phone interviewy thing in three minutes
fuuu
 
@DeadMG why not do it in Lounge<C++>?
 
why not zoidberg
 
(\/) (;,,;) (\/)
2
 
@daknøk wow, that’s actually recognisable
 
@DeadMG google again?
 
5:29 PM
why not zuckerberg
 
no
y u no call me at arranged time
 
Don't say that when you pick up the phone :P
 
Just tell them they should be on time if they expect you to be on time too. Demand respect.
 
@netcoder because the only other time I've tried to make an edit it never was accepted or looked at and it just kinda went away
 
@davidkennedy85: it's because it was refused; edits are moderated in a matter of minutes most of the time, if your edit is gone, it's because it was refused by the community
 
5:47 PM
0
Q: C++: operator ++ operator in struct

freesoulI've got a linked list where I save data, and a pointer to next node, Node* next, like this: template <class T> struct Node { T data; Node<T>* next; }; The thing is I want to put in this a postincrement operator, so it returns the previous value of my node, but increment the refe...

I have a feeling what he's asking for is a bad idea
 
struct foo
{
  foo() = default;
  foo( foo const& ) = default;
  foo( foo&& ) = delete;
};

int main()
{
  foo f = foo();
}
Should that fail to compile?
 
argh!
no wonder the guy had a problem contacting me
my phone number was put down wrong
 
lol
 
gcc 4.7.1 complains error: use of deleted function 'foo::foo(foo&&)'
 
user784668
@Prætorian Good question.
 
5:49 PM
@Prætorian yes.
 
@DeadMG Why? Copy constructor is available
 
@Borgleader It's nothing more than poorly-described and implemented iterators.
 
@DeadMG Ow, that's bad.
 
@Prætorian foo&& is a better match. The whole point of explicitly deleting functions is to make the calls that would best match them illegal.
 
@Prætorian delete does not remove functions from the candidate set for overload resolution.
 
user784668
5:51 PM
Ah, makes sense.
 
Deleting is providing a definition in fact.
 
That's the thing, iterators are separator from the actual data type, he's trying to do it directly on the node. I have a feeling this will do weird pointer structures
 
@LucDanton Interesting
 
= delete; is kinda like { static_assert(false, "Fuck!"); }
7
 
@Chimera i wish someone could find a resonable resolution version of the orginal SNL video. i've not seen anything better than very lousy.
 
5:52 PM
@R.MartinhoFernandes Have you ever built libc++? Got it from distro repos?
 
@R.MartinhoFernandes Simple typo. I checked it twice but still didn't see it.
 
@Cheersandhth.-Alf Yeah, me too
 
@LucDanton Yes, I build it regularly from the distro source repo.
 
@netcode sorry for the misunderstanding then. The second time I edited the same question I was able to get someone to approve it for me but not without asking in chat. I had the impression my edits were just falling off the queue or something and if I wasn't fast about asking it would disappear.
Obviously that would be a crap user experience but I didn't want to put it below the SO devs :)
No offense meant
 
@R.MartinhoFernandes Is using Clang without libc++ sensible or not these days? In C++11 mode?
 
user784668
5:55 PM
@LucDanton Quite sensible if using libstdc++ instead.
 
@LucDanton It works fine with libstdc++.
 
Xeo
@R.MartinhoFernandes "fine" - you have to add namespace std{ class type_info; } before including <iostream>
 
Ugh, since when?
 
Xeo
Since always
 
I never needed that.
 
Xeo
5:57 PM
GCC handles that through the compiler itself
 
Oh GCC, you’re such a mess.
 
user784668
@Xeo CLOSED WORKSFORME
 
Xeo
Build something that only include <iostream> with libstdc++
 
@Fanael Exactly.
 
Xeo
Well, maybe it's my outdated libstdc++ that ships with GCC 4.4.5 :3
And is preinstalled on Debian Squeeze
 
5:59 PM
@Xeo Your compiler is broken.
 
user784668
@Xeo Therein lies the problem.
 
Xeo
@R.MartinhoFernandes Why would you consider Clang broken if libstdc++ doesn't get its dependencies right?
 

« first day (702 days earlier)      last day (4239 days later) »