Dialecticus

Belgrade, Serbia

Age: 40

Nothing to see here, move on.

Feb
23
comment Single process vs multiple processes
Go with single process, but don't go with 50 threads, unless you have a machine with 20 processor cores. With so many threads effectiveness of each thread is reduced with every new thread, because valuable processor time is wasted every time OS switches context between threads. In an efficient system all tasks are handled by just a several threads that don't have particular preference regarding your business logic (don't divide departments among threads). For now don't over-engineer it thinking about more machines in the future.
Feb
15
comment Make my object move left and right continuously c#
Sorry, actually it will get stuck on MAX_X.
Feb
15
comment Make my object move left and right continuously c#
Now it will just stay in place if it is between max and min.
Feb
15
answered Make my object move left and right continuously c#
Feb
15
comment Make my object move left and right continuously c#
That would make the monster jump from end to start, not move it left-right-left.
Feb
12
comment What is causing the LNK2005?
Find in all files string .cpp" (with period at start and double quote mark at the end). If there is a line #include "<something>.cpp" then that's the problem.
Feb
6
comment Application won't launch. Breakpoints aren't hit. No exceptions
Also try to restart Visual Studio. Also, before starting it again delete VS's temporary files (mainly .ncb).
Feb
6
comment Diagonal Test on 8 Queens
More efficiently would be to check for the clash each time you add another piece on the board, assuming that before that there was no clash. In that case you only have to check the lines that intersect on the new piece, instead of checking the whole board.
Feb
5
comment How to store a member of a derived class in the base class?
Why would a FileSystem need a name? It could be that Folder actually has a name, and also std::vector<Folder> children.
Feb
4
answered How to remove only LineFeed from a line in C#
Feb
2
awarded Announcer
Jan
28
reviewed Approve suggested edit on Curl authentication contains "@" "." and ":"
Jan
28
reviewed Reject suggested edit on How can I add this method as an extension method to properties of my class?
Jan
28
reviewed Approve suggested edit on Null out parameters in C#?
Jan
28
reviewed Edit suggested edit on Access violation when passing pointer to iterator and pointer to list
Jan
28
revised Access violation when passing pointer to iterator and pointer to list
Code uses _tmain() which is not part of standard C++ and is specific to Visual Studio.
Jan
28
reviewed Edit suggested edit on Creating modern style dynamic menu in Windows
Jan
28
revised Creating modern style dynamic menu in Windows
it's about dynamically adding [submenus] in a consistent [visual-style]
Jan
27
comment How to change text on Messagebox buttons?
Task dialogs are meant to supersede message boxes.
Jan
23
comment Create a text file and write to it in C#
Also use using statement. Also, for logging, use existing libraries.
1 2 3 4 5