Spring Cleaning for 2013

With Easter just around the corner and possibly spring coming shortly after–Canadians have to wait a bit longer for spring t0 properly arrive and winter to make her final exit–that it would make sense to update my blog.   Many things have changed in the past few weeks .  Like we have a new pope, Pope Francis, just in time for Easter.  (I’m not going to weigh in on my opinions of the decision of the Conclave, other than I have mixed feelings.  And each passing day does not ease my general feeling about unease.)  Some things have not changed.  Like most things in the world I guess.

With the slow coming of warmer weather, I have a good excuse for a bit of spring cleaning and growing myself.  In terms of spring cleaning, I have meant to really organize my activities and my surroundings.  Unfortunately since I had to make do without my laptop for a few weeks, that has not helped me get more things done.  Especially when it comes to dealing with my overflowing inbox.  Apologies for everyone expecting me to get back to them.  I’m getting there slowly.

I did get to play around with setting up Python on my hosting environment and with Clojure.  Clojure, while definitely useful still feels like an exercise in academics than industrial programming.  (Still one can write a full implementation of Snake/Nibbles in Clojure in under 100 lines of code?  Madness!)  Python on the other hand is too much fun to feel like work.  I considered using something like a static website generator like Nikola or benjen to port some of my websites.  But I think for kicks, I will go the route of using Flask and craft my own mini-site just because working with Python is a such a joy.

One unfortunately necessary bit of spring cleaning will be changing Linux distros again.  It seems that Canonical is doing a fair bit of wild experimentation nowadays.  Too wild and it smells like they are suffering from NIH (not invented here).  The idea to chuck out everyone’s hard work on replacing X with Wayland, with their own thing was just too much.  So it looks like I’m going back to openSUSE for good.  It is just a matter of when I get around to migrating all my systems over.  I have no real issue with Canonical doing what they want with their own distro Ubuntu.  I just don’t agree with the philosophy, and the needless experimentation, especially since I am quite happy with using a relatively standard KDE 4 desktop.

Hopefully once I finish all the spring cleaning I’ll get to finish up and show off some the projects I’ve been working on.

 

Innovation in Increments

I have the good fortune of working in a Research & Development group. That means I get to learn about new ideas, experiment with them and apply them appropriately. Unfortunately I can not discuss my current project, other than it involves automating the creation of mobile applications. While I can not say that I am building something that is so deeply innovative that it has no precedence. But then again what most people do not realize that innovation happens mostly in small increments. You take an interesting idea, see if it makes your life easier and better. If not you review your work and options, and you try again. If it works, you get innovation!

So while I can not comment on my own work… 🙁 I can point some interesting work happening in the libre software community.

Canonical’s New Take on Scrollbars

Many of today’s computing innovations like tablets deal not with radical new technologies.  But rather making technology more usable for non-developers and non-engineers.  It might not sound like much, but Canonical is working on improving the usability of scrollbars in their Gnome desktop: http://www.markshuttleworth.com/archives/615

Take a look at the video in Mark Shuttleworth’s post.  I definitely think that abstracting the line indicator and the actual control is a great idea.  It also makes it more touch friendly and intuitive.

MeeGo and Qt Lives for KDE and the N900

While not so much an innovation per se, I am happy to hear that the development of Qt and MeeGo will continue.  The KDE crew came out and pointed out that Qt back when KDE started was a great framework and is even better now.  Back when I started using KDE, I was amazed at how well everything integrated together in look and feel terms.  This was all possible with KDE settling on one good UI framework, Qt.  Now that it is more cross-platform and rounded out, it still is a great compelling framework to learn and use.  There are some governance issues that need to get worked out, but it is nothing that won’t be resolved nicely soon.  I indeed intend on learning Qt, as soon as my own schedule clears up.

[Another analysis on the Nokia/Qt/MeeGo/KDE question.  Man isn’t life in the libre software world messy at times.]

As for MeeGo, sounds like Nokia will be supporting the N900 as an official development device for MeeGo.  So maybe Mr. Elop changed direction, but at least there is a way forward for MeeGo handset developers.  Hopefully that’ll mean that we can get started hacking on MeeGo.  And once more devices come out, all developer efforts can get carried over.  Maybe, just maybe we’ll finally have a good libre software platform for new disruptive devices, that won’t be threatened by the domination of one massive vendor.  I’m looking at you Google, Microsoft and Apple.

In Search of Sanity and Coffee

I slept in today. Yesterday turned out too crazy for even me. I started off the day with a single plan: catchup. So what did I do? I wrestled with Kontact to work with my Palm. I decided to fix things… by backing up and wiping out my old KDE settings. The wipe out worked, and the backup not so much. That is the way I started my day.

Next, I “chilled” out by blogging and trying not to freak out about the loss of all my emails, contacts, and pretty much everything else.

Audio Docs class followed, and a changing of groups. My group remained the same with Rob, Masha and Amanda (a totally unrelated new Amanda), and a new girl joined our group whose name I forgot. I got randomly picked to record a sound on campus. Fortunately my partner finished 3 years in radio, worked in the CBC and confidently recorded everything. I helped “assemble” the mini-Disc recorder. And I held the bag. And provided conversation. Yes, I am hopeless.

In my absence, my group decided upon on using my idea (my obsession with Ewa) for the documentary project. Apparently the prof used my story as an example, and my group understood it as good. Rob started writing up the script, Masha organizing the project, and Amanda helping Rob. Yes, I feel touched with their decision, but the whole thing just started so spontaneously. Anyways, I promised to contact everyone, as soon as I got my email back.

I asked Masha about meeting up after class, but she said she had work. I then bumped into Kat, and asked her for coffee after 4. She said maybe, as I should of expected. Next I ran off to my cryptograph7 class.

Professor Charles Rackoff had already begun explaining to the class, why Max’s idea of a project on quantum cryptography did not work for the class. Basically, he did not want us dealing with physics especially when the class dealt with “classical” cryptography. Max’s second idea of hard drive cryptography sounds better. I got assigned the task of looking up on it. Cute.

Charles then quizzed us on the “obvious” and beautiful definition of pseudorandom number generators. I am starting to comprehend it, and the rest of the course seems to follow suit. Now I understand the theory, but I can not see myself thinking in pure theoretical-mathematical terms. My cavemen mind can understand art, writing and programming. My learning of mathematics is similar to my learning of dating. Me thinks me thick-skulled.

After class I met up with Kat, who passed up my offer for coffee, free lunch and a pleasant chat with old soup. Yes that is right. She preferred to go home and eat old soup instead of my company. I passed by Masha again, and foolishly proposed coffee after she finished work. She works at one of part of the university. Proposal refused politely and with tact. And not over lame, old soup.

My day ended with Rudy and company working on the average run time of algorithms. Algorithms and statistics are even lower down my mental understanding than cryptographic theory. And I just passed the algorithms course (probably out of the kindness of my prof), and never ventured back into that neck of the woods. So I tried helping Rudy’s group, even going off to figure out combinatorics. I re-learned that part, but still was mostly useless. Eventually, Rudy decided to end my suffering, and go home.

Went home, eat dinner and crashed into bed. Depressing dreams of living in a dystopian universe followed. I ventured out of bed late morning. Watched some old BBC Narnia stuff, cleaned around the house, and now in the process of resurrecting Kontact. Next I must undertake the task, of catching up two lost days and tons of homework.

I guess this puts off my writing my first epic scifi novel, and my blockbuster game. Tomorrow promises to keep me busy, until late night today. Yummy.

Open Source Palm-Desktop Groupware

I recently discovered the comfort of using groupware, to organize all my communication and email needs. I never used a groupware application before, so maybe I am just realizing the potential of such software. But I am getting ahead of myself.

I commute to university the majority of the time. This means 3-4 hours on the bus, with little to do. Last semester I began intensively using that time to finish homework, edit papers and so on. One of the things I wanted to do is to write emails on my Palm Tungsten E, and send them later. The Palm came with a Windows-only mail client, VersaMail. Not helpful when your main desktop being KDE running on Ubuntu Linux (Kubuntu 6.10). Fortunately that is where Kontact comes in.

Kontact: KDE’s Groupware Offering
Kontact acts as an all-purpose groupware program. I will not discuss the virtues of this program here. It is a serious contender for replacing Microsoft’s Outlook or Novell’s GroupWare. You should check it out yourself. Kontact comes with KPilot, a great program for basic syncing of a Palm. Unfortunately Kubuntu’s version KPilot had bug in it. Fortunately I found a deb from http://ubuntu.lnix.net/edgy/updates/kdepim-proposed/ that fixed my problem.

Migration
First, I needed to migrate my mail and contacts from Mozilla Thunderbird to Kontact. I needed to export my address book in Mozilla to LDIF. Kontact easily imported this. Kontact also comes with a neat feature for importing emails from other clients. A simple wizard, and my Thunderbird emails resided now in Kontact. An hour later of organization, I readied myself for Palm integration.

Palm syncing on Linux can be a chore. Fortunately, Ubuntu 6.10 comes with easy PDA syncing for most Palm PDAs. To my horror, KPilot actually removed contacts from my Palm. After I installed the updated deb for KPilot, this problem also disappeared. Now I all I need was the Palm’s email program integrating with KPilot.

VersaMail versus GNUGetMail
My Tungsten E came with an email client called VersaMail. Unfortunately KPilot’s email plug-in does not use the MultiMail format which VersaMail uses. Not wanting to buy an email client, I searched for a free solution. I stumbled upon gnuGetMail. gnuGetMail is a simple, open source email client and uses the older single account Palm mail format. All I really needed was something to write emails for later sending. gnuGetMail does both sending and receiving of emails.

I recommend both Kontact and gnuGetMail to anyone considering Palm based emailing.

Installing Kubuntu On a New Dell Desktop

Well its been a while… since I last blogged that is. Life has been more or less alright. A number of things happened in between that time so I will spend sometime on each of the major events: installing Linux on a new desktop, impressions of my courses, impressions about Scheme (which sort of relates to my courses), the Datasphere work-study saga, the madness of acquaintances, and general lack of girl friend and major events (hey, I need to bitch about something)

I recently got a new machine, so like any real technophile (or more accurately gadgets-techs-and-other-toys-lover or simply a normal guy) I totally went nuts the day I got it. A few weeks ago I ordered a brand-new spanking Dell Dimension 9150 with a 19″ UltraSharp LCD thrown in. Naturally the morning it arrived I was on a tech-driven high. The poor Puralator guy must of thought I was nuts, bouncing all over the place. But hey, its not everyday is a Christmas equivalent, and the delivery guy basically became a Santa Claus. 😉 A few minutes later of forced calmness, I managed to drag my new toy upstairs and get it setup. The rest of the day was spent either installing stuff, or doing random chores and putting the machine through its paces. I must say that I was impressed with the machine in general, and strangely enough I enjoyed playing around with Windows XP Media Centre which I found to be very well polished and thought out for the most part.

Ater a tiny bit (read as days) playing around with Windows XP Media Centre, I got into installing Linux. All I can say to that is that one I’m a Linux junkie, and second that the target machine is a desktop, hardware issues would be less of an issue. Or so I thought. Fortunately for me I did a bit of research before deciding what kind of a machine to get (and kind of hardware it would contain). Hence the presence of a nVidia card (sorry ATi you maybe Canadian but your support is below par :(), the Intel integrated sound card (I’m not too serious in the music production scene… yet), and the Intel e1000 based network card. This time while having a much more agile machine, I decided against going with Gentoo. Simply I got tired of all the hassle of baby-sitting the system, and dealing with a never-ending stream of updates. So I decided to try out Ubuntu to see what all the fuss was about. Specifically I chose KUbuntu, since I prefer the more polished KDE over over-simplified Gnome. The installation went without a hitch, except for the network card. Aparently I have the latest generation of Intel’s Pro 100/1000 Ethernet cards, and the e1000 driver that comes with most Linux kernels was too old. Intel preceiving this released the source code for an updated e1000 kernel module. Since I was new to Ubuntu and Debian-style distributions in general, so kernel source recompilation was out of the question. I switched back to Gentoo for about two weeks. During that time I found that some compiled and posted the module for the Ubuntu. So I reinstalled Ubuntu, and I have stuck with it since.

My intial feelings about Ubuntu are positive. The distribution packaging system is based in the rock-solid apt build system (which mirrors Gentoo’s Portage), and has a decent number of packages available right of the bat. The hardware detection and setup is very well done, and I appreciate the dbus-hal-ivman automounting functionality (even thought the automatic starting of Kaffeine player when plopped in a DVD is a bit unnerving). The idea of doing sudo for everything that would normally require su-ing in as root is an excellent idea. In a matter of a day I had pretty much everything I needed to run a full scale development box. I even found this neat blogging utility that I am using now called BloGTK. All I need to figure out is a few minor issues such as DVD copying. I hope to get comfortable with compiling kernels under Ubuntu too, so that I can peacifully upgrade to any newer kernel (or slightly tweaked one), and still keep my Ethernet functionality working. Overall, I am greatly surprised how easy it is easy to install and administer a Linux computer nowadays. I think the open source community has gone a long way to making Linux a viable desktop option. I still can remember the fun and games of installing older versions of Mandrake, and SuSE on an older machine and my laptop a few years ago. You want X running on your laptop back then? Good luck. And you want to use your funky-dory nVidia card for 3d accelerated graphics??? Under X??? Dream on. Fortunately those days and experiences maybe numbered. That is all on the topic of new desktops and installing Linux.

Err… remember that I would write about more stuff earlier on? Well I guess I lied. I will continue on later tomorrow. Night.

Framebuffer Fracked but System Up and Running

Live in the inside of a particle accelerator is quite fast. You hardly get time to look around, but still things happen. So you are never too bored. Buts its no fun… especially if you are about to have a head-on collision with your opposite-spin counterpart at 0.99999C. Enough about high energy physics research, more about me.

Recently, I have concentrated almost exclusively for next week, and especially with building my Gentoo system. The Synaptics touchpad on my laptop gave a lot of trouble, and even worse was the framebuffer. Everything is now working, except for the blasted framebuffer. Naturally, it took nearly ten recompiles of different kernels to get it right. And a lot of searching. As of right now, I have a working X, with a minimal KDE install, Abiword, and Firefox. Its still a long ways away from the hard core developer production system I need. Fortunately most of the hard work is done.

Truth be told I have been slacking a bit. My room is still a mess, things are misplaced, and I have not touched my notes (let alone the assignments) yet. The resume still needs to be done, OSAP picked up, rides, scheduling, et cetera, et cetera, ad nauseum. Better get cracking. Night.