Newest Questions
64,376 questions
-2
votes
1
answer
24
views
what is the best suitable architecture for a game [closed]
I'm currently working on a project that's a game. There's no AI in it, it's just levels and tracking the player's progress through those levels, because it's based on a therapeutic plan.
Right now I'm ...
-1
votes
0
answers
37
views
Does using Next.js with SSR still count as a SPA, and does it require running an additional server? [duplicate]
I've been asked to develop the backend and frontend as separate, independent components. The frontend needs to be a SPA. We were planning to use Next.js and were considering using SSR. However, one ...
0
votes
2
answers
100
views
Does it make sense to use next.js only for the front-end?
I already have an existing backend, now I am considering to use next.js which is a full-stack framework, hence I would only use the front-end part. Will this make any sense?
Does it make sense to use ...
2
votes
1
answer
74
views
How to namespace global function overrides?
In PHP, trim() exists.
By default the second parameter is " \n\r\t\v\x00"
I wish to introduce my own version which doesn't deviate far from the core functionality:
// Trim whitespace in ...
0
votes
0
answers
106
views
How can I integrate a library that expects backend events into my own event system? [migrated]
I'm using SDL2 in my game engine and have created custom event types that use the data from SDL_Event. This works well within my own code, but it becomes problematic with ImGui (and other libraries ...
-2
votes
0
answers
35
views
Optimization: K3d/ArgoCD/GitLab CI/CD Stack Overwhelming 5GB VM RAM (Alpine Linux) [closed]
Critical Resource Optimization: K3d/Argo CD/GitLab Stack on 5GB RAM VM (Alpine Host)
We're facing a severe resource constraint issue during the final evaluation of a demanding System Administration ...
4
votes
0
answers
107
views
What does it mean, if a C or C++ header with non-trivial code is LGPL licensed? [migrated]
LGPL has certain requirements for software that uses LGPL libraries. The most common way to satisfy these in otherwise closed-source software is to supply the LGPL library as a dynamic library, which ...
-1
votes
0
answers
42
views
Migrating Local Imaging SignalR Hub to Azure [closed]
I'm working on a application that uses SignalR for real-time communication between workstations and sensors. Currently everything runs locally, butI'm planning to move to Azure cloud and I'd love some ...
12
votes
5
answers
2k
views
How do I find what's causing a task to be slow, when CPU, memory, disk and network are not used at 100%?
I'm currently analyzing a process that is considered too slow.
In summary, it's a task that loads a lot of data from Microsoft SQL Server, performs some basic stuff on it, and creates a report. It ...
0
votes
2
answers
98
views
Should I instantiate controllers in route modules or use static methods?
I’m building a modular REST API using Node.js + Express + TypeScript.
My controllers are defined as classes. In my route files, I currently create a new controller instance, like this:
import { Router ...
1
vote
3
answers
343
views
Why is short polling considered an antipattern for event-sourced systems?
I have an application with very strict requirements around auditing and the "replayability" of user actions. For this reason, I've chosen an event-sourced architecture because of its append-...
2
votes
1
answer
141
views
How should domain models be designed — rich domain models with encapsulated logic vs. anemic models with separate service/util layers?
I'm learning Domain-Driven Design (DDD) and studying different architecture patterns, and I’ve come across two seemingly conflicting design philosophies around domain modeling.
1. Rich Domain Model ...
0
votes
0
answers
51
views
Design a queue solution for multiple consumers that must operate synchronously [closed]
Transaction Workflow:
Validate Funds – Verify the sender’s account has sufficient balance.
Withdraw Funds – Deduct the specified amount from the sender’s account.
Transfer Funds – Credit the ...
-2
votes
0
answers
75
views
Does an indentation style which uniquely identifies a column position to its role in the construct it belongs to make Bash code more readable? [closed]
I've just opened a relatively similar question
(why nobody indents Bash?)
on Stack Overflow.
What I'm asking here is whether do you think the facts
there is no type enforcing;
there is no indentation ...
0
votes
2
answers
169
views
How to reduce the number of class instances passed to the __init__() method of a Python class?
I have a Python class called FunctionsManager; its __init__() method is the following:
class FunctionsManager:
def __init__(self, instance_class1, instance_class2, ..., instance_classN):
...