|
Only if its whiskey flavored water.
Common sense is admitting there is cause and effect and that you can exert some control over what you understand.
|
|
|
|
|
I'm nearly breathless with horror as my heart sunk! How many posts will it take to drown out that remark?
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
You need to get some Phelps for your pun addiction.
modified 23-Oct-17 15:55pm.
|
|
|
|
|
How's this for an idea. Buy a handfull of helium balloons. Buy a roll of fruitbasket shrinkwrap. Buy, if you don't already have one, a heat gun. Take each helium balloon and wrap it in shrink wrap off the roll then without tying off the crimped end at the pinched part of the balloons' end shrink the wrap to conform to the balloon. Now, again for each balloon that is shrinkwrapped-stage-one, rotate the balloon just a tad in the shrinkwrap shell. Take a pin and in an area of pinched skin of the balloon make an itsybitsy hole. Slowly release the balloon skin until the contents, under pressure (so be careful), begins to leak out into the space of the shrinkwrapped shell. Do this until the balloon is limp, extract the limp balloon, pinch the shrinkwrapped-filled-with-helium shell and tie with small length of ... whatnot. Repeat for all remaining shrinkwrap primordia. Reattach leash(es). Walk like dandy down the lane.
Much more resilient set of party balloons and, imho, user-added value ...
|
|
|
|
|
I have to reinstall windows (7) on my machine at home today because over the last couple of months, I have managed to completely screw up my VS2013 install and nothing I've tried has had a positive effect on it (if anything, it's worse than when I started trying to fix it).
I spent most of the day yesterday making sure I had my file ducks in a row because I'm moving 1tb of data to a new 3TB drive, and repartitioning the drive that data used to be on (this took about 8 hours).
When noting apps that were installed, I was surprised at how little additional software I was actually using.
".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
|
|
|
|
|
well if you're doing that grab a SSD and install onto that,
(even if it's just a 256/512 for the OS)
seems to be a lot of specials going around,
you wont be sorry.
Installing Signature...
Do not switch off your computer.
|
|
|
|
|
Nope - I need at least a 300gb drive to install the OS and all the software, and we're talking anywhere from $150 and up for a SSD. in that size range. Given my need to "plan for the future", I would want to get at least a 500gb drive, and most of those start at/above $200.
In comparison, a 1tb analog drive only costs $50. I'll stick with the old stuff, thank you.
".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
|
|
|
|
|
A quick search found 500 gm ssd - Google Search[^] the price about 3/4 that - but even in that case, I would also opt for something like a WD Black 1TB as my primary drive.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
I was trying to use the Maps Geocode API, and specified my home address. When I got the json results back, only the house number and state were correct, but the rest of the address (street name, city, and zip code) was borked (resulting in about about 25 miles in deviation).
However, if I enter the address in google maps, it correctly locates my house.
I submitted "feedback", but I have no idea how long it's gonna take for them to fix it, or how they'll notify me when the issue is addressed.
Instead of working on their new electronic utopia, maybe they should consider fixing their services...
".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
|
|
|
|
|
John Simmons / outlaw programmer wrote: when the issue is addressed.
Loving the double meaning here...more than I probably should.
|
|
|
|
|
I was afraid I was being too subtle. I'm happy that someone picked up on it.
".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
|
|
|
|
|
you do have to be very exact and avoid abbreviations (i.e. use street, not st)
it does no no auto corrections i.e. "wshington"->"washington"
ans coz it can't any suggestions feedback and just takes the first best-fit guess on the first word.
Lucky for us here in tiny singapore every building has a unique postcode, so using just the postcode always works
using a street style address almost always problematic.
Installing Signature...
Do not switch off your computer.
|
|
|
|
|
I tried every variation of "Drive" in the street name I could think of (including not specifying "Drive" at all).
Google maps also didn't care how I spelled "drive" in the street address. It ALWAYS found my house.
".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
|
|
|
|
|
oh, didn't see the "geocode".
been a while since I did that.
quick notes )looking at some old code)
replace the spaces in the address with %20
the answers come back as decimal strings (not d.mmss) so for ex 1 degree 30 min would be 1.50000
sometimes it adds extra lat & lon results (POI's?? alternate similar?) - be sure to use FirstOrDefault quick snippet (ignore the style)
decimal lat = 0m, lon = 0m;
WebRequest request = WebRequest.Create("http://maps.googleapis.com/maps/api/geocode/xml?sensor=false&address=" + addr.Replace(" ", "%20"));
using (Stream stream = response.GetResponseStream()) {
XDocument document = XDocument.Load(new StreamReader(stream));
XElement longitudeElement = document.Descendants("lng").FirstOrDefault();
XElement latitudeElement = document.Descendants("lat").FirstOrDefault();
if (longitudeElement != null && latitudeElement != null) {
lon = Decimal.Parse(longitudeElement.Value, CultureInfo.InvariantCulture);
lat = Decimal.Parse(latitudeElement.Value, CultureInfo.InvariantCulture);
...
above from old code used at client site for 4 years, never missed yet.
Installing Signature...
Do not switch off your computer.
|
|
|
|
|
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.
|
|
|
|
|