« first day (1503 days earlier)      last day (3438 days later) » 

12:00 AM
maybe I don't understand horse comics
 
if by "horse" you mean "man fucking horse", then I concur
 
would you prefer donkey instead?
 
> P.S. This operation must be performed on a large number of threads a massive number of times continuously, so I need THE most efficient solution please =) stackoverflow.com/questions/27160963/…
that's one hard problem
 
best answer: lol java
 
Ell
12:26 AM
Thanks based puppy
Visitors suckkk
Open multi methods much better
 
Ell
I want them in c++ a lot
 
@Chris I've committed the changes related to the various optimizations, and the benchmark driver code to a public github branch so it's easy to review them. The makefile is included as q27152834.maksehe 48 secs ago
There. Having once again spent way to much effort on a question it's time for me to go to sleep.
Good news was that I was still awake to change the bedlinnen and shower our youngest :/
 
Ell
Aww :/
 
@AlexM. ... wow
 
12:35 AM
lol
 
12:51 AM
@Scarlet Four days until The Mentalist!
where the hell is Scarlet anyway?
> last message 19d ago
ok
 
1:03 AM
ffs 1am again
 
So early.
 
Xeo
2am you mean
 
Ell
I need to catch up on lots of physics tomorrow
Who wants to help me learn the start of the universe :3
 
I was there dude
but I can't help you right now
cos it's [past] 1am
nn
 
Ell
@LightnessRacesinOrbit night
 
1:42 AM
Good morning.
What a title.
 
@MarkGarcia wut
 
@Borgleader It's morning here! ;) ;) ;)
 
@MarkGarcia oh, mis-reply. the 22% thing
 
2:33 AM
ni hao :P
 
I have this kind of code in a lot of places:
auto result = vec.back(); vec.pop_back(); return result;
I would be nice if there was a std convenience function for this.
 
@StackedCrooked auto result = std::move(vec.back());
 
oh, I forgot the move
that's much better
 
@MarkGarcia That's not equivalent though.
 
Hm?
 
2:44 AM
auto result = std::move(vec.back()); is not equivalent to auto result = vec.back(); vec.pop_back(); return result;
 
@Jefffrey It's not intended to be. He was just making a correction to my first statement.
 
oh
nvm then
 
I think it was not intended anyway :D
Otherwise he'd be a real dumbass.
:P
 
@Jefffrey Got me thinking of whether a const vec would behave differently.
 
pop_back wouldn't work
 
2:46 AM
Oh right. Thanks, saved from testing!
:P
 
@StackedCrooked :c
 
buh. I can't android :|
 
3:19 AM
I've never used an android device.
 
3:35 AM
The SDK keeps giving me a NullPointerException
 
In number theory, Fermat's Last Theorem (sometimes called Fermat's conjecture, especially in older texts) states that no three positive integers a, b, and c can satisfy the equation an + bn = cn for any integer value of n greater than two. This theorem was first conjectured by Pierre de Fermat in 1637 in the margin of a copy of Arithmetica where he claimed he had a proof that was too large to fit in the margin. The first successful proof was released in 1994 by Andrew Wiles, and formally published in 1995, after 358 years of effort by mathematicians. The unsolved problem stimulated the development...
This is kinda fascinating.
> Fermat's Last Theorem states that no three positive integers a, b, and c can satisfy the equation an + bn = cn for any integer value of n greater than two.
It took 358 to find a proof.
It's impressive, yet it seems kinda silly to me.
 
3:53 AM
@StackedCrooked I tried going into the proof during my rings & fields class. I did not get very far. :(
 
@Nican still that's nice
 
4:24 AM
The lounge is so empty.
 
 
2 hours later…
6:14 AM
Dammit, my scope guard threw an exception.
And scope guards are triggered in their destructor.
So that was a swift death.
Hm, hadn't noticed the piano in this part before.
 
7:15 AM
@StackedCrooked on the Richter scale
@Nican Lounge<void>
@StackedCrooked That's what Barbara does to your cognitive abilities
 
Good morning, everyone.
 
@sehe Vergeet Barbara!
 
Zal Ik Doen!
 
♪ Barbara ♫
 
Fuck Her
 
7:27 AM
ze verdient je liefde niet
dat zegt Will Tura
@sehe and forget her afterwards? :D
 
Maybe during, that's okay
 
"whoa, who the hell are you?"
 
4 mins ago, by StackedCrooked
♪ Barbara ♫
 
Oh right, I forgot.
 
7:48 AM
morning
 
moanings
 
evening'
 
buffer overflow ...
 
I guess some of you Loungers go by this?
 
user1804599
8:17 AM
@TonyTheLion Should've used async I/O.
 
user1804599
Oh it's this Thanksgiving gimmick again.
 
user1804599
Now I know why Turkey is angry.
 
So cofree comonads
 
user1804599
In Frege you have coffee monads.
 
8:24 AM
What' Frege?
Does it compile to js
 
user1804599
No, to Java.
 
morning fajitas
 
Hello
4
Q: How to deal if lady colleagues dressing style is disturbing me?

FreshmanI am fresh college graduate and joined job recently. My team contains 3/4 ladies. I came from traditional and rural back ground. And their dressing appears a kind of awkward and seductive. I am frequently getting disturbed the way they are dressed and I am not able to mingle with them as a team m...

^ boo hoo I have ladies in my office
 
@Mr.kbok that first comment ¬_¬
 
user1804599
@Mr.kbok Then get the fuck out.
 
8:39 AM
@thecoshman Someone must be really desperate :)
 
@thecoshman lol
 
\s*enum\s+(?:class|struct)?\s*([a-zA-Z_]\w*)?\s*(?:\:\s*[a-zA-Z_]\w*)?.*?
Parsing C++ -- Regex Edition
 
Easy there zalgo
 
user1804599
@Rapptz fails with enum HAHAMACROMOTHERFUCKER class
 
Input is already valid :p
 
user1804599
8:45 AM
And with attributes.
 
@Mr.kbok Somebody ask him to describe how are they dressing that it disctracts him.
 
I'm struggling with lots of vC++ things. In particular message map. I've read up on MSDN msdn.microsoft.com/en-us/library/9x1t4dy1%28v=vs.100%29.aspx but the purpose is still not clear. Within the BEGIN_MESSAGE_MAP are lots of commands like ON_MESSAGE or ON_COMMAND. My question is, what is going on here? (Let me write some code)
BEGIN_MESSAGE_MAP(CoeEngine, COleControl)
	ON_MESSAGE(DELETE, OnDelete)
	ON_MESSAGE(SAVE, OnSave)
END_MESSAGE_MAP()
So, if I use my OnDelete function, does it atucaommicaly call this macro
or do both of those messages get sent when I do something CoeEngine
And does this questin make any sense at all?
Hopefully if not, it shows how much I'm struggling!! :)
Sorry, typo. The purpose is clear, the execution isn't clear.
 
@Dave The macro defines a function, IIRC, which basically contains a series of ifs and invokes your OnDelete function when the message is of DELETE type.
 
Oh I see.... but only the OnDelete function which is part of the CoeEngine?
So the BEGIN_MESSAGE_MAP(value, value2) are ways of encapsulation?
 
@Dave Yes, I think. It is per class. Of course, the functions can be inherited but then it would be handled by base class message map, I think.
 
8:53 AM
Hmmmmm. Maybe there is some hope for me after all ha ha ha
Thank you so much for taking the time to explain this
Would it be wrong in saying it's effectively an Event Handler delcaration? @VáclavZeman
 
@Dave I think it effectively is one, yes. I am not sure if they call it event handler exactly.
 
No, that is fine, I was just trying to use .NET terminology to make more sense of it :) Thank you again @VáclavZeman
 
@Dave that's old WinAPI
I think.
 
Hi @BartekBanachewicz
I think this could be an old system, before more modern techniques/practices were created/used
Can I assume you agree, for a high level explanation it's effectively an Event Hander Declaration?
 
@BartekBanachewicz MFC and/or AFX stuff, if you call that "old WinAPI."
 
9:06 AM
oh right MFC used something like that
 
MFC is pretty much a level above WinAPI.
 
It is MFC and thank you @VáclavZeman, our MFC guy stepped into work, I told him what you said as if I already knew, and he agreed and said I had learnt it well... Ahhhh, it's nice to take credit for other people's knowledge he he he he
Thank you
 
@Dave :D
 
lol people trying to sort data in C
so funny
 
It's not funnier than people doing it in C++
 
9:18 AM
@sehe It is. I always imagine them running on their short legs and with their short hands unable to reach for the top shelf with candies.
 
That's funny. But that's no news. It's in your head
 
I'd rather have funny things in my head
 
9:35 AM
@BartekBanachewicz ...than true things? That's insanity. :)
 
Open question here. Will, as future goes on, the programming market become much much smaller. We already have things like WordPress which does a huge job already- removing the programmer and allowing any one to acheive the same result. And with each release of new languages, it abstracts the complexity out more and more.
I suspect in N years, this will be such, that programming really will be for any one (even acheivable by those who can talk to girls). The only 'real' programmers will be those making these new langauges, or working on the enterprise of some few and far between time ctricial application
 
user1804599
WTF.
 
Or am I the only one thinking this
oops, typo
 
@Dave "enterprise" and "time critical" doesn't cover all of the specialised cases
we solve hard problems every day.
 
Well, of course not
There will always be the need, I think
My thought though is whether the market will shrink because of it
 
9:41 AM
You're the only one thinking this
 
@Dave not really. As the things get easier, at the same rate demand grows
 
What, that programmers can get girls ha ha
 
There is an infinite need for mediocre programmers working on arbitrary waste-of-time projects
2
 
@Mr.kbok, You see, I see that. But since they're waste of time projects, then why can't it be done via a very clever, not yet invented drag and drop style 'DIY app'
 
9:43 AM
@Dave because drag'n'drop solutions are less flexible
 
@Dave This is the question that everybody asked in the late 90's
 
Oh really @Mr.kbok, I guessed it would have been asked before but, I wasn't aware that it was asked (and not so long ago)
That may have sounded sarcastic, it wasn't meant, it was a genuine comment :)
 
90's weren't that long ago :)
 
There was a crazy lot of GUI apps for creating apps, or, where I worked, "Entreprise Business Process Management"
 
Visual FoxPro :D
 
9:44 AM
Think about FrontPage, Rational Rose, etc.
 
also MS still thinks it's gonna happen, what was this new thing called... Lightswitch?
 
After a while people realized that the complexity of a powerful enough GUI application was just as much as a simple programming language (Rails?), so they figured they could just hire plain-and-simple "text editor" programmers instead of people with ultra specific skills working on GUIs
 
And so the Framework era begun
 
Exactly
Now you have Rails and Symfony and whatnot and pretty much anyone can make websites. Even "talk-to-girls" business types :)
 
But doesn't this already show how far thigns are abstracted? I work in .NET as much as I can. As C++ dudes, you probably hate, HATE, Linq and Lambda's I suspect. I can do a huge amount with 1 line. Don't get me wrong, I understand the issues with 1 line (I have no idea what it does, what the prformance hit is etc etc) but...
OK, let me as you guys a differnet questions
What do you find easier to learn/read. C++ or C# ?
 
9:49 AM
@Dave You know, C++ people have lambdas and LINQ too
 
In regards to Syntax
 
@Dave We love lambdas and LINQ because they are very powerful and cool concepts.
 
@Mr.kbok, really? Oh, now I'm feeling more stupid. no, I had no idea at all!!
Well, that begins to show my question is probably based upon lack of knowledge]
 
Thank you every one for very kindly teling me I need to learn more ha ha
 
9:50 AM
@Dave Modern C++ isn't really like its previous iterations.
 
LINQ is on the way :)
C# is definitely easier.
But C++ pays more
 
ha ha ha
 
@Dave Pretty much everyone agrees that C# is easier to learn than C++. As for readability, opinion-based. C++ puts huge emphasis on denoting ownership semantics visualy, while C# hides them from you. It's debatable whether this helps or not; certainly depends on the scenario.
 
Yes, I understand that argument
Hmmmmm
 
It is much easier to produce excellent code in C++ than in C#
But it is easier to produce garden variety code in C#
 
9:52 AM
Excellent seems some what broad?!
 
Not all code needs to be excellent
I mean in terms of correctness, robustness, and performance
 
@Dave I think he meant solving one particular problem in a very elegant and performant way
 
What goes into the way of C# programs being correct or robust, if anything?
 
Are we approaching Haskell already? :)
 
user1804599
No.
 
9:54 AM
C# now compiles native, using the C++ complier
 
user1804599
That's bad.
 
@Dave [citation-needed]
 
user1804599
You want to run code in a VM.
 
so, does it actually produce more excellent code in terms of performance? Or is it, as typically the case, down to the programmer
 
user1804599
VMs are easier to supervise than CPUs.
 
9:55 AM
As for the 'same' C++ compiler, that was a comment on a DotNetRocks podcast
 
@Dave internet comments tend to be wrong :P
 
user1804599
Especially those about how awesome something is.
 
That says nothing about compiling using C++ compiler
Good job on reading comprehension there bub
 
It was an MVP on the show, I would hope they get things right ha ha
 
oh it's part of community
 
9:57 AM
".NET Native uses the same back end as the C++ compiler, which is optimized for static precompilation scenarios. "
^ no idea what it means though
 
@Dave the backend and the compiler are different things. Cue Clang / LLVM.
 
user1804599
Playing billiards?
 
The static optimization is good news though
 
@Mr.kbok, what do you say that
 
I wonder just how fast it can be made to run
 

« first day (1503 days earlier)      last day (3438 days later) »