Newest Questions
64,378 questions
-1
votes
0
answers
31
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
82
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
65
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 ...
-4
votes
0
answers
68
views
Is this a good way to represent systems architecture or am i missing anything? [closed]
I gave it a shot at this systems architecture diagram. I am curious to learn whether this is the right way to put one together or am i missing something?
A basic systems architecture depicting the ...
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
96
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 ...
0
votes
0
answers
92
views
How can user-created (scripting) types interoperate with compiled C++ types? [closed]
I'm working on a game engine in C++. I'm reasonably familiar with game engine design, but scripting is a bit of a new area for me. I want my engine to follow an object-oriented, inheritance-based ...
1
vote
3
answers
340
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
139
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
74
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 ...