Fedora 9 : before and after

I have recently upgraded my laptop to Fedora 9.  Those of you who come often to this blog or follow me on Twitter, know that I’ve been waiting for this release like for nothing else.  Two technologies in particular – KDE 4 and Firefox 3 – were the center of my focus.  Of course, I could updated them separately and tried them earlier, but I wanted to follow the path of the distribution.

The upgrade itself went fast and easy.  But starting with the first reboot, I was getting more and more negative towards the new release.  While booting for the first time, I got two messages, notifying me that wpa_suppclient service and CUPS daemon failed to start.  While I don’t care much about printers, wireless connectivity is vital for me, so that was a bit discouraging.

The login screen.  It was changed quite a bit, and I didn’t like it much.  Logging in.  Somehow I ended up in Gnome, even though my desktop environment was KDE for the last 7 years or so.  Logout.  Switch into long awaited KDE 4.  From the first look it was beautiful, even though not quite for my tastes.  Surely, I’d need to reconfigure and change a few things. Not a problem for me at all – even more fun so.

Continue reading Fedora 9 : before and after

Preupgrading Fedora 9

Fedora 9 is coming Real Soon Now ©. I mentioned before that I am desperately waiting for this release, since it brings KDE 4 and Firefox 3. One thing that I haven’t seen noticed anywhere until I read this interview is “preupgrade”. It sounds pretty cool:

By now, the “preupgrade” package should be available in updates-testing for Fedora 8. Enable the updates-testing repo and install it. It currently shows up as “Upgrade Fedora” in your Applications -> System menu.
From there, it’s very simple – follow the screens to choose what to upgrade to, wait for everything to download, hit “Reboot”, and the upgrade will begin!

Basically, what happens is that Fedora 9 installer is downloaded together with all the required packages, while you are still using Fedora 8. Once everything is in place, you can simply reboot and upgrade your system, without burning any CDs or DVDs or waiting for long downloads while having nothing to do.

Thou shalt not ignore warnings

Here is a quote from a wise comment in the discussion of the “Linux system programming” book review:

Build your code with -Wall -Werror (or your compiler’s equivalent). Once you clean up all the crud, that pops up, crank it up with -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith. Once there — add -Wreturn-type -Wcast-qual -Wswitch -Wshadow -Wcast-align and tighten up by removing the no in -Wno-unused-parameter. The -Wwrite-strings is essential, if you wish your code to be compiled with a C++ compiler some day (hint: the correct type for static strings is ” const char *”).
For truly clean code, add -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls.
The people, who wrote and maintain the compiler, are, most likely, several levels above you in understanding programming in general and C-programming in particular. Ignoring the advice their code generates is foolish on your part…
As a minimum, solved warnings will make your code more readable by reducing/eliminating the “Why is he doing this?” questions. More often than not, they point out bugs you would otherwise spend hours chasing with a debugger later.
And they make your code more portable. But if you don’t understand, why a warning is generated — ask around. Don’t just “shut it up”. For example, initializing a variable at declaration is usually a no-no. If the compiler thinks, the variable may be used before being initialized, scrutinize your program’s flow. If you can’t figure out, it may some times be better to disable this one warning temporarily with -Wno-uninitialized to move on, instead of shutting it up for ever by a bogus “= 0” or some such…

What Did You Change Your Mind About in 2007?

Slashdot runs an excellent discussion on the topic of “What Did You Change Your Mind About in 2007?“.  If you want to learn more about what people on the Web had changed their minds in 2007, try this Google search – plenty more there.

What did I change my mind about in 2007?  Short answer: Google.  Continue reading for the long version.

Continue reading What Did You Change Your Mind About in 2007?

On Microsoft and Linux

Remember the other time I was agreeing with Matt Mullenweg’s prediction of Microsoft opening sources of Windows by 2017?  Remeber I wrote a list of bullets with my reasons?  Remember the first one being:

Neither Microsoft in general, no Bill Gates are stupid.  They are very much profit oriented. Whatever makes them more money, they’ll go for it.

Well, here is another piece of news that confirms that.

Quote #1:

Novell was paid a whopping $355.6 million by Microsoft in return for software licensing

Quote #2:

Microsoft purchasing 70,000 licences for Novell’s SuSE Linux enterprise server, which accounts for much of what Microsoft was paying for. Microsoft, in turn, then sells these on to its customers.

Quote #3:

“This is to bridge the divide between open source and proprietary source software,” said Microsoft CEO Steve Ballmer at the time, in what amounted to an abrupt about-face on his part given his previous criticism of Linux. “It gives customers greater flexibility in ways they have certainly been demanding.”