Showing posts with label Technology. Show all posts
Showing posts with label Technology. Show all posts

Friday, April 23, 2010

How to restore a usb pendrive to its original state?

After having tooled around with a USB Linux version using your image overwritten or multi partitioned flash PenDrive, you might find it necessary to revert it back to a single fat partition (restore the flash pen drive to it's original state) that can again be read by all computer. Windows users can follow the Windows instructions below to Restore a Flash Drive using the HP USB Format tool SP27608 offered by Hewlett Packard (HP). For those working from Linux this task can easily be accomplished via the Linux Flash Drive Restoration tutorial that follows.

The HP USB Disk Storage Format Tool is a product of HP. The tool has worked on the USB drives I have available to me. However, as usual I can't guarantee it will work on your USB DEVICES.

Restoring your USB key to it's original state using Linux:
A. First we need to delete the old partitions that remain on the USB key.
  1. Open a terminal and type sudo su
  2. Type fdisk -l and note your USB drive letter.
  3. Type fdisk /dev/sdx (replacing x with your drive letter)
  4. Type d to proceed to delete a partition
  5. Type 1 to select the 1st partition and press enter
  6. Type d to proceed to delete another partition (fdisk should automatically select the second partition)
B. Next we need to create the new partition.
  1. Type n to make a new partition
  2. Type p to make this partition primary and press enter
  3. Type 1 to make this the first partition and then press enter
  4. Press enter to accept the default first cylinder
  5. Press enter again to accept the default last cylinder
  6. Type w to write the new partition information to the USB key
  7. Type umount /dev/sdx (replacing x with your drive letter)
C. The last step is to create the fat filesystem.
  1. Type mkfs.vfat -F 16 /dev/sdx1 (replacing x with your USB key drive letter)
That's it, you should now have a restored USB key with a single fat 16 partition that can be read from any computer.

Saturday, April 10, 2010

Flash vs. Silverlight:: which one is better?

Today for any Web 2.0 standard web application client side scripting is very important.Now the web application development has got several changes.Today developer wants to write code quickly and with ease.To fulfill this requirement tends to develop Integrated Development Environment to write code easily and IDEs also provide several functionality.

If we compare Flash and Silverlight on the basis of there performance, ease to develop applications,Compatibilities with different platforms,Online support. Then we  can easily compare both of them.

  1. Performance:-     Today Flash plugins can be found for any OS and web browser.These plugins are of about 1 to 2 MB for windows , Mac and Linux. These Flash applications works well on all of these platforms.Adobe software engineers worked well on this technology. This is the reason that Adobe has been on top for more than 10 years.Sometimes it is noticed that sometimes it makes a website heavy.On the other hand if we talk about Microsoft Silerlight then we find that it also provide an interactive feel for any application also loads faster than Adobe Flash.But still Microsoft Silverlight sdk4 is a new technology. These days not every computer has got silverlight plugin to play silverlight application. And size of silverlight runtime environment is about 4 Mb for windows , for Mac it is about 8 Mb. In Linux there is a substitute for silverlight named Moonlight. But this size does not matter too much.
  2. Ease to develop applications:-   Ease of application development is a big matter of concern. Adobe Flash is an open source technology.Adobe has given it a new dimension by introducing Adobe Flex and Adobe AIR. But it is well known that Microsoft has been the best in the development of application development tools.Microsoft visual Studio has been the best developer tool and it provides support for silverlight development. Microsoft provides a huge amount of support and help for its tools.Hence its make easy to develop silverlight applications.
Online Support:-  Microsoft provide huge amount of  online help and tutorials which makes it easy to learn application development. Adobe Flex mainly works on action script and silverlight support .net languages like c#. C# has got several capabilities to work .Hence application development is more flexible on silverlight sdk.
   
                                 In this way we see that Microsoft silverlight is much more superior than Adobe Flash.