diff options
author | Sacha Chua <sacha@sachachua.com> | 2021-11-27 15:02:38 -0500 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2021-11-27 15:02:38 -0500 |
commit | fc42b65f53246d733e4814fedbbbcf397bca4ed9 (patch) | |
tree | d5ffa6dfb573bdbf89e1feea0b00ad6a372735d1 | |
parent | 7ddcd45e34888cdb02e7c0fb520cab1674bbdb43 (diff) | |
download | emacsconf-wiki-fc42b65f53246d733e4814fedbbbcf397bca4ed9.tar.xz emacsconf-wiki-fc42b65f53246d733e4814fedbbbcf397bca4ed9.zip |
transcript
-rw-r--r-- | 2021/captions/teach.md | 557 |
1 files changed, 557 insertions, 0 deletions
diff --git a/2021/captions/teach.md b/2021/captions/teach.md new file mode 100644 index 00000000..dc9ec925 --- /dev/null +++ b/2021/captions/teach.md @@ -0,0 +1,557 @@ +<a name="transcript"></a> +# Transcript + +[[!template text="Hello, everybody. My name is Daniel German." start="00:00:01.040" video="mainVideo" id=subtitle]] +[[!template text="I'm a professor of computer science" start="00:00:03.520" video="mainVideo" id=subtitle]] +[[!template text="at the University of Victoria," start="00:00:04.799" video="mainVideo" id=subtitle]] +[[!template text="and I have been teaching programming" start="00:00:06.080" video="mainVideo" id=subtitle]] +[[!template text="for more than 10 years." start="00:00:07.680" video="mainVideo" id=subtitle]] +[[!template text="I want to tell you today" start="00:00:12.080" video="mainVideo" id=subtitle]] +[[!template text="about how I have been" start="00:00:14.639" video="mainVideo" id=subtitle]] +[[!template text="using Emacs effectively" start="00:00:15.759" video="mainVideo" id=subtitle]] +[[!template text="during the last 10 years," start="00:00:17.680" video="mainVideo" id=subtitle]] +[[!template text="and to try to improve how I not only" start="00:00:20.000" video="mainVideo" id=subtitle]] +[[!template text="create content for my students," start="00:00:22.880" video="mainVideo" id=subtitle]] +[[!template text="but also how I deliver it," start="00:00:24.720" video="mainVideo" id=subtitle]] +[[!template text="and particularly how," start="00:00:26.480" video="mainVideo" id=subtitle]] +[[!template text="within the last five years," start="00:00:27.680" video="mainVideo" id=subtitle]] +[[!template text="I have been using Org mode" start="00:00:29.119" video="mainVideo" id=subtitle]] +[[!template text="in a very effective way" start="00:00:31.599" video="mainVideo" id=subtitle]] +[[!template text="that benefits both" start="00:00:33.200" video="mainVideo" id=subtitle]] +[[!template text="my students and myself" start="00:00:35.600" video="mainVideo" id=subtitle]] +[[!template text="in the creation and the delivery" start="00:00:38.239" video="mainVideo" id=subtitle]] +[[!template text="of content." start="00:00:40.480" video="mainVideo" id=subtitle]] +[[!template text="Let me switch to my computer." start="00:00:42.399" video="mainVideo" id=subtitle]] +[[!template text="I'm going to remove myself" start="00:00:45.200" video="mainVideo" id=subtitle]] +[[!template text="because I can use" start="00:00:46.480" video="mainVideo" id=subtitle]] +[[!template text="all the real-estate screen." start="00:00:47.840" video="mainVideo" id=subtitle]] +[[!template new="1" text="The goal of my presentation today" start="00:00:51.840" video="mainVideo" id=subtitle]] +[[!template text="is really to give you" start="00:00:54.079" video="mainVideo" id=subtitle]] +[[!template text="a little bit of an overview" start="00:00:55.600" video="mainVideo" id=subtitle]] +[[!template text="of how I have been able to" start="00:00:59.280" video="mainVideo" id=subtitle]] +[[!template text="combine the use of Org mode" start="00:01:03.440" video="mainVideo" id=subtitle]] +[[!template text="and with some other tools." start="00:01:06.240" video="mainVideo" id=subtitle]] +[[!template text="I'll talk about specifically about them" start="00:01:08.560" video="mainVideo" id=subtitle]] +[[!template text="and then also offer some suggestions" start="00:01:10.880" video="mainVideo" id=subtitle]] +[[!template text="and recommendations" start="00:01:13.680" video="mainVideo" id=subtitle]] +[[!template text="in how to get it started." start="00:01:14.640" video="mainVideo" id=subtitle]] +[[!template text="I have created a configuration," start="00:01:16.240" video="mainVideo" id=subtitle]] +[[!template text="a set of configuration files" start="00:01:18.799" video="mainVideo" id=subtitle]] +[[!template text="that you can use." start="00:01:20.080" video="mainVideo" id=subtitle]] +[[!template text="I will describe them towards the end." start="00:01:20.799" video="mainVideo" id=subtitle]] +[[!template text="Hopefully, it will make it easy" start="00:01:22.880" video="mainVideo" id=subtitle]] +[[!template text="for all of you to get started on using it." start="00:01:28.240" video="mainVideo" id=subtitle]] +[[!template text="So we start talking a little bit" start="00:01:31.439" video="mainVideo" id=subtitle]] +[[!template text="about the challenges" start="00:01:33.200" video="mainVideo" id=subtitle]] +[[!template text="of teaching programming." start="00:01:34.079" video="mainVideo" id=subtitle]] +[[!template text="I think that the fundamental one" start="00:01:35.119" video="mainVideo" id=subtitle]] +[[!template text="is that keeping the content" start="00:01:37.200" video="mainVideo" id=subtitle]] +[[!template text="and the slides up to date is hard," start="00:01:41.680" video="mainVideo" id=subtitle]] +[[!template text="because the content is programs." start="00:01:45.280" video="mainVideo" id=subtitle]] +[[!template text="There are programs" start="00:01:46.960" video="mainVideo" id=subtitle]] +[[!template text="that sometimes have errors," start="00:01:47.840" video="mainVideo" id=subtitle]] +[[!template text="and sometimes the slides are" start="00:01:50.399" video="mainVideo" id=subtitle]] +[[!template text="incomplete snippets of code, and that" start="00:01:53.759" video="mainVideo" id=subtitle]] +[[!template text="once they go into the slides software," start="00:01:58.079" video="mainVideo" id=subtitle]] +[[!template text="like Google Slides or PowerPoint," start="00:02:00.240" video="mainVideo" id=subtitle]] +[[!template text="they're essentially static objects." start="00:02:01.840" video="mainVideo" id=subtitle]] +[[!template text="If we need to update them," start="00:02:05.520" video="mainVideo" id=subtitle]] +[[!template text="we basically don't know" start="00:02:07.439" video="mainVideo" id=subtitle]] +[[!template text="whether the update code actually works," start="00:02:09.920" video="mainVideo" id=subtitle]] +[[!template text="or does it work?" start="00:02:12.160" video="mainVideo" id=subtitle]] +[[!template text="Also, we cannot insert automatically" start="00:02:13.440" video="mainVideo" id=subtitle]] +[[!template text="the output." start="00:02:16.000" video="mainVideo" id=subtitle]] +[[!template text="We'll have to run the snippet outside," start="00:02:16.400" video="mainVideo" id=subtitle]] +[[!template text="and run it, and then insert that code." start="00:02:18.480" video="mainVideo" id=subtitle]] +[[!template text="So that's very cumbersome." start="00:02:20.560" video="mainVideo" id=subtitle]] +[[!template text="It's really, really one of the" start="00:02:22.080" video="mainVideo" id=subtitle]] +[[!template text="major challenges of using a slide software" start="00:02:23.200" video="mainVideo" id=subtitle]] +[[!template text="to teach programming." start="00:02:26.080" video="mainVideo" id=subtitle]] +[[!template text="The other thing is that" start="00:02:29.360" video="mainVideo" id=subtitle]] +[[!template text="during the presentation," start="00:02:30.879" video="mainVideo" id=subtitle]] +[[!template text="there's nothing you can do with the code." start="00:02:32.000" video="mainVideo" id=subtitle]] +[[!template text="You might be able to edit it," start="00:02:33.440" video="mainVideo" id=subtitle]] +[[!template text="but you cannot run it." start="00:02:34.480" video="mainVideo" id=subtitle]] +[[!template text="You have to move outside of the" start="00:02:35.440" video="mainVideo" id=subtitle]] +[[!template text="presentation software" start="00:02:37.360" video="mainVideo" id=subtitle]] +[[!template text="to be able to execute the code." start="00:02:38.640" video="mainVideo" id=subtitle]] +[[!template text="The last one is kind of related to" start="00:02:42.800" video="mainVideo" id=subtitle]] +[[!template text="the previous two." start="00:02:44.640" video="mainVideo" id=subtitle]] +[[!template text="You don't have a single file" start="00:02:46.959" video="mainVideo" id=subtitle]] +[[!template text="and your information is spread across" start="00:02:48.800" video="mainVideo" id=subtitle]] +[[!template text="many, many different files," start="00:02:51.121" video="mainVideo" id=subtitle]] +[[!template text="especially if you have lots of" start="00:02:52.879" video="mainVideo" id=subtitle]] +[[!template text="different snippets in your slides." start="00:02:54.080" video="mainVideo" id=subtitle]] +[[!template text="You probably have a lot of" start="00:02:55.760" video="mainVideo" id=subtitle]] +[[!template text="different small files, each of them" start="00:02:56.959" video="mainVideo" id=subtitle]] +[[!template text="contributing something to your slides," start="00:02:59.440" video="mainVideo" id=subtitle]] +[[!template text="and so it becomes a pain to manage." start="00:03:01.599" video="mainVideo" id=subtitle]] +[[!template text="All of this is where Org mode" start="00:03:07.280" video="mainVideo" id=subtitle]] +[[!template text="really excels. Org mode is capable of" start="00:03:10.080" video="mainVideo" id=subtitle]] +[[!template text="doing everything, and it needs" start="00:03:12.640" video="mainVideo" id=subtitle]] +[[!template text="a little bit of help from some friends." start="00:03:15.840" video="mainVideo" id=subtitle]] +[[!template text="I will describe what I mean by that." start="00:03:18.400" video="mainVideo" id=subtitle]] +[[!template text="But the other thing" start="00:03:22.159" video="mainVideo" id=subtitle]] +[[!template text="that is also very valuable" start="00:03:23.040" video="mainVideo" id=subtitle]] +[[!template text="is that it's within the magic of Emacs." start="00:03:24.480" video="mainVideo" id=subtitle]] +[[!template text="I absolutely love to be able to" start="00:03:27.440" video="mainVideo" id=subtitle]] +[[!template text="work with text within Emacs." start="00:03:30.480" video="mainVideo" id=subtitle]] +[[!template text="I enjoy actually creating my notes" start="00:03:32.879" video="mainVideo" id=subtitle]] +[[!template text="in Org mode way more than if I was" start="00:03:34.799" video="mainVideo" id=subtitle]] +[[!template text="making them in Google Slides." start="00:03:36.640" video="mainVideo" id=subtitle]] +[[!template text="Let me start by giving you a short demo." start="00:03:39.360" video="mainVideo" id=subtitle]] +[[!template text="I have been teaching programming in C++" start="00:03:42.400" video="mainVideo" id=subtitle]] +[[!template text="for around five years," start="00:03:46.400" video="mainVideo" id=subtitle]] +[[!template text="and this was really the trigger towards" start="00:03:47.519" video="mainVideo" id=subtitle]] +[[!template text="trying to do everything within Org mode." start="00:03:50.159" video="mainVideo" id=subtitle]] +[[!template text="So I have a repository in GitHub," start="00:03:53.280" video="mainVideo" id=subtitle]] +[[!template text="and I think that GitHub" start="00:03:58.159" video="mainVideo" id=subtitle]] +[[!template text="is an excellent tool" start="00:03:59.439" video="mainVideo" id=subtitle]] +[[!template text="that works collaboration with Org mode." start="00:04:00.560" video="mainVideo" id=subtitle]] +[[!template text="I'll describe actually" start="00:04:04.480" video="mainVideo" id=subtitle]] +[[!template text="what I mean by that." start="00:04:05.439" video="mainVideo" id=subtitle]] +[[!template text="My lectures are essentially Org files." start="00:04:07.680" video="mainVideo" id=subtitle]] +[[!template text="So, for example, let's go into" start="00:04:09.680" video="mainVideo" id=subtitle]] +[[!template text="one of these files." start="00:04:12.480" video="mainVideo" id=subtitle]] +[[!template text="This is a an Org file." start="00:04:15.040" video="mainVideo" id=subtitle]] +[[!template text="You can actually see it in the extension." start="00:04:16.799" video="mainVideo" id=subtitle]] +[[!template text="I get a table of contents." start="00:04:21.199" video="mainVideo" id=subtitle]] +[[!template text="GitHub creates or give us actually" start="00:04:26.160" video="mainVideo" id=subtitle]] +[[!template text="the ability to quickly jump, and it creates" start="00:04:28.000" video="mainVideo" id=subtitle]] +[[!template text="a dynamic table of contents," start="00:04:31.280" video="mainVideo" id=subtitle]] +[[!template text="but I also can actually" start="00:04:32.880" video="mainVideo" id=subtitle]] +[[!template text="create it automatically," start="00:04:33.759" video="mainVideo" id=subtitle]] +[[!template text="and then here it goes." start="00:04:35.280" video="mainVideo" id=subtitle]] +[[!template text="This is the code that i have." start="00:04:36.800" video="mainVideo" id=subtitle]] +[[!template text="This is a snippet" start="00:04:38.479" video="mainVideo" id=subtitle]] +[[!template text="that I present in the class." start="00:04:41.440" video="mainVideo" id=subtitle]] +[[!template text="Let me actually show you" start="00:04:44.240" video="mainVideo" id=subtitle]] +[[!template text="how I do it within Emacs." start="00:04:45.680" video="mainVideo" id=subtitle]] +[[!template text="So what I will do is the following." start="00:04:48.400" video="mainVideo" id=subtitle]] +[[!template text="Let me try to open that file." start="00:04:52.160" video="mainVideo" id=subtitle]] +[[!template text="Here's the file," start="00:04:57.919" video="mainVideo" id=subtitle]] +[[!template text="and it's exactly the same" start="00:04:59.440" video="mainVideo" id=subtitle]] +[[!template text="that we were browsing in GitHub." start="00:05:00.880" video="mainVideo" id=subtitle]] +[[!template text="What I do is I simply just scroll through" start="00:05:03.759" video="mainVideo" id=subtitle]] +[[!template text="the document. It's almost like" start="00:05:08.720" video="mainVideo" id=subtitle]] +[[!template text="movie credits at the end of the movie." start="00:05:10.160" video="mainVideo" id=subtitle]] +[[!template text="I don't break them into chunks" start="00:05:13.440" video="mainVideo" id=subtitle]] +[[!template text="that I show in the screen." start="00:05:15.360" video="mainVideo" id=subtitle]] +[[!template text="I see no point in doing that." start="00:05:16.639" video="mainVideo" id=subtitle]] +[[!template text="What I do is I simply scroll through" start="00:05:18.320" video="mainVideo" id=subtitle]] +[[!template text="the text. The students are able to see" start="00:05:20.880" video="mainVideo" id=subtitle]] +[[!template text="the same information in GitHub" start="00:05:24.160" video="mainVideo" id=subtitle]] +[[!template text="on their computer," start="00:05:26.560" video="mainVideo" id=subtitle]] +[[!template text="or they can print it if they want," start="00:05:27.759" video="mainVideo" id=subtitle]] +[[!template text="and they are able to actually" start="00:05:29.680" video="mainVideo" id=subtitle]] +[[!template text="follow with me, and then having" start="00:05:31.039" video="mainVideo" id=subtitle]] +[[!template text="a much bigger picture" start="00:05:32.560" video="mainVideo" id=subtitle]] +[[!template text="than if i just show a very small snippet." start="00:05:33.759" video="mainVideo" id=subtitle]] +[[!template text="In the case that the snippet is too big," start="00:05:36.320" video="mainVideo" id=subtitle]] +[[!template text="for example, let's say this one" start="00:05:38.800" video="mainVideo" id=subtitle]] +[[!template text="actually doesn't cover the..." start="00:05:40.800" video="mainVideo" id=subtitle]] +[[!template text="covers more than full screen," start="00:05:42.240" video="mainVideo" id=subtitle]] +[[!template text="I actually reduce the size" start="00:05:43.759" video="mainVideo" id=subtitle]] +[[!template text="and then give a little bit of" start="00:05:45.360" video="mainVideo" id=subtitle]] +[[!template text="an explanation of the whole thing," start="00:05:48.000" video="mainVideo" id=subtitle]] +[[!template text="and then focus and say this is the line" start="00:05:49.759" video="mainVideo" id=subtitle]] +[[!template text="where we have to pay attention." start="00:05:51.600" video="mainVideo" id=subtitle]] +[[!template text="Notice actually how I use color for that." start="00:05:53.600" video="mainVideo" id=subtitle]] +[[!template text="I think that the ability to use color" start="00:05:55.600" video="mainVideo" id=subtitle]] +[[!template text="and typesetting is fundamental" start="00:05:57.759" video="mainVideo" id=subtitle]] +[[!template text="to be able to do this effectively," start="00:05:59.759" video="mainVideo" id=subtitle]] +[[!template text="and the nice thing is that" start="00:06:01.520" video="mainVideo" id=subtitle]] +[[!template text="we can configure Org mode" start="00:06:02.720" video="mainVideo" id=subtitle]] +[[!template text="to be able to do most of this" start="00:06:04.160" video="mainVideo" id=subtitle]] +[[!template text="automatically." start="00:06:05.840" video="mainVideo" id=subtitle]] +[[!template text="As I said before," start="00:06:08.160" video="mainVideo" id=subtitle]] +[[!template text="one of the great advantages is that" start="00:06:09.360" video="mainVideo" id=subtitle]] +[[!template text="I can actually run the code dynamically." start="00:06:10.960" video="mainVideo" id=subtitle]] +[[!template text="So let's say that the student says," start="00:06:13.600" video="mainVideo" id=subtitle]] +[[!template text=""But what if I change that value to 10?"" start="00:06:15.360" video="mainVideo" id=subtitle]] +[[!template text="Well, let's try it." start="00:06:17.360" video="mainVideo" id=subtitle]] +[[!template text="Let's change it, run it," start="00:06:18.560" video="mainVideo" id=subtitle]] +[[!template text="and then you can see here" start="00:06:20.560" video="mainVideo" id=subtitle]] +[[!template text="that it has a 10." start="00:06:21.840" video="mainVideo" id=subtitle]] +[[!template text="That's really powerful because" start="00:06:24.720" video="mainVideo" id=subtitle]] +[[!template text="you're not tied to" start="00:06:26.960" video="mainVideo" id=subtitle]] +[[!template text="what is the content you have" start="00:06:29.280" video="mainVideo" id=subtitle]] +[[!template text="on the slides. If you find an error" start="00:06:30.560" video="mainVideo" id=subtitle]] +[[!template text="or an omission, or you want to talk about" start="00:06:33.120" video="mainVideo" id=subtitle]] +[[!template text="something else, you can very quickly" start="00:06:34.880" video="mainVideo" id=subtitle]] +[[!template text="do it. You can add comments" start="00:06:36.880" video="mainVideo" id=subtitle]] +[[!template text="and then make some suggestions" start="00:06:40.720" video="mainVideo" id=subtitle]] +[[!template text="specifically to that," start="00:06:42.080" video="mainVideo" id=subtitle]] +[[!template text="or worst-case scenario," start="00:06:43.840" video="mainVideo" id=subtitle]] +[[!template text="if you really, really, need it," start="00:06:45.680" video="mainVideo" id=subtitle]] +[[!template text="you can say, "Let's load it into..."" start="00:06:48.880" video="mainVideo" id=subtitle]] +[[!template text="Let's actually do some hand annotation." start="00:06:55.440" video="mainVideo" id=subtitle]] +[[!template text="Let's actually say, "look at this thing," start="00:06:58.400" video="mainVideo" id=subtitle]] +[[!template text="this is the value that I want you to" start="00:07:00.319" video="mainVideo" id=subtitle]] +[[!template text="concentrate on."" start="00:07:01.840" video="mainVideo" id=subtitle]] +[[!template text="It's not perfect." start="00:07:02.800" video="mainVideo" id=subtitle]] +[[!template text="I'm not doing it with an Emacs." start="00:07:03.599" video="mainVideo" id=subtitle]] +[[!template text="I wish there was a way to do it," start="00:07:04.960" video="mainVideo" id=subtitle]] +[[!template text="but it is absolutely effective" start="00:07:06.960" video="mainVideo" id=subtitle]] +[[!template text="because I'm actually able to" start="00:07:09.120" video="mainVideo" id=subtitle]] +[[!template text="use the power. Notice that all that is" start="00:07:10.720" video="mainVideo" id=subtitle]] +[[!template text="exported is just the block, and also" start="00:07:12.800" video="mainVideo" id=subtitle]] +[[!template text="the color and typesetting," start="00:07:15.520" video="mainVideo" id=subtitle]] +[[!template text="the typesetting of the content." start="00:07:22.400" video="mainVideo" id=subtitle]] +[[!template text="So this is actually great." start="00:07:24.560" video="mainVideo" id=subtitle]] +[[!template text="I have the colors red, purple, etc. etc." start="00:07:25.759" video="mainVideo" id=subtitle]] +[[!template text="I love being able to do that." start="00:07:30.639" video="mainVideo" id=subtitle]] +[[!template text="This is just a temporary file." start="00:07:34.160" video="mainVideo" id=subtitle]] +[[!template text="I can actually discard it," start="00:07:35.919" video="mainVideo" id=subtitle]] +[[!template text="and it doesn't really matter." start="00:07:36.880" video="mainVideo" id=subtitle]] +[[!template text="Let me go back to the presentation." start="00:07:39.680" video="mainVideo" id=subtitle]] +[[!template text="So that's the delivery." start="00:07:41.919" video="mainVideo" id=subtitle]] +[[!template text="So the delivery is great," start="00:07:43.360" video="mainVideo" id=subtitle]] +[[!template text="and I can tell the students" start="00:07:44.639" video="mainVideo" id=subtitle]] +[[!template text="now you're actually in GitHub," start="00:07:46.400" video="mainVideo" id=subtitle]] +[[!template text="if you want to test the code," start="00:07:48.080" video="mainVideo" id=subtitle]] +[[!template text="just cut and paste." start="00:07:50.160" video="mainVideo" id=subtitle]] +[[!template text="Notice that I clicked on the little icon." start="00:07:51.360" video="mainVideo" id=subtitle]] +[[!template text="Now it's copied. It's now part of" start="00:07:54.240" video="mainVideo" id=subtitle]] +[[!template text="the kill buffer (kill-ring)," start="00:07:56.639" video="mainVideo" id=subtitle]] +[[!template text="so if I want to actually create a file" start="00:07:57.440" video="mainVideo" id=subtitle]] +[[!template text="that has that content," start="00:07:59.520" video="mainVideo" id=subtitle]] +[[!template text="I can very quickly do it." start="00:08:00.560" video="mainVideo" id=subtitle]] +[[!template text="Try that with PowerPoint." start="00:08:02.560" video="mainVideo" id=subtitle]] +[[!template text="You will have to have the text" start="00:08:05.840" video="mainVideo" id=subtitle]] +[[!template text="without any nice typesetting," start="00:08:08.160" video="mainVideo" id=subtitle]] +[[!template text="or you will have to have a picture" start="00:08:10.000" video="mainVideo" id=subtitle]] +[[!template text="that is impossible to cut and paste." start="00:08:11.280" video="mainVideo" id=subtitle]] +[[!template text="So that's something that the students" start="00:08:13.120" video="mainVideo" id=subtitle]] +[[!template text="really, really appreciate of this." start="00:08:14.400" video="mainVideo" id=subtitle]] +[[!template text="They can try it on the computer." start="00:08:17.440" video="mainVideo" id=subtitle]] +[[!template text="They can load it into" start="00:08:18.879" video="mainVideo" id=subtitle]] +[[!template text="their favorite editor." start="00:08:19.919" video="mainVideo" id=subtitle]] +[[!template text="I don't force them to use Emacs," start="00:08:22.319" video="mainVideo" id=subtitle]] +[[!template text="but I have to say that some of them" start="00:08:24.720" video="mainVideo" id=subtitle]] +[[!template text="really get intrigued by this power" start="00:08:26.879" video="mainVideo" id=subtitle]] +[[!template text="that they want to try Emacs" start="00:08:28.479" video="mainVideo" id=subtitle]] +[[!template text="because they see that they can do things," start="00:08:30.000" video="mainVideo" id=subtitle]] +[[!template text="that I can do things that they cannot do" start="00:08:31.440" video="mainVideo" id=subtitle]] +[[!template text="with other tools." start="00:08:33.760" video="mainVideo" id=subtitle]] +[[!template text="Okay, so let's go back to presentation." start="00:08:35.919" video="mainVideo" id=subtitle]] +[[!template text="The other half of it is" start="00:08:39.039" video="mainVideo" id=subtitle]] +[[!template text="preparing the notes." start="00:08:40.080" video="mainVideo" id=subtitle]] +[[!template text="I think the preparatory notes" start="00:08:41.039" video="mainVideo" id=subtitle]] +[[!template text="is something that I want to do" start="00:08:44.640" video="mainVideo" id=subtitle]] +[[!template text="as easy as possible." start="00:08:46.320" video="mainVideo" id=subtitle]] +[[!template text="I want to be able to reduce the time" start="00:08:48.240" video="mainVideo" id=subtitle]] +[[!template text="that I waste on things," start="00:08:52.560" video="mainVideo" id=subtitle]] +[[!template text="that they are done." start="00:08:53.760" video="mainVideo" id=subtitle]] +[[!template text="They're not part of the actual thinking" start="00:08:55.120" video="mainVideo" id=subtitle]] +[[!template text="or the delivery of the presentation." start="00:08:57.519" video="mainVideo" id=subtitle]] +[[!template text="So let me create a file." start="00:09:01.760" video="mainVideo" id=subtitle]] +[[!template text="Let's call it rip2.org." start="00:09:03.440" video="mainVideo" id=subtitle]] +[[!template text="Well, I have this one," start="00:09:05.720" video="mainVideo" id=subtitle]] +[[!template text="so let's call it rip.org." start="00:09:07.839" video="mainVideo" id=subtitle]] +[[!template text="Oh, I have this one too," start="00:09:09.519" video="mainVideo" id=subtitle]] +[[!template text="so let's call it rip4.org." start="00:09:10.480" video="mainVideo" id=subtitle]] +[[!template text="So it's empty." start="00:09:12.800" video="mainVideo" id=subtitle]] +[[!template text="I use yasnippets. I think yasnippets" start="00:09:15.040" video="mainVideo" id=subtitle]] +[[!template text="are very important," start="00:09:17.200" video="mainVideo" id=subtitle]] +[[!template text="and I'll go through this" start="00:09:17.920" video="mainVideo" id=subtitle]] +[[!template text="in a little bit later." start="00:09:19.040" video="mainVideo" id=subtitle]] +[[!template text="It's important to set up" start="00:09:19.760" video="mainVideo" id=subtitle]] +[[!template text="the properties for each language" start="00:09:21.200" video="mainVideo" id=subtitle]] +[[!template text="that I use properly." start="00:09:23.440" video="mainVideo" id=subtitle]] +[[!template text="I'll describe this a little bit later." start="00:09:24.399" video="mainVideo" id=subtitle]] +[[!template text="Unfortunately, the properties" start="00:09:26.320" video="mainVideo" id=subtitle]] +[[!template text="have to be evaluated one at a time," start="00:09:28.000" video="mainVideo" id=subtitle]] +[[!template text="and so I'm just going to" start="00:09:30.080" video="mainVideo" id=subtitle]] +[[!template text="kill the buffer and open it again." start="00:09:33.839" video="mainVideo" id=subtitle]] +[[!template text="So now all of these properties" start="00:09:35.040" video="mainVideo" id=subtitle]] +[[!template text="are properly set." start="00:09:36.480" video="mainVideo" id=subtitle]] +[[!template text="As I said before, I have some yasnippets," start="00:09:40.560" video="mainVideo" id=subtitle]] +[[!template text="so I can actually do very quickly..." start="00:09:43.760" video="mainVideo" id=subtitle]] +[[!template text="This is C++, cout << "hello world"," start="00:09:46.560" video="mainVideo" id=subtitle]] +[[!template text="std::endl." start="00:09:55.200" video="mainVideo" id=subtitle]] +[[!template text="And then I run it," start="00:09:58.080" video="mainVideo" id=subtitle]] +[[!template text="and then it's inserted down here," start="00:10:00.080" video="mainVideo" id=subtitle]] +[[!template text="so nothing special." start="00:10:02.720" video="mainVideo" id=subtitle]] +[[!template text="Let's assume that I make a mistake" start="00:10:04.000" video="mainVideo" id=subtitle]] +[[!template text="and I type a double l here." start="00:10:06.160" video="mainVideo" id=subtitle]] +[[!template text="I will get an error." start="00:10:08.480" video="mainVideo" id=subtitle]] +[[!template text="These line numbers unfortunately" start="00:10:10.720" video="mainVideo" id=subtitle]] +[[!template text="don't perfectly match" start="00:10:12.399" video="mainVideo" id=subtitle]] +[[!template text="with the line numbers" start="00:10:13.600" video="mainVideo" id=subtitle]] +[[!template text="in the little snippet" start="00:10:15.040" video="mainVideo" id=subtitle]] +[[!template text="because there's some code" start="00:10:17.839" video="mainVideo" id=subtitle]] +[[!template text="that org-babel inserts," start="00:10:18.959" video="mainVideo" id=subtitle]] +[[!template text="so that shifts them." start="00:10:22.160" video="mainVideo" id=subtitle]] +[[!template text="So that's something to be aware of." start="00:10:23.040" video="mainVideo" id=subtitle]] +[[!template text="I can correct it, run it," start="00:10:25.440" video="mainVideo" id=subtitle]] +[[!template text="and then it inserts the result." start="00:10:27.680" video="mainVideo" id=subtitle]] +[[!template text="Let's do one in C." start="00:10:30.160" video="mainVideo" id=subtitle]] +[[!template text="I'll explain the exports both" start="00:10:36.079" video="mainVideo" id=subtitle]] +[[!template text="a little bit." start="00:10:37.680" video="mainVideo" id=subtitle]] +[[!template text="So let's assume that I don't want to" start="00:10:38.640" video="mainVideo" id=subtitle]] +[[!template text="have a full main program." start="00:10:40.079" video="mainVideo" id=subtitle]] +[[!template text="Let's assume that i just want to" start="00:10:41.519" video="mainVideo" id=subtitle]] +[[!template text="demonstrate how to use a printf" start="00:10:42.560" video="mainVideo" id=subtitle]] +[[!template text=""hello world %s\n", "my friend"." start="00:10:45.200" video="mainVideo" id=subtitle]] +[[!template text="Let's run it." start="00:10:54.959" video="mainVideo" id=subtitle]] +[[!template text="I get a bunch of errors. Why?" start="00:10:56.800" video="mainVideo" id=subtitle]] +[[!template text="Because I don't have a main program," start="00:10:58.800" video="mainVideo" id=subtitle]] +[[!template text="so I have to actually tell org-babel" start="00:11:00.480" video="mainVideo" id=subtitle]] +[[!template text="that I want a main product," start="00:11:03.279" video="mainVideo" id=subtitle]] +[[!template text="so yes put a main around it." start="00:11:05.200" video="mainVideo" id=subtitle]] +[[!template text="So now I run it and it says, oh," start="00:11:07.360" video="mainVideo" id=subtitle]] +[[!template text="in the function main," start="00:11:09.040" video="mainVideo" id=subtitle]] +[[!template text="we have an implicit declaration" start="00:11:09.760" video="mainVideo" id=subtitle]] +[[!template text="for function printf." start="00:11:10.959" video="mainVideo" id=subtitle]] +[[!template text="I'm very, very stringent" start="00:11:12.640" video="mainVideo" id=subtitle]] +[[!template text="on my compilation options," start="00:11:14.000" video="mainVideo" id=subtitle]] +[[!template text="so I want to have every single" start="00:11:16.959" video="mainVideo" id=subtitle]] +[[!template text="potential error displayed ," start="00:11:18.959" video="mainVideo" id=subtitle]] +[[!template text="so that's actually why." start="00:11:21.279" video="mainVideo" id=subtitle]] +[[!template text="In this case, I actually need include," start="00:11:22.959" video="mainVideo" id=subtitle]] +[[!template text="so I can say :includes <stdio.h>," start="00:11:24.640" video="mainVideo" id=subtitle]] +[[!template text="and I'll run it and it runs perfectly." start="00:11:29.040" video="mainVideo" id=subtitle]] +[[!template text="So why is this important?" start="00:11:31.040" video="mainVideo" id=subtitle]] +[[!template text="Well, it allows me to just have" start="00:11:32.480" video="mainVideo" id=subtitle]] +[[!template text="the snippet that I'm concerned about." start="00:11:35.440" video="mainVideo" id=subtitle]] +[[!template text="I don't have to have all the overhead" start="00:11:37.600" video="mainVideo" id=subtitle]] +[[!template text="of having to have the include, main, etc.," start="00:11:39.920" video="mainVideo" id=subtitle]] +[[!template text="if I want to show" start="00:11:43.279" video="mainVideo" id=subtitle]] +[[!template text="just one specific concept" start="00:11:44.000" video="mainVideo" id=subtitle]] +[[!template text="and I can do it" start="00:11:45.440" video="mainVideo" id=subtitle]] +[[!template text="in very few lines of code." start="00:11:46.560" video="mainVideo" id=subtitle]] +[[!template text="I can do that immediately, of course." start="00:11:48.079" video="mainVideo" id=subtitle]] +[[!template text="The students will not be able to" start="00:11:50.240" video="mainVideo" id=subtitle]] +[[!template text="cut and paste it without the main file," start="00:11:51.279" video="mainVideo" id=subtitle]] +[[!template text="but that's something" start="00:11:53.600" video="mainVideo" id=subtitle]] +[[!template text="that we can explain to them." start="00:11:54.320" video="mainVideo" id=subtitle]] +[[!template text="We can do all the languages." start="00:11:57.600" video="mainVideo" id=subtitle]] +[[!template text="So I can say print," start="00:11:59.440" video="mainVideo" id=subtitle]] +[[!template text="let's print just a list," start="00:12:02.079" video="mainVideo" id=subtitle]] +[[!template text="or let's actually keep updating it," start="00:12:07.680" video="mainVideo" id=subtitle]] +[[!template text="and let's do a map of a lambda x," start="00:12:10.000" video="mainVideo" id=subtitle]] +[[!template text="x multiplied by x," start="00:12:16.000" video="mainVideo" id=subtitle]] +[[!template text="and then we run it. Okay." start="00:12:19.279" video="mainVideo" id=subtitle]] +[[!template text="The thing that is important" start="00:12:22.079" video="mainVideo" id=subtitle]] +[[!template text="is that if we also have" start="00:12:23.200" video="mainVideo" id=subtitle]] +[[!template text="the full power of the environment," start="00:12:25.120" video="mainVideo" id=subtitle]] +[[!template text="right, so we can actually edit it" start="00:12:26.720" video="mainVideo" id=subtitle]] +[[!template text="in the native mode of the language," start="00:12:28.320" video="mainVideo" id=subtitle]] +[[!template text="and wherever we actually want to use" start="00:12:31.519" video="mainVideo" id=subtitle]] +[[!template text="specific features, that they are available" start="00:12:34.560" video="mainVideo" id=subtitle]] +[[!template text="in the particular mode." start="00:12:36.720" video="mainVideo" id=subtitle]] +[[!template text="But for most of the cases," start="00:12:38.800" video="mainVideo" id=subtitle]] +[[!template text="I don't need that," start="00:12:40.720" video="mainVideo" id=subtitle]] +[[!template text="because my examples are relatively simple." start="00:12:41.519" video="mainVideo" id=subtitle]] +[[!template text="Let's do one more." start="00:12:44.160" video="mainVideo" id=subtitle]] +[[!template text="This is a little bit different: SQLite." start="00:12:46.720" video="mainVideo" id=subtitle]] +[[!template text="In the previous examples," start="00:12:48.399" video="mainVideo" id=subtitle]] +[[!template text="the output that is inserted" start="00:12:49.760" video="mainVideo" id=subtitle]] +[[!template text="is a standard output." start="00:12:51.200" video="mainVideo" id=subtitle]] +[[!template text="In SQLite, I want to actually see" start="00:12:52.720" video="mainVideo" id=subtitle]] +[[!template text="the tables. I want to see" start="00:12:54.320" video="mainVideo" id=subtitle]] +[[!template text="how the tables are," start="00:12:55.279" video="mainVideo" id=subtitle]] +[[!template text="what the results are." start="00:12:56.720" video="mainVideo" id=subtitle]] +[[!template text="So let's create table s." start="00:12:58.880" video="mainVideo" id=subtitle]] +[[!template text="Let's call it r, a int, b int," start="00:13:04.000" video="mainVideo" id=subtitle]] +[[!template text="and let's run it." start="00:13:08.399" video="mainVideo" id=subtitle]] +[[!template text="This is-- oh, the table already exists." start="00:13:09.200" video="mainVideo" id=subtitle]] +[[!template text="Okay. So drop table if exists r," start="00:13:10.639" video="mainVideo" id=subtitle]] +[[!template text="and then we run it. Okay." start="00:13:16.240" video="mainVideo" id=subtitle]] +[[!template text="So now it's created. sqlite..." start="00:13:17.440" video="mainVideo" id=subtitle]] +[[!template text="So we can say create a table," start="00:13:21.120" video="mainVideo" id=subtitle]] +[[!template text="and let's actually add SQL," start="00:13:25.920" video="mainVideo" id=subtitle]] +[[!template text="and here we're actually going to add..." start="00:13:27.760" video="mainVideo" id=subtitle]] +[[!template text="This is an example in C," start="00:13:32.079" video="mainVideo" id=subtitle]] +[[!template text="and here we're going to have C++." start="00:13:34.240" video="mainVideo" id=subtitle]] +[[!template text="Okay. So, SQL," start="00:13:38.240" video="mainVideo" id=subtitle]] +[[!template text="and then we create a table," start="00:13:42.160" video="mainVideo" id=subtitle]] +[[!template text="and then we populate" start="00:13:43.920" video="mainVideo" id=subtitle]] +[[!template text="and then insert into R" start="00:13:47.839" video="mainVideo" id=subtitle]] +[[!template text="values 1,2 2,3 3,4." start="00:13:51.360" video="mainVideo" id=subtitle]] +[[!template text="Okay. So now I have a table," start="00:13:57.839" video="mainVideo" id=subtitle]] +[[!template text="I have values," start="00:13:59.519" video="mainVideo" id=subtitle]] +[[!template text="and I can do "select * from here,"" start="00:14:01.600" video="mainVideo" id=subtitle]] +[[!template text="and then I get the result. Okay." start="00:14:04.560" video="mainVideo" id=subtitle]] +[[!template text="It's almost magic" start="00:14:07.040" video="mainVideo" id=subtitle]] +[[!template text="because I can actually get, formatted," start="00:14:07.920" video="mainVideo" id=subtitle]] +[[!template text="the output in the way that I expected." start="00:14:10.399" video="mainVideo" id=subtitle]] +[[!template text="Obviously, if my result is too big," start="00:14:13.040" video="mainVideo" id=subtitle]] +[[!template text="then it will basically just create" start="00:14:15.279" video="mainVideo" id=subtitle]] +[[!template text="a huge, huge buffer, or Org will say" start="00:14:18.399" video="mainVideo" id=subtitle]] +[[!template text="the output is too big." start="00:14:20.880" video="mainVideo" id=subtitle]] +[[!template text="So often with databases," start="00:14:21.920" video="mainVideo" id=subtitle]] +[[!template text="I actually narrow my output, right," start="00:14:24.079" video="mainVideo" id=subtitle]] +[[!template text="or I might do it with a clause," start="00:14:26.480" video="mainVideo" id=subtitle]] +[[!template text=""where a > 1"." start="00:14:28.639" video="mainVideo" id=subtitle]] +[[!template text="If the language is supported by Org Babel," start="00:14:34.959" video="mainVideo" id=subtitle]] +[[!template text="then you can do all of this." start="00:14:36.959" video="mainVideo" id=subtitle]] +[[!template text="Let me go back to the presentation." start="00:14:39.920" video="mainVideo" id=subtitle]] +[[!template text="I'm running out of time." start="00:14:42.079" video="mainVideo" id=subtitle]] +[[!template text="Let me give you a short tour" start="00:14:43.760" video="mainVideo" id=subtitle]] +[[!template text="of how this is done." start="00:14:45.680" video="mainVideo" id=subtitle]] +[[!template text="I have created a repository that has" start="00:14:47.279" video="mainVideo" id=subtitle]] +[[!template text="all the configuration that I have." start="00:14:53.279" video="mainVideo" id=subtitle]] +[[!template text="Everything is self-contained." start="00:14:54.800" video="mainVideo" id=subtitle]] +[[!template text="You can just download it and run it." start="00:14:56.639" video="mainVideo" id=subtitle]] +[[!template text="You will have to replace" start="00:14:59.600" video="mainVideo" id=subtitle]] +[[!template text="your ~/.emacs.d directory," start="00:15:01.360" video="mainVideo" id=subtitle]] +[[!template text="and then you can explore it, test it," start="00:15:03.760" video="mainVideo" id=subtitle]] +[[!template text="and then pick things out of it," start="00:15:07.440" video="mainVideo" id=subtitle]] +[[!template text="choose, etc." start="00:15:11.039" video="mainVideo" id=subtitle]] +[[!template text="Let me go through the README." start="00:15:14.639" video="mainVideo" id=subtitle]] +[[!template text="I think that the README" start="00:15:16.800" video="mainVideo" id=subtitle]] +[[!template text="is actually useful." start="00:15:17.920" video="mainVideo" id=subtitle]] +[[!template text="I have a function called actually start." start="00:15:19.600" video="mainVideo" id=subtitle]] +[[!template text="That is the one" start="00:15:21.760" video="mainVideo" id=subtitle]] +[[!template text="that creates indentation" start="00:15:22.480" video="mainVideo" id=subtitle]] +[[!template text="and sets up the mode, etc." start="00:15:24.000" video="mainVideo" id=subtitle]] +[[!template text="Let me talk about GitHub." start="00:15:28.399" video="mainVideo" id=subtitle]] +[[!template text="So GitHub is a great resource. Why?" start="00:15:29.440" video="mainVideo" id=subtitle]] +[[!template text="Well its publishing," start="00:15:31.839" video="mainVideo" id=subtitle]] +[[!template text="as i mentioned before," start="00:15:32.880" video="mainVideo" id=subtitle]] +[[!template text="is very simple." start="00:15:34.240" video="mainVideo" id=subtitle]] +[[!template text="To publish, you basically just" start="00:15:35.519" video="mainVideo" id=subtitle]] +[[!template text="push your changes" start="00:15:37.120" video="mainVideo" id=subtitle]] +[[!template text="and it automatically renders the code." start="00:15:37.920" video="mainVideo" id=subtitle]] +[[!template text="It's something that is quite useful." start="00:15:43.199" video="mainVideo" id=subtitle]] +[[!template text="But it is not perfect," start="00:15:46.800" video="mainVideo" id=subtitle]] +[[!template text="and it's not able to understand" start="00:15:48.720" video="mainVideo" id=subtitle]] +[[!template text="the full Org. But for most of the things" start="00:15:50.399" video="mainVideo" id=subtitle]] +[[!template text="that I use for teaching," start="00:15:52.880" video="mainVideo" id=subtitle]] +[[!template text="it's sufficiently good." start="00:15:53.680" video="mainVideo" id=subtitle]] +[[!template text="It would be better if it was full" start="00:15:55.600" video="mainVideo" id=subtitle]] +[[!template text="at compliance, but it's not bad as it is." start="00:15:57.360" video="mainVideo" id=subtitle]] +[[!template text="Version control. I think" start="00:16:00.720" video="mainVideo" id=subtitle]] +[[!template text="it's extremely valuable" start="00:16:02.463" video="mainVideo" id=subtitle]] +[[!template text="to have version control." start="00:16:03.839" video="mainVideo" id=subtitle]] +[[!template text="It allows to actually use" start="00:16:05.199" video="mainVideo" id=subtitle]] +[[!template text="different computers" start="00:16:08.079" video="mainVideo" id=subtitle]] +[[!template text="or keep track of my changes," start="00:16:08.959" video="mainVideo" id=subtitle]] +[[!template text="collaborate with authors," start="00:16:10.560" video="mainVideo" id=subtitle]] +[[!template text="even have pull requests" start="00:16:11.920" video="mainVideo" id=subtitle]] +[[!template text="from the students." start="00:16:13.040" video="mainVideo" id=subtitle]] +[[!template text="Actually it's very empowering" start="00:16:13.759" video="mainVideo" id=subtitle]] +[[!template text="for the students." start="00:16:16.320" video="mainVideo" id=subtitle]] +[[!template text="Navigation, links, cut and paste" start="00:16:18.800" video="mainVideo" id=subtitle]] +[[!template text="between code blocks," start="00:16:20.480" video="mainVideo" id=subtitle]] +[[!template text="you can even edit in place" start="00:16:21.920" video="mainVideo" id=subtitle]] +[[!template text="if you want to." start="00:16:23.199" video="mainVideo" id=subtitle]] +[[!template text="In a pinch, you can actually use GitHub" start="00:16:26.160" video="mainVideo" id=subtitle]] +[[!template text="to do the editing of your file." start="00:16:27.920" video="mainVideo" id=subtitle]] +[[!template text="Of course, it will not update your buffers." start="00:16:30.000" video="mainVideo" id=subtitle]] +[[!template text=":exports both. This is very important." start="00:16:33.199" video="mainVideo" id=subtitle]] +[[!template text="If we have a block, by default," start="00:16:35.199" video="mainVideo" id=subtitle]] +[[!template text="GitHub will not typeset" start="00:16:40.160" video="mainVideo" id=subtitle]] +[[!template text="the output of that block." start="00:16:43.199" video="mainVideo" id=subtitle]] +[[!template text="It will only put the source code," start="00:16:44.399" video="mainVideo" id=subtitle]] +[[!template text="but not its output." start="00:16:45.839" video="mainVideo" id=subtitle]] +[[!template text="In this case, if I actually showed this" start="00:16:47.199" video="mainVideo" id=subtitle]] +[[!template text="in GitHub, "hello world" will not appear." start="00:16:50.079" video="mainVideo" id=subtitle]] +[[!template text="So what we need to do is for every block," start="00:16:52.720" video="mainVideo" id=subtitle]] +[[!template text="we have to do :exports both." start="00:16:55.120" video="mainVideo" id=subtitle]] +[[!template text="okay that's unfortunate," start="00:16:57.040" video="mainVideo" id=subtitle]] +[[!template text="but we can deal with that." start="00:16:58.720" video="mainVideo" id=subtitle]] +[[!template text="Once it's done, then the output" start="00:17:01.120" video="mainVideo" id=subtitle]] +[[!template text="is actually typeset." start="00:17:03.920" video="mainVideo" id=subtitle]] +[[!template text="I mentioned that header args" start="00:17:06.079" video="mainVideo" id=subtitle]] +[[!template text="are very important," start="00:17:07.520" video="mainVideo" id=subtitle]] +[[!template text="because those are the ones" start="00:17:09.039" video="mainVideo" id=subtitle]] +[[!template text="that set the parameters" start="00:17:10.079" video="mainVideo" id=subtitle]] +[[!template text="for each one of the blocks that you have." start="00:17:12.799" video="mainVideo" id=subtitle]] +[[!template text="You don't want to have to type every" start="00:17:14.640" video="mainVideo" id=subtitle]] +[[!template text="single one of them at once." start="00:17:16.000" video="mainVideo" id=subtitle]] +[[!template text="For example, let me go back to" start="00:17:19.120" video="mainVideo" id=subtitle]] +[[!template text="my presentation." start="00:17:20.880" video="mainVideo" id=subtitle]] +[[!template text="Here's actually the parameters for C." start="00:17:23.839" video="mainVideo" id=subtitle]] +[[!template text="C, I say, I don't want you to" start="00:17:26.160" video="mainVideo" id=subtitle]] +[[!template text="automatically add a main." start="00:17:28.880" video="mainVideo" id=subtitle]] +[[!template text="I want to provide my main," start="00:17:30.000" video="mainVideo" id=subtitle]] +[[!template text="and these are the flags to the compiler." start="00:17:31.120" video="mainVideo" id=subtitle]] +[[!template text="With C++, similar. With SQLite," start="00:17:34.160" video="mainVideo" id=subtitle]] +[[!template text="I said this is my database," start="00:17:37.280" video="mainVideo" id=subtitle]] +[[!template text="this is the data," start="00:17:38.720" video="mainVideo" id=subtitle]] +[[!template text="the file where the database lives," start="00:17:39.600" video="mainVideo" id=subtitle]] +[[!template text="and for the results, I want you to insert" start="00:17:41.360" video="mainVideo" id=subtitle]] +[[!template text="the column names. I want to see" start="00:17:44.559" video="mainVideo" id=subtitle]] +[[!template text="the names of the columns in the result." start="00:17:46.160" video="mainVideo" id=subtitle]] +[[!template text="So those are actually why" start="00:17:48.400" video="mainVideo" id=subtitle]] +[[!template text="the headers are important." start="00:17:50.960" video="mainVideo" id=subtitle]] +[[!template text="There's one in general." start="00:17:53.840" video="mainVideo" id=subtitle]] +[[!template text="That's :results output." start="00:17:55.520" video="mainVideo" id=subtitle]] +[[!template text="If you're interested on showing" start="00:17:56.880" video="mainVideo" id=subtitle]] +[[!template text="the standard output of your snippet," start="00:17:59.039" video="mainVideo" id=subtitle]] +[[!template text="then you have to use :results output." start="00:18:01.760" video="mainVideo" id=subtitle]] +[[!template text="Otherwise, it will insert" start="00:18:03.600" video="mainVideo" id=subtitle]] +[[!template text="the result of the last expression." start="00:18:04.799" video="mainVideo" id=subtitle]] +[[!template text="It just depends on what you want to show," start="00:18:06.720" video="mainVideo" id=subtitle]] +[[!template text="but it's important" start="00:18:08.000" video="mainVideo" id=subtitle]] +[[!template text="that you are aware of that." start="00:18:08.720" video="mainVideo" id=subtitle]] +[[!template text="I'm almost running out of time." start="00:18:11.200" video="mainVideo" id=subtitle]] +[[!template text="There are some things that are C-specific" start="00:18:13.440" video="mainVideo" id=subtitle]] +[[!template text="and that I sort of covered" start="00:18:15.919" video="mainVideo" id=subtitle]] +[[!template text="during the demo." start="00:18:18.400" video="mainVideo" id=subtitle]] +[[!template text="You can use advanced Org features," start="00:18:23.919" video="mainVideo" id=subtitle]] +[[!template text="and you can actually use noweb." start="00:18:26.000" video="mainVideo" id=subtitle]] +[[!template text="Now that's confusing for students," start="00:18:29.039" video="mainVideo" id=subtitle]] +[[!template text="so i will suggest that you actually do it" start="00:18:30.640" video="mainVideo" id=subtitle]] +[[!template text="but then inform the students" start="00:18:33.600" video="mainVideo" id=subtitle]] +[[!template text="very clearly of that." start="00:18:34.880" video="mainVideo" id=subtitle]] +[[!template text="Some potential issues:" start="00:18:37.760" video="mainVideo" id=subtitle]] +[[!template text="_ (underscore). _ is used everywhere." start="00:18:39.280" video="mainVideo" id=subtitle]] +[[!template text="By default, it will try to export it--" start="00:18:42.400" video="mainVideo" id=subtitle]] +[[!template text="Org will try to export it as circumflex," start="00:18:44.640" video="mainVideo" id=subtitle]] +[[!template text="the same as with GitHub." start="00:18:46.960" video="mainVideo" id=subtitle]] +[[!template text="So we want to inform Org and GitHub" start="00:18:48.400" video="mainVideo" id=subtitle]] +[[!template text="not to do anything with them," start="00:18:52.480" video="mainVideo" id=subtitle]] +[[!template text="and this is via the circumflex." start="00:18:53.840" video="mainVideo" id=subtitle]] +[[!template text="So we said in #+OPTIONS: ^:nil ," start="00:18:55.520" video="mainVideo" id=subtitle]] +[[!template text="and that actually takes care" start="00:18:57.440" video="mainVideo" id=subtitle]] +[[!template text="of the circumflex and also the underscore." start="00:18:58.720" video="mainVideo" id=subtitle]] +[[!template text="It's kind of confusing" start="00:19:01.679" video="mainVideo" id=subtitle]] +[[!template text="because it's both," start="00:19:02.720" video="mainVideo" id=subtitle]] +[[!template text="but it's actually named" start="00:19:04.080" video="mainVideo" id=subtitle]] +[[!template text="after the circumflex." start="00:19:05.120" video="mainVideo" id=subtitle]] +[[!template text="The pipe character" start="00:19:06.720" video="mainVideo" id=subtitle]] +[[!template text="is one of those characters" start="00:19:07.840" video="mainVideo" id=subtitle]] +[[!template text="that is actually very, very common" start="00:19:08.880" video="mainVideo" id=subtitle]] +[[!template text="in programming, but if you put in a table," start="00:19:10.640" video="mainVideo" id=subtitle]] +[[!template text="there's no way to do it. Like, okay," start="00:19:12.799" video="mainVideo" id=subtitle]] +[[!template text="I wish I had this table nicely" start="00:19:14.480" video="mainVideo" id=subtitle]] +[[!template text="where I can say || here," start="00:19:16.559" video="mainVideo" id=subtitle]] +[[!template text="but if I put this ||," start="00:19:19.520" video="mainVideo" id=subtitle]] +[[!template text="it will actually interpret it" start="00:19:21.280" video="mainVideo" id=subtitle]] +[[!template text="as the separator." start="00:19:22.799" video="mainVideo" id=subtitle]] +[[!template text="So that's one of the few things" start="00:19:23.919" video="mainVideo" id=subtitle]] +[[!template text="that's kind of annoying." start="00:19:25.760" video="mainVideo" id=subtitle]] +[[!template text="Final words. See my configuration file," start="00:19:27.679" video="mainVideo" id=subtitle]] +[[!template text="and try to typeset the code," start="00:19:31.679" video="mainVideo" id=subtitle]] +[[!template text="the buffer as close as possible" start="00:19:35.520" video="mainVideo" id=subtitle]] +[[!template text="to what you want to present." start="00:19:37.520" video="mainVideo" id=subtitle]] +[[!template text="As you can see here," start="00:19:38.720" video="mainVideo" id=subtitle]] +[[!template text="I'm actually using colors to highlight" start="00:19:40.000" video="mainVideo" id=subtitle]] +[[!template text="by using the current line." start="00:19:42.240" video="mainVideo" id=subtitle]] +[[!template text="Use yasnippets." start="00:19:44.320" video="mainVideo" id=subtitle]] +[[!template text="They're amazing, and they will actually" start="00:19:46.960" video="mainVideo" id=subtitle]] +[[!template text="make your life much more useful." start="00:19:48.480" video="mainVideo" id=subtitle]] +[[!template text="Experiment." start="00:19:51.440" video="mainVideo" id=subtitle]] +[[!template text="Just a conclusion." start="00:19:53.280" video="mainVideo" id=subtitle]] +[[!template text="Org mode and Emacs really make" start="00:19:56.720" video="mainVideo" id=subtitle]] +[[!template text="a wonderful, amazing environment" start="00:19:58.400" video="mainVideo" id=subtitle]] +[[!template text="for teaching programming." start="00:20:01.039" video="mainVideo" id=subtitle]] +[[!template text="I just want to end by saying that" start="00:20:03.360" video="mainVideo" id=subtitle]] +[[!template text="I'm very grateful to all the Emacs community" start="00:20:06.640" video="mainVideo" id=subtitle]] +[[!template text="because I have benefited tremendously" start="00:20:10.320" video="mainVideo" id=subtitle]] +[[!template text="over the years. I have been using Emacs" start="00:20:14.159" video="mainVideo" id=subtitle]] +[[!template text="since 1991, so this is essentially" start="00:20:16.080" video="mainVideo" id=subtitle]] +[[!template text="my 30th year that have been using Emacs." start="00:20:18.960" video="mainVideo" id=subtitle]] +[[!template text="I think that is the most important," start="00:20:22.240" video="mainVideo" id=subtitle]] +[[!template text="most fundamental tool that I use" start="00:20:24.640" video="mainVideo" id=subtitle]] +[[!template text="day-to-day, from reading email," start="00:20:26.980" video="mainVideo" id=subtitle]] +[[!template text="to doing my teaching, doing my papers," start="00:20:29.760" video="mainVideo" id=subtitle]] +[[!template text="my research... it's everything." start="00:20:32.480" video="mainVideo" id=subtitle]] +[[!template text="So thank you all" start="00:20:34.960" video="mainVideo" id=subtitle]] +[[!template text="and I hope that you find this useful." start="00:20:37.039" video="mainVideo" id=subtitle]] +[[!template text="Bye." start="00:20:40.799" video="mainVideo" id=subtitle]] +[[!template text="captions by sachac" start="00:20:42.799" video="mainVideo" id=subtitle]] |