3,119 reputation
1123
bio website
location
age
visits member for 4 years
seen Oct 1 at 8:12

Aug
10
comment Pair programming remotely with Visual Studio?
It is, but I'd disagree. I see the main point of pair programming having two sets of eyes on the code, and the two developers discussing what they're doing. Programming != typing.
Aug
10
comment Pair programming remotely with Visual Studio?
skype also has a "share desktop" feature, which I've used for a similar purpose.
Jul
27
revised When using Hibernate can we forget about Database Design?
typo
Jul
4
comment How to get a legal advice for a open source project ?
By paying for it?
Jun
7
comment What licence should I use for internal projects?
+1 - Copyright {Year} {Company Name}, all rights reserved is the best thing to put.
Jun
7
comment What does it mean to do a “null check” in C or C++?
@MrLister but you make a good point that people working with C++ should be aware it doesn't auto-initialise values on variables.
Jun
7
comment What does it mean to do a “null check” in C or C++?
@AmbrozBizjak trying to dereference a pointer may not be the be-all/end-all of the application. it's perfectly reasonable to expect that the "error" may be recoverable. I believe tdammers' example was probably meant to be simplistic to get a point across, as in "this is what null checking looks like in C++".
Jun
7
comment What does it mean to do a “null check” in C or C++?
@MrLister in a very simple application, this may be true. I can think of many more complex situations where you may want to try dereferencing a pointer without knowing whether or not it is valid. if you ensure all pointers are initialised to null in your constructor initialisation and you set its value back to null when destroying the object it references, then you can assume that the point will either have a valid value or NULL.
Jun
7
comment On mobile is there a reason why processes are often short lived and must persist their state explicitly?
I'd say battery life on a phone is far more related to the use of mobile networks (3G and what have you) than CPU. If you turn off data traffic on your phone, except for when you want to use it, it's going to last a hell of a lot longer than if you just have the connection idling.
Jun
7
comment What does it mean to do a “null check” in C or C++?
@MrLister what do you mean, null checks don't work in C++? You just have to initialise the pointer to null when you declare it.
Feb
29
comment How does using #define for loop and condition bounds in C increase security?
As opposed to actual variables.
Feb
29
comment How does using #define for loop and condition bounds in C increase security?
Yes, I meant variable in terms of they can be easily changed at compile time to play with values.
Feb
29
answered How does using #define for loop and condition bounds in C increase security?
Feb
29
comment Best solution to run a Linux sandbox on my Windows machine?
If all you're doing is running a virtual server for apache type things, then even 1.5GB of memory is massive overkill.
Feb
29
answered Best solution to run a Linux sandbox on my Windows machine?
Feb
28
revised What are the drawbacks of elastic tabstops?
added 3 characters in body
Feb
28
awarded  Nice Answer
Feb
28
comment Developer to team leader
I wouldn't agree with almost always. But yes... politics is definitely a factor.
Feb
28
answered What are the drawbacks of elastic tabstops?
Feb
28
answered Developer to team leader