All Questions

0
votes
0answers
6 views

Is there a way to run an Ant build in Bamboo without adding build.xml file directly to the project?

I am trying to run an Ant/Ivy project in Bamboo with an external build file. I do not want the build file to be directly incorporated in the project. Is there any way to do that in Bamboo?
0
votes
0answers
6 views

72/5000 How to draw a relationship between two components that are WebWorkers

I have two components, one of them creates and runs a second component during the system's operation. And in the further period of the application operation they communicate with each other bi-...
-2
votes
0answers
15 views

An approach to hide image in Javascript [on hold]

I'm responsible for developing an approach/algorithm to hide image on trigger. But hiding should be in such way that it would be hard for developers to do "inspect code" and change certain javascript ...
-2
votes
0answers
11 views

Get latest tag from specific branches

I am trying to figure out a way to get the latest tag between two branches. Let's say I have the following structure: o - master tag=v1.1.3 | |o - v1.1 tag=v1.1.2 || |/ o - tag=v1.0.2 | |o - v1.0 ...
0
votes
0answers
9 views

Execute Spark in client with no Spark installation?

I'm sorry if this question needs to be more concrete, I'm still learning about Hadoop Spark and I'm a little bit confused. I have a Hadoop and Spark installation in a cluster with YARN as a resource ...
-3
votes
0answers
27 views

Are DDD Repositories and Factories pure fabrications (in a GRASP sense)?

Repositories and Factories have no "real" matching Entities in the domain, whilst Entities and VOs do. Are they considered pure fabrications (pure fabrications in a GRASP sense)?
-1
votes
0answers
21 views

Does replacing Heap Memory access with Distributed In-Memory Cache(Memcache or Redis) scale in Micro-services? [on hold]

One of the reasons why Micro-services are popular is because they are stateless.However an application needs to maintain state obviously . The question comes down to What is the most efficient way ...
0
votes
0answers
45 views

What is the best architecture in a microservices ecosystem for a dynamic page that its data is provided by other services? [on hold]

How do we achieve loose coupling in the scenario below: We have a web store which sells finite types of products (e.g. Movie, Music and Book) for which we adopted a microservices architecture. The ...
0
votes
0answers
15 views

How to organize file uploads saved to a cloud storage bucket [on hold]

I'm writing a mobile app that allows users to upload file attachments (images and pdfs), and later download them for offline use. When a file is uploaded, the file itself is stored in a Google Cloud ...
0
votes
1answer
45 views

Database schema for products and their packages

The product is water purifier, and we are selling packages included support for changing filters. Serial is a unique number identifying a single produced item and it's only for water purifiers not ...
0
votes
0answers
6 views

Where do JavaFX FXML controllers belong in an ECB architictural design pattern?

I am wondering where does the fxml controller belong in the Entity-Control-Boundary model? When designing a JavaFX application with the help of Scene Builder, Scene Builder generates an fxml file ...
0
votes
1answer
28 views

How to ensure persistence in an event-driven microservice architecture?

Right now we have a set of micro services with a client-facing gateway responsible for authentication and routing. MySQL database and RabbitMQ for the message queue. Internal services may queue up ...
1
vote
0answers
38 views

Domain Driven Design - updating part of aggregate

I'm playing around with DDD in a node.js project and struggling with updates to child entities from the aggregate root. For the sake of example, let's say I have two domain objects where Event is my ...
1
vote
4answers
140 views

What's the purpose of explicit encapsulation?

Assume you have a library in which every function is public. Sooner or later developers who use your library will come up with a stable pattern of usage. In that terms external information of how ...
0
votes
2answers
47 views

What are the benefits of aggregating structure and functions associated with it in one object?

What are the benefits of aggregating a structure and functions associated with it in one object? What are the benefits of explicitly decalring a class. If i write procedural code i already know that ...
-1
votes
1answer
29 views

How to name base classes so that it's most convenient for those extending a framework? [on hold]

I'm designing a game engine that is supposed to be overridden. I have, for example, a class called Character. Should I prefix this with BaseCharacter or should I expect that whoever uses the framework ...
0
votes
0answers
60 views

DDD & composition

I have a project to build, which has the following requirements: topup a wallet by paying money in exchange for credit; this has also the constraint of needing an approval from the finance team, if ...
0
votes
0answers
10 views

Authentication, bussiness logic and several entities in asp.net core

I'm working on an asp.net core application, using Identity as authentication/authorization management. Depending on the role the user can do "some thing", this is the normal way of authorization. But ...
5
votes
1answer
138 views

What is the right way to create a build system?

I'm a student, and I don't have much expirience with the building process. In the last few days i've read something about CMake and others build system generators, but other than that I don't know ...
0
votes
0answers
21 views

How to be more productive with CloudFormation?

When using Terraform instead of Cloudformation on AWS, I usually get immediate feedback on the terminal, which makes the work very productive. With CloudFormation, however, I tend to edit the file in ...
0
votes
0answers
7 views

What layer should resolve pre-existing Hibernate entities?

Imagine an application that consumes an external data stream and creates objects of this type: @Entity public class Event { @OneToOne(cascade = CascadeType.ALL) private EventInfo info; @...
3
votes
5answers
246 views

Why are there so many frameworks for web development? [on hold]

I am currently a Junior back-end developer, I write Java and Scala and I love it. I really want to get into web development, but it seems like every time I look up some guide, it is really just a ...
1
vote
2answers
65 views

Object Oriented Approach to Calculations

I need to determine the average miles per hour for a trip and an object containing a list of trips. I'm thinking of two approaches. First approach, have a MphCalculator class that I would inject into ...
0
votes
1answer
19 views

What are the differences and connections between UML Profile diagram & UML Class diagrams

I am doing research for developing a software platform and I have created some class diagrams for the platform. My supervisor adviced me to use UML profiles as well to describe the platform in a more ...
4
votes
1answer
91 views
+50

Implementing A “Draft” Mode For Posts

My team is debating how to transition a portion of our Rails application to allow "drafts". For simplicities sake, we can think imagine a Post object, and now want to allow a kind of draft mode. Our ...
0
votes
1answer
62 views

What is the best practice for sending a large array of strings to an API

I'm building a simple app that is a client web application and an API behind it. I'm combining two third-party APIs, one needs to be called from my client application (for ease of authentication) and ...
0
votes
0answers
28 views

OOP benefit to using attribute entirely over 'temp table'

I'm having trouble phrasing my question, but when I'm writing in python OOP and say for instance I have an attribute that is a DataFrame object and I want to do transformations on that DataFrame ...
2
votes
1answer
158 views

How to handle database connection password?

I have a question about using databases in my application. I have the User table which stores password for my users. I know how to handle user authentication, but how to handle the password for the ...
0
votes
0answers
20 views

DynamoDB - Event Store on AWS

I'm designing an Event Store on AWS and I chose DynamoDB because it seemed the best option. My design seems to be quite good, but I'm facing some issues that I can't solve. The Design Events Events ...
1
vote
2answers
58 views

How to manage updates after a release?

I wonder how should we manage the commits we make AFTER a version is released, according to SEMVER. For example, I just released 1.0.1, now I have 2 choices: Immediately change version to 1.0.2 and ...
2
votes
1answer
60 views

Design Review Of SOLID Principles For An Autonomous Mobile Robot

I am self-learning robotics, C++ and good object oriented design. I have asked various questions over the past couple of weeks: 1 and 2 that have lead to the following design. The design goal is for ...
1
vote
3answers
134 views

Is it possible to throw compiler error when attempting to use an unimplemented method?

The backstory is long but the general idea is that I'm beginning an iterative refactoring process to replace a poorly designed data access layer with a new one under constraints from above. We can't ...
1
vote
1answer
32 views

Tracking revision history by recording events

I've got a requirement to create a data structure that allows for users to view revision history. Not just the history of a table, but the history of the entire structure at a given point in time. A ...
0
votes
1answer
48 views
+50

Application/Database design where two tables have both 1-to-many and 1-to-1 relationships

I have an application where the requirements are to show a list of (just for example) car manufacturers. When you click on one of the manufacturers, a list of car models show up. You can then click on ...
0
votes
0answers
5 views

Problem to structure code permissions (ACL) [migrated]

I have a problem here to structure the code to validate the permissions. Let's suppose I have three actions: read:own_users, read:my_users, read:all_users. And I have a route get/users. I want this ...
0
votes
2answers
108 views

How do companies store private keys offline but still sign code with them?

I've heard that companies store their private keys offline "in a safe that will never be opened" and stuff like that (the context for this is a console developer like Microsoft keeping the Xbox ...
0
votes
2answers
53 views

Unit tests: tree of dependent tests

I frequently encounter situation where I have very basic tests, and if those fail, it doesn't make sense to run many other tests. Therefore I want to declare a tree of dependencies between my tests, ...
1
vote
1answer
131 views

If we are allowing anonymous users to register inside our web site, how we can prevent hackers from occupying others' email address

I am planning to start a new asp.net core MVC web application. One of the features we are having is that anonymous users can register inside our web application by entering their email addresses. then ...
0
votes
0answers
30 views

Retrieve latest files from a directory using UUID or incrementing integer approach [on hold]

I have a download button in the UI, user clicks on it and download 3 files in a zip format. It's not necessary that the files are already there(on the server) when download button is clicked because ...
0
votes
1answer
38 views

Designing a WPF / MVVM architecture where view behavior changes in different states

As part of my bachelors thesis, I'm trying to develop something akin to a painting program. That means, I have a toolset, be it selection, drawing, highlighting, etc. I'll have a canvas that displays ...
1
vote
3answers
116 views

Is it okay to have a class where some attributes won't always be used?

I'm designing an app which use a Knowledge Base filled with rules. Depending on the context some rules will be applicable and others will not. I need to get first the list of the applicable rules and ...
2
votes
0answers
37 views

Clean Architecture - What is the difference between Use Cases and Core Services?

I'm trying to apply Clean Architecture to a simple ASP.NET MVC Core app by following Microsoft's ASP.NET architecture guidelines and their eShopOnWeb sample project. In the standard Clean ...
0
votes
0answers
22 views

How to store message content in a webservice

I am building a service responsible for sending email/sms communications. The service receives a request that contains information necessary to build an email/sms template and the recipient ...
0
votes
1answer
34 views

How to have SQL Server with Git, TeamCity and Octopus auto-deployment work with schema-level restrictions?

We are starting to integrate our SQL Server workflow with Git, by which I mean generating scripts for all objects and storing them in a Git repository so you can pull, edit, commit, push and apply, ...
3
votes
1answer
119 views

Synchronization of data across microservices

We have 2 to 3 dozen microservices that serve our customers. These services are deployed in a Kubernetes cluster, and they're only accessible to the outside world through 3 or 4 API gateways. We ...
1
vote
1answer
78 views

Architectural principles for creating a large-scale email server that doesn't get blacklisted

I am considering what it takes to implement an email server. Google Cloud basically doesn't allow you to send emails at scale (they block the email ports pretty much), though it sounds like you could ...
1
vote
2answers
42 views

Balancing function call overhead and testability in a code that is a part of the deep learning model training loop

I am currently implementing the transformer architecture for sequence to sequence problems. Key part of the model is the attention mechanism, which is basically a matrix multiplication, followed by a ...
-1
votes
2answers
41 views

How to handle list arguments with invalid and valid elements

When you have an endpoint that can take a set of valid parameters, how do you do validation on a non-empty set of elements? Say you have a request /api/endpoint?my_list=1,2,3 where 1, 2, 3 are the ...
1
vote
1answer
50 views

What is a good way of satisfying open/closed principle in this case

I have a class that looks like this: class MyClass # takes an array of actions def initialize(actions) @actions = actions end def act @actions.each {|a| a.do} end end class ...
1
vote
2answers
93 views

How to get a useful measure for latency

I'm writing some web socket (wamp) connectivity tests. basically one end pings, and the other end records it. let's say I have the latency for each ping. So I'm tracking the min and the max latency ...

15 30 50 per page