Newest Questions

-5votes
0answers
14views

What Role Does Good Design Play in Building a Successful Brand? [closed]

I’m Ramesh Sharma, founder of Web Media Infotech Pvt. Ltd. I’ve worked with businesses of all sizes and noticed how much difference good design can make. In your opinion, what matters most in design—...
Ramesh sharma's user avatar
-1votes
0answers
14views

Struct tree flattening: Evaluating possible indexing schemes

We are now departing the land of type-checked programming. Thank you for understanding. I want to flatten a deep tree of struct / struct-of-array / array-of-structs, being the data model of a game or ...
Engineer's user avatar
2votes
4answers
96views

Domain data classes with fluid property lists

Is it fine for your data models to have a sort of "open-ended" list of properties? For example, you may have some Employee: // getters, setters, annotations are omitted public class Employee ...
Sergey Zolotarev's user avatar
0votes
0answers
50views

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 ...
natn2323's user avatar
3votes
5answers
194views

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 ...
The Fool's user avatar
1vote
5answers
325views

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 ...
Wes's user avatar
  • 305
0votes
0answers
82views
+50

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). ...
Billie's user avatar
0votes
0answers
31views

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 ...
qwr's user avatar
  • 342
0votes
0answers
137views

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 ...
vikingosegundo's user avatar
0votes
0answers
51views

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 ...
Steve's user avatar
-2votes
0answers
49views

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 ...
Tamlyn's user avatar
1vote
2answers
142views

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 ...
Andre M's user avatar
-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....
0x0's user avatar
-4votes
0answers
50views

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?
Manar's user avatar
1vote
1answer
175views

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); ...
EMN's user avatar
  • 399

153050per page