4,144 reputation
2238
bio website
location
age
visits member for 4 years, 1 month
seen Nov 16 '13 at 9:37

Aug
14
comment Should I take help of Internet and other programmers or I should do all programming myself?
People who complain that debugging is 2x as hard as writing the code should get their act together and read some debugging resources. If debugging is harder than coming up with a good spec and implementation, YOU'RE DOING IT WRONG!!! Debugging is easy, it has always been this way.
Aug
13
comment What is the Mars Curiosity Rover's software built in?
@ThorbjørnRavnAndersen: If you need to debug an app 100 million miles away, it's already a problem. And don't tell me you want to debug Java program 100 million miles away. Once under certain circumstances some weird JRE bug causes some weird behavior in garbage collector which causes chain reaction in all dynamic memory accounting, addressing and deletion. You won't even be able to re-flash the thing. And the article had one thing right - "one thing you would do - get rid of lisp". Shame that the author is a fanboy and doesn't get the core of the problem.
Aug
12
comment What is the Mars Curiosity Rover's software built in?
@ThorbjørnRavnAndersen: Almost, you need nop slides and stuff like that to fail when RAM error or cosmic ray creates a havoc in the memory. You really want to do any garbage collection in mission critical systems. Everything has to be super simple and easily checkable. Thinking that some high level gives you better reliability is very wrong. There are few things that might help when used sparingly, say templates, and things that downward suck, like exceptions.
Aug
9
comment What is the Mars Curiosity Rover's software built in?
@ThorbjørnRavnAndersen: Sorry, but high level languages suck for anything performance and safety oriented. They abstract away many things, but all of them have problems, every solution adds new layers of problems, and getting critical system to work is to remove problems, so any high language is an exact opposite of what you want to do. Good read - joelonsoftware.com/articles/LeakyAbstractions.html
Aug
9
comment Is it wise to be going back and forth between two programming languages?
I would say if developer says "C/C++" in a resume, I would want that to be the only language(s) there. But with other, fool-proof languages, the more the better.
Aug
4
awarded  Citizen Patrol
Aug
3
comment Where have all the programming kids gone nowadays?
@Dario: I'm noticing that people here are afraid of posts containing rant, even though it's a valid form of expression, open discussions, or questions not answerable directly. Usually the response is to post in chat, which quite often is a nonsense talk, or some dedendforum.stackexchange.com. Sometimes I hate this, because interesting questions or discussions are closed in seconds, and there is no alternative to SE with such high profile of attendance.
Aug
1
comment Storing plaintext passwords for detecting fraud
I don't think people give a damn. Otherwise password storage criteria would be outlined in EULA. But yes, comparing hashes is the same thing as comparing real source data, it can even be faster. Minus few theoretically possible collisions.
Aug
1
asked Singletons in C++, are they really necessary, used?
Jul
31
comment Bringing your own computer to work
Usually it's the company that has to be worried about employees computers. It's a source for possible data leak, source that can get viruses into internal networks, it has all the legal implications if there is an unlicensed software on those PCs and so on. I wouldn't want unknown PCs on company network if I were an administrator or an owner.
Jul
29
comment Homework for strong C++ developers learning Java
WHY?!!! Why would anyone want to take STRONG C++ developers and turn them into Java developers? They are already at home with tough concepts like pointers, indirection, efficient memory management, OOP, interfaces, developing cross platform and thousand other things, they can write anything. Java is not going to make them any better, no good can come out of it!
Jul
26
comment How can calculus and linear algebra be useful to a system programmer?
There is a trend where CS in every university I know is splitting away from math departments. I think it's a very smart move. Moreover, CS students are thought to figure out solutions from using existing solutions. A good CS student would read a document on container, would see a O(nsomething), open up the wikipedia, see the graph, and decide if the container is appropriate. That would take 2 minutes, just like checking reentrancy and parameter requirements for some API function call. And, IMHO, a profiler is almost always a better solution than theoretical math.
Jul
26
comment How can calculus and linear algebra be useful to a system programmer?
@Rig: Learn as you go, that's how I did it. Learning from math side, IMHO, is bass-ackwards.
Jul
26
answered Cloud computing platforms only have one CPU. Does this mean I shouldn't use Parallel Programming?
Jul
25
comment Practices for navigating and changing “long” code files?
5 screenlengths... pfff, wait till you get to a real project with 50+ on average. But my suggestion would be remembering code lines + gotoline, gotodefinition, gotodeclaration, and furious splitting of sources. The later will also help with compile times and keeping logical things together. Ctrl+F & F3 also helps a lot.
Jul
24
comment Are unit tests really that useful?
If unit-tests are working as a documentation, there is something wrong. Reading 500 lines of code to understand how 5 lines of code work is backwards.
Jul
24
comment Are unit tests really that useful?
There is one more problem, add multiple threads of execution and all unit-tests are rendered useless.
Jul
24
comment Are unit tests really that useful?
Without fear is a false sense of security.
Jul
24
comment How could one make a reasonably efficient, pointer-sized mutex?
InterlockedCompareAndExchange? If == NULL, used, if not, you have the value.
Jul
18
asked Does it still make sense to think about effective code on micro scale in C++?