« first day (1141 days earlier)      last day (3810 days later) » 

12:01 AM
@Rapptz I'd have to agree--that's pretty impressive.
 
Xeo
 
user3010322
@Xeo Heh
 
What... is that?
 
Xeo
Cards Against Humanity
 
12:11 AM
I don't know what that means :\
 
user3010322
> // I sincerely do not think one should have more than 3 parameters into a function without naming them with a table.
// I am just providing 8 because I'm nice.
 
user3010322
Heh.
 
Xeo
Ahaha, they're even playing with the amazon.co.uk description
> - Adapted from the American edition to suit your outmoded culture
- 0% of proceeds will go to Children in Need
Why is this not available in Germany again?
 
they make nazi jokes
I don't know if that's allowed
but it's one thing that sticks out of my mind
 
Xeo
Right. They even stopped publishing Hellsing Ultimate because of the Nazi antagonist.
 
user3010322
12:16 AM
Wait
 
user3010322
They have an official stance not to allow NaZi badmouthing or negative imagery?
 
Xeo
No
 
iirc yeah something about you can't talk about Nazis in art or something.
 
Xeo
They have a stance against Nazis in general
 
user3010322
Oh.
 
Xeo
12:17 AM
It's not just about glorifying or badmouthing them.
 
user3010322
So fear of looking at their own past and shit, even in art.
 
user3010322
WELL, it's okay. Whatever helps Germany healz.
 
user3010322
Or w/e
 
shrug
 
Xeo
Right. Reading.
Also, thinking about getting Spelunky for 3.49€
 
12:19 AM
I have a feeling for us that's $3.49 because Steam pricing was weird last I checked.
 
Its 3.74$ for me
 
user3010322
Oh!
 
user3010322
@Xeo Do you still have lift/chain on hand somewhere?
 
Day 2 of steam sales and I still havent bought anything, I'm proud of myself :P
 
user3010322
There's a steam sale?
 
12:22 AM
Yes...
 
user3010322
Ah.
 
the Autumn sale
don't fall for it man
 
lol yeah the Autumn sale, a mount before xmas sale
 
user3010322
@Rapptz Clever.
 
lol... dat pun
 
12:23 AM
:( pun not intended
 
user3010322
You can only have Member Function pointers alright?
 
user3010322
Not just Member Function types?
 
@Rapptz I decided turn over a leaf and not buy anything this time
 
user3010322
E.g., both are valid:
 
user3010322
	using func_type = R( )( Args... );
	using func_pointer_type = R( *)( Args... );
 
12:24 AM
You can have function types?
 
user3010322
But for member function pointers, you can only have:
 
user3010322
	using func_pointer_type = R( T::* )( Args... );
 
user3010322
@Rapptz Don't worry, it blew Robot's mind too.
 
Xeo
May 14 at 11:24, by Xeo
So, function composition through named operators and through member functions /cc @ThePhD
 
@ThePhD That makes no sense lol
 
Xeo
12:25 AM
@ThePhD Without the empty parens
 
TIL I guess.
 
Xeo
@Rapptz R(Args...) is a function type
(i.e. std::is_function<R(Args...)>::value == true)
 
well yeah
 
user3010322
I can't find the question where Robot admitted his mind was blown is a comment.
 
user3010322
It was one where sbi answered.
 
12:26 AM
but you can't invoke it like that can you?
 
user3010322
With the not-function-pointer syntax.
 
Xeo
@Rapptz It's just a type
 
I should start trading steam cards to get more badges =/
 
user3010322
@Xeo WAIT
 
user3010322
Is that the one that can't handle void functions? :c
 
Xeo
12:28 AM
hm, yeah.
Didn't bother.
 
user3010322
I think I made a version that could do voids
 
user3010322
Let me go ffind it...
 
Xeo
It's not hard.
 
user3010322
Yeah, you just need a specialization on the last part
 
user3010322
But I don't want to rewrite
 
user3010322
12:30 AM
so much WOORK
 
@ThePhD What?
 
user3010322
@R.MartinhoFernandes It was a question that sbi gave an answer to. I stumbled upon it a while ago, relating to function pointers.
 
user3010322
I'm trying to find it. :c
 
user3010322
I'm also trying to find my void variant of lift/chain, but searching ThePhD that's also not me is weird, since the accounts are different...
 
Xeo
Hm, I could swear I rewrote the composition stuff to properly deal with void. Oh well.
 
user3010322
12:35 AM
I remember you berating me for it being useless. :P
 
Xeo
If C++ had a proper unit type, you could do lift(returns_unit).then([](unit){ g(); }) :(
 
user3010322
Yeah. :c
 
user3010322
I actually got 2 stars for that.
 
user3010322
May 16 at 17:18, by ThePhD
struct Void {};
#define void Void
 
12:38 AM
Latest version of the app submitted for review, PR article organized. All set & now off for cherry picking & car camping!
 
user3010322
@Rapptz :O you found ti before me? :c
 
user3010322
How did you find it? I was in the right area I guess...
 
You were off by a day.
but void functions aren't proper function composition
so the <compose> named operator doesn't make sense imo if it works with void functions
 
user3010322
Yeah, that's what @Xeo said last time.
 
user3010322
Technically, compositions are supposed to depend on the result of their predecessors, mathematically speaking.
 
Xeo
12:42 AM
>>= and >> are nice.
 
user3010322
But, in the case of something like C++ with shared, mutable state, a void function can manipulate something that later gets used in another function, so excluding void is a bit silly.
 
Xeo
Yeah
Guess you could also add a then_ version that explicitly ignores the first function's result.
 
user3010322
then__
 
Xeo
although that notation might just be a bit weird in C++
 
user3010322
then____
 
user3010322
12:44 AM
And it exteeeends~
 
user3010322
Sigh.
 
user3010322
There's a burning, in my soul.
 
user3010322
Over fucking tuple_cat.
 
user3010322
And it won't go away until I figure it out. =[
 
Xeo
Write a function that appends one tuple onto another.
Just 2
 
user3010322
12:52 AM
Just 2?
 
Xeo
Concatenate just two tuples
 
user3010322
I would if coliru was loading. @___@
 
user3010322
Maybe it's bit hte dust again. I'll try to do this in MSVC, since I do have to give it to STL.
 
user3010322
12:54 AM
OKay
 
user3010322
I got relaxing music. Coliru is working. Let's do this...
 
How do the babies taste tonight?
 
Did anyone try w3.miun.se/piano/… for relaxation?
 
I watched office space a while back.
 
user3010322
template<typename T>
	struct unqualified {
		typedef typename std::remove_cv< typename std::remove_reference<T>::type>::type type;
	};
 
user3010322
1:03 AM
^ that's the right way, right?
 
user3010322
Or should I be using std::decay instead of std::remove_reference?
 
dat lack of using
 
user3010322
Hey,written in VS 2012. :c
 
you know VS2013 has it right?
it's time to move on
 
user3010322
WRITTEN
 
user3010322
1:04 AM
YYeeears ago.
 
user3010322
Soooooo there. D:<
 
std::decay?
 
user3010322
It rots the quality of your code.
 
user3010322
Until nothing is left but a hollow shell.
 
decays arrays to pointers and functions to function pointers along with removing cv and ref qualifiers
 
1:09 AM
There is a case where you want a pointer instead of an array that isn't implicit?
 
user3010322
@Xeo Execution keeps expiring, but here: coliru.stacked-crooked.com/a/f83fe3b59a5153fa
 
user3010322
Whhyy
 
user3010322
Does the execution keep expiring
 
user3010322
What am I doing wrong. @__@
 
you really don't know where to put typename, it's weird
 
Xeo
1:15 AM
MSVC is too lenient
 
user3010322
Oh. :c
 
user3010322
MSVC is not too lenient.
 
user3010322
It's not lame and doesn't force you to break your back when there's really no goddamn reason to. D:<
 
Xeo
it breaks programs.
 
user3010322
Well, for some reason, execution is always expiring on coliru. Maybe Coliru is ded right now.
 
1:16 AM
how'd this compile btw?
if it did.. I'm not sure
 
Xeo
@Rapptz Not
 
user3010322
It's not compiling. I'm getting no errors because Coliru keeps expiring execution.
 
Xeo
@ThePhD Yeah, something's fucking Coliru up /cc @StackedCrooked
I can sometimes get it to compile
Your code has a bunch of errors and oversights, but the basic idea is correct
 
How are you at rating things?
 
rating what
 
1:19 AM
Pain, for example.
Or, say, how a person did at something in several categories.
I seem to be bad at it for whatever reason.
 
Xeo
Fixed up and on Ideone
(Ignore the warnings)
 
@Pawnguy7 probably how it interacts with ADLs.
with 0 being no pain and 10 being you can't do your ADLs.
 
Xeo
@ThePhD Now, try to expand that to a variadic function template
 
user3010322
@Xeo So now I have to beef it up with variadics?
 
Xeo
Yes. If you need a hint, ping me. Back to reading.
 
1:24 AM
@Rapptz I'm so starring that out of context in the Lounge<*C++*>
 
yaaaaaaaaaaay
my new PC!
 
@R.MartinhoFernandes lol
activities of daily life!
 
room topic changed to Lounge<C++>: Can you do your ADLs? [c++] [c++11] [c++1y] [no-answers] [no-questions]
 
Hi.
 
hi
 
user3010322
1:28 AM
Hiiiiiii.
 
user3010322
I really like that name
 
user3010322
"Tuplen"
 
user3010322
Ugh, I hate working on ideone @__@
 
user3010322
 
user3010322
/cc @R.MartinhoFernandes (Look robot, I'm learning!)
 
user3010322
1:42 AM
Now I need to get OCD about the lines.
 
> Some may not like the use of C++ templates, but their use here fits in well.
lol
 
Xeo
@ThePhD Did you try with more than two tuples?
 
user3010322
Uh.
 
user3010322
Not quite yet. >.>
 
Xeo
Ping for hint.
 
user3010322
1:48 AM
:c
 
lol
 
user3010322
@Xeo Is tuple_cat meant to also work with 0 parameters?
 
user3010322
E.g. just return std::tuple<>; ?
 
Xeo
probably
easy to solve with overloading, though
 
static_assert(sizeof...(Tuples) > 1, "hey now");
:D
 
1:54 AM
@Xeo There's nothing to solve, though.
The elegant solution just works.
 
Xeo
@R.MartinhoFernandes ?
Sure
But his solution fails
 
user3010322
=[
 
Xeo
(it also fails for more than two tuples, but that's for another reason)
 

« first day (1141 days earlier)      last day (3810 days later) »