TermKit: The Best of Both Terminal and Graphical World

leave a comment »

You’ve probably heard of TermKit ; the sensational terminal platform that has attracted lots of interest from *nix community. It’s probably the one of the most watched/forked project on github (in javascript section). I’ve spent the last few minutes playing with it and it’s kinda cool. It’s not a replacement for an old-school terminal emulator yet the idea of being able to inspect the content of all pdf, images and codes in one single window is such a time-saver. You can run TermKit in any WebKit browser (in this case Chromium) yet some graphical features were missing from the version I tested in Arch Linux (evidently this thing is optimized for OSX).


Written by Woody

May 27, 2011 at 8:09 pm

Posted in Apps

Firefox 4.0 Is Released

leave a comment »

Just a few hours ago Mozilla launched Firefox 4.0 and it already seems to be much faster than the 3.5 version that was previously installed on this computer; although this is just a personal impression and there is no official benchmarking or statistics at this stage. The funny thing is that this is the first time that I can remember a major release of Firefox (honestly, when was the version 3.0 released? 2007, 2008?). There is no radical changes in Firefox 4; however, there is no doubt the super-speed hype will give this version a positive spin. It seems that Mozilla does not want to rock the boat.

UPDATE: Here is a nice live download map for firefox 4.0.

firefox 4.0

Written by Woody

March 22, 2011 at 4:07 pm

Posted in Apps

Probability and Statistics for Python Developers

leave a comment »

python stats

Allen Downey (the author of Python: How to Think Like a Computer Scientist) has published yet another gem (for free): Probability and Statistics for Python Programmers. I’ve been through the first chapters and It’s just amazing. To be honest, I never liked statistics (even worse I loathe probability) but this book approaches these topics from a different perspective. The fact that the author primary reference has been nothing more than Wikipedia is a tip-off that this is a different reading. Highly recommended for people who have passion for both mathematics and programming.

Written by Woody

March 21, 2011 at 4:47 pm

Posted in Python

Gruelling Time for GNOME

with one comment

If you are following headlines, you should have noticed that GNOME has recently attracted lots of criticism from various groups. Following the not-very-recent Gnome/Canonical argument over Unity Desktop (and rejection of several other Canonical’s proposed projects for Gnome) and recent comments of GNOME’s co-founder supporting proprietary products(RMS once called him a traitor), and now KDE developers have accused Gnome project for not being as collaborative as they used to be. I’m not a GNOME user but I’m slightly worried about the direction that Gnome project is headed and I’m not sure we are going to like what will happen.

Written by Woody

March 12, 2011 at 6:03 pm

Posted in General

Gentoo and KDE 4.6, Nice Companions

with 3 comments

I recently made a big jump from Debian to Gentoo on my EeePC netbook. Don’t get me wrong, I’m still a Debian fan; I just feel like that I need to try new things. Since I’ve started using Arch Linux two months ago on my other laptop I’ve always felt like that there is something wrong with the way I learn GNU/Linux. Sooner or later, at some point, you just start to realize that you need to go deeper. Gentoo gives you a very good start to get into the guts of the whole GNU/Linux business.

Gentoo was my first source-based distro. I was also thinking of Crux but it slipped away when I realized that Gentoo is much better documented and has a larger community. I was originally just planning to settle for a X-free environment but I suddenly had this desire that I wanted to try KDE. KDE is not the first thing that comes to mind when you have a netbook. Instead, XFCE is lightweight and is doing very well on my Arch Linux laptop. However, It’s time to experiment with KDE and see whether it fits my need or not. Well, it seems it does:

Gentoo KDE 4.6

Gentoo and KDE 4.6

So far, KDE speed and performace seems to be acceptable on such a low-profile netbook unless I start to open fifteen apps everything goes very well and that is fine for me. I have enabled all the eye-candies (can you believe I’m talking about eye-candies?) ,compositing, effects, etc and everything works great. Just for the record, if you are planning to install KDE on Gentoo please be aware that you have to compile it and compiling a desktop environment of size 400+ is going to take something like 20 hours (on a normal computer) so bear up or try out KDE on a binary distro like Arch or Debian.

Installing Gentoo itself is fairly easy and fast. There is really nothing to it. You just boot into a minimal CD installation that you’ve downloaded from Gentoo website, you partition using fdisk, then you install a base system which you’ll chroot into it. Then you compile and install core packages,Linux kernel, boot loader and configure them if it is necessary. Just a word of caution, be careful with the linux kernel configuration, I messed up some of my hardware at first time but fortunately I could add their support after installation. Gentoo Handbook contains all the sort of information you need to get a fully functional installation.

To conclude, I shall add that personally I don’t think that Gentoo is for everybody; only people with a deep passion for flexibility would tolerate hours of software compilation. However, Gentoo automates many repetitive tasks and Portage (the package manager) is just great. Another great discovery for me…

Written by Woody

March 10, 2011 at 7:27 pm

Posted in Distros, Gentoo

Debian 6.0 ‘Squeeze’ is Out with Some Big Changes

with one comment

Finally the much-anticipated Debian Squeeze has been released (or better to say it’s stable); which kinda makes us to say a happy goodbye to our dear Lenny installations and also welcome the new unstable release; namely Wheezy. Along with the release, we can see the new layout of Debian website and it’s planet (the previous layout belonged to 13 years ago! you judge: Oct 2009, Dec 1998). The community is just bursting with energy and we are all happy that Debian is still the same OS as we knew it: stable and easy-to-use without eye-candies or weird changes.

Debian is not your typical everyday GNU/Linux distro. It takes two years of carefully crafting, testing thousands of packages to make a stable release. It’s a mega release for an unmatched number of various hardware architectures from handhelds to enterprise servers (I can safely say no other distro provide such a vast architecture support; if you ignore Gentoo). In addition, It’s going to be the base system for more than 20 debian derivatives; providing necessary platform for FreeBSD and HURD fans; and oh I almost forgot the sacred repository which now contains more than 29,000 packages.

There are some radical changes in the 6th release; most notably the completely free Linux kernel. Now I think maybe it’s time for Free Software Foundation to recognize Debian as a fully-free operating system, just like old days in 90‘s when FSF was an official sponsor of Debian project. Maybe RMS himself should consider migrating to Debian although I know he is not happy with some of these non-free repositories.

Just a note of advice, If you are new to Debian, please don’t download/install the default graphical variety and compare it with your fancy-looking distros. That’s not the way we do Debian. Download the Network Install and build your Debian system from scratch and please do check out the release information. Anyway, as soon as I get some free time( from my python crash course) I will upgrade my own installation and blog about it. Stay tuned.

Written by Woody

February 6, 2011 at 6:44 pm

Posted in Debian

Learning Python in Three Days. Is it Possible? (UPDATE: Maybe)

with one comment

Dive Into PythonThe good news is that I’ve got the whole weekend off. Instead of wasting my time watching movies and lazing around I’ve decided to take a leap of faith and do something exciting: Learning Python. It seems to be a damn exciting programming language which offers a great deal of versatility suitable for everything from Linux administrative tasks to web programming.

My programming knowledge is quite limited at this time and is basically constrained to some articles I’ve read here and there about more traditional programming languages. However I’m very passionated about learning Python and I think it’s going to be an amazing introduction to practical programming world.

The textbook I’ve chosen for my weekend crash course is “Dive Into Python”. It seems to be exactly the same sort of book I’m looking for: challenging, thought-provoking, straight to real stuff. I will update about my progress in the next three days.

Wish me luck!

UPDATE: Day 3 (Sunday, Feb 6): Well, I went through the first 10 chpaters of the book(18 chapters in total). It’s not the best that one can do yet I’m quite happy with my progress since the book is farily challenging. I will continue reading the rest of chapters in the next days in my free times. Python is beautiful!

Written by Woody

February 3, 2011 at 2:44 pm

Posted in Python

Freedom or Ease of Use? A Note on Torvalds’ Strange Remarks

with 18 comments

I’ve just stumbled upon a disappointing interview with Linus Torvalds which left me utterly confused about Mr. Torvalds views on GNU/Linux distributions. He is certainly a prominent figure and I always look up to him but I think he is much misunderstood about the goal of distros and especially about the role of Debian. This paragraph especially drew my attention:

“I’ve tried it a couple of times over the years, mainly because the thing Ubuntu did so well was make Debian usable. I always felt that Debian was a pointless exercise because to me, the point of a distribution is to make everything easy. Easy to install, to be pretty and to be friendly and Ubuntu did that to Debian.”

Maybe some GNU/Linux experts can help me here but I never thought that the point of a distro is to make everything easier or prettier. I always thought the the main point of a GNU/Linux distribution is to bring more freedom into our world. Do prettier interfaces which are basically a mash up of third-party themes and fonts make an operating system better? How Mr. Torvalds define the word “usable” is a mystery I need to know. Besides, what’s the point of ‘ease of use’ when a software is too unstable and filled with bloated packages? Mr. Torvalds says he is not an Ubuntu user and yet he believes that Ubuntu had made Debian usable by easy intstallation and pretty GUI. He must have missed the fact that many people use Debian for much more important reasons such as stability and more freedom which is missing in many derivatives. It’s utter nonsense to say I found Ubuntu useful but not Debian. It’s like saying I like dogs but I don’t like animals.

I’m pretty much still a GNU/Linux newbie(5-months of experience at the outside); yet when I’m tying to choose a distro I look for those that are more about freedom and choice rather than prettier interfaces. If Mr. Torvalds want to praise a particular distro I think there are much better ways to make his point rather than making controversial remarks about respectable distros.

Written by Woody

February 2, 2011 at 4:06 pm

Posted in General

In Praise of The Wine

leave a comment »

wine logoOK… Here is the situation: You’ve got some unconventional/incomparable windows application and that’s why you are still a Windows user and you don’t trust any of these emulators especially this thing called Wine. Well, first of all Wine Is Not an Emulator. second, I’m pleased to inform you that it’s very probable that your unusual windows application will run in Linux, probably much better than the way it’s running in Windows.

I’m saying this because in the past three months I’ve been throwing every wacky windows applications at Wine; from this guitar effect processing software to some flash/active-x learning apps that come with books and all of them work smoothly under Wine right out of the box. It’s not a surprise especially considering the fact that Wine has been under development for something like fifteen years and has reached an unprecedented maturity. The Wine AppDB and Wiki has become a second-to-none documentation for those seeking to get the best out of their windows applications under Wine.

So I feel like I owe a huge debt of gratitude to Wine developers and the surrounding community which have made it easier for us to convert to marvels of GNU/Linux.

Written by Woody

January 22, 2011 at 4:57 pm

Posted in Apps

Improved Udev Rule For Arch Linux

with 10 comments

There are many time-saving features that you should have on your Arch Linux and one of sacred ones is automount. It’d be very time-consuming and monotonous to use mount/umount commands every time you connect and disconnect a usb removable device. Fortunately, Arch Wiki has a very clear explanation on this. However the original script lack the ability of automatically creating a symbolic link on your desktop. The sort of feature that you’ve seen in ubuntu or mint: Every time you connect a usb removable device an icon appears on your Desktop and it vanishes when you remove the usb.

automount udev arch linux

The USB storage icon has been added to Desktop automatically using a udev rule

Read the rest of this entry »

Written by Woody

January 19, 2011 at 4:07 pm

Posted in ArchLinux