« first day (1026 days earlier)      last day (3915 days later) » 

12:00 AM
Are you drunk?
 
@sehe No, experienced :((
 
Who is Anne? Why should her daughter have been "steralised"?
(n.m. I'm not sure I want to be able to follow that)
Ah, you mean, the daughter became a bad mom?
 
@sehe if they have anything that could count as a "disability" then they can be a net financial gain.
 
@MooingDuck Wut. What country is this
 
@sehe USA?
 
12:02 AM
@sehe So bad, I would not like to explain in a public forum.
 
@MartinJames That's a shame. Sorry to hear that.
 
@sehe Yeah. I could see things going bad, but nothing I could do about it :((
 
My sister's ex was deaf and had two kids, one of which had a messed up foot. His sole income for like four years was disability and unemployment. He did nothing but Everquest 2 all day, but ate like a king.
Then again, it wouldn't surprise me if he was in serious debt and just kept hiding from it
so what do I know
 
@MooingDuck That
 
@MooingDuck Anne's daughter could not afford Everquest 2 - she had to make do with Super Mario on PS2 all day.
 
12:06 AM
Also, eating "royally" isn't too hard. As long as you keep expenses down. No sports, no music lessons, no parties, no movies, no nothing. Libraries are good. Skip-ropes, also good. No new clothes (with the right friends, there's always a second hand), no hairdressers (we all got scissors, right)
 
@sehe true enough
 
Now, add that sports/music/libraries are often subsidized, and especially so for low-income families, things might appear "easy"
 
@Borgleader I assume that includes many many kids who are simply in another area of the store unsupervised
 
@sehe Yeah - you can bring up a child on a low income. Sadly for my family, it requires some responsibilty to go with the breeding.
 
I know this basically from first experience. Not that I ever realized it at the time. And I was lucky, because we did eat modestly, so we did have music lessons.
 
12:08 AM
@sehe and they paid off too
 
@MooingDuck I would assume it includes reported missings only
 
@sehe I'd have a hard time believing the number is that high (read the source already)
 
@MooingDuck I'm forever grateful for that. And not just for the music, but the life lessons as well
@MooingDuck Well, it's the Amber alert 'association'. They might have a reason to inflate the number, but I can't see them inflating it by much. They'll want to remain credible above all
 
@sehe "The vast majority of these cases are resolved within hours." Our government can't solve anything in hours.
 
@MooingDuck That's why you go to the police :/ <half-joke/>
 
12:10 AM
I wish I had some musical talent. Unfortunately, the only keyboards I can manage are like the one I'm using now :(
 
Aren't they noisy enough?
 
@sehe Yes, it is a 'clacky' mech. keyboard :)
It's a bit tuneless, TBH.
 
There you go. Slap "John Cage' on it, and it's a musical composition
 
@sehe LOL!
 
12:14 AM
@Borgleader Dunno. Questions like that get my goat.
 
@sehe huh, doing some internet searches, I came up with the numbers 1834/day missing and 718/day abducted from various sources. Far higher than I expected
 
Anyway, I've been at my beer fridge, so g'night all. More meta-elitist downvoting derpstorms tomorrow.
 
@MooingDuck lol at second link:
> the vast majority of missing childern in the US are Taken by noncustodial parents. Is this Kidnapping, depends on your point of view
^ of course that's kidnapping. duh. (Imagine it's your child, would you call it "fun and games"?)
 
rofl, how is that not kidnapping?
 
@sehe it is, but it does make people hesitate when they hear "child kidnapped by own mother"
 
@MooingDuck not me. I can ... once again, relate from personal experience. Adn just a week or 5 ago we had such a 'family' kidnapping take place in front of the school gate. This is not a nice scene
 
o.O at the school?
 
@Borgleader At school exit. Yeah. Pretty "violent" (if you will, kicking, screaming, the grandma was hurt; kid was 'recovered' into a shelter later that day)
@Borgleader how disciplined of you to not vote first
 
i try to learn from my mistakes and try to be a bit more careful with my votes
also i felt bad for him
 
@Borgleader I don't, actually. I seriously think it must be a joke. Nobody can be ... this naive, right
 
12:22 AM
int random() {
    int i;
    return i;
}
:D
 
@MohammadAliBaydoun it's not random. It's (mot likely) deterministic.
 
maybe int* i = new int; int x = *i; delete i; return x;
that would be random no?
 
Oh yes, that would be better
 
@Borgleader without the delete, otherwise, any sane implementation would return the same value when called in a loop
 
without the delete that's a memory leak
 
12:26 AM
NO KIDDING
 
lol
 
we were trying to make it correct first, optimize later!
 
Memory leaks - for the greater good.
 
oh im sorry i missed the memo about emory leaks being correct
 
this is all UB (for the most part) ergo it all sucks
 
12:27 AM
@Borgleader Rule of optimization: random() should be random first, the resource usage is optimization
 
Who needs <random>, I have UB™ on my side.
 
What's the use if it doesn't leak? Then the perfect solution to all problems is int main(){}
@MohammadAliBaydoun Talk to the derpstorm
 
@TonyTheLion What is the wiki password so I can add a project page?
@MohammadAliBaydoun What happened to Mags?
 
user image
2
 
@MonadNewb The '96' at the end of my name was terrible, and "Magtheridon" seemed weird, so I used my real name instead :<
Also, it seems more professional ;_;
And I'm not a very professional person, so I need all the help I can get.
 
12:42 AM
@sehe Facebook gold xD
 
@MohammadAliBaydoun More intimidating
 
@sehe The lack of terrorist jokes I've encountered is surprising actually :P
Not what I'm used to. (In a good way)
 
@MohammadAliBaydoun I was referring to Muhammad
 
@sehe (I know)
 
Ah. I didn't know he was associated with terrorism
 
12:45 AM
@MohammadAliBaydoun if you're ever in need of them, go to youtube search jeff dunham
 
SILENCE! I KEEEEL YOU
 
auto silence = []() { return *(int*)(0); };
 
to be fair though, he makes fun of pretty much every ethnic group
 
return your mom
 
ohai neil
 
12:47 AM
hi
 
bored
 
as always :P
i was happy to answer a question with std::iota, then saw the bears answer and realized it was way better >.>
 
Where?
 
That's a street value of $1542214 :/
 
Never mind, found it.
1 message moved to bin
 
12:55 AM
@Borgleader Sry. That question was a bit confusing. No rep anyways
 
    array[]=Temparray[];
wot. That's some strange pseudocode.
 
@Borgleader See, I'm lazy;
What you access will get copied into the cache. Now, aligment will do a bit, valgrind cachegrind to do the rest. — sehe 14 secs ago
@Rapptz It's called wishcode
 
cv_and_he obviously isn't lazy:
1
A: Boost:Spirit:Karma: How to get current position of output?

cv_and_heI believe this approach is similar to the one you described in the comments. It assumes that the only information you can get from the iterator is the total count of characters written. It could be simplified further if you had access to the current column by modifying the header files as mention...

 
He puts everything on community wiki huh
Or is that your sockpuppet? Guess not.
 
1:03 AM
Erm. It is reducing branches. if is a branch, but while also has a branch. And there's 4x fewer of those now. In the simples case it just reordered branches, and reduces div/increment ops. In the realistic scenarios (with branch prediction?) it will allow the pipeline to remain filled because the conditions don't actually branch, whereas the while always branches — sehe 5 secs ago
^ very lazy
@Rapptz Yes he does
@Rapptz He's formerly known as llonesmiz
Mar 17 at 3:06, by sehe
@sehe My problem is that I care too much for the rep. Feel free to make an answer out of any comment of mine that you think should be one, I'll upvote it. — llonesmiz Mar 6 at 10:31
@DanielKO I don't know what made you assume either of those ("I like being verbose" or "There is no good reason to prefer explicit conversions"). In that fashion, I could assume you don't have a lot of experience in (generic) library design. — sehe 28 secs ago
^ how charming
 
implicit conversions are somewhat evil
 
Somewhat?
There are only two I like
 
@CatPlusPlus ping me when the github page is alive.
 
Did you die?
 
1:19 AM
@Borgleader With a little care in what conversions you provide, I think implicit conversions can be quite useful. The trick is to provide them primarily (exclusively?) for things like proxies and facades, where one class is intended to substitute for another, so conversion to the other type never causes a problem.
 
that's why i said somewhat evil
they can be useful but they tend to introduce subtly bugs if youre not careful
 
I am having fun troll the travern on meta
 
inb4 you get banned again
 
I like how you have appropriate rep for your user name. And how you are recommending APIs that will maximize the potential for segfaults :/ — sehe 6 secs ago
@JerryCoffin Now with proxies, the problem is the inverse: type deduction/overload resolution often fails, because, no matter how implicit two-step conversions are never considered.
 
they need an excuse to ban me, I wasn't the only one trolling there - there are three types of people there: moderators, random people who go there to ask for help and trolls
I am not surprised if trolls there are or become moderators
there isn't a clear line
 
1:27 AM
@Borgleader especially with meta-programming, if I may say so. Just imagine writing a variant<T,U> when both T and U have liberal conversions... It's gonna have a tough time initializing the right member
 
@sehe That's often useful: use an implicit conversion you know is harmless, and it prevents any others you might not want to happen.
 
With proxy objects and C++11 we now need operator auto().
 
@JerryCoffin Interesting reply-to message
 
I find those std:: irritating to read.. why not use "using" ? — user35978 Nov 28 '08 at 4:19
heh
 
I missed so many FGITW questions today I'm sad T_T
 
1:31 AM
got 0 rep today and don't care.
 
@Rapptz digging through the attic, are we
 
@sehe Yeah.
 
@sehe Oops -- I missed. Sorry 'bout that.
 
@Mysticial I know.
 
How did that get so many downvotes?
Was it linked somewhere?
I don't see anything on reddit.
 
@Mysticial OK that I don't know, your guess is as good as mine
 
@Mysticial screenshot?
 
@Mysticial Just noticed you've changed your avatar.
 
2:00 AM
 
Also it was deleted, then undeleted
 
Oh that one, well it's not surprising. When you tag C++, C and Java and you ask this bad of a question you'll get a ton of downvotes.
 
I'm not sure why people saw fit to undelete it. Give the OP a chance to make amends (how?) or give people a chance to stack downvotes?
 
400+ views...
It had to have been linked somewhere.
 
@Borgleader That's true - an average of 11 downvotes per tag
 
2:01 AM
Nothing that heavily downvoted would get seen on SO main.
 
Aw man.
Why was it deleted?
 
Because what good is keeping it?
 
So I can look at it. :(
I only have 7k rep ya know.
@Mysticial I linked it here yesterday.
 
@Rapptz But that wouldn't put it to -50...
400+ views is extreme for something that doesn't get linked or top the multicollider.
 
@Rapptz Obviously you need to spend a little more time answering questions! :-)
 
2:04 AM
googling for "stackoverflow 18075200" didn't help either.
 
@Mysticial 3 major languages!
plus a silly question is pretty much a recipe for disaster.
 
@Rapptz Four. Whoever added those, he's definitely a jerk.
 
The OP did.
 
It's that time again, wherein I drive-by post an advanced level question that nobody will answer.
0
Q: SFINAE with user-extensible variadic trait

PotatoswatterI want to define a class template in terms of a user-defined type and a list of types. The functionality is user-defined, except when the user-defined class is already a specialization of the template. template< typename user_defined, typename ... tags > class parameterized; template< typename ...

 
Ok, so are pussies ok in the lounge?
Guess they are: (/cc @TonyTheLion)
 
2:11 AM
@Potatoswatter then why bother?
 
@Potatoswatter Oh. I didn't notice it's your question.
 
@sehe What strange looking ears
 
@BoltClock i think they're cubs
 
@Borgleader Because it's a "democratic" question and any input from another human is valuable.
 
It's Bolt o' Clock. I should be going to bed
4
 
2:13 AM
@BoltClock Probably a bear got bizzzy.
 
night
 
Hey - I remember someone describing a textbook: "C++ the _ way" Anyone recall what it was?
 
-1
A: Access violation when accessing an empty map inside a nested class

rsdgfrtujYou want to get rid off cosmetic subsequent to her intention will become finished. It happens to be usually being exposed towards carbon dioxide in your Clarisonic Mia On Sale environment (at the same time inside not to mention through) not to mention towards sun which causes it again towards per...

LOL
 
Oh.
@Borgleader Ahahaha! I thought you posted the question.
 
2:27 AM
The constructor runs after an object is constructed, correct?
 
@Pawnguy7 The constructor runs after the members are constructed but before the object being constructed is fully constructed. (Constructive redundancy :P)
 
^ this
 
Only if the constructor of the object is successfully run will the object be fully constructed.
 
Const and reference members must be initialized in the initializer list, correct?
 
@Pawnguy7 Yes.
 
2:31 AM
2
Q: How should this 15 year old poster be helped?

andy256I am concerned about how the poster of this question has been treated. The guy is 15, and has been treated appallingly. Is this how our SO community wants to be seen? His questions as stated don't meet SO guidelines, and maybe he could be directed to a forum more suited to his needs. Another a...

 
Though const members can be omitted if they have a default constructor. Similar with the base class.
 
Huh, didn't know a meta was posted shortly before I deleted that question
@Mysticial ^
 
@escapecharacter Learn _ the hard way: learncodethehardway.org
 
There are also nonstatic initializers in C++11, so you never actually need a constructor's "mem-init-list" for anything: struct s { int i = 3; };
 
@Potatoswatter I do not know if there is now such feature, but I really hope I could omit parts of the initializer-list if some members are initialized in that manner.
 
2:34 AM
Do you still have to resort to hackery to... what was it? Static init of a class, sort of.
 
@MarkGarcia Well, now you know.
@Pawnguy7 Example please
 
@Potatoswatter Then sigh.
 
I can't remember if VS2013 preview does non-static member initializers.
 
@Potatoswatter I don't know, I seem to have forgotten exactly what it was.
 
@chris I think it does have that feature.
 
2:36 AM
Nonstatic member initializers are actually tricky because a member template may be used before it's even declared. No compiler could possibly implement them correctly yet because it's unknown how to reliably parse them.
 
If I could get off my lazy ass, I'd make an example of one which can be fully interpreted in two ambiguous ways and submit it as a language defect report.
 
If I have a static class variable that isn't a primitive, can you construct it normally where it is defined?
 
@Pawnguy7 In C++11, you can initialize (construct) any static member inside the initial declaration in class {}. In C++03 this is only allowed for const integer types. The syntactic ambiguity I mentioned applies just the same.
 
There was something about it needing to be constexpr if static.
Maybe that was only if it was const already. I forget.
 
2:41 AM
@chris No, constexpr isn't a requirement for anything. const objects must be initialized upon definition, though.
 
@Potatoswatter I specifically remember GCC complaining that things need to be constexpr for something or other.
 
I'm kind of scared to ask where he sad void add(int, int, int*) more often than int add(int, int) Source
 
@chris To go into a template argument or switch … case, perhaps. But there are ways to that besides constexpr; it probably says "constant expression" which is different.
 
2:44 AM
@Potatoswatter The link I gave has error: ‘constexpr’ needed for in-class initialization of static data member ‘double S::d’ of non-integral type [-fpermissive]
 
Huh, I stand corrected…
???
 
I've never really questioned it. The error is straightforward enough that I would just change it and move on.
Though it can be annoying if it's some class that can't be constexpr.
 
@chris Except constexpr and const are different things.
@chris It doesn't matter what else is in the class, but it does matter what the initializing expression is.
 
What is the supposed advantage of switch? I seem to recall learning it way back when, performance maybe, but I don't know if it was ever explained - say, the assembly.
 
@Potatoswatter Sorry, I meant if the member's type is some class...
 
2:47 AM
@Pawnguy7 1. Less typing, 2. Fallthrough flow a la goto, 3. Get a warning if you miss a case when switching on an enum.
 
True.
Anything about performance?
 
@Pawnguy7 It hints to the compiler that it might use a dispatch lookup table.
 
@Potatoswatter I don't know what that is :D
 
Some people consider switch statements more readable.
 
I'd say they are.
 
2:50 AM
@Pawnguy7 A table of pointers, like function pointers but to local instructions inside the switch. But they can also have the performance penalty of a function pointer, so it's a tricky trade-off.
 
Wouldn't said table use conditions inside in some form anyway?
I would think they might end up near the same thing as an if/else, then again I don't know assembly.
 
is anyone here good at puzzles? could you guys have a look at this and tell me if my solution is good? codegolf.stackexchange.com/questions/12250/…
 
@Pawnguy7 I want to implement Conway's game of life in SFML for fun
 
Hmmm... Interesting puzzle.
 
3:05 AM
> Earned at least 400 total score for at least 80 answers in the c++ tag.
aww yissss
 
@Borgleader Congrats!
 
@Borgleader Cool! Nicely done.
 
I'm always a little weary when people ask for arbitrary complexity constraints without saying why
 
I seem to have lost 8 reputation points out of nowhere.
Oh. One of my answers was deleted out of nowhere o.O
 
just your answer or the whole question?
 
3:16 AM
I have absolutely no idea because it was a silent deletion, so I can't even find the question
That's not very nice of the site moderators :<
I think it's my name ;_;
I am not going to blow anything up okay! I wouldn't hurt a fly.
 
I had to, I'm sorry
 
Why are you posting videos of my uncle Ahmad
He died an honorable death ;_;
 
No no it's achmed, a, c, phlegm
(I almost memorized the whole damn sketch -.-;)
 
People would've said Ahmad anywhere in the arab world :p
The H is heavy though, like hhhhhhh
 
The original post is gone now, but if it was tagged c++, a significant amount of unnecessary rudeness is to be expected. As a general rule of thumb, if you want a friendly answer, tag it as java. — Jason C 5 mins ago
 
3:23 AM
 
@Jason C: brb, asking shitty questions tagged [java] — BoltClock's a Unicorn 3 mins ago
xD rofl
 
My new computer arrives today ;_;
Cost me a shitton with these taxes and shipping costs to my country
s/me/my dad/
 
OK, please enlighten a nosy C# guy... why did this question get -7, and why did this answer get 31 and more than the accepted answer, which said pretty much the same thing? What am I missing? — Pauly Glott 3 mins ago
3
 
But we're talking in base 0
I can have as many int mains as I want ;.;
 
3:49 AM
@MohammadAliBaydoun Base 0 is tally marks.
2
 
@JerryCoffin how can you see that my answer showed up one second before the other one? Also, don't equal rep answers show up in random order when the page is loaded?
 
@Borgleader Hover your mouse over the time. And yes, they do.
 
Oh o.O I never thought the text would bring up a popup
Out of curiosity does anyone know a good book on object-oriented design? I'm not talking GoF, or anything that just explains patterns. I mean a book that teaches how to approach design, and the heuristics involved like what kind of questions to ask and so on
 
@JerryCoffin Interesting
 
3:56 AM
@JerryCoffin No, base 0 can only express the number 1 because the 0's place is always 0<sup>0</sup> and the remaining places are always equal to zero.
 
@Potatoswatter Open to question. The base normally expresses the increase in value when going from one place to another. With tally marks, there's no increase in value, so it's base 0.
 
@JerryCoffin Fair enough. Tally marks are base 0 but base 0 isn't necessarily tally marks. (Other place-value number systems where values cannot be zero do exist, and are useful to prevent duplicate representations of the same number.)
 
@Potatoswatter But I should add: this is the lounge -- nothing I say here should be taken seriously (at all).
 
4:14 AM
 
@Rapptz Grossly unrealistic! I hold my hand on my chin, not my cheek!
 
huh. I accidentally forgot to return my return value from a function...
and MSVC ...just lets me
 
@melak47 You could have a conditional somewhere in your function.
 
I don't have a return anywhere in the function :E
 
Oh. That's bad.
 
4:21 AM
I was wondering why the thing where I expected the return value after calling the function was all broken and uninitialized..
 
@melak47 As I recall, MSVC usually gives an error for that.
 
I have a couple throws in there, maybe that threw it off?
"oh you just want to throw and never return? fine by me"
 
@MohammadAliBaydoun good for him
 
@melak47 Should still normally get warning C4715. "foo: not all control paths return a value".
 
4:28 AM
Okay, who was the one with the bright idea?
 
@chris My, what a think of....beauty. Yeah, that's it, beauty.
 
Are you holding beer?
 
@Telkitty猫咪咪 Where would you get a horrible idea like that? Oh, in case it wasn't apparent, I'm (of course) talking about the recording I'm listening to at the moment -- Joe Satriani, Ice 9.
 
You mentioned beauty ... but didn't they say beauty is in the eyes of beer holder?
 
@Telkitty猫咪咪 Some may think/say that -- and I suppose they may even be right at times. Nonetheless, I'm definitely not a beer holder (or drinker).
 
4:38 AM
use a debugger! duh — arash kordi 1 min ago
does this fall under the "unconstructive" category for comment flags?
 
who gives a shit
it's such a common comment
 
im just wondering...
 
I don't know, I don't flag comments.
 
Are recursion and callback functions essentially the same thing?
 
@TheGuyWhoCouldn'tTalkToTheGirl Not at all.
 
4:48 AM
@TheGuyWhoCouldn'tTalkToTheGirl No, a callback is the same thing as a function pointer. If a callback may implement recursion, that is often a corner case and should be carefully documented.
(The key word to look out for there is "reentrancy." If a callback calls the function which called it, that function must be reentrant.)
 
> PHP was an accident
Man, Gear looks awesome
I'd say @not-rightfold has outdone himself.
 
5:20 AM
0
A: Segmentation fault when returning string from function

user2380779I have included the constructor and initializing the _impl to NULL. After all this its giving segmentation fault.

 
@Borgleader Yes, I'd say the "duh" makes it unconstructive.
 
What the hell is going on in this question
 
@TheGuyWhoCouldn'tTalkToTheGirl Recursion is when a function calls itself. A callback is when you tell one part of the system to call a particular function under some set of circumstances. For example, when you enumerate things (e.g., Windows) under MS Windows, it usually uses a callback -- a function that it'll call for each of those objects in the system.
 
@MarkGarcia Don't laugh! It's rea.....well, I almost managed to type it without laughing!
 
5:29 AM
Quite a tandem: solar-powered and submersible. Great.
 
I bought a solar charger from HongKong 3 weeks ago and some camping fuel tablets from Germany last week. Then yesterday I received a note to drop into the post office to pick something up. So I did ... expecting the solar charger. It turns out, the package contains the camping fuel tablets :/
 
5:42 AM
How long does it usually take for a mod to check a flag?
(not a chat flag)
 
@Borgleader Depends on how many mods are available and not otherwise busy at the moment. Right now, undoubtedly longer than, say, mid-day in US.
 
Oh I see, thx
 
Unless ... of course you are flagging a well known troll ... in my experience, mods will come a lot quicker ... :x
 
Nah, I flagged an "answer" by someone who claims to be the OP of the question, but the accounts don't match
I suspect troll
 
@Borgleader What answer? (link?)
 
5:50 AM
Scroll up (i already linked it)
 
Oh.
Flagged too.
 
Ring around the rosey, pocket full of trollsey. Smash it, Smash it, we all flagged down.
3
On that note, I think I need to go sleep. Good night all.
 
@JerryCoffin "LOL" wouldn't be the proper expression for that. Never read such an amazing... whatever you call that... for such a long time. Thanks. :)
Good night.
 
@JerryCoffin 'night
 
@MarkGarcia For what it's worth, you call that "doggerel".
 
5:58 AM
@JerryCoffin TIL. Thanks again.
 
user1174868
well
 
user1174868
I want to die
 
user1174868
how do I track distance between vertices in a digraph unweighted in a bfs?
 
@Jordan Don't, yet. Wait until you see C++14!
 
user1174868
I just spent 14 hours coding for a class and got nothing done at all
 
6:03 AM
@Jordan so?
:P
 
user1174868
I fucking hate my life
 
user1174868
probaby failed that class
 
user1174868
get As on all the tests, fail the group project
 
@Jordan Is that just a saying, or do you really mean that?
 
user1174868
a saying, but I do think I did poorly in the class now
 
6:06 AM
@Jordan Real-life is more like the group project.
 
user1174868
was hoping for an A but definitely not a possibility
 
user1804599
@MohammadAliBaydoun It is.
 
Hi All...
 
user1804599
Hello.
 
user1804599
> DeviantART.com is currently experiencing intermittent downtime. In preparation for our 13th birthday tomorrow, we were carrying birthday cake into the server room, tripped over a wire, and now there's delicious cake everywhere! Please accept our apologies while we quickly clean up the mess.
 
user1804599
6:20 AM
lolwut
 
 
6:35 AM
couldn't concentrate today ...
 
I personally diluted, for the most part.
 
6:50 AM
 

« first day (1026 days earlier)      last day (3915 days later) »