Feb 262016
 

My server was dead. Not even a little blink from one of the many LEDs in the system or some other sign of life when putting the power on it. So I figured that replacing parts would be like a puzzle. Is it the power supply? The motherboard? The CPU? Or a combination of any of the parts? Replacing one of them would easily cost me about 100 euro. So I did some math, and figured that hosting was not only a relatively cheap solution, it also has many advantages (that all of you IT people can list better than me).

I went with DirectNIC, since I have been using their services for over 15 years now.

And as you can see, it just works. I had to do some work to restore the WordPress database, since the last backup I had on my NAS disks was from the end of 2015. But with some diskswapping, file copying, MySql-dumping+importing and WP-CONFIG changing it now works.

I’m happy!

Jun 092014
 

I’ve used CyanogenMod before and was very satisfied with it. No bloatware, latest features and stable. Had it on my Motorola Droid (special version, since it’s not officially supported), on my Galaxy Nexus, I have it on my Galaxy S4 (my work phone) and after the latest KitKat update from Sony that drains the battery faster than a crackwhore needs her next shot, I decided to give in.

Bootloader unlock, which means a factory reset (you have to request the unlock key from Sony support). Which was the alleged solution to the battery problems anyway, so what could go wrong.

Enter Murphy.

My Windows 8.1 laptop does not recognize the XPeriaZ in fastboot mode. On neither USB port. Not with Android drivers, not with Sony drivers. Just an unknown device with a yellow exclamation mark in the device list. So I hooked up my phone on my Linux server. Yep. That just works.

CyanogenMod usually works perfectly with the ClockWorkMod recovery instructions. Boot in fastboot mode, flash the boot.img and reboot. Flash the custom rom image, and while your at it the Google Apps, and reboot and done. Not this time. The phone is stuck at the CM boot logo. Read the instructions again. Okay, mandatory “factory reset/wipe data” when doing a fresh CM install. I thought I did that, but hey, let’s restart. Flash boot.img, reboot, factory reset/wipe, install CM, install Google Apps. Reboot. Same thing: the CM boot logo. WTF?!

Google is your friend. I wasn’t the only one with this problem. Seems that the data partition made by Sony is encrypted in a way, and CWM does not wipe it properly or doesn’t wipe it at all. TWRP (TeamWin Recovery Project) should be able to do it properly. Next restart: flash the twrp image, reboot. Wow, nice GUI! No fiddling with the volume buttons, just point and click. Wipe the data partition/factory reset. Put the CM and Google Apps zip in the update queue (!) and flash them. Reboot. Wait. CM boot logo. Wait some more.

YES!!!! It asks for my PIN to unlock the SIM card.

Enter Google account credentials and……..oh wait. I have 2-factor authentication and the authenticator was …. on this phone. What now? Damn you Murphy. Turns out you can install the authenticator on another device, scan a barcode (the squares thingy) from a browser on your desktop and then it “moves” the authenticator to that device.
After that, I could succesfully login on my Google account with my fresh CyanogenMod installation.

Only to find that it does not automatically download all my apps. In fact, none of them. Ah well, at least it’s working again.

One more word: if you play games that are Google Play Games enabled, make sure you install Google Play Games first and then the games. Doing it the other way around will give you strange and unpredictable results. In The Gate for example, I got an “Download failed because you may not have purchased this app” which is very weird, since it’s a Free-2-Play game. Just uninstall, install Google Play Games, and then install your games.

Dec 302013
 

The OCZ Vertex4 was diagnosed dead by the store/support center as well, but they don’t sell OCZ’s anymore. They offered me a replacement drive instead, and with a small extra payment I bought the Samsung 840 Pro 128GB.

And since I need to reinstall the whole shebang anyway, I bought Windows 8.1 as well.

New disk + Windows 8.1

New disk + Windows 8.1

Nov 302013
 

As a sidetrack for a work related project, I recently looked at GeoDjango. GeoDjango is the geospatially enabled version of Django, the socalled webframework for perfectionists with deadlines.

Doing the GeoDjango tutorial for the umpth time, Python caught me again. The way the language works, it seems to flawlessly connect with the way I think when I’m programming.

I needed to do some manual upgrading, can’t remember what exactly, but that had to do with the Ubuntu registries not having the latest version or so. Nothing special.

Thinking about two projects to create now. One is an idea I already have for a long time, so maybe it will see daylight some time.

Nov 282013
 

Yes, that’s right! The deal was made earlier this week, but I wanted to go public with it after talking to my boss. Which I did this afternoon. He took it very well, I guess.

For the first time in a long time, I will be leaving consultancy behind me. Unfortunately that also means no more company car, so I’ll need to buy one myself in time. My new title is Senior Developer, and I guess the senior refers to the amount of grey hair I have, or the lack of hair for that matter 😉

I will be starting my new job February 1st, since I have a 2 months notice on my current contract. Plenty of time to finish my current project(s), and to transfer the knowledge I have of previous projects to some of my colleagues.

Exiting times!