Live data from Hacker News

Show HN: I'm 15 and made a bedtime calculator with React JavaScript

sleepsources.com

51–60 of 140 posts

Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript

#51
My two best changes for my sleep quality and restfulness were waking up very early (normally between 4 and 5), and usually sleeping for only 6h (7.5 when especially tired).

I add 20 minutes as buffer to fall asleep.

My Alarm Clock lets me choose between setting an alarm at a certain time, as usual, but also for a certain time span. I have it preset to the time span, so I just enter 6h20m (which is normally already picked from the night before) and I’m good to go.

Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript

#53

Earlier quoted context omitted.

Your first comment was flagged (by users) because it added no value and seemed more or less like a projection of your own problems onto OP.

users? mods? what's the difference

Sounds like you're jealous of this kid's skills. What have you built?

Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript

#56
post #34

What's the link to sleep sources? I hope this kid has found a way to make money out of this.

Why does every project have to make money? Sometimes a side project is just a side project.

It’s sponsored content, there’s a link at the bottom

Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript

#57
I thought sleep cycle length is variable to an extent. I once calculated my own to be around 110 minutes per cycle, rather than 90 minutes. Using that as a base for calculating bed time has worked well for me. If cycle length variability is indeed a thing, it would be an interesting parameter to add to the calculator. Thanks for sharing!

Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript

#58

Ever wake up feeling groggy, even though you thought you had enough sleep? It turns out that by timing your wake up time based on REM cycles, you can wake up more refreshed and more productive. This got me thinking, why don't I put my front-end web development skills to the test and build a tool that will help people optimize their sleep schedule? So, I built a bedtime calculator with React JS, as well as some fancy…

That's a bit redundant with current top post, but I think this site is really cool, not because of the calculator.

I think the calculator itself isn't really useful, though I could be wrong. (The reason why I think it's not really useful is that I think the "90 minutes" cycles varies quite a lot between people, and the time between going to bed and to sleep can vary by half that length between people)

But what I really like, is that it is kinda (reasonably) click-baity, while it actually is a short, sourced, clean, no-ad, straight to the point, FAQ about sleep, which is useful to raise awareness of those issues.

Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript

#59
The site looks pretty nice. I have no experience in web design, so no real technical input from my side, but I noticed it is inconsistent with the time representation.

You use the 12-hour AM/PM representation in the "I have to wake up at..." picker and in your text below that.

But the actual calculated bed time uses the (imo better) 24-hour format. This could lead to confusion, but at least is somewhat inconsistent.

Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript

#60
If this is done by a fifteen year old, well done. Given the poor quality of so many web sites, well done regardless. And my apologies if I'm entirely off here, but given how integrated the bedtime calculator is with the mattress sales part of the site, I can't shake the idea anymore that we all fell for clever marketing, here, instead of that we're presumed to be looking at an aspiring, young developer's plea for recognition.
Post reply on HN