Without an alarm, I tend to sleep 4 hours a day. But this is provided I dont exercise. If I go to workout at a gym / Martial arts, I find I have to sleep 7 hours. But both these cases, I do not need an alarm to wake me up. I wake up about 5 minutes before the alarm is going to ring and Stretch in my bed. When the alarm goes I jump off the bed. I actually feel more energized when I sleep for just 4 hours. But I need a 20m nap in the afternoon if this is the case. My schedule is
(without exercise) - 10:30 PM to 2:30 AM
(with exercise) - 11 PM to 6 AM.
I would love to study more about the effects of sleep and how we can control it.
I think all thats needed is a shared settings storage between a website and an app. (This is only between a domain and an appId. ie.. google.com should have access to the space of Google search app. maps.google.com should have access to Google Maps app)
For example, the cases that can arise are :
1) User does not have app installed.
2) User has app installed and prefers to use the app for the service (Something like google maps). This preference can be stored in the shared settings space.
3) User has the app installed, but prefers to use the browser for the service (Like google search / wikipedia / yellow pages / amazon )
-----X----
In 1) When clicking on a url like www.amazon.com/gp/product-id, The browser cannot find an app that has access to shared settings. Hence, the only thing that can be done is to open the url on the browser.
2) When clicking on a url, (like google maps directions), The browser reads from the shared space and sees that this is a candidate for an app open. Now it can open the app and pass in the url. The app can use this path to figure out where to take the user to in the app.
3) When the user clicks on the url, and the settings say the user prefers to use the browser for this kind of link, the browser can open up the URL.
I remember listening to a lecture on quantum mechanics which said by suitably exciting your molecules, you would be able to walk through walls. I imagine we could take the shortest path, walking 'through' the traffic if this were possible
(without exercise) - 10:30 PM to 2:30 AM (with exercise) - 11 PM to 6 AM.
I would love to study more about the effects of sleep and how we can control it.