Live data from Hacker News

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

sleepsources.com

41–50 of 140 posts

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

#41
post #30

Cool site. I actually didn't realize I could scroll down. Maybe a small arrow or something to show that you can go down after you click?

That's the beauty of the good old scroll bar: if it's there, you know you can scroll! This does not happen on smartphones and tablets due to the limited space.

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

#42
This is great. I've traditionally eye-balled it to be 90 min or 3hr cycles which works as a quick hack, but I'll consider this calculator next time. Can I just say, it looks like you have good design instincts, I hope it takes you far.

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

#44

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…

This is great. It's the sort of project that reminds me of the early days of the web; back then people would have an idea, build it, and put it out there on the web for other people to use just because they thought it was useful. Very cool.

You've launched something and you've managed to get some very positive feedback. That's more than a lot of other people manage. Make sure you remember how good it feels, and use it as motivation to keep building and launching more projects. I hope we see more 'Show HN's from you.

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

#45
Does your site explain how to calculate ones own sleep cycle? I couldn't find it, and it's a simple trick I learned from a teacher many years ago.

Just choose an evening where you wait until you're feeling sleepy but don't go to bed, start a timer, stay up and after 20 minutes or so you'll start becoming less sleepy.

It might help to do something like watching a video program or playing a game.

After a while you'll start getting sleepy again, hit the timer. That's a rough estimate of your cycle. Because everyone is different.

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

#46
post #32

Wow! The site and its functionality are cool. I am not a web dev, so I can’t say much more than that. What really impresses me is the site’s collection of information and its presentation. It is very thoughtful. Not too much. Not too little. You even included sources for most of your information. Fantastic! Don’t lose focus on your writing skills as you develop your technical skills. Both will serve you well. Great w…

Any tips on improving technical writing beyond what you've mentioned here?

[deleted]

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

#49
I've recently started going to bed at 2000-2100 and it's nice to not need to worry about this stuff anymore. I start work at ~0800 and I'm usually awake from 0400-0600 so I never risk oversleeping, and my body gets as much sleep as necessary.

I'm also a morning person, so using the first two hours of the day to work on personal projects or stuff I want to learn is working out well. I guess my professional work can suffer as I start to lose concentration about 1400 but I can live with that!

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

#50
I've been using https://sleepyti.me for many years. It's simple and easy, which is usually good when I'm tired near bedtime.

I actually like your time picker better, but amusingly since I actually wanted to get up at 8am, I had to flick it slightly back and forth first.

Also, sleepyti.me gives me more options, including the "not so healthy" options, which I sometimes need because I don't do the calculation till late in the night but I still want to time my REM cycles.

They also have the "I'm going to bed now" button, which tells you when to wake up, accounting for the 14 minutes to fall asleep. I use that button a lot.

Overall this is great! Just wanted to provide some comparative analysis.

Post reply on HN