SGML HTML XML What's the Difference? (Part 1) - Computerphile

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 พ.ย. 2024
  • Why all the confusion, surely SGML, HTML & XML are just different versions of the same thing? Professor Brailsford on the perils of '*ML'
    Problems with Omitted End Tags: • Problems with Omitted ...
    / computerphile
    / computer_phile
    This video was filmed and edited by Sean Riley.
    Computer Science at the University of Nottingham: bit.ly/nottscom...
    Computerphile is a sister project to Brady Haran's Numberphile. More at www.bradyharan.com

ความคิดเห็น • 253

  • @nicholasfazzolari3647
    @nicholasfazzolari3647 8 ปีที่แล้ว +302

    Computerphile I hope you are aware you are creating a highly important archive of computer science knowledge from someone who 'was there' - You are doing what the BBC and other broadcasting networks which cover science are failing to do. Thank you so much.

  • @franklincerpico7702
    @franklincerpico7702 8 ปีที่แล้ว +461

    Damn I love listening to the man talk.

    • @ruaidhrihogan2894
      @ruaidhrihogan2894 8 ปีที่แล้ว +21

      +Franklin Cerpico I completely agree. His excitement and emphasis for what he talks about drags me in.

    • @kubispice3026
      @kubispice3026 8 ปีที่แล้ว +25

      He is a teacher that could literally teach anybody properly.

    • @simoneverett12
      @simoneverett12 8 ปีที่แล้ว +2

      +1

    • @badgermost
      @badgermost 8 ปีที่แล้ว +4

      +kubi spice Just think that some furtunate people have been his students... lucky guys huh?

    • @jimmymccorkell
      @jimmymccorkell 8 ปีที่แล้ว +14

      the David Attenborough of computerphile

  • @LFSDK
    @LFSDK 8 ปีที่แล้ว +344

    Never actually heard of SGML before this video.

    • @ByteBitTV
      @ByteBitTV 8 ปีที่แล้ว +5

      +LFalch me neither

    • @ItsGlizda
      @ItsGlizda 8 ปีที่แล้ว +6

      +ByteBitTV 3 people commenting dont know what it is

    • @thoyo
      @thoyo 8 ปีที่แล้ว +3

      +Its Glizda that makes 4 of us learning something new today :)

    • @109Rage
      @109Rage 8 ปีที่แล้ว +1

      +LFalch I've heard of it, but only vaguely as some predecessor of XML.

    • @LOUDSPEAKER0810
      @LOUDSPEAKER0810 8 ปีที่แล้ว +2

      +thoyo ++ ...Make that 5

  • @syed9576
    @syed9576 2 ปีที่แล้ว +7

    My favorite computerphile speaker!! You can hear the passion and excitment in his voice, which makes it so fun to listen to! I truly appreciate all your work, the whole team. I'm doing my Phd in philosophy with computer science as an AOC, and this channel has helped me soooo much!!

    • @BrandonFifer
      @BrandonFifer 10 หลายเดือนก่อน

      Watching this for the first time tonight and I wanna join whatever class I assume he teaches!

  • @reubensmart1757
    @reubensmart1757 8 ปีที่แล้ว +3

    Damn you cliffhanger! I could've sat for hours and hours listening to Brailsford, his passion and quiet enthusiasm get me hooked.

  • @dipdowel
    @dipdowel 8 ปีที่แล้ว +10

    Each video with Professor Brailsford is such a pleasure to watch! Thank you very much.

  • @Teth47
    @Teth47 8 ปีที่แล้ว +9

    This guy is the spitting image of my late grandfather, and he talks about cool computer stuff, it's like a dream come true!

  • @kranklg2s
    @kranklg2s 7 ปีที่แล้ว +4

    More than anything right now, I'd really love to see a Computerphile video on the power of Regular Expressions. Prof Brailsford would be great at explaining this to people who don't know about it.

  • @essentialdang
    @essentialdang 8 ปีที่แล้ว +63

    Love this guys voice, I want him to read me bed time stories

    • @seanld444
      @seanld444 8 ปีที่แล้ว +1

      I'm scared.

  • @DieNetzente
    @DieNetzente 8 ปีที่แล้ว +40

    You shall not omit the end of the video!

    • @IshayuG
      @IshayuG 8 ปีที่แล้ว +4

      +Simon Vetter No worries, I've got the fix right here.
      Nooo this isn't good at all! What have we done?!

  • @IG7799-c4u
    @IG7799-c4u 3 ปีที่แล้ว +6

    Came here to find out more about SGML in a video, thanks very much for presenting the information in a very understandable way :).

  • @Stefan_Payne
    @Stefan_Payne 8 ปีที่แล้ว +2

    Man, I think this man deserves his own TH-cam Chanel!
    Something like 'Storys from the past of computer technology'
    It's always nice to listen to him, would love to have more content with him...

  • @IqmasterDaNinja
    @IqmasterDaNinja 8 ปีที่แล้ว +1

    The professor has such a soothing voice, I really enjoy the videos with him.

  • @RexGalilae
    @RexGalilae 8 ปีที่แล้ว +6

    What an awesome type of person he is!! I'd never mind going to college if he was my professor!!

  • @Brandlin
    @Brandlin 8 ปีที่แล้ว +4

    Sgml was a precursor to html. Used primarily to structure document formats so they could be machine independent. In 1992 I wrote my masters thesis in SGML. And many defence contracts require technical documentation in SGML so that they can be consistently read on any computer. I ran a chunk of these contracts up to 2010.

  • @Seegalgalguntijak
    @Seegalgalguntijak 8 ปีที่แล้ว +6

    I love these explanations from Professor Brailsford, he has such a soothing tone in his voice! ;-)
    Anyhow, since you're digging into computer history, I'd really like to know where the usage of pointy brackets for doing something came from, back in the days of the FIDO net (the FIDO net may in itself be worth a whole computerphile video!). They were later, in the late 90s on the www replaced by stars. So when I got "online-socialized", you'd write something like or , while later on people wrote (asterisk)ROTFLOL(asterisk) and (asterisk)duck&run(asterisk), sometimes leaving out the end asterisk, and nowadays things like are just written without any indicating characters for the special type of "chain of letters" that is not to be read as a normal word, but as something the writer is doing, or an acronym of that. How did this change come to pass, and how was it "invented" in the first place? It goes along with the first smileys ": - )" (w/o the spaces), but somehow I have never found a good explanation of how it all came to be that way, and the changes that were made to this "informal notation" over time. I'd really like to hear someone (preferrably Prof. Brailsford, if he knows anything about it) talk about this - maybe in conjuncture with the times of mailboxes and the FIDO net and so on....this is an important part of computer history, *especially* ("old style" asterisk usage - notation for bold text here - fortunately adopted by the youtube/G+ comment system) since it was a decentralized way of spreading information digitally, which is something we almost don't have any more today, because everyone uses a platform or at least a web host company for their data to be spread...

  • @AlexPractical
    @AlexPractical 8 ปีที่แล้ว +1

    This guy is such a joy to speak with!

  • @n00dle_king
    @n00dle_king 8 ปีที่แล้ว +55

    Ugh. That cliffhanger!

  • @KHMakerD
    @KHMakerD 3 ปีที่แล้ว +2

    Feels like I’m getting a history of computer science lesson, and I love it.

  • @dalitas
    @dalitas 8 ปีที่แล้ว +6

    computer scientists will mourn the day this man passes on to the far interweb
    such an amount of knowledge of science and history of computers

  • @devluz
    @devluz 8 ปีที่แล้ว +1

    XML vs JSON episode please! One of my favorite discussions ...

  • @GeirGunnarss
    @GeirGunnarss 8 ปีที่แล้ว +59

    Nooooo! Don't leave us hanging like that! that was fascinating. More.

    • @novafawks
      @novafawks 8 ปีที่แล้ว +2

      +GeirGunnarss Biggest tease ever, right!

    • @GeirGunnarss
      @GeirGunnarss 8 ปีที่แล้ว +1

      Nova Fawks Well, i could mention some girls from high school but he is damn close to it, yeah. Hehe. :)

    • @fobusas
      @fobusas 8 ปีที่แล้ว

      +GeirGunnarss My exact same reaction... I even shouted it out loud.

    • @oomegalinux
      @oomegalinux 8 ปีที่แล้ว +1

      +GeirGunnarss That was cruel, it was like getting a "to be continued" at the best part of a movie! I'm looking forward for the second part.
      I really enjoy Professor Brailsford's way of teaching.

  • @elritch
    @elritch 8 ปีที่แล้ว +1

    Im a big fan of computerphile. I'd like to make a suggestion for a future episode on the topic of procedural generation, specifically in video games. I really like how you guys get experts, to speak about subjects that they are expert about. I think this topic would greatly benefit from this. Theres a million videos on this topic, but most of them are just made by gamers, not by computer scientists that can talk about the theory. Keep up the good work computerphile!

  • @KnownNever
    @KnownNever 8 ปีที่แล้ว +1

    Even though I am going to live in a way more technological suffocated world them him, I am so jealous that he was one of the many men who essentially help created the amazing world of computers we have today

  • @vickdeem
    @vickdeem 3 หลายเดือนก่อน

    It's so obvious that learning becomes profoundly easier when the first generation of knowledge holders educate on a topic. As the generation of knowledge holders withers down through time, a lot of important details are lost in teaching, thereby creating a set of less informed students and practitioners.

  • @UnWorld
    @UnWorld 8 ปีที่แล้ว +40

    I'm in the middle of pee, now I'm gonna do another pee without finishing of the first pee. My standards compliant toilet will still accept it.

  • @NorahIK
    @NorahIK 8 ปีที่แล้ว

    his talking is so easy to listen to ! i'd like to have more lectures of him.

  • @cidercreekranch
    @cidercreekranch 5 ปีที่แล้ว

    Charles also talks about the reduction of 'keyboarding' as a reason why the end-tag could be omitted. IOW, the parser, the software that reads and processes the SGML markup can infer the end of a given element, the element at the top of the open element stack, based on the next element encountered. Or not for an end-of-input condition.

  • @ThibaudLopezSchneider
    @ThibaudLopezSchneider 8 ปีที่แล้ว +1

    Thank you for remembering all these important bits of history!!!

  • @SnabbKassa
    @SnabbKassa 4 ปีที่แล้ว +8

  • @Cruellabane
    @Cruellabane 6 ปีที่แล้ว +1

    Great instruction! That made way more sense than my textbook, thank you.

  • @simon5007
    @simon5007 8 ปีที่แล้ว

    Whaaat, you can't just stop in the middle of the story like that! This was super interesting!

  • @shanewakeling6698
    @shanewakeling6698 8 ปีที่แล้ว

    Professor Brailsford videos are the best!!

  • @wissalzaher4868
    @wissalzaher4868 3 ปีที่แล้ว

    I could listen to this for hours

  • @sangramjitchakraborty7845
    @sangramjitchakraborty7845 5 ปีที่แล้ว

    It's cool how all computerphile videos start with and end with

  • @ZubAirT
    @ZubAirT 8 ปีที่แล้ว +3

    wow I did not expect that the markup languages that we take for granted nowadays had such history behind them.

  • @sentryzero
    @sentryzero 8 ปีที่แล้ว +2

    Really enjoyed this one. Looking forward to the HTML one. Now let's talk XSLT. :)

  • @PsychoticusRex
    @PsychoticusRex 8 ปีที่แล้ว +121

    ARGH! CLIFF HANGERS! X{

  • @recklessroges
    @recklessroges 8 ปีที่แล้ว

    This had as much RDFa as XML. Excellent video introduction to SGML. Thank you.

  • @BunnyFett
    @BunnyFett 8 ปีที่แล้ว +1

    Great video, fun to learn about this history as a web dev.

  • @iagocasabiellgonzalez7807
    @iagocasabiellgonzalez7807 8 ปีที่แล้ว +63

    • @Spellfork
      @Spellfork 8 ปีที่แล้ว +12

    • @Spellfork
      @Spellfork 8 ปีที่แล้ว +9

      Nah, I just closed the joke proper so it won't break the page. :)

    • @njclondon2009
      @njclondon2009 8 ปีที่แล้ว +1

      +Joakim Rannikko haha, the geekiest banter ever, i love it!

  • @GoGroomer
    @GoGroomer 5 ปีที่แล้ว

    Brilliant man! Great discussion!

  • @BajanAlan
    @BajanAlan 8 ปีที่แล้ว +1

    Glad you gave IBM credit (DCF)

  • @markthomas9641
    @markthomas9641 2 ปีที่แล้ว

    Great explanation, thank you. DeltaXML have some really useful XML compare and merge tools with API for building into applications.

  • @thecognacsipper
    @thecognacsipper 7 หลายเดือนก่อน

    this is gold, shohld be shown to people starting woth web development imho

  • @BajanAlan
    @BajanAlan 8 ปีที่แล้ว +1

    A story I heard was that at the first demo of a Fortran compiler, an error was generated 'Missing close bracket on line 50'. Someone in the audience said why didn't Fortran insert missing bracket?
    This is why HTML etc allows missing closures

    • @BajanAlan
      @BajanAlan 8 ปีที่แล้ว

      Chrome and other browsers add closing tags

  • @MrEmperor123
    @MrEmperor123 8 ปีที่แล้ว

    Is this man one of the inventors of HTML?!

  • @realcygnus
    @realcygnus 8 ปีที่แล้ว

    I dig this guy......such interesting historical experiences

  • @Vellapanti006
    @Vellapanti006 5 ปีที่แล้ว

    hello

  • @amaraojiji
    @amaraojiji 8 ปีที่แล้ว

    Moar Professor Brailsford! I love him! Amazing passion and style!

  • @spudhead169
    @spudhead169 5 ปีที่แล้ว

    It would be easy to codify the omitted closing tag by simply enforcing an assumption. If a closing tag is encountered while (an)other tag(s) are open at a deeper scope, those open tags are also considered closed. So for example John says, Bring back my bike. Since the Q tag is at a deeper scope than the P tag, when the P tag is closed, the Q tag is also considered closed. Then you wouldn't need any specific rules for each document, it'd just be baked into the general rules of the protocol.

  • @revanslacey
    @revanslacey 2 ปีที่แล้ว

    Engaging presentation. Wish you were my lecturer!

  • @phriend2spin
    @phriend2spin 8 ปีที่แล้ว

    Love his enthusiasm

  • @leonhardeuler9839
    @leonhardeuler9839 6 ปีที่แล้ว

    I had a google search about SGML and after 10 minutes, now I’m here

  • @arigatogozaimashite
    @arigatogozaimashite 7 ปีที่แล้ว +1

    This man is the David Attenborough of Computer Science.

  • @dannyvillaroel219
    @dannyvillaroel219 8 ปีที่แล้ว

    I love this channel.

  • @BrunoRegno
    @BrunoRegno 8 ปีที่แล้ว +1

    Oh! A cliff hanger! I am waiting for part 2.

  • @JivanPal
    @JivanPal 8 ปีที่แล้ว +1

    And thus, XHTML was born!

  • @erosramasotti1080
    @erosramasotti1080 4 ปีที่แล้ว +1

    haha I was just about to scroll down to the comments and look for "you missed the and then he stopped me

  • @SapphireCrook
    @SapphireCrook 8 ปีที่แล้ว

    I'm really loving this. OAO
    Can't wait for the next one!

  • @Pedritox0953
    @Pedritox0953 4 ปีที่แล้ว

    Love your histories Professor !!

  • @soup2634
    @soup2634 8 ปีที่แล้ว

    that was very interesting. looking forward to the follow up

  • @okrakale
    @okrakale 2 ปีที่แล้ว

    This was so fun to watch 😆

  • @kirdook
    @kirdook 8 หลายเดือนก่อน

    0:41 the dramatic pause after "lawyer" lmao

  • @ruimartins2615
    @ruimartins2615 8 ปีที่แล้ว

    Amazing person to listen! Thanks!

  • @Jeff121456
    @Jeff121456 8 ปีที่แล้ว

    That American military initiative, CALS, was "Computer-aided Acquisition and Logistic Support" then later "Continuous Acquisition and Life-cycle Support." No wonder you couldn't come up with the name off the top of your head. Making up acronyms is a fun game in the civil service. I attended a few conferences.

  • @alangrill1172
    @alangrill1172 8 ปีที่แล้ว +1

    CALS -> Continuous Acquisition and Life cycle Support.

  • @VladsBackupAccount
    @VladsBackupAccount 8 ปีที่แล้ว

    Seems like once you were writing data, you could strictly speaking make an implementation of SGML where you just abruptly end the file, then have the program as it is running and working with your file, close the tags FILO style and save disk space that way. In the case of the memo, you could just skip closing the q, p, body and memo tags. If it is important to know when the file or string ends, could maybe just close the memo tag, but keep the q, p and body open.

  • @WillToWinvlog
    @WillToWinvlog 5 ปีที่แล้ว

    Great vid! Shame I missed it when it came out! I was subbed too!

  • @beekei_patel
    @beekei_patel 3 ปีที่แล้ว

    I love to listening this man ❤️ thank-you

  • @soumadip_banerjee
    @soumadip_banerjee 4 ปีที่แล้ว +1

    Love the explanation :)

  • @fobusas
    @fobusas 8 ปีที่แล้ว +2

    No, please not another story on another day! It's a bit soul crushing to hear that...

  • @AngryArmadillo
    @AngryArmadillo 8 ปีที่แล้ว +2

    Does anyone else think in this man's voice?

  • @DarthChrisB
    @DarthChrisB 8 ปีที่แล้ว

    He would be a great narrator for fantasy RPGs (both video games and pen & paper)

  • @sukikomandos
    @sukikomandos 8 ปีที่แล้ว

    This guy is great!

  • @charafeddineoubelkas9673
    @charafeddineoubelkas9673 3 ปีที่แล้ว

    I was almost say ''You missed out the tag , hahhah

  • @midnightrizer
    @midnightrizer 5 ปีที่แล้ว

    The US Department of Defense (DOD) had a long-term project to reduce the cost of supporting and constructing equipment used by the military. Using the acronym CALS, standing originally for Computer-aided Acquisition and Logistic Support and then for Continuous Acquisition and Life-cycle Support, the DOD developed a family of standards for digital information of various types. According to A Brief History of the Development of SGML,

  • @DiarreaChiclosa
    @DiarreaChiclosa 8 ปีที่แล้ว

    the title of this episode should be "SGML, HTML, XML. What's the difference. Are they all the same? Let's find out!"

  • @TrAnMu
    @TrAnMu 8 ปีที่แล้ว

    That cliffhanger though! Sheesh.

  • @Nilguiri
    @Nilguiri 8 ปีที่แล้ว +30

    This is what is wrong with HTML:

  • @majorgnu
    @majorgnu 8 ปีที่แล้ว

    And this is why, in Emacs, html-mode is derived from sgml-mode.

  • @saxbend
    @saxbend 8 ปีที่แล้ว

    Why do you need speech marks in addition to quote tags? Surely they could be redundant too to save more disc space.

  • @dsagman
    @dsagman 3 ปีที่แล้ว

    Before SGML there was GML. Generalized Markup Language. The G was Charles Goldfarb. M Moshe. And L Laurie (sp?). Goldfarb wrote the book in the video. Where are M and L?

  • @benjaminwilde152
    @benjaminwilde152 8 ปีที่แล้ว +1

    Can you make a video about how languages like C or Javascript came around?

  • @ruynobrega6918
    @ruynobrega6918 5 ปีที่แล้ว

    Love this guy

  • @aslamlabib
    @aslamlabib 5 ปีที่แล้ว +1

    He's the David attenborough of computer programming

  • @frankkoslowski6917
    @frankkoslowski6917 ปีที่แล้ว

    This one thinks the presentation is just fine and clarifies all the essential points elegantly. 🧐

  • @DynamicReset
    @DynamicReset 4 หลายเดือนก่อน +1

    Screw you end-tag, I need my precious bits. 😂 [t.stamp 04:56]

  • @kevinbheaven
    @kevinbheaven 6 ปีที่แล้ว

    Great videos thanks!!

  • @leppie
    @leppie 8 ปีที่แล้ว

    XML and friends (XPath/XSLT) is just an enterprise version of Lisp (more specifically Scheme/Lisp-1)

  • @kuronosan
    @kuronosan 8 ปีที่แล้ว +54

    Am I wrong to insist that a video actually cover what the title says it covers? It should be titled SGML to HTML - How we got here from there"

    • @BRE3ZYE
      @BRE3ZYE 8 ปีที่แล้ว +11

      +Gregory Sherman Yeah, I didn't hear much about XML...

    • @memsom
      @memsom 8 ปีที่แล้ว +1

      +3ZYBRE +Gregory Sherman I'm pretty sure that XML came out of SGML and is a more generic multi-purpose and formalised extensible superset of the original concept, removing the more ambiguous features. I go that from his description, but then I'm extremely familiar with XML.

    • @lordelliott42
      @lordelliott42 8 ปีที่แล้ว +1

      You are very right. This video was interesting, but not really finished, which is annoying.

    • @rich1051414
      @rich1051414 8 ปีที่แล้ว +1

      +m4tt3m50n Personally I prefer Json to XML these days. Easier to read and write, once you learn the rules and syntax. A lot easier to use to serialize data as well.

    • @Aidiakapi
      @Aidiakapi 8 ปีที่แล้ว

      +Richard Smith For many intends and purposes json is indeed awesome. Mostly for its simplicity, easy parsing and grammar rules, readability, and small footprint.
      But XML has it's place too, I'd argue that xml tends to stay cleaner when more complexity is introduced. The consistent syntax for parameters, subcontent, namespacing, etc can really help with managing large data.
      Additionally, json schemas are fairly new and adoption is still quite low. Xml schemas on the other hand are mature, and there's decent tooling around them. Even though they're a royal pain to write :P.

  • @Roxor128
    @Roxor128 8 ปีที่แล้ว

    This is making me wonder if you could use a markup language to tell a program how a binary file it's going to read is arranged, allowing you to support new formats that use existing features without needing to recompile the program to make it support them.

  • @Hopetobebetter
    @Hopetobebetter 2 หลายเดือนก่อน

    hey people, awesome channel, but the title should be "What is SGML? (part 1)"

  • @LowtechLLC
    @LowtechLLC 8 ปีที่แล้ว

    hope the next one discusses how verbose these are.

  • @aaronthomas658
    @aaronthomas658 8 ปีที่แล้ว

    Oh man was I ever sucked into a cliff hanger.

  • @auntiecarol
    @auntiecarol 5 ปีที่แล้ว

    Wow a mention of TEI!!

  • @realraven2000
    @realraven2000 8 ปีที่แล้ว

    Only Thunderbird does right. Outlook is terrible in representing quoted text.

  • @TaiFerret
    @TaiFerret 8 ปีที่แล้ว +2

    If only it was something like: {content}. Then you wouldn't need an end tag and it still wouldn't be ambiguous.

    • @neilbradley100
      @neilbradley100 8 ปีที่แล้ว

      SGML has such a feature. its called the empty-end-tag, . So, you can have:
      content

    • @lotrbuilders5041
      @lotrbuilders5041 6 ปีที่แล้ว

      TaiFerret No you actually just have an extra beginning tag

  • @TheAnimystro
    @TheAnimystro 8 ปีที่แล้ว +1

    and what about xml? did I miss something or did he not talk about it?

  • @ДмитрийМ-ц5м
    @ДмитрийМ-ц5м 7 ปีที่แล้ว +1

    HTML is my favourite low-level programming language.
    Yes, I'm THAT smart!