From f58e9da78b234ba2fd04af2e1c73833c20b681f6 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Sun, 24 Nov 2019 21:44:58 -0600 Subject: [PATCH] update --- config.toml | 2 +- .../analogies.md => 2019-03-04-server-analogy.md} | 10 ++++++---- content/pages/setup.md | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) rename content/{pages/analogies.md => 2019-03-04-server-analogy.md} (87%) diff --git a/config.toml b/config.toml index 2d03e20..f7a8395 100644 --- a/config.toml +++ b/config.toml @@ -14,5 +14,5 @@ nav_links = [ { url = "/", text = "home" }, { url = "/pages/about", text = "about" }, { url = "/pages", text = "all pages" }, - { url = "https://git.iptq.io/michael", text = "projects »" }, + { url = "/projects", text = "projects »" }, ] diff --git a/content/pages/analogies.md b/content/2019-03-04-server-analogy.md similarity index 87% rename from content/pages/analogies.md rename to content/2019-03-04-server-analogy.md index dc7455e..e9b080f 100644 --- a/content/pages/analogies.md +++ b/content/2019-03-04-server-analogy.md @@ -1,10 +1,12 @@ +++ -title = "interesting cs analogies" +title = "accept server analogy" +date = 2019-03-04 + +[taxonomies] +tags = [] +++ -stupid analogies i think of in my free time - -## socket server + multiple clients analogy +This is just something stupid I thought of recently, but decided to write about it anyway. If you think about it, a server waiting for clients is kind of like the host at the front of a restaurant leading guests to tables. They don't actually take orders or serve food, they just stand at the front and wait for new guests to arrive. Then there's another waiter that's specifically assigned to take that table's orders. diff --git a/content/pages/setup.md b/content/pages/setup.md index fdf3a40..ed79dd0 100644 --- a/content/pages/setup.md +++ b/content/pages/setup.md @@ -78,7 +78,7 @@ And a slew of other non-free apps that have pretty specific uses, though I think The stack for this website looks like: -- The [source code](https://git.iptq.io/michael/blog) is written as a set of Gutenberg config files. +- The [source code](https://iptq.io/projects/blog) is written as a set of Gutenberg config files. - This is then transpiled into static HTML + resources using [Zola](https://getzola.org/), a static site generator written with Rust. - Changes are deployed using Git hooks. - Static files are served from a web root using [nginx](https://nginx.org/en/) through a virtual host.