« first day (1143 days earlier)      last day (4031 days later) » 

16:00
War does not need to be this huge thing.
Xeo
Xeo
Read from there
Any treatment based on a label is what I have in mind.
well
you've gotta be more fine-grained.
user3010322
@Xeo I don't see what that accomplishes?
@R.MartinhoFernandes what trouble? it was fine, I just didn't have a const overload of stringify :E
Xeo
Xeo
16:00
@ThePhD list-init forces left-to-right evaluation order
You call it as invoker<R>{f, magic<Ts>(/*something*/)...}
My point is, thinking less of Java programmers is like thinking less of a race.
you need to discriminate (har har) between "Unpleasant but unavoidable", like subconscious reactions and such, and "You really should have been able to do better here".
user3010322
..... Thats.... just
user3010322
<_>
Even if you do nothing differently to them based on it, it is a dangerous thing.
user3010322
16:01
C++, I hate you.
Xeo
Xeo
Unfortunately
eh, I disagree.
user1804599
You just suck at it.
here's a simple fact
Xeo
Xeo
16:01
GCC doesn't like that
@ThePhD what's going on
Java programmers choose to program Java.
they believe it's great or whatever.
Xeo
Xeo
So you need recursion to define the order :<
user3010322
@melak47 q_q C++ is being mean to me.
16:01
if you choose to program Java, it is a reflection on you.
@ThePhD how so?
possibly not a very accurate one, or useful, or possibly not indicative of anything.
user3010322
@melak47 It's so mean, I end up having typos. :c
Why use it as one, then?
@melak47 Yet you were getting ambiguous overload nonsense. (instead of "missing")
16:02
@R.MartinhoFernandes What kind of cake are we talking about here?
well, there's obviously no scientific studies on whether or not Java programmers are morons or have a normal statistical distribution of intelligence (not that we have great ways to measure that).
@EtiennedeMartel Tasty.
Xeo
Xeo
@ThePhD: For GCC (and possibly MSVC, haven't tested) you need something like this: coliru.stacked-crooked.com/a/7a1854f5c5633c7a
@DeadMG Write one. (As in, write it; forget the part where you collect data and shit—journalists might pick up on it anyway)
@R.MartinhoFernandes yeah because the lambda is both const and nonconst for some reason. whatevs :p
16:03
and I choose to believe that if you like to program Java, it reflects that you're not as smart on average.
but it's not like there's scientific proof either way.
@BartekBanachewicz I could join in random "x GPU is better than y GPU", but I know nothing about them, so I will pass.
@R.MartinhoFernandes Tasty cake? Now that's redundant.
user3010322
@Xeo q______q THAT'S SO MUCH WORK
Xeo
Xeo
uhm
user3010322
Can't I just use a std::tie and a tuple? :c
16:04
a race, on the other hand.
@DeadMG knowing that people do the same to you?
Xeo
Xeo
@ThePhD Try it
@Pawnguy7 Of course. People judge other people based on visible aspects of their personality. That's not news, and it's never going to change.
user3010322
Oh wait it still evaluates it in derp order.
@DeadMG Can't disagree with cake.
user3010322
16:04
Maaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaan.
Xeo
Xeo
Mmm, cake.
@R.MartinhoFernandes Tell that to my intestines.
Xeo
Xeo
@ThePhD Really, it's already done in that link
oh my god another eleven weeks ....
Xeo
Xeo
Just copy/paste.
16:05
I feel your thoughts are inconsistent, as I am reading them.
I should probably get some things done, though.
@EtiennedeMartel It's not redundant because it will be gone when I'm done with it.
hey
hey hey
Xeo
Xeo
Although I'd really like to generalize it a bit more to allow passing of the producer function instead of hardcoding it into the eval_ltr function
user3010322
@Rapptz Can I make another header for all this type traiting and other nonsense we're doing?
@R.MartinhoFernandes Good point.
user3010322
16:05
@Xeo Producer function? What do you mean?
sure
Also. Have you started baking stuff regularly now?
Xeo
Xeo
get_value<Head>() in my case
You can't have your cake and eat it (too) is a popular English idiomatic proverb or figure of speech. Many people misunderstand the meanings of "have" and "eat" as used here but still understand the proverb in its entirety and intent and use it in this form. Some people feel this form of the proverb is incorrect and illogical and instead prefer "you can't eat your cake and have it (too)", which is in fact closer to the original form of the proverb (see further explanations below) but very rare today. Other rare variants use "keep" instead of "have". The proverb literally means "you cannot ...
@EtiennedeMartel Yes. Every weekend. Started this one.
:P
@R.MartinhoFernandes Smooth.
16:06
@ThePhD what in the hell are you trying to do :E
I am a strict consumer of baked goods. Never a producer.
Xeo
Xeo
Really, the invoker is so much nicer on the eyes
Baking seems easier than cooking.
user3010322
@melak47 Slay the mightiest of Moon Giants.
Xeo
Xeo
16:06
But has the problem of an unnecessary move and not working on GCC
I used to bake cakes.
my family said they were good.
but these days I can't eat cake anyway and also I don't see why anyone would bake the cake instead of just eating the mixture.
what
the mixture is as tasty, if not tastier, than the final product.
and it's way less cleaning up and stuff to skip the whole "cake tin" thing.
Xeo
Xeo
Now I want some cake.
That's only true for monomorphic cakes.
user1804599
16:10
I work for a company that sells cakes.
Ah, got it. I meant "homogeneous".
> Icing on the cake mixture
the cake is a lie.
it's just a drug store
@ThePhD no, really
Maintaining the icing/cake ratio is essential in order to properly enjoy a cake.
> "a popular English idiomatic proverb or figure of speech"
O come on. Make up your minds, wikipede
I orderly appropriate cakes
16:13
There. Cake's gone.
> The server is free for up to 9 users but does not include any examples
That's oddly specific, Hansoft.
To mess with you.
user1804599
A cake firework, also known as a multiple tube device is a firework comprising a series of roman candles, small aerial shells, or a combination of both, connected together by a high-speed fuse. Typically, the internal fusing is set to fire each tube in series, or to fire several tubes at the same time, or a combination of these. Typically a cake will resemble from the outside a simple cube or other rectangular covered shape; after firing, a large number of cardboard tubes (the candles) will be visible in the top of the firework (the paper cover having been blown off by the discharging s...
I know, but why. What did I do to sehe to deserve this?
@Jefffrey You asked!
(It's Precrime)
16:15
no
@Jefffrey The robot uncovered my motives
1 min ago, by Jefffrey
@sehe Why do you do often put two lines on the same message? :(
Proof.
@rightfold those are fun if they tip over :E
@R.MartinhoFernandes I'm afraid that's invalid, Sherlock :>
16:16
The reference link points to nothing
It's undeniable proof that you asked.
You are trying to frame me
You made that proof up
Fuck!
user3010322
@Xeo Wait, what's the point of get_value in the example?
user3010322
16:18
It's just returning nonsense.
Xeo
Xeo
?
Oh
Xeo
Xeo
It's just to show that the order is indeed correct
Protip: debugging make is not the same as debugging what it produces.
user3010322
Oh. So it can be removed?
Xeo
Xeo
16:19
It's your pop
user3010322
... What. @__@
Xeo
Xeo
Aka replace it with pop
user3010322
Now I'm lost. :c
user3010322
... Oooh.
Xeo
Xeo
well what do you think were the arguments for the final call come from?
16:20
@Jefffrey Oh, you didn't know?
6 mins ago, by Jefffrey
this
is
test
Is there a reason you are using structs in C++? — Brian 42 secs ago
ugh
user3010322
Lulz.
@sehe no :/
Please, don't uncover other messages. I'll do anything, just don't.
Whatever the "titanium edition" is.
@Jefffrey I won't anymore, I promise. Because in the future you'll post them directly into the Sandbox
16:21
@EtiennedeMartel Stronger implements
@EtiennedeMartel Seems less silly than Train Simulator.
@R.MartinhoFernandes Train Simulator, bitch
user3010322
@Xeo Not sure. In either case, I'm not sure I can... genericize? It.
@LightnessRacesinOrbit Keyori, eh.
Xeo
Xeo
16 mins ago, by Xeo
Although I'd really like to generalize it a bit more to allow passing of the producer function instead of hardcoding it into the eval_ltr function
16:22
@sehe yes, sir :<
Xeo
Xeo
Kinda hard, though
armchair.WaitFor(setAsideCheckFromEU,INFINITE);
user3010322
Well, it's a bit hard to make it generic
@EtiennedeMartel Good memory!
user3010322
In this case, you're calling a static function, but... how do you call the template on a non-static function? Or a producer function?
user3010322
16:23
Do you use a generic lambda [] ( auto x ) { return x; } ? Or a generic lambda, that also does some wrapping?
@MartinJames that's actually, literally "aftrek-schaak" in Dutch (which could be translated as "subtraction-check", or, if you have a dirtier mind: "jack-off check"
user3010322
E.g. [] ( auto x ) { return fx_i_want_to_call_templated( x ); } ?
@LightnessRacesinOrbit Not that much. I've seen that "Train Simulator bitch" video a while ago. Then, some time ago when browsing for funny League of Legends videos I stumbled on his channel and became a fan. Then I realized it was the same guy.
user3010322
But how do I get that in there? x_X
Xeo
Xeo
@ThePhD You need to pass something that can accept a template argument
is the real problem
16:25
@sehe Heh - farmers all round Europe. I should have wrapped it in a while(true) loop.
Xeo
Xeo
You'd best do to just copy eval_ltr and replace` get_value<Head>()` with pop<Head>(lua_state) (where lua_state is another parameter)
user3010322
struct passer { template <typename T> static operator() ( types<T> ) { my_call<T>(); }
@Rapptz I think you share my annoyances with git submodules. Do you do anything to mitigate them?
@Brian Oh ahaha. "A struct simply feels like an open pile of bits with very little in the way of encapsulation or functionality. A class feels like a living and responsible member of society with intelligent services, a strong encapsulation barrier, and a well defined interface". Well excuse me if, during programming, I favor rational arguments and good coding style. Not good keyword ---discipline--- dogma — sehe 8 secs ago
user3010322
16:27
@Xeo It still uses get_value
user3010322
I will defeat get_value !!!
Xeo
Xeo
s/get_value<Head>/pop<Head>(state)/g
user3010322
Not generic enough. D:<
Xeo
Xeo
Not really doable without involving annoying wrappers
user3010322
True... but...
user3010322
16:28
.... q_q
Xeo
Xeo
I really wish GCC just worked for list-init :/
@R.MartinhoFernandes there's git subtrees
but they make everything else annoying
JBL
JBL
@sehe Lol. "C++ is class oriented". The hammer and the nails...
Don't you have a link about that argument on the fact that you should change invariants anyway?
16:29
@Jefffrey Oooh, yeah. Thanks.
lol, nevermind
@JBL The jackhammer and the faces...
I'm surprised it didn't collect a single downvote so far.
@R.MartinhoFernandes look how attractive the alternative is :|
It makes a pretty strong and well exposed argument. No need for downvotes :P
Xeo
Xeo
16:31
hm... @R.MartinhoFernandes, thinking about it, I think I can remove the value() && function from my invoker.
If it requires non-local changes, I'm not interested anyway.
No shit Brian is a Java programmer.
I'd rather make some hooks or whatchamacallit.
well subtrees make it easy for the user to fetch your stuff
JBL
JBL
@R.MartinhoFernandes: I agree a thin class with just getter/setters is bad, but many classes have getter/setters and do other work. — Brian 1 min ago
16:32
What is the best Git equivalent to SVN externals?
Yeah, but this is for work, and we already have submodules.
@JBL lol, that's even worse.
JBL
JBL
The guy realizes there are some bad code out there ? What a shock !
@Rapptz Somehow I think git submodules have been improved (somewhat), seeing how boost modularized has been set-up. No need for --recursive on clone, JustWorked(TM); I think I saw something else I didn't quite recognize, but I (a) don't remember what it was (b) might have been too early looking around (cloning took a long time)
I'm trying to convince my colleagues to switch to Git, and that's one of the issues we're facing, as we're quite reliant on SVN externals.
JBL
JBL
@R.MartinhoFernandes "But hey, others do it ! So I can always point at their bad code to excuse mine !"
16:33
@EtiennedeMartel SVN externals are great. Can't see us dropping SVN, primarily because of those.
Actually, primarily because we have no reason to, and all our tools are SVN-integrated, but...
If there's nothing but the dumb getter/setter pairs, it's a disguised dumb data holder.
Submodules
If there's dumb getter/setter pairs plus something else... It's a class that probably has an invariant struggling to come out but that exposes guts for the world. Quite worse.
0
A: Simple class usage+undefined reference

RaxvanThere is a ; semi-column that should not be there. Reader::Reader(int month)//; remove semi-column from this line !!! { SetDate(month); }

I don't get these people.
@LightnessRacesinOrbit it's not C++ in my answer.
It's C#-ish pseudo-code IIRC
16:35
@R.MartinhoFernandes Cheating ;p
JBL
JBL
@R.MartinhoFernandes The last bit made me think of the Puppy, but I'm probably a retard...
Oh, wait, it C++-ish.
@JBL woof woof fuckface
@sehe how'd you manage that?
@LightnessRacesinOrbit I like the ironic use of excess interpunction in your comment
JBL
JBL
16:36
@DeadMG Sorry :( I beg your pardon.
I just looked at the repo and everything is a submodule
you should be.
user3010322
@Rapptz I think I'm going to add a variadic pop function.
how dare you suggest the robot reminds you of me
16:36
@Rapptz that's my point
user3010322
E.g. pop_variadic, so I don't have to keep duplicating the function in places
JBL
JBL
No, what he said.
I'd rather be associated with Telkitty.
@R.MartinhoFernandes Considering I'm leaning more and more towards immutable data structures these days, I always cringe when I see setters.
;;;---------------:::::---====))
JBL
JBL
16:36
"Exposing his guts to the world".
or <insert random fucking questiondumper>
@DeadMG I'm sure that's mutual
@sehe yeah but, just a regular git clone worked?
Xeo
Xeo
@ThePhD That's exactly what eval_ltr is
user3010322
@Xeo Yes, but I'm going to need a push variant too.
16:37
@LightnessRacesinOrbit dongML:<stdin>:1:12 Syntax error
user3010322
If I keep this up, I'll be having stack::detail::eval_ltr all over the place.
These days most of my setters are part of a viewmodel class and raise PropertyChanged events.
@Rapptz Yup. Very slowly
JBL
JBL
@LightnessRacesinOrbit Punctuation dumper !
Xeo
Xeo
@ThePhD Erm, what's your pop_variadic supposed to do differently?
s/eval_ltr/pop_variadic/
JBL
JBL
16:38
Well, off to home, bye !
@JBL Later.
user3010322
@Xeo It's just the exact same thing, but pruned to work with the interface and not hidden in a detail namespace. :c
user3010322
That's all.
Xeo
Xeo
Okay
Ooookay, the Hansoft SDK is actually made of dog shit and bits of broken dreams.
user3010322
16:40
Hansoft?
Some project management crap made in Sweden.
user1804599
> The agile tool for developing next generation software products
user3010322
<3
(Our Finnish guy thought that Hansoft being a Swedish product was pretty funny)
@EtiennedeMartel Even without that, lone getters are perfectly fine. They're basically for limiting to internal writes.
16:42
@LightnessRacesinOrbit: It's actually called a "semicolon"; it's not hyphenated. — Jerry Coffin 5 mins ago
@R.MartinhoFernandes In C# I usually get away with read only properties if I have to make it visible to the outside. Otherwise it's everyone's favorite private readonly field.
6 mins ago, by sehe
@LightnessRacesinOrbit I like the ironic use of excess interpunction in your comment
@JerryCoffin ^
@sehe I see no evidence that this is irony rather than simple ignorance.
Based on his history, the latter seems much more likely.
user3010322
@Xeo This will be evaluated in order, right...?
user3010322
template<typename T, std::size_t... I>
inline void push( lua_State* L, sol::detail::indices<I...>, const T& tuplen ) {
	using swallow = char [];
	void( swallow{ ( push( L, std::get<I>( tuplen ) ), '\0' )... } );
}
user3010322
16:45
Because each push separate in the swallow list, and it goes in order, right?
@ThePhD yes, it should be.
tuplen?
user3010322
tuplen.
Default parameters are dangerous for certain refactorings.
16:54
All things are equally unimportant
(without awesome tools, I mean)
Anything in C++ is dangerous for refactorings
> You must sign in to read past the first answer.
Quora reminds me of Expert Sexchange.
user3010322
:D

« first day (1143 days earlier)      last day (4031 days later) »