<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1012897451991335429</id><updated>2011-07-07T16:04:45.965-07:00</updated><category term='Day'/><category term='Frustration'/><category term='Valentine&apos;s'/><title type='text'>" " " May the SOURCE be with You " " "</title><subtitle type='html'>All about my works and if u r a bit interested in Open Source, I recommend this blog!!!!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>43</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-1964361333208516658</id><published>2009-08-24T22:58:00.000-07:00</published><updated>2009-08-25T05:44:16.804-07:00</updated><title type='text'>GIT Tutorial[ Cont. ]</title><content type='html'>Following up from where I left in the last post. I will now introduce you to some concepts where GIT embeds itself into the internet and how it maintains security of project hosted on GIT.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-weight: bold;font-size:130%;" &gt;Public Key Cryptography&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We all have passwords, but the major limitation of passwords is that it's secret! Yeah, seems very odd ? Also it is a form of symmetric encryption, that is whatever you use as key( passwords ) to lock your data is used to unlock it.&lt;br /&gt;&lt;br /&gt;Consider this simple Alice[ Bandi ] and Bob[ banda ] example. Now if Alice wants to send some data to Bob which will be encrypted over the network, they need to decide a way to encrypt it. Suppose they decide to use a simple Shift Cipher to do it. Shift Cipher Works as follows:&lt;br /&gt;&lt;br /&gt;Plaintext: abc&lt;br /&gt;Key : 2 ( say )&lt;br /&gt;Ciphertext: (a+2)(b+2)(c+2) == cde&lt;br /&gt;&lt;br /&gt;The method of Encryption is open and so is the method of Decryption. The only thing that holds any security is the KEY( 2 in the above case ). But if Alice and Bob are to use the same key for encryption and decryption, then there must be some way to communicate it before they actually do any conversation.! And hence the security of Key falls in hands of method of communication. Suppose we encrypt the method of Key Distribution we're into a loop....!!!&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;Public Key Cryptography&lt;/span&gt; comes as a rather surprise. In this scheme a person has a pair of Public and Private keys( generated by a suitable software ). The above problem of Alice&lt;--&gt;Bob interaction is handled in the following way.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Preconditions:&lt;/span&gt; Alice's and Bob's Public Keys are open to everyone, but the private keys are kept secret. A message encrypted by the Private Key can be Decrypted by the Public key and a message encrypted by a Public Key can be decrypted by the private key only.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;Message Sending&lt;/span&gt;: Alice sends a message "abc"( say ) and encrypts that with the Public Key of Bob. Hence when Bob receives it, only he can Decrypt it with his private key.&lt;br /&gt;&lt;br /&gt;If you notice we have completely avoided the problem of Key Distribution.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 51, 204);font-size:130%;" &gt;&lt;span style="font-weight: bold;"&gt;Public-Private Keys and GIT&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Whenever you make a commit to the GIT repository there should be a way in which GIT can authenticate whether you're the authorised person to do so. It contains the Public Keys of all those who are allowed to make changes to the GIT Repository. When you send a message to Repository saying: "hey git, add this file", such a query is Encrypted with your Private Key, GIT knows your username and hence it sees if it has a Public Key corresponding to your username. If it exists, it'll try to Decrypt the query using the Public Key. If successful, that is the query makes sense, it'll authorise you. An incorrect Public Key will give garbage results which GIT will discard.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 51, 51);font-size:130%;" &gt;&lt;span style="font-weight: bold;"&gt;Making your Public Keys&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Making Public Keys is simple and we'll be using a simple software called ssh to do so. All further steps are done on an Ubuntu.&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);font-size:85%;" &gt;&lt;br /&gt;$ ssh-keygen&lt;br /&gt;Generating public/private rsa key pair.&lt;br /&gt;Enter file in which to save the key (/home/sanket/.ssh/id_rsa):&lt;br /&gt;Enter passphrase (empty for no passphrase):&lt;br /&gt;Enter same passphrase again:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Give appropriate information, remember to give a passphrase it'll  save you in case you miss your private key. The key'll be generated in /home&lt;urname&gt;/.ssh/&lt;br /&gt;The names of the files will be: id_rsa( private key ) and id_rsa.pub( public key ).&lt;br /&gt;&lt;br /&gt;From now on this key is your identity, and yeah it's your universal identity.!&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-size:130%;" &gt;&lt;span style="font-weight: bold;"&gt;Handing me the keys&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As I am the repository owner, you'll have to hand me over the Public Keys. You may do so by mailing me a copy at my email address or Posting on the list itself, Public Keys are  meant to be public so don't hesitate in telling it to the whole world ;).&lt;br /&gt;&lt;br /&gt;Please mail the file id_rsa.pub ONLY. And also remember to rename it to a username you would like to have.&lt;br /&gt;&lt;br /&gt;Recommendation: Suppose my gmail account is: snktagarwal. I would send a copy of id_rsa.pub as snktagarwal.pub. You are also expected to follow the protocol.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);font-size:130%;" &gt;&lt;span style="font-weight: bold;"&gt;Using the public-private key pair in GIT&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now I'll show you how to use your Public Private key pair with GIT. It is assumed that you've already done the following above steps:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Made a Public-Private( RSA ) key pair using ssh-keygen. SSH produces RSA Key Pairs.&lt;/li&gt;&lt;li&gt;Given me the Public Key with the name &lt;gmail_uname&gt;.pub&lt;/gmail_uname&gt;&lt;/li&gt;&lt;li&gt;I have added you to the trusted users group!&lt;/li&gt;&lt;/ul&gt;First let's have a view of the project repository online: http://203.110.246.113/viewgit/&lt;br /&gt;&lt;br /&gt;In the free_monkey repository you may see many Branches below in Heads section. These are the Branches created by various "Trusted" users. Wait for it, you'll have your own branch very soon :P.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);font-size:130%;" &gt;1. Configuring ssh to port 4545&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;SSH on port 22 is blocked outside halls, so you won't be able to do normal SSH traffic. For bypassing this security you need to be able to talk with my server on Port 4545, my server is configured so as to read on port 4545. Make the following changes:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-size:85%;" &gt;$ sudo gedit /etc/ssh/ssh_config&lt;br /&gt;&lt;br /&gt;Change the # Port 22 to Port 4545.&lt;br /&gt;&lt;br /&gt;Before:&lt;br /&gt;&lt;br /&gt;#   IdentityFile ~/.ssh/id_dsa&lt;br /&gt;#    Port  22&lt;br /&gt;#   Protocol 2,1&lt;br /&gt;&lt;br /&gt;After:&lt;br /&gt;&lt;br /&gt;#   IdentityFile ~/.ssh/id_dsa&lt;br /&gt;    Port 4545&lt;br /&gt;#   Protocol 2,1&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);font-size:130%;" &gt;2. Create a username for yourself in GIT&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;Execute these commands on your machine to tell others what your name stands for:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);font-size:85%;" &gt;$  git config --global user.name "Your Name Comes Here"&lt;br /&gt;$  git config --global user.email mail@domain.com&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;&lt;span style="color: rgb(102, 0, 0);"&gt;3. Check out a copy of the repository&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="color: rgb(102, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;It's as simple as it may get:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-size:85%;" &gt;$ git clone git@203.110.246.113:free_monkey.git&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Let me explain this command to you:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;git@ means that the machine that you are contacting has a user called git which will provide the git services. It could be git or repos or anything depending on the server administrator. Hence in our case I have named it to git on my server.&lt;/li&gt;&lt;li&gt;203.110.246.113 is IP of the server.&lt;/li&gt;&lt;li&gt;free_monkey is the name of the repository which has default extension of .git.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;If you're successful you'll have somthing like this:&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-size:85%;" &gt;&lt;br /&gt;Initialized empty Git repository in /home/user1/git/free_monkey/.git/&lt;br /&gt;Enter passphrase for key '/home/user1/.ssh/id_rsa':&lt;br /&gt;remote: Counting objects: 111, done.&lt;br /&gt;remote: Compressing objects: 100% (80/80), done.&lt;br /&gt;remote: Total 111 (delta 17), reused 0 (delta 0)&lt;br /&gt;Receiving objects: 100% (111/111), 48.99 KiB, done.&lt;br /&gt;Resolving deltas: 100% (17/17), done.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 153, 153);font-size:130%;" &gt;4. Make your own branch and have fun with the repository!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here are the brief steps to make your own branch, refer to &lt;a href="http://snktagarwal.blogspot.com/2009/08/git-tutorial.html"&gt;this&lt;/a&gt; if you want a review of commands.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-size:85%;" &gt;$ git branch &lt;branchname&gt;&lt;br /&gt;$ git checkout &lt;branchname&gt;&lt;br /&gt;$ vim README&lt;br /&gt;...make some changes...&lt;br /&gt;$ git add README&lt;br /&gt;$ git commit -a -m "&lt;branchname&gt; branch created and updated"&lt;br /&gt;$ git push origin &lt;branchname&gt;&lt;/branchname&gt;&lt;/branchname&gt;&lt;/branchname&gt;&lt;/branchname&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The last command needs some explanation:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Push: make a commit on the remote server&lt;/li&gt;&lt;li&gt;origin branchname: This tells git to push on branchname, which is your branch! &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;This wiki might be awefully incomplete, but given the time limitations, I am bounded. Please ask any doubts in this post or on the KGP list if needed.!&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-size:85%;" &gt;&lt;span style="color: rgb(0, 0, 153);font-size:130%;" &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/urname&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-1964361333208516658?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/1964361333208516658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/08/git-tutorial-cont.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/1964361333208516658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/1964361333208516658'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/08/git-tutorial-cont.html' title='GIT Tutorial[ Cont. ]'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-2433436106012736136</id><published>2009-08-16T09:46:00.000-07:00</published><updated>2009-08-16T10:34:53.691-07:00</updated><title type='text'>GIT Tutorial</title><content type='html'>Hey guys and gals,&lt;br /&gt;&lt;br /&gt;This is my version of tutorial on Git.&lt;br /&gt;&lt;br /&gt;I won't go into much details of what git is all about, though you can always go here to have a look, &lt;a href="http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html"&gt;git tutorial&lt;/a&gt;, which is actually an excellent boot up guide to Git and it's advantages. To be very precise Git was developed by Linus Torvalds to manage the Linux Kernel Tree and it turned out that Git is presently the best Version Control system on paper and in implementation!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Public and Private Repositories&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Repositories are the place where you actually keep your source code. So that a person who wishes to have a look at your code in a programmer friendly way! Also it is used to do collaborative coding, while maintaining an Organizational Hierarchy, it is equivalent to a management system built into the haphazard world of Open Source :).&lt;br /&gt;&lt;br /&gt;Public repositories are the repositories which everyone can have a look at. Generally Repositories are public so that anyone can have look, open source needs to be open ;). But the ability to write to a repository still lies in the hands of  "the" few from the Circle of Trust.&lt;br /&gt;&lt;br /&gt;Private repositories are different in the sense that you can't have a look at the code it u aren't a part of the project, private repositories are rare... though they exist.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Starting a Basic Project in Git&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There are a plethora of excellent tutorials that tell you how to use git, and I won't try to reinvent the wheel. Though here's something important to note. As Git is meant for collaborative work, you check out code from some remote host( repos ) and then make local changes, and then push it back to the remote repository. First thing you need to learn is to use Git in the local system. I would suggest you to go through the following texts.&lt;br /&gt;&lt;br /&gt;0. Use a Linux Box if you may. Windows users should look at this: &lt;a href="http://kylecordes.com/2008/04/30/git-windows-go/"&gt;windows link&lt;/a&gt;. But try to use a linux box because it'll be easier to get help :).&lt;br /&gt;&lt;br /&gt;1. &lt;a href="http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html"&gt;Official Git Tutorial &lt;/a&gt; - A great place to start, follow the exact steps uptill the point you can pursue. Try to read upto the section: Managing Branches, and yeah work each command on your machine.&lt;br /&gt;&lt;br /&gt;2. Those familiar with svn should look at &lt;a href="http://git.or.cz/course/svn.html"&gt;this&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. Once you've dealt a fair deal with using git locally it's time to dive into some Remote servers.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Web View of Git Repository&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you are familiar with version control you might be aware of Web Views for common Version Control services. Familiar are &lt;a href="http://github.com/"&gt;Github&lt;/a&gt;, &lt;a href="http://code.google.com/p/"&gt;Google Code&lt;/a&gt;. You can visit these site and look at an arbitrary project and have a feel of the Repositories. I have maintained my own version of Git Server and the Web Views can be looked up from here. We'll be using this for the rest of the tutorial so make sure you are able to get it work!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://maillist-cse.iitkgp.ernet.in/viewgit/"&gt;http://maillist-cse.iitkgp.ernet.in/viewgit/&lt;/a&gt;&lt;br /&gt;or&lt;br /&gt;&lt;a href="http://203.110.246.113/viewgit/"&gt;http://203.110.246.113/viewgit/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Note:- To use the maillist-cse.iitgkp.ernet.in Link please use 144.16.192.247 as your proxy and while using the second link you don't need to change your proxies :).&lt;br /&gt;&lt;br /&gt;So you can see a free_monkey repository. It's just a test repository containing some of my interesting source code ;).&lt;br /&gt;Things to watch out for( make urself familiar, now is the time ):&lt;br /&gt;&lt;br /&gt;1. When you enter the repository you can see, Shortlogs, Tags and Heads. Shortlogs are the commits that coders do on a repository. Something like you make a local change and push it to the remote server.&lt;br /&gt;&lt;br /&gt;2. There are two heads, master and experimental. These are the branches that exist for the code. A single project( code ) can have multiple, non interferring, branches.&lt;br /&gt;&lt;br /&gt;3. Some hyperlinks above show a Tree link, which is the listing  of code.... the stuff inside ;).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Heads&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Heads are the branches of the code. Suppose you wish to work with me on this project, so instead of working on the master copy( which is a compulsary branch ), I would ask you to start your own branch and start commiting there. In our case we have the master and experimental.&lt;br /&gt;&lt;br /&gt;You can switch the Code tree for any branch from these links.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Checking out Code&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As this repository is public, you might wish to check code to have your own copy to work with. These are the steps you need to do.&lt;br /&gt;&lt;br /&gt;First of all, git runs on a ssh service, and as port 22 is blocked in Institue. I am running this server on 4545 port. In a standard ubuntu box you will have to make the following changes:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;$ sudo vim /etc/ssh/ssh_config&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Search for a line which says "Port". Uncomment it and write: Port 4545. So the section now looks like:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-size:85%;" &gt;#   IdentityFile ~/.ssh/identity&lt;br /&gt;#   IdentityFile ~/.ssh/id_rsa&lt;br /&gt;#   IdentityFile ~/.ssh/id_dsa&lt;br /&gt;   Port 4545&lt;br /&gt;#   Protocol 2,1&lt;br /&gt;#   Cipher 3des&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Cool! Let's move further. You now need to clone the public repository into your computer. Do the following steps.&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-size:85%;" &gt;&lt;br /&gt;$ mkdir git             # Make a folder for git repositories&lt;br /&gt;$ cd git&lt;br /&gt;$ git clone git://203.110.246.113/free_monkey/&lt;br /&gt;Initialized empty Git repository in /home/user1/git/free_monkey/.git/&lt;br /&gt;remote: Counting objects: 34, done.&lt;br /&gt;remote: Compressing objects: 100% (28/28), done.&lt;br /&gt;remote: Total 34 (delta 7), reused 0 (delta 0)&lt;br /&gt;Receiving objects: 100% (34/34), 42.23 KiB, done.&lt;br /&gt;Resolving deltas: 100% (7/7), done.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Voila! We have got our own copy of Git source. These are the interesting things that you might wish to do:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-size:85%;" &gt;$ cd free_monkey&lt;br /&gt;$ git branch -a&lt;br /&gt;$ git checkout experimental&lt;br /&gt;Note: moving to 'origin/experimental' which isn't a local branch&lt;br /&gt;If you want to create a new branch from this checkout, you may do so&lt;br /&gt;(now or later) by using -b with the checkout command again. Example:&lt;br /&gt; git checkout -b &lt;new_branch_name&gt;&lt;br /&gt;HEAD is now at 878804d... Graph for activity logger&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;If you are done till here, watch ourt for the next iteration of git tutorial. Any doubts, please reply here :)!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/new_branch_name&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-2433436106012736136?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/2433436106012736136/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/08/git-tutorial.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/2433436106012736136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/2433436106012736136'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/08/git-tutorial.html' title='GIT Tutorial'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-3660986368148248436</id><published>2009-08-15T00:19:00.001-07:00</published><updated>2009-08-16T03:23:28.759-07:00</updated><title type='text'>Pidgin Activity logger!</title><content type='html'>Hey guys,&lt;br /&gt;&lt;br /&gt;I am really short of time to catch up with my lunch, and hence excuse me for my gibberish English :P. Recently my dear friend came up with this hilarious idea to log the activity of online users on our Gtalk accounts. Hmm, not a bad idea heh!&lt;br /&gt;&lt;br /&gt;So I sat down( many though I was doin madness ) and this is the strategy that I blogged down:&lt;br /&gt;&lt;br /&gt;1. Use DBus connectivity to access information from Pidgin client. DBus is a server based model by which you can connect to applications running on your Localhost transparently.&lt;br /&gt;&lt;br /&gt;2. Use python as the binding to DBus.&lt;br /&gt;&lt;br /&gt;3. When first starting the program, get a count of current online users.&lt;br /&gt;&lt;br /&gt;4. Trap signals for Signed In and Signed Out, and whenever one happens, just increment/decrement the count.&lt;br /&gt;&lt;br /&gt;5. Log all changes to a file.&lt;br /&gt;&lt;br /&gt;6. Make a Graph from the Log file using Matlab.&lt;br /&gt;&lt;br /&gt;You would like to see the final output first right ? Heh:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_lypISW8dea4/SoZjDWWhotI/AAAAAAAAAHU/lIvlJw2AwgA/s1600-h/activity.log.1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 299px;" src="http://3.bp.blogspot.com/_lypISW8dea4/SoZjDWWhotI/AAAAAAAAAHU/lIvlJw2AwgA/s400/activity.log.1.jpg" alt="" id="BLOGGER_PHOTO_ID_5370088514876711634" border="0" /&gt;&lt;/a&gt;It was a nice experience to jot down the hueristics of your Gtalk activity because we use it way too often. The graph starts at 00:00:00 Midnight for 24 hrs so that makes it one full day. And you can visibly see that the Maximum peak is at about 8-10 Pm and the lowest at around 5-6 AM.&lt;br /&gt;&lt;br /&gt;Want your own graph, reply to this post.... and btw I might be releasing a Pidgin Plugin named Activity-Logger pretty soon ;)&lt;br /&gt;&lt;br /&gt;For the interested if you can manufacture a plugin earlier than I may, have a look at the code urself: &lt;a href="http://github.com/snktagarwal/pidgin-plugins/blob/5dcc43f9d3f9c4ccc988dfaed20642f98927340f/activity-logger.py"&gt;git hub code&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-3660986368148248436?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/3660986368148248436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/08/pidgin-activity-logger.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/3660986368148248436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/3660986368148248436'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/08/pidgin-activity-logger.html' title='Pidgin Activity logger!'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_lypISW8dea4/SoZjDWWhotI/AAAAAAAAAHU/lIvlJw2AwgA/s72-c/activity.log.1.jpg' height='72' width='72'/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-5280635914050514071</id><published>2009-07-29T11:19:00.000-07:00</published><updated>2009-07-29T11:45:43.359-07:00</updated><title type='text'>KGP -- A Juggernaut in the making</title><content type='html'>KGP -- KGP Group of Programmers, the recursive name shudders through me a flow of intense adrenaline! And I hope the plans and views that I have set for this 'TO BE' giant, turn out frightingly stupendous!&lt;br /&gt;&lt;br /&gt;It's tough to say where it all started, but I know where's it going. I don't know if all my friends who have certainly made the abstract plans to hardware fabrication, share the same intensity and far[t] sightedness. I ain't boasting, and u'll realise in a matter of few kilos of words that I really am having a far[t] sightedness :D.&lt;br /&gt;&lt;br /&gt;What is the KGP -- to be as simple as possible, it is an effort to produce "sexy" code. Sexy not only in terms of ideas, but in terms of Coding Style, Technologies, Architecture etc. It's an effort to churn out Cormen( the person ), yes why not! We've got to start somewhere, and maybe my batch has to do the dirty work of flooring, who the FUCK cares! What matters is that you contribute, and that contribution is rememberd not as a "Memorial" but as a profession!&lt;br /&gt;&lt;br /&gt;I have many plans with KGP, first of all I would like to teach my juniors, teach won't be the right word.. I should rather use guide, towards a learning of practical aspects of coding. Today code is not all about a single piece of C code which can run with the good ol' gcc mybullshitfile.c followed by ./thiswillconquerortheworld.out :D. Rather we need an organised effort, roots of which can be derived from the community of Open Source!&lt;br /&gt;&lt;br /&gt;Here I wish to tell that Open Source is a community rather than a category of software, a community which has people who understand the importance of collaborative coding, and also the idiocracies of Licenses etc. And this includes those from the heart of FSF( read Linux if confused ) to the backwaters of Microsoft and there's no one to say that the Microsoft guy should be hanged over all the code he's written. No!, Open Source is a place to learn and not to spread communism!&lt;br /&gt;&lt;br /&gt;I like the model of Open Source and hence adopt it for most of my processes of programming, may be it Technologies to choice of Languages this community helps you out anywhere and everywhere :). This is exactly what I would wish to see.. KGP adopting the idiocracy as well as charm of Open Source Architecture. And I am sure working with a bunch of to-be 'Geeks' will be a fun experience!&lt;br /&gt;&lt;br /&gt;What can't we achieve, there's nothing out of our reach! Making softwares can be fun and why can't we make competitive code ? All's needed is organised effort and that's what had been lacking till now! I won't be surprised to see scores of ideas in sections like 'Sandbox' and 'Incubation', and many being completed and launched. It has to get bigger! The Juggernaut has to roll to engulf all. Just look at the consequences, we might end up in a system where code is being produced and not just for voluntary ideas but maybe for companies! We can get work for sites of the magnitude of Kshitij and SF, why not ? Aren't we meant for this fate ?&lt;br /&gt;&lt;br /&gt;Can't we produce winners in comptt like Imagine Cup, GSoC and lot's more of them ? Just the organised effort was missing and I and my batch hope to fulfil it with our gift to this beautiful institute, a gift to our juniors.... KGP! &lt;span style="font-family: arial;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-5280635914050514071?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/5280635914050514071/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/07/kgp-juggernaut-in-making.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/5280635914050514071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/5280635914050514071'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/07/kgp-juggernaut-in-making.html' title='KGP -- A Juggernaut in the making'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-937713916310516286</id><published>2009-07-24T07:06:00.000-07:00</published><updated>2009-07-24T07:48:37.099-07:00</updated><title type='text'>SSH Port Blocking and CSE-Xeon server Tragedy</title><content type='html'>There has been a quite an uproar over the Xeon-64 servers not being able to accept connections by CSE students of my batch.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-weight: bold;"&gt;Abstract&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[ For those who just want to know, "can I get to that fucking machine anyway ?" ]&lt;br /&gt;&lt;br /&gt;The problem, to put in very accurate technical terms is, Port Blocking on Outbound traffic. SSH runs on Port 22( Default Value/XEON Server) and CIC network guys have blocked all outbound traffic on Port 22 for most of the halls.... ( atleast RK, RP, NH and more... ).&lt;br /&gt;&lt;br /&gt;So the simple thing is this, YOU CANNOT HAVE ANY TRAFFIC ON PORT 22 OUTSIDE THE HALLS. Though local( inside halls ) traffic will suffice. And hence if you are too desperate for the 64bit lady, there are 3 solutions from me:&lt;br /&gt;&lt;br /&gt;1. Get the Xeon server port changed to something other than 22, say 4455 etc.&lt;br /&gt;2. OR Ask the CIC/Wipro guys to turn the stupid firewall off.&lt;br /&gt;3. Tell the guys at Hall Server rooms, ask if they can get you through&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:180%;"&gt;Details&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Let's see what exactly is the scene, I wont talk much theoretical nonsence, but rather show you some concrete output to support the facts.&lt;br /&gt;&lt;br /&gt;First thing I will do is to ssh the Xeon( 10.5.18.75 ) server with my user&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-size:85%;" &gt;----------------------------------------------------------------------------------------------------------&lt;br /&gt;sanket@sanket-desktop:~$ ssh sanketa@10.5.18.74&lt;br /&gt;ssh: connect to host 10.5.18.74 port 22: No route to host&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(255, 0, 0);font-size:85%;" &gt;----------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Clearly I cannot open the server!&lt;br /&gt;&lt;br /&gt;Now I shall try to ssh into Avishek's machine which is in the same Hall as I am:&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 102, 255);font-size:85%;" &gt;----------------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 102, 255);font-size:85%;" &gt;sanket@sanket-desktop:~$ ssh avishekbanerjee@10.110.11.209&lt;br /&gt;The authenticity of host '10.110.11.209 (10.110.11.209)' can't be established.&lt;br /&gt;RSA key fingerprint is 99:15:20:66:1f:d7:de:f9:24:be:dc:99:2a:62:6d:26.&lt;br /&gt;Are you sure you want to continue connecting (yes/no)? yes&lt;br /&gt;Warning: Permanently added '10.110.11.209' (RSA) to the list of known hosts.&lt;br /&gt;avishekbanerjee@10.110.11.209's password:&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(51, 102, 255);font-size:85%;" &gt;----------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Evidently I can see that avishek's system is open for me on port 22.&lt;br /&gt;&lt;br /&gt;Another more "techniche" check using nmap.&lt;br /&gt;&lt;br /&gt;Xeon Server: nmap -p22 10.5.1875&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 102, 0);font-size:85%;" &gt;----------------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0);font-size:85%;" &gt;sanket@sanket-desktop:~$ nmap -p22 10.5.18.75&lt;br /&gt;Starting Nmap 4.62 ( http://nmap.org ) at 2009-07-24 19:52 IST&lt;br /&gt;Interesting ports on 10.5.18.75:&lt;br /&gt;PORT   STATE    SERVICE&lt;br /&gt;22/tcp filtered ssh&lt;br /&gt;&lt;br /&gt;Nmap done: 1 IP address (1 host up) scanned in 13.085 seconds&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;----------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Avishek's Machine: nmap -p22 10.110.11.209&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(102, 102, 0);font-size:85%;" &gt;----------------------------------------------------------------------------------------------------------&lt;br /&gt;sanket@sanket-desktop:~$ nmap -p22 10.110.11.209&lt;br /&gt;Starting Nmap 4.62 ( http://nmap.org ) at 2009-07-24 19:53 IST&lt;br /&gt;Interesting ports on 10.110.11.209:&lt;br /&gt;PORT   STATE SERVICE&lt;br /&gt;22/tcp open  ssh&lt;br /&gt;&lt;br /&gt;Nmap done: 1 IP address (1 host up) scanned in 13.052 seconds&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(102, 102, 0);font-size:85%;" &gt;----------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The results are evident, Xeon server has got no port 22 request, Filtered! But Avishek my friend is very comfy with the thing :D&lt;br /&gt;&lt;br /&gt;It's a easy test actually to see if your outbound traffic is blocked. Just try to ssh into a machine you know is ought to be working, and if you can't access.. you're doomed.&lt;br /&gt;&lt;br /&gt;Though what I have shown here is Outbound Traffic blocking, and it's actually the case that inbound traffic is totallly okay. Try sshing into your computer from department computers and don't get surprised at the results. ;)&lt;br /&gt;&lt;br /&gt;Here's a proof, the machine I will be using is kept in the CSE Deptt and I have access to it( on somehow ). All deptt machines have open outboud traffic, so if I get a filtered output when scanning my m/c in hall, that means that the m/c in hall is refusing!&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(153, 153, 153);font-size:85%;" &gt;----------------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(153, 153, 153);font-size:85%;" &gt;mailinglist@maillist-cse:~$ nmap -p22 10.110.11.10&lt;br /&gt;&lt;br /&gt;Starting Nmap 4.76 ( http://nmap.org ) at 2009-07-24 20:00 IST&lt;br /&gt;Interesting ports on 10.110.11.10:&lt;br /&gt;PORT   STATE SERVICE&lt;br /&gt;22/tcp open  ssh&lt;br /&gt;&lt;br /&gt;Nmap done: 1 IP address (1 host up) scanned in 5.69 seconds&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(153, 153, 153);font-size:85%;" &gt;----------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I am OPEN! If you can realize the gravity of the results so far, I can go further explaining the network you're inside.&lt;br /&gt;&lt;br /&gt;On the basic layer is a Hall which is connected to a Server( often called Server Room as you all know it ). This server, rather a Gateway, connects to the CIC Network Shells( at CIC ), and there's where they put the port throttling etc! But I don't know why is it that they've put it for some of the halls.&lt;br /&gt;What I can suspect is that, maybe somehow, by redirecting the port 22 traffic to some open m/c and then bouncing off requests from that machine, you can be helped out of this port 22 menace. So if the people at the server room are intelligent enough, you're in God's hands I guess :).&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-937713916310516286?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/937713916310516286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/07/ssh-port-blocking-and-cse-xeon-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/937713916310516286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/937713916310516286'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/07/ssh-port-blocking-and-cse-xeon-server.html' title='SSH Port Blocking and CSE-Xeon server Tragedy'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-4279655125530882079</id><published>2009-07-19T12:22:00.000-07:00</published><updated>2009-07-19T12:45:57.934-07:00</updated><title type='text'>Let's Fly, Cut and Run a Kite with the Kite Runner!</title><content type='html'>It has been quite a fascinating experience to read the Debut novel of yet another Asian writing prodigy, Khalid Hosseini! The book as we all know, "Kite Runner". It would perhaps be the end of reading spree I have witnessed recently, and now that my breath has become solid and heavy looking at the Semester Performance, I better get some "real books" to read :P&lt;br /&gt;&lt;br /&gt;Emotions have always been like a flowing river, uncomprehensible, unstoppable... the style the book's written is no big exception to the fact! I would perhaps go on to comment that, this book is more of an emotion-- cascading like a waterfall --which takes you into a world unknown and unplundered.&lt;br /&gt;&lt;br /&gt;With a free flowing hand, and frightful bursts of exemplary imagery, dictionary has been on toes to keep pace with Hosseini's ink. A story truly heart-throbbing and exceptionally serene, takes one into a world few have witnessed. The writer is a small child of  "Baba" living in some posh locality of Afghanistan. He and Hasan( their Servant's child ) become the best of friends sharing all possible curves of life, TILL, Amir( the writer ) betrays Hasan and they split.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_lypISW8dea4/SmN3Oef46qI/AAAAAAAAAHM/Qw_RXWqL3yM/s1600-h/Kite+runner.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 260px; height: 400px;" src="http://3.bp.blogspot.com/_lypISW8dea4/SmN3Oef46qI/AAAAAAAAAHM/Qw_RXWqL3yM/s400/Kite+runner.jpg" alt="" id="BLOGGER_PHOTO_ID_5360259072089713314" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Amir moves to America with Baba and the story proceeds with how he fights his conscience, which had made him inert to concepts of  "Loyalty", "Truce" and "Countrymanship". He returns to Afghanistan, only to discover what his Vanity had hid from him when he was once a child. Without detailing further-- and hence popping the plot --I would recommend you reading this book.&lt;br /&gt;&lt;br /&gt;Have a look at the summary for reference:  http://www.wikisummaries.org/The_Kite_Runner&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-4279655125530882079?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/4279655125530882079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/07/lets-fly-cut-and-run-kite-with-kite.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/4279655125530882079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/4279655125530882079'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/07/lets-fly-cut-and-run-kite-with-kite.html' title='Let&apos;s Fly, Cut and Run a Kite with the Kite Runner!'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_lypISW8dea4/SmN3Oef46qI/AAAAAAAAAHM/Qw_RXWqL3yM/s72-c/Kite+runner.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-4317964254535406322</id><published>2009-07-12T08:11:00.000-07:00</published><updated>2009-07-12T08:39:36.643-07:00</updated><title type='text'>1984 by George Orwell -- Devastatingly Serene !</title><content type='html'>Recently I laid my hands upon the much celebrated Dystopian Novel in English literature, 1984 by George Orwell. This book written in 1949( The exact details can be wikied out ) has been a relevance even after a Golden Jubilee! There are loads of reviews you could find on the internet, but I feel redundancy has always been a feature of this Webbified world !&lt;br /&gt;&lt;br /&gt;Starting off with the genre this book belongs to -- Dystopian, Violent, Sexual and Aggressive -- truly exhilarating! Dystopian Literature is that form of thinking which is restricted to a Policy and Doctrine, the vision of a society in which conditions of life are miserable and characterized by poverty.&lt;br /&gt;&lt;br /&gt;And hence the elements of Violence, Sexual Obscenity and Aggression can hardly be left out. At first the idea that:&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_lypISW8dea4/SloDesFANwI/AAAAAAAAAHE/DyurXZjvTGg/s1600-h/1984-2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 345px; height: 400px;" src="http://3.bp.blogspot.com/_lypISW8dea4/SloDesFANwI/AAAAAAAAAHE/DyurXZjvTGg/s400/1984-2.jpg" alt="" id="BLOGGER_PHOTO_ID_5357598532473730818" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;WAR IS PEACE,&lt;br /&gt;FREEDOM IS SLAVERY,&lt;br /&gt;IGNORANCE IS STRENGTH!&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;Would make you fretted. Same was with me, though it is easy to swallow the fact that our ancestors could be "stupid" enough to believe in the above non-sense! But after I read the book and the views put forward by Goerge via our Narrator -- Winston Smith, you are made to rethink, with terms like "doublethink", "thoughtcrime", "crimestop"... a whole new train of thoughts tramp through!&lt;br /&gt;&lt;br /&gt;Here's my favourite pick of thought: The author justifies pretty effortlessly that War is indeed peace, and here's how.&lt;br /&gt;&lt;br /&gt;War has been a way for communities and rulers to impose their power and expand territory. But it has been a nature of law, until now, that one war gave rise to another, one conqueror to other. No one thought of ruling the world, FOREVER. The thought never came as they knew they were mortal, one day they had to give way to thier hiers who could be least potent of taking the legacy forward. But the "Party" which rules "Oceania" -- the piece of land on which our Narator is a part -- has different plans. They redefine war from roots, changing the very behaviour, meaning and purpose!&lt;br /&gt;&lt;br /&gt;All that party wants is Power, immense power, a power which gives rise to power! They have a head in the form of Big Brother, whose very existence is doubtful. But one thing that is fixed is the "Party"! No person exist independently, and party shall rule forever as it is immortal. For them the greatest reason for "revolutions" in the past have been the Human Emotions, their heart and ability to think have overthrown empires to dust. The plan is simple, keep them in tight control. How to do it ? Eat up all the resources, drain them emotionally, make sex taboo, beat them, kill them, mercilessly! Monitor them day and night -- Thought Police they call it.&lt;br /&gt;&lt;br /&gt;War is just a way to keep the resources busy, away from the reach of common man! What they want is not the betterment of people but more POWER. The wars have never been targetted to overthrow rivals, they hardly happen anywhere other than frontiers. Even the frontiers are ill defined. No major power tries to invade into other's territory... war is a convinient way to divert excess -- rather vital -- resources to wastelands!&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_lypISW8dea4/SloDYFJtVyI/AAAAAAAAAG0/NYRHxt5X4Oo/s1600-h/1984-1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 240px; height: 400px;" src="http://2.bp.blogspot.com/_lypISW8dea4/SloDYFJtVyI/AAAAAAAAAG0/NYRHxt5X4Oo/s400/1984-1.jpg" alt="" id="BLOGGER_PHOTO_ID_5357598418945267490" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;Party feels that man can either be free, freedom in terms of intellectual and mental, or happy. Both things don't go hand in hand. It is easy to imagine, happiness is what they give! People are starving, dying, ailing of epidemics, but they are happy -- because the "Party" is their saviour!&lt;br /&gt;&lt;br /&gt;I can go on and on with the doctrines of the "Party" and the ways in which Ocieana was controlled. But you would rather get your own hands dirty with the fantastic and heretic novel it is!&lt;br /&gt;&lt;br /&gt;Happy Reading&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-4317964254535406322?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/4317964254535406322/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/07/1984-by-george-orwell-devastatingly.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/4317964254535406322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/4317964254535406322'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/07/1984-by-george-orwell-devastatingly.html' title='1984 by George Orwell -- Devastatingly Serene !'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_lypISW8dea4/SloDesFANwI/AAAAAAAAAHE/DyurXZjvTGg/s72-c/1984-2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-7178437257385433518</id><published>2009-07-04T11:52:00.000-07:00</published><updated>2009-07-04T12:31:33.207-07:00</updated><title type='text'>Spritual and serene.... the BRIDA way!</title><content type='html'>&lt;div style="text-align: center;"&gt;"Paulo Paulo, where thou get such words to explain the inexplicable ?"&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;I am all ga-ga with Paulo Coelho's yet another Masterpiece( if I may be least appreciating ), Brida. I had already been through Alchemist, the renowned bestseller! The story is of a girl, with rather extraordinary talents to see into the meta-ordinary. She is in search for a Guide who could tell her about Magic, about all those questions that intrigue mortals like me!&lt;br /&gt;&lt;br /&gt;She finds a man who resides by the woods, called "Magus" and he teaches her the importance of patience, courage and the will to go on in life. She also meets "Wicca" who tells her that she's supposed to be a "Witch", one of the four ways-- the virgin, the saint, the martyr, and the witch --to realise one's mission in life!&lt;br /&gt;&lt;br /&gt;The story builds around the internal contradiction Brida faces while trying to strike a logical balance between the Visible( Mortals, earth! ) and the Invisible. Invisible here referring to Heavens where all the Wisdom resides, where we have our fathers and forefathers, where there are answers to all !&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_lypISW8dea4/Sk-nQwJq22I/AAAAAAAAAGs/DoGXjFxgMWI/s1600-h/brida-011.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 300px; height: 300px;" src="http://3.bp.blogspot.com/_lypISW8dea4/Sk-nQwJq22I/AAAAAAAAAGs/DoGXjFxgMWI/s400/brida-011.png" alt="" id="BLOGGER_PHOTO_ID_5354682388212013922" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Brida by Paulo Coelho&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;The search for spiritual peace and understanding leads her to her mission in life, to protect and pass the legacy witches had always had. She understands the true meaning of a Soulmate, which turns out to be the "Magus" in the end!&lt;br /&gt;&lt;br /&gt;Soulmate is considered by Paulo as one of the major reasons of existence of a bieng, and that his questions about life, birth and aspirations could only be answered by the spiritual search for  soulmate !&lt;br /&gt;&lt;br /&gt;I would quote some stanzas which I see to be of great inspirational help:&lt;br /&gt;&lt;br /&gt;1.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;"&lt;/span&gt; People give flowers as presents because flowers contain the true meaning of love. Anyone who tries to possess a flower will have to watch it's beauty fading. But if you simply look at the flower in a field, you will keep it forever, because the flower is a part of the evening and the sunset and the smell of damp earth and the clouds on the horizon. &lt;span style="font-size:100%;"&gt;"&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;2.&lt;br /&gt;&lt;span style="font-size:100%;"&gt;"&lt;/span&gt;Being human means having doubts and still continue on your path.&lt;span style="font-size:100%;"&gt;"&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;3.&lt;br /&gt;"&lt;/span&gt;&lt;span style="font-size:100%;"&gt;And it taught me something else that I'll never forget: finding one important thing in your life dosen't mean you have to give up all the other important things&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:100%;"&gt;"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;There is one thing that people reading this review should take with them. Paulo is a great writer when it comes to influencing people with his sheer superiority of his thoughts, though if you are seeking for a "masala" flick with all those treacherous turns, better not disappoint yourself by taking this work of art! His books can be a rather boor when it comes to keeping the plot, but you need to lookout for those marvellous quotes as some I have posted!&lt;br /&gt;&lt;br /&gt;For the record, it indeed is a good read.... go for it :-)!&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-7178437257385433518?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/7178437257385433518/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/07/spritual-and-serene-brida-way.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/7178437257385433518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/7178437257385433518'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/07/spritual-and-serene-brida-way.html' title='Spritual and serene.... the BRIDA way!'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_lypISW8dea4/Sk-nQwJq22I/AAAAAAAAAGs/DoGXjFxgMWI/s72-c/brida-011.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-3491186462849138694</id><published>2009-06-26T20:38:00.001-07:00</published><updated>2009-06-26T21:39:54.360-07:00</updated><title type='text'>Literature Gallore!</title><content type='html'>Though there is a lot I would like to share on this blog, I have a feeling that Blogs are not meant to pour yourself on nitty grity of your micro activities :D! I have been upto some work off late, notably amongst it would be working on the XMPP protocol and reading some of the Classical Literature. In the spree should be mentioned a couple of books which I have recently annhilated to my heart's content, 'The Alchemist by Paulo Coelho' and 'The Paths of Glory by Jeffrey Archer'. Let's have a miniature review of the books!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Alchemist by Paulo Coelho&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_lypISW8dea4/SkWVgVqTfOI/AAAAAAAAAGU/oklbMEjD1KU/s1600-h/Alchemist.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 258px; height: 400px;" src="http://4.bp.blogspot.com/_lypISW8dea4/SkWVgVqTfOI/AAAAAAAAAGU/oklbMEjD1KU/s400/Alchemist.jpg" alt="" id="BLOGGER_PHOTO_ID_5351848115002637538" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;This is one state-of-art that made me believe of the capabilities of Literature! I assume that most of you have heard about the book, if not had an eye at this gleaning masterpiece. Religion has always been a dilemma for workaholics and dumbs of my kind[;)]. I have often wondered if those who boister about God, Religion, and Worship would hardly consider the importance of work and ONLY work! I was of the belief-- though not adamant --that work should always precede any other preference AS Work is Worship! But what this book has done is to successfully strike a bewildering concordance between Religion-- in forms of Omens --and ambitions! It is a manifestation of Rituals that one might consider outdated and passe, that have been converted to a substance acceptable by the contemporary society! Paulo Coelho has always been a Religious authority, but the way he has manifested himself into the recent flow of society changes, is not at all an 'ordinary' feat!&lt;br /&gt;&lt;br /&gt;I am awestruck by the concordane the book has been able to synchronize with me, and would recommend it  to all who wish to find the existence of Almighty amongst their Hectic Schedule.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Paths of Glory By Jeffrey Archer&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_lypISW8dea4/SkWZDMCBQEI/AAAAAAAAAGc/34_8dEfPTWM/s1600-h/Paths-of-glory.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 260px; height: 400px;" src="http://1.bp.blogspot.com/_lypISW8dea4/SkWZDMCBQEI/AAAAAAAAAGc/34_8dEfPTWM/s400/Paths-of-glory.jpg" alt="" id="BLOGGER_PHOTO_ID_5351852012248055874" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It is said that the book is a real story, but who'll be amused to read my story ? Huh! C'mon every person on this damn world has his own tale to tell, but writting it down 'just' for the sake of it makes no sense! I hail Jeffrey Archer for the exhilarating display of gleaning bright English, sometimes makes me feel inferior to the richness of language! Indeed the intricate display of words has even kept the Dictionary on it toes! With a myriad display of plethoral diversity, I won't be bemused to see a few guys leave any hope from this book :D!&lt;br /&gt;&lt;br /&gt;Though the screenplay has been perfect, I am afraid that the content has rahter blemished the Publication as a whole. The subtitle for the book, "THIS IS THE STORY OF A MAN WHO LOVED TWO WOMEN, AND ONE OF THEM KILLED HIM'. is pretty apt, as you would find out after reading it, but the pace is rather slow, there's no plot or anything of the like .&lt;br /&gt;&lt;br /&gt;The story is of a man, a prodigy at mountaineering and first class Alpinist. First he climbs the walls of his college then the Alps of Europe , then the Eiffel Tower and finally set out to conquer the Leaning Lady, none other than 'Mt(Ms) Everest'. The author has impressingly described Everest as the 'Virgin still in slumber, waiting to be ripped through'.&lt;br /&gt;&lt;br /&gt;And the other woman is-- pretty obviously --his wife Ruth, who has to muster the pain to live for months w/o him, and finally loses him in front of the more deserving candidate, Her Majesty, Her Highness -- Lady Everest!&lt;br /&gt;&lt;br /&gt;The book has a flat paced attire though it talks of bumps and rides through the treacherous valleys and peaks, it is a bit disappointing though it promises a bit more :(!&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;"""Hope you got my part of story, I would love to hear from what you felt about the books.&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;"""&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-3491186462849138694?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/3491186462849138694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/06/literature-gallore.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/3491186462849138694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/3491186462849138694'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/06/literature-gallore.html' title='Literature Gallore!'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_lypISW8dea4/SkWVgVqTfOI/AAAAAAAAAGU/oklbMEjD1KU/s72-c/Alchemist.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-4828060468379312186</id><published>2009-06-07T23:34:00.000-07:00</published><updated>2009-06-08T08:47:24.577-07:00</updated><title type='text'>BSNL Broadband FTP Connectivity!</title><content type='html'>Bsnl is the 'de-facto' standard for most Broadband using homes, specially in my area. Known for it's cool speeds, abridged connectivity and easy availability from Bsnl landline makes it a very easy and optimum option for most junta.&lt;br /&gt;&lt;br /&gt;Recently I was fiddling with the router/modem that the Bsnl guys supply with their Connection. It was pretty interesting to note that you have the option to allow access to some ports like FTP( 21 ), Telnet( 23 ) and even port forwarding.&lt;br /&gt;&lt;br /&gt;I dont know if people have tried this thing but I was able to make my computer visible to the internet by a mix of Port Forwarding and Opening the FTP port for access. This guide shall take you through a detour as to how you can be in touch of your Desktop PC connected via a Bsnl Router/Modem anywhere in the world ;).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Know My IP&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;First thing to note about Bsnl connection is that your global IP( IP of the modem ) is Dynamically assigned by the Bsnl guys. This is helpful in using a smaller range of IP's to serve to a large number of users. Suppose Bsnl serves 1000 connections, but only 500 are online at a given time. If it uses Static IP's then it has to purchase 1000 such IP's! But if it assigns them Dynamically then only 500 shall do... reducing the production cost by 50 % ;)&lt;br /&gt;&lt;br /&gt;So in order to access your computer through any Internet m/c you need to know your IP at that given instant. Hmm, I dont know a fixed way to do this, but if ur computer remains on for a particular session... the IP cannot change during that time! You can use www.knowmyip.com for the current session IP.&lt;br /&gt;&lt;br /&gt;Typical Results&lt;br /&gt;---------------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;span style="font-family:Tahoma;"&gt;Your ip is:&lt;span style="color: rgb(51, 102, 255);"&gt;&lt;b&gt; 59.95.178.126&lt;/b&gt;&lt;/span&gt;    &lt;br /&gt;Your hostname is:&lt;span style="color: rgb(50, 119, 255);"&gt;&lt;b&gt; 59.95.178.126&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;---------------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Hence your IP is the above value! Bsnl has two typical ranges,  this is the old modem/router range.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Locally Static IP&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;The computer which you use to connect to internet is inside the router's network, this is called subnetting whereby a group of computers connect to a common gateway for their internet requests! You can have a good overview here, rather DO HAVE  A VIEW AT THIS: http://www.portforward.com/help/portforwarding.htm&lt;br /&gt;&lt;br /&gt;You might skip the part from Port Forwarding but the rest is essential for understanding. Your task is to assign a Staic IP to your computer. Then you need to set your computer to a Static IP by the following: http://www.portforward.com/networking/static-xp.htm&lt;br /&gt;&lt;br /&gt;For linux do the following:&lt;br /&gt;&lt;br /&gt;1. $/sbin/ifconfig -- Note the information corresponding to the Internet Connection&lt;br /&gt;2. vim /etc/network/interfaces&lt;br /&gt;&lt;br /&gt;In the interfaces file locate the Ethernet number corresponding to the Internet connection, if it is presently on dhcp the entry will be like:&lt;br /&gt;&lt;br /&gt;iface eth0(1) inet dhcp&lt;br /&gt;&lt;br /&gt;In this case change this Dynamic Allocation to Staic by:&lt;br /&gt;&lt;br /&gt;iface eth0(1) inet static&lt;br /&gt;address &lt;as noted="" in="" sbin="" ifconfig=""&gt;&lt;br /&gt;netmask &lt;as noted=""&gt;&lt;br /&gt;gateway &lt;as noted=""&gt;&lt;br /&gt;&lt;br /&gt;And restart networking by:&lt;br /&gt;&lt;br /&gt;$/etc/init.d/networking restart&lt;br /&gt;&lt;br /&gt;This will give you the Static IP required for the purpose!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Open the FTP/TELNET Ports on Router&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The router by default will reject all incoming information that is not a reply to some query by you. But in case you want to access the computer from a remote place you need to tell the router to allow specific port to be open for access. In my router the following page is helpful, it's a bsnl router so log in by putting this in the browser address bar:&lt;br /&gt;&lt;br /&gt;http://192.168.1.1/&lt;br /&gt;&lt;br /&gt;Use admin:admin as the uname:pass, if you have urself changed it earlier use that pair instead!&lt;br /&gt;&lt;br /&gt;Following pics are for UT300R2U Modem.&lt;br /&gt;&lt;br /&gt;&lt;/as&gt;&lt;/as&gt;&lt;/as&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_lypISW8dea4/SizHKOcv81I/AAAAAAAAAFw/4430vZAJ4IA/s1600-h/UT-300R2U2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 288px;" src="http://2.bp.blogspot.com/_lypISW8dea4/SizHKOcv81I/AAAAAAAAAFw/4430vZAJ4IA/s400/UT-300R2U2.jpg" alt="" id="BLOGGER_PHOTO_ID_5344865836273234770" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_lypISW8dea4/SizHQzDz7JI/AAAAAAAAAF4/2rCXVRvPqE8/s1600-h/port-allow.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 300px;" src="http://1.bp.blogspot.com/_lypISW8dea4/SizHQzDz7JI/AAAAAAAAAF4/2rCXVRvPqE8/s400/port-allow.jpg" alt="" id="BLOGGER_PHOTO_ID_5344865949179964562" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;As you can see that the common services are blocked in here! If you have a page similar to this try unblocking the FTP/Telnet services so as to allow access from outside! This might be just a precautionary measure so that we do not get locked from router itself!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Port Forwarding&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Follow the instructions from http://www.portforward.com/english/routers/port_forwarding/routerindex.htm for your specific router! Remember we will be doing a FTP login... hence forward the port 21 for now. Also allow all ports from outside to connect to your FTP port!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Setting Up the FTP&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;There are many lot Operating Systems and also solutions for a FTP server, my personal choice is vsftpd which is a lighweight FTP server for Linuxes, in case of  Windows, try scratching the market for an appropriate solution :).&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;You need to configure your FTP server according to your own needs, generally you would like to keep anonymous login DENIED so that only authorized personnel( generally only YOU ) may access the resources! I would not go into the working of FTP server as it is not a part of this scope.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Testing the FTP&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For testing the FTP there are two ways, one from your own computer or a computer inside the LAN of the router/modem and other is from an external network. The better of the two is to use the external network, but then you'll have to find a patient person to give instructions :P.&lt;br /&gt;&lt;br /&gt;From within the computer&lt;br /&gt;&lt;br /&gt;Ftp into the local computer set for port forwarding&lt;br /&gt;--------------------------------------------------------------------------------------------------------&lt;br /&gt;$ftp 192.168.1.4&lt;br /&gt;Connected to 192.168.1.4.&lt;br /&gt;220 (vsFTPd 2.0.7)&lt;br /&gt;Name (192.168.1.4:sanket): sanket&lt;br /&gt;331 Please specify the password.&lt;br /&gt;Password:&lt;br /&gt;230 Login successful.&lt;br /&gt;Remote system type is UNIX.&lt;br /&gt;Using binary mode to transfer files.&lt;br /&gt;ftp&gt;&lt;br /&gt;--------------------------------------------------------------------------------------------------------&lt;br /&gt;This output shows that your system is accepting FTP connections from local network.&lt;br /&gt;Try to retrieve files,&lt;br /&gt;--------------------------------------------------------------------------------------------------------&lt;br /&gt;ftp&gt; ls&lt;br /&gt;200 PORT command successful. Consider using PASV.&lt;br /&gt;150 Here comes the directory listing.&lt;br /&gt;drwxr-xr-x    2 1000     1000         4096 Jun 05 06:08 Desktop&lt;br /&gt;&lt;...&gt;&lt;br /&gt;drwxr-xr-x   24 1000     1000         4096 May 18 07:47 netbeans-6.5.1&lt;br /&gt;-rw-r--r--    1 1000     1000           11 May 19 19:17&lt;br /&gt;&lt;...&gt;&lt;br /&gt;226 Directory send OK.&lt;br /&gt;ftp&gt; get output&lt;br /&gt;local: output remote: output&lt;br /&gt;200 PORT command successful. Consider using PASV.&lt;br /&gt;150 Opening BINARY mode data connection for output (11 bytes).&lt;br /&gt;226 File send OK.&lt;br /&gt;11 bytes received in 0.01 secs (1.3 kB/s)&lt;br /&gt;ftp&gt;&lt;br /&gt;------------------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;The file is saved to the folder from where u executed the FTP command!&lt;br /&gt;&lt;br /&gt;Testing from external network is more essential!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Testing from External Network&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Testing from external network shall require a external computer, maybe some friend who's willing to help you out. The procedure is pretty simple...&lt;br /&gt;&lt;br /&gt;Get the external IP of your Router/Modem from http://www.knowmyip.com/&lt;br /&gt;Tell ur friend to log into the system by,&lt;br /&gt;$ftp &lt;your external="" ip=""&gt;&lt;br /&gt;&lt;br /&gt;Rest checks are same as for an internal network!&lt;br /&gt;&lt;br /&gt;Here are some snippets of my friend accessing my system from outside the network :)&lt;br /&gt;&lt;br /&gt;&lt;/your&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_lypISW8dea4/Si0x4uMmhaI/AAAAAAAAAGA/pDip3Gplqew/s1600-h/Untitled3.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 250px;" src="http://4.bp.blogspot.com/_lypISW8dea4/Si0x4uMmhaI/AAAAAAAAAGA/pDip3Gplqew/s400/Untitled3.jpg" alt="" id="BLOGGER_PHOTO_ID_5344983183301969314" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;Note that here while pasting file it gave 550 error! That is because my FTP server was set up so, please make sure your FTP settings are cool enough!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_lypISW8dea4/Si0x-_SFFNI/AAAAAAAAAGI/HTzxnkpiWAo/s1600-h/Untitled6.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 250px;" src="http://4.bp.blogspot.com/_lypISW8dea4/Si0x-_SFFNI/AAAAAAAAAGI/HTzxnkpiWAo/s400/Untitled6.jpg" alt="" id="BLOGGER_PHOTO_ID_5344983290967561426" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;your external="" ip=""&gt;Saurav using FireFtp to do FTP transactions&lt;br /&gt;&lt;/your&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-4828060468379312186?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/4828060468379312186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/06/bsnl-broadband-ftp-connectivity.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/4828060468379312186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/4828060468379312186'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/06/bsnl-broadband-ftp-connectivity.html' title='BSNL Broadband FTP Connectivity!'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_lypISW8dea4/SizHKOcv81I/AAAAAAAAAFw/4430vZAJ4IA/s72-c/UT-300R2U2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-4306893109367331176</id><published>2009-05-30T09:25:00.000-07:00</published><updated>2009-05-30T23:48:28.183-07:00</updated><title type='text'>Mailman - Python powered mailing list manager</title><content type='html'>This post can be entertained by people who are list administrators wanting to add Custom Handlers to their mailing lists or audience  to learn what Mailman is all about.&lt;br /&gt;&lt;br /&gt;First I would like to congratulate all the people at GNU for churning out such useful *and* free softwares( read Free Software Foundation ). Hats off to Stallman for the phenomenon called GNU and FSF!&lt;br /&gt;&lt;br /&gt;So what is Mailman all about, it's a mailing list manager... something very similar to a google group. When you start a google group you get an account where you may make changes, moderate and do stuff... but you have a limit to customization! The more common and professional way to manage mailing lists is to use Mailman ( or other mailling list managers )! My version of setting up the server was a complicated one though... it included the following steps:&lt;br /&gt;&lt;br /&gt;1. Deploying a Mail Transfer Agent Locally, i used Postfix, other choices- Exim, Sendmail&lt;br /&gt;2. Installing mailman on the same server, there are lot of permission issues.... be really aware of them :D&lt;br /&gt;3. Testing the server and the mailman installation, if everything is right do next!&lt;br /&gt;4. Customizing the installation with Filters you would like to have, Mailman has an easy interface to write plugins in Python&lt;br /&gt;5. Getting a Global Domain so that servers like google, yahoo can connect to me on port 25( SMTP )&lt;br /&gt;6. Initializing lists and populating members through the Web Interface( the coolest part ;) )&lt;br /&gt;&lt;br /&gt;I'll take up step 4 for you guys.... rest steps require more of installing capability and negotiating it out with your ISP to grant you a DNS entry :D ( our side ISP's are cool enough ;) ).&lt;br /&gt;&lt;br /&gt;The architecture of Mailman has a feature called pipeline, if you lookout for the file Defaults.py in mailman/Mailman/Defaults.py somewhere in /usr/lib or /var/lib or /usr/local/lib. There is a setting variable called GLOBAL_PIPELINE. This is a generic setting of the process a Mail has to go through. Though there can be exceptions for lists or mails directly to the Admin. You just need to place your own Handler in some suitable place. No, no dont edit the Defaults file, do this rather:&lt;br /&gt;&lt;br /&gt;in mm_cfg.py add:&lt;br /&gt;GLOBAL_PIPELINE.insert(GLOBAL_PIPELINE.index('Hold'), 'MyContentHandler')&lt;br /&gt;&lt;br /&gt;This adds a handler called MyContentHandler.py BEFORE hold. The corresponding file should be pasted in Mailman/Handlers/ folder.&lt;br /&gt;&lt;br /&gt;[Remember whenver you make a change to the MyContentHandler.py file reload mailman, the workaround could be to compile it locally... do as you wish!]&lt;br /&gt;&lt;br /&gt;I'll post the handler I wrote... :&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-size:85%;" &gt;#Author: Sanket Agarwal&lt;br /&gt;#Email: sketagarwal@gmail.com&lt;br /&gt;&lt;br /&gt;"""Determines whether the content of the message that has been passed to mailman conttains any 'restricted' words!"""&lt;br /&gt;&lt;br /&gt;#All imports taken from Hold.py&lt;br /&gt;#TODO:Eliminate the non necessary ones&lt;br /&gt;import email&lt;br /&gt;import Hold&lt;br /&gt;from email.MIMEText import MIMEText&lt;br /&gt;from email.MIMEMessage import MIMEMessage&lt;br /&gt;import email.Utils&lt;br /&gt;from types import ClassType&lt;br /&gt;import re&lt;br /&gt;&lt;br /&gt;from Mailman import mm_cfg&lt;br /&gt;from Mailman import Utils&lt;br /&gt;from Mailman import Errors&lt;br /&gt;from Mailman import Message&lt;br /&gt;from Mailman import i18n&lt;br /&gt;from Mailman import Pending&lt;br /&gt;from Mailman.Logging.Syslog import syslog&lt;br /&gt;&lt;br /&gt;# First, play footsie with _ so that the following are marked as translated,&lt;br /&gt;# but aren't actually translated until we need the text later on.&lt;br /&gt;def _(s):&lt;br /&gt;return s&lt;br /&gt;&lt;br /&gt;#The custom error class&lt;br /&gt;class ForbiddenContent(Errors.HoldMessage):&lt;br /&gt;"""This class defines our custom error for filtered content"""&lt;br /&gt;reason = _('The content posted was caught in the filters!')&lt;br /&gt;rejection = _('This message cannot be accepted.')&lt;br /&gt;&lt;br /&gt;# And reset the translator&lt;br /&gt;_ = i18n._&lt;br /&gt;&lt;br /&gt;#The malicious content filter&lt;br /&gt;&lt;br /&gt;def is_illegal(thread_text):&lt;br /&gt;    """ This function Returns a true if it finds a piece of illegal/illicit content in the message text, the whole thread has to be parsed unfortunately, as the sender can easily modify the message in case we neglect the history of the thread """&lt;br /&gt;&lt;br /&gt;find_match = re.match('\w*bad_word\w*',str(thread_text))&lt;br /&gt;    if find_match == None:&lt;br /&gt;            return True  #Content is cool enough&lt;br /&gt;    else:&lt;br /&gt;            return False #Restricted content found&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;def process(mlist, msg, msgdata):&lt;br /&gt;    #Experimentation period!&lt;br /&gt;    thread_text = email.message.Message.get_payload(msg)[0]&lt;br /&gt;    if( is_illegal(thread_text) ):&lt;br /&gt;            raise Errors.RejectMessage, "Your messaage was perhaps marked as containing some restriced content... such strikes might ban you from the list! \n -Sanket \n List Admin"&lt;br /&gt;            Hold.hold_for_approval(mlist,msg,msgdata,ForbiddenContent)&lt;br /&gt;    else:&lt;br /&gt;           pass&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Pretty cool huh ?&lt;br /&gt;&lt;br /&gt;You can have a pigmented version at my website.... http://maillist-cse.iitkgp.ernet.in/kgp/cab/4/&lt;br /&gt;&lt;br /&gt;So referring to the pigmented version lemme take you through the code:&lt;br /&gt;&lt;br /&gt;Ln: 1-2 , Thank you guys :D&lt;br /&gt;Ln: 6-22: Pretty much from the Hold.py, I had to hold the messages that were caught... so that's why Hold.py&lt;br /&gt;Ln: 40-58: This is the logic which checks if the message text contains bad content... using regular expressions is the best bet! Have a look at the python re docs for details.&lt;br /&gt;Ln: 30-33: Extends the Errors.HoldMessage, a hold of message means that the message will go for moderation!&lt;br /&gt;Ln: 50:  A must have method, every handler has it... so should you!&lt;br /&gt;Ln: 52: Extracts the text part of the message, look for Pyhton email.message Docs for details&lt;br /&gt;Ln: 54: Here you go! The message shall go to the list-owner for further approval!&lt;br /&gt;&lt;br /&gt;I liked this plugin thing because it makes all the more sense to make my filters only for Mailman or for that reason, the script might be restricted to a particular mailing list( I'll give the link... keep reading ). U might not have the server write privelages to properly setup a SpamAssasin or some other mail filter, but when you've got the Power of Python and Source of Mailman. Go here for a more technically sound version... but you wont find the code newhere else ;)&lt;br /&gt;&lt;br /&gt;http://wiki.list.org/pages/viewpage.action?pageId=4030615&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span style="color: rgb(255, 0, 0);font-size:85%;" &gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;"""May the source be with you"""&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-size:85%;" &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-4306893109367331176?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/4306893109367331176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/05/mailman-python-powered-mailing-list.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/4306893109367331176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/4306893109367331176'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/05/mailman-python-powered-mailing-list.html' title='Mailman - Python powered mailing list manager'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-6985423039028798632</id><published>2009-05-29T11:51:00.000-07:00</published><updated>2009-05-29T12:48:28.027-07:00</updated><title type='text'>Mixed Bag</title><content type='html'>This is what happens when you think too much for the title of your post... you end up with such a gross one, "Mixed bad", eh?&lt;br /&gt;&lt;br /&gt;But as I always talk about what I've done in the last few days or weeks, perhaps a fortnight... this time I really have some mixed stuff in store.&lt;br /&gt;&lt;br /&gt;West Bengal.... the first thing that might come to your mind is Mr Karat, who lost the battleground to the Gandhi Family but what comes to my mind is not the Communist but something way more dreadful, something which you can't escape... not even in your sweetest of sleeps[non wet ;)], a nightmare and day killer.... the HUMIDITY!!!!&lt;br /&gt;&lt;br /&gt;When you've got a 90-95% average humidity and rainfalls which do no good for just over an hour of their vicinity, life's real tough. But as you might have heard, Aila Cyclone hit West Bengal ... though it didnt cause any regretable damage... trails are still visible, and roads say it all... here are some pics of the same:-&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_lypISW8dea4/SiAwoySzi9I/AAAAAAAAAFY/kEpIUK-8qUE/s1600-h/DSC00429.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 300px;" src="http://1.bp.blogspot.com/_lypISW8dea4/SiAwoySzi9I/AAAAAAAAAFY/kEpIUK-8qUE/s400/DSC00429.JPG" alt="" id="BLOGGER_PHOTO_ID_5341322635314957266" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Just outside my hall, RK Hall of Residence&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_lypISW8dea4/SiAwyVpqK1I/AAAAAAAAAFg/TOsz4fux1wU/s1600-h/DSC00432.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 300px;" src="http://2.bp.blogspot.com/_lypISW8dea4/SiAwyVpqK1I/AAAAAAAAAFg/TOsz4fux1wU/s400/DSC00432.JPG" alt="" id="BLOGGER_PHOTO_ID_5341322799424875346" border="0" /&gt;&lt;/a&gt;Water cluttering the ground... things were much worse in night&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_lypISW8dea4/SiAwzG9f8aI/AAAAAAAAAFo/owApujygplQ/s1600-h/DSC00433.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 300px;" src="http://2.bp.blogspot.com/_lypISW8dea4/SiAwzG9f8aI/AAAAAAAAAFo/owApujygplQ/s400/DSC00433.JPG" alt="" id="BLOGGER_PHOTO_ID_5341322812661428642" border="0" /&gt;&lt;/a&gt;One of the "not so common" areas of the campus!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;The trails of the monster are visible, but as the campus is fairly scarcely populated nowadays, the aftermath was not a big deal to handle :D.&lt;br /&gt;&lt;br /&gt;But things in life are more important than L[Aila], and I being a fraction of workaholic did some progress in terms of my present works.&lt;br /&gt;&lt;br /&gt;If you followed my posts... I am presently working on setting a mailserver, a webserver and a NLP project.&lt;br /&gt;&lt;br /&gt;Well today I am going to discuss a bit about how domains are maintained, which is of direct consequence to mail/web or any sort of networking!&lt;br /&gt;&lt;br /&gt;Consider the familiar www.google.com, www.yahoo.com or the less familiar like, cse.mit.edu.&lt;br /&gt;Whatever I've written above are common in terms of regular use... but the concepts which make them theoretically consistent are pretty interesting.&lt;br /&gt;&lt;br /&gt;So we know that when we give a address in Firefox it translates them to IP addresses.... if you didnt now you know.... :). Every human readable URL( Universal Resuource Locater ) converts to the computer format of xxx.xxx.xxx.xxx eg: 203.9.8.17 or 77.45.32.22 etc. I use the tool called 'nslookup' to do such queries... lemme take you through some output:&lt;br /&gt;&lt;br /&gt;###############################################&lt;br /&gt;www.google.com    canonical name = www.l.google.com.&lt;br /&gt;Name:    www.l.google.com&lt;br /&gt;Address: 209.85.153.104&lt;br /&gt;###############################################&lt;br /&gt;Name:    google.com&lt;br /&gt;Address: 209.85.171.100&lt;br /&gt;Name:    google.com&lt;br /&gt;Address: 74.125.45.100&lt;br /&gt;Name:    google.com&lt;br /&gt;Address: 74.125.67.100&lt;br /&gt;###############################################&lt;br /&gt;Name:    gmail.com&lt;br /&gt;Address: 64.233.161.83&lt;br /&gt;Name:    gmail.com&lt;br /&gt;Address: 74.125.79.83&lt;br /&gt;Name:    gmail.com&lt;br /&gt;Address: 209.85.171.83&lt;br /&gt;################################################&lt;br /&gt;mail.google.com    canonical name = googlemail.l.google.com.&lt;br /&gt;Name:    googlemail.l.google.com&lt;br /&gt;Address: 209.85.153.83&lt;br /&gt;#################################################&lt;br /&gt;&lt;br /&gt;So I made four IP addr lookups... www.google.com, google.com, mail.google.com, gmail.com&lt;br /&gt;&lt;br /&gt;For a n00b, www.google.com and google.com are the same... aren't they... they dont make a diff when put in a browser ;). So are mail.google.com and gmail.com!&lt;br /&gt;&lt;br /&gt;But in fact the above results show that something peculiar is going on!&lt;br /&gt;&lt;br /&gt;This is what actually happens for finding the ultimate IP address corresponding web addr. Suppose I put cse.iitkgp.ernet.in and try to find the IP address... my computer will contact the "in" Domain Name Server which will have all entries which end with .in. Eg: ernet.in, gov.in etc.&lt;br /&gt;&lt;br /&gt;As our target URL has a ernet.in we'll get the IP address of the ernet.in domain.&lt;br /&gt;###########################################&lt;br /&gt;Non-authoritative answer:&lt;br /&gt;Name:    ernet.in&lt;br /&gt;Address: 202.41.97.64&lt;br /&gt;###########################################&lt;br /&gt;&lt;br /&gt;The DNS( Domain Name Server ) of ernet.in will have all entries of URL's which end in ernet.in.. eg: iitkgp.ernet.in BUT NOT cse.iitkgp.ernet.in because it is two domains deeper!&lt;br /&gt;&lt;br /&gt;So we goto: iitkgp.ernet.in&lt;br /&gt;&lt;br /&gt;###########################################&lt;br /&gt;Name:    iitkgp.ernet.in&lt;br /&gt;Address: 144.16.192.55&lt;br /&gt;###########################################&lt;br /&gt;&lt;br /&gt;Then we'll goto cse.iitkgp.ernet.in&lt;br /&gt;&lt;br /&gt;###########################################&lt;br /&gt;Name:    cse.iitkgp.ernet.in&lt;br /&gt;Address: 144.16.192.57&lt;br /&gt;###########################################&lt;br /&gt;&lt;br /&gt;This is the order of the traversal... the IP's are just to tell that the long names are not just a conincidence... suppose you have a domain myspace.com anything preceding it will be your domain and you'll decide who owns it or not! So a URL like user1.myspace.com will be owned by myspace.com, and user11.user1.myspace.com by user1... if user1 has bought the full domain( there are some caveats here ).&lt;br /&gt;&lt;br /&gt;This explains the difference b/w google.com and www.google.com. google.com is under the DNS servers of com and www.google.com under DNS of google.com! It's not a compulsion that all sites which have a website start with www, it's just a standard... I am not sure how Firefox guesses if www is to be prepended but all that should be doing would be nothing more than mere manipulation!&lt;br /&gt;&lt;br /&gt;Like DNS translate URL's they also translate MRL's . There's a specific entry in the DNS telling who handles the mail for a particular domain... eg gmail.com :&lt;br /&gt;&lt;br /&gt;##############################################&lt;br /&gt;gmail.com    mail exchanger = 30 alt3.gmail-smtp-in.l.google.com.&lt;br /&gt;gmail.com    mail exchanger = 40 alt4.gmail-smtp-in.l.google.com.&lt;br /&gt;gmail.com    mail exchanger = 5 gmail-smtp-in.l.google.com.&lt;br /&gt;gmail.com    mail exchanger = 10 alt1.gmail-smtp-in.l.google.com.&lt;br /&gt;gmail.com    mail exchanger = 20 alt2.gmail-smtp-in.l.google.com.&lt;br /&gt;##############################################&lt;br /&gt;&lt;br /&gt;A domain might have many [M]ail [E]xchanger records to signify that if one goes down... other picks up the mantle.&lt;br /&gt;&lt;br /&gt;The above description is not by any means theoretically perfect or practically sound, but it does give an idea about how the Internet is one big database... one domain contains the information for other domains beneath it in the hierarchy! The experience of setting up a Mailserver has enlightened me about the Internet structure of my institute... and as it is one of those "restricted" and "secure" networks which is handled in a very careful manner, working my way out with the ISP was not an easy task at all... my mailinglist server is up and running... you might catch a glimpse of the web interface at:&lt;br /&gt;&lt;br /&gt;http://maillist-cse.iitkgp.ernet.in/cgi-bin/mailman/listinfo/&lt;br /&gt;&lt;br /&gt;Suggestions or accolades on mailing list, please do comment[ i am looking for a content filters, in case you have an idea]!&lt;br /&gt;&lt;br /&gt;Well the second thing on which I've been on a high is the website I've been developing with one of my "brilliant" friends... we've worked most of the stuff out... you might catch a glimpse of the&lt;br /&gt;same at:&lt;br /&gt;&lt;br /&gt;http://maillist-cse.iitkgp.ernet.in/kgp/&lt;br /&gt;&lt;br /&gt;The URL's might not work properly, but I'll fix them by time you visit the link.... do have a look :)!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-6985423039028798632?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/6985423039028798632/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/05/mixed-bag.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/6985423039028798632'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/6985423039028798632'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/05/mixed-bag.html' title='Mixed Bag'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_lypISW8dea4/SiAwoySzi9I/AAAAAAAAAFY/kEpIUK-8qUE/s72-c/DSC00429.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-549077416540733396</id><published>2009-05-16T13:02:00.000-07:00</published><updated>2009-05-16T13:15:53.855-07:00</updated><title type='text'>Knock Knock...... it's the mailman!!</title><content type='html'>If you had a brush through my last post, you would have noticed that there are a lot of things I have been doing around. Though, being practical one can easily realise that doing all of that simultaneously is, GROSS! You just can't do all of that....... if you can, then most invited to do this post!&lt;br /&gt;&lt;br /&gt;I took up setting up the Mailing list server as my first task. Lemme tell you something about what it is all about... all you guys interested abt techie talks, here we go:-&lt;br /&gt;&lt;br /&gt;Mailman is a mailing list manager, well all of you must have heard of Google Groups... where you can post common mails on different threads. Mailing list is the more generic version of Google Groups, generally a more crude and uneasy interface. Though it is much more elegent in the terms that you can have MUCH more control over the people who post, how they post, setting up spam-filters, blocking out open relays and all sort of that crap.&lt;br /&gt;&lt;br /&gt;I have done quite a bit of fiddling with this tool and have a copy of it running safe and sound on a local server. I used Postfix as the Mail Server( MTA ). There's a request for a global IP to be assigned to me so that I can test my postfix installation with the more common Gmail, Yahoo or Rediff servers on the NET.&lt;br /&gt;&lt;br /&gt;It's more of a legacy that will be left behind, the main purpose for scripting this kind of server was to maintain a archive of all discussions that might have taken place somewhere on some topic. It is generally found that later these discussions can be helpful... maybe in some research or someone interested in exploring!&lt;br /&gt;&lt;br /&gt;Let's hope i can finish it up ASAP :D!&lt;br /&gt;&lt;br /&gt;The second thing that I have dived into is Django.... sincerely speaking it roxx! You cannot get enough, and when I had a completely working site with a Forum, Blog, Code Post Space and generic featues like Login/Sign Up..... I was taken aback. Well Sumit has been quite a handful... having done all the CSS and templates part he's been the guy to watch out for.&lt;br /&gt;&lt;br /&gt;The MaximumEntropy Part........ ummm... havent really got into that much though Rohit has been pretty upbeat with it.... but i'll get to it once I finish the Mailing List business.&lt;br /&gt;&lt;br /&gt;Chao :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-549077416540733396?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/549077416540733396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/05/knock-knock-its-mailman.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/549077416540733396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/549077416540733396'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/05/knock-knock-its-mailman.html' title='Knock Knock...... it&apos;s the mailman!!'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-8662920279998269419</id><published>2009-05-08T06:35:00.000-07:00</published><updated>2009-05-08T07:13:03.574-07:00</updated><title type='text'>Maximum Entropy</title><content type='html'>The previous post had a nice time sitting at the top, many factors like End Semester, then pressure to get a project and the society work have lead to a lag in the blog roll! Let's let it roll :D&lt;br /&gt;&lt;br /&gt;These few weeks, mabye 1 or 2, have been pretty random in terms of the activities I have done. Ranging for complete fart to some real research mathematics. But yeah I am not sure how things will converge till the month's end when I plan to leave Kgp and join my frnzz back home.&lt;br /&gt;&lt;br /&gt;I'll take you through a detour of the activities I pursued during these few days, not chronologically but logically :P&lt;br /&gt;&lt;br /&gt;1. Well the first thing that I always had in mind was to do something in Web development. I've been pretty much scared by it due to lack of information and having done no server programming! Having your own society and working for it is turning to be a cool detour. But as you might guess web was never a single handed task... you need to design the backend, the fu**** html code and ofcourse use a connecting interface like php!&lt;br /&gt;&lt;br /&gt;Cut the crap pple, who does all the suff nowadays, and being a vigilant open source follower I had heard about a Python web Framework called django( www.djangoproject.com ). It's a MVC( Model View Controller ) type of architecture. MVC is a fancy Jargon which imposes a clean and modular way to build applications. In our case the Database( Model ), Html( View ) and the logic( Control ) part are force seperated from each other.&lt;br /&gt;&lt;br /&gt;The coolest thing about Django -&gt; you never need to see database programming&lt;- totally :D. And the hottest thing... the admin interface is already there, a template good enough to populate your blogs or file upload lists. Of course, programmers are most reluctant to build cool admin interfaces for themselves :P, you cant have your cake and eat it too. Django comes to your rescue and gives u  a default interface!&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_lypISW8dea4/SgQ8dadGb-I/AAAAAAAAAFQ/7czeRClPk2c/s1600-h/django-downloads-interface.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 320px;" src="http://2.bp.blogspot.com/_lypISW8dea4/SgQ8dadGb-I/AAAAAAAAAFQ/7czeRClPk2c/s400/django-downloads-interface.png" alt="" id="BLOGGER_PHOTO_ID_5333454334728761314" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;snap here=""&gt;Django Admin Interface( database layer developed my me )&lt;/snap&gt;&lt;br /&gt;&lt;snap here=""&gt;&lt;/snap&gt;&lt;/div&gt;&lt;snap here=""&gt;I am strongly going to use this framework for the future development of the site, python is the future and anything that flows with it becomes gold!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. Voila I started poetry again, well this is a very unlikely part of me, but I do write some very gross poetry! I wont go into the details because poets have long and tragedic detours... anyways. So I have started again and thats what counts... though have written only one, I hope to gain pace as time progress... it's tough to get solace in hot and humid Kgp :P&lt;br /&gt;&lt;br /&gt;3. Literature again, I am scoring pretty high ;), Dan Brown! Yes the master plotter is back with all his wits and enthralling display of writting skills. I have got hands over the "not" so celebrated book.... Digital Fortress... having completed 90% till date I hope to gobble the remaining part in nick of time. But he totally rox ;).&lt;br /&gt;&lt;br /&gt;4. Mailing list and Admin work: If you have been a part of a google group or a "mailing list" to be more professional, you might have observed the simplicity of idea but the great utility. Well some of the department seniors had suggested to establish a local archive of mails and discussions via a mailing list server. I am onto it right now and can be found sitting in my cabin in the research lab of CSE department ;) ( Seriously pple ! ). Havent actually got a great hint of how exactly I would be doing it, but challenges is what I think are common and there's nothing you can do avoid them... so just live with them.... hehe...&lt;br /&gt;&lt;br /&gt;But tweaking with the Dns and understanding the priciples behind the "Firewalls", that, so often stop breach of malicious code is very enlightening! Kudos to CSE deptt for being supportive( so far ) :D&lt;br /&gt;&lt;br /&gt;5. Last but not the least... the reason I am rubbing my Ass on 45 deg celcius and 90% humidity. God yes a dammed project. Comming to the domain, it is in the field of Natural Language Processing. The work is pretty straight and I feel it'll turn out to be very interesting to implement the ideas. The best thing is that we've got a target and that too short termed. This helps up to see the direction and gain motivation.&lt;br /&gt;&lt;br /&gt;But why did I name this post "Maximum Entropy". Interesting enough the project on NLP ( Nat Lang Procseeing ) is aimed on working on a method of modelling called MaxEnt( Maximum entropy Modelling ). And a brief definiton of the same will enlighten the reason for this post being named so :)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;"When trying to model an environment, try to take all factors into account but assume nothing about what you are not sure. Thus you maximize the entropy, or freedom, of the system. Such a model is perfect as it'll never give strong and incorrect result. It might refuse to give a affirmative answer, but never an incorrect answer"&lt;br /&gt;&lt;br /&gt;Well in my article I think I didnt concentrate on any one topic... rather jumped and bounced over Literature, Web Devel, Mailservers, Poetry and Mathematics! Thus gaining maximum entropy :)&lt;br /&gt;&lt;/snap&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-8662920279998269419?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/8662920279998269419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/05/maximum-entropy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/8662920279998269419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/8662920279998269419'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/05/maximum-entropy.html' title='Maximum Entropy'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_lypISW8dea4/SgQ8dadGb-I/AAAAAAAAAFQ/7czeRClPk2c/s72-c/django-downloads-interface.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-4068825298599335469</id><published>2009-04-11T23:53:00.000-07:00</published><updated>2009-04-13T01:21:48.048-07:00</updated><title type='text'>The Free Software Foundation and Open Source Initiative</title><content type='html'>&lt;span style="font-size:180%;"&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;H&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;istories have come and gone by, we never stay to remember them, 'cause there's lot more to do, than to remember the chronology of our descend. But what we do remember is our drawbacks, own mistakes... whether it be 10minutes back or 10 decades old! I don't wish to impose any school of thought through this post, what I do intend, is to put up a comprehensive view of what the software movement has been in the for out IT industry what it is was and what promises it holds. Who all are the think tanks and what do they offer. I wish you to keep an open mind through this detour.....&lt;br /&gt;&lt;br /&gt;It was back 4-5 decades down the line, when a MIT researcher was fed up with the proprietary licences that he had to manage in order to develop a new concept. The problem he had to face is that, most of his time he was concerned of the budget overruns rather than coding standards ;).&lt;br /&gt;&lt;br /&gt;His name, as many of you would have guessed, was Richard Stallman, the father of Free Software and family head of Free Software Foundation! He had the novel idea of sharing....&lt;br /&gt;&lt;br /&gt;"You are not humane if you cheat with your neighbours.....",&lt;br /&gt;&lt;br /&gt;were his common words.&lt;br /&gt;&lt;br /&gt;He started the much needed Free Software Foundation, which was NOT an organization or license but a movement, simply a mass movement.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_lypISW8dea4/SeGRJLYCObI/AAAAAAAAAEo/8EBKWyb7XRg/s1600-h/gnu.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 174px; height: 170px;" src="http://2.bp.blogspot.com/_lypISW8dea4/SeGRJLYCObI/AAAAAAAAAEo/8EBKWyb7XRg/s400/gnu.png" alt="" id="BLOGGER_PHOTO_ID_5323695821387086258" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;FREE SOFTWARE FOUNDATION&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;Thought the flow of events are too long to discuss I wish to tell you how Operating Systems evolved and eloped:&lt;br /&gt;&lt;br /&gt;1. I dont remember the first seeds of operating systems but, System V, developed by Kerningham and Ritchie was one the first and full fledged OS developed. They developed it on a very meek m/c.&lt;br /&gt;&lt;br /&gt;2. Following System V, BSD( Berkeley Software Distribution ) also started knitting their own Operating System. Finally there was UNIX which was a development version of System V.&lt;br /&gt;&lt;br /&gt;3. The UNIX operating system was becoming pretty famous, but the problem being, the source was not open to people.&lt;br /&gt;&lt;br /&gt;This is what led to Stallman's thinking of equality, freedom to code and the Free Software Foundation. Influenced by the efficiency of UNIX he sat down to write the whole Operating System( he left the Kernel for the end ) on his own. This can be considered the very root of Open Source Community. Not surprisingly people joined him on his detour towards a new world where there was no owner but contributors galore.&lt;br /&gt;&lt;br /&gt;Stallman remarks that he was amazed to see the pace at which patches were included into the system and he was delighted that this methodology worked. He named this Operating System as GNU - GNU Not Unix. But why such a name?? As GNU was much more like UNIX but it had a different philosophy all together, he wanted people to know that there's something different from UNIX, and "that" something is the sole reason GNU is being developed. Hence the Recursive Acronym.&lt;br /&gt;&lt;br /&gt;When Stallman had finished the GNU set of utilities, he sat down to write the kernel that would make the system complete( right now GNU utils were made on UNIX ). Interesting development took place at this step, a Finland Phd student was writing a kernel on the very same lines and amazingly he had completed it before Stallman could do it!  He was none other than Linus Torvalds.&lt;br /&gt;&lt;br /&gt;Linus himself thought on the lines of freedom to source and mild licensing. The GNU took Linus's kernel and attached their patch of utilities. By the while, Linus maned his kernel Linux as it meant Linus+Unix=Linux. The duo of Gnu and Linux is till date famous as GNU/LINUX. Here's a pic of the same.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_lypISW8dea4/SeGWm0VMBFI/AAAAAAAAAEw/lToLIZgw3mc/s1600-h/Gnu-and-penguin-color.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 242px; height: 223px;" src="http://3.bp.blogspot.com/_lypISW8dea4/SeGWm0VMBFI/AAAAAAAAAEw/lToLIZgw3mc/s400/Gnu-and-penguin-color.png" alt="" id="BLOGGER_PHOTO_ID_5323701828155343954" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;The Linux Tux flying under the Gnu Bull, Gnu/Linux duo :D&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-weight: bold;"&gt;The Open Source Initiative&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt; &lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_lypISW8dea4/SeLnJTU3GqI/AAAAAAAAAFA/jSRJXDAFqLk/s1600-h/opensource.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 195px; height: 125px;" src="http://1.bp.blogspot.com/_lypISW8dea4/SeLnJTU3GqI/AAAAAAAAAFA/jSRJXDAFqLk/s400/opensource.png" alt="" id="BLOGGER_PHOTO_ID_5324071856497957538" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;OSI Trademark Logo&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;The open source initiative to me was more of a "Commercial Move" aimed at popularising the "Openness of softwares". The benifit? Well, by the name of Free Software Foundation it seemed like they were talking of the "Free Beer" more than "Free Speech"! There were not much of industry involvement or support to the FSF, simply because they didnt see any profitable marketing strategy and the FSF philosophy was more of a NGO... heh.&lt;br /&gt;&lt;br /&gt;Open Source Foundation took the task of commercialising the very basics of FSF, though obviously, with some changes. I would not jump to the theoretical aspects, rather would take an example to illustrate the same.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;UBUNTU&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Known as the household face of "Linux". Here are some facts that'll spill the can of beans, right in front of you.... hmmm. So the first question is, what is Ubuntu, Open Source or Free Software, well it's an Open Source product. Free Software would not have allowed to have any proprietary software support, but Ubuntu has repositories which openly support binary only softwares. Take for example the RealPlayer for Linux, Flashplayer Plugins and lots more! If Stallman was to endorse Ubuntu, he simply would have stripped all those binary only softs.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_lypISW8dea4/SeLvkSMVgEI/AAAAAAAAAFI/83Hp6v2EL-0/s1600-h/fsf-gnu-bullfight.jpeg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 267px;" src="http://3.bp.blogspot.com/_lypISW8dea4/SeLvkSMVgEI/AAAAAAAAAFI/83Hp6v2EL-0/s400/fsf-gnu-bullfight.jpeg" alt="" id="BLOGGER_PHOTO_ID_5324081116143255618" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;But dear frnzz, if Open Source would not have been there... Ubuntu wouldnt have been whats it's today... the commercial benifits it claims as having openess to all... whether Proprietary of Free software, is what fills up it's cashbanks. But on the same hand, whatever activity or project it takes up are per Free Software standards.&lt;br /&gt;&lt;br /&gt;Undoubtedly.... Open Source has had a practical approach to survive in the  market! Some people have called Free Software Foundation as being communal( Communal -- Forcing Some Act ), I personally feel.... having a rigid and unbending view has been their problem.... that is why they never became a reality, remained a mere movement! Open Source has taken the steps in the right direction... and you might find Stallman screaming around.... telling peopple that they are DIFFERENT from OSI. For the facts GNU Operating System is perhaps one of the few "Free Software Project" under the Operating Sys catagory, you might google others, I dont really care.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Open Source or FSF... why should I do it ??&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Many of my friends and a new budding programmer asked me recently. Whats the initiative to work in Open Source after all.&lt;br /&gt;&lt;br /&gt;I dont want to convince anybody, I work in open source because I love to code, and Open Source projects is where I have no restrictions to learn, read, code and contribute. I love to help my neighbours and if that needs some initiative, you better start preparing for a English Vocab paper as Microsoft have changed strategies for new employees :)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Conclusion&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The talk is highly shortened, partly because I've my exams up sleeves and because the History is never easy to interpret. But my feeling about the whole OSI and FSF thingy lies on the commoness of ideas and NOT on the differences. Where FSF is an ideology, Open Source is it's realization and in real time dynamics you need to have optimization( i sound an Engineer here ;) ).&lt;br /&gt;&lt;br /&gt;Whats important for me is, if the source is made open... i can use it for modifying... I can code because I love it... I have access to the most intricately written media players, chat clients and his highness.... Kernel! I dont care a damn of what people make out of differences b/w FSF and OSI. I am with the concurrunt views.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;May the Source be With you!&lt;/span&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-4068825298599335469?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/4068825298599335469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/04/free-software-foundation-and-open.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/4068825298599335469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/4068825298599335469'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/04/free-software-foundation-and-open.html' title='The Free Software Foundation and Open Source Initiative'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_lypISW8dea4/SeGRJLYCObI/AAAAAAAAAEo/8EBKWyb7XRg/s72-c/gnu.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-587809103511102537</id><published>2009-04-09T00:58:00.000-07:00</published><updated>2009-04-09T01:21:11.667-07:00</updated><title type='text'>ORKUT HACKED.... JOTIKA LINKS, PORTUGUESE LINKS...</title><content type='html'>Well it has been a fascinating overnite having tryst with the UGLY security of Orkut and the way it manages Cookies. If you are having your About me changed to Junk/Vulgar links of Jotika Sex Chat or Portugese Sex Chats... then this the place you are looking for to secure. I'll tell you how they are hacking the account so that you may understand the solution with affirmation....&lt;br /&gt;&lt;br /&gt;HACK&lt;br /&gt;&lt;br /&gt;Cookies are basically stored on your computer when you log onto Orkut. But why? Suppose you are navigating from one page to another, orkut has no way to tell if that navigation is secure until and unless you give it the password. But giving a password everytime will be cumbersome. So to avoid that Orkut saves a certificate on your computer, in the form of a cookie telling that if a request has the cookie information attached( as it is a local information only the owner has it right now ) then the navigation is secure.&lt;br /&gt;&lt;br /&gt;Are cookies permanent? NO&lt;br /&gt;&lt;br /&gt;Cookies have a lifetime which is defaulted to Session, i.e. as soon as you logout your cookie is destroyed. Orkut specifically has Session Lifetime. &lt;br /&gt;&lt;br /&gt;So when you log in again a new cookie is assigned... have a screenshot of the cookie information...&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_lypISW8dea4/Sd2v2t6NJvI/AAAAAAAAAEY/6VuElvHkfTo/s1600-h/cookie.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 320px;" src="http://3.bp.blogspot.com/_lypISW8dea4/Sd2v2t6NJvI/AAAAAAAAAEY/6VuElvHkfTo/s400/cookie.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5322603689193318130" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;How are they hacking it... if you click a malicious link and you have the cookie stored at that time... you are done!&lt;br /&gt;&lt;br /&gt;The cookies is sent over the net to the hacker, he edits his own cookie with your information... as long as you dont logout the cookie holds goooood and you will be raped all angles :P.The links they are keeping on hacked profiles are malicious so if u click them u'll compromise badly.&lt;br /&gt;&lt;br /&gt;SAFE BROWSING&lt;br /&gt;&lt;br /&gt;Those who didnt get hacked, dont click any malicious link or hacked profile links! A higher precaution can be to logout after each use and not keep the account idle for exploits... &lt;br /&gt;&lt;br /&gt;Those who got hacked.... do the following&lt;br /&gt;&lt;br /&gt;1. Change the pic, aboutme, your sex, orientation and wat not :P&lt;br /&gt;2. Remove the malicious communities from the account... see for malicious friends!&lt;br /&gt;3. Logout immidiately..... actually as u'll goto the commmunity to remove it... they'll get your cookie! It takes time to process it... 5-10 min atleast.... make your changes and logout... the cookie will be destroyed.&lt;br /&gt;4. Obviously the "Non hacked users" rules apply :P&lt;br /&gt;&lt;br /&gt;Happy Orkutting, Chirkutting ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-587809103511102537?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/587809103511102537/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/04/orkut-hacked-jotika-links-portuguese.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/587809103511102537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/587809103511102537'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/04/orkut-hacked-jotika-links-portuguese.html' title='ORKUT HACKED.... JOTIKA LINKS, PORTUGUESE LINKS...'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_lypISW8dea4/Sd2v2t6NJvI/AAAAAAAAAEY/6VuElvHkfTo/s72-c/cookie.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-252844045340223536</id><published>2009-04-04T12:18:00.000-07:00</published><updated>2009-04-04T12:54:38.717-07:00</updated><title type='text'>Pen Drive Security System</title><content type='html'>Recently I with my team-mates made a solution to a problem statement released for an Intra Collegiate Event. The problem( in brief ) goes as follows:&lt;br /&gt;&lt;br /&gt;1. You have to design a Pen Drive security system that resides on a Pen Drive, does no installation of software on a Operating Client and provides on the go run facility, as in plug and shoot.&lt;br /&gt;&lt;br /&gt;2. The security should be two leveled where the Files are encrypted with a Key and a suitable algorithm( the key will generally be random ). The key has to be stored in a way so that it is secured via the main password that the user shall hold or the private key.&lt;br /&gt;&lt;br /&gt;3. The software should preferably have a nice looking GUI, extra points for Native look.&lt;br /&gt;&lt;br /&gt;Our Approach:&lt;br /&gt;&lt;br /&gt;1. As the system has to be supported fully on a Operating System we definitely cannot assume packages like Java to be installed which can easily be the best choice for a platform-independent choice. Packing a whole JVM was a waste of effort as it'll take huge amount of space.&lt;br /&gt;&lt;br /&gt;2. We used GTK+-2.0 for the same reason. Being a small and a protable library and having a cross platform support in Windows/Linux we'll have enough to say in terms of portability. Also the look and feel of GTK is far-far-far better than say Java-MOTIF or else!&lt;br /&gt;&lt;br /&gt;3. The software installed will have two layers of security&lt;br /&gt;&lt;br /&gt; (a) The master password which will be held by the master user.( there will be user accounts just &lt;br /&gt;     as in unix etc )&lt;br /&gt;&lt;br /&gt; (b) A random key will be used to encrypt a file sored under the device. The random key will be encrypted via the master password and stored as the first bytes of the file. The Encryption algorithm used shall be of highest quality, namely, AES!&lt;br /&gt;&lt;br /&gt;Have a look at the snapshots and u'll have a good feel of the software :)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_lypISW8dea4/Sde6NzeSMRI/AAAAAAAAAEQ/5wKiOHYo3BA/s1600-h/Screenshot.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 320px;" src="http://3.bp.blogspot.com/_lypISW8dea4/Sde6NzeSMRI/AAAAAAAAAEQ/5wKiOHYo3BA/s400/Screenshot.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5320926231079825682" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_lypISW8dea4/Sde5wKEZUEI/AAAAAAAAADo/WET0vSP17Cw/s1600-h/after-login.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 320px;" src="http://3.bp.blogspot.com/_lypISW8dea4/Sde5wKEZUEI/AAAAAAAAADo/WET0vSP17Cw/s400/after-login.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5320925721749180482" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_lypISW8dea4/Sde5NJ2fnHI/AAAAAAAAADI/PiR384WShik/s1600-h/add-folder-menu.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 320px;" src="http://1.bp.blogspot.com/_lypISW8dea4/Sde5NJ2fnHI/AAAAAAAAADI/PiR384WShik/s400/add-folder-menu.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5320925120395451506" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_lypISW8dea4/Sde5Fpn9SaI/AAAAAAAAADA/4tq2_5K7X7k/s1600-h/add-folder-bar.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 320px;" src="http://1.bp.blogspot.com/_lypISW8dea4/Sde5Fpn9SaI/AAAAAAAAADA/4tq2_5K7X7k/s400/add-folder-bar.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5320924991485462946" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_lypISW8dea4/Sde51JHoqzI/AAAAAAAAADw/Z5FGnq8qynw/s1600-h/before-folder-adding.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 320px;" src="http://2.bp.blogspot.com/_lypISW8dea4/Sde51JHoqzI/AAAAAAAAADw/Z5FGnq8qynw/s400/before-folder-adding.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5320925807393680178" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_lypISW8dea4/Sde5ih-Rq5I/AAAAAAAAADY/wvWiefKsXX8/s1600-h/after-folder-adding.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 320px;" src="http://1.bp.blogspot.com/_lypISW8dea4/Sde5ih-Rq5I/AAAAAAAAADY/wvWiefKsXX8/s400/after-folder-adding.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5320925487647796114" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_lypISW8dea4/Sde6B781alI/AAAAAAAAAEA/lzzGX2lqYB8/s1600-h/encrypted-file.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 320px;" src="http://2.bp.blogspot.com/_lypISW8dea4/Sde6B781alI/AAAAAAAAAEA/lzzGX2lqYB8/s400/encrypted-file.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5320926027197016658" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_lypISW8dea4/Sde6HtaQrkI/AAAAAAAAAEI/JgvU872XXOw/s1600-h/retrieved-file.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 320px;" src="http://4.bp.blogspot.com/_lypISW8dea4/Sde6HtaQrkI/AAAAAAAAAEI/JgvU872XXOw/s400/retrieved-file.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5320926126373121602" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-252844045340223536?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/252844045340223536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/04/pen-drive-security-system.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/252844045340223536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/252844045340223536'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/04/pen-drive-security-system.html' title='Pen Drive Security System'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_lypISW8dea4/Sde6NzeSMRI/AAAAAAAAAEQ/5wKiOHYo3BA/s72-c/Screenshot.png' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-3001023793721195893</id><published>2009-03-31T06:24:00.000-07:00</published><updated>2009-03-31T06:28:48.891-07:00</updated><title type='text'>Pidgin Crashreporter</title><content type='html'>The following pic shall show you how the crashreporter springs up when the application crashes. The plugin i wrote had a simple *a=NULL; *a=bla; which made it crash.&lt;br /&gt;&lt;br /&gt;The plugin will be correctly reported in the reporter window. It's shows that even w/o debugging symbols we might find what the source of problem is, specially for third party plugins&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_lypISW8dea4/SdIaPgD0iII/AAAAAAAAAC4/HCHXHBtT-1Q/s1600-h/pidgin-crash.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 256px;" src="http://3.bp.blogspot.com/_lypISW8dea4/SdIaPgD0iII/AAAAAAAAAC4/HCHXHBtT-1Q/s320/pidgin-crash.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5319342963484297346" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-3001023793721195893?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/3001023793721195893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/03/pidgin-crashreporter.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/3001023793721195893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/3001023793721195893'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/03/pidgin-crashreporter.html' title='Pidgin Crashreporter'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_lypISW8dea4/SdIaPgD0iII/AAAAAAAAAC4/HCHXHBtT-1Q/s72-c/pidgin-crash.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-1256596578516854482</id><published>2009-03-30T08:17:00.000-07:00</published><updated>2009-03-30T09:31:46.741-07:00</updated><title type='text'>Breakpad Functioning</title><content type='html'>This is an Illustration of how Breakpad works.... just to illustrate how the Library behaves etc....&lt;br /&gt;&lt;br /&gt;The code I am using is pretty trivial hence the trace etc shall be pretty small newayz....&lt;br /&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;&lt;br /&gt;&lt;/span&gt;   &lt;meta name="GENERATOR" content="OpenOffice.org 2.4  (Linux)"&gt; 	&lt;style type="text/css"&gt; 	&lt;!-- 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	--&gt; 	&lt;/style&gt;  &lt;p style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt; Here's a simple program that crashes relentlessly :P&lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;include &lt;pthread.h&gt; &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;#include &lt;unistd.h&gt; &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt; &lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;#include &lt;cassert&gt; &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;#include &lt;cstdio&gt; &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;#include &lt;cstdlib&gt; &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;#include &lt;cstring&gt; &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt; &lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;#include "client/linux/handler/exception_handler.h" &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;#include "client/linux/handler/linux_thread.h" &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt; &lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;using namespace google_breakpad; &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt; &lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt; &lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt; &lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;static ExceptionHandler* handler_process=NULL; &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;// Callback when minidump written. &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;static bool MinidumpCallback(const char *dump_path, &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;                             const char *minidump_id, &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;                             void *context, &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;                             bool succeeded) { &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;   &lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;  printf("%s is dumped\n", minidump_id); &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;  return true; &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;} &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt; &lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;static void *thread_crash(void *) { &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;  ExceptionHandler handler_process(".", NULL, MinidumpCallback, &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;                           NULL, true); &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;  while(true) sleep(1); &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt; } &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;static void CreateCrashThread() { &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;  pthread_t h; &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;  pthread_create(&amp;amp;h, NULL, thread_crash, NULL); &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;  pthread_detach(h); &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;} &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;int main(int argc, char *argv[]) { &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;  int handler_index = 0; &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;  CreateCrashThread(); &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;  int *a=NULL; &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;  *a=0; //crash&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;  while (true) &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;    sleep(10); &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;  return 0; &lt;/span&gt;&lt;/p&gt; &lt;p style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;What i'll do is compile this code via linking it through the Breakpad Library! I had to compile the code bit by bit.... most of the tools etc were not built by default and were left for( i dunno ) exercise? Newayz......&lt;br /&gt;&lt;br /&gt;  	&lt;meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"&gt; 	&lt;title&gt;&lt;/title&gt; 	&lt;meta name="GENERATOR" content="OpenOffice.org 2.4  (Linux)"&gt; 	&lt;style type="text/css"&gt; 	&lt;!-- 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	--&gt; 	&lt;/style&gt;  &lt;p style="margin-bottom: 0cm; color: rgb(51, 102, 255);"&gt;&lt;span style="font-size:85%;"&gt;sanket@sanket-desktop:~/.subversion/google-breakpad-read-only/src/client/linux/handler$ gcc -c -gstabs -I ../../../ myCrash.cc&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm; color: rgb(51, 102, 255);"&gt;   	&lt;meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"&gt; 	&lt;title&gt;&lt;/title&gt; 	&lt;meta name="GENERATOR" content="OpenOffice.org 2.4  (Linux)"&gt; 	&lt;style type="text/css"&gt; 	&lt;!-- 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	--&gt; 	&lt;/style&gt;  &lt;/p&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;span style="font-size:85%;"&gt;sanket@sanket-desktop:~/.subversion/google-breakpad-read-only/src/client/linux/handler$ g++ -gstabs -lpthread myCrash.o exception_handler.o linux_thread.o minidump_generator.o ../../minidump_file_writer.o ../../../common/convert_UTF.o ../../../common/string_conversion.o ../../../common/linux/file_id.o ../../../common/linux/guid_creator.o md5.o -o output&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm;"&gt;   	&lt;meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"&gt; 	&lt;title&gt;&lt;/title&gt; 	&lt;meta name="GENERATOR" content="OpenOffice.org 2.4  (Linux)"&gt; 	&lt;style type="text/css"&gt; 	&lt;!-- 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	--&gt; 	&lt;/style&gt;  &lt;/p&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;span style="font-size:85%;"&gt;sanket@sanket-desktop:~/.subversion/google-breakpad-read-only/src/client/linux/handler$ ./output  &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;"&gt;&lt;span style="font-size:85%;"&gt;5012fabe-5cd6-0ede-35eb05fb-77e2564c is dumped&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm;"&gt;   	&lt;meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"&gt; 	&lt;title&gt;&lt;/title&gt; 	&lt;meta name="GENERATOR" content="OpenOffice.org 2.4  (Linux)"&gt; 	&lt;style type="text/css"&gt; 	&lt;!-- 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	--&gt; 	&lt;/style&gt;  &lt;/p&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;span style="font-size:85%;"&gt;sanket@sanket-desktop:~/.subversion/google-breakpad-read-only/src/client/linux/handler$ ls -lh 5012fabe-5cd6-0ede-35eb05fb-77e2564c.dmp  &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;"&gt;&lt;span style="font-size:85%;"&gt;-rw------- 1 sanket sanket 18K 2009-03-30 16:55 5012fabe-5cd6-0ede-35eb05fb-77e2564c.dmp&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;Hence we have a dump which will invariably be of size of 10-20 Kb. There can be optimization here based on local processing so as to reduce server load... but i'll defer from treating that topic here :)&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;The important thing is the generation of meaningful data from this dump. As I have used the normal libs( libstdc++ etc ) which dont have symbol information the output might not be that well percieved;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;   	&lt;meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"&gt; 	&lt;title&gt;&lt;/title&gt; 	&lt;meta name="GENERATOR" content="OpenOffice.org 2.4  (Linux)"&gt; 	&lt;style type="text/css"&gt; 	&lt;!-- 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	--&gt; 	&lt;/style&gt;  &lt;/p&gt;&lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;sanket@sanket-desktop:~/.subversion/google-breakpad-read-only/src/tools/linux/dump_syms$ ./dump_syms ../../../client/linux/handler/myCrash.o &gt; myCrashSyms.sym &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm; color: rgb(0, 0, 0);"&gt;There's a python code which i searched and it's pretty good when creating Symbols from files in a very systematic File Hierarchy i shall use that code as a Part of a larger project that might need more tweaking... here's the link..&lt;/p&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;span style="color: rgb(0, 0, 0);font-size:85%;" &gt;http://crashopensource.files.wordpress.com/2007/12/symbolstore12_07_2007.txt&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm; color: rgb(51, 51, 51);"&gt;Continuing i shall show you the result after running minidump_stackwalk on the minidump file along with the symbols file we just created:&lt;/p&gt;&lt;p style="margin-bottom: 0cm; color: rgb(51, 102, 255);"&gt;   	&lt;meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"&gt; 	&lt;title&gt;&lt;/title&gt; 	&lt;meta name="GENERATOR" content="OpenOffice.org 2.4  (Linux)"&gt; 	&lt;style type="text/css"&gt; 	&lt;!-- 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	--&gt; 	&lt;/style&gt;  &lt;/p&gt;&lt;p style="margin-bottom: 0cm; color: rgb(51, 51, 51);"&gt;Here's the o/p when run with minidump_stackwalk bin.&lt;/p&gt; &lt;p style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;Operating system: Linux &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;                  0.0.0 Linux 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;CPU: x86 &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;     GenuineIntel family 6 model 6 stepping 5 &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;     2 CPUs &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;Crash reason:  SIGSEGV &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;Crash address: 0x80497d1 &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;Thread 0 (crashed) &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt; 0  output + 0x17d1 &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;    eip = 0x080497d1   esp = 0xbfe87360   ebp = 0xbfe87378   ebx = 0xb7e14ff4 &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;    esi = 0x08053650   edi = 0x080496c0   eax = 0x00000000   ecx = 0x00005045 &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;    edx = 0xb7cb9b90   efl = 0x00010246 &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt; 1  libc-2.8.90.so + 0x16684 &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;    eip = 0xb7cd1685   esp = 0xbfe87380   ebp = 0xbfe873e8 &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;Thread 1 &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt; 0  0xb7f87430 &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;    eip = 0xb7f87430   esp = 0xb7cb6d50   ebp = 0xb7cb6f28   ebx = 0xb7cb6f14 &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;    esi = 0xb7cb6f14   edi = 0xb7cb6f14   eax = 0xfffffdfc   ecx = 0xb7cb6f14 &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;    edx = 0xb7e14ff4   efl = 0x00000246 &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt; 1  output + 0x1929 &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;    eip = 0x0804992a   esp = 0xb7cb6f30   ebp = 0xb7cb93b8 &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt; 2  libpthread-2.8.90.so + 0x650e &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;    eip = 0xb7f4350f   esp = 0xb7cb93c0   ebp = 0xb7cb94b8 &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;Loaded modules: &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;0x08048000 - 0x08056fff  output  ???  (main) &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;0x08057000 - 0x08057fff  output  ??? &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;0x08058000 - 0x08058fff  output  ??? &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;0xb7cbb000 - 0xb7e12fff  libc-2.8.90.so  ??? &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;0xb7e13000 - 0xb7e14fff  libc-2.8.90.so  ??? &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;0xb7e15000 - 0xb7e15fff  libc-2.8.90.so  ??? &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;0xb7e19000 - 0xb7e25fff  libgcc_s.so.1  ??? &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;0xb7e26000 - 0xb7e26fff  libgcc_s.so.1  ??? &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;0xb7e27000 - 0xb7e27fff  libgcc_s.so.1  ??? &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;0xb7e28000 - 0xb7e4bfff  libm-2.8.90.so  ??? &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;0xb7e4c000 - 0xb7e4cfff  libm-2.8.90.so  ??? &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;0xb7e4d000 - 0xb7e4dfff  libm-2.8.90.so  ??? &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;0xb7e4f000 - 0xb7f31fff  libstdc++.so.6.0.10  ??? &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;0xb7f32000 - 0xb7f35fff  libstdc++.so.6.0.10  ??? &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;0xb7f36000 - 0xb7f36fff  libstdc++.so.6.0.10  ??? &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;0xb7f3d000 - 0xb7f51fff  libpthread-2.8.90.so  ??? &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;0xb7f52000 - 0xb7f52fff  libpthread-2.8.90.so  ??? &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;0xb7f53000 - 0xb7f53fff  libpthread-2.8.90.so  ??? &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;0xb7f6d000 - 0xb7f86fff  ld-2.8.90.so  ??? &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;0xb7f88000 - 0xb7f88fff  ld-2.8.90.so  ??? &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;0xb7f89000 - 0xb7f89fff  ld-2.8.90.so  ???&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm; color: rgb(153, 51, 153);"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm; color: rgb(0, 51, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:100%;"&gt;It sums it all.... we can now start creating symbol compiled library and compile them with -gstabs etc to produce the appropriate symbols etc.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm; color: rgb(0, 51, 0);"&gt;&lt;span style="font-size:85%;"&gt;Chao :-)&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm; color: rgb(0, 51, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm; color: rgb(51, 102, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:85%;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-1256596578516854482?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/1256596578516854482/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/03/breakpad-functioning.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/1256596578516854482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/1256596578516854482'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/03/breakpad-functioning.html' title='Breakpad Functioning'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-8351654292053999808</id><published>2009-03-29T01:59:00.000-07:00</published><updated>2009-03-31T06:31:02.620-07:00</updated><title type='text'>AbiwSnap</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_lypISW8dea4/Sc84u_ofVWI/AAAAAAAAACw/vSy1CEXJvSE/s1600-h/abiword.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 256px;" src="http://4.bp.blogspot.com/_lypISW8dea4/Sc84u_ofVWI/AAAAAAAAACw/vSy1CEXJvSE/s320/abiword.png" alt="" id="BLOGGER_PHOTO_ID_5318532064954242402" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Here's the .png file&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-8351654292053999808?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/8351654292053999808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/03/abiword-gsoc-proposal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/8351654292053999808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/8351654292053999808'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/03/abiword-gsoc-proposal.html' title='AbiwSnap'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_lypISW8dea4/Sc84u_ofVWI/AAAAAAAAACw/vSy1CEXJvSE/s72-c/abiword.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-8916121218218787124</id><published>2009-03-09T13:38:00.000-07:00</published><updated>2009-03-09T14:12:40.728-07:00</updated><title type='text'>Crash'em all</title><content type='html'>&lt;span style="font-size:100%;"&gt;NOTE:- This is a high end technical post.... if you are really not into it, I really don't care of the total hits :)&lt;br /&gt;&lt;br /&gt;It's been a long time since I've been working on a new library. I wont be opening the flood gates by letting all information flow... but still show you some glimpses of how technology has changed in this all so complex Open Source business.&lt;br /&gt;&lt;br /&gt;What generally happens when your program crashes... well most of you think it in terms of "Hanging of the binary" and it's consequential termination by the Kernel.&lt;br /&gt;The kernel does so when it sees that the binary is either trying to occupy some domain not in it's program stack space or when it tries to access pointer to some restricted space.&lt;br /&gt;&lt;br /&gt;Now it's an interesting fact that most of you might not know.... whenever a program is executing, the processor takes one instruction at a time( for the time being the instruction can be thought of as a line in the program ). It's interesting to note that, what all happens is that the program counters, it's activations records and other state variables move from one state to other. Changing the configuration continuously. And yes... you can capture each configuration seperately. Have a look at this C file:&lt;br /&gt;&lt;br /&gt;#include&lt;stdio.h&gt;&lt;br /&gt;#include&lt;stdlib.h&gt;&lt;br /&gt;&lt;br /&gt;void bug();&lt;br /&gt;&lt;br /&gt;int main(int argc, char *argv[])&lt;br /&gt;{&lt;br /&gt;   int a=0,b=1,c=2;&lt;br /&gt;   printf("till here everthing is fine %d %d %d",a,b,c);&lt;br /&gt;   bug();   //wooo... crash&lt;br /&gt;   printf("dont hope to reach here :P");&lt;br /&gt;   return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void bug(){&lt;br /&gt;&lt;br /&gt;  int i,a[10];&lt;br /&gt;&lt;br /&gt;  for(i=0;i&lt;1000;i++) style="color: rgb(51, 51, 255);"&gt;sanket@sanket-laptop:~$ gdb ./a.out &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;GNU gdb 6.8-debian&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Copyright (C) 2008 Free Software Foundation, Inc.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;License GPLv3+: GNU GPL version 3 or later &lt;http: org="" licenses="" html=""&gt;&lt;/http:&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;This is free software: you are free to change and redistribute it.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;There is NO WARRANTY, to the extent permitted by law.  Type "show copying"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;and "show warranty" for details.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;This GDB was configured as "i486-linux-gnu"...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;(gdb) b main&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Breakpoint 1 at 0x8048385: file bug_c.c, line 8.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;(gdb) r&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Starting program: /home/sanket/a.out &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Breakpoint 1, main () at bug_c.c:8&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;8        int a=0,b=1,c=2;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;(gdb) s&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;9        printf("till here everthing is fine %d %d %d",a,b,c);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;(gdb) s&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;10        bug();   //wooo... crash&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;(gdb) s&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;bug () at bug_c.c:17&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;17       int *a=NULL;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;(gdb) s&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;20         a=10;   //my classic was to trigger bug.. unless kernel is too generous :D&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;(gdb) s&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;21         printf("%d",*a);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;(gdb) s&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Program received signal SIGSEGV, Segmentation fault.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;0x080483f1 in bug () at bug_c.c:21&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;21         printf("%d",*a);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;(gdb) bt full&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;#0  0x080483f1 in bug () at bug_c.c:21&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;    a = (int *) 0xa&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;#1  0x080483c0 in main () at bug_c.c:10&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;    a = 0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;    b = 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;    c = 2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The interesting thing here is the command &lt;span style="font-weight: bold;"&gt;bt full&lt;/span&gt;, which displays the position of the function while it crashed. Clearly, we had a crash in bug() followed by that in main() and the backtrace has two function calls as it is evident.&lt;br /&gt;&lt;br /&gt;This information is extremely essential when debuggers/programmers set out to solve a bug. This trace has a lot more to it then it'll look at first... just for instance look at this trace( it's a crash of a proprietry software ;) )&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;(gdb) core-file core&lt;br /&gt;(no debugging symbols found)&lt;br /&gt;Core was generated by `/media/disk/iViz/project/avgscan avg_poc.exe'.&lt;br /&gt;Program terminated with signal 11, Segmentation fault.&lt;br /&gt;[New process 31608]&lt;br /&gt;#0  0xb7d1b4e7 in ?? ()&lt;br /&gt;(gdb) bt full&lt;br /&gt;#0  0xb7d1b4e7 in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;#1  0x080809c4 in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;#2  0x080826f2 in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;#3  0x08052651 in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;#4  0x08053753 in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;#5  0x08053a82 in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;#6  0x0806bf7f in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;#7  0x081685b2 in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;#8  0x08168b19 in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;#9  0x0816976b in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;#10 0x0818898e in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;#11 0x081894f9 in ?? ()&lt;br /&gt;---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit---&lt;br /&gt;No symbol table info available.&lt;br /&gt;#12 0x0818b331 in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;#13 0x0817c20f in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;#14 0x0817d51f in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;#15 0x08192df5 in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;#16 0x08193348 in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;#17 0x0818c1a7 in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;#18 0x0818d18f in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;#19 0x08158429 in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;#20 0x08151006 in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;#21 0x08151d40 in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;#22 0x0815301d in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit---&lt;br /&gt;#23 0xb7cbe450 in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;#24 0x0804e4f1 in ?? ()&lt;br /&gt;No symbol table info available.&lt;br /&gt;(gdb)&lt;br /&gt;&lt;/return&gt;&lt;/return&gt;&lt;/return&gt;&lt;/return&gt;&lt;/span&gt;&lt;br /&gt;some more information that can be useful:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 0);"&gt;(gdb) info all-registers&lt;br /&gt;eax            0x0    0&lt;br /&gt;ecx            0x35427516    893547798&lt;br /&gt;edx            0x0    0&lt;br /&gt;ebx            0xd50bd000    -720646144&lt;br /&gt;esp            0xbfffdee8    0xbfffdee8&lt;br /&gt;ebp            0xbfffdf28    0xbfffdf28&lt;br /&gt;esi            0xd50bd000    -720646144&lt;br /&gt;edi            0x834b000    137670656&lt;br /&gt;eip            0xb7d1b4e7    0xb7d1b4e7&lt;br /&gt;eflags         0x10246    [ PF ZF IF RF ]&lt;br /&gt;cs             0x73    115&lt;br /&gt;ss             0x7b    123&lt;br /&gt;ds             0x7b    123&lt;br /&gt;es             0x7b    123&lt;br /&gt;fs             0x0    0&lt;br /&gt;gs             0x33    51&lt;br /&gt;st0            0    (raw 0x00000000000000000000)&lt;br /&gt;st1            0    (raw 0x00000000000000000000)&lt;br /&gt;st2            0    (raw 0x00000000000000000000)&lt;br /&gt;st3            0    (raw 0x00000000000000000000)&lt;br /&gt;st4            0    (raw 0x00000000000000000000)&lt;br /&gt;st5            0    (raw 0x00000000000000000000)&lt;br /&gt;st6            39855    (raw 0x400e9baf000000000000)&lt;br /&gt;---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit---&lt;br /&gt;st7            39855.5    (raw 0x400e9baf800000000000)&lt;br /&gt;fctrl          0x37f    895&lt;br /&gt;fstat          0x4020    16416&lt;br /&gt;ftag           0xffff    65535&lt;br /&gt;fiseg          0x73    115&lt;br /&gt;fioff          0x81fe18a    136307082&lt;br /&gt;foseg          0x7b    123&lt;br /&gt;fooff          0xbfffe960    -1073747616&lt;br /&gt;fop            0x59d    1437&lt;br /&gt;xmm0           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},&lt;br /&gt; v16_int8 = {0x0 &lt;repeats&gt;}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,&lt;br /&gt;   0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},&lt;br /&gt; uint128 = 0x00000000000000000000000000000000}&lt;br /&gt;xmm1           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},&lt;br /&gt; v16_int8 = {0x0 &lt;repeats&gt;}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,&lt;br /&gt;   0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},&lt;br /&gt; uint128 = 0x00000000000000000000000000000000}&lt;br /&gt;xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},&lt;br /&gt; v16_int8 = {0x0 &lt;repeats&gt;}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,&lt;br /&gt;   0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},&lt;br /&gt; uint128 = 0x00000000000000000000000000000000}&lt;br /&gt;xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},&lt;br /&gt; v16_int8 = {0x0 &lt;repeats&gt;}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,&lt;br /&gt;---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit---&lt;br /&gt;   0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},&lt;br /&gt; uint128 = 0x00000000000000000000000000000000}&lt;br /&gt;xmm4           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},&lt;br /&gt; v16_int8 = {0x0 &lt;repeats&gt;}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,&lt;br /&gt;   0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},&lt;br /&gt; uint128 = 0x00000000000000000000000000000000}&lt;br /&gt;xmm5           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},&lt;br /&gt; v16_int8 = {0x0 &lt;repeats&gt;}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,&lt;br /&gt;   0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},&lt;br /&gt; uint128 = 0x00000000000000000000000000000000}&lt;br /&gt;xmm6           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},&lt;br /&gt; v16_int8 = {0x0 &lt;repeats&gt;}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,&lt;br /&gt;   0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},&lt;br /&gt; uint128 = 0x00000000000000000000000000000000}&lt;br /&gt;xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},&lt;br /&gt; v16_int8 = {0x0 &lt;repeats&gt;}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,&lt;br /&gt;   0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},&lt;br /&gt; uint128 = 0x00000000000000000000000000000000}&lt;br /&gt;mxcsr          0x1f80    [ IM DM ZM OM UM PM ]&lt;br /&gt;mm0            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,&lt;br /&gt;   0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}&lt;br /&gt;mm1            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,&lt;br /&gt;   0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}&lt;br /&gt;---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit---&lt;br /&gt;mm2            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,&lt;br /&gt;   0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}&lt;br /&gt;mm3            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,&lt;br /&gt;   0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}&lt;br /&gt;mm4            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,&lt;br /&gt;   0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}&lt;br /&gt;mm5            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,&lt;br /&gt;   0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}&lt;br /&gt;mm6            {uint64 = 0x9baf000000000000, v2_int32 = {0x0, 0x9baf0000},&lt;br /&gt; v4_int16 = {0x0, 0x0, 0x0, 0x9baf}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,&lt;br /&gt;   0xaf, 0x9b}}&lt;br /&gt;mm7            {uint64 = 0x9baf800000000000, v2_int32 = {0x0, 0x9baf8000},&lt;br /&gt; v4_int16 = {0x0, 0x0, 0x8000, 0x9baf}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0,&lt;br /&gt;   0x80, 0xaf, 0x9b}}&lt;br /&gt;(gdb)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Newayz the registers are really important though you may not even get a sniff from the above depiction. Another interesting output I want you to see... just refer to the first program:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;sanket@sanket-laptop:~$ gdb ./a.out&lt;br /&gt;GNU gdb 6.8-debian&lt;br /&gt;Copyright (C) 2008 Free Software Foundation, Inc.&lt;br /&gt;License GPLv3+: GNU GPL version 3 or later &lt;http: org="" licenses="" html=""&gt;&lt;br /&gt;This is free software: you are free to change and redistribute it.&lt;br /&gt;There is NO WARRANTY, to the extent permitted by law.  Type "show copying"&lt;br /&gt;and "show warranty" for details.&lt;br /&gt;This GDB was configured as "i486-linux-gnu"...&lt;br /&gt;(gdb) breakpoint main&lt;br /&gt;Breakpoint 1 at 0x8048385: file bug_c.c, line 8.&lt;br /&gt;(gdb) run&lt;br /&gt;Starting program: /home/sanket/a.out&lt;br /&gt;&lt;br /&gt;Breakpoint 1, main () at bug_c.c:8&lt;br /&gt;8        int a=0,b=1,c=2;&lt;br /&gt;(gdb) s&lt;br /&gt;9        printf("till here everthing is fine %d %d %d",a,b,c);&lt;br /&gt;(gdb) bt full&lt;br /&gt;#0  main () at bug_c.c:9&lt;br /&gt;   a = 0&lt;br /&gt;   b = 1&lt;br /&gt;   c = 2&lt;br /&gt;(gdb) info sharedlibrary&lt;br /&gt;From        To          Syms Read   Shared Object Library&lt;br /&gt;0xb7fe47f0  0xb7ff979f  Yes         /lib/ld-linux.so.2&lt;br /&gt;0xb7e90230  0xb7f90d84  Yes         /lib/tls/i686/cmov/libc.so.6&lt;br /&gt;(gdb) info locals&lt;br /&gt;a = 0&lt;br /&gt;b = 1&lt;br /&gt;c = 2&lt;br /&gt;(gdb)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;What I've done is... stopped the program flow at a certain point( by use of breakpoints ) stepped through a few lines and shown you the state of the program... wow!! You can get what the program is doing at any damn stage of execution :P. You might want to play with it.... and debug and do whatever you want to :D:D&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;All that I've shown you is the importance of a Backtrace... what exactly it implies and what it has in store of interested parties!!&lt;/span&gt;&lt;br /&gt;&lt;/http:&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/return&gt;&lt;/return&gt;&lt;/repeats&gt;&lt;/repeats&gt;&lt;/repeats&gt;&lt;/repeats&gt;&lt;/return&gt;&lt;/return&gt;&lt;/repeats&gt;&lt;/repeats&gt;&lt;/repeats&gt;&lt;/repeats&gt;&lt;/return&gt;&lt;/return&gt;&lt;/span&gt;&lt;br /&gt;&lt;/stdlib.h&gt;&lt;/stdio.h&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-8916121218218787124?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/8916121218218787124/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/03/crashem-all.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/8916121218218787124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/8916121218218787124'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/03/crashem-all.html' title='Crash&apos;em all'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-1018016852919579895</id><published>2009-03-07T01:47:00.001-08:00</published><updated>2009-03-07T02:08:20.085-08:00</updated><title type='text'>In Order to Understand RECURSION.... you need to understand RECURSION</title><content type='html'>&lt;div style="text-align: left;"&gt;Thats a pretty famous quote.... more of an Intellectual humour aimed at the lesses beings often called programmers. It's really amazing how programmers are treated.. and how they themselves treat the society!&lt;br /&gt;&lt;br /&gt;Almost none of them have ever met each other.... though they are always chatting away :P. They follow hell of a lot Protocols where there lives themselves are a complete hapazad.&lt;br /&gt;&lt;br /&gt;I was recently going through some of the Company names and some of them struck to me, to be VERY interesting....&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;NOTE:- If you cant understand the utility of the article... then open your WINDOWS and explore Vista's of opportunity through it :P.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;If you didnt understand the note.... goshh.... u r stuck into a recursion... only a Stack Overflow can save you :D:D&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It struck to me when I was actually watching a movie on Linux, GNU and Open Source.( There are very few available, though I have some personal copies... try to xplore my DC share ).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The&lt;/span&gt; Name GNU is interesting in the fact that it's Recursive in Nature:-&lt;br /&gt;&lt;br /&gt;GNU - GNU's not UNIX.&lt;br /&gt;&lt;br /&gt;GNU is basically a Open Source Operating System based on UNIX family, developed my Richard Stallman. He named it GNU because it was a general feeling that GNU would be considered as a successor of UNIX hence the Open Source thingy shall never be very Open.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Well&lt;/span&gt; all of you, who try to run hopeless Win Apps in Ubuntu, must have gone through this application called WINE.&lt;br /&gt;&lt;br /&gt;Though the application devels have made a Wine glass to have sip on ;), it's actually a recursive name:-&lt;br /&gt;&lt;br /&gt;WINE - Wine is not an Emulator.&lt;br /&gt;&lt;br /&gt;Basically there's a misconception about the working of wine, and the programmers have a unique way to answer critics.... way to go people :P&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;There's &lt;/span&gt;another company, which is in itself a ingenous in the way it works:-&lt;br /&gt;&lt;br /&gt;CYGNUS- Cygnus, your GNU support.&lt;br /&gt;&lt;br /&gt;Looking at it, wow, thats a double recursive name.&lt;br /&gt;&lt;br /&gt;There are some more interesting one's,though I wont be detailing all of them... have a look:-&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;giFT&lt;/span&gt; — giFT: Internet File Transfer&lt;/li&gt;&lt;li&gt;GiNaC — GiNaC is Not a CAS (Computer Algebra System)&lt;/li&gt;&lt;li&gt;GNE — GNE's Not an Encyclopedia&lt;/li&gt;&lt;li&gt;GNU — GNU's Not Unix&lt;/li&gt;&lt;li&gt;JACK — JACK Audio Connection Kit&lt;/li&gt;&lt;li&gt;JOE — Joe's Own Editor&lt;/li&gt;&lt;li&gt;KAGE — KAGE: Alternative Game Engine&lt;/li&gt;&lt;li&gt;KINACS — KINACS is not a circuit simulator&lt;/li&gt;&lt;li&gt;LAME — LAME Ain't an &lt;a href="http://en.wikipedia.org/wiki/MP3" title="MP3"&gt;MP3&lt;/a&gt; Encoder&lt;sup id="cite_ref-lame_1-0" class="reference"&gt;&lt;a href="http://en.wikipedia.org/wiki/Recursive_acronym#cite_note-lame-1" title=""&gt;&lt;span&gt;[&lt;/span&gt;2&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/LiVES" title="LiVES"&gt;LiVES&lt;/a&gt; — LiVES is a Video Editing System&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/w/index.php?title=MiCRS&amp;amp;action=edit&amp;amp;redlink=1" class="new" title="MiCRS (page does not exist)"&gt;MiCRS&lt;/a&gt; - MiCRS is a Car Rental System&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/MiNT" title="MiNT"&gt;MiNT&lt;/a&gt; — MiNT is Not TOS (later changed to "MiNT is Now TOS")&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Freemacs" title="Freemacs"&gt;MINT&lt;/a&gt; — MINT Is Not &lt;a href="http://en.wikipedia.org/wiki/TRAC_programming_language" title="TRAC programming language" class="mw-redirect"&gt;TRAC&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Mung" title="Mung"&gt;Mung&lt;/a&gt; — Mung Until No Good&lt;sup id="cite_ref-mung_2-0" class="reference"&gt;&lt;a href="http://en.wikipedia.org/wiki/Recursive_acronym#cite_note-mung-2" title=""&gt;&lt;span&gt;[&lt;/span&gt;3&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Nagios" title="Nagios"&gt;Nagios&lt;/a&gt; — Nagios Ain't Gonna Insist On Sainthood&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/NiL" title="NiL" class="mw-redirect"&gt;NiL&lt;/a&gt; — NiL Isn't Liero&lt;/li&gt;&lt;li&gt;NINJA - Ninja Is Not Just Air&lt;sup id="cite_ref-ninja_3-0" class="reference"&gt;&lt;a href="http://en.wikipedia.org/wiki/Recursive_acronym#cite_note-ninja-3" title=""&gt;&lt;span&gt;[&lt;/span&gt;4&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/PHP" title="PHP"&gt;PHP&lt;/a&gt; — PHP: Hypertext Preprocessor (originally &lt;i&gt;"Personal Home Page" tools&lt;/i&gt;, officially changed for PHP 3)&lt;sup id="cite_ref-php_4-0" class="reference"&gt;&lt;a href="http://en.wikipedia.org/wiki/Recursive_acronym#cite_note-php-4" title=""&gt;&lt;span&gt;[&lt;/span&gt;5&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Pine_%28e-mail_client%29" title="Pine (e-mail client)"&gt;PINE&lt;/a&gt; — PINE Is Nearly &lt;a href="http://en.wikipedia.org/wiki/Elm_%28e-mail_client%29" title="Elm (e-mail client)"&gt;Elm&lt;/a&gt;, originally; PINE now officially stands for "Pine Internet News and E-mail"&lt;sup id="cite_ref-pine-origins_5-0" class="reference"&gt;&lt;a href="http://en.wikipedia.org/wiki/Recursive_acronym#cite_note-pine-origins-5" title=""&gt;&lt;span&gt;[&lt;/span&gt;6&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/w/index.php?title=PIPS_%28Symbian%29&amp;amp;action=edit&amp;amp;redlink=1" class="new" title="PIPS (Symbian) (page does not exist)"&gt;PIPS&lt;/a&gt; — PIPS Is POSIX on Symbian OS&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/RPM_Package_Manager" title="RPM Package Manager"&gt;RPM&lt;/a&gt; — RPM Package Manager (originally "&lt;a href="http://en.wikipedia.org/wiki/Red_Hat" title="Red Hat"&gt;Red Hat&lt;/a&gt; Package Manager")&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Scaled_Composites" title="Scaled Composites"&gt;Scaled&lt;/a&gt; — Scaled Composites: Advanced Link to Efficient Development&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/SPARQL" title="SPARQL"&gt;SPARQL&lt;/a&gt; — SPARQL Protocol And RDF Query Language&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/TiLP" title="TiLP"&gt;TiLP&lt;/a&gt; — TiLP is a Linking Program&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/TIP" title="TIP" class="mw-redirect"&gt;TIP&lt;/a&gt; — TIP isn't Pico (original name for Nano text editor)&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/UIRA" title="UIRA" class="mw-redirect"&gt;UIRA&lt;/a&gt; — UIRA Isn't a Recursive Acronym&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/WAM" title="WAM"&gt;WAM&lt;/a&gt; - WAM Account Manager&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Wine_%28software%29" title="Wine (software)"&gt;Wine&lt;/a&gt; — Wine Is Not an Emulator&lt;sup id="cite_ref-wine_6-0" class="reference"&gt;&lt;a href="http://en.wikipedia.org/wiki/Recursive_acronym#cite_note-wine-6" title=""&gt;&lt;span&gt;[&lt;/span&gt;7&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/XBMC" title="XBMC"&gt;XBMC&lt;/a&gt; — XBMC Media Center (originally Xbox Media Center)&lt;/li&gt;&lt;li&gt;XINU — Xinu Is Not Unix&lt;/li&gt;&lt;li&gt;XNA — XNA's Not Acronymed&lt;/li&gt;&lt;li&gt;YAML — YAML Ain't Markup Language (initially "Yet Another Markup Language")&lt;/li&gt;&lt;li&gt;ZINF — Zinf Is Not Free&lt;/li&gt;&lt;li&gt;ZINC — ZINC Is Not CMS&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Well I hope you enjoyed the recursion.......... chao :P&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-1018016852919579895?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/1018016852919579895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/03/in-order-to-understand-recursion-you.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/1018016852919579895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/1018016852919579895'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/03/in-order-to-understand-recursion-you.html' title='In Order to Understand RECURSION.... you need to understand RECURSION'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-6609357096024001199</id><published>2009-03-02T03:15:00.000-08:00</published><updated>2009-03-02T04:17:15.347-08:00</updated><title type='text'>FACEBOOK GONE...  awww i have Your Freedom</title><content type='html'>Hey all.&lt;br /&gt;&lt;br /&gt;I am back with a purpose to fulfill through this post, well recently i heard that Bits has restricted the proxy servers to block Orkut, Facebook and etcetera and etcetera.&lt;br /&gt;&lt;br /&gt;Well I have a solution for you... this might not work at once but if you give me proper inputs on what exactly is happening, I may get things cosy and running for you.&lt;br /&gt;&lt;br /&gt;So let's get going.&lt;br /&gt;&lt;br /&gt;First thing you need to do is to get the Your Freedom Client from the Site. Pretty simple :)&lt;br /&gt;&lt;br /&gt;http://www.your-freedom.net/&lt;br /&gt;&lt;br /&gt;You can have many download options. Those using Windows flavors may download the executable and those using *NIX flavors may use the .jar ones.&lt;br /&gt;&lt;br /&gt;If you are a mundane Windows user just get the simple executable. :)&lt;br /&gt;&lt;br /&gt;Now here's what Your Freedom is all about...&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_lypISW8dea4/SavEjpMq92I/AAAAAAAAABA/WGCBXm9Msmg/s1600-h/Screenshot-6.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 200px;" src="http://2.bp.blogspot.com/_lypISW8dea4/SavEjpMq92I/AAAAAAAAABA/WGCBXm9Msmg/s320/Screenshot-6.png" alt="" id="BLOGGER_PHOTO_ID_5308552702419728226" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;As you can see in the image, the firewall the institute bounds you in is generally what restricts you from the sites like Orkut, Facebook etc because it knows the IP address these sites provide and hence block it directly in their Domain Name Service( DNS ).&lt;br /&gt;&lt;br /&gt;But what the Your Freedom client will do is this... it'll send your request to an unrestricted site( there are lots of site that can act as servers and your institute jut cannot stop'em all... :P) . When you send your request of orkut.com it actually dosent goto orkut, it is rather wrapped in a request to one of the servers of Your Freedom( that u'll select ). Hence the firewall dosent know that it's a request to Orkut as it has been wrapped in a request to the YF server. The YF server then unwraps it, knows that u want to access Orkut, gets that page( because it has got the access rights ) and sends that page of orkut.com as a reply.&lt;br /&gt;&lt;br /&gt;Again an interesting fact.... how does the firewall not know that it's a Orkut page while it is comming inside your Network.&lt;br /&gt;&lt;br /&gt;Actually the page orkut.com as been sent by the YF server... and hence it's got a tab of YF.&lt;br /&gt;&lt;br /&gt;To installation and working:&lt;br /&gt;&lt;br /&gt;1. Get yourself registered on the Your Freedom site. They'll mail you a username password pair:&lt;br /&gt;&lt;br /&gt;this is what i created for u guys:&lt;br /&gt;&lt;br /&gt;Username: orkuthack&lt;br /&gt;Pass: orkuthack&lt;br /&gt;&lt;br /&gt;Please register yourself in case this dosent work or mail, reply to this post in case you want one.&lt;br /&gt;&lt;br /&gt;2. Steps to Configuration:&lt;br /&gt;&lt;br /&gt;The first screen you'll see is this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_lypISW8dea4/SavIhXh8pKI/AAAAAAAAABI/td45BswwWZA/s1600-h/Screenshot-7.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 200px;" src="http://3.bp.blogspot.com/_lypISW8dea4/SavIhXh8pKI/AAAAAAAAABI/td45BswwWZA/s320/Screenshot-7.png" alt="" id="BLOGGER_PHOTO_ID_5308557061363901602" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Click the usual next :)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_lypISW8dea4/SavI2Wcg22I/AAAAAAAAABQ/Dt_hdBW-DCU/s1600-h/Screenshot-8.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 200px;" src="http://3.bp.blogspot.com/_lypISW8dea4/SavI2Wcg22I/AAAAAAAAABQ/Dt_hdBW-DCU/s320/Screenshot-8.png" alt="" id="BLOGGER_PHOTO_ID_5308557421849926498" border="0" /&gt;&lt;/a&gt;Now as far as i know this is the most critical step.... in Kgp here we use proxies and hence the fields are filled with those. But as far as i have gained knowledge many LAN's dont have proxy services... i am pretty amazed how they get them to work.... but if you have one put it there... else leave it blank.&lt;br /&gt;&lt;br /&gt;If you do the usual nexts... and if the settings are all fine u'll get this list of servers.... not xactly this but maybe more maybe less.... :)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_lypISW8dea4/SavKL1347_I/AAAAAAAAABg/ftZuOXT3R24/s1600-h/Screenshot-11.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 200px;" src="http://1.bp.blogspot.com/_lypISW8dea4/SavKL1347_I/AAAAAAAAABg/ftZuOXT3R24/s320/Screenshot-11.png" alt="" id="BLOGGER_PHOTO_ID_5308558890575130610" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Now choose one of them and you're almost done.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_lypISW8dea4/SavKkU2ngYI/AAAAAAAAABo/hKYqwUKWplQ/s1600-h/Screenshot-12.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 200px;" src="http://2.bp.blogspot.com/_lypISW8dea4/SavKkU2ngYI/AAAAAAAAABo/hKYqwUKWplQ/s320/Screenshot-12.png" alt="" id="BLOGGER_PHOTO_ID_5308559311208153474" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_lypISW8dea4/SavKsKi0YnI/AAAAAAAAABw/qwimXfbLLug/s1600-h/Screenshot-13.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 200px;" src="http://2.bp.blogspot.com/_lypISW8dea4/SavKsKi0YnI/AAAAAAAAABw/qwimXfbLLug/s320/Screenshot-13.png" alt="" id="BLOGGER_PHOTO_ID_5308559445879710322" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now save and exit....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_lypISW8dea4/SavLIbTarsI/AAAAAAAAAB4/mJ7I_TwKqpw/s1600-h/Screenshot-14.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 200px;" src="http://1.bp.blogspot.com/_lypISW8dea4/SavLIbTarsI/AAAAAAAAAB4/mJ7I_TwKqpw/s320/Screenshot-14.png" alt="" id="BLOGGER_PHOTO_ID_5308559931414851266" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Start the connection.... if you got this far them congrats.... you are through!&lt;br /&gt;&lt;br /&gt;Now to the real stuff... how to access the restricted pages....&lt;br /&gt;&lt;br /&gt;Fisrt open your Firfox, Internet Explorer and have a look at these screenshots... u'll get the feel automatically... :)&lt;br /&gt;&lt;br /&gt;Goto: tools-&gt;options-&gt;advanced&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_lypISW8dea4/SavMDQu3mDI/AAAAAAAAACA/VCUKHd0R-Yo/s1600-h/Screenshot-15.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 301px;" src="http://2.bp.blogspot.com/_lypISW8dea4/SavMDQu3mDI/AAAAAAAAACA/VCUKHd0R-Yo/s320/Screenshot-15.png" alt="" id="BLOGGER_PHOTO_ID_5308560942189484082" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Now goto the settings tab:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_lypISW8dea4/SavNM0ygqHI/AAAAAAAAACI/VFFOWXWsytE/s1600-h/Screenshot-16.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 200px;" src="http://1.bp.blogspot.com/_lypISW8dea4/SavNM0ygqHI/AAAAAAAAACI/VFFOWXWsytE/s320/Screenshot-16.png" alt="" id="BLOGGER_PHOTO_ID_5308562205998884978" border="0" /&gt;&lt;/a&gt;it's just full screened so dont be banboozled.... now put the placeholders as they are :)&lt;br /&gt;&lt;br /&gt;If everything has been done perfectly... you may sufr the net.&lt;br /&gt;&lt;br /&gt;Just a simple logic here... if you open google.com... what shall you get??&lt;br /&gt;&lt;br /&gt;You wont get the familiar google.com/in but rather the google.com which is local to the sever... so if it's a france server then the language of googl shall be french :P.&lt;br /&gt;&lt;br /&gt;Please gimme comments over where xactly you are facing problems..&lt;br /&gt;&lt;br /&gt;Regards to all distressed friends&lt;br /&gt;Sanket&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-6609357096024001199?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/6609357096024001199/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/03/facebook-gone-awww-i-have-your-freedom.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/6609357096024001199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/6609357096024001199'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/03/facebook-gone-awww-i-have-your-freedom.html' title='FACEBOOK GONE...  awww i have Your Freedom'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_lypISW8dea4/SavEjpMq92I/AAAAAAAAABA/WGCBXm9Msmg/s72-c/Screenshot-6.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-2095811187445547973</id><published>2009-02-21T04:57:00.000-08:00</published><updated>2009-02-22T03:51:35.216-08:00</updated><title type='text'>Google -- Behind the Scenes</title><content type='html'>It's been a Lot of time that I have scribbled something worth unleashing, specially for those who apprise critically aesthetic views, about technologies and their Ethical aspects.&lt;br /&gt;&lt;br /&gt;It's Google thats going under the hammer throughout this post.... how astounding, just consider this Blog as an object. It's pasted on a website Blogger.com that itself is a Google enterprise and I am currently logged in as a gmail account holder. I chat through Gmail clients, where it's almost unnecessary to do so( yupzz.... google uses an Open Source protocol called Jabber to Internet Chat Client, Google Talk ) and I use Orkut which has got more information about me then I have about myself. It has all the 100 odd pics of me, my friends, the place I live and everything that can be called PERSONAL.&lt;br /&gt;&lt;br /&gt;Well if I am offensive about google this post might just vanish from the database( google are bright bunch of pple and have enough expertise on the algorithms they develop :P ) or de refrenced so that I am the only person reading it and Google &lt;span style="font-weight: bold;"&gt;like a big brother&lt;/span&gt;, laughing at my &lt;span style="font-weight: bold;"&gt;vanity&lt;/span&gt;. Yes people, it is TRUE!!&lt;br /&gt;How many of us DO NOT use Google for our daily browsing. Or have used other interface save Google Talk. I doubt very few, &lt;span style="font-weight: bold;"&gt;very very&lt;/span&gt; few. I wont refrain from using the brand Microsoft( Bill please sue me... i care a shit for you ). How many of you computer addicts can even BREATHE if given an operating system other than Windows.... haha.... i am skeptical if you can even perform your mundane chores on a Win98 edition......&lt;br /&gt;&lt;br /&gt;Enough of leg pulling.... back to future. I watched a Video recently which talked about the GOOGLE.... *&lt;span style="font-weight: bold;"&gt;THE GOOGLE*&lt;/span&gt;. The company which soared as the fastest bizzark in IT field.... nothing but a Research Project of two bomblasting minds Larry Page and Sergery Brin. They even thought of selling it( Before Google happened ).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;NOTE:&lt;/span&gt; An interesting fact btw... Google gave it's first controversial Executive interview in PLAYBOY :P&lt;br /&gt;&lt;br /&gt;So whats wrong with google.... they give free services to people.... see how much they care for everybody, Gmail, Gtalk, GDocs, Google-Earth, GBooks, Orkut and almost 100's of amazingly apt and useful applications...... all for FREE.&lt;br /&gt;Wow that is a mighty alluring offer. I too was under the light and impression that it is the fact..... but you know what? everybody on this hellish web uses Google to do the slightest of their work, they got 60% shares anyways. You are like a cat in a Box, a frog in a Tunnel, the consequences may be worse dear friends.&lt;br /&gt;&lt;br /&gt;My point is Google today has mighty database, almost everything that is poured into the this ever expanding spider's home is supposed to be tracked by Google, they have the impressive Page Rank(by Larry Page) which is a collection of carefully architect algorithms, a treat to internet community. But they have also gathered a lot of sensitive data... take for example you!! You have almost your whole life stored in there. Your Orkut, Gmail accounts, your line by line chats, your emails, your EACH AND EVERY action is being monitored. Who's responsible for all this.... who's responsible for your privacy.&lt;br /&gt;&lt;br /&gt;Recent news that flew in from US, stated that the US millitary wanted a log of "sensitive data" that people searched on the internet... i am sure it's more than just "people", they are certainly bullying Google.&lt;br /&gt;&lt;br /&gt;All right Google can ensure my data and privacy is intact and thats all they can do, and they are pretty straight with it. But, but the issue is just not what they guarantee, but whats REALITY. How can you say that Google can't be hacked... their integrity can't be challenged by enterprise intensive reasons... in lay man's language.... they can be leaked. It can be the case with any database, but Google is just too large and bloated... if it all explodes, it wont be anything less than a Big Bang ;).&lt;br /&gt;&lt;br /&gt;I am not concerned for those who use Google for mere searching but for those who search just to use Google :). The Human Rights Activists might just be irritating but they do have a point.&lt;br /&gt;&lt;br /&gt;Take this, would you like your child just sit on a Google desktop and search for his assignments..... NO ......never. It's equivalent to killing his ability to compare.... to dominate, to have his own opinion. It's necessary that he has multitude of paths to soak in knowledge. It would be funny if he's given a single Encyclopedia to read and solve his queries.... how so ever big this encyclopedia is.... it's just too small for this creativity called brain.&lt;br /&gt;&lt;br /&gt;So be a bit careful while using any service which can source in your information, I have seen some of the brighter human activists in this field( including me myself ) who try to distribute information rather than concentrating on singleton.&lt;br /&gt;&lt;br /&gt;Happy Googling !!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-2095811187445547973?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/2095811187445547973/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/02/google-behind-scenes.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/2095811187445547973'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/2095811187445547973'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/02/google-behind-scenes.html' title='Google -- Behind the Scenes'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-5082875679115071608</id><published>2009-02-19T10:20:00.000-08:00</published><updated>2009-02-19T10:28:54.759-08:00</updated><title type='text'>"THE" Most hillarious chat i've experienced :D</title><content type='html'>Guys guys guys.... this is an out of world experience and I am glad to be back with some real real wrecky stuff. I accepted an arbit chat( Jabber/Google ) request and had some real mind boggling conversations with this gal( I really doubt so :P ).&lt;br /&gt;&lt;br /&gt;Without waiting for longer have a look at what hemphushpa kumari has to say :D&lt;br /&gt;&lt;br /&gt;( I know it's a damn crazy name ;) )&lt;br /&gt;&lt;br /&gt;﻿&lt;span style="font-size:85%;"&gt;(09:37:44  IST) Kumari Hempushpa: namste jeeee&lt;br /&gt;(09:38:03  IST) snktagarwal@gmail.com/HomeD7CA0F64: hey hi&lt;br /&gt;(09:38:19  IST) Kumari Hempushpa: kaise ho aap?&lt;br /&gt;(09:38:32  IST) Kumari Hempushpa: kya kar rahe ho?&lt;br /&gt;(09:38:36  IST) snktagarwal@gmail.com/HomeD7CA0F64: sorry but i am really bad at memory&lt;br /&gt;(09:38:39  IST) Kumari Hempushpa: aap kahan rahte ho&lt;br /&gt;(09:38:44  IST) snktagarwal@gmail.com/HomeD7CA0F64: didnt recognize u&lt;br /&gt;(09:39:09  IST) Kumari Hempushpa: aap itni angrezi kyon bolte ho kya hindi nahi aati kya.....&lt;br /&gt;(09:40:03  IST) Kumari Hempushpa: me bhi aapko jada to nahi jaanti par aapki tasveer dekh kar aap se baat karne ka man kiya&lt;br /&gt;(09:40:42  IST) Kumari Hempushpa: aap to bade mast dikhte ho ji.....&lt;br /&gt;(09:41:02  IST) Kumari Hempushpa: kya hua......&lt;br /&gt;(09:41:27  IST) Kumari Hempushpa: aap ke paas hum se baat karne ka waqt nahi hai kya?&lt;br /&gt;(09:41:38  IST) Kumari Hempushpa: kuch bolte kyon nahi?&lt;br /&gt;(09:41:44  IST) snktagarwal@gmail.com/HomeD7CA0F64: dekhiye main abhi bahut busy hun&lt;br /&gt;(09:41:54  IST) snktagarwal@gmail.com/HomeD7CA0F64: so main aapse kal hi baat karpaunga&lt;br /&gt;(09:42:04  IST) snktagarwal@gmail.com/HomeD7CA0F64: kripiya abhi mujhe izazat de&lt;br /&gt;(09:42:11  IST) snktagarwal@gmail.com/HomeD7CA0F64: kaisi lagi meri hindi :D&lt;br /&gt;(09:42:15  IST) Kumari Hempushpa: kyon aaj aisa kya hai ....mujhe to abhi baat karni hai&lt;br /&gt;(09:42:21  IST) Kumari Hempushpa: aap kitne gande hain&lt;br /&gt;(09:42:33  IST) snktagarwal@gmail.com/HomeD7CA0F64: kal bat karte hain&lt;br /&gt;(09:42:39  IST) snktagarwal@gmail.com/HomeD7CA0F64: waise aap hain kahan se&lt;br /&gt;(09:42:40  IST) snktagarwal@gmail.com/HomeD7CA0F64: ?&lt;br /&gt;(09:42:45  IST) Kumari Hempushpa: ghar se&lt;br /&gt;(09:43:29  IST) Kumari Hempushpa: aap bhi ghar se ho naa...&lt;br /&gt;(09:44:15  IST) snktagarwal@gmail.com/HomeD7CA0F64: ok aapka koi orkut acc hai&lt;br /&gt;(09:44:16  IST) snktagarwal@gmail.com/HomeD7CA0F64: ?&lt;br /&gt;(09:44:21  IST) snktagarwal@gmail.com/HomeD7CA0F64: to link dedo&lt;br /&gt;(09:44:25  IST) snktagarwal@gmail.com/HomeD7CA0F64: main dekh lunga :)&lt;br /&gt;(09:44:42  IST) Kumari Hempushpa: wo kya hota hota hai?&lt;br /&gt;(09:44:49  IST) Kumari Hempushpa: darasal hame jada pata nahi hai&lt;br /&gt;(09:44:55  IST) Kumari Hempushpa: in sab k baare me&lt;br /&gt;(09:45:02  IST) snktagarwal@gmail.com/HomeD7CA0F64: "in sab"??&lt;br /&gt;(09:45:19  IST) snktagarwal@gmail.com/HomeD7CA0F64: ok kam baat karte hain na&lt;br /&gt;(09:45:21  IST) snktagarwal@gmail.com/HomeD7CA0F64: kal*&lt;br /&gt;(09:45:30  IST) Kumari Hempushpa: ye jo bhi aapne bola chirkut orkut pata nahi kya kya&lt;br /&gt;(09:46:03  IST) Kumari Hempushpa: aap bhot busy vyast rahte ho kya&lt;br /&gt;(09:46:23  IST) Kumari Hempushpa: aisa bhi kya kaam karte hai aap&lt;br /&gt;(09:46:43  IST) Kumari Hempushpa: boliye naa aap&lt;br /&gt;(09:46:54  IST) Kumari Hempushpa: aap bhot dheere likhte ho&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;﻿(09:47:58  IST) hempushpa.kumari@gmail.com: aapko likhne kaa jada abhyaas nahi hai kya?&lt;/span&gt;&lt;br /&gt;---------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Wuff Heck of a time but there's more.............&lt;br /&gt;&lt;br /&gt;---------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;﻿&lt;span style="font-size:85%;"&gt;(01:46:25  IST) Kumari Hempushpa: oye ab toh hadd ho gayi.. saale kutte kamine, harimi, kulta, samajh nahi aata ki uttar dena chahiye!!&lt;br /&gt;(02:16:08  IST) Kumari Hempushpa: hello&lt;br /&gt;(02:16:21  IST) snktagarwal@gmail.com/HomeE7D925E0: boliye&lt;br /&gt;(02:16:30  IST) Kumari Hempushpa: saale kutte&lt;br /&gt;(02:16:31  IST) Kumari Hempushpa: kamine&lt;br /&gt;(02:16:34  IST) Kumari Hempushpa: harami&lt;br /&gt;(02:16:36  IST) Kumari Hempushpa: kulta&lt;br /&gt;(02:16:41  IST) snktagarwal@gmail.com/HomeE7D925E0: ok aur koi gaali&lt;br /&gt;(02:16:48  IST) Kumari Hempushpa: haan hai na&lt;br /&gt;(02:16:51  IST) snktagarwal@gmail.com/HomeE7D925E0: thodi achichi lage mujhe jo&lt;br /&gt;(02:16:55  IST) snktagarwal@gmail.com/HomeE7D925E0: bol do&lt;br /&gt;(02:17:11  IST) snktagarwal@gmail.com/HomeE7D925E0: kya hua?&lt;br /&gt;(02:17:21  IST) snktagarwal@gmail.com/HomeE7D925E0: koi dikkat nahi hai.... boliye aap&lt;br /&gt;(02:17:26  IST) Kumari Hempushpa: kya hua&lt;br /&gt;(02:17:40  IST) Kumari Hempushpa: aap pehle bol kyun nahi rahe the&lt;br /&gt;(02:17:46  IST) Kumari Hempushpa: hume gussa aa gaya&lt;br /&gt;(02:17:55  IST) Kumari Hempushpa: isiliye thoda sa suna diya&lt;br /&gt;(02:18:00  IST) Kumari Hempushpa: bas thoda sa&lt;br /&gt;(02:18:20  IST) Kumari Hempushpa: aap hindi bolte hue kitne achche lagte hain&lt;br /&gt;(02:18:29  IST) Kumari Hempushpa: hum aapse pyaar karne lage hain&lt;br /&gt;(02:18:52  IST) snktagarwal@gmail.com/HomeE7D925E0: aap is tarah gussa karengi.... to kaise kaam chalega&lt;br /&gt;(02:19:01  IST) Kumari Hempushpa: muaahhhh&lt;br /&gt;(02:19:26  IST) Kumari Hempushpa: aaj raat 12 baje aap kya kar rahe hain???&lt;br /&gt;(02:19:48  IST) Kumari Hempushpa: kahiye na&lt;br /&gt;(02:19:57  IST) snktagarwal@gmail.com/HomeE7D925E0: what?&lt;br /&gt;(02:20:17  IST) snktagarwal@gmail.com/HomeE7D925E0: aaj to assignment karna hai&lt;br /&gt;(02:20:32  IST) snktagarwal@gmail.com/HomeE7D925E0: 12 baje raat ko..... samjha nahi kuch main&lt;br /&gt;(02:20:50  IST) Kumari Hempushpa: hum samjha denge..&lt;br /&gt;(02:20:52  IST) Kumari Hempushpa: aap bus aa jao..&lt;br /&gt;(02:21:28  IST) snktagarwal@gmail.com/HomeE7D925E0: kya samjhayengi aap&lt;br /&gt;(02:21:36  IST) snktagarwal@gmail.com/HomeE7D925E0: aur aap hain kaun&lt;br /&gt;(02:22:19  IST) Kumari Hempushpa: hum jo bhi hain&lt;br /&gt;(02:22:28  IST) Kumari Hempushpa: hume aapse bahut pyaar hai...&lt;br /&gt;(02:22:35  IST) Kumari Hempushpa: muaah...&lt;br /&gt;(02:23:28  IST) snktagarwal@gmail.com/HomeE7D925E0: ok&lt;br /&gt;(02:23:35  IST) snktagarwal@gmail.com/HomeE7D925E0: to kya karengi aap&lt;br /&gt;(02:23:41  IST) snktagarwal@gmail.com/HomeE7D925E0: raat ko 12 baje :D&lt;br /&gt;(02:26:17  IST) snktagarwal@gmail.com/HomeE7D925E0: ok whoever are u&lt;br /&gt;(02:26:30  IST) snktagarwal@gmail.com/HomeE7D925E0: mujhe aapki bakwaas mein jyada interest nahi hai&lt;br /&gt;(02:26:43  IST) snktagarwal@gmail.com/HomeE7D925E0: to aaj ke baad mujhe tang mat karna&lt;br /&gt;(02:26:44  IST) snktagarwal@gmail.com/HomeE7D925E0: bbye&lt;br /&gt;&lt;/span&gt;----------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;I seemed to almost get away with the bull shit she was talking, but finally gained control of my earthly sense( want to thank someone here ;) ).&lt;br /&gt;&lt;br /&gt;Wait Wait......... dont go newhere.................&lt;br /&gt;&lt;br /&gt;----------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;﻿(02:26:54  IST) Kumari Hempushpa: arey nahi&lt;br /&gt;(02:26:55  IST) Kumari Hempushpa: ruko&lt;br /&gt;(02:27:07  IST) Kumari Hempushpa: mujhe aise chod kar nahi jaa sakte&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;Maybe it's time that we bid gudbye........ to Kumari Hemphushpa........ and to her amazingly bakwaas talks.........&lt;br /&gt;&lt;br /&gt;Wuffffffffffffffffffffff&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-5082875679115071608?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/5082875679115071608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/02/most-hillarious-chat-ive-experienced-d.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/5082875679115071608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/5082875679115071608'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/02/most-hillarious-chat-ive-experienced-d.html' title='&quot;THE&quot; Most hillarious chat i&apos;ve experienced :D'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-1298410365081104733</id><published>2009-02-14T03:26:00.000-08:00</published><updated>2009-02-14T03:46:41.161-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Valentine&apos;s'/><category scheme='http://www.blogger.com/atom/ns#' term='Day'/><category scheme='http://www.blogger.com/atom/ns#' term='Frustration'/><title type='text'>Fruuuuusssssstapa...... flush it OUT :D</title><content type='html'>I must say that looking at the gtalk statuses, it's been a weird BIG thing that is pretty common and floating amongst the Kgp students. I always thought that it was supposed to be a mild rumour( I myself get frusted sometime :P but not of lack of contact with girls, please excuse me..... :D ), but it came out to be a hard to swallow reality.&lt;br /&gt;&lt;br /&gt;wuff.............&lt;br /&gt;&lt;br /&gt;Let's bump and rock through the most, i must say they are rather disgusting, awful Status Messages on the Valentine's Day eve........&lt;br /&gt;&lt;br /&gt;1. &lt;b&gt;Resource&lt;/b&gt;: Talk.v104FF90838F&lt;br /&gt;&lt;b&gt;   Status&lt;/b&gt;: Do Not Disturb: happy FRUSSSTTTTT day !!!&lt;br /&gt;&lt;br /&gt;The resource is just a token of the fact that i am not copying or making'em up myself. You can easily exploit this to get to the user..... naa.... not that easy though :D:D&lt;br /&gt;&lt;br /&gt;2.&lt;b&gt;Resource&lt;/b&gt;: Talk.v1046C9F0CCC&lt;b&gt;&lt;br /&gt;  Status&lt;/b&gt;: Away: Dont u guys ve ne other thing to do except reading people's &lt;br /&gt;  Status messages ???&lt;br /&gt;&lt;br /&gt;Hope he's away, or even better passed out..... ;)&lt;br /&gt;&lt;br /&gt;3. &lt;b&gt;Resource&lt;/b&gt;: TalkGadget25593417&lt;br /&gt;&lt;b&gt;   Status&lt;/b&gt;: Available: People say that love is in every corner... I must be walking&lt;br /&gt;   in circles&lt;br /&gt;&lt;br /&gt;Poor he..... :( . Go and learn Geometry of class 9th.... brrrrr&lt;br /&gt;&lt;br /&gt;4. &lt;b&gt;Resource&lt;/b&gt;: TalkGadget3C1A115B&lt;br /&gt;&lt;b&gt;   Status&lt;/b&gt;: Available: happier den ever b4... wat else do i need........ :D&lt;br /&gt;&lt;br /&gt;Damn you need some medicine of........ :P&lt;br /&gt;&lt;br /&gt;5. &lt;b&gt;Resource&lt;/b&gt;: Talk.v1046966F0F3&lt;br /&gt;&lt;b&gt;   Status&lt;/b&gt;: Available: waiting for you...&lt;br /&gt;&lt;br /&gt;What, really...... i am doubtful it's a gal :P&lt;br /&gt;&lt;br /&gt;6. &lt;b&gt;Resource&lt;/b&gt;: Talk.v104CAB50C6B&lt;br /&gt;&lt;b&gt;   Status&lt;/b&gt;: Available: Overheard at kgp :&lt;br /&gt;   1. "Lagta hai mai shaadi ke baad hi valentine's day manaunga!!".&lt;br /&gt;   2. To another guy, "Be my Valentine!". Guy, "Sure!!"&lt;br /&gt;   3. "Valentine's Day ko itna hype kyon dete hai? IITians ki to bandi hoti nahi &lt;br /&gt;        hai"&lt;br /&gt;   4. "Mein pakka ek bandi se hi shaadi karunga "&lt;br /&gt;   Koi nahi kgp junta, sabka din aayega load nahi hai :P&lt;br /&gt;&lt;br /&gt;He's super frusst....... just give him a shoulder after he passes while boozing all night.... SUPER UGLY!!!!&lt;br /&gt;&lt;br /&gt;7. &lt;b&gt;Resource&lt;/b&gt;: Talk.v104281A9363&lt;br /&gt;&lt;b&gt;   Status&lt;/b&gt;: Do Not Disturb: Have Fear... V-Day is Here....&lt;br /&gt;&lt;br /&gt;Go to hell........ what are u afraid of..... damn i never heard a Valentinophobia.&lt;br /&gt;&lt;br /&gt;8. &lt;b&gt;Resource&lt;/b&gt;: Talk.v104FFCE4501&lt;br /&gt;&lt;b&gt;   Status&lt;/b&gt;: Away: This VALENTINE is again going to be exiting and&lt;br /&gt;              SPECIAL........... :blush................... pata nahi SHIV SAINIK'S is bar kya&lt;br /&gt;              karenge........ :P&lt;br /&gt;&lt;br /&gt;This makes some little sense......&lt;br /&gt;&lt;br /&gt;9. &lt;b&gt;Resource&lt;/b&gt;: Talk.v104D37DD7E5&lt;br /&gt;&lt;b&gt;    Status&lt;/b&gt;: Away: Gravitation can not be held responsible for people falling in&lt;br /&gt;                   love." ~Albert Einstein&lt;br /&gt;&lt;br /&gt;What, U really mean that... plz dont be kidding. FYI, this is real sad to know that a plump like you is helping his way through excuse of gravity.... this is insane.&lt;br /&gt;&lt;br /&gt;And FYI of junta reading (9) the person is not a Kgpian..... so give him max gaali :D:D:D:D&lt;br /&gt;&lt;br /&gt;I think even I am perplexed at whats goin on in here...... the condition is presumably dismal.... more than what I ever expected from a civilized junta. Guys, guys, guys( there are too few gals to call upon :D ), relax it out. The temptation to get materialistic is obvious but you cant be pessimistic if you dont have what others THINK they possess. It's just bloody state of mind. Kill it out and chill it up......&lt;br /&gt;&lt;br /&gt;Njoy the day........ and fcuk you 8-).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-1298410365081104733?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/1298410365081104733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/02/fruuuuusssssstapa-flush-it-out-d.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/1298410365081104733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/1298410365081104733'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/02/fruuuuusssssstapa-flush-it-out-d.html' title='Fruuuuusssssstapa...... flush it OUT :D'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-8850144462680868100</id><published>2009-02-13T03:46:00.000-08:00</published><updated>2009-02-13T04:09:52.479-08:00</updated><title type='text'>Should I HUG, PROPOSE or KISS.... KISS may be :P</title><content type='html'>7 to 14 Feb.... how do they even matter to you.... well if u have a Gal and are just confused what to do... i mean Hug, Propose or Kiss.... this might help you, if not this time maybe next year :D:D:D:D&lt;br /&gt;&lt;br /&gt;So let's start with this obfuscated journey through the meanders of Love which have been so far extricably discussed by some of the most beautiful minds of the world..... not to mention likes of Shakespeare.&lt;br /&gt;&lt;br /&gt;Well here's a pretty authentic exhaustive list of the week's curvature:&lt;br /&gt;&lt;br /&gt;7 Feb Rose Day&lt;br /&gt;8 Feb Propose Day / Slap Day&lt;br /&gt;9 Feb Chocolate Day&lt;br /&gt;10 Feb Teddy Day&lt;br /&gt;11 Feb Promise Day&lt;br /&gt;12 Feb Kiss Day&lt;br /&gt;13 Feb Hug Day&lt;br /&gt;14 Feb Valentine’s Day&lt;br /&gt;&lt;br /&gt;The valentine weeks starts with rose day in which roses are presented to your sweetheart. The next day Propose day is to propose your love (if you get a slap back celebrate it as slap day), Feb 9 and 10 are chocolate and teddy days in which these are given as gifts.&lt;br /&gt;&lt;br /&gt;Now you promise your sweetheart to stay forever hers. ( Only if u r joking :P :D )&lt;br /&gt;&lt;br /&gt;Wooooo....... this is my best part....&lt;br /&gt;&lt;br /&gt;U become a Amitabh and sing this famous song on the eve of 12 Feb,&lt;br /&gt;&lt;br /&gt;"Jumma Chumma dede,&lt;br /&gt; Jumma Chumma dede Chumma. "&lt;br /&gt;&lt;br /&gt;Just see u get the intention just right else u wud go into an infinite loop b/w kiss day and hug day..... hehe :P.&lt;br /&gt;&lt;br /&gt;I think the hug part is really not important, what the hell, it's damn important.... it's the only way to say ur baby....... i am all yours, your soal and your extension.&lt;br /&gt;&lt;br /&gt;Guys and Gals, if there's someone waiting and longing for you..... make this week a special for him/her..... they'll be privilaged to have such a great hubby.&lt;br /&gt;&lt;br /&gt;Well my best day....... no guesses Guys...... and all the Gals reading it.... hahaha......&lt;br /&gt;&lt;br /&gt;"Chumma Chumma dede chumma...... :D"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-8850144462680868100?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/8850144462680868100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/02/should-i-hug-propose-or-kiss-kiss-may.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/8850144462680868100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/8850144462680868100'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/02/should-i-hug-propose-or-kiss-kiss-may.html' title='Should I HUG, PROPOSE or KISS.... KISS may be :P'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-3631745253116575629</id><published>2009-01-31T01:23:00.000-08:00</published><updated>2009-01-31T01:44:48.947-08:00</updated><title type='text'>The FANTASTIC FOUR</title><content type='html'>Hi all.... it's Jan 31 and quite a dramatic day.... i wont use the word dramatic but rather eventual, where you just love the flow of events!!&lt;br /&gt;&lt;br /&gt;The Fantastic Four must have struck to u as the famed TV series and the comic basher. Though i don't have slightest of hint what's it all about... i'll try to weave my own in here :-D!!&lt;br /&gt;&lt;br /&gt;Fantastic four.... hmmmm..... so what is this fantastic four all about!! Hey, hey do you know that i know four Neha's :D, hehe.....&lt;br /&gt;&lt;br /&gt;1. She's the old school friend -- and she's hot by all means :P&lt;br /&gt;2. She's my maternal sis.... mamaji ko namaste :D&lt;br /&gt;3. This is one neha i've talked only twice and met once.... but sometimes singleton == ton!! :P&lt;br /&gt;4. She's the latest entry.... but it feels like me, her and gtalk are made for each other :P&lt;br /&gt;&lt;br /&gt;Now the thing with Neha's in my life is this.... whenever they do something i have to cry a lot, the third Neha that i met was not a consious effort! I referred the first Neha and she advised me so.... i know, i know it's damn amazing :P. Btw i had to cry because i came all wet in rain and the meet was almost futile.&lt;br /&gt;&lt;br /&gt;Then I got this Birthday Card from the fourth Neha... she's a State of Art intellect from BITS Pilani( no pun intended ), and what was written in the card made me almost hysteric, it's such a pleasure to have all you neha's!! But again the fact that all neha's make me cry though in different modes.... makes me laugh a lot.&lt;br /&gt;&lt;br /&gt;Haha.....&lt;br /&gt;&lt;br /&gt;Well there's another FAN 4 that u need to look out for... the last 4 days have been the most fantastic of my life. Ok have a look at this....&lt;br /&gt;&lt;br /&gt;There's a video given to u, there are cars passing through it and your job is to identify the fastest car... get a suitable frame out of the car, extract the number plate and mark it with a box. Not had enof... u'll have to identify the number scribbled in the plate.&lt;br /&gt;&lt;br /&gt;Now that's some heck of a statement. But the sorta extreme programming i have been going through, it's been amazing to see how an individual lifts himself in time of crisis AND fervour. Of course here it's fervour :P&lt;br /&gt;&lt;br /&gt;FYI, i with my worthy intellect Rohit Hiwale worked in Matlab. Now matlab is one heck of monolithic marvel. You just cannot get out of the box once you enter Matlab. The best, no where do you need to reinvent the wheel. We used Image Processing and my job was Video Processing.&lt;br /&gt;&lt;br /&gt;Feels geeky, FYI again.... i had no knowledge of Processing Images or Videos, but MATLAB makes it so very abstract that you just need the programming skill.... the algorithm part is blown apart from your head.&lt;br /&gt;&lt;br /&gt;Not only processing.... my other job was to prepare a Arificial Neural Network( ANN ), wow wow wow, ANN sounds super hot and cool, right!!&lt;br /&gt;&lt;br /&gt;Well it is that way.... and again matlab keeps the complexity on it's shoulders :D. I refer Matlab to everybody who's interested in ne sort of coding relaed abstract job. Do visit matlab and see if things can be achieved from there on... things generally happen intuitively in matlab :P&lt;br /&gt;&lt;br /&gt;Hats off to the MathWorks team and these Fantastic 4 dayz.......&lt;br /&gt;&lt;br /&gt;Chao&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-3631745253116575629?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/3631745253116575629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/01/fantastic-four.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/3631745253116575629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/3631745253116575629'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/01/fantastic-four.html' title='The FANTASTIC FOUR'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-3812304247243838077</id><published>2009-01-25T23:48:00.000-08:00</published><updated>2009-01-26T00:16:50.163-08:00</updated><title type='text'>The HECTIC few dayz!! CASE STUDY</title><content type='html'>Well it has almost been 10 days since i have even thought of posting a blog. Let's talk through what all happened,&lt;br /&gt;&lt;br /&gt;Starting from Jan 17th it was the old mundane life but with an Inter Hall event Case Study round the corner, 19th Jan, life became super duper hectic ;-)!!&lt;br /&gt;&lt;br /&gt;I had, wth help of my Gen Sec, arranged a Xavier Mangmnt Insti, Bangalore professor, Prof. Subhasis Ray. Well the event was at Vikramshila halls, and no doubt i had to toil my sweat out to arrange it, but as always is... it's fun to see when things start rollin'.&lt;br /&gt;&lt;br /&gt;The event started in time( a rarity in Kgp ), and to the utter surprise ended 1.5 hrs before we estimated( for Kgp it's a miracle ), now thats precision and wonderful execution. :D&lt;br /&gt;&lt;br /&gt;All was well, but congratulation for such a marvellous event DIDNT actually come :(. Well u must be surprised at it. The thing with the General Championship is that the marks of the event are more important to the Halls then the event itself.&lt;br /&gt;&lt;br /&gt;I didnt see any hall stay back after their presentation to actually have views of others, rather they had made their hall representatives have an eye over me so that i may do my job unbiased! U know this feeling that pple really dont believe u, only because they dont want to, is really sinking.&lt;br /&gt;&lt;br /&gt;Newayz i am the organizer and critics are my Bosses :P.&lt;br /&gt;&lt;br /&gt;The worst part guys, yeah again Kgpians might have guessed it. Have them one big chunk of scrap at a time, Chaoses:&lt;br /&gt;&lt;br /&gt;1. The rule says u cannot metion the hall name, member's name or reveal any hall identity BECAUSE it might influence the Judje. Well technically speaking this is all for internal judjes who might be themselves had some hall biasness.&lt;br /&gt;&lt;br /&gt;The chaos ovr the rule: A team member summoned ovr a member of his team by name, just to give the mike. And u know what after the event the CHAOS bell.&lt;br /&gt;&lt;br /&gt;The remedies: Rule should have been for inhouse judjes. WTFFFFF!!!!&lt;br /&gt;&lt;br /&gt;2. One team member was in full steam... rather overheaded with steam :D. When time was called he exceeded the limit by 5 sec in order to complete the statement. But as u might have guessed.... CHAOS!!!!&lt;br /&gt;&lt;br /&gt;Plz Halls be sensible... i know that cannot happen, but atleast try to change this dirty trend! The mud slinging and no-interest-in-event and all-chaos-and-points thingy is really not cool. I alwayz mention in my posts to all hall General Secy's, use common sense.&lt;br /&gt;&lt;br /&gt;But as another part of this distorted coin, i am thankful to GSec's for being supportive and flexible before events. This helps us a lot to organize stuff where we can actually do somethin', where we actually have the liberty to think, where we feel like we have the authority!!!&lt;br /&gt;&lt;br /&gt;Thank u all&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-3812304247243838077?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/3812304247243838077/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/01/hectic-few-dayz-case-study.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/3812304247243838077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/3812304247243838077'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/01/hectic-few-dayz-case-study.html' title='The HECTIC few dayz!! CASE STUDY'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-333087354225548146</id><published>2009-01-17T07:51:00.000-08:00</published><updated>2009-01-17T07:58:19.806-08:00</updated><title type='text'>C Up your skills!!</title><content type='html'>Well this is the second part of C Up your skills. And lemme tell u it's real time obfuscation.....&lt;br /&gt;&lt;br /&gt;The code is working but it aims to solve the tower of hanoi!&lt;br /&gt;&lt;br /&gt;And some changes need to be made in order to make it work. The changes are per character and maximum 10 such changes are available:&lt;br /&gt;&lt;br /&gt;#include&lt;stdio.h&gt;&lt;br /&gt;#include&lt;stdlib.h&gt;&lt;br /&gt;static signed char a[] = {'i','n','v','a','l','i','d','\0','b','y','e','\0','r','e','m','o','v','e',' ','%','d',' ','f','r','o','m',' ','%','s',' ','t','o',' ','%','s','\n','\0'}, *b = a+8, *c = a+14, *w, *x, *u, *y, *z; int main(int d, char *e[]) {int r, n;return r=(d==6?0*(*(y=e[2]),*(u=e[3]),*(z=e[4])):0*puts(a) +1)||(((w = e[1]) &amp;amp;&amp;amp; w[0] == 's')?0:0*puts(b) + 1)||((w[1] == 'o')?0:0*puts(b) + 1)||((w[2] == 'l')?0:0*puts(b) + 1)||((w[3] == 'v')?0:0*puts(b) + 1)||((w[4] != 'e')?0*puts(b) + 1:((n=atoi(x=e[5])),(n ==1)?0*printf(c, n, e[2], e[3]):(sprintf(x, "%d", n-1),e[3]=z,e[4]=u, main(6,e),printf(c,n, e[2], e[4]),e[2] = z,e[3] = u, e[4] = y, main(6, e), e[2]=y,e[3] = u, e[4] = z,sprintf(x, "%d", n))));}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I know it's real ugly maybe i might help in a bit of indentation:&lt;br /&gt;&lt;br /&gt;#include&lt;stdio.h&gt;&lt;br /&gt;#include&lt;stdlib.h&gt;&lt;br /&gt;static signed char a[] = {'i','n','v','a','l','i','d','\0','b','y','e','\0','r','e','m','o','v','e',' ','%','d',' ','f','r','o','m',' ','%','s',' ','t','o',' ','%','s','\n','\0'}, *b = a+8, *c = a+14, *w, *x, *u, *y, *z;&lt;br /&gt;&lt;br /&gt;int main(int d, char *e[])&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;  int r, n;&lt;br /&gt;  return r=(d==6?0*(*(y=e[2]),*(u=e[3]),*(z=e[4])):0*puts(a) +1)||(((w = e[1]) &amp;amp;&amp;amp; w[0] == 's')?0:0*puts(b) + 1)||((w[1] == 'o')?0:0*puts(b) + 1)||((w[2] == 'l')?0:0*puts(b) + 1)||((w[3] == 'v')?0:0*puts(b) + 1)||((w[4] != 'e')?0*puts(b) + 1:((n=atoi(x=e[5])),(n ==1)?0*printf(c, n, e[2], e[3]):(sprintf(x, "%d", n-1),e[3]=z,e[4]=u,e[5]=x, main(6,e),printf(c,n, e[2], e[4]),e[2] = z,e[3] = u, e[4] = y, main(6, e), e[2]=y,e[3] = u, e[4] = z,sprintf(x, "%d", n))));&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Well refer to the original code of tower of hanoi. Here's a snapshot of it:&lt;br /&gt;&lt;br /&gt;#include &lt;stdio.h&gt;&lt;br /&gt;int towerOfHanoi(int noOfDisc,&lt;br /&gt;                   char source,&lt;br /&gt;                   char destination,&lt;br /&gt;                   char third&lt;br /&gt;                 ) // towerHanoi.c&lt;br /&gt;{&lt;br /&gt;     if(noOfDisc == 0) { return 0; } // Basis&lt;br /&gt;     {&lt;br /&gt;        int noOfMoves ;&lt;br /&gt;&amp;amp;                                             %&lt;br /&gt;        noOfMoves = towerOfHanoi(noOfDisc-1,&lt;br /&gt;                   source, third, destination);&lt;br /&gt;    printf("%c -&gt; %c ", source, destination);&lt;br /&gt;    ++ noOfMoves ;&lt;br /&gt;    noOfMoves += towerOfHanoi(noOfDisc-1,&lt;br /&gt;                   third, destination, source);&lt;br /&gt;    return noOfMoves ;&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So this is a generic code.... u might run the buggy code by:&lt;br /&gt;&lt;br /&gt;./a.out solve s d t 10&lt;br /&gt;&lt;br /&gt;Here s is source&lt;br /&gt;d-destination&lt;br /&gt;t-third pole&lt;br /&gt;10 is the value to solve&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Help me guys...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-333087354225548146?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/333087354225548146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/01/c-up-your-skills_17.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/333087354225548146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/333087354225548146'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/01/c-up-your-skills_17.html' title='C Up your skills!!'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-3366188991574590246</id><published>2009-01-16T00:16:00.000-08:00</published><updated>2009-01-16T00:20:37.929-08:00</updated><title type='text'>Unix...... the funny side ;-)</title><content type='html'>Well guys.... had enof of the black screen!! Got bored off the repeated commands, cat, echo, ls, man, apt-get huha and foobar..... then let's see the funny side of it:&lt;br /&gt;&lt;br /&gt;Well i didnt write it... but still considering it's open source i copy it under GNU GPL v 1.2 :P&lt;br /&gt;&lt;br /&gt;Funny Unix csh/sh commands:&lt;br /&gt;&lt;br /&gt;% cat "food in cans"&lt;br /&gt;cat: can't open food in cans&lt;br /&gt;&lt;br /&gt;% nice man woman&lt;br /&gt;No manual entry for woman.&lt;br /&gt;&lt;br /&gt;% rm God&lt;br /&gt;rm: God nonexistent&lt;br /&gt;&lt;br /&gt;% ar t God&lt;br /&gt;ar: God does not exist&lt;br /&gt;&lt;br /&gt;% ar r God&lt;br /&gt;ar: creating God&lt;br /&gt;&lt;br /&gt;% "How would you rate Quayle's incompetence?&lt;br /&gt;Unmatched ".&lt;br /&gt;&lt;br /&gt;% Unmatched ".&lt;br /&gt;Unmatched ".&lt;br /&gt;&lt;br /&gt;% [Where is Jimmy Hoffa?&lt;br /&gt;Missing ].&lt;br /&gt;&lt;br /&gt;% ^How did the sex change operation go?^&lt;br /&gt;Modifier failed.&lt;br /&gt;&lt;br /&gt;% If I had a ( for every $ the Congress spent, what would I have?&lt;br /&gt;Too many ('s.&lt;br /&gt;&lt;br /&gt;% make love&lt;br /&gt;Make: Don't know how to make love. Stop.&lt;br /&gt;&lt;br /&gt;% sleep with me&lt;br /&gt;bad character&lt;br /&gt;&lt;br /&gt;% got a light?&lt;br /&gt;No match.&lt;br /&gt;&lt;br /&gt;% man: why did you get a divorce?&lt;br /&gt;man:: Too many arguments.&lt;br /&gt;&lt;br /&gt;% !:say, what is saccharine?&lt;br /&gt;Bad substitute.&lt;br /&gt;&lt;br /&gt;% %blow&lt;br /&gt;%blow: No such job.&lt;br /&gt;&lt;br /&gt;% \(-&lt;br /&gt;(-: Command not found.&lt;br /&gt;&lt;br /&gt;$ PATH=pretending! /usr/ucb/which sense&lt;br /&gt;no sense in pretending!&lt;br /&gt;&lt;br /&gt;$ drink matter&lt;br /&gt;matter: cannot create&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;All coutesy David G Wiseman............ hahaha!!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-3366188991574590246?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/3366188991574590246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/01/unix-funny-side.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/3366188991574590246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/3366188991574590246'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/01/unix-funny-side.html' title='Unix...... the funny side ;-)'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-4939228193466562294</id><published>2009-01-15T08:25:00.000-08:00</published><updated>2009-01-15T08:49:28.878-08:00</updated><title type='text'>C Up your skills!!</title><content type='html'>&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;strong&gt;&lt;span style="font-weight: bold;"&gt;Debug the following program. What does the debugged program do?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; #include&lt;stdio.h&gt;&lt;/stdio.h&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; #define REP(t,n) for(t=n;t;t--,t&amp;amp;=n)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; typedef int *abc(int a);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; int func(int n)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; int t;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; REP(t,n)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; printf("%3d",t);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; return 0;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; int main()&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; int n=9;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; abc f1;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; f1=func;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; f1(n);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; return 0;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;Well this is one of the best questions i have ever came across( in terms of trick they have :P )!&lt;br /&gt;&lt;br /&gt;First part first: the error.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Well u wud not notice but it is sorta syntactical error... and such codes are sometimes called obfuscated codes!!&lt;br /&gt;&lt;br /&gt;Well for the first part the error lies in typedef.... statement:&lt;br /&gt;&lt;br /&gt;Correct form: typedef int (*abc)(int  a);&lt;br /&gt;&lt;br /&gt;because else the precedence will say somethin else, it'll take int * and typedef to abc(int a) which is weird, i dont know how the code for this line even compiled.... by the way it's C, so u expect obfuscation a lot :P!!&lt;br /&gt;&lt;br /&gt;But the next intersting part..... how shall u guess what the program is doin.&lt;br /&gt;&lt;br /&gt;First the macro can be put directly in int func(...), to get:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;strong&gt;&lt;span style="font-weight: bold;"&gt;nt func(int n)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; int t;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;strong&gt;&lt;span style="font-weight: bold;"&gt;for(t=n;t;t--,t&amp;amp;=n)&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;strong&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; printf("%3d",t);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; return 0;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; }&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:100%;"&gt;so we actually get a for loop... interesting hmmmmm.&lt;br /&gt;&lt;br /&gt;But thats the simpler part.... take this.... the output: n=9&lt;br /&gt;o/p: 9 8 1&lt;br /&gt;&lt;br /&gt;Now u really dont get much hints from here.... if u do.... then why the heck u DONT participate in the event :P&lt;br /&gt;&lt;br /&gt;And now some more outputs for the interest!&lt;br /&gt;&lt;br /&gt;n:88&lt;br /&gt;0/p:  88 80 72 64 24 16  8&lt;br /&gt;&lt;br /&gt;in:31&lt;br /&gt;o/p: 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1&lt;br /&gt;&lt;br /&gt;in:45&lt;br /&gt;o/p:  45 44 41 40 37 36 33 32 13 12  9  8  5  4  1&lt;br /&gt;&lt;br /&gt;Now let's notice the similarity: count the total num of terms,&lt;br /&gt;&lt;br /&gt;n=9 t=3&lt;br /&gt;n=88 t=7&lt;br /&gt;n=31 t=31&lt;br /&gt;n=45 t=15&lt;br /&gt;&lt;br /&gt;Whats so intersting, all are of the form 2^k-1&lt;br /&gt;&lt;br /&gt;Hmmm so whats boiling.... let's take binary of 9&lt;br /&gt;9==1001&lt;br /&gt;&lt;br /&gt;Now if i take all combination of 0's and 1's in the place of 1's of the bin number, we get:&lt;br /&gt;0000(redundant)&lt;br /&gt;0001&lt;br /&gt;1000&lt;br /&gt;1001&lt;br /&gt;&lt;br /&gt;Voila it's the series..... didnt get it... just convert them to decimals!&lt;br /&gt;&lt;br /&gt;Similarly let's take: 31&lt;br /&gt;&lt;br /&gt;31==11111&lt;br /&gt;&lt;br /&gt;Now if u'll take all ppossible combination of 0's and 1's in place of 1's in 31( actually all are one's ), u'll get all numbers from 0-31( 0, is excluded by defualt ), and thats the answer actually!&lt;br /&gt;&lt;br /&gt;Hence the result&lt;br /&gt;&lt;br /&gt;Hope u njoyed the question.........&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-4939228193466562294?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/4939228193466562294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/01/c-up-your-skills.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/4939228193466562294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/4939228193466562294'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/01/c-up-your-skills.html' title='C Up your skills!!'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-7981356561138733050</id><published>2009-01-14T06:55:00.000-08:00</published><updated>2009-01-14T07:07:47.873-08:00</updated><title type='text'>It tasted like success.......</title><content type='html'>Well people really don't realize the raw power of linux..... but to their amaze it's damn true that Linux in any form is just GREAT!!!!&lt;br /&gt;&lt;br /&gt;Well this shall not be one of the long post that i put up... but rather a short one, for some of linux buffs it might be interesting ;-)&lt;br /&gt;&lt;br /&gt;To start with my dear friend Rohit Ramesh Hiwale, messed up with his Ubuntu 8.10 in this way---&gt; He was playin with some installation package, maybe OpenGL( a graphics library ), and he issued a command:&lt;br /&gt;&lt;br /&gt;$&gt;sudo rm -R /usr/lib/GL&lt;br /&gt;&lt;br /&gt;But i really believe he entered some equivalent of:&lt;br /&gt;&lt;br /&gt;$&gt;sudo rm -R /usr/lib/&lt;br /&gt;&lt;br /&gt;So what does that do, it's nothin less then a cold blooded suicide :-D&lt;br /&gt;It removes everything( rm ) recursively, including sub dir's( -f ) and giving sudo( root privellages ), makes it all the less painful for Ubuntu to do it :-D. And it's the library directory, well u cant even compile a C program after that.... so the seriousness is inherent :-)&lt;br /&gt;&lt;br /&gt;And now he's up against the wall.... ahhhh!!!!&lt;br /&gt;&lt;br /&gt;No worries.... i got his technically dead OS workin up and fine as Follows:&lt;br /&gt;&lt;br /&gt;1. I first ran the computer on a Ubuntu 8.10 Live Cd.&lt;br /&gt;2. Set up internet( LAN ) connectivity. ssh'ed into my computer( somthing like connecting to my computer )!&lt;br /&gt;3. Copied all the files for /usr/lib... though many may be incompatible or rather useless so to say,....&lt;br /&gt;4. To our utter surprise it worked.... voila!!!!!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hmmm it tasted like success.... specifically when u analyze the problem and come up with a drastcally innovative solution......&lt;br /&gt;&lt;br /&gt;What we learn: Respect the privellages while working in Linux.... if u dont u r doomed to be destroyed :-D, just like Rohit just did.... :-D&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-7981356561138733050?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/7981356561138733050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/01/it-tasted-like-success.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/7981356561138733050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/7981356561138733050'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/01/it-tasted-like-success.html' title='It tasted like success.......'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-3626722296173295521</id><published>2009-01-09T10:59:00.000-08:00</published><updated>2009-01-09T11:26:47.991-08:00</updated><title type='text'>Servlets: Java and me..... maybe we'll rock :-D</title><content type='html'>Well one thing's for sure. Our SoftEE( it's Software Engeneering ), Professor got it right, at the outset.....&lt;br /&gt;&lt;br /&gt;"Softwares are lagging behing Hardware due to lack of Standard Interfaces"&lt;br /&gt;&lt;br /&gt;It's damn true........ mind my verdict. Because the maximum time even an experienced and professional takes is to get used to interface and installation procedure. Take for example our Java assignment.... well it's no cakewalk to do it in 3 weeks while learning JavaCore/Swings/MySql/Servlets!!!!&lt;br /&gt;&lt;br /&gt;Quite a voila of work........ ;-)&lt;br /&gt;&lt;br /&gt;My latest tryst..... to get the hang of servlets! And it was damn tough and took almost 3-4 hrs. I mean u just cant get hang of this stuff.&lt;br /&gt;&lt;br /&gt;Well for a briefing this is what I did:&lt;br /&gt;&lt;br /&gt;1. Install a Tomcat Server&lt;br /&gt;2. Install an Apache( optional )  for better efficiency.&lt;br /&gt;3. Run it to see some sample java servlets on job :-D&lt;br /&gt;4. Making one of my own.&lt;br /&gt;&lt;br /&gt;If u are on one of the Kgp Lan's, might want to have a go on this link:&lt;br /&gt;&lt;br /&gt;http://10.110.9.200:8080/servlets-examples/servlet/MyHelloWorld&lt;br /&gt;http://10.110.9.200:8080/servlets-examples/servlet/LotteryNumbers&lt;br /&gt;&lt;br /&gt;Well thats just for fun..... not a big deal.... but it's gr8 to see ur code work out of the block.... an amazing site :-D :-D!!!!&lt;br /&gt;&lt;br /&gt;But I really think Java lags badly in speed.&lt;br /&gt;&lt;br /&gt;Well here's some facts that tell why java is so slow....&lt;br /&gt;&lt;br /&gt;Once upon a time( dont sleep mates ) Java was developed to be Platform Independent and so they introduced their own ByteCode and JVM that we all know. The fact is that JVM was always an not so efficient out of blocks.... infact Java thought they would directly include JVM in Hardware.&lt;br /&gt;&lt;br /&gt;Amazing right??!! thats why they never thought of keeping it the way it is today.... but being too ambitous can be harmful. Guys guys, that in no way tells if Java is a faliure.... It's a big success given the facilities and library support and blablazigzaggujhdfskjdh....... ( try doin my SoftEE course... they teach that stuff ) ;-).&lt;br /&gt;&lt;br /&gt;I never thought i would get that much addicted( 4/10 ) on Java... but for a person like me who's still obsessed wth Kerningham( read it C ), paradigm it's pretty refreshing. For a thought i had hands on Python....&lt;br /&gt;&lt;br /&gt;Python is one of the language that attracts but u can't really get in serious programming wth it...... i mean too abstract, but no offences i am developing some gud for nothin Dbus scripts for my favourite client Pidgin/Libpurple.&lt;br /&gt;&lt;br /&gt;But Java has got this quality of Java+MySql+Apache+Tomcat+Servlets... i mean u just can't get enof.&lt;br /&gt;&lt;br /&gt;Hats off to the marketing strategy..... the products are newayz not that gud....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-3626722296173295521?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/3626722296173295521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/01/servlets-java-and-me-maybe-well-rock-d.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/3626722296173295521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/3626722296173295521'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/01/servlets-java-and-me-maybe-well-rock-d.html' title='Servlets: Java and me..... maybe we&apos;ll rock :-D'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-7475257675586191175</id><published>2009-01-04T23:24:00.000-08:00</published><updated>2009-01-05T00:01:08.543-08:00</updated><title type='text'>Techie Talk: Java MySql Connection!!</title><content type='html'>&lt;span style="font-family: trebuchet ms;"&gt;Well this semeser we have a course called Software Engeneering( pretty obvious for comp. sc students :-D ). But what's amazing is we have to learn the whole of Core Java, yes my frnzz WHOLE of it in 3 weeks. Including MySql, JDBC, Swings. Dont worry i just know the names!! &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;For all those who are stuck up with the Java Sql Connection problem here's a post u might be helped with:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;First the steps which actually make the connnection:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;1. Install a MySql server on the computer. It will run on 127.0.0.1 port:3306.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;2. You need the Java Class corresponding to MySql for connection via JDBC( Java Data Base Connection ). &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;3. Make a Data Base with MySql.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;4. Connect to the server with the code.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;5. And Access the Data Base with the username password.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;I will let u in with a example so hang on!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;First of all the OS i am talkin is Debian( Ubuntu as an example ).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;So the following are the steps!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;1. Considering you have APT packaging toolkit installed, or Synaptic. Issue this command on the command line:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;sudo apt-get install mysql-common&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;I take that it might be already installed.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;2. Next install the server,&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;sudo apt-get install mysql-server&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Dont try fancy options. Until you need a specific version. The above will install the most stable and recent version automatically!!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;3. The server shall be starting automatically. So do this to check if it really is:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;ps -e | grep mysqld&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;this will give u an o/p like:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;sanket@sanket-laptop:~$ ps -e | grep mysql&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt; 5480 ?        00:00:00 mysqld_safe&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt; 5522 ?        00:00:00 mysqld&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Thats what my OS shows. A mysqld is enough for now.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;4. Confirm the port on which the server is running. Issue &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;sudo nmap -sS -sV -O -PI -PT 127.0.0.1 2&gt; /dev/null | grep mysql&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;and u shall obtain something like this:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;3306/tcp open  mysql   MySQL 5.0.51a-3ubuntu5.4&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Which tells u that mysql running on 3306. Rest info can be helpful but not now.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;5. Now we shall create a mysql database. We shall be using the root privellages only. They may be changed whenever required.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;6. So start the mysql app by: mysql -p -u root&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Enter the password.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;7. For fun view the Databases already present, issue: show databases&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;My o/p:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;mysql&gt; show databases;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;+--------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;| Database           &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;+--------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;| information_schema &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;| mysql               &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;| sanket             &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;+--------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;3 rows in set (0.01 sec)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;8. But we will be making a brand new database, so do this:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;mysql&gt; create database jdbc_test;   ( mysql&gt; is the prompt dont input it!! )&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;9. Now let's see if it's there:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;mysql&gt; show databases;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;+--------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;| Database           |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;+--------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;| information_schema | &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;| jdbc_test          | &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;| mysql              | &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;| sanket             | &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;+--------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;4 rows in set (0.00 sec)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;I think u r pretty familiar with how i am entering the commands.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;10. Change the working database:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;mysql&gt; use jdbc_test&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Database changed&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;10. Now lets create a Table:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;mysql&gt; show tables;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Empty set (0.00 sec)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;mysql&gt; create table colm1 ( name VARCHAR(100));&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Query OK, 0 rows affected (0.00 sec)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;mysql&gt; show tables;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;+---------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;| Tables_in_jdbc_test |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;+---------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;| colm1               | &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;+---------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;1 row in set (0.00 sec)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;11. Enter some names.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;mysql&gt; insert into colm1 values ("sanket") , ("huha"), ("is.the.best"), ("windows_sux");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Query OK, 4 rows affected (0.00 sec)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Records: 4  Duplicates: 0  Warnings: 0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;12. Let's see what we have done:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;mysql&gt; select * from colm1;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;+-------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;| name        |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;+-------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;| sanket      | &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;| huha        | &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;| is.the.best | &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;| windows_sux | &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;+-------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;4 rows in set (0.00 sec)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;So we're bang on.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;13. Now let's get the connector: download it from &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;http://dev.mysql.com/downloads/connector/j/5.1.html&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;There shall be a Jar file in the archive named: mysql-connector-java-5.1.7-bin.jar&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;First extract and then unjar it. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;On the command line u could do: java -jar &lt;name&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Newayz get hold of it, it will do with the GUI too :-/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Now where you xtracted the contents paste this to a Java file above the com folder that came with Jar file.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;import java.sql.*; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;public class AllTableName{ &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;    public static void main(String[] args) { &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;        System.out.println("Listing all table name in Database!"); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;        Connection con = null; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;        String url = "jdbc:mysql://localhost:3306/"; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;        String db = "jdbc_test"; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;        String driver = "com.mysql.jdbc.Driver"; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;        String user = "root"; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;        String pass = "";  //your password here&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;        Statement stmt = null;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;        ResultSet rs = null; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;        try{ &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;            Class.forName(driver); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;            con = DriverManager.getConnection(url+db, user, pass); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;            try{ &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;                DatabaseMetaData dbm = con.getMetaData(); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;                String[] types = {"TABLE"}; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;                rs = dbm.getTables(null,null,"%",types); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;                System.out.println("Table name:"); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;                while (rs.next()){ &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;                    String table = rs.getString("TABLE_NAME"); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;                    System.out.println(table); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;                    con.close(); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;                }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;            } &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;            catch (SQLException s){ &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;                System.out.println("No any table in the database"); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;            } &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;        } &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;        catch (Exception e){ &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;            e.printStackTrace(); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;        } &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;    } &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;} &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Put the root password in place!! &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;14. Now first compile the program using: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;javac AllTableName.java &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;java AllTableName&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Now if u see the following o/p u r done:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Listing all table name in Database!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Table name:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;colm1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Voila ne doubts or Exceptions thrown please post in the comments i'll see to them!!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-7475257675586191175?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/7475257675586191175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/01/techie-talk-java-mysql-connection.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/7475257675586191175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/7475257675586191175'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/01/techie-talk-java-mysql-connection.html' title='Techie Talk: Java MySql Connection!!'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-4307920094752638765</id><published>2009-01-02T08:37:00.000-08:00</published><updated>2009-01-02T09:12:35.090-08:00</updated><title type='text'>Voila the Email and Girly connection :P</title><content type='html'>So how many of you have noticed the email and sex( no pun intended ) relation!&lt;br /&gt;&lt;br /&gt;Wtf!! Sanket are you insane??&lt;br /&gt;&lt;br /&gt;Maybe not!!&lt;br /&gt;&lt;br /&gt;Ok let's purge into the world where even movie makers have given up.... well in despair they made "What women want" and it was a disaster.... HAHAHA! Good joke.&lt;br /&gt;&lt;br /&gt;Enof playing with gal emotions.. they might get hurt. Like we even care :-D :-D&lt;br /&gt;&lt;br /&gt;So whats this email-konnection..... let's explore ;-).&lt;br /&gt;&lt;br /&gt;Well the email can be all the more expressive than the name itself. Obviously, ur name was kept by bunch of pple who cudnt even identify that the tiny creature u wud have been was a boy or a girl :P.&lt;br /&gt;&lt;br /&gt;And emails are all kept by us.... so they express more. You can see Raghu( Roadies one ) takin' pple for a ride when they keep id's like "raajisalwaysright@raghukickedinhisass.com" -------- hahahahaha&lt;br /&gt;&lt;br /&gt;So let's have a look at plethora of mail id's and browse them in order of pecularity.&lt;br /&gt;&lt;br /&gt;Disclosure: all names have been jumbled to respect privacy!!&lt;br /&gt;&lt;br /&gt;1. roopal24agarwal@gmail.com&lt;br /&gt;&lt;br /&gt;Thats seems to be fine.... 24 inserted in there to get a possible namespace!&lt;br /&gt;&lt;br /&gt;2. talari.nitisha.jyothsana@gmail.com&lt;br /&gt;&lt;br /&gt;Hmm thats a sensible name.... btw the name's changed so dont try to bug her up :P&lt;br /&gt;&lt;br /&gt;3. neha.blossoms@gmail.com&lt;br /&gt;&lt;br /&gt;4. audacious.palak@gmail.com&lt;br /&gt;&lt;br /&gt;5. deep.is.the.best@gmail.com&lt;br /&gt;&lt;br /&gt;Wow..... yupzz that certainly makes u the best darling :P&lt;br /&gt;&lt;br /&gt;6.  misdolonjain@gmail.com&lt;br /&gt;&lt;br /&gt;Maybe she'll change it when she get married :P&lt;br /&gt;&lt;br /&gt;7. aridcoolest@ymail.com&lt;br /&gt;&lt;br /&gt;Well i have no idea what that means.... but might be she's living somewhere in Antarctica..... coolest arid place i can think of :P&lt;br /&gt;&lt;br /&gt;8. coolbreeze16@ymail.com&lt;br /&gt;&lt;br /&gt;Voila.... why do we say boyz are cool.... and girls hot!! They all seem to be soooo cool abt them!! Pple leave the 16 stuff.... i know i know ;-)&lt;br /&gt;&lt;br /&gt;9. diptihereicome@ymail.com&lt;br /&gt;&lt;br /&gt;Hope she's not bulky( pun intented :P )!!&lt;br /&gt;&lt;br /&gt;Well enof of leg pulling. But dear frnzz this does reflect some intersting points abt the gals around think abt themselves. Well they certainly are pretty confident abt how they feel and try to make a feel good factor around themselves. But on the same hand they make naming id's meaningless.... they are meant to identify you not dipict if u r cool.... or for that matter mis or missed :P!!&lt;br /&gt;&lt;br /&gt;I think id's shuld be names seperated by periods( dots ) and to avoid clash you can add school/clg name to it!!&lt;br /&gt;&lt;br /&gt;Well my suggestion, go through each gal's id, i guarantee atleast 50% will turn u down to splits :-D :-D&lt;br /&gt;&lt;br /&gt;Happy mailing :-D&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-4307920094752638765?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/4307920094752638765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2009/01/voila-email-and-girly-connection-p.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/4307920094752638765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/4307920094752638765'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2009/01/voila-email-and-girly-connection-p.html' title='Voila the Email and Girly connection :P'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-2606882182886782500</id><published>2008-12-31T11:29:00.000-08:00</published><updated>2008-12-31T11:30:42.153-08:00</updated><title type='text'>!!HAPPY NEW YEAR!!</title><content type='html'>Well for everybody, a very happy and prosperous 2009!!&lt;br /&gt;&lt;br /&gt;And my advice,&lt;br /&gt;     &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;!!SLOG IT OUT!!&lt;br /&gt;&lt;br /&gt;:D :D :D :D&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-2606882182886782500?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/2606882182886782500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2008/12/happy-new-year.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/2606882182886782500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/2606882182886782500'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2008/12/happy-new-year.html' title='!!HAPPY NEW YEAR!!'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-206985963322771880</id><published>2008-12-30T01:26:00.000-08:00</published><updated>2008-12-30T01:33:18.488-08:00</updated><title type='text'>Bugging it........ the Debugger way :-D</title><content type='html'>Well it's not at all funny.... projects are gud have but tough to complete when you got all the responsibility.&lt;br /&gt;&lt;br /&gt;The project I am talkin' of is under a Internet/Application Security company which hosts automated penetration testing( just read it testing ), and I was lucky to get a project under Jonathan Brossard, the lead researcher.&lt;br /&gt;&lt;br /&gt;Well abt jonathan, he's simply a professional with plethora of data base. And when it comes to answering ques.... there's no fooling around with him :-D.&lt;br /&gt;&lt;br /&gt;But having worked hard and long at the project, and doing almost everything single handedly( though i have a no use brilliant partner :-( ), I am really in a soup. The tough part is that the project is Implementation and that too from scratch, there are no guaranteed results and the methology is extremely Alien and adding to it... i am using the Kerningham paradigm( read it the C language :-D ).&lt;br /&gt;&lt;br /&gt;But what I all aim for is to give a suitable try to it, 'cause i have no idea if i'll be able to compete the project. I am just hoping for my partner to come back.... gosh Praveen i know u r the best at it... :-D.&lt;br /&gt;&lt;br /&gt;Newayz wish me best of luck :-D&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-206985963322771880?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/206985963322771880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2008/12/bugging-it-debugger-way-d.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/206985963322771880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/206985963322771880'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2008/12/bugging-it-debugger-way-d.html' title='Bugging it........ the Debugger way :-D'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-3863997914907480222</id><published>2008-12-29T13:26:00.000-08:00</published><updated>2008-12-29T13:34:21.140-08:00</updated><title type='text'>Spring Sem.......... shedding the dull leaves</title><content type='html'>Well here we go.... the Spring Semester!!&lt;br /&gt;&lt;br /&gt;Like most colleges we have two Semesters per year, Autumn from July-Nov and Spring from Jan-April.&lt;br /&gt;&lt;br /&gt;In terms of masti and dhoom, Spring certainly cuts through with the hallmark events Kshitij-Techno Management Fest and Spring Fest- The cultural fest.&lt;br /&gt;&lt;br /&gt;Well apart from that we have our Department Fest- Bitwise, Algorithm Intensive Proramming contests to add to the excitement of Programming Geeks out there.&lt;br /&gt;&lt;br /&gt;Comming to the point.... while writing this blog post, Ist day of Fourth( Spring ) Semester, and also marking the margin b/w year flips, I resolve to certain things i want to change:&lt;br /&gt;&lt;br /&gt;1. Leave some of my habits( i better do, 'cause i violated one just now :-( )&lt;br /&gt;2. Get hold of plethora of work i have at hand, specifically my Project which is now sorta lingering.&lt;br /&gt;3. Get hold of open source so that i could have a crack at Google Summer Of Code by the end of this Semester.&lt;br /&gt;4. Take my responsibilities as the Secretary( Technology Gen Champ. TSG ).&lt;br /&gt;&lt;br /&gt;More said than done...... Lets Do It !!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-3863997914907480222?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/3863997914907480222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2008/12/spring-sem-shedding-dull-leaves.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/3863997914907480222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/3863997914907480222'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2008/12/spring-sem-shedding-dull-leaves.html' title='Spring Sem.......... shedding the dull leaves'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-4509716632251072325</id><published>2008-12-25T06:01:00.000-08:00</published><updated>2008-12-25T06:11:11.737-08:00</updated><title type='text'>When I started with Open Source</title><content type='html'>Well it's not unobvious that I always wanted to do Programming and thats why  I took Comp.Sc. as a course to start with.&lt;br /&gt;&lt;br /&gt;First thing that was on my mind was to learn Linux/Unix and during my first year i was fully dedicated to learning it at any cost, whatever it took!!!&lt;br /&gt;&lt;br /&gt;I got some books( out of nowhere ) on Red Hat Linux and read them to get an introductory feel... what I realized during all this was:&lt;br /&gt;&lt;br /&gt;It's not tough to "learn linux/unix" but it's tough to "unlearn windows"!&lt;br /&gt;&lt;br /&gt;Well I started off with the all familiar Bash Shell and then did a Online Scripting Course, that too on Bash.&lt;br /&gt;&lt;br /&gt;To test my skills i participated in a simple project hosted by our College Senior aimed at writing a script for customizing and installing softwares on Debian( Ubuntu )  working internally. FYI, we already have a debian( binaries, as i am informed ) mirror in place and gives us 10mbps speed.&lt;br /&gt;&lt;br /&gt;And bang there is where i came to actually reading a project code, finding the fallacies and henceforth my first one-to-one correspondence with Open Source. Though it was short lived I came to learn about the basic development tools/stuff like:&lt;br /&gt;&lt;br /&gt;code.google.com/p/ repositories&lt;br /&gt;SVN/CVS version control softwares&lt;br /&gt;&lt;br /&gt;Well it helped me a lot to clear some doubts which generally dont have a starter's introduction, but as I said there's a difference b/w "interesting" and "interested" ;-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-4509716632251072325?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/4509716632251072325/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2008/12/when-i-started-with-open-source.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/4509716632251072325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/4509716632251072325'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2008/12/when-i-started-with-open-source.html' title='When I started with Open Source'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-643099865896782131</id><published>2008-12-25T02:26:00.000-08:00</published><updated>2008-12-25T02:39:35.953-08:00</updated><title type='text'>Pidgin- What the hell is this</title><content type='html'>For all the Window fans here's my opinion:&lt;br /&gt;&lt;br /&gt;"Computer is like an air conditioner, when u open WINDOEZ it stops working :-D"&lt;br /&gt;&lt;br /&gt;Pretty true, windows is perhaps the most homely name around and also the most famous one. And the heart of the youth and exclusively again for Windows platform is a Chat Client named Google Talk or GTalk.&lt;br /&gt;&lt;br /&gt;What I see in next 10 years is complete monopoly of Google and it's products, and here's an interesting list of some of them:&lt;br /&gt;&lt;br /&gt;1. Gmail--- Obvious&lt;br /&gt;2. Orkut--- Youth just looooveeeee it&lt;br /&gt;3. Gtalk--- Just dont ask me&lt;br /&gt;4. Code Google Repositories&lt;br /&gt;5. Google Docs&lt;br /&gt;6. Blogger&lt;br /&gt;&lt;br /&gt;And most are using atleast three of above mentioned stuff.&lt;br /&gt;FYI, Google servers run on Linux blood[;-)]&lt;br /&gt;&lt;br /&gt;But what the hell is Pidgin. Pidgin is an Open Source Multiprotocol Free Chat Client.&lt;br /&gt;&lt;br /&gt;Wait wait, let's be slow........&lt;br /&gt;&lt;br /&gt;Open Source: You have the Source Code to do the exploiting&lt;br /&gt;Multiprotocol: It has suport for different protocols, you may run Yahoo, AIM, Gmail accounts all a the same time.&lt;br /&gt;Free: The best part, you never pay for it.&lt;br /&gt;Chat Client: Just as Gtalk is.&lt;br /&gt;&lt;br /&gt;But why dont i use Gtalk, to be honest Gtalk is embedded everywhere, and now even Orkut has added it's functionality. But as i am a Developer i just dont get enough food just by seeing things done and nywayz Pidgin is way too powerful than Gtalk.&lt;br /&gt;&lt;br /&gt;Gtalk is also supported only on Windows whereas Pidgin can run on every damn machine that has a C compiler( Be assured everyone has one ). You might give it a try here:&lt;br /&gt;&lt;br /&gt;http://www.pidgin.im/&lt;br /&gt;http://www.pidgin.im/download/windows/&lt;br /&gt;http://www.pidgin.im/download/source/&lt;br /&gt;&lt;br /&gt;The above links sum it all, have a go if u feel inspired ;-)!!!!&lt;br /&gt;&lt;br /&gt;I have done a bit of Source Code digging and will let u have a feel of what i have done. Maybe then you realize the satisfaction of letting code run to your beat ;-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-643099865896782131?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/643099865896782131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2008/12/pidgin-what-hell-is-this.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/643099865896782131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/643099865896782131'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2008/12/pidgin-what-hell-is-this.html' title='Pidgin- What the hell is this'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-5125970080956999047</id><published>2008-12-25T02:16:00.000-08:00</published><updated>2008-12-25T02:24:58.482-08:00</updated><title type='text'>My Tryst With Open Source</title><content type='html'>Well practically speaking the world of open source is perhaps the most unorganized and hapazad business around. The lack of coordination and standards clearly reflects the type of people who actually get into it, and moreover in India it has really weak roots.&lt;br /&gt;&lt;br /&gt;How many of us actually know open source and how many of us have had a feel or experience of the same. Well take my word, "Open Source" sounds interesting but as Canfield says- "There's a difference in interesting and interested", and if you dare think that Google will help you out, you are perhaps mistaken.&lt;br /&gt;&lt;br /&gt;In my various posts i will take you through my experiences through open source and how it's treating me right now.&lt;br /&gt;&lt;br /&gt;FYI, i have also written a full fledged guide on how to hack WinXP having only physical access and perhaps a poor 10x CD-ROM but have misplaced it somewhere on some remote blog :-/.&lt;br /&gt;&lt;br /&gt;Anyways, I shall be taking you on a ride with open source and you may bang me anytime with your experiences or suggestions!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-5125970080956999047?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/5125970080956999047/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2008/12/my-tryst-with-open-source.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/5125970080956999047'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/5125970080956999047'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2008/12/my-tryst-with-open-source.html' title='My Tryst With Open Source'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1012897451991335429.post-5601249187366719550</id><published>2008-12-16T20:58:00.000-08:00</published><updated>2008-12-16T21:20:06.505-08:00</updated><title type='text'>News of The day: Bush Shoe a hit game :-D</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: times new roman;"&gt;So this is the latest buzz in Times Of India:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: times new roman;"&gt;An Iraqui Journalist threw a Shoe on Prez Bush, only before throwing the other!!!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: times new roman;"&gt;Reportedly culprit, a TV reporter, Muntadar  al Zaidi was tackled to ground only after he had succeeded in his efforts.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: times new roman;"&gt;Well he gave a bid adieu: "This is a Farewell Kiss, you Dog"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: times new roman;"&gt;But the interesting part, the various online managers have made it a big hit in online games and the funniest of them gives the player a chance to throw some 10 shoes. If u are able to hit him...... guess what u get, a Greeting: YES U CAN!!!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: times new roman;"&gt;Well Obama shall be pleased at it.... ;-) If not publicly, but atleast when he enters his bathroom :-D :-D.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: times new roman;"&gt;Here is a link i found.... &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: times new roman;"&gt;http://kotaku.com/5110547/shoe-attack-on-president-already-turned-into-a-crappy-flash-game&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: times new roman;"&gt;Also for interesting pics and fun:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: times new roman;"&gt;http://www.presstv.com/detail.aspx?id=78628&amp;amp;sectionid=351020201&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1012897451991335429-5601249187366719550?l=snktagarwal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snktagarwal.blogspot.com/feeds/5601249187366719550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snktagarwal.blogspot.com/2008/12/news-of-day-bush-shoe-hit-game-d.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/5601249187366719550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1012897451991335429/posts/default/5601249187366719550'/><link rel='alternate' type='text/html' href='http://snktagarwal.blogspot.com/2008/12/news-of-day-bush-shoe-hit-game-d.html' title='News of The day: Bush Shoe a hit game :-D'/><author><name>Sanket Agarwal</name><uri>http://www.blogger.com/profile/10314128562353958113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_lypISW8dea4/Sok0Vf1XtRI/AAAAAAAAAHc/3g2v7pu5LrM/S220/DSC00579.JPG'/></author><thr:total>0</thr:total></entry></feed>
