Keyboards & Command Line Interfaces: Crash Course Computer Science #22

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 311

  • @mindwork1
    @mindwork1 7 років тому +375

    I am professional programmer for about 10 years and I still watch every episode

    • @stephenorr5646
      @stephenorr5646 6 років тому +1

      Why?

    • @ciano5475
      @ciano5475 5 років тому +26

      You never know when you learn something new.

  • @mennonis
    @mennonis 7 років тому +111

    to this day, the CLI remains the fastest way to interact with a computer in many cases, although GUIs are super helpfull to view a lot of information at once

  • @mathematicalmatt
    @mathematicalmatt 7 років тому +95

    Teletype machines are the reason the the carriage return and linefeed characters are defined in the ASCII Standard ('
    ' and '
    ' respectively). "Carriage return" literally means the action of moving the write head (or paper shuttle) back to the initial position of the line, and "linefeed" is the act of advancing a line. These two characters were the bane of a particular assignment I had to code up: a simple HTTP compliant server using the Unix Sockets API. I had to read and parse bytes from my socket and serve requests. To my dismay (and naivete at the time) the "empty lines" separating the HTTP headers from the optional body use the CRLF line-ending standard (both '
    ' and '
    '). This boggled my mind and took me forever to track down because the *nix-like systems almost exclusively use a single '
    ' to designate the end of lines (the superior way if you ask me). I learned an important lesson in reading and following standards to the T as well as never assuming anything in an unfamiliar system despite familiarity with another.

    • @captlid214
      @captlid214 5 років тому +11

      Those two characters are the bane for cross compatible text processing across the major operating systems too. Windows uses rn, mac uses r, unix uses n, what a pain...

    • @alanivar2752
      @alanivar2752 5 років тому +4

      after watching this entire series, and now having absolutely no clue what the hell youre talling about, im thinking this seriea didnt go in depth enough

  • @aymanalmateeg
    @aymanalmateeg 2 роки тому +16

    Hugely underrated series. Thanks a million!

  • @uzmahkhatib3972
    @uzmahkhatib3972 7 років тому +17

    Crashcourse electronics please
    Highly needed

  • @fabioguedes4872
    @fabioguedes4872 7 років тому +47

    90% of my actual work is done on a CLI I only really use GUI to close tickets, read email and to design and check network topology (I'm a Network Engineer).

    • @recklessroges
      @recklessroges 7 років тому

      cli wrapper to bestpractical.com/request-tracker/ + mutt/pine + ascii topology using tree. p.s. youtube-dl -q -o- $this_video | mplayer -cache 1024 -vo aa - 100% CLI ;-)

    • @sparshdancing4130
      @sparshdancing4130 4 роки тому +2

      Classy

  • @armorsmith43
    @armorsmith43 7 років тому +29

    There should be more hybrid GUI/CLI programs: where you can use the power of typing words to issue commands but the program displays an image to represent the data model.

  • @MideoKuze
    @MideoKuze 7 років тому +149

    "you may have never used the terminal if you use Linux"
    Also, I saw a unicorn yesterday. A real one. No joke.

    • @bryleem1900
      @bryleem1900 4 роки тому +4

      @Tianao Wang I love that! Oh no I'm going sane

  • @philipstuckey4922
    @philipstuckey4922 7 років тому +125

    Huh, so the command line interface, the superior tool for the power-user, is designed to emulate an ancient networked typewriter...

    • @wordart_guian
      @wordart_guian 5 років тому +6

      well what defines "power user" anyway?

  • @revjime.stephenson8628
    @revjime.stephenson8628 7 років тому +16

    Don't laugh but in High School I used the TTY - Teletypewriter to search for Colleges in 1973! As a Computer Systems Operator I used a TTY in 1981/82 but then all interface with the CPU was by CRT for Operators but many Programmers used Hollerith Punch Cards lol. I worked on a Navy Base in PA for P3 Orion - Submarine Warfare and in 1981 we still had a Computer that used wire boards for a few jobs we had! Most jobs were run on Univac 901 & 1230 Computer Systems and we had a few Commodore Pets too. The 901 had 32K and cost > 1/2 million dollars! In 1982 I bought a Commodore 64 with 64K for $200 lol. Computer Pros laughed saying it was CHEAP but in 1990 my brother worked for NASA and told me the Space Shuttles had 5 Commodore 64 daisy chained together that ran the Spacecraft lol. Hardware cost dropped but software has gone up!

  • @yawzheek6722
    @yawzheek6722 7 років тому +2

    I'm only 33, but I remember early command-line interfaces. Moved on to a GUI with Windows and thought I'd never go back. Started programming, played with some Linux distros, and now I'm right back to CLI.

  • @Chris-Qin
    @Chris-Qin 5 років тому +6

    it's amazing, I can understand what she says, I study it to enhance my English, and it is effective.占个坑,这里的第一个中国人。

  • @connorvonwinckelmann2013
    @connorvonwinckelmann2013 7 років тому +3

    Hey, it's a Crash Course on the _best_ part of any computer!

  • @dippy9119
    @dippy9119 7 років тому +6

    I am thoroughly enjoying the CC Computer Science series. Great work Carrie Anne and CC team.

  • @KnoxCrichton
    @KnoxCrichton 7 років тому +97

    Watched this video from a device running Linux Mint 18.1, I use the command line as my primary way to interact with my computer. Had never even opened a CLI until 2015, now it is nearly all I use!

    • @Implond
      @Implond 7 років тому +12

      Knox Crichton why, if I might ask?

    • @Gnoccy
      @Gnoccy 7 років тому +20

      Me too! The command line part at least, I'm on Arch.
      As to why, command lines have a really steep learning curve, but once you get the hang them, they are much more efficient and you can work way faster than with a gui. Nowadays I'm often irritated when the only way to interact with an application is by clicking my self through an endless labyrinth of forms and pop up windows, instead of just typing the one command that does exactly what i want.

    • @geraldellis1177
      @geraldellis1177 7 років тому

      kali linux,pentoo linux,ubuntu and python

    • @KnoxCrichton
      @KnoxCrichton 7 років тому +30

      Sam Whelan pretty much the same reasons as Gnoccy. Once you learn the CLI it becomes faster than a GUI. I originally learned it to impress a girl in my class, but the CLI turned out to be cooler than her!

    • @RaymondHng
      @RaymondHng 7 років тому +12

      Knox Crichton
      I've been using command line interfaces since 1973. And it was on those Teletype machines.

  • @ayylmao1558
    @ayylmao1558 4 роки тому +1

    I am thoroughly enjoying my 4k OLED endless paper screen thank you very much

  • @SteeleDynamics
    @SteeleDynamics 7 років тому +3

    I'm a software engineer and I use a CLI everyday. LLVM/Clang++, G++, Python, MIT-Scheme, LaTeX, gVim, Terminal, CLion, PyCharm, and Visual Studio are about all that I use for the bulk of my work. The majority of the time, my fingers are on the keyboard.

  • @mattig89ch
    @mattig89ch 7 років тому +1

    Interesting, I never knew where the CLI came from. Thanks for that little bit of history!

  • @dianiscaro1000
    @dianiscaro1000 7 років тому +4

    Carrie Anne you are awesome! Thank you for doing this crash course with your team. It is an amazing initiative. Hi from Colombia :)

  • @Loafy23
    @Loafy23 7 років тому +2

    Zork was fun, but the InfoCom text adventure game I loved the most was "Leather Goddesses of Phobos." That text adventure was fun and funny. The game came with a scratch and sniff card that you were instructed to use at certain points during play.

  • @Skykiller55
    @Skykiller55 7 років тому +9

    5:00 Hunt and peck, also known as "Brady typing"

  • @cholten99
    @cholten99 7 років тому +1

    As we get into the 70s and 80s this show feels more and more like stepping into a preview of the Reader Player One film ;-). Now off to enjoy further VT100 nostalgia...

  • @James-pb7kr
    @James-pb7kr 7 років тому

    I'm SO excited for Crash Course Study Skills.

  • @Alex2Buzz
    @Alex2Buzz 7 років тому +42

    "Computers don't have fingers"
    Not with that attitude!

  • @luisvielma2937
    @luisvielma2937 4 роки тому

    I find the aesthetic style of this video and the compressed but rich information pleasing, kudos!

  • @Anonymouzor
    @Anonymouzor 7 років тому +4

    playing ZORK on an electromechanical interface would be awesome

  • @CHO-st5rb
    @CHO-st5rb 7 років тому +1

    I love this series.

  • @OrcephRye
    @OrcephRye 7 років тому +1

    OK 7:03 is the best part! The list of people is just awesome! :-)

  • @dylansullivan380
    @dylansullivan380 7 років тому

    I really enjoyed the crash course psychology series! Please bring it back!

  • @KeithKeydel
    @KeithKeydel 7 років тому +1

    This channel is AWESOME! Thanks a million.

  • @kittfedoroff4495
    @kittfedoroff4495 7 років тому +1

    Happy Esther Day Carrie Anne!

  • @iluan_
    @iluan_ 7 років тому +6

    I still play MUDs! Best graphics ever!

  • @Hartono25277
    @Hartono25277 7 років тому +3

    7:39 I see video compression at the lower left!!!

  • @theCTCamp
    @theCTCamp 7 років тому +4

    Amanda Tapping reference ftw!

  • @simonkramer5608
    @simonkramer5608 7 років тому +1

    Text adventures! I love them :)

  • @Deus_Almighty
    @Deus_Almighty 7 років тому +1

    Great cast. Would watch.

  • @Huntracony
    @Huntracony 7 років тому +1

    For those curious but not enough to google it, the game of thrones episode in the easter egg at 6:45 is the episode where -- spoiler
    Joffrey is killed

  • @AirborneSurfer
    @AirborneSurfer 7 років тому +13

    Strong Bad has been eaten by a GRUE.
    Take it away, The Paper! PREEEOOOOOOWWWW!

  • @knightshousegames
    @knightshousegames 7 років тому +3

    A terminal recommendation for Linux users, check out Terminology. It's just both functional, and great looking. I just got turned onto it recently and I never thought I'd actually enjoy using the terminal so much. I've got mine in a theme that makes it look like an old school faded display

    • @cldream
      @cldream 5 років тому

      It's got so many features that I can't imagine using another except for curiosity or necessity (some utilities just plain act weird under it where xterm works perfectly fine).
      Also, if you like "old school displays", there's CoolRetroTerm - it's meant to simulate a CRT. 😉

  • @biggerdoofus
    @biggerdoofus 7 років тому +6

    for viewers who feel like trying to use a command line interface on windows instead, here's some commands:
    cd - change directory (I guess os designers simply agreed that that made sense)
    cd.. - change to root directory (same as going up a folder)
    dir - list directories
    dir/p - list directories and pause when the screen is full
    letter followed by a colon - switch drives
    these also help if you like old computer games, since they're used in dosbox too.

    • @hidude1354
      @hidude1354 7 років тому +4

      cd .. means travel to the parent directory. cd ~ changes to root directory

    • @biggerdoofus
      @biggerdoofus 7 років тому +1

      oh right. I forgot that "root" has a different meaning. I probably shouldn't post comments while distracted.
      That said, cd~ doesn't work on windows. windows uses cd\ instead.

    • @mikeg9b
      @mikeg9b 7 років тому +2

      You can also use the Linux command line on Windows 10: msdn.microsoft.com/en-us/commandline/wsl/about. I don't know much about it because all my computers run Linux.

    • @UteChewb
      @UteChewb 7 років тому +2

      +Michael Gainey, the words I never expected to see on an MS site: "Choose your favorite Linux distributions from the Windows Store." I know some friends who use the linux cli with Win10 and they really like it, but then they'd prefer Linux anyway.

  • @benaaronmusic
    @benaaronmusic 7 років тому +3

    I love the Star Trek Discovery secret cast.

  • @troy4393
    @troy4393 7 років тому +2

    While those letter pairs have key tops close together, they're separated by at least three type bars in the type basket, usually more. This is also part of the reason why the modern keyboard is staggered. Having the keys directly in line with each other would require the key levers to be stacked vertically and necessitate more space between each row, or significantly more complex key lever mechanisms (like the Smith Premier machines).

  • @tqit0210
    @tqit0210 7 років тому

    Some workers from an LG&E near my middle school brought us Arduino robots last year for us to use for a week.
    It was a pretty fun week...beating every other team!

  • @Pfhorrest
    @Pfhorrest 7 років тому +6

    I miss the days when it was computer-human interaction, because "CHI" was a fun acronym.

  • @elijahjones2664
    @elijahjones2664 5 років тому +1

    echo "I love this series"

  • @jimtuv
    @jimtuv 7 років тому +1

    J'utilise AZERTY pour français and QWERTY for English. I love Zork, Planetfall etc...!

  • @Great.Milenko
    @Great.Milenko 7 років тому +3

    the files are IN THE COMPUTER! quick SMASH IT WITH A ROCK!

  • @stephenhorton
    @stephenhorton 7 років тому +2

    I spend much of my day using a CLI at work writing DCL, COBOL, and C programs and interacting with VMS - I can't for the life of me imagine how much more frustrating it would be if we used electromagnetic teletype machines!!

    • @RaymondHng
      @RaymondHng 7 років тому +1

      Ha. Try using keypunch machines in a batch processing environment.

    • @Hauketal
      @Hauketal 7 років тому

      Stephen Horton I used VMS from an LA36 first. Glass teletypes aka VT100 were later.

    • @stephenhorton
      @stephenhorton 7 років тому

      Ah, I've only been at this for five years so I've had the luxury of the mod cons from the start (well if you can count COBOL as modern, lol)

  • @navedm1424
    @navedm1424 2 роки тому

    Now this was a wonderful video.

  • @Marc42
    @Marc42 2 роки тому

    Hello and thank you in QWERTZ! 🖖

  • @ishanvyas1990
    @ishanvyas1990 7 років тому +2

    It would be great if you do a course on Artificial intelligence and machine learning as well.

  • @zombiesurfer1
    @zombiesurfer1 7 років тому

    Learning the command line makes things so much easier

    • @VladSvoka
      @VladSvoka 7 років тому

      mostly things you didn't have to do before.

  • @adhityamuhammadmaryadin9808

    Take whole semester just to teach this kids about dierctory hierarchy.
    God have a mercy.

  • @tipshaun3630
    @tipshaun3630 7 років тому +2

    7:10 hal 9000 seriously

  • @tueemsyhu4846
    @tueemsyhu4846 6 років тому

    I like using Command Line Interface!!😁

  • @swedneck
    @swedneck 7 років тому

    Anyone else dislike the new CrashCourse/SciShow hosts at first and start liking them more and more as time goes on?

  • @scottcarothers837
    @scottcarothers837 4 роки тому +1

    Me and the boys teletyping at 3 am, waking each other up every 2 minutes with the sound of the steampunk groupchat notification.

  • @johnmacdonald1094
    @johnmacdonald1094 7 років тому +1

    Thanks, I have been looking for ADVENTURE for a long time. I never knew the full name. :-)

  • @TheUglyGnome
    @TheUglyGnome 7 років тому +2

    @6:40
    ls is not short for "list". It's short for "list segments".

  • @gawaineross4656
    @gawaineross4656 6 років тому

    Thanks again!

  • @caligjl
    @caligjl 7 років тому +1

    @8:30 How did he type with boxing gloves?

  • @Kai-Made
    @Kai-Made 6 років тому

    did I see sinbad? Man that is old school...lol...and I dig the Tapping reference.

  • @xXSellizeXx
    @xXSellizeXx 7 років тому +64

    I'm such a CLI badass, I'm viewing this page from links, a command line web browser.
    Too bad I can't watch the damn video tho.

    • @idtyu
      @idtyu 7 років тому +2

      Use your will power to make your terminal decide video

    • @recklessroges
      @recklessroges 7 років тому +23

      I use VLC to convert the video to ascii when I'm too lazy to parse the raw data in my head.

    • @turkyandgravy
      @turkyandgravy 7 років тому +2

      Just decode directly to framebuffer.

    • @James_Haskin
      @James_Haskin 7 років тому +2

      github.com/mps-youtube/mps-youtube

    • @dodekeract
      @dodekeract 6 років тому

      Use browsh

  • @matheusmoscardini3277
    @matheusmoscardini3277 7 років тому +3

    Love this serie and Carrie Anne!

  • @thelittleHolyrockboy
    @thelittleHolyrockboy 7 років тому +1

    When i saw Amanda Tapping @7:00 i got a slight nerdgasm.

  • @qsesshoumaruq1396
    @qsesshoumaruq1396 7 років тому +8

    7:02 Amanda Tapping would make an awesome Star Trek Captain but I doubt anyone wants Nicholas Cage as the ship's Chief Medical Officer

    • @sethk7645
      @sethk7645 5 років тому

      Would've been nice if they took her advice for Discovery :-/

  • @bee5120
    @bee5120 7 років тому

    Nice plug with the Crash Course Gaming :P
    Also, can't wait for the "Great Graphics War"... er "debate" coming next week :/

  • @gardenhead92
    @gardenhead92 7 років тому

    I never understood why *nix systems used a master-slave tty pair until now. Thanks!

  • @gwgux
    @gwgux 7 років тому +3

    Strong Bad FTW!
    I see stuff like this and laugh because I first learned how to use a computer with a CLI back in the 80s as a kid and today it's still the primary way I get things done at work. I'm surprised she didn't mention scripting...the reason why the CLI will always be with us in some way or another, but that could easily turn into an episode unto itself so I can kind of get that.

  • @SimeonIII
    @SimeonIII 7 років тому +1

    Very good summary of Computer Science but it misses the part how the information is stored in Various Database with JS and how it is managed with SQL.

    • @RaymondHng
      @RaymondHng 7 років тому

      Noemis
      Perhaps databases will be a future episode in this series.

    • @SimeonIII
      @SimeonIII 7 років тому

      I hope so

  • @Piratagorranegra
    @Piratagorranegra 10 місяців тому

    thank you for sharing im trying to learn this stuff and I just learn something new.

  • @xBabyRawrX
    @xBabyRawrX 7 років тому

    i use this for bioinformatics research :)

  • @eflinneflinn
    @eflinneflinn 7 років тому +3

    8:28 Strong Bad!

  • @mynameisZhenyaArt_
    @mynameisZhenyaArt_ 7 років тому +1

    nice tan :)

  • @AirborneSurfer
    @AirborneSurfer 7 років тому

    Yes, but where does Mavis Beacon fit into all this talk of keyboards and touch typing?

  • @williefleete
    @williefleete 7 років тому

    The command line is a great diagnostic tool in windows especially with networking.

  • @Kori114
    @Kori114 7 років тому +4

    But if Amanda Tapping really was in the cast of Star Trek Discovery.... maybe I'd watch it... at least the episodes she's in.

  • @steevf
    @steevf 7 років тому

    I started with IBM PC DOS 1.0 in 1981. I both miss and don't miss CLI.

  • @steevf
    @steevf 7 років тому +26

    Shouldn't the oscilloscope in the back ground have a square wave on it. It makes more sense for digital systems.

    • @Leadvest
      @Leadvest 7 років тому +6

      I'd understand a diagnostic signal, or a four bit counter, but I don't see how a square wave has any more relevance to computing than a sawtooth. Not to mention that filming has probably already wrapped.

    • @lAMAR658
      @lAMAR658 7 років тому

      yep...digital is only two states

  • @SevenDeMagnus
    @SevenDeMagnus 4 роки тому

    So cool

  • @danimoosakhan
    @danimoosakhan 6 років тому +1

    Now I know why it is called QWERTY.

  • @necromorphsteve4869
    @necromorphsteve4869 7 років тому +12

    Directions to travel: NORTH, SOUTH, EAST, or DENNIS

    • @doctormo
      @doctormo 7 років тому

      Did you eat the cabbage?

  • @kurichan142
    @kurichan142 4 роки тому

    8:27 Literally only recognizing Zork because of a Vsauce video, and content when Carrie Anne said,
    *"You are likely to be eaten by a grue."*

  • @James_Haskin
    @James_Haskin 7 років тому +1

    Colemak - It cures what ales ya.

  • @EQuivalentTube2
    @EQuivalentTube2 7 років тому +1

    Command line is still a very powerful tool. Loop through all the files in directory and replace a string in it? Easy:
    sed "s/old_text/new_text/g" *.txt -i
    That stuff will take LITERALLY AGES in graphics.
    Oh, and that's only concerns Unix (Mac/Linux) CLI. Windows CLI is a joke.

  • @robertlake2753
    @robertlake2753 6 років тому +1

    Need help on an EE problem? Pin Point: 'Circuit Solver' by Phasor Systems on Google Play.

  • @ck7671
    @ck7671 7 років тому

    AZERTY team here!

  • @propapandaful
    @propapandaful 7 років тому +1

    I'd watch ST: Discovery with that cast xD

  • @alejandrobueno8819
    @alejandrobueno8819 5 років тому +1

    Colemak!

  • @mwmwmw3885
    @mwmwmw3885 7 років тому +1

    And that's how runescape was born.

  • @Bonesters
    @Bonesters 7 років тому +1

    don't forget about VI.

  • @Kabodanki
    @Kabodanki 7 років тому

    They where talking about changing the French AZERTY this year

  • @Charonicus
    @Charonicus 7 років тому

    Amanda Tapping as Captain Emily Starfire! If only.

  • @86hardluck
    @86hardluck 7 років тому

    The Easter Eggs.
    Oh, the Easter Eggs!

  • @dontdoit6986
    @dontdoit6986 7 років тому

    Part of the reason so many developers use Macs is because the Mac Command line is Unix, same as Linux.

  • @john11719
    @john11719 7 років тому

    Haha! I am already subbed to Eons! I feel so hipster now...
    ...
    AHHHHHHHHHHHHH! D:

  • @ChrisPollitt
    @ChrisPollitt 7 років тому +12

    1 2 3 4. I declare a flame war!
    emacs or vi[m]?
    [t]csh or [k]sh?
    pine or elm?
    lynx or elinks?
    screen or tmux?
    advent/zork or rogue/hack?

    • @Abu_Shawarib
      @Abu_Shawarib 7 років тому +4

      Join the church of emacs. Say with me: there's no system but GNU, and Linux is one of its kernels.

    • @ChrisPollitt
      @ChrisPollitt 7 років тому +1

      stallman.org/saintignucius.jpg

    • @ANT-jm4qx
      @ANT-jm4qx 7 років тому +4

      Chris Pollitt
      Nano for the win!

    • @codeman99-dev
      @codeman99-dev 7 років тому +1

      +// ANT //
      Yay!!! GNU nano!

    • @nohero23
      @nohero23 7 років тому +2

      I like tcsh :-)

  • @punboleh7081
    @punboleh7081 Рік тому

    Back in OS/2 I didn't need the command line, but ever since I switched to Linux I use it daily. While the Linux command line is very convenient, I still miss having a GUI that's powerful enough to replace it.
    Well, CLI forever, I guess? The GUI's nowadays aren't getting anywhere.

  • @williamrutherford553
    @williamrutherford553 7 років тому

    Since when does simply writing the name of something execute it? Usually you must use ./name, otherwise it assumes the thing is in the root directory.

  • @meloditeo201
    @meloditeo201 7 років тому

    Crash course can u do a video on Orion nebula