« first day (574 days earlier)      last day (4386 days later) » 

7:00 PM
Ctrl+scroll is pretty much standard zoom shortcut.
 
On a Mac Cmd+- and Cmd+=.
 
@classdaknok_t Try it out on QtCreator like I described. It's quite a visual effect.
 
But of course QtCreator was created using Qt and not Cocoa.
@StackedCrooked I believe you. I'm not going to install QtCreator just for this. :P
 
Of course it was created using Qt.
 
Also inertia scrolling is kind of addictive. I tend to mindlessly keep playing with it like some junkie.
@CatPlusPlus So I heard.
 
7:03 PM
Who'd use Cocoa if they can use Qt.
 
People who want decent Mac GUIs.
 
What does "blocks" mean in clang bug report?
Is it like, they won't do anything about their bugs until the meta-bug has been deemed fixed?
 
@CheersandhthAlf clang has a language extension called "blocks", which brings lambdas to C and Objective-C.
 
Fixing this bug is a prerequisite to fixing another.
@classdaknok_t It's a bug reporting thing, not language thing.
 
7:07 PM
It forms a dependency graph, basically.
 
I didn't know.
 
You also have bugs that can block releases, which means new version is not released until said bug is fixed.
 
I wonder how long Herb will remain chair of the committee. Then answer becomes incorrect:
13
A: make_unique and perfect forwarding

user763305Herb Sutter, chair of the C++ standardization committee, writes on his blog: "That C++11 doesn’t include make_unique is partly an oversight, and it will almost certainly be added in the future." He also gives an implementation that is identical with the one given by the OP.

I also wonder, should it really be snowing at this time of year?
 
Just remove " chair of the C++ standardization committee," from the answer.
 
Uhm, I've edited it twice today (first incorrect), so someone else please...
 
7:19 PM
@CheersandhthAlf you can edit it later, I believe Herb will remain chair of the committee for today.
 
PJP was chair for a year.
Herb before that and Herb after
What is the term for someone who is very sure due to lack of knowledge and/or understanding?
 
Really, that's so important that the answer absolutely needs to be kept up to date?
 
@CatPlusPlus Of course. And so is sausages with mashed potatoes.
 
Yummy food.
 
Speaking of food, where are my pizzas. :.
 
7:23 PM
As I told you, you need to order another one.
 
@CheersandhthAlf omg rookworst.
 
you don't need to order pizza explicitly, just compile i++ + ++i in Hell++
 
Pizza++.
 
@CatPlusPlus ++Pizza maybe ?
 
7:26 PM
@CheersandhthAlf why are you eating vegetarian rookworst? Are you a vegetarian?
 
Vegetarian sausages?
 
@CatPlusPlus Yeah the sausages in that pictures are vegetarian, according to the filename.
 
@classdaknok_t i just liked the picture. in fact, what i just ate was a slice of bread with thick Danish cream cheese and oregano, with a cup of sugar free hot chocolate on the side. dunno if the cheese is good for diabetes, but it's tasty!
 
Yummy cheese.
I can eat Hema rookworsts all day.
 
Look OK. :-)
 
7:32 PM
Potatoes are trying to escape.
 
Fucking tasty rookworst.
 
7:48 PM
Yay, pizza.
I should've known it'll be old guy delivery guy at it again.
 
I'm going later
 
is it cplusplus.com/reference that's bad?
or cppreference.com/ ?
 
cplusplus.
 
They haven't even updated cplusplus to 11.
 
7:54 PM
I hate guitar-singers under my windows... whole night they scream! ;)) It began 2 weeks ago, when summer came ;)
 
"be very brave"?
 
"beat vagina badly"?
 
))
 
"bang violins badly"?
 
Xeo
8:09 PM
@JohannesSchaublitb So they won?
@CatPlusPlus I'm disappointed that you didn't make "to 11" a link.
 
@Xeo Imitating the robot's TVTrope link whoring are we?
 
Xeo
Huh? I also do this whenever I can
I actively pursue to trap people there.
Most of the time it backfires and I trap myself too, but that's fine, since it's fun. This time it didn't, though, since I read that one already.
 
8:45 PM
@Xeo yes they won
 
9:06 PM
@DeadMG: Now we know why the sunbeam thingy was so cheaply animated. All of the finale's budget went into Bell's VR and interrogating the corpse.
 
@CatPlusPlus Interrogating the corpse was creepy
 
Ding ding ding.
 
@JohannesSchaublitb Black Veil Brides? emo band xD
 
Xeo
@RadekdaknokSlupik bvb.de/?_%1B%E7%F4%9D
 
Ah :P cool.
 
9:18 PM
@CatPlusPlus Kinda disappointed about the ending, though. I liked the idea of "Bullets bounce off me" Olivia.
 
She can see the code.
 
Hohoho.
 
Now waiting for season 5.
At least it's scheduled for fall 2012, not 2013.
 
one of the things that super interested me was that stasis rune thing and the anti-Observer gun
seems like she must have had some help from the other Observers to obtain such things
 
Today I got a ficken answer
 
9:23 PM
Stasis rune was hilarious. "What are you doing here? — Well, I've stepped into something and they had to cut me out along with the piece of the floor."
 
also
I dunno, the stasis rune didn't seem to, well, stasis him very much
he still talked and caught those slow bullets
 
Timey wimey quantum superglue.
 
lol
 
9:42 PM
What's the easiest way to specify an int that can hold a range?
I can do it with templates but is it possible with just a single decltype?
 
@Pubby C++ doesn't really have a type like that. You mean something like int<3, 54> right?
 
Yeah, but I want to do it with decltype
decltype(3 ???? 54)
Dunno if it's possible
 
@Pubby Well, I'd like a sexy wife and infinite money, but it's not gonna happen
3
 
Not possible then, because there is no arbitrarily ranged integer type in C++.
Ada supports such a thing.
Ada is a structured, statically typed, imperative, wide-spectrum, and object-oriented high-level computer programming language, extended from Pascal and other languages. It has strong built-in language support for explicit concurrency, offering tasks, synchronous message passing (via guarded task entries), protected objects (a monitor-like construct with additional guards as in conditional critical regions), and nondeterminism (via select statements). Ada was originally designed by a team led by Jean Ichbiah of CII Honeywell Bull under contract to the United States Department of Defens...
 
Ell
@DeadMG I'm telling your wife :O
 
9:46 PM
type Day_type is range 1 .. 31; in Ada has no built-in equivalency in C++.
 
@Ell Don't have one?
 
Ell
@DeadMG not anymore.
 
@Ell Or before.
 
Ell
don't ruin my fun :(
Too late :'( -.-
 
Wee, I fixed the build
Turns out I should not be using relative paths.
 
9:51 PM
Does this look correct? ideone.com/kWrZ8
 
using lower_type = T;?
 
Actually I guess it wouldn't work
 
Though I don't really see the point in this entire machinery.
You've got two the same types.
It doesn't make sense.
 
What about this?
template<bool B, class T, class F>
using conditional = typename std::conditional<B, T, F>::type;

#define INT_RANGE(lower, upper) \
conditional<sizeof(decltype(lower)) > sizeof(decltype(upper)), decltype(lower), decltype(upper)>;
 
What's the point?
decltype(lower) == decltype(upper).
 
9:55 PM
To specify an int between a range
Are they always equal? :S
 
Or I have no idea what do you mean by "int between a range".
 
Like I want it to hold between -500 and 500
So INT_RANGE(-500, 500) x;
 
If you mean a clamped integral type, then how would you want to store a value of two different types?
(Please don't say variant.)
 
What?
 
You have to store a value.
How would you want to do it, if decltype(lower) != decltype(upper)?
 
9:57 PM
It's going with the larger size
 
It's one type some of the time, and another some other time?
 
Although I guess I should check signedess too
 
(Besides, template <typename T, T a, T b> constrains them to be the same.)
 
But what about the macro?
 
@Pubby Fuck unnecessary macros up their cold dead arseholes.
 
9:59 PM
Wait, you're not doing clamped integer.
 
I'm doing an integer that can hold values between a specified range
 
So what's the purpose? Integral literals are typed anyway, so you can't say 9999999999999999, 'cause it's too big for int.
So you have to remember about the type anyway.
 
But decltype(9999999999999999) should give a type that can hold it, right?
 
No, it's int.
 
(or give a warning or something if it can't)
 
10:01 PM
You have to type literals explicitly if they're too big for an int.
 
can I initialize std::vector like arrays? with curly braces?
 
Why does this work then? :S
 
I don't believe in C++ anymore.
 
You actually believed in it? :P
I think it was @LucDanton who told me about the decltype thing, maybe he can shed some light on what's going on
 
Xeo
10:04 PM
@CatPlusPlus It gets promoted to long, but that's it IIRC
 
There's L suffix.
 
Xeo
I know
 
C++ fails at literals.
 
> C++ fails
2
ftfy
 
Xeo
@CatPlusPlus Well, it inherited them from C, so...
> The type of an integer literal is the first of the corresponding list in Table 6 in which its value can be represented.
no suffix:
int, long, long long
for decimal constants
octal or hexadecimal also got the unsigned versions
 
10:15 PM
ohai
what's the difference between using std::string::compare and using operator== on the std::string ?
 
Xeo
@TonyTheLion compare is more like strcmp, giving a clear lexicographical comparision
i.e., returning -1, 0, or 1
 
ah right
 
@Xeo Not all of them. 'a' is int in C and char in C++.
 
Xeo
@DeadMG I knew that was gonna come
@TonyTheLion Oh, and normally operator== is implemented in terms of compare, which in turn is implemented in terms of traits_type::compare
 
std::vector<int> vec;
cv.push_back( 3 );
return cv;

is it possible to write it in a line? `return ...` ?
 
Xeo
10:23 PM
return {3};
In C++11, of course.
Otherwise, it's possible in two
 
@Innuendo in VC++10/11 you can use a lambda
 
@Xeo cool
 
Xeo
int init[] = {3};
return std::vector<int>(std::begin(init), std::end(init));
 
I use g++
 
Xeo
Version?
 
10:25 PM
4.6.1
 
Xeo
@Abyx That would only make it a single line in the sense of lines, not in statements, though :P
 
@Xeo EDIT ALL THE THINGS
 
Xeo
@Innuendo That should already have braced-init
try return {3};
 
thanks
 
@Xeo single expression
 
Xeo
10:26 PM
@Abyx :P
or init + length_of(init) with template<class T, size_t N> size_t length_of(T(&)[N]){ return N; } with optional constexpr
 
@Xeo in VC++ we have _countof
 
Xeo
@Abyx And in standard C++, we don't.
 
poor standard C++
in C we also don't have many things
 
Xeo
C sucks.
 
^ just an observation
24 mins ago, by DeadMG
> C++ fails
 
Xeo
10:30 PM
@Abyx Also, std::end(init) - std::begin(init)
 
return {} doesn't work with my version of g++
 
Xeo
did you compile with -std=c++0x?
 
@Innuendo Upgrade your G++.
 
nope :)
 
Xeo
@DeadMG Won't help if he doesn't compile with the correct flags :P
 
10:32 PM
lol
 
with -std=c++0x it works! =)
this flags enables c++11 ?
 
Xeo
Yes, C++0x was the unofficial name for C++11 before it became a standard
In GCC 4.7, it's aliased with -std=c++11
I don't know about GCC 4.6, though, so I didn't mention that
 
4.6 doesn't know 11
 
@Xeo -std=c++11 was introduced with gcc-4.7
 
Xeo
:)
 
11:04 PM
> The entire Pro Git book written by Scott Chacon is available to read online for free. Dead tree versions are available on Amazon.com.
Lol.
 
:)
 
sbi
Look, matey, I know a dead room when I see one, and I'm looking at one right now.
 
Almost
All us programmers have suddenly begun to get lives
 
sbi
The room didn't really move, you just hit it!
 
My C is a bit rusty - could someone kindly confirm that my reasoning in this answer is correct?
 
11:14 PM
Keep it that way
 
@sehe Did you get a new avatar?
 
@sbi By the way, ironically I found out yesterday, that I recently entered the frequent users list for Lounge<C++>
@KerrekSB Yup. Some while back
 
@sehe The animal kingdom seems to rule among C++ers.
 
Apr 13 at 18:01, by rubenvb
@sbi hey, we don't have a polar bear in here...
Apr 13 at 19:11, by sehe
@rubenvb Fixed that for you. Refresh your browser caches !
 
sbi
@sehe Well, I just found out you got kicked off again.
 
11:17 PM
@sehe What an odd request. Rarely does one wish for more polar bears.
 
@sbi I must be on the very edge. It's probably only if thecosh shuts up for a few minutes during the day that I get a chance to get on the list :)
 
woof woof
 
sbi
@sehe The last one or two places are more or less constantly shifting.
 
@KerrekSB I know of a few environmentally engaged organizations that would love to oppose that claim
 
@sehe Nah. What they should wish for is a bigger Arctic ice shelf.
 
sbi
11:19 PM
Maybe we should cut the list down to the first 8 frequent users, rather than all ten of them. Otherwise it's always going to be haggling every time someone is added or removed.
 
Then the bears will come automaticallly.
 
@sbi I thought it was rather hilarious that I'd be on there, however fleetingly, since I had just 'complained' an hour earlier:
yesterday, by sehe
Who is on the frequent list, anyways. I still don't know how to manage that. I guess, anyone who started using chat after 2009 will never be in the top N
@sbi I didn't even mean to imply that. Being on the frequent list is nice enough. Having an italic username is something I can achieve by just modifying the SO chat userscript :)
 
@sbi I thought we decided to round up with the bottom few places, not down?
 
@KerrekSB There is a correlation between the two, anyways
@KerrekSB Looks fine to me
I think I just brought the room back to life with a single smile there:
10 mins ago, by sehe
:)
 
sbi
@DeadMG Oh, did we? Um. Well.
 
11:23 PM
@sehe Thanks a lot
 
@sbi Not that I object to reconsidering, of course.
 
sbi
@sehe Actually, that smiley pretty much destroyed the punchline I was about to make.
 
@sbi Huh. Sorry, I guess :)
 
sbi
Hey @Cheers, I just thought, Stackoverflow is like Usenet with Eternal September built right in, plus the means to deal with it. :) Would you approve?
 
You were going to tell @maxpm that his quote-sharing didn't really get much of an audience? I suppose he noticed (then fled the premises)
 
11:25 PM
Yeah but you forgot to mention Herb Schildt
 
@CheersandhthAlf Didn't he write some schitty C++ book?
 
I'm still here. Just kind of preoccupied.
 
Bull Shildt!
5
 
His C++ reference was recommended as a cheap way to get the C++98 standard. The low price was explained as compensating for Schildt's commentary.
 
sbi
11:26 PM
@CheersandhthAlf How would he fit into that? I mean, the only thing Usenet had for Schildt was despise, no?
 
@CheersandhthAlf Who's he? The 'Annotated' guy?
 
I have a book by him. A friend's friend gave it to me a while back.
 
Yes. But I think there's a lot of HS commentary on SO. Rationalizations of things, that sound plausible, but has no relation to reality.
 
sbi
@DeadMG He was actually most famous for an annotated version of the C standard that was famously bad. His C++ books, however, are no better. Or so I'm told. I never read anything by him.
@Maxpm A "friend", huh?
 
@sbi Yeah, there's a reference to him on the C++ book guide and list
 
11:28 PM
Dead trees and all?
Fire that friend(2) :)
 
sbi
@sehe "You" as in me? What?
 
@sbi You were talking about some kind of punchline. You're making me curious
 
sbi
@sehe Oh. No, it was about the dead room. I actually googled up the dead parrot script for it.
 
@sehe No entry for friend in section 2 of the manual
:C
 
dead trees are for noobs
 
11:30 PM
@sbi :)
@Maxpm Try the dead tree version
 
sbi
@DeadMG And for me. I prefer dead trees.
 
@sbi orly?
 
@sbi Everyone does.
 
dayum
obviously i r out of touch
 
sbi
@sehe That would imply that @Dead isn't "everyone." Um. Well, has a certain ring, it does...
 
11:31 PM
I love dead tree references. They're for browsing and flipping through.
Google is lousy when sitting in the reading chair
 
@sehe Tablet? :P
 
sbi
@DeadMG Lying in bed, with a night light, reading on paper is the best for my eyes.
 
user406009
You could use an ebook reader.
 
@DeadMG How on earth does a tablet alter that? What dya think I carry? My 24" monitor + keyboard? Lols
 
@sehe You can sit in your reading chair and read off a tablet/kindley thing.
 
user406009
11:33 PM
The eink displays are pretty close to paper quality.
 
@EthanSteinberg I have yet to try one out. Call me conservative
 
eink is fantastic
 
user406009
Not to mention the built in dictionaries(when an author decides to be stupidly creative)
 
not to mention cool concept and technology
 
@Scottymac it's grayscale
 
sbi
11:34 PM
@sehe Actually, I make most of my browsing on Wikipedia nowadays. I continuously get lost in it. There's a few tabs I must have had open for months, always meaning to, some day, get back to them and finish reading whatever I once ran out of time over. For me, it isn't TVTropes. I just find Wikipedia dangerously amazing.
 
@DeadMG Nah. That is not the same. Not the 'feel' of where, approximately in a book something is (middle, more towards the end; you know, it's on that left page, somewhere a little before all the tree diagrams). Stuff like that make the dead tree version more enjoyable for browsing/snooping around
 
@Abyx exactly what makes it like reading a book... no glow either
 
@sbi Well, you should be careful never to subscribe to any science magazines like New Scientist.
they are quite amazing
 
sbi
@EthanSteinberg Yeah, I noticed that. The problem I have with ebooks is the vendor lock-in. Lots of publishers have evaporated during my life, but I can still read their books several decades later.
In fact, I just seem to get my daughter hooked on Diskworld.
 
@sbi I should start doing that, perhaps. Tropes/reddit/whatnot never worked for me. I tried to get lost a few weeks ago (even posted some trope links here when the robot was slacking being slow to do the job). But I can't seem to get hooked on it
 
user406009
11:35 PM
The free software calibre converts everything to everything.
 
@DeadMG I used to buy New Scientist and go for a Whopper at Burger King (no mayo). I miss the junk food.
 
@EthanSteinberg "Harrius Potter" is not stupidly creative. That's just latin, fyi
 
sbi
@DeadMG I don't have time for that. I have a very hard time following up on the most important news on a daily base.
@EthanSteinberg I actually use my phone to look up stuff when I'm reading.
Can't stand tomato.
 
Just now I was watching Going+Deep/C9-Lectures-Stephan-T-Lavavej-Advanced-STL-1-of-n for the first time. Amazingly, I learned a few things - or became more aware of them, something I hadn't really expected
 
@sehe I didn't find them especially advanced. But then, I'm a genius, so
 
11:38 PM
@DeadMG Yeah. I feel the same way :)
 
@sehe I was watching that today too, what a coincidence
 
@Pubby No. You read the same posts, linked from here, indirectly:
 
I got it from Fred
 
I think I need to re-watch shared_ptr and friends... — FredOverflow Aug 12 '11 at 10:18
 
sbi
@sehe I never do that on purpose, you know. I don't go there to get lost. I want to look up this one thing, and then it's so full of interesting things... I usually go there to find out about, um, let's say Eternal September, and end up with a dozen tabs ranging from pre-Colonializational African kingdoms to Art in the Chinese Ming dynasty to the history of IMDB. I am a sucker at Wikipedia.
@sehe The difference is you say that with a smiley attached, while he should.
 
11:41 PM
@sbi You might want to stay away from this Wikipedia page
 
I find it slightly ironic that Git is not among GitHub's list of famous users.
 
That's strange, I removed the exclamation mark but the message didn't get updated
 
sbi
@EthanSteinberg Yeah, I noticed that. But why settle for something "really close" when I can have The Real Thing™?
 
@sbi Ah. Your reference made me google Eternal September too :) I went through Wikipedia, indeed, but the links were fairly safe for me this time
@Maxpm Who is Git? O you mean, the git repo isn't?
 
@sehe Yes, I mean the repo.
 
11:43 PM
@Maxpm I suppose git is officially maintained on kernel.org (you can see what influences that)
github has the honour to keep a zillion of mirrors too
 
The Git website's "Git via Git" section points to the GitHub repo.
 
sbi
@Pubby I just had a look at it and it's plain and uninteresting. Didn't I say I go for real information I really want to know? And then there is other real information connected to it, which I don't know enough about either.
Tarek keeps sending those:
WANTED: Average Internet Users for $100-250 Hourly Job http://bit.ly/KQzHSk
I really wonder what that is?
He is (used to be, anyway, but his avatar seems to confirm it) on the VC team, after all.
 
user406009
I bet it is going to be using that stupid social networking indicator.
 
@sbi Twitter hacked, most likely.
 
user406009
"Popular" people will be enlisted to post spam for the company.
 
11:47 PM
@Maxpm other pages seem to mention mailing lists and stuff on the kernel.org predominantly. The Documentation/SubmittingPatches documentation mentions:
> send the patch to the list (git@vger.kernel.org) and the maintainer gitster@pobox.com) if (and only if) the patch is ready for inclusion. If you use git-send-email(1), please test it first by sending email to yourself.
 
@EthanSteinberg You can tell it's a scam because the number of "spots left" is always 67 when you load the page, but always decreases with time.
lots of Flash adverts use the same techniques
 
@sbi My god! Look at that countdown!
 
rofl, it's a gif that just counts down
 
@EtiennedeMartel it's stuck. Not moving.
 
wait for like 15 seconds
 
11:49 PM
@JamesCuster Haha. I noticed it was a gif, because it said 64 earlier, and back to 67 when I refreshed because you drew attention to it.
 
Xeo
@sbi I like the last three links on the bottom
 
by the way
 
Seriously, the whole page screams "I AM A SCAM" so I didn't pay much attention at all.
 
sbi
@EtiennedeMartel It went from 64 to 61 while I just looked. Now when I went back it was at 67.
 
I'm thinking about spending some money to attend a C++ conference at some point in the future
 
sbi
11:50 PM
@DeadMG Ah, yeah. I forgot about that.
 
any upcoming?
 
Xeo
I need to attend whatever that thing was in September in Stuttgart
 
sbi
@DeadMG I think you just missed the ACCU conference. Rumored to have the best value for money.
 
lol
 
Xeo
It got free talks from Scott
 
11:51 PM
oh well
 
the gif is actually hosted from: _http://www.superquickmoney.com/_
 
I haven't written a presentation anyway
 
sbi
@sehe Um. You already said that.
 
Xeo
@JamesCuster That's the "Home Page"
 
It's so Web 2.0
 
user406009
11:52 PM
Wonder what they plan on doing with just an email and a name.
 
user406009
Phishing attacks?
 
sbi
Well, I guess I still have an email address of Tarek floating around somewhere, I should dig this out and send him a mail.
 
@sbi Nope. I'm not the the puppy?
 
None of the Privacy Policy, Earnings Disclaimer, or TOS links work
 
Xeo
@EthanSteinberg Well, if you read below, they you get paid, and since I have a spam mail account floating around, I wanted to see what the eMail they send you says. They say your account will be approved in the next 3 days and that you need to send them your payment info so they can send you the money :P
3 mins ago, by Xeo
@sbi I like the last three links on the bottom
 
11:54 PM
@sbi Aha. I get it now :)
 
Seems legit.
 
Xeo
What the fork, somebody is having a firework near me
 
I love the "As seen on Twitter and Facebook".
 
user406009
@Maxpm For the scammers, sure. I bet those 1% of people who fall for this will pay heavily.
 
The sad thing is that people actually fall for these things... :-/
 
Xeo
11:58 PM
I like that MS's hotmail actually put their mail into the spamfolder, though :>
Anyways, bedtime for me, g'night
 

« first day (574 days earlier)      last day (4386 days later) »