« first day (735 days earlier)      last day (4228 days later) » 

9:00 PM
@DeadCicada > THUMBS UP IF UR A MANCHILD READING THIS IN UR UNDERPANTS
lol
 
http://stackoverflow.com/questions/12992605/stl-reallocation-c
Who the hell writes this...
 
Not a prime number, so indeed it’s weird.
 
@Borgleader it's a good SSCCE
 
Om nom nom.
 
SSCCE ?
WAIT I googled it.
 
9:03 PM
Short Something Compilable SOmetthing Example
 
Short, Self-Contained, Correct Example
Or Compilable, that too.
 
oh lol
 
@ThePhD Congratulations. Saved me the copy/paste
 
Woo!
 
Super sehe's cool child exchange
 
9:03 PM
If only I could get rep for that. :c
 
Short self-contained COMPILABLE example? BUT THE POINT IS MY CODE DOESN’T COMPILE.
 
@sehe Well, it's not so correct I mean... it won't actually finish executing ever....
 
AWWWHH YEAH
 
@ThePhD You can. Totally. Like the piwrate. He never seems to bother looking anything up
 
I GOT 10 REP ON GAMEDEV.STACKEXCHANGE for my answer!
All the pride.
 
9:04 PM
@Borgleader Huh? It finishes over at my PC
 
Now I gotta answer more questions.
 
@EtiennedeMartel Whoever edited my link, please delete it altogether. =(
 
@Borgleader Well, it's correct, selfcontained, it compiles, it runs, and it illustrates the question
 
@sehe How can while(1) ever finish? It's an infinite loop...
 
@Borgleader Try it
 
9:05 PM
@DeadCicada Hm?
 
@Borgleader break, exit, return, throw, goto, SIGKILL.
 
@EtiennedeMartel Someone edited this post, removing all the fun from it. Please delete it.
 
@DeadCicada No one can edit your chat messages except you.
 
A friend of mine is a die-hard My Little Pony fan.
 
@EtiennedeMartel Well that's not the link I posted.
 
9:07 PM
@daknøk exception, std::bad_alloc in this case /cc @Borgleader
 
@sehe so throw.
 
Ell
@deadcicada you posted the friendship song originally?
 
Also longjmp, asm("jmp _foo").
 
@DeadCicada Bullshit, you're exactly the kind of person who would post a MLP video.
 
@DeadCicada oh God, that one is on /b/.
 
9:09 PM
@sehe Oh right... I didn't foresee that running out of memory would stop it.
 
@daknøk indirectly too.
 
@sehe I didn’t say “directly”.
 
Ell
it must have been edited quickly o.o
 
:5873012 No one can edit links on here. It must have been your open browser tab. Or the adjacent entry from your favourites/bookmarks.... Go. Figure
 
9:11 PM
Weird.
My bad then I suppose.
 
Ell
whatever it is you have to be 18 to see it
 
I propose a theory!

Cica was watching that video, with the MLP theme song replacing it, on loop
 
Ell
:(
 
@sehe you accidentally a word.
 
@DeadCicada allthough, it could be oneboxed and YT flags it as 'age-appropriate'
 
9:12 PM
@sehe Don't tempt me.
 
@daknøk I purposely that same word
 
@sehe ok.
 
@EtiennedeMartel lol
 
@DeadCicada I mean, the CHAT engine might detect this and replace it with the MLP link. Go on meta and search for the vid id?
 
@sehe You really think they took the time to code something like that?
 
9:14 PM
Is it the dickcopter pirate
 
@Borgleader I wouldn't be.
@Rapptz Clearly it is
 
That video's funny for some reason
lmao
 
@Borgleader Ahem. In fact, not even int main() { while(1); } will run eternally
 
wtf, there are two Google Groups interface but no indication on which one you are at the time? Or two parallel Groups? I don't get it.
 
@Rapptz It’s only funny because of the West-European language.
 
9:15 PM
@Borgleader in fact, the annex B of the standard allows for this kind of lenience
 
why is this so fucking awesome
 
@DeadMG I dunno. I'd have to click it to see what you mean. Why do you ask?
 
because I find it fucking awesome
 
@DeadMG because hot chick.
 
@sehe What stops it? I mean.... if it was a recursive call it would be a stackoverflow but a while?
 
9:17 PM
@Borgleader Have you ever run on hardware that won't fail?
 
@LucDanton Two interfaces.
 
@sehe I'm not sure what you mean
 
@Borgleader Not even mentioning the software. No matter how much Tandem(R) systems or live migration you throw at it, software will cease to run.
 
@Borgleader Have you ever ran an infinite loop?
 
@DeadCicada I don't think that's it. In both cases I have the option to fallback to 'the old interface'. What I don't get is that I have two distinct list of favourites?
 
9:18 PM
@DeadCicada Well obviously I couldn't tell you if I did.... it would be infinite
 
@DeadMG Well, that started nice. I thought 'oh right, looks nice'. Then I realized YT served me an ad again.
 
Depending on where I am that list changes.
 
@LucDanton Can you please link?
@sehe Adblock!
 
Here is different from here (check the URLs), but they're both Google Groups.
 
Xeo
@DeadCicada: Dammit, I was totally expecting Cirno's Perfect Math Class there. :(
 
9:20 PM
@Xeo Huh? It was
 
@Borgleader I agree that a while(1); has a relatively low chance of ending prematurely. Although a boost::this_thread::sleep or std::this_thread::sleep_for(std::chrono::milliseconds(10)); has the definite potential of giving your hardware a fighting chance
 
Xeo
@DeadCicada No it wasn't.
 
@DeadCicada Right. as if that would block in-video adverts.
 
@sehe It does.
 
Xeo
@sehe I never have any! :)
 
9:21 PM
@Xeo Yes, cause copy/paste fail from me (or somehow it got changed)
 
Xeo
Which may have to do with the fac that I live in Germany and we generally don't have any
 
I believe it.
(Note the accidentally word)
 
@sehe All I'm saying is this example would have been way more concise and "correct" without the loop. IMHO it adds nothing to the example.
 
@Borgleader Oh, well. Never heard of SSO then?
 
how does adblock plus block video ads anyways? is it youtube's fault or did abp coded something in it?
 
9:22 PM
@sehe SSO? No
 
@LucDanton This link does not bring me to a group, but to the welcome page of Google Groups
 
@Borgleader Also, lol at s/ads/adds
@Borgleader You can get more Google karma points
 
@Hobbyist Idk how it does, but it does.
 
@DeadCicada What if you trash everything after forum/ ? That shit gets tacked on after redirection.
 
@DeadCicada Well, check if you ever get in-vid ads anyways, perhaps. I'm unconvinced
 
9:23 PM
I've had it since it came out, I only realised yt had ads when I rebuild my computer and forgot to reinstall it, lol
 
Ads are bizarrely plastered on top of the videos, they're not so much 'in'-video.
 
@LucDanton I get redirected again.
 
@LucDanton Probably a logged-in/member vs. not-logged/non-member difference then?
 
@DeadCicada Link was wrong, I chopped off too much actually.
 
9:24 PM
@LucDanton Gives me the modern interface.
 
@LucDanton That's in no way what I'm referring to. I'm referring to the 30-second advert videos that load BEFORE showing the vids. Then you have those 'plastered on top' as well, which I'm happy to ignore /cc @melak47 @DeadCicada
 
@sehe it works. I didn't even know youtube had in-video ads, because I've been using adblock for so long.
 
@sehe I never got them.
 
@sehe Yeah those are on top as well. They cover everything though.
 
@melak47 lol, same thing
 
9:25 PM
@DeadCicada What if you star this to put it in your favourites, then use the other link?
 
@sehe I used to be spammed with IN VIDEO ADS and I installed adblock just to get rid of them. Just give it a try, you suspicious bear.
 
Internet y u no example on glDrawElements.
 
@LucDanton Oh. and it pauses the real vid as well, then. Mmmm. Could be right
 
Dang. 10m+ users
 
I've never seen anything resembling those weird ad on top things youguys are talking about
 
9:26 PM
@sehe I don't see how the ibm string class has anything to do with the whole loop debate we were having.
 
@DeadCicada Don't feel like adding more cruft. I'll just avoid YT some more
 
@sehe I've had the video under start prematurely sometimes, although never on YT specifically.
 
4 mins ago, by sehe
@Borgleader Also, lol at s/ads/adds
^ reverse it
@daknøk In order to royally annoy you
 
@sehe ?
 
Stupid OpenGL community.
 
Nothing is updated for OpenGL 3.
And OpenGL 4 is already available.
 
@DeadCicada He's saying you made the inverse mistake to what I did. I wrote ads instead of adds, you wrote adds instead of ads.
 
@LucDanton Yup, fav doesn't show on the other window.
 
@daknøk Except the Spanish Inquisition
@Borgleader She knows. She Tha Troll(TM), you know
 
It’s like Android. Everybody uses old versions.
 
9:28 PM
@daknøk My Galaxy Nexus begs to differ.
 
@daknøk Sign of useful software.
 
@sehe Oh right, I keep forgetting
 
@DeadCicada I blame that intercalary /a/.
 
@sehe Sign of crappy support.
 
Also my spellchecker warns me about intercalary, which is perfectly cromulent.
 
9:29 PM
what does it mean when I have undefined reference to `LexicalAnalyzer::hasError()'. All header files are included correctly. When I try to build it this error shows up
 
Apps can’t use newest technology because nobody runs the required OS.
 
Why does CSS suck for building full height apps.
 
Because CSS sucks anyway.
 
@DeadCicada full height?
 
@daknøk What's the difference, in practice
 
9:31 PM
@melak47 "Desktop-like", you know, panels that scroll independently from the window. Not sure how to explain.
 
@rogcg, if we were in ##C++ at Freenode, I would use a factoid, but I here I will use something else. lmgtfy.com/?q=undefined+reference
 
@DeadCicada position: absolute; top: 0; left: 0; right: 0; width: 320px;
 
@rogcg Double check the signatures are correct
 
@LucDanton Fire your wordlist
 
@daknøk It's more complex than that, you silly.
 
9:33 PM
overflow: auto; :P
 
@DeadCicada Spoken like a true woman
 
@Griwes thanks for googling for me. =)
 
@daknøk youdontgetit: onoudont;
 
Well, here we say, RTFM, GIYF or just ignore :)
(there's my factoid)
 
@sehe, I like LMGTFY even more than RTFM :P
 
9:34 PM
@rogcg Oh in that case: stackoverflow.com/questions/12573816/… ( and +25)
 
@DeadCicada because you don’t make clear what you want.
 
Women never say what they want and then they expect men to magically know what they want.
 
This is 9gag all over again, women vs men shit
 
Robots have no feelings and they do what I want, so they are superior.
 
9:37 PM
@daknøk I'll post my question on SO in a few days if I can't find a solution myself. I'll link it then.
 
@Borgleader Me neither. Why do you mention IBM, when I mention an optimization? That seems like the strangest association I've seen in a long time
^ star-worthy
 
^ star-whory
4
 
@sehe Because I googled SSO String, and it's a class in the IBM namespace?
 
<— star-whory
 
@daknøk Too late
@Borgleader ?!?! you googled wrong
 
9:38 PM
@daknøk Try again next time.
 
@Borgleader Poor you. Getting filtered search results again. That must suck
18
Q: Meaning of acronym SSO in the context of std::string

RaedwaldIn a C++ question about optimization and code style, several answers referred to "SSO" in the context of optimizing copies of std::string. What does SSO mean in that context? Clearly not "single sign on". "Shared string optimization", perhaps?

That was 6 seconds of search Stack Overflow for [c++] sso
 
Hm.
 
@Borgleader also try ordering by votes
39 secs ago, by DeadCicada
Damn that was long.
 
@sehe I searched google not SO
 
9:41 PM
SO search doesn't suck surprisingly.
 
@Borgleader Well, google knows it too. Unless you get lost in the first hits, or assume it must be an exact hit. It is still a search engine, only. Anytime you google TLA's you will have to use brains to sift context/distill the concept
No, it sucks predictably.
And big time
 
@sehe Anyway, I read about that before (in Meyers' book, I had forgotten about it though)
 
It works just fine for me.
 
@Rapptz I'm not saying it's broken. It just doesn't work. Say, [c++] array size POD - see how happy you are
@Borgleader Hehe. Well, a quarter karma point is awarded for authentic excuse
 
What am I supposed to look for?
Why would I use your search term to look for something when I have no idea what the end result is supposed to be? Kind of confused, I guess.
 
9:45 PM
Does GCC have some fancy magic to prevent infinite template constructions?
 
@Rapptz Bad results. Take any topic that requires two exact (not possible with SO's Lucene index) search keywords (I'll let you figure out how to specify "all keywords")
 
I'm getting 'no type named type in...' with certain infinite constructions
 
@Rapptz Well, you're bound to be confused when you start guessing about your own state of mind.
@Pubby Well, all compilers have it: max template nesting depth. It's an option.
@Pubby Not really, you should get a compiler error saying it bottomed out while instantiating. If you don't, it will have been 'swallowed' as a SFINAE
 
@sehe I think this is different though
 
The thing is I'm not sure what I'm supposed to search.
 
9:47 PM
What sehe said. Either that or an ICE.
 
struct test {
  typedef test::type test;
};
 
@Rapptz If you can't even think of some search goal, then how will you be able to evaluate the functionality of the search feature? Let me remind you of your own claim:
7 mins ago, by Rapptz
SO search doesn't suck surprisingly.
 
Because of the 50+ times I've used it, it has rarely let me down.
 
^ Try compiling test::type::value ^
 
@Pubby That's gonna fail instantiation. At the first level
 
9:49 PM
@Pubby test is incomplete at this point.
 
@sehe What does that mean?
 
0
Q: Loop to do something n times without int i = 0?

user1661781For a homework assignment, I am not allowed to use any variables like "int i = 0;" -- only pointers. The problem is that I need to do something n times -- let's say 10 times -- but I can't figure out a way to do this said things n times without a for loop. It is manipulating a pointer to integer...

 
@Pubby there is no nested typedef test::type
 
@sehe I still don't follow
 
I'm not sure how I should respond to the question.
 
9:50 PM
What does test::type refer to?
 
Or to any of the other answers that have been posted thus far.
 
@Pubby I suspect a typo in your test code posted here
 
@Insilico I think the first answer is accurate.
 
@Insilico Just shout "iterators"
 
Well, the reason I ask is that I'm doing that stack language stuff:
struct foo : word< foo > {}
 
9:51 PM
@Borgleader It's accurate, but I wished it was more than a "HERE'S THE CODE" answer.
 
^ that has same error as test
 
@Pubby That was kinda neat. Though the link to the source was missing at the time I read it
 
But this gives me an infinite stack:
struct foo : word <int_<5>, foo> {};
 
@Pubby Impossible. How can you get an infinite anything?
 
@sehe I basically did that in my answer, which I then deleted.
 
9:52 PM
@Insilico Oh well, maybe you didn't have to
 
@sehe Well, compiler hits nesting limit and gives me a bunch of fives
 
Words that should be used instead of 'infinite': arbitrary, non-terminating, non-converging.
 
@sehe Deleted mainly because the question was tagged .
 
@Pubby Ah. So you knew the answer already. Usually, "forward" declarations or erasure to the recue
@Insilico Well, char* are string iterators in C
 
@Pubby A "bunch of fives"?
 
@sehe True, but the OP is struggling with a rather trivial problem so mentioning iterators might be much.
 
Ell
what does non converging mean?
 
@Pubby Good lord what the hell is that?
 
@Insilico arbitrary, non-terminating, non-converging fives!
 
@Pubby Thank you.
 
9:55 PM
@Insilico That's very beautiful
 
I haven't seen that many repeated closing brackets since Lisp.
 
@Insilico Really. It doesn't really hurt calling things names as long as you demonstrate how it works
 
Ell
wow.
 
@Ell it's a maths series thing. See Leibniz/Newton I guess (I feel I'm missing a crucial name here)
 
who here has bent for apps and can give me good feedback on my app?
 
9:57 PM
@JoeSmith I can give you negative feedback on your app as well.
 
I don't bend for apps
 
that is good as well
 
"I am ashamed to tell you to how many figures I carried these computations, having no other business at the time."
- Isaac Newton on Pi
 
@JoeSmith (Supposed to be a joke)
 
@Insilico Still good.
 
9:57 PM
trying to reinvent paint app for Windows 8
 
No need for advertising
 
Ell
I'm going to make a pokedex app
 
its a free app
no need to buy and I am still making it
 
@JoeSmith So what does your paint app do that I can't already do in Paint?
 
9:58 PM
and that is why I need feedback
 
Ell
data mining is still in process :L
 
mainly the UX is what makes it nice
 
@JoeSmith You've mentioned that
 
Ell
db design is the hardest bit
 
@Ell Shhh. Until they pick up on your ignoring robots.txt
 
9:59 PM
@LucDanton That's actually not very long
 

 UX Chat

User Experience (ux.stackexchange.com) community chat room: ta...
 
@Pubby Probably depends on how math-inclined you are, I guess.
 
Thanks, @daknøk
 
Ell
they will add me to an ignore list? :o
 
@Pubby It would be a shame to not check one or more of the cross-links though.
 
10:00 PM
@Ell "they"? - Oh I see
 
@sehe np
 
I couldn't decide between linking the general view or the more restricted article on convergence in the context of sequences.
 
@Hobbyist I hadn't seen that one before
 
Ell
@sehe I'm a bit confused :L
 
I saw it on one of those wiki articles and lol'd
 
10:07 PM
@LucDanton should std::tuple<> potentially be POD? I'm trying to explain for myself why sizeof(T=std::tuple<char,char,char>)==sizeof(struct X{char x[3];}), but sizeof(variant<T>) == 16 and sizeof(variant<X>) == 8 here
I figured it might be because std::tuple isn't POD
 
What kind of 'should'? Should it in an ideal world?
But ya there is no requirement on POD-ness.
 
@LucDanton Mmm. So maybe try my luck with boost::tuple then :(
 
Can you try setting boost::has_nothrow_copy_constructor<T>::value to true if that's not already the case?
 
Lemme check
 
Not sure about the exact name of the trait.
 
Xeo
10:11 PM
shouldn't that be "is_nothrow_copy_constructible"?
 
What kind of 'should'?
 
Xeo
I think they changed the names from the "has_nothrow_xxx" to "is_nothrow_xxxible" in the process of refining C++11
 
Well okay.
But
Boost.
 
Xeo
Oh, right.
Sorry
 
It doesn't seem to make a difference
(note I'm only testing with single-kind variants a.t.m., so the comparison to sizeof(first) is actually meaningful now)
 
10:15 PM
Does that really report std::is_pod<char> as false?
 
@sehe i remember something about deallocation. u nead to reed the docs for that ...
 
@LucDanton um. goooooood point. It does
@Cheersandhth.-Alf wut? deallocation of variants?
 
I also see the boost::variant<T> being reported with a size of 8, not 16?
Regardless of that explicit spec, too.
i r confus
 
oh it's ok, except for the remote possibility of string constructor throwing
i remembered wrong
sorry
 
10:19 PM
@LucDanton That's in the case of variant<char> or variant<struct{char[3];}>
 
> 8 boost::variant<std::tuple<char, char, char>, [...]
 
The case where T = tuple<char,char,char> returns sizeof(variant<T>)==16
 
Real end of the output of your link.
 
@LucDanton Oh hey, must be -m32 difference. It's 16 here
 
Who compiles with -m32? You or LWS?
 
10:21 PM
@LucDanton LWS, obviously. Though, I just checked and adding -m32 gives me 8 as well.
 
Compare sizes of struct { char a, b, c }; with struct { char a[3] }; for completeness?
What with std::tuple really being more of an analog to the former than the latter.
 
@LucDanton Already did. I had separate structs first, but verified that the member array was equivalent
@LucDanton I have a vague memory about tuple<T...> being POD iff al T... are POD. But apparently that's not required. That may lead variant<> to forego some space optimizations
 
Skype y u load message history on main thread.
 
@sehe Might get answers from examining implementation of Boost.Variant at this point. Not that fun, but not that terrible either.
 
Wokay. Any kind of 'tracer' I could send in, perhaps?
 
10:26 PM
Wot?
 
@LucDanton liveworkspace.org/code/406b72bee926fcce17c164c972343f93 reconstructed my earlier test case (yay for vim persistent undo)
@LucDanton I have heard that people sometimes send in template arguments specially crafted to 'detect' some internals and report back by way of compiler error. (Never used that myself, really). I think I remember the technique being names 'tracer class'
 
Mmmh I've done things like that to detect bugs in my code (concept covering comes to mind), but can't say I use it to study the code of others.
 
@LucDanton Wokay, I fixed my is_pod usage now. Indeed, neither std/boost tuples end up being POD. See liveworkspace.org/code/f7e92cf63b6a959b4a0326788e4e9d6b
 
A recent libc++ might deliver on that point.
 
Ell
is abi c++0x?
I mean c++11?
 
10:39 PM
There is no standard C++ ABI.
Or at least not one defined by the Standard.
 
@LucDanton I might have a look at the robots variant implementation (IIRC he has one)
 
Because it’s impossible.
 
Ell
in @sehe's code there is 'abi'. is that in all compilers?
 
For example, different processors have different number of registers.
 
Precisely
 
10:40 PM
@sehe Mine is better. If he has one.
3
 
@Ell There is an abi, alright
@LucDanton Erm. Linky? I keep forgetting your gh whereabouts
 
@sehe Maak een bladwijzer aan!
Watch hem!
 
@daknøk I might have, but since ... Oh wait, maybe I watched him. Having a look
 
Ell
why does number of registers matter?
 
@sehe I'm on bb (initialisms are fun!).
 
10:42 PM
@Ell the first few function arguments are often stored in registers, the rest on the stack.
 
But if a computer has only got two registers, and the Standard would say “put the first four args in registers”, the language is not portable.
 
My eyes.
 
Since you can’t implement it for that machine.
 
@sehe tl;dr the layout is typename std::aligned_storage<max(sizeof(T)...), max(alignof(T)...)>::type + int.
Boost.Variant computes the max alignment differently and I've forgotten how or why.
Possibly I've never known why.
I really only linked to the code because all the features (which are completely off-topic) beat anyone tbh.
 
10:45 PM
@LucDanton I remember the robot spending a lot of time on optimized layout for tuples, so I'd think he though about his variant too :)
 
@Cheersandhth.-Alf Why. NSFW. NSFL. NS.
 
@Cheersandhth.-Alf what a douchebag.
 
@sehe Yeah I meant 'better' as in 'more chrome'.
I'm not even at 1k lines of source so there!
 
I'm so confused.
 
10:47 PM
in Room for suresh.g and sehe, 24 secs ago, by sehe
@suresh.g not sure if you're trolling/spamming
^ uhoh
 
Maybe he doesn't speak English as his first language?
 
@Cheersandhth.-Alf Okay. On this exceptional occasion I will be heard begging you to go back to posting food porn again. If you must post disturbing images at all
@Rapptz Does it matter? Why did he create a room for me and him in the first place?
 
He's new to SO. Looks up to you. Figures maybe you'll help him. Can't speak English though.
 
"i want to ask my permission about stackoverflow. i feel you are best suite for answering me."
 
He says he got question banned but doesn't know why in your chat room.
 
10:50 PM
Î think that's someone looking for an authority
 
@Cheersandhth.-Alf Ah. He came to right place. Hahahaha
@Rapptz Oh nice, what is that, cross chatroom subtitling now? I think I can manage the plinks :)
 
"Guy with passion for PHP, Rails, JQUERY..!!"
 
@sehe What?
 
@Rapptz I responded in the clearest possible way I could think of
@Rapptz I a word. Anyways, I thought it was funny you'd whisper me what he said in the other room, while I can, obviously, see that easily for myself :)
 
A little I guess lol
Why is the SO autoban so easy to trigger?
 
10:53 PM
It was probably not meant for me. But hey, everybody interested can visit that room :)
@Rapptz So easy? Did you run into it?
 
I don't ask questions but it seems common to be question banned
 
He doesn't have the peer pressure badge.
But none of his questions recently seem to be in the negatives.. Did someone else delete them?
 
There's a peer-pressure badge?
What's that for?
 
Delete your own post with -3 score or lower.
 
10:58 PM
Haha, nice.
 
@ThePhD Another "I have to ask" incident. This is getting more popular. Much like "How cool is that" a half year back
Oh, no worries: I can frobnicate perfectly cromulent words to fuzz my way out of many a situation that requires emfibbening :) — sehe 53 secs ago
@Rapptz Doesn't help once you've been Q-banned. Of course. Otherwise there would be an extremely easy recipe to evade Q-ban
 

« first day (735 days earlier)      last day (4228 days later) »