Files & File Systems: Crash Course Computer Science #20

Today we’re going to look at how our computers read and interpret computer files. We’ll talk about how some popular file formats like txt, wave, and bitmap are encoded and decoded giving us pretty pictures and lifelike recordings from just strings of 1’s and 0’s, and we’ll discuss how our computers are able to keep all this data organized and readily accessible to users. You’ll notice in this episode that we’re starting to talk more about computer users, not programmers, foreshadowing where the series will be going in a few episodes.
Pre-order our limited edition Crash Course: Computer Science Floppy Disk Coasters here!
store.dftba.com/products/comp...
Crash Course Physics episode on sound:
• Sound: Crash Course Ph...
Produced in collaboration with PBS Digital Studios: / pbsdigitalstudios
The Latest from PBS Digital Studios: • All PBS Digital Studio...
Want to know more about Carrie Anne?about.me/carrieannephilbin
Want to find Crash Course elsewhere on the internet?
Facebook - / youtubecrashc. .
Twitter - / thecrashcourse
Tumblr - / thecrashcourse
Support Crash Course on Patreon: / crashcourse
CC Kids: / crashcoursekids

Пікірлер: 415

  • @imaytag
    @imaytag7 жыл бұрын

    Every time I watch one of these videos I always imagine going back in time and showing it to an early computer scientist and seeing their reaction to how far we've come.

  • @imaytag

    @imaytag

    7 жыл бұрын

    Heh, yeah. But I meant going back to a time when the technology was still developing. And seeing their reaction for those times when Carrie Anne casually references the capabilities of modern computers.

  • @sauravligal5809

    @sauravligal5809

    4 жыл бұрын

    evolution of computer is fast...

  • @nosuchthing8

    @nosuchthing8

    4 жыл бұрын

    Yeah, but they would be shocked we still don't have human level ai.

  • @Supermunch2000
    @Supermunch20007 жыл бұрын

    This crash course is one of the most delightful things to ever appear on the internet. Thank you Carrie Anne, Stan and everybody else involved.

  • @23trekkie
    @23trekkie7 жыл бұрын

    Defragmentation was fun to watch... If you had angelic patience and nothing better to do. Before defragmentation - 25% fragmentation. 12 hours later - 24% fragmentation.

  • @samuelisaac2984

    @samuelisaac2984

    4 жыл бұрын

    24 hours later: 26% fragmentation.

  • @Phantom-nb5li
    @Phantom-nb5li4 жыл бұрын

    It's great that the presenter doesn't shy away from "advanced" topics (in any of the videos in this course) - that provides something for every "level" (beginner / intermediate / advanced) of viewer. Great job with these videos !

  • @WiseWik
    @WiseWik7 жыл бұрын

    Only 90's kids remember how fun it was to watch defrag.

  • @hopeg97

    @hopeg97

    7 жыл бұрын

    Pajaat Or 00's kids with passed-down legacy hardware. I remember watching Windows XP defrag. I think I also remember Windows 7 defragging, but it wasn't nearly as fun. (born '97, so anything before 2002 is lost to childhood amnesia)

  • @JimPlaysGames

    @JimPlaysGames

    7 жыл бұрын

    You can always get third party defraggers with nice GUIs that show off the data juggling.

  • @huge_aubergine

    @huge_aubergine

    7 жыл бұрын

    I wouldn't say it was fun. I was expecting my Windows to run smoothly after every defrag, but it never happened :(

  • @RomanKorostenskyi

    @RomanKorostenskyi

    7 жыл бұрын

    I'm 00's kid, and I remeber that defrag^^

  • @IIGrayfoxII

    @IIGrayfoxII

    7 жыл бұрын

    The Windows 9x defrag utility was the best, all those little blocks. XP just had the stupid bar which didnt tell you much Windows vista and newer got rid of the animations with the claim it improves performance.

  • @PrivateYouTubeE
    @PrivateYouTubeE4 жыл бұрын

    After so many years, I finally know defragmentation means and what it does. Thank you so much.

  • @Agen7P
    @Agen7P7 жыл бұрын

    We're now up 20 Layers of abstraction.

  • @orion10x10

    @orion10x10

    5 жыл бұрын

    l a y e r s

  • @Fcycfvyvvyvtfutg

    @Fcycfvyvvyvtfutg

    4 жыл бұрын

    That’s not how it works...

  • @evanl5299
    @evanl52996 жыл бұрын

    I just read a full textbook chapter on this, but the way you described file systems made it so easy to understand! Thanks for this excellent, concise video. Great work!!

  • @djmontoro
    @djmontoro7 жыл бұрын

    This is by far the Crash Course series from which I have learned more. Thanks, Excellent work!!!

  • @videoinformer
    @videoinformer4 жыл бұрын

    I often speed up informative KZread videos by 25%. This extremely good presenter obviates the need, and speaks just about 25% faster than "normal" with perfect articulation and fluidity that makes it easy to take in what she is saying without any flaws to distract. A playback speed of 80% would "undo" a 25% increase over "normal". (1/1.25=0.8). If you slow this video to 75% (the closest to 80% that's available), the presenter sounds like she's speaking a little more slowly than normal, so I'd say, yes, she's naturally speaking about 125% of normal rate. And, very well done!

  • @thecentalist3160
    @thecentalist31607 жыл бұрын

    YAY two of my favorite series uploaded on the same day.

  • @tylerblackstock6452
    @tylerblackstock64526 жыл бұрын

    Love this whole series, you make it easy to understand the flow of technological advancement

  • @lorenz_codes
    @lorenz_codes Жыл бұрын

    I feel like I struck gold with this series! Thanks for making these videos!

  • @vaibhavtripathi4951
    @vaibhavtripathi49515 жыл бұрын

    crash course has biggest impact on the world in recent decade. it changes the way we see KZread, technology and education. thanks to green brothers.

  • @WoutiecomNL
    @WoutiecomNL Жыл бұрын

    Wow, my first time watching a video from your channel. As I am interested in File Systems I came across this video. You, Carrie, can explain it very clearly and your animations and sounds are pleasing on the eye ;)

  • @dixztube
    @dixztube Жыл бұрын

    This was pretty good! Read a couple chapters today in a Linux book covering storage partitions and file systems and this had some tidbits a fairly technical book left out. I’ve been developing for 5 years now and finally just now falling in love with computer science

  • @sameerkumar1884
    @sameerkumar18844 жыл бұрын

    This video is really informative for knowing nitty gritty about file system specially "Block Storage"... It can also be used to understand about newly evolved Object storage...

  • @somethingnew3338
    @somethingnew3338 Жыл бұрын

    best explanation for file system. I saw around 10 videos till now. thanks and congrats

  • @austina2002
    @austina20025 жыл бұрын

    I am glad to have found this series. Very informative. I will recommend to others!

  • @noemiej.marquis732
    @noemiej.marquis7327 жыл бұрын

    Just realised it's a bit ironic that these computer science courses are called "crash" course. ;)

  • @jakekimds

    @jakekimds

    7 жыл бұрын

    Crash Course rocket science... coming soon!

  • @tanxyrogue847

    @tanxyrogue847

    7 жыл бұрын

    coincidence isn't irony but that doesn't stop the phrase from being ironic

  • @bakedutah8411

    @bakedutah8411

    7 жыл бұрын

    I wonder who first used "crash" to describe a computer getting into a fankle. It's such a common usage I'd never thought about it until you just mentioned it.

  • @AckzaTV

    @AckzaTV

    7 жыл бұрын

    no its not ironic because Crash Course was not made just fpr computer science, this is all brand new subject, man after they have every subject on earth done there will be No need for school or teachers and thank god

  • @justluc8556

    @justluc8556

    5 жыл бұрын

    😂

  • @utkarshupadhyay74
    @utkarshupadhyay745 жыл бұрын

    Exactly what I was looking for.Thanks for spreading knowledge.

  • @miklos.
    @miklos.7 жыл бұрын

    Love the series so much!

  • @avi12
    @avi125 жыл бұрын

    I'm fascinated by how you explain about metadata and data! So cool!

  • @alexandercountry
    @alexandercountry7 жыл бұрын

    Carrie you are my new spirit animal.

  • @oslonorway547
    @oslonorway5477 жыл бұрын

    I remember the first time a teacher told me to find a _file_ on a computer ..... I spent 5 embarrassing minutes looking for any icon that looked like a clipboard or spiral notebook. Later I found out that was the Calendar icon.

  • @shirshendudebroy2097

    @shirshendudebroy2097

    6 жыл бұрын

    hahahaha

  • @dowhile5948
    @dowhile59485 жыл бұрын

    you have worked hard to make these videos.These videos are the best about computer science.

  • @cdg03
    @cdg037 жыл бұрын

    Fantastic, logical, well structured explanation. Thank you so much.

  • @Blaineworld
    @Blaineworld7 жыл бұрын

    I like how these videos make use of the font Terminal. It's a really good pixel font, which it honestly has to be since it's used on the Command Prompt.

  • @sss2393
    @sss23933 жыл бұрын

    Big fan of your teaching. Awesome as always, thanks a ton!

  • @DavidsKanal
    @DavidsKanal6 жыл бұрын

    This was so informative, loved it. Thanks so much!

  • @zakunknown9737
    @zakunknown97377 жыл бұрын

    TY Carrie Anne, love your series!!!

  • @chrisshyi8999
    @chrisshyi89997 жыл бұрын

    Very educational, keep the great content coming!

  • @TYKUHN2
    @TYKUHN25 жыл бұрын

    I can understand the simplification, but it is important to remember that many programs running under Unix/Linux do not care about extension and furthermore EXT4, a common Linux filesystem, does not experience fragmentation.

  • @TYKUHN2

    @TYKUHN2

    5 жыл бұрын

    Peterolen very few programs (at least that I work with) care about the extension

  • @Revisiontecnica
    @Revisiontecnica7 жыл бұрын

    WHEN WILL THERE BE "ANOTHER LEVEL OF ABSTRACTION" TSHIRTS?!!!!

  • @mohamedabdelaal8582
    @mohamedabdelaal85825 жыл бұрын

    this is sooo well put together! thank you!!!!

  • @kannanhassouna8789
    @kannanhassouna87894 жыл бұрын

    i love this series so much

  • @crashlanding9938
    @crashlanding99387 жыл бұрын

    So interesting and engaging, great work. I think this is my favorite crash course series

  • @RmSeven5
    @RmSeven55 жыл бұрын

    Wow, you are so amazing. I love the course.

  • @borriskarlov8140
    @borriskarlov81405 жыл бұрын

    this series is SO empowering

  • @vaibhavdeshmukh7900
    @vaibhavdeshmukh79005 жыл бұрын

    How I am so late to know about this amazing channel!!! I guess nowadays youtube is getting so much filled by shitty channels that awesome channels are getting missed!

  • @guyr989
    @guyr9895 жыл бұрын

    This explains so much!! wish I could liked it more times

  • @androidaleccc
    @androidaleccc5 жыл бұрын

    I just wanted to say you are awesome, you do a really good job.

  • @biggerdoofus
    @biggerdoofus7 жыл бұрын

    A bit of extra info about the making of custom file formats: since the data just needs to be in an order that the program using it can process, and that program is usually made by humans to at least some extent (though rarely entirely nowadays), it's also not uncommon to design new formats on top of text formats so that they'll be "human-readable". This is especially useful if you want users to be able to adjust data themselves, such as in the case of configuration files and simpler level editors for video games. That method also helps the data be easier to transfer across different computer architectures, which is why it's used in html and xml (formats used for websites and similar applications).

  • @Roxor128

    @Roxor128

    7 жыл бұрын

    The downside, of course, is that text-based formats are rather space-inefficient and writing routines to read them isn't the simplest of tasks. Mainly because when it's human-readable, humans will edit it, and the mistakes they make are many and varied, requiring a lot of work on your part to figure out where they've gone wrong and come up with a suitable error message. Much like writing a compiler, actually. Most of the work there is making sure the file it's been fed is valid Foogol code (I hope nobody has made an actual language with that name because it's a good placeholder name).

  • @tanveerB5
    @tanveerB55 жыл бұрын

    wow, What an explanation. Thoroughly enjoyed the video. Like The concept taking from the very basic. Thanks :):)

  • @Lucuskane
    @Lucuskane7 жыл бұрын

    what a satisfying video, I love my file system

  • @therealquade
    @therealquade7 жыл бұрын

    >Opens audio editor >renames a jpg as .wav >opens ".wav" in audio editor >adds effect >saves ".wav" >Renames to .jpg >Opens in hex editor >fixes metadeta that was lost/damaged >Opens image

  • @LinhNguyen-bp9hd
    @LinhNguyen-bp9hd4 жыл бұрын

    that clears up a lot, cant believe I have just understood fragmentation after 20years using computer

  • @ElderBard00
    @ElderBard004 жыл бұрын

    Liked and subscribed! Loved this video. Thank you!!!

  • @MOHx32
    @MOHx326 жыл бұрын

    I can't.... Stop..... BINGE WATCHING!!! I feel the knowledge coursing through my grey matter, ALMOST TO LEVEL 9000! WHAAAH!!!!

  • @darylbangerter7171
    @darylbangerter71717 жыл бұрын

    Looking forward to Crash Course: Interpretive Dance :)

  • @addison1977
    @addison19774 жыл бұрын

    This series is so good

  • @enricmm85
    @enricmm854 жыл бұрын

    "Defragmentation [...] once upon a time it was really fun to watch." Indeed. RIP old Windows defrag tool 😢

  • @HH-zi2oj
    @HH-zi2oj6 жыл бұрын

    I learned a lot from Carrie Anne than my professors xD Thank you Crash Course! :D

  • @diontaedaughtry974
    @diontaedaughtry9746 жыл бұрын

    Thank you this was very helpful and informative 👍👍

  • @bautistavazquez6295
    @bautistavazquez62956 жыл бұрын

    This is pretty cool keep it up I wanna be a hardware engineer but I like learning about everything

  • @albinojonh
    @albinojonh6 жыл бұрын

    Nice videos! It would be great if you could talk about other file systems, for example ext or fat and show how they work and their limitations. And also, in the part of file format could have been mentioned linux administration for them (inods) Thank you very much!

  • @rampage241
    @rampage2417 жыл бұрын

    awesome as always

  • @csvscs
    @csvscs7 жыл бұрын

    really enjoying this series

  • @JuarezJaques
    @JuarezJaques6 жыл бұрын

    Amazing explanation!!

  • @santiagocerda7342
    @santiagocerda73427 жыл бұрын

    It would be awesome if you explain how is the data represented in a screen and the way screens work :D This videos are fantastic. Keep going!

  • @hciprof

    @hciprof

    7 жыл бұрын

    Hang tight. We're getting there!

  • @michaniki1684
    @michaniki16844 жыл бұрын

    i always somehow end up coming back to this computer science crash course XD

  • @bee5120
    @bee51207 жыл бұрын

    The best thing about SSD's? No defragmentation required.

  • @BertGrink

    @BertGrink

    7 жыл бұрын

    Not only is it not required, but it would actually be detrimental to the "health" of the SSD, since each storage cell can only be written to a limited (albeit reasonably large) number of times.

  • @Leela_X

    @Leela_X

    7 жыл бұрын

    미셜비 that only half the truth. ssds will preread/precache the next blocks just in case they are needed, defragmentation can have a performance benefit even on ssds

  • @andythepandaninja3859

    @andythepandaninja3859

    7 жыл бұрын

    teleturbo Trying to defrag a SSD would do more harm than good as explained by Gert Brink Nielsen.

  • @Leela_X

    @Leela_X

    7 жыл бұрын

    AndyThePandaNinja it depends how you defrag and what filesystem you use .

  • @NizarElZarif

    @NizarElZarif

    7 жыл бұрын

    usually, SSDs have their own firmware and controller that knows what is the health of each block and where the data is best located. the controller along with the firmware handles defragment and file placement. this is much better than relying on your operating system since the firmware maintain optimal health and speed and reduce data corruption is best left to the manufacturer since each type of SSD uses different NAND types, and different controllers and different configuration.

  • @TheAAMoy
    @TheAAMoy7 жыл бұрын

    HALT and CATCH FIRE, I miss the good old days.

  • @justplainc

    @justplainc

    7 жыл бұрын

    Tell me you also watch the show!

  • @agimcomas
    @agimcomas5 жыл бұрын

    Very helpful. Thank you.

  • @learning-master8259
    @learning-master8259 Жыл бұрын

    Incredible and informative ...

  • @almuhanadahmedsaidalhashmi4696
    @almuhanadahmedsaidalhashmi46964 жыл бұрын

    I love this episode ☝️❤️❤️

  • @subamani77
    @subamani776 жыл бұрын

    Nice video. Good work!

  • @creationpower333
    @creationpower333 Жыл бұрын

    Amazing content!

  • @ThalisUmobi
    @ThalisUmobi7 жыл бұрын

    Beautiful!

  • @matthewjames7513
    @matthewjames75134 жыл бұрын

    amazing content. Thanks

  • @Mike-vj8do
    @Mike-vj8do Жыл бұрын

    These guys are awesome

  • @user-ep9fv1fo6f
    @user-ep9fv1fo6f7 жыл бұрын

    this is agood lesson and you are a good teacher

  • @bipulkalita5780
    @bipulkalita57805 жыл бұрын

    very good explanation.

  • @seanlee566
    @seanlee566 Жыл бұрын

    Love that the part about 'deleting a file' is the most replayed

  • @nu8k700
    @nu8k7004 жыл бұрын

    Very useful!!

  • @ErikDaGreat
    @ErikDaGreat6 жыл бұрын

    i remember my father doing defragmentation on windows xp. it was about 7-8 years ago. i remember it was so colourful

  • @shirshendudebroy2097
    @shirshendudebroy20976 жыл бұрын

    Wooaaahhh!!!! What a video!!!!

  • @quitoxictv8307
    @quitoxictv8307 Жыл бұрын

    the fact this is free blows my mind

  • @jayvl09
    @jayvl097 жыл бұрын

    I think it might be worth mentioning a single file can have multiple paths. Also that hierarchical ordering mechanisms like folders aren't the only solution. We might see non-hierarchical tag-based filesystems in the future.

  • @raj5999
    @raj59995 жыл бұрын

    Thanku so much Crash Course Woman

  • @JuanGarutti
    @JuanGarutti7 жыл бұрын

    This was an incredible episode!

  • @NguyenNgocChauBeauty
    @NguyenNgocChauBeauty4 жыл бұрын

    I'm having a quiz in 2 days. Thank you!

  • @NalinX
    @NalinX7 жыл бұрын

    really wonderful presentation. I love this series. Also, Carrie Anne 😍

  • @hiteshchand
    @hiteshchand4 жыл бұрын

    superb ...

  • @brocksprogramming
    @brocksprogramming7 жыл бұрын

    Way to go Carrie Anne. Great video!

  • @tueemsyhu4846
    @tueemsyhu48466 жыл бұрын

    Good Video!!

  • @PongPongKiddo
    @PongPongKiddo5 жыл бұрын

    good explanation

  • @beccaknowlton4858
    @beccaknowlton48587 жыл бұрын

    It would be really nice if there was a Business CrashCourse

  • @ulysses_grant
    @ulysses_grant4 жыл бұрын

    Thank you, I finally figured out what is metadata, and why it has this f...antastic name.

  • @chaosof99
    @chaosof997 жыл бұрын

    I would have loved to see a little bit mentioned about file compression here, or maybe this is in an upcoming episode.

  • @hciprof

    @hciprof

    7 жыл бұрын

    The force is strong with you. It's episode 21 :)

  • @tahir1156
    @tahir11564 жыл бұрын

    Nice programme

  • @ronsxx78
    @ronsxx784 жыл бұрын

    Crashcourse is better than my college professors

  • @bayroncabrera7566
    @bayroncabrera7566 Жыл бұрын

    This is so amazing, i cannot thank you enough for such a wornderful job.

  • @acorgiwithacrown467
    @acorgiwithacrown4676 жыл бұрын

    I've always wondered this.

  • @Joetechlincolns
    @Joetechlincolns7 жыл бұрын

    I remember loading programs through DOS on start up. Changing command prompts etc. Now, all I ever deal with is testman errors using FORD scan tool software. No clue with all this new stuff.

  • @missing1person
    @missing1person7 жыл бұрын

    brilliant

  • @arnavattri5047
    @arnavattri50475 жыл бұрын

    Way awesome then Galvin Book!

  • @carolynbrown1664
    @carolynbrown16647 жыл бұрын

    I want too"" learn all I can about science & technology good to learn what we don't know thanks

  • @Blockietalkie
    @Blockietalkie7 жыл бұрын

    File systems are the best!

  • @ler9251
    @ler92514 жыл бұрын

    Number of abstraction level > storage space in my head👍