Skip to content

Commit 032f1ce

Browse files
Merge pull request #112 from teodorlu/growing-explanations-together-2
Growing explanations together: Language edits
2 parents 4bfc7bc + b600526 commit 032f1ce

File tree

3 files changed

+41
-43
lines changed

3 files changed

+41
-43
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ clojure -M:clay -A:markdown
138138
quarto preview site
139139
```
140140

141+
(`bb site-preview` will run these two commands for you.)
142+
141143
This will open a browser displaying the site locally.
142144

143145
If you would like to preview a single file, then add the path relative to `src`:

bb.edn

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{:tasks
2+
{site-preview {:doc "Build site with Quarto and preview"
3+
:task (do (clojure "-M:clay -A:markdown")
4+
(shell "quarto preview site"))}}}
Lines changed: 35 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,49 @@
1-
^{:clay {:title "Growing explanations together" :quarto {:author :com.github/teodorlu :draft true :type :post :date "2025-10-26"}}}
1+
^{:kindly/hide-code true
2+
:clay {:title "Growing explanations together" :quarto {:author :com.github/teodorlu :draft true :type :post :date "2025-11-01"}}}
23
(ns civitas.why.growing-explanations-together
3-
(:require [babashka.fs :as fs]
4+
(:require [clojure.edn]
45
[scicloj.kindly.v4.kind :as kind]))
56

6-
;; # Growing explanations together
7-
;;
87
;; _reflections from a personal learning journey_
98

109

1110
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1211
;; ## You should make a little home for yourself on the web!
1312

1413
;; “Civitas is stupid, everyone should just create their own static site!”
15-
;; I read something like this one time.
14+
;; I read this one time.
1615
;; And I think it's wrong!
17-
;; I say it's wrong with conviction because I've previously believed it's right.
16+
;; I say it's wrong with conviction because I used to belive it was right.
1817
;;
19-
;; But first, let's discover the truth in that statement.
18+
;; But first, what's the truth in that statement?
2019
;;
2120
;; Our mother's milk as Clojurians is simplicity.
22-
;; Do create simple systems.
23-
;; Don't complect.
24-
;; Don't pull in lots of other people's depencies.
25-
;; This is how you learn.
26-
;; This is how you avoid ending up in a frontend hell with 53 MB of javascript required to show anything.
27-
;; This is how you end up with a simple system!
21+
;; Do create simple systems!
22+
;; Don't complect!
23+
;; Don't pull lots of dependencies!
24+
;; By building with simpler pieces, you learn more.
25+
;; You avoid frontend hell where the browser must load 53 MB of compiled Javascript to say "Welcome!"
26+
;; This is how you build a simple system.
2827
;;
2928
;; The web is a wonderful place, and I encourage you strongly to make a part of it your own!
3029
;; I find it *completely amazing that I can type up some random shit about [the kind of things I like to learn], make a URL for that idea, and give it to a friend.
3130
;; How wonderful is that!
3231
;; And how *quick* is that!
33-
;; Before the World Wide Web, Tim Berners Lee had jump through way many more hoops to achieve that.
32+
;; Before the World Wide Web, Tim Berners Lee had to print a piece of paper and give it to his colleague.
33+
;; Delivering more knowledge required more paper.
3434
;;
3535
;; [the kind of things I like to learn]: https://play.teod.eu/computing-learning-designing-researching/
3636
;;
37-
;; Additionally, a simple web site is just a folder of files.
38-
;; No program-running necessary!
37+
;; A simple web site is just a folder of files.
38+
;; You don't have to run any programs to make that!
3939
;; Just write an HTML file and publish.
40-
;; In the event that you want a better interface for typing, you are in complete control in order to solve that.
41-
;; For me personally, [Babashka] has been a super-tool for doing that.
42-
;; I can write the HTML generation program in the programming language I prefer (Clojure), and regenerate my web site quickly without having warm JVM at hand.
40+
;; If you want to avoid writing plain HTML, you are in control, you can write a program to make the HTML.
41+
;; For me personally, [Babashka] my tool of choice for that.
42+
;; I can write the HTML generation program in the programming language I prefer (Clojure), and regenerate my web site quickly without a running JVM.
4343
;; Oh, the joy!
4444
;; The experience with Babashka-powered knowledge on the web got me so excited I had to present [Build Your Own Little Memex with Babashka] on the first Babashka conference.
45-
;; Oh, the joy!
46-
;; Absolutely recommended, you should *totally* do that yourself
45+
;; 🤗
46+
;; Absolutely recommended, you should *totally* do that yourself.
4747
;;
4848
;; [Babashka]: https://babashka.org/
4949
;; [Build Your Own Little Memex with Babashka]: https://play.teod.eu/build-your-own-little-memex-with-babasha/
@@ -52,42 +52,33 @@
5252
;;
5353
;; After having written, ... let me check, ...
5454

55-
(comment
56-
(count (fs/glob "../../teodorlu/play.teod.eu" "*/play.edn"))
57-
;; => 479
58-
;; Explanations get better with a Clojure REPL at hand, am I right???
59-
;;
60-
;; (this code is evaluated as I'm writing it because other people
61-
;; shouldn't have to depend on my personal mess.)
62-
)
55+
(let [index (clojure.edn/read-string (slurp "https://play.teod.eu/index/big.edn"))]
56+
(kind/hiccup [:p "After having written " (count index) " documents, what have I gained?"]))
6357

64-
;; After having written 479 documents, what have I gained?
65-
;;
6658
;; - I've explored what happens when I let myself have ideas
6759
;; - I've learned to build my own knowledge system
6860
;; - … and I've learned that this is *my* thing.
69-
;; Due to the amount of personalization on my site, it works super well for me.
61+
;; My site is heavily personalized, and works great for me.
7062
;; For others?
7163
;; I woudn't recommend using it.
7264
;; Consider stealing a piece or two or fishing for some inspiration, but *please do make your own thing*.
7365
;;
74-
;; What about the knowledge-building?
75-
;; For me, it's superb.
76-
;; I've learned to learn.
66+
;; Has it helped me build knowledge?
67+
;; For me, it's superb: I've learned to learn.
7768
;; Write an explanation for myself, then I understand it.
7869
;; The two explanations I'm most happy with are [Easy, explicit parallellism with pipeline-blocking] (collaboration with [Ruben Svealdson])
7970
;; and [Rainbow tables: what they are, and why we salt passwords before hashing, explained with Clojure] (which I decided to move from my site to Clerk.Garden).
8071
;;
8172
;; [Easy, explicit parallellism with pipeline-blocking]: https://play.teod.eu/clojure-easy-parallellism-with-pipeline-blocking/
8273
;; [Ruben Svealdson]: https://github.com/rubensseva
8374
;; [Rainbow tables: what they are, and why we salt passwords before hashing, explained with Clojure]: https://github.clerk.garden/teodorlu/lab/commit/1cfe71b8bf1b34ecbcf2fd6d1119985b49eab74c/src/rainbow_tables_2/
84-
;;
8575

8676

8777
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
8878
;; ## Simple, great for learning—but ultimately isolated.
8979
;;
90-
;; My personal web site is great for myself, but not comprehensible for others.
80+
;; My personal web site is great for myself, but not not great for others.
81+
;; An old-time Lisper [once wrote][Curse of Lisp] the following:
9182
;;
9283
;; > Lisp allows you to just chuck things off so easily, and it is easy to take
9384
;; > this for granted. I saw this 10 years ago when looking for a GUI to my
@@ -98,21 +89,21 @@
9889
;; > is also the product of not needing or wanting anybody else's help to do
9990
;; > something.
10091
;;
101-
;; That's me.
92+
;; That's me!
10293
;; I made my own tiny world, lived in it, and it was awesome.
10394
;; But I couldn't invite anybody else in.
10495

10596

10697
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
10798
;; ## Solving for cohesion and curation
10899
;;
109-
;; You exist in context.
100+
;; You exist in a context.
110101
;; People might be interested in what you have to say, and they're also going to be interested in what others have to say.
111-
;; If you're Alan Kay or Bret Victor, you may be able to create a microworld and invite people in, but most people aren't Alan Kay or Bret Victor.
102+
;; If you're Alan Kay or Bret Victor, you may be able to create a microworld and invite people in, but most people aren't Alan Kay or Bret Victor!
112103
;; That means people are going to be experiencing your creations in a context of other people's creations.
113104
;;
114105
;; That means my tiny, little static web site is never going to be someone else's world.
115-
;; Sure, a curious reader may look around prompted by interest, but the reader will finish that trail of curiosity and do something else.
106+
;; Sure, a curious reader may look around prompted by interest, but the reader will finish that trail of curiosity and finally, do something else.
116107
;;
117108
;; To reach more with the explanations we create, we want to ensure cohesion with other people's explanations, and curate the very good explanations.
118109
;;
@@ -126,7 +117,8 @@
126117
;; ## Explanation playlists is the key.
127118
;;
128119
;; Curation has not yet been visibly tackled (as I see it), but the foundation has been laid.
129-
;; In my Memex presentation, I argued that we need [knowledge playlists][knowledge playlist].
120+
;; In my talk _Build Your Own Little Memex with Babashka_,
121+
;; , I argued that we need [knowledge playlists][knowledge playlist].
130122
;; Today, I prefer the term _explanation playlist_.
131123
;; I define an explanation playlist as
132124
;;
@@ -150,6 +142,6 @@
150142
;; ## Consider contributing!
151143
;;
152144
;; After being very pleasantly surprised by the Noj-powered tooling that drives Clojure Civitas, I'm excited to lean into Civitas.
153-
;; My personal web site continues to be a place of eploratory play, but now I have a goal for Clojure content:
145+
;; My personal web site continues to be a place of exploratory play, but now I have a goal for Clojure content:
154146
;; Put it on Civitas.
155147
;; On Civitas it can outlive me, and help grow a commons of knowledge, instead of yet another isolated island.

0 commit comments

Comments
 (0)