Questions tagged [environments]

An Environment consist of the server, operating system, settings and software that a program runs in. It can also refer to a software development setup where software is created.

Execution Environment

Execution environments are generally grouped into three major categories:

Software Development

  • A is an integrated set of programming tools such as compilers, usually centered around a text editor.
  • A is an environment set up to compile groups of code together in a controlled environment with specific settings to product a software product.
70 questions
3
votes
3 answers

Setting Environment for Testing and Production

I'm developing a system in CakePHP, using Git as the version control system. I have a working copy in my testing server and another in my production server, both with different databases. Everytime I make changes, I have to change the database…
Julio Greff
  • 135
  • 9
3
votes
2 answers

Binding values from function to global environment in R

I'm having trouble understanding how to bind values from within a function to an environment outside of the function. A basic example is shown below, I cannot seem to solve the last part of the function: number <- data.frame() how_many_fruits <-…
jim mako
  • 541
  • 2
  • 9
  • 28
3
votes
1 answer

NuGet Server for multiple environments?

I was looking into setting up a NuGet Server for a private feed, which seems easy enough (there is a step-by-step guide). The problem I foresee is that it doesn't look like it is made to support multiple environments. Is there built-in functionally…
michael
  • 14,844
  • 28
  • 89
  • 177
3
votes
2 answers

Symfony environments and debug bar

I am new to Symfony. Been doing some tests (Symfony 2.0.13 with php5.3.8 in WAMP2.2) and reading the documentation but I am kind of confused with environments. When I go to LOCALHOST/Symfony/web/app_dev.php/demo/hello/Foo (app_dev means development…
Miguel Martín
  • 31
  • 1
  • 1
  • 5
2
votes
2 answers

Deploying a website to multiple environments with git

Currently I deploy a project to production with git, using git push production master to a repository with the following post-receive hook: #!/bin/bash GIT_WORK_TREE=/home/username/www.example.com/myproject/ git checkout -f production is a remote,…
dipnlik
  • 378
  • 4
  • 13
2
votes
2 answers

Problems installing and importing pytorch

It's taken me hours trying to install pytorch using an anaconda environment. It appears that I've finally managed it using conda install filename.tar.bz2: (pytorch) C:\Users\conner\aipND\img_classifier_project>conda list # packages in environment at…
Conner M.
  • 1,954
  • 3
  • 19
  • 29
2
votes
1 answer

How do I setup a default committer different from my default author on git?

I'd like to have a default Committer that's different from my default Author, as I want to differentiate commits made from my local env and those from testing env. How do I do that?
igorsantos07
  • 4,456
  • 5
  • 43
  • 62
2
votes
0 answers

python.exe running slower is custom Anaconda environment

Can't find anyone else having the same problem as me online so here we go. I have Anaconda installed at work on my C: drive, but for certain reasons I now need to setup an environment on a shared network drive. To do this I ran the following in…
2
votes
0 answers

Making saveRDS() work for globalenv()

I would like to save an arbitrary environment with saveRDS(). Whether global or custom, I was hoping saveRDS() would have the same behavior. However, the global environment seems like a special case. ls() ## [1] "dl" "gwd" "ld" "td" # Helpers…
landau
  • 5,636
  • 1
  • 22
  • 50
2
votes
1 answer

Force R function call to be self-sufficient

I'm looking for a way to call a function that is not influenced by other objects in .GlobalEnv. Take a look at the two functions below: y = 3 f1 = function(x) x+y f2 = function(x) { library(dplyr) x %>% mutate(area = Sepal.Length…
Michael Schubert
  • 2,726
  • 4
  • 27
  • 49
2
votes
0 answers

Nested call of ggplot fails to generate plot, except when plot call comes last

I have a function: MakeTxHistogram <-function(d,x,plot.labels) { print(dim(d)) ggplot(data=d) + geom_histogram(aes_string(x=x,y="..density..",fill="var1")) + scale_x_log10() + facet_grid( var1~ var2 ) + …
Isaac
  • 101
  • 6
2
votes
3 answers

creating a wordpress dev enviornment and uploading to production

I am an old school java developer who is considering a using wordpress. I'm used to developing locally on my PC (yeah yeah not even a mac) and then ftping my files up to a production environment on a remote server. My high level review of wordpress…
Jeff
  • 31
  • 4
1
vote
3 answers

Best way to distinguish environment in MVC3?

I am using MVC3, and I am wondering what is the best way to distinguish your environment? For instance I am thinking of adding a key to appSettings and referencing it, however in MVC3 is there a better way? I am working on 3 environments:…
Darren
  • 10,631
  • 8
  • 42
  • 64
1
vote
1 answer

Different backend endpoints in APIs depending on Products in Azure API Management

I'm an absolute newbie in Azure API Management and I have a doubt regarding how to manage Products and APIs. Let's imagine this scenario: I create 3 diferent Products: One for representing my Development environment (DEV), the second one for…
1
vote
1 answer

Error in assign(name, value, envir = attr(static, ".env")) : use of NULL environment is defunct

I got the following error: Error in assign(name, value, envir = attr(static, ".env")) : use of NULL environment is defunct while running such code location<-strona %>% html_nodes(".text-nowrap.hidden-xs") %>% html_text() Do you have understanding…
M_D
  • 287
  • 3
  • 13