« first day (902 days earlier)      last day (4050 days later) » 

12:00 AM
Okay!
 
I should probably go to sleep.
 
So I think that's a good property wrapper.
 
@LucDanton It requires knowledge of Portuguese.
 
Ya know I could have made a guess.
 
@ThePhD I'd have to look to be sure, but I think so -- though if the members of the tuple contain explicitly-defined special member functions, you'll probably also have to provide those for the union to do much with it.
 
12:02 AM
44 mins ago, by sehe
llonesmiz, that you? +1 — sehe 10 secs ago
^ by now, I'm 99% certain he's the guy. For context, he's the guy that earned me +112 on meta, while "virtually" losing 865 SO rep
There's just no one else who'd have come up with that answer, in precisely that style.
 
I don't even remember when GCC started supporting unrestricted unions. I must have played briefly the feature and given up early. I remember an early implementation of variant.
Something like union u { Head head; u<Tail...> tail; };. I blame variadic expansion.
 
Yeah, I remember discussing that.
 
Wow I'm sorry. I should have kept that thing to myself.
Wait is impasse a loanword or not?
Anyway if you go that way you'll be at an impasse. Or maybe not, but it'll suck.
 
Who are you talking to?
 
@LucDanton "Impasse" is routinely used in English.
 
12:07 AM
@JerryCoffin coliru.stacked-crooked.com/… /cc @R.MartinhoFernandes <333
Unions. <33
 
@R.MartinhoFernandes It's a warning in the style of 'here be dragons'. It's not a personal 'you'.
@JerryCoffin Very nice. I approve that.
 
@Ell you also forgot where the wiki was? loungecpp.wikidot.com/gaming
 
@ThePhD You're lucky the tuple is empty. Now try again with non-empty lambdas
 
Oh, I know it'll break then.
I just wanted to be all ill-formed and standards-defying with one of them~
Ahh, the thrill of undefined behavior~
OH GOD
IT BREAKS ON MSVC
ALL THE HORRORS ;~;
 
@R.MartinhoFernandes hehe that part of Portuguese is pretty wellknown for some reason :)
 
12:11 AM
@ThePhD Muahahahahahahahahahahahahahahahahhahahahahahahahhahhahahahahahahahahahhahahahah‌​aah
 
Oh, dear. It also seems that MSVC is incapable of optimizing out an empty base class.
What shows up in Coliru as 4 shows up in MSVC as 8.
 
1 hour ago, by R. Martinho Fernandes
MSVC used to have difficulty kicking out as much EBCO as possible. Dunno how those flaws affect the tuple implementation, nor how much that changed.
 
Damnit. =/
 

If you play with fire, you get burned

3 mins ago, 1 minute total – 6 messages, 1 user, 0 stars

Bookmarked 54 secs ago by R. Martinho Fernandes

:P
 
Heeeey
T_T
 
Xeo
12:15 AM
So, robot, how come you're still awake?
 
Portuguese Secret Skill: Insomnia
 
AFAIK you are in the same timezone.
 
Xeo
Yeah, but I got my secret skill activated. What about you?
 
=[
Guiz
MSVC can't optomize the tuple at all.
Even if I pack it in
 
doesn't MSVC use some retarded form of tuples?
 
Xeo
12:16 AM
MSVC does left-most EBCO, IIRC
 
So I have to stick T as the last element, then?
 
Xeo
@Rapptz They use a retarded form of variadic templates, but that's another matter.
 
You would have to do it by hand, and IIRC that implies recursive inheritance.
 
Xeo
@ThePhD I think so
 
At least I can use Markdown with Doxygen now
 
12:17 AM
Boost.Operators has that kind of workaround built-in.
 
Xeo
But who knows how MSVC orders their tuples internally...
 
@Rapptz Oooooooh. Do tell.
 
Xeo
Well, I think the Robot knows.
 
Is that awesome or is that awesome?
 
12:22 AM
Cool, 1.8.3 is in the repos.
 
1.8.1 on unstable :(
 
Oh, I would get 1.7.6 on stable, but I am used to cutting myself while shaving.
 
Um
If I have std::forward with variadic args,
where do I put hte unpacky thingies?
 
I'm using 1.8.3 and haven't had issues yet but then again I'm not doing anything too weird
 
std::forward<Args>( args ) ... <--- right?
 
12:24 AM
Gentoo stable channel is quite conservative IME.
@ThePhD Yeah.
 
I never know what "stable" means lol
 
.... Hm.
Welp, I've fucked something up.
 
A bit confused by the conversation, but just in case I was speaking Debian-based.
 
Quick! What does this print in PHP?
 $arg = 'T';
 $vehicle = ( ( $arg == 'B' ) ? 'bus' :
               ( $arg == 'A' ) ? 'airplane' :
               ( $arg == 'T' ) ? 'train' :
               ( $arg == 'C' ) ? 'car' :
               ( $arg == 'H' ) ? 'horse' :
               'feet' );
  print $vehicle;
And in perl?
 
12:31 AM
ROFLMAO
@Xeo Putting it at the end made it so it was 16 bytes instead of 4 or 8. :3c
 
@Rapptz (it's where you put the answer to the above question, well, if it's php anyways)
 
AFAICT, MSVC is a lost cause.
 
That must mean... 'bus'!
 
@sehe Ah, yeah, they fucked up the associativity of ?:.
 
12:34 AM
@LucDanton yup. php:horse, perl:bus (if you s/==/eq/ perl would print 'train', (un?)surprisingly)
> His Twitter feeds had 827,000 followers.
Am I bad for never having heard about this guy?
 
Xeo
1 message moved to bin
 
tyvm
 
I uh actually don't plan on putting buses in stables.
 
@sehe When looking for movies I often ended up reading his reviews.
I like his review of Fargo a lot, but that's because it's one of my fav movies and he seems to agree :P
 
using find_first_of = conditional<
    meta::computes<meta::bind<meta::find, meta::list<meta::Arg1, matches>>>
    , meta::find<meta::Arg1, matches>
    , default_construct_element<meta::Arg1>
>;
a) this is unreadable b) it doesn't work
Okay I give up, I'm in favour of static if.
2
 
12:38 AM
Me too. However, I'm against using static if for everything including the kitchen sink (e.g. doing things like environment detection where #ifdef WIN32 would nowadays be used)
 
Actually forgot to s/find_first_of/find_in_matches/ when I changed that bit. The name should better reflect the intent.
 
@LucDanton c) genius
 
Okay I'm going to leave that TU as is and check out what happens in the other that ICEs.
 
ITT @Luc is a janitor of the asylum that houses TUs
 
> internal compiler error: tree check: expected record_type or union_type or qual_union_type, have typename_type in lookup_conversions, at cp/search.c:2515
Well this is new.
 
12:41 AM
That's actually a very helpful assert text
@R.MartinhoFernandes it took me waaay too long to realize what had happened there from just the starred message...
 
Kinda baffled. 'Unrolling' a meta computation yields a different result :(
I'm thinking meta::computes is too clever here. Let's see if I can make an reproducible testcase.
 
@GuillaumePapin and thanks for getting the destructor fixed on that existing answer. This is how content SO improves by avoiding duplicates! — sehe 5 secs ago
I still like SO
 
1:02 AM
Fuck this is hard to reproduce.
 
user1357851
why is unrolling so close to untrolling
 
Ell
Do exceptions cause a hardware interrupt?
Well, a processor trap/interrupt
 
> swf: Unless this is a vim swap file, get the fuck out. If it’s a vim swap file, you direly need to delete/recover some old files, and then get the fuck out.
^ this blog is hilarious at (many) times
@Ell ... (a) what do you think? (b) implementation defined
 
Ell
1:20 AM
I think it does but I don't know o.O
 
how do i porgam dog
 
user1357851
porgam? How do you porgam anything
 
<o/ I was inverting the logic
 
how porgam dog
 
@Ell I think it doesn't :)
On windows, SEH might come close
 
1:29 AM
@ScottW A great man once said "Hell, it's about time."
I was quoting Tychus Findlay
 
can I porgram sehe
 
> TTBOMK this only passes compilation on Clang as of now. Or should I say, Clang is the the only compiler that passes this :) sehe@codeproject
@ScottW wut?!
 
Ell
Haha I think I understand currying now
 
@Ell does it cause hardware interrupts?
 
Ell
Reading the Wikipedia page of lambda calculus shows it so plainly. Tbh I hadn't tried before so I guess its not such a breakthrough
bad curry causes hardware interrupts for robot
 
1:39 AM
I really need a tool to indent the usual angle bracket messes. Any leads?
 
+1 me too. Post the question in on Stack Overflow and I might bounty it!
 
user1357851
vim script
 
@LucDanton I'm not desperate enough to write the question, and I reckon you must be sitting on a good sampling of test/sample cases
 
lol
I'm trying to write my own thing. I don't really do text munging so I'm curious.
 
2:12 AM
bamboo
oh right.
 
Hi all.
 
how do I get my dog to stop being annoying?
 
user1357851
dog + duckling = gulp
 
@Crowz Kill it.
 
Throw a slab of meat at it.
 
2:20 AM
@MarkGarcia she's not THAT annoying
 
@Telkitty dogling
 
she just seems to have an obsession with licking the side of my desk
 
@Crowz Have you put something on that part of your desk?
 
nope but she's been at it for an hour now
 
@Crowz Put something that tastes bad on it.
 
2:21 AM
dogs eat poop, what taste worse than poop?
 
Chili or something.
 
Chinese food?
 
Something spicy.
Dogs usually hate spice.
 
@Rapptz lol
 
My dog will eat anything.
except for dog food.
 
user1357851
2:24 AM
Once my cousin fed neighbours dog hot spicy meat, the dog ate it then the spice kicked in. There was no water, the dog peed on the floor and drank it
 
@Telkitty When I was a kid, the next door neighbor had an uncle (or something) who'd been a medic in WWII. Claimed when they were in the field and had no clean water, they'd use urine to clean wounds and such -- apparently urine (from a person who's healthy) is basically sterile, and the uric acid (or something) in it prevents most bacteria from growing either.
 
-1
Q: PLEASE HELP! WAITING ONLINE! error LNK2019: unresolved external symbol referenced in function

user2247342Please help......I am crazy about this problem....tried but nothing works... I got three LNK2019 error: optimal.obj : error LNK2019: unresolved external symbol "double * __cdecl matm(int,int,int,double *,double *)" (?matm@@YAPANHHHPAN0@Z) referenced in function _main optimal.obj : error...

^^ title :)
 
@Mysticial Is there a post on meta about link error questions? I'm planning to post one.
 
@MarkGarcia what?
 
2:32 AM
@Mysticial Like that PLEASE HELP question. Link error questions. I'm about to post a question about those kinds questions.
 
@MarkGarcia Wait, what are you trying to post on meta about them?
 
I think most of them are too localized and should be flagged as such.
I need thoughts about it.
 
depends
 
@Mysticial They plague the c/c++ tags.
 
@MarkGarcia they plague all tags
 
2:34 AM
It's a universal problem. I don't think the devs / mods can do anything about it.
 
Well, I think I'll just post then.
 
@MarkGarcia hold on
 
@Mysticial Right.
 
Why only link error questions? What makes them different from any other question?
 
2:35 AM
okay noob question. What does a shader do?
 
@Mysticial They're too localized, especially in the c/c++ tags. Most of them could be solved by simple compiler settings. Also, we already have a FAQ on those things. That should help them solve those problems well.
 
@MarkGarcia It's just gonna get closed as a dupe as this:
77
Q: Stack Overflow has too many "too localised" new questions

Lightness Races in OrbitSO started off as a site for interesting programming questions. Although the odd "help me please" localised debugging help question would pop up once in a while, this was inevitable so we just sort of lived with it, right? Now it feels as if the vast majority of questions are those which we mig...

which is more generic
 
@Mysticial OK. Thanks. Reading it.
 
@MarkGarcia It pretty much boils down to, "downvote and close vote anything you personally don't want".
 
"what are some unknown or esoteric metal bands?"
"as I lay dying"
wat
 
2:39 AM
@Mysticial But we could all use some definitive guidelines (well, for those who bother to read them).
 
It's a fuzzy line. But there's been some effort to make some clear-cut standards:
92
Q: Close all the typo questions

mogUpdate 2013/03/06: I've been playing around in the Data Explorer (first time I've used it) and put together a basic query to help identify typo related posts a little better, improvements welcome: http://data.stackexchange.com/stackoverflow/query/edit/101573 select a.Id as [Post Link], a.Body f...

 
I'll make a query to find linking error questions.
 
But not all linking error questions are "too localized". If the error is very clear in the title, and it's a very common problem that people stumble upon, it's likely to become google bait
The fact that there are so many linker error questions is evidence that it really isn't that localized.
 
@Mysticial Those titles who have "error LNK*****" questions. They're pretty much the same.
 
Then close them as duplicates. Not as too localized.
 
2:48 AM
@Mysticial Not to throw away the suggestion, but you're asking the impossible. Users would then complain on meta "why's my question duped?".
 
@MarkGarcia They don't actually.
Occasionally they'll complain about a closure, but it's nothing compared to the swarms to who complain about the question ban.
 
@Mysticial Well, yes.
 
Everyday, I see about 1 or 2 complaints about closures. They tend to get downvoted.
At the same time I see about 2 - 3 questions about how to get around the question-ban. Those also get downvoted heavily.
And each day I see about 10 - 20 technical questions that belong on SO because the OP is question-banned on SO and decided to post their question on meta instead.
 
@Mysticial I see. That's why there's so much off-topic posts on meta.
 
Those get destroyed instantly, and often the OPs get suspended from meta if they do it more than say twice.
Yeah, the Q-ban message is hosted on meta itself - which is probably the dumbest thing ever unless the intent is to give everyone free flags...
 
2:56 AM
Meta seems so hostile
I dare not venture there
 
must find good forum for metal music, yahoo answers is making me cringe
 
@Borgleader Nah. It's just full of SO-ideological people.
Who gets nice if your nice on the site.
 
@MarkGarcia And they don't always agree. So therefore it's hostile.
 
@ScottW @Mysticial Points accepted.
 
I mean like, there's one guy who's been raging at the sock question at almost every opportunity possible...
He's already downvoted it, already close voted it. Mods don't share his view so he can't just flag it.
So he is REALLY pissed off.
The outrage you have over that socks question really isn't healthy... — Adam Rackis Mar 29 at 15:05
 
3:02 AM
What's wrong with the cow question?
What the hell?
 
My link error query seems to take forever to end.
 
I am a firm believer that Shog9 is the most anal mod in SO.
 
Oh. It timed-out.
 
@Rapptz Then you've seen casperOne. :P
 
@Mysticial casperOne doesn't seem to be out as much anymore.
 
3:09 AM
@Rapptz Ideologically, casperOne is one of the most extreme among the moderators. But he's a mod, not an employee, so he can choose to backoff after being thrashed repeatedly by people crying foul play. Shog on the other hand can't just run away from the issue. He's the boss. He has to make those controversial calls because there's nobody above him to hand it off to.
 
He's annoying
 
-3
Q: HOW TO KNOW WHICH VERSION OF C COMPILER I Am USING

R K Saurabh how can i know which version of c compiler i am using on fedora 18 i.e whether it is c89 or c99 .. by default which compiler in c is used by fedora?

 
^ what?
can't you find that out from the command line?
 
YOU CAN CHECK THE MANUAL THAT CAME WITH THE COMPILER — Scott W 30 secs ago
@ScottW I love you.
 
@Crowz usually -v or something
 
3:15 AM
like gcc -v, eh?
Goddamn why don't people understand what "avant-garde" or "experimental" means
 
Quick question: what's GCC's link error format like?
 
error: ld.exe fucked up
 
Usually with some Swahili thrown in.
 
@Rapptz Right. Thanks.
:)
 
@ScottW "looking for avant-garde music", here's a list of some responses...
Otep, Heart, Foo Fighters, Nirvana, The Black Keys, Crystal Castles.
And yes, they're all serious
oh yes, I know this one. Actually I was more into avant-garde metal, but any avant-garde is good
Yes! That is what I am after!
Do you like UneXpecT at all? They're a bit less "avant-garde", but they have a touch of it in their music
Maybe you would like it
Little bit different though
 
3:33 AM
@sehe I (re)discovered the 'match balanced items' pattern of Lua and had some fun!
 
3:44 AM
@ddacot Have you tried Stack Overflow?
 
1 message moved to bin
 
lol
 
Why did you post it again?
 
That's quite the wqll of text. Please see the hints.
 
1 message moved to bin
 
3:45 AM
i was editing it, i didn't repost it.
i don't see the point to create a topic, i know, it's a minor problem, but i can't find it
 
hmm... so editing a message while it gets moved will leave another copy...
I'm gonna try that.
1 message moved to bin
hahahahaha I'm gonna bin and edit this. lolololololol
 
i was editing the message, in this time Danton deleted it, then i finished editing and hit enter)
 
oh yeah, it does leave another copy.
 
not funny at all.
 
3:47 AM
@Mysticial Zero surprise here.
 
@ddacot Anyway, post it on Stack Overflow. You're more likely to get a response there.
 
@Mysticial okay, thanks.
 
Just making sure, you're on Windows?
 
yep.
 
k
 
Consider sending a 280-byte datagram into a link with a MTU of 220 bytes. Two fragments are generated. Assume no options in IP header. How many byte of data is carried in the data field (payload) of the second fragment (second IP datagram)?
cou>>129
the fack
 
@Someguy Try Stack Overflow.
 

« first day (902 days earlier)      last day (4050 days later) »