« first day (668 days earlier)      last day (4272 days later) » 

2:00 PM
@rubenvb The whole debate was about horrible built-in editor, anyway
 
Rapid Environment Editor!
 
@FredOverflow you can't have std::unique_ptr<IFoo> because dtor is protected, and factory won't return it.
 
Use it dammit.
 
They're all kept in the registry anyways...
 
@CatPlusPlus Will have a look.
 
2:01 PM
@CatPlusPlus Ooooooh. Shiny.
 
pff doesn't even have a 64-bit build.
 
@FredOverflow He. No, he left.
 
What do all the colors mean? NVM, found legend
 
@CatPlusPlus That's exactly what I was looking for. Thanks !
 
0
Q: Which player class is created by better hierachy?

tuğrul büyükışıkWhich class is more acceptable for future implementations? Assault predator(multiple inheritance) or queen(multi-level hierarchy)? #include "stdafx.h" #include<stdlib.h> class living { public: int hitpoints; int adaptation; }; class alien:public living { public: bool tail; ...

refrains from posting snarky comment about how weird his current project is
 
2:04 PM
You know what sucks? That Windows doesn't search DLLs in symlink target's folder, but symlink's folder instead.
I could finally trim my PATH, but nooo.
 
@R.MartinhoFernandes He's obviously designing an Alien vs Predator game.
 
Batch files are so annoying for this.
 
@CatPlusPlus symlink the DLLs too?
 
@CatPlusPlus Karma is indeed a bitch.
 
That doesn't really help with keeping them off the PATH, innit.
 
2:06 PM
Instead of five booleans in the alien class and 2 booleans in the queen class, clearly you should have 32 different alien classes and 128 different queen classes ;) — FredOverflow 29 secs ago
 
Alright guys, see you all in a few!
 
@CatPlusPlus I should trim my beard.
 
Me too. Screw that.
 
@R.MartinhoFernandes others weren't so nice
 
@BartekBanachewicz Hey, I was about to post that here ;)
 
2:07 PM
@FredOverflow too late <evil laugh>. I guess my answer is legit enough. This guy seems really lazy
 
Android emulator so slow. ;_;
 
@CatPlusPlus cats don't have beards, silly cat
 
@R.MartinhoFernandes The guy is weird. It's the "you are funny ha ha ha ha." comment guy
 
On a more serious note, please stop building large inheritance graphs just because you can. This isn't the 90s anymore. We know better now. — FredOverflow 42 secs ago
 
@CatPlusPlus Mwahahhaa, we use hardware.
 
2:09 PM
@CatPlusPlus get a real phone.
 
@R.MartinhoFernandes I use hardware, too, but I'm working from home today.
 
@R.MartinhoFernandes Clearly the answer is to grow it out until you can create a bird cage out of it.
 
Pfft, phones, we aim for tablets.
 
We only use the emulator on the build server (for obvious reasons).
 
@FredOverflow Less hierarchy, more anarchy!
 
2:10 PM
Oh hey, NotSerializableException.
 
I love data exchange mechanisms on Android. It's not even IPC and it already breaks.
 
@CatPlusPlus Oh gawd, I'm sooooo tired of seeing those.
 
@CatPlusPlus Why would you want an exception that's not serializable? ;)
 
2:12 PM
The class implements Serializable, all fields are ArrayLists of Serializable classes.
What the hell.
 
the star board is drying up.
 
@rubenvb What are you talking about?
 
@R.MartinhoFernandes I can see 10 starred messages, and have room to spare.
Needz more stard messadges!
 
I don't think it ever shows more than 10.
 
dang. Guess I never noticed before.
 
2:15 PM
You can see eleven thousand stars if you want to...
 
That's just fifty.
 
@FredOverflow No. I want them all together! Each and every one.
 
Apparently there's a cap on pagesize.
 
2:16 PM
100.
I think.
Or maybe 150.
 
It's 200.
You can always use one of those browser extensions that unpagify pages.
room topic changed to Lounge<C++>: Robots are vicious bastards. [c++] [c++11] [c++-faq] [fun] [nsfw]
6
Oh dammit, typo.
room topic changed to Lounge<C++>: Robots are not vicious bastards. [c++] [c++11] [c++-faq] [fun] [nsfw]
 
star the typo!
 
A screenshot of text -- seriously??? — Kerrek SB 2 hours ago
lol
 
I was hoping you would change it to 'Robots are viscous bastards'. That would have been a better typo fix.
 
2:23 PM
It was not a parapraxis, I swear.
 
Could you guys stop using words I don't understand, please?
 
It's a Freudian slip, for you language plebs.
 
@FredOverflow parapraxis: a Freudian slip that isn't necessarily about how you're attracted to your mother.
 
@rubenvb Oh. And I thought parapraxis was a medical facility for aliens.
 
2:36 PM
Hmm, \U00000041 is an invalid identifier in C++, but A is valid.
 
@R.MartinhoFernandes isn't that \u00000041?
 
No, that'd be \u0041.
It seems it's also impossible to create a surrogate char16_t value from a literal without a conversion involved.
'\uD800' is UB.
WTF, why would that be UB?
char16_t i_am_a_surrogate_bitches = u"\U00010000"[0]; isn't UB.
 
I love this codebase.
 
good morning
 
Also, I fixed that Serializable crap, turns out it needs default ctor. For some reason.
 
2:49 PM
@CatPlusPlus Because deserialization is crappy. It default constructs an object, and then manually hydrates the fields.
 
Yeah, figured so.
 
What is the standard term for the initialization performed by Foo x{};?
 
Value-init?
 
Are you asking me or telling me?
 
@CatPlusPlus isn't Java the best :D
 
2:50 PM
I'm guessing.
I don't know.
I never paid much attention to those terms.
 
@R.MartinhoFernandes 'hydrates' is an odd choice of wrods
 
I'd say brace initialization to be sure. But that's not right.
 
I don't understand you people. This has got to be the only "social" place I've seen where it is the norm to not reply in kind when somebody says hello. I'll never understand the rational for that.
 
@Chimera shut up ;)
 
@FredOverflow Value-initialization.
 
2:51 PM
@Chimera this was never a social place.
 
At least .NET deserialization is deeply magical and doesn't call any ctors.
 
@kbok Is your a key borken?
 
@FredOverflow No, I'm serious... I don't get it.
 
@Chimera people come and go, either way, fucks are never given
 
@FredOverflow layout switching fail :)
 
2:52 PM
@Chimera We're programmers. Antisocial is the norm.
 
@R.MartinhoFernandes I could live with explicit serialisation protocol, like Parcelable, if Eclipse knew how to generate that.
 
@Chimera it is a busy place, hellos can often go unnoticed
 
But it's still so overkilly for intra-process communication.
 
@CatPlusPlus dbus!
 
Well, I will still continue to say "Hello". :-)
 
2:53 PM
@Chimera "hello" is simply not very interesting to answer to.
 
@Chimera People here only respond to direct @ or :#### messages. Any other messages can be taken as one-off messages nto intended to construct a conversation
 
@thecoshman It's a probably crappy metaphor: deserialization constructs a "seed" object first, and then adds water to get an actual plant.
 
I don't know how you can sit down, think about it and then consider it a good idea.
 
@R.MartinhoFernandes surely populate would be a better word ¬_¬
 
Not as cool-sounding.
 
2:53 PM
Entire Android architecture is half-assed low effort crap.
No wonder they picked Java.
 
@thecoshman Populate a seed? You're even worse at metaphors than the robot, sheesh.
 
@rubenvb Dbus is for inter-process communication, no?
 
@R.MartinhoFernandes then perhaps "Blast data into a bunker data shell"?
 
@SamDeHaan Hello. That better? :-)
 
@thecoshman That sounds fast and efficient.
 
2:54 PM
@SamDeHaan I wouldn't call it a 'seed' either, out data does not 'grow' from a 'seed'
 
0
A: how to convert between a container of a derived type to a container of a base type

rubenvbInstead of using the container, use an iterator pair, which is nicely convertible to base class. It solves the problem, and cleans up the code in one go. EDIT: after more info was given, I change my answer to this: Use boost::shared_ptr.

 
@Chimera That happens sometimes. More common when the room is slow.
 
@R.MartinhoFernandes needs more synergy I think
 
@R.MartinhoFernandes oh, brainfart. Is intra-process communication so hard without serialization? Some shared, mutexed object, and voila?
 
@Chimera Oh, why, hello. :P
 
2:56 PM
great downvoted. Who and why?
 
@rubenvb Or, you know, just pass the object around.
 
@rubenvb No, Android is silly.
 
Except there's no way to do that in Android.
Other than globals.
 
@CatPlusPlus holy fucks. It has pthreads don't it?
 
I'd rather deal with serialisation.
@rubenvb I don't know. What does it have to do with it? Threads are not relevant here at all.
 
2:57 PM
Especially given the fact that there's a garbage collector, there's no sensible reason to pick the architecture they picked: they could just keep the objects laying around.
 
@CatPlusPlus I don't see where intraprocess communication is more than just passing function arguments, unless more than one thread is involved?
 
Activities and shit.
 
@R.MartinhoFernandes those are different processes, no?
 
Android employs inversion of control and highly asynchronous architecture. But activities run on one thread (same as UI, btw).
 
2:59 PM
Why is Android a bad architecture? I missed that part...
 
oh my.
@Chimera We're discussing that right now.
 
@rubenvb I know, but I missed the beginning..
 
Besides, inter-thread communication in Java isn't that bad, so it wouldn't be a problem.
 
Android is awkward and annoying.
 

« first day (668 days earlier)      last day (4272 days later) »