« first day (1286 days earlier)      last day (3884 days later) » 

23:00
That was my most rushed question ever.
@Mysticial meta.stackoverflow.com/posts/252077/revisions done. That was kinda tricky to get right. SVGs aren't imgurable, it turns out and markdown comments are too broken to include the source inline
@CatPlusPlus gg
Still no amulet
Goddamn RNG
:argh:
good nite everyone
I just discovered that Google autocompletes after typing only one letter. The goes for all letters except for the Z (in my case at least).
23:05
@sehe Thanks! That looks really nice.
EA is taking their pro-LGBT campaign a bit too far: i.imgur.com/GZHB4.gif (NSFW)
What's NSFW about that
@Mysticial Thank you :) May mad graphviz skills pay off once again o.O
@StackedCrooked off-by-one error :)
user3010322
I wonder what hte typeid of member function pointer shows for MSVC and GCC functions...
@CatPlusPlus eh, it's not?
23:11
@ThePhD MSVC functions? GCC functions? o.O
user3010322
I was trying to see if it'd capture the name
user3010322
But it doesn't, it just captures the signature. :(
WTf is wrong with people.
An SVG library with an XML-like API?
user3010322
:3c
23:16
If I wanted to create XML elements I could do it myself.
@Mysticial repwhores and help vampires on the RTL is the wrong way around, I think
@LightnessRacesinOrbit I had some of the numbers wrong in the original version of my answer.
So the diagrams might've picked up the errors.
Another one with a DOM interface. I don't even.
are you still goin
user3010322
WTF
user3010322
23:20
Fuck not being able to define that locally!
@ThePhD Why would it?
That makes no sense.
user3010322
I don't know. It just feels like it's missing information, since that's not a unique name.
The typeid of 42 doesn't capture 42.
@ThePhD It's not missing anything.
@AlexM. Why is that NSFW?
user3010322
Hm.
23:21
Also this:
@EtiennedeMartel shrug different standards I guess
6 hours ago, by R. Martinho Fernandes
Given struct foo {}; int (foo::*)() is a valid type, even though it has only a single inhabitant.
user3010322
Wait, what?
@AlexM. What kind of work place doesn't tolerate two guys kissing?
user3010322
That compiles?
23:22
Why not?
I was gonna say.
user3010322
It's just a member function pointer just hanging out there.
user3010322
Or, the type for one.
@EtiennedeMartel Most work places don't tolerate you watching animated GIFs of anyone kissing. Why do you think it has something to do with the animated characters' sexuality? Do you discriminate?
23:22
@EtiennedeMartel it's more like me not wanting to open that up at work
make a class_of trait
it's really easy
@LightnessRacesinOrbit This world is sad sometimes.
@Rapptz He wants the function name, which makes no sense.
@EtiennedeMartel No, not really: work is not the place to be watching people make out on the internet.
@R.MartinhoFernandes oh
23:24
@LightnessRacesinOrbit I guess I'm just used to the lax attitude of the games industry.
@R.MartinhoFernandes I think it's lazyness: SVG is catered way too much for the Web, and the Web "likes" (well, cognitive-dissonantly "likes") DOM's (because: jQuery!) and this blends in nicely with their javascript contraptions :)
speaking of which, my workplace is sorta lax too
user3010322
Why... isn't this a compiler error?
user3010322
23:25
foo has nothing of that signature.
@EtiennedeMartel What workplace tolerates people kissing?
@EtiennedeMartel Trying to get offended?
@EtiennedeMartel Mine - there isn't enough spare space for two guys, kissing, fucking or asking linked-list questions, unless they're both dwarfs of elves.
but I still wouldn't want to be seen looking at random people glitching out towards intense kissing
@ThePhD Why should it be?
struct foo { foo() = delete; }; foo* x; Tthere will never be a foo object, but foo* is still a valid type./
user3010322
23:26
I see.
@MartinJames Oooh. I'd love a vid of elve-dwarfs posting linked-list questions. Doubly Linked!
user3010322
But how come that member functor type signature isn't enough to invoke a call when given an instance of the member function?
What?
If you have the member function that's enough.
@sehe The fae, werewolves and vampires may object if left out.
user3010322
Let me illustrate...
23:27
(object.*member_function_pointer)(arguments...)
You don't need the type anywhere.
:16055748 If you load up, and so call through a member function pointer, a member of an inappropriate type, tough.
@sehe Actual people kissing or pictures (moving or otherwise) of people kissing?
> TIL that every week in Japan, there's a widely-popular, five-minute-long TV program that features a girl running up a hill. That's it. Each week, there's a different girl and a different hill. It's called, "Zenryoku Saka".
@StackedCrooked Isn't that a Greek thing?
"an customized, authoritative answer to his question, or a link to the canonical answer?" - false dichotomy. A customized authoritative answer might defer to canonical answers for background (I do this). Also, it's quite funny that you are trying to justify the reasoning by asking the rhetorical question "What will make Bob happiest?" - if you take that as your guideline... That way lies crappiness. Of course, you can phantasize that all people will in the end learn to be like us, experienced elite SO users... But you know that's not the case (and it will certainly not make Bob happy). — sehe 14 secs ago
23:31
Oh, wait, the Greek thing is about pushing a stone up a hill.
I dunno about that.
I cna't kiss anybody ATM. Anne disappeared off to a darts match earlier and, presumably, is still stuck on double-1 after four hours. NO, I'm not kissing the dog, his beard is wet.
@StackedCrooked Is she naked?
In Greek mythology Sisyphus (; Greek: , Sísyphos) was a king of Ephyra (now known as Corinth) punished for chronic deceitfulness by being compelled to roll an immense boulder up a hill, only to watch it roll back down, and to repeat this action forever. Mythology Sisyphus was the son of King Aeolus of Thessaly and Enarete, and the founder and first king of Ephyra (supposedly the original name of Corinth). He was the father of Glaucus, Ornytion, Almus, and Thersander by the nymph Merope, the brother of Salmoneus, and the grandfather of Bellerophon through Glaucus. King Sisyphus prom...
Don't kiss ATMs.
23:32
@EtiennedeMartel Both, actually. I've seen all extremes, but on average, the footage is crossing the border already (OTOH at my current job, some people exchange videos on their phones that I'd rather not have seen).
@R.MartinhoFernandes I wish.
@sehe Wait, I'm not talking about porn.
@R.MartinhoFernandes If I strip in front of an ATM, will money come out, or something else?
Me neither. I just thought that an example would be clearer than the vague claim that "I've seen all extremes". I mean. Extremes.
23:34
If I did and money came out, I would probably leave without it.
user3010322
user3010322
This si what I mean, I guess.
So, here's a function pointer type: int(*)(int). Please tell me the result of a call to it.
I might catch an STD - need condoms for ATM now.
23:35
@R.MartinhoFernandes Strong probability. You might forget your clothes.
I hope you guys know "ATM" can also mean "ass to mouth".
user3010322
@R.MartinhoFernandes An integer. But it doesn't unique describe anything.
@ThePhD Why doesn't some_shared_pointer.reset(std::nullptr_t) work?
Oh.. really? I just wanted beer money:)
@StackedCrooked Not sexualized at all. Uhuh
23:36
@ThePhD (Neither does your example, but we can play along with it)
@R.MartinhoFernandes a type? Oh, devil's advocate
user3010322
Like. int foo::* ( ) can only refer to one instantiation, templated or not, of a function.
@sehe yeah, not in the least whistles
@ThePhD So what.
Types are not values.
(And that's false, but again, let's ignore that for a moment)
user3010322
But it's not ambiguous what its value should be. So there should be a way to make that value happen.
23:38
@ThePhD Neither is nullptr_t ambiguous.
Stop. Loading. Member. Function. Pointers. With. Crap.
@ThePhD When types can only have one value there's usually a way to create that one value.
It's called a default constructor.
user3010322
Member function pointers don't have a default constructor.
Yes, they do.
user3010322
It initializes it to unusable garbage.
user3010322
23:39
That doesn't really count.
全力坂 (best slope) seems to be the best search term on youtube.
There is one value of type int (foo::*)() in my example with struct foo {};, not zero. You could have known this 6 hours ago if you had actually read that message.
@ThePhD No, it does not.
@R.MartinhoFernandes Gödel, is that you?
Turtles all the way
Aaargghhhhh!
23:41
@Darklighter Thanks man. I love you.
@Darklighter Wait, did you change your screen name, @rubenvb?
user3010322
I did read the message, and that doesn't tell me why int (foo::*)();'s useless garbage initialization is the same as void (foo::*)();'s useless garbage initialization, for struct foo { void something (); };
@ThePhD I don't see how you can be so close to realizing the obvious, yet miss it
@StackedCrooked wtf was that about?
@ThePhD It's not useless garbage.
23:43
@sehe i didn’t built it
@LightnessRacesinOrbit It's a popular TV show in Japan where a girl runs up a hill.
Neither did I, dont blame me.
but i eagerly awaited the release watching the activities page on sourceforge
Each episode it's a different girl and different hill.
user3010322
@sehe I don't see what the obvious is, perhaps someone can spell it out for me.
23:44
Well some girls have bigger hills.
user3010322
My gripe is that the type signature of a member function is unique, and if that function exists on the struct, it should be default initialized to that and not garbage that crashes my program when used.
@MartinJames oh you
@ThePhD How many times do I have to tell you it's not unique and the default is not garbage?
user3010322
Oh, wait.
time to rebuild every library I have
23:45
@ThePhD primitives have default construction
Awesome. This question got an upvote: "This question shows research effort; it is useful and clear". Just wow. — Jefffrey 14 secs ago
value initializatino
user3010322
struct foo { void something (); void something_else(); };
midnight rant
user3010322
Well, damnit.
user3010322
23:46
You need the name then.
why are you having a hard time with that part?
The name is the value (not quite, but almost).
The type is not the value. Types are not values.
user3010322
I didn't have a hard time, my brain was just fried.
23:46
luaL_Reg is a pair consisting of a const char* and lua_CFunction :v
so using typeid on it is kind of meaningless
lol, I got the Mortarboard badge on meta.SO.
@StackedCrooked o.o
23:47
@JonathonReinhart Please. Keep meta on meta. See what you just caused? Toxic. No matter how right you are, this cannot remotely be construed as a beneficial path. — sehe 29 secs ago
@StackedCrooked I can see why it is popular.
user3010322
user3010322
If I tried that with an actual object type, it'd default-construct no matter what syntax I used.
@sehe I will be removing all of my comments. Others can do the same. — Jonathon Reinhart 15 secs ago
Woot. That was smooth
@ThePhD No it would not.
(Member function pointers are objects too).
23:49
@R.MartinhoFernandes I guess it's the only way for some men to hear a girl breathe heavily..
user3010322
Okay, with any user-defined-type?
@sehe Everything in that question is just silly. From people answering, to people downvoting every answer, to people upvoting every answer and to the question itself.
user3010322
Whatever fancy label you want to give it, it's behavior changes based on the syntax you use.
I find counter-voting just plain stupid in general.
@Jefffrey And the debate...
23:50
@ThePhD Still not.
user3010322
If you say so.
yeah, that too
@ThePhD std::array doesn't perform any initialisation unless you do it explicitly.
@StackedCrooked You nailed it. Sweating, heavy breathing, boobs bobbling, up skirt. And the sexualization of everyday appearances. The works! It's a gold mine.
Why don't we have that?
23:51
Because we don't need it
That is true for all POD types.
The fact that an uninitialised member function pointer has garbage is not interesting.
It is true for all uninitialised variables.
DAMN YOU UB
Took a few tries until I got a failure.
user3010322
Precisely.
user3010322
Because the default non-primitive types is being initialized
user3010322
With its default constructor
23:54
@ThePhD And how does that matter?
@ThePhD Same for all types.
<popcorn/>
lol
user3010322
There is no default constructor for primitive types.
user3010322
Member function pointers and integers and the like.
Value initialisation always initialises.
23:55
I made fun of the colourful error thing eons ago and now I like it :(
I don't see how that's relevant anyway
I guess Clang's colourful errors spoiled me
user3010322
You were drilling the point home, so apparently it mattered at some point.
There's a way to get the default value of a member function pointer type.
That is not leaving it uninitialised.
@ThePhD Mmm. You were so busy failing to see the subtle point (primitives can be default constructed) that now you forgot that you claimed that they couldn't? i.imgur.com/POEy0MH.png
23:57
anyone wanna help me look for definite proof regarding this (paste)? gcc rejects, clang accepts. my feeling is that clang is correct since the lvalue-to-rvalue conversion of a (when initializing A.x) doesn't happen until a A is actually being constructed.
Hi to you too :)
but finding the definite wording to support that is kinda.. well, troublesome
user3010322
Either way, my only point for this part of the discussion is that there's a difference between a primitive type, which does not have its value initialized with the syntax [primitive type] x;, and a UDT with the same syntax [UDT] y;. One will have behavior that demonstrates the_type x(); == the_type x; and the other will have behavior that demonstrates the_type y(); != the_type y;
@sehe g'evening.
23:58
OK, I gotta go back to that meta post now:(
@ThePhD No, there is not.
value-initialization and default-initialization are the same thing for class types
user3010322
@sehe Bad choice fo words on my part, but I've explained it above better. It has a default constructor, but the default constructor is optional based on the syntax you choose. For a UDT, it's not.
I already explained it's not about UDTs.

« first day (1286 days earlier)      last day (3884 days later) »