All Questions

0
votes
0answers
3 views

What will be the answer if a null value compare with another null value or another values?

I want to know the answer that what actually will be the answer if I will compare two null values or null with another values.
0
votes
0answers
4 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 ...
0
votes
0answers
4 views

Load data from pipe delimited flat file to hive table ignoring first column, first row and last row [on hold]

I have a set of files in the below format For example- H|| D|12|canada| D|432| T|4 I want to load only the data part into a hive table ignoring the Header row, trailer row and also the first column ...
0
votes
0answers
8 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 ...
0
votes
0answers
7 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
10 views

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

I'm trying to create a site through pythonywhere, but it can not pull the msql 2000 data

I have tried both pyodbc and pymssql, but I can not pull data made with mssql 2000. Can't I get mssql 2000 data from Pythonywhere? So how do I change the mssql version to move the data? Is there any ...
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
68 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
39 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
104 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
22 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
32 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
99 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
30 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
20 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
0answers
37 views

c# Which design pattern use for this flow [on hold]

I'm writing an application in which each command is a class like ICommand Pattern.In my Login command i have a little bit complex flow,where there are many steps to take and I don't know how to ...
0
votes
1answer
32 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, ...
1
vote
0answers
54 views

Synchronization of data across microservices

We have about 2 to 3 dozen of microservices that serve our customers. These services are deployed in a kubernetes cluster. These services are accessible to the outside world only through 3 or 4 api ...
0
votes
1answer
70 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
36 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 ...
-2
votes
1answer
29 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
44 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
86 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 ...
0
votes
0answers
46 views

Git Flow, pull requests, multi-destination branches and conflicts: how is it supposed to work?

I get it for feature branches: A feature branch is created from develop. One single PR is then created, going to develop. If there are conflicts, fix them in the feature branch. Quite ...
0
votes
1answer
34 views

Can a query handler (not repository) access a web service?

Say I have the following class, which maps to a database table: public class Person { public Guid Id {get; set; } public string Name {get; set; } public DateTime DateOfBirth {get; set; } public ...
0
votes
4answers
80 views

What are the disadvantages of performing task breakdown before story estimation?

I have trouble with some of this jargon so I apologize if I misuse some of it. In my past experiences Story Estimation (planning poker estimating how difficult/complex certain tasks will be with ...
0
votes
0answers
31 views

DDD: How to (mass) update aggregate roots?

I want to (mass) update aggregate roots with data from a leading external system. To do so a scheduler runs a task which fetches updates for my existing objects and data for new objects from the ...
0
votes
0answers
10 views

Using Azure Artifacts views for hiding in-development packages

My team are looking to push our shared code to a private NuGet feed in Azure Artifacts. At present the plan is to set the package version in our csproj files and set up CI on the master branch of each ...
1
vote
2answers
130 views

Hypothesis driven development and scrum [on hold]

We have been using Scrum as our project management platform for a while, now we are moving toward Lean UX and hypothesis driven development practices. We have come up with the problems and business ...
1
vote
2answers
79 views

Microservices and DevOps — Must both always go together?

At the risk of having this question closed as too broad, would like to know if a microservices-based application/architecture could be delivered with a traditional waterfall development methodology/...
1
vote
1answer
97 views

Should an abstract class implement an interface, as opposed to defining its own abstract methods?

I'm defining a class structure for persisting to our cassandra database, and I'm unsure about using a combination of an abstract class and an interface. I have two concrete classes, one for persisting ...
-1
votes
1answer
40 views

Usability or performance requirement? [duplicate]

Usability requirements are focused on User interfaces, how easy they are to learn, how quick access to some frequent menu options are provided, etc. Suppose we have the following requirement: The ...
2
votes
2answers
42 views

Recursive association [on hold]

In the context of software engineering , according to the textbook "Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and Iterative Development, 3rd Edition" , a ...
2
votes
5answers
687 views

Should a class provide public mutators for all its private fields?

I work on refactoring an Java application based on a CAST audit. One of the criterion says that To respect OO encapsulation concepts, private fields should always be accessed through accessors ...
-2
votes
1answer
104 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....
0
votes
1answer
67 views

Do I need to make my code open source or buy a license? [on hold]

I want to develop a GUI in python for my company in order to sell it to the customer. Being fresh from the university where I used pyQt, I promptly started programming using that library, just to ...
0
votes
1answer
24 views

How to prevent angular 2 client from accessing privileged fields

I'm learning angular and have been reading about various backend solutions like direct db access, REST, and graphql. One thing I haven't seen addressed anywhere yet is how do you protect privileged ...
0
votes
1answer
58 views

Is JavaScript added and executed in rendering or parsing?

AFAIK, each web page is created in a two stage process: Parsing and rendering. In parsing, markup (Say HTML) is taken as is, or created from a server-side programming language like PHP, In the ...
0
votes
1answer
31 views

What is the difference between AWS Kinesis and AWS Logstash?

I've been having the hardest time understanding the difference between AWS Kinesis and Logstash. From the description of Logstash it says Logstash is a light-weight, open-source, server-side data ...
0
votes
1answer
26 views

Only be able to sign into app after existing user send invitation [on hold]

I am looking to build an app where the only way a new user can enter the app is if they have been invited by an existing user. Are there any API's, tutorials or resources that can help me achieve this....
0
votes
2answers
60 views

What is the appropriate architecture to access variable in parent from element of child list?

I have a Parent object which looks like this (pseudocode): class Parent { String token; Child[] children; } It contains a token string and an array of Child objects. My problem is that each of ...
1
vote
0answers
63 views

Build automation tools before make? [on hold]

I realized that make was "only" invented in 1976 and seems to be one of the first build automation tools (at least it's probably the oldest still in use). But we already had a history of large ...
0
votes
0answers
23 views

Wrapper class organization

I have Auth class which I am calling at one place in the code: $this->auth = new Auth($this->options); Now, the Options is the class containing things like host, port, username, pass... and is ...
0
votes
0answers
57 views

At what point in design do you create a new database or just keep adding tables [on hold]

My question is at what point should you create a new database and why? So after many years of creating small projects I have come to the realization that I have way to many db's. Now it's not a ...
-1
votes
0answers
24 views

functional programming using nodejs, project folder structure [on hold]

I am a nodejs/express developer and am looking to move to a functional development approach. I have reviewed alot of information on the concepts of functional programming; monads, currying, functors, ...
0
votes
0answers
41 views

Using rabbitMQ for an order management system

I am building an e-commerce app that allows you to buy products from an online store. I am struggling to understand if using a queue will be helpful. if so, how can I make use of it effectively? Let'...
0
votes
4answers
112 views

How do you manage objects that are shared between back-end services and front-end services/apps?

I have multiple REST-ful APIs that I'm using as my "back-end". I also have multiple web apps (.NET MVC). These web apps make calls to the APIs for data. So, an object being returned by an API will be ...
0
votes
1answer
65 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 ...
0
votes
0answers
87 views

dealing with too many DTO / Java

We are building an pseudo-rest API (because no body cares/funds for a full blown rest API for internal use - which is OK). So we have elements of Rest API (links for resources, API naming conventions ...

15 30 50 per page