All Questions

Filter by
Sorted by
Tagged with
-3
votes
0answers
28 views

What are the main benefits of using Node from a business perspective [on hold]

Gathering information to present to my colleagues in regards to the efficiency of Node for Web-developpment, I am looking for pros & cons versus other stacks and information on how Node works ...
-3
votes
0answers
15 views

Quiz based recommendation system [on hold]

For a university project I would want to make a 'quiz' based recommendation system (for books for example) where the user would select some features (for example which genre you prefer) and based on ...
0
votes
1answer
31 views

What options are available to replace an `enum` with a multi-type solution?

A Quick Note I know the question title is a little odd but I haven't had much caffeine this morning so I'm having trouble thinking clearly right now. If you have any suggestions for a better title, ...
-3
votes
0answers
16 views

Why is access denied when using the Unified Write Filter on Windows 10 IoT?

I'm using Windows 10 Enterprise IoT 64-bit and am trying to run the following command in the command prompt: uwfmgr.exe get-config The result is always "The command failed (Access is denied.)." ...
-4
votes
1answer
71 views

Is storing data in 4 tables in a single database call faster than making 4 database calls with same connection?

My colleague and I were debating on what would be better? If there are 4 sections on a page. And 4 tables to store that data in the database. If you have to store all of it in one go. Would you : ...
0
votes
0answers
10 views

Complex roles, permissions and hierarchical group management in Laravel

I'm currently in the planning phase / feasability study of a rather big web application which is meant to be implemented using Laravel. My own experience on the matter is rather limited but I'd like ...
0
votes
0answers
43 views

Alternatives to polling an API

Assume we have a desktop application (probably WinForms) that acts as a client to some API for an app with a messaging function. This API has endpoints that return a JSON of messages, and who sent ...
-2
votes
0answers
18 views

Can a javascript code add and populate a digital signature field in Adobe reader XI? [on hold]

Is it possible to apply a digital signature to a pdf with a javascript code put in the 'javascipts' folder of my Adobe reader XI installation folder?
-2
votes
0answers
35 views

Need help in Classes, Maps,Lists from C to C++ Application [on hold]

I am from C background, trying to write a C++ application. Below is the code i have come up, the purpose of application is to store a list of countries,and to create a mapper between the name of the ...
-2
votes
2answers
47 views

Level of detail of a refined user story in SCRUM

I know this is an already discussed issue, but the answers I found leave me unsatisfied. The main subject of my question are the user stories, after they have been put in the backlog, discussed, ...
1
vote
4answers
114 views

How can a user story be independent, small AND valuable with big functionalities?

How can a user story be independent and small (following INVEST acronym)? Most of the time we have big functionalities that depends on each other. As an example, we made an interface for users where ...
-3
votes
0answers
13 views

How to implement SAGA pattern for microservices in Python?

I'm trying to implement microservices architecture for a marketplace application. But the problem is I can't find any full featured free/paid course, book, tutorial or anything that has examples with ...
1
vote
1answer
73 views

Unit test compiled dll or shared code

I have code in a (Visual Studio) Shared Project, and a number of end solutions/projects which compile and build the Shared Project to various environments (repo). When writing unit tests, I will want ...
-2
votes
0answers
17 views

How can I best “time throttle” events for analytics?

Our app uses a NodeJS backend with a MongoDB database where we store some "mobile app" events. The events are of types: A: Something created, B: Something confirmed C: Something rated D: ... In our ...
0
votes
2answers
97 views

Should I assign a default value for this property in the constructor?

I'm currently creating a class in C# that will be utilized to help standardize calls to restful web services in my company's code. While the majority of my code has been written and well tested, I ...
0
votes
1answer
65 views

Develop Windows based application with 1/10th milisecond precision

I want to develop a Windows based application that would interface with external hardware using serial communication. The hardware would in turn relay back the feedback to the application. This entire ...
1
vote
2answers
92 views

Develop a distributed pointer in C++

I s it possible to develop a distributed memory pointer in C++ by using operator overload? The idea would be that you pass ip address and port to the overloaded pointer *, &, and the pointer ...
3
votes
3answers
104 views

How to adhere to the Open Closed principle in a procedural language like C

In Robert Martin's seminal 1996 article "The Open-Closed Principle" he presents an example in C which does not follow the principle (the DrawAllShapes() method is not closed for modification): enum ...
0
votes
1answer
24 views

How to properly implement periodic_tasks into Django based web application?

I build a Django based web application that will fetch data from a third party API periodically (every 120 seconds). To run these queries I implement HUEY periodic_task into one of my views. Now I ...
-2
votes
1answer
54 views

What's the best way to handle profile pictures when users and photos are split into separate microservices?

I'm trying to architect a system following the best practices I've been reading surrounding microservices, but I'm a little confused with how to best handle a users main profile picture. My system ...
0
votes
2answers
62 views

What directories and files should I push to my Git repository from local?

I have been using Netbeans to practice JDBC coding. Netbeans projects create multiple sub-directories (/build, /lib, /src...). Should I add and commit all of these directories and files or should I ...
4
votes
5answers
169 views

How to avoid many objects in constructors when many steps are performed by a class

I have a process which must do 8 steps, in a particular order. One of the step involves sending an email, another one going on a distant FTP server, another one querying a database, and so on. Now to ...
-2
votes
1answer
46 views

Blurred lines between deployment (Terraform) and build processes (Bazel) leading to an awkward build and release process

I am building a system that consists of multiple programs on many machines, some cloud services (such as RDS) and so on. In an ideal world, I would like to supply some configuration (e.g. deployment ...
2
votes
2answers
76 views

Is it possible to omit things in the class diagram

I'm writing documentation for a school java project I'm working on. Basically have chunked most of the methods into the class diagram, but now it seems very unreadable on a pdf as the words are too ...
-2
votes
1answer
44 views

Parametricize type by Enum value in Java?

I was looking into parametrizing generic classes in Java with Enum values to increase type safety and for some compile-time checks (I know generic parameters are ereased at runtime). Premises With ...
0
votes
1answer
54 views

Service layer returns DTO to controller but need it to return model for other services

Following this post https://stackoverflow.com/questions/21554977/should-services-always-return-dtos-or-can-they-also-return-domain-models and best practices in Software Arch suggestions by Martin ...
1
vote
2answers
68 views

What is the difference of swimlane and activity diagram?

Im trying to make an activity diagram , but i see that activity and swimlane diagram is almost the same, the only difference i see that swimlane diagram include many actor in it i wonder about the ...
-2
votes
0answers
67 views

Any programming language demands maxsplit for str.split, not length of array? [on hold]

Many programming languages have a function to split string into an array. These functions usually accept an optional argument to specify length of the returned array. On Ruby, for example: "1-2-3-4-...
1
vote
4answers
177 views

How to deliver fast and avoid growth challenges with a codebase?

Startup Context A friend of mine recently asked me to be a part time software engineer for her startup which has yet to write any code. She is fairly serious and has already raised a fair bit of ...
24
votes
9answers
4k views

In TDD, should I add unit tests to refactored code?

While refactoring my code using Test Driven Development (TDD), should I keep making new test cases for the new refactored code I am writing? This question is bases on the following TDD steps: Write ...
12
votes
2answers
2k views

Time Complexity of Parallel.ForEach

Pseudo code and comments to explain: // first select companies to process from db foreach (company) { // select the employees foreach (employee of company) { // select items they can ...
1
vote
0answers
22 views

Preventing setting regression with configuration tied to a build

I have inherited a distributed application with a lot of legacy configuration management. Currently the application does not get it's settings updated with an application update. The flow looks ...
0
votes
1answer
46 views

Event Sourcing, state in events vs state in projections

I would like to ask what is the preferred way of passing additional state to projections. I have UserAggregate that is watching changes of several attributes of user (for instance address, name and ...
3
votes
2answers
104 views

Testable documentation

I'm creating a library, and I would like to provide a tutorial on how to use the library. Such a tutorial will contain code snippets as usage examples; therefore, I would like to test these snippets ...
1
vote
2answers
107 views

How to implement a cursor iterator?

In the "Structure" section of the Iterator design pattern, the book Design Patterns: Elements of Reusable Object-Oriented Software defines the Iterator class with four basic operations: First, Next, ...
13
votes
6answers
795 views

How to quantify Code Quality [on hold]

My Business unit has huge number of developers (About 100). Due to various reasons, the developers are nearly solely focused on delivery rather than quality. The bad quality code has already started ...
0
votes
1answer
62 views

Using WebAPI as infrastructure layer in ASP.NET MVC

I'm starting a new asp.net mvc core project and for my infrastructure layer I'd like to use WebAPI as this layer should be usable in other solutions besides this one. I'm not really experienced with ...
-4
votes
0answers
30 views

Naming convention for component that contains logic to set viewmodel onto UI components [on hold]

I've encountered a common pattern when coding up a table view containing heterogeneous cells, where I have a component that converts some model object into a view model object, and then sets the view ...
-2
votes
0answers
34 views

Clustering sms message and getting variable part of each cluster

there is a selection of SMS messages. The task is to create regular expressions for these messages. The texts can be absolutely on different topics and there is no specific pattern. I divided the task ...
1
vote
2answers
41 views

Create object(s) to cater for two data sets that are the same entity but one has an additional element

When I call an API endpoint I have a class to create an object with the response. The object directly maps the endpoint elements so I have all values, with properties, getters, and setters. In my ...
1
vote
2answers
53 views

Drawing UML activity diagram for Statistics feature

I need to draw a UML Activity diagram for a school java software engineering project I’m required to do. I’m quite new to this and I’m not sure what should be shown and what should not be shown. For ...
-4
votes
0answers
22 views

How to better gather and sync data between a Mobile App and a Web REST API?

I'm facing the following scenario: We have a mostly-offline mobile app that serves to register and store medical records from places of low to no-connectivity. Those records are, lately, synced with ...
-2
votes
0answers
15 views

Trigger action on multiple Android devices at the same time

I'm trying to trigger an action inside my Android app on multiple devices at the exact same time (or with the lowest delay/shift possible). The devices are strictly similar (brand, model, version), ...
-3
votes
1answer
50 views

How to notify all instances behind load balancer

I would like to make an request to all instances of my application. Flow of request is as follow( F5 load balancer -> reverse proxy - apache server -> my application) I do not want to make public ip ...
5
votes
2answers
123 views

How does the Arabic typographic layout system work at a high level?

I have some Arabic content that is justified according to western conventions. I justified it because it is justified in ancient sources: However, the way Arabic text justification works is by ...
-5
votes
0answers
21 views

the webpage should only display sensitive data if browsed by intended user [on hold]

i want to create a webpage on a website ( backened - django , frontend - vanilla js ) that would be able to identify the uniqueness of the user ( either by mac address of the user or something you may ...
-6
votes
0answers
25 views

What is best Way in .NET framework for building light-weight dynamic Enterprise App on Cloud? [on hold]

Which is used Python as Back-End. as we see Oddo is dynamic. we can build our Sales or ERP solution from scratch. with built-in components at Run-Time ! i mean Yes Runtime. Also Like SAP which you can ...
1
vote
0answers
32 views

Design of Spring boot endpoint that returns large amount of data continously until complete

I'm developing a web application using Spring Boot and React, that needs to return information about hotels from different cities: As an input of the controller, I receive a list of cities that can ...
6
votes
1answer
380 views

Why was “self” chosen over “this” for the name of the first parameter of python methods?

What was the rationale for choosing the name self instead of this when defining class methods in Python? Yes, of course, you can name it whatever you want - but the widely agreed-upon name for the ...
-4
votes
0answers
31 views

Basic design and architecture of an application with a Form and a database back-end [on hold]

I have a requirement to create an application for a client. The requirements are - 1.Create forms for the user to fill in details. 2.Store the data from the form 3.Provide search ability to the ...

15 30 50 per page