All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
2 views

VNC security: SSH tunnel from local machine to VM necessary?

SETUP: Local Windows 10 machine. It runs a VM (Ubuntu Server, NAT, Virtualbox) QUESTION: I want to make a VNC connection from my Local machine to the VM. Since VNC is not a secure protocol, it is ...
0
votes
0answers
8 views

NDA for potential competitor demo

I have a new website product which I'm beginning to demo. I have the opportunity to demo to a relatively large potential client. I've found out (from the individual) that they already have a similar ...
0
votes
0answers
8 views

async notifications delivery

i have some back end service that is in charge of sending notifications to my end users via mapping between some identifier to their real web sockets. currently the service works in a sync way, ...
-2
votes
0answers
12 views

Finding the domain(s) of variables in a Linear Program using the constraints? (Constraint programming/Linear programming)

Forgive my jargon , as I'm not very familiar with Constraint Satisfaction Problem(s) or Linear Programming procedures (For eg: Presolve) I have very trivial constraint set from variables of ...
1
vote
4answers
56 views

What Comes First, Project Planning or Requirment Analysis?

By first, i mean i have read articles which puts project planning as the first phase of the sdlc. In my opinion it should come after the requirement analysis and specification, because if you dont ...
-3
votes
0answers
7 views

Most efficient approach for syncing message read and message posted data between apps on desktop and iOS app?

I have a basic CRUD app that has a desktop client and an iOS client. Users can post and update their data on either one. However, once they have posted something using either phone/desktop, I want ...
0
votes
0answers
15 views

How to architect time consuming server side process with multiple steps

I'm stuck on a problem and I don't know how to bite it. In the code I'm working on we do have functionality, which takes part on the server. And this functionality is maybe not complicateg perse, but ...
-3
votes
0answers
14 views

Exact Tasks of Design Phase SDLC (is it not related wtih how the software look like) [closed]

I am confused from what i have read the design phase has nothing to do with how the software looks like and its about how it should be build in the next phase which is the developement phase? My ...
0
votes
1answer
23 views

What Actually Indicates the end of a Socket Input/Output feed?

In the most abstract, platform agnostic way possible, can someone explain what actually determines the end of input/output a socket? Is this something the programming language itself typically handles ...
0
votes
0answers
36 views

How to design the interface method for the following case?

I am making a Snmp agent. In order to pass information to this Snmp agent I need to periodically extract data from two different sources and there can be more sources in future. I was designing the ...
0
votes
1answer
30 views

Instant Messaging with WebSocket

I am trying to develop an Instant messenger using WebSocket. I have multiple instances of my servers running (say server1 , server2). Two users(say userA , userB) who wants to chat with each other. ...
1
vote
1answer
10 views

Efficient and fair way to evenly distribute multiple items with various quantities

I am developing small lottery games where the participant can win one of many gifts, each having various quantities. (The code is in PHP) Simple scenario: I have 4 types of gifts, 1000 in total, and ...
4
votes
2answers
62 views

API endpoint POST vs GET

Help me settle an internal question. We have an endpoint which we all agree should be a GET, because all it's doing is calling a stored proc and returning a set of data. However, there is a set of ...
-1
votes
0answers
31 views

Which of these is a better practice to write Python unittest for CRUD operations of REST api?

I have a python class that has methods to perform the CRUD operations via REST api: class my_class(): def get_obj(self,...) -> requests.Response: res = requests.get(...); ...
-2
votes
0answers
10 views

Django - Point-in-time recovery

I m using django with django-db-backup package which do a complet backup of the databse at a point in time. How to backup database also using log files of postgressql since last backup? In other words:...
-1
votes
0answers
24 views

Naming conventions for entities in Clean architecture for Android

I was investigating Clean Architecture, more specifically applied to Android development. When using this kind of architecture for a common app case one (possibly) ends up with multiple entities: ...
2
votes
1answer
94 views

What should I call an internal casting function that may fail

(Almost) all numbers in my program are parsed and treated as complex numbers. There is one corner cases, that specifically needs an integer. Unfortunately my programming languages does not allow to ...
-2
votes
0answers
12 views

UI error reporting linking directly to support documentation?

So I am currently working as part of a team that develops a UI that is primarily for the purpose of showing data from a server(s) - nothing remarkable about that. Because the UI is the thing everyone ...
1
vote
1answer
26 views

Determining the service calls within the API based on the each consumer request

Currently, I have a rest API service which serves to many different consumers. One of the endpoints of API is for retrieving an order. Inside a single application, I am making 5 different service ...
2
votes
1answer
82 views

How to cope with production rollbacks when using gitflow

We're reviewing the popular Gitflow as our git branching model and I've liked it so far. One case I'm not sure about is the production rollback. Say we've there's a new feature that we're planning to ...
4
votes
5answers
93 views

How to designing API JSON Response with nullable fields

We were discussing how to design a API response, for simplicity, think of having to give information of all the different types of facilities available in a city: { "city": { "cityName": "...
0
votes
0answers
20 views

Using autotools ./configure in a shared source tree

I am working on building a large and complex source-tree based on autotools ./configure on a shared supercomputer (named, OpenModelica https://github.com/OpenModelica/OpenModelica/blob/master/README....
16
votes
6answers
3k views

Coupling Theory vs reality

Coupling is defined as the knowledge one object has about another one, which describes how dependent they are. The more dependent, the worse, since changes in one would impact in the second. High ...
1
vote
2answers
85 views

Combined Inheritance and Composition

Let's say you have a wireless network that acts as a bridge/wireless repeater. How would both factor into a class diagram? In my mind it makes senses to have a parent object that can exist on its own. ...
-3
votes
0answers
25 views

How can I name UI element significatively/concisely?

I'm working on a UI framework consisting of graphical elements such as buttons, lists, text inputs and the like, organized in an HTML-like tree structure. So far I've named these elements "Components"...
-7
votes
0answers
25 views

Reading large CSV file line by line and convert to other formats

I have a large csv file and need to read line by line and convert to the Document formats. Below are the codes that are working fine. Can i improve it doing parallel process. In the below code i am ...
1
vote
0answers
15 views

Handling 3rd party OAuth2 tokens

After some extensive research I still don't know how to properly implement the following case. I think this question answers something similar, but I'm not 100% sure (Should client have access to 3rd ...
19
votes
3answers
2k views

How to change the semantic version number when reverting the last major change

I am trying to plan a system which validates the compability of different components by comparing their semantic versioning number, especially the major release number (since it indicates API changes ...
-2
votes
1answer
57 views

Industry standard for organizing dev work

I am a CIS student and want to do the best industry standard for organizing projects. I find my desktop and dev folder cluttered with different projects and would like some advice on how to better ...
2
votes
1answer
24 views

Prototyping in Spiral model

The spiral model is a risk-driven SDLC model. There are many diagrams that describes this SDLC model , here on of them : As we can see there are many iterations (one for concept of operation, ...
2
votes
0answers
34 views

Define input and output interfaces for each application layer

I want to create a multi-layered backend architecture with a REST layer and GraphQL layer later on. So let's say you would start with the basic layers controller, service, repository would it make ...
1
vote
0answers
25 views

Queries as a service for other applications (neo4j)

I am new to neo4j and the graph I'm shaping will be used by third party applications for some fixed (cypher) queries - we can think about the classical "Who is friend of Alice?" question. I'd like ...
3
votes
2answers
80 views

When to have Scheduled Releases (vs pushing to production when a ticket is complete)?

UPDATE I totally get why this question could/should get dinged ... but hey, if you feel inclined to vote down this question, can you also provide some feedback on where a better forum could be for me ...
-4
votes
0answers
21 views

Number Of Subsets

Given a number n, find all subsets from {1, 2,.. n} with the condition by taking 2 elements from a subset the absolute difference is greater than 1. I found this problem but I have no idea how to ...
19
votes
6answers
3k views

Detect manual changes to an autogenerated C header

I have a C header that is generated from a CSV file and a python script. The C header mainly contains a list of #define constants. I want to be able to detect manual changes to this header during ...
-2
votes
0answers
30 views

Compiling / Running projects in KDevelop

I am very new to C++ development and learning everything on my own, with some help from people I know. By now I have the hang of writing and compiling single files, and have moved on to learning ...
-2
votes
0answers
20 views

Questions about the state of ICR (Intelligent Character Recognition)

Im looking for a little advice on a project I am considering. It's in the realm of OCR/ICR and I'm wondering how accurate ICR has gotten? There are obviously commercial solutions within Azure and ...
-1
votes
1answer
61 views

What exactly are “component-based software systems”? [closed]

What are "component-based software systems" and how do they differ from other "regular" software systems that are designed using principles of object orientation and modularity?
1
vote
1answer
30 views

Layout Behavior of Characters (question about unicode standard)

I've been reading Unicode's core specification (see https://www.unicode.org/versions/latest/). I mostly understood what the text was explaining in section 2.1 Architectural Context until it started ...
-3
votes
1answer
51 views

How is the spiral model to be understood?

I need to check my understanding regarding the spiral process model as it is confusing me. According to my understanding, the spiral model is similar to the waterfall model with the activities as ...
3
votes
3answers
71 views

What is the difference between containment and aggregation relationship in UML?

As it is said in ARLOW, J., AND NEUSTADT, I. UML 2 and the Unified Process, 2nd ed book, there are 7 types of relationship between different objects. Dependency Association Aggregation Composition ...
24
votes
10answers
4k views

When is it appropriate to introduce a new layer of abstraction into a class hierarchy?

Suppose I'm creating a game played on a 2D coordinate grid. The game has 3 types of enemies which all move in different ways: Drunkard: moves using type 1 movement. Mummy: moves using type 1 movement,...
1
vote
1answer
33 views

How to perform consistent hashing on any Python object that works with hash()?

I have a Python library that performs a kind of calculation given a parameter-object. A requirement of the parameter object is that it be both hashable and serializable. It's a long calculation, so it ...
-4
votes
0answers
13 views

Python app and docker server for quick machine learning prototyping

I'm currently developing an app using PySide2 for the GUI and PyTorch, scipy, and other libraries to process my data. However, I reached a point where my laptop is not being able to process the data, ...
1
vote
1answer
51 views

Is my server design safe regarding multiple threads and concurrent database reads/writes?

I'm making a chat server using sockets and a MySQL database, and after it's working I want to expand it to become a more complex game server. I want to know whether my design is missing anything. ...
-3
votes
1answer
41 views

Different input param for the same logic flow

I'm trying to find the best design approach to handle a design change in a new project I'm working on. At the moment, the flow runs and makes some calculations based on a parameter which is used. ...
-2
votes
1answer
52 views

In a tennis scoring program, what would be a good approach for storing and presenting both standard games and tiebreaks?

In a tennis match, each game has the possible scores of Love, 15, 30, 40, or Advantage. This could be modeled as a dictionary [0: "Love", 1: "15", 2: "30", 3: "40", 4: "Advantage"] or enumerated type ...
3
votes
1answer
49 views

Managing multi-server monthly transaction aggregations

Context: A system tracks some sort of transactions (e.g. money flow) for it's whole user base. At the end of the month each entity capable of receiving transactions has to be sent exactly one bill ...
2
votes
2answers
48 views

Organization of C++ source code for reusable components

I'm implementing a custom templated container as part of a learning project in C++. The container makes use of different components like serialization, memory management, iterators. I am wondering ...
1
vote
3answers
44 views

What http error to return in case of validation and business rules in a domain driven design api

I have a .net core api trying to implement it according to domain drive design principles. In the domain layer there is a public Create method that contains all validation and business rules. If one ...

15 30 50 per page
1 2 3 4 5 1112