From 0fd1625d5cc9dab03ccd4df50d525ee8c0231f53 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 14 Nov 2020 12:04:56 -0300 Subject: building a database article: Use :db/root over null value --- ...s-and-parser-combinators-building-a-database.md | 12 ++++++---- ...s-and-parser-combinators-building-a-database.po | 27 +++++++++++++++------- ...s-and-parser-combinators-building-a-database.po | 27 +++++++++++++++------- ...s-and-parser-combinators-building-a-database.po | 27 +++++++++++++++------- 4 files changed, 64 insertions(+), 29 deletions(-) diff --git a/_articles/2020-11-12-durable-persistent-trees-and-parser-combinators-building-a-database.md b/_articles/2020-11-12-durable-persistent-trees-and-parser-combinators-building-a-database.md index 6e51575..8825c7f 100644 --- a/_articles/2020-11-12-durable-persistent-trees-and-parser-combinators-building-a-database.md +++ b/_articles/2020-11-12-durable-persistent-trees-and-parser-combinators-building-a-database.md @@ -4,6 +4,8 @@ title: Durable persistent trees and parser combinators - building a database date: 2020-11-12 +updated_at: 2020-11-14 + layout: post lang: en @@ -48,11 +50,11 @@ writers, and I chose to do it by making the log not a list, but a directed acyclic graph (DAG): ```clojure -[[person :likes "pizza" 0 true] - [0 :parent null 0 true] - [person :likes "bread" 1 true] - [person :likes "pizza" 1 false] - [1 :parent 0 1 true]] +[[person :likes "pizza" 0 true] + [0 :parent :db/root 0 true] + [person :likes "bread" 1 true] + [person :likes "pizza" 1 false] + [1 :parent 0 1 true]] ``` The extra datoms above add more information to build the directionality to the diff --git a/locale/eo/LC_MESSAGES/_articles/2020-11-12-durable-persistent-trees-and-parser-combinators-building-a-database.po b/locale/eo/LC_MESSAGES/_articles/2020-11-12-durable-persistent-trees-and-parser-combinators-building-a-database.po index 19bc893..546041b 100644 --- a/locale/eo/LC_MESSAGES/_articles/2020-11-12-durable-persistent-trees-and-parser-combinators-building-a-database.po +++ b/locale/eo/LC_MESSAGES/_articles/2020-11-12-durable-persistent-trees-and-parser-combinators-building-a-database.po @@ -71,14 +71,6 @@ msgid "" "acyclic graph (DAG):" msgstr "" -msgid "" -"[[person :likes \"pizza\" 0 true]\n" -" [0 :parent null 0 true]\n" -" [person :likes \"bread\" 1 true]\n" -" [person :likes \"pizza\" 1 false]\n" -" [1 :parent 0 1 true]]\n" -msgstr "" - msgid "" "The extra datoms above add more information to build the directionality to " "the log, and instead of a single consistent log, the DAG could have multiple" @@ -341,5 +333,24 @@ msgstr "" msgid "eu_categories: mediator" msgstr "" +msgid "updated_at: 2020-11-14" +msgstr "" + +msgid "" +"[[person :likes \"pizza\" 0 true]\n" +" [0 :parent :db/root 0 true]\n" +" [person :likes \"bread\" 1 true]\n" +" [person :likes \"pizza\" 1 false]\n" +" [1 :parent 0 1 true]]\n" +msgstr "" + +#~ msgid "" +#~ "[[person :likes \"pizza\" 0 true]\n" +#~ " [0 :parent null 0 true]\n" +#~ " [person :likes \"bread\" 1 true]\n" +#~ " [person :likes \"pizza\" 1 false]\n" +#~ " [1 :parent 0 1 true]]\n" +#~ msgstr "" + #~ msgid "category: mediator" #~ msgstr "" diff --git a/locale/fr/LC_MESSAGES/_articles/2020-11-12-durable-persistent-trees-and-parser-combinators-building-a-database.po b/locale/fr/LC_MESSAGES/_articles/2020-11-12-durable-persistent-trees-and-parser-combinators-building-a-database.po index 19bc893..546041b 100644 --- a/locale/fr/LC_MESSAGES/_articles/2020-11-12-durable-persistent-trees-and-parser-combinators-building-a-database.po +++ b/locale/fr/LC_MESSAGES/_articles/2020-11-12-durable-persistent-trees-and-parser-combinators-building-a-database.po @@ -71,14 +71,6 @@ msgid "" "acyclic graph (DAG):" msgstr "" -msgid "" -"[[person :likes \"pizza\" 0 true]\n" -" [0 :parent null 0 true]\n" -" [person :likes \"bread\" 1 true]\n" -" [person :likes \"pizza\" 1 false]\n" -" [1 :parent 0 1 true]]\n" -msgstr "" - msgid "" "The extra datoms above add more information to build the directionality to " "the log, and instead of a single consistent log, the DAG could have multiple" @@ -341,5 +333,24 @@ msgstr "" msgid "eu_categories: mediator" msgstr "" +msgid "updated_at: 2020-11-14" +msgstr "" + +msgid "" +"[[person :likes \"pizza\" 0 true]\n" +" [0 :parent :db/root 0 true]\n" +" [person :likes \"bread\" 1 true]\n" +" [person :likes \"pizza\" 1 false]\n" +" [1 :parent 0 1 true]]\n" +msgstr "" + +#~ msgid "" +#~ "[[person :likes \"pizza\" 0 true]\n" +#~ " [0 :parent null 0 true]\n" +#~ " [person :likes \"bread\" 1 true]\n" +#~ " [person :likes \"pizza\" 1 false]\n" +#~ " [1 :parent 0 1 true]]\n" +#~ msgstr "" + #~ msgid "category: mediator" #~ msgstr "" diff --git a/locale/pt/LC_MESSAGES/_articles/2020-11-12-durable-persistent-trees-and-parser-combinators-building-a-database.po b/locale/pt/LC_MESSAGES/_articles/2020-11-12-durable-persistent-trees-and-parser-combinators-building-a-database.po index 19bc893..546041b 100644 --- a/locale/pt/LC_MESSAGES/_articles/2020-11-12-durable-persistent-trees-and-parser-combinators-building-a-database.po +++ b/locale/pt/LC_MESSAGES/_articles/2020-11-12-durable-persistent-trees-and-parser-combinators-building-a-database.po @@ -71,14 +71,6 @@ msgid "" "acyclic graph (DAG):" msgstr "" -msgid "" -"[[person :likes \"pizza\" 0 true]\n" -" [0 :parent null 0 true]\n" -" [person :likes \"bread\" 1 true]\n" -" [person :likes \"pizza\" 1 false]\n" -" [1 :parent 0 1 true]]\n" -msgstr "" - msgid "" "The extra datoms above add more information to build the directionality to " "the log, and instead of a single consistent log, the DAG could have multiple" @@ -341,5 +333,24 @@ msgstr "" msgid "eu_categories: mediator" msgstr "" +msgid "updated_at: 2020-11-14" +msgstr "" + +msgid "" +"[[person :likes \"pizza\" 0 true]\n" +" [0 :parent :db/root 0 true]\n" +" [person :likes \"bread\" 1 true]\n" +" [person :likes \"pizza\" 1 false]\n" +" [1 :parent 0 1 true]]\n" +msgstr "" + +#~ msgid "" +#~ "[[person :likes \"pizza\" 0 true]\n" +#~ " [0 :parent null 0 true]\n" +#~ " [person :likes \"bread\" 1 true]\n" +#~ " [person :likes \"pizza\" 1 false]\n" +#~ " [1 :parent 0 1 true]]\n" +#~ msgstr "" + #~ msgid "category: mediator" #~ msgstr "" -- cgit v1.2.3