« first day (766 days earlier)      last day (4411 days later) » 

16:00
@Cicada Windows provides an internal mechanism for that. It's not the same as owner drawing.
wtf is owner drawing?
@R.MartinhoFernandes Good luck teaching Monads to freshmen :)
Although the thought of crossing Karel with Monads came to mind, I have to admit :)
> cv-qualifier-listopt class-type * const this
Doesn't that mean this is a const pointer?
16:04
@LewsTherin this is an rvalue of scalar type. Those are never const.
@FredOverflow I don't need to teach the monads.
I'm guessing rvalue isn't like int *ptr?
Isn't const int* ptr a scalar rvalue?
You have probably been brainwashed into think that "rvalue" means "right side of assignment" or something. That's bullshit.
from subject in {...}
from predicate in {...}
from object in {...}
...
@FredOverflow Oh right.. I see
Or I think so.
16:07
5.1.1 §3 says:
> the expression this is a prvalue of type “pointer to cv-qualifier-seq X”
@FredOverflow See, no monads mentioned :P All you need is the bind operation of the list monad. You don't have to explain that it is a monad.
Well, that's nice syntax and all, but it's not C++ :)
If only you could do that quickly in standard C++...
@FredOverflow There are libraries that provide similar syntax.
@R.MartinhoFernandes But then we'd have nothing more to dream about, right? ;)
(Have you seen Ix++?)
16:08
Is that a better version of lx? (I have no idea what lx is.)
Wouldn't `boost::phoenix allow this too?
@FredOverflow It's the dual of Rx++, sometimes called Linq.
Rx++ is the C++ port of the Reactive Extensions for .NET (recently open-sourced, yay).
In what sense of "dual"?
@FredOverflow The mathematical sense.
Ix++ has a pull interface, Rx++ has a push interface.
I see. I saw a video about that with a very enthusiastic Erik Meijer.
16:11
Ix++ is all about the list monad, Rx++ is all about some comonad I don't know the name. The library calls the things Observable.
@FredOverflow Yeah, he's the brain behind it.
@R.MartinhoFernandes It's pretty much your basic Observer Pattern, isn't it?
@FredOverflow Not pretty much, because it's all about composability (in C# you can use it with ye old Linq syntax).
@R.MartinhoFernandes How are the poor Chinese going to distinguish between R++ and l++? :)
You rarely need to write classes with Rx.
16:14
Fuck yeah, it works! I am awesome.
What works?
Counting characters...
+1 for historical WTF — FredOverflow 1 min ago
@R.MartinhoFernandes That doesn't sound like a hard problem.
@FredOverflow Unless you're doing robot stuff...
@FredOverflow It is if you are doing it on a document that can have all kinds of complex content, including references among each other (like master pages that other pages inherit content from) and nesting at various levels, and images thrown in, and text that refers to other text (like footnotes) and all kinds of crap.
16:17
What are you doing it for?
My code finally gives correct results on the most complex document I have available to test.
@FredOverflow Work.
Oh, are you at work right now?
I don't have a single failing test now!
What are the hours, anyway? 9 to 5?
@FredOverflow Yes
@FredOverflow Today, it will 11 to 19, I guess.
I have flexible hours.
I don't like 9 to 5 because that means waking up soon ;)
16:18
I didn't go to work today because I had to "Überstunden abbummeln". You know, when you work too much.
What's abbummeln?
and Uberstunden?
@DeadMG Overtime.
the second word doesn't translate...Google Translate comes up with Overtime abbummeln
then I'd guess that abbummeln is "Recover" or "Recuperate" or some such thing
not far off
I have way too much overtime :(
abbummeln
sounds like a fun word
@R.MartinhoFernandes Who doesn't have flexible hours? Every single place I worked at had those.
16:21
Oh it is, you can chat all day long and stuff :)
hehe
isn't that what most of us do no matter what?
@EtiennedeMartel I do
@EtiennedeMartel No idea. I haven't worked in many places.
@TonyTheLion I rarely chat at work.
@kbok You do or you do not? That's a confusing answer.
16:22
@FredOverflow you're an exception to the rule then.
@kbok Do or don't ?
@kbok If you don't have flexible hours, well, it's to be expected, since you're in France, Land of Inefficient Measures Still Applied for Historical Reasons.
3
Trolling [SUCCESS]
@EtiennedeMartel le this, here, have a star.
16:24
I get stars for bashing France? Well, well.
@EtiennedeMartel It's even better; we do have flexible hours in our contract but we're expected to be here during the "official" working hours.
@kbok same here
well, we have to be here during a certain time period in the day
man
I wish I had properties :(
any hours before and after that are flexible
@DeadMG you're a puppy, that's a property afaik
@kbok The "official" working hours are less than the total hours you are expected to work, right?
Otherwise it's just flexible overtime.
16:25
@R.MartinhoFernandes of course not
flexi overtime then
lol, French -> Fail
That's unpaid overtime.
I expect most organizations to have "core hours" during which they can do stuff like scheduling meetings and such.
@TonyTheLion Why do you think their country is going gown the drain?
16:26
@EtiennedeMartel 11 to 16 here.
@R.MartinhoFernandes Same here.
> BTW: I do know that to program I need to put my code under '#pragma endregion' Thanks.
I know some people who schedule meetings at 7pm and keep people in until 11pm.
At my first internship I think core hours were 10AM - 4PM
@DeadMG No comment.
@kbok No comment.
16:27
@EtiennedeMartel the problem is that you assume that I think. You have failed in that assumption. :P
@TonyTheLion Not a mistake that I would make :P
I thought pragma regions were deprecated ? There's // <region> or something instead, isn't it ?
I know some people who stays here until 4am and comes back at 9am in the morning.
yes
they are not human
16:30
And there's one guy who does his 35 hours weekly, not half an hour more. But maybe I shouldn't brag about it :)
@kbok I used to work with a guy (he was French... hmm) who stayed up all night at work. I left in the evening, he was there. I came back in the morning, he was still there, and I knew, deep down, that he spent the whole fucking time there.
I really don't mind working long days if the job is cool. But acualy is not
@EtiennedeMartel People who do that tend to be unproductive all the time.
^ This
You'll get a bit more done the first day or two because you've stayed longer, but after that fatigue kicks in and you get less and less productive
mostly from introducing bugs everywhere
I know how his code looks, and this is not the kind that you put on your public repo because you're proud of it.
who said anything about staying longer?
probably just sleeps 11am->10pm
been there done that myself
16:33
@kbok Knowing the guy, he wasn't unproductive.
@DeadMG You don't work.
Actually, I think he's more productive at night.
I think programming tasks should be hard all the time. If something is easy enough that you can do it while sleep-deprived, you're doing it wrong.
no, but I mean, in general.
@kbok sleep-deprived. Deprivated is not a word.
@R.MartinhoFernandes Doesn't he have an internship at Oracle now or something?
16:33
@DeadMG Assuming @EtiennedeMartel was doing his 8 hour work day. He said the guy was there before he got in, and after he left. Therefore he was staying longer than 8 hours a day --> overtime
(That was not meant as a personal jab; just in case)
Thanks.
@kbok Then you should do everything in C :)
@R.MartinhoFernandes Obviously I completely took it personally, you heartless bastard. Now I'mma go cuddle my dog to death. TO DEATH. Then you will never, ever see any more cute puppy pictures. How do ya feel about that?
@FredOverflow I'd rather restart a career in carpentry honestly
16:36
@Borgleader He was just the kind of guy to do unpaid overtime without whining.
Carpenters are cool. They do stuff. Unlike, say, telemarketeers.
@DeadMG :(
One of the running gags in the office was that should that guy get stabbed by someone, then he would apologize to that person for dirtying his knife.
Though there are more puppies in the world.
@R.MartinhoFernandes telemarketeers gonna telemarket
@EtiennedeMartel The employer's gold mine :)
@EtiennedeMartel I don't mind doing a bit of overtime everyday if the job is cool. It's not much but I think I did 1h overtime everyday last summer at my internship. I'm still unsure if the lunch hour is paid or not. I assumed it wasn't and did 8-5 every day.
16:39
@kbok Too bad he left a few months ago. He's part of my side game project though.
When the job is cool you aren't even counting the hours. At some time of the day I used to feel tired and see that it was time to go. Sometimes it was long past that time. Not an issue :)
@Borgleader I generally do 10-7.
@DeadMG OMG the stickers ! remove them
wtf is it with you people and stickers
16:40
@EtiennedeMartel No train past 6:30 so I had to start early.
Also no train past 8:20 in the morning :(
Stickers are so ugly nobody sees the puppy in the pic
@kbok I never remove those
@kbok I still have mine on my laptop ... there's 3 of them!!!
@DeadMG They're ugly.
16:45
Why did you post the same picure again?
You mean picture ? It's not the same.
@kbok Yes, it is! I see no actual difference.
@R.MartinhoFernandes It's a recurring joke on the web, i believe it's the facebomb meme
@R.MartinhoFernandes You're weird
@Borgleader The original one has stickers all over (it has, right?). The one he posted has stickers all over the first frames, but zooming in each time. It ends with stickers all over.
16:49
Right
Still the whole zooming thing is the facebomb meme :P
(or am i doing this right meme)
fuckshitballs
want to buy unordered_set<unique_ptr<T>>.
The picture is huge. I thought imgur would resize it.
@R.MartinhoFernandes I wish that unordered_set<unique_ptr<T>> worked correctly.
@DeadMG working according to spec.
16:51
@MooingDuck I know. The spec is broken.
@Borgleader Badass motherfuckers.
@DeadMG Oh, you mean allowing partial lookups?
yep
I'm out of fucks to give for today
I never really got the face bomb meme
16:53
is that different to the photobomb meme?
really, someone ought to write a meme-chronicle
unordered_map<T*, unique_ptr<T>, fun_object_type_that_calls_get> Would be nice.
Don't know
and I can't even use an iterator because the invalidation semantics are too weak.
fuck
@R.MartinhoFernandes std::hash already calls std::hash<T*>(get()) for unique_ptr<T>.
I don't see how that is relevant. You still need a comparator.
@R.MartinhoFernandes == will work just fine.
yep
std::unordered_map<T*, std::unique_ptr<T>> works out the box
it's just hideously ugly
especially when T == std::function.
16:56
Wait, what?
std::unordered_map<std::function<void()>*, std::unique_ptr<std::function<void()>>>
Why a unique_ptr<function<...>>?
"If you have version x.0.0.5, we recommend the following fixes:"
"If you have version x.0.0.6, we recommend the following fixes:"
well, function<> doesn't support ==, and not hash either IIRC, so I sure can't have unordered_set<function<...>>.
16:58
@Neil WebSphere? Oh, FFS.
It repeats the same thing over and over...
Oh, I suppose it doesn't mention fixes in previous versions.. I think that's obvious
Anyway the ugliness is irrelevant (yeah, I know you don't have template aliases; suck it up).
:P
template aliases would not do anything to solve this specific ugly ^^
I've previous boost installation from ubuntu repo which is 1.42 and its installed in /usr/lib Now I downloaded 1.52 and ./b2 install installed it in /usr/local/lib. now cmake is detecting 1.52 only and using include Path from /usr/local/include (which is 1.52) and using library directory /usr/lib (which is 1.42) and giving undefined reference error.
but at least I can finally have a decent make_unique.
But anyway, the third parameter in my hypothetical thing above is not actually a comparator, it's the selector for the keys.

« first day (766 days earlier)      last day (4411 days later) »