Monday 10 November 2014

Intel NUC

(yeah, i didn't write for a while - i intend to start writing again, but we'll see how long i'll last)

About a year ago I got myself a NUC. This thing has been running my home server for all this time, and i got nothing but praise for it.

First of all, the box is quite well made. They got this sensor installed that makes that famous "Intel" sound when you open the box. Nice touch, Intel! The NUC itself (i got the Haswell i5 one, the most expensive at the time) is a bit on the heavy side, i expected it to be lighter. But then again it's mostly metal, and the NUC feels quite sturdy and extremely well made. So i got no complaints there - everything is where it's supposed to be, nothing loose, nothing broken. Nice.

The hardware is quite capable - i have never run into anything that made me wish that i had a more powerful box, and i've done it all - transcode DVD's, running ZFS RAIDZ, web server (for a while), you name it - i dun it. And it's quiet too. And having SSD as system drive is very nice - updating to the next version of Ubuntu took about 10 minutes, most of which was downloading the stuff.

One minor point is that for some reason they decided to go with mini-HDMI, which i burnt myself on. But this is indeed a minor point.

I do have a few words for Ubuntu though. Stop fucking changing around udev device names, dammit! I'm fucking tired of bringing up my ZFS cluster after every update-induced reboot! Assholes!

P.S. Pretty soon Ubuntu will be at codename starting with W. I hope they choose Wanking Walrus as a codename.

Saturday 10 May 2014

vCard is broken

It's not that i don't like this format - no, the format itself is fine. It's just it's used as the one and only phone contact format for everything. Yes, it's nice and extendable, and it's probably more suitable for this increasingly mobile-only world, but it's a nightmare to use as a simple phonebook.

Do you remember phonebooks in feature phones? Where you write a name, and you add a number, and get on with your life? Well, it's impossible to use vCard as a phonebook equivalent. Case in point: say, i want to add a taxi service to my Android phone. OK, I create a contact, and... and then what? Do write "Taxi" under First Name? Or under Last Name? Or maybe under Nickname? Not everything has a first or last name, you know. An old feature phone phonebook solved this problem perfectly - a name and a number.

Case in point number two: home numbers. Suppose i know a guy who has a mobile number and a home number. Where do i put his home number? Under his name? So if i also have a contact for his wife, do i put that number as her home number too? No? So each time his wife calls me from her home number, my phone tells me it's him, instead of simply notifying me that it's their home number? File it under a different vCard? Well, what's the point of vCards if i have to file home numbers under different contacts anyway - wasn't this the problem vCards were supposed to solve?

Case in point number three: sending contacts to others. Suppose i have a contact for one of my friends - i have his two mobile numbers, his home number in different countries, his home addresses in different countries, his nickname, his birthday and all that - in other words, i have his vCard choke full of personal data. So, when i want to give my number to someone else, i go "hey, let me send you his contact"... and send all this other info that i'm not necessarily willing to share with this person? Oh, "just send a number" you say? Well again, wasn't this exactly the problem vCards were supposed to solve?

See? It's broken. It works well for address books and such, but it needs way more robustness in both fields and how they are handled by software (home numbers for different people, privacy settings for contact sharing, etc.).

Tuesday 7 January 2014

Owncloud 6: could not find driver

Yes, i stumbled upon this error too. Long story short, if you have SQLite (don't do this if your DB driver isn't SQLite!), open /etc/php5/conf.d/sqlite3.ini and make sure its contents are:
# configuration for PHP SQLite3 module
extension=pdo_sqlite.so
extension=sqlite3.so