« first day (633 days earlier)      last day (4316 days later) » 

7:00 PM
The first thing I do on Windows after installing iTunes is smack the hell out of iTunesHelper.exe, pisses me off when it jump starts on my devices connecting and then helpfully offers to delete all my data.
 
@CatPlusPlus Ha, I'm following youuuu.
 
Would this be the correct way of creating an array within a new class if I want to make a custom BitMap? ideone.com/pHFag
 
@MooingDuck @Drise This article See under "Compliant Solution" clearly documents that some implementation of the standard library parses inf, infinity and NaN using plain vanilla std::cin >>
 
@ManofOneWay not even remotely close
 
7:03 PM
@ManofOneWay that's a class with (a unique_ptr that points to (a bool that is initialized to the value of size))
 
bool[] is not a bitmap.
 
user784668
But it's a bitmap that's one bit in (usable) size!
 
@ManofOneWay can't use boost?
 
A bit like bitmap, but not quite.
 
Alright, Loungers, food suggestions! Anything good on the menu?
 
7:05 PM
Just do std::vector<bool> and access [x + y * width].
@DomagojPandža Tea.
 
who created c++ ?
 
user784668
@DomagojPandža Ba\w+
 
@tree Satan.
 
@tree Zeus.
 
@tree James Gosling
 
user784668
7:05 PM
@tree Johannes Schaub.
 
Duck sucks.
 
it was god
god is the creator
 
@tree google
 
So, I won.
What did I win?
 
won what?
 
7:06 PM
some food for the cat
 
Whiskas.
 
whiskas arent good
 
@DomagojPandža nicoise salad, poutine, cornichons, Gewurztraminer, and sake.
 
@tree Technically, God is perfect, so it can't be God, since C++ is a piece of shit.
 
Pfft, just like raffles in KoL. You put in so much meat and get a finger back. :<
 
7:07 PM
hahaha
 
From what I've seen, gods in every religion are major douches.
 
@EtiennedeMartel he has a sense of humor
 
@MooingDuck Considering the platypus, yeah.
 
@DomagojPandža Sometimes they change their mind about killing everyone, though.
 
Today, we put the kid who drowned a few days ago in the ground. 18 years old. Fuck that shit.
 
7:11 PM
Nice find:
Clearly Steve has been thinking about it longer. — Hans Passant May 13 '11 at 1:44
 
And what makes me even sicker is the way society is using it to hoard likes on Facebook. His own brother writes comments around and wall posts in which he asks him to come back on his profile. What the fuck is up with that shit? When my grandfather died, I couldn't touch the computer for two days.
 
@MooingDuck @sehe
0
Q: Is it possible to read infinity values from input streams?

DriseI have some input to be read by a input filestream (for example): -365.269511 -0.356123 -Inf 0.000000 When I use std::ifstream mystream; to read from the file to some double d1 = -1, d2 = -1, d3 = -1, d4 = -1; (assume mystream has already been opened and the file is valid), mystream >&...

 
@CatPlusPlus Are you actually recommending std::vector<bool>?
 
@DeadMG Well, he wants a bitmap.
You can mentally replace it with boost::dynamic_bitset.
But then you'd care a hell lot more than I do
 
yaycakes
 
7:14 PM
Have they removed the std::vector<bool> specialization already?
 
no
 
Fuck that shit.
 
deprecating it was voted against, too :(
 
@DomagojPandža Seems like you care a little too much about facebook. People do stupid shit when they're grieving. Fuck off if you think you get to tell him he's doing it wrong.
 
7:15 PM
@rubenvb What? mutable does not seem to do what you think it does.
 
@DomagojPandža grief strikes people in funny ways
 
A functionoid with a non-const operator() can do the same.
 
@RMartinhoFernandes I'd ignored that statement since it made no sense whatsoever
 
Figured out where my memory leak was
It was in my memory allocator
 
Well, well.
 
7:16 PM
lol
 
Yes; I wrote one of those too
Couldn't seem to find a decent one which would work with VS2012
 
@ManofOneWay did you start using boost or are you still trying to make a 2d class?
 
@MooingDuck Boost still doesn't work in VS2012
 
A 2D array?
 
@MooingDuck Still trying :)
 
7:17 PM
@IDWMaster say what now?
@RMartinhoFernandes yes, I knew you had a file somewhere, but I couldn't find it
 
@SamDeHaan I don't get to or want to tell anyone how to behave in such circumstances, I just find it very odd. Almost transparent. It's not about Facebook, at all. Any social network. And calm down.
 
I couldn't seem to get it to compile for VS2012
using their build kit
 
Dynamic or static size?
 
@ManofOneWay oh. don't :D
 
7:18 PM
@RMartinhoFernandes dynamic
 
@DomagojPandža @SamDeHaan Both of you need to get drunk.
 
@RMartinhoFernandes oh, thought yours was dynamic
 
So anyways; it was a problem in my memory allocator. Oh well, at least I've learned how to make a memory allocator and debug it out of the deal.
 
@ManofOneWay I'll see what I can crank out, but don't wait for me
 
Why are you using VS2012 again?
 
7:19 PM
@MooingDuck Oh, wait, wrong link, then: ideone.com/gytw7
 
@CatPlusPlus Windows 8
 
@CatPlusPlus You can't build new Windows 8 apps ("metro apps") using other environments.
 
Who wants to develop metro apps?
 
7:20 PM
@CatPlusPlus No metro app support = no tablet support for Windows 8
 
Boycott VS 2012!
 
@MooingDuck Btw, I'm was trying to make a 1D class to start with
 
@CatPlusPlus So so?
 
@ManofOneWay std::vector
 
7:20 PM
VS2012 needs to burn and be reborn in the form of something C++11 compliant.
 
@MooingDuck By using unique_ptr and allocate space myself
 
If you want to target tablets then Android is your best bet anyway.
Or iOS if you're crazy.
Or rich.
 
@DomagojPandža it also makes non-metro apps. They removed that limitation
 
Also, no yelling menus. Also, dickhead metrosexual color scheme.
 
Or both.
 
7:21 PM
@ManofOneWay why?
 
Win8 Metro is a worthless failure.
 
@CatPlusPlus What about my company wanting to to invest in Metro?
 
They're dumb.
 
My company has some deal with Microsoft
 
user784668
@DomagojPandža Microsoft says it will after some patches.
 
7:21 PM
@CatPlusPlus Now now, it's not a failure until its actually been released.
 
They're very dumb.
 
@ManofOneWay use R.Martinho's second code sample
 
They actually had some dude fly out from Washington just to give me a course in Metro app UI guidelines
 
@SamDeHaan It's a concept flawed from the beginning.
 
7:22 PM
@CatPlusPlus Craaaazy on youuu.
 
Tablets, fine. Desktop, gtfo.
 
@SamDeHaan They are so desperate to get into mobile market with something that is not a complete failure, they produce even more failures.
5
 
Precisely.
 
Holy jesus. I've never gotten that may votes before!
 
@CatPlusPlus Agreed, completely. But it's not an actual failure until it's had the opportunity to fail.
 
7:23 PM
@CatPlusPlus Well; if I get paid for it before it's even released; it's a good deal for me!
 
And Win8 metro is a desperate attempt of "mobile inspiration comes to desktop crap" initiated by Apple. I thought Microsoft was better than that.
 
It took announcement of WinRT, really.
 
All that crap with Lion is starting to rub off on Win8.
 
I had some hopes for Metro
 
@CatPlusPlus I generally recommend getting drunk, but I think those guys went a bit too far with that advice.
 
7:24 PM
but then I saw WinRT codes and I was like "WHYYYYYYY"
 
And the big "we're removing Start from Win8" thing.
 
user784668
They should give people ability to built their own OS upon the NT kernel.
 
@EtiennedeMartel Someone gave them a year supply of whiskey again.
 
@CatPlusPlus Wait, what?
 
@EtiennedeMartel Yeah, totally missed the Ballmer peak.
5
 
7:25 PM
Hey, I was more subtle. :<
 
@Drise 10
 
@DomagojPandža That new Metro launcher or whatnot. I don't know what happened to it, really, I don't follow Win8.
 
@CatPlusPlus Subtlety doesn't get you starboard, duh.
 
@SamDeHaan Board of being starred?
 
In dev preview, you had to plunge into registry to get start menu back.
 
7:26 PM
@CatPlusPlus I think they changed that. But not le sure.
 
@DeadMG starred of being board?
 
I don't care enough to try out consumer preview.
 
@MooingDuck I know! I just earned my first Nice Question! badge.
 
I see Windows 8 like Windows Vista. The team is technically proficient but lacks balls to stand up for something better. And, I'm waiting for Windows 9 or Windows Whatever Ultimate.
 
@CatPlusPlus Release preview now
 
7:26 PM
Whatever.
 
@DeadMG Lemme guess, and now the Start menu is there, except IN ALL CAPS!
2
 
Anyways; I'm going now to get my free tablet.
 
user784668
@Drise Congratulations, for it's not a language lawyer question.
 
Windows 8 will suck... they only thing that might be good is support for ARM.
 
7:27 PM
And what for, really?
 
But suck on ARM is still suck.
 
How many people are actually developing for Windows Phone?
 
user784668
@CatPlusPlus Five.
 
ARM is used for more than phones and tablets.
 
@MooingDuck Is this correct for a simple 1D? ideone.com/rDOt2
 
user784668
7:29 PM
For fuck's sake.
 
@CatPlusPlus lol, I actually got offered development phones and everything to get on that platform. Not interested.
 
Microsoft woke up to notice Apple and Google holding majority of the market, and now they're playing catch up.
 
user784668
// copy constructor
chromosome::chromosome(const chromosome & a_source)
 
@ManofOneWay yes, but why?
 
user784668
Really?
 
7:29 PM
Just when they caught (OH GOD THAT SPELLING) up to phones, they noticed everyone is making tablets now. :v
 
@CatPlusPlus Amazon is jumping in the game too
@ManofOneWay and why aren't you using make_unique?
 
I thought Amazon was using Android?
 
I'm curious, has anybody even come close to the multitouch retina display quality of Apple's devices? I've tried dozens of devices, all feel like shit.
 
@CatPlusPlus Kindle Fire is Android.
 
user784668
But this comment I like: // ignore anything we don't understand, like George W. Bush
 
7:31 PM
Because I totally meant Android when I said Google.
 
@CatPlusPlus you're right. I just read an article about someone else getting in the game, but now I realize I don't recall who it was
 
@MooingDuck I don't understand how to create it with make_unique : ideone.com/gDVHL
 
0
Q: Why don't we place the C++ main method inside a class?

nirmalshaneIn C++ why don't we ever place the main method inside a class (like Java) ?? Why doesn't doing so make sense (I think) ??

lol
 
@ManofOneWay actually, now that I think on it, neither do I
 
@Mysticial That's why I visit StackOverflow, right there. Awesome.
 
7:32 PM
@CatPlusPlus Help us cat
 
With what?
You can't make an array with make_unique.
You have to use new[], and this is using new.
 
user784668
Ouch.
 
And good lord, stop doing this.
 
user784668
char * xml_buffer = new char[65538];
 
user784668
My eyes, they bleed.
 
7:34 PM
Lol 65538.
 
@MooingDuck Garden variety make_unique can't do arrays.
@Luc's can (and mine too because I copied the idea :P)
 
It'd be more hilarious if it said new char[65535 + 3 /* just in case */].
 
@ManofOneWay seriously, what are you doing?
@ManofOneWay use a vector
 
You wanted a bitmap and now trying to create a bool array with make_unique.
 
7:35 PM
Why 65538?
 
@CatPlusPlus A bitvector, yes.
 
Also, where's my Kyro forum with emoticons DAMMIT.
 
user784668
@DomagojPandža I have no idea. Maybe it'll be explained in the comments?
 
@ManofOneWay Then just use std::vector<bool> or std::vector<char> (because with bool[] you'd have to manually calculate bit offset and do shifts anyway).
Why are you doing things in the most convoluted way possible.
Well, okay, not most.
If you bring TMP into this, I'm never going to answer any more of your questions.
 
7:37 PM
@MooingDuck Fair enough. Then does anyone wish to write the function and provide it as the answer? — Drise 4 mins ago
 
user784668
@DomagojPandža Uhm, no, it's not. The only comment regarding this statement is // read the input file to a buffer. Don't you think that comment is rather hilarious?
 
@CatPlusPlus lol
 
@Drise I don't know the answer.
 
TMP ALL THE THINGS.
 
7:38 PM
@MooingDuck That's unusual for you :D
 
user784668
???
 
user784668
0
A: Why don't we place the C++ main method inside a class?

khushalbokadeyJava is a complete Object Oriented Language while C++ is only partial Object Oriented Language. So, in C++ compiler searches for main in global scope.

 
@Drise more specifically, I believe I know the answer, but it's complicated and I don't have sources to back my (poor) memory, and I'm lazy and at work :P
 
user784668
"complete/partial Object Oriented Language"? What the heck is that?
 
@Fanael Nonsense. Can't you recognize it from afar?
 
7:40 PM
Because classes discriminate against egoistic functions that consider themselves main. — Domagoj Pandža 17 secs ago
 
@DomagojPandža I'm the main.
 
@Fanael wtf?!?!
 
user784668
@RMartinhoFernandes Sure I can.
 
I wanted to do something and then I forgot what it was.
I hate when this happens.
 
7:42 PM
Uh, oh. Someone is contesting the puppy.
Remove the word "extraction" and this answer could be used to answer virtually every SO question ever asked... paraphrased: "You will have to do custom work because your implementation clearly does not work." -- not very helpful :( — Jesse Webb 1 min ago
 
Why all the downvotes on that question? It wasn't really that bad was it?
 
Which question?
 
They're all bad.
 
-6
A: Why don't we place the C++ main method inside a class?

khushalbokadeyJava is a complete Object Oriented Language while C++ is only partial Object Oriented Language. So, in C++ compiler searches for main in global scope.

 
7:43 PM
Oh.
 
This answer is full of win.
 
Someone linked it above. Yeah.
Please don't upvote.
 
@JimNorton Erm.. answer?
 
@Drise ?
 
7:44 PM
@JimNorton Which question were you referring to?
 
Why should that question get down votes? It's a reasonable question....
-6
A: Why don't we place the C++ main method inside a class?

khushalbokadeyJava is a complete Object Oriented Language while C++ is only partial Object Oriented Language. So, in C++ compiler searches for main in global scope.

 
@TonyTheLion You might like this.
 
user784668
@JimNorton But you link to an answer. An answer that's ridiculously bad.
 
@JimNorton That's an answer.
 
Just because it may seem silly, doesn't mean it's not a relevant question.
 
7:44 PM
@JimNorton That's the answer, the question hasn't been bombarded.
 
I think I'm on my way to getting my second highest upvoted comment ever.
 
And it's full of nonsense.
 
@CatPlusPlus yes :)
 
The question is at +1/-1.
 
@JimNorton > Why all the downvotes on that question? I believe you meant answer.
 
7:46 PM
I downvoted for double question marks and putting a space before a question mark.
 
Yes I meant the question, not that answer.
 
Because I'm evil.
 
@JimNorton There were no downvotes to the question though...?
 
user784668
@Drise There's one. It's at +1/-1.
 
You're low-rep, so you just see the final score.
 
7:47 PM
@Drise Yes, it had one.
 
We can see the up/down tally.
 
@CatPlusPlus Sounds fair to me.
 
I'm amazed there are no close votes on it yet.
 
Good evening.
 
@Mysticial Close as what reason?
 
7:47 PM
Ahoy, daknok. It is nice to see you're still alive!
 
@RMartinhoFernandes "Java".
 
@RMartinhoFernandes Not constructive.
 
@DomagojPandža How can you tell?
 
@Mysticial How is understanding why C++ has a lone function as an entry point not constructive?
 
@RMartinhoFernandes I sensed a disturbance in the force of the vacuum cleaner.
 
7:48 PM
@JimNorton All from my experience normally means a fair (5-10) amount, not just one.
 
user784668
I just found a constructor with a gazillion of arguments.
 
I just found a chatroom with a gazillion of arguments.
 
There's only one argument there: C++. Get your templates straight, kid.
 
room topic changed to Lounge<C++>: Any ideas on how to fund your playing with 'hot things'? [brainfuck] [c++] [c++11] [c++-faq]
 
user784668
@RMartinhoFernandes Lounge<C++>(5, "wtf", ARGUE_MORE, 0, 0, nullptr, get_user_by_name("DeadMG"), owners_list, 42, std::mt19937(some_seed))
 
7:51 PM
@Fanael You forgot porn. And bacon.
 
@Drise And hate of Java and PHP.
 
@Drise You forgot Tony (FTFY).
 
user784668
@Drise No, Tony is one of the owners.
 
7:53 PM
@JimNorton ?
 
@Collin My favourite picture of my dear President.
 
@Collin Obama with bigger lips, squint eyes and a fucked up nose.
 
@RadekSlupik Oh, I see it, I just don't get it
 
@Collin Me neither.
 
Anyone here ever touch wcf dataservices/C#?
 
7:54 PM
It's just me poking fun at him.
 
My web app rulezzzzzzz.
 
@Fanael So am I
 
@DeadMG And you.
 
user784668
@DeadMG But you're one of the owners and the biggest moaner.
 
And here's one for Tony Blair...
 
7:56 PM
@Fanael "wtf" should be "dafuq"
 
hey
 
I object to you calling me the biggest moaner
3
it's misrepresentative
 
I simply have the most to moan about and can more accurately perceive failings :P
 
7:57 PM
lol
 
Today I got a Mac.
 
@DeadMG Yeah that's it...
:-)
 

« first day (633 days earlier)      last day (4316 days later) »