aboutsummaryrefslogtreecommitdiff
path: root/v2/po/euandre.org.pot
diff options
context:
space:
mode:
Diffstat (limited to 'v2/po/euandre.org.pot')
-rw-r--r--v2/po/euandre.org.pot267
1 files changed, 213 insertions, 54 deletions
diff --git a/v2/po/euandre.org.pot b/v2/po/euandre.org.pot
index 90c1acb..c90685c 100644
--- a/v2/po/euandre.org.pot
+++ b/v2/po/euandre.org.pot
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2023-04-08 12:41-0300\n"
+"POT-Creation-Date: 2023-04-08 15:21-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -65,72 +65,112 @@ msgstr ""
#. type: Plain text
#: src/lib/base.en.conf:8
-msgid "export index_pastebins_title='Pastebins'"
+msgid "export about='About'"
msgstr ""
#. type: Plain text
#: src/lib/base.en.conf:10
-msgid "export index_recent_pastebins_title='Pastebins listing'"
+msgid "export about_url_name='about.html'"
msgstr ""
#. type: Plain text
#: src/lib/base.en.conf:12
-msgid "export index_category_pastebins_title='Pastebins by category'"
+msgid "export by_category_url_name='by-category.html'"
msgstr ""
#. type: Plain text
#: src/lib/base.en.conf:14
-msgid "export index by_category_url_part='by-category.html'"
+msgid "export homepage_url=\"$(url-for \"$lang/\")\""
msgstr ""
#. type: Plain text
#: src/lib/base.en.conf:16
-msgid "export feed_pastebins_title=\"EuAndreh's pastebins\""
+msgid "export homepage_url_absolute=\"$(absolute \"$homepage_url\")\""
msgstr ""
#. type: Plain text
#: src/lib/base.en.conf:18
-msgid "export index_tils_title='TIL'"
+msgid "export about_url=\"$(url-for \"$lang/$about_url_name\")\""
msgstr ""
#. type: Plain text
-#: src/lib/base.en.conf:20
-msgid "export index_recent_tils_title='TIL listing'"
+#: src/lib/base.en.conf:21
+msgid "export index__title='Blog'"
msgstr ""
#. type: Plain text
-#: src/lib/base.en.conf:22
-msgid "export index_category_tils_title='TIL by category'"
+#: src/lib/base.en.conf:23
+msgid "export index_recent__title='Recent articles'"
msgstr ""
#. type: Plain text
-#: src/lib/base.en.conf:24
-msgid "export feed_tils_title=\"EuAndreh's TIL\""
+#: src/lib/base.en.conf:25
+msgid "export index_category__title='Articles by category'"
msgstr ""
#. type: Plain text
-#: src/lib/base.en.conf:26
-msgid "export about='About'"
+#: src/lib/base.en.conf:27
+msgid "export feed__title=\"EuAndreh's articles\""
msgstr ""
#. type: Plain text
-#: src/lib/base.en.conf:28
-msgid "export about_url_name='about.html'"
+#: src/lib/base.en.conf:30
+msgid "export index_pastebin_title='Pastebins'"
msgstr ""
#. type: Plain text
-#: src/lib/base.en.conf:30
-msgid "export homepage_url=\"$(url-for \"$lang/\")\""
+#: src/lib/base.en.conf:32
+msgid "export index_recent_pastebin_title='Pastebins listing'"
msgstr ""
#. type: Plain text
-#: src/lib/base.en.conf:32
-msgid "export homepage_url_absolute=\"$(absolute \"$homepage_url\")\""
+#: src/lib/base.en.conf:34
+msgid "export index_category_pastebin_title='Pastebins by category'"
msgstr ""
#. type: Plain text
-#: src/lib/base.en.conf:33
-msgid "export about_url=\"$(url-for \"$lang/$about_url_name\")\""
+#: src/lib/base.en.conf:36
+msgid "export feed_pastebin_title=\"EuAndreh's pastebins\""
+msgstr ""
+
+#. type: Plain text
+#: src/lib/base.en.conf:39
+msgid "export index_til_title='TIL'"
+msgstr ""
+
+#. type: Plain text
+#: src/lib/base.en.conf:41
+msgid "export index_recent_til_title='TIL listing'"
+msgstr ""
+
+#. type: Plain text
+#: src/lib/base.en.conf:43
+msgid "export index_category_til_title='TIL by category'"
+msgstr ""
+
+#. type: Plain text
+#: src/lib/base.en.conf:44
+msgid "export feed_til_title=\"EuAndreh's TIL\""
+msgstr ""
+
+#. type: Plain text
+#: src/lib/commencement.en.conf:2
+msgid "#!/bin/sh"
+msgstr ""
+
+#. type: Plain text
+#: src/lib/commencement.en.conf:4
+msgid "export article_collection_name=''"
+msgstr ""
+
+#. type: Plain text
+#: src/lib/commencement.en.conf:6
+msgid "export pastebin_collection_name='pastebin'"
+msgstr ""
+
+#. type: Plain text
+#: src/lib/commencement.en.conf:7
+msgid "export til_collection_name='til'"
msgstr ""
#. type: Content of: <p>
@@ -163,8 +203,10 @@ msgstr ""
#. type: Plain text
#: src/content/en/about.md:1 src/content/en/about.md:5
-#: src/content/en/pastebins/sicp-exercise-3-19.md:1
-#: src/content/en/pastebins/sicp-exercise-3-19.md:9
+#: src/content/en/pastebin/sicp-exercise-3-19.md:1
+#: src/content/en/pastebin/sicp-exercise-3-19.md:9
+#: src/content/en/til/lisp-three-way-conditional.md:1
+#: src/content/en/til/lisp-three-way-conditional.md:11
#, no-wrap
msgid "---\n"
msgstr ""
@@ -180,27 +222,27 @@ msgid "It's all about me, baby!"
msgstr ""
#. type: Plain text
-#: src/content/en/pastebins/sicp-exercise-3-19.md:4
+#: src/content/en/pastebin/sicp-exercise-3-19.md:4
msgid "title: SICP exercise 3.19"
msgstr ""
#. type: Plain text
-#: src/content/en/pastebins/sicp-exercise-3-19.md:6
+#: src/content/en/pastebin/sicp-exercise-3-19.md:6
msgid "date: 2021-09-02"
msgstr ""
#. type: Plain text
-#: src/content/en/pastebins/sicp-exercise-3-19.md:8
+#: src/content/en/pastebin/sicp-exercise-3-19.md:8
msgid "categories: lisp programming-languages"
msgstr ""
#. type: Plain text
-#: src/content/en/pastebins/sicp-exercise-3-19.md:12
+#: src/content/en/pastebin/sicp-exercise-3-19.md:12
msgid "Some content here, before:"
msgstr ""
#. type: Plain text
-#: src/content/en/pastebins/sicp-exercise-3-19.md:22
+#: src/content/en/pastebin/sicp-exercise-3-19.md:22
#, no-wrap
msgid ""
"```scheme\n"
@@ -215,12 +257,12 @@ msgid ""
msgstr ""
#. type: Plain text
-#: src/content/en/pastebins/sicp-exercise-3-19.md:24
+#: src/content/en/pastebin/sicp-exercise-3-19.md:24
msgid "Sample interactive session:"
msgstr ""
#. type: Plain text
-#: src/content/en/pastebins/sicp-exercise-3-19.md:41
+#: src/content/en/pastebin/sicp-exercise-3-19.md:41
#, no-wrap
msgid ""
"```scheme\n"
@@ -242,93 +284,93 @@ msgid ""
msgstr ""
#. type: Plain text
-#: src/content/en/pastebins/sicp-exercise-3-19.md:43
+#: src/content/en/pastebin/sicp-exercise-3-19.md:43
msgid "# An h1"
msgstr ""
#. type: Plain text
-#: src/content/en/pastebins/sicp-exercise-3-19.md:45
+#: src/content/en/pastebin/sicp-exercise-3-19.md:45
msgid "a list:"
msgstr ""
#. type: Bullet: '1. '
-#: src/content/en/pastebins/sicp-exercise-3-19.md:49
+#: src/content/en/pastebin/sicp-exercise-3-19.md:49
#, markdown-text
msgid "one"
msgstr ""
#. type: Bullet: '2. '
-#: src/content/en/pastebins/sicp-exercise-3-19.md:49
+#: src/content/en/pastebin/sicp-exercise-3-19.md:49
#, markdown-text
msgid "two"
msgstr ""
#. type: Bullet: '3. '
-#: src/content/en/pastebins/sicp-exercise-3-19.md:49
+#: src/content/en/pastebin/sicp-exercise-3-19.md:49
#, markdown-text
msgid "three"
msgstr ""
#. type: Plain text
-#: src/content/en/pastebins/sicp-exercise-3-19.md:51
+#: src/content/en/pastebin/sicp-exercise-3-19.md:51
msgid "some content."
msgstr ""
#. type: Bullet: '- '
-#: src/content/en/pastebins/sicp-exercise-3-19.md:55
+#: src/content/en/pastebin/sicp-exercise-3-19.md:55
#, markdown-text
msgid "item"
msgstr ""
#. type: Bullet: '- '
-#: src/content/en/pastebins/sicp-exercise-3-19.md:55
+#: src/content/en/pastebin/sicp-exercise-3-19.md:55
#, markdown-text
msgid "another"
msgstr ""
#. type: Bullet: '- '
-#: src/content/en/pastebins/sicp-exercise-3-19.md:55
+#: src/content/en/pastebin/sicp-exercise-3-19.md:55
#, markdown-text
msgid "yet another"
msgstr ""
#. type: Plain text
-#: src/content/en/pastebins/sicp-exercise-3-19.md:57
+#: src/content/en/pastebin/sicp-exercise-3-19.md:57
msgid "## An h2"
msgstr ""
#. type: Plain text
-#: src/content/en/pastebins/sicp-exercise-3-19.md:59
+#: src/content/en/pastebin/sicp-exercise-3-19.md:59
msgid "Xablau:"
msgstr ""
#. type: Plain text
-#: src/content/en/pastebins/sicp-exercise-3-19.md:62
+#: src/content/en/pastebin/sicp-exercise-3-19.md:62
msgid "``` xupliu 1"
msgstr ""
#. type: Plain text
-#: src/content/en/pastebins/sicp-exercise-3-19.md:65
+#: src/content/en/pastebin/sicp-exercise-3-19.md:65
msgid "3 4"
msgstr ""
#. type: Plain text
-#: src/content/en/pastebins/sicp-exercise-3-19.md:72
+#: src/content/en/pastebin/sicp-exercise-3-19.md:72
msgid "dez ```"
msgstr ""
#. type: Plain text
-#: src/content/en/pastebins/sicp-exercise-3-19.md:74
+#: src/content/en/pastebin/sicp-exercise-3-19.md:74
msgid "Foi `wikiwiu`."
msgstr ""
#. type: Plain text
-#: src/content/en/pastebins/sicp-exercise-3-19.md:76
+#: src/content/en/pastebin/sicp-exercise-3-19.md:76
msgid "a very long code block:"
msgstr ""
#. type: Plain text
-#: src/content/en/pastebins/sicp-exercise-3-19.md:82
+#: src/content/en/pastebin/sicp-exercise-3-19.md:82
#, no-wrap
msgid ""
"```\n"
@@ -340,27 +382,144 @@ msgid ""
msgstr ""
#. type: Plain text
-#: src/content/en/pastebins/sicp-exercise-3-19.md:84
+#: src/content/en/pastebin/sicp-exercise-3-19.md:84
msgid "Someone said:"
msgstr ""
#. type: Plain text
-#: src/content/en/pastebins/sicp-exercise-3-19.md:86
+#: src/content/en/pastebin/sicp-exercise-3-19.md:86
msgid "> Xablau, xupliu."
msgstr ""
#. type: Plain text
-#: src/content/en/pastebins/sicp-exercise-3-19.md:89
+#: src/content/en/pastebin/sicp-exercise-3-19.md:89
msgid "### A repeated header ### A repeated header"
msgstr ""
#. type: Plain text
-#: src/content/en/pastebins/sicp-exercise-3-19.md:91
+#: src/content/en/pastebin/sicp-exercise-3-19.md:91
msgid "a big list:"
msgstr ""
#. type: Bullet: '1. '
-#: src/content/en/pastebins/sicp-exercise-3-19.md:109
+#: src/content/en/pastebin/sicp-exercise-3-19.md:109
#, markdown-text
msgid "a"
msgstr ""
+
+#. type: Plain text
+#: src/content/en/til/lisp-three-way-conditional.md:4
+msgid "title: Three-way conditional for number signs on Lisp"
+msgstr ""
+
+#. type: Plain text
+#: src/content/en/til/lisp-three-way-conditional.md:6
+msgid "date: 2021-04-24 3"
+msgstr ""
+
+#. type: Plain text
+#: src/content/en/til/lisp-three-way-conditional.md:8
+msgid "update: 2021-08-14"
+msgstr ""
+
+#. type: Plain text
+#: src/content/en/til/lisp-three-way-conditional.md:10
+#, no-wrap
+msgid "categories: lisp scheme common-lisp\n"
+msgstr ""
+
+#. type: Plain text
+#: src/content/en/til/lisp-three-way-conditional.md:14
+msgid "A useful macro from Paul Graham's [On Lisp][on-lisp] book:"
+msgstr ""
+
+#. type: Plain text
+#: src/content/en/til/lisp-three-way-conditional.md:23
+#, no-wrap
+msgid ""
+"```lisp\n"
+"(defmacro nif (expr pos zero neg)\n"
+" (let ((g (gensym)))\n"
+" `(let ((,g ,expr))\n"
+" (cond ((plusp ,g) ,pos)\n"
+" ((zerop ,g) ,zero)\n"
+" (t ,neg)))))\n"
+"```\n"
+msgstr ""
+
+#. type: Plain text
+#: src/content/en/til/lisp-three-way-conditional.md:25
+msgid ""
+"After I looked at this macro, I started seeing opportunities to using it in "
+"many places, and yet I didn't see anyone else using it."
+msgstr ""
+
+#. type: Plain text
+#: src/content/en/til/lisp-three-way-conditional.md:27
+msgid ""
+"The latest example I can think of is section 1.3.3 of [Structure and "
+"Interpretation of Computer Programs][sicp], which I was reading recently:"
+msgstr ""
+
+#. type: Plain text
+#: src/content/en/til/lisp-three-way-conditional.md:40
+#, no-wrap
+msgid ""
+"```scheme\n"
+"(define (search f neg-point pos-point)\n"
+" (let ((midpoint (average neg-point pos-point)))\n"
+" (if (close-enough? neg-point post-point)\n"
+" midpoint\n"
+" (let ((test-value (f midpoint)))\n"
+" (cond ((positive? test-value)\n"
+" (search f neg-point midpoint))\n"
+" ((negative? test-value)\n"
+" (search f midpoint pos-point))\n"
+" (else midpoint))))))\n"
+"```\n"
+msgstr ""
+
+#. type: Plain text
+#: src/content/en/til/lisp-three-way-conditional.md:42
+msgid ""
+"Not that the book should introduce such macro this early, but I couldn't "
+"avoid feeling bothered by not using the `nif` macro, which could even remove "
+"the need for the intermediate `test-value` variable:"
+msgstr ""
+
+#. type: Plain text
+#: src/content/en/til/lisp-three-way-conditional.md:53
+#, no-wrap
+msgid ""
+"```scheme\n"
+"(define (search f neg-point pos-point)\n"
+" (let ((midpoint (average neg-point pos-point)))\n"
+" (if (close-enough? neg-point post-point)\n"
+" midpoint\n"
+" (nif (f midpoint)\n"
+" (search f neg-point midpoint)\n"
+" (midpoint)\n"
+" (search f midpoint pos-point)))))\n"
+"```\n"
+msgstr ""
+
+#. type: Plain text
+#: src/content/en/til/lisp-three-way-conditional.md:55
+msgid ""
+"It also avoids `cond`'s extra clunky parentheses for grouping, which is "
+"unnecessary but built-in."
+msgstr ""
+
+#. type: Plain text
+#: src/content/en/til/lisp-three-way-conditional.md:57
+msgid ""
+"As a macro, I personally feel it tilts the balance towards expressivenes "
+"despite its extra cognitive load toll."
+msgstr ""
+
+#. type: Plain text
+#: src/content/en/til/lisp-three-way-conditional.md:59
+msgid ""
+"[on-lisp]: http://www.paulgraham.com/onlisptext.html [sicp]: "
+"https://mitpress.mit.edu/sites/default/files/sicp/index.html"
+msgstr ""