« first day (864 days earlier)      last day (4090 days later) » 

12:03 AM
> For each non-template constructor in the candidate set of inherited constructors other than a constructor having no parameters or a copy/move constructor having a single parameter, a constructor is implicitly declared with the same constructor characteristics unless there is a user-declared constructor with the same signature in the class where the using-declaration appears.
Does that mean you inherit copy/move constructors or does that mean that you inherit copy/move constructors even if there is a UD constructor with the same signature >.>
 
@LucDanton sounds like default/move/copy constructors are never inherited.
 
Hello, Cruel World!
 
move/copy makes sense, since the signature would be different
not inheriting default constructor doesn't make sense though
 
How do you conclude that default doesn't get inherited?
Ah, no parameters.
Let me check something then.
 
> For each ...constructor ...other than a constructor having no parameters or a copy/move constructor having a single parameter, a constructor is implicitly declared with the same constructor characteristics ...
 
12:08 AM
Yay, you just fixed a bug.
 
wut
 
There was a missing default constructor :p
 
> template<class U, typename annex::enable_if<annex::is_convertible_from<__gnu_debug::_Safe_iterator<std::__cxx‌​1998::_Deque_iterator<int, int&, int*>, std::__debug::deque<int, std::allocator<int> > >, U&&> >::type ...<anonymous> > annex::ephemeral<__gnu_debug::_Safe_iterator<std::__cxx1998::_Deque_iterator<int, int&, int*>, std::__debug::deque<int> > >::ephemeral(annex::optional<T>&&);
I don't understand where that comes from.
It's a template that doesn't use its template parameter? Wut?
@EtiennedeMartel It does!
At first I thought that GCC was inheriting the optional move constructor, but then I noticed the template param list.
Oh wait, the template is for the class. So it appears to be a move constructor. I'm fairly sure GCC doesn't inherit special constructors so it may be an error message bug.
Okay, got minimal testcase. Time to file.
 
o_O
Jesus christ.
What kind of template is that.
 
12:17 AM
@Nathvi good night
Okay, before I go to bed, let me say this:
Night all
 
@sehe Later.
 
0
Q: using num.toFixed();

JoelIn the function below, where would I include num.toFixed(2); to make the valuer of 'total' display to 2 decimal places (price)? function calculate_total(id) { var theForm = document.getElementById( id ) total = 0; if (theForm.toyCar.checked) { total += parseFloat(theForm.toyCar.va...

BREAKING NEWS: These people are fucking retarded
 
-90
Q: Evaluating the risks of allowing teen moderators on the SE network

user774411I have a David vs Goliath case here involving a teen moderator on Stack Overflow. His display name is BoltClock. I'm a low reputation SO user (less than 150 points) who was recently suspended for Voting Irregularities by BoltClock. Eventually the mistake was corrected by another non-teen moderat...

^^ Oh hey, I remember that.
 
user1357851
12:32 AM
 
@Mysticial Wooow
-90.
Get fucked, kid.
 
@MooingDuck Tbh I like it better that way. With current rules the default constructor really doesn't get in the way, and is easy to reintroduce if it doesn't get declared/defined for free.
 
Hmm...how do I do a strikethrough in my SO post?
 
nope
 
<strike>meow</strike>
 
12:38 AM
@Mysticial thanks for doing it...still doesn't answer how =p
@ThePhD yippee!
 
Am I the only one who thinks this "answer" completely misses the point?
7
A: What am I doing wrong? (C++ strings)

Richard BrownUse single quotes around the '?' character to indicate a char instead of a string. That's why your comparison is failing.

 
It definitely isn't a complete answer.
 
@JerryCoffin I haven't had a chance to look at that Q yet. It caught my eye (briefly) a moment ago...
 
Mmmh, got my testcase wrong actually. Oh well, I give up.
 
@JerryCoffin The answer does explain why the compiler error occurs and gives the solution to fix it. Of course, he doesn't address the other compiler errors that will come up after that is fixed.
 
user1357851
12:50 AM
Am I the only one paranoid about all those 1 rep newblets who suddenly appear in this lounge, happens more often these days?
 
0
Q: How to create a Callback function by Using C/C++

Yoshua Joo Bindoes C\C++ Support a mechanism for callback function ? and how to create it ? I've written several code, to create callback function in C++ but it failed .. #include<iostream> using namespace std; void callee() { printf("callee\n"); printf("calleeeeeeeee...

wut
 
error| expected a type, got 'overload_element'
error| expected a class template, got 'overload_element'
Then what is it >:(
 
void* !
 
1:11 AM
229
A: How do I "think in AngularJS" if I have a jQuery background?

Josh David MillerThere have already been a couple of great answers! But I'll offer my perspective too, while trying to limit overlap. 1. Don't Design, Then Mark Up! In jQuery, you design a page, and then you make it dynamic. This is because jQuery was designed for augmentation and has grown incredibly from that...

> Don't even use jQuery. Don't even include it. It will hold you back. And when you come to a problem that you think you know how to solve in jQuery already, before you reach for the $, try to think about how to do it within the confines the AngularJS. If you don't know, ask! 19 times out of 20, the best way to do it doesn't need jQuery and to try to solve it with jQuery results in more work for you.
-1 Not enough jQuery
lol
 
1:35 AM
heylo
 
hoy
 
1:46 AM
'iya
 
Hi all.
 
I think it's shared_ptr time.
 
こんにちは
 
안녕하세요
 
Kumusta.
 
1:53 AM
하이.
 
user1357851
对酒当歌,人生几何?
 
?
what happened
 
It used to be like 12 lines long
 
I have no idea what you're talking about.
 
Fuck, I tried to type Chinese. Then I realized that I don't have the Chinese keyboard set up on this laptop.
 
1:55 AM
rofl
@Rapptz nvm
 
I really wonder how they type Chinese.
 
@MarkGarcia I think they type based on the pronounciation, and then they get lists of possible words that match those pronounciations. This is what I've seen once at least
 
今天好不好?
 
@AndyProwl Like, um, code hints in IDEs?
 
1:57 AM
@Rapptz LOL it's cuz you have Tellkitty plonked.
 
user1357851
Old here, do us a favour, do not show us your plonk list, nobody cares
 
@MarkGarcia Kind of
 
@Telkitty He isn't. Anyone would be confused.
 
At least I've seen MS Word working that way
 
Oh, I forgot I had Telkitty plonked.
I think I plonked him the first day I saw him.
@Telkitty Sorry?
 
user1357851
1:59 AM
np
 
Reminds of the time when some guy trolled us to the point where we deleted his only question and booted him from chat when his rep went down to 1.
 
Xeo
Hm, 3am. I should be sleeping right now.
 
Anyone here running for the election?
 
Xeo
But watching AMVs with 7.1 surround is too interesting, it seems.
@MarkGarcia Not me. No meta participation to speak of, and no time.
 
> AMVs
what year is it
 
Xeo
2:01 AM
@Rapptz Anime Music Video.
Come again?
 
I know what an AMV is
 
Xeo
So, why the question?
 
It's just they're such an old fad I thought it died out by now
 
Xeo
oO
 
Because AMVs were always shit with a few of them being decent.
 
Xeo
2:02 AM
They're not an "old fad" by any means.
 
Nah, it's you who has become an old fad
all the hip kids watch AMVs
 
@Rapptz I'm sure it'll go away once we run out of teenagers.
 
Have you ever browsed the countless Linkin Park, Breaking Benjamin and other "rock" band AMVs?!
 
my favorite are the ones with shipping
 
Xeo
Yeah, everyone likes to throw some famous band songs on some randomly composed anime scenes. But those are bad AMVs, and I don't watch them. :P
 
2:03 AM
Not to mention searching for a specific scene for an anime on youtube is impossible because people feel the need to make an AMV out of it.
 
At least that's how non-natives do it.
 
@Mysticial o.O is that an addon for your browser? or the os' keyboard that does that?
 
Cool. By syllables (or whatever you call it).
 
Xeo
@Rapptz The fuck
 
2:06 AM
@Borgleader It's in the OS. You can just enable in the language options.
 
@Xeo broken DS = GBA!
 
@Rapptz lol
 
Xeo
@Rapptz A sign of Nintendo quality that it works at all after being broken in half. :P
 
Hard to know what OS you're using :P
 
Xeo
I mean, you have to admit, their handhelds are fucking sturdy.
 
2:08 AM
>.>
 
I don't think I've ever broken a Nintendo console save for my N64 that exploded while I was playing Mortal Kombat
 
Xeo
@Rapptz > exploded
 
literally
 
@Rapptz wut
 
Xeo
The fuck did you do?!
 
2:09 AM
@Rapptz What happened? You finished it ?
 
Did you shit on it or something?
 
See what I did there?
 
IIRC it was because it had american plugs and I was using a converter for European plugs and it didn't like that very much and it went kaboom
 
I tried to make a joke about fatalities and fatal errors but it doesn't work.
 
Xeo
Oh, that sounds rather sensible.
 
2:09 AM
@Rapptz wtf
 
@Rapptz oh
 
Xeo
@LucDanton Yeah, it's harder than you'd think.
Anyways, off to 5h of sleep~
 
night
 
Sometimes when I'm bored I like to watch infomercials.
 
Woa.
Look at the face of that guy with the fly and stuff.
 
2:16 AM
not as cool as this
 
BAR MITZVAH!
 
spahtzula
@Telkitty it rhymes with chubby and hubby and every other word that ends in ubby
(although some people think they're funny by calling me "pubey")
 
user1357851
Oo
 
2:32 AM
54
Q: How to deal with sexual advances from students

Daniel E. ShubOne of my students is an escort/stripper and she has offered me (and other faculty in my department) her "services". I am pretty sure my initial reaction of "thanks for letting me know, now can you answer the question about how to calculate the standard deviation", may not have been the best reac...

@Telkitty But what if your business is pleasure?
 
@MarkGarcia That's actually a very good question.
 
> internal compiler error: Segmentation fault
 
@EtiennedeMartel It could be happening more often than we think.
 
Hey, that's been a while.
Oh wait, I already reported that bug.
 
2:51 AM
Sexiest man alive (and I mean that in a totally heterosexual way)
 
I just noticed that there's a lot of kids nominating themselves in the elections.
 
@Borgleader You could have said so in an homosexual way and it wouldn't have changed much.
It's not like we would have judged you.
 
I know
 
Hurray, got rid of constexpr enabled _ = static_cast<enabled>(0);.
 
> You've earned the "Guru" badge for What does the 'void()' in 'auto f(params) -> decltype(…, void())' do?
Thanks, reddit!
 
3:00 AM
I bow down to you, o guru.
 
I was in the train working on my lexer/parser combo using boost::spirit and after a while I realized...
 
@Pubby Oh.. It was you that posted it?
 
@Rapptz No, some other guy did. I would feel evil to post my own SO crap on reddit.
It wasn't even a very interesting answer. This is the answer that should have been: stackoverflow.com/questions/9530928/…
 
I still stick to default template parameters, not return types, when it comes to SFINAE. Latter reminds me too much of old uses of enable_if I suppose.
@Rapptz Hey, I just noticed this recent posting!
 
That's actually even cooler.
 
3:10 AM
Totally_ordered
 
guys remember Turbo C?
 
What is that Fucked_up_case?
@Rapptz Yeah, I was expecting it but I'm still amazed.
 
proof of concept I hope
 
Brian Webster from a new account.
 
Oh so it was him. Funny, I didn't bother checking the shareID. lol
 
3:11 AM
I guess he couldn't resist the urge to get badges...
 
I like this.
It's implemented in GCC 4.8? Whoa
 
I'm not sure what Semiregular is. I hope it's Regular minus default construction.
 
Whoa.. There's that CSS again. Why is that CSS so common? concepts.axiomatics.org/~ans
 
@Mysticial This guy? Is that the guy who posts tons of SO stuff on reddit to get badges?
 
Yep.
 
3:13 AM
@Pubby yeah
His old account was getting caught in all the spam filters.
 
I feel like his puppet :(
 
@Pubby Things like publicist?
 
I kinda warned him already not to do it too often as it will spoil future submissions.
oh well...
 
@LucDanton He's got 12 publicists already
Why does publicist even exist? It's such a stupid badge.
 
It brings traffic to the site.
 
3:17 AM
> There is no magic to the definition of Sortable: it is just a constexpr function returning true when its type argument is a permutable random access container with a totally ordered element type.
 
But it's highly gameable.
But not without consequences.
 
Wonder if we can bikeshed that to metafunctions.
 
@BoltClock The latter one does something fishy. For example:
4
Q: Javascript - Do I need to use 'var' when reassigning a variable defined in the function's parameters?

John HimmelmanI've found many definitions of the 'var' statement but most of them are incomplete (usually from introductory guides/tutorials). Should I use 'var' if the variable & scope has been declared in the params list? someFunc = function(someVar) { // Is it considered good practice to use 'var', ...

534 views
Probably something along the same lines as:
39
Q: How did someone get "Publicist" with 27 views?

MysticialUser Pillum got the Publicist badge on this question with only 27 views... say what?!?! Screenshots to prove that it was < 1000 at the time this post is made:

I know Bill and Yannis also farm the badges. But they both have legitimate Reddit accounts.
 
Oh, I guess we can have requires be followed by a constant expression contextually convertible to bool.
 
3:20 AM
@Mysticial Yeah...
 
requires Equality_comparable<T>()
bool operator==(const vector& x) const;
Not just for templates! (That's a member function of std::vector.)
Well, it's an example. std::vector doesn't have such a member I think.
 
@BoltClock Where do you get all your announcer badges?
You have a shit-ton and a half of them. :P
 
@Mysticial I tweet Stack Overflow links a lot
 
ah
 
But I do not have nearly enough people paying attention to ever manage anything beyond Announcer
I say people paying attention because I think most of my 1.7k followers don't actually read the stuff I tweet. I protected my account recently because I didn't want random people following me anymore
 
3:27 AM
I recently (two days ago) put up a link on my website. And sure enough, I got an Announcer badge today.
I guess I still get plenty of traffic.
 
There's 25+ people in this chat. Does that mean every time someone dumps their stupid question they get a badge?
 
no
because it's from within the network
 
0
Q: Chat onebox kills referral link

ManishearthToday, I just realized that when you onebox a link in chat, the referral tail is removed. For example, if I try to onebox http://meta.stackoverflow.com/q/9134/178438, it links to http://meta.stackoverflow.com/questions/9134/jon-skeet-facts (Evidence that I used a referral link) Could this be fi...

 
inb4 people use no-referral services.
 
There are some guys on reddit calling for a ban on referral SE links.
 
3:34 AM
is it based on referer?
 
LOL
 
for views I mean
 
This was relatively recent after Brian Webster's mass submissions.
 
@Mysticial Site-wide, or is that like subreddit policy?
 
@LucDanton Not sure.
 
3:35 AM
/r/programming needs all the help it can get to not be that bad, so I could see that. Seems a bit drastic site-wide though.
 
@LucDanton you mean like this? tinyurl.com/poonta
 
@Pubby I believe link shorteners are already auto-spam removed.
On reddit.
 
on a different note
 
@Pubby This question is so bad that I'm giving you a view anyway.
 
White chocolate sure is delicious :(
 
3:36 AM
@Rapptz It's my favorite kind of chocolate!
I wanted to love dark chocolate but for some reason my tastebuds just won't have any of it
At least it doesn't cause any allergic reactions or somesuch
 
I like all kinds of chocolate (so long as it isn't too dark) but White chocolate tastes really good.
 
I think dark chocolate tastes better if you freeze it first
 
The best thing to do is eat dark chocolate for a year then eat pure milk chocolate :D (done that)
 
@BoltClock A lot of people make (what I consider) a mistake by trying to "progress" toward dark chocolate by stages, going from (say) 50% to 60% to 70%... At least IMo, it's a mistake -- the "mid-range" dark chocolates taste like crap. The darkest taste good (to me) but entirely different from a typical sweet chocolate.
Of course, I'm also the first to admit that this route doesn't mean anybody will necessarily like them -- but at least it gives some chance.
 
@JerryCoffin Thankfully I don't do that - at least, I don't try to. But I guess I don't take notice of cocoa content ;)
 
user1357851
3:43 AM
How is this site keeping track of those who are logged on?
 
Hidden cameras
 
@JerryCoffin I usually prefer 70%.
 
do i get minus rep for chatting?
 
yes
 
@c0dem0nkey No.
 
3:44 AM
it's -0.001 rep per message
 
OH MAN
lol xD
 
@c0dem0nkey you waste time and time is rep
 
@Rapptz More than that if you're in this room.
 
Whats rep if im bored
am i the only one in the office ryt now
 
It's 10:45 PM here so yes
 
3:45 AM
so not bedtime for you yet i guess
 
I don't have a bedtime.
 
It's 11:45 am here, but I'm in a weird time zone, so
 
user1357851
@Pubby But what if I have 3 pcs and logged on at the same time like I tend to do?
 
its 11 45 am here. i mean really 11 45 am
 
@Telkitty there is probably a special agent assigned to you to watch when you log on.
 
3:48 AM
@c0dem0nkey location Philippines
 
@boltclock yea . my profile says so
 
One of the mods lives in the Philippines too
I'm in Singapore. So exact same timezone
 
lol.
thats nice.
alot from india/singapore here i notice
 
hey so i'm learning c++11 threads
and for what ever reason every example i do only has 1 thread, even the ones that should have more
 
Woa, many noobs here tonight.
Or rather, newcomers.
 
3:51 AM
how do i increase the number of threads
@EtiennedeMartel i'm meganoob
 
No0b lol. i feel like playing online.
 
@EtiennedeMartel Would you stop being nice, it's sickening...
 
@c0dem0nkey Pretty sure I'm the only one from Singapore who isn't a C++ programmer who visits the Lounge once in a while
 
@Borgleader Nah.
 
oh crap. im not a C++ programmer. im C# lol
 
3:52 AM
@EtiennedeMartel I guess I'm an extremist about nearly everything -- I like around 90%.
 
user1357851
@Pubby if you are talking about the cookies, they are such dumbass agents
 
@Telkitty I don't know anything about the web but it's not done with cookies. It's all done server-side.
 
@JerryCoffin I tried it once. Too bitter for me.
(Ironically, I like IPAs quite a lot, so, yeah)
 
@JerryCoffin if you were a true extremist you would eat the cocoa beans raw!
2
 
user1357851
@Pubby If they ping me to make sure I am logged on, they aren't doing it frequent enough
 
3:55 AM
@BoltClock Mark Garcia does for sure. I can't remember who, but I think there may be another as well.
 
user1357851
I could be off for 2 mins then log back on and SO site would indicate that I have never logged off
 
@JerryCoffin He's not a mod ;)
But I see your point!
 
@Telkitty Well, maybe it does need cookies then. I dunno.
Cookies log you back in once you timeout or something
 
@Pubby I'd probably try that if I could find a source without buying massive quantities wholesale.
@BoltClock Yeah, Tim, that's the one I was thinking of.
 
@Telkitty are you a girl
 
user1357851
3:58 AM
@JerryCoffin What do you think of this:
 
user1357851
 
@Telkitty your name sounds like one.
 
lets say i have 4 threads that each generate random numbers from a different generator, how do i sum all the random numbers from each thread?
using c++11
 
user1357851
@c0dem0nkey If you think I am a girl, it would be because you visited my website ... or from other sources
 
@pyCthon use std::futures I suppose. Having threads join so quickly sounds silly though.
 
4:00 AM
@Telkitty dunno. just a feeling
 
@Telkitty Doesn't immediately jump out as particularly appetizing -- but in younger days, I went on few "camping trips" with the USAF air crew survival school, during which I proved I could eat nearly anything if I want to badly enough.
 
user1357851
@JerryCoffin I would be too if I was desperate enough (i.e. starving)
 
@JerryCoffin So you're secretly Bear Grylls?
 
@Pubby thanks, i'm just trying to speed up the slowest part in my code xD
which happens to be C++11 random number stuff
 
@pyCthon Well, if you're joining so quickly it's going to end up slower
What rng engine are you using?
std::linear_congruential_engine is probably the fastest
 
4:04 AM
@Pubby right now std::mt19937
 
@pyCthon it's probably worth trying a few others. You never know, might get a speed improvement.
 
@Telkitty I wasn't even close to starving -- but as an instructor, you were expected to give the students an idea of what they could survive on if necessary. We dreaded going to the Oregon rain forest, where you got to eat a particularly nasty breed of grub (but without cleaning or cooking).
 
@Pubby i tried taus88 and mt11213b but the quality of the numbers was too low
 
@Borgleader Not a chance.
 
@pyCthon Ah, I see. Well, I dunno. Good luck.
 
4:06 AM
taus88 is the fastest so far i'll try linear_congruential too
 
@pyCthon Try Blum-Blum-Shub to re-calibrate your ideas of speed.
 
@JerryCoffin define two very large prime numbers
@JerryCoffin might be slower based on your definite of large in that case xD
 
@pyCthon For its intended purpose, "large" typically means the product is at least 512 bits. IOW, in real use it's horrendously slow compared to "normal" generators (at least a couple orders of magnitude slower).
 
yeah
doesn't help that the distribution i need is slow too
inverse gamma distribution
 
@JerryCoffin Milk Chocolate master race.
 
4:21 AM
@ThePhD I never quite got this "master race" stuff. What's the point of taking people who studied Kung Fu for a long time, and seeing which of them can drive a car the fastest?
 
@Pubby so i make a vector of futures? one for each thread?
 
There's no point at all. It's just a silly way of saying "I like this better than the other."
 
@ThePhD white chocolate is the master race, obviously
 
@Pubby Obama~
 
@pyCthon I don't know, maybe
 
4:22 AM
Tee Hee look at me being all controversial and political~
 
@pyCthon You create the futures, and the library decides how many threads to use to produce your results.
 
4:46 AM
@JerryCoffin but with C++11 i need a separate generator on each thread how will futures know to do that?
@JerryCoffin I.e. the c++11 random generators aren't thread safe
 
@pyCthon The point is that futures are for situations where you don't really need much control over the thread, and just want to say "get this work done, and sometime I'll come back and ask for results." If you need much more than that, futures probably aren't a very good fit for the job at hand.
 
@JerryCoffin i just want to generate random numbers on each thread
with C++11
 
Guise
Does anyone have any idea what the very last message a window might recieve could be?
 

« first day (864 days earlier)      last day (4090 days later) »