Questions tagged [local]

A tag for questions about accessing resources local to a given runtime environment or network.

Accessing data on a local network, or accessing files local to the computer can pose unexpected complications, especially when using languages that are not typically used for local resource access.

Additional exceptions, or hardware/firmware considerations, can come into play in these scenarios that are often abstracted away when accessing remote resources.

3710 questions
1
vote
2 answers

Shadowing variables, and accessing them?

I have a code, and I'm having a little problem with it. public class Out { int value = 7; void print() { int value = 9;//how to access this variable class Local { int value = 11; void print() { int value = 13; …
KinGsToN
  • 11
  • 5
1
vote
2 answers

C# - Can't connect to my local DB, using SQLServer

I'm new to C# and I'm trying to connect my application to DB, so I tried this : public ActionResult ConnexionBD(){ SqlConnection cnx; cnx = new SqlConnection("Data Source=C:\\Users\\Antoine\\Documents\\Visual Studio…
Antoine Ravier
  • 63
  • 1
  • 1
  • 9
1
vote
1 answer

local static variable initialization by using global struct address values

My aim is to initialize a local static int variable. I want to initialize my variable with the value that equals to offset value of a struct member. My struct definition struct member{ int ID; char *NAME; int NO; …
Nas Ahmet
  • 53
  • 1
  • 8
1
vote
0 answers

HTML - How to make linked local folders to open in a new window?

I have a page that links a local folder's contents and when i click an item(folder "6") using my computer, it opens in a new window like this: But from another computer, it opens the folder(same folder "6") inside the iframe like this: Is there a…
1
vote
1 answer

How to run spark-master with Eclipse, what am I doing wrong?

What I am trying to accomplish is the following: Have Eclipse run the Spark code Have the master set as "spark://spark-master:7077" The spark-master is set on a virtual machine by going to a sbin directory and executing: sh start-all.sh and…
3xCh1_23
  • 1,491
  • 1
  • 20
  • 39
1
vote
3 answers

Javascript - Where to put Constants, Global or Local?

I'm new to javascript, trying to understand global and local variables. I keep hearing "Avoid global variables". I have a bunch of string variables that are only used in one function, so it I should make them local, right? I never need to change…
CheeseFlavored
  • 1,922
  • 1
  • 21
  • 28
1
vote
0 answers

Determining reason that chrome enterprise-deployed extension will not load

I have a locally sourced enterprise-installed extension which is installed via the ExtensionInstallForcelist policy. The policy is visible on the chrome://policy page with a status of OK. The URL to the update manifest xml file is of the form…
1
vote
1 answer

jQGrid - "jpg1" instead of proper id number

I'm loading local file (I'm parsing csv file into json and then transfer the array to jqGrid). Table generated through jqGrid should allow user to modify, add and delete the data in the grid. Everything seemed to work perfectly until I wanted to add…
rascal90
  • 25
  • 1
  • 5
1
vote
1 answer

How to use an outside built variable in my function in R

I've been struggling for a while with this : I try to use a variable which is built in the global environnement inside my function code. Here is my code : adressbrouillon="C/Data/..." load_all <- function()…
hans glick
  • 2,431
  • 4
  • 25
  • 40
1
vote
0 answers

Pass object from local shiny app to (hosting) local R Session?

Is there a way to send a parameter (interactively set during a shiny session) to the R session that started the shiny session? E.g. # fire up app locally myRunApp() # do something in shiny that defines parameter xy # access xy in R do something with…
Matt Bannert
  • 27,631
  • 38
  • 141
  • 207
1
vote
2 answers

How to get App delegate to display a specific UIViewController after PushNotification

I have a TabBarController as the App entry point. After a receiving Local-Notification, I want to display a specific UIViewController. Depending on the actual App-state (frontmost / not-frontmost, not running), I am able to catch the push…
esvau
  • 744
  • 5
  • 8
1
vote
1 answer

Unable to load assets when testing website localy

I have tested website on my server where everything works fine, its a simple html/css/js based website without any backend functionality, usually I am able to test these without any problems by simply opening pages in browser, however I encountered…
Ilja
  • 44,142
  • 92
  • 275
  • 498
1
vote
2 answers

Local Kibana not Connecting to Local Elasticsearch Server (StreamCorruptedException?)

So I set up Elasticsearch, I have the server running. When I connect to http://localhost:9200/ I get the status message. It is version number 1.4.3. Now I download Kibana 3.1.2. As instruced in the readme, I add the following lines to…
ZirconCode
  • 805
  • 2
  • 10
  • 24
1
vote
0 answers

Android Studio : Can't use install task of maven plugin

In an android studio project, i can't use the install task of the maven plugin to install apk in my local repository. I have added : apply plugin: 'maven' When i display the tasks with ./gradlew tasks, i can see : Upload…
1
vote
1 answer

"missing value where TRUE/FALSE needed" Error in if statement in R

I am trying to count and print the cases in which the values in second and third columns of my dataframe named 'DATA'. But I have "missing value where TRUE/FALSE needed" Error. Could you help me please? How can I write my condition in if statement…
EnginO
  • 321
  • 3
  • 4
  • 8