« first day (1449 days earlier)      last day (3503 days later) » 

8:04 AM
Effective Modern C++ is bestseller #1 in IT on amazon.de, and it hasn't even been published yet :)
 
@FredOverflow I would buy it if I didn't live as a homeless with just a bag travelling through cities. Is there a pdf available?
 
Marco, why you live as a homeless?
 
long story, switching jobs here and there throughout all Germany
that's a hassle
 
@MarcoA. It will be available as an ebook, I assume.
 
@MarcoA. Understand.
 
8:08 AM
> When it comes out, it will be the first book I've written that was designed to render well on both paper and digital devices.
> If you consume it digitally, it should look as good (and be as useful) regardless of whether you prefer portrait or landscape, color or monochome, and large or small fonts. The only formatting assumption I make is that I can fit 64 monospaced characters on a line, so some code examples could get a bit whacked out on small cell phones, but other than that, my goal is that EMC++ should look good and convey useful information no matter how you read it.
so yeah, definitely ebook
 
How to paste a code in this chat properly?
I am speaking about a small code. The big one I can send via paste.ubuntu.com
 
> For posting longer snippets indent all lines of a multi-line message with four spaces. There's also a "fixed font" button appearing when your message has more than one line.
 
I think this aptly explains the medical fate of ~50% of loungers ^^
@FredOverflow mmm. I'd add: "don't post your code" to that :/
 
@QueueOverflow You should also be aware that asking a question on SO proper will give you much better answers and faster, too.
 
8:16 AM
@FredOverflow I have had the EAP version in pdf for a while now
 
@FredOverflow I will remember it.
 
How hard is it to indent all lines with four spaces? Just fire up your favorite text editor, prepare the code, and then copy/paste here.
 
8:29 AM
room topic changed to Lounge<C++>: All butans have been rebutted [c++] [c++11] [c++14] [c++-faq]
 
I liked the Wohnzimmer better.
 
Germans :) I missed the recognizable tab heading in my browser
 
Let's topic be a Gostinaya <C++> :D
 
@QueueOverflow Your nick is really funny.
 
@FredOverflow Thanks :)
 
8:30 AM
It's also very original
0
A: 'Tag' template parameter in boost::pool_allocator and boost::fast_pool_allocator?

seheI suppose the Tag template argument was transparently "forwarded" to the underlying pool. The tag type still exists, but isn't part of the public interface. E.g. here: const pointer ret = static_cast<pointer>( singleton_pool<pool_allocator_tag, sizeof(T), UserAllocator, Mutex, NextSi...

TL;DR ^ Modifies local Boost libraries. Updates to Boost 1.56. Cries "OMG they removed feature X". <slow-clap/>

Sandbox

Where you can play with regular chat features (except flagging...
 
@FredOverflow I'm not familiar with a partial ordering defined for true and false.
 
@QueueOverflow ^ go there
 
@sehe Thanks!
 
I'm not sure what I did... but I somehow managed to get my online banking to show me all my transactions at once, rather than just the silly 'only twelve months at a time' nonsense they try to limit you to
 
> Any BA has a natural partial order ≤ defined upon it by saying that x ≤ y if and only if x + y = y
Well, I'll be...
 
8:42 AM
now I've been able to easily dump that data into a spread sheet and see how it looks :)
any way, too the bank! to talk about taking on epic debts :P
 
scary, huh?
 
@rightfold Tying the knot is easier than I remembered it to be:
data Node = Node { prev :: Node, next :: Node }
b = Node a c where a = Node c b; c = Node b a
@thecoshman What do you need the money for?
 
@FredOverflow mortgage... or are you offering some? :P
and look at me, knowing how to spell that word :D
 
Are you building a house?
 
looking to buy apartment of niceness
any way, got to go
 
8:47 AM
good luck
 
 
1 hour later…
9:52 AM
wow, the Lounge is empty, how weird is that?! ;0
 
user1804599
@FredOverflow In Scala it's also easy!
 
morning
 
user1804599
Zenzizenzizenzic is an obsolete form of mathematical notation representing the eighth power of a number (that is, the zenzizenzizenzic of a number x is the power x8), dating from a time when powers were written out in words rather than as superscript numbers. This term was suggested by Robert Recorde, a 16th-century Welsh writer of popular mathematics textbooks, in his 1557 work The Whetstone of Witte (although his spelling was zenzizenzizenzike); he wrote that it "doeth represent the square of squares squaredly". At the time Recorde proposed this notation, there was no easy way of denoting the...
 
user1804599
dat word
 
:0
 
10:09 AM
well that wasn't all bad.
fairly simple stuff, I can haz money, mo money, mo payments per month
 
I need to reverse an irreversible function :v
 
@FredOverflow Uhm, find me a mathematical reference that defines such an operation. Hint: you most likely won't find one, because it's always the programming language that defines the operation.
 
Not exactly what you asked for, but this type of thinking is sometimes present in maths:

> The natural interpretation of \vdash is as ≤ in the partial order of the Boolean algebra defined by x ≤ y just when x∨y = y.

(http://en.wikipedia.org/wiki/Boolean_algebra)
I can't use quotation markdown properly :S
 
10:28 AM
Fucking hell... i give the simplest answer possible - a one liner - and he says he accepted the ten-liner because of simplicity.
 
@Loopunroller shorter doesn't imply simpler
 
@BartoszKP It is a lot simpler here. Just look at both codes, you'll see.
 
@Loopunroller I've just looked at them, and yours doesn't look simpler. In fact you even needed a complicated comment to explain the code that's in it.
 
@Loopunroller the code is simpler, the concept isn't
@Loopunroller I find your code better, of course, but it's not simpler to understand
 
@nightcracker Well, that's a point.
 
10:36 AM
@Loopunroller Anyway, I've just learned about the digital root, so have an upvote :V
9gag.com/gag/ag0XVov get killing, and touch the cow :E
 
woah... north and south talking? Might the Koreas soon stop being bat shit insane?
 
@BartoszKP Cheers!
 
@thecoshman unless they only want to boost their PR rating
 
@BartoszKP oh sure, they could backtrack at any moment, but it's still a good thing they are talking, no? Getting over this strange belief that by acknowledging 'the lesser people' they are showing themselves to be less absolute.
 
@thecoshman well yeah, better this than nothing, or firing rockets at each other
 
10:48 AM
so even if it is just to look good in the short term, they can't do that without being good (or at least less bad).
 
@thecoshman doesn't kosher salt look a bit stupid when applied to pork?? :E
 
user1804599
wtf
 
user1804599
can I not move a vector of unique ptrs?
 
@BartoszKP it does indeed :P
 
Texas-like accent is fun, I just run it in the background just to listen to it : D
 
user1804599
10:56 AM
Oh, cannot create it with an initialiser list.
 
user1804599
Ugh.
 
11:09 AM
@Loopunroller Depends on the thinking level of the audience. Sadly. You have my sympathy (worth 10 rep)
@rightfold initializer lists resist move semantics.
 
@sehe Thank you, sir! Such benevolence...
 
"recent studies showed that humans are using only 15% of C++ features... it is also estimated that dolphins are capable of using 20% of C++"
 
:0
 
awesome
 
Last one is the best. Seaman, lol
Actually, no, the pussy one is better
But the pun with the seaman is valuable.
 
11:13 AM
@sehe inappropriateness++
 
@sehe lol
 
user1804599
@sehe brazzers
 
I'm debating RVO with someone - can anyone come up with a case in which RVO cannot be done?
Not as in something that doesn't get RVOd - as in something that can't.
 
Xeo
easy - different types :P
or subobjects
 
@BenjaminGruenbaum there is one example at the bottom of this wiki article
 
Xeo
RVO is pretty limited
 
Ell
does it work with rvalues?
I thought it could only optimize it into an lvalue
 
11:54 AM
@BartoszKP yeah, I saw that - but technically a "smart compiler" can make it work.
 
@BenjaminGruenbaum but the condition could be a lot more elaborate than this one
 
Yeah, I guess if you perform different actions on them that cause side effects that's probably right. Otherwise you can even avoid the allocation.
 
Xeo
12:06 PM
wait, nvm
 
user1804599
12:22 PM
Yay, I can use LLVM from Rust!
 
where do you guys put the ellipsis when dealing with declarations of parameter packs?
 
@nightcracker T... because it's part of type
just like T* and T&
 
@Abyx you could argue that it's not part of the type as well
 
@nightcracker welp basically if you can write f(T...) instead of f(T... t) then it's "part of type"
 
but you can also write f(T ...)?
that argument is pointless
 
12:30 PM
Why are all decent looking keyboards wireless? I do not want to have to deal with the batteries. :-(
 
@VáclavZeman what price range are you looking at? I'd suggest a mechanical keyboard which are almost always wired
 
I like this one.Microsoft Wireless Comfort Desktop 5000 CZ: czc.cz/microsoft-wireless-comfort-desktop-5000-cz/66753/produkt
 
@VáclavZeman does it have to be an ergonomic design?
 
Except that it is wireless.
Yes.
 
@nightcracker The point was, that everything that is not a name is considered as a part of the type. However I also get your view.
 
12:32 PM
I don't know good ergonomic mechanical keyboards
I'm sure they exist
@BartoszKP what if ... is part of the name? And that ... is just the unnamed variable?
Remember that if you write ...a then a in of itself is not anything legal
 
@nightcracker it can't be part of the name, because you can't refer to it with "...", later in the code, but just with the, well, its name
 
@BartoszKP ?! you must always expand the pack when you refer to it? you can't leave it unexpanded, no?
 
@nightcracker oh, I see
 
it's hard to see it as part of the type since the name makes no sense if not used with ...
 
well, maybe it's not a part of the type, but that doesn't imply that it's part of the name
 
12:37 PM
fair enough
my example was just a counterexample to the "it's part of the type" thing
 
yeah, I agree
however names somehow relate to things a programmer chooses arbitrarily, and you can't change the "..." - not your choice
 
I love how the guy commented "[...], +1" but neither accepted my answer nor gave me an upvote.
 
@Loopunroller you shouldn't be answering bad questions anyway ;0
 
@BartoszKP There aren't any good ones and i'm bored
 
@Loopunroller that's irrelevant
 
12:51 PM
@BartoszKP Not to me.
I'm addicted to rep a little bit
Enough to make me answer mediocre shit
 
@Loopunroller the you is irrelevant here, you are a part of the community, so either you accept the commonly accepted rules, or don't participate
 
@BartoszKP Lol. I can answer whatever i want.
There shouldn't be a rule as "neglect shit questions."
 
@Loopunroller sure you can, physically. you can even downvote good answers&questions and post shitty posts/comments if you want
 
@BartoszKP So why exactly shouldn't i answer bad questions?
 
12:56 PM
@Loopunroller I admit that I was too hasty suggesting that this policy is official, however please read the relevant discussion on meta, in particular this answer
@LightnessRacesinOrbit lol
@Loopunroller there should be, because it reinforces asking bad questions, where people do whole of your thinking for you
 
@JerryCoffin I'm fine now that I've slept properly :)
@tuantm I don't think you understand how this works. It can only be used if the function is a class method. And since your log function cannot be both a regular function and a method at the same time this "checking if this is available" is useless. — Borgleader 7 secs ago
I'm not sure how to explain to this guy that what he's trying to do cant be done because the case hes trying to handle can never happen.
 
@Borgleader wow, his idea is ... like, what? :OOOOOOO
 
oh wait
i think i get it...
 
@Loopunroller Because you feed help vampires, and that's bad for everyone.
 
but still, seems like a valid question
 
1:08 PM
@LightnessRacesinOrbit Hmmm.
That is indeed a problem. I am specifically talking about this post.
 
@BartoszKP I just realized what he's trying to do. What threw me off is he called it a log function, what i think he meant is a macro that expands to:
if (IS_INSIDE_CLASS_METHOD()) Log("%s", this->GetName())
else Log("Something something darkside");
 
@Borgleader good example, perhaps add it to the question (gray area in terms of editing but...) - I've voted to reopen this one
 
Btw, it wasnt closed because it was an X/Y problem
it was closed because until now nobody understood what the hell he wanted
 
@Borgleader :0 I got it the first time I read it
 
I didn't o.o
and if you look at the comments a lot of people were confused
 
1:12 PM
This isn't a great question. You allude to an "issue" but don't tell us what it is, and complain about the output of your program but don't tell us what you expected instead. We cannot divine the behaviour that you expect inside your mind, especially as the actual behaviour — being, inherently, the correct C++ behaviour — is what we expect! — Lightness Races in Orbit 1 min ago
 
@Borgleader well, your example seems to make this completely clear
yeah
 
4 years later isn't too late, right?
 
@LightnessRacesinOrbit on ordinary forums you'd get banned for "digging up old threads" lol
 
user3920237
i hate phpbb with a passion.
 
@BartoszKP Good thing this isn't a forum!
 
1:14 PM
@BartoszKP That practice is so dumb
 
yeah
 
@Loopunroller Annoyingly, there's no valid reason to VTC that question. I'll have to stick with downvoting
@BartoszKP I can tell just from the question that that guy is arrogant, because his thought processes don't allow him to consider the possibility that the output his program gives may already be what other people expect; instead, he seems to assume that we should all expect whatever he's expecting, despite the complete absurdity of this notion.
I JUST WANT TO FIX PEOPLE
:(
No, the irony is not lost upon me
but the ironing is
hi, btw
 
@LightnessRacesinOrbit well, still good that he starts with admitting that he probably doesn't understand (hi :D)
 
@BartoszKP Whaddya know its a duplicate
 
@Borgleader lol, nice find!
 
1:19 PM
@BartoszKP that's a start ;p
 
#define GET_THIS() __if_exists(this) { this; } __if_not_exists(this) { nullptr; }
MS only but this is neat
 
Xeo
wat
why
 
So very useful
 
Xeo
Hm, I should go to the barber.
my hair's getting annoyingly long again
 
@Borgleader yeah, I also liked this one
 
1:28 PM
-1
A: C++ stack and heap corruption

Ed HealThe program lives in its own sandbox. The OS is the caretaker. So when a program f**** up and dies so does its problems

uncharacteristically awful answer from Ed
 
;0
 
@gunr2171 It's implausible that it was intentionally designed to be this crappy ... show us the spec where it says "Tell the user to look at a blank answer". — Jim Balter 7 hours ago
uncharacteristically stupid comment from Jim
 
Thanks @BartoszKP I will find deeply in this site — Bryan 1 min ago
you will what? :0 <uneasy>
 
I bet he comes back with some up-his-own-arse comment about programming before I was born, or something
older programmers are a PITA
 
@LightnessRacesinOrbit wtf, is a comma before "and" actually valid grammar?
I thought that's nonsense+
 
1:35 PM
@Loopunroller Yes. In this case absolutely (and it improves the flow & legibility of the sentence). In the case you're confusing it with (lists of items) opinion is divided and it's acceptable depending on who you're talking to and how much they care.
 
@LightnessRacesinOrbit TIL - cheers
 
Does Sturgeons Law also apply to humans?
 
@LightnessRacesinOrbit just to be sure, at what age "older" starts? ;p
 
@BartoszKP I'm detecting patterns in programmers currently ~50+
This is both online and IRL
 
1:38 PM
@Loopunroller sure, look at IQ distribution ;v
 
not everyone, of course
 
@LightnessRacesinOrbit phew, I'm still young : D
 
To be fair, I've started referring to local students (18-21) as kids and make disparaging comments under my breath whenever they do kid things, so I can definitely see how this behaviour comes on with age :P
 
:DD
 
I'm in no way suggesting that I won't be equally as irritating at ~50+
That probably goes without saying in here though
 
1:39 PM
We have an immensely competent C++ programmer in the forum, he is about 52.
No sign of fuckery yet.
 
2 mins ago, by Lightness Races in Orbit
not everyone, of course
 
@Loopunroller Define "the forum"
 
Well that was nice. Popped into fishmongers for bit of squid to go with veg for dinner, there was only just enough left to call a portion, so little he let me have it for free :D
 
@thecoshman ew
ooh fish and chips
no wait too late dammit
 
@LightnessRacesinOrbit Largest german C++ forum?
 
1:41 PM
ahhh that's annoying
@Loopunroller Ok
(I had no idea what you were talking about :P)
 
@LightnessRacesinOrbit :O you monster! squid is soo tasty
 
@LightnessRacesinOrbit Didn't you know what a forum is? :D
 
I suppose if I were to shower and get in the car and get to the fish and chip shop within 15 minutes I might be in with a chance
good for hangovers too
@Loopunroller Of course, but I didn't know whether you meant some unnamed forum or you were mislabelling SO, or the Lounge, or something else ("the forum", "we", what?)
 
@LightnessRacesinOrbit I see. I would never call SO a forum, it's something completely different.
The lounge is just... i wouldn't find the words, but it's not a forum either.
 
@Loopunroller Yep.
@Loopunroller The lounge is a chat room.
 
1:43 PM
@LightnessRacesinOrbit Technically. :P
 
Some people get it wrong, though. I had no way of knowing whether you were one of them. Not to worry.
@Loopunroller I can't think of any way in which the Lounge is not a chat room.
 
I'm trying to say, the lounge is a very dangerous chat room.
 
:0
 
... yeah, chat room
 
1:45 PM
That's like saying cigarettes are packets of dead plants. I mean, they are. But you would rather classify them als drugs, wouldn't you.
 
Ell
This is 100% a chat room :P
 
That is very relevant yes
 
Ell
I couldn't think of a better way of categorising it
 
@Loopunroller but they are still (mostly) dead plant stuff (and crap tones of crap)
 
@thecoshman Okay, let's digress to discussing how damaging cigarettes are. There should be a law against smoking in all public places.
 
1:46 PM
@Loopunroller in some countries there is
 
@BartoszKP In europe?
 
@Loopunroller yep, in Poland
 
@BartoszKP no smoking outside in public areas?
so, only you own homes?
AFAIK smoking is terrible for health, great for the economy. It brings a huge amount of tax money.
 
@thecoshman there are special rooms in bars/restaurants and also in some public places it is allowed - like when you walk on the street. However at the bus/tram stops it's forbidden, also parks I think
 
you have special smoking rooms?
we call that 'outside'
 
1:52 PM
yeah, outside is okay, and it is allowed inside, if there is a special, ventilated room for this purpose
 
@thecoshman heehee
@BartoszKP We have that in principle but, in practice, these areas tend to be dimly lit areas of street
shower over, I'd have to get to the chippy inside 5 minutes
probably less
 
Ell
Odd question here. Does a pub count as a public area?
 
I made the right call :thumbsup:
@Ell that's complicated
 
Ell
I know pub is short for public house.
But they are privately owned
 
@LightnessRacesinOrbit I don't remember the precise formulation, I only remember that it is strictly forbidden at the bus/tram stops.
 
1:55 PM
@Ell During opening hours, basically, yes.
 
Ell
@LightnessRacesinOrbit okay
 
@LightnessRacesinOrbit not it's not
 
@BartoszKP You can't smoke in bus shelters here because they have three walls.
 
pubs are public places
 
@thecoshman yeah, it is
 
1:56 PM
they are also work places
 
@Ell However, there are smoking laws that apply to all pubs and restaurants.
 
well ok, you can have the private house part that is 'privte'
 
they fall into several categories and it can be blurry, especially when you start considering lock-ins and when only the residents are present (even downstairs)
it's actually remarkably poorly defined
however in practice it doesn't need to be any better defined because enforcement only happens during opening hours, and takes place under the principle of being a workplace
 
@LightnessRacesinOrbit well, lock-ins are whole can of worms when it comes to laws. But as I understand it, the public/work area is a public/work space at all times.
 
it's not like I was a bar manager for three years (straddling the time of the ban) or anything
i'm semi tempted to try making a lasagna tonight
never done it before
 
2:05 PM
tis easy
 
ok i'm gonna do it :D
excite
 
you're gonna fail :P
well, depends how much you plan to make it.
 
well, it's hard to mess up a box meal :P
 
what's a box meal
 
2:09 PM
meal vs. box meal is like int vs. Integer
 
;p
think i'll try making the white sauce and tomato sauce myself too
 
Ell
@LightnessRacesinOrbit really? cool
 
@Ell meh not really
i don't miss it
 
@LightnessRacesinOrbit you know, a meal that comes in a box, a micro meal.
 
Ell
I quite fancy being a fancy bar man at a cocktail bar. I know those professions are totally different but they are kind of related :P
 
2:10 PM
you constantly talk about food, I'm hungry again, even though I had my dinner already :|
 
@LightnessRacesinOrbit white sauce is easier than people seem to make out. Just get your stuff ready for it, know what the steps are, and don't get distracted.
 
doing things is easy in general, you just have to do everything right ;0
 
@LightnessRacesinOrbit I miss bar work. It was not complicated and nice to interact with people who have simple needs.
@BartoszKP it's always dinner time for someone some where :P
 
:D
well, I'll order a pizza, enough cooking for myself ;v
 
@thecoshman now I perch on a stool on the other side of the bar and it's more fun ;p
going shoppin'
 
2:27 PM
Mouning
 
hi ;0
@Sofffia did you have a surgery? :00
 
user1804599
I'm going to use backticks in my compiler's diagnostics when quoting types or expressions.
 
@BartoszKP ?
 
@Sofffia I mean the sex change ;v
 
I don't want to change sex. Female is perfectly fine. ;)
 
2:32 PM
@Sofffia but you did :0 well, I guess I'll stop spoiling the fun ;)
 
Ell
@BartoszKP I don't think there is anything to spoil really
 
@Ell wanted to be nice ;D
 
:D
 
Ell
does anyone here do 3d graphics?
nvm I think I got it.
 
2:40 PM
I wish my oven had a temperature readout and not just "yup I'm done" light
 
Germany is about to get crushed.
 
user1804599
WTF Rust.
 
user1804599
Is Deriving broken or something?
 
Today was the first day i raped something.
I softly raped std::tuple.
 
ha ha v funny :frogout:
 
2:54 PM
 
Ell
@Loopunroller wat
 
Gosh guys, stop ignoring the context... it's right in the next message.
 
Ell
@Loopunroller I ctrl-f'd rape and couldn't find it anywhere in the page :P
 
What ws that C++ quote about implementation detail and std::vector again?
 

« first day (1449 days earlier)      last day (3503 days later) »