All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
5 views

Using (Collections of) Tuples as Class Properties in a Public API

I have a parameter object that represents a single match in a competition, and one of its properties needs to contain that match's game scores for both players. For example, in a match determined by a ...
0
votes
0answers
4 views

Is calling Session::evict() on Hibernate entities considered bad practice?

I'm using Hibernate in my application. When calling the setters on Hibernate entities that are in "managed" state, it will eventually write the changes back to database when the transaction ...
0
votes
0answers
13 views

Storing failed states locally

I’m currently developing a web application and am struggling to think of a design for the front-end. In the front-end the user can input 1-n values and it will be split up into 1-n API calls. The api ...
-2
votes
1answer
26 views

Benchmark of a query execution's time elapsed versus the number of rows retrieved

We currently have a Financial report that does a lot of complex aggregate functions, joins around 10+ tables and runs for around 3.5 hours and retrieves around 500,000 records. One of our clients ...
0
votes
0answers
11 views

Where to store (keep) websockets events?

I have an application that uses MySQL as the database. When a user open a specific page, the app sends a websocket event to indicate all the other team members that this user is seeing the current ...
1
vote
2answers
47 views

Where to place methods that consume multiple object collections

We've been battling over where certain methods should live within our domain model, so looking for some adice and reasoning as to where they should go. Say we have a Project object now that Project ...
0
votes
0answers
25 views

Where do you keep the investigation purpose queries you write, that could or could not be useful in the future

Where do you well structured people keep the non trivial queries you write on a daily/weekly basis for an investigation purpose. I think telling my situation is easier than explaining it I full-stack ...
1
vote
1answer
26 views

IOT data interpretation

This is a more architectural question and I am hoping to get more ideas out of this thread. I have a computer vision model detecting daily life activities and sending data to the server every second. ...
0
votes
0answers
29 views

Scheduled messages pushed from database to API

I'm building a system with a dataflow, as described below. It is reasonable, or can it be improved, especially I would like comments on the job that moves messages from the database to the queue. ...
-3
votes
0answers
13 views

Release App to Apple and Google Stores - Demo account, only company users and User Generated Content scope

I develop for a company an Ionic cross-platform mobile app that will be published on Apple's App Store and Google's Play Store. I read Apple's Review Guidelines and Google's Developer Program Policy ...
1
vote
1answer
69 views

Mentorship schedule matchmaking algorithm

A while ago, I tried to help a fella to develop a mentorship matchmaking program given the answers of a questionnaire to match mentors and mentees according to their respective skills and available ...
0
votes
0answers
26 views

Database Design for Form Builder

Hi guys I'm trying to create Form builder in my app for different Events that have happened and publish them, so the users can fill them out. Little About Logic: Forms are created per different Event ...
1
vote
1answer
79 views

Does overriding this method violate LSP?

If a base class Logger has a method reportError that takes an Error object and formats it as a string. If a subclass implements that method but outputs the string in a different format, yet a string ...
0
votes
1answer
83 views

Should end-users enter Dates or Numbers based on their browser locales vs based on the page content language?

I have a website for international users. Let's say the website supports English users only ( All texts on the website are English words ). The website has a submit form that the end-users of the ...
1
vote
0answers
8 views

Reusable module using spring framework with spring-boot application modules?

I have a maven module which will handle DB interactions for various scenarios. I want this module to use spring framework so we can leverage the standard DI and integration test capabilities. This ...
0
votes
0answers
20 views

Chrome Profiler - Network Request timing not lining up with what our server logs show [closed]

Recently a few of our users have been reporting excessively slow loading times on some pages in our web app. Looking at the logs, things appear mostly normal - there's a few "slow" requests (...
1
vote
0answers
31 views

Best practices for embedding an application in a website

I've written an embedded app in Javascript/HTML/CSS that allows people to schedule services. Here is an example installation in production right now: https://azureautodetailing.com/schedule-online.php ...
-1
votes
1answer
84 views

Java: Splitting a large unit test class

The project (Java/Spring) I currently work on has a rather large unit-test class for one of its services : more than 1000 lines, several Nested class (one per big functionality), some tests without a ...
-2
votes
0answers
38 views

Best way to prevent YAML file from parsing (preferably with invalid syntax) without pre-processing?

I have some kubernetes definitions in .yaml files, but those files contain some vars (e.g. ${CLUSTER_NAME}), that need to be pre-processed with a script doing envsubst. The problem is, those files ...
-3
votes
2answers
32 views

Cloudfront distribution having multiple domains

I am developing a multi-tenant project that will be a kind of micro "ecommerce" and therefore customers will be able to create their own stores and will be able to choose between creating a ...
0
votes
2answers
68 views

Unit testing multiple features in one test

I'm writing a small utility class to create an abstraction for addEventListener (JavaScript/DOM) Let's say I have to test for these features: Single event target with a single event Multiple events ...
0
votes
0answers
8 views

Data modelling and openAPI3.0 for customer and license management - when to know how to split entities?

I'm working on a unique ERP + Ecommerce which is a mix of "Shopify meets Adobe Cloud admin". Current project: ancient php framework with MVC, no architecture, resembles a procedural website ...
-4
votes
1answer
33 views

Android app development (daily journal type)

I want to get help from you all about building an android app that is capable of logging daily journal type data. I want to have these feature primarily in the app: Capable of logging the daily logs. ...
1
vote
4answers
139 views

When are Description classes useful

A book called 'Applying uml and patterns by craig larm' emphasized the use of Description classes in software designing. For example, the book pointed out why putting attributes such as description, ...
0
votes
1answer
82 views

Is deterministic SELECT possible without specifying an ORDER BY?

When we show a table with many thousands of records, we only show a small part of the total result set so as not to send too much data to the client at once. Clients can request more parts of the ...
-1
votes
0answers
61 views

Different APIs, same database

I have this game project in which two really different REST APIs (one for admin and the other for the player) should query the same data. The backend is built in nodejs, btw. There are two ways to do ...
2
votes
1answer
70 views

API development - Exposing new version VS updating current version

Context There is a back end and a front end team. Back end exposes an endpoint to the front end app: PATCH car/{carID}/tire Problem I want to update the aforementioned PATCH request functionality ...
-2
votes
1answer
35 views

Document containing relevant data in meta-data

I find myself working with documents that need to be displayed to a user and at the same time, I need the information that they bear. For example, you have a generated PDF document (or other "...
-3
votes
0answers
63 views

Paywall implementation for anonymous user [closed]

I'm programming an article news page for anonymous visitors with paywall logic. I saw google guidelines for achieve this: As I can see we need to write a static javascript on the page and add or ...
0
votes
1answer
40 views

How to manage versioning in interdependent libraries?

I have a number of libraries that I have developed for various projects, e.g. a web server, some computation tools, some logging tools, etc. These reside in different parts of my drive. When I have a ...
0
votes
1answer
120 views

Primitive obsession, value objects, Commands, Events and where to convert

I tried to combine two rules. Don't fall to primitive obsession (e.g. EMailAddress should be a value object in domain objects and not a string). Don't use value objects in commands and events.1, 2, 3 ...
3
votes
3answers
115 views

Why do MMS require “mobile data” to be sent/received?

First, I am not sure where to ask this. Please point me the correct stack exchange if it does not belong here. Note: I do not know how to correctly name "mobile data" in english. But I refer ...
-3
votes
0answers
30 views

React vs React Native

Let’s say I need to build a web application, in React. This is a complex web site with CRUD, advanced search capabilities, and workflows. For the moment, there is no need to have it run as mobile app, ...
-2
votes
0answers
36 views

Is `extern int x = 1;` in a block a definition? [closed]

https://stackoverflow.com/questions/51920598/is-a-declaration-of-a-variable-inside-a-block-also-a-definition/51920825#51920825 says a declaration of an "object" (the C standard avoids using ...
5
votes
4answers
4k views

Which is preferred: subclass double or create extension methods to test (relative) equality due to floating point differences?

I am writing numerical calculation software using .NET C#, which needs to be blazingly fast. There is a lot of fractional math. So using decimal type is pretty much out of the question, given its poor ...
0
votes
1answer
44 views

how to store the data for function f(time,length)

I have a function which has discrete time step ,discrete length from origin . These two give height of the function. For example at time 1.2sec , and length 5.5cm from origin height is 10cm. The step ...
1
vote
3answers
160 views

What's the scope of the Definition of Done in Scrum?

The Scrum Guide isn't very explicit about the scope of the Definition of Done. Is it supposed to be: defined in general for the project? defined per sprint or per increment? defined per story? ...
-3
votes
0answers
31 views

Fairly assigning employees to tasks for each workday- what approach to choose?

I'm trying to write GUI application which will be fairly assigning employees to tasks for each workday. The most hard part of this is to create some algorithm which allow to solve this kind of problem....
-3
votes
1answer
63 views

What would be the best approach to enable data access to millions of records in an open source fashion?

We're currently building a Django app that's a doctor-patient-agent manager that allows patients to book a consultation, and doctors give them their prescription and information. What's important is ...
0
votes
1answer
53 views

How to inform the controller why the object creation has failed so an appropriate response can be returned?

In my MVC web application the controller calls a service layer which takes any relevant request parameters and builds the model for the view e.g. Controller var model = _modelService.Build(id); return ...
0
votes
1answer
86 views

Is it an antipattern to pass an object that stores the application state from one function to another?

The program is written in JavaScript. To give you a rough idea what I am thinking of: function State() { return { color: 'green', size: 100, // ... there are other properties here } } ...
2
votes
2answers
163 views

When was native debugging first used

I believe this is still on topic. This question comes from a mixture of curiosity and exasperation. A colleague refuses to use native debugging; whether in a stand-alone debugging tool or in an ...
0
votes
1answer
24 views

Design a correct microservices architecture with data relations

I just started thinking about building a microservices architecture for learning purposes. I understood that microservices are split, and they should be independent, even when storing data, but what ...
0
votes
3answers
141 views

Is microservices architecture a good candidate for a pipeline?

I have a monolithic application which can be divided into multiple steps and different steps have variable scaling requirement, however the input of the next step is the output of the current step. ...
0
votes
1answer
37 views

Using rest services or python modules directly?

Imagine you're in a Python setup, with all of the projects you're working on. Now, as a base line, you have a Python module that is the backbone (backbone.py) to everything when it comes to getting ...
-2
votes
1answer
71 views

What architectures allow for letting users author custom domain logic?

Are there any prescribed patterns or systems for allowing a user to create custom domain logic? Consider the following scenario An application exists that allows users to run complex calculations on ...
-1
votes
0answers
19 views

Multi regions events to be deduplicated and processed in a single region - How do I do this?

General overview I am working on building a system that deals with an external resource which has been having issues and I am unable to switch away from it. It gives regional endpoints - this post is ...
1
vote
0answers
44 views

Building a Microservices App — Can you give feedback on architecture?

I did some googling, and I was directed to Software Engineering to ask architecture questions. If you know of a different forum that could help me, please direct me to it I recently started learning ...
-1
votes
2answers
146 views

How to tell if a group of items is stacked horizontally or vertically based only on their positions?

How do you tell if a group of items is stacked horizontally or vertically given only the items x and y positions? Vertical Group: item 1 item 2 item 3 Horizontal Group: • item 1 • item 2 • item 3 ...
-1
votes
1answer
28 views

Should 2 different MySql databases from 2 different applications be joined together if the 2 apps are merging into 1?

This is a question about software architecture, not databases. I currently have 2 completely separate web applications, call them A and B for simplicity. They are on their own machines, with their own ...

15 30 50 per page
1
2 3 4 5
1155