« first day (909 days earlier)      last day (4265 days later) » 

12:00
@R.MartinhoFernandes :s
I think the most important one is STL (containers and algorithms)
@LucDanton I wanted to not strlen it. But it isn't subsequenceable.
Not unless I allow before to return a different type, and I am not comfortable with the ramifications.
Subsequences with types different from their "parents" is annoying as heck. boost::sub_range, I am looking at you.
user142019
> Standards are paper. I use paper to wipe my butt every day. That's how much that paper is worth.
user142019
lool
Does he mean it is essential for having a nice life?
12:04
Linus?
user142019
@EvgenyPanasyuk Who else. :P
@R.MartinhoFernandes I was wincing at the thought of the attempt altogether. I wouldn't dream of that being a sequence.
@Zoidberg he is so fucking retarded
user142019
Okay.
@EvgenyPanasyuk it is, if the begginer would use auto_ptr in his code
@EvgenyPanasyuk C++11 also has changes to them
@Zoidberg wait, you think Torvalds is sane?
user142019
12:15
He's awesome.
@Zoidberg since when saying idiocies publicly is awesome?
Wee.
4 hours ago, by Bartek Banachewicz
@ThePhD You have less meaning in your posts than a box of cereal lately.
I dunno, Lucky Charms has a lot of meaning in every marshmallow.
And don't forget the cinnamony swirls of Cinnamon Toast Crunch.
12:18
I betcha you learned about unions from your cereal
@BartekBanachewicz, unqiue_ptr is not cornerstone for studying C++
Undefiney-o's: the only way to segfault your day! Part of an unbalanced breakfast.
@EvgenyPanasyuk what? What is, then?
Angle brackets.
12:19
y u no help me instead
Uh... Something something Captain Crunch? What did I missed?
Welcome to UB land!
4	0x4012f0	0x5c3b031b01	./cmd.sh: line 1: 14565 Segmentation fault      (core dumped) ./a.out
It delivered.
I'm glad I missed that.
@StackedCrooked hell yeah
12:21
I learned a lot from this experiment.
Well, just two things.
note:   template argument deduction/substitution failed:
But still, it's cool :D
@Luc do you get a lot of these "Sorry it failed, here is why: AHAHAHA SUCKER NOT GONNA TELL YA"?
Ctrl + F for that message, and you should get your DEBUG info.
78% reliable.
Xeo
Xeo
@StackedCrooked Virtual inheritence and all that shit will fuck you over. :)
12:23
Ah, yes.
@R.MartinhoFernandes They come and go, but they're infrequent. I wish I had an idea what kind of failure bring them up (I suspect SFINAE). Also this conversation gives me deja-vu.
That requires an extra pointer to base.
What GCC are you using?
Lemme check...
const GLushort compValues [] = { std::numeric_limits<GLushort>::max() / 2, std::numeric_limits<GLushort>::max() / 2, 0 };
12:24
4.7. Lemme 4.8.
hope my coworkers won't kill me for that
Ya they may be infrequent thanks to upgrading the compiler.
(I've had one this week though.)
Nope, doesn't help.
I have solved a bunch of these before, but I never discerned a pattern.
Are you doing something that involves SFINAE on late-return decltype?
12:27
Only correlation I have, sorry :(
Wait, is your error SFINAE-related in any way?
Maybe the ones you get are nothing like mine :s
@LucDanton Maybe.
It's something like template <typename T, no enable if> result_of::f<T> f(T&&).
I don't expect any SF there, but apparently there is one.
btw, do you define your functions in terms of result_of or vice-versa?
Depends. Something the purpose of result_of::whatever is convenience to the implementer, convenience to the caller (when it is expected that expressing the return type of the feature will be a frequent use case), or both.
When the former is involved then I write the result type first. Fuck no it depends.
why are you discussing difficult things again :/
Yeah, I have been mostly gut-feeling my way through it; I wondered if you had an established practice.
If it's just convenience for the caller then the result type is written in terms of the function, as that's really the easiest.
12:32
@BartekBanachewicz They are not difficult. It just happens that there's a lot of implicit context.
Also, that should really be result_of::f<T&&>.
Ell
Ell
Hi guys
hi @Ell. How's it going?
@R.MartinhoFernandes I'd hope that results in the same for mine -- in my head result_of::foo<T...> is a stand-in for decltype( foo(std::declval<T>()...) ). No idea if I'm disciplined on that matter though :(
Ell
Ell
Its going okay. Waiting for the ol hot tub to fill up
@LucDanton If result_of is defined in terms of the function, it works. Otherwise it may require care.
12:37
@Ell we made progress! :)
Ell
Ell
Awesome :D with mini craft? Or lundi?
It SFINAEs so hard that the error message is removed from the message list of candidates.
3
@Ell Lundi. Minicraft has no "we" :( Anyway, Lundi is going to be tested by CATCH and integrated by Travis
@LucDanton that's so nerdy
Oh yeah, sometimes I also get this crap:
cc1plus: error: unrecognized command line option "-Wno-mismatched-tags" [-Werror]
Xeo
Xeo
lol
12:40
Only happens if there were other previous errors.
Xeo
Xeo
That sounds really messed up
Ell
Ell
Who is Travis?
@Xeo I am genuinely afraid to imagine how the code could be structured for such to happen.
@R.MartinhoFernandes Fuck, that does ring a bell. But I don't use that switch (you do right?).
Ell
Ell
And what is integration :P but awesome!
12:41
@Ell it's an automated build system linked to GH :)
@LucDanton Yes.
@Ell Google for "Continuous Integration"
One day I need to get a small repro for it and file a bug.
Yup, moved the flag to Clang builds only.
Ell
Ell
Oh :) I will now
12:42
Hmmm, I could try clang, but that means writing a compilation command line by hand, since it currently breaks.
I remember a time when I committed some code. Probably yesterday.
@Won't It's on Skeptics, they are probably busy looking for research to challenge his claims... — Yannis Apr 19 '12 at 22:33
haha
@LightnessRacesinOrbit Bring it.
@BartekBanachewicz BRING IT
12:48
@R.MartinhoFernandes You're not very nice.
HEUREKA!
Oooo... A code fight.
Actually scratch that.
To try clang I would have to add a lot of workarounds.
@R.MartinhoFernandes I know that feel.
@tom_mai78101 there's no code
12:51
Feb 21 at 13:36, by R. Martinho Fernandes
A friend told me yesterday that I don't get mad at people often enough.
@R.MartinhoFernandes True true.
@BartekBanachewicz You serious? Aww...
@tom_mai78101 we can't code
@R.MartinhoFernandes Maybe you should start getting mad.
user142019
Code is bad.
12:52
@BartekBanachewicz Then I don't know what to say. Keep fighting, I guess?
Get mad at your friend for telling you you don't get mad at people often enough.
Xeo
Xeo
@R.MartinhoFernandes "a lot"?
@LucDanton It always backfires though.
@LucDanton Oh, she says enough crap to make me mad enough times.
But that never lasts more than a few seconds, anyway.
Short tempered?
12:53
ITT: Robot is friendzoned.
@Xeo Pretty much every change single overload set that with EnableIf<>...
@tom_mai78101 Me? No.
@BartekBanachewicz What?
Xeo
Xeo
@R.MartinhoFernandes Welp, could've just used WHEELS_SFINAE_END macro. :D
@R.MartinhoFernandes jk
Xeo
Xeo
But, can't you just pattern-match search-and-replace? :P
lookofareusrs.chm
windows help file
I thought he meant PDF.
Xeo
Xeo
"compiled help manual", IIRC
12:55
WTF?
@Xeo HTML-
Xeo
Xeo
Or that
fuck it :P
@Xeo NOOO THE PRETTIES
All codes are never pretty.
Xeo
Xeo
Or WHEELS_SFINAE(conditions...)
how can I revert all files that aren't explicitely added to commit?
Xeo
Xeo
12:56
Your fault for not thinking ahead! Or rather, thinking too far ahead!
user142019
@BartekBanachewicz do you mean new, uncommitted changes?
Xeo
Xeo
@BartekBanachewicz where, how, when?
The code you see all brings us imagination and schizophrenic feelings.
@Xeo Imagine I have a.cpp, b.cpp and c.cpp. I modified all three, but only want to commit changes from a.cpp
user142019
12:57
@BartekBanachewicz git add a.cpp && git commit
git add "a.cpp"?
So, I've git add a.cpp
Xeo
Xeo
commit and update?
@Zoidberg I have to pull --rebase first
12:58
@R.MartinhoFernandes my copy is behind
so, I have to pull the new code first
So commit and then pull?
but I can't pull with unstaged changes
@BartekBanachewicz Are you using SVN?
@R.MartinhoFernandes no
FFS
@BartekBanachewicz Then "I have to pull the new code first" is bullshit.
user142019
12:59
Commit and pull.
user142019
Git can do that.
Move a.cpp, b.cpp and c.cpp to Desktop. Revert local changes. Move a.cpp back in. Commit. Then b.cpp and c.cpp back in.
Just commit and carry on.
Xeo
Xeo
@tom_mai78101 he wants to revert b.cpp and c.cpp

« first day (909 days earlier)      last day (4265 days later) »