Posterous theme by Cory Watilo

Django and Remote Sybase Servers

It took me a while to figure it out, so I decided to share:

 
DATABASES = { 
   'default': { 
       'ENGINE': 'sqlany_django', 
       'USER': 'YOUR-USER', 
       'PASSWORD': 'YOUR-PASSWORD', 
       'OPTIONS': { 
           'links':  'tcpip(host=YOUR-DB-IP-OR-HOSTNAME;DoBroadcast=None)', 
           'ServerName': 'YOUR-SERVER-NAME', 
       }, 
   } 
} 

Requires Django 1.2, sqlanydb and sqlany-django.

Freezing Kindle

UPDATE: It turns out, the weather is innocent! In fact, it's the unlighted cover that wreaks havoc. One call at Amazon.com later I've got my refund + a $25 coupon. For more information, there's an article at the Escapist Magazine.

There are still discussions going on whether the theory is correct or not, yet my Kindle didn't crash since I don't connect it to the pins anymore.

 

Before my last vaction I've got myself a Kindle for easier reading. I really love it and consider it the best invention since Guttenberg pressed his first Bible.

However it seems to cope very bad with coldness. In all the the months past  I have it, it froze exactly once on a plane. Now, when the temperatures are around 0°C, it freezes at least once a day...even when I carry it _inside_ of my jacket. Yeah and I realize it's funny, that it freezes when it's freezing... :-/

Right now, I'm not quiet sure, whether it's really the cold, or something mechanical and I'll have to send it in. However when it was really cold (~ -10°C), it even emptied the battery while waiting for a late train.

So, if you live in the polar area, stick to dead trees.

P.S. I seem to be not the only one having issues with the Kindle and cold: http://brilligblogger.blogspot.com/2009/01/death-of-kindle.html

 

HTC Hero & Android 2

So you have a nice HTC Hero, bought on the premise, that HTC is going  to deliver a 2.0+ update and had to wait way too long for an update.

But what happens now, all your friends have the update but you don't?  Everyone is talking about "OTA" and "over the air" and you still have  to use the firmware from April 2009?

Assuming you have a unbranded, unrooted Hero the solution is nearly  too easy: Just set the clock of your Hero one month into the future. Possibly, you'll have to restart your phone.

Seems like HTC doesn't want that everyone gets his update at the same  time. But considering how long it took to even release the latest  version, I'd call this behaviour pathetic. I'll try to get my next  Android phone from a different vendor.

P.S. Yes, you should back up your data, however mine hasn't been harmed.