« first day (1332 days earlier)      last day (3631 days later) » 

12:00 AM
@LightnessRacesinOrbit find me an interesting question to answer, or something to write about!
yes, I'm demanding as shiznit
 
you're obsessed
don't worry it'll pass
I find that alcohol helps
@rightfold s/blog/lie/
 
@LightnessRacesinOrbit nhaa, I'm just bored.. maybe those boils down to the same thing though
 
@FilipRoséen-refp learn haskell instead
 
@Jefffrey I just returned a book I borrowed from a friend. I do know the basics of haskell, mostly because I wanted to be able to discuss functional programming
I doubt that I will actually write anything in haskell
 
if you guys have any objections feel free to revert
I tried
 
12:04 AM
damnit sehe is not here :(
 
@Rapptz I like it
 
i need some spirit-ual guidance
 
@Rapptz stackoverflow.com/posts/8111677/revisions, new title (to make searching for such question easier)
 
I think that's fine
 
@Rapptz Yeah, good job.
@FilipRoséen-refp I prefer question-style titles. I will merge them.
misread the diff
 
user1804599
12:08 AM
Why is the A capitalised?
 
@rightfold fixed it
 
user1804599
Nice.
 
see sometimes the Lounge can be a force for good
;p
 
@LightnessRacesinOrbit high-five!
 
if only the compilation errors told me which line of code i wrote they came from, instead theyre all from boost =/ damnit
 
12:13 AM
@Borgleader most compilers issue diagnostics about where the error originated prior to printing where the error actually takes place
 
Should I add the C++ standard quote to the answer?
 
user1804599
Hurray.
 
user1804599
Thunderstorm of death.
 
@Rapptz the entire contents of [basic.lookup.argdep]? I think it's a bit long, but one could include such reference to the post
 
Nah. Just 3.4.2/1
Also wow lol
in revision 8 of the answer
 
12:17 AM
@Rapptz sadly [basic.lookup.argdep]p1 doesn't say that it might be searched because of the arguments involved
 
the std::swap link is a google search
google.co.in
that's Indian google isn't it?
 
@FilipRoséen-refp It has something to do with a struct associated with one of my spirit rules, struct Program { std::vector<Expression> statements; }, but I declared everything like the other ones and the other ones work AFAIK =/ oh well
 
@FilipRoséen-refp Could remove it.
 
2
Q: Invoking function with string argument with lldb: how?

kdogI am unable to use lldb to invoke simple, non-templated functions that take string arguments. Is there any way to get lldb to understand the C++ datatype "string", which is a commonly used datatype in C++ programs? The sample source code here just creates a simple class with a few constructors, ...

everytime I find a question interesting, the community seems to think otherwise
maybe it's because of the title though
 
> google.com.in
get that crap off my screen, or I'll do you .in
@FilipRoséen-refp You're formatting-happy, I've noticed. It's okay though.
 
12:20 AM
@LightnessRacesinOrbit lol
 
@LightnessRacesinOrbit are you implying that my formatting is bad?
 
@FilipRoséen-refp not at all
 
@LightnessRacesinOrbit stackoverflow.com/a/24101297/1090079 <- look at this beauty!
 
formatting-happy like trigger-happy; you enjoy it and employ it liberally
yeah, a good example
if you weren't using it so perfectly appropriately I'd edit it the fuck out
 
I do hate me being formatting-happy when I spend more time trying to come up with a good layout of the post, instead of actually writing one
 
12:21 AM
that @dyp comment needs flagging away though
 
@LightnessRacesinOrbit I think I already have
 
@FilipRoséen-refp me too ;p
 
dyp is a funny character btw, all I see him do is running around commenting on posts about how they are inaccurate in some regard he find fitting
 
I leave y'all with this crucially important Q&A that will leave you with a greater understanding of the universe and allow you to continue with your lives safe in the knowledge that you are closer to the next stage of human evolution than you could otherwise possibly have hoped to be:
4
Q: Word for a lighthouse enthusiast

SeamusI'm fairly certain I've heard/seen a word to describe someone who likes or studies lighthouses, similar to audiophile for someone who likes music. Does anyone know what it is?

Night.
 
@LightnessRacesinOrbit at last! I've been spending hours trying to figure it out...
that profile pic!
 
user1804599
12:25 AM
@LightnessRacesinOrbit Pharos. :D
 
I wonder if people who sign in using facebook are aware of the fact that they are giving out everything necessary to find out who they are
 
user1804599
@FilipRoséen-refp It’s invisible!
 
@rightfold wait, what? no; it's this picture
 
user1804599
ばか。
 
lol
 
12:26 AM
@FilipRoséen-refp what am I missing?
 
@FilipRoséen-refp whats wrong with it?
 
@Borgleader I just find it.. funny, but maybe I'm easily entertained
 
i mean its a profile pic and he's sideways so its a "profile picture" in two ways
but aside from the visual pun, nothing stands out
 
@Borgleader besides the banana-thingies on the wall
 
banana thingies? those are suns with something protruding
 
12:29 AM
...
 
like hands forming a cup?
 
you are taking this far too seriously
 
@Borgleader he is not in "profile" btw
 
user1804599
Lolling Stones
 
@Jefffrey well he's sortof sideways, idk i was looking for the funny but came up with 404 =/
 
12:30 AM
that's a profile picture.
 
user1804599
@FilipRoséen-refp I think I should buy refp.sexy as well.
 
@Borgleader this is body profile
 
nice url there m8
 
d'you always read urls m8?
 
12:34 AM
oh cool, coliru has boost
 
@Jefffrey yes
 
hi all, anyone here familiar with concrete5?
 
no
 
12:38 AM
@Borgleader Program is not a container. Deal with it.
 
hmmm
 
user1804599
I am going to sleep.
 
typedef std::vector<Expression> Program; fixed it
neat, thx
 
how much does a decent designer cost per hour? Or a basic 3D modeler?
 
1 billion dollars
 
12:52 AM
@Rapptz what?
 
1:15 AM
14
Q: C++11 initializer list fails - but only on lists of length 2

Tom SwirlyI tracked down an obscure logging bug to the fact that initializer lists of length 2 appear to be a special case! How is this possible? The code was compiled with Apple LLVM version 5.1 (clang-503.0.40), using CXXFLAGS=-std=c++11 -stdlib=libc++. #include <stdio.h> #include <string> #include <...

that is what happens when you spend time on formatting instead of just throwing out an answer directly
 
Not all answers have to be perfectly formatted or long m8.
You can have a perfectly good answer that is shorter.
also that question is a dupe
 
@Rapptz That surprises me.
 
@Rapptz I might know what question you are thinking of, and honestly I don't consider it to be a dupe
 
@FilipRoséen-refp I think a somewhat general consensus is to get the answer down and then make it look pretty.
With any luck, OP will accept yours.
If not, mine's short enough to see past and there's even a link.
 
I can't find it
but I know it's a dupe
 
1:22 AM
@Rapptz I hate that feeling. I can't answer questions when I have that feeling.
 
@chris mhm, that's true
 
@FilipRoséen-refp This is coming from a notorious rep anti-whorer.
 
no wait no, that was on another board..
 
completely different
 
@Rapptz stackoverflow.com/q/20519992/1090079 are you thinking of that one?
 
1:28 AM
no
 
then I have no idea which question you are referring to
 
I will find it
it's by a russian
 
I'm guessing it's tagged , and I've been keeping a somewhat close eye on that tag for some time now, and just spent time searching similar questions
 
it's old
damn
wrong russian
I knew remembering it that way would fail me in the future
it was about constructors taking in std::initializer_list
 
@Rapptz he's polack, but I would close that old question as a dupe of the new one; since the new one is better worded, and has better answers.
@Rapptz stackoverflow.com/q/17531492/1090079, or well, I'm guessing he's from Poland
 
1:32 AM
nah that's not it either
 
@Rapptz well, I closed it as a dupe of the new one
@Rapptz search like this
 
 
1 hour later…
2:44 AM
Is there a book which collect the stackoverflow's qestions and the format is .mobi ?
 
no
 
Xeo
3:20 AM
@jalf You did not just take that to the Lounge!
 
Oh yeah.
Room's dead because of the Uncomference thing.
:(
 
Xeo
Teehee
You should've just come too
 
Yeah, you should
 
It was like $1.5k for the flight alone
 
user3010322
I found as low as 800 per.
 
Xeo
3:33 AM
Was loootta fun
 
only one day?
 
Xeo
lol, it's been going on for 4-5 days
 
I see.
 
user3010322
People arrived since like
 
user3010322
Friday, Thursday?
 
user3010322
3:35 AM
And it was through the 7th
 
Xeo
Me and Bartek are leaving in 12 hours or so
 
user3010322
Cat didn't make it?
 
Xeo
but Andy, Cosh and Martin are staying for a bit longer
@ThePhD bwahahahaha
 
user3010322
I know he doesn't like going out, but still!
 
user3010322
If Bartek could make it, Cat could make it. <3
 
Xeo
3:36 AM
Excuses, excuses everywhere
but doesn't matter
next Unconference is at his place
and he got no choice in this
 
user3010322
Hehe.
 
Xeo
he'll simply wake up one morning and BAM Unconference in his room
 
user3010322
Pizza and Rum and Liquor
 
user3010322
EVERYWHERE.
 
Xeo
welp, time to catch some sleep before plane & train
 
3:38 AM
I'd probably only end up going if it ends up being near UK.
I don't think anyone from America went (?)
 
user3010322
Andy came from the U.S.,
 
user3010322
but he wasn't born in the U.S. so it might've been easier for him to go back?
 
user3010322
(IIRC).
 
user3010322
I for some reason remember him as a Czech.
 
Andy lives in the UK..
 
user3010322
3:47 AM
Ah.
 
4:04 AM
 
 
1 hour later…
5:32 AM
in re feeds
I worked in a lab that colaborated with one of the authors of the op-ed
he's at princeton and not a denier
just an opponent of aggressive co2 policy vs other polutants
 
 
1 hour later…
6:50 AM
 
7:39 AM
even ing
 
Hello all
not sure if this is the best place to ask this, but when can a SIGFP signal be raised?
Only division and mod by zero?
 
From what I know.
 
8:20 AM
compared to other tags actually has a fairly low unanswered quota
13.3% for , 18.6% , and 20.8%
seems like most popular tags have a quota > 20%.. it this a moment to be proud about ?
It would be interesting to have notifications of when other holders of a gold-c++-badge are close-voting answers, as a "hey, you should probably look and help out on this one"
but since that doesn't exist...
-3
Q: What is the best C++ library for mail functionality

JasonI have been tasked to develop a mail client in C++ that requires FIPS compliant. I have some ideas about how to write one. But it's gonna take lots of time. Is there a good C++ libraries out there that has FIPS compliant features.

clöse it. done.
 
I thought unconference would happen on a weekend
 
Lounge<Dead>
 
8:37 AM
~_~
 
Hey, I have one more question
comparason of float and double
is it possible that a float has no double representation?
meaning that there is no double that is equal to a float
 
8:52 AM
@BartlomiejLewandowski nope
 
@Abyx, nope impossible, or nope possible?
 
it's like "is it possible that a short has no int representation"
nope as impossible
double just has more bits
like double more
 
@Abyx so why does this return lower? ideone.com/rzvYsb
I also did a search with _nextafter, and I find that there is no value that makes these values equal
 
because that's not how you compare floating points
also there's a double to float conversion there
 
float gets promoted to double, right?
 
9:03 AM
double got demoted to float there
 
Oh, you meant the assigment to a?
 
yes
 
I was thinking about the actual comparasons
 
read up on the floating point format
 
I know how they work, I'm just not sure how the conversion works in C++
 
9:05 AM
C++ uses the same floats mostly everyone else uses.
IEEE 754.
at least on x86_64
 
Just to make sure, float is promoted to a double when doing a comparison with another double?
 
yes
you have two conversions there
double -> float and then float -> double
that's not good
 
user1804599
Most useful edit of the year award goes to starblue.
 
@rightfold haha, certainly!
 
9:12 AM
@rightfold Not the most useless edit I've seen, actually
 
or well, I remember some guy who made a proposed edit where he changed 1 into 123 to "show that it was an integer being returned"
 
@Rapptz It's a part of a puzzle, I need to find the float that will be equal to this double
 
lol
good luck with that
 
user1804599
I think it should be a template function.
 
user1804599
template<typename T>
T set_or_unset_all_bits(bool comp) {
    static_assert(std::is_unsigned<T>(), "T must be unsigned");
    return comp ? ~T(0) : T(0);
}
 
9:13 AM
@BartlomiejLewandowski Why not use doubles everywhere?
 
@Insilico As I said, it's a puzzle, and I can't modify the code
I would never use such a conversion in code
 
@BartlomiejLewandowski Oh that's the puzzle in of itself. Ok.
 
user1804599
9:25 AM
@Ven I will limit it to single dispatch on the first parameter.
 
user1804599
It’s also easier to implement, through a dynamic vtable.
 
user3010322
9:50 AM
I
 
user3010322
hate
 
user3010322
g++ ;~;
 
0
Q: Overload of `operator<<` not found when called from `std::ostream_iterator`?

user3377450// main.cpp #include <iostream> #include <utility> #include <algorithm> #include <iterator> #include <map> template<typename t1, typename t2> std::ostream& operator<<(std::ostream& os, const std::pair<t1, t2>& pair) { return os << "< " << pair.first << " , " << pair.second << " >"; } int ...

^ should be reopened, after question edit the intentions are clear. reopen-votes requested
 
The question is the same.
You just added the error code.
 
@BartlomiejLewandowski Just look at the mantissa and cut off the extra bits that double has over float :) Of course you will get a different number if the bits you cut off aren't all zero.
 
9:58 AM
@Rapptz people closed it because they thought it'd be impossible to answer, something which has been proven inaccurate, the error code was pretty much the only thing missing (besides the original poor grammar) to make it answerable
@Rapptz the title was also misleading prior to the edit, stating: "Why this doesnt't work in C++?", and that's when most close-votes (4 if I recall correctly) was cast
the reason the last close-vote was cast is probably due to the now obsolete comments
 
@rightfold wow. mind blown
 
user1804599
I wonder if LLVM allows one to regenerate code while it is being executed.
 
user1804599
Like, add extra optimisations at runtime.
 
I think so
not sure though, I haven't meddled with JITs and such
 
agggghhh fucking Chrome won't let me use certain user scripts any more because they're not in the web store. For example, a handful of crucially useful SO chat mods
 
10:13 AM
simple solution! upload :)
 
switch to FF
:>
 
@BartlomiejLewandowski std::numeric_limits is your friend
 
@FredOverflow unconference, what happened to unconference?
 
@chmod711telkitty I did not attend.
9 messages moved to Java Sucks
 
that was pretty unuseful
 
10:23 AM
@sehe s/unuseful/useless/
 
s/.*//
@sehe but I didn't write them
 
Pop quiz: Can --0 appear in a legal C program, outside of comments and string literals of course?
 
No. Needs to be an lvalue.
 
I am dumb today ... being having 5 hours of sleep every night for the past 2 nights
 
char a[] = "zes";
--0[a];
 
10:38 AM
clever
 
woke up in the middle of the night shivering
 
@chmod711telkitty Shivering from erotic thoughts?
 
making out with my air mattress ;)
except the air mattress was not nearly as warm as I was promised
 
Coming this fall: The mystery of the mattress mistress
 
mistress mattress under you, your wife/gf err, beside you?
too bad I am not interested in a mistress, not being a lesbian ... but I have been sleeping on my mattress every night! ... that softness ...
 
10:47 AM
@chmod711telkitty it was fun. The robot provide his inability to navigate the city he lives in. We drank beers and played board games
 
@jalf who went?
 
This is an excellent idea. If you are curious what bag of worms this opens, you can refer to this stackoverflow question: stackoverflow.com/questions/23719372/… and also stackoverflow.com/questions/1343112/…NiRR 1 min ago
I hate when I can't decide if a comment is being sarcastic or not
 
wtf why is explorer crashing when i try to open Spotify ffs
 
@chmod711telkitty Me, Bartek, Cosh, Xeo, Robot, Andy Prowl, Martin James. sbi dropped by one evening
I think that's about everyone
 
@jalf What board games? I like board games :)
@jalf Wait, "one evening"? Was it more than one day?
 
10:58 AM
@FredOverflow a lot of different ones. We went to a board game party hosted by one of robots friends, so there were probably 15 people. Several games in progress most of the evening. I played Coup, Letters from Whitechapel, Resistance: Avalon, Gauntlet of Fools, Concept. Also being played was Battlestar Galactica, some football thing (I think it was a bloodbowl spinoffy kind of thing), Cutthroat Caverns and... a bunch more :D
@FredOverflow Most of the weekend, really. The "main" event was saturday evening, hanging out in a biergarten (and later at a bar). But since everyone was in Berlin for the weekend, we did other stuff on the other days
@FredOverflow Oh, and Citadel (with German rules) and some german game called Cockroach Poker, or something? And Zombie Fluxx (not in German)
wow, we actually got through a lot of games :D
 
If someone ever invents a Tetris board game, I'll die a happy man.
 
:p
 
Wait, wasn't Tetris based on a board game to begin with? :)
 
@BartekBanachewicz! Did you get home safely?
and without too much of a hangover :D
or are you still not-home
 
11:02 AM
@FredOverflow was it?
 
> Tetris was inspired by pentomino puzzles, although it uses four-block tetrominoes. Some Tetris clones and variants, like the games of Plan 9 from Bell Labs, and Magical Tetris Challenge, do use pentominoes.
Although "puzzle" and "board game" are probably not the same thing :)
 
morning
 
oh gees, WinSCP too
my laptop is fucked
THIS IS WHAT I GET FOR INSTALLING UPDATES
 
user1804599
@FredOverflow Pentris?
 
@FredOverflow it is like hiking and bush walking are not the same thing
so I have mainly been doing bush walking lately
 
11:17 AM
> I simply created new C++ project, so far only containing some HelloWorld code. I want to use a third party library for logging. I chose log4cpp (since I have experience with Java and it is supposed to have similar interface).
log4cpp::Appender *appender1 = new log4cpp::OstreamAppender("console", &std::cout);
appender1->setLayout(new log4cpp::BasicLayout());
 
ho boy.
 
user1804599
@Jefffrey fail.
 
@FredOverflow "zes"?
0
Q: avatar facebook

seheSome users have avatars that won't show up, e.g. consistently across the whole site, e.g. in chat oneboxes: Inspection of the profile page tells me this is with facebook avatars. My browser refuses to load this shit for security reasons: I've seen this behaviour for a while now. It mi...

inb4 use an less secure browser!
 
I think the problem is that the facebook API now requires HTTPS or something
 
https is being used. Also, its CDN is not its API
 
user1804599
11:23 AM
I think the problem is that the facebook
 
^^^ +1000
 
I mean from stackoverflow.com
 
user1804599
@FredOverflow one problem with the compacting GC is when objects have extra data such as integers or file handles.
 
user1804599
I cannot just bitcopy them. :v
 
compacting GC and complex values don't play nice together
 
user1804599
11:31 AM
I could require TriviallyCopyable.
 
user1804599
Meh. Whatever. I’ll see.
 
@sehe The code decrements the z to y, which yields yes.
@chmod711telkitty I wouldn't mind walking your bush...
@rightfold Why can't you just copy integers?
 
@FredOverflow once I guy messaged me "I wouldn't mind mow your lawn" ... except I am pretty sure he wasn't refer to the real lawn mowing
 
user1804599
@FredOverflow I am talking about the general case.
 
@chmod711telkitty lol awsum did anything happen?
 
user1804599
11:36 AM
Substitute “integer” for “mutex.”
 
@FredOverflow as likely as the magpie would shag one of my chicken
 
user1804599
I have an idea, though.
 
@chmod711telkitty no sex 'til marriage then?
 
@chmod711telkitty well, you're the chicken expert around here. Would a magpie shag a chicken? :p
 
@FredOverflow Oh freddy, this is the internet :p
@jalf the neighbourhood magpies tried to kill my chickens, so ...
 
user1804599
11:49 AM
main.cpp:16:23: error: 'is_trivially_copyable' is not a member of 'std'
         static_assert(std::is_trivially_copyable<Extra>(), "Extra data must be trivially copyable.");
                       ^
 
user1804599
lolwot
 
#include <type_traits>?
 
IIRC those type traits were renamed at some point.
like, has_trivial_copy_constructor or something.
 
user1804599
I’m not an idiot. :v
 
really?
 
11:54 AM
^
 
user1804599
Oh well, I’ll implement this overly complicated shit later.
 
@DeadMG Not according to cppreference (I know, not really a 100% good source)
 
ah, they're usually pretty reliable about such matters IME
 
Yup, my thought too.
 
ah balls I forgot to finish dynamic_cast.
 
11:59 AM
I might even say the has_* traits were pre-C++11.
You might call that prehistoric :-P
 

« first day (1332 days earlier)      last day (3631 days later) »