|
I'm actually building the url for the web request replacing spaces with "+".
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I just tried it with spaces, and it does the same thing - the right house number and state, but otherwise, the wrong address. Thus all of the other info in the json response is also incorrect.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Unlucky, but for me Singapore is a tiny place, 25 miles in most directions would be in the sea so perhaps they try a bit harder here. Maybe they figure in larger (proper) countries 25 miles is still close enough for many purposes (dropping nukes comes to mind.)
But seriously, commas perhaps? When you type your address in the google maps web page it'll normally fill out the url in the address bar with they way it likes it formatted (i.e. try cutting and pasting the google maps web page result url into the request.)
Installing Signature...
Do not switch off your computer.
|
|
|
|
|
I just tried the White House, and it found that address correctly.
However, when I enter my neighbor's house, I get the same error.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
> no idea how long
That's a good one. Back before I blocked Google, I was testing out their Google Voice before it was even released, it was in beta. I was one of the first users.
Had a MAJOR problem with it. That was around 10 years ago I think. They still haven't answered me. I still can't access the account, and every few months I get a notification that some fake burglar alarm company is "installing security systems in my neighborhood".
Losers.
Now I just block Google. Problem solved.
|
|
|
|
|
John Simmons / outlaw programmer wrote:
Instead of working on their new electronic utopia...
Given that "utopia" means "nowhere", I'd say it's working as designed.
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|
Hahaha, and to think Musk is afraid of AI
I used Google Translate to translate "Puten" (some bird) into Dutch, and it came back as "Turkije", a country - not as "Kalkoen", which would have been a bird, and not a country. The AI is as intelligent as a free database that looks up literal translations.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Well, you'd think that there are very few ways to interpret an address. I need to get the gps coords for a given address, and that become pointless when the gps coords are 25 miles off the mark.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
X marks the spot, somewhere within a 25 mile radius. And some French dude going "WTF is a mile?"
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
John Simmons / outlaw programmer wrote: Instead of working on their new electronic utopia, maybe they should consider fixing their services...
Nah, anything from Google that gets enough complaints, gets cancelled.
|
|
|
|
|
Last week I was writing and testing my Single Page App on multiple platforms and browsers:
* Android h/w (Lollipop) running Chrome -- My phone
* Android emulated (Nougat) running Chrome -- worked as expected
* Android Lollipop emulated running default browser
* Kindle Fire tablet h/w running (default) Silk browser -- intermittently flaky
* iPad Mini h/w running Safari -- worked perfectly
* iPhone emulated on Mac Mini running Safari -- worked perfectly
* Current desktop FireFox -- always worked
* Current desktop Chrome -- always worked
* Current desktop Edge -- always worked
At various times I was successful in getting it to run on various platforms and browsers.
The main issue was that The Desktop Browsers always worked as expected. It was a trick.
I also found that Safari browsers always seemed to work.
However, I could never get it to work on my phone running lollipop and Chrome.
It was driving me crazy.
Reload JS
You know, even on a dekstop browser you can do a force refresh 10 times and the underlying changed JS file doesn't actually refresh. Instead you have to load the JS directly and refresh it to get it to refresh. Sheesh.
Cache?
I always thought it was browser cache not showing me the current javascript and I was often correct.
However, testing this on a phone is a pain. I would go directly to the .js file via the browser on the phone and could see that the JS had not updated. I would do a refresh and could only assume the main page using the JS had updated. However, I later learned it was running a previous version.
This went on for days.
It is all so painful.
9 Year Old Post
I read this 9 year old post about this issue, which provides a way to handle this:
caching - When does browser automatically clear cache of external JavaScript file? - Stack Overflow[^]
But, even on that post on accepted answer someone says:
commentor said This isn't bulletproof though, some proxy servers include query parameters as a part of the cache. The best solution is to add the timestamp or the version to the file name. On my site, I generate a 7 digit checksum of the file at build time, so if anything changes in the file a new checksum is generated, the file is renamed, and thus the browser knows to download the updated file.
Wow...just wow.
Testing on various browsers (especially mobile) is terrible.
|
|
|
|
|
I see JavaScript as a life sentence for those who are too dumb to understand a pointer.
Edit: That also means that there is hope for the rest!
I have lived with several Zen masters - all of them were cats.
|
|
|
|
|
CodeWraith wrote: JavaScript as a life sentence
Yeah, I originally started in C/C++ also and I will always have a fondness for those languages.
The Browser is The OS now though.
And, in this case, it is really the challenges of the browser itself -- since it does the caching -- and not really JavaScript's fault this time. But, I do like making JavaScript the scapegoat.
|
|
|
|
|
Ok, then browsers, HTML and JavaScript and PHP are deserved punishment for sins one has commited in another life.
I have lived with several Zen masters - all of them were cats.
|
|
|
|
|
CodeWraith wrote: browsers, HTML and JavaScript
And, yet, without them, you wouldn't have been able to post this message.
The irony! The paradox!
|
|
|
|
|
Really? I write native clients wherever I can. Actually, they are not native at all. They run anywhere we have a .Net framework.
I have lived with several Zen masters - all of them were cats.
|
|
|
|
|
CodeWraith wrote: Really? I write native clients
Have you done a "view source" on this CP page? That's what I mean.
CP is browser-based HTML, JS, etc. Mine was a poorly executed joke.
|
|
|
|
|
Funeral will be held tomorrow morning at 8:00, 8:05, 8:10 and 8:15!
Getting my coat already, calm down!
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
I credit my snooze alarm with my amazing ability to easily add 9 to any value in my head.
|
|
|
|
|
Wow! 5 minute snoozes. My alarm only does 15 minutes. How is he supposed to get any final rest?
|
|
|
|
|
Snooze is actually every nine minutes. If you're gonna try to be funny, use technically correct values so programmers don't get distracted by requirements and use cases.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
My clock can be set to 5 and 10 minutes snooze intervals. I've never figured out the reason for the 9 minutes...
And how can you accuse me of trying to be funny when some poor bloke has just died?
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
You can google it, but I'll tell you.
Back in the 50's when "snooze" was invented, clocks had already long been standardized in terms of internal gears. To avoid significant redesign of pretty much every alarm clock on the planet, manufacturers could choose between just over nine minutes, or just over ten minutes. Someone somewhere did a study that found that snoozing for 10 minutes was enough time to fall back into a deeper sleep, so they chose nine minutes, assuming it would be a more pleasurable experience.
Nowadays, digital clocks can have their snooze time adjusted (like on the iPad, or your cel phone, for instance), but their default snooze times are still nine minutes.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Johnny J. wrote: I've never figured out the reason for the 9 minutes...
Apparently...
|
|
|
|
|
Unguided missiles such as Ed Shaver, E.G. Horn and Uba Laya perhaps. (16, 2 words)
98.4% of statistics are made up on the spot.
modified 23-Oct-17 10:49am.
|
|
|
|