Skip to content

Commit 7926ef3

Browse files
committed
updated posts
1 parent 7dc23b8 commit 7926ef3

10 files changed

Lines changed: 73 additions & 8 deletions

File tree

.DS_Store

0 Bytes
Binary file not shown.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# Blog
2-
Repository for blog.
1+
# ~
2+
Repository for a personal site.

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<header>
1919
<div class="header-title">~</div>
2020
<div class="header-row">
21-
<p>Welcome! This is where I share random ideas and stuff I created about school, life, etc.</p>
21+
<p>Welcome! This is where I share random ideas and stuff I created about school, life, etc. (Not any type of category that I want to fall into, journal, diary, because it would feel kind of restrictive on 'how'/'what' should I write about anything.)</p>
2222
<button id="theme-toggle">Dark Mode</button>
2323
</div>
2424
</header>

js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
document.addEventListener("DOMContentLoaded", () => {
22
const container = document.getElementById("posts-list");
33

4-
fetch("metadata/posts.json")
4+
fetch("metadata/entries.json")
55
.then((res) => res.json())
66
.then((posts) => {
77
posts.forEach((post) => {

js/mathjax.js

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,29 @@ window.MathJax = {
22
tex: {
33
packages: { '[+]': ['ams'] },
44
macros: {
5-
qed: '\\square'
5+
qed: '\\square',
6+
ran: '\\text{ran}',
7+
N: '\\mathbb{N}', // Natural Numbers
8+
Z: '\\mathbb{Z}', // Integers
9+
Q: '\\mathbb{Q}', // Rational Numbers
10+
R: '\\mathbb{R}', // Real Numbers
11+
C: '\\mathbb{C}', // Complex Numbers
12+
Li: '\\mathcal{L}', // Linear maps
13+
M: '\\mathcal{M}', // Matrix Representation
14+
im: '\\text{im }', // Image, Range, Column space
15+
rank: '\\text{rank}', // Rank
16+
Span: '\\text{span}', // Span
17+
sgn: '\\text{sgn}', // sgn function
18+
inr: '\\left( #1, #2 \\right)', // Inner Product
19+
coord: '\\left( #1, #2 \\right)', // Coordinates
20+
norm: '\\left\\lVert #1 \\right\\rVert', // Norm
21+
conj: '\\overline{#1}', // Conjugate
22+
abs: '\\left| #1 \\right|', // Absolute Value
23+
proj: '\\text{proj}_{#1}', // Projection
24+
tr: '\\text{Tr}(#1)', // Trace
25+
id: '\\text{id}', // Identity
26+
bi: '\\left( #1, #2 \\right)', // Bilinear form
27+
sig: '\\left( #1, #2, #3 \\right)' // Signature
628
},
729
inlineMath: [['$', '$'], ['\\(', '\\)']],
830
displayMath: [['$$', '$$'], ['\\[', '\\]']]

js/posts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ document.addEventListener("DOMContentLoaded", () => {
2828
return;
2929
}
3030

31-
fetch(`./posts/${slug}.md`)
31+
fetch(`./posts/entries/${slug}.md`)
3232
.then((res) => res.text())
3333
.then((markdown) => {
3434
const { metadata, body: markdownBody } = parseFrontMatter(markdown);
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: First Post
33
date: 2025-03-30
4-
tags: [cs, blog, life]
4+
tags: [cs, life]
55
author: R
66
---
77

8-
This is (going to be) the first post, the first thing I'm writing in Markdown. I thought about doing the whole thing in $\LaTeX$, but it would be weird, so yeah... I came to this idea of a blog website only after going down a rabbit hole on reddit, and I start wondering "it would actually be cool if I have some type of project that I work on", so here I am. I felt like I'm only going to learn the practical stuff that I'm actually going to use while doing "side quests" like this that I'm interested in. (Its pretty unlikely I'll have the chance to write an entire linked list structure from the basics after CSCI-UA 102...)
8+
This is (going to be) the first post, the first thing I'm writing in Markdown. I thought about doing the whole thing in $\LaTeX$, but it would be weird, so yeah... I came to this idea of a blog website only after going down a rabbit hole on reddit, and I start wondering "it would actually be cool if I have some type of project that I work on", so here I am. I felt like I'm only going to learn the practical stuff that I'm actually going to use while doing "side quests" like this that I'm interested in.
99

1010
(One Random thought, no matter what I write, it appears more formal then I would do while I'm talking.)
1111

posts/entries/random.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: Random stuff in linear algebra
3+
date: 2025-04-02
4+
tags: [math]
5+
author: R
6+
---
7+
8+
While reading the Wikipedia article about metric spaces just now, it was talking about the motivation like "We can measure the distance between two such points by the length of the shortest path along the surface, "as the COW flies". Then I was like there's something wrong about this, and its 'As the crow flies'. This was kind of random but yeah, I want to learn what is a measure space suddenly because I encountered this thing called a bilinear form.
9+
10+
These are not really on the topic, what I want to say today is about the essential part of a linear transformation, and I figured out the proof and purpose just after looking over it in terms of domains and codomains. What I understand here is that
11+
12+
$$Ax = A(P_{\ran A^*}x + (x - P_{\ran A^*}x)) = AP_{\ran A^*}x$$
13+
14+
just like doing an orthogonal decomposition on $x$, that
15+
16+
$$x - Proj_{\ran A^*}x \in (\ran A^*)^\perp = \text{ker} A$$
17+
18+
so that
19+
$A(x - Proj_{\ran A^*}x) = 0$, thus it restricts the vectors in the transformation by removing the ones in $\text{ker} A$, and changing $A$ to $\tilde{A}$ just further restricts the domain because now there's only input from $\ran A^*$.
20+
21+
The dual space $A'$ ($\Li (V, F)$ space of all the linear functionals) sometimes have the notation $A^*$ which coincides with the adjoint operator, this is what makes me think about the relation between the two. Specifically, the Riesz representation theorem states that for all linear functionals $\phi$ on $V$, there exists a unique $v \in V$ such that:
22+
23+
$$\phi(u) = \inr{u}{v}$$
24+
25+
Assume $A': V \to V^*$ is the dual operator, then
26+
27+
$$(A'\phi)(u) = \phi(A(u))$$
28+
29+
By Riesz,
30+
31+
$$\phi(A(u)) = \inr{A(u)}{v}$$
32+
33+
Then by the property of the adjoint,
34+
35+
$$\inr{A(u)}{v} = \inr{u}{A^*(v)}$$
36+
37+
So,
38+
39+
$$(A'\phi)(u) = \inr{u}{A^*(v)}$$
40+
41+
$\qed{}$
42+
43+
which is quite fascinating to discover on my own.

0 commit comments

Comments
 (0)