Questions tagged [environment]

43 questions
41
votes
16 answers

What justifies the use of an IDE versus a standard editor?

I find myself using my text editor of choice (vim, nano, gedit, pick your poison) much more often than any IDE as of late. After noticing my ide shortcuts getting dusty I started to think about this and wonder: what justifies use of an IDE for you…
Chris
  • 5,643
  • 3
  • 29
  • 39
29
votes
5 answers

Whats the difference between staging and UAT environments?

I know we should have at least 3 different environments while developing a solution: Development: The programmers are free to change and push changes any time in order to quickly test their code and integrate with other changes, without the fear of…
Machado
  • 4,130
20
votes
7 answers

Manager wants a combined development & production environment

I work in a small programming team supporting a larger organisation. This year our manager has decided we are going to use Oracle Apex technologies to handle the vast majority of our company data. This would be ok, except we only have one Apex…
12
votes
2 answers

Should there be a "data hygiene" index for software - to indicate how clean the program is? not leaving temp files, etc

Should there be a "data hygiene" index for software - to indicate how clean the program is? not creating unused temp files, registry entries, environment variables, etc. For example, look in your users folder in Windows, you'll see all manner of…
10
votes
1 answer

Dependency promotion strategies: siloed or orchestrated?

We have a lot of apps and web services (some public facing products, some internal and part of a private "backend") that are interdependent on one another. Each one of these components has 4 environments (clusters of servers/nodes serving specific…
9
votes
6 answers

Should a package manager modify your .bashrc file?

I am writing a package for something that requires an environment variable to be set in order to execute properly. Should the install step of a package manager modify a user's environment, or simply prompt the user to do so themselves? My…
David Cowden
  • 2,903
5
votes
3 answers

How do I decide whether an option belongs in an environment variable, command-line option, or both?

I am working on an executable program - an application or utility. At some point, I want to introduce a new option (to be considered at run-time rather than build-time); the option may be boolean, having a yes/no, on/off semantic; or it may have…
einpoklum
  • 2,752
5
votes
0 answers

What are best practices for deploying different configurations per environment in Kubernetes/OpenShift?

Kubernetes provides a very elegant mechanism for managing configuration for pods using ConfigMaps. What's not clear from the documentation is what the recommended practice is for using ConfigMaps to manage different configurations for different…
5
votes
4 answers

What are "orthogonal" environment variables? [12-factor app]

I was reading the 12-factor app while thinking about the design of a personal project. I like a lot of what I read, but the following paragraph confused me: In a twelve-factor app, env vars are granular controls, each fully orthogonal to other env…
apnorton
  • 389
5
votes
2 answers

Scalability of using environment variables

I just moved into the Ruby on Rails world and with it I am being introduced to much more liberal use of environment variables than what I have been exposed to in the past. Specifically, it appears like there's an accepted convention to store third…
4
votes
1 answer

How to organize projects in AWS?

In our team, we are using AWS as our main cloud provider and currently, we have 3 projects hosted on their platform. We are about to have 2 more projects in the next weeks, but first, we want to organize our projects, because our current…
4
votes
2 answers

Should program behavior be modified using a config file or environmental variables?

I'm referring to *nix command line applications primarily, where you want to permanently modify the behavior from defaults. Environmental variables are easily understood and implemented, usually requiring the user to modify their ~/.bashrc for a…
wting
  • 1,044
  • 2
  • 9
  • 12
3
votes
1 answer

How to manage working directory in interactive development environments like Jupyter Notebook?

I'm having trouble with managing the working directory in Jupyter Notebook. For example, I have a .py script that requires me to change the working directory to its directory to run it properly. I've tried two approaches, but both have…
newbie
  • 47
  • 1
  • 4
3
votes
2 answers

Environment configuration vs domain detection

We are developing an angular 5 application that must run in different environments (dev, qa, int, uat, prod), and connect to different APIs depending on the environment. We have traditionally have only 4 environments and we have a environment file…
3
votes
1 answer

Having Staging and Production environments with different network virtualization

Current Setup We have a staging environment which used NFV (be precious NSX) to configure the network (Software load balancer and software firewall) The Production environment has used the traditional networking techniques (hardware load balancer…
saji159
  • 141
1
2 3