A log of my experiments with Computers, Computing, Programming & Software.
Hello!
This content has been updated. You will be momentarily redirected to the current version.
Saturday, December 16, 2006
Now, thats a Palindrome...
A man, a plan, a canoe, pasta, heros, rajahs, a coloratura, maps, snipe, percale, macaroni, a gag, a banana bag, a tan, a tag, a banana bag again (or a camel), a crepe, pins, Spam, a rut, a Rolo, cash, a jar, sore hats, a peon, a canal -- Panama!
From Common Lisp, the Language (2nd ed).
And now, this is a geek: http://www.norvig.com/pal2.html and this is a palindrome: http://www.norvig.com/pal1txt.html
Read more at the Google Blog.
Wednesday, December 13, 2006
Subclipse Proxy Configuration
I wanted to checkout the newly open-sourced Google Web Toolkit using Eclipse via the Subversion plugin. I work behind a proxy and have a choice of three proxies offering varying capabilities and restrictions - some require authentication while others don't. When I tried checkout, I was in for a real surprise - I was getting an error message saying Error 407: Proxy authentication required. Since I did not set any proxy in the first place, I was wondering how a proxy was picked up and why I was not being prompted for authentication!
When I searched the Eclipse preferences dialog for SVN, I did not find any place where I can set up a proxy. Also, I wondered if Subclipse had somehow chosen to use my Windows default proxy configuration. So, I went to Control Panel > Internet Connection > Connections > LAN Settings. Nope, the default proxy that I had configured for my windows was different from the one that Subclipse was using - the default proxy did not require authentication while Subclipse was trying a proxy that required authentication. Exasperating!
Just wanted to be sure which proxy was being used. As usual, the Ethereal network protocol analyzer came to my rescue. I figured out that by default, Subclipse had chosen a proxy that needed authentication (I am yet to find out how it found the proxy address in the first place!) and had not prompted me for authentication. Then, a search through Eclipse help led me to this link: http://svnbook.red-bean.com/en/1.1/ch07.html#svn-ch-7-sect-1.2.
In short, I had to edit the registry to set my proxy - call that user friendly??? Well, since most of the time people who check out code are geeks, may be I should excuse this!!! Here is where I had to go:
HKCU\Software\Tigris.org\Subersion\Servers\Global\http-proxy-host and http-proxy-port values. Once I set up the proxy there, all worked well.
Whew!!! Breathe easy now :)
Wednesday, November 29, 2006
Testing the RAM for defects on Windows
I suspected faulty RAM, after seeing the log. The message was EXCEPTION_ACCESS_VIOLATION. But, I did not know the right tools for testing the RAM. So, a Google Search led me to the following tools:
1) MemTest
2) Microsoft's Windows Memory Diagnostic.
I did not test Memtest, but I used the Microsoft solution. It was easy to use, but the UI is not for the layman.
Notes:
-Please keep a floppy disk handy. If you are one of those forward looking geeks, and do not have a floppy drive, you need to have a CD writer. Check out the details provided here for working with a CD.
- After you run the program and have created a floppy, boot from the floppy.
- To run Advanced Diagnostic tests, hit the T button on your keyboard.
Sunday, November 19, 2006
Sorting Algorithms : A visual treatment
It is from the Programming Pearls site. Gives some insight into the working of the algorithm. Check the behaviour of different algorithms on different inputs. However, it would be more helpful if we also have some control over the speed; this will help the visualization better!
Let me see if I can fix that recipe (ofcourse, I will start with the SortAnim.java provided at the site).
Saturday, November 18, 2006
Eclipse Update behind a proxy
But this option of not having to hunt around the eclipse site for the plug-ins is a real killer concept. Saves a lot of time too. One up to the Eclipse project.
Thursday, November 16, 2006
Installation of Sun Studio 10 on Sun Solaris Machine
- cd /var/sadm/prod/com.sun.studio_102. Next, put the Tar file in the directory in which you wish to install. Untar it. Keep the tar file in the same directory as the installer file.
- Run the batch uninstaller.
- Further info on uninstalling can be found at: http://docs.sun.com/source/819-0485/remove.html
3. Run the installer and follow instructions.
Wednesday, November 15, 2006
C Tidbit
while ((to[i] = from[i]) != '\0')
Excellent, free iCal Calendars
This is a log of my adventures with iCal Calendar clients and format.
I tried Outlook Calendar & Google Calendar. Both were good. But, when I tried Google Calendar, it was in the offing and so I could not get much out of it. It was good but was accessible only when on the net.
So, I hit upon Rainlander. It was good, it integrated with Outlook and also understood the iCal format. But, I wanted to fill out just one calendar and use it on any client - both application and web-based. So, I filled out the Google Calendar (whew, that took really long!). Then, I realized that I could not actually use it anywhere else at that stage of development of Google Calendar.
So, I again filled out the Outlook calendar (because I had read this time that I can use the outlook2ical utility, which is free!!!). Bingo, I used the outlook2ical utility and could export my Outlook calendar to the iCal format which is widely supported.
Next, I experimented with phpicalendar using the .ics file that I exported with outlook2ical utility. It is cool and easy to use (as long as I had XAMPP with me, I had nothing to worry!)
Using Minix on VMWare
- There is nothing special that you need to do incase you need to run Minix on VMWare. Infact, you can download the VMWare ready image of Minix from here. Only, this image is not allowing ftp access to VMWare. After much effort, I found an image file for Minix 2.0.4 which was consolidated. The website is so confusing. It does not specify clearly what needs to be downloaded and they have lots of things there too!!!
- To allow ping to work, just set up NAT as described here.
- Read this post or this post to enable FTP and Telnet access to Minix.
VMWare : SSH access to RH9 from Windows using PuTTY
Nothing else needs to be done.
VMWare : Internet access from Guest VM (RedHat 9)
- You donot need to create any internet sharing in windows etc. VMWare will take care of that for you.
- To set up internet access from the guest VM, set the VM to use NAT for ethernet.
- Set the IP address to the same segment as that of VMNet8. (just make sure that it is not .2).
Now you can access the Internet from the Guest VM!
VMWare : Do's & Donts
- VMWare by default creates two Vitual Network Adapters: VMNet1 & VMNet8.
- VMNet1 is useful for host-only connection.
- VMNet8 is for NAT access.
- Donot change the IP domains which are assigned by default. You could wreck the DHCP, DNS & Routing domian that VMWare creates.
- To change these settings, please use: Edit > Virtual Network Settings > NAT.
- By default, the IP Address .2 with the VMNet8 segment, is the IP address of VMWare's DNS & router.
Windows : Autorun is Disabled?
Here is a solution for the Geeks; it modifies the Windows registry:
1. Start RegEdit (regedt32.exe).
2. Go to HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/Cdrom.
3. Edit the Autorun value to '1' to enable autorn, and '0'
to disable autorun.
4. Close RegEdit.
NOTE: You may have to restart the system.
A simpler solution (not guaranteed to work if autorun has been disabled in the registry, as in my case) is:
1. Right-click on the drive.
2. Choose properties.
3. Choose Autoplay.
4. Choose the action you want to take for various file types.
Linux : Mounting a USB device - made simpler
1) At the terminal, log in as root.
2) Open the /etc/fstab file for editing.
3) Append the following entry to the file: /dev/sda1 /mnt/usb autofs
4) Start > System Tools > Disk Management
5) Select the device to be mounted and mount.
NOTES:
1) /dev/sda1 is the name of the device whose file system you want to mount at /mnt/usb (this too is your choice!)
2) autofs tells the mount command that the filesystem type should (attempted to) be detected automatically. If you want, you can explicitly specify a file system.
3) In the options, DONOT specify the kudzu option. The kudzu option will cause /etc/fstab to be updated when the usb device is unmounted or unplugged. Thus, the entry will vanish after this. For more information regarding kudzu, use man kudzu at the terminal.
4) In the options, please specify user and NOT owner. If you donot specify user, the DiskManagement will not show the USB device if this is launched by a non-root user (by default). The GUI for DiskManagement is actually a command called usermount that reads from /etc/fstab and displays a list. Hence, if user is NOT specified, the device will not show up in the list. Further, the user option indicates that ANY user can mount this device!!!
5) For convinience, the DiskManagement can be added to the launcher panel (Start > System Tools. Right Click on DiskManagement and click on Add to Launcher Panel)
Changing the default command for RedHat8 Launch Panel
For accessing the Windows Network using Samba, only Nautilus seemed to be understanding the smb:// protocol. I did not want to each time start a terminal and type nautilus to start Nautilus. So, I wanted to add a launch panel icon. I could not find a way to add and configure a new icon. So I dragged the Help icon from the Main Menu and modified its Properties to run the command /usr/bin/nautilus. But this by default opened my home directory. I wanted it to open smb://Hostname. I had experimented earlier at the terminal and found that nautilus took as its command line arguements the location to be opened. So, I changed the command to /usr/bin/nautilus smb://Hostname. This worked well for me. But, I wanted some more sophistication. I wanted to log in directly since smb:// (like ftp://), takes the username and password separated by a colon followed by @ and the hostname. So, I changed the command to /usr/bin/nautilus smb://User Name:Password@Hostname. Nut, commandline did not parse the space separated user name (which Windows allows). So, as an additional change, using my instincts from my working with Linux, I enclosed the User Name within single quotes. This worked well. Similar strategy is also required to be used with the password if it contains spaces. Remember that while typing the username and password in the address bar of nautilus or at the Properties panel of the Launch Panel, the Password in NOT masked. So, it is at your risk that you do this.
So, all said and done, here is how the command looked at the end of the experimental session:
/usr/bin/nautilus smb://'User Name':'Pass word'@Hostname
Samba Server Setup
If you donot have the Samba server installed on your system, you should install it from the RedHat 9 CDs. The server along with the GUI to configure Samba are present on CDs 1, 2 & 3.
- Insert CD1.
- Go to the CDROM and navigate to RedHat > RPMS.
Here, look for a file called samba*.rpm. Install it.
- Insert CD2. Navigate to RedHat > RPMS.
Install a package called redhat-config-samba*.
- Insert CD3. Navigate to RedHat > RPMS.
Install a package called samba-swat*
NOTE: SWAT is a browser based configuration tool for Samba. It talks be default on port 901. So, to use this, httpd should be running on Linux and the firewall should not block this port.) We will use the GUI rather than SWAT for configuration.
- Go to the command prompt and type: /usr/bin/redhat-config-samba (it is in /usr/bin folder).
- Login as root.
- You will get a screen similar to the one shown here.
- Go to Preferences > Server Settings. The default settings are shown here. I had to keep the group to something different from what was the Workgroup on my Windows system. Give a nice description; this is what people from other systems will see as the title for the Server (eg. In Windows, in the My Network Places, Show Work Group Computer, this is what will be seen.)
- On the Security tab,
- set the Authentication Mode to User.
- set the Encrypted Password to Yes.
- set Guest account to the user for whom you are setting up this share.
(I donot as yet know how to allow for anonymous shares...)
- click OK.
- Go to Preferences > Samba Users.
- click add.
- Select the Unix username for the user whom you want to
permit to use the share. When he logs in, he will be takent to his home
directory unless some other shared folder has been specified.
- If the user is logging in from Windows, provide his Windows username
(this simplifies authentication and hepls to map Windows users to Linux users, I think so, I am not sure about this part).
- Provide a password (preferrably different from his Linux login password).
- click OK.
- Click Add, and add a shared folder to allow access from outside the Linux machine.
- To access this share from Windows, Go to My Network Places > View Workgroup Computers > Microsoft Windows Networks. Go to the appropriate workgroup that you had specified earlier. Here you will find the Samba Server with the description you provided earlier. Open this Samba and there you go!!!
Now someone please tell me how to access the Windows Shares from Linux. Any help would be appreciated. :)
UPDATE: Okay, just discovered that File & Printer Sharing must be enabled on Windows for accessing the Shared Files! For this, please run the Network Setup Wizard with appropriate options!!!
VMWare : Internet / FTP / Telnet Access to Linux Guest from Windows Host
2) Set up the Linux host's IP address to be in the same IP Subnet as VMNet8. Just make sure that you donot use the IP addresses subnet.1 OR subnet.2 Subnet.1 is used by VMNet8 while subnet.2 is used as the IP of the NAT Gateway. (Refer to VMWorkstation documentation for more details).
4) Set the default Gateway to subnet.2
3) Set up VMWare to use Ethernet in NAT mode.
4) Done.
VMWare : Sharing Files by Connecting to Windows from Linux
Minix - FTP & Tlenet Access
A little bit of history:
Yesterday, I had to set up a RedHat 9 Guest OS for one of my faculty members. I realized that even though telnet was installed and running, I was unable to access it even locally!!! Then I realized that I had to edit the 'telnet' file in /etc/xinetd.d to allow incoming telnet connections (inspite of changes to the firewall configuration to allow incoming telnet connections).
Back to present:
So I realized that perhaps something similar needs to be done even with Minix (after all, it is a variant of Unix and must have similar security features!!!). But, when I went to the /etc folder in Minix, I found no xinetd.d folder. Looking around, I found the serv.access file. Guessing that it must be the right place to look, I opened it. Bingo!
There it was. Only, I had to decipher how the entires should look like in that file. Ever so helpful, a comment asked me to man serv.access. Also, I looked at the /usr/adm/log file. It was all there - all those access denied messages...
Initially, my /etc/serv.access file was like this:
# /etc/serv.access
# 2006-05-21
# See the serv.access(5) man pages to learn how to edit this file
# to make your system safe on the network.
# this is insecure! replace with something more specific asap
telnet ftp: +* log;
# this is better, keep outsiders out
# telnet ftp: +*.local log;
# this records all unsuccessful access attempts in/usr/adm/log
*: -* log;
After a reading the man page and a little tinkering, I changed the line "telnet ftp: +* log;" to "telnet ftp: + log;". i.e., I just removed the *. May be very insecure, but it does the job for me. Perhaps one could add an IP address or a range of IPs to enhance security (as described in the man page).
One another word:
This might be very helpful on the VMWare front:
I am still using NAT. I had to just set the IP address of my Minix to be on the same subnet as VMNet8 (which is the default subnet on which VMWare does NAT-ing). Also, the default gateway on the guest OS - Minix - had to be set to VMNet8-subnet-.2 ( The .2 IP is the gateway across which VMWare does NAT).
Thats it!!!. All works fine now...
FTP Server on Windows 2003 Server R2
The initial set up worked, but it was readonly, inspite of the folder permission being write. Then, I checked out that if I logged in as admin, I could create folders! So, I went to check out the folder permissions for the admin account. It was exactly as I had configured the staff account (FULL CONTROL), except that the permission were only for the current folder. For the staff account permissions, I had chosen to give full control to "This folder, and subfolders and files(as intuition and common sense would have served anyone). But, I must confess that I donot fully understand the NTFS permissions structure. So, I changed the staff permissions to this folder only and bingo! it worked.
Networking Lessons
Learner's Perspective - http://www.easydesksoftware.com/news/news28.htm
Admin's Perspective - http://www.pku.edu.cn/academic/research/computer-center/tc/html/TC0000.html
Admin's Perspective - http://www.pku.edu.cn/academic/research/computer-center/tc/html/TC0305.html
Network Access across a router
1) First set up a DNS ( with a domain name say ssshcc.edu )
- Set up the forward and reverse lookup zones
2) Set up the DNS machine to act as the router also between the two segments.
3) For each computer on the online and offline segments, change the primary DNS suffix of the computer to the DNS domain name ( as specified in step 1 )
- Right Click My Computer > Properties
- Computer Name
- Change
- More
- Type in the new Primary DNS Suffix
4) For each machine in the online and offline segements, make sure that the guest account is allowed network access.
- Start > Control Panel > Local Security Policy > Local Policy > User Rights Assignment > Deny Logon over Network
- Remove the Users whom you wish to allow network access (if the name is in the list)
5) Make sure that the default gateways and Primary and Secondary DNServers are correctly entered in the Network Configuration.
6) In the lab, i.e., in the SSSHCC, the online systems donot have guest login interactively, but we want the guest users from the offline segement to be able to access the online systems. For this, we enable the Guest user account on the Online systems, but prevent their Interactive Login as follows:
- Start > Control Panel > Local Security Policy > Local Policy > User Rights Assignment > Deny Logon Locally
- Add Guest user.
7)Here, you can choose the custom list and add the required IPs or choose then Any computer option as required.
8) One last setting: The windows firewall by default allows only computers on the same segment to access each other. This needs to be changed:
It is like this: Port 445 (which is what windows uses for file and printer sharing) by default accepts connections only from computers on the same subnet as itself. This behaviour can be changed as described in the document: https://docs.google.com/View?docid=ajgs46pc346b_9dxvvjc.
You can find Microsoft's description of the solution(KB840634) at http://support.microsoft.com/kb/840634
Windows XP Pro: Network access: logon failure
Solutions:
0) Start > Control Panel > Administrative Tools > Local Security Policy > Local Policies > User Rights Assignment:
- Goto : Deny Access to this Computer from the Network
- Remove the user name to whom you wish give permission to access the computer over the network.
1) Just run the network setup wizard and turn on file and printer sharing. If that does not help, try the next link:
2) http://www.experts-exchange.com/Operating_Systems/Windows_Server_2003/Q_21072962.html?qid=21072962
3) http://www.experts-exchange.com/Operating_Systems/Windows_Server_2003/Q_21072962.html
Matlab license manager error: Solaris 10
To trouble shoot, I did the following:
- I knew that lmstart command present int $MATLAB/etc directory starts the matlab license manager.
- To start the license manager (i.e., to run the lmstart command), you need to be logged in as a non-root user.
- So, I tried to start the license manager.
- I got a message saying that I needed to delete some files: /var/tmp/lm_*.log and /var/tmp/lm_*.dat
- For this you need to log in as root.
- Once this is done, run lmstart again.
- Done.
Thursday, April 20, 2006
The Best GDB tutorial....
It seems to have been recently updated and it is great. Very technical and yet understandable too! - a rare combination. It is still under massive reconstruction as the web site puts it, but still great to go.
You can find his homepage here and his usful linux notes here.
He seems to use all those things that I am interested in (kind of one-stop for me!), except that I use Matlab while he prefers Mathematica. His LaTeX links are here. And here is his list of hackers (both good and bad as he puts it.)
Sunday, April 16, 2006
What the hell is that service?
http://www.liutilities.com
http://www.processlibrary.com
http://www.auditmypc.com
For my own quick reference, here is the list of the processes that were running on my machine; now, most of them are scrapped. BTW, my machine is now like a tuned string, waiting to be played with.
*) Bonjour: Apple Computer's
*) vptray : Symatec AV VirusProtectionTray
*) qttask : QuickTime Task
*) cftmon :The cftmon.exe process is a component used in MsOffice to perform language related functions. It is closely tied to the 'Language Bar' present in MsOffice, so if you use the Language Bar you should leave this process running. If, on the other hand, you do not use the language bar, you should terminate this process to free up system resources.
*) igfxtray.exe is a process which allows you to access the Intel Graphics configuration and diagnostic application for the Intel 810 series graphics chipset. This program is a non-essential system process, and is installed for ease of use via the desktop tray.
*) Intel hotcommand hkcmd.exe is installed alongside Intel multimedia devices and allows configuration and diagnostic options for these devices. This program is non-essential process to the running of the system, but should not be terminated unless suspected to be causing problems.
*) vsmon.exe is a processs associated with the ZoneAlarm personal firewall. It is used to monitor Internet traffic and generate alerts depending on the security rules configured by the user.
*) Adobelmsvc.exe is a process which belongs to Adobe Acrobat. This program is non-essential process to the running of the system, but should not be terminated unless suspected to be causing problems.
*) mdnsresponder.exe is a process associated with "Bonjour for Windows" software. It is used by ITunes for music sharing. This is a non-essential process. Disabling or enabling this is down to user preference.
*) mdm.exe is associated with Microsoft Windows process debugging system. It allows the user to debug Internet Explorer errors by using a script interface tool. This is a non-essential process. Disabling or enabling this is down to user preference. Note: is also a process which is registered as the Win32.Lydra.a information stealing Trojan. This Trojan allows attackers to access your computer, personal data and information. It is a registered security risk and should be removed immediately.
*) AcroTray.exe is the Acrobat Assistant used when you print your documents to a PDF. While converting documents to a PDF this process should not be removed.
*) Adobelm_Cleanup.0001 is a process which belongs to Adobe Acrobat. This program is non-essential process to the running of the system, but should not be terminated unless suspected to be causing problems.
*) lsass.exe is a system process of the Microsoft Windows security mechanisms. It specifically deals with local security and login policies. This program is important for the stable and secure running of your computer and should not be terminated.
*) Scrss.exe is a process which is registered as the HacDef-R Trojan. This Trojan allows attackers to access your computer, stealing passwords, Internet banking and personal data. It is a registered security risk and should be removed immediately.
*) smss.exe is a process which is a part of the Microsoft Windows Operating System. It is called the Session Manager SubSystem and is responsible for handling sessions on your system. This program is important for the stable and secure running of your computer and should not be terminated.
*) PSNGive.exe is a process associated with the lite version of Post-it Note from 3M.
References:
http://www.auditmypc.com
http://www.processlibrary.com
http://www.liutilities.com
Installing Mandrake Linux
http://member.melbpc.org.au/~parsonsd/linux/Mandrake10_Install.html
http://www.mandrake.tips.4.free.fr/install100.html
So, happy Mandraking!
Lookout - Outlook!!
I started with Sunbird 0.3a1. Thinking that I could export things in iCal format, I filled in all the birthdays I wanted to. And, then I found that all I had done was a waste. It only allowed me to export selected items as iCal. Thinking that maybe the default format for the calendar is iCal, I looked in my profile directory and bingo! nothing like *.ical, *.vsc or *.vcal. Then the Mozilla Foundation's documentation told me that from this version of sunbird, the default file format was .sdb, some SQLite format. Gone waste was my effort.
Lesson #1: Always look for the existance of the features you need in the s/w you choose.
So, what do I do? Google it ofcourse!
This is what Google yielded and had some good reviews too: http://outlook2ical.sourceforge.net/
It was some VB script. Things went cool till I exported the calendar and imported it into Sunbird. The recurring events which were supposed to recur every year once were recurring every day for a month! Give up?
Lesson #2: Never trust feature description. Check out the features ur self.
What next?
I wanted to somehow get this b'day business running, so I filled out the calendar in Outlook (for the simple reason that it was faster to add in Outlook than in Sunbird, donno why). Then, I bumped into this: http://www.rainlendar.com. A very cute utility that seamlessly integrates with Outlook (oh my God!), reads from and understands iCal files! Thought this was a jackpot. Installed the software and loved its interface and cool features. Under the config > Plugins, i checked the Outlook option and refreshed the rainlendar on my desktop, it began showing the bithdays on the CORRECT days and onMouseOver(), it displayed the subject and description in a pop-up!
Cute piece of work.
Next, I wanted to take this calendar of outlook to my workplace. How?
I chose Calendar. Then I said File > Archive. I saved only the Calendar to an archive.pst (which was non-empty (~256 kb) ). Then I closed Outlook and made another copy of this file.
Next, on my Win XP with Outlook 2003, I found the archive of the current Outlook files here C:\Documents and Settings\%USER_NAME%\Local Settings\Application Data\Microsoft\Outlook\Outlook.pst
Just to see if I can import, I changed the name of the file from Outlook.pst to OldOutlook.pst. As expected, Outlook did not open saying it could not find the file Outlook.pst; but, it gave me file open dialog where I chose the archive.pst. Then agagin it gave some error and closed. The next time I opened Outlook, it opened, but there was nothing there. So, I decided to import the stuff. I chose File > Import and Export > Import from another file or program > Personal Files Folder (.pst).
Here I chose the backup file of the Outlook.pst that I had made earlier (did not want to take any chances with my calendar!). Then, I chose to import the calendar and hit the Finish button. Done!
I opened my calendar on the left tab and yo! the birthdays were there!!!
Okay, so much so far, but not good enough for me to export to iCal yet. Anyone ne ideas? Please lemme know.
Wednesday, April 12, 2006
Firefox extension updated!
As I said earlier, this extension is useful for "remembering" the URL of every page that you visited and saved. This is still in beta as it has only just been submitted to Mozilla Foundation for review.
Cheers! Now I can do something else while I wait for the review. :)
Update:
Yesterday, the Firefox 1.5.0.1 running on my system said I needed to upgrade, on saying go ahead, it checked my extensions for compatibility and said SaveURI is incompatible with 1.5.0.2! Anyway, later, I downloaded FF 1.5.0.2 from Get Firefox and installed it. Then, I installed the SaveURI extension and it works just right!
Any ideas? Buzz me.
Update:
This morning (20th April), SaveURI 0.3 was ready. Queued it up for approval at the MDC. Waiting for their approval. If you want to try it, it is available here. Try it and let me know.
Monday, April 10, 2006
Post-it notes for the PC
The maker is father of paper-post-its -- 3M. Three cheers to 3M!
New Firefox Extension
By the way, this extension simply saves the URI or URL of every page that you save so that you don't have to search for the parent site link. This was a problem I had for long, especially when I was doing my master's project. The links were just not available on any of the pages that I had saved. I needed them all for my report references. I am glad I could solve my own problems.
You can download the extension here. Just be careful if you are using the CustomizeGooogle extension as SaveURI is in the test phase and WILL clash with the latter extenssion.