This was already done years ago: https://sleepyti.me with way, way less JavaScript. Sleepytime jQuery plus HTML is 40 KB. This new site with all JavaScript and HTML is over 600 KB. Seems much of the JavaScript is in creating the time picker. Thats disappointing, as you can do pretty close to the same thing with one line of HTML: https://developer.mozilla.org/Web/HTML/Element/input/time Also, why is your name Josh Ter…
Show HN: I'm 15 and made a bedtime calculator with React JavaScript
11–20 of 140 posts
Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript
#12Ever 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…
if you really are 15, I think you are wasting your time kid. maybe you should learn something useful. maybe go outside or something
Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript
#13This was already done years ago: https://sleepyti.me with way, way less JavaScript. Sleepytime jQuery plus HTML is 40 KB. This new site with all JavaScript and HTML is over 600 KB. Seems much of the JavaScript is in creating the time picker. Thats disappointing, as you can do pretty close to the same thing with one line of HTML: https://developer.mozilla.org/Web/HTML/Element/input/time Also, why is your name Josh Ter…
Why not try being encouraging instead of.. whatever that was.
Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript
#14Earlier quoted context omitted.
if you really are 15, I think you are wasting your time kid. maybe you should learn something useful. maybe go outside or something
I think this is a great project for a 15-year-old. My own son did something like this recently, and loved it. Let's encourage that.
Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript
#15It would be even better if the times displayed and the "try another time" was all on the same page. I dislike having to scroll for instant one off information bytes...
Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript
#16This is quite nice but I feel a bit too simple. Sleep cycles vary widely from 70-120 minutes per person. I think an advanced mode where a person can input their own record of sleep duration would be nice. Or even getting a couple of sliders to play with varying REM, NREM cycles would be nice.
This is a great idea! I'll plan on adding this soon, if the tool gets more feedback and usage :)
Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript
#17This was already done years ago: https://sleepyti.me with way, way less JavaScript. Sleepytime jQuery plus HTML is 40 KB. This new site with all JavaScript and HTML is over 600 KB. Seems much of the JavaScript is in creating the time picker. Thats disappointing, as you can do pretty close to the same thing with one line of HTML: https://developer.mozilla.org/Web/HTML/Element/input/time Also, why is your name Josh Ter…
Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript
#18This was already done years ago: https://sleepyti.me with way, way less JavaScript. Sleepytime jQuery plus HTML is 40 KB. This new site with all JavaScript and HTML is over 600 KB. Seems much of the JavaScript is in creating the time picker. Thats disappointing, as you can do pretty close to the same thing with one line of HTML: https://developer.mozilla.org/Web/HTML/Element/input/time Also, why is your name Josh Ter…
Jesus Christ dude. Be nice. Why not try being encouraging instead of.. whatever that was.
I don't think this is the standard 'oh assembly in my granddads day, c in my dads day, ruby in my day, these young tigers and their js' either, there is no benefit to modern frameworks besides vendor lockin, which is an antibenefit. Its mostly a heaping pile that just seems to have more bugs and generally is making the web a horrible place.
Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript
#19Ever 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 like some sort of sponsorship for a mattress company or something if you check the bottom of the page.
i don't know why, but it is just very upsetting to me to see that some kid is reviving so much praise for being interested in something as meaningless as web development. As if you learned an instrument or joined a sports team or something. I think this will eventually lead you down the road of forming an identity around work as a programmer, which is not a good thing especially considering the low barrier of entry of becoming a programmer.
When i was your age I too got into these sorts of things, and in retrospect I would not have made the decisions I did.
Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript
#20Earlier quoted context omitted.
if you really are 15, I think you are wasting your time kid. maybe you should learn something useful. maybe go outside or something
I think this is a great project for a 15-year-old. My own son did something like this recently, and loved it. Let's encourage that.