Archive

Archive for September, 2008

Welcome updates

September 11th, 2008 timlau 2 comments

Updates:

The updates are rolling again welcome, i updated a couple of my systems and it went very smooth. Thanks for the hard work of the infrastructure team, they did a lot of work to make smooth ride for the users.

Artwork:

I have just installed the background packages with Fedora 10 backgrounds, Martin blogged about, i must say they look so damm good, so i can’t choose the one i like most, great works from the Art team, Thanks.

PackageKit:

The PackageKit yum backed have been hunting me for a while, not because the code is bad, but because of the way a spawned PackageKit backend work, it works by having one small python script for each api call that PackageKit supports ‘search-name, search-file, update-system, install-packages etc’. what the scripts does is to import a shared yumBackend module and call the method that is doing the action. The problem with this approch is that, every time PackageKit does a single action, yum has to be initialized, it don’t take long because of most stuff is loaded from the yum cache, but some features i PackageKit does a lot of calls and then perfomance really hurts.

The way to fix it, was to find a way to not initialize yum on every call,  Then i got the idea what if we could start some kind of dispatcher that listen to stdin for commands and parameters and then call the right methods to do the actions. then we could do multiple actions without initializing yum every time. I did the basics to the backend code so it supported a dispatcher taking multiple commands until it got an exit command. For this stuff to work, some changes needed to be done in the PackageKit C backend, to not just spawn a new script everytime, but keep it alive and just push commands into stdin.
I pinged Richard Hughes one friday afternoon and he liked the idea, so after a couple of hours of hacking, we had the basic pieces kicked into shape. One of the mayor issues was that we don’t what to lock yum for a longer period of time, because it use memory and locks out other application from using the yum API.
So it was made so that the C backend, keep the dispatcher alive until it has been idle for 5s, and then close it time.

The new way of doing thing has been released in PackageKit 0.3.2 currently in rawhide and it will hopefully give the user a better expericens for PackageKit i Fedora 10.yum –enablerepo=rawhide update PackageKit
It is easy to test in Fedora 9 too, just do a

yum –enablerepo=rawhide update PackageKit

It will only pull the updated PackageKit packages, not any other rawhide stuff.

Categories: Fedora, Linux Tags: , ,

bad taste

September 10th, 2008 timlau No comments

I think M$ got a bad taste over this

Categories: Linux Tags:

I suck big time

September 10th, 2008 timlau 7 comments

PackageKit Sucks !
Yumex Sucks !
Yum Sucks !
Fedora Sucks
!

I work on all these projects, so i must really suck, but opions is like assholes, everybody got one.
In the Linux world there is a lot of battles and flamewars, were peoples thinks X rules and Y sucks.
If all that energy was used on something constructive like trying to make things better, instead of just
complaining about it, what a boost that would be.
Last night i read that Richard Hughes was banned from Fedora Forum for making comments on an “PackageKit Sucks” thread and asking people to submit patches and report bug and defend himself on some very personal attacks.
People have a right to have an opion and to think that something sucks, but to lock out a main developer from an
end user forum, because of he takes time to respond to some users comments, it is very bad IMO.
We want to have close relations with users and developers, that is what makes the free software community strong.
Of cause there is some trolls out there just looking for a fight and throw some dirt at something, they can just be ignored, but if a big end user support forum starts to ban people they dont agree with that really sucks :)
And that will hurt Fedora and scare away new contributors, and that make my heart blead.
So lets be constructive and have some fun and make Fedora rule the world.

Categories: Fedora, Linux Tags:

New notebook for my wife

September 5th, 2008 timlau 4 comments

Today is was looking for a new laptop for my wife, the old one is not working to good any more. She use it for reading mails, browsing the web and to store our photos.

I was looking for one that could fullfil the following:

  • Should work out of the box in Fedora 9 (gfx,wireless etc)
  • No M$ Taxes, dont want to pay for something i dont use.
  • No close source drivers needed.
  • Looking good, a nice girl need a good looking laptop.
  • not to big and heavy, so no 19″ widescreen :)

I found this one

It almost only intel parts and they are well supported out of the box in Fedora, it is tested on Linux and can be bought without any OS and it looks good and is made in Denmark.

Categories: Fedora, Linux, Misc Tags: ,