Sunday, October 31, 2010

Project--LaTeX...

first of all we would like to thank Amarjeet Sir for this project...as it made us learn something new...and learned to struggle and look out for information from other sources..and also thank the TA's for this as the initiation of this project was actually because of them giving us the relevant information about the project...

so when we firstly got to know about the software used to do the codings to make it a pdf document...we were shocked to see the number of commands in this project and looked like a full programming language...but then we asked TA's about this and fortunately they knew a lot about it...so we got an initial kickstart in the project...as we got a 30-40 page tutorial about LaTeX from them..

slowly and gradually we started to code some small programs...that took 10 lines coding even for a single page document...

we had options of using two softwares--TeXnicentre and MiKtex...but we eventually decided to carry on with MiKTeX as we found that easy to use than TeXnicentre....

we came along new things like using the mathematical formulas like the integrals and limits...summations..which we found interesting...but we looked for something like page designing like inserting bullets and include pics...
and eventually we got that also in the end...

we also faced many challenges as the content was huge and we had to decide a lot on what topics to include in the presentation....although that did not go well in the presentation as it took a lot of time...
secondly,all of us were at different places during the break..so only the facebook connection was there to communicate...
but in the end it was a nice experience learning new things and that too learning it all by yourself makes you feel really good....

AKSHAY RAJVANSHI
(2010011)
SAURABH YADAV
(2010077)
DEEPANKER AGGARWAL
(2010027)

Thursday, October 28, 2010

doubt about RAM ...

hello guys,
                we often come with this confusion about the frequency of the RAM we use...suppose we want to add more RAM to our system...so if the RAM we are thinking to purchase is of different frequency than the RAM we already have..then what are the possible consequences...will it affect the computer in any way..in terms of speed if it works???

Triple Booting My PC

Life at IIIT-D is sort of weird when there are no holidays, we feel we have no time to relax, and when we have holidays we feel we are wasting our time.During the CWG break, I too got this feel and decided to do something exciting.
Before I begin I would like to apologize to Amarjeet sir, for this late blog.I am sorry sir.
Now, lets get down to work.Just a day before the break I had taken a copy of the so much in demand "Ubuntu installation CD" from Arjun bhaiya.I intended to install it on VMware and practice some shell scripting(that still does not give me a homely feeling :-) ). But somehow I did not like the feel of it and decided to dual boot my laptop.I did install Ubuntu,giving it a 8Gb partition.
I began using Ubuntu and felt good about it.So I decided to increase its size. So I went to windows and without giving a thought just messed up with disk management and ended up deleting grub. :-(
In went the Ubuntu CD again and another installation with 20 GB partition space was done.Good.Cool.Well done Yash.Finally, I was satisfied and promised not to mess around with disk management again.
Now, I being a frequent Windows user,wanted to make it my default OS,and also I didnt want Grub to take so much time in selecting the default choice.So in went a few hours of fruitful research and here we go all is well.
Well, promises are meant to be broken but not intentionally...
I decided to exchange my 4.5kg "heavyweight laptop" with my didi's 2.35 kg one. So firstly I was ordered to remove Linux, now how to do it without the windows CD... Good question!!! If there is a question,google has the answer.This task was done.
So once again I dual booted my system,did all the settings once again.God it was exciting.
Now,suddenly something came to my mind and I said to myself "Lets back the Mac"...
How about triple booting my system.Some more research and I felt I was ready to try it out. I downloaded Snow leopard from a torrent and after 3 days, I attempted to install it. But could not do it. I returned to windows created some free space.Boom Linux gone...
Once again :-(
Somehow I thought lets proceed with Mac.Great the trick worked.I formatted the free space,installed mac.Now, all that was required was to restore grub.In went the Ubuntu CD and restoration was done.
Using Mac,OH BOY,I was so excited. Hackintosh finally in my hands. I started the 64 bit version to find net not working.It was not detecting my wireless card.I returned to windows downloaded the required kext file(drivers) and tried again, but failed.Then I tried the 32 bit version and yes it worked there perfectly fine.
"Snow leopard is good,lets give it more hard disk space".Bad idea I ended up doing the above from scratch,but the result was sweet, I had a laptop with working Win 7 Ultimate, Snow Leopard, and Ubuntu...
I just need to thank the Ubuntu CD.... Had not that been with me,my holidays would have been a nightmare. :-) I ended up deleting ubuntu so many times.
Thank you also to Ankit bhaiya(Ankit Sarkar) for his help when I wasn't able to make net work.And finally Amarjeet Sir, who showed me the way regarding the wireless driver problem.
Next mission:-Quadbooting the machine..Ubuntu CD I am coming :-D

Tuesday, October 26, 2010

SM group project - what we did and how we did it...


Acknowledgments
We would like to thank our SM profesor Dr. Amarjeet Singh for providing us with an opportunity to present a group project. We would also like to thank the creators of wikipedia without which, our project would not have been possible.


We would like to share with you, our experience while preparing this project. Our project was "Data recovery from mistakenly formatted hard-drive" and frankly speaking, when we read this topic in the list of projects, we didn't even know that anything like that was possible. Curiosity is the mother of all creations and the precise reason why all 3 of us, me, Karan Gupta and Mithil Gupta chose this topic.

Since we had no idea what our topic was all about, the first thing that we had to do was find out how is data stored in a hard drive, how is data recovery even possible and how does a utility or a software recover data. Then our task was to gain hands on experience on such utilities and share them with our class.
As far as data storage was concerned, we had been taught in class about file systems and how a file is stored in a hard drive. Still, we went through a number of sites to further strengthen our knowledge of file systems and how they manage data on the hard drive.

Next we had to find out what exactly happens during data recovery or how are various data recovery tools able to recover data from a formatted hard drive. To answer this question, we had to first find out what exactly happens when a drive is formatted. Again, another round of browsing through the net followed. We realised that data is not removed from the clusters of the hard disk but just enabled to be overwritten when new data is to be stored on the hard disk after format. Hence, even if after a disk is formatted, data recovery is possible if the previously stored data has not been over written by newly entered data. We also addressed questions like "is data recovery possible if a partition has been formatted in a different file system than the 1 that existed before? and if yes, how and why?" We learned a lot while making this project and surprisingly, none of us ever felt it like a burden on us. 

The final part of our project involved gaining hands on experience on such utilities and this was the most time consuming and tiring part of the project. There were just way too many utilities. Some links to such utilities are listed as follows:-

PC inspector file recovery. 
Pareto data recovery.  
Disk doctors. 
Ease US. 
Stellar Phoenix data recovery(linux)

We didn’t count but I believe we installed and tried around 10-15 such utilities.  A few didn’t work, others worked but not to our expectations and a few recovered data more or less the way we had expected them to. Above mentioned sites are links to only those that worked really well. There were many utilities which weren’t available for free but we saw their online demos they were much stronger than the ones that we could try for free.

Now the question that arose was that which utility is better than the other, on what basis we should compare and how exactly are they different from each other. The question’s answer lied in the algorithm that each utility used to recover data. There are broadly 2 ways in which data recovery is possible:-
1.      
     One way is to rebuild the data from scratch. This method recovers the files with their original file names. This method of data recovery is usually more useful in case of hard disk crash or any other physical damage to a hard drive but works for a formatted drive as well. It is a very efficient method of data recovery. Hence, most utilities that implemented this type of algorithm weren’t available for free.

2.       An alternate way is that the disc is scanned through, and data is recovered as objects from clusters and linked together. The utilities that we found on the net mainly followed this method. In this method, data is recovered but the original file names are lost. This works well as long as the hard disk has only been formatted and no cluster has been over-written. Moreover, this method is not of any help during hard disk crash or and physical damage to a hard drive.

From a list of more than 10 utilities we chose 3 utilities for our project and did detailed study on them. The main criteria for selecting them was ease of use but since that is relative, we also went through their online reviews and ratings and realized that what we feel about those utilities is also felt by many others. The utilities we chose were PC Inspector file recovery, PareTodata recovery and Stellar Phoenix data recovery, the last one being a tool for data recovery from a linux partition.
Overall, it was a very enlightening experience. We enjoyed it thoroughly and it took our understanding of  a computer’s function of data storage to a whole new level.

Sushant Mehta
2010088

Karan Gupta
2010037

Mithil Gupta
2010049

Monday, October 25, 2010

Since childhood, we always wondered why the teachers gave us so much work and apparently did nothing themselves… but NOW, we understand that it’s the other way round! Teachers work so much harder just to prepare the topics and questions for the students and we just have to simply answer them! This we got to know only when we got the chance to lead the lab session 9 and we are sharing our experiences with all of you.

Since no one volunteered from group 4 to lead the lab session, thus, Saurabh Yadav and I(Shayan) volunteered to lead the lab session as Saurabh was part of the latex project and I was part of the webcrawling project, thus, we thought we would pool our knowledge together to lead the lab session. We covered BACKING UP OF DATA, DATA RECOVERY, LATEX AND WEBCRAWLING.

Backing up of Data

We explained how one can backup their data using the inbuilt backup tool available in Windows 7. Then we explained how we can do the same in linux by installing the sbackup package. But there were problems with 1 or 2 computers in which the package was not getting installed correctly. This was a minor hiccup that we faced with this section.

Data Recovery

We covered how one can recover their data in Windows and Linux. The Windows part would have taken a long time, so it was not covered in the lab. In linux, we used the photorec command (after installing the testdisk package) to recover mistakenly deleted data from a pendrive. We used pendrives with small storage size for this purpose as it would have taken too long for the photorec to recover data deleted from a hard disk partition.

Latex

Although this part was to be done in Windows environment using Miktex but since the administrator password was not available so we worked in linux. It took about 15-20 minutes to install the latex package for linux. So we had initially asked people to install latex first and while the installation was being done in the background, we planned to cover the other topics. But unfortunately when the installation was happening, we found that we could not install any other package. Thus we could only use half of the computers in the beginning (the one’s which had latex installed already).Initially it was hard to create interest in this topic but Saurabh did a good job of getting people interested in the topic! I was left marveling at his skills :P

Webcrawling

In the last 15 minutes of the class, we covered a webcrawling tool, websphinx. In the lab computers, we did not have the permission to install JAVA, so we had asked everyone to get their laptops with them for the demonstration. But in the lab, we found out that most people did not have the correct version of JAVA installed, so instead we demonstrated it on my laptop. Saurabh noted that while I was giving the demonstration, people enjoyed watching the formation of the tree graph of the web pages that had been crawled and which were being displayed on the websphinx interface.


Most people were keen to just get over with the lab, in fact one person kept on asking me how long the lab would take to end :P I was asked at 2:15, 2:45 and again at 3:15 this one particular question!

All in all, it was a unique as well as a good experience leading the lab session. We got to appreciate the problems that the previous lab leaders had faced especially in finishing off their portion within the required time


Shayan Lahiri
2010078

Saurabh Yadav
2010077

Wednesday, October 20, 2010

leading a lab session

I know I'm a little late but still there is always a first time :P (as im not much into blogging) .

I along with my partner ( lokesh) lead the lab session for week 8 - setting up wireless routers,security options in wireless routers and firewall. Its totally a different experience being on other side of the class, specially when we have to teach our own friends ;).

We struggled with the resources as our lab was solely based on wireless functionality and we had only 4 laptops (though i mailed every one to bring there laptops) so we decided to split ourselves
and lead the sessions in two halves which came out to be fruitful as we were able to complete our work in time and ( at-least i ) think didn't make the session a boring one .


I thank Amarjeet sir for giving us such an unique experience.

would love to learn all my subjects just like SM






Sunday, October 17, 2010

:D


Hey guys
In this blog I am just mentioning a few interesting shortcuts that come in very handy when you need to act swiftly trust me :D

1. Win+ M : Minimizes everything (really handy when someone just comes all of a sudden :P )

2. Win+ Home : Minimize/restore all open windows except the active one

3. Win+ Left/Right Arrow: Dock a window to your left or right side of the screen

Hope you enjoy using these shortcuts when you need them :)

Saturday, October 16, 2010

Firefox Mobile - the FOX comes to your phone


Firefox for mobile (codenamed Fennec, for the Fennec Fox the small desert fox) is the name of the build of the Mozilla Firefox web browser for ARM devices such as mobile phones and personal digital assistants (PDAs). Firefox for mobile 1.0 uses the same version of the Gecko layout engine as Firefox 3.6

Now Gecko is a free and open source layout engine used in many applications developed by Mozilla Foundation and the Mozilla Corporation (notably Firefox web browser), as well as in many other open source software projects. Gecko is written in C++ and is cross-platform, and runs on various operating systems including BSDs, Linux, Mac OS X, Solaris, OS/2, AIX, OpenVMS, and Microsoft Windows.Cross-platform, or multi-platform, is an attribute conferred to computer software or computing methods and concepts that are implemented and inter-operate on multiple computer platforms.

Talking about the browser now it supports the same web standards and it even accepts add-ons. The Firefox Sync lets the user have the same bookmarks, tabs, search history and other information like auto-fill form data and passwords whether the user is on the phone or on the computer. The user has the option of personalizing the homepage & sharing web links over social networks. One of the best features in the Fennec browser is the unique side-to-side swipe action, which brings up menus for things like tabs, bookmarks and settings. It minimizes the browser chrome and leaves more screen for web pages. This new version has the pinch-to-zoom browsing feature also.

The main limitation is that it is only compatible with Android and Maemo devices. Android phones like the Motorola Milestone and HTC Desire and Maemo phones like the Nokia N900 and the Nokia N810 Internet Tablet. Now Maemo is a software platform that is mostly based on open source code and powers mobile devices such as the Nokia N810 Internet Tablet. Maemo platform has been developed by Nokia in collaboration with many open source projects such as the Linux kernel, Debian , GNOME , and many more.

The main glitch according to different users comes in the form of its lack of speed but then this is a beta. In case you wondering what a beta is it is actually the name for the second stage of software testing, in which it is released for free or at a reduced price to a group of users just like a preview.

Where to get it from: http://firefox.com/m/beta

In case any of you want to know more about the features you can go to https://wiki.mozilla.org/Fennec



Friday, October 15, 2010

doubt related to OS

hello guys,
                i have a doubt regarding windows 7 as all the laptop users may be knowing this better than me and help me out..
what i want to ask is when we try to install windows 7 on some system already having some other windows..say windows xp, so windows 7 will replace the windows xp in the system then...will the info in the hard disk remain intact or will that info also get formatted??

this is i talked to someone and he told me that windows 7 needs a bare system for its installation... so just wanted to clarify..

Friday, October 8, 2010

DIFFERENCE BETWEEN i3 , i5 , i7 PROCESSORS

With all of these commercials coming in front of our faces about Intel’s newest line of processors, we can’t help but wonder what in the world the difference is.
This is something that I have been pondering upon and I found out that I wasn’t the only one wondering what on earth Intel has done by releasing these new processors.
 You can thank the coffee on a late night for this post. ;)

Intel Core i3 Processor

This particular Intel processor is the enter level processor of this new series of Intel processors. While it may not be the fastest one of the bunch, it can get the job done, at least for most applications.
Mind you, if you need high speed, I suggest one of the other processors that I will unveil in front of your eyes later on in this post. Here’s some of the Core i3 features.
  • Uses 4 threads. Yes, it uses hyperthreading technology which is the latest craze due to its improved efficiency over earlier processors that were put on the market.
  • This processor consists of 2-4 cores, depending on which one you get your hands on.
  • Contains A 3-4 MB Cache
  • Uses less heat and energy than earlier processors, which is always a good thing in this day and age.

Intel Core i5 Processor

  • This is the mid-size processor of this bunch, recommended for those who demand a little speed, but not quite enough where the user will be running resource-intensive applications.
  • As with the Core i3 processor, this comes with 2-4 cores, the main difference is that it has a higher clock speed than the Core i3.
  • This is also a heat and energy efficient processor, but it does seem to be better at this particular job than the Core i3 processor.
  • The number of threads used in this is no different than the Core i3 with 2-4 threads, and it also uses hyperthreading technology for a boost in performance.
  • The cache of the Core i5 is bigger than the Core i3, it’s at 3-8 MB.
  • The Core i5 is where the turbo mode is made available, this provides users with the opportunity to turn off a core if it’s not being utilized.

Intel Core i7 Processor

  • This is for the users that demand power. Great for gamers and other resource intensive users.It suits our IIITD FIFA players.Guess who! :)
  • The cache on this one is 4-8 MB.
  • This processor comes with 8 threads, definitely enough to get the job done quickly, maybe even at the speed of light if you’re lucky.  And yes it also utilizes hyperthreading technology.
  • You will have four cores to take advantage of with this particular series.
  • And just like the other ones in this Intel series of processors, it is more energy efficient and produces less heat.
I hope this shed some light on these new processors for you! :)

Saturday, October 2, 2010

Project Summary : Spyware and Keyloggers

Our (N, Anmol and mine) project covered the basics of spyware, keyloggers, cookies and phishing and how they all worked. Spyware is malware that is installed on a computer without the knowledge of the user and which monitors the user's activities while using the computer. Keylogger is software or hardware that keeps a log of all your keystrokes. Cookies are biscuits text files that are stored by websites on your system. They contain info about what you did while on that website. Phishing is a type of identity theft where users are fooled into surrendering personal data like passwords or bank account details. We gave a demonstration of a keylogging software and phishing. The demos were a little botched because we were running out of time. Still, we thankfully managed to finish within the 20mins. It had earlier seemed like we wouldn't be able to. Shayan asked a particularly nasty question, to which I had no answer at that point - What are the extensions of keylogger log files? I did a bit of Googling right now. Log files have the extension ".log" :)

Friday, October 1, 2010

Experience of leading lab session

I led the lab session of week 8 for group 2 in which I covered security options in wireless routers, firewall & setting up wireless routers.It was a great experience.I realized that its not easy to make others listen ourself. It becomes even tougher when there are insufficient resources as there were only 2 laptops to give demonstration. Therefore, we had to explain in subgroups which created a chaos but it also added something different to my experience that how to handle the different situations.

I felt that the training session was quite effective and productive.

I found it easy to cover the topic in given time period because of my peers support & TA’s help.

Altogether,it was a unique experience to lead a lab session on such interesting topics.

So,I would really like to thank Amarjeet sir that he has given us such an opportunity to learn things in a very different and interesting way.