1,972 questions
Best practices
0
votes
2
replies
56
views
How to restrict a user to a single active session across Web and Mobile in Angular + ASP.NET Core 8?
I am developing an application with Angular (frontend) and ASP.NET Core 8 (backend). The application is available on both web and mobile platforms.
My requirement is to allow only one active session ...
Advice
4
votes
7
replies
276
views
Why is Spring Boot still used in large-scale systems despite newer backend frameworks?
I am learning backend development using Java and Spring Boot and have built REST APIs using it.
I noticed that newer technologies like Node.js and Go are becoming popular for backend development. ...
Best practices
0
votes
0
replies
40
views
Best practices for organizing team architecture diagrams in DiagramDeck (or similar tools)?
I’ve been using DiagramDeck (a browser-based diagramming tool with draw.io compatibility) to create architecture diagrams, flowcharts, and some UML diagrams for our team.
So far it’s been working well,...
Tooling
0
votes
1
replies
39
views
How to add BFCP support to OpalVoIP for dual-stream SIP conferencing with hardware room systems
I'm building a SIP-based Telepresence Gateway using OpalVoIP that needs to connect hardware room systems (Polycom, Lifesize) to a web conferencing platform. The requirement is to deliver separate ...
Best practices
0
votes
0
replies
51
views
Should I seperate admin, moderator and user code to different repos?
I am building a kind of crypto add, which as you might assume will hold and transact people funds. What is the best practise? As an inexpereienced backend developer I am thinking I should seperate it ...
Advice
0
votes
1
replies
60
views
Class diagram for a student social network web application – feedback needed
I am currently designing a web-based social network application intended for students at my university to communicate with each other and share information. I have created a UML class diagram to model ...
Best practices
0
votes
3
replies
42
views
How can we specify a requirement whether it is functional or non functional?
I read at about gathering requirements but still fail in deciding some requirement as FR or NFR.
Some requirements are close to be both for example.
The system shall require user authentication before ...
0
votes
0
answers
91
views
NgRx SignalStore: Orchestrating multi-store dependencies (parallel fetching) without coupling?
I am building a large-scale enterprise Angular application using NgRx SignalStore. I strictly separate my modules (e.g., UserModule, RoleModule), where each module has its own Store and Service. Also ...
Advice
0
votes
6
replies
114
views
Do I need atomic transactions or is eventual consistency enough?
I'm currently working on a system that's very similar to a traditional bank system. It supports APIs like the following:
class Bank {
public:
std::expected<void, BankError> add(string ...
Best practices
1
vote
2
replies
66
views
What is in Angular the correct term of a public property in an object component that contains form data or display data?
Look @ the following typescript code of an object component:
export class ItemComponent {
item: Item; // <-- term???
constructor(_itemService: ItemService) {
this.item = _itemService....
Advice
2
votes
3
replies
234
views
Algorithms, real projects, and problem-solving issues
Everyone told me to study all the algorithms. Yes, they said it's necessary. Yes, I will study them all, but I have some questions.
When working on a project, how do people remember all these ...
0
votes
1
answer
143
views
A C++ unit test which tests a function which takes a lambda as an argument
I have written a C++ Unit Test which has a design problem.
The test is relatively straightforward. I am testing some kind of "iobuffer" object. There is a function recv which is used to copy ...
0
votes
2
answers
62
views
SAAS subscription and plan paying by cash and Stripe
I'm a newbie. I'm going to build a software project that have feature like subscription and plan, like of saas. User pay recurring (monthly or yearly). The existing solution I found it Stripe, but the ...
-2
votes
1
answer
204
views
Microservices Architecture Decision: Entity based vs Feature based Services
I'm architecting my first microservices system and need guidance on service boundaries for a multi-feature platform. Building a Spring Boot backend that encompasses three distinct business domains:
...
0
votes
1
answer
81
views
Modeling a game convention set in Rust [closed]
I am writing a bot capable of playing a cooperative board game with other bots or human players.
In this game, there are black cards and white cards. Players can hold up to 5 cards in their hands.
The ...
1
vote
0
answers
75
views
How to add components or artifacts inside a node in a deployment diagram in StarUML?
I'm trying to create a complex deployment diagram in StarUML for a system, but I couldn't find a way to add components or artifacts inside a node (for example device). So how can I do that in StarUML?
2
votes
0
answers
63
views
How to add nested states inside a composite state with entry and do activities in a state diagram in StarUML?
I'm trying to create a complex state diagram in StarUML for a system with composite states, but I couldn't find a way to add another simple or composite state (nested states) inside a composite state.
...
7
votes
1
answer
154
views
How to assign n number of weighted articles of different colors to m groups
We have some articles having different colors and weight like :
Blue(8) Blue(4) Blue(1) Red(4) Red(1) Black(16) Black(2) ...... n elements*
We need to divide these into m groups such that weight of ...
0
votes
1
answer
73
views
Database level design for undo operation
I have an entity "MyEntity" which has some fields - "StartDate", "EndDate", "Color".
It can have multiple records, and each record is sometimes updated. I need ...
-4
votes
1
answer
55
views
Local DB vs. Payment Provider Records: Transaction History Strategy
I am in the process of integrating a third-party payment provider into my app.
I am at a crossroads, seems to me that anytime a user want to see their transaction history, I should hit the third-party ...
1
vote
0
answers
161
views
Reading Health Connect Data Simultaneously Without App Pausing or Delay?
I'm developing a workout tracking app that integrates with Health Connect to collect and process sensor data during a workout session. The expected workflow is:
The user starts a workout.
Health ...
1
vote
1
answer
363
views
How to architect a MtG-like card game
I want to make a card game similiar in concept to Magic the Gathering, or as a smaller example - Love Letters. Both games feature a lot of different cards, with different effects.
For example (...
0
votes
2
answers
71
views
Rest api that checks if there is a record in DB that meets a certain condition
I have the following problem:
Display a button that changes the status of a resource, the button is only showed if there is a record in DB where we have status=VALID and OPEN=true
In order to check ...
0
votes
2
answers
163
views
Designing a Scalable Microservices Architecture for Healthcare Applications
I'm building a hospital management system that spans medical functionalities (e.g., RIS, LIS, PACS) and administrative domains such as billing, maintenance, inventory, pharmacy, and human resources. ...
1
vote
2
answers
226
views
Usefulness of the substitution property of the Liskov Substitution Principle
The Liskov substitution principle states that a piece of code should remain correct if a superclass is replaced with its subclass (paraphrasing). What I don't understand; Why do we care about this ...
1
vote
0
answers
35
views
Send controller signal to a console from a pc
Hello would it be possible to plug a controller to a pc then send the controller signal to the console as if the controller was directly plugged to the console.
This would be usefull to edit the ...
0
votes
1
answer
60
views
My angular project freezes and click does not work
Angular project freezes, no clicks work, it gets better when it is refreshed,
no errors appear on the console or anywhere else.
Does anyone have any ideas or suggestions for this problem?
There are ...
2
votes
2
answers
150
views
Is it necessary to specialize the actor representing the registered user in customer/seller actor?
I am writing the requirements analysis document for my software engineering project. The project consists in the creation of a sales platform where the user must necessarily be registered and plays ...
3
votes
1
answer
165
views
How can i represent indirect relationship in class diagrams?
I am working on a system where:
A Customer can place an Order.
The Order goes into an OrderPool, which holds all unassigned orders.
A Volunteer picks orders from the OrderPool for delivery.
I’ve ...
-1
votes
1
answer
51
views
service oriented architecture vs headless architecture
I have a question about service-oriented architecture and headless architecture. Are they the same concept, or can headless architecture be considered a subset of service-oriented architecture?
0
votes
2
answers
87
views
Understanding [GoF] Decorator design pattern: detaching responsibilities dynamically without recreating the whole chain
So, in my understanding, with Decorator pattern you can easily attach additional "responsibilites" (or more generally, behaviors) to an object dynamically. Usually the decoration chain is ...
-1
votes
1
answer
221
views
How to read from SQLite3 database to create PWA dashboard?
I have a legacy windows software that writes to an SQLlite3 database. I need to read this database and present the data on a web application or android app dashboard after some calculation.
The ...
0
votes
2
answers
138
views
How to build a module for logging in Python?
I want to write a library (a module) in Python for logging. The logger instance should be unique per process and global per process. (Meaning that it should not be passed around as an argument to ...
1
vote
2
answers
129
views
Architecture design for divide the subsystems
When you do architecture design, you usually divide the subsystems. Is there any methodology to divide the subsystems?
Are architectural patterns like hexagonal architecture, clean architecture, etc. ...
4
votes
2
answers
145
views
Creating an effective duplicate of a class that cannot interact with its base
Unreal Engine has a class called FVector which is a somewhat simple three component float vector.
One of the things that can be represented with that vector are coordinates. However, those coordinates ...
0
votes
1
answer
70
views
Software design for simultaneously running python programs
My question is not directly about the implementation in the code, but more about the basic design or technique I should use.
Initial situation:
I have a Python program that executes a simulation. This ...
1
vote
1
answer
147
views
Related entity creation use case in clean architecture
I'm working on a project using Clean Architecture and an ORM. I have two entities: Entity A and Entity B. Entity A has a relationship with Entity B (e.g., Entity A contains an instance of Entity B).
...
0
votes
2
answers
68
views
How to access QWidgets from page controller class? [duplicate]
I am developing a database software using PyQt6 and SQlite3. I am struggling a bit in organising the files and classes since this is my first project of such. I have kept the main.py in the root to ...
2
votes
1
answer
417
views
Why use "WhenAnyValue" instead of "RaisePropertyChanged"?
I've been reading up on Avalonia and this example shows adding a property and then in the viewmodel constructor use "WhenAnyValue" to raise the "RaisePropertyChanged" event.
What ...
2
votes
1
answer
102
views
UML sequence diagrams: does creating a boundary automatically show it?
my colleagues and I are currently working on a university project about software engineering. At the moment, I am focusing on sequence diagrams and I have a few questions:
Is there a standard for ...
0
votes
0
answers
123
views
Isn't it a must to use a mutex for each singleton instance access
I was reading about the Singleton design pattern and how to implement it thread-safe.
All went well until the authors said: "In reality, we need a lock only when initializing instance. That ...
-2
votes
1
answer
40
views
How do I remove/find dead URLs from my project stored in database?
I'm working on a project where we store millions of endpoints for users (like a user bookmarks a page, a user likes a link and we store it, a user saves favorite endpoint, etc.). We have more than 10-...
1
vote
1
answer
443
views
Repeating external entities in DFD diagram
I am making a DFD diagram for software that is going to run on a PLC to control a testing setup.In this setup i have 7 load cells and 7 hydraulic valves.
I am wondering if i need to show all 7 of them ...
0
votes
1
answer
102
views
Collaboration Diagrams (communication)
I have a big project on software engineering and I have to do some communication diagrams. The only thing I dont know how to draw the if then statements. Can someone help?
I searched on Youtube but ...
0
votes
1
answer
146
views
Domain-Driven Design - DTOs: What is the correct way to apply them?
I am modeling an application following the principles of Domain-Driven Design. In one of the bounded contexts of my application, I decided to use a hexagonal architecture. I would like to know if it ...
1
vote
1
answer
131
views
Is there a way to disable the Elasticsearch ID Uniqueness check?
I have a project that creates elasticsearch index. I'm trying to increase write speed.
I have read something about auto-generate ids.
Allowing Elasticsearch to generate ids on your behalf should ...
-1
votes
1
answer
549
views
My website is in laravel 11 but it is not working on live server hostinger
I tried everything like adding .htaccess file in public_html so that it access public/ folder or change location of index.php but this error is not solving.
0
votes
1
answer
190
views
Do Mixins really slow down compilation time?
Was earlier dealing with mixins, but i felt a slow down in compilation time after adding it to the existing code.
right now, i was reading an article that mentioned the following :
Disadvantages of ...
2
votes
2
answers
115
views
Design of a method and data structures to process various data types
I need a method in C that is able to process a data packet that can be of various formats/types. What would be your recommended approach to do so (note that I want to be MISRA compliant as much as ...
0
votes
4
answers
584
views
An efficient way to implement a scheduled job that polls a 3rd party API and updates your database
I have a Spring boot app which has a scheduled job that runs every 1,5 seconds. Its goal is to fetch data from a 3rd party api, update the database with results (if needed) and repeat. The next api ...