« first day (692 days earlier)      last day (4261 days later) » 

3:00 PM
You picked up a Python!
That means you’ve lost 10 Rubies.
And that’s a little bit not sad.
 
what does that even mean?
 
It means you’re a noob at The Legend of Zelda.
 
@kbok o.o
 
@kbok Skyward Sword was a fun game.
 
room topic changed to Lounge<C++>: That was a bad topic, this one is worse. [c++] [c++11] [c++-faq] [pinky]
 
3:01 PM
The FH rupoor scene is actually way funnier
 
@Drise yup
 
But I can't find a screenshot :(
 
room topic changed to Lounge<C++>: Congratulations. You just won the Shittiest Question of the Day Award. [c++] [c++11] [c++-faq] [pinky]
2
 
LOL :)
That deserves a star :)
 
@sehe How can I initialize it to false upon class creation if I don't have access to the constructor?
 
3:02 PM
@TonyTheLion It exists. There is twitter feed for those
 
@SO_QuestionOTD, Internet, Serious Business
SEND ME THE CODEZ
74 tweets, 164 followers, following 2 users
 
@sehe Yeah, and it tweets once every blue moon.
 
@sehe I don't tweet.
 
It's more like SOQuestionOfTheBlueMoon.
 
@TonyTheLion You don't have to tweet to be able to read
 
3:04 PM
@sehe fuck reading, it's too much effort
 
The instruction at "0x73365BC3" referenced memory at "0x1786607A".
The memory could not be read.
tut tut Blizzard, ur failing ur memories
 
@TonyTheLion Speech synthesis!
 
"I don't give a tweet", lol
 
27 secs ago, by Tony The Lion
@sehe fuck reading, it's too much effort
 
@R.MartinhoFernandes It's actually hard to find funny crap questions that don't get deleted
 
3:05 PM
@DeadMG Sue them for trying to steal your data.
 
how to send picture
 
@R.MartinhoFernandes quite appropriate :P
 
@chenchang Press the "upload..." button.
Or just link to it if it's on the Internet.
 
@R.MartinhoFernandes image.baidu.com/…
 
Aug 12 at 17:19, by Radek Slupik
user image
 
3:06 PM
@chenchang loungecpp.wikidot.com/owners%3Anewbie-hints under What is there to know about writing messages in the chat?
 
thank you
 
My list is filling. :(
 
What list?
 
@daknøk Plonk list
 
Is there a max?!
 
3:08 PM
Nope.
 
@daknøk I have 3. I didn't think I would have any at all.
 
I have about twenty or something.
 
@chenchang Read the newbie hints. Now. First. Really.
 
Flapjack sounds tempting
hmmmm
 
I’m hungry.
 
3:09 PM
your mums sack
 
You cannot not be hungry.
 
@daknøk Scott, is that you?
 
@sehe woof woof
 
 
LMAO
 
3:10 PM
I'd like the last frame: ROFLMAO
 
??
mao ze dong
 
It's comic strip Friday !
 
@kbok No it isn't
 
@sehe It's Friday !
 
@chenchang Well he was the dictator of China.
 
3:11 PM
@daknøk Chen is from China, remember
 
How do I know.
He never told me.
 
> I'm chenchang come from China
 
@daknøk just look at his name
 
@daknøk General interest. You click on profiles of people to know a little more about them.
(overwhelming is the word, slupik)
 
Unless he lied of course.
 
3:12 PM
@Abyx He could just as well be from another Asian country or name himself after a fictional character.
Also, my name is Polish though I am Dutch.
 
@kbok No, it isn't :(
 
And my nickname looks somewhat Danish.
 
@R.MartinhoFernandes Um.. I.. What ?
 
@daknøk Yeah, but you're just weird
 
Oh, it is.
It is! :D
 
3:14 PM
Wakey wakey
 
Oo
 
@sehe Of course I am. I am a programmer and I am Dutch.
I am going to eat. See you.
 
@daknøk Phew. For a moment I read something very disturbing there
 
@daknøk I read that as "I'm going to eat you. See."
@sehe Oh, just not me?
 
能发中文吗?
 
3:21 PM
@chenchang What?
 
We don't speak your language here, please use English
 
GHC now has string type parameters. Woot.
 
ok ,lol
#include<stdio.h>

int main(void)
{
char *ptr = "Linux";
*ptr = 'T';

printf("\n [%s] \n", ptr);

return 0;
}
 
that'll print "xxx"
 
@chenchang Nevermind
 
3:26 PM
UB??
 
user784668
@LuchianGrigore That'll format your boss's hard disk.
 
@chenchang That's painful.
 
[Tinux]
 
@chenchang Yes.
 
@kbok No.
 
3:27 PM
@chenchang Undefined behaviour.
 
@R.MartinhoFernandes I'm not sure about that, it's C after all. gcc will produce a mutable char array. (In certain conditions)
 
user784668
@EtiennedeMartel Uh, why? It's a valid result.
 
seg-fault is right?
 
@chenchang Should be char ptr[] = "Linux";
I'm really tired.
 
3:28 PM
@kbok No, it won't: ideone.com/Zau5l (and if it will it's under the umbrella of UB)
 
@kbok Why would you name an array ptr? That's just terrible.
 
@Fanael UB. He's modifying a litteral.
 
It's UB -- nobody can predict what will happen. Most compilers under MS-DOS would have printed "Tinux". Under many newer systems, the system will stop you from writing to it. The C++ language doesn't attempt to place any limits on what could happen though.
 
@FredOverflow I don't care how he names it, the important part is the array
 
char a[] = "Linux";   // <-- not a pointer
 
user784668
3:30 PM
@EtiennedeMartel Yes, therefore it's a valid result. See my alternative possibility of formatting your boss's hard disk.
 
@Fanael How is that valid?
 
Modifying string literals has also led to numerous pregnancies.
4
 
user784668
@EtiennedeMartel Everything is.
 
@FredOverflow hahahahaha
 
@JerryCoffin gcc 4.3 on ideone prints [Linux], but g++ 4.3 segfaults. Weird.
 
3:32 PM
@R.MartinhoFernandes The absence of segfault is very disturbing
 
@chenchang That's C, not C++.
 
Still UB
 
very true
 
I know, cause I tried it a few times, and got Nasal Demons :(
 
c++ contain C
 
3:33 PM
@FredOverflow ptrArray is better
 
@chenchang Oh dear.
 
int i; int i;   // valid C, invalid C++
2
 
@TonyTheLion How could you tell? Nasal demons happen to you all the time anyway.
 
@DeadMG shush you
 
3:33 PM
@Chimera No, char a[] = "Linux"; declares an array of characters. There is not a single pointer in that line.
 
@TonyTheLion woof
 
user784668
@chenchang "C++" contains "C".
 
crash or seg-fault
 
Man, this endless stream of bugs doesn't end
 
@FredOverflow I know, I wasn't responding to that part of the conversation.
 
3:34 PM
I think they are doing this purposely here, to test my nerve
 
@TonyTheLion Welcome to programming.
 
@FredOverflow urgh :(
 
@FredOverflow a[] is not a pointer, but the elements can be accessed using pointer semantics though.
 
Everything can!
 
std::string s("Linux");
s[0] = 'T';
std::cout << "\n [" << s << "] \n";
// now STFU
 
3:35 PM
@Fanael thank you ,my English is so poor
 
user784668
@chenchang Ah, you didn't get it. Good.
 
@FredOverflow comment is required for correct operation :)
 
"COBOL" contains "C".
 
build scripts, meh
I have no experience with them
 
3:36 PM
@TonyTheLion no good experiences, at least?
 
only make
 
Don't worry, you will constantly have to learn new things on your job, anyway. Doesn't matter if it's languages or build scripts or whatever.
 
and that is meh
 
@FredOverflow Due to the C99 comment style?
 
@FredOverflow Not if you count the null terminators :P
 
3:37 PM
@FredOverflow I'm not worried, I'm in a bad mood.
 
"EBCDIC" contains "C".
 
@sehe Couldn't you have said this within the 2 minute edit time frame? :(
 
The only happy thing is that I can go home soon :)
 
@kbok And "DIC".
 
@DeadMG what's "DIC" ?
 
3:38 PM
And you probably meant "EBCDIC" :P
 
Driver Information Center
 
@kbok short for dictionary
 
Dude Independent Cock, obviously.
 
@kbok "COC".
 
@FredOverflow I wasn't there when you said it. Sorry
 
3:38 PM
@R.MartinhoFernandes Sure I did :)
 
"assassin" contains "ass". Twice.
 
buttbuttin.
 
I am starting at 1 and not at 0 on my for loop. for(int i = 1; i <= 3;i++) and that is the same as for(int i = 0; i < 2; i++)Johan Dela 2 mins ago
 
Dysfunctional Room
 
@JohanDela You should learn to love counting from zero instead of fighting it, it's just how we roll. — FredOverflow 15 secs ago
 
user784668
3:40 PM
@R.MartinhoFernandes String literals are [] terminated, not U+0000 terminated. Unless they're not because of flexible strings.
 
@sehe How so?
 
You wouldn't be able to tell :)
 
@Fanael WTH is "[] terminated"?
 
@sehe Why not?
 
@Fanael Wut.
@Rapptz Sigh.
 
3:42 PM
Gobbledygook
 
[] terminated is when the last two characters are [ ]
 
user784668
@R.MartinhoFernandes Don't pretend you don't know that "abc" is 'a':'b':'c':[].
 
Oh, you're talking Haskell.
 
naaaaaaais
 
3:43 PM
hehe
 
@Fanael Now it can be a type of kind Symbol (check GHC 7.6)! Who knows without context?
 
today's xkcd reminded me of a criminal who had his fingerprints removed, and was subsequently caught for several crimes because it was so easy to identify his fingerprints.
 
2
Q: Sequence Points vs Operator Precedence

Robert DaileyI'm still trying to wrap my head around how the following expression results in undefined behavior: a = a++; Upon searching SO about this, I found the following question: Difference between sequence points and operator precedence? 0_o I read through all the answers but I still am having diff...

 
user784668
What's the result of rand() + rand()? Is it undefined, unspecified, some other kind of weird shit?
 
@FredOverflow i do know i am use to it. I know it will display from the value 0 to 2 in the grid if the loop is for(int i = 0; i < 2; i++) like I say the values now is not to important, the display is. — Johan Dela 3 mins ago
That will only print 2 values, lol.
 
3:49 PM
Would be cool if C++11 lambdas could be converted to .NET delegates in C++/CLI.
I really got a fertile imagination.
 
@FredOverflow If I design a programming language it won't have those three legged loop thingies.
 
@EtiennedeMartel You're a naughty boy.
@R.MartinhoFernandes That's why I love Scala. Well, that and other reasons, of course :)
 
@Fanael it's just a (not liniarly distributed) number, what did you expect?
 
@FredOverflow I say that because I'm doing C++/CLI right now and I want to use LINQ.
 
You get while, do-while, for-in, and shut the fuck up.
 
3:50 PM
Although I don't have extension methods either.
 
It would be cool if you wrote Haskell in your IDE and it automagically turned into C++.
 
Why? To make it ugly?
 
@R.MartinhoFernandes When was the last time anybody needed do-while? Just provide it as a library higher-order function and you're fine.
 
@R.MartinhoFernandes to fuglyfy
 
@FredOverflow I use do-while all the time
 
3:51 PM
@MooingDuck If rand() produces a uniform distribution, it becomes a normal one (OMG, I actually learned some stats!)
 
@FredOverflow I use it all the time as well.
 
@MooingDuck As I said, just use a library function. No need for it to be built-in.
 
@R.MartinhoFernandes only if you add an infinite number of them, but they approach a normal distribution, yes.
 
@FredOverflow I have other ideas :P
 
user784668
@R.MartinhoFernandes More like discrete triangular. More samples would be needed to approximate normal.
 
3:52 PM
@R.MartinhoFernandes Okay, what kinds of ideas?
 
@FredOverflow under that reasoning all you need is goto.
 
@FredOverflow Do you know F#?
 
@R.MartinhoFernandes Sure, F# is the third note on my E string.
 
The idea is that all control flow constructs are overloadable.
 
Yay ! I fixed ALL the regressions ! ... Let's make some more now.
 
3:53 PM
(Kinda like how do-notation in Haskell provides "overloadable semicolons", but taken a few steps further)
 
@R.MartinhoFernandes Overloading always helps making things more complex. Go go go!
 
user784668
Overload all the things!
 
@R.MartinhoFernandes why?
what would you overload if for?
 
Generate ALL THE MEMES
 
3:57 PM
@TonyTheLion Dunno. I haven't fleshed this out entirely.
 
user784668
@TonyTheLion Looping.
 
0
A: Vector formating C++

FredOverflow I am trying to display a vector in a square like you can display a array in a square. Is that possible Sure, why not? #include <iostream> #include <vector> int main() { std::vector<int> vec { 1, 3, 5, 7, 9, 2, 4, 6, 8}; auto it = vec.begin(); for (int y = 0; y...

 
user784668
@TonyTheLion There's a language where a semicolon may denote a loop, so why not a language where if may denote a loop?
 
3:59 PM
If I ever design a relevant language, it will use if answer = 42 then foo; bar; else baz; fi syntax, the fi is just so cute!
 

« first day (692 days earlier)      last day (4261 days later) »