Live data from Hacker News

Google Maps is a critical dependency for nutrition facts on mcdonalds.com

mastodon.social

91–100 of 110 posts

Re: Google Maps is a critical dependency for nutrition facts on mcdonalds.com

#91

Earlier quoted context omitted.

What part of https://www.mcdonalds.com/us/en-us/about-our-food/nutrition-... Requires a map? On my phone, there’s no map widget nor distance to a restaurant nor anything else distance related. There’s zero reason for the current functionality to require giving google my location. Sure, you can argue that one day they might add something that uses the map, but that day ain’t today nor does it seem a reasonable require…

What are your details for 10 chicken nuggets? Are they different to mine in Sweden? Calories Calories 24grams Total Fat (31 % Daily Value) 24g 24grams Total Fat (31 % DV ) Total Fat (31 % Daily Value) 26grams Total Carbs (9 % Daily Value) 26g 26grams Total Carbs (9 % DV ) Total Carbs (9 % Daily Value) 23grams Protein 23g 23grams Protein Protein Saturated Fat: 4g (20 % DV) 4grams (20 Percent Daily Values ) Dietary Fib…

In sweden there are only 4 chicken nuggets listed, you probably clicked on the link above which is only for the US.

https://www.mcdonalds.com/se/sv-se/naringskalkylatorn.html

For england there are 6 and 9 chicken nuggets listed https://www.mcdonalds.com/gb/en-gb/good-to-know/nutrition-ca...

The page seemingly doesn't use your location data for anything, you need to go to the specific site for your country to see the nutrition for your country.

Re: Google Maps is a critical dependency for nutrition facts on mcdonalds.com

#92
post #56

Earlier quoted context omitted.

Interesting! But also really speaks to the need for a browser setting for very coarse location without requiring user entry. Eg, I always block location API access, and sites often have poor fallback UI for entry. If it'd let me, I'd be setting my browser to always report "Toronto, Ontario" and auto-deny location requests.

That ship has sailed. Location data is vital to a lot of internet services now. GeoIP fencing is one thing but location fencing is a tech that is being used by every major government (despite them outcrying privacy concerns). I wish it wasn’t like this but until the open web becomes the “transparent” web, the snooping, spying, logging, graph-identity-building, MarTech driven, web will continue to go towards walled ga…

You wish it wasn't like that, yet you helped build one of the cornerstones that enabled it to become that way. Curious. I'm getting mixed messages here.

Is this an example of "I knew not what I was doing", or what? I eval projects I'll assist by thinking of applications 2 or three times removed from the project prospectus exactly to not unknowingly further the ends of a surveillance state.

Re: Google Maps is a critical dependency for nutrition facts on mcdonalds.com

#93
post #71

Earlier quoted context omitted.

The headline that I wrote is a fact, pure and simple.

Whether it's a fact is under some dispute but it doesn't matter if it's a fact, it's specifically selected to be bait. Take a look at https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

I have no idea what you’re talking about. I didn’t “select anything to be bait”. I found an interesting behavior on a website and wanted to share it. What exactly is your problem?

Re: Google Maps is a critical dependency for nutrition facts on mcdonalds.com

#94
post #29

Earlier quoted context omitted.

That’s the wrong attitude. Unless the function of your site completely depends on google maps it shouldn’t break other logic. We’ve been building websites that survive these kinds of things for decades. Some people just don’t engineer their stuff correctly and this is the result. It’s not hard to do it right.

Why should I, the developer go out of my way to accommodate people going out of their way (by installing an adblocker/script blocker) to break my app? If you're going out of your way to create a non-standard execution environment, any breakages is on you.

Why would you put auxiliary resources on your critical path if they’re not required? What if google maps has an outage and suddenly your entire website breaks when the only part requiring google maps is the store locator? What if you’re on an airplane or some other network with limited connectivity?

If you engineer your application correctly with non-critical things outside the critical path you can have the best of both worlds.

Imagine going into the CTO’s office to explain why some vital tool or feature hasn’t been working for 35% of users because of some silly issue with Google Maps. “Why did Google Maps issues break our site?” … “well ackshually our entire app waits for maps.init()…” this is like the worst response imaginable.

Re: Google Maps is a critical dependency for nutrition facts on mcdonalds.com

#95
post #92

Earlier quoted context omitted.

That ship has sailed. Location data is vital to a lot of internet services now. GeoIP fencing is one thing but location fencing is a tech that is being used by every major government (despite them outcrying privacy concerns). I wish it wasn’t like this but until the open web becomes the “transparent” web, the snooping, spying, logging, graph-identity-building, MarTech driven, web will continue to go towards walled ga…

You wish it wasn't like that, yet you helped build one of the cornerstones that enabled it to become that way. Curious. I'm getting mixed messages here. Is this an example of "I knew not what I was doing", or what? I eval projects I'll assist by thinking of applications 2 or three times removed from the project prospectus exactly to not unknowingly further the ends of a surveillance state.

I like location api’s, otherwise we wouldn’t have turn by turn directions, maps, trail guides, etc. I don’t like location tracking for the purposes of advertisements, proximity correlation, geofencing targeting, and location sharing without consent.

Re: Google Maps is a critical dependency for nutrition facts on mcdonalds.com

#96

The sourced ingredients are indeed regional. The menu is regional as well. The website is built on top of their mobile ordering platform. The mobile ordering platform requires your location to be able to route your order to the “correct” McDonald’s. This is done via requesting your location from Google or via location services within the mobile app. This platform is used by a lot of different QSRs. Or Quick Service R…

> The sourced ingredients are indeed regional. "Yeah but", do you need Google Maps do do the geolocation?

When using a browser, that’s the location api that was available at the time. Was there a better option in 2013?

Re: Google Maps is a critical dependency for nutrition facts on mcdonalds.com

#97

Earlier quoted context omitted.

HN is full of propagandized technologists who have yet to realize how few of the world's problems are technical, and how approximately all of them are political. I'm sure there are better essays with similar value, but the one that comes to mind is Heidegger's The Question Concerning Technology : https://www2.hawaii.edu/~freeman/courses/phil394/The%20Quest...

I disagree, I think most people here understand the problems are political they just not understand that the problem was CREATED by the politics, and instead believe the solution to the problem is political. They refuse to believe that government thus politics is the problem, not the solution

I have seen your comments elsewhere on HN. It's refreshing to see some like-minded opinions. Do you have any other online presence or some way I might contact you? My email is in my profile here, if you're open to that.

Re: Google Maps is a critical dependency for nutrition facts on mcdonalds.com

#98

Earlier quoted context omitted.

> The sourced ingredients are indeed regional. "Yeah but", do you need Google Maps do do the geolocation?

When using a browser, that’s the location api that was available at the time. Was there a better option in 2013?

GeoIP databases, and elements.

Re: Google Maps is a critical dependency for nutrition facts on mcdonalds.com

#99

Earlier quoted context omitted.

> The sourced ingredients are indeed regional. "Yeah but", do you need Google Maps do do the geolocation?

When using a browser, that’s the location api that was available at the time. Was there a better option in 2013?

- Ask the user to select a location. I may want to know the nutritional facts about an item somewhere else. Say I'm traveling there.

- Have websites in different countries: like if I go to macdonalds.co.jp, I get the nutritional facts in Japanese about the Japanese Big Mac.

Geolocation is rude, lame and broken.

Re: Google Maps is a critical dependency for nutrition facts on mcdonalds.com

#100

Earlier quoted context omitted.

> What's your strategy for dealing with jquery not getting loaded? Host it on your own infrastructure so that it's the same reliability as your site itself?

I have done that in the past, but there is an upside to not doing it that way. If you use a CDN, and the user has already loaded it from the CDN via another site, that's only less thing to download. So it can make your site seem faster for a subset of users.

> the user has already loaded it from the CDN via another site

That hasn't been true for years due to timing attacks. See: https://news.ycombinator.com/item?id=24745748

Post reply on HN