News for hackers. Stuff that matters.
Re:Google Maps is a critical dependency for nutrition facts ... by codeulike on Saturday August 26, 2023 @12:12PM (#37274112)
Fair enough. Google Maps is actually pretty solid and usually there.
Re:Google Maps is a critical dependency for nutrition facts ... by upon_drumhead on Saturday August 26, 2023 @12:32PM (#37274305)
It’s not about the functionality but why does Google need to know that I’m looking at fast food from this specific location? Google isn’t a party to my eating decisions and can only be used to target ads. It’s not a reasonable requirement.
Re:Google Maps is a critical dependency for nutrition facts ... by ryantgtg on Saturday August 26, 2023 @12:36PM (#37274355)
Google Maps has more functionality than just targeted ads.
Re:Google Maps is a critical dependency for nutrition facts ... by upon_drumhead on Saturday August 26, 2023 @12:45PM (#37274432)
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 requirement to get the calorie content of some chicken nugs.

Re:Google Maps is a critical dependency for nutrition facts ... by Eddygandr on Saturday August 26, 2023 @01:16PM (#37274749)
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 Fiber: 1g (4 % DV) 1grams (4 Percent Daily Values ) Calcium: 15mg (2 % DV) 15milligrams (2 Percent Daily Values ) Trans Fat: 0g 0grams Total Sugars: 0g 0grams Added Sugars: 0g (0 % DV) 0grams (0 Percent Daily Values ) Iron: 1mg (6 % DV) 1milligrams (6 Percent Daily Values ) Cholesterol: 65mg (21 % DV) 65milligrams (21 Percent Daily Values ) Vitamin D: 0mcg (0 % DV) 0microgram (0 Percent Daily Values ) Potassium: 360mg (8 % DV) 360milligrams (8 Percent Daily Values ) Sodium: 850mg (37 % DV) 850milligrams (37 Percent Daily Values )

Re:Google Maps is a critical dependency for nutrition facts ... by upon_drumhead on Saturday August 26, 2023 @04:01PM (#37276322)
Mine are exactly the same, and I presume because you clicked on the url I gave, which includes "/us/en-us/".

Switching to "/se/sv-se/" and navigating over to the McNuggets does give different values, however, given the nation is pre-encoded in the url, adding a google map lookup seems entirely pointless.

Re:Google Maps is a critical dependency for nutrition facts ... by SushiHippie on Saturday August 26, 2023 @04:05PM (#37276361)
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 ... by ryantgtg on Saturday August 26, 2023 @03:39PM (#37276119)
As mentioned elsewhere in this post, ingredients vary based on country/location and so geolocation might be used for that. I would think of this as something to explore in this investigation. However, you are coming across as so confident in there being zero value that I’m not seeing any value in continuing this dialog.
Re:Google Maps is a critical dependency for nutrition facts ... by upon_drumhead on Saturday August 26, 2023 @04:04PM (#37276353)
The country/location is already detected and used before you get to the nutrition facts page. In the url I gave, it includes "/us/en-us/". As the other commenter to my comment saw, going to that url in Sweden gives the US nutrition facts, not their local ones.

Given the location isn't used to customize the results, nor provide any information on where restaurants are or availability, what do you believe the end user's benefit is?

Re:Google Maps is a critical dependency for nutrition facts ... by spacecadet on Saturday August 26, 2023 @12:25PM (#37274231)
If they wanted to level up the UX they could explain why they need/use location.