« first day (596 days earlier)      last day (4353 days later) » 

12:00 AM
My mono fonts make 1 and l quite distinguishable.
 
This one does too, but on larger font sizes.
Well, okay, it doesn't.
I'm too lazy to change.
0
Q: Accessing instance without self

Alec K.I have the following code. In the dataReceived method, I am trying to access table, but I get an error. It works if I use self and do all of that, but I don't want to use self. Using self would not work for my purpose. How can I still gain access to table without using self? Thanks! class Socke...

I want to access the instance, but without accessing the instance. How do I do that?
 
Some people have this "solve-without-using-the-solution" fetish.
 
I need to stop going to the site.
It's not healthy.
 
RARRAGHHRW. I can't load two pages at once.
 
12:05 AM
@CatPlusPlus Stick to lower traffic tags.
 
Robot fails at concurrency.
 
is quite sane. I mean, if you don't consider the C++.
 
0
Q: Why is the recursive version of this function faster?

OliverHere is a simple class for iterating over a multidimensional numeric range: #include <array> template <int N> class NumericRange { public: // typedef std::vector<double>::const_iterator const_iterator; NumericRange() { _lower.fill(std::numeric_limits<double>::qu...

Yeah, right.
 
The ultimate weapon against OCD.
 
12:09 AM
I think here is the proper response for the robot
(@RMartinhoFernandes):
 
I guess I can load a 4-second video...
 
:)
 
@sehe I don't get it.
 
That's insane
I'd say... GET A HANDWRITING
@RMartinhoFernandes It was a response to Pubby's vid that I took as a response to the line of code here
 
Oh, you mean I should have responded that. I thought it was a response to my code.
 
12:34 AM
Guys y u silence.
 
Because
We grammatically
Correct
 
Silence is beautiful.
 
My grammer is gooder then you'res.
A product mustn't only be functional; it must also be beautiful. :P
daknok is getting poetic, but not quite.
 
0
Q: Is it dangerous to learn too many programming languages? What books should I get?

Mike GI know a random assortment of programming languages, and have a good (I think) understanding of the "usual" syntax of code. Because of circumstances I'm learning python over the summer in order to program the back end of a website. At the same time I want to continue my education in c++ (I've com...

 
Mustn't is as awkward as it is grammatically correct.
 
12:39 AM
lol
 
Imma sleep see you guysz.
 
It is dangerous, I've heard that many people die a few months after they learn their second language.
 
I think your whole answer is a horribly slow substitute for new string(s1.Except(s2).ToArray()) (which is already quite inefficient). Look at string builder if you wanted something a bit more efficient — sehe 12 secs ago
Don't fall asleep now
that would be a waste of time
 
@sehe I think you're wrong.
Also, wait a minute. That's a C question.
 
@RMartinhoFernandes I knew that.
Why is it/am I wrong?
I'm absolutely sure my version is more efficient, for one
 
12:43 AM
Nevermind, I misread the question.
 
Questino antineutrino
 
I didn't even refer to the question :)
I only commented on the poorness of an irrelevant answer.
Mmm. A downvote button seems appropriate
 
But gosh, that thing is horrible.
 
That answer defines repwhoring, IMO
 
12:46 AM
Repwhoring, when other types of whore are not readily available.
Coming now to the Internets near you.
 
@SevenSidedDie Excellent point ... it's always the quiet ones you have to be careful withSteveC 5 hours ago
^ whew, gaming seems dangerous
 
I have no will to work tonight. :(
Perhaps an intense night of Star Trek, accompanied with chips.
 
@sehe You play RPGs?
 
@RMartinhoFernandes Why doesn't?
 
@RMartinhoFernandes No? It was a Q linked from the SO main page
@DeadMG I don't think why plays RPGs
 
1:01 AM
you haven't met why I take it
 
@sehe Ah, ok.
@DeadMG What?
 
@RMartinhoFernandes mt
 
@sehe One of our games ended with someone's glasses flying off.
 
@RMartinhoFernandes Whoa. Expect spontaneous combustion
@ScottW what was that?
[03:11] ScottW connected.
[03:12] ScottW disconnected.
Oh. Thaaat.
:)
 
1:26 AM
@ManofOneWay hmm?
 
dang
I just realized these D3D books I liked and used are full of really, really bad code.
 
and I felt compelled to e-mail the author and tell him that his crap was leading people down bad paths
and then I re-wrote it so that it was actually quite nice and pleasant
and then I sent it
 
That's it?
 
what else is gonna happen, an axe murder?
 
1:29 AM
@DeadMG those are always exciting
 
jalf, I don't usually see you on at 2:30 am
 
@DeadMG I was expecting some kind of hilarious mistake or something.
 
no
unless you mean this
I get too angry about people teaching other people shitty code
 
Well, there is shitty and there is inadequate. This code was adequate, but you had a side note about further improvements.
I don't disagree, but the code isn't 'shitty' because it's not the absolute best
 
I struggle to find a definition of "shitty" if not "teaches bad practices guaranteed to inflict pain upon you"
 
1:36 AM
Besides, if that's COM, who's dealing with Add/Release anyways? Didn't MS have CComPtr<> and _com_ptr_t (?) for ages?
 
yeah, I think so
never used them because I have unique_ptr<T, COMDeleter>.
I think they're part of the much more obscure ATL libraries or something
 
That's practically equivalent, and has the benefit of not depending on them MS headers
@DeadMG I suppose ATL would hardly be considered obscure these days. It was pretty much in Boost style, IYAM (except for portability, obviously)
 
very true, and I much appreciate it
@sehe I've never used it, and never seen or heard of anybody who has.
 
I like ATL
 
PPL is a good bit of kit
it's pretty clear where the lines are drawn between WinDiv and DevDiv at Microsoft
 
1:44 AM
I used it. I also used those nifty wrappers like _bstr_t and _variant_t - they really helped keeping my sanity dealing with COM before the managed C++ extensions and COM Interop and all that
@DeadMG Mmm. More reading for me, I don't recognize a thing you mentioned there (apart from the name PPL)
 
WinDiv is the Microsoft division that makes Windows. DevDiv is the Microsoft division that makes Visual Studio and other dev tools.
 
By the way, woof, are you still watching tele? @EtiennedeMartel is on mumble
I'm going to head to bed
 
i.e., compare the super-cool C++11 PPL API with the disgusting Metro BS
 
@DeadMG Ah that way. I agree
 
@sehe yep
 
1:46 AM
@DeadMG Precisely
@DeadMG Oh, well just mentioning :)
 
I got a fucking large pile of dishes to wash.
 
Night all
 
@EtiennedeMartel That never happens to me because I never use more than one dish at a time.
 
2:20 AM
Damn, now my sink is clogged.
 
that's gotta suck at 03:20
 
It's only 22:20 here.
I'm all out of beans. And I really wanted to eat beans.
 
shop? the ones here are still open at 22:20
 
None still open in the vicinity.
 
that must suck
my parents live in a swamp too, the Internet there is a cup and string
 
2:35 AM
I still live with my mother until July. I can't wait.
 
I can't stand living with other people
especially having to share laundry facilities
I'm very highly paranoid about such things
 
You're a misanthrope. Of course you're paranoid.
 
hey
I wasn't born this way
 
No one is born this way.
 
it's a completely unsurprising product of the infinite sea of bad experiences
which creative, different people like myself are put through
 
2:44 AM
Is the Release Candidate of VS 2012 newer than the beta?
 
Any idea what they changed
 
The UI is less painful to watch.
 
DID THEY REMOVE THE CAPS
 
No, but there's a registry key you can set to remove them.
 
2:46 AM
Wow
 
yesterday, by sbi
Ha, that was fast: "Prevent Visual Studio 2012's ALL CAPS Menus: http://www.richard-banks.org/2012/06/how-to-prevent-visual-studio-2012-all.html #vs2012" — Richard Banks
 
Wow that icon is absolutely dreadful
soul-rendingly bad
 
@DeadMG I have the deep feeling that bad experiences are exceptional. Then again, I'm an optimist, so I overestimate the best case.
 
@EtiennedeMartel Perhaps it's simply that bad experiences are the norm for exceptional people.
 
I don't think so. I consider myself both "creative" and "different", but I don't really eat that much shit. Or maybe it's because I don't let it keep me down.
I think you have to create your own luck, ya know.
If you expect things to get bad, they'll get bad.
 
2:51 AM
kinda late for that, since they were bad by, let's say, about five years old
 
Never to0 late to crawl out of the dirt.
 
if there's a world outside of the dirt, I've never seen any evidence of it's existence, let alone any real suggestions of how to get there
 
Well, it's pretty nice up there, I can tell you.
There's plenty of douchebags, of course, but that shouldn't stop you.
 
in my experience, I'd go with all douchebags.
 
You judge people too quickly. Give them time.
 
2:54 AM
I tried that
for about fifteen years
it got old
and continuously miserable for the entire period
 
It's strange. It's like you got both a superiority and an inferiority complex at the same time.
 
I don't need a complex to be superior :P
and you know, I didn't realize that complexes came in the superiority variety as well as inferiority
I mean, I guess that logically they do, but I never considered it
 
3:48 AM
just shows that Windows users make up almost all the purchases
 
4:03 AM
I think there were about 7.5 Windows sales for every Linux + Mac sale
damn
my mathematical rejiggering had it at 7.5:1, not close to 3:1
would you say that Mac:Linux is about 2.8:1?
still trying to determine if my method is correct
yeah
trying to prove A:B:C from the relative prices
 
5:04 AM
posted on June 03, 2012 by Herb Sutter

I’ve been beating the drum this year (see the last section of the talk) that the biggest problem facing C++ today is the lack of a large set of de jure and de facto standard libraries. My team at Microsoft just recently announced Casablanca, a cloud-oriented C++ library and that we intend to open source, [...]

 
 
2 hours later…
7:14 AM
oh, i've been away
 
7:28 AM
tada! i answered a question that already had "the solution" selected!
0
A: How do I prevent cross assignment between 2 classes derived from string

Cheers and hth. - AlfUnfortunately the OP presented code that didn't compile. Here's the original code corrected in the most natural way so that it compiles: class Type1Str : public string { public: Type1Str() {} Type1Str(const string & str) : string(str) {} }; class Type2Str : public string { public: ...

 
7:48 AM
@RMartinhoFernandes "the second one fails, because std::unique_ptr<T> doesn’t have a specialization of std::iterator_traits". That wording seems backwards; I'd say that std::iterator_traits doesn't have a specialization for std::unique_ptr<T>.
 
@LucDanton Both!
 
@GManNickG Yes, but context :)
 
8:01 AM
@DeadMG Are you afraid someone is accidentally gonna wear your undies?
 
@EtiennedeMartel so, where does such info come from, and why is the interface for turning off the shit effect, so awkward and undocumented?
 
> Is it dangerous to learn to many languages? (By dangerous I don't mean detrimental to my health)
 
cpx
folks! I'm litb again!
 
8:24 AM
you're not. i'm litb.
 
cpx
lulz
 
8:47 AM
Sorry, but I'm the only real litb.
Folks.
Hmmm.
Oh boy.
xD
 
user457812
Removing code from a project is fun
 
I fear that daklang will be worse than Java and PHP… combined.
> So in Visual Basic, the decision to include in the syntax and semantics the ability to assign numbers directly to strings and vice versa was a result of the designers' desire to attract a broad base of developers who would probably not understand the notions of strongly typed variables.
Morons.
variant@pc ~/dev/$ make scott
 
9:33 AM
Hey @ScottW I'm hungry!
 
good morning everybody
or at least eurofags
 
sup
 
breakfast, that’s what’s up
 
I also break my code fast.
 
@RadekdaknokSlupik Isn’t that the whole point of static type checking?
 
9:36 AM
I like frosted flakes
 
@hmjd Don't consider using it. Use it. — Radek 'daknok' Slupik 2 mins ago
Fuck that typographical error.
 
Typographical?
I think your whole answer is a horribly slow substitute for new string(s1.Except(s2).ToArray()) (which is already quite inefficient). Look at string builder if you wanted something a bit more efficient — sehe 9 hours ago
@sehe thank you, you're right. — Matteo Migliore 1 hour ago
^ I totally don't get that apathic flegmatic response.
 
@sehe Who knows? It could also be a chastised bunny hiding behind its big, flabby ears
 
@sehe a typographical error is a typo.
 
nuances don’t convey on the internet
 
9:49 AM
@KonradRudolph ?
thank you, you're right
:)
 
I mean the answer isn’t necessarily flegmatic or apathic
he could just delete his answer though
 
What's a string builder? I keep hearing it here and there, but how can it be faster than concatenation?
 
@RadekdaknokSlupik Is it. I always thought typography is the art of typesetting (so, something would be wrong with capitalization, kerning, font consistency etc.) Another thing learned/to learn :)
@RadekdaknokSlupik Troll on
 
Typography is the style and appearance of letters.
@sehe I'm not trolling.
 
@RadekdaknokSlupik Which can be subsumed as “the art of typesetting”
 
9:52 AM
@RadekdaknokSlupik mmmm. I'm having trouble believing that. However, it could mean you didn't eat enough C# or Java or similar
 
@RadekdaknokSlupik OK, then how would you concatenate 10000 small strings in a loop?
in a performance-critical application, of course
 
How does it grow the buffer?
Or is it similar to ostringstream?
 
@RadekdaknokSlupik Like std::vector
 
and yes, I believe it’s similar to ostringstream
but to be honest I have no idea how that is implemented, only that would be the obvious implementation
 
9:56 AM
std::stringstream keeps an std::string and a buffer. If that buffer is full, it concats the string from the buffer and empties the buffer. IIRC.
 
Best song from the Eurovision, hands down
@ScottW Nope, it’s calling Concat which is even faster
creating a StringBuilder has quite an overhead in both Java and C#
 
This is the best song of Eurovision and always will be:
 
Eurovision is commercial crap.
 

« first day (596 days earlier)      last day (4353 days later) »