News for hackers. Stuff that matters.

gprasant

Re:Those people who need very little sleep on Tuesday July 07, 2015 @05:02PM (#9848081)
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.

Re:Using DNS to solve the mobile deep linking problem on Monday March 16, 2015 @06:42PM (#9214978)
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.

Re:Rewriting Reddit (2005) on Monday October 27, 2014 @02:22PM (#8517172)
They say hell hath no fury like a lisp fan scorned. I wonder if they hadn't been acquired, would they have still used Lisp ?
Re:HN on StoryLine – historic news browser on Friday July 12, 2013 @12:45AM (#6030963)
this needs to work with the leap. Cool idea.
Re:If a mathematician wants to cross a road on Tuesday May 21, 2013 @12:07AM (#5741857)
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