36 votes

How to easily avoid circular dependencies

The premise of this question is wrong - the example does not show a circular dependency. The dependencies are CustomerController | | V | ...
Doc Brown's user avatar
  • 206k
5 votes
Accepted

Source Control Design for Proprietary Logic which includes Obfuscation

Simply treat your "proprietary algorithms package" as if it was developed as a closed source software by a 3rd party vendor, decoupled from your main project. You may have already such other ...
Doc Brown's user avatar
  • 206k
5 votes
Accepted

Is this architecture overkill? What is a good way to architect this software?

Your new approach isn't inherently wrong. However, there are a few things I would like to question here: Currently, the Algorithm.calculate function in your example contains almost no generic, astro-...
Doc Brown's user avatar
  • 206k
4 votes
Accepted

What will the best way to manage access to the app projects Git repositories with shared service classes within one solution?

First off, You need to be able to trust your employee. Decompilation is a thing. Secondly, you should have individual git repositories for each app/library. Each repo should have a CI pipeline which ...
Ewan's user avatar
  • 74.6k
3 votes

How should I architect a cricket scoring app?

With rules based games I always find it best to AVOID any objects relating to human concepts in the game, ie match, player, wicket etc. At least as a first pass. Rules for games are not written in an ...
Ewan's user avatar
  • 74.6k
3 votes

Deterministic behavior using RTOS with preemption

What kind of software architecture or mechanisms can be used to ensure that, using a real time os with preemption, everything that has to be run in a cycle is indeed run during that cycle ? How to ...
Steve's user avatar
  • 8,446
3 votes

Is this architecture overkill? What is a good way to architect this software?

If you just call your functions "Algorithm" and "Calculate" then it's hard to make a judgement about the structure of your code. Should Calculate1 through 5 be separate functions? ...
Ewan's user avatar
  • 74.6k
2 votes

Fault tolerance in aggregated distributed state

implement something similar to classic rate limiting The shared state reflects the sum of the states of all individual replicas Here is the problem statement I heard. You have web client Request ...
J_H's user avatar
  • 6,590
2 votes

Source Control Design for Proprietary Logic which includes Obfuscation

With regard to Flater's comment, if the algorithms are so secret that you don't regard your ordinary staff NDAs and security practices as sufficient (an extremely high bar!), then one advantage of the ...
pjc50's user avatar
  • 13.2k
2 votes

Synchronize data between old on premise application and new cloud system

Especially considering that they will likely have different database structures and database systems Do not do this. They have (almost?) identical functionality, so they should have identical ...
pjc50's user avatar
  • 13.2k
2 votes

Synchronize data between old on premise application and new cloud system

Frankly the proposal sounds like a recipe for disaster. If you have a perfectly working application for the time being, and you have several years to complete a transition "to the cloud", ...
Steve's user avatar
  • 8,446
2 votes

Independent micro services or merging micro services together

The key thing here is: No one calls account service directly but only the wrapper service. If nothing calls the account/wallet service, then it doesn't need to be exposed as its own microservice. ...
Ewan's user avatar
  • 74.6k
1 vote

How-to concept: Recognize features of an image and draw against

Identifying components of arbitrary vehicles, under diverse pose and lighting conditions, could be a good fit for ResNet50 types of models. But for the highly constrained problem space you outline, ...
J_H's user avatar
  • 6,590
1 vote
Accepted

How-to concept: Recognize features of an image and draw against

If you need to recognise arbitrary features I would suggest training an AI model or running various filters like edge detection etc before doing complicated maths. But with the restrictions you ...
Ewan's user avatar
  • 74.6k
1 vote

Best practice in synchronized form data validations (Web apps - Client-Server)

Interesting topic, pretty much every web application copies those rules, so such a library would be very much welcome ;) Here's an example implementation using ASP.NET Core and Angular: https://...
mariusz96's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible