All Questions

-2
votes
0answers
36 views

How Reelgood communicates with Netflix?

I just saw Reelgood which is a video streaming aggregator but could'nt find any Netflix API available to implement this kind of functionality. Are there any api's available for this if not how can i ...
2
votes
2answers
118 views

TDD how to avoid test duplication across team

Our team has decided to develop using BDD/TDD in an effort to become the Agile team we're supposed to be. Vertical slicing appears to be an important part of agile working and gaining the quick ...
0
votes
0answers
21 views

How to have parent and child modules in Maven that both package as jar files?

I have an unresolvable dependency issue in a Maven project; different pieces of code depend on different versions of dependency A (i.e. most code needs A:0.15; some needs A:0.18). Fortunately, the ...
1
vote
2answers
108 views

How can I integrate Python code with c# code? [on hold]

I want to integrate code python (hierarchical clustering algorithm) with code C#. (The idea of ​​the project is to divide similar people and put them into classes using the algorithm. We use language ...
0
votes
1answer
40 views

Lightweight data mining + organization & visualization

I'm looking to do some simple data mining that consists of going once per day to a single page and collect the following information: List of movie theaters Movies today on each theater Session times ...
0
votes
0answers
25 views

Open URL if new document enters alfresco folder

I have a java applications where the user can add documents using alfresco. If fact the user uploads (scans) a document that is moved to the corresponding application folder then it is display in the ...
4
votes
4answers
211 views

If story points are about time, what is truly the benefit of using them?

Quoting the known Mike Cohn: The primary reason for estimating product backlog items is so that predictions can be made about how much functionality can be delivered by what date. If we want to ...
26
votes
6answers
6k views

Does Scrum create additional overhead for projects where requirements don't change?

I'm reading the Scrum - A Pocket Guide by Gunther Verheyen and it says: The Chaos report of 2011 by the Standish Group marks a turning point. Extensive research was done in comparing traditional ...
2
votes
3answers
214 views

Best approach to creating a secure offline login system in C#?

I'm rather new at programming so I'm still getting a grip on things. I'm creating an offline login system in C# that will have the ability add/remove users. The computer will not be connected to the ...
-1
votes
2answers
123 views

How many hours a day in a sprint in scrum framework?

I am trying to follow scrum framework as much as i can but i am facing some confusion. I like to know what are the standard guide lines for a sprint. I am designing the sprint but i am not sure to get ...
-2
votes
1answer
55 views

What goes into .env file?

Working on a huge application with lots of legacy code, I often encounter environment "checks": db_name = Rails.env.production? ? 'staging_db' : 'production_db' ... desired_processes_count = Rails....
0
votes
0answers
38 views

Getting into situations that requires mixin while building classes. How should I correct my class design?

I have the following classes for to solve a particular problem related to HTTP responses. Problem is for class ServerSentEventStreamResponseService I am in a situation where I need mixin because I ...
1
vote
1answer
42 views

Is Web API suitable as services for IoT?

The issue I care about here is high throughput, there are a lot of sensors (monitoring devices) which send data to the server at high frequency. It looks really like that we have to use UDP protocol ...
1
vote
1answer
40 views

Using frameworks that map database to RESTful APIs?

While researching RESTful API frameworks I've come across (generally speaking) two types of frameworks: The first type will (more or less) directly (or nearly directly) map an ORM/ODM scheme of your ...
1
vote
1answer
33 views

When to use logger.info in sl4j

For my application logs for a REST server, I'd like to log some details about each http request. I'm using sl4j. Should I use logger.debug or logger.info More generally what sort of things should be ...
34
votes
10answers
14k views

Avoiding the `goto` voodoo?

I have a switch structure that has several cases to handle. The switch operates over an enum which poses the issue of duplicate code through combined values: // All possible combinations of One - ...
1
vote
0answers
28 views

Single Sign On implementation for CMS

This is a general question seeking guidance for the best practice(s) on implementing a Single Sign On (SSO) across many various installations of the same application. The hypothetical example I would ...
0
votes
0answers
23 views

regex for future matching

I am creating dashboard with backend python script which displays data extracted from an email account. Currently, the backend script that parses the various emails operates off of regex matching for ...
1
vote
2answers
69 views

Analyzing stack and heap using GDB and C++

I have a simple c++ code as the following: #include <iostream> int main() { int a = 5; int *b = (int *) malloc(40); return 0; } Setting a breakpoint using GDB on line 5 and ...
0
votes
1answer
45 views

How to document changes to a project

A company I work with uses a "skeleton" project as base scaffolding for each project they have. I work on several edits to the skeleton. Some of them are few lines on huge source files. What's a good ...
1
vote
1answer
30 views

DDD - how to model validation and enforce invariants that possibly resides in different aggregates

I have two models in my current design, student and group. Student and group are both aggregate roots. A student can be added to a group (method on group aggregate root), and it can be active for ...
0
votes
0answers
26 views

Retrieving posts from my own site to my android app

I want to create an Android app which will display news on a listview which will be taken from my news web site. In order to come up a solution I did a research but I couldnt settle things down in my ...
-1
votes
1answer
72 views

Is there a way to get rid of loop for layers in a neural network

I have being learning about deep neural networks and how the increase in hidden layers give better results. but the problem that i found was we usually get rid of loops in calculations by using ...
1
vote
2answers
64 views

How to deal with multiple features in a single git repository in QA

So I'm running into an issue with us trying to test multiple features in our QA environment at the same time. Essentially, changes are taking too long to get promoted in our CI/CD pipeline. The way ...
1
vote
2answers
65 views

Unit and integration testing of microservice architecture

I am investigating how to test a project. Some information about the project: Microservice architecture, with roughly 20 services. About 10 of them with a separate database. We use ServiceFabric ...
1
vote
1answer
44 views

Content Types of JSON in particular schema

My application stores two different types of json data in s3. For example: Schema-Foo and Schema-Bar. Up to now I used the content-type application/json for both. I would like to make a distinction ...
1
vote
3answers
293 views

How to deal with an unknown situation in a system?

When a caller makes a call to a callee, exception's are used to inform the caller that something different has happened so that he could change the flow of the program if required. In that sense, ...
1
vote
0answers
111 views

Help to identify this pattern (or anti-pattern)

Recently I've been exploring a new way to manage my dependencies. Nowadays most of my programs depend on a single global object (my Composition Root) Although I've been using some type of IoC to ...
1
vote
1answer
48 views

concept for de- and encrypting personal data in web portal

Issue: I provide a small web portal for customers with partial personal data like name, address etc. which is stored in the database in plain text. Now I need a safe concept to encrypt the personal ...
2
votes
4answers
126 views

Using Instance or Static Method for reusable method

I have made a lot of forms for my desktop application, some forms were using the same method which I have to copy and paste the code (not OOP). Let's say I have a method called FirstDayOfWeek() and ...
2
votes
1answer
45 views

Strategies for managing a dynamically sized pool of worker processes?

I have a problem to solve that's very much like a thread pool, and I was hoping to hear some strategies or find some resources to information on managing the size of the pool. Let's say I have the ...
2
votes
1answer
72 views

Design of file I/O -> processing -> file I/O system

I'm in the process of designing a new desktop application which is very different from other stuff I did before, and so I'll be happy if I could be pointed towards the right direction regarding the ...
0
votes
0answers
20 views

Considerations for delegating long running to CLI from PHP/Apache

I'm working on a web project that executes CLI commands to perform running tasks to spare users from having to wait since PHP/Apache combo cannot (to my understanding) create a separate process for ...
0
votes
0answers
52 views

How to design a client-server handling of a cart?

I am developing a POS application based on a client-server architecture: the server is a Laravel based REST API server the client is a vanilla javascript SPA the clients can be more than one the ...
0
votes
1answer
71 views

Getting file format by checking file header [on hold]

I'm writing a program, part of which consists of determining if a given file is a PNG. Knowing that a file doesn't have to be named with its respective filename extension to be of a certain type, I ...
0
votes
1answer
89 views

What is the full value of the CQS principle in a system that doesn't implement the CQRS pattern?

I'm having trouble grasping the value proposition of the "command" half of the CQS principle in a system that doesn't implement command query responsibility segregation. The CQS principle states that ...
-2
votes
0answers
45 views

Converting Characters to a two-digit number [on hold]

I've been working on a project for a couple of weeks now, and I need to convert a string of around a thousand digits into characters. What I mean by this is that if the part of the string I'm ...
3
votes
2answers
101 views

Critical dependency is preventing me from updating my app to latest framework version

My project relies on a specialized component which is stuck (by its configuration) to an older version of the framework my project is using. This makes updating to the latest version of the framework ...
-2
votes
0answers
10 views

how to design implementation of oauth2 in reactjs with multiple api and different methods?

I want to implement oauth2 in my frontend and the problem is that I want (project manager wants ) to extract an abstraction to use it in the other componenet and services and implement differences of ...
1
vote
1answer
126 views

Why (historically) do `+[] === 0` and `+{} === NaN` in Javascript?

In Javascript, converting [] to a number (e.g. +[]) gives 0, while doing the same to {} gives NaN. This leads to entertaining wats like this: > 2 / [] Infinity > 2 / {} NaN Is there a ...
0
votes
0answers
18 views

Which diagram to visualise chain of events (in Django)?

Model situation: In Django (Python web framework), I have a model Event. I need to visualize this chain of events: Everytime new Event is created, confirmation email is generated and sent to Event....
-1
votes
2answers
121 views

Usage of the word “override” in C++ and it's virtual functions

I know that the following function is a virtual function and needs to be overridden when extended by another class: virtual int getAge()=0; What i don't understand is the following syntax I have ...
-2
votes
0answers
41 views

How to return Facebook likes counter [on hold]

In my blog, I have many articles, and so, a like button on each article. In parallele, I post these articles on Facebook by using og meta tag. Thereso, my article has two likes counters, one on the ...
-2
votes
0answers
33 views

What software architecture use for that service?

I have that structure of service. It will be web application in this year, so its only project structure for now. I have not experience in software architect like SOA or microservices, so I can ...
0
votes
0answers
19 views

Multi module Maven project or separate repositories?

Consider the following architecture: Application A Application B Commons-Util A and B share a lot of functionality. That's why we plan to extract the shared code into a commons library. I am aware ...
0
votes
2answers
49 views

Main Loops and listeners in live coding systems

My question is about the construction of main loops running in the background listening to commands and signals and how are they constructed to be efficient. For instance in live music synthesis ...
0
votes
0answers
23 views

Rely only on status or provide response explicitly? - SOA -

I am developing a set of SOA services where the backends (mainly stored procedures in the DB) sometimes return only status code as response (ex: an operation to cancel a ticket, the SP for this ...
21
votes
6answers
7k views

Why is C/C++ main argv declared as “char* argv[]” rather than just “char* argv”?

Why is argv declared as "a pointer to pointer to the first index of the array", rather than just being "a pointer to the first index of array" (char* argv)? Why is the notion of "pointer to pointer" ...
-2
votes
0answers
47 views

Software library quote attributable to Michael A Jackson? [on hold]

While discussing modular software, a colleague recently suggested that the following quote (or words similar) is attributable to computer scientist Michael A Jackson. However, I can find no reference ...
0
votes
0answers
20 views

Approach for a timed events in a framework-like library - a matter of life(cycle) and death

I am working on a helper library that is supposed to send some data to a server on a specified interval, e.g. 1 minute. The idea is that the user of this library should not have to bother with ...

15 30 50 per page