Wednesday, December 30, 2009

Happy New Year 2010

New Year is the time to unfold new horizons & realize new dreams, to rediscover the strength & faith within u, to rejoice in simple pleasures & gear up 4 a new challenges. Let us leave behind what we don’t need to carry - GRUDGES SADNESS FEAR and REGRETS. 
Life is beautiful, Enjoy it.  
Happy New Year 2010. 
Wishing you all a truly fulfilling new year!


 



Friday, December 25, 2009

Open Source as seen by Google

Jonathan Rosenberg, senior vice-president of product management at Google, put up on Dec. 21 what was more of a tome than a mere post on the company's blog. Entitled "The Meaning of Open," it was originally sent to Google employees as an e-mail, but it reads like a manifesto. It can be found here.

Jonathan Rosenberb says:
At Google we believe that open systems win. They lead to more innovation, value, and freedom of choice for consumers, and a vibrant, profitable, and competitive ecosystem for businesses. Many companies will claim roughly the same thing since they know that declaring themselves to be open is both good for their brand and completely without risk. After all, in our industry there is no clear definition of what open really means. It is a Rashomon-like term: highly subjective and vitally important.

The topic of open seems to be coming up a lot lately at Google. I've been in meetings where we're discussing a product and someone says something to the effect that we should be more open. Then a debate ensues which reveals that even though most everyone in the room believes in open we don't necessarily agree on what it means in practice.

This is happening often enough for me to conclude that we need to lay out our definition of open in clear terms that we can all understand and support. What follows is that definition based on my experiences at Google and the input of several colleagues. We run the company and make our product decisions based on these principles, so I encourage you to carefully read, review, and debate them. Then own them and try to incorporate them into your work. This is a complex subject and if there is debate (and I'm sure there will be) it should be in the open! Please feel free to comment.
He ends the post with:
Open will win. It will win on the Internet and will then cascade across many walks of life: The future of government is transparency. The future of commerce is information symmetry. The future of culture is freedom. The future of science and medicine is collaboration. The future of entertainment is participation. Each of these futures depends on an open Internet.


(Check out Jonathan Rosenberb blog for more)

Sunday, December 20, 2009

Linux means Liberty

A picture is worth a thousand words.. 

(From http://www.tuxradar.com/content/linux-means-liberty)

Linux means Liberty


Thursday, December 17, 2009

Open Source applications - update

An excellent compiled list of the best 10 Open source software can be found at this web site of Infoworld. Very common applications which we generally take for granted!! quoting from the web site:
"To many, free open source software and Microsoft Windows seem to be mutually exclusive. After all, the open source development model is most closely associated with the Linux OS and, to a lesser degree, various Unix derivatives. So when you mention the two together, you often get some rather strange looks. This is a shame because there exists a growing landscape of compelling free and open source solutions just waiting for the intrepid Windows user.
You probably already know one of them well. Firefox has long stood as a prime example of how the open source development process can work to deliver a first-class solution that rivals, and in many ways surpasses, the best that the commercial side has to offer."
And if you enjoy having your web life in one place, check out this Open Source Aggregators from this blog.  Especially StoryTlr which has recently gone open source.

What Are Social Aggregator Applications?

Before diving too deep into this conversation, let me first explain to you what Social Aggregators are. They are basically web based applications that aggregate or gather data/information from various 3rd party social applications. A basic idea of this would be a web application that aggregates your Facebook, Twitter, Flickr, YouTube etc. information into one location, allowing viewers to see all of that information in once place.

Sunday, December 13, 2009

Cyberweapons Concern - Military use

The 'The New York Times' reports about US-Russia talk on limiting military usage of Cyberspace, which brings about Cyberweapons concerns!! Are we ready, prepared or just turning a blind eye?? hopefully the right persons at the right places in the Government are taking notice.

From The New York Times report :
"In the last two years, Internet-based attacks on government and corporate computer systems have multiplied to thousands a day. Hackers, usually never identified, have compromised Pentagon computers, stolen industrial secrets and temporarily jammed government and corporate Web sites."



Open Source Hardware Projects - 2009

This is phenomenal! 125 new Open Source Hardware Projects for the year 2009!! The Geeks amongst you would surely be drooling. Check out this site. From Electronic Prototyping and Green Power to music, bio-medical everything is there! My favourite is the 'Development platform and tools' section!

From the web site:
"Welcome to definitive guide to open source hardware projects in 2009. First up - What is open source hardware? These are projects in which the creators have decided to completely publish all the source, schematics, firmware, software, bill of materials, parts list, drawings and "board" files to recreate the hardware - they also allow any use, including commercial. Similar to open source software like Linux, but this hardware centric.
Each year we do a guide to all open source hardware and this year there are over 125 unique projects/kits in 19 categories, up from about 60 in 2008, more than doubling the projects out there! - it's incredible! Many are familiar with Arduino (shipping over 100,000 units, estimated) but there are many other projects just as exciting and filled with amazing communities - we think we've captured nearly all of them in this list. Some of these projects and kits are available from MAKE others from the makers themselves or other hardware manufacturers - but since it's open source hardware you can make any of these yourself, start a business, everything is available, that's the point."

The Best Twitter Applications

Bored with just tweeting? Is the Twitter bug waning? (check all about Twitter here) Though I admit I am not much of a 'tweeting type twitter', I am rather a 'reading type twitter' and spend good part of my time reading other peoples tweets (does that make a peek-a-booer??). I have my own interesting tweet to-follow list (will post it sometime!) which I religiously follow for the sake of information and awareness.

Over the weekend I was wondering what all can be done on 'twitter' to make the Tweet-life a little bit easier. With the Open-Source Twitter API (check this web site), it is now easier to integrate ones favourite apps with Twitter.

Though there are hundreds of twitter apps out there, these are some of my favourites. Thought would name it top-ten-twitter apps, but put in just two extra to make it 12. Try them out and enjoy twitting. Catch me at : http://twitter.com/gantayet

Twitter Grade. A pretty interesting site that grades your twitter account. I was ranked 2,280,381out of 5,792,569 which is just about average :-/ Agree whole heartedly with the grading :-) from their web site:
"Twitter Grader is a free tool that allows you to check the power of your twitter profile. It looks at a variety of factors including the number of followers, power of those followers and the level to which you are engaging the community. It takes just a few seconds to generate your free report"

Twitter Ratio. This site calculates the Twitter 'Follower-to-Friend' Ratio - the TFF Ratio. (never thought of that!!). The results are pretty interesting. It also provides you a web-badge code which can be embedded in your web-site, blog etc. to proudly show off your TFF ratio.


Twitter Value. Another ego bursting site. It puts a value on your Twitter!! Well, if you feel bad post the 'valuation', try out your friends Tweet value too. I was valued at $3 - my web-worth!! Whereas Shashi Tharoor twitter was valued at an obscene $18157.00!!!

TweetCube. TweetCube allows you to share files on Twitter. TweetCube is 100% free to use, but the maximum file size you can upload is currently 10mb. You can upload as many files as you want. Files are deleted after 30 days.

Twixxer. Twixxer is a photo and video sharing component for Twitter.com users who are normally restricted to text-only updates that contain links to media. It is comprised of a browser add-on and a web service.

Twitpic. You guessed it. One more site to share your tweet pictures from the mobile or API.

Twitter Business Card.  Now you can send customised 'Business Cards' with your Tweets! Pretty simple to use and work with.

Tweet to Follow.  A nice site that helps you find like minded twitter whom you may follow!! just giver your twitter name, and you would see twitter-to-follow list!!


GeoChirp. As the name suggests, this site helps you for find twitter-users in a particular geographical area!! A very Twitter-GoogleMap mashup,  this has a very nice interface! Go get them - the twitters near your area :-)

Twitter Search. Find what's happening in twitter right now with this  Google-like web interface!!

Twitter Desktop. So by now if you have become a frenzied Twitter, the web interface would be a big pain. you would need a dedicated twitter client to organise and manage your Tweetings. This is your answer!! :-)

Twitter Screencast. You can easily create screencast and tweet them using 'Screenr'. Very easy to use and share!

For more and much more on 'Twitter' do visit http://mashable.com/guidebook/twitter/ and get that tweet back in your life :-) !! 
Enjoy!!

Friday, December 11, 2009

Microsoft Open Sources Windows 7 USB/DVD Download tool

Microsoft has Open Sourced the Windows 7 USB/DVD Download Tool by releasing it under the GPLv2 license. The code is now available on CodePlex, Microsoft's Open Source software project hosting repository, over at http://wudt.codeplex.com.

Details at: http://arstechnica.com/microsoft/news/2009/12/microsoft-finally-open-sources-windows-7-tool.ars

==Extract from the site===


Microsoft has open sourced the Windows 7 USB/DVD Download Tool (WUDT) by releasing it under the GPLv2 license. The code is now available on CodePlex, Microsoft's Open Source software project hosting repository, over at wudt.codeplex.com. The actual installer for the tool is now again available for download at the Microsoft Store (2.59MB). 

If you've got a good memory, the size might surprise you as the closed source version of the tool was only 946KB (we kept the old installer for the sake of comparison). When we compared the two tools side-by-side, the only difference we noticed was that the "Terms of use" link is no longer present in the GUI (we didn't really expect to see much more, as the size difference is really due to the included source code). Microsoft explains that while the user experience of the tool has not changed, the install involves additional steps. For convenience, the previous installer aggregated together three additional components, which are separate freestanding executables:
  • .NET Framework: WUDT is written in C# which requires the Microsoft .NET Framework to run.
  • IMAPI: the tool uses IMAPI to burn DVDs.
  • Bootsect.exe: this is part of the Windows 7 bits (found in \boot\) and allows a USB device to be marked as bootable.

Wednesday, December 09, 2009

Google Chrome Official release for Linux

Google has finally 'Officially' released Google Chrome for Linux (on 08 Dec 09). It is available at http://www.google.com/chrome/intl/en/w00t.html

Definitely the Linux fans are cheering!!


Also check out the loads of extensions/addons for the Google Chrome, a la 'Firefox'. Get it from here. Hope these extensions don't make Chrome as bloated as Firefox has become!!
Enjoy the web experience with Chrome - though for me, for the time being 'Firefox' would be my primary browser!! For the time being at least!!

Monday, December 07, 2009

Connecting USB Net Connect Dongles in Linux

Solution to connecting USB Net Connect dongles on Linux

There has been queries on connecting the USB Net Connect dongles (Of Reliance, Idea, Airtel etc.).

Those using windows, have to struggle with 'Loading drivers from CDs', configuring etc. etc.

In Linux, especially Ubuntu and Mint, it is fairly simple. No playing around with Driver CDs :-) Here is the procedure (Same for Reliance, Idea, Airtel etc)
Step One: Just plug it in (Of course on a booted machine running Ubuntu or Mint - Not the C-DAC BOSS Linux-OS being used in some Offices!! :)

Step Two: Go to  “Preferences>Network Connections> Mobile Broadband”. It should detect “Auto Mobile Broadband CDMS connection”
Step Three: Select the connection to add phone number “#777″ (for reliance and Idea) and you username/ password, both of which should be your 10 digit phone number (read it off from the purchase document!!).
Step Four: That is all.Choose the connection from notification area and enjoy.

In case it does not work. just try the following command on the terminal (you can also use this instead of the above steps!)

sudo wvdialconf /etc/wvdial.conf” which will detect the modem and install it for internet connection.
Easy - is not it??

Sunday, December 06, 2009

The Indian Spider Man

The Indian Spider Man - in real life!! Some one forgot to tell him that Spider Man is fiction!!

Jyothi Rai from Karnataka, India earns his living by acting the Spider Man for tourists at the Chitradurga Fort, Karnataka. His death defying stunts, done day in and day out for entertainment of tourists and school children visiting the fort is done without any safety harness (highly not recommended!!). Check out this web site and video!!




But for crazier death defying Spider Man - this had me gulping!!!


Saturday, December 05, 2009

OpenDNS response to Google's DNS Service

Continuing with the news of Google's new free DNS Service which I posted earlier, the response from the OpenDNS founder is interesting and relevant. From his blog at:
http://blog.opendns.com/2009/12/03/opendns-google-dns/

Visit the site to check out the interesting comments readers have also made
- gantayet

====Extract from the blog=====

Some thoughts on Google DNS 
by David Ulevitch, Founder on Dec 3rd, 2009


Google launched a DNS service today, almost exactly four years after I started OpenDNS. This comes as no surprise as it was only a matter of time before one of the Internet giants realized the strategic importance of DNS. I’ve received a lot of questions from bloggers, journalists, friends and most importantly, our users. And so I want to share my thoughts on what this means for the recursive DNS space and what it means for OpenDNS.

First, it’s not the same as OpenDNS. When you use Google DNS, you are getting the experience they prescribe. When you use OpenDNS, you get the Dashboard controls to manage your experience the way you want for you, your family or your organization. People use OpenDNS because we are pioneers and innovators in the DNS space, offering the most secure recursive DNS service around. We run the largest DNS caches, the fastest resolvers, and we offer the most flexibility in controlling your DNS experience. For example, IT folks want to block malware in the DNS, parents sometimes want to block certain content from kids. All of that and more is possible with our DNS. It is not with Google DNS. Of course, we don’t force those things, we offer them as controls that you manage the way you see fit. Providing people with choice is core to our offerings.

Second, it means that Google realizes that DNS is a critical piece of our Internet’s infrastructure and that it’s of strategic importance to help people safely and reliably navigate the Internet. This is something we’ve championed since day one and will always keep as our primary mission. This is why big enterprise customers are switching to OpenDNS too, not because it’s free but because it’s the best and we add value to DNS and improve the security of their networks.

Third, Google claims that this service is better because it has no ads or redirection. But you have to remember they are also the largest advertising and redirection company on the Internet. To think that Google’s DNS service is for the benefit of the Internet would be naive. They know there is value in controlling more of your Internet experience and I would expect them to explore that fully. And of course, we always have protected user privacy and have never sold our DNS data. Here’s a link to our privacy policy.

Fourth, it means that Google is bringing awareness to a wide audience that there is a choice when it comes to DNS and that users don’t have to settle for what their ISP provides. And we believe that having choice is a good thing — just as Internet users have unbundled their email to services like Gmail, Yahoo! Mail and Hotmail people have been unbundling their DNS and switching to OpenDNS in huge numbers for the last 3+ years because we’re better.

Fifth, it’s not clear that Internet users really want Google to keep control over so much more of their Internet experience than they do already — from Chrome OS at the bottom of the stack to Google Search at the top, it is becoming an end-to-end infrastructure all run by Google, the largest advertising company in the world. I prefer a heterogeneous Internet with lots of parties collaborating to make this thing work as opposed to an Internet run by one big company.
So how will this impact us? It’s too early to tell, but largely I think this is a good thing for us. Google DNS currently offers none of the choice and flexibility that our service does. It’s new and untested. Having said that, it encourages us to keep making our service better. And ultimately, we’re a business that has been growing aggressively since we launched and has been competing in fair markets and winning. It raises awareness about the importance of DNS and it motivates us to continue providing world-class services to a global audience and to keep innovating.



We will continue to do that without distraction from Google or any of the other players in the DNS or security space. But we welcome Google to the neighborhood.

Friday, December 04, 2009

Faster web browsing using Google's DNS servers

A great news that I was waiting for!! You can now have faster web browsing experience using Google's DNS services!!

Google has launched a Public DNS (Domain Name Service) server and the details are available here.

Simply put, you can abandon the DNS IP addresses given by your ISPs like MTNL, BSNL or local Broadband provider and use the Google DNS IP addresses 8.8.8.8 or 8.8.4.4 

What is DNS? Simply put - when you type in a website address 'Name' on your web browser, say like http://www.google.com, your computer queries a DNS server (setup by your systems DNS setting IP address!!) to get an IP address (in this case http://www.google.com translates to http://209.85.231.99), and then proceeds to connect to the IP address that it gets from the DNS server. The above process is called as 'Name to IP address' resolving and is a very critical part (and time consuming) of every web browsing activity.

Generally, if the DNS server of your local ISP server is not configured/ administered properly, the 'Name to IP address' resolving takes some time. And when you realise that a single web page has many such 'Names', using the Google Public DNS server will save considerable time during the web browsing.


The Advantages?? Definitely faster browsing speed which would be noticeable. On a Linux machine, you can check yourself the speed advantages by giving these commands at the command prompt and comparing the time shown (my results showed a 50% time saving!!):
time dig @ www.blogspot.com
time dig @8.8.8.8 www.blogspot.com
time dig @8.8.4.4 www.blogspot.com

Other advantages (quoting from the Google Blog!):
  • Speed: Resolver-side cache misses are one of the primary contributors to sluggish DNS responses. Clever caching techniques can help increase the speed of these responses. Google Public DNS implements prefetching: before the TTL on a record expires, we refresh the record continuously, asychronously and independently of user requests for a large number of popular domains. This allows Google Public DNS to serve many DNS requests in the round trip time it takes a packet to travel to our servers and back.
  • Security: DNS is vulnerable to spoofing attacks that can poison the cache of a nameserver and can route all its users to a malicious website. Until new protocols like DNSSEC get widely adopted, resolvers need to take additional measures to keep their caches secure. Google Public DNS makes it more difficult for attackers to spoof valid responses by randomizing the case of query names and including additional data in its DNS messages.
  • Validity: Google Public DNS complies with the DNS standards and gives the user the exact response his or her computer expects without performing any blocking, filtering, or redirection that may hamper a user's browsing experience.

Sunday, November 29, 2009

CAUTION: AFNHB Official Site dangerous

The official AFNHB (Air Force Naval Housing Board) site - http://afnhb.org site has been rated dangerous/un-trustworthy by the popular WOT (Web of Trust) rating agency. Various domain control agencies have blacklisted the site.The site has a poor malicious/virus rating making it dangerous.
Check out the details at:
http://www.mywot.com/en/scorecard/afnhb.org/comment-2899237#page-1
http://www.mywot.com/en/forum/4618-malwaredomains-new-update-10-14

Please exercise caution when when accessing the site.

 


Please exercise caution when when accessing the site http://afnhb.org.

Tuesday, November 24, 2009

Linux usage statistics for Servers and Desktop

Some statistics on Open Source usages for servers can be found here for information:
http://news.netcraft.com/archives/2009/11/10/november_2009_web_server_survey.html

Summary:
Market Share:
Apache/Linux  -  67%
Microsoft - 17.75%

Active Sites:
Apache/Linux - 55.32%
Microsoft - 19%



However, Desktop usage is another story with Linux hardly making a dent. From:
http://marketshare.hitslink.com/operating-system-market-share.aspx?qprid=10




Desktop Usage:
Win XP  - 70.48%
Windows Vista - 18.83%
Mac OS - 2.82%
Linux - 0.96%

Wednesday, November 11, 2009

Microsoft Open Sources Outlook services

Microsoft goes in for Open Sourcing Outlook services! Heartening!!
Have attached the news byte from The Economic Times, Mumbai edition (11 Nov 09)!


Sunday, November 08, 2009

How Google uses Linux

A great article on how Google uses Linux - http://lwn.net/Articles/357658/

An interesting read for the technical minded friends!!

On licensing issues, the below comments found at the site is very interesting. Have quoted here for quick read!!

====Some Comments to article quoted below=====

What a waste of resources...Google could just work tied with the kernel community. Come on Google what are you waiting for? Besides this fact, if linux kernel code is GPLv2 why don't they release their code and respect GPLv2 license terms?

===>> Reply==>>


KS2009: How Google uses Linux
Posted Oct 21, 2009 14:36 UTC (Wed) by drag (subscriber, #31333)
I don't know if you noticed or not, but the GPL licensing terms only kick in
during distribution. Seeing how a corporation is a independent legal person I
don't think that moving software and hardware around internally really counts
as distribution. And I don't think that Google has any plans on selling its
systems to other people.
So the GPL is pretty irrelevant.

So it is just a business case of whether working with the kernel community is
going to be more profitable or not. And so far they decided that taking care
of stuff internally is a better approach. Maybe that will change.

===>> Reply ==>>


GPL doesn't require, but maintenance kills you
Posted Oct 21, 2009 15:00 UTC (Wed) by dwheeler (subscriber, #1216)
Correct, the GPL doesn't require the release of this internal source code. However, the GPL does have an effect (by intent): Google cannot take the GPL'ed program, modify it, and sell the result as a proprietary program. Thus, what Google is doing is almost certainly wasting its own resources, by trying to do its own parallel maintenance. They could probably save a lot of money and time by working with the kernel developers; it's a short-term cost for long-term gain. And as a side-effect, doing so would help all other kernel users.
There's probably some stuff that will stay Google-only, but if they worked to halve it, they'd probably save far more than half their money. Google can do this, in spite of its long-term inefficiencies, because they have a lot of money... but that doesn't mean it's the best choice for them or anyone else.

US Department of Defense embraces Open Source

It is official now! As of the 16th of October 2009, the United States Department of Defense recognizes Open Source software at Commodity, Off the Shelf (COTS) software, eligible for purchase, read implementation, under the purchasing rules of the Department. Check out this web site dated 28 Oct 09:

http://www.readwriteweb.com/archives/us_department_of_defense_embraces_open_source.php

Quoting:

At the US Department of Defense, open source and proprietary software are now on equal footing. According to Defense Department guidance issued yesterday (PDF), open-source software (OSS) should be treated just like any other software product. The document also specifies some of the advantages of OSS for the Department of Defense (DoD). These include the ability to quickly alter the code as situations and missions change, the stability of the software because of the broad peer-review, as well as the absence of per-seat licensing costs. The document also stresses that OSS is "particularly suitable for rapid prototyping and experimentation, where the ability to 'test drive' the software with minimal costs and administrative delays can be important.

From one more source at: http://ostatic.com/blog/u-s-defense-department-cozies-up-to-open-source
From the Defense Department's guidance document:
"To effectively achieve its missions, the Department of Defense must develop and update its software-based capabilities faster than ever, to anticipate new threats and respond to continuously changing requirements. The use of Open Source Software (OSS) can provide advantages in this regard."
You can find the entire guidance document here. In it, there are many indications that the Defense Department likes the idea of "peer review" of code from a reliability and security standpoint. The advantage of "many eyeballs" that open source has from this perspective is often cited.

I am sure the Indian Government and Defense services follow suit earliest!!

Control-Alt-Backspace combo in Ubuntu

This is based on query from some of my Linux friends. Linux has a standard way to 'kill' the X-server, that is the GUI, in case the GUI hangs (Yessss, in Linux too the GUI hangs sometimes when doing crappy things like heavy animation or special effect stuffs, or java stuffs!!). The 'kill' is done using the key combination  'ctrl+alt+backspace'. However, Ubuntu disables this key-combo feature by default (cannot fathom the logic for this!!). However, this can be easily restored.

To enable this key combo in Karmic Koala (Ubuntu 9.10) is pretty simple, just go to:

System –> Preferences –> Keyboard –> Layouts (Tab) –> Layout Options –>
             Key sequence to kill the X server 
 
and (Tick) Control + Alt + Backspace.

Saturday, October 31, 2009

Everyone's gotta deal with 'Change'!! Nothing new about it, but when one deliberately thinks about it, one gets startled a bit. 'Change' - a small word, but with big implications!!!! Even beauty queens quote and acknowledge 'change', most famously, 'The only thing constant is change Sometimes it is essential to change even if is just for change's sake! Some change is easy; but more often than not it is difficult. But there is no getting away from change. And we have to deal with it - make it work for us. I am at a stage in life where I have to deal with ‘Change’ - lots of it. Change view growing children, changing friends, changing health, a job promotion and changing job-profile. Most importantly, and most stressful, changes brought about view growing expectations from not only others, but also self!!!! And can't help but remember the famous school days learnt quote "God grant me the serenity to accept the people I cannot change, the courage to change the one I can, and the wisdom to know it's me."

Came across this excellent inspirational video which is a must see. Sharing with you all.


Wednesday, October 28, 2009

Linux booting problems - 'GRUB' recovery

This is for the 'Linux Advanced Users'. It is based on a requirement of a friend (Mickey - hands up!! - and for many others who have faced similar problems and taken help!!) to recover his messed up booting disk, luckily on Linux, ostensibly due to inadvertent power supply switching off problems!!

Intro: When your system boots up, post the BIOS, a small software/program in the hard-disks boot sector loads up to 'pull' in your Operating System basic core (kernel) into the RAM , which in-turn loads other parts of the OS (putting this rather simplistically although its a pretty hard-working/complex process!!!). The initial 'small software/program' is called the boot loader. 
A boot loader, also called a boot manager, is a small program that places the operating system (OS) of a computer into memory.
If there are multiple Operating Systems in your system, the boot-loader presents you a menu, from where you choose which OS to load. For example, in a multi-boot system, if you have, say, 'Windows 7', 'Ununtu Karmic Kola' and 'Mint Gloria', the boot loader will initially show you a simple menu asking you to choose which one to use for the session.

Windows has its own proprietary boot-loader (not discussed here!!). Linux has many boot loaders that a user can choose from, and generally two are offered by the Linux distributions - LILO (Linux Loader) and GRUB (Grand Unified Bootloader).

From experience, I have seen (don't worry! doesn't happen enough times! :-) ) that in case there is a power supply interruption, or improper shut-down, the sectors where the GRUB is written (boot sectors et la) do act up (generally of older/much-used hard disks!!). This will result in you being faced with GRUB menu screen that would have run partially (called 'stages') and you may not get to the part of the 'Operating System' choice screen!! It will be panic time, and rightly so as most users are not expected to handle 'boot loaders' acting funny!! In the Windows world - you get some kernel panic messages like NTLDR not found etc etc., obiviously followed by a 'blue screen of death' with lots of cryptic alphabets, words and numbers in white font - and you have no option but to reformat the disk!!!


In the Linux world, you can recover from this scenerio!! Will mention about the widely used GRUB boot loader recovery (and also because my friend 'Mickey' is stuck up with a funny GRUB!!). There are a few many ways to do it, but let me mention the the most widely used ones (this is standard procedures for most Linux Admin - but can be done by a general user too, as very logical sequence of steps!!).
1. Boot from a Linux Live CD (any one would do like Knoppix, Ubuntu etc.). You can get an extensive list of Linux Live CDs from here.

2. Open a 'Terminal' (its that command line, friend!! Generally found in the 'Accessories' menu item).

3. Check if its a 'root' login (prompt will have a #) else, just type 'su' at the dollar prompt ($). Most live CDs give you a 'root terminal' - check this out.

5. At the root prompt (important to be in the root prompt - signified by a #), type 'grub'. This will take you to a GRUB prompt.


6. At the grub prompt, type 'find /boot/grub/stage1' (without quotes of course!!). You'll get a response like '(hd0)'. In my case I got (hd0,1). You have to next use whatever response shown.

7. From whatever response you got above, at the grub prompt, now type 'root (hd0,1)'.

8. Follow this up by typing 'setup (hd0,1)' at the grub prompt.

9. Thats it - your GRUB is restored - just type 'quit', and reboot the system, making sure you have removed your Live CD from the CD-Drive.

Simple isn't it?? :-) Enjoy

Monday, October 26, 2009

Give Linux a try - a few Gems

A lot of friends and colleagues have been enthused to use GNU/Linux (especially Ubuntu and Mandriva distributions!!), post some encouragement and hand holding by me and few of my Open Source advocate friends. I do try to explain to the new converts the pros and cons of using Linux, and though most of the time I feel I am able to drive home the point, I needed some 'Gems' sentences/views that would appropirately address my following views:-
  • Don't dump Windows!! Its good to know at least one other Operating System other than just 'Windows'. Let that other OS be Linux.
  • Don't dismiss Linux without trying it for sometime patiently
  • Take some time (at least a week!!) to learn Linux as you have spent a lifetime learning Windows - just to be fair to Linux

I came across an excellent article on Linux and Windows, which I thought I should share.  I feel this article is very eloquent and rightly captures the essence of the Windows vs Linux debate. Based on my experience, one of the major factor of many users being dis-illusioned with Linux  post loading/installing Linux is they they find that they cannot play their Movies(AVI/MPG files) or MP3s right away (nor watch YouTube videos on the web right away view Flash issues!!). Of course this can be easily sorted out (in a jiffy!!) on Linux with a few clicks of the button. This article explains the solution to this dilemma lucidly.

I have compiled some of the beautiful 'gems' that the author has expressed which are so apt and relevant. Please have patience and go through them, ponder on them.

Due credit to the author for an excellent article:
http://www.dedoimedo.com/computers/codecs.html

The Gems or Take aways that I have gleaned and compiled from the article are as under mentioned

  • Windows or Linux, it does not matter. Both offer the same thing, wrapped in different shapes and colors. When it comes to what you need, you'll have it regardless which kernel you boot on your machine.
  • Unfortunately, lack of familiarity and difficulty translates into one and the same thing for most people. Usually, this means a big, fat accusing finger is pointed at Linux as being a dreadful toy of geeks with its hideous command line.
  • Habits make us vulnerable. The more used we get to something the harder for us it is to adapt to new ideas. Habits are the exact opposite of evolution. They force us to do the same things all over, even if they are outdated, inefficient and plain wrong.
  • Don't let your habits slow you down. Open your mind. Most importantly, do not use ignorance as a weapon to trash unfamiliar knowledge. Linux is definitely hard. I will never dispute that. But it's no more or less difficult than Windows. As it happens, Windows was there first to set the visual rules how things out to be.
  • Windows, Linux, it does not matter. Forget what you know. Shed your filthy habits away and become a toddler, learning the world anew. Without preconceptions, without social pressure and without the monkey effect dragging you down. Become a child, become a sponge and just suck all that new, exciting knowledge in.
  • Running operating systems is very much like walking. Once you get used to them, it becomes natural. And switching to a whole new one is a big trauma.
  • Forget the Start button in the left bottom corner, forget the old ways. With the slate clean, learning Linux will be the same as Windows, probably more fun. Remember how you used to get angry and frustrated when you tried Windows 95 for the first time and nothing was really how you expected it to be?
  • Software is hard. Think about it! It's developed by people who eat their own toenail clippings! What do you expect from people who spend their entire life staring at long lines of code. Do you honestly think they can possibly understand what someone with an IQ of a banana needs? Or how they think?
  • People using Windows think Windows is easy because this is what they know. They have grown used to it. They have developed habits. They know where to click. Most users have no idea what they're doing, but mimicking actions is one of the major human trades, the ability to learn and adapt.
  • All operating systems are equally hard - or simple, depends on how you look at it.
  • Operating systems are not easy. But even monkeys will learn to operate a keyboard after a sufficient amount of random hammering against the plastic knobs.
  • The key is in the knowledge. And if you have the ability to perform an educated research of your needs and find the right solution, then the use of operating systems is completely transparent and comes to personal preference and maybe a few necessities. But in general, it won't make any difference. Any which OS goes. 
  • Installing codecs on Linux is terribly simple - and safe. It's definitely far easier than doing this on Windows, to say nothing of safety and quality. You do not entrust your operating system to unknown, untested software you download from the Web. You use thoroughly tested software from the official installation sources.
  • While Windows ships with just one media player available for users, Linux distributions offers tens of great products, some installed, others available in the repositories.

White House adopts Open Source

This is a Eureka moment for Open Source advocates like me. The White House official website http://www.whitehouse.gov has moved to an Open Source Content Management System (CMS) . This should be proof enough that Open Source software is making great inroads despite all the doubting Thomas(es). They have adopted the Open Source and free 'Drupal' CMS. Incidently, this is the same CMS I have also adopted/using for my Cyber Real estate which is still under construction at http://www.gantayet.in

Did the White House take a clue from me??? :-) Obiviously not as millions of users are using Drupal for their web-sites, and a good product will always gets its rightful recognition in the course of time!!


Quoting for the reports on the White House website found here:-
"WhiteHouse.gov has gone Drupal. After months of planning, says an Obama Administration source, the White House has ditched the proprietary content management system that had been in place since the days of the Bush Administration in favor of the latest version of the open-source Drupal software. Dries Buytaert reflected on this, adding: 'this is a clear sign that governments realize that Open Source does not pose additional risks compared to proprietary software, and furthermore, that by moving away from proprietary software, they are not being locked into a particular technology, and that they can benefit from the innovation that is the result of thousands of developers collaborating on Drupal.'"
Hope the Indian Government and Govt. Organisation take a clue from Obama :-)

And from what my sources tell me, the Obama administrations is actively considering another Open Source candidate for active use - the Google Chrome Operating System - in the near future!! Watch this space!!

Sunday, October 25, 2009

Reporting Software Piracy - the Dummies Guide

This is the result of a close friend of mine (Manish - hands up!!) enquiring about if there is any way of reporting Software Piracy!! Well, it got me thinking! For one, I had never ever reported any 'Software Piracy' - just felt bad when I saw it, gave a sardonic smile, and went about the daily chores including preaching about using Open Source and Freeware!! Secondly, 'Software Piracy' in India has become such a 'done thing' that every one assumes its their birthright, and never give it a second, nay first, thought!! I wonder if they ever even thought about it! This is especially true and pretty rampant in Govt. Organisations and smaller firms . For example, visit any 'Photo shop', and you would see them using 'Photoshop'  (pun intended!!) to touch up your digital photos! I always wonder if they spent the Rs. 50K minimum necessary for a licensed copy of the software!!! Check the price here - its $1000 approx).

Let me make you feel guilty!!! Are you or your organisation using original software? Well, when MS Office 2007 Professional costs Rs.15,500/- and MS Office 2007 Home costs Rs. 3000/- (hardly anyone uses the low featured 'MS-Office Home Edition'), I guess you have saved some money, right? :-)

In fact, people look at you in surprise if you enquire about their software licenses!! And some even wonder if there is anything like a software license (the whole software thing came pre-loaded you see!!!). And some even tell me "DO SOMETHING USEFUL IN YOUR LIFE U REVENGEFUL **** " :-)

Anyway, coming to the point, one can report Software Piracy in Organisations or Individuals. And am sure some actions are taken thereof!!!

What defines Sofware Piracy? From the Business Software Alliance site:
"Software piracy is the unauthorized copying or distribution of copyrighted software. This can be done by copying, downloading, sharing, selling, or installing multiple copies onto personal or work computers. What a lot of people don't realize or don't think about is that when you purchase software, you are actually purchasing a license to use it, not the actual software. That license is what tells you how many times you can install the software, so it's important to read it. If you make more copies of the software than the license permits, you are pirating."

Every major software maker have their own 'Software Piracy' reporting forms/ web-site/ mail id!! Check out a few of these sites if you are interested (???) to report Software Piracy!!
http://www.bsa.org/country.aspx?sc_lang=hi-IN  - The grand daddy of them all.
http://www.microsoft.com/india/piracy/Report_piracy.aspx
https://www.microsoft.com/howtotell/reports/report.aspx
http://info.borland.com/about/piracy.html
http://www.mathworks.in/company/aboutus/policies_statements/piracy.html

(These are just a few example sites......)

Specifically, taking the most common example, if you are in India and observe any software piracy of Microsoft software you have the option of reporting the same in the following ways:

Method 1: E-mail piracy@microsoft.com.

Method 2: Call the Microsoft Hotline at 1800-111100 (from MTNL & BSNL landline) or 1800-1021100 (from Mobile and Airtel)

Method 3: Fill out an online reporting form on their web site.

Ofcourse, in Mumbai you can report to the 'Cyber Crime Investigation Cell'

Cyber Crime Investigation cell,
Annex III, 1st floor, Office of the Commissioner of Police,
D.N.Road,
Mumbai - 40001
Email: officer@cybercellmumbai.com

Tel: +91 - 022 - 24691233

Is there some monetary reward? Well, I am not sure!! But this does throws some light!! :-)

And check out some true stories of those who indulged in 'Software Piracy' and about the Monetary rewards at http://global.bsa.org/faces/index.html

Don't use Windows for Internet Banking

Came across this must read article, which I thought is a must share when we live, connect, commerce so much online these days. The article (dated 08 Oct 09) stems from deposition by the New South Wales Police, Australia during a public hearing on Cybercrime  and can be found here.

The article is rather simplistic as it does not goes into technical details, but does drives home the point. The recommendation to use Linux clean boot or using iPhone is pretty sensible and recommended.

An extract of the article:
" Cybercrime expert endorses Linux, iPhone when banking online.
Consumers wanting to safely connect to their internet banking service should use Linux or the Apple iPhone, according to a detective inspector from the NSW Police, who was giving evidence on behalf of the NSW Government at the public hearing into Cybercrime today in Sydney.

Detective Inspector Bruce van der Graaf from the Computer Crime Investigation Unit told the hearing that he uses two rules to protect himself from cybercriminals when banking online.
The first rule, he said, was to never click on hyperlinks to the banking site and the second was to avoid Microsoft Windows."

Of course I don't use Microsoft Windows - simply see no sense in spending good money on a legal copy - when I can do all my work (including word processing, presentations, graphics, multimedia) and more in my Linux distributions - Ubuntu (home use) and Debian (Office use).

We need to be much more careful and aware and consider this startling statistics, (thank your stars if you are not already a victim):
"Symantec has release a report indicating that cyber crime has surpassed illegal drug trafficking as a criminal moneymaker, and 1 in 5 will become a Victim." - from this site

And in case you are using Internet Explorer (any versions!!), the default Web-browser in your Windows OS, please do yourself a favour and switch right now. The IE browsers are bloated, slow, insecure, and doesn’t render the web correctly. Check out this BLOG on why Internet Explorer 8 sucks!! and this website on Why Internet Explorer is unsafe. Though IE8 has improved a lot (check here - read the comments too), it still has some way to go (wait for IE9???). Also do yourselves another favour and learn/be-aware about modern, standards-compliant browsers.

Though I am a big fan of Firefox (it is extensible with excellent add-ons, secure, and Open Source), you can try out other light-weight browsers too like Opera, Camino (on Mac OS), Chrome etc. Here is a long list of web-browsers!!

Friday, October 23, 2009

Windows 7 - Pricing in India and other Tit-bits for the impatient


Windows 7 has finally been released (22 Oct 09) and it comes in five different flavours in India – Starter, Home Basic, Home Premium, Professional, and Ultimate.  (US has only four flavours - Home Basic missing there!!)

Here are the approximate rumoured pricing in India (not yet on the stores self!!):
  • Windows 7 Starter - Not found in retail stores. Comes pre-installed in systems
  • Windows 7 Ultimate – Rs 11,799
  • Windows 7 Professional – Rs 11,199
  • Windows 7 Home Premium – Rs 6,799
  • Windows 7 Home Basic (not listed in official US site - only available in India)– Rs 5,899
For any reasonable use, you need atleast the 'Professional Edition' - as per me of course!!! Rs 11,200.00 approx!!!

You can compare the features of Win7 over older Windows versions here. For details of features of each of the different versions of Windows 7, see this CNET article here.

Surprise of surprises was when I wanted to check the Windows 7 licensing policy - or what they call the End User License Agreement(EULA)!!! The Microsoft Official site for the EULA said "The Windows® 7 operating system is currently in development." (see snapshot below!!) Wow!!!!



However, you will not be able to buy the Windows 7 software off the self (OTS) in India yet!!! This is because all importers of packaged software (Microsoft products included) to India are caught in a dispute with the country's customs department over the interpretation of new taxes on packaged software that were introduced in July 09. In view of this, the consignments of the Windows 7 packaged software for retail sale is stuck and will not be available in retail stores soon!!


Hardware issues. The Windows 7 hardware requirement claims to need 1 GB RAM minimum, and recommends 2 GB for good performance!! However, read the fine print on the Windows 7 site if you want to use the system in Windows XP mode, which states "Windows XP Mode requires either OEM pre-installation or post-purchase installation of Windows XP Mode (which runs on Windows 7, Windows Professional or Ultimate) and a virtualization technology, such as Virtual PC."  This would also require an additional 1GB RAM and 16 GB Hard disk space. Hard disk no problem - but be sure to have a minimum of 3 GB RAM in your systems if you want to comfortably use Windows 7.


And if you don't want to spend the $$$ for yet another Windows upgrade, do consider using any Linux Distribution for Free :-)

Wednesday, October 21, 2009

Recovering Linux root password

Many people have been getting in touch with me to recover the Linux Admin passwords of their systems. This is mainly because they have forgotten their Admin passwords (unused for long time surprisingly!!!) or the Admin Personnel has gone on leave or just disappeared!!!

The simple procedure explained below will hopefully sort out all your woes!!

First of all, you will require a Linux live CD (like the Ubuntu Live CD or my favourite 'Knoppix' CD. (download it free from here!!!). You can also use the convinient  bootable Linux USB pendrives too.

A long list of available (for free!!) Linux Live CD can be found here!!

"A live CD or live DVD is a CD or DVD containing a bootable computer operating system. Live CDs are unique in that they have the ability to run a complete, modern operating system on a computer lacking mutable secondary storage, such as a hard disk drive. Live USB flash drives are similar to live CDs, but often have the added functionality of automatically and transparently writing changes back to their bootable medium. The term "live" derives from the fact that these CDs each contain a complete, functioning and operational operating system on the distribution medium. While a live CD typically does not alter the operating system or files already installed on a computer's hard drive, many live CDs include mechanisms and utilities for altering the host computer's hard drive, including permanent installation. This is important for the system management aspect of live CDs, such as removing viruses, drive imaging, and system recovery." - from wikipedia

You will recreate a user that has administrative permissions on your server as mentioned below.
  1. Boot from a rescue CD such as a Knoppix Live CD or bootable pen-drive. It doesn't really matter what you use, as long as you can boot Linux and get access to a shell prompt. Make sure to mount the /dev and /proc directories and establish a chroot environment that points to your server's root directory. 
  2. You are now root on your server's file system. Use the passwd command to reset the password for the user root. From now on, you have re-established access to the root account.
  3. Reboot your server without the Knoppix CD and verify that you can log in as root, using the password that you've just set.
  4. Recreate an administrative user account that is not root. If for example the name of this user account is Gunz, use useradd -m gunz. To use sudo to execute commands as root, you must make sure that the user account is a member of the group adm. To make a user with the name gunz member of the group adm, use usermod -G adm gunz.
  5. Use passwd gunz to give the user you've just created a password. You have now re-established a user account that can be used to perform administration tasks on your server.
Of course, to fix this problem you need physical access to your server and something (Linux Live CD!!) that boots a Linux shell and allows you to mount your server's file systems.

Tuesday, October 20, 2009

Excellent One-stop Health related site

Came across an excellent Health related website - U.S based - which is a must bookmark/reference site called 'MediLine Plus'.
"MedlinePlus will direct you to information to help answer health questions. MedlinePlus brings together authoritative information from NLM, the National Institutes of Health (NIH), and other government agencies and health-related organizations. Preformulated MEDLINE searches are included in MedlinePlus and give easy access to medical journal articles. MedlinePlus also has extensive information about drugs, an illustrated medical encyclopedia, interactive patient tutorials, and latest health news." - from website


I found the 'Interactive Health Tutorial' section that addresses almost all types of diseases, their symptoms, causes, cures etc very useful and most importantly, very simple for layman like us. 
"The tutorials listed below are interactive health education resources from the Patient Education Institute. Using animated graphics each tutorial explains a procedure or condition in easy-to-read language. You can also listen to the tutorial." - from web site
This should be purely used for education/ reference purpose and is no substitue for a visit to a Doctor. Sharing for all my friends. Check it out.

Friday, October 16, 2009

Ubuntu 9.10 Karmic Koala Release - 29 Oct 09

Ubuntu 9.10 (Karmic Koala), is scheduled to be released on 29 October 2009. It will become Canonical's eleventh release of the distribution and will likely be supported until April 2011.

The 9.10 release will focus on improvements in cloud computing on the server, further improvements in boot speed as well as development on the Netbook Remix.
"Ubuntu Netbook Remix is optimised to run on a new category of affordable Internet-centric devices called netbooks. It includes a new consumer-friendly interface that allows users to quickly and easily get on-line and use their favourite applications. This interface is optimised for a retail sales environment." - from Ubuntu Site

The desktop installation of Ubuntu 9.10 is expected to include, among other programs, GIMP 2.6, GNOME 2.28, Mozilla Firefox 3.5, OpenOffice.org 3.1, Linux Kernel 2.6.31, X.Org 7.5 and Empathy Instant Messenger. The default filesystem will be ext4, and the Ubuntu One client, which interfaces with Canonical's new online storage system, will be installed by default.
"Ubuntu One is your personal cloud. You can use it to back up, store, sync and share your data with other Ubuntu One users. Ubuntu One gives all features and 2 GB of essential storage to everyone." - from Ubuntu Site
 It will also debut a new application called the Ubuntu Software Center that will unify package management. Canonical intends for this application to replace Add/Remove Programs (gnome-app-install) in 9.10 and possibly Synaptic, Software Sources, Gdebi and Update Manager in Ubuntu 10.04. Karmic Koala will also include a slideshow during the installation process (through ubiquity-slideshow) that will highlight applications and features in Ubuntu

Tuesday, October 13, 2009

Great Video - The Linux Story

A great and classic/historic video. From Linux Torvalds himself - who himself admits that this 'talk' may well be historic as he dosen't like to give 'talks' and intend talking much in future!!

A must see video for Linux and Open Source lovers.

Useful 'Porn Mode' in Web Browsers

Known widely as 'Porn Mode', now every major browser ( Firefox 3.5 or >, IE8 or greater, Google Chrome had it since inception, Apple's Safari had it since 2005!!) comes with a 'Private Browsing' feature. No more do you have to remember to go post browsing to 'preference/options' menu and clear your caches, saved data/passwords etc (though this is still a good habit!!).


When browsing the  web where danger lurks around every click, one clamours for unobtrusive privacy. As the name 'Porn mode' suggests (no rocket science there in choosing the name!!), it is meant to hide your (embarrassing!!) browsing data and habits. It is most useful as a security tool though, when you are using public Internet access systems, like in Cyber-Cafes or your office systems. You must have noticed that financial web-sites (like banks, e-shopping etc. sites) warn you to close your browser windows post usage so as to delete 'cache' data. This 'warning notice' may become history if the fincancial web-server can recognise that the user is using browsing in 'Porn Mode'!!

In Firefox 3.5 or greater, a mere “ctrl+shift+p” will put Firefox into “Private Browsing”, not saving even a 'bit or byte' of history to disk (Note: I don't use 'IE8 - so go find out  yourself !). Further, rather than opening a new window, it caches off your currently open tabs, closes them, and puts the new porn mode tab as the current tab, all in the same window. When you’re finished, stopping private browsing will restore your tabs from the saved cache, including any text you might have typed in any form field.

So go ahead - make merry with the 'Porn Mode' on your browser :-)

Saturday, October 10, 2009

Securely Erase Hard Disks : Open Source Linux Tool

If you are concerned about the security of your data, identity thefts, or simply wish to protect your privacy (credit card info, passwords, private mails etc., - all leave footprints on your disks!!), you should be aware that your computer hard-disks has to be 'completely wiped/erased' before you hand over your systems/ hard disk for repairs or disposal/ buy-back etc.

There are many commercial tools available for the task costing oddles of money!! I generally get along using Open Source freeware tools. A handy freeware tool that I would recommend for Windows users is 'Eraser'(available here) :
"Eraser is an advanced security tool for Windows which allows you to completely remove sensitive data from your hard drive by overwriting it several times with carefully selected patterns. Works with Windows 98, ME, NT, 2000, XP, Vista, Windows Server 2003 and Server 2008. Eraser is Free software and its source code is released under GNU General Public License."
Recently  I stumbled upon a very convenient and easy to use tool that should be part of everyones 'fire-fighting software' pack!! Its called Darik's Boot and Nuke (commonly known as DBAN), is Open Source, and can be downloaded and used for FREE!!!

DBAN is based on Linux (it is an Open Source project hosted on Sourceforge),  and is designed to securely erase a hard disk until data is permanently removed and no longer recoverable (Note for the geeks: This is achieved by overwriting the data with random numbers generated by Mersenne twister or ISAAC (a PRNG)).

DBAN can be configured to automatically wipe every hard disk that it sees on a system, making it very useful for unattended data destruction scenarios. DBAN can be booted from a floppy disk, CD, DVD, or USB flash drive . It supports the currently used IDE, SCSI and SATA hard drives.

DBAN is highly recommend to be used  prior to computer recycling for personal or commercial reasons, such as donating or selling a computer. From the DBAN web-site:
"Darik's Boot and Nuke ("DBAN") is a self-contained boot disk that securely wipes the hard disks of most computers. DBAN will automatically and completely delete the contents of any hard disk that it can detect, which makes it an appropriate utility for bulk or emergency data destruction.
DBAN is a means of ensuring due diligence in computer recycling, a way of preventing identity theft if you want to sell a computer, and a good way to totally clean a Microsoft Windows installation of viruses and spyware. DBAN prevents or thoroughly hinders all known techniques of hard disk forensic analysis.
DBAN is a free software product that can be used at home or in a business at zero cost. The only official place to obtain DBAN is by download at this web site. We do not sell DBAN media."

Friday, October 09, 2009

Google Wave - Your tommorow is here today!!

Google's innovation time is here!!!! 'Google Wave' makes a big splash for 'Open Source'!! One more big thumbs up for Open Source - GOOGLE WAVE 'is' Open Source!!!
Google Wave is basically a cross between instant messaging, email and a wiki. You've got an inbox that looks like a Gmail inbox and you can create new Waves, which are a bit like email messages. Multiple participants can collaborate in real time, edit the waves, add photos, videos etc. etc.
 Check out the YouTube video - and be THRILLED!!! 
(Wonder why they were using Firefox instead of Google Chrome??)

Facebook fun hacks

Earlier I had posted on the aspect of security on Social Networking Site. There is no reiterating the fact that 'the Web' has many risks which a normal net user may not be aware off. Luckily for us, most of the popular sites are pretty security conscious and make the extra effort to be 100% sure of their site and their users security. But its also easy to change a web page from what the original developer intended to do and maybe look like!!! And that's what the Cyber terrorists exploit!!!

Just to show you all how easy it is to change the default ways of some of the popular sites, lets have some fun on the Facebook site (your login of course!!). Mind you - this is not a SECURITY issue or concern - just a fun hack!! 


The below 'fun hacks' will not cause any harm to the web site - and the site will be restored to its  original form when you refresh the web page!!! So have no worry - just try these out for an experience (trust me???) !!!!

And ofcourse I got these tit-bits browsing online and Googling!!! The credit goes to the annonymous coders (certainly not me!!! I am just one more impressed bloke!!)


Ok, go ahead and login to your Facebook account.

Once the home page opens, on the address bar (the one where you type http://www.facebook.com :-) copy paste this line of code, and hit enter:
 javascript:void(document.getElementById('fb_menubar').style.background='red');
Hmmm..... impressed??? (the above will change your top menu background colour to 'Red'!!)
Try this too...
    javascript:buddyList.toggleTab();
The above will bring up list of your online friends!!!!
Easy, yeah????

(there are quite a few such 'javascript' hacks available!!! Stopped here so as to keep this post brief!!!)

Let the fun continue.....

Ok, now go to you status update box (where you type in your status message), and using your UP-DOWN-LEFT-RIGHT keys, type out the following sequence of keys :
    [up] [up] [down] [down] [left] [right] [left] [right] b a [enter]

pictorially:



(hmmm.... of course, you will not see any letters there except 'ba')

Then click anywhere on the page!!!! And tell me what you see!!! :-)

The above is an 'easter egg' in Facebook famously called 'the konami code ' (check out what is 'konami code' here )

"For the uninitiated or nongamers out there, the Konami Code (UP UP DOWN DOWN LEFT RIGHT LEFT RIGHT B A) is arguably the most famous cheat code in video games. It has been used in countless games and lately, some sites have taken to using the code to trigger amusing events on the page."












 




Wednesday, October 07, 2009

YouTube download - the Open Source and Linux way

Many a times we come across excellent YouTube videos that we would like to save for offline viewing or sharing with friends. There have been many YouTube downloader software that comes standalone or as add-on to the browsers. But somehow I was not much satisfied with whatever downloaders I used - either they took long time to open, or had horrendous GUIs. Most importantly, they were not Open Source. Being a staunch Linux and Open Source user, I knew there would definitely be a better way to do it in the Open Source and Linux world.

Finally I have found the perfect utility for the job called youtube-dl. And fortunately, this can be used in both Linux and Windows (have not tested it here!!) You can download it from here. From the web-site:
"youtube-dl is a small command-line program to download videos from YouTube.com. It requires the Python interpreter, version 2.x (x being at least 4), and it's not platform specific. It should work in your Unix box, in Windows or in Mac OS X. The latest version is 2009.09.13. It's released to the public domain, which means you can modify it, redistribute it or use it however you like."
The youtube-dl is actually a Python (a programming language) script, and the authors of the 'youtube-dl' program have released it as Open Source. You can check out the code using any standard editor like 'emacs', 'vim', 'gedit' etc.

In Linux.
To use the 'youtube-dl' program in Linux is pretty easy from the command line. Just download it to any directory, make it executable using the command  chmod +x youtube-dl  and just run ./youtube-dl

For example, I executed the program as follows (a nice Tech Geek Video):
./youtube-dl  http://www.youtube.com/watch?v=m8GDzKQ6oY4
Output of the command:
[youtube] Setting language
[youtube] m8GDzKQ6oY4: Downloading video info webpage
[youtube] m8GDzKQ6oY4: Extracting video information
[download] Destination: m8GDzKQ6oY4.flv
[download] 100.0% of 6.34M at   61.65k/s ETA 00:00 
Use your Movie Players to play the .flv file thereafter!!!