A blog by a Information Communication Technology student from Petronas Technology University about what he discovered and learned. Mainly focuses on guides, howtos, and news related to Linux, OpenSource and computing in general + some misc stuff.
Blog Details
Overall rank: 300818 Number of inbound blogs: 18 Number of incoming links: 32 ATOM: ATOM feed Last update: 2007-05-11 15:43:59 GMT Estimated value: $21,682
Analytics
Incoming clicks since last reset: 73 Outgoing clicks since last reset: 294
Latest Posts
Hacks: Replace yum's downloader with Axel
/! This is an ugly hack, use it at your own risk, I am not responsible for any breakage
P/S, your sysadmin might not gonna like this
Disclaimer aside, I really love Python.
So, I'm behind such a bad network which keep timing out, and downloading stuff using yum in this network is a real PITA. And so, I had enough of it and decided to hack around.
Axel is a CLI download accelerator thats lightweight and pretty fast. I've been using it quite frequently to get a bit more speed for my downloads. I think, why not just replace this urllib2 grabber with axel, so, I did. (I am such an evil guy)
After a few hours looking through yum code to find what to modify, I ended up with this
class AxelGrabber(grabber.URLGrabber): def urlgrab(self, url, filename=None, **kwargs): """grab the file at and make a local copy at If filename is none, the basename of the url is used. urlgrab returns the filename of the local file, which may be different from the passed-in filename if copy_local == 0. """
Make sure you put the file above at its path unless you are sure what you are doing. To make it usable with yum, some modification is needed in one of yum's source file.
Edit
/usr/lib/python2.5/site-packages/yum/yumRepo.py
change
from urlgrabber.grabber import URLGrabber
to
from urlgrabber.customgrabber import AxelGrabber as URLGrabber
and you are good to go. Do it at YOUR own risk remember.
FOSS.my 2008 Ended!
Everything has its end :). and FOSS.my 2008, ended a great SUCCESS!!.
It's been a fun roller coaster ride being a FOSS.my 2008 crew. All the rushing, stress, tears and blood to get things prepared before the event, and all the running all over APIIT during the event to keep everything ok, the lack of sleep and rest, losing the chance to hear most of the talks, etc, paid off when seeing everything went smoothly without any major noticable problems.
To be frank, I was quite scared during preparation day (Friday) considering soo many things not yet done such as tags, posters, signages, failure handling plans, etc. But all well ends well, we somehow managed to get most of them done in 24hours and prepared for the big day.
Can you believe that this came out of nowhere in 1 hour??!!.
I think I've been wearing quite a number of hats throughout the whole FOSS.my. From being the publication guy for the posters and tags, to being a bit of tech support for some machines, to getting the slides to the TV system, and finally settling down to helping the lunch and tea break flow running smoothly, and also accompanying Pia Waugh to the cinema to watch James Bond latest movie after the speaker dinner, it was a really crazy 3 days, but fun nonetheless.
I only managed to hear the day1 closing keynote by Pia Waugh and part of the memcached talk by Toru Maesaka. Hoped to be able to hear more, but I guess I need to wait for the video recording (hopefully the recordings went well).
Sadly, I had to leave early today on 1pm before FOSS.my2008 totally ended, mainly because I will be having an exam tomorrow morning on 9am, and I need to travel back to my university, which is around 5 hours travel by bus. After quickly saying goodbye to a number of crew, and briefing yondie and the awesome food and beverages volunteers about what to do for lunch and tea break, I left APIIT to the bus station.
A bit of a regret, we the Fedora Malaysia ambassadors ended up abandoning our Fedora side session mainly due to all of us are busy as crew of FOSS.my. But being a Fedoran, I believe it still doesn't end up in vain, as it syncs Fedora's spirit of prioritizing upstream. The organization behind FOSS.my is FOSS-SM afterall, of which we Fedora-My regards as our "upstream" organization. LiveCDs? .. only managed to burn 2 of them, and I wonder where they went, but James Morris from RH Australia took a pic of them (but I never had the chance to meet him):
Looking through pics tagged with foss.my on flicker, I also noticed that I also missed the crew lineup after the final closing keynote. T_T. I want to be there T_T.
I posted this on identi.ca on my way back to my university, but I think I should post it again here:
i believe #foss.my ended now. wish can still be there. lot of problems at prep day n 1st day but very happy that #foss.my ended a success.
aizatto, angch, colin, ditesh, firdaus, yk, wariola, yondie, saleh and all #myoss guys. #foss.my wouldnt have even started without y'all.
gurdip n APIIT staff, y'all rox!!. #foss.my wouldnt have survived day 1 without all of your hard work the day before #foss.my and during it
#foss.my speakers, thanks a lot for coming to help make #foss.my a success. i hoped to be at the auditorium, but guess I was busy with lots of stuff
#foss.my volunteers, especially those who helped in food and beverages. y'all rox!. though i hoped that y'all were here to help during preparation. still, y'all rox!!
not to be forgotten #foss.my attendees. without all of you #foss.my wouldn't have be as awesome!!!
#foss.my : the world is just AWESOME!!
FOSS.my 2008 was AWESOME!! .. Looking forward for FOSS.my 2009!!. Hope to see y'all again next year!!.
With the overwhelming talks submitted for the CfP for foss.my, we've decided to extend the CfP by a few more days. October 15 2008 is now when the closing is.
Some speakers have already been informed that their talks have been accepted. On October 15, we'll also announce whom they are.
Some people started raising that inexistence of some sort Fedora LTS is a problem. But, I agree with Mike McGrath post that Fedora serve the niche of a fast paced distro in the Linux ecosystem. Ever since my first day with Fedora , Fedora have been an exciting place to test out new technologies of the FOSS world. Yes it crashes here and there sometimes - eg: AIGLX and compiz during the early days, new Xorg, etc, but thats a common risk when you are choosing to live with this fast paced distro. CentOS filled the gap perfectly for my server needs, combined with Fedora EPEL, CentOS is just right. The only thing missing from CentOS currently is only Livna, (I don't really like RPMForge), once RPMFusion provide packages for CentOS, perhaps it'll be my main distro choice for installing in desktops that i'm lazy to take care of (eg: the family computer back at home).
Fedora LTS ? .. here it is .. or if branding a long term distro with Fedora name is really that important, how about revisor'ing CentOS, add fedora theme packages and name it Fedora-LTS .. or maybe , Rahul, how about a Omega-LTS? :P
P/S: Ain't ability to fork is one of the beauty of FOSS? Don't like how it is currently? Fork it! ^o^