Twittery sleep and sleepy twittering

July 4, 2008 at 9:30 pm 4 comments

I’m currently experimenting with using twitter as a way to record my sleep patterns. Of course, just posting status messages saying “Asleep” or “Awake” is way too low-tech and low-effort for me, so I’ve knocked together a quick script to do this for me and do some nifty stuff like infer the length of time I’m spending asleep and awake. Later on I could hack together a program to summarise the data I’ve collected, etc.

There’s probably not many people who a) want to record their sleep patterns using twitter, b) are comfortable doing so using a hastily glued together command-line script, and c) have Python available on their system and are willing/able to install a couple of extra libraries. In fact it’s probably just me. Nevertheless, I’m happy to share if asked. Mind you, I’m still getting the bugs out at the moment.


Entry filed under: Uncategorized. Tags: , , .

Volunteering More sleep software / voluntary work

4 Comments Add your own

  • 1. auralay  |  July 5, 2008 at 7:11 am

    *raises hand* I’m curious, seeing as how I’m trying to solve my sleep issues as well. maybe we can compare notes, if you’d like?

  • 2. Nickynockynoonoo  |  July 6, 2008 at 4:27 am

    I follow your track from time time but have totally lost the plot here. What are you trying to do? With the sleep analysis, I mean.

    I’m pretty sure that I am not alone in the world with having no body clock. Hence the time of my posting. I’m not depressed but please don’t take this as a criticism, otherwise I may!

  • 3. experimental chimp  |  July 6, 2008 at 5:17 am

    It’s a fair question.I have an appointment with a sleep specialist at the end of August and I suspect it would be handy to have a sleep log available at that point. Also, with bipolar, sleep can be an indicator of mood or sometimes a cause, so keeping track is useful. Also, my sleep patterns have been wonky to the point where I’m sometimes unable to remember what day I woke up, so having something tracking this would be interesting.

  • 4. katm  |  July 6, 2008 at 10:00 am

    *waves hand in the air*

    I’m curious… I want to see your script. I’ve been dabbling (very superficially) with Python for the last couple months.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed

Hi, I'm James. I'm a 26 year old guy from England with bipolar disorder (currently well controlled). I also have a circadian rhythm sleep disorder (not so well controlled). This blog has charted my journey from mental illness, through diagnosis and, recently, into recovery. It's not always easy, but then, what is?


Self-righteous note about smoking

As of 12th September 2008 it has been forty five weeks since I quit smoking. So in another seven weeks it'll have been a whole year.

%d bloggers like this: