« first day (610 days earlier)      last day (4341 days later) » 

12:02 AM
Never heard of that.
(And yes, I get the pun.)
 
heteroson ?
 
I don't have a son.
What does a gay horse eat?
 
But is he hetero?
 
btw, stackcrooked
guess what's coming out in like 2 hours :P
 
12:07 AM
One Piece!
Alright!
And also a new Fate/Zero ep
That Hodi, he took the drugs better than I had anticipated.
 
A baby comes out of your cunt in two hours.
 
He's quite pro at taking drugs.
By the way, this episode should be juicy.
Finally some good fights, last few episodes were fairly slow paced.
 
He's like because the Saint of Drugs with his white hair and all.
 
Yeah but he's gimped his life expectancy a lot from what they said about those pillz
 
That scene where the people are shouting at the tied up king asking for help did impact me a little.
 
12:12 AM
Me not quite, they have spent quite a lot of "screen time" expressing how loved Neptune is.
I don't think there's need for such scenes there, it just stalls the whole situation.
 
Python is made by a Dutchman, and therefore it is great.
 
The series grabs every chance it cans to get all emotional. That can be a little annoying at times.
@RadekSlupik Van der Decken!
 
Guido van Rossum, actually.
Oh wait lol. :P
 
Close one, Stacked ^^
 
I know Van der Decken as the Flying Dutchman.
 
By the way, it's fairly "classic anime style" where a knife goes like 1 centimeter forward each episode :P
 
(From Spongebob…)
Spongebob is awesome.
 
Gear secondo!
:d
 
12:18 AM
q:
 
•'D
Een éénogige smiley.
 
‫‬‭‮҉Y
@ScarletAmaranth I guess Fate/Zero isn't your thing then?
Oh well, never mind.
 
Somewhat (un)related.
 
Hey Cat you do Python right?
It's fucking awesome.
 
12:27 AM
@StackedCrooked Never seen it, what anime is it similar to ? (I haven't seen all that many though.)
 
Nice.
I'm trying Django now. Pretty good stuff.
It gives me much more control than other frameworks I've used in the past, such as RoR and Symfony.
 
@ScarletAmaranth It's similar to Fate/Stay night and Kara no kyoukai. Op is quite awesome already.
 
@StackedCrooked Ill take a look into it, got summer holiday :)
 
Great :D
 
12:34 AM
Django has one downside though. It doesn't provide me with any bacon.
 
user457812
Bacon is a plus.
 
Bacon is a requirement.
 
Do they fight in Fate ?
 
Bacon is life.
@ScarletAmaranth Yes.
Wait, I'm not sure actually.
 
@RadekSlupik Nothing's perfect. Except bacon.
Oh my, I might just have proven that Bacon is God.
 
12:40 AM
There's certainly battle going on, but I don't recall many actual fighting scenes.
 
user457812
Fate Zero is pretty awesome.
 
Oh yeah, now I remember, there are certainly a few battles.
 
How can you not be sure :D ?
 
@Etienne no.
Bacon exists, and therefore it isn't God.
 
user457812
12:43 AM
Fate Zero has zombies, therefore it passes my 'cool' test.
 
user457812
Only had two episodes with zombies, but they were zombies, damn it.
 
Anyway, puppy wanted to take a break from the project, make sure to talk it out of him tommorow :)
 
12:58 AM
Why indeed hello there, fine sir.
 
1:25 AM
Please vote to reopen <http://stackoverflow.com/questions/11068204/is-it-possible-to-convert-bitset8-to-char-in-c> We were too quick for our own good
 
user457812
D'oh?
 
@CatPlusPlus did you get XCB working with GLX?
 
@Pubby Didn't get to that.
 
This question is just too similar to the other one (including the sample value). The older one asked about converting to an array; the current one is about converting to a single char.
 
@CatPlusPlus Springbok doesn't work on Linux then?
I am running into major pain with XCB and GLX. At least Xlib worked properly.
 
1:31 AM
I have pure Xlib code in old repo.
I'll port it over some day.
 
Alright
 
1:48 AM
Thank you all for voting and reopening!
 
user457812
What the everloving hell did I just watch O_o
 
wtf :D
 
WTF did I just wach?
 
2:03 AM
The bloody shorts at the end :D
 
2:44 AM
I just noticed this in the 10k tools. lol
32
Q: Why are my balls disappearing?

Yang PulsePardon the funny title. I've created a little graphic demo of 200 balls bouncing and colliding, both against the walls and each other. You can see what I have currently here: http://www.exeneva.com/html5/multipleBallsBouncingAndColliding/ The problem is that whenever they collide with each other...

 
WTF did I just watch.
 
Any idea what to call a non-narrowing conversion? is_nonnarrowly_convertible isn't the greatest name.
 
Woah.
I was just thinking about this trait this morning.
 
IsNonnarrowlyConvertible
:P
 
Couldn't come up with a proper name, though.
 
3:00 AM
Well, that std::optional proposal really got me thinking about perfect-forwarding construction. Yesterday I tried listing all the different options and I think I managed to condense all that into two traits.
Although that would mean that a type would have four constructors to enable perfect-forwarding...
Wouldn't be that bad if it didn't mean that you may want to write four perfect-forwarding assignment ops as well.
 
Is it possible to specialise a template member function of a non-template class?
 
@RMartinhoFernandes I've also considered dropping EnableIfUnrelated altogether, since those constructors that use it will instead be constrained on constructible traits (std::is_constructible sort of, but specialized for those tasks). This would mean that e.g. optional<foo> may have special/weird semantics if foo is convertible/constructible from optional<foo>, but I think I'm okay with that.
That is to say, I think I can expect that constructing/converting a optional<T> to T results in either an 'empty' T or a copy/moved T. So putting that inside an optional works out again. Haven't thought about other cases though (T convertible from variant<T, U...>? Wtf.)
 
Could anyone help me out with this, I don't know why I'm getting this compiler error
 
3:19 AM
Linus is a cool guy
 
Oh wait, one less assignment op to worry about. Only need it for implicit conversions. I might need a separate trait though.
 
@Pubby Losing your cool is the new cool? :)
 
3:35 AM
@StackedCrooked What?
I didn't see him lose his cool
 
No he didn't really lose his cool.
I was just contemplating how the meaning of the word cool keeps evolving.
 
brb, i can finally reboot out of knoppix
 
4:26 AM
@LucDanton Oh yeah, recursive variants needs special filtering (to avoid non-terminating construction when moving/copying).
 
user457812
That was a fun interview to watch.
 
6:28 AM
looking for good 3d software development books .. ! anyone .. !
 
user457812
6:40 AM
I guess that depends on what you mean by 3D software development
 
@LucDanton: What about is_narrowing_safe?
 
@dirkgently I'm not sure. Doesn't really highlight the relationship between the two arguments.
 
6:56 AM
@LucDanton: I assumed that the intent was to highlight that the conversion wasn't unsafe only. (There is a similar problem with is_base_of I believe?)
 
If you 'translate' the name of std::is_base_of to an infix position you get the relationship: std::is_base_of<T, U> <-> T is-base-of U. Not so with your suggestion.
In the same vein std::is_convertible and std::is_constructible are somewhat similar in purposes yet the arguments don't come in the same order.
 
@LucDanton Ah! So, you'd prefer something akin to S <trait_name> D but without the problems of is_constructible? (I find is_convertible about the same as is_base_of. Neither of them are dumbed down but make sense on reflection.)
 
This is strictly about finding a good name, yes. (Also in the cases of std::is_convertible and std::is_constructible both are at fault arguably.)
 
Why does have only 12 questions? Is there a better tag?
 
Most questions about that are not tagged with it, most likely.
 
Als
7:10 AM
ola
 
Well. If I constrain a constructor for my type with EnableIf<Not<std::is_convertible<U, T>>, std::is_constructible<T, U>>, everything works as desired. If I flip the order of the two conditions, then the type is not convertible to (and not from) according to std::is_convertible (conversion is done via a simple, implicit conversion operator function, not a template). This is fun.
Well, I should specify that std::is_convertible<From const&, To>::value changes to false, but std::is_convertible<From, To>::value still is true.
Obviously this makes sense.
Mmmh, switching the order might short-circuit evaluation of std::is_convertible, which would otherwise lead to UB (the end result being a quirk of that UB). I'm not double-checking that though.
 
0
Q: initializing a non-copyable member (or other object) in-place from a factory function

PotatoswatterA class must have a valid copy or move constructor for any of this syntax to be legal: C x = factory(); C y( factory() ); C z{ factory() }; In C++03 it was fairly common to rely on copy elision to prevent the compiler from touching the copy constructor. Every class has a valid copy constructor...

 
Als
Hey just a quickie, Is the moderator election page accessible to you all?
To me it shows an error.
 
Works for me.
Time to vote for awoodland!
 
@Potatoswatter erm, why did you tag your question c?
 
Als
7:21 AM
oho i think i broke it then!
I accidentally upvoted a candidate two times on the second vote and it doesn't work for me anymore
 
@bamboon I tagged it C++11 and it got parsed wrong becoming and … or also my vision is still poor :( I think this infection will result in new glasses
 
@Potatoswatter Can you provide context? E.g. do you mean in a member init list in a constructor? Otherwise I think aggregate syntax is available (e.g. return { the_other_factory() };), but using an aggregate is somewhat specific obviously.
 
@Potatoswatter oh, then all the best to you
 
@LucDanton The list in a constructor, or the new class scope syntax. What other way is there to initialize a member?
 
@Potatoswatter struct { int foo; } bar { 42 }; can be construed as initializing the foo member of bar.
 
7:25 AM
@LucDanton Oh, I'll adjust the Q.
Whoa, the site is going crazy. First the election goes down, then my tag gets spliced, now the content just disappeared as I was editing the question.
 
Also notice how struct { int foo; } bar { int_factory() }; would otherwise have been an applicable answer (I think. Not so up to speed with aggregates).
 
Well, not for int. The question is about when the member is not copyable or moveable.
 
 
2 hours later…
9:11 AM
> Then in October, proceedings were disrupted when a Hungarian anti-terrorism unit raided an airport warehouse and confiscated 85 fully functional automatic assault rifles that were to be used on the shoot. (The guns were not supposed to be operational, and it is illegal to transport such weapons into the country.)
0
Q: how to run code at BIOS

GtoXicI've seen a few programs that run at BIOS, for example a prank program that tricked the user into thinking they have a virus. My question is, how do I make a program like that? Is it a case of placing my file in C:\WINDOWS\Boot?

 
@Potatoswatter You missed the point.
 
> I am an experienced C++ programmer . But i know only and only to build console applications using visual studio 2010.
-1
Q: What should i learn next in order to enhance my programming skills as a software engineer. Please advise

user1375955I am an experienced C++ programmer . But i know only and only to build console applications using visual studio 2010. I am also able to write code for complex data structures.I also haven't still learned database or operating systems. What should i learn next for building applications and softwar...

room topic changed to Lounge<C++>: Spontaneous event: question mocking Sunday! [c++] [c++11] [c++-faq] [c++-fuq]
 
@LucDanton I get it… but the point is missing the point ;v) . But it does seem to be a hole in the language, no?
 
@Potatoswatter I'd say no. This kind of in-place construction (let's say from one int, like return { 42 };) is a conversion from the initializer (or initializers) to the final object directly. But if you want to use another value as initializer then that's a conversion from T to T... aka copying/moving.
So it's contradictory if you want to initialize a (sub)object of type T from a value of type T without that type being MoveConstructible.
 
@LucDanton Yes, you genuinely solved the problem, but only for aggregates. So if you want to initialize one non-moveable member in one constructor, the solution is to make the class an aggregate and replace all constructors with factory functions?
 
9:25 AM
@Potatoswatter Well, let's not get into a hurry. I suggested aggregate initialization but I never checked it works.
 
Also, I've missed some banning fun yesterday and now I'm sad.
 
@LucDanton Ah, 8.5.1/2: "Each member is copy-initialized from the corresponding initializer-clause." So no, it's not a special case.
 
What isn't?
 
@LucDanton Being able to in-place initialize a member of an aggregate from a function return.
Does C++ require the ABI to pass a pointer to uninitialized storage to a function that returns by value? Or is it still allowed to push all return-by-value objects on the stack, so any function returning class type modifies the stack pointer?
I suspect that's the reason the language fundamentally can't do this.
 
C++ doesn't have a notion of ABI.
 
9:34 AM
@LucDanton No, but the committee does, and it's such a constraint that there might as well be.
 
Also I think some compilers do (did?) implement return by value like you described in some circumstances.
 
@LucDanton Hey
 
@Potatoswatter "Are the requirements such that the ABI of an implementation is free to do such and such?" is a more apt way of phrasing. Still no ABI.
 
@LucDanton Yes, but I guess I'm asking whether any entrenched ABIs do this in all cases, so it would be impossible to get any function to construct a nonlocal variable in-place.
@LucDanton "Is the committee committed to supporting platforms where the ABI is such and such and cannot change?"
 
@Mayankswami No.
2 messages moved to bin
 
9:39 AM
Also, does binding a temporary to a static reference extend its lifetime?
 
@Potatoswatter Doesn't affect th rules (whatever meaning of static you had in mind).
 
@RMartinhoFernandes I think it will be a tough game ;)
 
I called it. Today's stupid question day.
-4
Q: Default values for return value

UnniIn C++ I can provide default values for the function parameters. Why the language doesn't allow me to specify this for a return value? For e.g : I could have made my optional configuration reading functions more concise as int(10) getSleepTime() { if(config_defined) { int x = ...

 
@jalf Good luck against Germany! I'll be cheering for you
 
@LucDanton It would be an example of in-place initialization from return value outside local scope, although there are ways for an implementation to work around it without supporting member initialization likewise.
Not conclusive, but GCC does in any case: ideone.com/1S2uo
 
9:48 AM
I can't look at the question list.
 
10:00 AM
-4
Q: StackOverFlow tips

Badhon JainI know this is not relevant to software development, still I would love to have the answer. Is there any way to search & follow the users on Stackoverflow? How I can keep in touch with the guys I found helpful?

._.
 
dafuq
 
"I know this is not relevant, but how do I stalk people over Internet?"
 
yay helpful flag
 
Apparently he got here without ever using Google?
 
Many people get here without ever using their brains.
Gawd, "pink fluffy unicorns dancing on rainbows" looped on radio.
 
10:03 AM
Good news: I found the problem in my GCC 4.7.1 build, so I'll probably be uploading the goods in a good hour or 4-5.
 
@rubenvb Uploading what? And what was the problem? I updated to trunk 1-2 days ago but it crapped out with a syntax error.
 
@Potatoswatter I build MinGW-w64 GCC toolchains.
for people who don't want to mess with all the details
I was talking about that yesterday.
 
Oh. I also don't want to mess with details, but I'm on Darwin. :v(
 
@Potatoswatter Why do you want GCC?
 
@rubenvb What? You mean as opposed to Clang?
 
10:08 AM
@Potatoswatter Yeah.
 
1. It's better, 2. I'm a GCC contributor and I want to svn update in order to make a patch.
3. I don't have Lion so I don't have Clang++ at all.
 
I thought Xcode 3.x had Clang too. My mistake.
 
It does, but not the C++ part. Well actually I do have Lion, I just don't have it installed as the primary system. It would be interesting to see what Clang does with my project, now that you mention.
 
lol
 
It's been on the back burner since last year, and they probably made a lot of progress since then.
 
10:10 AM
@Potatoswatter you don't say: clang.llvm.org/cxx_status.html
 
@rubenvb That's not to say they're catching up to GCC… both are racing ahead.
 
@Potatoswatter Comparing with gcc.gnu.org/gcc-4.7/cxx0x_status.html I'd say Clang is ahead currently. Not to mention a gaping hole in libstdc++: <regex>
 
Hmm… well, maybe that's true then. I've been out in Java land for a while.
Scene from a North Korean amusement park:
 
Mocking the commies again? :P
 
Oh, it's all in good fun. The photo is supposed to be genuine.
 
10:40 AM
ohaio
 
aiowah gozaimasu
 
imgur down, 95% of reddit unreachable.
 
haha
oh hai radek
 
hello
 
herro
 
10:53 AM
ghetto
 
Hi all
Hey @CatPlusPlus
 
My sleeping pattern is completely broken. My brain doesn't work. I think I'll just go to sleep.
Hi.
 
I was having a look at the springbok example
 
Who needs a working brain in today's society :P ?
 
Certainly not majority of SO userbase.
Hoho, I'm so mean today.
 
10:57 AM
We don't need no stinkin' brainz.
 
If we apply the visitor on core::event then std::is_same<T, core::events::window_closed> is false amirite ?
 
Unless the event is window_closed.
 
Having a brain is fun until you realize you live on a world on where the majority of people are complete idiots.
 
It's a variant visitation.
T is one of the types in the variant.
1
Q: Why Domain Specific Languages is a better approach (for software reuse) than reusable software libraries?

Joe BrownOn research I read that the major problems in the utilization of reuse libraries are in determining appropriate artifact classification schemes and in the selection of methods to effectively and efficiently search the library. And to bypass this problem is to use Domain Specific Languages. Actua...

 
Als
@RadekSlupik Second that
 
11:00 AM
Academic blah blah blah.
 
That's what I don't get
The variant's underlying type is defined at runtime right ?
 
Magic.
It's basically something like
 
@RadekSlupik Can you back that statement
 
int tag = which_type_was_put_now;
switch (tag) {
case that_type: visitor(*((that_type_type*)some_internal_buffzor));
} etc
 
I can.
 
11:04 AM
With more magic and automatic and stuff.
 
Then do it.
 
84% statistics are made up.
 
I know too many assholes.
 
Als
Damn....It has come to this now eh..
 
Generalization is wrong.
(Generally speaking)
 
Als
11:04 AM
@Cicada Yup, Composition should be preferred ;) Loosely coupled designs and all that...
 
Oh, you.
 
@CatPlusPlus So apply_visitor does the runtime job ?
 
Als
@Cicada oh Who?
 
apply_visitor is just some generic gateway to the internal dispatch.
 
Well, you, who else?
 
11:06 AM
I didn't really read Boost implementation, dunno how they did it exactly.
 
Als
@Cicada Why the Oh?
 
Cool. I think I get it
 
apply_visitor(Visitor& visitor, Visitable& visitable)
{
return visitable.apply_visitor(visitor);
}
It's full of MPL.
I don't want to read that.
 
Als
@Cicada Hmm...
 
11:07 AM
tl; dr
> Oh You is a slang term used as a reply to a clever or brash statement
 
Opening braces on a new line is so ugly. :P
 
Als
@Cicada Was it clever or brash? :P
 
@Als Yes (:
 
Als
@Cicada Ah, what specifically? is what i meant to ask, clever or brash haha
 
Clever girl.
 
11:09 AM
@Als I know, that's why I answered "yes"
Clever it was
 
Als
40 secs ago, by Cat Plus Plus
Clever girl.
Im bored.
 
Quick, upvote all my answers!
It'll take you around 1h or so.
(Don't actually do it)
 
You'll get suspended if you do that.
 
Als
@Cicada There's some fraud detection algorithm which tracks it
 
I wonder
 
Als
11:14 AM
Ah you were not around when the saga unfolded
 
@Als I know right. It was just a suggestion. How can you people not detect (bad) jokes ;_;
 
If someone does that, does the account which is being upvoted get suspended ?
 
They get merged and/or the upvotes get cancelled out (I think)
 
@Cicada this isn't a place for jokes. We are always very serious here.
 
Als
@kbok No, Why do you think so?
 
11:15 AM
@kbok No.
They cancel the votes.
Only voting rings get banned.
 
Because if someone were to create a sock puppet account just for the upvotes that would make sense
 
Well, that's a voting ring.
When there are several accounts who always upvote each other.
 
Okay.
 
@StackUnderflow : This is the only sensible response to the question I found in the comment thread. "What kind of answer are you looking for..."? What I look for is a possible reason why the feature was not provided eventhough it seems simple and useful to implement. I don't buy the arguments 'it is easy to miss etc..' because it is easy to miss for the default arguments as well. There may be a valid reason for that, which I'm looking for.... — Unni 20 mins ago
._.
I just... don't... gah.
Sleep. Need sleep.
 
Do closed questions get deleted eventually?
 
11:20 AM
If people or mods delete them.
 
@Cicada That has to be done manually
 
No autodelete.
 
Today I noticed that you get limited close votes but unlimited delete votes. So you can just go wild with that, if you feel like destroying something.
 
I think they're limited.
> At 10k, you can cast 5 delete votes per day. An additional vote is granted per 1000 reputation, to a maximum of 30 delete votes per day at 35k reputation.
 
Oh. I would not have found that empirically :vP
 
11:25 AM
Also, for <20k the question has to be closed for 2 days before you can vote delete.
 
Now this is what I call shameless self-promotion
Member for 5 days, 7 answers containing links to his/her product
 
cool, Stroustrup answering the immortal question: "Why is C++ so ugly?"
 
Link :D
 
"Well, why is Danish so ugly? It's been around for many years, a lot of people have contributed to it, and much of it didn't work... Same thing with C++" (translated from Danish)
 
@Cicada well, maybe he is very narrow-expertised.
 
11:32 AM
It's time he admits he was drunk when he made C++
 
if that is even a word.
 
@rubenvb English is awesome because litterally any word is valid
 
figuratively :P
 
@jalf Did he really answer that?
 
@Cicada well, if you define "a word" as something that is valid in English
@Cicada yup
 
11:34 AM
@Cicada No, English is supercalifragilisticexpialidocious!
 
Could you please post a link? I'll practice my googletranslate-fu on it!
 
although it's not a serious interview. Some students from my old university got him to participate in their annual revue thing, so it's just for fun :)
also asking him why he didn't allow semicolon to be overloaded
 
lol
 
heh, "what will C++ look like in 10,000 years?" "Well, in 10,000 Years? Maybe we've got a proper syntax by then"
 
facepalm
 
11:36 AM
> implying humanity will still be there
 
Als
In 10,000 years probably we would have "Zee++"
 
ohhhhhhh
hosanna
 
I think all letters of the alphabet are already programming languages
Or nearly
2
Q: Are there any single-letter programming language names left?

le dorfierThis is perhaps a honey-trap for the suitable-question-enforcers, but it came up in conversation with some other developers, and it's certainly related to programming languages. And I don't think it's argumentative, which is the other common justification for closing a question. We'll see ...

 
@Cicada It's a video, so you can't just copy/paste to google translate. It is subtitled though
 
Als
@Cicada And if not will already, they will be utilized in 10,000 yrs hence the additional ee, Calls for a Oh, You :P
 
11:38 AM
but youtube.com/watch?v=F3HHS50dA6g if you want to try. Just skip the first few minutes to get to the Stroustrup part
 
@Als I smell vengeance in this one
@jalf Cheers for that!
 
@fluty what is the meaning of "Tu hi nirankar mein tere sharan haa mainu baksh lu" ? saw on your profile !
 
Als
@Cicada Nah, I am not a vengeful person
 
@akshay nirankar means formless
 
Als
Nirankar (, ' from the ') means without form or formless and is used in the Sikh holy book, the Guru Granth Sahib, to refer to God.
 
11:42 AM
@als
 
Als
@AkshayGoswami ??
 
@fluty lol got it .. !
@als nothing !
 
Als
I sense this is an Troll attack
 
My spidey-sense is tingling.
 
11:45 AM
once upon a time i also used to write code in c++..good old days
 
Als
@rubenvb I smell some java folks, Get your guns ready boys!
 
@Als that was sent by mistake !
 
yup . !
 
Als
@JohannesSchaublitb Super Troll Sunday!
 
11:53 AM
hm
 
mhm
@JohannesSchaublitb I think you account for like 80% of "guys" traffic :)
 
I don't need a search query to tell me that.
 
Als
@ScarletAmaranth haha interesting, You are fast stealing bots spot as official bookkeeper
 
There are 153 instances of "guys" and 154 instances of "folks" chat.stackoverflow.com/…
 
It's very nice that chat keeps the logs of pretty much everything with a good search interface :)
 
11:59 AM
he even searched for that once himself
 

« first day (610 days earlier)      last day (4341 days later) »