All Questions

0
votes
0answers
8 views

email notification architecture-prevent duplicate emails

We are looking to develop an email notification system where emails can be scheduled daily&hourly based or can be send in real-time. So there will be 2 mail apis: --real-time mail API:pushes ...
0
votes
0answers
16 views

Clean Architecture and Entity Framework

I faced few problems when generating database schema from business objects with EF Core: No support for struct properties No support for interface properties I need additional columns that should ...
-2
votes
0answers
12 views

What is the best design pattern to consume REST API

I want to consume a Rest API in Laravel (an MVC framework) but I resort to use __call and was wonder if there is a better design pattern for this. I know this a bad choice and I'm looking for an ...
-2
votes
1answer
28 views

What's the proper name for code that tests another code?

That seems like a stupid question, but I can't find a proper name for "code that tests another code". The most of literature names that kind of code just "tests" but it's way to general in my ...
-2
votes
1answer
12 views

Correct HttpMethod to reset internal data

I am currently building a web api. The authentication is based on keys which are set in the database. However, these keys could be changed someday, e.g. when a user should be banned from the system. ...
0
votes
0answers
6 views

How to setup REST API in Codeigniter 3.0

I am creating the REST API using codeigniter. I downloaded this library and installed in my application. It works great! https://github.com/chriskacerguis/codeigniter-restserver But I have an doubt. ...
-1
votes
1answer
24 views

How to check last release of php using php

Let's say I have some project on php. One of its functions should be to check whether the latest version of php is used on the server. For example, for security reasons. There are no problems to use ...
0
votes
0answers
34 views

Generating fake number for a 25 digit PII number in a file containing millions of rows

I have to expose some sensitive data containing a PII column that has a 25 digit number. Rest of the columns aren't PII data. This is done such that the data can be safely shared to the larger ...
-3
votes
0answers
26 views

take ownership of orphan project on github [on hold]

About a decade ago, I wrote a file of emacs lisp and put it on emacswiki and forgot about it. I found recently that it has been put on GitHub. Nobody is doing anything with it as far as I can tell. ...
0
votes
1answer
65 views

Can Dependency Injection be overkill?

At what point does dependency injection make sense? When I first learned about Guice I was really excited. I have a Concurrency module, which is basically just a singleton controlling concurrency. I ...
-1
votes
0answers
13 views

Am I legally required to provide a (GPL licensed) source code even after a project is abandoned? [migrated]

I plan to develop an Application using an easy to use GPLv2 licensed libraries. Once my app is complete I plan to distribute it FREE and OPEN SOURCE complying with GPLv2 copyleft requirements. The ...
-3
votes
0answers
25 views

Are my UML's understandable and do they follow the UML conventions?

I'm new to software modeling and was hoping someone could walk me through mistakes I've made. I'm trying to show how my parser for our game is working. Said in words, the parser is supposed to take ...
2
votes
3answers
50 views

Is this a good method of separation?

I am creating a web application that is tiered in the following way: Controller > Service > Repository I have a ProductsController which has the following action: [ValidateModel] [HttpPost] public ...
-1
votes
1answer
36 views

How to handle an API that reuturns a pointer to an array of a runtime-known size?

Suppose I've got a struct declaration that looks like this: struct Return { myData (*data)[]; ... } Now suppose I've got an API function whose declaration looks like this: bool API(..., ...
0
votes
0answers
16 views

How to display linked third party sign in methods

I am writing an app. Like Google suggests, the user should be to be able to link multiple sign in methods to their account. In order to do that, the ideas of "identities" and "accounts" are separated ...
0
votes
2answers
27 views

Entity unique identifier in domain driven design

I'm just learning DDD and a question raised in my mind about unique identifiers in an entity. Consider this simple method that checks the uniqueness of an entity to prevent duplication: private ...
-2
votes
0answers
21 views

Implementing Microservices Architecture in .NET WEB API [on hold]

Currently we have setup the .NET WEBAPI 2 Projects in our application as backend project. Which consist of Kind of hybrid solution like monolithic and MicroServices. Our Project scope is getting ...
0
votes
2answers
35 views

When no other class ever needs to touch the (nested) class - should I always make it a (private) nested class?

And what is the recommended file structure? The question is a bit similar to this one, but I'm looking for more explicit recommendations. In theory I think it's a good concept to keep files short ...
-2
votes
0answers
21 views

How to horizontally scale a mobile-game server on Heroku? [on hold]

My game is getting bigger and I already notice some spikes and memory/RPM overloads on the server, which is running on Heroku's Hobby plan (dyno for 7$, Postgres for 9$). The server is a Spring app, ...
-3
votes
1answer
43 views

Taking over a project. Should I scrap and rebuild? [on hold]

I'm taking over an Opencart solution for a client. This is for my capstone at College. I'm to create a simple CRM (Customer Relationship Management) software that will live as a single page ...
0
votes
2answers
49 views

Are REST Methods Which Return Dynamically Generated Random Data Safe

Is a REST method which returns dynamically generated random data each time that it is accessed considered safe? According to RFC 2616 (emphasis mine): ... In particular, the convention has ...
0
votes
0answers
23 views

Does Visio allow a data import to actually create the shapes in a drawing?

My goal is to automatically upload software objects into a Visio diagram in a customized way to document the architecture of the application. I was looking at Visio to do this. I am quite new to ...
-1
votes
0answers
41 views

Overriding an internal method with Decorator Design Pattern [on hold]

I am writing an object-oriented code in which I am trying to use Decorator pattern to implement a variety of optimizations to be applied on a family of core classes at runtime. The main behaviour of ...
-3
votes
0answers
35 views

Transfering data from staging db to production db [on hold]

I'm working on this application where I need to update my database with data of considerable size. But, the data has to go through some quality checks before it can be pushed into the production ...
1
vote
1answer
46 views

Move the onscreen circle when camera moves

I have a script that accesses my webcam and displays the captured video on the screen. I can also very easily draw a circle (a rectangle, it doesn't matter) over the video. When I move the camera ...
-3
votes
0answers
40 views

Use tags or branches for CI release builds? Or both? [duplicate]

Currently we use a branch "stable" from which our CI takes (by default) the last commit when building a new release. However I also keep seeing people suggest using tags for this, and just use "...
0
votes
0answers
12 views

Merging php and Nodejs docker images for a developer ready php image used for php application development and CI

For my application I need to provide an image that will be used to develop and release my php application. As well know a php application for the frontend required tools as well such as gulp webpack ...
0
votes
1answer
56 views

Clean code for multiple entity representations

I'm wondering what is a clean solution for representing an entity in many different format. Let's suppose I have the following entity: Person { Long id; String title; String firstName; ...
0
votes
1answer
92 views

Where would you handle exceptions: controller, service, repository?

I have been having this dilemma from time to time whenever I have to design or start a new project from scratch. I particularly like how Spring framework is organised in terms of classic software ...
0
votes
2answers
110 views

Can I use a library that uses guice to bind contact and implementations in applications without issues?

I have a play application and want to take a common operation out from the application and make it as a library in order to use in other play applications. This proposing library has a contract(...
-3
votes
1answer
121 views

Why constructor inheritance is not supported in Python? [on hold]

Consider the case where I have the following classes, class A: def __init__(self): print("Class A") class B(A): def __init__(self): print("Class B") b = B() The expected ...
0
votes
2answers
46 views

How to handle user permission changes in SPA?

I have a SPA which at the beginning of application startup calls the backend API, sends a JWT and asks for the access permissions of the current user. SPA then caches the permissions in-memory and ...
-3
votes
1answer
78 views

What do the different access categories in C++ classes do? (Private, public, and protected) [on hold]

I have been trying to learn about classes and objects in C++, but every tutorial I have found is quite complex, at least to my standards, and I really would like a really simple and straight forward ...
-4
votes
0answers
61 views

Is this the correct design? [on hold]

I'm new to software design and I'm trying to write a JS application that some people might find simple but will be the most I've dealt with JS. I hope this forum is the right place where to ask my ...
0
votes
1answer
52 views

How to handle Domain Event handlers ordering

Background: we have 2 bounded context: Inventory and Sale application context is Point-of-sale system Scenario: When a Checkout happen on Sale BC, we would like to decrease quantity in Inventory. ...
2
votes
1answer
56 views

Can I reduce locking for this scenario using Hibernate and H2

My Java application uses Hibernate and H2. It process music files within folders. Typically for a folder it would read the files in the folder and store each file as a Song class in database, then ...
0
votes
0answers
12 views

Active Directory remove or unjoin

what is the best and recommended way to remove a computer from Active directory? Right now we have to login to the machine that needs to be unjoined from the domain and execute the unjoin command ...
0
votes
2answers
148 views

Why not program our video text terminals/terminal emulators to use something JSON or XML on the backend instead of ANSI escape sequences? [on hold]

Backstory (You can skip) Awhile back I was developing a console toolkit for displaying debug messages and the like: It gives me colour coding, blinking, underlines, bold, italic, etc. While ...
0
votes
0answers
18 views

Efficiently sharing a large node_modules directory between TeamCity build agents

The CI flow for our Node.js app looks roughly like this: Currently, this all takes place in a single TeamCity 'job' with three 'steps' (the Test step runs 4 concurrent child processes). Problems ...
0
votes
0answers
25 views

Handling resumable message stream (queue) pattern

My question is actually quite generic though I'm going to use a particular technology Mongodb Change Streams. Change streams in Mongo allow to get message stream of requested changes in a db ...
-2
votes
0answers
20 views

Is knowledge-based filtering machine learning [on hold]

Knowledge based doesn't recommend items based on history. Does knowledge-based filtering fall under machine learning?
1
vote
2answers
85 views

How can we make a UML diagram (or something similar) for a project which doesn't contains classes (like non object oriented)?

I am working on a python project and I didn't use classes but created different modules and added functions in them. Now I need to draw a diagram to describe the project/application for a paper. I ...
5
votes
2answers
155 views

Is the C# async/Task construct equivalent to Java's Executor/Future?

I'm a long time Java developer, but with so little traffic on SE, I don't limit my viewing to any single tags. I've noticed that C# questions with async/await come up a lot, and as far as I've read it'...
-2
votes
0answers
15 views

Processing app - 2 way interaction? [on hold]

I am trying to choose a framework (.NET Based - Core/Standard) in order to create an application that will gather data from multiple clients, process the data and send it to other clients. The App ...
-3
votes
0answers
26 views

.Net Core Web Application Asynchronous Performance Suggestion [on hold]

I have a web application(synchronous app) and I've migrated it from ASP.NET MVC to ASP.NET Core. I use SQL Server, and my site's online count is about 200-250 users per Google's analytic's data. That ...
0
votes
0answers
44 views

Prevent token sharing: chained single-use tokens VS a designated invalidation feature

Situation: A Client is requesting a resource from a Host multiple times, usually with minutes or hours between requests. The Client has a signed, verifiable token, which we'll call a Receipt, that ...
-2
votes
0answers
18 views

Persistent document caching framework caching not (only) in memory? [on hold]

We plan to create a document cache service which stores the result of expensive document transformations in a persistent store and which works like Redis but not in memory since we expect several ...
0
votes
1answer
67 views

Side-effect-free functions and returning domain information DDD

In Domain-Driven Design (Eric Evans) the discussion on side-effect-free functions talks about separating commands which "result in modifications to observable state" from queries which have no side-...
0
votes
1answer
36 views

Use single table with lots of columns or break it out and use Views, when using Entity Framework Core

I am currently building a game series information site and have come to a design issue. I have a table called Abilities that would have character ability information in it. Depending on the game ...
0
votes
1answer
124 views

Any advice for Git workflow using branch per development team (and not per feature)

In our project, we have 5 teams working on a monolithic application in 3-week sprints. Until now, all commits go into master (via Gerrit). Our test pipeline is too lengthy to ensure quality pre-commit,...

15 30 50 per page