Skip to content

Commit

Permalink
adding everything
Browse files Browse the repository at this point in the history
  • Loading branch information
Jemoka committed Apr 17, 2022
0 parents commit 4714dfb
Show file tree
Hide file tree
Showing 91 changed files with 1,646 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: github pages

on:
push:
branches:
- main # Set a branch to deploy
pull_request:

jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
# extended: true

- name: Build
run: hugo --minify

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
73 changes: 73 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Build and Release Folders
bin/
bin-debug/
bin-release/
[Oo]bj/ # FlashDevelop obj
[Bb]in/ # FlashDevelop bin

# Other files and folders
.settings/

# lock
*.lock

# Executables
*.swf
*.air
*.ipa
*.apk

# Hugo
public/

# Backup Files
*.markdown~
*.md~

# Apache
.htpasswd

# Logs
logs
*.log

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Build directories
public
dist

# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
node_modules
package-lock.json
bower_components

# Mac File System File...utterly useless to anyone but me.
.DS_Store

# AWS stuff for publishing static files
.aws-credentials.json
.awspublish*

/#config.toml#
/.env
*/ltximg/*
6 changes: 6 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

16 changes: 16 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
baseURL = 'http://example.org/'
languageCode = 'en-us'
title = 'knowledgebase'
refLinksErrorLevel = "WARNING"

[angolia]
index = "blog"
appID = "WMIN97VLG4"

[params]
author = "Houjun Liu"
description = "eat a chicken efficiently"

[markup.goldmark.renderer]
unsafe = true

12 changes: 12 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
baseURL: 'http://example.org/'
languageCode: en-us
title: knowledgebase
refLinksErrorLevel: WARNING

params:
author: Houjun Liu
description: eat a chicken efficiently

markup.goldmark.renderer:
unsafe: true

32 changes: 32 additions & 0 deletions content/posts/KBhAPStats.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
+++
author = ["Houjun Liu"]
tags = ["index"]
draft = false
+++

[AP Statistics]({{< relref "KBhAPStats.md" >}}) is an examination by the [CollegeBoard]({{< relref "KBhcollegeboard.md" >}}).


## Non-Focus Mistakes {#non-focus-mistakes}

- file:///Users/houliu/Documents/School Work/The Bible/APStats/APStats5Steps.pdf
- file:///Users/houliu/Documents/School Work/The Bible/APStats/APStats5Steps.pdf
- file:///Users/houliu/Documents/School Work/The Bible/APStats/APStats5Steps.pdf
- Interpretation of regression outputs


## Backlog {#backlog}

- T-Tests, Z-Tests
- Chi-square
- file:///Users/houliu/Documents/School Work/The Bible/APStats/APStats5Steps.pdf
- file:///Users/houliu/Documents/School Work/The Bible/APStats/APStats5Steps.pdf
- file:///Users/houliu/Documents/School Work/The Bible/APStats/APStats5Steps.pdf
- file:///Users/houliu/Documents/School Work/The Bible/APStats/APStats5Steps.pdf
- file:///Users/houliu/Documents/School Work/The Bible/APStats/APStats5Steps.pdf, \\(\hat{p}\\)
- file:///Users/houliu/Documents/School Work/The Bible/APStats/APStats5Steps.pdf


## Notes {#notes}

- [confidence interval]({{< relref "KBhconfidence_interval.md" >}})
12 changes: 12 additions & 0 deletions content/posts/KBhagrp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
+++
author = ["Houjun Liu"]
draft = false
+++

[AgRP]({{< relref "KBhagrp.md" >}}) is a type of neurons that stimulates food intake.

- Inhibit metacortin
- Activate [NPY]({{< relref "KBhnpy.md" >}})
- Release [GABA]({{< relref "KBhgaba.md" >}})

Diet-induced [obesity]({{< relref "KBhobesity.md" >}}) blunts [AgRP]({{< relref "KBhagrp.md" >}}) response, and so, because [AgRP]({{< relref "KBhagrp.md" >}}) plays a part in [thermoregulation]({{< relref "KBhthermoregulation.md" >}}), diet-inducsed [obesity]({{< relref "KBhobesity.md" >}}) responds less to temperature changes.
7 changes: 7 additions & 0 deletions content/posts/KBhanoushka_krishnan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
+++
title = "Anoushka Krishnan"
author = ["Houjun Liu"]
draft = false
+++

Anoushka is a student at Nueva, also the host of [Project80]({{< relref "KBhproject80.md" >}}), among other things.
7 changes: 7 additions & 0 deletions content/posts/KBhapr_paradox.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
+++
title = "APR Paradox"
author = ["Houjun Liu"]
draft = false
+++

If we take [entangled]({{< relref "KBhentangled.md" >}}) [qubit]({{< relref "KBhqubits.md" >}})s, and separate them real far away, their behavior would be the same even despite it will take longer for light to travel.
5 changes: 5 additions & 0 deletions content/posts/KBhasee_prism.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = "ASEE Prism"
author = ["Houjun Liu"]
draft = false
+++
36 changes: 36 additions & 0 deletions content/posts/KBhatoms_as_qubits.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
+++
title = "atoms as qubits"
author = ["Houjun Liu"]
draft = false
+++

You can use atoms as many different types of [qubits]({{< relref "KBhqubits.md" >}}).


## manipulating physical qubits {#manipulating-physical-qubits}

To make [physical qubits]({{< relref "KBhphysical_qubits.md" >}}) go to different states, we will again use something in the ancillary states. Rotating it to $z$---leverage one lazer to make it fall; \\(rx\\), \\(ry\\), we leverage combinations of two light.


## various qubit implementations {#various-qubit-implementations}

Implementations of [physical qubits]({{< relref "KBhphysical_qubits.md" >}})

| Type | Superconductor | Ions | Atoms |
|---------------------------------------------------------|-------------------------------|----------------------|-----------------------|
| Company | Google, IBM, Rigetti | IonQ, Honeywell | Atom Computing, QuEra |
| Nature | Artifical | Natural | Natural |
| Calibration | Individual calibration | Naturally calibrated | Naturally calibrated |
| [Coherence Time]({{< relref "KBhcoherence_time.md" >}}) | Short | Long | Long |
| Connectivity | Adjacent connectivity | All-to-all | More than adjacent |
| Scalability | Compatible with existing tech | Not easily scalable | Potentially scalable |
| Speed | Fast gates | Kinda fast | Untested |


## possible uses for qubits {#possible-uses-for-qubits}

Here are some possible uses for [physical qubits]({{< relref "KBhphysical_qubits.md" >}})

- Traveling salesman
- Research + simulations
- Cryptography
5 changes: 5 additions & 0 deletions content/posts/KBhauthoritarianism.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = "Authoritarianism"
author = ["Houjun Liu"]
draft = false
+++
11 changes: 11 additions & 0 deletions content/posts/KBhbloch_sphere.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
+++
title = "bloch sphere"
author = ["Houjun Liu"]
draft = false
+++

The [bloch sphere]({{< relref "KBhbloch_sphere.md" >}}) is a sphere encoding all possible probabilities shared between two axis, \\(|u\big>\\) and \\(|d\big>\\).

{{< figure src="/ox-hugo/2022-03-19_21-56-36_screenshot.png" >}}

You will notice that its a unit sphere, in which any magnitude has size \\(1\\). Hence, probabilities would result as projected onto each of the directions.
9 changes: 9 additions & 0 deletions content/posts/KBhcategory.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
+++
title = "category"
author = ["Houjun Liu"]
draft = false
+++

A [category]({{< relref "KBhcategory.md" >}}) is defined as:

- collection of [objects]({{< relref "KBhobjects.md" >}}), where if \\(X\\) is an [object]({{< relref "KBhobjects.md" >}}) of \\(C\\) we write \\(X \in C\\)
7 changes: 7 additions & 0 deletions content/posts/KBhcategory_theory.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
+++
title = "category theory"
author = ["Houjun Liu"]
draft = false
+++

An abstract study of mathematics based on [categories]({{< relref "KBhcategory.md" >}}), [functors]({{< relref "KBhfunctor.md" >}}), and [natural transformations]({{< relref "KBhnatural_transformations.md" >}}).
7 changes: 7 additions & 0 deletions content/posts/KBhcollege_application.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
+++
title = "college application"
author = ["Houjun Liu"]
draft = false
+++

[College application]({{< relref "KBhcollege_application.md" >}}) is the process of applying to an American college.
5 changes: 5 additions & 0 deletions content/posts/KBhcollegeboard.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = "CollegeBoard"
author = ["Houjun Liu"]
draft = false
+++
5 changes: 5 additions & 0 deletions content/posts/KBhcomposite_system.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = "composite system"
author = ["Houjun Liu"]
draft = false
+++
38 changes: 38 additions & 0 deletions content/posts/KBhconfidence_interval.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
+++
author = ["Houjun Liu"]
draft = false
+++

## proportional confidence intervals {#proportional-confidence-intervals}

We will measure a single [stastistic]({{< relref "KBhstastistic.md" >}}) from a large population, and call it the [point estimate]({{< relref "KBhpoint_estimate.md" >}}). This is usually denoted as \\(\hat{p}\\).

Given a proportion \\(\hat{p}\\) ("95% of sample), the range which would possibly contain it as part of its \\(2\sigma\\) range is the \\(95\\%\\) confidence interval.

Therefore, given a \\(\hat{p}\\) the plausible interval for its confidence is:

\begin{equation}
\hat{p} \pm z^\* \sqrt{\frac{\hat{p}(1-\hat{p})}{n}}
\end{equation}

where, \\(n\\) is the sample size, \\(\hat{p}\\) is the [point estimate]({{< relref "KBhpoint_estimate.md" >}}), and \\(z\*=1.96\\) is the [critical value]({{< relref "KBhcritical_value.md" >}}), the [z-score]({{< relref "KBhz_score.md" >}}) denoting \\(95\\%\\) confidence (or any other desired confidence level).


## conditions for proportional confidence interval {#conditions-for-proportional-confidence-interval}

There are the conditions that make a [proportional confidence interval](#proportional-confidence-intervals) work

- distribution is normal
- \\(n\hat{p}\\) and \\(n(1-\hat{p})\\) are both \\(>10\\)
- we are sampling with replacement, or otherwise sampling \\(<10\\%\\) of population (otherwise, we need to apply a finite population correction


## value confidence intervals {#value-confidence-intervals}

The expression is:

\begin{equation}
\bar{x} \pm t^\* \frac{s}{\sqrt{n}}
\end{equation}

where \\(t\*\\) is the \\(t\\) score of the desired power level with the correct degrees of freedom; \\(s\\) the sample standard deviation, \\(n\\) the sample size, and \\(\har{x}\\) the mean.
4 changes: 4 additions & 0 deletions content/posts/KBhcorrelation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
+++
author = ["Houjun Liu"]
draft = false
+++
7 changes: 7 additions & 0 deletions content/posts/KBhcoveather.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
+++
title = "coveather"
author = ["Houjun Liu"]
draft = false
+++

[coveather]({{< relref "KBhcoveather.md" >}}) is a novel consensus algorithm based on the [proof of work]({{< relref "KBhproof_of_work.md" >}}) mechanism.
4 changes: 4 additions & 0 deletions content/posts/KBhcritical_value.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
+++
author = ["Houjun Liu"]
draft = false
+++
12 changes: 12 additions & 0 deletions content/posts/KBhcriticism_of_the_new_deal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
+++
title = "criticism of the New Deal (See file KBhnew_deal.org)"
author = ["Houjun Liu"]
draft = false
+++

:ID: 4AEBACF9-4715-4CF6-9538-585B31CBDA74

criticized the [New Deal]({{< relref "KBhnew_deal.md" >}}) from all sides. Senator Huy P. Long claimed to "show our wealth." nullification from conservative supreme court, FDR threatened to restructure + hurts his coalition.

- FDR ordered cuts in spending
- 1938 midterms: Republicans can block programs --- gained control of congress + created ability to gain control
7 changes: 7 additions & 0 deletions content/posts/KBhderived_variable.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
+++
title = "derived variable"
author = ["Houjun Liu"]
draft = false
+++

A derived variable is a mapping between states to a set, usually the natural numbers. Remember, if we can, given a state and match it to a number and show a relation which would iterate the state and decrease the states' number. We can show that the algorithm terminates.
Loading

0 comments on commit 4714dfb

Please sign in to comment.