Fedora 15 : Gnome3, here we go again

As you probably know, Fedora 15 was released yesterday.  I’ve been waiting for this release with a big worry in my heart.  While I did, of course, want to have a look at the new service manager systemd and enjoy the power management improvements, I had my doubts about Gnome3.   My doubts were based on two reasons.

Firstly, for the last decade or so, every major release of Gnome or KDE disrupts my workflow so much that I have no other option but to switch to an alternative desktop manager.  When the new KDE comes out, I switch to Gnome and when the new Gnome comes out I’m going back to KDE.  Not because I want to, but because there is a limit to how much I can take.

Secondly, because I’ve heard so much praise about Gnome3 and the new Gnome Shell, that I actually tried it out when it was in early beta.  I was puzzled then and I hoped that something would be done about the migration process.

Don’t get me wrong, I like new software, new ideas, and new designs.  But I also need to work.  My daily routine doesn’t require much desktop usage – I spend most of my time in the browser and in the text editor – but I do rely on things to work.  In particular, I need my shortcuts to work, I need my desktop icons to be where I left them, I need application shortcuts and system monitoring widgets.

Back when KDE4 was released, they decided to get rid of desktop icons.  There was a way to add a folder view to the desktop and sort of have the same functionality, but it was too different for my tastes.  Now, Gnome3 goes south too.  After the upgrade to Fedora 15, Gnome3 kicks in, and all the icons from the desktop are gone.  They are still in your Desktop folder, but they are not displayed on the desktop anymore.  And I can’t seem to find a way to add them back.  Also, all widgets and application shortcuts are gone from the panels.  Yes, you can now switch and search and find applications, but it’s way longer than just clicking on an application shortcut in the top or bottom panel.  As to the CPU, network, and other system monitoring gadgets, I can’t see away to add them back.  And that brings me to the next point…

Migration path.  It is a common practice in software design to guide the user through the interface when the user sees the interface for the first time.  Especially when the user is used to seeing a totally different interface previously.  A couple of arrows showing where things are would help a lot.  A quick tour guide would be ideal.  But none of that appeared in my fresh Gnome3 desktop.  I somewhat figured out how to move around.  But I am far away from being productive with this new interface.  And even to get to where I am – I had to spend a couple of hours, given that I am also a technical person with some understanding of how desktops work and what they do.  A though of upgrading my wife’s and my son’s computers sends shivers down my spine.  It will be a disaster.  I’m not comfortable with not upgrading them also, but I guess they’ll have to stay on Fedora 14 for now.

There is something else that bugs me quite a bit about these new changes.  They seem to be fixing stuff which is not broken.  I mean pretty much every desktop user out there is familiar with the desktop workspace, icons, shortcuts and main menu.  Why change that?  It does work!  Are there things that don’t work?  Well, since the beginning of times, people were complaining that you can’t change Gnome calendar display to show Monday as the start of the week (yeah, there is a way, which involves locale compilation and system-wide changes), and flag icons on the keyboard layout switch (there was a workaround for the older version of Gnome which I applied, but now the icons are gone again).

I do appreciate all the hard work all those brilliant people put into this new Fedora 15 and Gnome3 releases.  Thank you all.  I know, you worked hard.   But the result is a devastating user experience, as it is now.  And it doesn’t have to be.  It’s like 99% of the work was done and only a tiny bit is missing.  But without that one bit, the other 99% don’t make any sense.  This is a great pity.

With that, I’ll spend another couple of hours trying to figure this Gnome3 thing out and if it won’t start working for me by some magic coincidence, I’ll have to switch to KDE.  Again.

P.S.: As for the rest of the Fedora 15 release, it looks alright.  I did lost my wireless connectivity on my home laptop, but that is probably because kmod-wl-something is not available for the new kernel or yum didn’t pick it up.  I’ll stick a cable in it later today and will try to update.  Hopefully it will work out.

P.P.S. : My brother pointed out to me that some of my problems can be fixed by installing gnome-tweak-tool and tweaking the configuration. At least I got my Desktop icons on the desktop now.

PrimeTel maintenance

I just received an email from PrimeTel, informing me of a scheduled maintenance work.  Just in case you didn’t get yours, here is the content of that email:

Dear Valued Customer,

This is to inform you that due to scheduled maintenance of our network infrastructure, you will experience service outages during the following period:

30/05/2011, from 04:00 am to 05:00 am Cyprus time.

It is expected that the total downtime shall not exceed 30 minutes and we will do our best to keep it minimal.
We apologize for any inconvenience and please do not hesitate to contact us for further information.

PrimeTel Support Team
Customer Support Service: 133

 

The end of currency

TechChrunch has a nice post covering the developments and ideas in the area of digital money.  Even though most of the discussed is far from being practical today, the ideas and the progress are still fascinating.

Virtual currencies are in the news again with all the discussion aroundBitcoins, which is limited in supply and can be exchanged anonymously. Our own long experience with another digital currency, Ven, has made us think about the logical conclusion of these activities, and what it means for money at large.  And what it means is the end of money as we know it.

Color Image Generator

Today, I had to create a simplistic tool for one of my side projects.  What I needed was a quick way to create an image of a specific size, filled with specific color.  If it was just for me, I could have survived with the Linux command line, of course.  But there are other, non-technical people involved.

I coded a quick prototype in PHP with ImageMagick, which I called Color Image Generator.  Once the functionality was there, I cleaned it up a bit and published to GitHub.  You can grab the sources and use them any way you like, or you can use the hosted version.  Enjoy!

Partial string replacement with fixed length in PHP

Today I came across one of those problems that look simple and straight forward at first, but then somehow consume a good part of an hour to solve.  I wanted to replace a part of the string (in the middle), with given character, without changing the length of the string itself.  Once scenario would be a credit card number, where I would want to replace all digits with an ‘x’, leaving only the first digit and the last four as they were.  I tried a number of approaches, including sscanf() and array_splice() ones.  My final version is below.  It might be somewhat longer than I expected, but I like the simplicity of it.

<?php
/**
 * Replace middle of the string with given char, keeping length
 *
 * <code>
 * print padString('1234567890123456', 1, 4, 'x');
 * </code>
 *
 * @param string $string String to process
 * @param integer $start Characters to skip from start
 * @param integer $end Characters to leave at the end
 * @param string $char Character to replace with
 * @return string
 */
function padString($string, $start, $end, $char) {
    $result = '';

    $length = strlen($string) - $start - $end;
    if ($length <= 0) {
        $result = $string;
    }
    else {
        $replacement = sprintf("%'{$char}" . $length . "s", $char);
        $result = substr_replace($string, $replacement, $start, $length);
    }

    return $result;
}
?>

P.S.: Chris posted an alternative solution. Please have a look.