Alex M.

Cluj-Napoca, Romania

careers.stackoverflow.com/alexm

Age: 22

I'm a software engineer currently working at National Instruments. At home I spend most of my time studying the latest on AI and experimenting with my own related projects. I'm very interested in human-AI interaction and intelligent systems that have a direct effect on our daily lives, right now focusing almost exclusively on finding ways to automate household activities through networks of smart devices and robots.

I very often play games, with a focus on competitive CS GO. You can find my Steam profile here.

I can usually be found in the C++ Lounge. #SOreadytohelp

Aug
23
awarded Notable Question
Aug
10
revised Function definition not found for a function declared inside unnamed namespace - how to resolve? (Visual Studio 2015)
added 8 characters in body
Aug
10
revised Function definition not found for a function declared inside unnamed namespace - how to resolve? (Visual Studio 2015)
added 534 characters in body
Aug
10
revised Function definition not found for a function declared inside unnamed namespace - how to resolve? (Visual Studio 2015)
added 534 characters in body
Aug
10
comment Function definition not found for a function declared inside unnamed namespace - how to resolve? (Visual Studio 2015)
Actually, re-read what I said here as many times as required, I believe I explained it enough. FWIW with 5.2.0 coliru.stacked-crooked.com/a/523e213da0546aa0
Aug
10
comment Function definition not found for a function declared inside unnamed namespace - how to resolve? (Visual Studio 2015)
You can't prefix it, since your namespace is unnamed. It was just an example of what happens during the compilation process, in the background. Check a draft of the standard at 7.3.1.1 Unnamed namespaces (I used n4527) if you need extra help in understanding what I meant. Basically, I'm trying to tell you that the squiggles are right in being there, and Microsoft's compiler is misbehaving.
Aug
9
comment Strange If/Else Behavior
One more thing: if (this.enabled) is redundant. If a MonoBehaviour is disabled, then Update() is never called. if (this.enabled) in your case can never fail.
Aug
9
answered Strange If/Else Behavior
Aug
9
comment Strange If/Else Behavior
MyData.currClickIndex++; tells you anything?
Aug
9
comment Strange If/Else Behavior
Have you looked at the log history? It should show both "Correct" and "Wrong" immediately after it. If that's the case, can you think of a way that can happen, and if it's the way it happens in your case? Hint: Update is called a lot of times per second.
Aug
9
comment abstract class vs calling base
The two are not equivalent functionally. One example is the fact that your 2nd solution allows the user to use A's functionality without having a B, while your first doesn't.
Aug
9
comment Why does my multithreaded code leads to hang?
Yes. Spawning 1000000 threads is nonsense. You normally pick a number of threads equal to your processor's concurrency capabilities, which you can consider the # of cores to be, and then balance the workload between them. For a quad core -> 4 threads.
Aug
9
comment Why does my multithreaded code leads to hang?
Do you have, like, 1000000 cores for this.
Aug
9
answered Can I create a countdown timer without putting it in the Update function?
Aug
9
comment Can I create a countdown timer without putting it in the Update function?
Hint: you don't need minutes and seconds, you can turn seconds into minutes and seconds easily. A minute equals 60 seconds.
Aug
9
comment How do you extract an archive to a specific location with libarchive?
possible duplicate of Libarchive to extract to a specified folder?
Aug
9
comment Function definition not found for a function declared inside unnamed namespace - how to resolve? (Visual Studio 2015)
@sunnymoon I'm not sure it should be prefixed. You're saying it should be, but according to what?
Aug
9
revised Function definition not found for a function declared inside unnamed namespace - how to resolve? (Visual Studio 2015)
added 18 characters in body
Aug
9
revised Function definition not found for a function declared inside unnamed namespace - how to resolve? (Visual Studio 2015)
deleted 27 characters in body
Aug
9
revised Function definition not found for a function declared inside unnamed namespace - how to resolve? (Visual Studio 2015)
added 84 characters in body
1 2 3 4 5