« first day (918 days earlier)      last day (4256 days later) » 

23:00
When will you stop stumbling along and actually read the docs for once?
@kbok What's that for?
@R.MartinhoFernandes I know, that's why I looked at promise instead.
@R.MartinhoFernandes I am reading the docs. D:
@CatPlusPlus Take a free function/function object/lambda and produces a std::function<>, fully deduced from the argument.
Right now I'm looking at packaged_task.
23:01
ie auto my_function = make_function([](){ /* xyz */ });
You may then use the produced std::function to inspect the argument and return types
@R.MartinhoFernandes Why so sad?
@kbok Impossible. Period. Change your requirements.
Which seems like it's... there to do what I want it to do? But in order to run a packaged task, I have to std::move it into a std::thread or something.
user142019
VICTORY IS MINE
user142019
23:02
Fuck you, R!
@R.MartinhoFernandes What do you mean impossible, that's what it does
@kbok I mean that it is not possible.
I have a vector of boost::threads, how do I go about initializing it to call the custom constructor? threads(nbOfThreads, boost::thread(ThreadFunc(*this))) complains about no copy constructor =/
@R.MartinhoFernandes Ya know, I've long stopped caring.
@R.MartinhoFernandes AFAIK it's not possible for templated and overloaded function objects.
23:04
@Borgleader You can't do that, I don't think.
And surrogates.
You don't think?
why not? You can do std::vector<int> v(256, 33); :(
Also you should ban 'templated' from your C++ vocabulary.
23:05
@Borgleader int is copyable.
boost::thread is not.
@Borgleader That's copy-construction for each of the 256 values.
boost::thread is not copyable.
^ What @DeadMG said. :D
@R.MartinhoFernandes Do you mean the linked program does not do what it looks like it does?
Yes, you should manufacture more original boost::threads, don't be a copy cat.
What you need to do is make a vector and then emplace_back each of your boost::threads.
you will have to push_back each element individually.
23:05
... damnit
also
you will need move semantics for this to have a chance of working
@kbok Right. That's why I said you need to change your requirements.
It's a cool toy, though.
@R.MartinhoFernandes Fair enough. make_function produces a std::function from a free function, a lambda, or a function object, as long as operator() is neither template nor overloaded, without requiring the user to provide template arguments.
@DeadMG emplace_back seemed to work
23:09
It's a bad idea for other reasons though. std::function generally burdens designs.
@Borgleader That's move semantics.
Before, I really disliked underscores as part of a naming convention, but make_function does seem prettier than makeFunction. Probably because the stdlib has a hard on for underscores and my brain appreciates consistency.
It's great for the one problem (or two) they're designed to solve but the trap is to think that it's convenient to have them around beyond that problem.
camelCase is an abomination, IMO
camel_case or CamelCase is beter
23:10
@DeadMG thenDontEverReadMyCode
I don't intend to
@DeadMG I don't mind it when data constructors are not the same as type constructors but yeah.
> Please enable Javascript, or try a different web
@LucDanton It will be used with a piece of code that inspects the function type, so it's quite necessary.
@R.MartinhoFernandes try a different web? :p
Ell
Ell
23:11
PascalCase iirc
@kbok This 'argument' would make sense if std::function were the only way to inspect a function type.
Take a wild guess at how sensible that assumption is...
@kbok std::function is a container of callable objects of known signature.
Also why do you need to inspect the function type
I'm not sure if not using std::function will make anything simpler, but I'll consider it
@CatPlusPlus Well, you need to know whether the function is over 18 before you use it.
23:13
man, that reminds me
@kbok Having a sensible implementation that provides some of the C++14 improvements goes a long way to avoid some pains, but there are things inherent with it.
have you guys seen the Fleshlight? most disturbing NSFW stuff ever.
Keeping too much std::function around is as 'convenient' as keeping too much boost::any around.
@DeadMG Is that the toy that keeps popping up as an ad on disreputable websites?
Which improvements?
23:14
yep
@R.MartinhoFernandes Ironically(?) I have written some code that inspects lambdas recently. Oh well.
I actually saw someone in a random chatroom recommend it, so I figured I'd look at their website
@kbok Contrained construction/assignment is a big one.
it's amazing they're in business
It may be the only one, but I feel like I'm forgetting something else.
23:15
so tacky and generally awful
@LucDanton I don't want to talk to you anymore.
D:
I also unary plus those lambdas.
@LucDanton Fixed in C++14.
Actually, if you can invent something really, really perverse -- you'll be a rich man. Although, for most it begins to matter where they get their money from.
@DeadMG Follow the trail.
23:15
@DeadMG What the fuck reminded you of that? o_O.
@DeadMG Given that it has "flesh" in the name, is it safe for me to assume it's somehow porn related?
@DomagojPandža You're a rich man. What did you invent? :P
@JerryCoffin Yep, it's a male masturbation aid that is basically a cylinder with a vagina photoshopped on the end.
@Borgleader Telkitty Repellent. :D
Ell
Ell
23:16
robots.ox.ac.uk/~gsibley/GLConsole <-- this seems very handy, anyone used it before?
anyway, I just brought it up because they had the crappiest presentation ever
CVars?
@DomagojPandža Sounds like a scam, since it doesn't work.
@kbok Arent those from the Quake family of engines?
@Borgleader Yes.
Ell
Ell
23:17
Why is a flesh light weird but artificial phallus not? O.o
Double standards
Also the implementation of cvars in Quake is awful
@Ell Say peanus.
@Ell It's not about that, it's about the terrible presentation.
"There is always more than one of everything, including standards" - Fringe Me
@CatPlusPlus I'm guessing half-baked quasi-dynamic typing?
23:18
if you see an advert for dildos, they look like they're actually intended to sell dildos, instead of creeping out anybody watching.
is it me or cvars is basically a map of variants
@LucDanton Yeah something like that
@kbok That would be fully-baked, or close to!
@kbok Download their source code and find out!
23:19
@R.MartinhoFernandes He has a point.
You know what I'd have?
Ell
Ell
I wanted to say dildo but that word just looks so dern retarded
Dunce
@ThePhD A dildo?
Sometimes half-baked is better:
unordered_map<std::string, void*> dildos;
@DeadMG ^ Best of both worlds. <3
user142019
@kbok eww.
@ThePhD shouldn't it be dildoes, like torpedoes? :p
@ThePhD You lost me there...
@melak47 Fuck if I know :P
@Zoidberg What
23:20
Buttes
Any idea for a scheme to put 'magical' specializations in? E.g. so that the user doesn't have to pay the cost of including <vector> unless he needs it. instances/vector.hpp? >.>
@Borgleader It's my quasi-dynamic type system.
I would store pointers to unknown types. <3
And do runtime casting. <333
That's not a type system
That's just blind erasure
@LucDanton You'd need a #define to tell you if vector was included, but those aren't Standard.
you could do a forward declaration, I guess?
@CatPlusPlus In the darkness of the void*, we see the truth. <3
23:22
@DeadMG Sorry, I meant a scheme to put the header in a sensible place. The one that includes whatever is necessary to make the specialization work.
user142019
@kbok chocolate.
@Rapptz ?
@Zoidberg You don't like chocolate?
user142019
Blewrg no.
23:22
@DeadMG I'm sorry I asked.
user142019
Way too sweet.
user142019
Gimme something salty.
@Zoidberg Depends on the chocolate make.
@DeadMG what if they advertised it like this? NSFW
@LucDanton I did that for ICU support in ogonek with a special define.
23:23
ew
If OGONEK_ICU is defined, stuff gets in.
@melak47 Certainly puts new meaning on the term "blowjob".
@Zoidberg even dark chocolate?
Jesus, that thing is terrible.
user142019
@Borgleader Way too bitter.
Ell
Ell
23:24
I love dark chocolate
@DomagojPandža You should see what it looks like out of the tube. Seriously, it looks like the wrong end of an octopus or something.
I'm a Milk Chocolate person.
There is a happy medium, I'd guess for you that would be around 60-70% coco
user142019
@melak47 lol spinning fleshlight
Creamy~
Ah, so creamy~
23:25
The chocolate or the fleshlight?
o.0
A creamy... .. .fleshlight/
Ell
Ell
The wrong end of am octopus omygawd that's hilarious xD
How does that even work?
Cream color I guess?
Honestly, with the effort required to find that thing, buy it and have it delivered, you could just go to the local bar, get drunk and hook up with someone. But someone interested in that thing probably lives in his mother's basement and is 34 years old.
23:26
@DomagojPandža but can they spin like a helicopter?
@melak47 if you get a gymnast then yes
or like ballet dancers and uh those figure ice skating chicks
how much longer until GoT ._.
@melak47 Usually, you can get them to do all sorts of weird shit.
@DomagojPandža It's expensive too. Wanted to charge like, fifty euros.
For 50 euros, you can get a real vagina for the night and still have for a beer tomorrow. Or you could go on Steam, buy a game on sale and actually enjoy yourself.
Ell
Ell
23:32
And you get a lucky dip STI for free
yeah, but real vagina isn't re-usable at that price
re-reading that, I'm not sure it's supposed to be an upside
Well, it is if you know how to lock the door. #Local law enforcement notice -- this is a joke.
Ell
Ell
XD
@DeadMG Could be, depending on how desperate the woman is.
true
23:34
@JerryCoffin Or how hot DeadMG is.
37 degrees celcius
But seriously, just link her your SO profile and she's -- like -- yours.
@DomagojPandža That too -- or at least how much she likes red heads.
Ell
Ell
s/desperate/conscious
s/conscious/alive
Jerry uses his SO profile all the time to get girls.
23:35
I'd settle with using it to get a job
@Ell A dead vagina is certainly less re-usable than a Fleshlight
Ell
Ell
Then you can buy all the flesh lights in the world!
@deadmg what if you formaldehyde it first?
I'm pretty sure that mummified flesh is not fuckable
and formaldehyde on my dick? no thanks
Ell
Ell
Maybe that's what some people are into
Gawd that's just too awful I think
I should really implement a projective-type spot light with a stencil of a vagina and call it Fleshlight.
I'd rather buy a fleshlight
interview at the Googles on Thursday
23:39
Nervous?
yeah
@JerryCoffin As much as I like to pretend otherwise, my hair is really not especially red anymore.
I've been thinking about dying it back
I wonder how they respond to Lounge-level pedantry on C++ and actual software design. And what are their stances on thing like unions and stuff. I guess it's really important not to get into discussions with them -- at least on the date of the interview.
heh
"Go to the interview, but don't discuss anything with the interviewer".
may as well ask him if I can borrow his fleshlight
Well, you have Google Mail, Google Search, Google Glasses, Google Browser, Google mobile OS -- why not a proprietary Google Vagina currently undergoing inhouse testing?
Ell
Ell
I thought it was good to ask a the interviewer a question?
23:44
Well, depends, there are cunts that don't like people that correct them or know more.
Ell
Ell
@domagoj or worse, an open source vagina available for everyone's use. Do what you want with it!
@DomagojPandža When a Man and Google love each other very much, an ad is born!
user142019
@DomagojPandža I suppose they are researching Google Vagina in Google XXX Lab.
user142019
lol
@DeadMG Hmm...reminds me of when I was in the Air Force. A kid was convinced that some girl would love him if he just had blond hair (was naturally coal black). Got some hair bleach, and tried to bleach it blond, but came out bright red (and looking burnt to a crisp as well).
23:46
yeah
@JerryCoffin Nah, my hair started out a kind of fiery golden colour. Now it's a much duller brown. I dislike this change.
I'd probably try to be as precise and pedantic as I can and observe how annoyed or pleased they are by my pedantry.
also, open-source vagina, lol
share and share alike your vagina
Dude, check out my forked vagina. That is so wrong.
musn't impinge on the rights of your users
@DeadMG Naturally occurring changes in hair color are rarely for the better. Nobody's mistaking me for "distinguished" no matter how grey I get.
23:49
Robot's open source vagina would be so generic that by the time you finished configuring it, you'd lose your will to use it.
7
@JerryCoffin Yeah, I'd really like my previous colour back.
@DomagojPandža More like, fuck another woman, have a daughter, and spend 18 years growing your ideal woman.
Ahahahah
I'm so glad I don't have to subject to any interview-related background checks. It would be really hard to explain templated open source vaginas.
what, template<std::size_t cocksize_in_cm>?
Hmm, it would be hilarious if Tony stumbled in here right now.
frankly
23:54
Nope, not going to happen. He's got work in the morning.
I'm amazed that our repetitive use of the word "vagina" has not lured him already
user142019
@DeadMG Lol std::size_t.
is subclassing stl or boost containers a "bad idea"?
user142019
Everybody knows cock size is measured in Duracel batteries.
user142019
@user_123abc yes.
23:54
what, your cocksize_in_cm isn't too big for an unsigned integer?
user142019
They are not designed for inheritance.
@user_123abc Horrendously bad.
@Zoidberg Well, some dicks are 64-bit, baby.
user142019
They are byte-sized.
23:55
now I had this image of one of the girls from the Fleshlight adverts munching on my dick
basically, i would like to have a class that is an stl vector plus a few extra member functions
Do they really have to be members?
not necessarily
user142019
Prefer free functions over member functions.
There you go then.
23:57
hmm
user142019
C++ ain't C#. No need to put everything in classes.
@Zoidberg don't remind me :(
user142019
@melak47 fixed.
:D
now I can not think about you-know-what til tuesday
user142019
Java?
23:59
Man, chat looks uglyvad sin on mobile.
@EtiennedeMartel pardon?
The Java™ SE™ Platform™, delivered by the Java™ Team™?

« first day (918 days earlier)      last day (4256 days later) »