13,894 reputation
12049
bio website
location
age
visits member for 3 years, 7 months
seen 8 hours ago

Aug
21
revised Augmenting functionality of subclasses without code duplication in C++
added 4 characters in body
Aug
21
comment Augmenting functionality of subclasses without code duplication in C++
@RobW: Mixin is any template that you inject into the inheritance chain.
Aug
21
revised Augmenting functionality of subclasses without code duplication in C++
added 4 characters in body
Aug
21
answered Augmenting functionality of subclasses without code duplication in C++
Aug
21
comment What would you call the concept of CofeeScript or Sass to be?
You are parsing the sentences wrong. "CofeeScript derived language" means "language that is derived from CoffeeScript" and "CSS extension language" means "language that extends CSS". The only word that can stand on it's own is language.
Aug
18
comment In the days of modern computing, in 'typical business apps' - why does performance matter?
@Mehrdad: And they could have written it in C instead and perhaps ran it on 20 servers instead of 25. But they didn't because the saving would not outweigh the increased development time. Many web services are implemented in Python and PHP, some of the slowest languages in general use, yet nobody thinks of rewriting them in anything faster because the increased development time would not pay off. Constant factors are most of the time solved by just throwing more hardware at it. Scaling (asymptotic) problems is another matter of course.
Aug
18
comment In the days of modern computing, in 'typical business apps' - why does performance matter?
Actually most constant factors are better solved by throwing more hardware at the problem, because more hardware is usually cheaper than more time optimizing the thing. The problem is bad asymptotic (scaling) behaviour, because throwing more hardware won't help much with that.
Aug
15
awarded  Nice Answer
Aug
14
comment How come centralized source control solutions don't do branching in place
Perforce and subversion (which copied it from the former) are special in using directories (in repository) to do branches. Other centralized systems have a separate branch concept and one distributed (though I would only call it decentralized) system, svk, uses directories for branches too.
Aug
14
comment How come centralized source control solutions don't do branching in place
-1. I disagree with about every other word of this. Subversion definitely isn't around that long. First release was 2000, which is the same year as BitKeeper and 7 years after early distributed experiment called Aegis. Distributed systems were invented to support the process people were already doing with tarballs and patches and had nothing to do with Subversion. And the only new feature Linus introduced with git was speed. He already used imrproved branching and distributed storage in BitKeeper and the git model follows monotone, only it is (or was by that time) slow there.
Aug
14
answered How come centralized source control solutions don't do branching in place
Aug
14
comment How come centralized source control solutions don't do branching in place
Subversion was able to switch branches in a checkout since early versions using svn switch.
Aug
14
comment How come centralized source control solutions don't do branching in place
Note, that CVS had branches as separate concept from directories.
Aug
14
comment Calculate Pi to N number of places
What do you want it for? Unless you plan to enter the competition for most π digits, can't you just get suitable number of digits from the best published result so far (no, you don't need infinite digits; computers still had finite memory last time I checked)?
Aug
13
comment Is this proper OO design for C++?
Standard library does use pairs/tuples in public interfaces and I follow the suit where suitable.
Aug
12
comment Is this proper OO design for C++?
So I have to look up what members the structure contains (with pair it is directly in the signature), how they are named and can't use std::tie? No, thanks. I'll keep my pairs and tuples.
Aug
12
comment Is the inconvenience about merging in SVN prior to v1.5 obsolete by now when lack of metadata isn't the case anymore?
@TorbenGundtofte-Bruun: The most recent common ancestor does not have to be a branch point. You can find it yourself and tell subversion to apply changes between specific peg revisions. But the problem is that it's a lot of work and you have to realize you have to do it, because subversion does not necessarily throw up it's hands saying it can't merge. Instead it can find a common ancestor that's not most recent and generate lots of conflicts.
Aug
12
comment How does a clicked event work at a low level?
On Windows the built in component manages similar tree of windows as X11 does. Aero is just a compositor on top of that, similar to compositing window manager on top of X11 server.
Aug
11
comment Kerberos for key management?
GSSAPI is a method for embedding authentication services (like kerberos, but others too) in various protocols (like HTTP, SMTP, IMAP, various database connections etc.). If a service supports GSSAPI, it can be configured with several different authentication mechanisms of which kerberos is probably best known.
Aug
11
comment Kerberos for key management?
(and the technical details are still too broad)