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
10
votes
5 answers

How do I update localStorage items?

I'm having a problem where the cached object doesn't resemble the correct data so I figured it I can push up the most uptodate version to the browser cache it will solve my problem. How do you update your localStorage with a new object? So if I had…
MaxwellLynn
  • 880
  • 5
  • 23
  • 46
10
votes
5 answers

Synchronize local MySQL databases with a cloud database

I have two databases, one in London and one in Dublin. How can I have a complete view of the data in a cloud database? Assume that the database structure allows me to use multiple locations such that there will be no collisions. EDIT: All the…
Andrei
  • 7,509
  • 7
  • 32
  • 63
10
votes
2 answers

How to create a local user group (in C#)

I'm looking for a way how to programmatically create a local user group. I found plenty of examples on how to query and add users but nothing I can understand about how to create a new group. var dirEntry = new DirectoryEntry( …
The Diamond Z
  • 319
  • 3
  • 10
10
votes
3 answers

How to set local environment in Laravel 4

I just want to set the local environment into Laravel 4. In bootstrap/start.php I have: $env = $app->detectEnvironment(array( 'local' => ['laravel.dev', ''], )); I tried change local to development index in array, but nothing works. I tried…
Godô
  • 113
  • 1
  • 1
  • 7
10
votes
1 answer

Load local html file in webview android

I am trying to load the contents of a html file in a webview in android. However, it gives me the "Webpage not available error". If I try websites such as google or yahoo, they work. The html file are under src > main > assests > index.html Can…
user782400
  • 1,617
  • 7
  • 30
  • 51
10
votes
5 answers

Amazon SimpleDB for development environment / local installation

Is there a way / tool to simulate Amazon's SimpleDB for the purpose of development? In my quest for above, I found this tool but this is for the Mac OS. Anything that can be installed on Win XP? Needless to say, all SimpleDB APIs need to be…
Kabeer
  • 4,138
  • 7
  • 40
  • 62
10
votes
3 answers

D3 Bar Graph example not working locally

I am very new to D3, and wanted to see how an example would work locally. I copied and pasted the bar graph code to a local file called index.html, and also copied over the data.tsv. For some reason, absolutely nothing is showing up when I open the…
red
  • 177
  • 1
  • 8
10
votes
2 answers

Ajax in Jquery does not work from local file

I created simple html file with simple ajax. index.html:
Harrix
  • 547
  • 3
  • 8
  • 17
10
votes
7 answers

When is memory allocated to local variables in C

As local variables are also called automatic variables, and are supposed to be allocated memory at run time, when function is accessed. int main(){ int a; // declaration return 0; } int main(){ int a[]; // compilation error, array_size…
linuxD
  • 229
  • 1
  • 3
  • 10
10
votes
5 answers

Function calls vs. local variables

I often see functions where other functions are called multiple times instead of storing the result of the function once. i.e (1): void ExampleFunction() { if (TestFunction() > x || TestFunction() < y || TestFunction() == z) { a =…
DanielG
  • 1,217
  • 1
  • 16
  • 37
10
votes
1 answer

jqGrid Subgrid with "local" Data

I'm trying to get my subgrid to work with local data. However, when I click expand, I just get a Loading box like the grid is attempting to pull the data from somewhere. I'm assuming I don't need a subGridUrl since the master grid's datatype is…
FastTrack
  • 8,810
  • 14
  • 57
  • 78
9
votes
3 answers

Can I make a local Standalone JavaScript program?

Possible Duplicate: Can you do Desktop Development using JavaScript? I am very familiar with web-based JavaScript as it relates to html and canvas, but I was wondering if it would be possible to make a complete standalone application using…
QuinnFreedman
  • 2,242
  • 2
  • 25
  • 42
9
votes
4 answers

Database for local storage

I am looking for a database which I can use to store data about certain stock over a number of years. There will probably be a few thousand records. I am writing an application in Java and Clojure which will pull out data from this local database…
adamjmarkham
  • 2,150
  • 2
  • 18
  • 26
9
votes
1 answer

sourcing local javascript in uiwebview ios

------------------NOTICE---------------- Sorry guys, made a stupid mistake, I had found this fix already: https://devforums.apple.com/message/32282 Which works, but didn't realise that the target location had changed in the newer versions of Xcode,…
Jay
  • 902
  • 2
  • 12
  • 27
9
votes
1 answer

Syncing remote database to local?

I'm hoping I can use a shell script that will pull a sql dump down from my production site and into my local database. Ideally, I'd like to be able to run something like this: sync_site example_com example_local Where the first argument is the…
aaron carlino
  • 303
  • 3
  • 7