< Return to Video

Sandbox

  • 0:00 - 0:04
    Hello. I'd like to speak with you today
    about creating a compressed folder in
  • 0:04 - 0:08
    Windows 7. Before I do that, however, I'd
    like to talk a little bit about
  • 0:08 - 0:14
    compression. First of all, as you know,
    everything on the computer is
  • 0:14 - 0:19
    represented in bits. Everything is
    reducible to zeros and ones -- and by
  • 0:19 - 0:26
    "everything," I mean text files. I mean
    programs. I mean audio. I mean video. To
  • 0:26 - 0:37
    give you an example, Paint stores images
    as bitmaps. Each canvas is made up of a
  • 0:37 - 0:43
    certain number of pixels across and down. Each pixel can be a single color. One pixel
  • 0:43 - 0:48
    can be red or it can be blue, but it
    can't be partly red and partly blue. If
  • 0:48 - 0:54
    you're dealing with a monochrome image
    such as we have here, you really only
  • 0:54 - 1:00
    have two choices: black or white. Two
    choices can be represented by a single
  • 1:00 - 1:07
    bit; for example, zero might represent white, one might represent black. So in an
  • 1:07 - 1:12
    uncompressed format, ordinarily this
    might be stored as lots and lots and
  • 1:12 - 1:17
    lots of zeros to represent all of this
    white, still more zeros more zeros more
  • 1:17 - 1:23
    zeros, then three black or three -- we've
    got three black pixels here, so we've got
  • 1:23 - 1:30
    three ones, a lot more zeros to represent
    all this white. Five ones in a row to
  • 1:30 - 1:35
    represent this next line down -- five black
    squares, lots and lots of white squares,
  • 1:35 - 1:43
    lots more zeros and so on. Imagine,
    however if instead of having to store 00
  • 1:43 - 1:48
    000 -- a thousand zeros followed by a few
    ones followed by a thousand more zeros
  • 1:48 - 1:54
    followed by maybe 25 ones, imagine
    instead of having to take all those bits
  • 1:54 - 2:02
    for that, you had some special way of
    saying repeat 0 a thousand times.That
  • 2:02 - 2:06
    special way of representing a thousand
    zeros would take less space than
  • 2:06 - 2:11
    representing the series with a thousand
    bits. This would be an example of a very
  • 2:11 - 2:18
    simple compression algorithm using this special repeating symbol. Now
  • 2:18 - 2:23
    in actual practice, the compression
    algorithms are far more complex, but this
  • 2:23 - 2:27
    gives you a feel for how it might be
    possible to represent the exact same
  • 2:27 - 2:37
    information in less space. Windows makes it possible to save files of various
  • 2:37 - 2:43
    types using less space with its built-in
    compression. You can create a compressed
  • 2:43 - 2:48
    folder and then put files into it and
    the files -- depending on what is in them --
  • 2:48 - 2:52
    may very well take up less space; it might be just a little less space, it might be a lot
  • 2:52 - 2:58
    less space. So for example this "Psych
    notes" is nineteen thousand bytes, more or
  • 2:58 - 3:04
    less, of text. To create a compressed
    folder, I could right-click on an empty
  • 3:04 - 3:09
    spot in this pane just as I would to
    create a regular folder, and -- again, just
  • 3:09 - 3:14
    as with a regular folder -- I can go to "New," but if instead of choosing "Folder," I
  • 3:14 - 3:20
    choose "Compressed zipped folder," I will
    create a compressed folder. I can then
  • 3:20 - 3:25
    give this compressed folder any name
    that I like, such as "Notes" (because i'm
  • 3:25 - 3:30
    going to be putting my notes in here). I
    click outside of that area to deselect
  • 3:30 - 3:37
    "Notes." I'm then going to right-drag and
    drop my "Psych notes" on to my "Notes"
  • 3:37 - 3:42
    folder. By right-dragging rather than
    dragging, I can choose whether I wish to
  • 3:42 - 3:47
    copy the "Psych notes" or to move them. "Copy" is bold, so that's the default. In
  • 3:47 - 3:52
    point of fact, I do wish to copy; I'm
    going to choose "Copy" here. Now you'll
  • 3:52 - 3:58
    notice that I've got my original "Psych
    notes" that is 19 kilobytes. My compressed
  • 3:58 - 4:04
    folder is 11 kilobytes; it's a lot
    smaller. If I open up my compressed
  • 4:04 - 4:08
    folder, I can see a "Psych notes" listed in
    here, and I can double click on the "Psych
  • 4:08 - 4:16
    notes." When I do that, you see that Word
    opens in read-only mode; that's one of
  • 4:16 - 4:22
    the disadvantages of compression -- we
    don't just compress everything that
  • 4:22 - 4:26
    we're working with partly because if we
    want to make any sort of changes,
  • 4:26 - 4:31
    we're going to be having to
    extract the file from our compressed
  • 4:31 - 4:36
    folder. We're going to have to decompress
    the file -- restore to the original size --
  • 4:36 - 4:41
    make changes, and then we could put the
    modified file back into a compressed
  • 4:41 - 4:46
    folder, if we wished. The other downside
    of working with a compressed object is
  • 4:46 - 4:52
    that it's going to take a little bit
    longer to do any sort of processing, but
  • 4:52 - 4:59
    if I do wish to extract this file again,
    if I just want to open it I could choose
  • 4:59 - 5:06
    to open it here. If I come up to the
    folder above my compressed folder so I
  • 5:06 - 5:11
    can see the compressed folder, I can
    right-click on it and choose to "Extract
  • 5:11 - 5:17
    All." I'm going to be asked where would
    you like to place the extracted file,
  • 5:17 - 5:23
    and by default it will be
    placed in the same folder as the one that
  • 5:23 - 5:27
    contains the compressed folder. So I'll
    leave the default here. I'm not going to
  • 5:27 - 5:32
    browse to any different location, and I
    don't want to see the extracted files
  • 5:32 - 5:38
    when complete. I'll just say "Extract," and
    now you'll see we have a new,
  • 5:38 - 5:45
    uncompressed folder called "Notes." The compressed one has an icon
  • 5:45 - 5:50
    that has a zipper on it; regular folders
    do not have the zipper. If you are
  • 5:50 - 5:55
    showing your file types, compressed
    folders have the file type or the
  • 5:55 - 6:05
    extension of "zip." Uncompressed ones
    don't have any visible extension. So what
  • 6:05 - 6:08
    are the main points with creating a
    compressed folder and using it? To create
  • 6:08 - 6:14
    it, you can right-click on a blank part
    of the window-->New-->Compressed (zipped)
  • 6:14 - 6:19
    Folder. Give it whatever name you'd like.
    Place in it anything that you'd like to
  • 6:19 - 6:24
    have compressed. When you wish to make use of the items. if you just want to see
  • 6:24 - 6:27
    the contents, you don't want to make any
    changes, you're not doing anything all
  • 6:27 - 6:30
    that extensive, you can work with the
    compressed version. If you do wish to
  • 6:30 - 6:37
    make changes, you do wish to do
    extensive processing, you're going to be
  • 6:37 - 6:42
    needing to right-click on the folder and
    choose "Extract All."
  • 6:42 - 6:46
    If you don't wish to extract everything,
    another thing you could do is you could
  • 6:46 - 6:52
    come into the folder copy the item that
    you wish to extract. If I had 10
  • 6:52 - 6:56
    different items in here and I only wished
    to extract the "Psych notes," I could
  • 6:56 - 7:01
    right- click on psych notes and choose "Copy," go wherever I like to paste it,
  • 7:01 - 7:07
    right-click and choose "Paste." Now I already have a file of this name -- my original
  • 7:07 - 7:12
    file-- in here, so Windows has asked me
    what do I want to do: Do I
  • 7:12 - 7:18
    really wish to replace the original with
    a copy, do I wish to say "Don't copy," or
  • 7:18 - 7:21
    I'm going to copy but keep both files,
  • 7:21 - 7:27
    and in theory I should be seeing a
    second copy in here. I'm not sure why I'm
  • 7:27 - 7:37
    not, but in theory I should be. Okay I'm
    not sure why I hadn't been seeing the
  • 7:37 - 7:42
    second copy; I just refreshed the screen
    and now you can see the second copy.
  • 7:42 - 7:46
    Thank you very much. Goodbye
Title:
Sandbox
Description:

You can use this Sandbox to try out things with the Amara tool.

The video that is primarily streaming here is http://www.youtube.com/watch?v=ZU2kyr9jRkg , which is completely blank. But you can go to the URLs tab to add the URL of another video and make it primary.

Please remember to download your subtitles if you want to keep them, as they will get deleted - and the streaming URL reverted to the blank video if you changed it - after a week or two,

more » « less
Video Language:
English
Team:
Captions Requested
Duration:
01:46:39
Claude Almansi edited English subtitles for Sandbox
Claude Almansi edited English subtitles for Sandbox
Claude Almansi edited English subtitles for Sandbox
Claude Almansi edited English subtitles for Sandbox
Claude Almansi edited English subtitles for Sandbox
koma edited English subtitles for Sandbox
koma edited English subtitles for Sandbox
Claude Almansi edited English subtitles for Sandbox
Show all
  • Revision 1 = provided subtitles for Lecture 1.2 of Prof. Scott Plous' Social Psychology course

  • Revision 1 = provided subtitles for Lecture 1.2 of Prof. Scott Plous' Social Psychology course

  • Revision 1 = provided subtitles for Lecture 1.2 of Prof. Scott Plous' Social Psychology course

English subtitles

Incomplete

Revisions Compare revisions