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
7
votes
3 answers

Webdriver get Item From Local Storage

I'm trying to get an item from local storage using Selenium Webdriver. I followed this site but when I run my code I get NullPointerException. When I debug the code I see the function: getItemFromLocalStorage returns NULL for some reason. Here is my…
John
  • 73
  • 1
  • 1
  • 5
7
votes
1 answer

Using DbSet.Local Property in Entity Framework

Following MSDN documentation we can use Local property to get local/cached data directly from the context without additional requests to a data source: Gets an ObservableCollection that represents a local view of all Added, Unchanged, and Modified…
Kryszal
  • 1,663
  • 14
  • 20
7
votes
3 answers

How to make changes that only i can see?

For example Id like to modify the login page, so it auto-logs me. I want those changes to ONLY work on my development station and dont be visible in push. if I make it on a branch than i would have to somehow un-merge that change before every…
IAdapter
  • 62,595
  • 73
  • 179
  • 242
7
votes
5 answers

Why are interfaces static?

Why can I not have a interface inside of a inner class? Why are they inherently static? Sorry if it's a stupid question, I've tried my best to google this again and again but I can't seem to wrap it around my head. As in why cannot I declare these…
nhooyr
  • 1,104
  • 1
  • 13
  • 31
7
votes
3 answers

Is it possible to embed a local web server into phonegap project?

I need to build an offline Phonegap app. However, all of my js functions need a web server to run well. Is it possible to embed a local web server into phpnegap project?
Vong Tình
  • 71
  • 1
  • 1
  • 4
7
votes
2 answers

How to send local notification android when app is closed?

I'd like to know if it's possible to send a local notification to the device when the app have been opened then closed. It works already when my app is opened and when it's in the background. Thanks Edit : I think i wasn't clear enough: I want to…
Ozymandias
  • 89
  • 1
  • 1
  • 6
7
votes
6 answers

Duplicate local variable(For Loops)

I'm trying to solve an assignment (I'm still very new to Java) and have combed through many resources to solve this conflict but still can't quite work it out.(NOTE: Tuna is my Scanner variable) int counted, sum, counted1; …
user3744056
  • 77
  • 1
  • 8
7
votes
0 answers

How to use cocoapods locally?

I tried to use cocoa pods locally but it failed with an error. I installed a local repo called MyPods and didn't have problems with that. I did $ pod repo add MyPods file://localhost/Users/colas/MyDeveloper/MyPods/. Then, I added in MyPod a…
Colas
  • 3,473
  • 4
  • 29
  • 68
7
votes
1 answer

Local virtual hosts pointing to the same directory

I have been getting lost amidst forum posts on this issue. 1) I have MAMP (not Pro) Installed 2) My Apache port is set to 8888 3) My Document Root in preferences is set-up to /Users/usr/Sites I want to set-up multiple local subdomains…
HGB
  • 2,157
  • 8
  • 43
  • 74
7
votes
1 answer

POS: get a website to print directly to a defined local printer/s

I have a website which runs a box office service which issues tickets and reports. I am trying to figure out how to get tickets (currently PDFs) sent directly to a specified printer on a local/client PC. I have followed many old/dead/useless links…
lxsparks
  • 83
  • 1
  • 1
  • 5
7
votes
6 answers

Local Currency Payments / breaking change not working / error_code: 1353028

I have some apps with the actual/old payment running. works fine. Company registered etc. all fine and working for a year or so. Now I am migrating to the new, open Graph object driven, system. Totally not working. the creation and registration of…
Y Rick Off
  • 71
  • 3
7
votes
5 answers

local inverse of a neural network

I have a neural network with N input nodes and N output nodes, and possibly multiple hidden layers and recurrences in it but let's forget about those first. The goal of the neural network is to learn an N-dimensional variable Y*, given N-dimensional…
user2118903
  • 401
  • 1
  • 4
  • 8
7
votes
2 answers

Is it possible to upload only the first 10 rows of a CSV file using MySQL - LOAD DATA LOCAL INFILE?

Is it possible to only upload the first 10 rows of a CSV file using MySQL - LOAD DATA LOCAL INFILE? I tried using LIMIT but it’s not working. Here is my PHP script: $sql = "LOAD DATA LOCAL INFILE '".@mysql_escape_string($this->file_name). …
sai
  • 95
  • 1
  • 7
7
votes
1 answer

Playing local video in WebView on Android

I'm building an app with a WebView thats supposed to play a video, that's saved locally. Strangely the video player is not working with local video files. It does play videos saved on a server though. The local files (html and video) are saved in a…
taymless
  • 779
  • 2
  • 9
  • 24
7
votes
1 answer

List devices on local network with ping

I'm trying to create a function that lists all connected devices on a local network. What I do is to ping any address from addresspace x.x.x.0 to x.x.x.255, but it doesn't seem to work properly. Could anyone explain or extend my code somehow? I do…
rtc11
  • 747
  • 8
  • 23