« first day (741 days earlier)      last day (4212 days later) » 

8:00 PM
So, right timeframe?
 
@TonyTheLion Can't hotlink to FunnyJunk.
 
imgur now
 
Is there a thing anywhere showing how to use system_error, especially WRT non-POSIX errors? I've always wondered, and how there's a SO question about it.
 
8:06 PM
Clearly I'm bored
 
Ell
who uses pgup/pgdown?
 
@MooingDuck Oh. That thing. I have no idea.
 
Do the int values of enum always increase by 1?
 
@Collin by default, yes. Starting with zero.
 
@MooingDuck thanks
 
8:07 PM
Oops I offended someone on the internet
 
@Collin enum {thing, purple, pickle=41, fast}; //thing is 0, purple is 1, pickle is 41, fast is 42
 
> Despite the restrictions, the domain has been exploited for feline-related domain hacks. source
 
I think I killed LWS again.
 
You're evil.
@Ell I do.
 
@MooingDuck Cool, that's what I thought, I'm trying to assign names to something in an array.. I feel a bit evil about it, but I don't really want an actual map
 
8:09 PM
Guess I should be running the code on my end.
 
guys
the windows 8 event sucked big time
 
it's Windows 8, you were expecting?
 
@kbok well, color me surprised
 
Just as I thought. Memory balloons up when compiling, doesn't appear to terminate. I think I just sent the LWS server swapping :/
 
8:13 PM
oooh cupcakes!
 
Windows branded cupcakes :P
 
@kbok Well, was there free beer?
 
@Borgleader But that way I get to eat Windows.. wait that doesn't sound appetizing.
 
@MartinJames Free champagne
 
@LucDanton lol
 
8:14 PM
@R.MartinhoFernandes In my defense it was looking fine up until N = 25000.
 
Jeez some people
WTF
 
I'm sleepy. It's only 21:15.
 
@kbok OK, that will do. Did the cupcake cases actually contain cupcakes, or offers of competitively-priced upgrades to 'Fruitcake V2.6'?
 
@MartinJames No food :(
 
@R.MartinhoFernandes on monday it would be 22:15 for you
 
8:20 PM
I suppose I should send a nice apology letter to LWS :(
 
Ell
hmm I have another question everyone will think is WTF so I think I'll google instead :L
 
@LucDanton you really crashed it?
 
That would make for two coincidences. Also, compiling the same program on my end really doesn't terminate and eats up all memory.
(Not the first time I've produced such a program. Compile-time UB and/or experimental compilers are 'fun'.)
I actually don't know what's the mandated behaviour for those things.
 
@bamboon Nope.
 
Strictly speaking I suppose swapping doesn't count as hitting implementation-defined limits?
 
8:25 PM
@bamboon DST is off next Sunday.
 
@R.MartinhoFernandes crap, you are right
 
@Xeo Have you worked a lot on this question?
 
Xeo
@LucDanton sec
No, not really
5
Q: Getting access to the back of a template parameter pack in O(1)

pmrIn a recent mail on the boost developers mailing list Eric Niebler mentioned that it is possible to get the last element of a template parameter pack in O(1) instantiations. How can this be done?

stolen from there :)
 
I know.
I'm wondering if that's the state of the art.
N = 1000000 is a silly goal but still, I'm curious at how high it can get.
 
Xeo
Well, I really can't see how you could get faster than O(log N) for list generation.
 
8:31 PM
I wish I could use Sublime Text 2 to compile with MSCV
 
Xeo
@Borgleader Just need the right build script
 
But MSVC requires project files to compile code
I tried earlier and couldn't get it to work because it couldn't find .sln
 
@Borgleader seriously?
 
@Borgleader just use the compiler, u now
 
Ell
8:33 PM
@Borgleader it doesn't
 
@Borgleader making a blank project for a small project is pretty easy, unless you have weird build requirements.
 
this bear is doing politics?
 
OMG. What happened to the C++ tag wiki?
 
@Xeo More laziness!
 
8:34 PM
Maybe I called it wrong, but that's the error message I was getting.
 
Ell
hmmm can't figure out why newlines are being inserted in my yaml file from ruby o.O
 
@R.MartinhoFernandes Oh by the way, time to bountify your question?
(I try and verb everything.)
 
Oh, right! Thanks!
 
STAHP
 
8:36 PM
But really, am I the only one that thinks those tags all over the tag wiki are freaking horrendous?
If so, well, ok. Otherwise I'm fixing that.
 
"Unlike most FAQ's this is not peer reviewed and contains many gotchas and the sole authors personal opinions may not be the same as the general consensus. Useful but worth checking other references for backup."
^ A bit silly for the most extensively peer-reviewed faq in existence.
still, it does contain out-of-date info
 
@Cheersandhth.-Alf Where's that from?
 
@Xeo Ah well I was wondering about a variadic concat but packs don't lend themselves to that.
 
<del>our</del> the SO c++ tag wiki
 
Oh.
I need to see the history of that.
 
8:38 PM
i wonder where all the uninformed people come from
 
Xeo
@LucDanton Hmm...
 
Can't express <seq<I...>...> in particular.
 
Xeo
Yeah
 
sorry spamming with pictures
 
Xeo
8:39 PM
Something like template<class... Is...> would be needed for that
 
@Cheersandhth.-Alf Martin York wrote that.
 
Oh, he's a troll
 
oh gawd
 
> A few features that had been under discussion for C++0x have been deferred to the next iteration, tentatively called c++0y.
lolwut.
Who the fuck approves these crap edits.
 
8:41 PM
where did you find it so fast
 
@Cheersandhth.-Alf Find what?
 
i only see an "exerpt history"?
 
what?
 
@Cheersandhth.-Alf "history".
 
the edit history
 
Xeo
@LucDanton We definitly need the ability to typedef packs
 
@Xeo If this worked though I don't think we'd save much. With care I think we could fold all of the concat instantiations into one big one such match (assuming it's even possible to directly unpack such a 'double' pack into a useful form, i.e. O(1) result), but in the end we're still O(log n) when taking into account instantiations of seq.
 
lol @thecosh added a link to LiveWrokspace.
 
@R.MartinhoFernandes Did someone just pull that out of his ass?
 
Ell
@TonyTheLion hmm to post to facebook or not to post to facebook
 
8:43 PM
@Xeo Actually I think a compiler built-in for indices is not too unreasonable. I think that came up on the GCC list once, too.
 
@Ell I'm not.
 
Xeo
@LucDanton Clang and GCC have those
As the robot found out
 
@R.MartinhoFernandes wut
 
@EtiennedeMartel Yes. A 4k user. Which means the edit was peer reviewed. Which means I FUCKING HATE THESE PEER REVIEWED EDITS BECAUSE THE REVIEWERS ARE MORONS:
 
@R.MartinhoFernandes Well, I guess you should edit it then.
 
8:43 PM
Right, so let's try them right now! To see how high we can get!
 
@EtiennedeMartel I will. I am going to fix all the crap at once.
 
The robot is on the warpath.
 
But I need to know I'm not imposing my biases by removing that silly tag orgasm.
 
Hey, anyone familiar with all the coding conventions and what not?
 
> On top of C, C++ adds support for -orientation
Really?
RAEG.
 
8:45 PM
@Serge somewhat familiar, but looking it up on Wikipedia is faster
 
user142019
Steven Seagal is on TV.
 
__make_tuple_indices<N> for libstdc++ apparently?
 
This article describes the calling conventions used on the x86 architecture. Calling conventions describe the interface of called code: * The order in which atomic (scalar) parameters, or individual parts of a complex parameter, are allocated * How parameters are passed (pushed on the stack, placed in registers, or a mix of both) * Which registers may be used by the callee without first being saved (i.e. pushed) * How the task of setting up for and restoring the stack after a function call is divided between the caller and the callee This is intimately related with the assignment of siz...
 
Well, it's more of a opinion question... not really fit for Wiki, or a question.
 
@R.MartinhoFernandes 4k means it was not, you only need 2k to edit willy-nilly?
 
8:45 PM
@R.MartinhoFernandes I think too many non-C++ programmers have touched that C++ wiki.
 
@Collin Not tag wikis.
@Collin Tag wikis willy nilly is really high rep. 15k or 20k.
 
@TonyTheLion I'm just trying to find out what you guys prefer for variable naming. Specifically, member variables.
 
@Collin 5k to approve tag wiki edits; 20k to edit without peer review.
 
@Serge oh lol, I read "calling conventions"
erm. whatever fits really
descriptive short names
 
Oh wait no, __make_tuple_indices is Clang.
 
8:48 PM
Oct 10 at 15:36, by R. Martinho Fernandes
Btw, _Build_index_tuple/_Index_tuple (or __make_tuple_indices/__tuple_indices in clang) are nice.
 
Ah, sorry... I should have said naming, not coding.

I'm comparing variableName vs VariableName. Would either one be specifically wrong?
 
@Serge personal preference really
 
user142019
@Serge no. Neither is wrong as long as you follow your coding style and be consistent.
 
user142019
Because C++ has no standard styleguide, like Python has.
 
There's a link to a "List of Programs That Use C++" at the end of the tag wiki. It links to stroustrup.com
 
8:49 PM
@Serge The first one is more common. But it doesn't matter.
 
What the fuckety fuck?
I'm pulling hairs out.
 
@R.MartinhoFernandes Ah, sorry thought that was part of an answer or something
 
That thing is a fucking mess.
 
Thanks. Sorry, was being laughed at by a Java programmer for
A: Using my own coding convention, and
B: For using upper case first letters for variables (since it doesn't fit the Java standard)
4
 
@R.MartinhoFernandes Well that's not an actual built-in actually. At least on my snapshot.
 
user142019
8:50 PM
@Serge (Being laughed at by) a moron Java programmer is something you can always completely ignore.
 
And while it didn't bug me for a while, it dug into my mind after a few weeks to see if there truly was an issue with it
@WTP'-- Lol, thanks. Sorry for interrupting your conversations and what not
 
It uses the naive O(n) expansion.
 
@WTP'-- Or rather be proud of, because that probably means you're doing something correct.
 
@Serge Java does have a coding style guide, but you're writing C++?
 
@Collin Yes
Keep in mind... I was... somewhat the person who taught them how to do Java.
 
8:52 PM
@Serge Yeah, C++ is kinda the wild wild west of coding conventions
 
user142019
C++ has no standard or de-facto standard style guide.
 
But we all feel VERY STRONGLY about ours
 
@Collin XD that's a great metaphor...
 
@Collin About mine, you mean. Yours is a U+1F4A9.
 
user142019
Radek: “I’m tired.”
Merkin: “lol awesome”
Weird merkins.
 
8:53 PM
@WTP'-- Whaat?
 
user142019
@Serge Merkins have a weird sense of humour.
 
@R.MartinhoFernandes That is spectacular
@WTP'-- Yeah well you have a weird sense of humor
 
@R.MartinhoFernandes Amazing.
 
user142019
 
@R.MartinhoFernandes, you managed to remember code for that character? :D
 
8:55 PM
@Griwes Hmm... Yeah... I... well...
 
user142019
He’s a robot. He knows all of Unicode.
 
@Griwes I use it all the time when testing my library.
 
:D
 
user142019
Man.
 
user142019
Weekend is almost over. :<
 
8:57 PM
Argh, damned windows 8 fails to properly detect my realtek sound card.
 
@Griwes Vista all over again? :)
 
user142019
@Griwes Is there a limit on the number of computers you can install Windows 8 on?
 
And installing drivers labelled as "win8" doesn't improve that.
 
So
 
@WTP'--, dunno.
 
8:57 PM
@WTP'-- yes, the limit is 0
 
@Griwes how IS windows 8?
 
user142019
If there is a limit, I’m gonna pirate it.
 
I'm on that 90 days trial now, gonna get full version as soon as my awesome university activates my account on msdn aa
 
user142019
Ah fuck it, I’m gonna pirate it anyway.
 
user142019
Microsoft supports DRM (and censorship, IIRC) so I’m not gonna buy anything from them.
 
8:58 PM
@Serge, not bad, but new and old interfaces are too disconnected for metro to have any sense right now.
 
how about you don't use win8, that'll show em :)
 
@WTP'-- So, C++ is the wild wild west of conventions, and the pirates of everything else?
 
And their security policies are STUPID.
 
user142019
@melak47 But I need to have used it because otherwise I can’t bash it with a reason.
 
But blah, we are bringing idiots to computers, we have to protect PCs better.
Updates time, brb.
 

« first day (741 days earlier)      last day (4212 days later) »