« first day (940 days earlier)      last day (4010 days later) » 

10:00 PM
IShow
 
has anyone noticed the 'notification bar'? I think this is my first to see it.
 
In fact forget about I
 
user142019
All types in C# are subtypes of object except pointers wat. :v
 
what's that about?
 
user142019
@Tiina Nope.
 
user142019
10:00 PM
Never seen it.
 
what is that for?
 
user142019
For, well, notifications.
 
Ell
SFINAE is the coolest
And enable_if is pimps to use
But I'm not sure how it works
 
user142019
@Ell if condition is true then type member is present otherwise it's not present.
 
Ell
Oh right.well that's seemingly simple
 
user142019
10:02 PM
template <bool, typename T>
struct enable_if {
    using type = T;
};

template<typename T>
struct enable_if<false, T> {
    // nope
};
 
user142019
@ScottW IFoo x = new Foo(); object y = x;
 
Ell
Oh wow. That's cool
 
user142019
Oh right.
 
user142019
How about delegates?
 
Which is better: T operator+(T lhs, const T& rhs) or const T operator+(T lhs, const T& rhs)?
 
10:07 PM
ohai guys
 
@Morwenn Second one doesn't make sense.
 
@ScottW Nope.
 
user142019
@Morwenn Second one doesn't make sense.
 
user142019
Returning const by value is pointless.
 
Ell
Am I stupid? They are the same
 
10:08 PM
Meh, to avoid stuff like (a+b) = c.
 
Ell
Oh wait
 
@Ell Yes you are ^^
 
Ell
:L
 
    public interface I
    {
    }

    I i = null;
    var s = i.ToString(); // works
 
user142019
Eww null.
 
10:09 PM
Yeah, R# complains.
It's just to show that it isn't a compile error and that @ScottW is talking out of his ass.
 
@Morwenn You can't assign to a temporary like that
 
user142019
All references nullable is C#'s biggest failure.
 
@Morwenn No. Firstly, an rvalue ref cannot bind to a const rvalue, so fuck you. Secondly, you can declare operator=(const T& other) &.
@kbok You can if it is a non-const UDT temporary without an lvalue-restricted assignment operator.
 
user142019
string x = null; // erreur
string? x = null; // this would be fucking great
 
Ell
What was that the Java creator said? Null pointer exception was the worst idea or somwthing
 
10:11 PM
Okay
 
@kbok I'm gald to hear that.
 
@rightfold erreur? You speak French now?
 
also
even in C++03, you can swaptimize this.
T t; (a + b).swap(t);
 
@EtiennedeMartel // sabotage
 
user142019
> swaptimize
 
user142019
10:12 PM
lol
 
@DeadMG I love the "fuck you". Secondly, I don't have GCC 4.8.1 to try the rvalue-reference for *this stuff.
 
user142019
clang 3.2
 
@rightfold Don't have it either.
 
@kbok I'm gonna set it straight, this Watergate.
 
user142019
I have clang 4.2 lololol.
 
10:12 PM
@Morwenn Er, it's a conceptual "fuck you", as in "you are now fucked". Secondly, Clang supports ref qualifiers for *this.
 
user142019
@DemCodeLines hello
 
@ScottW It is.
 
@rightfold hey
 
@ScottW Every interface and class always inherits from Object, you just don't state it explicitly.
 
10:13 PM
@ScottW Why?
Everything inherits from Object. Which means anything that implements an interface also inherits from Object.
 
I was just aksing since some C++ site seems to tell to return by const value when you search for operator overloading on Google.
So, fuck Google I guess.
 
@Morwenn You can find a C++ site to tell you any old shit,.
 
@DeadMG I love to search before asking.
 
user142019
@EtiennedeMartel @DeadMG @ScottW ideone.com/brNkME
 
user142019
@EtiennedeMartel T* doesn't.
 
10:15 PM
20
Q: Do interfaces derive from System.Object? C# spec says yes, Eric says no, reality says no

AndreyQuestion is simple and asked in the title. C# 4.0 Specification says: (§4.2.2) The object class type is the ultimate base class of all other types. Every type in C# directly or indirectly derives from the object class type. Eric Lippert says: Interface types, not being classes, ...

Interestingu.
 
Haha, funniest thing is that it still compiles fine.
 
Even more LOL:
"tableless" table
 
@ScottW Don't tell that to @DeadMG.
 
Way too much image.
 
user142019
10:17 PM
Stop posting screenshots.
 
He'll wiggle his cock around.
 
Oh sorry, I forgot the rule
My bad. Sorry
 
@DemCodeLines Just link it. Those of us with more than 10k will be able to see it even if it was deleted.
 
@EtiennedeMartel What, something I already knew?
 
user142019
@ScottW Ø has no inheritance at all. :3
 
10:17 PM
@Morwenn Yes. The fact that it compiles is the thing that the const T shit is trying to get rid of.
 
@DeadMG And how bad adding it can be?
 
user142019
Dammit accept my pull request you lazy fuck person who has probably got more important things to do.
 
very
 
Develop.
 
return const T means no move semantics, and you can already disable this code by ref-qualifying your assignment operator.
 
10:19 PM
Ok, I take that.
 
the price of not being able to move or swap the return value is way higher than the very small probability of assigning to an rvalue accidentally.
 
I did not think anyone would be fucked enough to write (a + b) = c until I read it anyway.
 
user142019
 
Today I discovered CallerMemberName.
 
user142019
@EtiennedeMartel There's also something similar for line numbers and columns.
 
10:23 PM
Yes.
 
user142019
It's macros without the shittiness of macros.
 
It's very cool.
 
user142019
You do duck typing.
 
user142019
No.
 
user142019
10:32 PM
Well. Kind-of.
 
user142019
Go is pretty well-designed actually.
 
@rightfold No we won't. Go meet some friends. Everything will be fine.
 
user142019
@EtiennedeMartel Maybe I should stop writing all that dusty old code.
 
wow
closeted gay men die from aids 3 years earlier than out gay men
 
user142019
Are you guys afraid of death?
 
10:36 PM
Just noticed that there are now over 200,000 C++ questions. Happy 200k day everybody.
10
 
@rightfold if we weren't then we would be dead already.
 
@rightfold Death isn't the problem. End and oblivion are.
 
user142019
@sftrabbit 200k terrible posts hurray.
 
@rightfold 50% of which were about i = i++ + i++ :D
3
 
Better than nothing, I suppose.
 
Ell
10:41 PM
@rightfold im not scared of death
I'll be thankful xD
Nah not really
 
user142019
I don't give a shit, not even a cunt suck, nor Nick Naughty.
 
Ell
It doesn't bother me if I'm alive or dead
Actually I am afraid of the physical act of dying, e.g. if there is intense pain like a car crash or something
But I'm not afraid of the non physical aspect
I generally don't
 
@ScottW Let's play C++ roulette. You die if i = i++ changes the value of i!
 
The most horrible thing in dying is the ending of consciouness.
 
Ell
That's the best thing about it!
 
10:43 PM
@Morwenn you lose conciousness every night though
 
Ell
Not having to have to think
Which is why sleeping is so great
 
@Pubby I know I used the wrong word :p
 
Ell
@scottw even then it doesn't ,matter, you can't feel guilt when youre dead
 
And what's most horrible is that people sometimes actually lose all their memories and stuff before.
 
I remember this avatar from somewhere
look familiar?
 
10:45 PM
Mental death sounds much more horrible than physical death.
 
Ski avatars seem pretty popular
 
Ell
@scottw I agree that its horrible for them, but I think its irrelevant
Which is mostly true
Unfortunately :/
I still try to make people happy
 
user142019
@Morwenn Beautiful Death OMG OMG OMG
 
Ell
But I'm too selfish, I'm pretty numb emotionally now
 
@rightfold The fuck?
 
user142019
10:47 PM
@Morwenn I thought you liked Wintersun. :(
 
Are all of you guys programmers for companies?
 
user142019
No.
 
Just wondering.
 
@ScottW no
 
10:47 PM
> Currently a tools programmer at Ludia.
Excerpt from my SO profile.
 
Ell
I'm no programmer
3
 
user142019
@ScottW me too.
 
@Ell you sound like that guy in this article: hyperboleandahalf.blogspot.com/2013/05/depression-part-two.html
 
@rightfold I do. That does not mean I know the names of the tracks or of the albums.
 
user142019
@Ell I'm selfish and I lack empathy.
 
user142019
10:48 PM
And I feel great.
 
user142019
@Morwenn Oh. :P
 
I haven't heard of Ludia, but a google search suggests it is a mobile gaming company?
 
@rightfold I just randomly listen to Wintersun tracks and they generally are great.
 
user142019
They sure are. (Y)
 
Ell
@pubby thank you for linking this, its very strangely familiar
 
user142019
10:52 PM
HAHHAHAA idiots. github.com/…
 
@Pubby hyperboleandahalf? That's a girl.
 
user142019
GitHub search engine is a goldmine.
 
Anyone on who is fluent in Dutch?
 
user142019
@MooingDuck It's my native language.
 
I pseak fulent Elgnish.
 
10:53 PM
@MooingDuck Oh, does that mean the person in the comic is a girl too? :S
 
For "<you have a call from> an outside caller", is "...ett samtal utifrån" or "een beller van buiten" better?
@Pubby the dress didn't tip you off?
 
@MooingDuck the former looks like swedish to me
 
user142019
@MooingDuck well, "ett samtal utifrån" isn't Dutch so the latter.
 
user142019
We don't have å.
 
@MooingDuck It's no different than the male clothing in Cyanide and Happiness...
 
10:54 PM
@Ell see also the posts here
 
@jalf uh oh, so it does. What did I screw up....
@Pubby in this one she talks about moving across the country with her boyfriend.
 
1. go to www.google.com/imghp
2. atari breakout
3. ???
4. profit
 
@MooingDuck How do you know it's not a gay guy? (heh, I believe you. I never read that site)
 

« first day (940 days earlier)      last day (4010 days later) »