Thursday, August 26, 2010

News of Apple's recent patent regarding spying on phone users has made me give some thought to hardware security and access rights. So!

Food for thought: OAuth for hardware controllers. On the iPhone it already exists for the location services in one form: Apps need to be granted access once, and web apps need to be granted each time (within a 24h gap I believe). However, I think that we should be able to give web clients continual access to hardware via permanent yet revocable authorization. What does that sound like to you?

Furthermore, I think things like this should be extended to other hardware features such as the camera and vibrate functions. What it would take would be (from my completely ignorant point of view) a central "API" access point for phones of a given type that could be given to web clients to allow access to hardware features if properly signed.

For example, I'll take RIM since blackberry phones are fairly tied to the RIM network. If I want to get access to John Doe's phone, I should be able to request a secret and consumer key from him for a particular feature and then sign requests to rimissohawt.com/phone/api to get access.

Thoughts? (Linda Lawrey says I should always spiff my posts up if they are long, so here is a funny image for your enjoyment. I like Androids, but I like the Chrome error icon more.)

Tuesday, June 1, 2010

Days 2 & 3: At least I read a book!

Day 2


Day two would have been a success of my goals were it not for the deployment I had to do.  I ended up starting the deployment a bit earlier than anticipated, and got it done by the time 11 PM rolled around.  However, instead of trying to meet the "Sleep at 11PM" goal, I decided to meet the "No computer for an hour before bed" goal.  So I stayed up until midnight reading a junk novel that I had picked up earlier this year since it was on sale and I was in the store for Objective-C books anyways.  I woke up at the alarming time of 8:19 AM however, so I don't think the trade-off was a good one.

Summary: 1/3 goals met, didn't regress.

Day 3


After coming back home early and getting caught in the rain I left early to avoid (btw, I think meteorologists use the term "thunder showers" way too liberally these days) I collapsed to watch TV and cook a small dinner before heading out to my gumdo session.

Tangent: The martial art Haidong Gumdo is a swordsmanship martial art from Korea that I picked up during my first year of university. As a martial art, I find that it puts more emphasis on fluidity of motion and the sound of a sword whistling through the air as you dance around opponents is breathtaking.  Anyone interested should take a look here and find out if there is a practicing dojang near them.

Because of the session running from 9 PM to 10 PM, I didn't get home until about 10:30 and was restless up until 11 PM.  However, I did manage to get to bed at 11! =D

Unfortunately, I still didn't wake up on my own before my alarm, so I was unable to meet all three goals.

Summary: 2/3 goals met

Addendum


Since I was able to get to bed by 11 PM but still didn't get up before the alarm, I will be moving the target bedtime up by 15 minutes to 10:45 PM.  Each night I am able to get to bed by the target time but can't wake up before the alarm, I move up the bedtime.  This is so that I can get an idea of when my ideal sleep cycle should begin and end.  Here's hoping I don't have to move it up too far!

Sunday, May 30, 2010

A failed first attempt

Well, for the first night of the sleep cycle correction experiment, I got into bed at 12:30 AM and joined the waking world at 12:30 PM.  I did wake up before my alarm, (6:50 AM, alarm is at 7 AM) but I fell back asleep again and don't remember hearing the alarm so I don't think that counts.

The one thing I was able to do successfully is not use a computer for an hour before bed.  So, I guess that makes me 1 for 3.

Tonight I know I won't be able to make the 11 PM bedtime deadline due to a code deployment that has to go through starting at the same time.  For the same reason, I won't meet the "no computer before bed" goal either.  Here's hoping I can at least make the wake up before alarm goal.

(Reminder: The goal of the experiment is to discover a bedtime that allows me to fall asleep easily and wake up before my alarm goes off at 7AM.  Such a time is considered discovered if I can maintain it for a week.)