« first day (600 days earlier)      last day (4340 days later) » 

6:00 PM
@EtiennedeMartel That really depends upon the problem.
 
@RMartinhoFernandes lol how did you draw them
 
for example, if you're writing a game in XNA tomorrow and you decide that you need non-trivial memory management... you're going to get shat on.
 
@EtiennedeMartel I'd rather tinker with my code for a year and have it solve the problem in a couple of seconds that tinker with it for a couple seconds and have it run for a year :p
 
or if you're writing an algorithm and need to use some of the stronger template features? whoops
 
@melak47 Speed is relative.
 
6:01 PM
or if you're using a library that has Object everywhere, and you'd really rather it was strongly typed? fucked again, bitch
 
If you need extreme performance, sure, go with C++. But you don't always need perf.
 
@EtiennedeMartel No, you don't. But the ability to have it if you need it is important.
 
@EtiennedeMartel I should probably send my computer into space at like, .9 c, to take advantage of time dilation, eh?
 
@MooingDuck Pop!
 
and I'm much more upset about the "Everything is a class", "Object" and "weak generics" B.S.
 
6:03 PM
 
Paint.Net is bloated. last time i tried to use it, I decided to install Gimp
 
Oh perfect onebox face.
 
@DeadMG This is hardly relevant unless you're making games.
 
oh, and they have some operator overloading limits as well that C++ does not have, IIRC.
 
@DeadMG Again, in practice, it's not really an issue.
 
6:05 PM
@EtiennedeMartel I worked in WPF for an hour and got bitten repeatedly by their Object bullshit not being strongly typed.
 
Wait, what?
 
you can't even give like, a private conversion operator to it to protect yourself
 
I worked in WPF for a few months (and I still use it) and I never got bitten by that.
 
I got bitten by a cat once
 
Object is just as bad as void*
 
6:06 PM
No, because you can use reflection on it.
 
Not really.
 
WPF is almost entirely built around reflection.
 
void* is useful in certain instances.
 
home is where the void* is
 
@EtiennedeMartel Oh great, thanks so very much for that, in a not at all kind of way.
 
6:06 PM
Maybe you're going into C# with the wrong mindset.
 
I guess that if I just wanted it to be strongly typed and don't at all give a shit about reflection, then whoops.
 
I had some kid ask the professor yesterday about double void pointers.
 
@EtiennedeMartel Tehehe.
 
I saw the professor cringe slightly lol
 
You don't write C# code like you write C++ code. Exactly like you don't write C++ code like you write C code.
 
6:07 PM
@Drise At least he knows what's up.
 
@EtiennedeMartel what if I write C# code like C? :)
 
@melak47 You deserve to get eaten alive by a boa.
 
Not having void* is a pretty good idea amongst any language
 
@EtiennedeMartel guess I'm lucky I don't do C# then :p
 
My biggest issue with C# is that it's almost as heavy to write without IDE as Java.
 
6:09 PM
@CatPlusPlus I agree with you that you need an IDE to be productive, but it's still not as verbose as Java.
 
@Cat assert("heavy" == "hard");?
 
Even silly things like visibility modifier next to every member instead of being a block.
 
Hejlsberg is a big proponent of integration of the language and the environment.
 
@CatPlusPlus I hate that shit.
 
It's not hard, there's just a lot of it.
 
6:11 PM
Anyway, @DeadMG, it's like you're getting riled up because of trivial things.
 
Difficult, then? Complicated?
 
@EtiennedeMartel Not having static type verification is not a trivial thing.
 
Boilerplatey. Boring.
 
@EtiennedeMartel Its the little things that count.
 
Taxing.
 
6:11 PM
@CatPlusPlus Ah, there we go. Taxing.
 
public static final void* main(){return null;}
 
@EtiennedeMartel And you are getting nervous because @DeadMG is getting riled up :p
 
Though C++ isn't that much better.
 
having generics which aren't really generic at all is not a trivial thing
 
It's a vicious circle!
 
6:12 PM
@DeadMG Good C# style tries to enforce type safety as much as possible. It's unfortunate that the WPF developers did not get the memo.
@StackedCrooked Not me. My inner fanboy.
 
@EtiennedeMartel It shouldn't even be possible to create things like that.
 
I hate it that Intellisense often stops working when using templates.
 
I mean
WTF were the language designers even thinking?
 
You can do single root with reflection in C++.
 
@CatPlusPlus But importantly, the language does not forcibly ejaculate it onto your face.
 
6:13 PM
@StackedCrooked I'll be honest, DeadMG scares me some.
 
C# doesn't, either.
 
@Drise He's a harmless puppy, only barks a lot.
 
@DeadMG At least it's better than without generics. Having to downcast every single time you access an element from a container. Now that is ridiculous!
 
Haskell is da best.
 
6:15 PM
And people used to praise Java :S
 
@CatPlusPlus He barks loud for being a puppy.
 
Back in the 90s.
 
@StackedCrooked Even the idea of such containers is insanw
 
@StackedCrooked People still praise Java.
 
There's always a minority with strange preferences.
 
6:17 PM
@StackedCrooked 2 examples: Android, Minecraft.
 
@Drise My main point is: Java was praised because it was supposed to be an improvement over other languages, mainly C++. Back in the 90s. When it didn't even have generics. The more I think about it the more ridiculous it seems.
 
@StackedCrooked I've always hated their GUI's. Fugly.
 
MacRuby y u undefined method error.
 
VTK y u less than two points in line.
 
You're using a language without Holy Apple Seal Of Approval.
 
6:25 PM
Is it possible to move data from a gpr to an xmm register?
 
-1
Q: Cpp map not behaving properly

AndrésI am trying to use the map cpp library, but I havent been able to have it working. Looking it up on the internet I've come to this solution and redirecting the a file to the input stream, here is the code: int main() { int c; char cc[75], nombre[75]; wc m; scanf("%d", &c); ...

He describes his code, shows the code, and shows what the code does. My response: "seems to work fine. good job" <close vote>
 
lol
and It has drove me crazy
 
@JohannesSchaublitb With a mouse.
 
@K-ballo Why not??? hahaha that's exactly what Im doing – Andrés 5 secs ago
 
Ah found it
 
6:30 PM
hey robot
I have a question fo yo
I've been playing with some overload resolution rules
and one that I've been thinking about is, if foo(params) is invalid, try again with foo({params}).
what do you think?
 
I like it. I've considered it before when I played around with language design.
 
yeah
 
Automatic currying, basically.
 
I also like it, because it makes it simple to call perfect forwarding functions
but I'm a tad nervous that it will make some errors harder to find
 
I'm assuming {params} means some kind of tuple thing, btw.
 
6:34 PM
yes
tuples and tuple unpacking makes perfect forwarding in Wide
 
@MooingDuck What'd I miss?
 
@Drise I'm not sure, but when I run your code, I get strange results. It looks right.... (see link)
 
I also specified a tuple constructor, it's kinda like aggregate construction but somewhat more flexible
 
Try again
 
Tuples really need love. In C++ they're very awkward to handle.
 
6:36 PM
because you can have a default constructor and call it, then assign to the public variables, and there's no problem with e.g. virtual functions or w/e
 
@Drise use my link, and click "clone". You try it :P (It's still buggy)
 
What's w/e?
 
whatever
 
@MooingDuck It's your printer
 
6:37 PM
anyways
 
@Drise maybe...
 
You're printing the entire map
 
in Wide, I'm basing quite a lot of functionality off them
they're replacing aggregate construction, uniform initialization, perfect forwarding- a lot of work
 
@Drise oh, yeah, that makes sense.
 
well, strictly, I just dumped uniform initialization because I have no need for it in Wide, but, y'know
 
6:38 PM
The way he's calling the printing code makes no sense.
THat's the problem
 
@MooingDuck Who is that bitch who took over my answer!??!?1
 
@DeadMG I think that's good.
Having a very basic building block gives flexibility.
 
DAMNIT
I was just thinking of something else I was about to specify, then I read your reply and forgot what it was
 
@MooingDuck Thanks.
@MooingDuck Got it, good catch. I prefer to avoid getline when I can so I'm not too familiar with it.
 
@Drise it has it's uses.
 
6:44 PM
Aw... someone took my upvote away..
 
@DeadMG Yeah, the awesomeness of my replies is that powerful.
 
Some meta fun:
-23
Q: How do I re-activate another suspended account by requesting it to the moderators?

LuciferAnother of my Stack Overflow accounts has been suspended in the main site, as described in that account details. It is indicating that it will be reactivate on 10th Jan 2012. I want to re-activate my account before that. Is there any way to request to the moderator to re-activate my account?

That guy is running for a moderator.
 
(Also, damn you, flood control.)
 
@CatPlusPlus Maybe he's changed!
bwahahahahahaha
 
6:46 PM
Lol.
 
Guys I need some help.
 
You should go see a doctor.
 
How does one comment on a question? I know, I know, bad question, but I cannot figure out anything. and lol, cat.
 
You know what'd be fun? Seeing genesis try again.
I want to read comments on that one.
 
...
 
6:47 PM
@CatPlusPlus So, that's this year's genesis?
 
please answer
 
@dynamic You need 50 points.
 
@dynamic You need the rep
 
@dynamic You click gray "add comment" link.
 
You're close.
 
6:48 PM
Oh, okay.
Thank you.
 
If you don't see it, you don't have enough rep.
 
I have 41. D:
 
And I'm slow.
 
More answers!
Thanks guys see you all aroung
 
You can comment on your own posts, regardless, AFAIR.
 
6:48 PM
around*
 
@dynamic and "please answer" was quite rude. We were getting there.
 
@drise I need to go soon. I'm sorry
 
sigh
 
@RMartinhoFernandes Not enough drama.
 
/me thinks this command might work
nope :/ bye guys haha.
 
6:49 PM
y u go away upvote.
I has good answer.
 
right
I need to organize all the new specification I've written
and upload it so you nubs can cackle at it
 
That Neal guy is pretty funny, too.
 
@MooingDuck I'm half tempted to copy-paste, but that's rude. Nice answer.
 
"I moderate Google+ page, so I can be a mod."
3
 
@MooingDuck Nice poke at the nonenglish identifiers
 
6:53 PM
@Drise If you're willing, I'll merge mine into yours, but since it was such a huge change, I thought it would be rude to just cram it in your answer.
@Drise poke? that wasn't deliberate. Where?
 
@MooingDuck Is this about sex?
 
@StackedCrooked ...you don't look like Tony...
 
@MooingDuck Go ahead and merge it. Would be awesomz.
 
@Drise oh, the name? It was the longest country name that came to mind. I'll internationalize it
 
6:55 PM
@MooingDuck And username Andrés -> crazy crashing string UnitedStatesofAmerica
 
@MooingDuck People should collaborate on answers much more often. This worked out too well.
 
But POINTS.
 
@Drise It's hard to make myself do it because of the points :D
@Drise it works out well for you anyway :P
 
@MooingDuck But you haz so many, and I haz so little lol
 
6:57 PM
@Drise As long as I stay over 10k, I'm willing to help others
 
Yea, I get it. But I'm trying to get what I can when others are willing to help.
 
hahaha! you see ildjarn's comment?
 
Yea, lol
 
I look at my code and I think "Yep, this looks good."
And I haven't had a single drop of alcohol today.
 
@EtiennedeMartel That's a sign you need a break
 
6:59 PM
@EtiennedeMartel That's never a good sign
 
You're getting delusional and starting to hallucinate.
 
@MooingDuck This is my best answer
4
A: Using cin.get(); Twice

Drisecin.get(); retrieves a single character from the input. So if you have 5\n (\n being equivalent to pressing ENTER) on the input, cin.get(); will return 5, and another cin.get(); will return \n. If you are reading multiple numbers one after another, say in a while loop, if you forget about the \n ...

 

« first day (600 days earlier)      last day (4340 days later) »