Thursday, 28 July 2011

Get Old fb Chat Back

Today, While Surfing Internet, I found a very simple way which will help you to get the old Facebook chat. This is the simplest way to get rid of new chat sidebar which only shows you the list of people you chat with the most. Also, there is no way to see who’s online right now in the new Facebook Chat. You’ll find many ways to get rid of new sidebar, most of them quite nerdy, but I don’t think you’ll find any working solution easier than this one.

You just need to install a script in your browser. The script is named as ‘Facebook-Chat-enhancer’ that will solve the problem. Once the script installed, you will be able to see all your friends who are online at the moment on chat and also there is a scroll bar in the sidebar which you can scroll up and down to see all your online friends, just like the good-old times. No more offline friends will be shown on chat.

Installing the script in Google Chrome
Installing ‘Facebook-Chat-enhancer’ script is as easy as installing chrome extensions. Go to this page and just click on the ‘Install’ button and restart your browser after installing.
There is another plugin, I haven't checked  it but Hope it would work Just fine . HERE .

Installing the script in Mozilla Firefox
In Firefox, you need to install Grease Monkey Add-on before installing the ‘Facebook-Chat-enhancer’ script. Install Grease Monkey Add-on here and when done, install this script to get back old Facebook chat. Restart your browser and you’re done !!!!!!

Script for Opera, Chrome and Firefox
In the Chrome Extension there is another one for the old facebook chat  HERE , It does the same thing as the previous one. However there is one flaw that it can access your data on from facebook.com 

Thank me, if it works  :P
And please do share this post on your Facebook wall icon smile Install this Script And Get Old Facebook Chat Back .

Do Comment If it doesn't work for you  icon smile Install this Script And Get Old Facebook Chat Back

Tuesday, 26 July 2011

Startup Optimisation with Bootcharts (Ubuntu kde and Gnome)

The Sok project looks far from completion, I am certain that the project wont' get completed or wouldn't achieve results that I thought it would achieve, before I started the Project. Clearly I didn't have much Idea or thought before starting the project, and my mentor too was clueless at some points, like the part where I had to find the time spent in each of the starting programs and modules. He had suggested using a function like clock(), in each of the classes and then subsequently finding the difference between each script. Something line clock(arg1) - clock(arg2). Clearly it is a Herculean task in magnitude as well as complexity. So I have resorted back to using the good old bootchart. Well its true that it wont give me a very clear time difference, but atleast it would give me a rough idea. So I installed the bootchart application. From :-
                                  http://www.bootchart.org/download.html
Apparently there is a newer version
                                  https://www.ohloh.net/p/bootchart2

Sadly I didn't find any difference in their working. For anyone still wondering what is a Bootchart, a Bootchart is a tool for performance analysis and visualization of the GNU/Linux boot process. Resource utilization and process information are collected during the boot process and are later rendered in a PNG, SVG or EPS encoded chart. Bootchart provides a shell script to be run by the kernel in the init phase. The script will run in background and collect process information, CPU statistics and disk usage statistics from the /proc file system. The performance data are stored in memory and are written to disk once the boot process completes.

Obviously you can't optimise or reduce the time spent by the events unless you know where the time is spent, hence bootchart gives you some idea. On having downloaded the bootchart files from either of the above sources. Browse to the extracted directories and nstall them by :-

---> make
---> sudo make install

Or a sudo Command like :-

aaditya@ubuntu:~$ sudo apt-get install bootchart
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gcj-jre gcj-4.4-jre libgcj10-awt
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  pybootchartgui
The following NEW packages will be installed:
  pybootchartgui
The following packages will be upgraded:
  bootchart
1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 34.2kB of archives.
After this operation, 90.1kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ maverick/universe bootchart i386 0.90.2-7 [12.5kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ maverick/universe pybootchartgui i386 0+r141-0ubuntu2 [21.7kB]

Having downloaded and installed the files, you just need to reboot your system. When you restart your system next time, browse to /var/log/bootchart and you will find a nice png image showing your boot chart lying there.

Here is my boot chart for my Gnome Desktop system

title = Boot chart for ubuntu (Tue Jul 26 17:53:32 IST 2011)
system.uname = Linux 2.6.35-30-generic #54-Ubuntu SMP Tue Jun 7 18:40:23 UTC 2011 i686
system.release = Ubuntu 10.10
system.cpu = model name    : Intel(R) Core(TM) i3 CPU       M 370  @ 2.40GHz
model name    : Intel(R) Core(TM) i3 CPU       M 370  @ 2.40GHz
model name    : Intel(R) Core(TM) i3 CPU       M 370  @ 2.40GHz
model name    : Intel(R) Core(TM) i3 CPU       M 370  @ 2.40GHz (4)
system.kernel.options = BOOT_IMAGE=/boot/vmlinuz-2.6.35-30-generic root=UUID=C010D42210D42168 loop=/ubuntu/disks/root.disk ro i8042.reset i8042.nomux i8042.nopnp i8042.noloop quiet splash

You will have to download/save the above image and zoom it to accurately view the events.

Here is my boot chart for my kde Desktop system 


You will have to download/save the image and zoom it to accurately view the events.

I guess this is the all important bootchart, and a lot of the future progress will depend on the findings from this bootchart. The upcoming time and may be a future post will be derived from my findings from this post.

Friday, 22 July 2011

Best Linux Quotes & Jokes

It seems most of the best (funny), Linux jokes are Linus Torvalds jokes, here are  the best of the Lot :-


We all know Linux is great... it does infinite loops in 5 seconds.
- Linus Torvalds about the superiority of Linux on the Amsterdam Linux Symposium


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed." - Unix for Dummies, 2nd Edition (Found in the .sig of Rob Riggs)

`When you say "I wrote a program that crashed Windows", people just stare at you blankly and say "Hey, I got those with the system, *for free*".' (By Linus Torvalds)

“See, you not only have to be a good coder to create a system like Linux, you have to be a sneaky bastard too.” (By Linus Torvalds)

"All operating systems sucks, but Linux just sucks less" - Linus Torvalds

By golly, I'm beginning to think Linux really is the best thing since sliced bread. -- Vance Petree, Virginia Power

Computers are like air conditioners - they stop working properly when you open Windows.

"Linux is user friendly, it's just picky about its friends" 



Sunday, 17 July 2011

Adding Systemd to Gnome/kde



 A still of Kde Desktop

Haven't been doing a lot of work of-late, sighhh... out of ideas really !!!!

I had earlier assumed, using systemd/launchd as an external dependency, or copying its working across all startup scripts and application, I came across an interesting discussion on the gnome mailing list, but my mentor thinks that, it would not be viable/ unfeasible. So that, idea is pretty much ruled out. Anyone genuinely interested in following the topic can read this interesting conversation by Lennart, the creator/maintainer of systemd, here :-


http://mail.gnome.org/archives/desktop-devel-list/2011-May/msg00427.html


My mentor feels that it would be better to augment and improve the existing kdeinit, kded, etc. scripts. Currently kdeinit and kded call and start other scripts and applications by serialisation, if we parallise, more and more events, it would reduce the startup time, we would have to let them do stuff asynchronously and let the modules report back when they're finished setting up stuff. On my part, I would have to edit most if not all the scripts. On my part, I have been asked to have a look at what takes the longest during launch. Maybe I should try adding just a lot of debug output to kdeinit that shows how long each operation takes. To start with, I should just call utime() between the various methods called in kdeinit, and print out the difference between them. I should look at the timings of all the scripts and how much script is spent on each process, and then, we parallise some particular scripts that take most time.


Using the debug* files here: 
 well, first I should probably find out what uses time during launch, if kded starts instantly, it isn't worth wasting time on making it launch stuff in parallel

 

Sighhh... So Much to DO ....       o_O
 

Wednesday, 6 July 2011

Adding Meta Tags to your Blogger Blog

What are meta tags and why should I add meta tags to my Blog ?

Meta tags are the magic words that tells the search engine (google/ yahoo/ bing...) bots about, the keywords and tags in your content, it tells the search engine what your blog is about, so that your blog get emphasised on those keywords. Adding meta tags is an important factor in Organic search engine Optimisation (SEO). Meta tags allows search engines to index your web pages more accurately. In other words, Meta tags communicate with the search engines and tells more information about your site and make your webpages index correctly and accurately.

For Example :-
As you can see in the above screenshot, " hacks, help, tips and tricks for open source learners and hackers " is the meta tags description which I added to my blog.

Unfortunately Blogger doesn't have a add Tags feature so, this is how you can add Tags to your blog on blogger :-

(1). After signing in to your blog, go to Design.
(2). Choose edit HTML option.
And now check for these lines in codes :-

<head>
<b:include data='blog' name='all-head-content'/>

Now add the following code to your html code, below the above lines :-
 <meta content='DESCRIPTION HERE' name='description'/>
<meta content='KEYWORDS HERE' name='keywords'/>
<meta content='AUTHOR NAME HERE' name='author'/>







<meta name="keywords" content= " humour, pictures, jokes, Template, Competition, tutorial, hacks, tips, tricks" />
<meta name="description" content="A cool Blog on college Life and Stuff, Quizzing, Dramatics, football and stuff" />
<meta name="author" content="Aaditya Chauhan" />
<meta name="ROBOTS" content="ALL" />
  
Replace the red portion with your tags and description and the green part with your name.


That's it ! You have successfully added the metatags to your blogger blog. You can check out your tags description, when you see your blog on Google.

Sunday, 3 July 2011

Switching from Gnome to KDE

I recently, switched from Gnome to KDE, for the sake of my project and even though I was reluctant in the beginning, I would now have to admit, that it was totally worth it .KDE is strikingly different from gnome, and I find it very similar to Microsoft Windows, in some ways. To start-with, I found Kdm pretty boring so may be the recent talk in the kde community to replace Kdm with Lightdm is well placed. But the rest of the desktop environment was nice and refreshing. Here is a simple procedure to switch from gnome to kde.

Just follow the simple steps :-

(1). Go to System ---> Administration ---> Synaptic Package Manager.
(2). Search for kubuntu Desktop.

 (3). Select the package and install the package.


It would be a, not so huge 117 MB to Download. So just sit back and relax, it took 34 minutes to download on my system.

(4). Now it would start installing, it would again take some time, to install.


Some time in between the download it would ask you, if you would like to keep gdm or switch to kdm, I would say, you should stick with gdm. And you are through to use it.

So enjoy, using kde and don't forget to give your valuable feedback at community.kde.org/  !!!!!!

Technorati Tags: , , ,