Firefox or Chromium (software development)?


I was switching from Chromium to Firefox as my primary web browser recently. Then, I switched back to Chromium again.

Chrome was usually claimed that it consumes a lot of memory. And recent Firefox updates claim that it is faster and consumes less memory. That is why, I switched to Firefox. I agree that, it is much faster than before. However…

I faced a critical issue. One less important issue that I would like to mention is, Firefox does not support Google Hangout.

The critical issue I faced related to JavaScript. During the web development or even visit CircleCI (which I believe it has heavy usage of JavaScript), if the JavaScript has severe errors, whatever web browser you are using will stop respond or slow down. But, Chrome (Chromium I mean) deals the issue differently from Firefox. The whole computer will be slow down temporary (may be several minutes), then at the end, the page will be shown as “dead” and I can control over my computer again.

In the same condition, Firefox will expand the memory (possibly exponentially) due to the errors. Then the computer starts slowing down and stop respond until I do a hard reboot. Based on my observation, the memory grows and uses all the RAM. When the RAM is not available, the memory is immediately stored into the Swap. Because storing into the Swap, that is the hard drive, it is much slower for me to switch to a Terminal to kill Firefox. And even I successfully switch to a Terminal, typing the command and see the response takes approximately infinite time, yet the Swap memory usage keeps growing non-stop.

As a web developer, I prefer to use Chrome.

Advertisements

Prayer Clock GTK3


My first open source project, Prayer Clock, I moved from SourceForge to GitHub recently. Yeah! Everyone should git!!!

And today I just made some changes, and updated to GTK3.

With GTK 3, I removed the title bar. But not yet successfully moving the menu bar to the icon like Evince or Nautilus.

I plan to convert the right hand panel to WebKitGtk. But this will not be the priority yet.

Firefox or Chromium (Google Chrome)


Yes, again web browser. I am using Firefox. Only sometimes Chromium (Google Chrome). Mainly Firefox. If someone ask me, which one I choose, I definitely answer Firefox. But, if someone ask me, which one I prefer, then it will be difficult to answer.

Firstly, I would like to go through why I choose Firefox as my primary web browser.

Because of DownThemAll. There is no alternative extension in Google Chrome like DownThemAll. Why I like DownThemAll so much? I use DownThemAll with GreaseMonkey to download my favourite mangas (comics). This is something Google Chrome still cannot do it, based on my current knowledge. GreaseMonkey generates the links, right-click, then I DownThemAll.

Another two addons, DownloadHelper and FlashGot. Both of them allows me to download any online video or audio streaming. Google Chrome doesn’t have this type of extension.

Actually, all of these limitations of Google Chrome are because of extension API restriction. That is why, there is no similar replacement for DownThemAll, DownloadHelper and FlashGot. However, I wonder why there is no one uses NPAPI to build the similar extension in Google Chrome.

Next advantage of Firefox is the bookmarks. The best feature I like is the tagging feature. This help me to search my unorganised bookmarks easier. I know, Google Chrome uses a different approach to solve this problem. Google Chrome is more to cloud computing and searching algorithm, it solves the problem by using Google Bookmark search. This is something I don’t like, without internet connection, Google Chrome can done less thing than Firefox. (You might said, without internet connection, your web-browser can do nothing, yet I can said, I can still do the web development without proper internet connection, or manage my bookmarks when I don’t have internet connection.)

Then, if I definitely choose Firefox over Google Chrome, why do I need to post this blog? Sure, there is some beauty about Google Chrome which always makes me to consider to switch to it. Firstly, its interface is really clean and simple. The interface make me feel more to the webpage instead of web-browser. Firefox makes me feel that I am using Firefox; Google Chrome makes me feel that I am visiting the websites.

Secondly, for the developers, creating extension using Google Chrome is super easy comparing creating a Firefox addon. Firefox addon needs to follow a lot of convention and using XUL, which is not easy to learn (for me). It needs to create “chrome.manifest”, “install.rdf”, and so on. The documentation is also not very good (I personally feel).

Thirdly, Google Chrome has Chrome Web Store, this is something which Firefox lacks of. But even if there exists Mozilla Web Store, I will not prefer it, unless the Mozilla Web Store is a superset of Chrome Web Store, then I may like it.

Then, there are several other reasons, such as Google Chrome open and close is faster than Firefox. Though Firefox startup is far more better than its older version, it is still slower than Google Chrome. And if closing the Firefox, then you want to start the Firefox again, you need to wait a while. Besides that, enable or disable the addons needs to restart Firefox also. May be this is the price paid for the good addons like DownThemAll, FlashGot and DownloadHelper.

Managing contacts and calendar


I am always looking for a good solution (not a software, but a solution) to manage all my contacts and calendar. Actually I separate both of them, even they are under PIM (personal information management).

I was using an excel file to manage all my contacts. But we know, a file is different from an application, the interface is not usable, and I had the difficulty to find the contacts that I want.

Then, I tried to use EssentialPIM (freeware) to manage all my contacts. Yes, this is really a good solution, including the contacts with contact number only. Besides that, I can also use the task and calendar. However, the task and the calendar are not good enough to solve my problem, because I need to run EssentialPIM and check the calendar or task manually.

Because of the calendar and task problems, I switched to Rainlendar. This is very good, because it shows everything about calendar and task on the desktop. Useful to remind me to do the tasks.

The next problem of EssentialPIM is the email. Since it is used for only contacts, when I want to email, I need to run it, copy the email address, and paste it. These are exhaustive, wasteful, and boring actions. Why don’t I switch to Thunderbird for all the contacts including email?

Now, since I have multiple computers, syncing is a big problem. Rainlendar’s calendar can be synced easily, but Thunderbird address book is different. So, to solve the syncing problem, the best way is using online service. Thus, to solve the calendar syncing problem, finally I use the Google Calendar. It is too good, because it can send email to remind the uncompleted task. To make me access Google Calendar more conveniently, I installed Lightning add-on for Thunderbird, and load the Google Calendar. Besides that, I use the Cache feature of Lightning, so that even I cannot access internet, I can still load the calendar from the cache. This is the best solution for me currently.

Now, the calendar is solved, but the contacts is the next problem. Because I didn’t manage the contacts online, thus all the contacts in the accounts like Google and Yahoo are very messy. I normally manage my contacts offline. Calendar can be shared among the applications because of the standard iCalendar format. But contacts are different. There are Google format CSV, Thunderbird LDIF, Outlook CSV, vCard, etc. This makes the import and export very difficult to preserve all the information.

I tried to use Thunderbird Google Contacts add-on to sync the contacts with Google. However, the result is not very satisfying. I cannot sync all the contacts with Google. Finally, I tried to use Zindus add-on for Thunderbird. Yes, this can sync very well, all the contacts are syncing correctly. As a result, I manage the contacts with Google. The best feature I like about Google is merge the duplicated contacts. Now, I can sync the contacts and calendar with all my devices.

Using Python as the most powerful calculator


Once I was looking for “expression calculator”. The expression calculator is different from normal calculator like calc.exe, which cannot use variable freely as algebra. But the expression calculator, we can predefine a variable with a value, then evaluate the variables in algebraic expression. It is very useful. My favourite expression calculator is SpeedCrunch.

Then, recently, I want to test a math function in SpeedCrunch, but this is impossible, since expression calculator can only define the variable, but not define a function. I remembered the title of Python Tutorial, “Using Python as a Calculator“. Yes, expression calculator, with ability to define function, then Python will be the one.

So, I tried Python, writing the function in the interactive console, easy as it is. Not only that, one can do the fractions and also calculating the date time using Python. So, Python is now my #1 expression calculator. The only drawback I found is that Python does not have the mathematic constants as SpeedCrunch. That means, one needs to find the constants, and also the the unit conversion by our own.

Besides that, to use math functions such as logarithm and trigonometry functions, one must import the math module.

from math import *
from fractions import Fraction #to use the fraction
from datetime import *

GNOME Commander for Ubuntu


When I was using Windows to manage my files, I always open a lot of windows to move my files. Even the window is already open, I will open a new window.  Because it is difficult for me to find the opened windows. And my taskbar will full of tasks.

So, I tried to find a Windows Explorer replacement. Tried all the best free file managers by Gizmo’s Freeware. Then, only FreeCommander fulfils my needs. There is no need to open a lot of windows.

Moving to Ubuntu, Nautilus is the default file manager of Ubuntu. I face the same problem as using Windows. So, the software similar to FreeCommander on GNOME based OS is GNOME Commander. It is very useful.

However, I just found that delete files using GNOME Commander does not move the file to Trash. This is a drawback.

Chromium is really good in netbook


Compare to the Firefox, I prefer to run Chromium in my netbook. This is because the screen of the netbook is small, and the resolution is low. Using Firefox, the toolbars and file menu already occupies half of the screen. I think Firefox 4.0 will solve my problem.

Then, using Firefox on the netbook with Ubuntu, playing Castle Age will make Firefox slow down. May be the reason is the netbook memory is smaller than normal laptop.

However, I am still using Firefox on Ubuntu. Because of the powerful extensions on Firefox, such as DownThemAll, FlashGot, etc.