All Questions

0
votes
0answers
7 views

Are different endpoints to display the same resource in different ways RESTful?

Say I have a Student who has a ID number, a name, a profile picture, some contact details, and is enrolled in several courses. From the perspective of a Single Page Application there are different ...
0
votes
0answers
7 views

Modify a property of an aggregate's entity

Suppose I have a house-lending service, like Airbnb. I have a House entity, which can have a name. There's also the Reservation entity, which has a start date, an end date, and a name (which isn't ...
-1
votes
0answers
11 views

Python Dictionaries Confusion [on hold]

I'm fairly new to data science and my biggest weakness is Python programming. Please explain step by step. I'm confused with this particular problem: Transform the frequencies inside content_ratings ...
0
votes
0answers
7 views

Deploy Python ML Model?

I want to automate/prototype the training of my classification model using sklearn with a "1 click execution" from terminal where I: connect to source system read in unlabeled data perform pre-...
0
votes
1answer
33 views

Does a microservice's individual database need to have complete data?

Say you have a Users and Orders service and they have their own database. Since microservices need to stand on their own even if another service is unavailable, does the Orders DB need to have all ...
1
vote
1answer
39 views

Looking for feedback on my Object-Oriented class diagram design

I can't find anywhere else where I can show an OO system design and get feedback on it. Could you identify any major issues with my design and how to fix them? The description of the problem is as ...
0
votes
1answer
43 views

Is it a good idea to create a new “message table” for each user? Should I worry about performance if I use a single table?

I'm working on an app that will have messages exchange and which have a database with several tables to all users data and preferences but I got thoughtful about the table of messages. I will have ...
-1
votes
0answers
19 views

What should be the Best architecture for a scalable chat feature? [on hold]

So currently I have been working on scaling a chat feature introduced in an existing application using a node microservice. currently there are three entities client = angular microservice = ...
0
votes
0answers
21 views

Why does Vue.js rename / move all the internal data elements?

I'm following the code from Vue.js in Action, Chapter 3. (much deleted for brevity...) var webstore = new Vue({ el: '#app', data: { sitename: "Vue.js Pet Depot", showProduct: true, ...
0
votes
2answers
64 views

Are refactorings expected to change unit tests that cover the functionality that is being refactored?

Imagine that you are using a tool that automatically applies a set of refactorings of your choice. If the refactorings breaks the existing API for whatever reason (e.g. change method name, ...
0
votes
0answers
13 views

Is there a way to import a trained Neural Network to the 32 bit Version of Python 2.7? [migrated]

I have a Neural Network control mechanism which I implemented for a model written in Python 3.6. using tensorflow. Now I would like to use this Neural Network control mechanism in the real world, ...
0
votes
0answers
24 views

Database Architecture for Designing Multi User SAAS Application with shared Schema approach [on hold]

I am designing a multi user SAAS Application with a shared Database Model.Posting my approach and looking for validations/rejections on the approach. Goal/Need Create a SAAS Application- One global ...
0
votes
1answer
66 views

C++ design pattern for template instantiation based on run time information?

Say I want to be able to create objects for a range of template parameter template<int a> class Myclass : public MyclassSuper{...}; And I want to create objects like Myclass<...
2
votes
1answer
46 views

arranging blocks of data for efficient memory access

suppose I have an algorthm that has N blocks of data, and an operation needs to be performed on all blocks such that requires 2 blocks to be in memory at any given time to be done for all possible ...
1
vote
1answer
21 views

Create a Azure Pipeline for staging then production environments

I have a question about best practice and Azure Pipeline. I have a web site (ASP.NET API old version) I need to publish on 2 environments staging production I think this schema is classic. At the ...
1
vote
1answer
53 views

Are separate controllers used when adopting full scale CQRS?

I understand there are three flavours of CQRS: 1) Separate models only i.e. a domain model and a read model. 2) separate models and repositories. 3) Separate models; repositories and physical ...
-1
votes
0answers
7 views

SolR data location from HDFS indexing [on hold]

I have a requirement to evaluate a Big Data solution based on SolR but I have some questions unanswered after my search. The solution need to provide access and search capabilities to structural data ...
0
votes
0answers
14 views

Header Documention for async Method for the AggregateException: InnerException only or nest inside

What is the correct way to document (all) possible InnerException(s) of an AggregateException thrown by a awaited Task? The Client which uses an Api gets the Documentation in xml and you can see the ...
-1
votes
0answers
21 views

How is RELU used on convolutional layer [migrated]

I know that when dealing with artificial neural networks, RELU yields a value based on the weighted sum of the inputs plus a bias term. However, this logic does not seem to apply to convolutional ...
0
votes
0answers
55 views

Versioning Large Directed Acyclic Graphs

So the problem I'm facing is how to efficiently maintain changes to a large DAG (say ~100,000 nodes, ~1,000,000 edges). Is there any software today / or known technique or concept which enables ...
1
vote
1answer
33 views

Is infrequent syncing in DVCS trunk based development similar to a long-lived feature branch in GitFlow?

I'm working on a project and trying to understand the differences and trade-offs between variations of trunk based development and feature branching like git flow so I can help implement an ...
-1
votes
0answers
21 views

Point Cloud Alignment using a Neural Network? [on hold]

Having two point clouds, the second being a transformation of the first, how could I utilize a neural network in order to solve the pose (transformation in terms of x, y, z, rx, ry, rz) of the second ...
0
votes
0answers
29 views

How to analyse the throughput of multithreaded client server programs?

I am practicing socket programming in C language. I have two codes - server and client (based on TCP) on two different laptops. The server forks a new process for every new request. For simulating ...
0
votes
0answers
27 views

Asynchronous Micro-Service Authorization

I have the following setup for my application: A User logs in and is granted a Session Token. When making API requests to Service A the User provides the Session Token. All requests go through an API ...
3
votes
3answers
142 views

How do I manage shared models among many microservices?

My question is similar to this one, but a bit more specific to one case. Let's say I have a payments model, and this is used by my reporting service, as well as my accounting service. Is it ...
-3
votes
1answer
69 views

Is a physical thread a logical thread (a thread within a process) that a processor context switches to and processes?

What are the distinctions between physical threads and logical threads? The clearest definition of a physical thread that I understand so far is the one here: https://stackoverflow.com/questions/...
0
votes
0answers
31 views

How to setup up a background thread/task which triggers UI updates?

Background I'm designing a round-based game where one of the core design goals is to have a highly exchangable UI. For this, I've defined an interface which allows implementers to only focus on ...
0
votes
1answer
49 views

How to approach long-lived feature code reviews in trunk based development?

My understanding is that trunk based development should rely on direct commits to master or short-lived feature branches that are merged with master. Incomplete work can be placed inside functions ...
0
votes
0answers
76 views

Is there a compiler for a typeless programming language that work on a modern operating system? [on hold]

I am learning about typeless programming languages, and I am interested in writing some code in a typeless programming language, but is there a compiler for a typeless programming language that work ...
2
votes
2answers
75 views

How to avoid duplication of types in MVVM

I'm learning the MVVM pattern and something that comes up often is a duplication of data-types. Say I have a Person datatype. Intuitively I want it to look like this: public class Person { ...
0
votes
0answers
16 views

Is it usually good practice to declare an association methods in two models despite only using the association on one side?

Let me elaborate. Say I have a model called Credit that is categorized by a Role model. A real life example would be a track from an album. The track will have credits detailing its' contributions: ...
0
votes
0answers
10 views

W3C Reporting API - Mitigate spam/forged reports

I'm looking into the W3C Reporting API, which enables websites to instruct the client (browser) to send reports about: browser crashes, network errors, browser interventions etc. ouside the JS ...
0
votes
0answers
23 views

What is the advantage to inferred types *in Swift*? [duplicate]

As I fool around in Swift I have come to absolutely hate variable declarations. int c = 0 seems easier to read than var c:Int = 0 and more informative than var c = 0, and int some() is radically ...
0
votes
0answers
13 views

AWS codepipeline deployment

I currently have an AWS Codepipeline that is setup to automatically pull an Express, NodeJS API and deploy it with Lambda and API Gateway. It pulls the code from my GitHub repo production branch and ...
0
votes
1answer
23 views

Android: modifying a single .java file from the SDK?

I want to modify the behaviour of the Android OS on my personal phone (which is rooted). In particular, I want to change some values inside this file: https://android.googlesource.com/platform/...
-3
votes
0answers
16 views

how do i integrate developed front end html files to backend django? [on hold]

how do I integrate front end html files which is outside of project folder to backend Django without using Django templates?...by using only normal html files is there any direct connectors ?
1
vote
0answers
51 views

Design Pattern to unify similar generated classes

I have a project where I work with generated classes for some web interfaces. Some of these classes are (almost) identical and most of the functionality I need them for only use the identical parts. ...
-4
votes
0answers
32 views

How to Integrate different branches in different environment? [on hold]

Let we have three environments (dev, uat, prod), and we have different tasks (T1, T2, T3, T4) assigned to different developers. Developer push their changes from their local branch to remote-branch (...
-2
votes
0answers
21 views

Webpage/Javascript communcation with an android app [on hold]

I have two things which require inter communication without any third/intermediate solution(like server side logic etc). Andriod APP: I have developed an android application using a game-engine ...
3
votes
1answer
78 views

REST API Authentication: Cookie vs Web Storage

Note: This question might sound like a duplicate, but all other similar questions did not take into account (mobile apps, iot's, web, 3rd party usage). Specifically, in dealing with the clients ...
0
votes
1answer
36 views

Database structure for an app used to capture data in warehouses

I am in the process of creating an android app for our clients that would replace the paper-trail in their facilities with electronic inspections. Although I have coding experience, I have little ...
2
votes
3answers
139 views

How to use a child class property in a function written for base class

in C#, suppose I have written this function public void TryToTurnOn( Device d ) { // some common logic // some more common logic } I then have a class that inherit Device that is ...
-3
votes
0answers
22 views

Json type data storage architecture [on hold]

I have a system that needs to retrieve from a web service (REST API) and will return json format data. I would like to store this data somewhere so I can retrieve it again for the same id. I don't ...
0
votes
1answer
23 views

How to store and access domain vs view state?

I'm currently developing an application using the Dear ImGui library: https://github.com/ocornut/imgui/. And I'm trying to figure out how exactly to access state vs domain data. I'm trying to write it ...
-2
votes
1answer
35 views

Documenting business logics of legacy application having no unit test

I have joined a team in company and this team owns few services, which are used widely by many other user facing internal/external UI apps and other internal apis. My manager gave me rough idea that ...
0
votes
1answer
16 views

How to organize work with objects containing different quailties of video

I run into a quite common case of handling Video files with different quality of a video, when the app (on android in this case) should save and use one or another video file depending on a user ...
4
votes
1answer
137 views

How to get bug reports without inconveniencing the user

We have a piece of code that looks something like that: std::vector<int> computeGlobalResult() { auto globalResult = std::vector<int>{}; while (myCollection.size() < 100) ...
0
votes
1answer
44 views

Waypoint generating algorithm for graph

I've got a graph filled with 'walkable' nodes that I want to generate waypoints for. I've searched for some articles on this but have come up empty-handed. There's over 2 million tiles (walkable nodes)...
0
votes
0answers
17 views

How best to design SSIS packages for multiple table loads

This is a question about SSIS package design. We have an SSIS package built in VS 2008 that loads ~ 22 tables from as many fixed width files into a data warehouse. Each file has its own data flow ...
2
votes
5answers
308 views

Assigning people to code review

My team has a problem with making code review. Everyone is constantly busy with their tasks and only few of developers do review on a daily basis. As every merge request needs 2 approvals, some of ...

15 30 50 per page