0
votes
0answers
5 views

MVVM Inheritance following SOLID principles

I'm currently at the design phase of my program (hence no code). It will be written in WPF in C# using MVVM principles. I'm going to have a multifunctional Drag & Drop control, that will act ...
-4
votes
1answer
29 views

putting comma in cout (C++)

#include<iostream> #include<iomanip> using namespace std; int main() { double x1,x2,x3,y1,y2,y3; cout<< "Enter the coordinate x1,y1,x2,y2,x3,y3"<<endl; cin>>...
-1
votes
0answers
5 views

Require Help for OTP generation with help of Apex class on clicking Button

Please can anybody help me in writing a class which can send OTP to the desired contact phone number. Requirement is as such : on click of a button we call a apex page and then by mean of code we ...
0
votes
1answer
27 views

What is the scope of a DevOps team?

I joined a Devops Team of 6 in a Large Software Development programme (100 Developers in the program). At the time the scope of work was: containerisation of the Java server App scaling up automated ...
0
votes
0answers
19 views

Needs guidance on application architecture

I am working on an updater application. This is a win form app and it basically syncs files from server. Earlier I was using SMB/CIFS and simply copying files from server. But now requirement changed ...
-1
votes
1answer
36 views

Creating a metaphorical compiled scripted language.

I'm studying for a final exam and I came across this question which I found pretty interesting. I was wondering what the stackExchange community who are more experience in scripted languages than I ...
0
votes
0answers
23 views

MVC and MVVM lack the “grabbing data” model, using entity boundary controller in addition?

I've worked on various systems, all well-coded and well organized, but even still, what "gets the data" and "saves" it were never really defined. So I hunted the past month for architectures that "...
0
votes
0answers
20 views

Custom numeric representation

I have devised an alternative representational system for integers which I would like to implement in a program to do mathematical operations using this system. Not only are the characters different ...
-1
votes
0answers
19 views

Right tools for real time application

i'm building a real-time application and i'm not sure which tools should i use. The use case is the next one: I have online users that will interact other closer online users, so i need geo algorithms ...
-1
votes
0answers
15 views

Managing website navigation

I am building a web app with approx 30 odd pages. My app has a left navigation bar. I want to know the best practices of storing the menu and its hierarchy. hard code them in a common page store ...
0
votes
3answers
33 views

REST POST method design: query/form parameters vs. encapsulating content messages

I am designing a REST API and facing a choice of formatting my POST methods to absorb parameters free-form via query string or content parameters: POST /my/api HTTP/1.0 paramOne=XYZ&paramTwo=ABC ...
-1
votes
0answers
13 views

Qt application on raspberry, strange highlighting of objects (like buttons, slidebars etc.)

I've built a simple program using Qt, as a simple test for the raspberry pi. The purpose is for me to learn and at the same time find out if the raspberry pi is fast enough for qt applications. The ...
-4
votes
0answers
38 views

Cross-platform language for developing desktop applications [on hold]

I'm developing a password manager desktop application in python-tkinter but tkinter hasn't goodlooking UI. I'm looking for some alternatives. The main things that I want are the following: ...
-2
votes
0answers
11 views

How can I embed angular directive style within the js code? [on hold]

I have a project written in angular 1.5 Until I upgrade to angular 2, I would like to reach a state where I write something like angular.module(..).directive('name', () => { return { ...
-3
votes
0answers
14 views

Is this the correct forum/community in which to ask questions on style and procedure, rather then specific questions begging as specific answer? [migrated]

I would like to gather opinions on matters of style, organization, and procedure related to software development. As an example, I'm looking for the right place to ask something like the following: ...
1
vote
1answer
24 views

Can class DBQuery be merged with or extend class DBConnection?

This is question about class relationships not class functionality. Currently my DBConnection and DBQuery classes are two separate objects class DBConnection { public $dbh; __construct() { ...
2
votes
3answers
102 views

Is it good practice to ever cast a boolean to an integer for arithmetic?

If I have a function where I am operating on a specific offset within a string, and the exact location of this offset depends on a previous test within the function, is it "bad practice" or "ugly" to ...
0
votes
0answers
29 views

Writing a library for accessing persisted data - what should I pay attention to?

I'm working on this project which, for certain reasons, will need to read the data that's persisted by some application (*) - in a directory with multiple files. My project is in C++ and that's the ...
0
votes
0answers
34 views

Where is OK to use automatic mappers in DDD + CQRS

As far as I understood CQRS, events are delivered to sagas (aka process mangers) and then saga sends command to handler that is re-hydrating aggregate root using repository and calls some method on ...
0
votes
1answer
29 views

What are data format providing structural information?

I have a built a toy server framework that provides very extensive configuration options. In configuration, one can for example define instances of modules with each providing generic options, such as ...
0
votes
1answer
19 views

Should Authentication Use Cases be represented in a UC diagram?

Should Authentication Use Cases be represented in a UC diagram? Should there even be a use case describing authentication or, as it is usually common-sense, can it be hidden?
1
vote
2answers
37 views

For which problems are dependency exclusions sensible solutions?

I've seen a few build tools in my career, and they've all had their quirks. I'm just now looking into Maven, and came across the idea of "dependency exclusions" for the first time. I honestly don't ...
-1
votes
0answers
22 views

Attribute-driven design documentation confusion regarding subsection Design methods and standards

I am working on a school project, which is a simple hospital management system. For this project, I have to write up an ADD document for it. I am stuck on one section in particular. It is called ...
1
vote
1answer
52 views

How to find out the source code of the earliest release/version?

Reading source code of the early release/version is very helpful for beginner to digest complex project. There is less line of code and learner can see the progression of the project. However, ...
0
votes
1answer
43 views

Why would you leave the boundaries of bounded context for more information?

I was reading nginx article regarding Inter-Process Communication in a Microservices Architecture, and I found this diagram. What surprised me is the second BC, where trip management BC actually ...
6
votes
3answers
70 views

Is it reasonable to not have pass/fail criteria for a stress test

Just for clarity, the stress test I have written steadily increases the load on the system until it reaches a breaking point. It theoretically runs indefinitely, but as the system resources are finite,...
1
vote
1answer
70 views

Build and Deployment Strategies In House Software

We are currently building applications that will run in house and not be rolled out to any customers. We are the only customer. We are using c# and the latest .Net platform. We are also using Team ...
0
votes
0answers
37 views

How to verify a position of a user using a mobile application on the server?

I am in the process of developing backend of a mobile application which offers bonuses you may pick up if you are within a certain location of it. You may download an overview of the bonuses and ...
-2
votes
0answers
29 views

Is it possible to instantiate a BluetoothGatt object based on context?

Problem: I have an object mBluetoothGatt (of BluetoothGatt type of course) in com/example/android/bluetoothlegatt/BluetoothLeService.java which I want to use in com/example/android/bluetoothlegatt/...
2
votes
1answer
65 views

I have a class for creating objects from a database row. How to design a class to perform functions on all rows e.g. counts on db table

Say I have a database for storing cars data. Each row is essentially a car and I've a class that takes a row of the data and builds my car object. I now want to build a dashboard that can tell me all ...
0
votes
0answers
29 views

How do you document your web services [on hold]

I am working as a senior developer in the travel industry and very often I have to deal with web services. Either consuming them or writing custom services. Furthermore we move slowly towards a micro ...
1
vote
1answer
43 views

Changing webapp design/arch to make it easier to maintain (scalable)

Lets say I created a webapp that I want to make it more scaleable. How it would work now If I want to "sell" the webapp I have to do the following: Rent a new hosting Copy the code to the hosting ...
2
votes
1answer
201 views

Individual data for each user, based on thousands of updates in the system

I have a news service that has thousands of users. Each user can subscribe to a set of tags and sites that they individually would like to follow. A tag or site has articles attached to it. A user ...
-2
votes
0answers
33 views

Is it good to move from Asp.Net MVC to sharepoint Apps? [on hold]

I am little bit confused now a days. I have one year of experience in .Net MVC. I have done one whole project. My key skills are MVC4,LINQ,EF,Jquery,WCF. I am about to finish this project. In my ...
1
vote
0answers
39 views

Modelling an account manager in OOP

I have this task of modelling a system where given a group of users each can keep track of their expenses. The basic requirements are as followed: To be able to give credit to an user. Find all the ...
28
votes
3answers
4k views

What is the present-day significance of SOAP

Last I encountered a SOAP based service was during my internship in a financial firm in 2013. That was the time when I started my career in IT. I remember having some study material about SOAP in one ...
-1
votes
0answers
42 views

How to make cluster load balancing android app? [on hold]

i know there's load balancing softwares for windows and Linux, but i haven't found such app for mobile phones, and am wondering if is it possible to develop one for android, the idea is there's a ...
-3
votes
0answers
53 views

My SQL Server Double insert data [on hold]

As title above, It happend sometime but not everytime, logically if keep double insert , i may suspect coding do twice calling sql execution , after i checking the coding, i may found that normal. In ...
1
vote
0answers
43 views

PHP OOP best practice to split low level class into two

What i got now is low level object that has bunch of methods and its difficult to navigate trough i want to break it down, however functions logically have same functionality just different ...
3
votes
2answers
42 views

Deleting a node and returning the deleted node's value in a Binary Search Tree?

Hi I have a programming project where I'm basically using a Binary Search Tree to implement a min/max priority queue. I'm having trouble with the popMin/popMax methods. I get how to get the minimum/...
7
votes
3answers
194 views

RAII Idiom Extension Suggestions

RAII is by far the most useful idiom in c++. However there seem to be two common pitfalls associated with it that I believe need to be formally addressed. Failure to release a resource in the ...
1
vote
1answer
50 views

Help with Big-O notation complexity [duplicate]

How do I find the O - notation complexity for the following? int sum = 0; for (int i = 1; i <= n*2; i++ ) sum++; I read the guide on Big - O and other posts on Big -O complexity, but I'm ...
0
votes
0answers
33 views

What are some open source database engine that one can go through to understand the internals of a database engine

My goal is to understand the internals of a database engine, specifically I would like to understand the internal data structure representation and the common engineering patterns for implementing ...
1
vote
0answers
24 views

Dynamic Animation Renderer

This program is intended to speed up the load times of some animations I am currently rendering on a mobile device. Currently I am creating animations frame-by-frame and adding them to an ...
2
votes
1answer
98 views

Algorithms comparison and complexity

I want to sole this problem: Write a method to return all valid combinations of n-pairs of parentheses. The method should return an ArrayList of strings, in which each string represents a ...
1
vote
1answer
48 views

Is Design by Contract the same as using Interfaces to create a “contract”?

Does an OOP design that uses a Design by Contract mean the designer is using interfaces to create a "contract." The term "contract" is used quite often when discussing OOP interfaces, so I didn't ...
5
votes
2answers
102 views

Data transfer in assembly language

Moving data in assembly language: MOV B, A If I move content from internal register A to register B, what happens to content of register A? Is it deleted? Stays unchanged?
-1
votes
0answers
52 views

Software Terminology [on hold]

My boss wants to think of a term to describe when you do a small deployment of features little by little. We're thinking of moving in that direction rather than a full upgrade of software but we can't ...
1
vote
0answers
36 views

Nested imports vs. two separate import statements?

Consider these two styles of code that accomplish the same thing: Nested imports common.models from django.db.models import * class SmallAutoField(fields.AutoField): def db_type(self, ...
0
votes
1answer
85 views

Architecture for random quote generation

I am writing a simple fun project which would give you a random quote each time you visit the site as well as if you remain on the page the quote would refresh automatically after some fixed time. My ...

15 30 50 per page