All Questions

0
votes
0answers
21 views

Choosing Programming language as a base

Im an undergraduate student, JAVA was taught in my university, but I'm not interested in coding in java, I'm rather interested in JavaScript & python, Basically, I'm interested in **cybersecurity,...
0
votes
1answer
25 views

C/C++ code optimization without compilation

Given a simple loop in C or C++ such as the following: for (int i=0, j=0; i<5; i=i*2){ j=j+i*1; } I like to use a tool (gcc, clang or any other) to optimize the code without actually compiling ...
0
votes
1answer
18 views

Abstract function declaration in C++

I am a beginner in C++. I'm currently experimenting with the Chromium source code and have noticed the following: For many of the cc files, there exist an h (header) file which is imported by the cc ...
0
votes
0answers
8 views

Advice for backend creation/implementation (currently simple PHP -scripts)

Following scenario: I have published an Android App in the Play Store concerning cryptocurrencies. This app interacts with a VPS that I am renting. The server regularly fetches data from an API ...
-2
votes
0answers
25 views

Whats the pros and cons of RPCs vs. HTTP in information exchange in microservice architectures?

What type of components could benefit from RPC over HTTP, vice-versa? Does there exist other information exchange mechanisms, what are their use? I've seen smart people use both, I'm sure for ...
-2
votes
1answer
20 views

Writing elegant promises in Node.js

I am having a real difficult time writing some clean code with a simple user registration/login manager. I am trying to stay out of nesting/callback hell, and am also not seeing any benefit in using ...
0
votes
1answer
8 views

Cloud to device messaging

In the past days I was focussing on the IoT environment and now I was moving into the practice. I found a lot of services that helps with the implementation of it like Azure IoT Hub. Now before ...
-2
votes
0answers
13 views

Cygwin and wfg hypervolume [on hold]

Hello all sorry for posting probably a stupid question but what are the commonly used commands to create hypervolumes using wfg and cygwin. I have an input file but there is not really a lot of ...
-1
votes
0answers
26 views

MongoDB mapreduce

I'm new to programming and mongoDB and learning as I go, I'm attempting a mapreduce on a dataset using mongoDB. So far I've converted the csv to json and imported it into a mongoDB using compass. In ...
0
votes
0answers
9 views

Licensing LGPL software commercially [migrated]

We have a mobile app software and we distribute it with LGPL v3. It uses other 2 components licensed under LGPL-v3 and MIT. For our own code, we are have the full ownership (i.e. nobody else have made ...
-4
votes
1answer
37 views

What relates to unit testing as requirements relate to system testing?

In system testing, a software system is tested against requirements. In unit testing, a software module is tested against the internal requirements for this module which depend on the specific ...
0
votes
2answers
48 views

Why should imports be made at the beginning

Why is it considered good style to do all imports in a python application at the beginning, even if what is imported is used only once? I have been programming only shorter pieces of software for a ...
0
votes
0answers
13 views

Constrained Graph Optimization - Algorithm to connect thousands of nodes while minimizing cost for bus routing?

I'm trying to make public transportation better by working with my city to rearrange the bus routes to minimize travel time for users with certain constraints - up to b buses and k kilometers of ...
-2
votes
0answers
24 views

How to extract SQL queries from Java application?

Assuming there is a Java web app, which uses Solr indexing. To be more specific its about old Solr Specification Version: 3.4.0.2011 + jdk1.7.0_03 Once upon a time a network reboot were performed ...
0
votes
0answers
13 views

Doing operation on entity or dto

I use jpa and spring. I have facade where I convert habitually entity to dto. In the service layer, I call method to repository to get entity. For display, I need to do some operation on data. Is it ...
-4
votes
0answers
27 views

What is meant by application-independent interactions?

What is the concrete form of application-independent interaction? Could you help elucidate this quote? This quote appears in the Chapter 12 of the Software Architecture: Foundations, Theory, and ...
0
votes
0answers
15 views

Django: integrating standalone user authentication LDAP/Keycloak?

First question here! I'm developing a web app in Django, until now the built in user management solution has worked out well. Now I'd like users of my web app to get a git repository when they start ...
-1
votes
0answers
15 views

Naming schemes for request model and interactor in clean architecture

In my current implementation of the clean architecture, the request model classes all have the Request suffix and the response model all have the Response suffix. The (pseudocode) function signature ...
0
votes
0answers
6 views

SSO with AWS Cognito

I'm trying to work out what the best plan of attack would be to get SSO functionality while continuing to use AWS Cognito. I've come up with a solution that works, but I'm curious if anything has any ...
0
votes
5answers
189 views

Why is unit testing private methods considered as bad practice?

Context: I am currently working on a small project in Python. I commonly structure my classes with some public methods that are documented but mainly deal with the high level concepts (what a user of ...
-2
votes
0answers
18 views

Deployment options for Flask application

I have developed an web application using Flask, where the user uploads a file, which gets processed by some Matlab scripts using the Matlab python engine. I would like to deploy this application to ...
-1
votes
1answer
52 views

Are there any standards for flowchart data structures?

I'm often tasked with relatively complex flows that my employers will want to experiment with in regards to the amount of steps and their order. I'm a contractor and when my work is handed over to ...
1
vote
2answers
43 views

Is it okay for async function to update a common object

I have a couple of functions, each function verifies a set of rules and updates a common object. The common object is just a container that holds a list of rules that passed or failed. I would like to ...
0
votes
1answer
27 views

DDD - what if aggregate depends on other aggregate

I am modelling UserAggregate using DDD concepts. I know that two separate users should be independent, but when creating a new user, I need to validate, that there is no other user with the same ...
1
vote
1answer
55 views

How does a Repository delete removed Value Objects from the DB without ORM?

Let's say an Entity is composed of multiple ValueObjects. For instance, a wanderer might leave a few footprints behind. Imagine I load Wanderer from a repository and delete all footsteps north of the ...
0
votes
1answer
38 views

Onion Architecture, Project Architecting and Authentication

I am learning ASP.NET MVC & Web API and trying to implement Onion Architecture with Repository Pattern for one of my Test projects as part of my learning. I have developed single MVC Projects ...
0
votes
1answer
41 views

Design scalable solution with queue

Assuming the following scenario: A web application that receives inputs from the user and process the inputs through an algorithm which takes between 5 to 25 minutes (depending on the inputs) and ...
0
votes
1answer
35 views

Separation of concerns SOAP Services

I'm having a discussion in my company on how to structure a student enrollment application we are doing. We have an SOAP-Service for sending Emails. This Service is in charge of sending, and logging ...
-2
votes
0answers
118 views

Why do C and C++ compilers (gcc, clang) and rust compiler take so long to build? [on hold]

I'm talking about compiling the C compiler. gcc and clang take about half an hour to build. The rust compiler takes a long time to build too. Would it be possible for someone to make an equivalent ...
0
votes
2answers
75 views

C++, Threads, Classes and Conflicts

This is a concept related question. I'm writing a program polling for alerts on various devices, there are two different type of alerts i need to poll, reds and oranges. My approach is to create two ...
0
votes
3answers
102 views

Who guarantees the data integrity of a denormalized table, me or the DBMS?

In the following database, School_has_Student is a denormalized table : Now if I decided to change the "paul" student name to "john" in the Student table, then the "paul" student name that exist ...
-2
votes
0answers
24 views

Appropriate ML Algorithm [on hold]

Please excuse my inexperience here and any terminology faux pas that I make. I have an application that tracks financial transactions in the process of a business's procurement processes and I've been ...
0
votes
0answers
33 views

What should installer do during installation process, when default port it runs is currently used by another app?

I'm quite newcomer to the programming. I've currently faced issue described in the title. When there's already app running on default port 8080, after my app installation ends I have to change this ...
0
votes
0answers
9 views

posting data to graphql endpoints

What I understood with GraphQL is a single endpoint with schema as post body. No doubt it has many advantages but what I couldn't understand is how to post data to the backend? Most of the examples ...
7
votes
2answers
289 views

Clean Architecture: What is the View Model?

In his book 'Clean Architecture', Uncle Bob says that the Presenter should put the data that it receives into something he calls the 'View Model'. Is this the same thing as the 'ViewModel' from the ...
0
votes
0answers
38 views

Sharing a common parameter in each rest service : good bad idea?

We are designing some restfull services and wondering if we could introduce a generic paramater named CallContext in each (PUT/POST/PATCH) call in order to have the following information : UserId (...
0
votes
0answers
75 views

Implications of using GPL licenced code only during testing [migrated]

Let's say I'm working on a software library in which certain unit tests rely on GPL licensed code but the code that a user of this library would install on their system does not interact with GPL ...
-1
votes
0answers
16 views

Release & Upgrade Policy for a Enterprise SaaS offering

What are some best practices for a release and upgrade policy for a SaaS web application offered to large companies? Looking for some general guidelines/suggestions. For instance, when adding a new ...
-2
votes
0answers
18 views

Size of background (Gnuplot) and axis [on hold]

What command can I use in Gnuplot to increase the size of the background? On the x-axis I can not see the exponent of the last number.
1
vote
0answers
9 views

GOTPCREL(%rip) in GAS Intel syntax [migrated]

How can i write following: movq variable@GOTPCREL(%rip), %r8 in GAS Intel syntax? .intel_syntax noprefix allows only this: mov r8, variable@GOTPCREL, it does not understand (), and resulting code is ...
1
vote
4answers
122 views

When denormalizing a database, do I need to keep the parent tables?

Say I have the following ER diagram: To implement the above ER diagram as a normalized database, I would create a School table, and a Student table, and a School_has_Student table (that only contains ...
0
votes
0answers
12 views

Documenting or finding existing procedures in RPGLE service programs

Is there an easy way to find or list all of the procedures in a module with their parameters? How does a developer know if a procedure exists so that he doesn't code the same procedure twice? Any ...
0
votes
0answers
30 views

Choice between PUT and a separate request for each change for CRUD-based UI

I'm making an HTTP API for ASP.NET Core Identity. Basically what I want is a remote version of this: https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.identity.usermanager-1?view=...
-1
votes
0answers
13 views

Multitenant logic with Angular 6

We are working on an Agular 6 project with multi-tenancy requirement. The application is very complex and works with a set of controls for a default tenant but, for a second tenant, it must use some ...
-2
votes
0answers
62 views

Java 11 - Free for commercial usage? Restrictions? [on hold]

I'm very confused... With Java SE 11 Oracle published a LTS version of the Java SE and refactored the build cycle. Just to ensure we talk about the same things, if I'm informed right, until know the ...
1
vote
1answer
26 views

Can I use UML use cases to model settings?

Is correct to represent setting options using use cases? For example the user can: - enable background updates - change map color - change interval updates From https://www.uml-diagrams.org/use-...
-1
votes
0answers
32 views

How to model a metric

I need a class to represent some metrics in my application regarding payments. The metrics consist of max. payment amount, average payment amount, payment count, total amount, last date etc. Here's ...
-1
votes
1answer
66 views

Is there a difference between older versions of the JDK and newer versions that might make learning an older version bad? [on hold]

Are there significant differences between, say, JDK 7 and JDK 11 (which latter I believe is the newest version of the JDK), where significance is defined by a change which might make someone who has ...
0
votes
0answers
26 views

database design - storing object (pipe) status for events (maintenance)

I am designing a database system + application that deals with pipe objects who are part of a larger grid network. There are about 1000-5000 pipes for each network. Let's assume each pipe can have 2 ...
0
votes
0answers
28 views

Sharding and application routing cross region on AWS

We current have a very simple Multi Tenant monolith, with a SQL SERVER backend (Self hosted on EC2 on AWS), and multiple application services talking to one DB behind an Classic AWS ELB. Our database ...

15 30 50 per page