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

qml local import: either highlited, or works

I had problem when I tried to import local directory qml files( they are in the another prefix in qml.qrc) import QtQuick 2.0 import QtQuick.Controls 1.3 import QtQuick.Dialogs 1.2 import "Components" //import…
IlnurIbat
  • 83
  • 8
1
vote
1 answer

Javascript scope variable (global/local)

I want to use a local variable as a global variable and I was told the way to do so is to create the variable outside the function, like this: var foo = null; function bar() { foo = 3; } …
SimeriaIonut
  • 516
  • 2
  • 11
  • 20
1
vote
1 answer

Limit on POST request, 65KB image max

Situation I'm trying to load an image into a php script through POST request. Problem The post action only works when the image is smaller than a size between 65.151 and 65.686 bytes. (I haven't figured out what the exact limit of bytes is that it…
1
vote
1 answer

A Virtual Local Network Time Protocol?

We have a simulation project that has several federates communicating through HLA. We have our simulation time (HH:MM:SS), which is different than the real world OS time. We aim to display this simulation time on a lot of NTP wall clocks, each for a…
1
vote
1 answer

Ionic: Trouble saving/loading data from local storage

I'm trying to save data which the application gets from a http.get request and load it the next time the user opens the application without the device connected to the internet. My data loads fine from the Http.get request but isn't saving or…
smither123
  • 357
  • 3
  • 6
  • 21
1
vote
1 answer

How to run user defined pod correctly in Kubernetes?

I'm new to Kubernetes. I installed it on my local Ubuntu 14.04 machine. I want to run nginx server and I want see it in my browser. I'm following this section. It's saying However you cannot view the nginx start page on localhost. To verify that…
gangadhars
  • 2,584
  • 7
  • 41
  • 68
1
vote
0 answers

local development for euclid the game

I am trying to do some local development for http://euclidthegame.com/ I forked the project from github https://github.com/kasperpeulen/euclidthegame, and cloned it onto my local computer - running windows 7. When I tried to load the index.html page…
miriest
  • 11
  • 1
1
vote
1 answer

Where are the local variables of an Android app stored?

The Dalvik Virtual Machine (DVM) has a register-based architecture, as opposed to the Java Virtual Machine (JVM) which is stack-based. So I assume that the local variables of an Android app are stored in the registers. Am I correct? If not, please…
Monica Marcus
  • 187
  • 2
  • 10
1
vote
1 answer

Unable to use library functions using unhosted javascript libraries

I am trying to run Example 01 of pixijs (you have to scroll all the way down): http://www.pixijs.com/examples/ When I run it with my local copy of pixi.js all I get is a black square. But when I run it with the web copy of pixi.js it only renders…
1
vote
0 answers

Read file from local PC from network deployed app to InputStream

I am attempting to read a file from a local PC via a network deployed application. I keep receiving FileNotFoundException. I am using hadoop FileSystem. I want to send to an InputStream. InputStream inputStream = null; FileSystem fileSystem =…
jessemcc
  • 11
  • 2
1
vote
2 answers

SQL Server CE Local Application issues

I'm here for a trouble with SQL Server CE in a C# application. This is a really simple question, at first I was trying to do an INSERT into a table, but it didn't do it, so I searched and the solution was to put the literal string to connect to the…
Osukaa
  • 708
  • 3
  • 10
  • 22
1
vote
1 answer

Phonegap -how to use plugins when building locally

I am using the latest version of Phonegap and I am trying to include some plugins in my application. I have installed the plugins via cli and they appear in my plugins folder. However, even after referencing them in the config.xml I cannot get them…
1
vote
1 answer

Setting up catchall email for testing purposes

Is there a way to set up test email server that would have catchall mail, without actual owned domain (e.g some fake domain)? If so, can someone write it how I would like to have such server for testing purposes, because I don't want to use real…
Andrius
  • 19,658
  • 37
  • 143
  • 243
1
vote
2 answers

Python: access variable in a function in another file

I have two files: lib.py global var def test(): var = "Hello!" return test.py from lib import * test() print(var) But despite having them in the same folder, when I run test.py, I get the following error: Traceback (most recent call…
user2015567
  • 13
  • 1
  • 1
  • 3
1
vote
1 answer

Convert local coordinates to scene coordinates in SceneKit

I have a node attached to a node and I want to convert it's coordinates to coordinates of scene. I really don't know how to do that. I've been searching on Apple's documentation and I haven't found a method that fits my need. Any suggestions?
Alec Firtulescu
  • 543
  • 6
  • 18