All Questions

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

iOS App Private Distribution

I have been confused about the best process for private distribution in iOS - imagine we are a company like Just Eat, where venues can sign up with us and take orders from customers via a customer app....
-2
votes
0answers
29 views

Is this a good approach to stop an API function and return relevant error message?

I am writing an API function using DRF where I want the API execution to stop if it fails in any of the steps and return an appropriate response. So I created a custom exception which takes an error ...
-4
votes
0answers
31 views

Has the original design of C++ which makes even scalar types object-like led to messy compiler implementations? [closed]

In some languages like Objective-C, there is a clear separation between scalar types (int, float, bool) and object types (NSDictionary, NSSet etc). In C++ however scalars and objects seem to have ...
-2
votes
0answers
10 views

How can I find which table belongs to which two users in a MySQL database that stores user messages?

I'm building a chat application in which I want to store user messages in a MySQL database. I have came up with the solution of creating a seperate database for messages and creating tables for each ...
0
votes
1answer
37 views

How to implement a dirty flag on a complex object hierarchy?

I've got an object with a complex hierarchy, something like: Document Paragraphs Paragraph Words Word and I need to implement a dirty flag on the Document object. In general, ...
0
votes
1answer
15 views

AWS CodeCommit - duplicate test and production repos

I am using AWS CodeCommit with CodePipeline. I have two totally separate AWS accounts, one for test and one for production, identical Code Pipelines setup in each account, each with a corresponding ...
-3
votes
2answers
38 views

How much should a react frontend application be automated tested?

I'm backend developer working on a very backend heavy application. So most of the business logic is writen in the backend. In our project we are considering a full rewrite of the frontend. Currently ...
0
votes
0answers
12 views

GraphQL authorization directive with exceptions

I am trying to apply restrictions on a graphQL schema on a Java application, based on domain. I would like the whole schema to be restricted to the domain "admin.org". However, I also want ...
3
votes
2answers
170 views

Is there a canonical definition of SPA - or is SPA a broadly agreed-on architecture with fuzzy edges? [closed]

Update: No. This question is not opinion-based. The question: "Is xyz an SPA?" is opinion-based. The question: "Is veSPA an SPA?" is opinion-based. The question: "Is there a ...
1
vote
1answer
65 views

Efficient strategy to implement notifications for a .NET application

I have an ASP .NET web application dashboard that is used to send notifications to several .NET desktop clients. The current implementation is that the web app writes the new notification to a ...
-2
votes
0answers
21 views

How does the GLL parsing algorithm work?

I'm very interested in the topic of parsers, especially in the topic of parser combinators like Superpower. The problem with them is that the grammars that they can work with are a bit limited. For ...
0
votes
1answer
719 views

The finer points of HMVC

I'm new to HMVC and whilst tutorials are great about dealing with the overall details of keeping modules separate and only letting controllers communicate, they aren't so great at explaining the ...
0
votes
1answer
27 views

Object and ObjectManager circular dependency

As far as I know, circular dependencies are something to be avoided, yet I find myself often in a situation where I've got some Object, and an ObjectManager, that is supposed to "oversee" ...
1
vote
1answer
54 views

Loose coupling vs transparency in visitor pattern that visits composite

I have a composite object (I will call it A) that has fixed number of sons (I will call them A1 and A2) All of them have an Accept(Visitor) method. I have a GUI, A is the main window that consists of ...
0
votes
0answers
8 views

Azure function that will trigger while any blob failed to upload

We are building a system that allows users from different regions to upload large files(>10G). We are looking for some sort of feature that can monitor and notify our service when blob upload ...
0
votes
3answers
83 views

How to track temporary fixes

Whenever I do temporary fix I want it to really be temporary. However, there is no way to come back to it later, as the fix might be a part of a bigger issue. Let's imagine that we have for some ...
0
votes
0answers
21 views

iOS: Combine and Clean Architecture

I’m learning a lot of from Combine thanks to an amazing book in raywenderlich. Currently i’m writing an app and following the clean MVVM architecture. Then I have the following layers: Domain(...
-2
votes
0answers
33 views

Should the coupling with a mediation layer be weak or strong?

There is a system A and B which should communicate, usually via an API from system to system. To Have no coupling between A and B (A should not have implicit knowlegde of what B needs to process and ...
0
votes
0answers
56 views

how to read go interfaces [closed]

I been learning to program by reading tutorials and playing around by myself but when it comes to more "conceptual" questions it is hard to find answers. For example a few months ago I ...
1
vote
0answers
46 views

Strategies to organize multiple projects which may reference each other and managed by different teams in Git?

First actually I don't think Git is a specific involved tool here, it can be any other Source/Version Control tool (TFS, SVN, ...). The point here is how to deal with the scenario in which I have ...
4
votes
1answer
2k views

How & Should we use Clean Architecture in Front-end?

Just a little explanation: "I'm used to be a solo front-end developer in my company and using default folder-structure and way of coding which vue-cli provided, it is good for a solo developer and ...
1
vote
1answer
59 views

How to handle nested reactive properties in reactive programming?

When building an application or program using the concepts of reactive programming, how does this work for nested reactive properties? I have an example using Swift, ReactiveKit, and Bond, however the ...
0
votes
0answers
26 views

Best way to share code of micro-services written in the server-less framework

The microservices are going to be owned by a specific team. These microservices each will have their own resources such as DB, API Gateway, queue e.t.c. Other teams will have their individual ...
-2
votes
0answers
26 views

How to print text string as QR code? [closed]

Need to integrate with a legacy program but cannot change its source code, currently the program can print text label, we would like to change its print result as QR code, i.e., when the program sends ...
2
votes
1answer
1k views

Angular2: Service architecture + error handling

I need support for Angular2 service architectures. I am quite familiar with Angular2 but I don't see the best way to implement services, error handling and their connection with the components. I'm ...
-4
votes
0answers
31 views

Does exist any methodology, which helps decide which elements to choose into the technology stack? [closed]

Details In most cases, it is prescribed what kind of programming language to use with what framework. In my question, I'm pointing to those situations when there is no requirement for the stack. I ...
2
votes
3answers
195 views

Should unit tests assert the inputs to dependencies?

tl;dr: Is it a unit test or an integration test, to ensure that the inputs to a mocked dependency were correct? More details: Suppose I'm given a requirement like this: Create a function that returns ...
-1
votes
1answer
56 views

Implementation strategies for dynamically scheduled tasks

I have a varying number of tasks. New tasks can be added, some tasks can be removed. But those operations happen rather infrequently (once or twice per week, and adding is more common than removing). ...
0
votes
0answers
44 views

Messaging specific microservice

We have a .NET application where we need to scale a background job worker IHostedService to perform a long running task of compiling/building code requested by front end clients. Each task will ...
-2
votes
0answers
19 views

Tablet for dedicated system [closed]

I would like to convert an off the shelf tablet running android into a dedicated system running one single page application. I have purchased the following off the shelf tablet for use in my project, ...
64
votes
12answers
11k views

Does this class design violate the single responsibility principle?

Today I had an argument with someone. I was explaining the benefits of having a rich domain model as opposed to an anemic domain model. And I demoed my point with a simple class looking like that: ...
0
votes
1answer
64 views

Designing a library API to allow for interactivity

The application I'm currently working on is deeply coupled to the UI framework in use (Qt at the moment). I would like to separate the UI-specific code from the rest as much as possible, with the goal ...
0
votes
1answer
86 views

java threading model for scale up

I need some advice on the scale-up issue. we have a java application currently it works as below the current system is using the Thread Per Request Model. each client connection (long-running and ...
0
votes
2answers
55 views

Best practices when designing SQL DB with “redundant” tables

I have a design dilemma for a DB I'm creating for an e-commerce platform I want to develop. I have 3 different actors interacting with the website: Customer Manager Supplier Those 3 actors have the ...
85
votes
11answers
12k views

Did the developers of Java consciously abandon RAII?

As a long-time C# programmer, I have recently come to learn more about the advantages of Resource Acquisition Is Initialization (RAII). In particular, I have discovered that the C# idiom: using (var ...
1
vote
2answers
931 views

How Design a program that must handle multiple “products” like in a production line

I have some problems figuring out how I should design an application. On a production line there multiple stations. The products will move from one station to the next. Each station will execute some ...
0
votes
4answers
238 views

Do all dynamically typed languages not support function overloading?

I have noticed that JavaScript and PHP and Python do not support function overloading. Do all dynamically typed languages not support function overloading? If the answer is yes, then why is that?
0
votes
1answer
62 views

Allowing end users to upload a large amount of data using Excel

I've read Allow users upload CSV files, and embed the data for a simple API , Importing large data sets into a database over the web the closest concept is Is there a way to efficiently allow a user ...
0
votes
1answer
5k views

Reporting Solution in PHP / CodeIgniter - Server side logic vs client side

I'm building a report for an end user. They would like to see a list of all widgets... but then also like to see widgets with missing attributes, like missing names, or missing size. So i was ...
0
votes
2answers
217 views

What technique to use to update ordered item list in a client-server architecture?

In a client-server architecture, what technique is used to efficiently update ordered list of items without actually sending the entire list? Note that multiple clients will be updating the order of ...
5
votes
2answers
9k views

Unit Of Work with multiple database context

I have created an application (net core 2 & ef core) with Unit Of Work and Generic repository pattern. I used to have one database context but due to some business logic I had to create a second ...
3
votes
1answer
258 views

Designing database job monitoring

I have several Oracle database where my in-house applications are running. Those applications use both dba_jobs and dba_scheduler_jobs. I want to write monitoring function: check_my_jobs which will ...
34
votes
9answers
9k views

How to determine if a class meets the single responsibility principle?

The Single Responsibility Principle is based on the high cohesion principle. The difference between the two is that a highly cohesive classes features a set of responsibilities that are strongly ...
0
votes
3answers
63 views

Designing this module to support exchangeable drivers

We have a battery manager implementation which uses a fuel gauge driver and a charger driver. Currently both of these drivers are hard-references to the fuel gauge and charger driver we currently ...
0
votes
1answer
25 views

Getting sums of multiple leveled relations efficiently

I'm currently building an API and a web app for an internal warehouse system using NET Core. I have the core entity structure, that goes like this: "Material" has many "MaterialSubtypes&...
0
votes
1answer
41 views

Use Case diagram include or extend

I need to make an UC diagram for a project of mine, but I don't know when to use include or extend. My actor (a Professor) can choose one of his students and do some operations (ex: see his grades), ...
0
votes
1answer
38 views

File parsing in UI Layer or Application Services Layer

Let's say that I have a list of financial transactions that I need to read in from the file. I want to make the best guess I can at what account should be credited/debited based on the transaction ...
0
votes
2answers
125 views

Is editing a Github/GitLab issue a good idea?

I'm starting to define how issues should be handled in GitLab. Most specifically whether the author should be editing the original issue to keep it up to date or use only comments. Let's say that you ...
-5
votes
0answers
24 views

Azure Event Hub vs Event Grid or something else?

I have a timer function that calls a group of APIs asynchronously and then converts the XML responses to SQL Server records to an on premises database. I want to send a message in case there is a ...
0
votes
2answers
573 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 ...

15 30 50 per page
1
2 3 4 5
1183