Wednesday, November 26, 2008

How to save the videos you watch in YouTube?

All the videos you watch on sites like YouTube, MetaCafe etc. are stored in your computer in the browser cache directory. After watching a video ,if you want to save it in your disk for future viewing, here is the easiest and fastest method. We need not to download the files again from some third party sites, so this method saves bandwidth and time.


Notes

  • The video files are stored in brower cache directory. (we'll see where it is)
  • The videos you see on Youtube are in .flv (flash video) format.
  • You will require a FLV player to watch the videos offline.
  • Some of the players are Real Player Gold and Applian FLV player.
  • Install one of the FLV players


We'll see how we can save the Youtube videos from Mozilla Firefox browser. Below is the path of the cache directory for firefox. C: drive is assumed to be the system drive.


Browser Cache directory path :

"C:\Documents and Settings\\Local Settings\Application Data\Mozilla\Firefox\Profiles\.default\Cache"

Go to my computer and browse to "C:\Documents and Settings\\".


To browse this path further, first enable viewing of hidden files and folders. For this, go to tools > folder options >view >check "show hidden files and folders" . Click OK.


Now go to "Local Settings\Application Data\Mozilla\Firefox\Profiles\.default\Cache"

In profiles directory, there will be only one folder, so don’t care about .


Once you get to the Cache folder showing many weird files with weird names, just copy the path from address bar and make the shortcut to that folder on the desktop. Name the shortcut "Cache_Firefox".


Now starts the real thing,

Launch firefox and go to www.youtube.com, view any one full video or just let the streaming complete. Don’t close the tab in which the fully streamed video is there.

Now, go to the "Cache_Firefox" shortcut on desktop and open cache directory.Go to view menu and select "Details".


Sort the list as the file with maximum size comes first.Mostly the video files are bigger than files of other types. Sizes of the first few files will be more than 1MB.


Select the first biggest file whose name doesn’t contain word CACHE.

(Do not select the file with name like "_CACHE_003_", instead select file whose name is something like "900E5F40d01")


Right click on that file and click "Cut", Go to desktop>right click>paste.

Now rename that file with some meaningful name like "xyz.flv" (!!)

(Remember you can give any name but just don’t forget the extension .flv)


Play that file in FLV player, and whooa , that’s the video you just watched on Youtube.

Now you can close the browser or watch another video.

Enjoy ...



For Internet Explorer:

For IE the stuff becomes even easier.

Browser cache directory in this case will be:

"C:\Documents and Settings\\Local Settings\Temporary Internet Files"


You can follow the same steps here and just watch for the files containing "get_video". Select that file and copy it.

Stumble Upon Toolbar

Friday, November 21, 2008

NVIDIA CUDA – Future is here…

Are you a tech freak and fascinated by the computational power of your GeForce while playing Crysis?

Wonder if that power can be used for anything more fascinating?

Want something more out of your GPU?

CUDA - Compute Unified Device Architecture

NVIDIA CUDA™ technology is the world's only C language environment that enables programmers and developers to write software to solve complex computational problems in a fraction of the time by tapping into the many-core parallel processing power of GPUs (Graphics Processing Units).

CUDA is a software layer intended for stream computing and an extension in C programming language, which allows identifying certain functions to be processed by the GPU instead of the CPU. These functions are compiled by a compiler specific to CUDA in order that they can be executed by a GPU's numerous calculation units in the GeForce 8 class and above. Thus, the GPU is seen as a massively parallel co-processor that is well adapted to processing well paralleled algorithms.

An enormous proportion of the GPU is devoted to execution, contrary to the CPU


Using this large number of parallel computing cores, applications can run thousands of threads in parallel running in the GPU.

If you have got NVIDIA Geforce 8 series or above and know how to program in C, you can start using it for massive parallel computing right now. CUDA comes with a toolkit and a SDK with a CUDA device driver. CUDA development kit is freely provided by NVIDIA at http://www.nvidia.com/object/cuda_learn.html. CUDA SDK comes with a set of libraries and APIs for accelerating Digital Signal Processing and Image Processing applications. This technology gives up to 300x speedups over conventional CPUs in many compute intensive scientific applications.

Some of the applications are:

  • Ray tracing
  • Computational Electrodynamics
  • Computational Chemistry
  • Molecular Dynamics of DNA
  • Accelerated Computer Vision
  • Large Vocabulary Continuous speech recognition
  • Statistical and financial computing
  • Complete list of applications and their APIs.

    The NVIDIA CUDA™ technology is started being taught at universities throughout the world, helping the development of innovative solutions to some of the most complex computation-intensive challenges. Course detail

For Complete Details visit: http://www.nvidia.com

    Stumble Upon Toolbar

    Wednesday, November 19, 2008

    Attitude...

    Stumble Upon Toolbar

    Monday, November 17, 2008

    Mistakes – Think before you say..!

    "Who in their right mind would ever need more than 640k of ram!?" -- Bill Gates, 1981

    "Computers in the future may weigh more than 1.5 tons." -- Popular Mechanics, forecasting the relentless march of science, 1949

    "I think there is a world market for maybe five computers." -- Thomas Watson, chairman of IBM, 1943

    "I have traveled the length and breadth of this country and talked with the best people, and I can assure you that data processing is a fad that won't last out the year." -- The editor in charge of business books for Prentice Hall, 1957

    "But what ... is it good for?" -- Engineer at the Advanced Computing Systems Division of IBM, 1968, commenting on the microchip.

    "There is no reason anyone would want a computer in their home." -- Ken Olson, president, chairman and founder of Digital Equipment Corp., 1977

    "This 'telephone' has too many shortcomings to be seriously considered as a means of communication. The device is inherently of no value to us." -- Western Union internal memo, 1876.

    "The wireless music box has no imaginable commercial value. Who would pay for a message sent to nobody in particular?" -- David Sarnoff's associates in response to his urgings for investment in the radio in the 1920s.

    "The concept is interesting and well-formed, but in order to earn better than a 'C,' the idea must be feasible." -- A Yale University management professor in response to Fred Smith's paper proposing reliable overnight delivery service. (Smith went on to found Federal Express Corp.)

    "We don't like their sound, and guitar music is on the way out." -- Decca Recording Co. rejecting the Beatles, 1962.

    "Heavier-than-air flying machines are impossible." -- Lord Kelvin, president, Royal Society, 1895.

    "Drill for oil? You mean drill into the ground to try and find oil? You're crazy." -- Drillers who Edwin L. Drake tried to enlist to his project to drill for oil in 1859.

    "Stocks have reached what looks like a permanently high plateau." -- Irving Fisher, Professor of Economics, Yale University, 1929.

    "Airplanes are interesting toys but of no military value." -- Marecha Ferdinand Foch, Professor of Strategy, Ecole Superieure de Guerre.

    "Everything that can be invented has been invented." -- Charles H. Duell, Commissioner, U.S. Office of Patents, 1899.

    "Louis Pasteur's theory of germs is ridiculous fiction". -- Pierre Pachet, Professor of Physiology at Toulouse, 1872

    Stumble Upon Toolbar

    Funny Physics

    When a third grader was asked to cite Newton's first law,

    she said, "Bodies in motion remain in motion, and bodies at rest stay in bed unless their mothers call them to get up."

    Q: What is the name of the first electricity detective?
    A: Sherlock Ohms

    Two atoms were walking across a road when one of them said, "I think I lost an electron!" "Really!" the other replied, "Are you sure?" "Yes, I 'm absolutely positive."


    SUBATOMIC PARTICLE STORE

    The subatomic particle store had a sale last week.

    Electrons: $0.10

    Protons: $0.10

    Neutrons : free of charge


    Q: Which right-hand rule do students use on bad physics professors?
    A: Step 1: Extend your right arm forward from the elbow. Step 2: Keeping your palm facing to the left, stick out your middle finger. Step 3: Rotate your hand 90 degrees clockwise.


    Murphy's Ten Laws for String Theorists:

    (1) If you fix a mistake in a mathematical superstring calculation, another one will show up somewhere else.

    (2) If your results are based on the work of others, then one such work will turn out to be wrong.

    (3) The longer your article, the more likely your computer hard disk drive will fail while you are typing the references.

    (4) The better your research result, the more likely it will be rejected by the referee of a journal; on the other hand, if your work is wrong but not obviously so, it will be accepted for publication right away.

    (5) If a result seems to good to be true, it is unless you are one of the top ten string theorists in the world. (By the way, these theorists refer to their results as "string miracles".)

    (6) Your most startling string-theoretic theorem will turn out to be valid in only two spatial dimensions or less.

    (7) When giving a string seminar, nobody will follow anything you say after the first minute, but, if miraculously someone does, then that person will point out a flaw in your reasoning half-way through your talk and what will be worse is that your grant review officer will happen to be in the audience.

    (8) For years, nobody will ever notice the fudge factors in your calculations, but when you come up for tenure they will surface like fish being tossed fresh breadcrumbs.

    (9) If you are a graduate student working on string theory, then the field will be dead by the time you get your Ph.D.; Even worse, if you start over with a new thesis topic, the new field will also be dead by the time you get your Ph.D.

    (10) If you discover an interesting string model, then it will predict at least one low-energy, observable particle not seen in Nature.

    The Heineken Uncertainty Principle says "You can never be sure how many beers you had last night."

    Q: What did Donald Duck say in his graduate physics class?
    A: Quark, quark, quark!

    A student riding in a train looks up and sees Einstein sitting next to him. Excited he asks, "Excuse me, professor. Does Boston stop at this train?"


    More later….

    Stumble Upon Toolbar

    Thursday, November 13, 2008

    Just A Thought


    "A Ship is always safe at the shore, but it is not built for that."



    Stumble Upon Toolbar

    Wednesday, November 12, 2008

    Why this Blog?

    No gr8 reason to start this blog.
    Its just for satisfying my curiosity about the thing called blogging and a small step to pacify my boredom.

    Just put a comment if you like the stuff.
    Or if you don lyk it, I just don't care. You can always move on.

    Wanna know more about me ?
    you can chk me out here.


    Orkut profile

    View Punit Soni's profile on LinkedIn

    Stumble Upon Toolbar