News for hackers. Stuff that matters.
Re:Ask HN: What are you working on? by SnacksOnAPlane on Tuesday April 04, 2017 @11:28AM (#14033663)
Problem: I don't know when the optimal times to go to Krispy Kreme for hot donuts are.

Solution: http://hotdonuts.info/

And yes, this is the most important problem in the world.

Re:Ask HN: What are you working on? by komon on Tuesday April 04, 2017 @05:29PM (#14037393)
I used to work at a PNW Krispy Kreme and the hotlight hours there are wildly off. For the store I worked at hotlight is 5-8AM and 4:00-6:00PM.

In my experience, most Krispy Kremes (at least the ones franchised by Kremeworks, which owns the stores from Vancouver, BC to Beaverton, OR and then one in Maui) have pretty set hotlight times with a variance of a few minutes due to human error.

There are also sometimes "bonus" hotlight hours where they make donuts in between normal hours due to demand.

If you're going by the Krispy Kreme API, it's totally dependent on when people actually turn the physical hotlight on, and people tend to forget to turn it on or off, especially during the "bonus" times.

Also, they only turn the hotlight on for the Original Glazed donuts, but that totally leaves out the hot cake donuts and fritters.

There's not a lot of advice in this post, just some insider info. It's definitely a cool project though, but you might be better off just asking your local store when hotlight times are.

Re:Ask HN: What are you working on? by robotnoises on Tuesday April 04, 2017 @03:56PM (#14036583)
I believe the MacArthur Foundation will be contacting you soon.
Re:Ask HN: What are you working on? by rb808 on Tuesday April 04, 2017 @11:37AM (#14033791)
You have a problem with zip codes that start with 0 eg 07001.
Re:Ask HN: What are you working on? by SnacksOnAPlane on Tuesday April 04, 2017 @11:58AM (#14034059)
Dammit, I didn't even know that they could start with 0. Thanks!
Re:Ask HN: What are you working on? by dublinben on Tuesday April 04, 2017 @12:26PM (#14034434)
New England, New Jersey and parts of New York start with a 0.

http://www.mapsofworld.com/usa/zipcodes/images/usa-zip-code-...

Re:Ask HN: What are you working on? by mgkimsal on Tuesday April 04, 2017 @05:06PM (#14037205)
In high school - BASIC class - we had to build a program to let a user input an address.

I took the input for the ZIP code as a string, and the teacher 'corrected' me because ZIP codes were numbers, not letters. I said "if I starts with 0, that would be lost".

"ZIP codes don't start with 0," she replied.

"Umm... yeah they do." I pull out a copy of my New Zork Times from Infocom, located in MA, and their ZIP started with 0.

It was only years later I learned the ZIP code system didn't even start until the 60s, and she'd likely grown up without it even being a thing, so I (retroactively) cut her some slack. Really didn't think anyone in the US could not know that in 2017 but... I still run in to people who don't. And... it's probably less important today (what with email and ebills and whatnot), so I'll cut everyone else some slack too... :)

Re:Ask HN: What are you working on? by aanm1988 on Tuesday April 04, 2017 @06:32PM (#14037867)
> Really didn't think anyone in the US could not know that in 2017

Well I guess you are just much much smarter than us. That goodness you cut us some slack. ;)

I don't know if I have ever seen a zero prefixed zip code.

Re:Ask HN: What are you working on? by mgkimsal on Tuesday April 04, 2017 @10:46PM (#14039256)
yeah... was trying to be a bit tongue in cheek (my tongue, my cheek).

I guess I just pay too much attention to addresses/formats, and have for years.

You can have as much slack as you want, FYI :)

Re:Ask HN: What are you working on? by SnacksOnAPlane on Tuesday April 04, 2017 @12:42PM (#14034633)
TIL. Thanks, fixed it!
Re:Ask HN: What are you working on? by SnacksOnAPlane on Tuesday April 04, 2017 @12:41PM (#14034621)
Fixed it!
Re:Ask HN: What are you working on? by pascalxus on Tuesday April 04, 2017 @01:37PM (#14035270)
I'd love to use this, but due to an even bigger problem, unfortunately my body can't handle Krispy Kreme donuts: they're way too high in calories.
Re:Ask HN: What are you working on? by stevelacy on Tuesday April 04, 2017 @06:07PM (#14037696)
Is the start date supposed to be in the future?

"The scraper came alive Tuesday, March 7, 2017 at 12:33 AM."

Or am I in the past...

Re:Ask HN: What are you working on? by ezekg on Tuesday April 04, 2017 @09:58PM (#14039042)
It's April 4th, 2017.

But it's okay… I thought it was 2018 earlier today.

Re:Ask HN: What are you working on? by durkie on Tuesday April 04, 2017 @11:53AM (#14033990)
totally sharing with all the rest of my friends in atlanta. sometimes fun and simple ideas are the best!
Re:Ask HN: What are you working on? by atentaten on Tuesday April 04, 2017 @12:38PM (#14034574)
I just found an official Krispy Kreme App that does the same: http://krispykreme.com/hotlightapp

But I'd rather not download an app.

Re:Ask HN: What are you working on? by SnacksOnAPlane on Tuesday April 04, 2017 @12:48PM (#14034713)
Yeah, I knew about that, but I wanted a way to see historical data so people would know "the light will probably be on at these times". It uses the same API.
Re:Ask HN: What are you working on? by tmaly on Tuesday April 04, 2017 @04:23PM (#14036826)
I love it! cool project