All Questions

-1
votes
0answers
7 views

the users trust their system administrators. However, this trust does not expand naturally across domain boundaries [on hold]

Why doesn't that expand across domain boundaries? For example, many components of a distributed system that reside within a single domain can often be trusted by users that operate within that same ...
0
votes
3answers
22 views

Process For Closing Unsolvable Help Desk Tickets

Sometimes, on an IT helpdesk, you have tickets with a few shared characteristics. They're low priority--just minor annoyances to user They're extremely hard to reproduce for testing You've exhausted ...
0
votes
1answer
33 views

What are common Github information files?

What are common files that are good to consider including in any Github project? I am familiar with: README.md for a general introduction to the project. LICENSE for license information. ...
0
votes
1answer
22 views

Domain Models with complex properties construction

According to this article: Using Ids in Domain Models is not a good practice. We should reference the entire domain model instead. In this case, when we want to provide only Getters for our ...
-3
votes
0answers
25 views

Manipulate multiple game accounts [on hold]

In some online strategy mmo games, like Clash of Kings, Final Fantasy, Last Empire - War Z and etc, players use one main account and often some alt accounts for farming. It takes lots of time to sign ...
-1
votes
0answers
17 views

How to automatize report emails generated on front? [on hold]

I have an angular application connected to a backend php API. Im currently generating PPTX report in angular app because we need to generate a nicely designed HTML and CSS report, but new client need ...
-2
votes
0answers
9 views

URLSession with cert, password, username [on hold]

I am currently trying to use URLSessions to send a request to freeipa to get validation for current employees. I guess I need guidance more than anything. Could someone give me an outline of how they ...
-1
votes
0answers
13 views

what is the solution for designing two seperate systems that need to share their data? [on hold]

for my dissertation I want to design two separate systems, one for hospital and the other one for pharmacy. but these two systems need to share their data, the hospital system needs to have access to ...
-1
votes
1answer
37 views

Creating DBMS based on DynamoDB [on hold]

I'm developing a program that uses DynamoDB, for which my next step is to develop a simple DBMS that does the standard sorting by column (click to sort by firstname/lastname/emailaddress/etc....). ...
0
votes
0answers
96 views

Design Review: Randomly generated primary keys in database [on hold]

Problem: In my web application entities have unique IDs, and for some type of entities(e.g. user, order etc.), the IDs are visible to users via URLs. MySQL is used for storing the entities. Using ...
-1
votes
0answers
12 views

weblogic and spring 403 Forbidden error page [on hold]

I am using Google Translator right now. I am using Weblogic and springMVC. By the way, I set up 403Error Page in web.xml, but default forbidden page is executed for something outside WEB-INF folder. ...
0
votes
1answer
50 views

Macro/constant as a function argument?

Suppose I have file.c and file.h. In file.h: #ifndef FILE_H #define FILE_H #define N 3 #endif then in file.c, I have a function that uses this macro: #include <file.h> int foo() { ...
-1
votes
0answers
13 views

BLE periodic message

I'me new to BLE protocol. I understood pairing is based on scanning and advertising, based on connection interval. My question is related to what happens after a connection has been established. Are ...
2
votes
1answer
73 views

How to make updates to data and return list of updates without breaking Command query separation or DRY?

I have a use case to make updates to a slightly complex JSON object and then return the list of changes made (not the updated data). The process of finding the list of changes is extremely similar to ...
-3
votes
0answers
41 views

Accessing the GPIO pins on the Dell Embedded Box PC 5000 from Windows [on hold]

I am having trouble accessing the GPIO pins on my machine. It was pretty straightforward to achieve this on ubuntu through straightforward C code using functions like ioperm(),outb()andinb()from the &...
-2
votes
0answers
105 views

Alternative to using a giant switch statement for opcode fetch in an emulator?

I wrote an i8080 emulator for a Space Invaders machine a while back to learn a bit about emulation. Now, I want to try something more complex: a GB emulator. I'm wondering if there is a better way to ...
1
vote
1answer
70 views

How to update a NoSQL database and publish event atomically in an event-driven microservices architecture?

In an event-driven microservices architecture, services typically need to update their domain state and publish an integration event to a service bus at the same time (Either both operations complete, ...
12
votes
6answers
4k views

What is a macro? Difference between macro and function?

I do not understand the macro concept well. What is a macro? I do not understand how is it different from function? Both function and macro contain a block of code. So how does macro and function ...
-1
votes
1answer
44 views

How to document simple script using UML?

I wrote OpenLayers client (using javascript) that connects to Geoserver and read/write some data from/to Postgresql database, now i want to document my script and thought that UML could help me draw ...
-1
votes
3answers
198 views

Daily standup. How to make it better and how to encourage team to embrace it?

For the last two months I've been working as a scrum master. I need your help on how to make the daily standup better for all the team members and how to encourage the team to embrace it? This is ...
2
votes
1answer
64 views

What to do when you want to apply some common functionality to some specific methods?

I am trying to figure out a design pattern to use (if any exists) to a situation where I would be re-doing some functionality across a bunch of classes. Below is a (simplified) overview of the problem ...
0
votes
0answers
12 views

Online Game (Multi User Dungeon) - is it possible to avoid global data? [migrated]

I need your precious advices :-) I am currently designing a Multi User Dungeon (MUD). For those who do not know what it is, they are the ancestors of MMORPGs. There is no graphics, everything is ...
-2
votes
4answers
124 views

Not planned work emerges during the sprint from management?

I believe that most of us have encountered this situation. What is the best approach when higher management or client is forcing the PO to include some new functionality in the middle of the sprint, ...
0
votes
1answer
70 views

Dealing with interrupt and sleep

I was thinking that I could calmly Thread.sleep() on an interrupted thread. Sonar doesn't think so, of course. In some circumstates we should waiting for conditions, even if an interrupt occured. Is ...
0
votes
0answers
26 views

Maintaining data: Unprocessed data, processed data, and results from processed data

I have built a python process which automates some portion of handling support tickets in Salesforce. I use selenium to extract all open support tickets and stores them in an archive. From that list,...
-2
votes
2answers
56 views

Good practices designing a JSON REST api [on hold]

I need to design a REST API that is basically a mirror of a database. Let's suppose we have 3 tables: Table A: ID, NAME Table B: ID, NAME, A_ID Table C: ID, NAME, B_ID Table B has a FK to A, ...
-5
votes
2answers
175 views

A 10 lines code change takes several days, how to improve efficiency? [on hold]

A new comer to a project was assigned with a simple code change, and pointed out where the code should be changed. I expect the code change shall be finished within half day. Yet it took several days ...
-1
votes
1answer
40 views

Resful name API for multiple key objects

We are implementing an API and we want to follow best practices for naming the endpoints. However, during the design, we have found a challenge. We have some objects where the key to the objects is a ...
1
vote
1answer
24 views

Reduce duplicates in outbox pattern in event driven systems

Trying to implement the outbox pattern for an event driven system. The outbox pattern in a nutshell is a way to ensure system events are sent to the event log/queue/bus at least once (using the term ...
0
votes
1answer
51 views

Can BPM be created with just one lane?

BPMN is very popular notation for process modeling and it's theory is based on task sequences and work flows between actors. So it's seems that it's necessary condition to declare at least two lane (...
1
vote
4answers
107 views

Should validation be inside or outside function?

Which one is better? A if ( complexDataCheck(...) ) { doJob(...) } vs B doJob() func doJob(...) { if not(complextDataCheck(...)) return error; ... } In A, the function does one and ...
-1
votes
0answers
26 views

Development of a “modular” App for Android and UWP?

My first question on this subject was apparently too "broad". So here is the next attempt: We want to program an app for Android and UWP with Xamarin that is based on a modular system. With WPF this ...
-2
votes
0answers
59 views

Choose suitable variable type at compile time [on hold]

I know it's possible to query maximum and minimum values for variable types in C++ using numeric_limits, but I want to do the opposite. I would like to have C++ choose a suitable variable type for me,...
1
vote
3answers
72 views

Possible concurrency issues with database read/writes

For context, I am building an application with a server that is written in python, hosted on AWS, and uses DynamoDB for a database. My question pertains to the following operation: When a user ...
1
vote
0answers
25 views

Javax Validation Annotations in Spring - is it always appropriate?

I've recently become more fond of javax validation annotations and creating custom ones when I feel they may be appropriate. But... I can't figure if it's design-appropriate to use them for everything....
1
vote
3answers
84 views

How to use data from another bounded context

The applications that I work with deal with Group level insurance. The insurance is mostly Life and Long Term Disability. We have a monolith library that all of our applications use at this time. We ...
1
vote
1answer
63 views

Many-to-many assignments in user system

I have a few software architecture/design questions related to a technically quite simple problem. We already have all the functionality implemented properly, however from a design perspective it is ...
-2
votes
0answers
47 views

How to use file system as cache for products which are expensive to produce? [on hold]

Context The consumer client components consume files. They access files in two step: Clients call a REST API with a parameters what they want, and the API responds with a file path. Clients access ...
-3
votes
2answers
131 views

What are some disadvantages for a hashmap with timestamp as key? [on hold]

"What are some problems that can arise from using a HashMap with timestamp as keys"? I, for one, do not see any major issues with this kind of "setup". Is this "setup" a no-go/an anti-pattern/...
0
votes
1answer
37 views

Managing varying method parameters in bridge pattern

There are two types of loans which can be created, Term Loan and CF Loan. There are multiple external services which provide one or both kind of loan services. External service which is providing one ...
4
votes
7answers
961 views

How do you know where you stopped in your codes after a 2-week break? [on hold]

I just had a more than 2-week long vacation/business trip and I couldn't remember actually what was I working in my coding and where I stopped. Could someone recommend a best practice to solve this?
3
votes
2answers
217 views

Terminology: Blue-Green deployment

Let's say your organization uses a blue-green deployment model. Simple question: After Blue has gone live, do you rename it to Green, and the server(s) formerly known as Green now becomes Blue? Or ...
0
votes
1answer
49 views

How to store data which can be a foreign key or free text

I am not sure how to explain my problem, but basically I have an input field which lets you enter member's name or select one from a dropdown list. If the user has selected the person from the list ...
0
votes
0answers
34 views

Does Akka support communication with external threads

I have been developing with Orleans actor implementation. Recently, I saw that we were scheduling a long running job on an actor, which was effectively blocking the actor since it couldn't process the ...
0
votes
1answer
70 views

Initiating a class from its static method [on hold]

What is the stand on initiating the class from its own static method? Are there any good practices about this? I feel need of initiating a class from its static method while implementing a job ...
1
vote
2answers
66 views

DDD: delete tree “Node” should check for children

I have a tree of Installations: Aggregate Installation has a property ParentInstallationId. I also have a RemoveInstallationCommand --> repo.GetInstallation(x).Remove() Now, I want to throw a ...
0
votes
0answers
16 views

Designing navigation menu from admin panel

We have an ecommerce website which has navigation menu consisting of several categories which keeps on changing over time. Presently catalog team passes requests to turn on/off categories to tech team ...
0
votes
1answer
46 views

What sort of data limit would make sense for pulling down all data vs autocomplete/pagination via ajax?

Imagine a page with an autocomplete textbox on it, to get Customer. I am wondering what sort of limit for record size makes sense in this day and age regarding whether all the customers should be ...
0
votes
1answer
64 views

Deciding which microservice should write to the database

Let's assume the following architecture where EventCreatorApp creates an Event which is logged to DB and sent to WorkerApp for processing WorkerApp processes the event, handles failures, etc. ...
0
votes
0answers
47 views

Separating Development and Deliverables with Git/Github

I am looking for some advice on the best way to manage my development worflow. I have been using git locally to track development and have recently uploaded a couple of private projects into Github. ...

15 30 50 per page