In an attempt to log every single aspect of my life on the internet... I've begun a new blog logging the diet I'm starting tomorrow. If you're interested you can read all about it at Hadsie's Hardcore Plan to GET FIT. So let it motivate you, let it aggrevate you, but whatever you do don't let it... hmm, I've got nothing more to say.
Hotel wireless is sweet. Ariane and I are in Penticton this weekend helping clean out my great great aunts apartment. I checked many of the penticton hotels for highspeed but couldn't really find anything, most just say "data ports" which means the phone has an extra port for your modem (<sarcasm>woo hoo</sarcasm>). So I just gave up and stayed at the best western (it's like this little best western motel). So I turn on my laptop tonight, and BOOM, I'm connected. It's sweet. Wireless internet is sweet.
It basically states that some company did a study, and employees will be approximately 10% less efficient at 20 degrees celsius than they will be at 25. I would guess that my efficiency had probably dropped to by about 85% at the temp I was working at. Now, I don't know if the ergonomics lab at Cornell is funded by the Gas or Electric companies, but I believe it nontheless.
And just to follow up to my last entry, I had to work in the CS atrium with all the silly engineers all morning friday, but then they totally cranked up the heat at around noon... it was sweet, like 30 degrees in there after about an hour... nice.
a new record in coldness today... it's so cold in here I've been shivering for the past hour. sumo measured the temp in her office and it was 18 degrees. Doesn't sound that cold? Well that's the temp we keep our server rooms at. After spending an hour not moving around in that temp you'll start feeling pretty cool. Except in addition to that there's cold air blowing in at me from right above my head... air that's the same temp as outside (10 degrees). So with wind chill I'd probably say my office is about 14 degrees right now (I can't quite see my breath... but it's getting there). I can't even fucking believe it, I can barely type this email, let alone write code!
In a fit of genius while I was surfing the net, I came up with a python implementation of the song "Happy Birthday". It's totally sweet!
you = Person()
for i in range(0, 4):
if i == 2:
you.name = happy_birthday
you = happy_birthday
Sometimes my genius is a little subtle, so here's how it works:
- 'you' is an instance of a 'Person' object.
- The 'you = happy_birthday' is assigning "happy_birthday to you".
- The third time through 'happy_birthday' is assigned to the person objects 'name'. So if the person objects name was 'Scott', this would be assigning "happy_birthday to Scott".
And just for fun, I wrote a one liner that will print out the happy birthday song, using python:
for i in range(0, 4): print "Happy Birthday", ((i == 2 and ("Dear Scott",)) or ("to you",))