Saturday, August 21, 2010

Simultaneously Running Multiple Versions of Firefox

The main drawback in using the newly released FF Betas is the delayed support provided by the extension writers. Hence, many of you may be wanting to run two versions of FF simultaneously, thus enjoying the power of your favourite extension as well as taste the new innovations. Here's the way to do it:


1) Select your FF shortcuts and right-click and click properties. In the Target box, add the following options: -profilemanager -no-remote. So your full path now looks like
 "XXX\firefox.exe" -profilemanager -no-remote.


Do this for all the installed versions of FF.


2) Start FF. The profile manager will start automatically. The default profile is the one which was already existing and will contain all the customizations that you have for your old FF installation (say 3.6.x). So, create a new profile for your new FF version (say FF 4b4). Choose between profiles depending your use.

This workaround has been around for quite some time now, and you will find many posts on the net. I have been using this feature since 2005, when a friend of mine, Indradeep, showed it to me. Still, thought of noting it down. I don't know why Mozilla doesn't have the Profile Manager enabled by default.

Friday, June 04, 2010

Benchmarking My Browsers!

The "browser war" has hottened up in recent times. So much so, that I am sure almost  every person who has been accessing the Internet for some time must have come across this fight at least once. Many articles have been written upon, many blogs have been posted, and many results have been and will be published. 

The race for the fastest can be gauged by the fact that a new version is released almost every week. Just for a second, let us ignore all the heaps of data and published results. What really matters to one is how a browser is expected to perform on his/her system. So, if you are really crazy about pace, which in reality should not matter much, the best is to execute a benchmark on your own-used browsers and then analyze the results yourself. That's how it should always be, judge and choose for yourself.

I was going through the Opera blogs when I came upon the Peacekeeper Browser Benchmark. Peacekeeper primarily focuses on the Javascript performance of a browser. Currently, I have not yet studied much about the effectiveness of this benchmark, but the main plus is its ease of use. And for once, I let myself be lured into the race-for-pace. And so here is my take on the browser war.

My system configurations are the following: Compaq SG3770IL desktop with a Intel Core 2 Duo Processor E7400 CPU, 945 GC chipset, 3 MB L2 cache, and a  Intel(R) GMA 3000/3100 GPU. I have both a 32-bit Windows 7 and Ubuntu 10.04 OS installed. I performed my tests on both Windows and Ubuntu systems. 

Windows: I have four browsers installed - IE8, FF3.6.3, Google Chrome  6.0.422.0 dev, and Opera 10.60 build 3403. I have also tried to execute the benchmark maintaining identical load conditions. And now the wait is over, here are the results.




Ubuntu: And now for the results from Ubuntu. Note that at the of composing this post, Peacekeeper does not support a Linux system scan. The browsers that I tested on Ubuntu are FF3.6.3, Google Chrome 6.0.422 dev, and Opera 10.60 build 6347. The below figures shows the results obtained.





My Conclusion:
So far so good. Now what to make of the results? I was actually surprised to see IE8 and FF 3.6 lagging so far behind Google Chrome 6 dev and Opera 10.6. For while actually browsing, the difference is hardly noticed. Therefore, just in terms of mere browsing experience, FF is still my favourite. The seemingly extreme control it gives you is no match for the others. I am also impressed with the improvements in Opera 10.6 and recommend it strongly, but unfortunately it is still hardly used outside its niche users. Looks like its not only Microsoft but also Mozilla who has a lot to think about for its version 4.0 excepting the GUI. But for me, Google Chrome 6.0.422.0 dev is the clear winner!

Added on 6th July, 2010:
Results with FF4b1

Tuesday, March 30, 2010

What does "h" indicate in computer benchmarks?

I was attending a class on Real-Time systems and our professor was discussing about various benchmarks that can possibly be used with computers and real-time systems. Many of you must at least have heard (if not knowing the detailed) of such synthetic benchmarks such as Whetstone, Dhrystone, Rhealstone, etc. These have been proposed in the early seventies and eighties and were initially very popularly used for evaluation purposes. 


However, my intention of blogging this post is not to talk or explain these different benchmarks. During our discussion, a friend Bhanu suddenly asked "Sir, what is the significance of "h" in these names"? Hmm...this apparently innocuous question got all of us thinking. Sir tried to explain the significance of the word "stone" embedded in these names. He said that just as some stones are used to determine the purity of gold, may be that has influenced the names.

After class, I looked up on the Internet for a possible reason. And the answer was not difficult to get. Whetstone was the earliest benchmark to be proposed. And the Whetstone compiler was developed at a laboratory in a place called Whetstone, Leicestershire, England. So that explains the name for Whetstone. Dhrystone was proposed as a benchmark for integer programming. So it was for something that was not a "float" - meaning its dry or rather, "dhry". As Wikipedia puts it, the name is a pun on the then-popular Whetstone benchmark. Rhealstone is for real-time systems.

Monday, October 26, 2009

Command Prompt - Anywhere!!!

You often feel the need to navigate to a directory nested in a deep folder hierarchy, and it often becomes a pain using DOS commands, especially handling blank spaces and all. So this is a tip to open a command prompt right at the desired folder that you want. Just follow the following steps and try out (for this you need to modify your registry, however this should not do any harm):

  1. Goto to HKEY_CLASSES_ROOT\Folder\shell.
  2. Create a new key named say Command Prompt.
  3. Create another new key named say Command within Command Prompt.
  4. Modify the default string value of Command to the following: c:\windows\system32\cmd.exe %1

Wednesday, June 24, 2009

GMail Notifier: “Cannot connect to your mailbox. Service temporarily unavailable.”

I have recently upgraded my desktop and hence had to reload all the necessary and unnecessary softwares. That is when I ran into this small problem. I had faced it before, but somehow couldn’t seem to remember the solution right away. The fact is GMail Notifier just could not seem to connect to my GMail account. I thought the error might be with my proxy settings, but it was not so.

The error surfaces when once tends to opt for the https connection option provided in GMail settings. The notifier fails to login if the “always use https” option is checked. Not surprisingly, I do have it enabled.

To get around this, you can search for patch files available on the net. The suggested changes can just be imported into your registry and things should work fine. The following is the change suggested in the .reg file:

[HKEY_CURRENT_USER\Software\Google\Gmail\Flags]
"url"=https://mail.google.com/mail/

The change can be undone by resetting the key, as shown below.

[HKEY_CURRENT_USER\Software\Google\Gmail\Flags]
"url"=-

Not difficult, right? I still wanted to post for ease of lookup.

Sunday, May 10, 2009

Pidgin - Invisible Mode in Google Talk

One of the most glaring drawback with Google Talk is probably the lack of proper updates and new releases being integrated into the software. I do not use the chat option inside Google Mail. Therefore, one aspect I find particularly irritating with Google Talk is not to be able to appear as invisible.  As I mentioned in my last post I use Pidgin for IM. Here’s how you can appear invisible in Google Talk using Pidgin.

  • Go to Tools-> Plugins. Scroll down the list of available plugins. Install the plugin called XMPP Console.
  • Now go to Tools->XMPP Console->XMPP Console.
  • Type the following in the console and send the message.

<presence type="unavailable">
<priority>5</priority>
</presence>

  • Now you will appear as invisible to all your friends. Remember you need to resend the message every time you relogin to Google Talk, i.e., this is a per-session notification.
  • In case you need to appear available to specific friends, you can sent them custom notifications about your availability using the above plugin. Open XMPP Console as above and click on <presence/>. In the following pop-up dialog box, fill in the necessary details and send.

Seems troublesome, eh? Then why bother with all this crap. Add the Google Talk invisible plugin to Pidgin. Go to http://fahhem.com/pidgin/ and follow the instructions.

Technorati Tags: ,,,

Saturday, May 09, 2009

Configuring Pidgin for Google Talk and MSN Accounts

I have many accounts which I frequently use for chatting purposes, Google Talk, Yahoo and MSN to be exact. To refrain from using separate messengers for each of them, I recently installed Pidgin as an integrated medium supporting all the above three (and many more Chat Protocols). My desktop is behind an organization proxy and I myself also have a firewall installed. So I faced a few issues during the configuration. In this post, I would like to present the steps which I followed for configuring Pidgin.

Google Talk: The following are the settings which worked for me.

  • Protocol: XMPP
  • Domain: gmail.com
  • Resource: ……….Anything…….
  • Require SSL/TLS: Unchecked
  • Force old (port 5223) SSL: Checked
  • Connect port: 443
  • Connect server: Use any nslookup service and provide the ip for talk.google.com. I used http://www.kloth.net/services/nslookup.php. The ip I got is 209.85.137.125.
  • File transfer proxies: proxy.jabber.com
  • Proxy type: Depends on your proxy settings.

The below picture shows the Settings for the Advanced Tab.

untitled

MSN: The following are the settings which worked for me.

untitled

Yahoo: I have not been able to get Pidgin connect to Yahoo as of now. Alas!

I hope this simple steps will help people who are facing issues configuring Pidgin behind a proxy.

Tuesday, April 07, 2009

LaTeX Tricks

In this post, I will publish all the little, helpful tricks that I have learnt while using LaTeX. I do not claim to be the owner of all the troubleshoots for I myself have searched for information on the Internet whenever required. I will keep on updating this post whenever I have new material to publish.



However, for a beginner to LaTeX, a little information on the source and necessary softwares might just prove to be handy. Here is a list of the tools which I use:




  • LaTeX Distribution: a complete setup of MikTeX 2.7 release. This is free and its frequently updated as well. So no hassles.

  • LaTeX Editor: I personally prefer LEd (http://www.latexeditor.org) over TeXnicCenter (http://www.texniccenter.org/). LEd's toolbar offering is more varied and is more easily accessible. LEd also provides a very good help lookup on LaTeX commands which is extremely handy at times of crisis. The only blip that I find in LEd is the look and feel. Both are free but updates are pretty infrequent. WinEdt is another good LaTeX editor but is a shareware.


  • Diagrams: For diagrams, I use XFIG on Windows (http://www.cs.usask.ca/~wew036/latex/xfig.html). The link provides detailed instructions on how to go about setting up the required environment for using XFIG. However, the interface and usage of XFIG might prove to be cumbersome for some users. You could also try out commercial Windows applications like SmartDraw which is, unsurprisingly, more user-friendly.

1) Usage of \centerline:


{\centerline{\Large{\textbf{Hello World! \\}}}}



Unless you end your text with a \\ or a \par, the effect of \centerline will not terminate. So if you wish to justify only a single line of text, then end your string with a \\ or \par.

2) Referencing of Figures
Sometimes a small oversight can lead to wrong referencing and bring a lot of trouble and hassle. To avoid this, make sure you follow the following two rules:
  1. Always define the label after the caption unless the style file says otherwise.
  2. Never use numbers in your label name, e.g., sdg1. This can lead to wrong reference numbers being generated for the remaining figures.
Technorati Tags:

Friday, March 30, 2007

IE 7.0 Easter Egg

There are hidden credits in version 7.0 of Microsoft Internet Explorer

Open Internet Explorer 7.0 and type in res://shdoclc.dll/wcee.htm then click Go.
When it loads, a black page appears. Right click and select View Source - it opens in Notepad.
Find in this text: gurjPRR. This will find 2 lines of text including If and DecodeStr. Highlight and delete them.
Now save this text file as: wcee[1].html
Open the HTML file you saved and it will show fast scrolling credits about the staff and developers who made IE 7.[1]

Source - Wikipedia

Thursday, September 07, 2006

Windows Media Player 11 Beta

Its creating quite a few problems for me. Especially when the CPU usage is high, the sound streaming is getting broken. Otherwise the interface is good, but it is very memory consuming.

KDiff3

Well this is my current target. I have now become more of a software reviewer. And I do a hell good job at that. My focus now is to try out KDiff3 and compare it with WinMerge. I was using WinMerge till now. So keep your hands crossed till I come out with my own report.

Windows Live Writer Beta

First of all I would like to mention that I am posting this through writer only. And the most important thing is its damn good.

It does support a lot of blog services and you can add a number of accounts and also switch between those accounts to post articles.

The interface is nice as well. Haven't come across any bugs as of yet. I have just started using it. And I implore all you bloggers out there to give it a try. Its free after all.

Python Editors

Two python editors which I use and do like them personally are PyScripter and Stani's Python Editor. I have just started using SPE and so won't be able to compare it with PyScripter. But you people can try out PyScripter, its good. And its always fun developing in Python. Right guys.

Monday, August 07, 2006

Interested in Windows code names?

If you are really interested in knowing various Microsoft product codenames, then just browse through this link

http://www.phm.lu/Documentation/Windows/Codenames.asp

A few headliners coming through

New Google feature flags dangerous sites

Google has begun alerting users whenever they click on a search result that may take them to a dangerous Web site. The new feature, which had been spotted earlier this week, goes live officially Friday, according to an announcement from The Stop Badware Coalition, which is collaborating with Google on this effort. The Stop Badware Coalition is a nonprofit organization led by Harvard University and the University of Oxford and backed by Google, Lenovo Group, and Sun Microsystems.

Source of this piece of info is http://www.infoworld.com/article/06/08/04/HNgoogleflags_1.html

AOL to Offer 5GB of Online Storage

AOL on Thursday(3rd August, 2006) announced it would begin offering all Web users 5GB of online storage through its Xdrive product, part of the company's new initiative to make its services available without cost. Through Xdrive, individuals can back up files like photos, documents, music, videos, and more. Users can even share files with others, as well as automatically upload e-mail attachments. A premium offering with 50GB of storage will be available to those needing more space for a fee that has yet to be announced.


Google has begun alerting users whenever they click on a search result that may take them to a dangerous Web site. The new feature, which had been spotted earlier this week, goes live officially Friday, according to an announcement from The Stop Badware Coalition, which is collaborating with Google on this effort. The Stop Badware Coalition is a nonprofit organization led by Harvard University and the University of Oxford and backed by Google, Lenovo Group, and Sun Microsystems.

Source of this piece of info is
http://www.betanews.com/article/AOL_to_Offer_5GB_of_Online_Storage/1154632737

Wednesday, June 21, 2006

Launchy is a more than useful tool

How nice it would be if there was a shortcut to a small exe you have developed and is placed in a quite inaccessible location like say d:\project\python\hihaha.exe. Sounds like a really good alternative for all those buffs who dislike using mouse

Then those of you are still interested and have carried on reading , try out lauchy, an open source key stroke launcher for windows.

Version 0.9.6 is available now. I have using Launchy for the past few months and am very fond of it. By default, Launchy indexes applications present in your start menu and provides easy access to it. You can also request it to index folders where you have kept your, say, .lnk, .exe files. You can also index .mp3, .doc files. And launch your favourite song , right here, right now!

Launchy is pretty lightweight (3 mb or so) and is very easy to use. Beautiful skins are also avaiable for Launchy. So feel tempted to give it a try. For more info, visit www.launchy.net.

Wednesday, May 31, 2006

Speeding up Mozilla Firefox

I have seen quite a few posts which talk about speeding up Mozilla Firefox by changing some configuration settings. Most of the posts are repetitive from the original source. And I too gladly continue the felony by posting tips to speed up your firefox browser. Most of the tips are commonplace and can be found on the Internet. I claim credit so far as to compile as much as I could and thought useful into one post. After all the efforts put in, maybe the desired improvement at your end is not much to brag about after all. [hi ha ha]

Type “about:config” into the address bar of your browser and hit return. Scroll and modify the following entries. All modifications might not produce desired results.
Press "b" to get to the Filter window.

If any of the following entries is not present and you are desperate to try it out, then right-click anywhere and select New-> Integer|Boolean|String and proceed.

user_pref("browser.cache.memory.capacity", 65536);// Prevent memory leak

user_pref("browser.display.show_image_placeholders", false);//To have images load like IE

user_pref("browser.xul.error_pages.enabled", true); // Instead of annoying error dialog messages, display pages

user_pref("config.trim_on_minimize", false);//Load quicker from a minimized state

user_pref("content.interrupt.parsing", true);
user_pref("content.max.tokenizing.time", 300000);
user_pref("content.notify.interval", 100000);
user_pref("content.notify.ontimer", true);
user_pref("content.switch.threshold", 100000);

user_pref("general.smoothScroll", true);

user_pref("network.dnsCacheExpiration", 360);
user_pref("network.dnsCacheEntries", 100);
user_pref("network.dns.disableIPv6", true);
user_pref("network.ftp.idleConnectionTimeout", 60);
user_pref("network.http.connect.timeout", 30);
user_pref("network.http.keep-alive.timeout", 30);
user_pref("network.http.max-connections", 48);
user_pref("network.http.max-connections-per-server", 16);
user_pref("network.http.max-persistent-connections-per-proxy", 16);
user_pref("network.http.max-persistent-connections-per-server", 8);
user_pref("network.http.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 100);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.http.request.max-start-delay", 5);

user_pref("nglayout.initialpaint.delay", 100);//reduces the amount of time the browser waits before it acts on information it recieves. It should be lower for fast connections and higher(say 750) for slower (dial-up) connections.

user_pref("plugin.expose_full_path", true);//Show full path to plugins in about:plugins

user_pref("ui.submenuDelay", 0);//Speeds up submenus like Bookmarks


While all of what I have compiled above works on most systems I have tried personally, there is also a great tool called Firetune that you can download and use. Firetune lets you choose a mix of settings based on the speed of your computer and the speed of your internet connection.

Or, you can perform your own tweaks by creating your own user.js file with the above recommended settings. The user.js is just a text file in your profile folder and is used to change various preferences.

Before you go to configuration files, navigate to your profiles folder by typing %AppData% in "Run" and then go to "Mozilla\Firefox\Profiles\########.default". The file user.js does not exist by default, so you need to create it before you can start adding your preferences.

A few of the sources I referred to are Darrel Norton's post, Firefox Tweak Guide, Linux Journal article, few other blogs etc.

Monday, May 29, 2006

The 25 worst tech products of all time (according to a survey, not my own opinion)

Everyone keeps an eye on the Oscars but many of you do a peek at the Razzies and it is worth the fun.

It would be really interesting if there was something analogous in software industry also. Well not the same but near enough.

So if you want a list of the 25 worst tech products of all time (according to a survey, not my own opinion), then visit the following link -
http://news.yahoo.com/s/pcworld/125772

Happy Razzying!!!