-1
votes
0answers
7 views

use of button in vb.net forms

I faced problem while using a button in a animation game in which I was suppose to move a character(which i make using pictureBox) the button was having the purpose of starting the game, the game in ...
0
votes
0answers
11 views

Implementing unit-of-work for multiple storage types

I'm trying to implement the unit-of-work pattern for mutliple storage types like the windows registry, a database or the app.config but I cannot figure out how to do it. All examples I find use Entity ...
-2
votes
0answers
18 views

Where to learn how to write Linux services [on hold]

(I hope that I am asking an appropriate question) I have recently written a program that manages files, and would be best run as a service. The code works well, but I have no idea as to how to go ...
0
votes
0answers
8 views

Feature-based Deployment with Multiple Environments

My team is currently using Visual Studio Team Services for source control (TFS), building (triggered on check-in), and deploying (using VSTS Release Management). We have four environments (Dev, QA, ...
2
votes
1answer
40 views

Is the age of domain logic in databases over?

I recently stumbled upon this opinion from 2016 saying that there is still case for domain logic in database. I thought that this is totally obsolete. I am just wondering if the guy is still living ...
0
votes
0answers
18 views

Is a promise-aware eventing system desirable?

I'm fully aware that Promises and eventing are both ways to do asynchronous programming, and you can choose either one for a given project. However, in practice, the code base I'm working with is ...
-4
votes
1answer
21 views

How to progarm a Intelligent agent to understand chemistry

Hi I was wondering if anyone could help me with this particular question, I'm working on making a intelligent agent to understand chemistry, the intelligent agent I'm using is a Utility Based Agent ...
1
vote
1answer
11 views

Serialize Entity Framework Objects Without Lazy Loading

I have a very specific scenario that I'm not sure is possible to fully support: I have an ASP.NET application that uses Entity Framework 6.3 for it's data management. I also have a generic audit ...
1
vote
3answers
62 views

Are checksums in file formats obsolete?

In the context of a modern filesystem such as btrfs or ZFS, both of which checksum every piece of data written, is there any additional value in a file format storing internal checksums? I also note ...
5
votes
1answer
66 views

Functional core for elevator system design

How can Gary Bernhardt's "Functional Core / Imperative Shell" architecture be used to design software for an elevator system? Specifically, let's say there are a few elevators, each with call buttons ...
0
votes
1answer
75 views

Why do I need dependency injection and the depencency inversion principal in my case?

I'm a student of best practices, architectural patterns, and design principals. I have been studying dependency injection and inversion of control a lot lately, and have been "drinking the koolade" ...
0
votes
0answers
33 views

Implementing A Set of Rules

I have been tasked at work with implementing what I can only refer to as a rule interpreter. Part of my job is to identify production errors as they occur with shipment codes, and we are looking to ...
0
votes
0answers
16 views

How to build visibility into a background worker service?

I have been working on a cloud-based background worker service, and regrettably it is almost "blind". What I mean by this is it is incredibly difficult to get any insight into what is going on, aside ...
0
votes
0answers
12 views

Best design for Azure worker queue process

Consider the situation. A worker was running on Azure Worker role. It will constantly polling on an Azure queue when an item found it will process the item. The process will have some jobs like job1, ...
0
votes
1answer
39 views

CSV file processing in MVC

I am using a MVC framework and I have developed a module where .csv file is being imported into the database, I am little unsure about certain things which I'll try to explain below: Step 1: .csv ...
-5
votes
0answers
13 views

MonoDevelop message in header [on hold]

I am running MonoDevelop on a Raspberry Pi 3B. In following the introductory tutorial I tried to run the sample program. MonoDevelop displayed a message just above the code panel, "Cannot execute "/...
4
votes
1answer
44 views

How do you use use cases in a driver design with interrupts?

I'm writing driver-level code that runs on a microcontroller. I've described some of the design with use cases. The users in my use cases are the the other software components that use my driver. ...
-5
votes
1answer
65 views

Detect if code is C

I am currently using Python to write a compiler manager. I have to detect whether given source code is C, even if the code has a few syntax errors. I am currently using the file's extension to tell, ...
0
votes
4answers
109 views

Variable name which sometimes refers to an object and sometimes to a string

Sorry for the confusing title - this is best illustrated by an example (hypothetical but hopefully illustrative). For 99% of my application a Zip Code is considered as a string, so I consistently use ...
2
votes
1answer
262 views

How to protect open-source code? [duplicate]

I see that free licenses come with a "same license" and "disclose source" mentions, like stated here. For instance, I have some software code under the GNU GPL v2 license on github. If some evil ...
0
votes
0answers
66 views

Decided to code the new project in TypeScript, should everything be coded in this language?

We have decided to code the new project in TypeScript at the company. Does this mean that everything should be coded in this language? Discussion My first thought was Yes. On the other hand ...
0
votes
2answers
62 views

User Interface design for selecting elements from big lists

I am not to sure if this is a question which fits the topics of software engineering. I have two levels of objects "Categories" and "Category Values". I need to build a user interface for users to ...
0
votes
0answers
15 views

What should I use for defining recurring events?

CalDAV/iCalendar recurrence rules / rrules seems to be fairly common for defining the recurrence of events, but it also seems that they are very complex and often give unexpected/unintuitive results. ...
0
votes
0answers
46 views

Qt open source and DRM/Copy Protection

I have learnt from here and here that LGPLv3 does not forbid the use of a DRM technology: The LGPLv3 doesn’t forbid anyone from implementing any kind of DRM technology. However, if someone ...
0
votes
1answer
64 views

Message driven architecture and horizontal scaling

During working on a pet project in microservice event driven architecture, I've faced a problem of delivering responses to a client. Each microservice (API Gateway etc) has many replicas and has it's ...
-3
votes
0answers
35 views

Chrome Extension - Design patterns [on hold]

I will start with the development of Chrome Extension that is somewhat complex. I would like to organize the code in MVC pattern style. The View is probably not that important but I would like to ...
0
votes
0answers
46 views

What should I consider while architecturing a loosely coupled modular application?

Introduction For some background, I am trying to architecture an application for my startup. My application is divided in 3 separate git projects, details are as follows. Backend API written using ...
0
votes
0answers
39 views

How to update a model with dependencies

I'm having a bit of a hard time figuring this out. I have a model (which you can see in the image below) this model can be changed (it won't happen often, but it can). When it changes I do not get the ...
3
votes
2answers
45 views

What are the different approaches to filtering on aggregated data?

I have a feature I'm building that aggregates data across about a dozen or so tables. This data is aggregated from a heavily joined query. This page then has a lot of filtering, sorting, counting, and ...
0
votes
0answers
29 views

Is SMTP client created in singleton scope or request scope?

In Web application, we create email provider in which create an SMTP client but my question is we create this SMTP client for per request or create only once and used by all request ? which way is ...
4
votes
0answers
38 views

package and version strategies in a multi repository environment

We are a small-ish firm with multiple teams who manage their own git repositories. This is a web platform and each team's artifacts are deployed at the end of the day for nightly tests. We are trying ...
0
votes
2answers
126 views

Is Git more useful for versioning binary files compared to versioning text files?

I am currently studying some basics on git Version Control System on tortoiseGit for my project management so far i know that Git keeps track of the history of changes, and allows you to easily go ...
1
vote
0answers
120 views

Design elevator system algorithm and classes? [on hold]

Here are the main classes I can think off the top of my head. All business objects will follow the abstraction (implement interfaces). I have not mentioned interface names to avoid verbosity. I have ...
4
votes
4answers
96 views

Can a user story have a child user story?

I'm working on an update of an existing medical software and I defined user stories together with some end users. If you're not familiar with medical environments: A doctor usually has multiple ...
1
vote
1answer
34 views

Policies on NuGet dependencies versions when developing a library

I'm building a C# library and have some dependencies through NuGet packages. I'm trying to minimise entry barrier and using the very early versions of dependency packages. For example I use Newtonsoft....
1
vote
2answers
149 views

Does it make sense for an object declared on the heap to declare one of its members on the heap?

I recently reviewed some C++ code written by a fellow student, and he did something I wouldn't think is necessary. In main(), he creates a class object on the heap with the new operator. Then he ...
1
vote
1answer
78 views

Howto structure my app.js code to make it easier testable

I have a couple of Philip Hue lights in the hallway. These show the build status on their lights with a small Node.JS application. Its working like a charm. Currently I am in the process of testing ...
1
vote
1answer
38 views

Can a library/plugin be based on other, common, libraries in that language?

Using JS as an example here, if I am creating a library/plugin, and intend to make it available to others, should I keep it in Javascript? Or would jQuery be an acceptable dependency? At what point ...
1
vote
0answers
39 views

How should I approach documentation generation for my FOSS library? [on hold]

I've published a small FOSS library (link below, but what it does is not very material to this question), on GitHub. It doesn't have releases yet, but it's quite usable and (sort of) tested. Now, I ...
0
votes
0answers
36 views

DDD. Layers and objects involved to generate a report

Let's say one of my user cases is to generate an XML report of a subset of columns of sales that satisfy certain criteria, in this case sales between 2 dates, beginDate and endDate. After having ...
2
votes
1answer
98 views

Are there only 2 places you can declare new generic type parameters in Java?

It's confusing because type declaration and usage both use the <T> syntax. I think there are only 2 places where you can declare new generic types in Java: 1. In the definition of a class or ...
3
votes
5answers
113 views

GitFlow branching strategy, but without the develop branch

I am thinking about adopting something like the GitFlow branching strategy. Instead of using a permanent develop branch, I would like to create a release branch for each sprint (from master) at the ...
2
votes
3answers
114 views

Best Practice regarding table schema

We are discussing in team regarding best practices. For eg. there are three tables Users Groups Teams A user will create a request to join a Team or Group or to follow a Private User. A request ...
2
votes
1answer
82 views

One function to produce a couple or a function per item?

I have a dilemma. Let's say I have an AST that describes some grammar, for instance. I can write a function to stringify this AST back into human-readable BNF form or generate a parser from it. I can ...
0
votes
0answers
28 views

Is the Afferent/Efferent coupling metric relevant in (react) javascript?

My Chief Architect just asked me to add this to a frontend single page app written with React.js. I had a quick look around, but it looks like the tooling (and concept) is more related to true OOP ...
5
votes
1answer
120 views

OpenGL: Why are things bound instead of being passed directly as parameters?

In OpenGL you have to bind an object to the context to be used in subsequent calls, instead of just using it as an argument in those calls. For example, in OpenGL you write this glGenBuffers( 1, &...
3
votes
0answers
56 views

API design: stream objects vs. functions vs. messages

I'm designing API for a python library that accepts asynchronous input and produces asynchronous output: various signals come in, and various signals are generated in response (there's no one-to-one ...
6
votes
2answers
84 views

Microservices - compensate service failure with queue

We are using some sort of microservices approach in our app (although it is not really consequently adhered to). When a service is down or throwing an exception, the approach is to put it into a ...
-1
votes
1answer
43 views

AWS CLI > why is the JSON output indented?

Just reading through the AWS CLI docs, and I've noticed that all JSON output is indented (i.e. "pretty" formatted)... Doesn't this add a disproportionate amount of bloat to the responses? If so, why ...
1
vote
0answers
118 views

How to reduce “mapping” code?

I have two components, both are a parser/builder pair. So component A can parse A and build A, component B can parse B and build B. A and B both contain different entities, which are extracted by the ...

15 30 50 per page