Newest Questions
3votes
5answers
301views
Recommended data structures/algorithms for checking peoples' availability schedules
I'm working on a platform that allows assigning users to events manually. Every user provides their general availability (Mondays 2PM - 8PM, Tuesdays not at all, Wednesdays 3:30PM-7PM, and so on). ...
1vote
1answer
210views
Prevent unregistered users from accessing the system using JWT?
I am working on an identity and users service in a microservices system for which a passwordless, SMS-based authentication is a hard requirement, i.e.User enters their phone numberSystem sends the ...
3votes
2answers
123views
Multi processing or multi threading for pywinauto?
I am trying to automate an old GUI tool which requires filling in some data from a CSV and selecting appropriate tree item values based on it. I need to do this in multiple instances of the ...
5votes
3answers
1kviews
How to design a distributed system with an event broker where strong ordering is required?
I was trying to model a fairly simple real world model inside a distributed system and got stuck thinking about timing and order and would appreciate some external view on it.Assuming I have this ...
4votes
1answer
103views
Async-ifying WPF Window.Show()?
I'm working on a WPF application which has many user interactions which start with opening a non model window, allowing some interaction with the window and the rest of the application (think ...
2votes
1answer
95views
How to make the common "organization > project > content" conceptual model handle more subdivisions?
I am working on a system of websites and am back to an age-old problem of how to group the content.In simplest terms, I am wanting to build something like a hierarchical organization of content, ...
2votes
4answers
159views
Multithreaded Game Server: Single send() or Many send()s for Game List?
I'm developing a multithreaded game server (C/TCP). I need to send a list of 50-100 available games to a console client.Option A: Send 50-100 separate messages, using send() for every single ...
-1votes
1answer
152views
How should I implement System Design patterns in general and when to use these patterns in every aspect?
I have been learning a lot of new things lately, DevOps, Cloud Computing, Monitoring, and Security. I have been facing my problems dead on, but System Design seems to be a bit complicated. I have ...
0votes
2answers
146views
Is integration-testing all services the best approach?
I am building an API project, where I have a controller called C1, which calls service S1. Within this service, there are multiple method invocations to services S2and S3 and S4, as well as a call to ...
10votes
6answers
2kviews
Is there a name for the hierarchy of "trustworthiness" many engineers use while debugging?
I'm looking for a name or attempts to document a particular thought patten used by most experienced engineers when they debug.Most experienced engineers develop a sense of hierarchy for what is ...
5votes
5answers
607views
Is it good practice to check exception messages in unit tests? [duplicate]
Imagine I have a function like this (written in Java):void sayHello(String firstName, String lastName) { if (firstName == null) { throw new IllegalArgumentException("first name is ...
3votes
1answer
246views
Where should I store the access token in React?
I'm building a web app using Spring Boot (backend) and React (frontend).My authentication is based on JWT, with both access token and refresh token.The refresh token is stored in an HTTP-only ...
1vote
4answers
164views
Is it good practice to return ApiResponse from a Spring service layer?
I'm working on a Spring Boot application with a VoucherService and VoucherController. I currently have the service method return an ApiResponse<T> directly, like this:@Transactionalpublic ...
1vote
2answers
252views
What is a good strategy to avoid creating duplicate profiles for many individuals in a database?
I'm designing an application that is going to receive tens to hundreds of thousands of requests. Users submit requests on behalf of Customers (which are singular persons). Each request will contain ...
3votes
0answers
116views
How to implement introspection of user-defined data in my software renderer
I am in the process of writing my own software renderer. I am currently working on setting up a shader system that allows users of the renderer to create their own Vertex Shader and Fragment Shader. ...


