diff options
author | Sacha Chua <sacha@sachachua.com> | 2024-12-10 08:59:19 -0500 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2024-12-10 08:59:19 -0500 |
commit | 9a89e57177f32e9fca6aca30d211c1572ecae4d2 (patch) | |
tree | d990c55768cfe012496f5ac372cf22dc1aa3f05c /2024/captions | |
parent | 3c1f2ebb41a0affcb532c388899475a2a9641346 (diff) | |
download | emacsconf-wiki-9a89e57177f32e9fca6aca30d211c1572ecae4d2.tar.xz emacsconf-wiki-9a89e57177f32e9fca6aca30d211c1572ecae4d2.zip |
update hyperdrive captions
Diffstat (limited to '2024/captions')
-rw-r--r-- | 2024/captions/emacsconf-2024-hyperdrive--new-in-hyperdriveel-quick-install-peer-graph-transclusion--joseph-turner--main.vtt | 178 |
1 files changed, 89 insertions, 89 deletions
diff --git a/2024/captions/emacsconf-2024-hyperdrive--new-in-hyperdriveel-quick-install-peer-graph-transclusion--joseph-turner--main.vtt b/2024/captions/emacsconf-2024-hyperdrive--new-in-hyperdriveel-quick-install-peer-graph-transclusion--joseph-turner--main.vtt index 4f12bbed..9a180103 100644 --- a/2024/captions/emacsconf-2024-hyperdrive--new-in-hyperdriveel-quick-install-peer-graph-transclusion--joseph-turner--main.vtt +++ b/2024/captions/emacsconf-2024-hyperdrive--new-in-hyperdriveel-quick-install-peer-graph-transclusion--joseph-turner--main.vtt @@ -4,19 +4,19 @@ WEBVTT captioned by sachac Hello, welcome to this talk on hyperdrive.el. I'm Joseph 00:00:03.920 --> 00:00:07.439 -Turner presenting on behalf of Ushin, a tiny independent +Turner presenting on behalf of ushin, a tiny independent 00:00:07.440 --> 00:00:12.039 -information freedom nonprofit. Hyperdrive.el is an Emacs +information freedom nonprofit. hyperdrive.el is an Emacs 00:00:12.040 --> 00:00:14.959 -interface to the Hyperdrive peer-to-peer file sharing +interface to the hyperdrive peer-to-peer file sharing 00:00:14.960 --> 00:00:18.399 -system built by HolePunch. Like other peer-to-peer file +system built by Holepunch. Like other peer-to-peer file 00:00:18.400 --> 00:00:22.119 -sharing tools, such as BitTorrent, Hyperdrive lets you +sharing tools, such as BitTorrent, hyperdrive lets you 00:00:22.120 --> 00:00:25.959 share unlimited files directly with other users without @@ -25,10 +25,10 @@ share unlimited files directly with other users without having to go through a central hub. One thing that sets 00:00:29.520 --> 00:00:32.519 -HyperDrive apart is that the files you share can be +Hyperdrive apart is that the files you share can be 00:00:32.520 --> 00:00:35.759 -modified. Since Hyperdrive has built-in versioning, +modified. Since hyperdrive has built-in versioning, 00:00:35.760 --> 00:00:38.519 you can explore the history of changes that you make to your @@ -52,7 +52,7 @@ information necessary to participate in the development process, or even fork the project 00:00:58.338 --> 00:01:00.799 -and go somewhere on[??]. Since +and go cimarron. Since 00:01:00.800 --> 00:01:04.919 last year's talk, we've added a few new features. It's now @@ -61,7 +61,7 @@ last year's talk, we've added a few new features. It's now much easier to get started using hyperdrive.el, since we 00:01:08.560 --> 00:01:12.399 -added the hyperdrive install command, which downloads the +added the hyperdrive-install command, which downloads the 00:01:12.400 --> 00:01:16.399 gateway program and installs it on your machine. We added a @@ -76,7 +76,7 @@ of sources of information. We also published a new package, hyperdrive-org-transclusion, which lets you display live 00:01:29.080 --> 00:01:34.599 -updating snippets of Hyperdrive files in Org documents. +updating snippets of hyperdrive files in Org documents. 00:01:34.600 --> 00:01:37.319 Let's get started. Let's say you get an email from your @@ -115,7 +115,7 @@ Run M-x package-refresh-contents. Then, M-x package-install, type in hyperdrive, 00:02:20.920 --> 00:02:26.079 -and hit return. Next, we'll install hypergateway ushin. +and hit return. Next, we'll install hyper-gateway-ushin. 00:02:26.080 --> 00:02:32.999 Let's run M-x hyperdrive-install. It's prompting me to @@ -136,16 +136,16 @@ wrapping up. Now, it's prompting me to start the gateway. I can either run 00:02:53.400 --> 00:02:59.279 -M-x hyperdrive start, or I can press this button. And +M-x hyperdrive-start, or I can press this button. And 00:02:59.280 --> 00:03:03.479 after a few moments, we'll see that the gateway will start. 00:03:03.480 --> 00:03:07.279 -It's ready. You can also click this button, View Hyperdrive +It's ready. You can also click this button, "View hyperdrive 00:03:07.280 --> 00:03:10.239 -User Info Manual, to view the same manual that we were +User Info Manual", to view the same manual that we were 00:03:10.240 --> 00:03:13.479 viewing in the browser. The info manual comes with @@ -172,7 +172,7 @@ I'm being prompted to mark Alice's hyperdrive. Currently, it's unknown. I'll press ? to see more details. 00:03:41.880 --> 00:03:48.279 -Safe, unsafe, unknown. I'll press e for explain. In the info +"safe", "unsafe", "unknown". I'll press e for "explain". In the info 00:03:48.280 --> 00:03:54.139 manual, it says that if a hyperdrive is marked as safe, that @@ -187,7 +187,7 @@ their major mode enabled based on their file extension. In this case, if I mark Alice's hyperdrive as safe and I click on 00:04:06.720 --> 00:04:10.519 -this hello.org file, Emacs will automatically enable org +this hello.org file, Emacs will automatically enable Org 00:04:10.520 --> 00:04:14.919 mode in that file. Since I know Alice directly, I'll mark her @@ -199,7 +199,7 @@ hyperdrive as safe. I'll click on the file hello.org again, and now I'll press Shift-s for safe. 00:04:25.680 --> 00:04:30.639 -Now I'm going to set Alice's pet name. Hyperdrive.el has +Now I'm going to set Alice's petname. hyperdrive.el has 00:04:30.640 --> 00:04:34.679 different ways to name a hyperdrive. The public key is the @@ -214,19 +214,19 @@ public nickname, which you announce to the world. Then users on their own machines can assign each hyperdrive that 00:04:45.960 --> 00:04:50.439 -they are aware of a private pet name. I'll assign Alice a +they are aware of a private petname. I'll assign Alice a 00:04:50.440 --> 00:04:54.079 -pet name, which is the way that I will identify Alice just on +petname, which is the way that I will identify Alice just on 00:04:54.080 --> 00:05:01.906 -my own machine. I'll type in my friend Alice. +my own machine. I'll type in "My Friend Alice". 00:05:01.907 --> 00:05:03.707 Then when I refresh her drive, 00:05:03.708 --> 00:05:07.359 -we see that it says pet name in the top left. +we see that it says petname in the top left. 00:05:07.360 --> 00:05:09.392 Now I'll do what she asks, @@ -238,13 +238,13 @@ which is to right click on her name and open her peer graph. In the context menu, I see a few 00:05:15.260 --> 00:05:19.159 -different actions I can take, but I'll click on peer graph. +different actions I can take, but I'll click on "Peer Graph". 00:05:19.160 --> 00:05:22.959 -It's prompting me to pick the max hops for sources. Default +It's prompting me to pick the max hops for sources. Default 3. 00:05:22.960 --> 00:05:26.799 -3. I'll choose the default. Same for blockers. I'll explain +I'll choose the default. Same for blockers. I'll explain 00:05:26.800 --> 00:05:27.599 what that means later. @@ -262,7 +262,7 @@ themselves nicknames, and so we see Bob and Eve here. Eve has assigned this other hyperdrive to be a source. But this 00:05:50.480 --> 00:05:55.959 -other hyperdrive, whose public key is KB3ZR6MQ +other hyperdrive, whose public key is "kb3zr6mq" 00:05:55.960 --> 00:05:59.519 and so on--if we hover over the hyperdrive, we'll see the full @@ -274,10 +274,10 @@ public key--has not assigned itself a nickname. So we just see the truncated short public key. Because we've 00:06:08.000 --> 00:06:10.917 -assigned a pet name for Alice, +assigned a petname for Alice, 00:06:10.918 --> 00:06:14.558 -we see Alice's pet name show up here. +we see Alice's petname show up here. 00:06:14.559 --> 00:06:17.839 Now I'll open the peer list view to show the same @@ -289,13 +289,13 @@ information in a different way. Since I'm using a large font, I'll widen this window so we can see everything going 00:06:25.200 --> 00:06:29.319 -on in the peer list. We see that the root hyperdrive is pet +on in the peer list. We see that the root hyperdrive is 00:06:29.320 --> 00:06:33.639 -name, my friend Alice, nickname Alice, public key, DM1, and +petname "My Friend Alice", nickname "alice", public key "dm1", 00:06:33.640 --> 00:06:38.359 -so on. We've set the sources max hops to three, which means +and so on. We've set the sources max hops to three, which means 00:06:38.360 --> 00:06:42.359 that we will go out at most three hops from Alice in order to @@ -304,13 +304,13 @@ that we will go out at most three hops from Alice in order to find sources. One hop from Alice are Bob and Eve. One hop 00:06:49.840 --> 00:06:55.839 -from Eve is KB3, which is two hops from Alice. Now we've set +from Eve is "kb3", which is two hops from Alice. Now we've set 00:06:55.840 --> 00:06:59.159 the max hops for sources to three, but in this case, the 00:06:59.160 --> 00:07:04.279 -network is small, and KB3 has no sources. So we can only go +network is small, and "kb3" has no sources. So we can only go 00:07:04.280 --> 00:07:07.959 out two hops from Alice until we run out of sources. In the @@ -322,7 +322,7 @@ future, we plan to add a search feature based on this list of sources. You type in a query, and you get back a list of 00:07:14.480 --> 00:07:19.879 -results published by Eve, Bob, or KB3. It's also possible to +results published by Eve, Bob, or "kb3". It's also possible to 00:07:19.880 --> 00:07:23.239 block peers. I'll open the transient menu by pressing @@ -331,7 +331,7 @@ block peers. I'll open the transient menu by pressing question mark. For now, let's turn on showing blocked 00:07:28.760 --> 00:07:35.439 -peers. I'll press s x, and now it says blocked sources. +peers. I'll press "s x", and now it says blocked sources. 00:07:35.440 --> 00:07:38.839 Now we can see Mallory also shows up. Mallory has been @@ -349,7 +349,7 @@ she shows up as a blocked source. But how is it that Mallory ended up being blocked? Let's open up the transient menu 00:07:55.040 --> 00:08:02.759 -once more and click S, B to show blockers. Now we can see that +once more and click "s b" to show blockers. Now we can see that 00:08:02.760 --> 00:08:07.079 Bob has blocked Mallory. This means that Bob is not @@ -373,25 +373,25 @@ peergraph as a source. Well, now I'm curious to see what it is Mallory published that drove Bob to block her. I'll 00:08:35.920 --> 00:08:39.439 -right-click on Mallory, and in the context menu, open +right-click on Mallory, and in the context menu, "Open Hyperdrive" 00:08:39.440 --> 00:08:44.319 -Hyperdrive, and... Wingsuit Flying Grand Canyon Point of +and... Wingsuit Flying Grand Canyon Point of View Not Clickbait? 00:08:44.320 --> 00:08:49.879 -View Not Clickbait? I gotta check this out. +I gotta check this out! [playing: Rick Astley's "Never Gonna Give You Up"] 00:08:49.880 --> 00:08:56.159 No! Disgusting! No wonder Bob blocked Mallory. Let's go 00:08:56.160 --> 00:09:01.839 -back to Alice's paragraph. Mallory is a blocked source. +back to Alice's peer graph. Mallory is a blocked source. 00:09:01.840 --> 00:09:05.599 Are there any peers who are blocked but who aren't sources? 00:09:05.600 --> 00:09:11.739 -I'll open the transient menu and I'll press s x. Now we're +I'll open the transient menu and I'll press "s x". Now we're 00:09:11.740 --> 00:09:16.839 looking at blocked non-sources. Darth, who's been blocked @@ -403,7 +403,7 @@ by Bob, has not been added by any of Alice's sources as a source. So Darth is a blocked non-source. I'll open the 00:09:25.560 --> 00:09:29.699 -transient menu again and I'll press s x. Now we're +transient menu again and I'll press "s x". Now we're 00:09:29.700 --> 00:09:34.639 looking at all blocked peers. Both Mallory and Darth show @@ -415,10 +415,10 @@ up. If I scroll down in the peer list, we'll see that Mallory is listed under blocked sources, and Darth is listed under 00:09:42.520 --> 00:09:45.559 -blocked non-sources. This view has gotten a little bit +blocked non-sources. This view has gotten a little bit busy. 00:09:45.560 --> 00:09:49.319 -busy. Let's say that we're only interested in how Alice +Let's say that we're only interested in how Alice 00:09:49.320 --> 00:09:54.519 relates to Mallory. I'll open the transient menu, and I @@ -427,10 +427,10 @@ relates to Mallory. I'll open the transient menu, and I will filter the graph to show paths only to Mallory. I'll 00:09:58.520 --> 00:10:05.519 -press o a, type in Mallory, and hit enter. Now we see that +press "o a", type in Mallory, and hit enter. Now we see that 00:10:05.520 --> 00:10:11.479 -Mallory has a bold border and KB3 and Darth are missing from +Mallory has a bold border and "kb3" and Darth are missing from 00:10:11.480 --> 00:10:16.679 the graph. Eve shows up because there's a path from Alice to @@ -439,19 +439,19 @@ the graph. Eve shows up because there's a path from Alice to Mallory that goes through Eve. Same for Bob. We can also add 00:10:22.480 --> 00:10:28.599 -more than one peer in this view. I'll press OA again, and +more than one peer in this view. I'll press "o a" again, and 00:10:28.600 --> 00:10:34.719 this time I'll choose Darth. Now Darth and Mallory have bold 00:10:34.720 --> 00:10:38.839 -borders, and KB3 is still missing. We can remove Mallory and +borders, and "kb3" is still missing. We can remove Mallory and 00:10:38.840 --> 00:10:42.799 -Darth one at a time with o r, or we can press C-u, the +Darth one at a time with "o r", or we can press C-u, the 00:10:42.800 --> 00:10:47.679 -universal prefix argument, and then o r to remove both +universal prefix argument, and then "o r" to remove both 00:10:47.680 --> 00:10:51.239 Mallory and Darth from the list. Now we're back to seeing @@ -481,10 +481,10 @@ Eve as a source. Let's go back to showing only the shortest paths. Currently, the max hops for sources and for blockers 00:11:27.720 --> 00:11:31.679 -is set to 3. Let's see what happens if we set the blockers max +is set to 3. Let's see what happens if we set the 00:11:31.680 --> 00:11:33.519 -hops to 0. +blockers max hops to 0. 00:11:35.800 --> 00:11:39.479 After the graph reloads, we now see that Mallory @@ -514,10 +514,10 @@ decide who her direct sources, blockers, and blocked peers are, anyone can view Alice's peer graph, tinker with the 00:12:10.240 --> 00:12:14.439 -sources or blockers' max hops, and use her list of sources to +sources or blockers max hops, and use her list of sources to 00:12:14.440 --> 00:12:19.239 -do a search. Let's see what happens if we set sources' max +do a search. Let's see what happens if we set sources max 00:12:19.240 --> 00:12:24.719 hops to 2. Well, the graph doesn't change, because we only @@ -526,7 +526,7 @@ hops to 2. Well, the graph doesn't change, because we only ever went out 2 hops anyway. Let's set source's max hops to 1. 00:12:30.140 --> 00:12:35.159 -Now we only see Bob and Eve, since KB3 and Mallory are +Now we only see Bob and Eve, since "kb3" and Mallory are 00:12:35.160 --> 00:12:43.079 2 hops out. Source hops 0. Now we're left with just Alice. @@ -535,13 +535,13 @@ Now we only see Bob and Eve, since KB3 and Mallory are Now I'd like to create a new hyperdrive and add Alice as a 00:12:48.000 --> 00:12:52.731 -source. I'll run M-x hyperdrive new. +source. I'll run M-x hyperdrive-new. 00:12:52.732 --> 00:12:53.812 Now it's prompting me 00:12:53.813 --> 00:12:57.479 -for a new hyperdrive seed. Seed is a string of characters +for a new hyperdrive seed. A seed is a string of characters 00:12:57.480 --> 00:13:01.359 that's combined with your secret key, which is generated @@ -550,22 +550,22 @@ that's combined with your secret key, which is generated for you by the gateway program, in order to create a new 00:13:04.720 --> 00:13:10.679 -public key for this new hyperdrive. I'll type in Joseph, a +public key for each new hyperdrive. I'll type in "Joseph". 00:13:10.680 --> 00:13:15.319 -new drive. Now, I'll right-click on my own name, and in the +A new drive. Now, I'll right-click on my own name, and in the 00:13:15.320 --> 00:13:21.599 -context menu, I'll choose Set Relation From. From Joseph +context menu, I'll choose "Set Relation From". From Joseph... 00:13:21.600 --> 00:13:32.279 -to Alice, as a source. Now, I'll right-click on my name again, +to Alice...as a source. Now, I'll right-click on my name again, 00:13:32.280 --> 00:13:40.919 -and click on Peer Graph. Max hops, let's say three, and for +and click on "Peer Graph". Sources max hops, let's say three 00:13:40.920 --> 00:13:41.879 -blockers as well, +and [three] for blockers as well, 00:13:45.440 --> 00:13:49.399 Here's the peer graph from my newly created @@ -580,7 +580,7 @@ source, three hops from the root. Let's open the list view. If we were to mark Alice as a blocker by clicking on this 00:14:06.440 --> 00:14:10.319 -button in the blocker column next to the pet name for Alice, +button in the blocker column next to the petname for Alice, 00:14:12.120 --> 00:14:16.959 Then we see that Mallory shows up as a blocked source. Only @@ -604,16 +604,16 @@ perspective. This peer graph view has a history. If I open the transient menu, you'll see here there's a back and a 00:14:42.360 --> 00:14:47.359 -forward button. Back is bound to l for left. If I press l, +forward button. Back is bound to "l" for "left". If I press "l", 00:14:48.440 --> 00:14:51.839 we're looking at the graph from Joseph's perspective. If I 00:14:51.840 --> 00:14:56.279 -press l again, now we're looking at Alice, as at the +press "l" again, now we're looking at Alice, as at the 00:14:56.280 --> 00:15:01.439 -beginning. I'll press r to go forward, and r again, and now +beginning. I'll press "r" to go forward, and "r" again, and now 00:15:01.440 --> 00:15:04.734 we're back at Eve. Now, I'd like to show you @@ -622,25 +622,25 @@ we're back at Eve. Now, I'd like to show you the hyperdrive-org-transclusion package we published. 00:15:08.338 --> 00:15:10.358 -I'll open up the HyperDrive manual +I'll open up the hyperdrive manual 00:15:10.359 --> 00:15:14.399 to see how to install it. 00:15:15.680 --> 00:15:20.999 -Now, from here, I'll press m and type in transclusion to jump +Now, from here, I'll press "m" and type in transclusion to jump 00:15:21.000 --> 00:15:23.599 -straight to the org-transclusion integration section of +straight to the "Org-transclusion integration" section of 00:15:23.600 --> 00:15:27.079 -the manual. To summarize, we can install HyperDrive +the manual. To summarize, we can install 00:15:27.080 --> 00:15:30.879 -org-transclusion with M-x package-install +hyperdrive-org-transclusion with 00:15:32.220 --> 00:15:33.919 -hyperdrive-org-transclusion. +M-x package-install RET hyperdrive-org-transclusion. 00:15:37.000 --> 00:15:42.159 Then, once this is done, we will copy the following snippet @@ -649,7 +649,7 @@ Then, once this is done, we will copy the following snippet and add it either to our init.el file or, in this case, I'll 00:15:47.560 --> 00:15:52.439 -just evaluate it. Now, hyperdrive-org-transclusion mode is +just evaluate it. Now, hyperdrive-org-transclusion-mode is 00:15:52.440 --> 00:15:52.879 enabled. @@ -658,16 +658,16 @@ enabled. Let's go back to the hello.org file in Alice's hyperdrive. 00:16:01.480 --> 00:16:07.239 -I'll right-click on Alice, then click Open Hyperdrive, and +I'll right-click on Alice, then click "Open Hyperdrive", and 00:16:07.240 --> 00:16:11.359 -hit Enter on hello.org. This time, I'm not prompted to mark +hit RET on hello.org. This time, I'm not prompted to mark 00:16:11.360 --> 00:16:16.199 Alice's hyperdrive as safe, since we did it already. I'll 00:16:16.200 --> 00:16:20.719 -navigate to the Check Out My Peers heading. Then I'll run +navigate to the "Check out my peers" heading. Then I'll run 00:16:20.720 --> 00:16:28.359 M-x org-store-link. Now, I'll create a new file in my @@ -694,10 +694,10 @@ and I'll insert the link that I stored earlier. As a link 00:17:02.800 --> 00:17:07.759 -description, I'll change it to snippet from Alice's +description, I'll change it to 00:17:08.880 --> 00:17:09.879 -hyperdrive file. +"Snippet from Alice's hyperdrive file". 00:17:12.700 --> 00:17:18.399 I'll save my hyperdrive file. @@ -709,13 +709,13 @@ Now, to show that the link works, I'll just kill this buffer showing the hello.org file, and I'll click on the link. 00:17:27.100 --> 00:17:29.487 -Now in addition to linking from my file +Now, in addition to linking from my file 00:17:29.488 --> 00:17:31.488 to the heading in Alice's file, 00:17:31.489 --> 00:17:35.699 -I'd like to transclude this headings content in my file. +I'd like to transclude this heading's content in my file. 00:17:35.700 --> 00:17:38.634 So I'll go to the link in my file and run @@ -727,7 +727,7 @@ M-x org-transclusion-make-from-link and I'll save my file again. 00:17:47.880 --> 00:17:50.504 -All that's been added is another link +All that's been added is another link, 00:17:50.505 --> 00:17:54.433 prefixed with this transclude keyword. @@ -754,7 +754,7 @@ just the transclude keyword and the link. Now some time has passed and Alice has updated her 00:18:24.320 --> 00:18:29.879 -hyperdrive file. She wrote, please add me as a source. Since +hyperdrive file. She wrote, "Please add me as a source." Since 00:18:29.880 --> 00:18:33.559 the transclude link that I added in my file does not specify a @@ -793,25 +793,25 @@ that this is version 57. For an explanation of what the version numbers mean, check out the last video or the info 00:19:21.600 --> 00:19:25.759 -manual. For now, I'll go down to her check out my peers +manual. For now, I'll go down to her "Check out my peers" 00:19:25.760 --> 00:19:32.999 heading and run M-x org-store-link. Now, in my response to 00:19:33.000 --> 00:19:39.159 -Alice, I'll insert the link. I'll run org transclusion make +Alice, I'll insert the link. I'll run org-transclusion-make-from-link. 00:19:39.160 --> 00:19:44.759 -from link. Now there are two transclusions. The first +Now there are two transclusions. The first 00:19:44.760 --> 00:19:47.719 transclusion will update whenever Alice updates her file, 00:19:47.720 --> 00:19:52.919 -and the second transclusion is pinned to version 57. That +and the second transclusion is pinned to version 57. 00:19:52.920 --> 00:19:53.356 -covers Hyperdrive install, the peer graph, and +That covers hyperdrive-install, the peer graph, and 00:19:53.357 --> 00:19:58.298 hyperdrive-org-transclusion. @@ -820,7 +820,7 @@ hyperdrive-org-transclusion. Feel free to check out the hyperdrive.el 00:20:00.520 --> 00:20:04.119 -info manual in the Ushin hyperdrive here, or on the +info manual in the ushin hyperdrive here, or on the 00:20:04.120 --> 00:20:08.439 ushin.org website. Thanks to the folks at Sopranica, we @@ -835,7 +835,7 @@ XMPP client or anonymously from your browser. If you use Matrix, there's also a bridge. Thank you for watching, and 00:20:19.800 --> 00:20:22.519 -thank you to the EmacsConf organizers and all the +Thank you to the EmacsConf organizers and all the 00:20:22.520 --> 00:20:25.160 presenters who made this wonderful event possible. |