All Questions

Filter by
Sorted by
Tagged with
-1
votes
0answers
4 views

From Python Skript to program

I wrote Created some python tools that are helping me in automizing my daily work as an civil engineer. They are working perfectly for me, but now I want to 1) give them a GUI and 2) make them “stand ...
0
votes
1answer
19 views

Where does learning new skills fit into Agile?

I am starting a financial software company and in the process I have been studying Agile principles and methods and the one aspect of development that I have not yet seen addressed is where to fit the ...
0
votes
1answer
8 views

Expose resource as child of its parent or not?

Say every word belongs to a dictionary. What's the preferable URI for a single word, either /word/:word (with dictionary_id a required GET parameter), or /dictionary/:id/word/:word? I'm thinking the ...
0
votes
1answer
47 views

What is the proper way to deal with rounding error?

I am currently working on a Physics Engine in C++. The Physics Engine is for a sandbox video game. I want to build a powerful physics engine, so therefore, it needs to be very precise. I have ...
-3
votes
0answers
20 views

Should Specification Patterns return IEnumerable, IQueryable, or Expression?

We are implementing Specification Patterns with Domain Driven Design. Company architect also wants us to utilize Generic repository (not my choice). Currently require specification Pattern for Filter ...
-3
votes
0answers
8 views

How to implement displaying date time data for people from different time zones

I am creating web app which display data about sport events for users of my app. I faced the problem that users of my app will be from different countries with different time zones. Sport events store ...
0
votes
0answers
22 views

How swap space works in this example?

Say I have total RAM memory of 1GB , HD of 10 GB with 250 MB swap space Say I have two files(f1 and f2) each of 500 MB opened on my my laptop. Now both files are in memory and have consumed 1 GB of ...
-2
votes
1answer
27 views

Notify thousands of clients with websockets, are there any caveats?

I'm building a web app, where users can create locations, which are displayed on a map. Also, users can click on the map objects in order to get to a place details page where further interactions ...
-5
votes
0answers
16 views

automatic tool for document website api and its input and output [on hold]

I need to document all webapi URL and its input and outputs in my website. for example: input of tool is source code: output is all api post and get URL all api input all api output is there any tool ...
0
votes
0answers
26 views

API Class Input and Paging Specification Pattern in Net Core

I was reading following website, and created a PageModel and Specification pattern. Question is should I merge these two for good practice or keep separate? The PageModel will accept following ...
2
votes
0answers
33 views

Architecture and Security in a Web/Native app while generating PDFs

I am trying to make a system where a user can view/download his statements (say salary slips). The user will have ability to download PDF versions of these statements and can also save them to Google ...
1
vote
1answer
47 views

How to avoid losing events kept in memory on application shutdown?

An application App-a I maintain publishes some events to an event bus for other team's application App-z. So far, the events were published right after being generated. Now, I need to delay events ~...
1
vote
2answers
42 views

Documenting Dependency Injection Parameters

Should documentation be added for constructor parameters that are passed via dependency injection? In my current project I have decided to omit documentation to describe each of these parameters and ...
0
votes
1answer
39 views

Is making your ORM DAO a subclass of your Domain Model object a viable strategy?

I am trying to separate my domain model and associated business logic from my persistence model, particularly such that the domain model has no dependency on the ORM. One apparent way to do that was ...
0
votes
1answer
33 views

Given two modules, what consideration should be made when writing cross cutting codes

I am recently having a discussion with colleagues about where should a piece of code reside within our django project. For the sake of the question, let's say we are creating APIs for uber-like ...
1
vote
1answer
51 views

Testable class/interface in embedded software written in C++

I would like to collect feedback on possible solutions for creating testable classes/interfaces. In a normal non-embedded C++ development we can use references/pointers and forward declarations to ...
1
vote
2answers
65 views

How relevant is DSDM nowadays?

After recent years working mostly with SLA, Incident Management and ITSM, I'm considering moving back to software development management and agile methodology. I'm returning to SCRUM lessons and would ...
0
votes
0answers
38 views

Do shared ViewModels contradict MVVM?

I want to follow the MVVM app architecture. I also need to have some communication between some fragments. But the official approach is pretty confusing. Taken from the docs (https://developer....
1
vote
1answer
94 views

How to remove redundant tested code?

Say I have a controller public function someAction(){ $something = Helper::something(); } And I have a test to check Helper::something()returns/does whatever it should. Down the line I refactor ...
0
votes
0answers
12 views

Image upload workflow azure

I'm working on a new project. It is a smartphone application made with react-native. In the app, you can create "cards" which are having a title, a description and a photo, taken by the user's phone. ...
-1
votes
0answers
60 views

How to deal with an ever-expanding project? [duplicate]

Let's start by saying that since the start of our project, I've been the sole software engineer and it's has been built on a small, but a relatively stable foundation of code made as a prototype. We ...
-3
votes
0answers
27 views

Developing Network Topology Mapper? [on hold]

Developing Network Topology Mapper? Hi, I am developing network topology mapper. I am struck at a point and don't know what to do. So far what I saw different network management system using SNMP, ...
0
votes
1answer
44 views

Enforce invariants spanning multiple aggregates

Good day, Please help me solve the dilemma. I am trying to write an e-commerce engine relying on DDD. Problems associated with two aggregates, ProductType, and Product. Product is a classic product ...
1
vote
3answers
86 views

Interfaces vs concrete types in DTOs and response classes

Had a discussion that i felt i needed some external input on. Normally always use interfaces instead of concrete types (on lists, injectable services and so forth). For example in lists i just pass ...
0
votes
0answers
36 views

Web application architecture - consistent UI and database

I'm sketching out the architecture of a side-project of mine which is an app that let's logged in users to add points on a map with their location. So the steps would be the following: user logs in ...
0
votes
2answers
156 views

Any reason to not use a triple not?

If logical not ! will switch a boolean value from false to true or true to false and a double not !! will cast a value from one primitive type to boolean is there any reason one can not use a logical ...
0
votes
3answers
152 views

Is there any advantage using generic type which implements interface over direct interface usage?

When I was looking this question, a question comes my mind. Think about using an interface like : public interface ICommandProcessor<T> where T : ICommand { void Process(T command); } ...
0
votes
0answers
5 views

How to setup parsing SOAP generated XML files with multi level relation ships to JSON [migrated]

I am dealing with SOAP web service which has Meta Model with multiple/multi-level relationships and adds a complexity of custom XML definition but still based on the Meta Model (to get required ...
0
votes
0answers
38 views

Handling a large local database in a chrome extension

I'm creating a chrome extension which needs a large local database. After researching my options, I figured my best bet is probably to use the chrome.storage.local API and give my extension the ...
0
votes
1answer
43 views

Authentication, Sign In mobile

I am new to mobile development. As i understand the best way to authenticate/give authorization to a user is using OAuth2.0 with the social providers as Facebook, Google ect ... When we enter the ...
0
votes
1answer
43 views

To And From Date Validation in Model

In my Springboot project I need to perform a validation of the type validFromDate<validToDate. I was wondering whether would it be a good or bad practice to place a validation in the model itself (...
2
votes
1answer
87 views

DDD with web api, validation in domain or application layer?

I saw a lot of discussion, but I don't know how to do it in a real world. I understand that validation duplication in the client and server is needed. But how to elegantly validate in server and ...
-2
votes
0answers
28 views

Design Pattern where Backend and Frontend Code are in One File [on hold]

Forgive me if this is a simple question but I have not been able to find the answer for this anywhere online. What is the name of the design pattern in web development where both front end and backend ...
1
vote
1answer
93 views

What is easiest to maintain when implementing different functionality for each subclass? Downcasting, Reflection or Polymorphism?

I'm interested in knowing what is a good way to architect a system that can act differently based on the subclass being passed in. I assume polymorphism is the least computationally intensive. I'm ...
0
votes
1answer
68 views

Which Software Layer should hold Pagination Information?

Which layer should hold pagination information? (Page Size, Page Number), Eg say 100 products, 5 product per 20 pages. User can type in API url layer. api/Product?Page=1&Limit=2&ColumnSort=...
-1
votes
0answers
14 views

How to store file metadata related to database records? [on hold]

I have table table_a. The records in this table are inserted from a file which the user uploads. My question is how to store the file metadata that is related to the records that were inserted using ...
0
votes
1answer
36 views

One API used by multiple clients with small variation in the flow

I am working on refactoring codebase for a JAVA API thats used by multiple clients. Though the api provides the same overall functionality for all clients, actual flow changes a little bit between ...
7
votes
1answer
125 views

How to design a good generic tiled image downloader?

Tiled images Tiled images are large images that have been split in smaller square tiles. There are several tiled image formats, with different ways of organizing the tile files. A tiled image on ...
0
votes
1answer
57 views

IoC/DI + “normal” constructor arguments mvvm

I am using unity in C# to achieve dependency injection and inversion of control. What if i have a class, lets say a viewmodel, that depends on several services like a repository, a validator and a ...
1
vote
4answers
147 views

Why do some VMs manage their own memory instead of relying fully on the system allocator?

As far as I know, most "serious" VM implementations, such as CPython and the Oracle JVM, do not request new memory from the operating system ("malloc()") each time they create a new object. As far as ...
-4
votes
0answers
33 views

Why Deep-Learning Model overfits for explicit batch sizes? [on hold]

I made a deep learning model for time series forecasting. The model works very well. I tried different batch sizes 32, 50, 64, 100, 128 and 256. I got the best result for a batch size of 50. With a ...
0
votes
1answer
75 views

Domain Driven Design: Should Specification Pattern exist in Repository or Application level for Paging?

In Domain Driven Design, should the specification pattern for paging/pagination exist on the Repository level or Application level, or another layer? Trying to see what Eric Evans author of DDD stated....
1
vote
1answer
175 views

Failure to understand logic behind dice roll permutation problem

I am having a lot of trouble understanding the logic behind the infamous "Find total ways to achieve given sum with n throws of dice having k faces" question. After extensively searching for ...
0
votes
1answer
47 views

Should two different set of login APIs follwing REST have write access to the same DB?

Like for example, /api_1/login and /api_2/login writing in the same table of the same database.
0
votes
0answers
24 views

Design desicion for embedded Qt software with browser support

I have to create a dashboard software using Qt on an embedded device (with embedded linux and a touch screen) to show some process data and to make diagnostics. Furthermore, the GUI should also be ...
0
votes
1answer
61 views

In a Spring Boot Project, would you use interfaces for entities or not?

I am currently on the decision, whether to use interfaces throughout my whole spring project or not. I scouted some open source projects and saw, that many big projects are handling that quite ...
1
vote
1answer
31 views

How to properly handle deployment configuration for Xamarin Forms app

We are currently working on a Xamarin Forms (.NET Core) application. We use Microsofts DevOps for the code repo, building and deployment. Since we want to test newly developed features in a safe ...
-2
votes
2answers
272 views

Is using a pattern on a completely wrong way a terrible mistake [on hold]

This is maybe a strange question, but I just trying to understand my colleague. I know what is DTO, and what should be on it, but not that long time ago I found the whole micro-service written on the ...
-1
votes
0answers
21 views

Send and receive verifiable hashes in API [duplicate]

I have an API which uses access tokens (hashes) to verify user identity: user logins in, receives a token and uses it to access other endpoints of the API. Currently every time the users make a call ...
0
votes
1answer
103 views

Should feature branches always branch from develop?

I'm a Rails developer and I've always had this doubt, let's say I have to develop things for the user's controller and views (branch feature/users-endpoint) and imagine I end up developing several ...

15 30 50 per page