Reputation
35,413
Next tag badge:
96/100 score
28/20 answers
Badges
5 72 130
Newest
 Nice Answer
Impact
~1.4m people reached

Oct
13
answered Create fake HTTP server to simulate an API for testing
Oct
13
answered How do you solve issue of consistency in concurrent and distributed application (built around Bankers Dilemma)?
Oct
9
comment Codifying architecture in requirements
If the modules map to hardware modules, then it seems quite reasonable to have these requirements!
Oct
9
comment Codifying architecture in requirements
I'm not sure why the reference to processing power is there then. I suppose you could treat the modules as logical components, not physical ones then. Put the functionality in namespaces regardless of which dll or exe they get built into.
Oct
9
answered Codifying architecture in requirements
Oct
6
awarded  Nice Answer
Oct
6
answered On GitHub, etiquette and pull requests
Oct
6
comment On GitHub, etiquette and pull requests
1. create new github user, fork your own project, make changes, switch to old user, make pull request, switch to new user and see if there's any notification. or... contact github support :)
Oct
6
answered DDD - If an object is saved as a whole to the database, is it per definition an entity, or is it still possible that it is a value object?
Oct
6
comment What should I do in C++ when implementing a container class: storing objects by value or by reference?
don't put raw pointers in containers - especially for a newbie. Stick to shared_ptr or unique_ptr for safety, then the issue becomes one of stack v heap allocation of objects (and yes, prefer stack)
Oct
3
comment Do we need to test 32-bit software in 64-bit Windows?
err. yes, sorry - when a "all CPU" platform was used, the resulting binary worked fine on a 32-bit dev box but the exact same binary failed horribly when put on the 64-bit server. You can spend a lot of time checking the application's configuration data in such cases.
Oct
3
comment Do we need to test 32-bit software in 64-bit Windows?
The biggest issue we had was running with other 32 bit libraries, .NET would simply fail to load them when run on a 64-bit machine.
Oct
3
comment Is there a 'standard' SQL that can replace all the various custom versions?
You can level the same argument against any standard, be it HTML, OpenGL or C. The fact that its difficult to make 1 thing fit every vendor's desire for differentiation doesn't mean its not a good thing to have.
Oct
2
comment When does it make sense to compile my own language to C code first?
@RobertHarvey no, I mean C code. In the OPs case, this is an Intermediate Language halfway between his own high-level language and machine code. I put it in quotes to try and convey this idea that its not IL as used by many people (ie Microsoft's .NET IL for example)
Oct
2
comment When does it make sense to compile my own language to C code first?
@emodendroket Microsoft is using their C++ compiler backend to compile C# IL into machine code themselves now. The OP would be advised to skip the middleman.
Oct
2
answered When does it make sense to compile my own language to C code first?
Oct
1
comment Context Switching behavior?
my point was that thread 1 will run for 10ms, and then be interrupted and thread 2 runs for 10ms. However, in reality, thread 2 will be blocked and so thread 1 will not need to be switched at all. The difference is in the time taken to switch between threads, if you only run t1, there will be no delays due to switching.
Oct
1
comment Context Switching behavior?
Every time the CPU changes from running one thread to a different one, there will be a context switch. If you have 1000 threads all trying to run at the same time, there will be more switches as the scheduler tries to satisfy each one of their requirement for CPU time. With 2 threads, the same will happen. But in the real world, one of the 2 threads will be in a blocked state and so the thread 1 will never be interrupted and generate no context switches.
Oct
1
answered Context Switching behavior?
Sep
28
comment The need for header file when including libraries?
you need the header for the compile stage; and the library during the link stage.