address

Is there common street addresses database design for all addresses of the world?

I am a programmer and to be honest don't know street address structures of the world, just how in my country is structured :) so which is the best and common database design for storing street addresses? It should be so simple to use, fast to query and dynamic to store all street addresses of the world which is identifying just by one i...

iphone safari http address word break

Hi, is there a way to "word break" a long http address in iphone safari? Currently with a long http address: i.e. h t t p://long/website/address/to/be/displayed/on/iphone/safari safari will render it in one line, thus affecting the page and the other contents where user has to scroll horizontally now. is there a way for safari to dis...

General Address Parser for Freeform Text

We have a program that displays map data (think Google Maps, but with much more interactivity and custom layers for our clients). We allow navigation via a set of combo boxes that prefill certain fields with a bunch of data (ie: Country: Canada, the Province field is filled in. Select Ontario, and a list of Counties/Regions is filled i...

How can I programmatically get the MAC address of an iPhone 3G S?

This question has an answer, but it only works on the old iPhone and iPod touch. On the iPhone 3G S, it gives me "00:00:00:00:00:70", which is incorrect. ...

WCF: Debugging service through Terminal Services.

Hello, I'm part of a distributed development team. We all work through terminal services, accessing a remote server where our applications are located. We're working on a project in which a client application consumes a WCF service, which exposes all the business logic functionality. In our development process, a developer is often ask...

Print the Address a Pointer Contains in C

I want to do something that seems fairly simple... I get results but the problem is, I have no way to know if the results are correct. I'm working in C and I have two pointers; I want to print the contents of the pointer. I don't want to dereference the pointer to get the value pointed at, I just want the address that the pointer has st...

Best way to split an address line into two fields

We are developing a c# application that imports address-data into a CRM-system. The CSV-file contains an address-column like 'Somethingstreet 34'. Our CRM however uses two different fields for the streetname and the housenumber. Of course, in the given example this poses no problem. But our Dutch addressing-system can be a bit of a pain....

Optimizing address routes - web-based

We are trying to better understand how to set up MapPoint (or another map application) to optimize delivery routes for us. We have the ability to push lists of delivery addresses from our .NET system but need some simple options for the drivers to select a starting point address and to be able to reorder the addresses visually if necessa...

Need regular expression to parse address

Can anyone help me convert the following string ("D/6, 3RD FLOOR B- WING HANS CO-OPERATIVE SOCIETY DAWOOD BAGH J.P. ROAD CROSS ANDHERI WEST MUMBAI-400058") into the below string with (,) to start with new line using C# and asp .net. D/6, 3RD FLOOR B- WING, HANS CO-OPERATIVE SOCIETY, DAWOOD BAGH, J.P. ROAD CROSS, ANDHERI WEST, MUMBAI-40...

Why does Windows reserve 1Gb (or 2 Gb) for its system address space?

Hi; It's a known fact that Windows applications usually have 2Gb of private addess space on a 32bit system. This space can be extended to 3Gb with the /3Gb switch. The operating system reserves itself the remaining of the 4Gb. My question is WHY? Code running in kernel mode (ie device driver code) has its own address space. Why, on t...

Picking the most accurate geocode

I'm using http://maps.google.com/maps/geo? web service to geocode some addresses. The problem I have is that a fuller address doesn't necessarily give a more accurate geocode. e.g passing in Llantysilio, Denbighshire, UK is far more accurate than Llantysilio, Llangollen, Denbighshire, UK The Accuracy attribute in the XML doesn't seem ...

delphi pointer address

In Delphi: How do I get the address (0x2384293) a pointer points to? var iValue := Integer; iptrValue := PInteger; implementation procedure TForm1.Button1Click(Sender: TObject); begin iptrValue := @iValue; iValue := 32342; //Should return the same value: Edit1.Text := GetAddressOf(iptrValue); Edit2.Text := GetAddressOf(...

Is an autocomplete text box for entering addresses a good idea?

Entering my address via a traditional form drives me crazy: Why do I have to enter my city, state, and zip code when my city and state can be inferred from my zip code? Choosing your state from a dropdown list is a pain in the ass -- often you can't tab into it, you have to use the mouse, etc. Because I find this process so repulsi...

How to read a call stack?

We have a native C++ application running via COM+ on a windows 2003 server. I've recently noticed from the event viewer that its throwing exceptions, specifically the C0000005 exception, which, according to http://blogs.msdn.com/calvin_hsia/archive/2004/06/30/170344.aspx means that the process is trying to write to memory not within its ...

How do I get an address in C?

There is probably a really simple answer to this but I just can't see it. #include <stdio.h> int main(void) { int x = 0; printf("\n%d\n%d\n",x,&x); } Okay, so the printf gives 0 (x) and 2293752 (&x). I am trying to figure out a way to look at any address (&) and see what is already stored there. This is just for experimentation. Any ...

What is the Royal Mail's PAF Address Database?

Hi, I'm struggling to understand what you would get from the Royal Mail if you bought their PAF file dataset of UK addresses. I was expecting that PAF was some form of database which you would host yourself, and the Royal Mail provide APIs into that database. However, after reading this, I'm presuming that all you get is a series of f...

address validation in java script

Hi Iam new to j query can any one let me know if there is a way to declare a jQuery.validator.addMethod function and write the java script inside this jquery validator for validating address where it should not take "PO BOX", "PO BIN", "BIN", "P.O BOX", "P.O BIN", "P.O", "PO" the above values can be in any case spaces before, in bet...

Mailing Address tokenization/elementization to individual components (street, city, etc.)

I need to parse international addresses to its individual components (street, city, etc.). After some reasonable survey, I found that HMMs/CRFs are the way to go. Has anybody had any success using open source implementation of HMMs or CRFs for the address tokenization problem. If yes, what are they? Also, do any implementations provide...

Best way to input mailing/property address?

I'm looking for thoughts on two different ways of entering a property address (i.e. the address of house or business, not an e-mail address) on a web site. What are the pros and cons of separate fields versus a single flexible multi-line entry field? Or multi-line with a separate postal code entry? Most sites use separate fields and, pr...

Iphone: NSInvocation changes references of arguments?

I'm trying to set up an NSinvocation to upload a picture to a website. I'm doing this: Set up the nsinvocation object Add a UIImage* to the nsinvocation object as an argument, along with some other arguments invoke the nsinvocation when needed the function called when I invoke nsinvocation can't access the UIImage- I get NSInvalidArgu...