Live data from Hacker News

I reverse engineered McDonalds’ internal API

twitter.com

321–330 of 454 posts

Re: I reverse engineered McDonalds’ internal API

#321

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…

> McCloud That’s an awesome way to name their cloud computing stuff that fits the brand really well. Is this an official/semiofficial name?

You should always substitute "clown" for "cloud" when talking about this stuff. Doubly so in this thread.

Re: I reverse engineered McDonalds’ internal API

#323
post #10
post #5

What's the chance this guy becomes the next Aaron Schwartz. (RIP.. but big corps don't play)

I think someone at McDonalds may lose their job because of this.

Or... they could just modify the API a little and keep the guy who has learned something that didn't really cost them anything, and that a new hire is unlikely to know.

But you are right, corporations do usually prefer to behave in a psychopathic manner.

Re: I reverse engineered McDonalds’ internal API

#324
post #49

Just a note, the machines are not broken, they have shut themselves down for sanitary reasons. Ice cream, as a food that is very close to neutral in pH and without much in the way of preservatives, is a common source of listeria bacteria. To prevent serious health issues, the machine must be sanitized regularly. As I understand it, the process is involved, and any given McDonalds may not have a person with the time a…

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…

Chick-fil-a is ahead of the game here, they recently put edge compute into every store

Re: I reverse engineered McDonalds’ internal API

#325
post #49

Just a note, the machines are not broken, they have shut themselves down for sanitary reasons. Ice cream, as a food that is very close to neutral in pH and without much in the way of preservatives, is a common source of listeria bacteria. To prevent serious health issues, the machine must be sanitized regularly. As I understand it, the process is involved, and any given McDonalds may not have a person with the time a…

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…

Said another way:

  - You have a system whereby every instance has a 75%-79% uptime.

  - Each instance's 21%-25% daily scheduled maintenance window can (generally) be arbitrarily-scheduled by the ops team.
How do you near guarantee that there's always one instance available?

If you said:

  "manage a redundant cluster of at least 2 instances with non-overlapping maintenance windows" 
Then you were correct!

BONUS QUESTIONS:

Q: What's the max number of ice cream machines found in a McDonald's location?

Q: What's the cluster size of the McDonald's ice cream monitoring system?

Q: How much money does McDonald's have?

Q: Why the fuck?

If you said: "1", "at least 3", "metric fuck-tons", and "I don't know", respectively, then you were correct!

Re: I reverse engineered McDonalds’ internal API

#326

Earlier quoted context omitted.

Why? What are you going to do different if you are told it is broken versus down for maintenance? You're still not getting any ice cream?

One implies neglect or incompetence, the other implies a limitation of a system. Some people would look down on a franchise or a restaurant or a business that had super high failure rates. Like if the comedy section of Netflix went down every 3 times you tried to visit that section. As opposed to Netflix having some system level limitation requiring them to perform some magical dance and perform some spell every few…

Sir, this is a McDonald's.

Re: I reverse engineered McDonalds’ internal API

#327
post #312

Earlier quoted context omitted.

Because it's one extra feather on the scales of increased cynicism about what you see online. Clickbait culture is toxic

Legitimate question, how and why is clickbait culture toxic? I am not creating it or defending it. I am just a little confused what you mean by that exactly.

Not original commenter but I think jackric already alluded to the increased cynicism that develops from clickbait. Personally, when I see so many ppl giving up honest and nuanced statements/opinions for hyperbole in order to gain views/likes, it's disappointing.

Re: I reverse engineered McDonalds’ internal API

#328

Earlier quoted context omitted.

Add a couple hundred/thousand to penetrate the roof for an antenna to pickup signal. WWV might be a better system, but runs you into time zone issues. Do you need a valid SIM to pickup time from 3G?

WWV/WWVH might not be a great idea, as I've read that there are rumblings about phasing it out. You used to be able to pick up a time signal almost anywhere in CONUS with an FM receiver. It was encoded in the transmissions of PBS television stations. This was back in NTSC days. Now that everything is digital, I don't know if it's still true.

The specification was called XDS and was developed by Sony to automatically set the clocks on their VCRs. PBS was a major participant but some other networks included XDS timecodes as well. Unfortunately late in the systems life reliability became poor (the encoder was not integrated with any of the other station equipment and was not being modernized) and I assume they all died out with the digital transition.

A better source today would be the time codes sent out by some FM radio stations with RDS encoders, to allow car radios to set their clocks. Unfortunately not that many radio stations do this and, once again, the time is not always all that reliable since the RDS encoder may not have any synchronization source itself.

The cellular network used to be an excellent source, CDMA cells required GPS time sync for TDMA reasons (well, CDMA reasons, technically speaking...) and broadcast a time code that is directly off of their GPS time source. Unfortunately, while GSM cells (and LTE) do broadcast the time, there is no guarantee made of precise synchronization as they don't broadcast a time code directly from their GPS source (not an expert in this field but I think the GSM/LTE time information comes from the possibly remote controller rather than the local radio hardware). Still, it would probably be good enough for this application.

GPS time sync is actually quite cheap to implement these days but tends not to work in these scenarios since a clear sky view is needed. WWVB is possibly on the way out. SNTP is probably ruled out less by the BOM cost of WiFi hardware and more by the deployment pain of having to get kitchen equipment configured for the corporate WiFi network.

Here's a fun idea: McDonalds presumably centrally controls the in-restaurant audio. Could they encode timestamps into the background music in a way that machines can cheaply recover? You wouldn't need high reliability, just enough for it to work once in a while. The old-ish Nielsen Peoplemeter system would be a model.

Re: I reverse engineered McDonalds’ internal API

#329
post #55

Earlier quoted context omitted.

Yep, and two folks in a garage can build FB in a week, its just a DB right?

Pretty sure that's how facebook was actually built.

Even if that was part of their origin story, it's a bit like saying a skyscraper was built by the person who broke ground at the site.

Re: I reverse engineered McDonalds’ internal API

#330

Hope this wouldn't be prosecutable as hacking?

Federal and state [1] (depending). Computer Fraud and Abuse Act of 1984. Easy to prosecute, jury wont understand anything. The penalties are horrific Related, Terminator (1984) was also released during this year.

https://casetext.com/statute/kentucky-revised-statutes/title...

Post reply on HN