aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--about.org3
-rw-r--r--blog/cognition.org41
-rw-r--r--blog/img/coglogo.pngbin0 -> 28228 bytes
-rw-r--r--blog/ltximg/org-ltximg_01dc37ba9cb224fc1886e1715ba5f33de9b7f603.pngbin0 -> 1153 bytes
-rw-r--r--blog/ltximg/org-ltximg_2338f8065c912f0a4b08f98a341f34f4f939b215.pngbin0 -> 236 bytes
-rw-r--r--blog/ltximg/org-ltximg_27b41ada4696293a6bd443c0a30fdc16190f62dd.pngbin0 -> 496 bytes
-rw-r--r--blog/ltximg/org-ltximg_469970f5e27ef5fb41f5e5ddd73a4c22779636c5.pngbin0 -> 781 bytes
-rw-r--r--blog/ltximg/org-ltximg_b2fb642980fc48ddee06a936c0c589a0a7e7d28d.pngbin0 -> 752 bytes
-rw-r--r--blog/ltximg/org-ltximg_ca69a7a62a6c2964d5c3f60e541d65013a3993bf.pngbin0 -> 244 bytes
-rw-r--r--blog/ltximg/org-ltximg_d94302badc90e0e1a1f129fc8a2742326d5a1753.pngbin0 -> 234 bytes
-rw-r--r--blog/ltximg/org-ltximg_eb8ac71900afa4ed5497de468503d3ee67396901.pngbin0 -> 276 bytes
-rw-r--r--blog/voting.org38
-rw-r--r--config/emacs.org1
-rw-r--r--journal/20240502.org12
-rw-r--r--journal/20240503.org11
-rw-r--r--journal/20240510.org12
-rw-r--r--journal/20240512.org12
-rw-r--r--journal/20240519.org11
-rw-r--r--journal/20240524.org12
-rw-r--r--mindmap/Maxwell's Equations.org34
-rw-r--r--mindmap/egoism.org28
-rw-r--r--mindmap/everything.org2
-rw-r--r--mindmap/framework.org38
-rw-r--r--mindmap/ltximg/org-ltximg_01419811fe6c4ced47fe0a75a6e8303e7831647d.pngbin0 -> 1785 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_0b9f973e590451d9d1ebec954e9cc7227f295d8c.pngbin0 -> 1613 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_163de3a2d02f61aca60629865689f8c27bfad559.pngbin0 -> 9939 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_18abb0bb50c99a4b56ef011bf48674753df1603a.pngbin0 -> 637 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_1b3cc04dd91ab754b70c70bbdf221cad26c284b4.pngbin0 -> 755 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_1daa172a64bc1b6a2da1d1413aa3753049e4a8da.pngbin0 -> 602 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_1fdd4f4d3f3a5248c0634d388461ea82e7c251be.pngbin0 -> 1100 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_23c999283f5912fd0bf1fa7a81fbd699a940b340.pngbin0 -> 1358 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_2d818a751020bf0da5966e346faacc25782692a3.pngbin0 -> 6262 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_305a05334bb0f6ca82fe973c8d701ffa7f489b97.pngbin0 -> 1587 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_341c2ba7f8df43a8e9b48a4c10d02ac1ad94c672.pngbin0 -> 775 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_3a57c8a95057f0acf45996a0030236b6f7cb65ca.pngbin0 -> 846 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_61f2671f9ae34fe71c11860238a23c11317b989a.pngbin0 -> 806 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_6fb31cb4dea02ac6a58d6fb578a93f51bc45a813.pngbin0 -> 1522 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_87af5fc332dda61af5e4f0b8a129bf03a7a648bb.pngbin0 -> 685 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_8b9c7bbeb71eeaaa9dfb50655c7521ef37cdf9a6.pngbin0 -> 4931 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_9418da300e80b17244a1abfde18fffd21dc284f6.pngbin0 -> 6116 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_9f5b14a6d2a85c92c53f103a622170a129a3e0f1.pngbin0 -> 347 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_9f9f8a4a143c79f535e5aaed2d63c1448426772c.pngbin0 -> 484 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_a038756ca1fc100a99d0f5d2f1e6d7e850517320.pngbin0 -> 1601 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_a281621222eabd06bb76a17f8d13af36d300d3b7.pngbin0 -> 6057 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_b7dca9cc804d01abd5478ee9940a24d2457de95a.pngbin0 -> 7735 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_be952ddceb14605bc2420234093856e6036211c7.pngbin0 -> 2447 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_c0718925dd585e066fc1d771e78d9a0d642d3941.pngbin0 -> 491 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_c321dbeaaaa6ca1aab7fa4834c71700bba8a9cd1.pngbin0 -> 1590 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_ca69a7a62a6c2964d5c3f60e541d65013a3993bf.pngbin0 -> 244 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_cfd67c913b6c9fbc62c1b744b4de8a40b9ef57a0.pngbin0 -> 3179 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_d00bbd543fa54a02e47a2ea1294d9515f9e9fd57.pngbin0 -> 2285 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_e234cbe9cf57271ad413c8f535a8cbac89926ec1.pngbin0 -> 739 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_e5050fd0e4e4bee43eaf63ec59817a1b56f5073a.pngbin0 -> 4570 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_e8018968b268859f4704f1ebc59151e65278e9ac.pngbin0 -> 1306 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_e958d72f202a30fd244a9abb54abb8be6bc471b3.pngbin0 -> 1047 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_f1568e6c65f2ed39f0e9b6ac3bd3995242692ca1.pngbin0 -> 664 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_f40302a10a82138813abebef48ca16cdeb194a40.pngbin0 -> 584 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_f59b050c7134cb381a58eda2a7a8135c27e4131b.pngbin0 -> 950 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_f617c34fede9e69624da9ec1310b2e3079bc8c85.pngbin0 -> 1925 bytes
-rw-r--r--mindmap/ltximg/org-ltximg_f6df9e1246dbdd06793bf411095452fbf1e4e7d4.pngbin0 -> 2480 bytes
-rw-r--r--mindmap/philosophy.org30
61 files changed, 264 insertions, 21 deletions
diff --git a/about.org b/about.org
index 1ffeee7..281173c 100644
--- a/about.org
+++ b/about.org
@@ -15,8 +15,7 @@
* Webrings
This website is a part of these webrings:
-
-[[https://baccyflap.com][<]] [[https://nullring.xyz][nullring]] [[https://pen15.agency][>]]
+[[https://tommi.space][<]] [[https://nullring.xyz][nullring]] [[https://pen15.agency][>]]
* About Me
** whoami?
diff --git a/blog/cognition.org b/blog/cognition.org
index f331ba0..01dbcfb 100644
--- a/blog/cognition.org
+++ b/blog/cognition.org
@@ -12,16 +12,6 @@
#+html_head: <meta name="viewport" content="width=1000; user-scalable=0;" />
#+language: en
#+OPTIONS: broken-links:t
-
-* Introduction
-Cognition is an active research project that Matthew Hinton and I have been working on for the past
-couple of months. Although my commit history for [[https://github.com/metacrank/cognition][this project]] has not been impressive, we came up with
-a lot of the theory together, working alongside each other in order to achieve one of the most generalized
-systems of syntax we know of. Let's take a look at the conceptual reason why cognition needs to exist, as
-well as some /baremetal cognition/ code (you'll see what I mean by this later). There's a paper about this language
-available about the language in the repository, for those interested. Understanding cognition might require a
-lot of background in parsing, tokenization, and syntax, but I've done my best to write this in a very understandable way.
-The repository is available at https://github.com/metacrank/cognition, for your information.
* The problem
Lisp programmers claim that their system of s-expression code in addition to its featureful macro system makes it a
metaprogrammable and generalized system. This is of course true, but there's something very broken with lisp: metaprogramming
@@ -45,6 +35,18 @@ but it is not /runtime dynamic/. It still utilizes preprocessing.
So, what's the percise solution to this connundrum? Well, it's beautiful; but it requires some /cognition/.
+* Introduction
+Cognition is an active research project that Matthew Hinton and I have been working on for the past
+couple of months. Although my commit history for [[https://github.com/metacrank/cognition][this project]] has not been impressive, we came up with
+a lot of the theory together, working alongside each other in order to achieve one of the most generalized
+systems of syntax we know of. Let's take a look at the conceptual reason why cognition needs to exist, as
+well as some /baremetal cognition/ code (you'll see what I mean by this later). There's a paper about this language
+available about the language in the repository, for those interested. Understanding cognition might require a
+lot of background in parsing, tokenization, and syntax, but I've done my best to write this in a very understandable way.
+The repository is available at https://github.com/metacrank/cognition, for your information.
+
+#+CAPTION: The Cognition programming language, logo designed by Matthew Hinton
+[[file:img/coglogo.png]]
* Baremetal Cognition
Baremetal cognition has a couple of perculiar attributes, and it is remarkably like the /Brainfuck/ programming language.
But unlike its look-alike, it has the ability to do some /serious metaprogramming/. Let's take a look at what the
@@ -55,7 +57,8 @@ df
dfiff1 crank f
#+end_example
-And *do* note the whitespace (line 2 has a whitespace after df, and the newlines matter). Erm, okay. What?
+And *do* note the whitespace (line 2 has a whitespace after df, line 3 has a whitespace, and the newlines matter).
+Erm, okay. What?
So, our goal in this post is to get from a syntax that looks like /that/ to a syntax that looks like [[file:stem.org][Stem]].
But how on earth does this piece of code even work? Well, we have to introduce two new ideas: delimiters, and ignores.
@@ -255,9 +258,9 @@ per token, where lower metacranks get priority. This means that if you set two d
can execute per token tokenized, and the lower metacrank gets priority. Note that metacrank and, by extension, crank,
don't /just/ depend on tokenized words; they also work while evaluating word definitions recursively, meaning if a word
is evaluated in ~2 crank~, one out of two words will execute in each level of the evaluation tree. You can play around
-with this in the repl to get a sense of how it works: run ~../crank bootstrap.cog repl.cog devel.cog load~, and use stem
-like syntax in order to define a function. Then, run that function in ~2 crank~. You will see how the evaluation tree
-respects cranking in the same way that the program file itself does.
+with this in the repl to get a sense of how it works: run ~../crank bootstrap.cog repl.cog devel.cog load~
+in the coglib folder, and use stem like syntax in order to define a function. Then, run that function in ~2 crank~.
+You will see how the evaluation tree respects cranking in the same way that the program file itself does.
Metacrank allows for not only metaprogramming in the form of code building, but also
direct syntax manipulation (i.e. /I want to execute this token once I have read n other token(s)/). The advantages to
@@ -332,7 +335,13 @@ With the information above, one can work out the specifics of how it works; the
that it does by going into the ~coglib~ folder and running ~../crank bootstrap.cog repl.cog devel.cog load~, which will load
the REPL and load ~devel.cog~, which will in turn load ~comment.cog~.
** The Great Escape
-Here we define a preliminary prefix escape character:
+Here, we accelerate our way out of this primitive syntax, and it all starts with the great escape character. We make
+many great leaps in this section that aren't entirely explained for the sake of brevity, but you are free to play around
+with all of these things by using the repl. In any case, I hope you will enjoy this great leap in syntax technology; by
+the end, we will have reached something with real /structure/.
+
+Here we define a preliminary prefix escape character. Also you will notice that ~2crank ing 0 crank~ is used as
+padding between lines:
#+begin_example
2crank ing 2 crank comment.cog load
2crank ing 0 crank
@@ -579,4 +588,4 @@ You can imagine cognition can program basically any syntax you would want, and i
of the already existing code that makes cognition work. In short, the system allows for true /syntax as code/, as my
friend Andrei put it; one can /dynamically program/ and even /automate/ the production of syntax. In this article, we
didn't have the space to cover other important Cognition concepts like the /Metastack/ and words like ~cd~, but this
-can be done in a part 2 of this blog post.
+can be done in a part 2 of this blog post. For now, let's leave off here, and we can meet here once more for a /part two/.
diff --git a/blog/img/coglogo.png b/blog/img/coglogo.png
new file mode 100644
index 0000000..44f9270
--- /dev/null
+++ b/blog/img/coglogo.png
Binary files differ
diff --git a/blog/ltximg/org-ltximg_01dc37ba9cb224fc1886e1715ba5f33de9b7f603.png b/blog/ltximg/org-ltximg_01dc37ba9cb224fc1886e1715ba5f33de9b7f603.png
new file mode 100644
index 0000000..b74e101
--- /dev/null
+++ b/blog/ltximg/org-ltximg_01dc37ba9cb224fc1886e1715ba5f33de9b7f603.png
Binary files differ
diff --git a/blog/ltximg/org-ltximg_2338f8065c912f0a4b08f98a341f34f4f939b215.png b/blog/ltximg/org-ltximg_2338f8065c912f0a4b08f98a341f34f4f939b215.png
new file mode 100644
index 0000000..479f396
--- /dev/null
+++ b/blog/ltximg/org-ltximg_2338f8065c912f0a4b08f98a341f34f4f939b215.png
Binary files differ
diff --git a/blog/ltximg/org-ltximg_27b41ada4696293a6bd443c0a30fdc16190f62dd.png b/blog/ltximg/org-ltximg_27b41ada4696293a6bd443c0a30fdc16190f62dd.png
new file mode 100644
index 0000000..5b72b73
--- /dev/null
+++ b/blog/ltximg/org-ltximg_27b41ada4696293a6bd443c0a30fdc16190f62dd.png
Binary files differ
diff --git a/blog/ltximg/org-ltximg_469970f5e27ef5fb41f5e5ddd73a4c22779636c5.png b/blog/ltximg/org-ltximg_469970f5e27ef5fb41f5e5ddd73a4c22779636c5.png
new file mode 100644
index 0000000..3db4c01
--- /dev/null
+++ b/blog/ltximg/org-ltximg_469970f5e27ef5fb41f5e5ddd73a4c22779636c5.png
Binary files differ
diff --git a/blog/ltximg/org-ltximg_b2fb642980fc48ddee06a936c0c589a0a7e7d28d.png b/blog/ltximg/org-ltximg_b2fb642980fc48ddee06a936c0c589a0a7e7d28d.png
new file mode 100644
index 0000000..f781457
--- /dev/null
+++ b/blog/ltximg/org-ltximg_b2fb642980fc48ddee06a936c0c589a0a7e7d28d.png
Binary files differ
diff --git a/blog/ltximg/org-ltximg_ca69a7a62a6c2964d5c3f60e541d65013a3993bf.png b/blog/ltximg/org-ltximg_ca69a7a62a6c2964d5c3f60e541d65013a3993bf.png
new file mode 100644
index 0000000..64464f9
--- /dev/null
+++ b/blog/ltximg/org-ltximg_ca69a7a62a6c2964d5c3f60e541d65013a3993bf.png
Binary files differ
diff --git a/blog/ltximg/org-ltximg_d94302badc90e0e1a1f129fc8a2742326d5a1753.png b/blog/ltximg/org-ltximg_d94302badc90e0e1a1f129fc8a2742326d5a1753.png
new file mode 100644
index 0000000..b03d945
--- /dev/null
+++ b/blog/ltximg/org-ltximg_d94302badc90e0e1a1f129fc8a2742326d5a1753.png
Binary files differ
diff --git a/blog/ltximg/org-ltximg_eb8ac71900afa4ed5497de468503d3ee67396901.png b/blog/ltximg/org-ltximg_eb8ac71900afa4ed5497de468503d3ee67396901.png
new file mode 100644
index 0000000..854d021
--- /dev/null
+++ b/blog/ltximg/org-ltximg_eb8ac71900afa4ed5497de468503d3ee67396901.png
Binary files differ
diff --git a/blog/voting.org b/blog/voting.org
new file mode 100644
index 0000000..eff2ec0
--- /dev/null
+++ b/blog/voting.org
@@ -0,0 +1,38 @@
+#+title: Representative Voting
+#+author: Preston Pan
+#+description: What do we do about voter turnout? Voting demographics? Polarization?
+#+html_head: <link rel="stylesheet" type="text/css" href="../style.css" />
+#+html_head: <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
+#+html_head: <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
+#+html_head: <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
+#+html_head: <link rel="manifest" href="/site.webmanifest">
+#+html_head: <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
+#+html_head: <meta name="msapplication-TileColor" content="#da532c">
+#+html_head: <meta name="theme-color" content="#ffffff">
+#+html_head: <meta name="viewport" content="width=1000; user-scalable=0;" />
+#+language: en
+#+OPTIONS: broken-links:t
+* Introduction
+Current voting systems are broken, and people argue about ways to solve it. Many talk about about ranked-choice
+voting or other ballot-systems, but I argue that the real problem in voting has to do with game theory principles.
+In this article I endorse a system that has been tried out before, but has been forgotten: /random representation/. I
+argue that it has game theoretic foundations that make it superior to other kinds of voting systems.
+
+** The Model
+Let us assume that there is a small probability that you can swing the election $$ \rho $$, and a cost to voting; that
+is to say, it takes some amount of time, which has opportunity cost associated with it to vote, which we
+will call $$ \alpha $$. Let us assume that there is a high /reward/ in swinging the vote; that is to say, if you were
+the one that swings the vote, your vote is worth some high monetary value. Let $$ \beta $$ be the median price of swinging.
+Let $$ n $$ be the number of people voting, and let the weight of each vote be equal between all participants.
+Let the choice of candidate between all voters be binary; voting for one candidate mutually excludes you from
+voting for another, and there are two candidates (this is to simply the model; you will see that this does not
+lose generality). Then, let us model the expected value of voting for singular individuals.
+
+For a given person, the probability that your vote swings (or at least ties) depends on the probability that
+$$ x = \frac{n - 1}{2} $$, where $ x $$ is the number of people that vote for your candidate. The probability
+density function for the probability that $$ m $$ people vote for your candidate we'll call $$ f $$. We will assume
+it is binomial, and you might expect it to be closer to 50/50 most of the time, but that is pretty hard to model.
+We will therefore compensate by modeling it more accurately afterwards. For now, we assume all participants have
+a 50% chance to pick either candidate.
+\begin{align*}
+\end{align*}
diff --git a/config/emacs.org b/config/emacs.org
index aea3280..cf00924 100644
--- a/config/emacs.org
+++ b/config/emacs.org
@@ -516,3 +516,4 @@ My own programming language.
;; :config
;; (global-treesit-auto-mode))
#+end_src
+
diff --git a/journal/20240502.org b/journal/20240502.org
new file mode 100644
index 0000000..9f1f060
--- /dev/null
+++ b/journal/20240502.org
@@ -0,0 +1,12 @@
+#+TITLE: Daily Journal
+#+STARTUP: showeverything
+#+DESCRIPTION: My daily journal entry
+#+AUTHOR: Preston Pan
+#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="../style.css" />
+#+html_head: <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
+#+html_head: <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
+#+options: broken-links:t
+* Thursday, 02 May 2024
+** 23:28
+Haven't journaled in a while; I will say, I've decided to take personal health a bit more seriously. If I've
+said this before, I mean it this time.
diff --git a/journal/20240503.org b/journal/20240503.org
new file mode 100644
index 0000000..514afa0
--- /dev/null
+++ b/journal/20240503.org
@@ -0,0 +1,11 @@
+#+TITLE: Daily Journal
+#+STARTUP: showeverything
+#+DESCRIPTION: My daily journal entry
+#+AUTHOR: Preston Pan
+#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="../style.css" />
+#+html_head: <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
+#+html_head: <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
+#+options: broken-links:t
+* Friday, 03 May 2024
+** 18:34
+I have low energy; had caffeine. Trying to write some words for Cognition.
diff --git a/journal/20240510.org b/journal/20240510.org
new file mode 100644
index 0000000..ade88a2
--- /dev/null
+++ b/journal/20240510.org
@@ -0,0 +1,12 @@
+#+TITLE: Daily Journal
+#+STARTUP: showeverything
+#+DESCRIPTION: My daily journal entry
+#+AUTHOR: Preston Pan
+#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="../style.css" />
+#+html_head: <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
+#+html_head: <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
+#+options: broken-links:t
+* Friday, 10 May 2024
+** 16:04
+Today I am with Andrei. Yesterday Ainslie came in and made cookies. Also, I am pretty proud of my configuration
+when it comes to the whole NixOS and EMacs stuff.
diff --git a/journal/20240512.org b/journal/20240512.org
new file mode 100644
index 0000000..a23ad18
--- /dev/null
+++ b/journal/20240512.org
@@ -0,0 +1,12 @@
+#+TITLE: Daily Journal
+#+STARTUP: showeverything
+#+DESCRIPTION: My daily journal entry
+#+AUTHOR: Preston Pan
+#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="../style.css" />
+#+html_head: <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
+#+html_head: <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
+#+options: broken-links:t
+* Sunday, 12 May 2024
+** 12:46
+I am going to Bowen today in order to see Ainslie, which will be fun. It's also mother's day but I don't
+really celebrate it.
diff --git a/journal/20240519.org b/journal/20240519.org
new file mode 100644
index 0000000..c8f8fa3
--- /dev/null
+++ b/journal/20240519.org
@@ -0,0 +1,11 @@
+#+TITLE: Daily Journal
+#+STARTUP: showeverything
+#+DESCRIPTION: My daily journal entry
+#+AUTHOR: Preston Pan
+#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="../style.css" />
+#+html_head: <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
+#+html_head: <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
+#+options: broken-links:t
+* Sunday, 19 May 2024
+** 20:07
+Today, I showed another person my Journal; I plan to learn more about the Einstein-Hilbert Action as well.
diff --git a/journal/20240524.org b/journal/20240524.org
new file mode 100644
index 0000000..14608fd
--- /dev/null
+++ b/journal/20240524.org
@@ -0,0 +1,12 @@
+#+TITLE: Daily Journal
+#+STARTUP: showeverything
+#+DESCRIPTION: My daily journal entry
+#+AUTHOR: Preston Pan
+#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="../style.css" />
+#+html_head: <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
+#+html_head: <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
+#+options: broken-links:t
+* Friday, 24 May 2024
+** 14:07
+I am currently with Ainslie, and I had my first interview at Layer Zero yesterday. It went well but they don't want
+me doing infrastructure so I'm reinterviewing for other engineering positions.
diff --git a/mindmap/Maxwell's Equations.org b/mindmap/Maxwell's Equations.org
index 187f7a5..c092100 100644
--- a/mindmap/Maxwell's Equations.org
+++ b/mindmap/Maxwell's Equations.org
@@ -56,17 +56,17 @@ By definition of electromagnetic induction (and to make Ampere's law consistent
\vec{\nabla} \times \vec{E} = - \frac{\partial\vec{B}}{\partial t}
\end{align*}
Instead of assuming induction as an axiom, it is possible to fix Ampere's equation with the [[id:a871e62c-b4a0-4674-9dea-d377de2f780b][continuity equation]] first, and then
-assume Lorentz symmetry. This explanation is a work in progress.
+assume Lorentz Covariance. This explanation is a work in progress.
* Implications
Maxwell's Equations can be used to calculate all electromagnetic phenomena on the macro scale all the way down to the atom.
In practice, solving Maxwell's Equations can be analytically impossible, so several simplifying assumptions are often made.
To recap, these are the four equations:
-\begin{align*}
+\begin{align}
\vec{\nabla} \cdot \vec{E} = \frac{\rho}{\epsilon_{0}} \\
\vec{\nabla} \times \vec{E} = -\frac{\partial\vec{B}}{\partial t} \\
\vec{\nabla} \cdot \vec{B} = 0 \\
\vec{\nabla} \times \vec{B} = \mu_{0}\vec{J} + \mu_{0}\epsilon_{0}\frac{\partial\vec{E}}{\partial t}
-\end{align*}
+\end{align}
* Speed of Light
Maxwell's Equations can be shown to reproduce the speed of light in a vacuum, where:
\begin{align*}
@@ -76,3 +76,31 @@ Maxwell's Equations can be shown to reproduce the speed of light in a vacuum, wh
It is known that Maxwell's Equations are consistent with [[id:e38d94f2-8332-4811-b7bd-060f80fcfa9b][special relativity]] and can be expressed
in terms of curved spacetime. In fact, if relativity is taken as an axiom, it can be proven that the electric
and magnetic fields are descriptions of the same phenomena; this can be taken as a specific example of a [[id:1b1a8cff-1d20-4689-8466-ea88411007d7][duality]].
+The result is a Lorentz Invariant theory of Electromagnetism.
+** Relativistic Electrodynamics
+The [[id:a871e62c-b4a0-4674-9dea-d377de2f780b][continuity equation]] has a Lorentz Invariant counterpart. We unify the charge density and the current density
+under a four-vector quantity ~j~:
+\begin{align*}
+j = (\rho , J)
+\end{align*}
+Where ~J~ is the current density, and $$ \rho $$ is the charge density. The continuity equation can be reformulated
+like so:
+\begin{align*}
+\partial_{\alpha} j^{\alpha} = 0
+\end{align*}
+Likewise, the electric scalar potential and the magnetic vector potential create an invariant four-vector:
+\begin{align*}
+a = (V, A)
+\end{align*}
+We notice that Gauss' Law:
+\begin{align*}
+\nabla^{2} V = \frac{\rho}{\epsilon_{0}}
+\end{align*}
+needs a more general formulation, as the potential and the charge density need to be replaced with Lorentz Invariant
+quantities. We then use Ampere's law:
+\begin{align}
+\vec{\nabla} \times \vec{\nabla} \times \vec{A} = \mu_{0}\vec{J} + \mu_{0}\epsilon_{0}\frac{\partial(\nabla V)}{\partial t} \\
+\vec{\nabla} \cdot \vec{\nabla} \times \vec{\nabla} \times \vec{A} = \nabla \cdot \mu_{0}\vec{J} + \mu_{0}\epsilon_{0}\frac{\partial(\nabla^{2} V)}{\partial t} \\
+\vec{\nabla} \cdot \vec{\nabla} \times \vec{\nabla} \times \vec{A} = \mu_{0} \nabla\cdot\vec{J} + \mu_{0}\frac{\partial\rho}{\partial t} \\
+\vec{\nabla} \cdot \vec{\nabla} \times \vec{\nabla} \times \vec{A} = \mu_{0} (\nabla\cdot\vec{J} + \frac{\partial\rho}{\partial t}) \\
+\end{align}
diff --git a/mindmap/egoism.org b/mindmap/egoism.org
new file mode 100644
index 0000000..fb16307
--- /dev/null
+++ b/mindmap/egoism.org
@@ -0,0 +1,28 @@
+:PROPERTIES:
+:ID: 326eb3f8-680a-432c-bf69-42ba4d366116
+:END:
+#+title: egoism
+#+author: Preston Pan
+#+html_head: <link rel="stylesheet" type="text/css" href="../style.css" />
+#+html_head: <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
+#+html_head: <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
+#+options: broken-links:t
+* Introduction
+Egoism, broadly defined, is the philosophical view that one should maximize for their own utility function, or well-being,
+or self-satisfaction, etc..., whatever you want to call it. The general statement is that there is some value one would
+want to maximize for themselves. This philosophical view is a metaethical view in general but can be applied descriptively.
+* Descriptively
+In economics, homo-econimus is a kind of idealized economic agent that maximizes for their own economic value. Descriptive
+egoism is in a sense the statement that people tend to maximize for some utility function. In a sense, there are many games
+that people can play, and economics is just one of them; there's homo-politicus, homo-vitamus, and many other games that
+agents try to play. Descriptive egoism is the descriptive formulation of a utility function that people have in-built,
+and a statement that people tend to play according to said utility functions with generalized rational expectations.
+* Perscriptively
+The perscriptive egoism is a meta-ethical framework that simply asserts that one should act in their own self interest.
+Self interest is a loosely defined term that is subjective to the individual.
+* Critisisms
+Often many will point out the fact that it is a circular system, that it has no descriptive power because one can formulate
+anything in terms of an egoist outlook. Therefore, while one can accept or deny the validity of egoism, the [[id:6d8c8bcc-58b0-4267-8035-81b3bf753505][framework]] of
+egoism has weak axioms and it is therefore possible to formulate many sub-philosophies that are compatible with egoism.
+(Meta-comment: I would describe myself as someone that formulates sub-philosophies inscribed within the egoist framework,
+and I would myself describe my own views in an egoist manner).
diff --git a/mindmap/everything.org b/mindmap/everything.org
index 8c92bd9..57321af 100644
--- a/mindmap/everything.org
+++ b/mindmap/everything.org
@@ -30,6 +30,8 @@ and you have to omit details. However, I think this is a pretty reasonable
attempt at doing so and you will soon notice that the frameworks that I
am presenting can in fact be used to explain the article itself, albeit
in a somewhat contradictory way.
+** Isn't this just another Framework?
+Yes. In fact, I have a page about [[id:6d8c8bcc-58b0-4267-8035-81b3bf753505][frameworks]]!
* Something
I linked them above, but if you want to read about something that is not
everything, go here:
diff --git a/mindmap/framework.org b/mindmap/framework.org
new file mode 100644
index 0000000..114913f
--- /dev/null
+++ b/mindmap/framework.org
@@ -0,0 +1,38 @@
+:PROPERTIES:
+:ID: 6d8c8bcc-58b0-4267-8035-81b3bf753505
+:END:
+#+title: framework
+#+author: Preston Pan
+#+html_head: <link rel="stylesheet" type="text/css" href="../style.css" />
+#+html_head: <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
+#+html_head: <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
+#+options: broken-links:t
+* Introduction
+Frameworks are an essential thing to understand are fundamental to how we work, and this statement will
+never be contradicted. The main [[id:1b1a8cff-1d20-4689-8466-ea88411007d7][two]] hallmarks of a framework are as follows:
+1. the framework has a set of axioms i.e. statements that are taken as a given.
+2. the framework can use some form of pseudo-logical deduction in order to reach conclusions.
+Note that this sounds a lot like [[id:a6bc601a-7910-44bb-afd5-dffa5bc869b1][mathematics]]. Indeed, mathematics is an instantiation of a framework, but there
+are other frameworks as well. Mathematics is a framework detached from reality, and we often develop mathematics
+in order to fit those mathematical models to reality. Mathematical frameworks aren't wrong or right, they're contradictory
+or logical (i.e. they either degenerate into principle of explosion or they are logically consistent). In other words,
+a theory or framework can be independent of reality.
+
+Applying mathe