« first day (586 days earlier)      last day (4588 days later) » 

19:00
@Cicada glad we helped
@Nils I don't know if there is one. :/
Xeo
Xeo
@Nils Did you seriously find it offensive that I "yelled" out "fuck" at no one in particular?
0
A: Read-only member variable of class

user643540I am not 100% sure, but it looks like it is not possible to do it with templates. Because templates have no means to read preprocessor variables. To make your code more readable, you may define macro like READONLY_INT and declare it inside other .h file.

"fuck" is not offensive
Ahahaha, "to make your code more readable, use a macro".
neither is FAGGOTS
19:00
@Xeo sry I thought I could easily unflag it again, of course not
"macintosh" however, is a bannable offense
Maggots!
Now I have to resist an urge to play TF2.
Check Tribes : Ascend
Also Storm by Nadeo
Xeo
Xeo
Argh, fuck, my router is doing it again. The original reason I wrote "FUCK" is that my router or my ISP seem to have fucked up. "DNS resolving failed" when I try to open any website
I suck at T:A.
Xeo
Xeo
19:02
Maybe my router flagged me!
@Xeo Use Google's DNS cache, duh.
yeah the code police
where are they?!
8.8.8.8, 8.8.4.4.
Xeo
Xeo
.... I'm an idiot.
I still had Stealthy on.
@Xeo wink wink
19:03
Delcare a macro which creates a useless class and go to Gauantanamo Bay!
sadly not happening
EDIT: I've checked the performance in a loop, it generates about 15~20% overhead using VS2010. It does not result in the same code, automatic inlining enabled.
Pacefalm.
2
sbi
sbi
@Nils If you indeed flagged that, please leave the room now and do not come back before next week.
uhh any European Universities?!
@sbi no sense of humor?
There, Shootmania Storm : youtube.com/watch?v=AokX-7VnHwE
The graphics are scary
@Nils German
19:09
"Africa and the Middle East German University in Cairo"
lol
sbi
sbi
Note that all >10k users get notified about every flagged message across all rooms of the chat and most of them find that very annoying, especially when done for silly reasons. So please think thrice before flagging something. — from the newbie hints, maybe you should finally read them, you greenhorn?
Nadeo?
They had to call it SomethingMania.
@EtiennedeMartel Why yes, of course. Else it wouldn't be Nadeo.
@sbi I read the newbie hints about once a month, and I still forget half the rules :/
sbi
sbi
@ScottW Is laziness your god?
19:10
Next: ManiaMania.
Laziness is me.
@CatPlusPlus I don't get what he wants over const though... or just a quick accessor that returns a const ref
Also, about flagging, other rooms are uptight and boring and don't get our sense of humour.
@Collin It's read only, but not really. Or something.
@MooingDuck I says so when you acted on a flag...
~~
I counterflag everything on a principle.
@CatPlusPlus unless he wants the c++ equivalent to int i { get; private set; }
19:12
@Cicada bananable offense, FTFY
Probably something like that.
@RMartinhoFernandes that's a wierd thing for it to do
I don't have enough patience to dig in detail to silly questions.
sbi
sbi
@Cicada You might want to wash your moth now.
roflwaffles
"Yahoo on Wednesday launched a new browser called Axis and researchers immediately discovered that the company had mistakenly included its private signing key in the source file,"
hahahaha
19:13
@sbi Let me find a moth
Yahoo FAIL
Where did I put my moth
Oh, it must be flying around again
Damn you moth!
@Cicada Oh, I think I've seen that on RPS today.
sbi
sbi
@ScottW Too lazy to think, huh? To get you going: you have <10k because you're too lazy to answer more questions.
@Cicada Oh, damn! :)
Xeo
Xeo
@Cicada Damn me originally misreading @sbi's message and consequently misreading all yours and wondering wtf you were trying to say.
19:15
Damn, @sbi was pwnd.
Oh, no, it was something else that had trailer created using in-game tools.
Nevermind then.
sbi
sbi
@Xeo I think you actually read it right, rather than misreading it. It's only that I mistyped.
Xeo
Xeo
@sbi Yeah, but @Cicada's messaged were kind of strange when substituting "moth" with "mouth" in my head.
@sbi He's saying he read it as if you've typed it correctly, methinks.
And that's exactly what you just said.
So I'll just go over there.
I love these chats.
19:17
This song reminds me of C++ somehow youtube.com/watch?v=fuhgWXg4rw4
sbi
sbi
@CatPlusPlus Yeah, go and heat yourself a pizza.
Xeo
Xeo
@sbi Damn, don't make me hungry.
sbi
sbi
@Cicada If you love this room, you're a pervert.
I don't have a pizza.
I should order one. Or three.
Or A THOUSAND.
19:17
@sbi I'm eating popcorn right now. This fits so well!
sbi
sbi
@CatPlusPlus Too bad, because I think that's the whole extend of your cooking abilities.
@Xeo Why not?
@Cicada There's only one cat here.
sbi
sbi
@EtiennedeMartel That's wrong.
sbi
sbi
@Cicada It also fills well. :b
19:18
@EtiennedeMartel I'm actually an infinite set of cats.
Are you recursively enumerable
Or prime?
@CatPlusPlus So many cats.
sbi
sbi
@EtiennedeMartel you talking to me? I said "That's wrong." I did so, because what you said is wrong.
1 message moved to bin
Xeo
Xeo
@sbi somehow seems more grumpy today than usual.
Hey, since when do trap messages get binned? D:
sbi
sbi
@Xeo I just don't want the room to go quiet because you lured everyone to The Site That Must Not Be Linked.
19:20
We shall link it until the end of time.
sbi
sbi
@EtiennedeMartel Actually, I can only think of two cats here.
For no one can stop the Tropes.
@sbi Hmm? There's ++, and...?
Xeo
Xeo
@EtiennedeMartel Tony, prob
He's a big cat, though.
Oh, right. But when I say "cat", I mean your average household cat, Felis catus.
Xeo
Xeo
room topic changed to Lounge<C++>: We invented our own Voldetrope. [c++] [c++11] [c++-faq]
@EtiennedeMartel I wonder what a Felis cactus would look like.
19:22
How did if (ptr) delete ptr; become so common
@Cicada can't free a null pointer in C
@Cicada I don't know
@MooingDuck Pretty sure that even free was specified that way in all C Standards
Xeo
Xeo
@MooingDuck free(0); is a noop in C too, isn't it?
But a rather bad practice IMHO
19:23
Well uh free(NULL) is legal AFAIK
So the if is just redundant
oh, I heard it wasn't, and that explained all of the ifs
sbi
sbi
Cat: Any member of the Felidae, the biological family of the cats, including tigers, pumas, and wildcats. — Wikipedia // @Etienne
You should think about freeing when creating the object.
@sbi Isn't that definition recursive
Xeo
Xeo
@Cicada Maybe from if (ptr_to_refcount_obj) release(ptr_to_refcount_obj); or ptr_to_refcount_obj->release();
19:24
Either via smart pointer of a composite pattern a'la Qt
@sbi I know you were nitpicking the shit out of me.
@DeadMG google validates
Oh, semantics, u so funny
sbi
sbi
@Cicada That depends on whether Felidae is defined as Cats. (I dunno, I haven't followed the link.)
What's the code crime Nr 1?
19:25
@sbi > Cat: Any member of (...) cats
I vote for dumb typedefs, macros and useless abstraction.
sbi
sbi
@Nils Silly flagging.
Xeo
Xeo
lol
@sbi yes tell me how to unflag
sbi
sbi
@EtiennedeMartel Actually, I wasn't nitpicking. It might be a translation problem. In my language, "cats" commonly does include big cats as well as house cats. It might be different in yours.
Xeo
Xeo
19:27
Btw, I think we're seriously the only room that likes to mess around with the topic.
@sbi It is indeed
Xeo
Xeo
@sbi Though tiger, lions, etc are more commonly called "Großkatzen", not just "Katzen"
@sbi in America "cats" strongly implies housecats.
For "big cats" we use "félidés" which is indeed felidaes
sbi
sbi
@Nils You unflag the very same way you unjump back up to the 20th floor. Boy, grow up, some things cannot be undone. Sometimes, only sometimes, you will have to think before-hand.
19:28
Cats are just the lazyfucks in houses
Xeo
Xeo
Oh, "big cat" is even a valid translation for "Großkatze".
@EtiennedeMartel Catastrophe.
Xeo
Xeo
@RadekdaknokSlupik "Cat"as"trope"?
19:29
@Cicada Or "félins".
@EtiennedeMartel That's a synonym if my memory's correct
But yeah félin is more common indeed
sbi
sbi
@Xeo Yeah, and ocelot, domestic cat etc. are usually called "Kleinkatzen". (And the puma is somewhere in between.) So? They are both called "cats", though.
@MooingDuck Ah, my bad then.
Xeo
Xeo
@sbi True enough.
hmm, apperently I can't have overload a function void func(unsigned) and void func(myenum)
sbi
sbi
@MooingDuck Not in C, no.
19:31
@sbi C++ you mean? (MSVC10)
Use enum class.
sbi
sbi
@MooingDuck In C++, you can.
In C++ you can, assuming you don't have using myenum = unsigned; somewhere.
@RMartinhoFernandes well, technically it's just intellisense, which is already berserk, so I'll ignore it for now
Or not.
IS is more harmful than helpful.
19:32
what in the... my stdint.h contains #include &lt;limits.h&gt;
With the XML entities?
@MooingDuck are you writing C or C++?
@Nils C++
sbi
sbi
@Nils XML, apparently.
19:34
hehe
@RMartinhoFernandes yeah, my whole file has been xml escaped...
Escape from XML island.
sbi
sbi
@MooingDuck Did you download it? It's probably HTML-escaped.
@sbi oh, that would explain the strange copyright at the top
19:35
Lol.
// ISO C9x  compliant stdint.h for Microsoft Visual Studio
// Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124
//
//  Copyright (c) 2006-2008 Alexander Chemeris
> my frind is the programer and he cant help He is busy
There were lots of errors but i fix it (MSDN Library)
the compailer not Recognize it
It's entirely silly to use XML entities in a text file.
Whether it'll be served to browser or not.
@Cicada The heck is that?
How do people arrive at words randomly capitalised in middle of a sentence?
There was someone here recently who did that, too.
19:37
@RMartinhoFernandes Some C# qustin, frshly askd
@CatPlusPlus And the words that are supposed to be capitalised in the the middle of sentence are not!
But systematically?
-1
Q: 3 lines Remained to finish big project - c#

yair ai make project that search int or string or byte on memory adress of process and retun the adress that Contains what i look for like the program "Cheat Egnine" 3 lines Remained to finish this project the code: StructLib.MEMORY_BASIC_INFORMATION info; var size = (uint)Marshal.SizeOf(t...

Semantically!
19:37
Holy papayas!
Cheat Engine
What is that thing?
Cheat engine.
I just noticed that and I'm already laughing.
Compailer.
Oh, sorry, egnine.
19:38
@Cicada Just about to copy-paste that line
My god, if that question was written in caps, it could pass as Hulk speech.
sbi
sbi
@CatPlusPlus There's different capitalization rules in different languages.
Sorry about my bad English
My brain is too good at implicitly correcting things.
Yeah, you better be sorry.
19:38
@sbi I don't Think Any SanE langGuage woUld do tHIS
I'm not a good programmer — yair a 17 secs ago
sbi
sbi
@Cicada Nor was it done in the text you quoted.
@sbi Indeed. I love exaggeration a bit too much.
@sbi I know you've got that weird "let's start nouns with a capitalised letter" thing, but what other language?
sbi
sbi
19:40
@Cicada Note that the @Cat said "in the the middle of sentence", not "of the word." EXAGGERATION is fine, though.
@CatPlusPlus English for example has very weird capitalization rules for headlines.
@sbi > implying a word is not in the middle of a sentence (but I get what you mean)
@RMartinhoFernandes Your mouth is flexible.
Your moth is flexible.
Moths.
I don't have a moth.
I have a cat though. Two cats, actually.
sbi
sbi
19:41
@EtiennedeMartel Loser!
@EtiennedeMartel One's a lion, right?
A non-empty set of cats.
Cats always form sets.
@sbi No. Both are domestic cats.
HULK SMASH
sbi
sbi
@CatPlusPlus Is that the etymological root of the word "cassette"?
Gah, I've read that as "dynamic cats".
@sbi Yes.
@ScottW One does not simply own a lion.
@CatPlusPlus I thought cats were all static?
sbi
sbi
19:42
@EtiennedeMartel A domesticated lion, huh?
Like, they never moved?
dynamic_cats<>
while-if-for-while-try-if-if-if... Ow.
They just chill.
All fat and lazy and shit.
Chillin's good.
19:43
@EtiennedeMartel They lack move semantics
sbi
sbi
@EtiennedeMartel They are const_cats<>!
@sbi They're mutable: they get fatter.
You can fold them. Catamorphism.
Cats are implicitly lazy
sbi
sbi
gato gordo?
19:44
Yes. They just don't move. They're like statues. Made with fat. And hair.
Their hair moves, though.
My cat is excited for you! or sleeping... hard to tell..
@sbi Wow, how did you know that?
sbi
sbi
Cats aren't necessarily lazy, though. The other day a cat caught a blackbird on the playground and played with it for half an hour before dropping it and sleeking off. My kids were shocked.
19:46
Cat is a fifth state of matter.
sbi
sbi
@RMartinhoFernandes Um, I thought that was Spanish? Is it Portuguese? Sheepish grin.
@sbi Oh, it can be both.
"Cat" is just one letter away from "fat".
My brother-in-law's tiny little cat killed a big canadian goose that came crashing through their lower floor apartment window once

This cat has also sliced its tongue open licking a shaving razor.
@Collin Oh fuck, at first I read that as "canadian moose". I was like "WTF"?
sbi
sbi
19:47
@RMartinhoFernandes Ah, Ok. I learned it from a book in my teens.
Really, moose-pictures.com, REALLY?
I'm as surprised as you are.
Damn rednecks.
Males (or "bulls") weigh 380–700 kg (840–1,500 lb) and females (or "cows") typically weigh 200–360 kg (440–790 lb).
Those things have a lot of inertia when you crash in them with a car.
@EtiennedeMartel they tend to total the car
They have more inertia when they drive a car.
19:52
NO LLAMA NOOOO
I like trains.
RAIIIINBOOOOWS.
Civ5 free weekend on Steam.
And -75%.
It's like they really want me to play.
But, I can't micro my speedlings in Civ.
If I'm writing yet-another-utf library, does it seem like a good idea to put the complex utf logic in a .cpp file rather than in a header? Because that vastly complicates string comparison unless I require all strings to be contiguous.
19:53
In fact, I can't even make speedlings.
Any strategy game that's not like SC sucks.
3
Why does it complicate string comparison?
Civ is not an RTS, silly, different genres.
@CatPlusPlus Oh, fuck.
sbi
sbi
@EtiennedeMartel Oh boy. Imagine a 1000lb of a Canadian Moose smashing through your lower-floor apartment window at full speed, totally wrecking the place, before being wrestled down and bitten to death by the Felis catus in residence. That must be one hell of a fury cat.
I'm afraid I'm gonna have nightmares tonight.
2
@CatPlusPlus because of unicode equivalence, and no exported templates.
19:55
Eh?
@sbi That cat has to be from hell.
Cat Fortress.
@CatPlusPlus the comparison function can't compare just one byte at a time, because n◌̃ is the same as ñ, which means I have to compare ranges, but I can't use iterators, because I can't put template definitions in the cpp file.
sbi
sbi
@EtiennedeMartel They probably hadn't fed it in days.
19:56
@CatPlusPlus The Perfect Game for CatPlusPlus!
You can put iterators in hpp file.
I could compare one codepoint at a time, and combine characters...
Or have only operator== and unicode_string substring(int, int) or something.
@CatPlusPlus what of a comparison function that takes iterators?
You can detach iterator from the implementation.
Make it store a whole codepoint.
Or something.
19:58
@CatPlusPlus yeah, I think that's what I have to do
Or index in characters.
0
Q: C++ for loop/char pointer "hack"

user1125518I have a small piece of code which does something funny, but I cant figure out how it does it. int main(int argc, const char * argv[]) { char text[] = "object"; for(char *ptr = &text[0]; *ptr != '\0'; ptr+=2) { cout << ptr << endl; ptr--; } ...

Some fundamental misunderstanding here.
Clearly he's bitshifting stdout instead of multiplying.
That meme's dead, Jim.
No.

« first day (586 days earlier)      last day (4588 days later) »