All Questions

0
votes
0answers
8 views

Execute Spark in client with no Spark installation?

I'm sorry if this question need to be more concrete, Im 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 ...
0
votes
1answer
60 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
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
14 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 ...
-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)?
0
votes
1answer
47 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
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 ...
-2
votes
1answer
42 views

Managing release branches in Git

When learning Git for the first time, I posted Git branching and tagging best practices. I learned a lot from this and have adapted git flow patterns to my personal projects since then. I am now in ...
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 ...
4
votes
3answers
3k views

Combining multiple events into one action/ Defer refreshing

So in a GUI program I have multiple events that trigger a update of a workspace. This update call is costly so I would want it to not happen very often. A user might pick something from a dropdown ( ...
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 ...
0
votes
1answer
240 views

Can I share ~1k of dynamically updated data between HTML5/JS pages using only apache2?

I have an HTML5/Javascript web site. There is a form which updates JSON data. There are other pages which I would like to load that JSON data dynamically. I know how to do this via Tomcat/JSP but I'd ...
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
136 views

Lazy assignment of python variables

I have the following if statement and I feel it could be made simpler to read by breaking the terms up into their own named variables. if os.path.isfile(os.path.join(dirname, 'file.json')) \ or (os....
-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 ...
3
votes
5answers
245 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 ...
0
votes
1answer
43 views

Golang: Directory structure for Multiple Applications

I'm creating a proof-of-concept for a Go-app for my organization. I've read all of the intro docs on setting up a Go workspace, packages, etc. However, I am still unclear about the relationship ...
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 ...
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
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 ...
5
votes
3answers
1k views

Where to put css media queries in a CSS file?

Where to put CSS media queries? Each after the related element class style or pack them at the bottom of the CSS files? which one is standard? or which one do you prefer?
3
votes
1answer
120 views

Future/Promise objects in Controllers - Best practice - MVC [on hold]

I was going through some articles related to Futures and Callables today and was thinking about the best practices when working in an MVC based environment. I was wondering, should one be creating ...
0
votes
1answer
275 views

Architecture to share logic across MPA and SPA applications

What in your opinion is good practice to handle the case where I want to have re-usable and shared logic that collects and returns my data from the database? For example I have Multi Page ...
0
votes
2answers
116 views

Architecture of data logging and storage system

I've gotten myself a bit more roped into coming up with the design and architecture for a new system due to some departures and looking for some insights. The system has a bunch of different high ...
0
votes
1answer
81 views

Generic Message Queue Interface

I'm trying to implement an Interface for a Message Queue. This interface should allow different implementations of queues to be implemented etc AWS SQS, Azure Queue Service. So lets say that I have ...
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
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 ...
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 ...
1
vote
3answers
124 views

Expanding Jira DB to include multiple target platforms

I am a member on the QA team but tasked with majority of the management of the Jira instance. We have launched our product on one platform, and will be starting to develop it shortly on 2 more ...
3
votes
3answers
168 views

Clean Architecture - Where to put business calculations when entities are autogenerated db first efcore?

I'm trying to switch to clean architecture from a traditional layered architecture approach and trying to figure out where to put business logic. Please consider the below scenario - Employee class (...
1
vote
1answer
115 views

Microservice Architecture in Azure - Ideas for improving performance

We are about to develop a microservice architecture with azure functions inside azure. We thought about using interservice communication with durable functions. On app site we want to use an async ...
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 ...
2
votes
2answers
104 views

Define multiple DDD events or just one XXXChanged event when using CQRS?

Is it preferable to define a single 'container event' like below: trait UserStatus case object Active extends UserStatus case object Inactive extends UserStatus case class UserStatusChanged(...
4
votes
1answer
718 views

Writing a Compiler - .reloc section of the COFF

I'm looking for a little bit of direction in writing a compiler. I've written in Common Intermediate Language, C#, and various other .NET languages; I've written my own Metadata Parser and now I'm ...
5
votes
1answer
575 views

Branching a subdirectory while keeping commits from other directories

I currently have a single pre-existing Git repo for a client/server solution that contains three subdirectories for 3 sub-projects: /client - An Angular2 SPA application (client-side TypeScript) /...
-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 ...
2
votes
2answers
1k views

Adding model into another view model's collection

The Setup So I'm working on a project in which there exists a MainViewModel class. This MainViewModel contains a list of Soldiers through an observable collection. I have a button in the MainView ...
2
votes
4answers
1k views

Microservice JOIN query

I know this question came up by a lot of people here and around the Internet but I couldn't manage to find a really clear explanation how to do queries spanning multiple microservices. Imagine that I ...
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
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 ...
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; @...
1
vote
1answer
81 views

Using Entity Framework with third party applications

In my current situation I am one of two developers at a manufacturer. We have been extending the functionality of existing applications (ERP and some others). These third party applications do not ...
2
votes
1answer
320 views

CQRS, microservices and delta replication

We have a micro-service that has a Domain Model and have an analytical service for the domain which has its own Query Model. The domain model and the query model are stored in separate persistencies. ...
0
votes
1answer
144 views

Angular 7 - Injecting a State/Context Snapshot

Requirement There is some (for arguments sake) “global” application state that I am interested in injecting into components. Each candidate component should receive an immutable snapshot of the ...
2
votes
4answers
102 views

Make a class depends on its own ports instead of injecting dependency interfaces

I just have an idea about dependency management in Spring IOC environment that seems to be better than the typical approach, but I am not sure because I can't find any references or example out there ...
4
votes
1answer
701 views

Separating AngularJs and Django into individual Apps?

I am building a web application using AngularJs and our web server is built in Python Django Rest Framework. I would like to have the two projects separated and not coupled. In my current setup the ...

15 30 50 per page