<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>codethrasher</title><link>https://codethrasher.com/</link><description>Recent content on codethrasher</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 17 Feb 2026 21:24:29 -0800</lastBuildDate><atom:link href="https://codethrasher.com/index.xml" rel="self" type="application/rss+xml"/><item><title>The Feynman Technique</title><link>https://codethrasher.com/posts/the_feynman_technique/</link><pubDate>Tue, 17 Feb 2026 21:30:13 -0700</pubDate><guid>https://codethrasher.com/posts/the_feynman_technique/</guid><description>I&amp;rsquo;m reposting this.
I was looking through my old notes and stumbled onto this oldie. It really is such a superb way to dive into a subject.
A four-step process to test your understanding of a given subject matter.
Get a piece of paper and write the name of the technique/concept at the top Explain the concept in the most basic language possible. Avoid all technical jargon and pretend you&amp;rsquo;re explaining this concept to someone who has zero prior knowledge.</description></item><item><title>Org-mode cheatsheet</title><link>https://codethrasher.com/posts/org_mode_cheatsheet/</link><pubDate>Tue, 08 Jun 2021 08:53:45 -0700</pubDate><guid>https://codethrasher.com/posts/org_mode_cheatsheet/</guid><description>Tags Search tags: SPC n m or SPC o a m Add tag: SPC m q Links Insert link: SPC m l l File links have the structure [[file:relative_link_to_file][some_title]​] To link to a specific heading in a file ​[[file:relative_link::header title][some_title]] header title can have spaces in it, e.g. relative_link.org::A Heading in a file External (web) links have the structure [​[full_url][some_title]​] To see the link (so you can more easily edit it): SPC m l t To store a link to the current file/headline you&amp;rsquo;re in: SPC n l and to &amp;ldquo;paste&amp;rdquo; that stored link: SPC m l l (Return) TODOs See todo list (all entries): SPC o a t or SPC n t Insert todo within current section (subheading): SPC m i t Change state of todo: SPC m t (a menu will popup, d to change to done) Blocks insert code block SPC m i c insert quote block SPC m i q Zero-width character To escape the normal org-mode syntax (to show something like the file links above) C-x 8 RET (search for ZERO WIDTH CHARACTER) RET Motion To fuzzy search/goto section C-c C-j (start typing) Up to previous heading C-c C-p Down to next heading C-c C-n Timestamps Inactive (doesn&amp;rsquo;t show up on the Agenda) SPC m d T If you simply do the above and just type in a time, e.</description></item><item><title>Curl a GraphQL API</title><link>https://codethrasher.com/posts/curl_a_graphql_api/</link><pubDate>Tue, 11 May 2021 09:29:37 -0700</pubDate><guid>https://codethrasher.com/posts/curl_a_graphql_api/</guid><description>1 2 3 4 5 6 7 curl -0 -v -X POST https://some.api.com/graphql \ -H &amp;#39;Content-Type: application/json&amp;#39; \ -d @- &amp;lt;&amp;lt; EOF { &amp;#34;query&amp;#34;: &amp;#34;query { someQuery (someArg: false) { name } }&amp;#34; } EOF curl will probably complain about the -X POST being inferred, but it shouldn&amp;rsquo;t harm anything. It can be left out.</description></item><item><title>Function Overloading</title><link>https://codethrasher.com/posts/function_overloading/</link><pubDate>Tue, 02 Feb 2021 09:17:33 -0800</pubDate><guid>https://codethrasher.com/posts/function_overloading/</guid><description>Take a function like below&amp;hellip;
1 2 3 4 5 6 7 8 type Combinable = string | number function add(a: Combinable, b: Combinable): Combinable { if (typeof a === &amp;#39;string&amp;#39; || typeof b === &amp;#39;string&amp;#39;) { return a.toString() + b.toString() } return a + b } If we were to use this function like this:
1 2 const x = add(&amp;#39;black cat&amp;#39;, &amp;#39;white dog&amp;#39;) x.split(&amp;#39; &amp;#39;) // TS compiler will complain here TypeScript cannot determine what the return type of add is at this point.</description></item><item><title>Nullish Coalescing</title><link>https://codethrasher.com/posts/nullish_coalescing/</link><pubDate>Sun, 17 Jan 2021 21:21:00 -0800</pubDate><guid>https://codethrasher.com/posts/nullish_coalescing/</guid><description>1 2 // say you have some var hangin&amp;#39; around called `name` let x: string = name ?? &amp;#39;(no name)&amp;#39; ?? is the nullish coalescing operator. It differs from || in that if you had (in the above example)
1 let x: string = name || &amp;#39;(no name)&amp;#39; name equal to an empty string (which is falsey) x would then be assigned the value (no name). The nullish coalescing operator will only use the right-hand assignment for &amp;ldquo;nullish&amp;rdquo; values (null or undefined).</description></item><item><title>Recursive Type Aliases</title><link>https://codethrasher.com/posts/recursive_type_aliases/</link><pubDate>Sat, 16 Jan 2021 21:09:40 -0800</pubDate><guid>https://codethrasher.com/posts/recursive_type_aliases/</guid><description>In TS@4 a type can reference itself, e.g.
1 2 3 4 5 6 7 8 9 type JSONValue = | string | number | boolean | null | JSONValue[] | { [k: string]: JSONValue } Previously, this would not be possible without some messy hacks.</description></item><item><title>Labeled Tuple Types</title><link>https://codethrasher.com/posts/labeled_tuple_type/</link><pubDate>Sat, 16 Jan 2021 21:02:12 -0800</pubDate><guid>https://codethrasher.com/posts/labeled_tuple_type/</guid><description>1 type Address = [number, string, string, number] Say you now have a function printAddress which takes an Address type as its arg.
1 2 3 function printAddress(...address: Address) { // ...stuff } Your editor (before TS@4) would hint that the arguments were something like:
address_0: number, address_1: string, ...etc which is not really helpful because address_0: number doesn&amp;rsquo;t really explain what that parameter corresponds to. With Labled Tuple Types we can do</description></item><item><title>Variadic Tuple Types</title><link>https://codethrasher.com/posts/variadic_tuple_types/</link><pubDate>Sat, 16 Jan 2021 20:44:40 -0800</pubDate><guid>https://codethrasher.com/posts/variadic_tuple_types/</guid><description>1 type Foo&amp;lt;T extends any[]&amp;gt; = [boolean, ...T, boolean] Before TS@4.0 ...T would need to be the last element, but now we can spread the T type nested between known types; e.g. &amp;ldquo;This array will have a boolean, with some stuff (strings, numbers, etc.), and another boolean&amp;rdquo;.</description></item><item><title>Composite Builds</title><link>https://codethrasher.com/posts/composite_builds/</link><pubDate>Fri, 15 Jan 2021 22:20:07 -0800</pubDate><guid>https://codethrasher.com/posts/composite_builds/</guid><description>TypeScript has a way of describing a build process as multiple subpieces of a project. This saves from having to build every piece, and instead build independent parts and stitch them together as needed.
In a monorepo environment, multiple packages will have multiple builds and, possibly, refer to those builds amongst each other.
The root tsconfig.json file can be used, but a problem of independent sources of truth arises. For instance, one project may have a different level of type strictness, or use a different version of Node.</description></item><item><title>Jest Setup for a Monorepo</title><link>https://codethrasher.com/posts/jest_setup_for_a_monorepo/</link><pubDate>Fri, 15 Jan 2021 22:06:47 -0800</pubDate><guid>https://codethrasher.com/posts/jest_setup_for_a_monorepo/</guid><description>Out of the box, Jest mostly works in a Monorepo environment, with the exception of a few Babel plugins so that (as an example) TypeScript works.
Needs:
@babel/preset-env (Babel will transform whatever it needs to transform based on the build target, e.g. TypeScript, IE11, ES6, Node10, etc.) @babel/preset-typescript (Babel will strip out the symbols that are specific to TypeScript) The root-level .babelrc file would look like:
1 2 3 4 5 6 { &amp;#34;presets&amp;#34;: [ [&amp;#34;@babel/preset-env&amp;#34;, { &amp;#34;targets&amp;#34;: { &amp;#34;node&amp;#34;: 10 } }], &amp;#34;@babel/preset-typescript&amp;#34; ] } The target above is arbitrary, and can be anything (or nothing).</description></item><item><title>Monorepos</title><link>https://codethrasher.com/posts/monorepos/</link><pubDate>Fri, 15 Jan 2021 21:42:29 -0800</pubDate><guid>https://codethrasher.com/posts/monorepos/</guid><description/></item><item><title>Colocation</title><link>https://codethrasher.com/posts/colocation/</link><pubDate>Thu, 14 Jan 2021 10:49:46 -0800</pubDate><guid>https://codethrasher.com/posts/colocation/</guid><description>&amp;ldquo;colocation&amp;rdquo; is a pattern wherein you keep the query/mutation as close to the consuming component as possible. In many instances, it&amp;rsquo;s in the exact file. This is in contrast with the DRY approach, which would beg the author to push queries/mutations higher up and imported into whichever file needs it.</description></item><item><title>Yarn-NPM</title><link>https://codethrasher.com/posts/yarn_npm/</link><pubDate>Wed, 16 Dec 2020 10:38:33 -0800</pubDate><guid>https://codethrasher.com/posts/yarn_npm/</guid><description>package.json resolutions field yarn specific
Allows you to force the use of a particular version for a nested dependency. e.g.:
1 2 3 4 &amp;#34;devDependencies&amp;#34;: { &amp;#34;@angular/cli&amp;#34;: &amp;#34;1.0.3&amp;#34;, &amp;#34;typescript&amp;#34;: &amp;#34;2.3.2&amp;#34; } yarn.lock will contain:
1 2 3 4 5 6 7 &amp;#34;typescript@&amp;gt;=2.0.0 &amp;lt;2.3.0&amp;#34;: version &amp;#34;2.2.2&amp;#34; resolved &amp;#34;https://registry.yarnpkg.com/typescript/-/typescript-2.2.2.tgz#606022508479b55ffa368b58fee963a03dfd7b0c&amp;#34; typescript@2.3.2: version &amp;#34;2.3.2&amp;#34; resolved &amp;#34;https://registry.yarnpkg.com/typescript/-/typescript-2.3.2.tgz#f0f045e196f69a72f06b25fd3bd39d01c3ce9984&amp;#34; and within node_modules you&amp;rsquo;d see:
typescript@2.3.2 in node_modules/typescript typescript@2.2.2 in node_modules/@angular/cli/node_modules. Because TS@2.2.2 is nested within @angular/cli it is impossilbe to force the use of TS@2.</description></item><item><title>Cipher</title><link>https://codethrasher.com/posts/cipher/</link><pubDate>Tue, 01 Dec 2020 16:08:32 -0800</pubDate><guid>https://codethrasher.com/posts/cipher/</guid><description>A cipher is defined over the spaces of:
All Keys, \(\mathscr{K}\)
All Messages, \(\mathscr{M}\)
All Cipher texts, \(\mathscr{C}\)
Cipher (defined as a triple, \((\mathscr{K}, \mathscr{M}, \mathscr{C})\)) as a pair of algorithms \((\mathbf{E}, \mathbf{D})\) where \(\mathbf{E}\) represents the encryption algorithm and \(\mathbf{D}\) represents the decryption algorithm.
\begin{equation} \mathbf{E}: \mathscr{K} \times \mathscr{M} \rightarrow \mathscr{C} \end{equation}
and
\begin{equation} \mathbf{D}: \mathscr{K} \times \mathscr{C} \rightarrow \mathscr{M} \end{equation}
Such that:
\begin{equation} \forall m \in \mathscr{M}, k \in \mathscr{K}: \mathbf{D}(k, \mathbf{E}(k, m)) = m \end{equation}</description></item><item><title>Distribution Vector</title><link>https://codethrasher.com/posts/distribution_vector/</link><pubDate>Tue, 01 Dec 2020 15:06:23 -0800</pubDate><guid>https://codethrasher.com/posts/distribution_vector/</guid><description> A vector with non-negative components (representing specific probabilities) which add up to one
e.g.
\begin{equation} (P(x_{0}), P(x_{1}),&amp;hellip;,P(x_{n})) \end{equation}
Also known as:
Stochastic Vector</description></item><item><title>Uniform Distribution</title><link>https://codethrasher.com/posts/uniform_distribution/</link><pubDate>Tue, 01 Dec 2020 15:03:05 -0800</pubDate><guid>https://codethrasher.com/posts/uniform_distribution/</guid><description>\begin{equation} x \in U:P(x) = \frac{1}{|U|} \end{equation}
Where \(|U|\) is the size of the universe (set).
In Probability Theory, a uniform distribution assigns an equal probability to each element of a given set.</description></item><item><title>Point Distribution</title><link>https://codethrasher.com/posts/point_distribution/</link><pubDate>Tue, 01 Dec 2020 14:58:59 -0800</pubDate><guid>https://codethrasher.com/posts/point_distribution/</guid><description>x0: P(x) = 1,∀ x ≠ x0: P(x) = 0
In Probability Theory, a point distribution is a distribution which assigns all the probability to a given point (set element).</description></item><item><title>Cryptography</title><link>https://codethrasher.com/posts/cryptography/</link><pubDate>Tue, 01 Dec 2020 14:46:08 -0800</pubDate><guid>https://codethrasher.com/posts/cryptography/</guid><description> Digital Signature</description></item><item><title>Digital Signature</title><link>https://codethrasher.com/posts/digital_signature/</link><pubDate>Tue, 01 Dec 2020 13:43:16 -0800</pubDate><guid>https://codethrasher.com/posts/digital_signature/</guid><description>A function of the content being &amp;ldquo;signed&amp;rdquo;</description></item><item><title>Cost Function</title><link>https://codethrasher.com/posts/cost_function/</link><pubDate>Tue, 01 Dec 2020 11:27:21 -0800</pubDate><guid>https://codethrasher.com/posts/cost_function/</guid><description>The measurement of accuracy of a hypothesis function. The accuracy is given as an average difference of all the results of the hypothesis from the inputs (\(x\)&amp;rsquo;s) to the outputs (\(y\)&amp;rsquo;s).
\begin{equation} J(\Theta_{0},\Theta_{1})=\frac{1}{2m}\sum_{i=1}^{m}(h_{\Theta}(x_{i}) - y_{i})^{2} \end{equation}
where \(m\) is the number of inputs (e.g. training examples)
This function is also known as the squared error function or mean squared error. The \(\frac{1}{2}\) is a convenience for the cancellation of the 2 which will be present due to the squared term being derived (see gradient descent).</description></item><item><title>Machine Learning</title><link>https://codethrasher.com/posts/machine_learning/</link><pubDate>Tue, 01 Dec 2020 11:21:27 -0800</pubDate><guid>https://codethrasher.com/posts/machine_learning/</guid><description> Gradient Descent Cost Function Hypothesis Function Artificial Neural Network</description></item><item><title>Gradient Descent</title><link>https://codethrasher.com/posts/gradient_descent/</link><pubDate>Tue, 01 Dec 2020 11:13:06 -0800</pubDate><guid>https://codethrasher.com/posts/gradient_descent/</guid><description>An optimization algorithm for finding the local minimum of a differentiable function.
(The red arrows show the minimums of \(J(\Theta_{0},\Theta_{1})\), i.e. the cost function)
To find the minimum of the cost function, we take its derivative and &amp;ldquo;move along&amp;rdquo; the tangential line of steepest (negative) descent. Each &amp;ldquo;step&amp;rdquo; is determined by the coefficient \(\alpha\), which is called the Learning Rate.
\begin{equation} \Theta_{j_{new}} := \Theta_{j_{old}} - \alpha\frac{\partial}{\partial\Theta_{j}}J(\Theta_{0},\Theta_{1}) \end{equation}
\(\Theta_{j}\), initially, will be a randomly-chosen value.</description></item><item><title>Hypothesis Function</title><link>https://codethrasher.com/posts/hypothesis_function/</link><pubDate>Tue, 01 Dec 2020 10:47:16 -0800</pubDate><guid>https://codethrasher.com/posts/hypothesis_function/</guid><description>A function which maps values \(x\) to an output value \(y\). Historically, in ML, hypothesis functions are denoted \(h(x^{(i)})\).</description></item><item><title>Artificial Neural Network</title><link>https://codethrasher.com/posts/artificial_neural_network/</link><pubDate>Thu, 26 Nov 2020 20:23:30 -0800</pubDate><guid>https://codethrasher.com/posts/artificial_neural_network/</guid><description>Artificial Neural Network (ANN)
Layers All learning occurs in the layers. In the image, below, there are three layers, but there could be only one, or many more. In the example image the first layer is known as the Input Layer, the second the Hidden Layer, and the third the Output Layer. In a 3+ layered ANN, any layer that is not the input/output layer is a Hidden Layer.
Input The data being fed into the ANN</description></item><item><title>Covectors</title><link>https://codethrasher.com/posts/covectors/</link><pubDate>Tue, 17 Nov 2020 21:59:53 -0800</pubDate><guid>https://codethrasher.com/posts/covectors/</guid><description>A linear mapping from a vector space to a field of scalars. In other words, a linear function which acts upon a vector resulting in a real number (scalar)
\begin{equation} \alpha\,:\,\mathbf{V} \longrightarrow \mathbb{R} \end{equation}
Simplistically, covectors can be thought of as &amp;ldquo;row vectors&amp;rdquo;, or:
\begin{equation} \begin{bmatrix} 1 &amp;amp; 2 \end{bmatrix} \end{equation}
This might look like a standard vector, which would be true in an orthonormal basis, but it is not true generally.</description></item><item><title>Differential Geometry</title><link>https://codethrasher.com/posts/differential_geometry/</link><pubDate>Tue, 17 Nov 2020 09:30:10 -0800</pubDate><guid>https://codethrasher.com/posts/differential_geometry/</guid><description> Tensors Tensor Product</description></item><item><title>Linear Algebra</title><link>https://codethrasher.com/posts/linear_algebra/</link><pubDate>Tue, 17 Nov 2020 09:30:00 -0800</pubDate><guid>https://codethrasher.com/posts/linear_algebra/</guid><description> Bases Bases Transformation Coordinate Transformation Covectors Dual Space Identity Matrix Invertible Matrix Invertible Matrix Orthonormal Basis Tensor Product Tensors Vector Space Axioms (Vector Space)</description></item><item><title>Linear Mapping</title><link>https://codethrasher.com/posts/linear_mapping/</link><pubDate>Mon, 16 Nov 2020 22:13:48 -0800</pubDate><guid>https://codethrasher.com/posts/linear_mapping/</guid><description> A mapping from \(\mathbf{V} \rightarrow \mathbf{W}\) that preserves the operations of addition and scalar multiplication.
Also known as Linear Map Linear Transformation Linear Function</description></item><item><title>Multilinear Map</title><link>https://codethrasher.com/posts/multilinear_map/</link><pubDate>Mon, 16 Nov 2020 22:11:24 -0800</pubDate><guid>https://codethrasher.com/posts/multilinear_map/</guid><description>A function of several variables that is linear, separately, in each variable.
A multilinear map of one variable is a standard linear mapping.</description></item><item><title>Tensor Product</title><link>https://codethrasher.com/posts/tensor_product/</link><pubDate>Mon, 16 Nov 2020 21:41:03 -0800</pubDate><guid>https://codethrasher.com/posts/tensor_product/</guid><description/></item><item><title>Dual Space</title><link>https://codethrasher.com/posts/dual_space/</link><pubDate>Thu, 12 Nov 2020 09:58:51 -0800</pubDate><guid>https://codethrasher.com/posts/dual_space/</guid><description>The space of all linear functionals \(f:V\rightarrow \mathbb{R}\), noted as \(V^{*}\)
The dual space has the same dimension as the corresponding vector space or, given a space \(V\), with bases \((v_{1},&amp;hellip;,v_{n})\), there exists a dual space \(V^{*}\) with a dual basis \((v^{*}_{1},&amp;hellip;,v^{*}_{n})\).</description></item><item><title>Dual Vector Space</title><link>https://codethrasher.com/posts/dual_vector_space/</link><pubDate>Thu, 12 Nov 2020 09:58:21 -0800</pubDate><guid>https://codethrasher.com/posts/dual_vector_space/</guid><description>The space of all linear functionals \(f:V\rightarrow \mathbb{R}\), noted as \(V^{*}\)
The dual space has the same dimension as the corresponding vector space or, given a space \(V\), with bases \((v_{1},&amp;hellip;,v_{n})\), there exists a dual space \(V^{*}\) with a dual basis \((v^{*}_{1},&amp;hellip;,v^{*}_{n})\).</description></item><item><title>Heliosphere</title><link>https://codethrasher.com/posts/heliosphere/</link><pubDate>Thu, 29 Oct 2020 16:07:43 -0700</pubDate><guid>https://codethrasher.com/posts/heliosphere/</guid><description>The bubble, created by the Sun&amp;rsquo;s plasma (see Solar Wind), which encompasses the Sun itself. Outside of this bubble, the Sun&amp;rsquo;s plasma is overwhelmed by the Interstellar plasma.</description></item><item><title>Solar Wind</title><link>https://codethrasher.com/posts/solar_wind/</link><pubDate>Thu, 29 Oct 2020 16:03:32 -0700</pubDate><guid>https://codethrasher.com/posts/solar_wind/</guid><description>TODO</description></item><item><title>Tensors</title><link>https://codethrasher.com/posts/tensors/</link><pubDate>Thu, 29 Oct 2020 09:46:58 -0700</pubDate><guid>https://codethrasher.com/posts/tensors/</guid><description>As a linear representation A tensor can be represented as a vector of x-number of dimensions. Basically, a generalization on top of scalars, vectors, and matrices. The specific &amp;ldquo;flavor&amp;rdquo; of the tensor (i.e. is it a scalar, vector, or matrix) is clarified by referring to the tensor&amp;rsquo;s &amp;ldquo;rank&amp;rdquo;. For instance; a rank 0 tensor is a scalr, rank 1 tensor is a one-dimensional vector, a rank 2 tensor is a two-dimensional vector (\(2x2\) matrix), etc.</description></item><item><title>Kronecker Delta</title><link>https://codethrasher.com/posts/kronecker_delta/</link><pubDate>Thu, 29 Oct 2020 09:41:12 -0700</pubDate><guid>https://codethrasher.com/posts/kronecker_delta/</guid><description>\begin{equation} \delta_{ij}= \begin{cases} 0 &amp;amp; \text{if i \(\neq\) j}\\\ 1 &amp;amp; \text{if i \(=\) j} \end{cases} \end{equation}</description></item><item><title>Bases</title><link>https://codethrasher.com/posts/bases/</link><pubDate>Thu, 29 Oct 2020 09:39:54 -0700</pubDate><guid>https://codethrasher.com/posts/bases/</guid><description>a basis for an n-dimensional vector space \(V\) is any ordered set of linearly independent vectors \((\mathbf{e}_{1}, \mathbf{e}_{2},&amp;hellip;,\mathbf{e}_{n})\)
An arbitrary vector \(\mathbf{x}\) in \(V\) can be expressed as a linear combination of the basis vectors:
\begin{equation} \mathbf{x}\,=\,\sum\limits_{i = 1}^{n} \mathbf{e}_{i}x^{i} \end{equation}
See Bases Transformation, Coordinate Transformation</description></item><item><title>Orthonormal Basis</title><link>https://codethrasher.com/posts/orthonormal_basis/</link><pubDate>Tue, 27 Oct 2020 20:58:35 -0700</pubDate><guid>https://codethrasher.com/posts/orthonormal_basis/</guid><description>An orthonormal basis is a basis where all the vectors are one unit long and all perpendicular to each other (e.g. the Cartesian plane)</description></item><item><title>Bases Transformation</title><link>https://codethrasher.com/posts/bases_transformation/</link><pubDate>Tue, 27 Oct 2020 11:05:44 -0700</pubDate><guid>https://codethrasher.com/posts/bases_transformation/</guid><description>Consider two bases \((\mathbf{e}_{1},\mathbf{e}_{2})\) and \((\mathbf{\tilde{e}}_{1},\mathbf{\tilde{e}}_{2})\), where we consider the former the old basis and the latter the new basis.
Each vector \((\mathbf{\tilde{e}}_{1},\mathbf{\tilde{e}}_{2})\) can be expressed as a linear combination of \((\mathbf{e}_{1},\mathbf{e}_{2})\):
\begin{equation} \mathbf{\tilde{e}}_{1}\,=\,\mathbf{e}_{1}S^{1}_{1}\,+\,\mathbf{e}_{2}S^{2}_{1}\\\ \tag{1.0}\\\ \mathbf{\tilde{e}}_{2}\,=\,\mathbf{e}_{1}S^{1}_{2}\,+\,\mathbf{e}_{2}S^{2}_{2} \end{equation}
(1.0) is the basis transformation formula, and the object \(S\) is the direct transformation \(\{S^{j}_{i},\,1\,\leq\,i,\,j\,\leq\,2\}\), (assuming a \(2x2\) matrix) which can also be written in matrix form:
\begin{equation} \begin{bmatrix} \mathbf{\tilde{e}}_{1} &amp;amp; \mathbf{\tilde{e}}_{2} \end{bmatrix}\,=\, \begin{bmatrix} \mathbf{e}_{1} &amp;amp; \mathbf{e}_{2}\, \end{bmatrix} \begin{bmatrix} S^{1}_{1} &amp;amp; S^{1}_{2}\\\ S^{2}_{1} &amp;amp; S^{2}_{2} \end{bmatrix}\\\ =\, \begin{bmatrix} \mathbf{e}_{1} &amp;amp; \mathbf{e}_{2} \end{bmatrix}\,S\tag{1.</description></item><item><title>Identity Matrix</title><link>https://codethrasher.com/posts/identity_matrix/</link><pubDate>Tue, 27 Oct 2020 10:32:05 -0700</pubDate><guid>https://codethrasher.com/posts/identity_matrix/</guid><description>\begin{equation} \mathbf{I}(\mathbf{X})=\mathbf{X} \end{equation}
Where any \(nxn\) matrix is established via the Kronecker Delta, e.g.
\begin{equation} \mathbf{I}_{ij}\,=\,\delta_{ij} \end{equation}</description></item><item><title>Invertible Matrix</title><link>https://codethrasher.com/posts/invertible_matrix/</link><pubDate>Tue, 27 Oct 2020 10:14:42 -0700</pubDate><guid>https://codethrasher.com/posts/invertible_matrix/</guid><description>A matrix, which when multiplied by another matrix, results in the identity matrix.
\begin{equation} \mathbf{A}\mathbf{A}^{-1} = I \end{equation}
e.g.
\begin{equation} \begin{bmatrix} a &amp;amp; b\\\ c &amp;amp; d \end{bmatrix} \begin{bmatrix} d &amp;amp; -b\\\ -c &amp;amp; a \end{bmatrix}= \begin{bmatrix} 1 &amp;amp; 0\\\ 0 &amp;amp; 1 \end{bmatrix} \end{equation}</description></item><item><title>Vector Space</title><link>https://codethrasher.com/posts/vector_space/</link><pubDate>Mon, 26 Oct 2020 22:29:06 -0700</pubDate><guid>https://codethrasher.com/posts/vector_space/</guid><description>also known as a linear space
A collection of objects known as &amp;ldquo;vectors&amp;rdquo;. In the Euclidean space these can be visualized as simple arrows with a direction and a length, but this analogy will not necessarily translate to all spaces.
Addition and multiplication of these objects (vectors) must adhere to a set of axioms for the set to be considered a &amp;ldquo;vector space&amp;rdquo;.
Addition (+) \begin{equation} +\,:\,V\,\times\,V\,\longrightarrow\,V \end{equation}
Multiplication (\(\cdot\)) \begin{equation} \cdot\,:\,F\,\times\,V\,\longrightarrow\,V \end{equation}</description></item><item><title>Coordinate Transformation</title><link>https://codethrasher.com/posts/coordinate_transformation/</link><pubDate>Mon, 26 Oct 2020 22:23:41 -0700</pubDate><guid>https://codethrasher.com/posts/coordinate_transformation/</guid><description/></item><item><title>Axioms (Vector Space)</title><link>https://codethrasher.com/posts/vector_space_axioms/</link><pubDate>Mon, 26 Oct 2020 20:54:32 -0700</pubDate><guid>https://codethrasher.com/posts/vector_space_axioms/</guid><description>To qualify as a vector space, a set \(V\) and its associated operations of addition (\(+\)) and multiplication/scaling (\(\cdot\)) must adhere to the below:
Associativity \begin{equation} \mathbf{u}+(\mathbf{v}+\mathbf{w}) = (\mathbf{u} + \mathbf{v}) + \mathbf{w} \end{equation}
Commutivity \begin{equation} \mathbf{u} + \mathbf{v} = \mathbf{v} + \mathbf{u} \end{equation}
Identity of Addition There exists and element \(\mathbf{0}\,\in\,V\), called the zero vector, such that \(\mathbf{v} + \mathbf{0} = \mathbf{v}\) for all \(\mathbf{v}\,\in\,V\).
Inverse of Addition For every \(\mathbf{v}\,\in\,V\), there exists an element \(\mathbf{-v}\,\in\,V\), such that \(\mathbf{v}\,+\,(\mathbf{-v})\,=\,\mathbf{0}\).</description></item><item><title>Invariance (Mathematics)</title><link>https://codethrasher.com/posts/invariance/</link><pubDate>Mon, 26 Oct 2020 10:30:36 -0700</pubDate><guid>https://codethrasher.com/posts/invariance/</guid><description>An property (of a mathematical object) is invariant if, after some operation(s) are applied, that property remains unchanged.
For instance, in a geometrical space where the concept of &amp;ldquo;length&amp;rdquo; is defined (by some metric); a physical object, say a pencil, will maintain its characteristics (length) despite a change of coordinates (e.g. polar to cartesian).
In short, vectors are invariant, but their components are not (under a transformation).</description></item><item><title>Cosmology</title><link>https://codethrasher.com/posts/cosmology/</link><pubDate>Fri, 23 Oct 2020 09:54:46 -0700</pubDate><guid>https://codethrasher.com/posts/cosmology/</guid><description> The Inflationary Universe Standard Model Cosmic Inflation Cosmological Constant Cosmic Microwave Background</description></item><item><title>The Inflationary Universe</title><link>https://codethrasher.com/posts/the_inflationary_universe/</link><pubDate>Fri, 23 Oct 2020 09:50:13 -0700</pubDate><guid>https://codethrasher.com/posts/the_inflationary_universe/</guid><description>source The Inflationary Universe: A Possible Solution To The Horizon And Flatness Problems (Guth, 1980)
Questions I still have DONE WHY#1: why is that approximation unstable? See Flatness Problem
Abstract The initial conditions defined in the Standard Model present two problems:
The early universe is defined to be homogeneous despite the massive distances between regions (causal disconnect) The Hubble constant must be set very finely to produce a flat universe (like ours) These problems could disappear if the universe (in its early stages) cooled to temperatures twenty-eight or more orders of magnitude below the critical temperature for &amp;ldquo;some phase transition&amp;rdquo;.</description></item><item><title>Standard Model (Cosmology)</title><link>https://codethrasher.com/posts/standard_model/</link><pubDate>Thu, 22 Oct 2020 22:03:48 -0700</pubDate><guid>https://codethrasher.com/posts/standard_model/</guid><description>This refers to the Cosmological &amp;ldquo;Standard Model&amp;rdquo;, i.e. the \(\Lambda\)CDM. This is not the same as the Standard Model of Particle Physics
Lambda-CDM The lambda-cdm or, lambda cold-dark-matter, is a three-parameter description of the Big Bang Cosmological model parametrized by:
the Cosmological Constant \(\Lambda\) dark matter normal matter Of the cosmological models, this presents the simplest one in terms of describing the universe as we see it observationally. Specifically, it succintly explains:</description></item><item><title>Cosmological Principle</title><link>https://codethrasher.com/posts/cosmological_principle/</link><pubDate>Thu, 22 Oct 2020 22:01:59 -0700</pubDate><guid>https://codethrasher.com/posts/cosmological_principle/</guid><description>The Cosmological Principle states that at large enough scales (&amp;gt;100Mpc) the universe&amp;rsquo;s matter distribution is isotropic and homogeneous and should not produce irregularities in the large-scale structure of the universe over the course of its evolution.</description></item><item><title>Cosmological Constant</title><link>https://codethrasher.com/posts/cosmological_constant/</link><pubDate>Thu, 22 Oct 2020 21:57:03 -0700</pubDate><guid>https://codethrasher.com/posts/cosmological_constant/</guid><description>TODO</description></item><item><title>Cosmic Microwave Background</title><link>https://codethrasher.com/posts/cosmic_microwave_background/</link><pubDate>Thu, 22 Oct 2020 21:52:44 -0700</pubDate><guid>https://codethrasher.com/posts/cosmic_microwave_background/</guid><description>TODO</description></item><item><title>The Structure and Interpretation of Computer Programs</title><link>https://codethrasher.com/posts/sicp/</link><pubDate>Thu, 22 Oct 2020 10:15:40 -0700</pubDate><guid>https://codethrasher.com/posts/sicp/</guid><description>Table of Contents Chapter 1 Predicates/Expressions Functions v. Procedures or Imperative v. Declarative Chapter 1 Predicates/Expressions Taking the following Lisp code:
1 2 3 4 (defun abs (x) (cond ((&amp;gt; x 0) x) ((= x 0) 0) ((&amp;lt; x 0) (- x)))) which simply calculates the absolute value of a number, we see within the cond (conditional) three &amp;ldquo;clauses&amp;rdquo;. These parenthesized pairs (clauses) are formed of &amp;ldquo;predicates&amp;rdquo; and &amp;ldquo;expressions&amp;rdquo;, respectively.</description></item><item><title>Programming</title><link>https://codethrasher.com/posts/programming/</link><pubDate>Thu, 22 Oct 2020 10:11:19 -0700</pubDate><guid>https://codethrasher.com/posts/programming/</guid><description> The Structure and Interpretation of Computer Programs (SICP)</description></item><item><title>Manifold</title><link>https://codethrasher.com/posts/manifold/</link><pubDate>Thu, 22 Oct 2020 10:07:50 -0700</pubDate><guid>https://codethrasher.com/posts/manifold/</guid><description>A manifold is a topological space that locally resembles Euclidean space near each point.
As defined in Physics An N-dimensional manifold of points is one for which N independent real coordinates \((x^{1}, x^{2},&amp;hellip;,x^{N})\) are required to specify a point completely. These N coordinates are denoted collectively by \(x^{a}\), where it is understood that \(a\,=\,1,2,&amp;hellip;,N\).
As an example, in \(\mathbb{R}^{2}\) we have a 2-dimensional manifold of points descrived by the real coordinates \((x^{1}, x^{2})\).</description></item><item><title>Symmetric Relation</title><link>https://codethrasher.com/posts/symmetric_relation/</link><pubDate>Thu, 22 Oct 2020 10:07:00 -0700</pubDate><guid>https://codethrasher.com/posts/symmetric_relation/</guid><description>This definition is more clearly described sybollically:
\begin{equation} \forall a,b \in X(aRb\,\iff\,bRa) \end{equation}
Tao&amp;rsquo;s definition:
Given any two objects \(x\) and \(y\) of the same type, if \(x = y\), then \(y = x\).
See also:
Transitive Relation
Reflexive Relation</description></item><item><title>Transitive Relation</title><link>https://codethrasher.com/posts/transitive_relation/</link><pubDate>Thu, 22 Oct 2020 10:06:11 -0700</pubDate><guid>https://codethrasher.com/posts/transitive_relation/</guid><description>A relation \(R\) over a set \(X\) is transitive if for all elements x, y, z in \(X\), whenever \(R\) relates \(x\) to \(y\) and \(y\) to \(z\), then \(R\) also relates \(x\) to \(z\).
\begin{equation} \forall x,y,z \in X,if\,xRy\,and\,yRz,\,then\,xRz \end{equation}
Tao&amp;rsquo;s definition:
Given any three objects x, y, and z of the same type, if \(x = y\) and \(y = z\), then \(x = z\).
See also:
Symmetric Relation</description></item><item><title>Reflexive Relation</title><link>https://codethrasher.com/posts/reflexive_relation/</link><pubDate>Thu, 22 Oct 2020 10:05:38 -0700</pubDate><guid>https://codethrasher.com/posts/reflexive_relation/</guid><description>A binary relation \(R\) over a set \(X\) is reflexive if it relates every \(x \in X\) to itself.
\begin{equation} \forall x \in X \,|\, xRx \end{equation}
An example of a reflexive relation is &amp;ldquo;is equal to&amp;rdquo; since any number within \(\mathbb{R}\) would be mapped back to itself.
Tao&amp;rsquo;s definition:
Given any object x, we have \(x = x\).
See also:
Symmetric Relation
Transitive Relation</description></item><item><title>Learning</title><link>https://codethrasher.com/posts/learning/</link><pubDate>Wed, 21 Oct 2020 22:31:25 -0700</pubDate><guid>https://codethrasher.com/posts/learning/</guid><description>The Feynman Technique</description></item><item><title>Physics</title><link>https://codethrasher.com/posts/physics/</link><pubDate>Wed, 21 Oct 2020 22:31:13 -0700</pubDate><guid>https://codethrasher.com/posts/physics/</guid><description>Articles Black Holes as Primordial Dark Matter Papers The Inflationary Universe (Guth, 1980) Concepts Configuration Space Cosmic Inflation Equations of Motion Galilean Transformation Generalized Coordinates Homogeneous Inertial Frames Isotropy Newtonian Spacetime Newtons Laws of Motion Principle of Relativity Problems Flatness Problem Olber&amp;rsquo;s Paradox Black Hole Information Paradox</description></item><item><title>Science</title><link>https://codethrasher.com/posts/science/</link><pubDate>Wed, 21 Oct 2020 22:31:06 -0700</pubDate><guid>https://codethrasher.com/posts/science/</guid><description>Branches Physics Articles Phosphine, Life, and Venus (Biology, Chemistry) Black Holes as Primordial Dark Matter (Physics) Papers The Inflationary Universe: Guth, 1980 (Physics) Concepts Chemical Oxidation Abiotic Processes Cosmic Inflation Newtons Laws of Motion</description></item><item><title>Set Theory</title><link>https://codethrasher.com/posts/set_theory/</link><pubDate>Wed, 21 Oct 2020 22:31:03 -0700</pubDate><guid>https://codethrasher.com/posts/set_theory/</guid><description>Concepts Relations Cardinality Binary Relation Symmetric Relation Transitive Relation Cartesian Product Reflexive Relation Surjective Function</description></item><item><title>Teaching</title><link>https://codethrasher.com/posts/teaching/</link><pubDate>Wed, 21 Oct 2020 22:30:58 -0700</pubDate><guid>https://codethrasher.com/posts/teaching/</guid><description>The Feynman Technique</description></item><item><title>Math</title><link>https://codethrasher.com/posts/math/</link><pubDate>Wed, 21 Oct 2020 22:28:30 -0700</pubDate><guid>https://codethrasher.com/posts/math/</guid><description> Real Analysis Differential Geometry Linear Algebra Topology Set Theory General Concepts Bijective Function Injective Function Surjective Function Transitive Relation Symmetric Relation Locality Peano Axioms</description></item><item><title>Chemistry</title><link>https://codethrasher.com/posts/chemistry/</link><pubDate>Wed, 21 Oct 2020 22:28:09 -0700</pubDate><guid>https://codethrasher.com/posts/chemistry/</guid><description>Articles Phosphine, Life, and Venus</description></item><item><title>Biology</title><link>https://codethrasher.com/posts/biology/</link><pubDate>Wed, 21 Oct 2020 22:27:58 -0700</pubDate><guid>https://codethrasher.com/posts/biology/</guid><description>Articles Phosphine, Life, and Venus</description></item><item><title>Triangle Inequality</title><link>https://codethrasher.com/posts/triangle_inequality/</link><pubDate>Wed, 21 Oct 2020 21:30:28 -0700</pubDate><guid>https://codethrasher.com/posts/triangle_inequality/</guid><description>For any triangle, the sum of the lengths of any two sides must be greater than or equal to the length of the remaining side.
\(z \leq x + y\)</description></item><item><title>Topology</title><link>https://codethrasher.com/posts/topology/</link><pubDate>Wed, 21 Oct 2020 21:30:22 -0700</pubDate><guid>https://codethrasher.com/posts/topology/</guid><description>Concepts Metric Space Open Balls Neighborhood Manifold Topological Space</description></item><item><title>Topological Space</title><link>https://codethrasher.com/posts/topological_space/</link><pubDate>Wed, 21 Oct 2020 21:30:19 -0700</pubDate><guid>https://codethrasher.com/posts/topological_space/</guid><description>An ordered pair \((X, \tau)\), where \(X\) is a set and \(\tau\) is a collection of subsets of \(X\) satisfying:
The empty set (\(\emptyset\)) and \(X\) belong to \(\tau\) Any arbitrary (in)finite union of members of \(\tau\) still belongs to \(\tau\) The intersection of any finite number of members of \(\tau\) still belongs to \(\tau\)</description></item><item><title>Surjective Function</title><link>https://codethrasher.com/posts/surjective_function/</link><pubDate>Wed, 21 Oct 2020 21:30:06 -0700</pubDate><guid>https://codethrasher.com/posts/surjective_function/</guid><description>A function is surjective or &amp;ldquo;onto&amp;rdquo; if
For every \(y \in Y\), there exists \(x \in X\) such that \(f(x) = y\).</description></item><item><title>Statistics</title><link>https://codethrasher.com/posts/statistics/</link><pubDate>Wed, 21 Oct 2020 21:30:04 -0700</pubDate><guid>https://codethrasher.com/posts/statistics/</guid><description>Concepts Null Hypothesis</description></item><item><title>Shape of the Universe</title><link>https://codethrasher.com/posts/shape_of_the_universe/</link><pubDate>Wed, 21 Oct 2020 21:29:57 -0700</pubDate><guid>https://codethrasher.com/posts/shape_of_the_universe/</guid><description>Open/Closed/Flat TODO</description></item><item><title>Relations (Sets)</title><link>https://codethrasher.com/posts/relations_sets/</link><pubDate>Wed, 21 Oct 2020 21:29:49 -0700</pubDate><guid>https://codethrasher.com/posts/relations_sets/</guid><description>Definition A relation \(R\) from the elements of set \(A\) to the elements of set \(B\) is a subset of \(A \times B\).
&amp;hellip;alternatively&amp;hellip;
Let \(A\) and \(B\) be two non-empty sets, then every subset of \(A \times B\) defines a relation from \(A\) to \(B\) and ever relation from \(A\) to \(B\) is a subset of \(A \times B\).
Let \(R \subseteq A \times B\) and \((a, b) \in R\).</description></item><item><title>Real Analysis</title><link>https://codethrasher.com/posts/real_analysis/</link><pubDate>Wed, 21 Oct 2020 21:29:45 -0700</pubDate><guid>https://codethrasher.com/posts/real_analysis/</guid><description> The theoretical foundation which underlies calculus
Peano Axioms Surjective Function Bijective Function Injective Function Cartesian Product</description></item><item><title>Principle of Relativity</title><link>https://codethrasher.com/posts/principle_of_relativity/</link><pubDate>Wed, 21 Oct 2020 21:29:37 -0700</pubDate><guid>https://codethrasher.com/posts/principle_of_relativity/</guid><description>The Principle of Relativity states that:
The laws of physics take the same form in every intertial frame.
No exception has been found to this principle, and it holds equally well in both Newtonian theory and Special Relativity.</description></item><item><title>Phosphine, Life, and Venus</title><link>https://codethrasher.com/posts/phosphine_life_and_venus/</link><pubDate>Wed, 21 Oct 2020 21:29:29 -0700</pubDate><guid>https://codethrasher.com/posts/phosphine_life_and_venus/</guid><description>Source: Phosphine, Life, and Venus
Regarding the released report that Venus was found to &amp;ldquo;possibly harbor life&amp;rdquo; (see this Nature article)
What&amp;rsquo;s Phosphine? A chemical compound found in small amounts in Earth&amp;rsquo;s atmosphere Used in: electronics fabrication, rodenticide On Earth it&amp;rsquo;s primarily found in its oxidized form, generally thought to be the result of lightning strikes, where the required amount of electrons would be present. But, it&amp;rsquo;s also been noticed in anaerobic environments (low/no oxygen).</description></item><item><title>Peano Axioms</title><link>https://codethrasher.com/posts/peano_axioms/</link><pubDate>Wed, 21 Oct 2020 21:29:27 -0700</pubDate><guid>https://codethrasher.com/posts/peano_axioms/</guid><description>A natural number is any element of the set \(\mathbb{N} = \{0, 1, 2, 3&amp;hellip;\}\)
I 0 is a natural number.
II If \(n\) is a natural number, then n++ is also a natural number.
III 0 is not the successor of any natural number; i.e., we have n++ \(\ne\) 0 for every natural number n.
IV Different natural numbers must have different successors; i.e., if \(n\) and \(m\) are natural numbers and \(n \ne m\), then n++ \(\ne\) m++.</description></item><item><title>Oxidation</title><link>https://codethrasher.com/posts/oxidation/</link><pubDate>Wed, 21 Oct 2020 21:29:23 -0700</pubDate><guid>https://codethrasher.com/posts/oxidation/</guid><description>A type of chemical reaction in which electrons are lost</description></item><item><title>Open Balls</title><link>https://codethrasher.com/posts/open_balls/</link><pubDate>Wed, 21 Oct 2020 21:29:21 -0700</pubDate><guid>https://codethrasher.com/posts/open_balls/</guid><description>Let \((X, d)\) be a metric space. Let \(a \in X\) and \(\delta &amp;gt; 0\). The subset of \(X\) consisting of those points \(x \in X\) such that \(d(a, x) &amp;lt; \delta\) is the called the open ball of radius \(\delta\) and denoted:
\begin{equation} B(a;\delta) \end{equation}</description></item><item><title>Olber's Paradox</title><link>https://codethrasher.com/posts/olber_s_paradox/</link><pubDate>Wed, 21 Oct 2020 21:29:18 -0700</pubDate><guid>https://codethrasher.com/posts/olber_s_paradox/</guid><description>The Problem People used to believe that the Universe was infinite (in age and size) and static. If this were true
Why is the night sky not as bright as day?
That is to say, if the universe is infinite as are the stars, and the universe is not undergoing any sort of evolution, we should expect every point of the night sky to be filled with the light from any one of its inifnite stars.</description></item><item><title>Null Hypothesis</title><link>https://codethrasher.com/posts/null_hypothesis/</link><pubDate>Wed, 21 Oct 2020 21:29:12 -0700</pubDate><guid>https://codethrasher.com/posts/null_hypothesis/</guid><description>Denoted H_0 (subscript 0)
The position that there is no relationship among two measured phenomenon or among groups. The central task of science is to prove that a relationship may exist between entities, implying that the null hypothesis is false.
Thus, centrally, science attempts to disprove the null hypothesis for a given field of questioning. This hypothesis is the default stance when approaching a statistical/scientific problem; i.e. the null hypothesis begins as true and it is up to the investigator to prove otherwise.</description></item><item><title>Newtons Laws of Motion</title><link>https://codethrasher.com/posts/newtons_laws_of_motion/</link><pubDate>Wed, 21 Oct 2020 21:29:07 -0700</pubDate><guid>https://codethrasher.com/posts/newtons_laws_of_motion/</guid><description>I In an intertial frame of reference (i.e. a frame of reference undergoing zero acceleration), an object at rest stays at rest (or, similarly, keeps its initial velocity) unless acted upon by an outside force.
\begin{equation} \sum \mathbf{F} = 0 \Leftrightarrow \frac{d\mathbf{v}}{dt} = 0 \end{equation}
II In the simplest of terms:
\begin{equation} \mathbf{F} = m\mathbf{a} \end{equation}
which states that
The vector sum of the forces on an object is equal to that objects mass times the acceleration</description></item><item><title>Newtonian Spacetime</title><link>https://codethrasher.com/posts/newtonian_spacetime/</link><pubDate>Wed, 21 Oct 2020 21:28:57 -0700</pubDate><guid>https://codethrasher.com/posts/newtonian_spacetime/</guid><description>Newtonian Spacetime differs from Relativistic spacetime in that time is considered an absolute (i.e. \(t^{\prime} = t\)). Transformations between reference frames can be achieved with Galilean transformations. A particle traveling along the x axis in \(S\) at a constant speed u, has a speed \(u^{\prime}\) found by:
\begin{equation} u^{\prime}_{x} = \frac{dx^{\prime}}{dt^{\prime}} = \frac{dx^{\prime}}{dt} = \frac{dx}{dt} - v = u_{x} - v\tag{1} \end{equation}
remembering that the first derivative of position is velocity, and the second derivative of motion is acceleration</description></item><item><title>Neighborhood</title><link>https://codethrasher.com/posts/neighborhood/</link><pubDate>Wed, 21 Oct 2020 21:28:54 -0700</pubDate><guid>https://codethrasher.com/posts/neighborhood/</guid><description>The set of points surrounding a point \(p\) in a set \(V\), such that \(p \in \mathbb{R}^{n}\), within a radius \(\epsilon &amp;gt; 0\)
See also:
Open Balls</description></item><item><title>Metric Space</title><link>https://codethrasher.com/posts/metric_space/</link><pubDate>Wed, 21 Oct 2020 21:28:52 -0700</pubDate><guid>https://codethrasher.com/posts/metric_space/</guid><description>A set and a function which defines the distance between two points on that set
An ordered pair \((X, d)\), where \(X\) is an arbitrary set and \(d\) is a metric (distance-defining function).
The metric defines the following properties:
\(d(a, b) = 0\) iff \(a = b\) \(d(a, b) &amp;gt; 0\) (if \(a \neq b\)) \(d(a, b) = d(b, a)\) \(d(a, c) \leq d(a, b) + d(b, c)\) (Note: #4 is a restatement of the Triangle Inequality)</description></item><item><title>Mechanics</title><link>https://codethrasher.com/posts/mechanics/</link><pubDate>Wed, 21 Oct 2020 21:28:50 -0700</pubDate><guid>https://codethrasher.com/posts/mechanics/</guid><description/></item><item><title>Locality (Math)</title><link>https://codethrasher.com/posts/locality/</link><pubDate>Wed, 21 Oct 2020 21:28:43 -0700</pubDate><guid>https://codethrasher.com/posts/locality/</guid><description>Locality refers to:
A property \(P\), of a point \(x\), which holds true near every point around \(x\).
As an example:
A sphere (and, more generally, a manifold) is locally Euclidean. For every point on the sphere there is a neighborhood which is identical to Euclidean space.</description></item><item><title>Isotropy (Physics)</title><link>https://codethrasher.com/posts/isotropy/</link><pubDate>Wed, 21 Oct 2020 21:28:24 -0700</pubDate><guid>https://codethrasher.com/posts/isotropy/</guid><description>Isotropy means that direction is not preferred, and that there is uniformity in any orientation.
Specifically, in Astrophysics and Cosmology, it means that there is no preferred direction in space. It looks the same no matter the direction you study (look).
Isotropy in space is only true at large scales (&amp;gt;100Mpc), the converse is true at smaller scales (anisotropy)</description></item><item><title>Injective Function</title><link>https://codethrasher.com/posts/injective_function/</link><pubDate>Wed, 21 Oct 2020 21:28:21 -0700</pubDate><guid>https://codethrasher.com/posts/injective_function/</guid><description>A function is injective (&amp;ldquo;one-to-one&amp;rdquo;) if
\(x \neq x^{\prime} \Longrightarrow f(x) \neq f(x^{\prime})\)
i.e. Given a set \(X\) and a set \(Y\), no two elements (say, \(x\) and \(x^{\prime}\)) from \(X\) map to the same element in \(Y\).
(Note: a function can be both injective and surjective, this image is injective only)</description></item><item><title>Inertial Frames</title><link>https://codethrasher.com/posts/inertial_frames/</link><pubDate>Wed, 21 Oct 2020 21:28:18 -0700</pubDate><guid>https://codethrasher.com/posts/inertial_frames/</guid><description>Above are two frames in Cartesian coordinates, \(S\) and \(S^{\prime}\). We have coordinates \((x, y, z)\), which define our dimensions.
Inertial Frame An inertial frame is a frame of reference for which acceleration is zero. In other words:
\begin{equation} \frac{d^{2}x}{dt^{2}} = \frac{d^{2}y}{dt^{2}} = \frac{d^{2}z}{dt^{2}} = 0 \end{equation}
In the absence of gravity if \(S\) and \(S^{\prime}\) are two inertial frames they can only differ from each other by (and/or):</description></item><item><title>Homogeneous (Physics)</title><link>https://codethrasher.com/posts/homogeneous/</link><pubDate>Wed, 21 Oct 2020 21:28:15 -0700</pubDate><guid>https://codethrasher.com/posts/homogeneous/</guid><description>Homogeneous means that location is not preferred, that the physics are the same at any point.
Specifically, in Astrophysics and Cosmology, it means that there is no preferred direction in space, it behaves the same no matter where you (as an observer) stand.
This is subtly different from isotropy, which is only concerned with the physical characteristics of the object (universe) rather than the object&amp;rsquo;s behavior (wrt physical law).</description></item><item><title>Generalized Coordinates</title><link>https://codethrasher.com/posts/generalized_coordinates/</link><pubDate>Wed, 21 Oct 2020 21:28:12 -0700</pubDate><guid>https://codethrasher.com/posts/generalized_coordinates/</guid><description>Generalized coordinates are useful when calculating Lagrangians or Hamiltonians.
The term itself, refers to the parameters that describe the configuration of a system.
For instance, to describe the position of a point on a circle, one could use its rectangular (Cartesian) coordinates, spherical coordinates, or cylindrical coordinates. Buth with generalized coordinates a reference doesn&amp;rsquo;t need to be made to the specific coordinate system, rather it could be abstracted into something more general as coordinates \((q_{1}, q_{2},&amp;hellip;q_{n})\).</description></item><item><title>General Relativity</title><link>https://codethrasher.com/posts/general_relativity/</link><pubDate>Wed, 21 Oct 2020 21:28:09 -0700</pubDate><guid>https://codethrasher.com/posts/general_relativity/</guid><description>Concepts Inertial Frames Newtons Laws of Motion</description></item><item><title>Galilean Transformations</title><link>https://codethrasher.com/posts/galilean_transformations/</link><pubDate>Wed, 21 Oct 2020 21:28:07 -0700</pubDate><guid>https://codethrasher.com/posts/galilean_transformations/</guid><description>In Newton&amp;rsquo;s formulation of spacetime, time is an absolute; meaning that every observer experiences the same flow of time. Assuming an inertial frame with only translation across the x axis, an event \(P\), can be translated between \(S\) and \(S^{\prime}\) by the following linear transformations:
\begin{equation} t^{\prime} = t\tag{1} \end{equation}
\begin{equation} x^{\prime} = x - vt\tag{2} \end{equation}
\begin{equation} y^{\prime} = y\tag{3} \end{equation}
\begin{equation} z^{\prime} = z\tag{4} \end{equation}
Switching between coordinates (\(S\) v.</description></item><item><title>Flatness Problem</title><link>https://codethrasher.com/posts/flatness_problem/</link><pubDate>Wed, 21 Oct 2020 21:28:05 -0700</pubDate><guid>https://codethrasher.com/posts/flatness_problem/</guid><description>Overview In the Big Bang model there are multiple parameters which appear to be &amp;ldquo;fine tuned&amp;rdquo; in that, small changes to a given parameter have massive effects on the evolution of the universe as a whole.
Wrt the flatness problem itself, the questionable parameter is the Density Parameter (\(\Omega\)), which is defined as
\begin{equation} \Omega \equiv \frac{\rho}{\rho_{c}}\tag{1} \end{equation}
where the subscript \(c\) is in reference to the &amp;ldquo;critical value&amp;rdquo; of density (\(\rho\)).</description></item><item><title>Equations of Motion</title><link>https://codethrasher.com/posts/equations_of_motion/</link><pubDate>Wed, 21 Oct 2020 21:28:03 -0700</pubDate><guid>https://codethrasher.com/posts/equations_of_motion/</guid><description>Linear Motion (under constant \(\hat{\mathbf{a}}\))
\begin{equation} \mathbf{v} = \mathbf{a}t + \mathbf{v_{0}}\tag{1} \end{equation}
\begin{equation} \mathbf{r} = \mathbf{r_{0}} + \mathbf{v_{0}}t + \frac{1}{2}\mathbf{a}t^{2}\tag{2} \end{equation}
\begin{equation} \mathbf{r} = \mathbf{r_{0}} + \frac{1}{2}(\mathbf{v} + \mathbf{v_0})t\tag{3} \end{equation}
\begin{equation} \mathbf{v^{2}} = \mathbf{v^{2}_0} + 2\mathbf{a}(\mathbf{r} - \mathbf{r_{0}})\tag{4} \end{equation}
\begin{equation} \mathbf{r} = \mathbf{r_{0}} + \mathbf{v}t - \frac{1}{2}\mathbf{a}t^{2}\tag{5} \end{equation}
where:
\(\mathbf{r_{0}}\) is the initial position \(\mathbf{r}\) is the final position \(\mathbf{v_{0}}\) is the initial velocity \(\mathbf{v}\) is the final velocity \(\mathbf{a}\) is the acceleration \(t\) is the time interval</description></item><item><title>Emacs Notes</title><link>https://codethrasher.com/posts/emacs/</link><pubDate>Wed, 21 Oct 2020 21:28:00 -0700</pubDate><guid>https://codethrasher.com/posts/emacs/</guid><description>Emacs notes (doom emacs)
Org handy cheatsheet: https://orgmode.org/orgcard.pdf
To get a TODO item created on the same level as the one in which you&amp;rsquo;re working (org-insert-todo-heading)
Add tag: To add a tag to a heading (* line) SPC m q (or C-c C-q) then type the tag name, should appear in gray
Tag search: To search all the tags: SPC o a m
Schedule/Deadline: To set something as scheduled in org-agenda (so it shows up when you SPC o A n) SPC m d s, similarly for setting a deadline for something SPC m d d</description></item><item><title>Degenerate Coordinate Systems</title><link>https://codethrasher.com/posts/degenerate_coordinate_systems/</link><pubDate>Wed, 21 Oct 2020 21:27:55 -0700</pubDate><guid>https://codethrasher.com/posts/degenerate_coordinate_systems/</guid><description>Any coordinate system which cannot describe an entirety of a space
As an example, polar coordinates \(r,\psi)\) are degenerate at \((0, \psi)\)</description></item><item><title>Curvature</title><link>https://codethrasher.com/posts/curvature/</link><pubDate>Wed, 21 Oct 2020 21:27:53 -0700</pubDate><guid>https://codethrasher.com/posts/curvature/</guid><description>TODO</description></item><item><title>Cosmic Inflation</title><link>https://codethrasher.com/posts/cosmic_inflation/</link><pubDate>Wed, 21 Oct 2020 21:27:51 -0700</pubDate><guid>https://codethrasher.com/posts/cosmic_inflation/</guid><description>Inflation Inflation (Cosmic) is a theory put forth (originally, by Alan Guth in his 1980 paper) to explain why, if the universe is full of mass, is it not curved in some way? Instead, it&amp;rsquo;s flat (see: Curvature).
This isotropy in its temperature/geometry seems to contradict Thermodynamics in that we should see varying pockets of temperature around us since it would take time for the heat to dissipate throughout the universe.</description></item><item><title>Configuration Space</title><link>https://codethrasher.com/posts/configuration_space/</link><pubDate>Wed, 21 Oct 2020 21:27:48 -0700</pubDate><guid>https://codethrasher.com/posts/configuration_space/</guid><description>The vector space defined by generalized coordinates.
Example:
The position of a particle in Euclidean 3-space is defined by the generalized coordinate \(q = (x, y, z)\), therefore its configuration space is \(Q = \mathbb{R}^{3}\)</description></item><item><title>Cartesian Product</title><link>https://codethrasher.com/posts/cartesian_product/</link><pubDate>Wed, 21 Oct 2020 21:27:43 -0700</pubDate><guid>https://codethrasher.com/posts/cartesian_product/</guid><description>If \(X\) and \(Y\) are sets, then we define the Cartesian Product \(X \times Y\) to be the collection of ordered pairs, e.g. \((x, y)\), whose first component lies in \(X\) and whose second component lies in \(Y\)
\(X \times Y = \{(x, y) | x \in X, y \in Y\}\)
An example would be \(\mathbb{R} \times \mathbb{R} = \mathbb{R}^{2}\) (i.e. the cartesian plane). \(\mathbb{R}^{2}\) is the cartesian product of &amp;ldquo;crossing&amp;rdquo; \(\mathbb{R}\) with itself.</description></item><item><title>Cardinality</title><link>https://codethrasher.com/posts/cardinality/</link><pubDate>Wed, 21 Oct 2020 21:27:40 -0700</pubDate><guid>https://codethrasher.com/posts/cardinality/</guid><description>Equality in Cardinality Two sets \(X\) and \(Y\) are equal iff there exists a bijection \(f : X \longrightarrow Y\) from \(X\) to \(Y\).</description></item><item><title>Black Holes as Primordial Dark Matter</title><link>https://codethrasher.com/posts/black_holes_as_primordial_dark_matter/</link><pubDate>Wed, 21 Oct 2020 21:27:37 -0700</pubDate><guid>https://codethrasher.com/posts/black_holes_as_primordial_dark_matter/</guid><description>source: Physicists Argue That Black Holes From the Big Bang Could Be the Dark Matter
Primordial Black Holes A &amp;ldquo;Primordial Black Hole&amp;rdquo; (PBH), is a black hole which has been around since nearly the time of the Big Bang.
PBH as Dark Matter The hypothesis that PBHs could be the dark matter cosomolgists tangentially observe was put forth in many papers (like this one from Johns Hopkins U.) around 2016. This idea was dismantled by the calculation which showed that if black holes had been around as long as PBHs are/were thought to have been around for, and in high enough numbers, we would see more pairs forming.</description></item><item><title>Black Hole Information Paradox</title><link>https://codethrasher.com/posts/black_hole_information_paradox/</link><pubDate>Wed, 21 Oct 2020 21:27:34 -0700</pubDate><guid>https://codethrasher.com/posts/black_hole_information_paradox/</guid><description>High-level The result of the marrying of QM with GR. (Initially, Hawking&amp;rsquo;s) calculations suggested that information would permanently disappear in a black hole. This runs afoul with the postulates of the Copenhagen Interpretation, in that information about a system is encoded in its wave function \(\Psi\) and, further, that that information is conserved.
TODO more technical details</description></item><item><title>Binary Relation</title><link>https://codethrasher.com/posts/binary_relation/</link><pubDate>Wed, 21 Oct 2020 21:27:27 -0700</pubDate><guid>https://codethrasher.com/posts/binary_relation/</guid><description>A binary relation \(R\) over sets \(X\) and \(Y\) is a subset of the cartesian product of \(X \times Y\). Where \(X\) is the domain, or set of departure of \(R\), and \(Y\) is the codomain, or set of destination of \(R\).
An element \(x \in X\) is related to \(y \in Y\), iff the ordered pair \((x, y)\) is found within the (above) subset.</description></item><item><title>Abiotic Process</title><link>https://codethrasher.com/posts/abiotic_process/</link><pubDate>Wed, 21 Oct 2020 21:27:20 -0700</pubDate><guid>https://codethrasher.com/posts/abiotic_process/</guid><description>An abiotic process is a process which occurs via abiotic resources (non-living physical/chemical elements) in the environment</description></item><item><title>Abiotic Process</title><link>https://codethrasher.com/posts/content/abiotic_process/</link><pubDate>Wed, 21 Oct 2020 21:27:12 -0700</pubDate><guid>https://codethrasher.com/posts/content/abiotic_process/</guid><description>An abiotic process is a process which occurs via abiotic resources (non-living physical/chemical elements) in the environment</description></item><item><title>Bijective Function</title><link>https://codethrasher.com/posts/bijective_function/</link><pubDate>Wed, 21 Oct 2020 21:26:54 -0700</pubDate><guid>https://codethrasher.com/posts/bijective_function/</guid><description>A function is bijective or &amp;ldquo;invertible&amp;rdquo; if it is
Both one-to-one and onto (injective and surjective)
In other words: each element of one set is paired with exactly one element of the other set, and vice versa</description></item><item><title>About</title><link>https://codethrasher.com/about/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://codethrasher.com/about/</guid><description>I&amp;rsquo;m Matt.
Welcome to the blog. It&amp;rsquo;s at times incoherent and unfocused&amp;hellip; a general dumping ground of thought.
I&amp;rsquo;m an Engineering leader with well over a decade of hands-on technical experience scaling and architecting systems. I&amp;rsquo;m motivated by long-term mastery and uncovering the shadows in my own thinking. I don&amp;rsquo;t like ambiguity.
Outside of my day job I prioritize the physical: Jiu Jitsu, skateboarding, and slowing down the steady march of time.</description></item><item><title>Set Theory</title><link>https://codethrasher.com/posts/content/set_theory/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://codethrasher.com/posts/content/set_theory/</guid><description>Concepts Relations Cardinality Binary Relation Symmetric Relation Transitive Relation Cartesian Product Reflexive Relation Surjective Function</description></item></channel></rss>