« first day (1634 days earlier)      last day (3541 days later) » 

12:00
@Cinch "Overhead"? I don't think that word means what you think it means.
room topic changed to Lounge<C++>: Fresh topic loungecpp.net/the-law/newbie-hints [c++] [c++11] [c++14] [c++-faq]
Is @MartinJames trying to smuggle drugs diluted in milk?
hi fellow loungers
lp0 on fire (aka Printer on Fire) is a semi-obsolete error message generated on some Unix and Unix-like computer operating systems in response to certain types of printer errors. lp0 is the Unix device handle for the first line printer, but the error can be displayed for any printer attached to a Unix/Linux system. == §History == The "on fire" message probably originated in the late 1950s, when high speed computerized printing was still a somewhat experimental field. The first documented fire-starting printer was a Stromberg-Carlson 5000 xerographic printer, installed around 1959 at the Lawrence...
@Rapptz It's a reference to this ^ btw.
Can I change my stackexchange email address?
yes, setup another account
> is a semi-obsolete error message
12:10
That's not exactly changing the email address
user3010322
@Griwes Laser printers, yo. Them lasers be strong.
'Fire-starting printer' reads like a bad case of separation of concerns.
user1804599
> Turkish blockade of Google+ discovered by accident
user1804599
hahaha
@LucDanton "and modified with an extended fusing oven" Yep, definitely creeping featuritis.
12:12
'accommodated with a boiler'
'integrated with a toaster'
@Columbo lmfao
@Ascelhem I'm sure it's deliberately ironic that I immediately answered it.
You still haven't given any feedback on that.
poor LRiO
3
always talking to himself
'While modern inkjet and laser printers are nowhere near as flammable as their mainframe ancestors' needs a [citation needed], too.
@chmod711telkitty *itself
2
We're not really sure about its gender identity yet
12:15
@R.MartinhoFernandes lol, I don't even know :\
@chmod711telkitty Perhaps you're too stupid to have seen the "@Ascelhem"?
@LightningRacisinObrit Don't bite. She's always throwing slight insults around to giggle when someone acts offended.
@R.MartinhoFernandes Baiting the baiter is funner
@chmod711telkitty Also, you should probably cut back on that.
Я никого обидеть не хотел. Прошу порщения.
12:19
@R.MartinhoFernandes Wait, shouldn't that be a reply to telkitty? I mean, that's about an accurate description of LRiO itself, isn't it?
Usually she keeps them slight so that any action against it seems excessive.
@Ascelhem How is Putin doing?
user1804599
Alright.
Once I saw a homeless person kept on talking to someone called Pit, but there was no one around him. Maybe I was blind, because if he said @Pit in front of every sentence, he must not be talking to himself ...
I just had a dejavu. They are changing the matrix.
12:22
also bedtime coz ... tired :(
@chmod711telkitty Maybe he was talking to you, and you forgot your name
@khajvah I think he's fine. Few days ago I've found on google maps "Putin's Palace". Yep, that's right. It was called Putin's Palace, lol. I think he's really good.
Mar 12 at 13:41, by khajvah
@LightnessRacesinOrbit Is it really you? Are there really hot females in computer world?
user1804599
Putin deserves a palace made out of poop.
user1804599
shift, unshift, push and pop are great.
12:28
15 mins ago, by Lightning Racis in Obrit
You still haven't given any feedback on that.
@райтфолд what?
Stop being sexists towards LRiO!
white knights
This is exactly why we don't have many females in our industry.
@Jefffrey LMAO.
12:30
wtf? now chat is unplonking people!
the reason we don't have many females in our industry is because they're intimidated by LRiO's good looks
7
noobs
@LightningRacisinObrit what do you want? You're a good man, thank you for help!
@AlexM. Or maybe they are just not interested in sitting on a chair 8+ hours a day ploughing through ugly code? :)
user1804599
@BenjaminGruenbaum pop_front, push_front, push_back and pop_back are great.
@wilx I'm tempted to agree with this
12:32
@райтфолд I'm still confused, but to be fair I'm used to that.
@AlexM. Give in to the temptation. :)
I'm sitting on a chair 8+ hours a day trying to use a tool on which the buttons sometimes don't work until a restart for some unknown reason
user1804599
@BenjaminGruenbaum Don't you think they're great?
user1804599
I think they're great.
and of course on one platform MyClass::MyCustomDelete fails
randomly
12:33
@райтфолд I just came here to join the LRiO bashing :(
7
user1804599
@AlexM. I know a guy who thinks I look good!
user3010322
@wilx But what about sitting 8+ hours a day plowing through calendar after calendar and e-mail after e-mail and meeting after meeting?
@ThePhD at least they can talk to people, instead of getting frustrated by a code all day long.
What is LRio?
user1804599
In D you can't convert T into immutable T without a clone.
user1804599
12:34
However, in principle it should be possible if the compiler could prove the value isn't aliased and not used later.
@volerag Who, not what.
I'm sorry, who?
@volerag Wow, and now we are objectifying women.
Oh, I got it. Lightness racist in orbit?
@volerag Dude who likes to hide behind pretty women avatars. :)
user1804599
12:35
@Jefffrey You're a shoe. Boom, objectified.
I hope LRIO is the woman on her pic.
@khajvah He. No, he is not.
@wilx No idea. XD But, yeah, her avatars are damn pretty.
@volerag His.
user1804599
12:36
Mine is prettier.
user1804599
Nice artificial flower.
Feb 18 '14 at 22:14, by R. Martinho Fernandes
benchmarking forward_list<char>
collecting 100 samples, 80 iterations each, in estimated 1952 ╬╝s
bootstrapping with 100000 resamples
PANIC: clock is on fire
  Error in function boost::math::erfc_inv<d>(d, d): Overflow Error
@wilx LRIO is a guy? :O
@Rapptz ^ Hmm, I might be able to repro this at home.
@khajvah She is. You can ask any regular.
12:37
@volerag Yes.
@volerag Every pretty woman on the Internet is a guy. :D
dude it's the Game of Thrones girl
liek srsly
Sexism is raining like there's no tomorrow
> in estimated 1952 ╬╝s
@Jefffrey Have you guys ever met ?
lol
12:38
@Griwes That's very fast
@khajvah There were conferences yes
@Mr.kbok lolno, look better
@Jefffrey lol right sorry :)
@Jefffrey Like lounge conferences or you decided to meet during a random conference?
are tag badges based only on the sum of points for answers?
@Ascelhem Did it solve your problem? Did you have any further questions??
@khajvah lounge conferences
They are called "unconferences"
Of course, but I'm trying to solve them by google.
It has static uniqueness checking
@Jefffrey They're called "getting shitfaced"
@Mr.kbok That sounds extremely fun.
@райтфолд lol
12:43
@Mr.kbok Why?
@LucDanton Someone asked for it.
it was about time
@MarcoA. lol
12:45
Send them your resume "Marco A. bestcandidate"
2
even the company's website rocks: webcleats.com
@Mr.kbok oh god
@LightningRacisinObrit She has a tendency to abruptly change from slight insults to really nasty insinuations.
@Mr.kbok It's surely interesting in a way, but... I kinda prefer my final implementation, lol.
@MarcoA. But the real question is how's their test coverage
12:48
Like that time she tried to say I was in favour of rape.
you're not?
@R.MartinhoFernandes Feminist logic? :D
@Mr.kbok I'm not sure I want to understand how P_ENUMS_VARIADIC_SIZE works.
@wilx Just telkitty.
> P_ENUM
12:49
@AlexM. @wilx jesus christ you two
> P_ENUMS_VARIADIC_EAT_COMMA
@jalf what
ENUM ENUM! EAT THAT COMMA, OR ELSE...
No thanks, I've had enum
@R.MartinhoFernandes Yeah but then she's the one that looks bad ;p
12:50
@jalf What, darling? :)
Oh. I understood how P_ENUMS_VARIADIC_SIZE works. ugh
Apr 2 at 10:02, by Momotapa Limpopo
@LightningRacisinObrit What's wrong about rape culture though? It's one of the most important agro industries.
@Griwes There's a few numbers missing, I should raise the limit
lol
@Griwes Also it's a c++03 header so there's more hacking involved
12:51
@Griwes Look up some of the Boost.Preprocessor implementation if you dare!
@LucDanton I tried... once.
@Griwes enum nom nom
@LightningRacisinObrit That's clearly a pun.
@LucDanton Then I even dared looking at this.
@Griwes Oh that explains things. Better start therapy pal!
@Mr.kbok Well, I think I like my implementation more. It actually has a cool way of doing what it does, instead of using insane PP metaprogramming utilities. :D
#ifdef deubg
auto v = mystdarray.at(i);
#elif
auto v = mystdarray[i];
#endif
// terrible?
// gloss over bad macroing...
@wilx Exactly. XD
@thecoshman auto v = checked(mystdarray, i);
@volerag You need to tear down your prejudice to see the world for what it actually is. :)
12:55
And then define it to either depending on whether debug is defined.
/me so philosophical.
user3010322
@thecoshman Debug iterators already do this check for you.
@wilx Says the guy who clearly has a few prejudices of his own about "feminist logic"... And... about other things
user3010322
Unless that's not a vector.
You should try it some day. Tear down those prejudices. You might be surprised
12:56
@LightningRacisinObrit But seriously, you have awesome avatars. :)
@jalf Oh, but that is not prejudice. That is pure observation.
@Griwes sure, but that's just a pretty face on the same question
user3010322
I know they do in VC++ and g++. I don't know if Clang has debug iterators, but I think they do.
@ThePhD 'my std array'
@wilx Oh yes, sure. Interesting that people always say that exact thing about their prejudices, isn't it?
user3010322
12:57
std::array has debug iterators too I believe.
"It's not prejudice when I say black people are less intelligent! It's pure observation"
@thecoshman Have you considered the debug mode for your Standard library implementation first?
Observer effect
@LucDanton nah, debug mode is for wimps :P
Yeah, it’s all about the deubg mode.
12:59
@jalf Well, I did not say that about black people. And nobody said anything about intelligence. Straw-man denied.
@wilx Uh... People have said that exact thing about black people and intelligence. If you read what I said, I never claimed you had said that
I just pointed out that other prejudiced people have been known to say that exact thing
@thecoshman Sure, but something something layers of abstraction something something.
@wilx Don't get jalf-trapped
He is trolling
13:01
> We believe that "it works on my machine" is not good enough. Many software problems for organizations are deployment-related. We minimize these issues by being sure that we can build and test our software using automated processes from Day One.
Bullshit
@LucDanton oh my, that is nice and readable :)
@Jefffrey I am dancing around! :D
@Jefffrey No, he is not. He is dead serious.
And it’s right on top of the stacktrace in the debugger, so you can check the state of the program up until the bug.
The point being, prejudiced people tend to not see their own prejudices, and so they think it is based on "pure observation". Isn't that surprising?
@wilx He might even, but his point is to get you pissed. Don't fall for that, pls
13:05
@thecoshman Be aware that libstdc++ in debug mode is in a sense a separate library than regular libstdc++. So all of the program, including your dependencies, needs to be compiled under __GLIBCXX_DEBUG.
Don't worry, I'm secretly on your side. I, too, hate a movement whose goal is to ensure that half the worlds population is not treated worse than the other half. I mean, what kind of insane and unreasonable goal is that to have? How can anyone support something like that?
@LucDanton o_0 I use a computer penguin
@Jalf I'm a koala.
What Luc said also includes Boost, which is a PITA.
Even if you could somehow (e.g. peeking at the internals) preserve the signatures of the things in your dependency headers, you wouldn’t be able to pass, say, an std::string (which is really something like std::__debug::string in debug mode) to something that expects an actual std::string.
13:07
@Nooble Cool. Koalas are neat
Looks like we can get along...
wtf's the argument about?
user1804599
Wondering I was.
:| I should perhaps upgrade to using C++14
like all the cool kids
You should downgrade to using C
13:08
I compile most of my stuff with C++1z already. :P
static_assert without additional messages is just too sexy.
@thecoshman Cool kids use C++17 already, grandpa
@Jefffrey vOv to be fair, I've yet to see much from 14 that makes me bother to sort out my gcc version, as trivial as that is to upgrade
but then nor am I looking that hard
I’m addicted to variable templates even though they barely work with GCC.
isn't that an 11 feature?
template<typename T...> like?
You’re thinking of 'variadic'.
13:14
> Send every developer to the conference of their choice each year.
woahwoahwoah
template<typename Number> constexpr auto pi = static_cast<Number>(3);
@LucDanton yeah...
too bad the job's C# and SQL
@LucDanton woah woah woah...
So, guys, I'm pretty new in threads and I have some troubles. Here the code pastebin.com/ZiMG5us5 I want to make my Queue limited. So, when the limit reached, the push function must wait for free space. And I have no idea how to make it wait, lol.
13:15
I like variable templates for traits that evaluate to a boolean, too (like is_same<T, U>). They don't require those ugly {} or () after
_v is the real ugliness
I mean
I'd rather have is_same as a variable template than a class template
@AndyProwl I’m not blaming you, I’m sure that if you had been in charge you would have seen through that madness.
13:17
Also type aliases having the _t suffix
ooooh o_0 variables that have a template derived type? that hurts my head :\
should have been the other way round
@thecoshman A what now?
I don't understand what these things are you are playing with.
Sorry, that was the quick intro to variable template. A better intro is to start with indeed std::is_same<T, U>::value.
That is, notice how we are (meta)computing a bool depending on arguments T and U.
13:19
@LucDanton oh, and these variable templates let you just drop the ::value part...
Righto. std::is_same_v<T, U> (as its spelled in the Standard Library) is the real deal that we care about, whereas std::is_same<T, U> is a class type.
That being said I do think that pi<double>, pi<float>, etc. is a good use-case, too (as it appears in the original paper).
I presume this sort of shit comes in handy when you use things like enable_if<>
@thecoshman I actually prefer an enable_if variant that takes a (class) type rather than a boolean. I’ll show you why.
Wait, I though std::is_same_v was just template <class A, class B> using is_same_v = typename std::is_same<A, B>::value;
@Jefffrey using is for types.
13:24
Right, I see.
@райтфолд what was that boost lib that provided python like generators?
Boost.Range maybe?
user3010322
enable_if with a class enables being able to do things like sweet SFINAE with i-
user3010322
... I forgot, Luc has me plonked. I can't join the conversation.
user3010322
That's a damper.
13:26
should i just repeat all your messages?
c:
@Blob fuck no
@thecoshman compare the errors (nevermind that there is no std::is_integral_v)
user3010322
No.
thecoshman: fuck no
"error: no type named 'type' in 'struct std::enable_if<false, enabled>'" is about as helpful as "error: there was an error".
13:28
so annoying when people try to do clever shit :\ on iOS 8 the screen bounds stuff became orientation dependent and of course we had a bug because some guy decided that instead of doing something that makes sense like if (>=iOS 8 and is in landscape) invert stuff;, it would be great if he came up with this "clever" two line hack min-max-ing between the values
needless to say his hack didn't do what he thought it was doing
I just lost my dreamjob, that's a pity meta.stackexchange.com/questions/252956/…
I had really believed the tag
@LucDanton did you get the helpful and helpless backwards?
@thecoshman Don’t think so.
helpful is the one that produces "error: no type named 'type' in 'struct sensible::enable_if<std::is_integral<double>, enabled>'".
@Stacked I can't select text from the Coliru output :(
@thecoshman No, they are not backwards.
13:32
@LucDanton helpless.
@MartinJames what's more, it's impossible to avoid
@R.MartinhoFernandes copypasta is rip
> main.cpp:17:6: note: template<class Arg, typename std::enable_if<std::is_integral<_Tp>::value, enabled>::type ...<anonymous> > void helpless(Arg)
yes you can
@R.MartinhoFernandes open dev tools, click the "magnifying glass" icon, click the text.
Haha, it's because of the clickety bits.
13:33
@LucDanton Ahhhh, eager vs lazy.
@thecoshman Try commenting one of the calls to get a feel of what error comes with what.
@Griwes Eeh, not really. It’s more about encoding in the type.
That reminds me, I was supposed to do that.
@LucDanton ...by making it kinda lazier ;P
Also I think this allows you to nest enable_if, while the standard eager version doesn't.
Hi there
@Griwes Why would you nest that?
I used to have a testcase for that last thing, but I don't think I have it anywhere.
@R.MartinhoFernandes I can't remember the exact case right now, but I remember that such a case existed.
13:35
@Griwes Consider conditional<Cond, Then, Else>.
You can always just add more enable_if params.
If Then is invalid no amount of tweaking how Cond is passed fixes that.
@LucDanton Sure.
@LucDanton -DDEUBG?
@sehe It was in the specs.
13:37
:D
@LucDanton oh I see
@Griwes Another implementation is template<typename Cond, bool Value = Cond::value> struct enable_if: std::enable_if<Value, enabled> {};. That should make it more obvious.
That is, as soon as you instantiate an enable_if spec you 'pull' everything with it. So there’s at most one level of laziness at the top… which is the same as if you were handling non-type params.
Put another way, is template<bool Cond> struct enable_if: std::enable_if<Cond, enabled> {}; 'lazy' for your purposes?
@R.MartinhoFernandes NO, not DR. If I was, I would be supplying puppy:)
@LucDanton No - the part when you don't write ::value at invocation side is lazy.
Since actual invocation of the enabling metafunction is done lazily.
user1804599
@thecoshman Boost.Coroutine
13:43
@Griwes Oh right. Still though, considering the typename Cond, bool Value = Cond::value variant this laziness is accidental and not necessary for the feature :)
@райтфолд asym?
user1804599
yes
@LucDanton Sure.
yay back in poland
Is there an option to tell Coliru not to cache results? /cc @StackedCrooked
13:47
@BartekBanachewicz you weren't gone lone
Or is it just me derping and Coliru is not caching results?
@LucDanton anaConda
@AndyProwl No.
@AndyProwl Add rubbish to the command line? :P
... && ./a.out # foobar
I think that I could remote in to his server and wipe the caches, but I'd rather not.
13:49
... && ./a.out # foobarbaz
@Griwes I usually add random spaces to the program
@jalf feminist logic == contradiction
also, why would caching really affect you?
that would only change if the installed libraries/tools change, and he has a script to wipe the caches when that happens
Well, if a snippet has non-deterministic behavior, and you run it N times, it would be probably useful not to obtain the same result N times
it's not like it's changing my life
I was just wondering if there's an option
13:52
Is adding a loop to the command an option? I guess if there is too much output it’s not really convenient.
@DonLarynx Because nothing is less logical than "the advocacy of women's rights on the ground of the equality of the sexes."
so, what's the argument about...?
i don't like arguing anymore
It's funny that manly men like you guys seriously believe you're oh so rational. No one gets more butthurt over the radical notion that "maybe other people do not deserve to be treated worse then us" than men. Heck, even if we buy into all teh stereotypes, women are supposedly rational and sane 3 weeks every month. That's about 3 weeks more than you, seemingly
Xeo
Xeo
@AndyProwl I just have a counter in a comment
13:54
nah it's gotta be less than that.
Xeo
Xeo
#1 -> #2 -> ...
3 weeks every month minus shopping time.
3
@jalf jalf, that is one big ass blog you got der
@jalf hey, point that brush some where else
@DonLarynx Don't worry, I don't think you were. You were just putting other people down to stoke your own fragile man ego
13:54
@Xeo Oh yeah that's clever
@thecoshman Don't worry, you know I love you :p
ITT everybody falls for jalf trolling except puppy
@jalf ouch :(
@Jefffrey lol
@jalf you did send me that 'liquorice'...
ITT @jeff thinks @jalf isn't serious
@thecoshman Didn't you promise to send it back?!
13:55
@Jefffrey lol
I want my liquorice!
ITT trolls
gives jalf a jolly rancher
popcorn! get your popcorn here!
13:56
hahaha
@DonLarynx I don't want them, I want proper salty liquorice! :p
@jalf Did I? I stumbled over it after thinking I was rid of it for a few months, and in horror threw it at the bin... then binned it along with the tainted container.
the lols were had in the library.
@thecoshman Pf, it's too good for you! :D
Xeo
Xeo
Liquorice is a universally understood symbol. It's just that not everyone has the same understanding of it.
13:57
@jalf if being 'good' involves chewing cat piss, I'll stay bad
@Xeo Ammonia is quite misunderstood.
Xeo
Xeo
for some it's a sign of love, for others it's an insult to @Puppy's mom
what was that about my mother
you fucktard
liquorice!
alright
on Puppy's To Do list, there are way too many items.
13:59
@Puppy she tastes like cat piss apparently vOv
let's do some of the easy ones quickly and make the list look shorter.

« first day (1634 days earlier)      last day (3541 days later) »