Questions tagged [configuration]
Configuration is an arrangement of functional units according to their nature, number, and chief characteristics.
210 questions
2votes
3answers
146views
Handling user strategy choice over many strategy patterns
I’m building a framework with many parallel implementations of strategy patterns, and I want to know the best way to handle the user’s choice of the set of strategies. E.g. I want to calculate the ...
0votes
2answers
193views
How to implement a server application that can reload configuration without restart
I have a game server implemented in Python to which clients can connect and play against each other. I'd like to be able to reload configuration from a config file without restarting the server (as ...
0votes
1answer
124views
Feasibility of using different java version for different project with different compatibility properties
I have multiple Flutter Android app projects that have different compatibilities of Java. Now, what should I do if I am developing more than one project simultaneously? If the first one uses Java 17, ...
2votes
2answers
979views
How can I manage validation logic for 150+ screens with unique business rules across microservices?
Currently, I'm working on an application with a microservice architecture. Each screen may corresponds to a separate microservice, and each screen has its own unique validation logic. Some screens ...
1vote
5answers
817views
Should you test configuration?
There's a (mis)conception that you don't have to test configuration But what if your configuration is in the form of runnable code? What if it's not just static values? I wrote an abstraction for ...
5votes
6answers
1kviews
What are the benefits of configuration languages over just using the source language?
TL;DR why do people pick YAML/JSON/ini/TOML/XML/plain text to configure applications/packages instead of having the configuration be defined in source files the application/package is written in? I ...
2votes
1answer
120views
ASP.NET Core configuration system: Isn't the default configuration prone to naming conflicts in environment variables?
I'm trying to wrap my head around the ASP.NET Core Configuration system. If I understand the default configuration correctly, non-prefixed environment variables will override appsettings.json entries. ...
34votes
7answers
6kviews
How can we avoid extremely complex configurations in enterprise software?
This is the situation that I've seen two times in a row already. A company makes software intended to be sold to other companies. So there will be relatively few clients, but each is an important one. ...
0votes
1answer
283views
Effective way to develop software on two machines (PC and Laptop) [duplicate]
When writing code on a desktop pc as well as on a laptop or other computer, is there a general recommended strategy for being able to keep the same environments set up on both machines? I use Git ...
1vote
2answers
490views
Where to put DLL specific settings?
I'm not sure how to manage configuration settings in a C#/.NET environment. For simplicity lets say I have 3 assemblies: My MainApplication is the project being started and containing the business ...
1vote
2answers
245views
Infrequent config set up
There is a string field x, contains value a/b/c/d The order of a/b/c/d is changed infrequently , only once a year or several years. What is the best approach to store this config? Currently , it's ...
35votes
6answers
10kviews
SQL as a means of avoiding "releases"
The system I'm working on started as a small training project within the company I work for but quickly caught interest from management as a means to help to standardize the existing excel-heavy ...
0votes
1answer
564views
How to handle root paths in a custom package?
I am writing a custom python package, which produces some files in a certain directory. This directory I call root_path and should be set by the user. So basically, it should be a conf variable but ...
18votes
5answers
4kviews
What Semantic Version increment to use for a filename change?
I have a program that runs on command-line, let's call it myprogram 1.0.1. It's published on GitHub. Now I discovered that name already exist for a well-know software, so I want to change the name ...
2votes
1answer
160views
The notion of configurable strategies
I'm designing an algorithm that matches entries based on some notion of "proximity" (for the sake of discussion, assume we're matching floats). Furthermore: The input is a scalar and a ...