Newest Questions
64,207 questions
0votes
0answers
12views
Configurations stored in database & GitOps
I recently came upon the concept of GitOps. One idea that's central to GitOps is the use of static configurations (e.g. Git repositories are the source of truth for configurations). In my distributed ...
0votes
2answers
26views
what is the term for a integer variable containing bit fields
If I have a variable that is intended to to be used with bitmasks, to retrieve values, i.e. bit fields and flags, what is the academic term for such a variable? If the (bit) fields are a analogous to ...
0votes
0answers
26views
Building Telegram Mini App based on existing frontend app [closed]
I have a web application (frontend+backend) complete and running. I'd like to implement Telegram Mini app that should interact with my backend the same way as my frontend (React) does. Currently I've ...
1vote
5answers
284views
Should code reviewers reproduce the problem/solution as part of the code review?
Boss in upper management is demanding to know why code reviewers are attempting to reproduce the problem & solution (in the case of defects) and solution (in the case of features) for reasons of ...
0votes
0answers
67views
How should ViewModels and Services communicate in a JavaFX + Spring Boot MVVM application?
I'm building a JavaFX + Spring Boot application using the MVVM pattern. Problem I have two ViewModels: SharedLoginViewModel: Manages the workflow state (e.g., login process, step transitions). ...
0votes
0answers
30views
API design for precomputation cache [closed]
In my numeric code library I have a function totient_sum that depends on an expensive one-time precomputation totsum_range = [...], then different calls to totient_sum(n) are quick. There are several ...
0votes
0answers
134views
Is This Programming Paradigm New? [closed]
preface: to define what a programming paradigm is in context of this post, I will use the definition used in wikipedia A programming paradigm is a relatively high-level way to conceptualize and ...
0votes
0answers
49views
Implementing ServiceLocator in middleware
Before I begin, I'm aware the Service Locator pattern is not recommended and it's better to inject services into the classes where they are used. However, I have a large legacy codebase that creates a ...
-2votes
0answers
46views
Architecture for TypeScript backend with multiple entry points or apps [closed]
I suspect this is a solved problem because I'm not doing anything very unusual, and yet I'm struggling to work out a sensible structure for my TypeScript/Node.js backend. Briefly, the project consists ...
1vote
1answer
116views
API supporting multiple authentication providers?
I am currently looking at building an API server that will support multiple authentication providers (Google, GitHub, Keycloak, etc) and I am trying to work out what’s a good way to go about it. Two ...
-4votes
0answers
50views
Roll Based Web App [closed]
I'm gonna implement RBAC (roll-based-access-control) and I'm not sure how to do this. But I'm sure I don't need to make several pages (namespaces) for each role, such as admin/index.jsx, manager/index....
-4votes
0answers
47views
how to represent in-house ai in deployment diagram [closed]
I'm creating a deployment diagram for a specific system. This system uses both an in-house AI and OpenAI. Should I represent these as external systems in the deployment diagram?
1vote
1answer
173views
Is there a better way to soft delete navigation properties in Entity Framework 6 when using Repository pattern?
public void ReassignLineItems(InvoiceUpdateDto invoiceUpdate) { Invoice invoiceInRepository = _unitOfWork.InvoiceRepository .FirstOrDefault(invoice => invoice.Id == invoiceUpdate.Id); ...
2votes
3answers
143views
Handling user strategy choice over many strategy patterns
I’m building a framework with many parallel implementations of strategy patterns, and I want to know the best way to handle the user’s choice of the set of strategies. E.g. I want to calculate the ...
4votes
4answers
433views
Is this too much for a modular monolith system? [closed]
A little background before I ask my questions. I've designed a system as an architect based on the requirements given to me by the client. The client has a team or two to three developers which are ...