Newest Questions
64,391 questions
2
votes
2
answers
221
views
Is there a term/pithy law that represents the idea that the time it takes for an automated process to run, changes the way a developer works? [closed]
The scenario I'm thinking about is a build pipeline, but I imagine there are plenty of other scenarios where this would be the case as well.
Imagine you've got a build pipeline that runs static checks ...
2
votes
3
answers
639
views
Convenience inheritance
Sometimes, you inherit from a class that defines the semantics of your type (Shape – Ellipse – Circle). Other times, you inherit simply because it's convenient to do so.
A superclass may have ...
2
votes
3
answers
228
views
Adding "caller specific" special cases to a factory
So I have this setup with a factory:
class Base;
class A : public Base;
class B : public Base;
...
class Factory
{
public:
Base* CreateBase(std::string TypeToCreate, const Parameters& P)
...
1
vote
0
answers
65
views
Modeling Application Ownership and Operations in ArchiMate [closed]
While modeling the As-Is state for the enterprise architecture of Big Organization IT main department, where the IT sub-departments provide internal services to various branches, factories, and ...
0
votes
1
answer
163
views
GitHub workflow for .NET desktop apps that supports CI/CD and entity framework
We want a GitHub workflow that syncs EF migrations across all branches and automates ClickOnce desktop app deployments. The key requirements of this question are highlighted in bold at the bottom.
...
1
vote
2
answers
260
views
Testing GUI panel involving modal dialogs
Suppose you have a panel with a table, which I will call a pane.
The table has a toolbar above it, including an edit button.
Editing involves showing an editing dialog. It allows the user to edit the ...
0
votes
2
answers
204
views
Keeping the impact of changes low when moving shared domain objects into a library
I’m refactoring a microservice project where multiple services share the same domain objects. Over time, these objects have diverged across services, causing inconsistencies.
To solve this, I plan to ...
0
votes
1
answer
129
views
Should board class handle LEDs/alarms when entering Maintenance mode, or should this be handled externally via events?
I'm designing a system that manages multiple hardware boards. Each board has a class that provides core functionality, such as:
Device enumeration
Capability enumeration (power management, polling, ...
7
votes
1
answer
514
views
Do these diagrams correctly model Git file state transitions?
I am in the process of engineering some UML state diagrams to explicitly model the transitions among Git’s file states: TRACKED, UNTRACKED, UNMODIFIED, MODIFIED, UNSTAGED, and STAGED. The diagrams I’...
9
votes
9
answers
3k
views
How to choose between brute force and efficient solution that has overhead?
Using Big O notation, it is clear that I should go with the more efficient approach, but I know that there is a significant cost in terms of initialization for more efficient solutions.
The Problem:
...
0
votes
3
answers
206
views
In unit testing, what is the difference between the arrange step in the AAA-pattern and a fixture?
When writing unit tests, I always doubt whether I should put preconditions into the unit test itself (as the "arrange" step) or in a fixture. Is there a difference between the two? When ...
1
vote
2
answers
239
views
Term for time spent to "tame" (adopt) new software, including setup and learning? [closed]
I am writing a review of a small browser extension which is useful. But its benefit comes with considerable costs, which are non-monetary. I would like to express that the sum of time needed to "...
1
vote
1
answer
249
views
Can I get Open Graph Protocol data without behaving as a web scraper?
In general, to get Open Graph protocol (OGP) data for a given web page, one would need to retrieve the actual HTML, and then extract the meta tags from it.
However, this has two problems:
Instead of ...
6
votes
5
answers
3k
views
System Design for low latency reliable online chess game
I want to build a low-latency chess backend (something similar to live chess on chess.com or basically any other online real-time chess), but there are a couple of questions I am unable to get answers ...
3
votes
3
answers
325
views
Uml State Machine - how many final states?
I would like to know how many Final States an UML State Machine diagram can have.
In this OpenCF online book, I read this:
Some models may have more than one initial state or more than one final ...