diff options
| author | Xe Iaso <me@christine.website> | 2023-10-22 12:07:10 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-22 12:07:10 -0400 |
| commit | 3cff11317d33da8b649c64aec3cb04df30616a26 (patch) | |
| tree | 60124b9cb3b4c63009a96e27e4f2bd49b184e707 /lume/src/talks | |
| parent | b888fd5986ab1867515b54d769b705642d2f9e44 (diff) | |
| download | xesite-3cff11317d33da8b649c64aec3cb04df30616a26.tar.xz xesite-3cff11317d33da8b649c64aec3cb04df30616a26.zip | |
Move serving logic to a .zip file, move static assets to S3 (#734)
* lume/src/static: remove these files because we don't need them
Also rename manifest.json to site.webmanifest because apparently that's
the best practice.
Signed-off-by: Xe Iaso <me@xeiaso.net>
* lume: fix deno lock
Signed-off-by: Xe Iaso <me@xeiaso.net>
* lume/src/_components: small fixes
Signed-off-by: Xe Iaso <me@xeiaso.net>
* lume: move this big file to S3
Signed-off-by: Xe Iaso <me@xeiaso.net>
* lume: move these static files to XeDN
Signed-off-by: Xe Iaso <me@xeiaso.net>
* internal/lume: store and serve the website from a .zip file
This will let the website continue to serve data while a rebuild is
happening. This also lets me download the website corpus for local
debugging should the worst happen.
Signed-off-by: Xe Iaso <me@xeiaso.net>
---------
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'lume/src/talks')
6 files changed, 73 insertions, 73 deletions
diff --git a/lume/src/talks/irc-why-it-failed-2018-05-17.md b/lume/src/talks/irc-why-it-failed-2018-05-17.md index f8f5dcd..e409ebe 100644 --- a/lume/src/talks/irc-why-it-failed-2018-05-17.md +++ b/lume/src/talks/irc-why-it-failed-2018-05-17.md @@ -1,7 +1,7 @@ --- title: "IRC: Why it Failed" date: 2018-05-17 -slides_link: /static/talks/irc-why-it-failed.pdf +slides_link: https://cdn.xeiaso.net/file/christine-static/static/talks/irc-why-it-failed.pdf --- A brief discussion of the IRC protocol and why it has failed in today's internet. diff --git a/lume/src/talks/nixos-pain-2021-11-10.md b/lume/src/talks/nixos-pain-2021-11-10.md index d2029c6..d40329a 100644 --- a/lume/src/talks/nixos-pain-2021-11-10.md +++ b/lume/src/talks/nixos-pain-2021-11-10.md @@ -1,7 +1,7 @@ --- title: How Nix and NixOS Get So Close to Perfect date: 2021-11-10 -slides_link: /static/talks/nixos-pain.pdf +slides_link: https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain.pdf tags: - nix - nixos @@ -37,9 +37,9 @@ YouTube link: [https://youtu.be/qjq2wVEpSsA](https://youtu.be/qjq2wVEpSsA) <center> <picture> - <source srcset="/static/talks/nixos-pain/001.d.avif" type="image/avif"> - <source srcset="/static/talks/nixos-pain/001.d.webp" type="image/webp"> - <img src="/static/talks/nixos-pain/001.d.png" alt="" /> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/001.d.avif" type="image/avif"> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/001.d.webp" type="image/webp"> + <img src="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/001.d.png" alt="" /> </picture> </center> @@ -51,9 +51,9 @@ lot of what makes it great and what I'd love to see make it even better. <center> <picture> - <source srcset="/static/talks/nixos-pain/002.d.avif" type="image/avif"> - <source srcset="/static/talks/nixos-pain/002.d.webp" type="image/webp"> - <img src="/static/talks/nixos-pain/002.d.png" alt="" /> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/002.d.avif" type="image/avif"> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/002.d.webp" type="image/webp"> + <img src="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/002.d.png" alt="" /> </picture> </center> @@ -72,9 +72,9 @@ now. <center> <picture> - <source srcset="/static/talks/nixos-pain/003.d.avif" type="image/avif"> - <source srcset="/static/talks/nixos-pain/003.d.webp" type="image/webp"> - <img src="/static/talks/nixos-pain/003.d.png" alt="" /> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/003.d.avif" type="image/avif"> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/003.d.webp" type="image/webp"> + <img src="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/003.d.png" alt="" /> </picture> </center> @@ -86,9 +86,9 @@ nginx and postgres on a server. <center> <picture> - <source srcset="/static/talks/nixos-pain/004.d.avif" type="image/avif"> - <source srcset="/static/talks/nixos-pain/004.d.webp" type="image/webp"> - <img src="/static/talks/nixos-pain/004.d.png" alt="" /> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/004.d.avif" type="image/avif"> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/004.d.webp" type="image/webp"> + <img src="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/004.d.png" alt="" /> </picture> </center> @@ -105,9 +105,9 @@ how it's supposed to run on a computer. <center> <picture> - <source srcset="/static/talks/nixos-pain/006.d.avif" type="image/avif"> - <source srcset="/static/talks/nixos-pain/006.d.webp" type="image/webp"> - <img src="/static/talks/nixos-pain/006.d.png" alt="" /> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/006.d.avif" type="image/avif"> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/006.d.webp" type="image/webp"> + <img src="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/006.d.png" alt="" /> </picture> </center> @@ -118,9 +118,9 @@ lifesaver, especially when you mess up network configuration. <center> <picture> - <source srcset="/static/talks/nixos-pain/007.d.avif" type="image/avif"> - <source srcset="/static/talks/nixos-pain/007.d.webp" type="image/webp"> - <img src="/static/talks/nixos-pain/007.d.png" alt="" /> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/007.d.avif" type="image/avif"> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/007.d.webp" type="image/webp"> + <img src="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/007.d.png" alt="" /> </picture> </center> @@ -131,9 +131,9 @@ you're learning it. <center> <picture> - <source srcset="/static/talks/nixos-pain/008.d.avif" type="image/avif" /> - <source srcset="/static/talks/nixos-pain/008.d.webp" type="image/webp" /> - <img src="/static/talks/nixos-pain/008.d.png" alt="" /> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/008.d.avif" type="image/avif" /> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/008.d.webp" type="image/webp" /> + <img src="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/008.d.png" alt="" /> </picture> </center> @@ -159,9 +159,9 @@ this from), it's going to be difficult to understand what's going on. <center> <picture> - <source srcset="/static/talks/nixos-pain/010.d.avif" type="image/avif" /> - <source srcset="/static/talks/nixos-pain/010.d.webp" type="image/webp" /> - <img src="/static/talks/nixos-pain/010.d.png" alt="" /> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/010.d.avif" type="image/avif" /> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/010.d.webp" type="image/webp" /> + <img src="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/010.d.png" alt="" /> </picture> </center> @@ -172,9 +172,9 @@ them and here it is: <center> <picture> - <source srcset="/static/talks/nixos-pain/012.d.avif" type="image/avif"> - <source srcset="/static/talks/nixos-pain/012.d.webp" type="image/webp"> - <img src="/static/talks/nixos-pain/012.d.png" alt=""> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/012.d.avif" type="image/avif"> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/012.d.webp" type="image/webp"> + <img src="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/012.d.png" alt=""> </picture> </center> @@ -214,9 +214,9 @@ use) and NixOS has the ability to manage WeeChat for you. <center> <picture> - <source srcset="/static/talks/nixos-pain/016.d.avif" type="image/avif"> - <source srcset="/static/talks/nixos-pain/016.d.webp" type="image/webp"> - <img src="/static/talks/nixos-pain/016.d.png" alt=""> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/016.d.avif" type="image/avif"> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/016.d.webp" type="image/webp"> + <img src="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/016.d.png" alt=""> </picture> </center> @@ -250,9 +250,9 @@ about it. <center> <picture> - <source srcset="/static/talks/nixos-pain/022.d.avif" type="image/avif"> - <source srcset="/static/talks/nixos-pain/022.d.webp" type="image/webp"> - <img src="/static/talks/nixos-pain/022.d.png" alt=""> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/022.d.avif" type="image/avif"> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/022.d.webp" type="image/webp"> + <img src="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/022.d.png" alt=""> </picture> </center> @@ -278,9 +278,9 @@ figure it all out). <center> <picture> - <source srcset="/static/talks/nixos-pain/024.d.avif" type="image/avif"> - <source srcset="/static/talks/nixos-pain/024.d.webp" type="image/webp"> - <img src="/static/talks/nixos-pain/024.d.png" alt=""> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/024.d.avif" type="image/avif"> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/024.d.webp" type="image/webp"> + <img src="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/024.d.png" alt=""> </picture> </center> @@ -323,9 +323,9 @@ use it and an example or two of where you'd use some of the weirder options. <center> <picture> - <source srcset="/static/talks/nixos-pain/028.d.avif" type="image/avif"> - <source srcset="/static/talks/nixos-pain/028.d.webp" type="image/webp"> - <img src="/static/talks/nixos-pain/028.d.png" alt=""> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/028.d.avif" type="image/avif"> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/028.d.webp" type="image/webp"> + <img src="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/028.d.png" alt=""> </picture> </center> @@ -339,9 +339,9 @@ on. <center> <picture> - <source srcset="/static/talks/nixos-pain/029.d.avif" type="image/avif"> - <source srcset="/static/talks/nixos-pain/029.d.webp" type="image/webp"> - <img src="/static/talks/nixos-pain/029.d.png" alt=""> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/029.d.avif" type="image/avif"> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/029.d.webp" type="image/webp"> + <img src="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/029.d.png" alt=""> </picture> </center> @@ -357,9 +357,9 @@ learn how to not do it in the future. <center> <picture> - <source srcset="/static/talks/nixos-pain/030.d.avif" type="image/avif"> - <source srcset="/static/talks/nixos-pain/030.d.webp" type="image/webp"> - <img src="/static/talks/nixos-pain/030.d.png" alt=""> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/030.d.avif" type="image/avif"> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/030.d.webp" type="image/webp"> + <img src="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/030.d.png" alt=""> </picture> </center> @@ -386,9 +386,9 @@ mentioned) but it would be better if this was a native solution. <center> <picture> - <source srcset="/static/talks/nixos-pain/033.d.avif" type="image/avif"> - <source srcset="/static/talks/nixos-pain/033.d.webp" type="image/webp"> - <img src="/static/talks/nixos-pain/033.d.png" alt=""> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/033.d.avif" type="image/avif"> + <source srcset="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/033.d.webp" type="image/webp"> + <img src="https://cdn.xeiaso.net/file/christine-static/static/talks/nixos-pain/033.d.png" alt=""> </picture> </center> diff --git a/lume/src/talks/progressive-webapp-conversion-in-5-minutes-2019-01-28.md b/lume/src/talks/progressive-webapp-conversion-in-5-minutes-2019-01-28.md index c630a20..c2276a2 100644 --- a/lume/src/talks/progressive-webapp-conversion-in-5-minutes-2019-01-28.md +++ b/lume/src/talks/progressive-webapp-conversion-in-5-minutes-2019-01-28.md @@ -1,7 +1,7 @@ --- title: "Progressive Web App Conversion in 5 Minutes" date: 2019-01-28 -slides_link: /static/talks/pwa-conversion.pdf +slides_link: https://cdn.xeiaso.net/file/christine-static/static/talks/pwa-conversion.pdf --- A brief overview of how [Progressive Web Apps](https://developers.google.com/web/progressive-web-apps/) work and how to make one out of an existing index.html app. diff --git a/lume/src/talks/surreal-horror-pam-2021-11-09.md b/lume/src/talks/surreal-horror-pam-2021-11-09.md index ad8114b..3fbacd6 100644 --- a/lume/src/talks/surreal-horror-pam-2021-11-09.md +++ b/lume/src/talks/surreal-horror-pam-2021-11-09.md @@ -1,7 +1,7 @@ --- title: The Surreal Horror of PAM date: 2021-11-09 -slides_link: /static/talks/surreal-horror-pam.pdf +slides_link: https://cdn.xeiaso.net/file/christine-static/static/talks/surreal-horror-pam.pdf tags: - alpinelinux - pam @@ -14,7 +14,7 @@ tags: --- - + Hi, I’m Xe. You know this because that is what your computer tells you. But how does it know that? @@ -29,7 +29,7 @@ you laugh and I’ll get speech jammed if I hear it. I’m also planning on publishing this publicly, so please avoid mentioning privileged information in the Q&A section at the end. - + So before we talk about complicated things, let’s start with the basics. This is how UNIX systems authenticate. They have some files in /etc/ that are @@ -53,7 +53,7 @@ reason that I can’t find on Google), but it’s basically that. There’s a fe steps I’m leaving out for brevity, but they are boring things that only nerds care about. - + This UNIX authentication model is really that simple. You can explain the high level details on a single slide that was hastily written at 8 am in about 5 @@ -72,7 +72,7 @@ fledged UNIX kernel), we can’t really rely on a model created for 1970’s mainframe technology to get the job done in this day and age of hyperconverged cloud federated femtoservices. - + The last sentence probably set off the beard twitching alarms, so yes there are some workarounds here. @@ -87,11 +87,11 @@ people about how to send plain-text email and the like. You could also put those files on a CD, set the immutable flag or something, but all that will do is making changing passwords more expensive, annoying and filled with anger. - + What’s that? I think I hear something coming. - + It’s sshd! Turns out that we do in fact need something more complicated because we have networks and the cloud and complicated mutifactor auth requirements for @@ -101,13 +101,13 @@ professionals. Surely there has to be a better option out there _somewhere_. - + Et voila! C’est le PAM! Turns out someone else a long time ago had the same problems and somehow got legal to sign off on making it open source! PAM is a modular system for making authentication and authorization work. - + For reference, authentication and authorization are being split up into two concepts here (like they are in a lot of the industry). We’re gonna take a page @@ -116,7 +116,7 @@ authentication (who you are and how we know who you are) and authorization (can you _really_ take all the money out of the bank account?). It is a solid 90’s solution to a 70’s problem and good god it shows. - + PAM was made in the 90’s by this little startup nobody here has heard of called Sun Microsystems. They had a problem where they had a bunch of machines to apply @@ -124,12 +124,12 @@ complicated authentication rules to (all thanks to those pesky enterprise contracts) and no way to really do it. Money won this valiant fight between engineering and sales, so we ended up with PAM. - + So you’re probably wondering something along the lines of “how does this thing work?”. Carefully, that's how. - + This is a screenshot of a text file (a common thing to do these days) of the main PAM configuration file in a distribution called Alpine Linux. I’m using @@ -165,7 +165,7 @@ but typoing the PAM file will cause glibc to hold your wife and children hostage until you forcibly reboot the system and hack back into it so you can regain control. - + How is this relevant to us? Well, I have a bit of a side project going on. I’ve been trying to write a PAM module that would use Tailscale as its authentication @@ -177,7 +177,7 @@ server by its ACLs, why should we subject you to the surreal horror of local authentication logic in order to let you SSH into the server? We know who you are. You’re allowed to connect to it, so why stop you? - + The heart of the PAM module I’ve been writing looks like this right now. It sets up syslog for its log sink (this is really your only good option in PAM land) @@ -210,14 +210,14 @@ editor macros for other people). If you want to peek around the C module part of the PAM project, the QR code will take you there. - + I’m fairly sure that I can get away with this (I made my appropriate sacrifices to the demo gods this morning), so let’s try SSHing into a VM on my laptop. If you are watching the recording of this talk or you are not in the corp tailnet, that command will not work. However you should see something like this: - + It would be really cool to flesh this out as a full product. I feel this could really make people’s lives a lot easier. The hard part is going to be making @@ -228,12 +228,12 @@ system. I would love to have this send a TSMP message to have a GUI prompt validate that you want to do this as a kind of second factor for authentication, but even in this limited state I feel it has a lot of value as is. - + Something you may wonder (and something I had to wonder too) is how do you debug PAM? - + It ain’t easy. I’m currently trying to get this thing to work on Ubuntu and all of the paths I have taken are fraught with despair. I have luckily not managed @@ -244,13 +244,13 @@ I’ve had to use a combination of a debugger and a system call tracing tool to get anywhere with it. PAM is a surreal horror because the most terrifying part is that it works and that there’s not really any good other options. - + This is not OpenBSD or Plan 9. This is Linux and macOS. Those exist but we can’t use them because we are cursed into using PAM. Especially so if we want to do this on arbitrary customer machines. - + That’s the end of the talk! I want to give special thanks to the council of elders that I summoned the help of in order to get this far. Without their help diff --git a/lume/src/talks/thinking-different-2018-11-03.md b/lume/src/talks/thinking-different-2018-11-03.md index 20a2cd1..05581d8 100644 --- a/lume/src/talks/thinking-different-2018-11-03.md +++ b/lume/src/talks/thinking-different-2018-11-03.md @@ -1,7 +1,7 @@ --- title: "Thinking Different" date: 2018-11-03 -slides_link: /static/talks/thinking-different.pdf +slides_link: https://cdn.xeiaso.net/file/christine-static/static/talks/thinking-different.pdf --- A look over [ilo Kesi](https://github.com/Xe/x/tree/master/discord/ilo-kesi), a chatbot of mine that parses commands from the grammar of [Toki Pona](https://tokipona.org). diff --git a/lume/src/talks/webassembly-on-the-server-system-calls-2019-05-31.md b/lume/src/talks/webassembly-on-the-server-system-calls-2019-05-31.md index 29060af..bbc5940 100644 --- a/lume/src/talks/webassembly-on-the-server-system-calls-2019-05-31.md +++ b/lume/src/talks/webassembly-on-the-server-system-calls-2019-05-31.md @@ -1,7 +1,7 @@ --- title: "WebAssembly on the Server: How System Calls Work" date: 2019-05-31 -slides_link: /static/talks/wasm-on-the-server-system-calls.pdf +slides_link: https://cdn.xeiaso.net/file/christine-static/static/talks/wasm-on-the-server-system-calls.pdf --- [Video](https://www.youtube.com/watch?v=G4l8RX0tA3E) |
