From eda67bfdbe42b0d3d714ac290dabe0dfbfeaa917 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 2 Sep 2023 17:22:17 +0300 Subject: feat(tazjin/tvix-eval-2023): add link collection blog post & QR code Makes it possible for people in the audience to get to the link collection reasonably quickly. Later on that post can also have the talk itself added. For now it is unlisted. Change-Id: If9ae1d88d3c6f22bbd70b2b3cbea0b0d42895a93 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9208 Autosubmit: tazjin Reviewed-by: Mark Shevchenko Tested-by: BuildkiteCI --- users/tazjin/blog/posts.nix | 7 +++++++ users/tazjin/blog/posts/tvix-eval-talk-2023.md | 13 +++++++++++++ users/tazjin/presentations/tvix-eval-2023/default.nix | 12 +++++++++++- users/tazjin/presentations/tvix-eval-2023/presentation.tex | 13 +++---------- 4 files changed, 34 insertions(+), 11 deletions(-) create mode 100644 users/tazjin/blog/posts/tvix-eval-talk-2023.md (limited to 'users/tazjin') diff --git a/users/tazjin/blog/posts.nix b/users/tazjin/blog/posts.nix index 60ce82f6204f..9f5ea67a4321 100644 --- a/users/tazjin/blog/posts.nix +++ b/users/tazjin/blog/posts.nix @@ -1,5 +1,12 @@ # This file defines all the blog posts. [ + { + key = "tvix-eval-talk-2023"; + title = "[доклад] tvix-eval, имплементация языка Nix на Rust"; + date = 1694102400; + content = ./posts/tvix-eval-talk-2023.md; + listed = false; # publish after the talk recording is available + } { key = "emacs-is-underrated"; title = "Emacs is the most underrated tool"; diff --git a/users/tazjin/blog/posts/tvix-eval-talk-2023.md b/users/tazjin/blog/posts/tvix-eval-talk-2023.md new file mode 100644 index 000000000000..ca09a8f7a869 --- /dev/null +++ b/users/tazjin/blog/posts/tvix-eval-talk-2023.md @@ -0,0 +1,13 @@ +7 сентября я выступил с докладом про реализацию языка Nix на Rust, на +[Московском Rust-митапе][rustmsk] / [Московском клубе +программистов][progmsk]. + +Вот все связанные с ним ссылки, которые могут быть интересны: + +* [Tvix](https://tvix.dev), главный сайт проекта +* [TVL](https://tvl.fyi), наше онлайн-сообщество +* [Tvixbolt](https://tvixbolt.tvl.su/), наш "godbolt" для tvix +* [MMTk](https://www.mmtk.io/), Rust-библиотека с компонентами для garbage-collection + +[rustmsk]: https://t.me/ruRust_msk +[progmsk]: https://prog.msk.ru/ diff --git a/users/tazjin/presentations/tvix-eval-2023/default.nix b/users/tazjin/presentations/tvix-eval-2023/default.nix index 6b3076895097..ce831556de89 100644 --- a/users/tazjin/presentations/tvix-eval-2023/default.nix +++ b/users/tazjin/presentations/tvix-eval-2023/default.nix @@ -1,7 +1,7 @@ { depot, pkgs, ... }: let - inherit (pkgs) fontconfig texlive stdenv imagemagick; + inherit (pkgs) fontconfig texlive stdenv imagemagick runCommand qrencode; tex = texlive.combine { inherit (texlive) @@ -22,6 +22,15 @@ let translator; }; + linksQrCode = runCommand "qrcode.png" { } '' + ${qrencode}/bin/qrencode -o code.png -s 8 \ + --background=fafafa \ + --foreground=000000 \ + 'https://tazj.in/blog/tvix-eval-talk-2023' + + # latex has trouble with the PDF produced by qrencode + ${imagemagick}/bin/convert code.png $out + ''; in stdenv.mkDerivation { name = "progmsk-tvix-eval"; @@ -40,6 +49,7 @@ stdenv.mkDerivation { # webp images can't be included directly, need to convert to PNG convert ${depot.tvix.website}/tvix-logo.webp tvix-logo.png + cp ${linksQrCode} qrcode.png # As usual, TeX needs to be run twice ... ${tex}/bin/xelatex presentation.tex diff --git a/users/tazjin/presentations/tvix-eval-2023/presentation.tex b/users/tazjin/presentations/tvix-eval-2023/presentation.tex index 3eb1658036df..5cb8cd506500 100644 --- a/users/tazjin/presentations/tvix-eval-2023/presentation.tex +++ b/users/tazjin/presentations/tvix-eval-2023/presentation.tex @@ -138,17 +138,10 @@ \end{frame} \begin{frame}{Спасибо!} - Ссылки: - \begin{itemize} - \item tvix.dev - \item tvl.fyi - \item tvixbolt.tvl.su - \end{itemize} - - % TODO: QR code or something for these links - - \vspace{3cm} \begin{center} + \includegraphics[width=6cm,keepaspectratio=true]{qrcode.png} + + https://tazj.in/blog/tvix-eval-talk-2023 \\ t.me/tazjin | tazjin@tvl.su \end{center} \end{frame} -- cgit 1.4.1