aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--art/b8.pngbin27220 -> 17735 bytes
-rw-r--r--docs/art/b8.pngbin27220 -> 17735 bytes
-rw-r--r--docs/index.html16
-rw-r--r--docs/index.xml28
-rw-r--r--docs/posts/a_reference_counted_afterlife/index.html97
-rw-r--r--docs/posts/index.html17
-rw-r--r--posts/a_reference_counted_afterlife.md49
7 files changed, 199 insertions, 8 deletions
diff --git a/art/b8.png b/art/b8.png
index 8e1f79d..db73610 100644
--- a/art/b8.png
+++ b/art/b8.png
Binary files differ
diff --git a/docs/art/b8.png b/docs/art/b8.png
index 8e1f79d..db73610 100644
--- a/docs/art/b8.png
+++ b/docs/art/b8.png
Binary files differ
diff --git a/docs/index.html b/docs/index.html
index 70b5c06..f1ead1b 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -42,15 +42,15 @@
42 <tr> 42 <tr>
43 <td class=table-post> 43 <td class=table-post>
44 <div class="date"> 44 <div class="date">
45 13/06 — 2022 45 02/08 — 2022
46 </div> 46 </div>
47 <a href="/posts/lotus58" class="post-link"> 47 <a href="/posts/a_reference_counted_afterlife" class="post-link">
48 <span class="post-link">Lotus58</span> 48 <span class="post-link">A Reference Counted Afterlife</span>
49 </a> 49 </a>
50 </td> 50 </td>
51 <td class=table-stats> 51 <td class=table-stats>
52 <span class="stats-number"> 52 <span class="stats-number">
53 4.7 53 1.6
54 </span> 54 </span>
55 <span class=stats-unit>min</span> 55 <span class=stats-unit>min</span>
56 </td> 56 </td>
@@ -59,15 +59,15 @@
59 <tr> 59 <tr>
60 <td class=table-post> 60 <td class=table-post>
61 <div class="date"> 61 <div class="date">
62 26/01 — 2022 62 13/06 — 2022
63 </div> 63 </div>
64 <a href="/posts/lightweight_linting" class="post-link"> 64 <a href="/posts/lotus58" class="post-link">
65 <span class="post-link">Lightweight Linting</span> 65 <span class="post-link">Lotus58</span>
66 </a> 66 </a>
67 </td> 67 </td>
68 <td class=table-stats> 68 <td class=table-stats>
69 <span class="stats-number"> 69 <span class="stats-number">
70 8.5 70 4.7
71 </span> 71 </span>
72 <span class=stats-unit>min</span> 72 <span class=stats-unit>min</span>
73 </td> 73 </td>
diff --git a/docs/index.xml b/docs/index.xml
index e720103..996ef12 100644
--- a/docs/index.xml
+++ b/docs/index.xml
@@ -12,6 +12,34 @@
12 <language>en-us</language> 12 <language>en-us</language>
13 <copyright>Creative Commons BY-NC-SA 4.0</copyright> 13 <copyright>Creative Commons BY-NC-SA 4.0</copyright>
14 <item> 14 <item>
15<title>A Reference Counted Afterlife</title>
16<description>&lt;p&gt;I took interest in the Egyptian rendition of the afterlife recently.&lt;/p&gt;
17&lt;h3 id="parts-of-the-soul"&gt;Parts of the Soul&lt;/h3&gt;
18&lt;p&gt;Ancient Egyptians believed that the soul comprised of several components:&lt;/p&gt;
19&lt;ul&gt;
20&lt;li&gt;&lt;em&gt;ren&lt;/em&gt;&lt;/li&gt;
21&lt;li&gt;&lt;em&gt;ka&lt;/em&gt;&lt;/li&gt;
22&lt;li&gt;&lt;em&gt;ib&lt;/em&gt;&lt;/li&gt;
23&lt;li&gt;&lt;em&gt;ba&lt;/em&gt;&lt;/li&gt;
24&lt;li&gt;&lt;em&gt;sheut&lt;/em&gt;&lt;/li&gt;
25&lt;/ul&gt;
26&lt;p&gt;Egyptians emphasized on preserving the different parts of the soul. Mummification for example, served to preserve the physical part of the soul. The other components have their respective preservation strategies.&lt;/p&gt;
27&lt;p&gt;Of all of these bits, I find &lt;em&gt;ren&lt;/em&gt;, which simply means &lt;em&gt;name&lt;/em&gt;, to be the most interesting. &lt;em&gt;Ba&lt;/em&gt;, the human-headed chicken that represents &lt;em&gt;personality&lt;/em&gt;, is a close favourite.&lt;/p&gt;
28&lt;p&gt;&lt;em&gt;Ren&lt;/em&gt; is the name given to a person at birth. Egyptians believed that this portion of the soul would continue to live on for as long as it was spoken. If you were someone worthy of continued existence, your name would be inscribed all over the place. If you were the type to snatch away bread from children, your name would be condemned from memory, forgotten.&lt;/p&gt;
29&lt;h3 id="garbage-collection"&gt;Garbage-collection&lt;/h3&gt;
30&lt;p&gt;The concept of &lt;em&gt;ren&lt;/em&gt; seems to be perfectly analogous to reference counted garbage-collection.&lt;/p&gt;
31&lt;ul&gt;
32&lt;li&gt;A name (&lt;em&gt;ren&lt;/em&gt;) is assigned to an object (person) on initialization (at birth)&lt;/li&gt;
33&lt;li&gt;Names are used to refer to objects&lt;/li&gt;
34&lt;li&gt;Objects go out of existence when there are no more references to them&lt;/li&gt;
35&lt;/ul&gt;
36&lt;p&gt;The concept of &lt;em&gt;ren&lt;/em&gt; seems to model human-memory. The similarity with garbage-collection is now easily explained, because garbage-collection models a program’s memory.&lt;/p&gt;
37&lt;p&gt;Perhaps some cheeky Egyptian has attained immortality by creating a &lt;em&gt;ren&lt;/em&gt;-cycle.&lt;/p&gt;</description>
38<link>https://peppe.rs/posts/a_reference_counted_afterlife/</link>
39<pubDate>Tue, 02 Aug 2022 16:47:00 +0000</pubDate>
40<guid>https://peppe.rs/posts/a_reference_counted_afterlife/</guid>
41</item>
42<item>
15<title>Lotus58</title> 43<title>Lotus58</title>
16<description>&lt;p&gt;Earlier this month, I decided that I would laugh at Indian customs in the face by building a split-ergo mechanical keyboard from scratch rather than purchasing a Moonlander.&lt;/p&gt; 44<description>&lt;p&gt;Earlier this month, I decided that I would laugh at Indian customs in the face by building a split-ergo mechanical keyboard from scratch rather than purchasing a Moonlander.&lt;/p&gt;
17&lt;figure&gt; 45&lt;figure&gt;
diff --git a/docs/posts/a_reference_counted_afterlife/index.html b/docs/posts/a_reference_counted_afterlife/index.html
new file mode 100644
index 0000000..67016a6
--- /dev/null
+++ b/docs/posts/a_reference_counted_afterlife/index.html
@@ -0,0 +1,97 @@
1<!DOCTYPE html>
2<html lang="en">
3 <head>
4 <link rel="stylesheet" href="/style.css">
5 <link rel="stylesheet" href="/syntax.css">
6 <meta charset="UTF-8">
7 <meta name="viewport" content="initial-scale=1">
8 <meta content="#ffffff" name="theme-color">
9 <meta name="HandheldFriendly" content="true">
10 <meta property="og:title" content="A Reference Counted Afterlife">
11 <meta property="og:type" content="website">
12 <meta property="og:description" content="a static site {for, by, about} me ">
13 <meta property="og:url" content="https://peppe.rs">
14 <link rel="icon" type="image/x-icon" href="/favicon.png">
15 <title>A Reference Counted Afterlife · peppe.rs</title>
16 <body>
17 <div class="posts">
18 <div class="post">
19 <a href="/" class="post-end-link">Home</a>
20 <span>/</span>
21 <a href="/posts" class="post-end-link">Posts</a>
22 <span>/</span>
23 <a class="post-end-link">A Reference Counted Afterlife</a>
24 <a class="stats post-end-link" href="https://git.peppe.rs/web/site/plain/posts/a_reference_counted_afterlife.md
25">View Raw</a>
26 <div class="separator"></div>
27 <div class="date">
28 02/08 — 2022
29 <div class="stats">
30 <span class="stats-number">
31 19.57
32 </span>
33 <span class="stats-unit">cm</span>
34 &nbsp
35 <span class="stats-number">
36 1.6
37 </span>
38 <span class="stats-unit">min</span>
39 </div>
40 </div>
41 <h1>
42 A Reference Counted Afterlife
43 </h1>
44 <div class="post-text">
45 <p>I took interest in the Egyptian rendition of the afterlife recently.</p>
46<h3 id="parts-of-the-soul">Parts of the Soul</h3>
47<p>Ancient Egyptians believed that the soul comprised of several components:</p>
48<ul>
49<li><em>ren</em></li>
50<li><em>ka</em></li>
51<li><em>ib</em></li>
52<li><em>ba</em></li>
53<li><em>sheut</em></li>
54</ul>
55<p>Egyptians emphasized on preserving the different parts of the soul. Mummification for example, served to preserve the physical part of the soul. The other components have their respective preservation strategies.</p>
56<p>Of all of these bits, I find <em>ren</em>, which simply means <em>name</em>, to be the most interesting. <em>Ba</em>, the human-headed chicken that represents <em>personality</em>, is a close favourite.</p>
57<p><em>Ren</em> is the name given to a person at birth. Egyptians believed that this portion of the soul would continue to live on for as long as it was spoken. If you were someone worthy of continued existence, your name would be inscribed all over the place. If you were the type to snatch away bread from children, your name would be condemned from memory, forgotten.</p>
58<h3 id="garbage-collection">Garbage-collection</h3>
59<p>The concept of <em>ren</em> seems to be perfectly analogous to reference counted garbage-collection.</p>
60<ul>
61<li>A name (<em>ren</em>) is assigned to an object (person) on initialization (at birth)</li>
62<li>Names are used to refer to objects</li>
63<li>Objects go out of existence when there are no more references to them</li>
64</ul>
65<p>The concept of <em>ren</em> seems to model human-memory. The similarity with garbage-collection is now easily explained, because garbage-collection models a program’s memory.</p>
66<p>Perhaps some cheeky Egyptian has attained immortality by creating a <em>ren</em>-cycle.</p>
67
68 </div>
69
70 <div class="intro">
71 Hi.
72 <div class="hot-links">
73 <a href="https://peppe.rs/index.xml" class="feed-button">Subscribe</a>
74 <a href="https://liberapay.com/nerdypepper/donate" class="donate-button">Donate</a>
75 </div>
76 <p>I'm Akshay, I go by nerd or nerdypepper on the internet.</p>
77 <p>
78 I am a compsci undergrad, Rust programmer and an enthusiastic Vimmer.
79 I write <a href="https://git.peppe.rs">open-source stuff</a> to pass time.
80 I also design fonts:
81 <a href="https://git.peppe.rs/fonts/scientifica">scientifica</a>,
82 <a href="https://git.peppe.rs/fonts/curie">curie</a>.
83 </p>
84 <p>Send me a mail at [email protected] or a message at [email protected].</p>
85 </div>
86
87 <a href="/" class="post-end-link">Home</a>
88 <span>/</span>
89 <a href="/posts" class="post-end-link">Posts</a>
90 <span>/</span>
91 <a class="post-end-link">A Reference Counted Afterlife</a>
92 <a class="stats post-end-link" href="https://git.peppe.rs/web/site/plain/posts/a_reference_counted_afterlife.md
93">View Raw</a>
94 </div>
95 </div>
96 </body>
97</html>
diff --git a/docs/posts/index.html b/docs/posts/index.html
index 1b80e05..24d9594 100644
--- a/docs/posts/index.html
+++ b/docs/posts/index.html
@@ -27,6 +27,23 @@
27 <tr> 27 <tr>
28 <td class=table-post> 28 <td class=table-post>
29 <div class="date"> 29 <div class="date">
30 02/08 — 2022
31 </div>
32 <a href="/posts/a_reference_counted_afterlife" class="post-link">
33 <span class="post-link">A Reference Counted Afterlife</span>
34 </a>
35 </td>
36 <td class=table-stats>
37 <span class="stats-number">
38 1.6
39 </span>
40 <span class=stats-unit>min</span>
41 </td>
42 </tr>
43
44 <tr>
45 <td class=table-post>
46 <div class="date">
30 13/06 — 2022 47 13/06 — 2022
31 </div> 48 </div>
32 <a href="/posts/lotus58" class="post-link"> 49 <a href="/posts/lotus58" class="post-link">
diff --git a/posts/a_reference_counted_afterlife.md b/posts/a_reference_counted_afterlife.md
new file mode 100644
index 0000000..e578d40
--- /dev/null
+++ b/posts/a_reference_counted_afterlife.md
@@ -0,0 +1,49 @@
1I took interest in the Egyptian rendition of the afterlife
2recently.
3
4### Parts of the Soul
5
6Ancient Egyptians believed that the soul comprised of
7several components:
8
9- _ren_
10- _ka_
11- _ib_
12- _ba_
13- _sheut_
14
15
16Egyptians emphasized on preserving the different parts of
17the soul. Mummification for example, served to preserve the
18physical part of the soul. The other components have their
19respective preservation strategies.
20
21Of all of these bits, I find _ren_, which simply means
22_name_, to be the most interesting. _Ba_, the human-headed
23chicken that represents _personality_, is a close favourite.
24
25_Ren_ is the name given to a person at birth. Egyptians
26believed that this portion of the soul would continue to
27live on for as long as it was spoken. If you were someone
28worthy of continued existence, your name would be inscribed
29all over the place. If you were the type to snatch away
30bread from children, your name would be condemned from
31memory, forgotten.
32
33### Garbage-collection
34
35The concept of _ren_ seems to be perfectly analogous to
36reference counted garbage-collection.
37
38- A name (_ren_) is assigned to an object (person) on
39 initialization (at birth)
40- Names are used to refer to objects
41- Objects go out of existence when there are no more
42 references to them
43
44The concept of _ren_ seems to model human-memory. The
45similarity with garbage-collection is now easily explained,
46because garbage-collection models a program's memory.
47
48Perhaps some cheeky Egyptian has attained immortality by
49creating a _ren_-cycle.