739 reputation
110
bio website
location
age
visits member for 1 year, 10 months
seen Dec 23 at 11:08

Oct
13
awarded  Quorum
Oct
8
answered Grouping multiple git repositories that are part of the same overall project
Oct
6
comment Is this a commonly encountered situation in C++? Is there a pattern to handle it?
Passing the object as param to the ctor just enforces this dependency; it doesn't have to be performed in sequence during start-up. You most likely create the window first and then load your resources at some later point.
Oct
6
comment Is this a commonly encountered situation in C++? Is there a pattern to handle it?
No. Well, I do believe that initialization code should be in constructors, but it doesn't have to be of global objects. You can pass around the context object after window creation to wherever it is needed/you want.
Oct
3
answered Is this a commonly encountered situation in C++? Is there a pattern to handle it?
Oct
1
comment Neural network input preprocessing
You absolutely don't want feature or object detection in there - this is a task people are working on for decades and we still don't have good solutions. And if you want any kind of behavior that looks 'realistic' to a player (for humans, animals, cars etc), there are alternatives that are far more suited to the task than ANNs.
Sep
29
comment Notifications system with too many subscribers
These people are trying to help. Maybe a less confrontational approach might be helpful. And you still didn't answer @DocBrown's question: how and when are those notifications processed?
Sep
19
comment How to unit test code that downloads a file from a github repo
His integration test should most likely test that the file he expects exists at the exact location his program tries to download it.
Sep
19
comment How to unit test code that downloads a file from a github repo
Implementing integration tests in the unit test framework can totally make sense, probably better done in a specific integration test project though.
Sep
18
comment Why do IoC containers provide public Resolve method(s)?
@EsbenSkovPedersen It doesn't matter if you get your IoC to generate your factory or if you make the factory yourself, in both cases it will contain a pointer to an IoC resolver (or some other IoC internal structure).
Sep
18
comment Why do IoC containers provide public Resolve method(s)?
A factory that produces instances of IoC-mapped types at runtime needs to be able to actually get those from IoC.
Sep
10
comment How do you make sure a .net client application is not being hacked to bypass authorization claims?
@m-y But the problem seems to be that all communication coming from a client is trusted. That's bad; not sure it warrants a full answer though, because it's such a basic and obvious statement. However, detailing methods for client-server security seems out of scope for the question.
Sep
10
comment How do you make sure a .net client application is not being hacked to bypass authorization claims?
Only allow authorized clients to write to the server, with authorization checks being performed on the server.
Jul
28
awarded  Citizen Patrol
Jul
23
comment Is it improper to have an application wide source for dropdown binding
Just because you want a shared combobox source (might be a good idea) doesn't mean you have to make it a singleton (certainly a bad idea).
Jul
23
comment Relation between projects and solutions in VS
In the simplest case, you can use a directory on a shared network drive as your 'server'. There's also code available so you can set up your own server in 30 mins or so. See here for more information on your options.
Jul
23
revised Organizing Business and Presentation entities
deleted 2 characters in body
Jul
23
revised Organizing Business and Presentation entities
added 595 characters in body
Jul
23
comment Organizing Business and Presentation entities
Also, you most likely only use the BaseViewModel because you don't want to implement the ugly Wpf NotifyPropertyChanged logic in each class. I would suggest you look into MVVM frameworks such as Caliburn Micro that solve all those issues for you.
Jul
23
revised Organizing Business and Presentation entities
added 15 characters in body