329 reputation
15
bio website ipeet.org
location Canada
age 26
visits member for 4 years, 1 month
seen Jun 2 '12 at 1:37

Feb
10
comment Where should I put functions that are not related to a class?
Using a namespace is also nice because it disambiguates whether the call is a method or a function. (math_function1(42) might call a member of the current class; special_math_functions::math_function1(42) is clearly calling an independent function). That being said, ::math_function(42) provides the same disambiguation.
Feb
10
comment Where should I put functions that are not related to a class?
IMHO, utility classes with nothing but static members are an anti-pattern in C++. You're using a class to perfectly reproduce the behaviour of a namespace, which really makes no sense.
Feb
5
comment How to find siblings of a tree?
Your description of the question is unclear ('sibling' would imply nodes with the same parent, but your description links nodes which are neighbours at the same depth). Either way, it doesn't seem too hard to me. You clearly failed the question; I'm not sure why you feel the need to complain about it here.
Feb
2
revised Unit of work principle is causing a problem in MVC3 application
Whoops, semaphores are a terrible idea. I blame the lack of coffee.
Feb
2
revised Unit of work principle is causing a problem in MVC3 application
wording
Feb
2
revised Unit of work principle is causing a problem in MVC3 application
Add digression on synchronization.
Feb
2
answered Unit of work principle is causing a problem in MVC3 application
Jan
29
awarded  Critic
Jan
18
comment Why does email sent from my site end up in SPAM folders?
Jeff Atwood has a post on this exact topic: codinghorror.com/blog/2010/04/…
Dec
26
awarded  Yearling
Dec
18
answered How important are design patterns in programming?
Dec
17
comment Filling a scene with cubes
"I am not trying to fit cubes into fluid volume" and "My question is to fill all the scene with cubes." seem to be a direct contradiction. Please explain. "Calculating the pressure value and particle velocity inside each cube, as you said, is straight forward." Only if you have deep knowledge of the fundamentals of CFD - if you don't, be careful.
Dec
17
comment Can I use GPL, LGPL, MPL licensed packages with my application and make it closed source?
@Google: The GPL requires that derivative works carry 'prominent' notices that they are derivatives. (GPL Section 4 and 5). So, you could brand it as the Bnome3 Desktop, but you'd need a subtitle that says 'Based on Gnome 3', and copyright notices would have to list 'The GNOME Project'. Note that fedora isn't distributed under GPL in one big unit, it's a big cluster of many bits which are each under GPL et al.
Dec
17
comment Can I use GPL, LGPL, MPL licensed packages with my application and make it closed source?
According to my understanding, you just described the LGPL. As thiton said, 'the GPL reaches as far as the address space of the licensed code'.
Dec
13
answered Filling a scene with cubes
Dec
5
awarded  Nice Answer
Dec
5
revised Submitting Résumé To Bolster Bids on Side Projects While Employed
Clarify language on rights and responsibilities.
Dec
5
revised Submitting Résumé To Bolster Bids on Side Projects While Employed
Clarify language on rights and responsibilities.
Dec
5
awarded  Editor
Dec
5
revised Submitting Résumé To Bolster Bids on Side Projects While Employed
Clarify language on rights and responsibilities.