Live data from Hacker News

I reverse engineered McDonalds’ internal API

twitter.com

221–230 of 454 posts

Re: I reverse engineered McDonalds’ internal API

#221

Earlier quoted context omitted.

Cloud based clock. Don't you mean NTP? We've had this technology for years! If it's connected to the internet, it's a pretty fundamental piece of pretty much any networked OS. You can ensure correct time this way.

NTP is fine but so is pulling time off a server header if it's phoning home to report status.

Not that it matters for ice cream, but NTP can compensate for latency better than HTTPx can.

Re: I reverse engineered McDonalds’ internal API

#222
post #203

Earlier quoted context omitted.

What I’m understanding is that the order is placed, meaning it’s in checkout. But he’s not actually fulfilling it, meaning he didn’t ordered/paid for ice creams for real.

Someone on Twitter also mentioned ice cream orders don't actually get filled until you arrive at the restaurant (which does make sense), providing an extra fail-safe for this.

I’m not sure if it’s a regular request, or so regular that it’s automatic, but in France, if you order an eat-in meal with ice cream, they don’t make the ice cream until you come back to the counter with your receipt and request it.

Re: I reverse engineered McDonalds’ internal API

#224
post #103

Digression: If you're red/green colorbind, the https://mcbroken.com website is pure frustration. All the dots look the same to me. Fortunately the iOS accessibility color filter works wonders. After enabling that (in deutan mode) I now see green and gray/purple dots.

I knew iOS had a strong accessibility story, but I had no idea it could compensate for color blindness.

Android can do it to, under the accessibility settings you can have greyscale and various other colour modes

Re: I reverse engineered McDonalds’ internal API

#225
post #155

Earlier quoted context omitted.

Here's some detail, as someone that has worked with those machines before (internally and externally). In the good old days the soft serve and shake machines were taken apart every night and every piece was washed and bleach-sanitized by hand. Then it was reassembled in the morning. This would leave a lot of room for error and possible contamination in the process. And the sight of a shake machine hitting full pressu…

Since you and the OP are here, I have a random question: were the blizzards ever made with liquid plastic ingredients? It probably sounds insane, but someone from a plastics company spoke at my high school and said this was the case since it was easier to ship and needed no refrigeration. Now, decades later, I'm wondering if this was just complete nonsense or had an element of truth to it. I've been able to find noth…

"The future is plastics!"

I'm not a chemist but I've recently come to realize that the meaning of the term in the popular psyche has probably changed over the decades, taking on largely negative connotations, because of its association with a small subset of materials (albeit large by volume), most of which are either toxic, a pollution problem, or both.

AFAIU, in industry "plastics" is just a blanket term for moldable organic materials that chemists are constantly inventing. They're not necessarily sourced from petroleum, nor necessarily toxic. It's a ridiculously huge category of material, and plastics really were and probably always will figure prominently in our future. And I would assume that some traditional, even edible materials have been subsumed into the plastics category given the general scope of the term and the industry itself.

Re: I reverse engineered McDonalds’ internal API

#226
post #88

Earlier quoted context omitted.

The most basic version of this would be an Google Maps embed, but you'll quickly run into styling and interaction limitations. Not the author, but McBroken looks to be built with Mapbox's Javascript library, so you'll need to break out a text editor. They have some good starter docs here: https://docs.mapbox.com/mapbox-gl-js/example/simple-map/ You can learn a lot by signing up for an API key from Mapbox and tweaking…

Thank you. Do you think the side panels (especially the dynamic one on the left) are a part of the Mapbox interface, or something separate?

Something separate (ie. custom code). You can use "Inspect Element" in your browser to confirm.

Re: I reverse engineered McDonalds’ internal API

#227

LOL! It's so ridiculous that this is a problem so often. I was in McDs once when the service guy was there. I overheard him say it would be $9,000 to fix just the shake side of the machine. I thought to myself, "That's a lot of milkshakes! There's a grocery store in the same parking lot... gallon of ice cream, some milk, and a blender. Problem solved."

For the customer that's an option yes, but for the restaurant not so much. If you have a look at the fineprint of the blender it will say something in the line of "For private use only". This is not just because they want to extract more money from restaurants, it's because the engine is so poorly cooled and low quality components that it will melt if you run it longer than 10 minutes without letting it rest.

So yes, the customer can go home and make their own milkshake (unless they are on a trip and can't go home to make milkshake). But the store owner can't depend on a consumer grade blender to make 50 milkshakes in an hour.

Re: I reverse engineered McDonalds’ internal API

#228
post #155

Earlier quoted context omitted.

Since you and the OP are here, I have a random question: were the blizzards ever made with liquid plastic ingredients? It probably sounds insane, but someone from a plastics company spoke at my high school and said this was the case since it was easier to ship and needed no refrigeration. Now, decades later, I'm wondering if this was just complete nonsense or had an element of truth to it. I've been able to find noth…

Not the same, but plastic-y chemicals have been used in fast food before. https://www.eater.com/2016/8/8/12403338/subway-yoga-mat-chem... https://www.npr.org/sections/thesalt/2014/03/06/286886095/al...

Yeah! Whatever you do, never eat pretzels! They dip them in oven cleaner before baking, then they sprinkle them with those crystals they use for removing ice from roads!

Re: I reverse engineered McDonalds’ internal API

#229

Not sure where this data is coming from but for months now I've been ordering ice cream through the McDonalds app only to find out when I get there that the machine is broken and that they can't cancel or refund the order, which ultimately results in a stressful cash refund. It's happened multiple times at various locations around Manhattan. Eventually I'll just use this method to get 30-day cash loans on my credit c…

If this is true you're also earning points for your purchase. I don't know why they wouldn't be able to refund an app-based order though beyond ignorance, considering I've had it done before.

Re: I reverse engineered McDonalds’ internal API

#230

Earlier quoted context omitted.

Considering that all of these machines come up/down cyclically and automatically for sanitizing (pasteurizing) purposes, as described higher ITT, you're a great example of how data can be massaged to drive whatever narrative you want.

You're assuming fleetwide homogeneity. It's possible that there's a disproportionate number of machines in minority areas misconfigured. It's possible that there's a disproportionate number of machines in minority areas that are old-style manual-clean. It's possible that there's a disproportionate number of machines in minority areas disabled for some other reason (ingredient supply disruption? Demand not worth the c…

If they're automatically reporting via API to the online store, so the author can check the status in his script, they're all the same model with auto-sanitize. The old manual clean models always report online, then the customer gets rejected and refunded when they actually go pick up their order, as mentioned elsewhere in the thread about some NYC locations. Nice try, but you know, burden of proof on the accuser and whatnot.
Post reply on HN