Suspending a Dell 6410 w/ Mint 11RC May 20, 2011Posted by CK in Software.
Tags: Dell Latitude 6410, Linux, Mint, suspend, wpa_supplicant
add a comment
If you just installed Linux Mind 11 RC on a Dell Latitude 6410 and, while on wireless, your system crashes when trying to suspend it, try this:
sudo mkdir /var/run/wpa_supplicant
This should fix it.
Nokia going Windows. Share price going south. February 11, 2011Posted by CK in IT, Mobility.
Tags: Meego, Microsoft, Nokia, Qt, Symbian, Windows
add a comment
Not much to say about this. One only needs to read the comments of developers following the announcement that Nokia completely "changes strategy", hand-to-hand with Microsoft. I guess most people expected that, ok, Nokia will test the waters and develop some Windows devices. Or at least that was my assumption. Unfortunately, such close partnership is quite reasonably expected to kill Symbian (which would be ok IMHO), Qt and Meego altogether. Microsoft is not known for its affection towards competitors. The PR talk by Nokia is not convincing.
I guess, it’s not only developers who are not convinced. During the day, Nokia’s share price in the DAX fell by some 14%:
At NYSE, as we speak, the share price falls by some 16%:
Clever move to go Microsoft, guys. Everyone has lots of faith in this, as you see.
The upcoming WebOS ecosystem February 10, 2011Posted by CK in IT, Mobility.
Tags: Android, HP, Meego, Nokia, Palm, WebOS
add a comment
I was particularly impressed by the HP announcements yesterday, that in addition to a couple of new phones and a tablet based on WebOS, it is also planning desktops/notebooks with the same OS. The main reason being, HP seems to be the second behemoth in a few days that realizes the obvious: Offering a complete ecosystem attracts developers; and a large range of applications attracts users — given, of course, a decent OS in the first place. Apple did this and has been winning the race so far. Microsoft does offer an ecosystem as such, but it doesn’t seem capable to capitalize on it, presumably because the platform/OS itself is not good enough. Android is apparently managing very well on the mobile world, but Google’s proposal on the desktop, ChromeOS, does not integrate on a development level (even though Google’s services make up for that to a large extent). Although this does not hurt Android-phones sales, I believe it is only due to the fact that Android is an open system, so phone manufacturers feel safe to base their businesses upon it.
I really think that WebOS can remain (become?) one of the big players in the future, given this new strategy of HP, its deep pockets, and the system’s quality. If I was a developer, I would be more than happy to create applications for this platform — especially if they have "write once, run everywhere" properties with as little customization as possible.
Hopefully, Nokia will also build on a similar strategy with Meego — even if it must divert towards Windows/Android for a while, to keep the stock holders happy. It would then have the additional advantage of offering an open platform (like Android is) to attract other manufacturers, but compete on device quality where it shines. Revenue from desktop H/W sales would be a bonus.
Blogilo January 15, 2011Posted by CK in Software.
add a comment
BTW, the previous post was the first one I wrote with Blogilo, and I like this tool quite a lot. Simple, and it just works.
Steve, I won January 15, 2011Posted by CK in Mobility, Productivity, Software.
Tags: Citadel, Funambol, Kontact, PIM, Synchronization
add a comment
After spending a considerable amount of time (yes, George, I know) looking at my options and trying various ways to synchronize desktop PIM data with my Nokia E71 phone, I eventually managed to make it work. It wasn’t piece of cake, and it requires running on my laptop some additional services, which I would not otherwise run. But it works. The main problem to deal with, is understanding your options. I tried many different setups with various combinations of Kontact / Evolution / Thunderbird+Lightning / Funambol / SOGo / OpenSync / SyncEvolution. Some of them appear to work for some people, but none worked for me in complete. Some that worked partially were
- Evolution + SyncEvolution + Funambol, but unfortunately Evolution was giving me so much pain re: my IMAP severs, that I just couldn’t stay with it;
- Thunderbird + SOGo connector + Funambol, but after creating TODOs and events I could not edit them anymore (this is a known bug, which remains unresolved).
Eventually, what worked for me was a combination of Kontact, Citadel, Groupware Sync server (customized Funambol release) and the Funambol SyncML client on the phone (although Nokia’s native client is used underneath and would apparently work directly if I tried it). This setup works almost out of the box (well that’s sort of a euphemism, admittedly); if you want to reproduce it, here’s how to do it:
First, install Citadel. This acts as a bridge between Kontact and Funambol, using GroupDAV on one side, and a Funambol connector on the other. Kontact is a full GroupDAV implementation, and so is Citadel. The alternative is eGroupware, but Citadel’s being fully open with no "upgraded" versions was the key factor to try it first. I never tried eGroupware eventually. The installation of Citadel (from source, as I could not find a Fedora package) was smooth and just happened. Configuration was, more or less, painless.
Then, I created a new KDE standard calendar resource from within System Settings, using GroupDAV and connecting to the local Citadel server. This bypasses akonadi, which has plenty of problems to solve, and is used immediately within Kontact (KOrganizer). Works like a charm. Following that, there was the biggest challenge: Going through akonadi for contacts. Unfortunately, KAddressbook cannot bypass akonadi; using a GroupDAV-based contact store must necessarily go through it. Until I managed to get it right, I had to fight with data store inconsistencies and delayed synchronization, disappearing contacts, and the like. Eventually it worked, when I created the new akonadi addressbook resource via KAddressbook and, before inserting any contacts, I set (via "Folder properties") an "Interval check time" of 2 min, "Local cache timeout" of 5 min. Apparently the exact values are semi-random and don’t play an important role, but it is (I guess) important to deactivate ""Inherit cache policy from parent". Based on the set up described above, contacts are always synchronized without problems, albeit with a delay of up to 5 minutes.
Having completed all that, it was time to install the Groupware Sync server, which was as easy as it gets. It knows where to find the local Citadel installation, and the built-in users are created automatically based on Citadel accounts. So not much more to do on this side either.
The last step was to install the Funambol SyncML client on the phone, and set it up. After some trial-and-error, I got it working. One of the things I had to do was to change the Funambol server’s port from 8080 to 80. As I am not running any other services on that port, it’s ok for me. I guess that eventually it would also work with 8080, if I would commit some more time to figure out the correct settings on the phone.
To make sure there’s a clean start, I removed all contacts and calendar entries from the phone — they were outdated anyway. The Funambol client has an option to do that very easily. Then I chose to synchronize everything, and, voila! My Kontact addressbook and calendar entries made it on the phone.
While using it I found out that addressbook entries are not synchronized when the default phone of the contact is a cell phone number (apparently a bug, it’s ok if it’s declared as a land line), and also that contact photos are not sync’ed (who cares). Perhaps these would be ok with eGroupware, but I’m not interested to change only because of that. Citadel’s appalling web interface? Yes, that could make me switch.
The result is much more important for me than simply synchronizing my PIM data. It means that, to a large extent, I am now safe from lock-in. I am running my PIM using an open integrated solution (Kontact) on an open desktop (KDE) and an open platform (Linux), so I’m safe enough on this side. Citadel is GPL as well, and Funambol is also open source (not sure about the exact license). All are running on my own infrastructure, and the data remains with me. On the phone side, I can use anything with a SyncML client available — and apparently, there’s one for most of the interesting phones/platforms out there. So I could simply switch to a different phone & OS, without caring too much about PIM synchronization. Which is, honestly, a blessing.
I’d love to hear if this article solved similar problems for you, so just leave a comment if you find it useful!
The story so far November 3, 2010Posted by CK in IT, Productivity, Software.
Tags: Chrome, Crossover, Evolution, Fedora, Firefox, GNOME, KDE, Konqueror, Kontact, Kubuntu, Linux
1 comment so far
So here’s the summary of my linux@laptop adventures so far:
I started with Kubuntu, which as it turned out, after some kernel upgrade would not suspend to RAM/disk correctly. For a laptop, this is a no-go apparently, so after I realized that others also had the problem and that it would not be solved any time soon, I decided to give other distributions a chance.
I tried OpenSUSE, but after installation it wouldn’t even start. Without wasting too much time on this, I moved to Fedora 13; and it worked. It installed without problems, booted without problems, suspended without problems. After upgrading to the latest packages, I faced a common issue with newer Nouveau drivers, which wouldn’t work any more. By then, I had already found out about rpmfusion, which includes Nvidia drivers to install at the click of a mouse. Smooth.
Having solved the basics, I started using the system on a day-to-day basis. I thought I’d give a try to Gnome after a few years of faithfully discarding it, only to realize I was very much correct in doing so. Maybe Ubuntu has done a good job in its customizations, I don’t know, but the vanilla flavour in Fedora is ugly and unintuitive. Whoever disagrees, I would like them to walk into the shoes of a gnome-illiterate user and try to make changes such as setting date format to DD/MM/YYYY (instead of MM/DD/YYYY). I’m not interested in changing the whole system locale for that (and let’s forget about the fact that a linux apprentice knows nothing about locales). KDE, on the other hand, just works, and makes full sense when configuring and using it.
Where Gnome shines, is certain applications such as Evolution. It just rocks, especially when compared with Kmail. With the latter I had plenty of problems while using it with IMAP, but moving to disconnected IMAP was a game changer and Kmail now works quite well. In addition, Kmail failed to notify me while one of my IMAP accounts would not authenticate due to a server-side problem. The result was that for 4 days I would not get email there, thinking I was just not the recipient of any. This could have very bad consequences, for reasons irrelevant with this post. In any case, I would have already switched to Thunderbird or Evolution, but I want to have a desktop-wide addressbook that I can sync with a phone in the future, so I’m giving Kmail some more time and one more chance. In addition, Kontact is really nice in its entirety.
One more thing to mention in the “email” category, is spam detection. The default with Fedora/KDE/Kmail, is using SpamBayes, which would leave quite some spam in my mailbox even after some (admittedly, not too much) training. I then installed/tried SpamAssassin, but integration with Kmail was poor and spam would not be moved out of the mailbox even if marked as such. Eventually I went with Bogofilter and am happy to have done so, it works like a charm and improves a lot with training.
The, browser wars commenced. The default of Konqueror is slow and outdated in comparison to other browsers. I tried switching to the webkit kpart, which improved things a lot but didn’t solve many of the various problems such as random crashes. I really insisted, due to desktop integration, but at some point I just gave up. I made Firefox my default browser, and I’m very happy to have done so. Yesterday, I decided I can’t rely on Konqueror even as a second browser (I always keep 2 around). So for the first time, I decided to give Chrome a chance. So far I was resisting, mostly due to my concerns about Google. I must admit, the thing is *fast*. Although I haven’t switched to it as a main/default browser, I have been tempted to do so. In any case, it now serves as my alternative browser, should I need to test something without cleaning up cookies, or if Firefox does not work properly with some site.
Finally, when it comes to every-day usage, Office applications deserve a mention. Being realistic, I had to be able to run MS Office. I’m not interested in booting up virtual machines for this purpose, so I tried CrossOver for Linux. It works beautifully, and did not have a single problem so far. Well done.
PS: The Ubuntu font is amazing. It is my main desktop font.
The linux-on-laptop experiment October 13, 2010Posted by CK in IT, Mobility, Personal, Productivity.
Tags: Apple, Dell, Kubuntu, laptop, Linux, MacOSX
1 comment so far
Eight months ago, I made a pledge: My next laptop would be running on some Linux distribution. Exclusively. At the time, I received various comments, incl. a user satisfaction curve that foresaw disaster. Yesterday evening the pledge became a reality, and it remains to be seen if the curve will also become one.
After also advising with Ubuntu’s “certified hardware” list, I went for a Dell Latitude E6410. The laptop itself is quite fine, but of course from a design point of view there’s nothing to compare with the Macbook; the latter wins hands-down. Having said that, who cares.
Installing Kubuntu 10.10 from a CD was pain, to some extent. The problem apparently has to do with the graphics card, and it took me some time before I find the respective bug report. Thankfully, there was also a seemingly simple solution which worked perfectly well. Eventually Kubuntu installed and (almost) everything worked fine out of the box. I’m quite impressed with how polished it is, and I am mostly impressed with the new default browser, Reconq. It’s dead-simple and, being webkit-based, it renders fast and without problems.
The only problems I currently have are a non-fully-functional trackpad (smart scrolling doesn’t work), and lack of thermal sensor information — which I understand is a problem with Dell and Linux across the board. I can live with both. All of wifi, bluetooth, camera, graphics*, audio, power management (suspend to RAM/disk), etc, work fine. I haven’t tried the fingerprint sensor.
Overall, I’m very happy with my choice, although it’s certainly too early for safe conclusions (and I still regret that I paid for all that MacOSX software which I now put aside). I’ll keep you posted how it goes.
Update (already): Rekonq doesn’t like WordPress. My post was sent in half. Time for the fox.
New job: Joining Exodus S.A. September 15, 2010Posted by CK in Personal.
Tags: Exodus, Work
Following my return to Athens, I’m very excited to join the R&D department of Exodus S.A., starting in October. Exodus has received multiple awards and distinctions in the past years, naturally making it an attractive workplace. Looking forward to great collaborations and excellent research results!
(Repost) AWS, Eli Lilly, and all that drama August 8, 2010Posted by CK in IT.
Tags: Cloud computing, SLAs
add a comment
A post in my SLA-related blog, here.
Python memory management 101 July 12, 2010Posted by CK in Software.
Tags: Memory management, Python
add a comment
>>> a = 1
>>> b = a
>>> b += 1
>>> a = 
>>> b = a
Same for custom classes/objects.
Technically it makes sense, of course, to avoid deep-copying. On the other hand, it may be counter-intuitive in cases like this:
>>> a = 2 * []
It took me a minute to recover and realize, that statement
a = 2 * [] does not create 2 different lists within “a”, but rather 2 references to the same list.