location

create database with specific data file location in Mysql for one database at runtime

Hi All, Can anyone give any input on how to create database in mysql where it should create its data file at runtime instead of storing it on default location specified in my.cnf. Is there any way for doing this in mysql anyone come across. Thanks in advance. ...

Why is there a difference in memory address of environment variable when running a program.

I write a C program gets in an environment variable's name and print out it's memory address, simply use the getenv() function to do the job. Let's say I wanna have the address location of PATH --> ./test PATH. But when I debug that program in gdb, the memory location of that variable is different. Can you explain in detail why is there ...

How can I get the current location URL of Mozilla browser using C#?

I am facing a problem while developing my Windows application for getting current URL of running Mozilla browser. Is it possible to get active URL of Mozilla browser? ...

Does anyone know whether the Android addProximityAlert on the LocationManager is battery intensive.

I just basically want to add about 20 and sometimes 80 Proximity Alerts with no time expiration with a radius of around 500 meters. Just wondering whether by doing this will suck up the battery real quick? also would it make any difference by reducing the radius? ...

Divide world in four quadrants

If i want to divide world in four quadrants and make regions in these quadrants and wanna find the distance from my location to a point in the region I am standing, how is it possible in iPhone using objective c? Or any other solution possible ...

Does anyone know where I could get free GPS data on certain types of locations for any country

I am currently building a web application server which essential would allow a client application to send it's current location and query on the server for the closet locations of a certain location type, examples of location types would be nearest payphone, nearest restaurant or nearest gas station. Does anyone know where I could get ...

CoreLocation Accuracy Woes

I have a program with a location manager set up like this: self.locationManager = [[CLLocationManager alloc] init]; [locationManager startUpdatingLocation]; locationManager.delegate = self; locationManager.distanceFilter = kCLDistanceFilterNone; locationManager.desiredAccuracy = kCLLocationAccuracyNearestTenMeters; I need the accurac...

Unit testing silverlight where does this live?

Im tring to start unit testing with silverlight and some of the samples online use the following statements EnqueueCallback EnqueueConditional EnqueueTestComplete where do these live? ...

Set Default Location of setup

hi, I need to set a string stored in registry as the default location of a setup file how to do in vb.net (visual studio 2008) Urgent please help me... ...

top.location.replace creates history item in Safari/Chrome

At this point we have a photogallery which uses hashvalues to determine which picture is currently showed to the user, and to support sending the page to a friend and such. Something like: http://url/photos/#photo-4 When we have loaded the corresponding picture after clicking the next or previous button, we change the url according to ...

Where are include files stored - Ubuntu Linux, GCC

So, when we do the following: #include <stdio.h> versus #include "myFile.h" the compiler, GCC in my case, knows where that stdio.h (and even the object file) are located on my hard drive. It just utilizes the files with no interaction from me. I think that on my Ubuntu Linux machine the files are stored at /usr/include/. How does...

stuck on current location - iphone sdk

I'm trying to get the current location using the iphone sdk. Here is the code: http://pastie.org/572062 here is the error on build: Building target “Send2iPhone” of project “Send2iPhone” with configuration “Release” — (2 errors) cd /Users/pswenson/dev/send2iphone/iphone_code/Send2iPhone setenv MACOSX_DEPLOYMENT_TARGET 10....

Getting user's location using Google from .NET code

I want to store a user's current location on an ASP.NET MVC website for the duration of a session. Because I want to use the location server-side, the way I think this should work (maybe other suggestions?) is that when a user first hits the website, I get the location and store it in the session, so on later requests it does not have to...

Capturing URLs within the beforeunload event

When a user navigates away from my page the onBeforeUnload event triggers a confirmation box to be displayed to the user. At this point is there a method by which I can capture the URL that the user is navigating to? ...

How to check the version of OpenMP on Linux

Hi, I wonder how to check the version of OpenMP on a Linux remote machine? I don't know where it is installed either. Thanks and regards! ...

J2ME location API (JSR 179) on non-GPS devices

The Java ME Location API says it supports: Mobile Network based positioning. GPS Short Range Beacons Quite a number of phones support this API (JSR179). However, some phones don't have an inbuilt GPS module, is it still possible to use this API to obtain the phone's current location? ...

How does the Google Maps for Mobile "My Location" feature work?

I've installed the Google Maps Java 2 ME app on my Nokia N73 which supports the Location API (JSR 179), but does not have an in-built GPS sensor. The "My Location" features works correctly, and is able to pinpoint my position within the city. When I tried to access the CellID, LAC and other related data, I got nulls. So how is Maps abl...

Setting window.location.hash to null in Safari 3+ causes it to be set to #

Setting window.location.hash to null in Safari 3+ causes it to be set to #, e.g. window.location.hash = '#foo' => #foo But, window.location.hash = null => # Same occurs if you set it to an empty string instead of null. Behavior definitely occurs in Safari 3 + 4, and does not occur in FF 3 or 4. Any workarounds for this? Gran...

Javascript to determine where the user is on the page.

When you view a long thread in gmail a div appears at the bottom of the screen showing the name of the author of the next message. As you scroll and view more messages this div gets updated, always with the name of the author of the message which is after the message you are viewing. How do you think this feature is implemented? I have...

Location Aware Proxy Application

Anyone know application like network location(mac) for linux,windows.If not i am thinking of developing one for windows or linux.Application knows the location of user home,office etc.. then configure proxy according to the location its a handy tool actually.Any idea how to start that? ...