|
1 | 1 | ^{:kindly/hide-code true |
2 | | - :clay {:title "Explanations are value laden" :quarto {:author :com.github/teodorlu :type :post :date "2025-11-15"}}} |
| 2 | + :clay {:title "Explanations are value laden" :quarto {:author :com.github/teodorlu :type :post :date "2025-11-16"}}} |
3 | 3 | (ns civitas.why.explanations-are-value-laden |
4 | | - (:require [civitas.why.growing-explanations-together :as-alias growing-explanations-together] |
5 | | - [civitas.why.village.scene :as-alias search-for-meaning] |
6 | | - [clojure.string :as str] |
7 | | - [scicloj.kindly.v4.kind :as kind])) |
8 | | - |
9 | | -::search-for-meaning/anchor |
10 | | -::growing-explanations-together/anchor |
11 | | - |
12 | | -^:kindly/hide-code |
13 | | -(defonce link-root "") |
14 | | - |
15 | | -^:kindly/hide-code |
16 | | -(defn infer-html-location [anchor] |
17 | | - ;; I found this way of doing "checked" links surprisingly pleasant. |
18 | | - ;; Funnily enough, the *name* of the anchor (which we currently ignore) could (possibly) turn into a hash-link, eg "/civitas/.../scene#process" for ::search-for-meaning/process |
19 | | - ;; But let's not be distracted by shiny, new ways of linking knowledge right now. |
20 | | - ;; |
21 | | - ;; Second problem: while this link works in production, Clay doesn't care about those URLs. |
22 | | - ;; So we'll just redef the def from our REPL while writing this text. |
23 | | - (str link-root |
24 | | - (str/join |
25 | | - "/" |
26 | | - (->> (str/split (namespace anchor) #"\.") |
27 | | - (map #(str/replace % #"-" "_")))) |
28 | | - ".html")) |
| 4 | + (:require [scicloj.kindly.v4.kind :as kind])) |
29 | 5 |
|
30 | 6 | ^:kindly/hide-code |
31 | 7 | (comment |
32 | | - ;; "test". |
33 | | - (def link-root "https://clojurecivitas.github.io/") |
34 | | - (infer-html-location ::search-for-meaning/anchor) |
35 | | - |
36 | | - (require '[clojure.java.browse :refer [browse-url]]) |
37 | | - (mapv (comp browse-url infer-html-location) |
38 | | - [::search-for-meaning/anchor ::growing-explanations-together/anchor]) |
39 | | - |
| 8 | + ;; This post previously included a light system for linking between documents. |
| 9 | + ;; However, that system unfortunately crashed the build process! |
| 10 | + ;; So I had to remove it. |
| 11 | + ;; See the PR for the removed code: https://github.com/ClojureCivitas/clojurecivitas.github.io/pull/185 |
40 | 12 | ) |
41 | 13 |
|
42 | 14 | ^:kindly/hide-code |
43 | | -(defn link [anchor linktext] |
44 | | - [:a {:href (infer-html-location anchor)} linktext]) |
45 | | - |
46 | | -;; # Explanations are value laden |
47 | | - |
48 | | -^:kindly/hide-code |
49 | | -(kind/hiccup [:p "Timothy Pratley recently wrote about " |
50 | | - (link ::search-for-meaning/anchor |
51 | | - [:span "the pursuit of " [:em "meaning"]]) |
52 | | - " on civitas." |
53 | | - " Before that; I argued that " |
54 | | - (link ::growing-explanations-together/anchor |
55 | | - "Civitas is a great place to grow explanations together") |
56 | | - "." |
57 | | - ]) |
| 15 | +(kind/hiccup |
| 16 | + [:p "Timothy Pratley recently wrote about " [:a {:href "/civitas/why/village/scene.html"} "the pursuit of meaning on Civitas."] |
| 17 | + " Before that; I argued that " |
| 18 | + [:a {:href "/civitas/why/growing_explanations_together.html"} "Civitas is a great place to grow explanations together"] "."]) |
58 | 19 |
|
59 | 20 | ;; These two messages are connected. |
60 | 21 | ;; Today, I explore how. |
61 | 22 | ;; |
62 | | -;; What is whorthwile to explain? Anything? No. |
| 23 | +;; What is worthwhile to explain? Anything? No. |
63 | 24 | ;; |
64 | 25 | ;; I can explain the number of grains of sand on a beach. |
65 | | -;; That explanation is *not interesting* compared to what I *could* be explaning. |
66 | | -;; I would rather explain how numbers with units help you gain clarity. |
| 26 | +;; That explanation is *not interesting* compared to what I *could* be explaining. |
| 27 | +;; I would rather explain how numbers with units of measure helps you write clearer code. |
67 | 28 | ;; How you can use a drop of science to spice up your world of software development. |
68 | 29 | ;; How a sliver of programming can help you move the world as a designer. |
69 | 30 | ;; |
70 | 31 | ;; I feel zero need to explain how to “nudge” people into making decisions they do not want to make. |
71 | 32 | ;; I feel zero need to add more mess, chaos, advertisement and coercion into an already confusing and coercive world. |
72 | 33 | ;; Why am I bombarded with messaging to change my behavior every place I see? |
73 | 34 | ;; Why does this happen even when I use services I pay for? |
74 | | -;; I dispise this trend. |
| 35 | +;; I despise this trend. |
75 | 36 | ;; |
76 | 37 | ;; So what? |
77 | 38 | ;; Then what? |
|
0 commit comments