From 99018e37c3e9a2d84af7d0f55715bb44c3904e13 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Fri, 26 Jun 2026 14:17:30 -0230 Subject: restructure --- .gitignore | 1 - Makefile | 5 +-- content/articles/_index.md | 7 ---- content/articles/automotive-spreadsheets.md | 20 ---------- content/articles/foo.md | 6 --- content/articles/header-test.md | 20 ---------- content/articles/tools-i-use.md | 58 ----------------------------- content/creds.md | 9 +++++ content/notes/automotive-spreadsheets.md | 20 ++++++++++ content/notes/foo.md | 6 +++ content/notes/header-test.md | 20 ++++++++++ content/notes/tools-i-use.md | 58 +++++++++++++++++++++++++++++ content/proj.md | 12 ++++++ content/projects/index.md | 12 ------ content/resume/index.md | 12 ------ hugo.toml | 12 +++--- layouts/articles/page.html | 16 -------- layouts/notes/page.html | 16 ++++++++ layouts/resume/page.html | 3 -- 19 files changed, 148 insertions(+), 165 deletions(-) delete mode 100644 content/articles/_index.md delete mode 100644 content/articles/automotive-spreadsheets.md delete mode 100644 content/articles/foo.md delete mode 100644 content/articles/header-test.md delete mode 100644 content/articles/tools-i-use.md create mode 100644 content/creds.md create mode 100644 content/notes/automotive-spreadsheets.md create mode 100644 content/notes/foo.md create mode 100644 content/notes/header-test.md create mode 100644 content/notes/tools-i-use.md create mode 100644 content/proj.md delete mode 100644 content/projects/index.md delete mode 100644 content/resume/index.md delete mode 100644 layouts/articles/page.html create mode 100644 layouts/notes/page.html delete mode 100644 layouts/resume/page.html diff --git a/.gitignore b/.gitignore index 9e0294d..c4b387a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ .hugo_build.lock public/ -static/resume.png diff --git a/Makefile b/Makefile index b4f36a2..07465dc 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ MODS = $(shell git submodule | awk '{print $$2}') -build: fmt ${MODS} static/resume.png +all: fmt ${MODS} hugo build find public -name '*.html' -exec tidy -mqi {} \; @@ -19,9 +19,6 @@ serve: build clean: rm -rf public -static/resume.png: static/resume.pdf - gs -dNOPAUSE -dBATCH -sDEVICE=png16m -r300 -sOutputFile=$@ $< - ${MODS}: git submodule update --init --recursive diff --git a/content/articles/_index.md b/content/articles/_index.md deleted file mode 100644 index bc3438a..0000000 --- a/content/articles/_index.md +++ /dev/null @@ -1,7 +0,0 @@ -+++ -title = 'Articles' -date = 2025-12-23T08:30:00-07:00 -draft = false -+++ - -Tempor est exercitation ad qui pariatur quis adipisicing aliquip nisi ea consequat ipsum occaecat. Nostrud consequat ullamco laboris fugiat esse esse adipisicing velit laborum ipsum incididunt ut enim. Dolor pariatur nulla quis fugiat dolore excepteur. Aliquip ad quis aliqua enim do consequat. diff --git a/content/articles/automotive-spreadsheets.md b/content/articles/automotive-spreadsheets.md deleted file mode 100644 index caf57fa..0000000 --- a/content/articles/automotive-spreadsheets.md +++ /dev/null @@ -1,20 +0,0 @@ -+++ -title = 'Automotive Spreadsheets' -date = '2026-01-10T17:22:57-05:00' -tags = ["cars"] -draft = false -+++ - -Collection of spreadsheets for calculating suspension dynamics, brake bias, and so on. -_I'm not an engineer, so use at your own risk._ - -They're pieced together using information from several sources: - -- _Brake Handbook_, Fred Puhn, 1985. -- _Engineer to Win_, Carroll Smith, 1984. -- _Race Car Vehicle Dynamics_, Milliken & Milliken, 1994. -- [_Springs & Dampers_](https://optimumg.com/springsdampers1/): Parts One through Six, Matt Giaraffa: OptimumG, 2018. -- _Tune to Win_, Carroll Smith, 1978. - -# Spreadsheets -{{< asset-table patterns="auto/*.ods" >}} diff --git a/content/articles/foo.md b/content/articles/foo.md deleted file mode 100644 index 6300edf..0000000 --- a/content/articles/foo.md +++ /dev/null @@ -1,6 +0,0 @@ -+++ -title = 'Foo' -date = '2026-01-21T15:16:20-05:00' -tags = ["cars", "foo", "bar"] -draft = true -+++ diff --git a/content/articles/header-test.md b/content/articles/header-test.md deleted file mode 100644 index e401e77..0000000 --- a/content/articles/header-test.md +++ /dev/null @@ -1,20 +0,0 @@ -+++ -title = 'Header Test' -date = '2026-01-13T09:37:54-05:00' -tags = [] -draft = true -+++ - -Lorem ipsum dolor sit amet. - -# First level - -Lorem ipsum dolor sit amet. - -## Second level - -Lorem ipsum dolor sit amet. - -### Third level - -Lorem ipsum dolor sit amet. diff --git a/content/articles/tools-i-use.md b/content/articles/tools-i-use.md deleted file mode 100644 index 298c7d3..0000000 --- a/content/articles/tools-i-use.md +++ /dev/null @@ -1,58 +0,0 @@ -+++ -title = 'Tools I Use' -date = '2026-01-02T15:24:53-03:30' -tags = [] -draft = false -+++ - -Here is a list of some of the tools I use day-to-day. - - -# Software - -- [Gentoo Linux](https://www.gentoo.org/) --- - One of the most solid barebones Linux distros I know of. - I use it on my desktop and laptop computers. -- [OpenBSD](https://www.openbsd.org/) --- - Secure server operating system. - I use it to serve this website. - - Unlike a GNU/Linux distro, OpenBSD is a single homogeneous system. - Everything makes sense and the documentation is really good. - Reminds me of [Plan 9](https://plan9.io/plan9/) in that respect. - -- [Acme](http://acme.cat-v.org/) --- - Originally developed for Plan 9, Acme is [Rob Pike's](https://commandcenter.blogspot.com/) user interface for programmers. - It's what we now call an IDE. - I'm writing this article in Acme right now. - - Every piece of text in Acme can be a executed or piped into/out-of a script. - Very powerful. -- [Dwm](https://dwm.suckless.org/) --- - Nice tiling window manager for X11. - Goes well with other Suckless accoutrements. -- [Syncthing](https://syncthing.net/) --- - Syncthing is a sort of distributed filesystem. - I use it to synchronize files between my laptop, desktop, and phone. - - -# Hardware - -- [Thinkpad T420s](https://www.thinkwiki.org/wiki/Category:T420s) --- - I've had this laptop for a few years now; no complaints. - - I replaced the hard drive with an SSD and threw some extra DDR3 in there. - The 10+ year old 4-thread Sandy Bridge i5 is actually fine. - I'm waiting for someone to make a [serious multithreaded](https://netlib.org/utk/papers/advanced-computers/tera.html) RISC-V CPU, but unfortunately everyone seems to be obsessed with high clock speeds and out-of-order-execution chips that use as much die space and power as possible. - That [Esperanto ET-SoC-1](https://youtu.be/LmUu-lN7D0k) looked promising, but apparently they went out of business or something? - - Anyway, the T420s has a sturdy magnesium frame, a good keyboard, and a three-button touchpad which is essential for Acme and CAD programs---I don't know how people live without one. - -- [USBtin](https://www.fischl.de/usbtin/) --- - Simple USB-to-CAN interface by Thomas Fischl. - Works with [SocketCAN](https://docs.kernel.org/networking/can.html). - Used to test and debug systems that incorporate a CAN bus, like [this](http://git.samanthony.xyz/can-gauge-interface.git/). - -- [Espotek Labrador](https://espotek.com/labrador/) --- - Combined oscilloscope, signal generator, power supply, logic analyzer, and multimeter. - Obviously a tiny $30 board is not as good as real lab equipment, but it's small and cheap and good enough for now. diff --git a/content/creds.md b/content/creds.md new file mode 100644 index 0000000..1133389 --- /dev/null +++ b/content/creds.md @@ -0,0 +1,9 @@ ++++ +title = 'Credentials' +date = '2026-01-12T16:40:43-05:00' +tags = [] +draft = false ++++ + +- [Résumé PDF →](/resume.pdf) +- [University transcript PDF →](/transcript_redacted.pdf) diff --git a/content/notes/automotive-spreadsheets.md b/content/notes/automotive-spreadsheets.md new file mode 100644 index 0000000..caf57fa --- /dev/null +++ b/content/notes/automotive-spreadsheets.md @@ -0,0 +1,20 @@ ++++ +title = 'Automotive Spreadsheets' +date = '2026-01-10T17:22:57-05:00' +tags = ["cars"] +draft = false ++++ + +Collection of spreadsheets for calculating suspension dynamics, brake bias, and so on. +_I'm not an engineer, so use at your own risk._ + +They're pieced together using information from several sources: + +- _Brake Handbook_, Fred Puhn, 1985. +- _Engineer to Win_, Carroll Smith, 1984. +- _Race Car Vehicle Dynamics_, Milliken & Milliken, 1994. +- [_Springs & Dampers_](https://optimumg.com/springsdampers1/): Parts One through Six, Matt Giaraffa: OptimumG, 2018. +- _Tune to Win_, Carroll Smith, 1978. + +# Spreadsheets +{{< asset-table patterns="auto/*.ods" >}} diff --git a/content/notes/foo.md b/content/notes/foo.md new file mode 100644 index 0000000..6300edf --- /dev/null +++ b/content/notes/foo.md @@ -0,0 +1,6 @@ ++++ +title = 'Foo' +date = '2026-01-21T15:16:20-05:00' +tags = ["cars", "foo", "bar"] +draft = true ++++ diff --git a/content/notes/header-test.md b/content/notes/header-test.md new file mode 100644 index 0000000..e401e77 --- /dev/null +++ b/content/notes/header-test.md @@ -0,0 +1,20 @@ ++++ +title = 'Header Test' +date = '2026-01-13T09:37:54-05:00' +tags = [] +draft = true ++++ + +Lorem ipsum dolor sit amet. + +# First level + +Lorem ipsum dolor sit amet. + +## Second level + +Lorem ipsum dolor sit amet. + +### Third level + +Lorem ipsum dolor sit amet. diff --git a/content/notes/tools-i-use.md b/content/notes/tools-i-use.md new file mode 100644 index 0000000..298c7d3 --- /dev/null +++ b/content/notes/tools-i-use.md @@ -0,0 +1,58 @@ ++++ +title = 'Tools I Use' +date = '2026-01-02T15:24:53-03:30' +tags = [] +draft = false ++++ + +Here is a list of some of the tools I use day-to-day. + + +# Software + +- [Gentoo Linux](https://www.gentoo.org/) --- + One of the most solid barebones Linux distros I know of. + I use it on my desktop and laptop computers. +- [OpenBSD](https://www.openbsd.org/) --- + Secure server operating system. + I use it to serve this website. + + Unlike a GNU/Linux distro, OpenBSD is a single homogeneous system. + Everything makes sense and the documentation is really good. + Reminds me of [Plan 9](https://plan9.io/plan9/) in that respect. + +- [Acme](http://acme.cat-v.org/) --- + Originally developed for Plan 9, Acme is [Rob Pike's](https://commandcenter.blogspot.com/) user interface for programmers. + It's what we now call an IDE. + I'm writing this article in Acme right now. + + Every piece of text in Acme can be a executed or piped into/out-of a script. + Very powerful. +- [Dwm](https://dwm.suckless.org/) --- + Nice tiling window manager for X11. + Goes well with other Suckless accoutrements. +- [Syncthing](https://syncthing.net/) --- + Syncthing is a sort of distributed filesystem. + I use it to synchronize files between my laptop, desktop, and phone. + + +# Hardware + +- [Thinkpad T420s](https://www.thinkwiki.org/wiki/Category:T420s) --- + I've had this laptop for a few years now; no complaints. + + I replaced the hard drive with an SSD and threw some extra DDR3 in there. + The 10+ year old 4-thread Sandy Bridge i5 is actually fine. + I'm waiting for someone to make a [serious multithreaded](https://netlib.org/utk/papers/advanced-computers/tera.html) RISC-V CPU, but unfortunately everyone seems to be obsessed with high clock speeds and out-of-order-execution chips that use as much die space and power as possible. + That [Esperanto ET-SoC-1](https://youtu.be/LmUu-lN7D0k) looked promising, but apparently they went out of business or something? + + Anyway, the T420s has a sturdy magnesium frame, a good keyboard, and a three-button touchpad which is essential for Acme and CAD programs---I don't know how people live without one. + +- [USBtin](https://www.fischl.de/usbtin/) --- + Simple USB-to-CAN interface by Thomas Fischl. + Works with [SocketCAN](https://docs.kernel.org/networking/can.html). + Used to test and debug systems that incorporate a CAN bus, like [this](http://git.samanthony.xyz/can-gauge-interface.git/). + +- [Espotek Labrador](https://espotek.com/labrador/) --- + Combined oscilloscope, signal generator, power supply, logic analyzer, and multimeter. + Obviously a tiny $30 board is not as good as real lab equipment, but it's small and cheap and good enough for now. diff --git a/content/proj.md b/content/proj.md new file mode 100644 index 0000000..66152bd --- /dev/null +++ b/content/proj.md @@ -0,0 +1,12 @@ ++++ +title = 'Projects' +date = '2026-01-10T11:56:33-05:00' +tags = [] +draft = false ++++ + +| Git repositories | | +| --- | --- | +| Self-hosted | [git.samanthony.xyz/](https://git.samanthony.xyz/) | +| Sourcehut | [sr.ht/~sma/](https://sr.ht/~sma/) | +| Github | [github.com/sam-rba/](https://github.com/sam-rba/) | diff --git a/content/projects/index.md b/content/projects/index.md deleted file mode 100644 index bdb80da..0000000 --- a/content/projects/index.md +++ /dev/null @@ -1,12 +0,0 @@ -+++ -title = 'Projects' -date = '2026-01-10T11:56:33-05:00' -tags = [] -draft = false -+++ - -| Source code repositories | | -| --- | --- | -| Self-hosted | [git.samanthony.xyz/](https://git.samanthony.xyz/) | -| Sourcehut | [sr.ht/~sma/](https://sr.ht/~sma/) | -| Github | [github.com/sam-rba/](https://github.com/sam-rba/) | diff --git a/content/resume/index.md b/content/resume/index.md deleted file mode 100644 index f193f4e..0000000 --- a/content/resume/index.md +++ /dev/null @@ -1,12 +0,0 @@ -+++ -title = 'Résumé' -date = '2026-01-12T16:40:43-05:00' -tags = [] -draft = false -+++ - -- [Résumé PDF →](/resume.pdf) -- [University transcript PDF →](/transcript_redacted.pdf) - -# Résumé preview -![Résumé](/resume.png) diff --git a/hugo.toml b/hugo.toml index 2ae7654..51ec898 100644 --- a/hugo.toml +++ b/hugo.toml @@ -21,16 +21,16 @@ unsafe = true weight = 1 [[menus.main]] - name = 'Résumé' - pageRef = 'resume' + name = 'Projects' + pageRef = '/proj' weight = 2 [[menus.main]] - name = 'Articles' - pageRef = '/articles' + name = 'Credentials' + pageRef = 'creds' weight = 3 [[menus.main]] - name = 'Projects' - pageRef = '/projects' + name = 'Notes' + pageRef = '/notes' weight = 4 diff --git a/layouts/articles/page.html b/layouts/articles/page.html deleted file mode 100644 index 22a1ac4..0000000 --- a/layouts/articles/page.html +++ /dev/null @@ -1,16 +0,0 @@ -{{ define "main" }} -
-

{{ .Title }}

-

- {{- partial "date.html" .Date -}} - {{- if gt .Lastmod .Date -}} - — modified {{ partial "date.html" .Lastmod }} - {{- end -}} -
- {{- if .Page.GetTerms "tags" }} - Tags: {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) -}}. - {{- end }} -

-
-{{ .Content }} -{{ end }} diff --git a/layouts/notes/page.html b/layouts/notes/page.html new file mode 100644 index 0000000..22a1ac4 --- /dev/null +++ b/layouts/notes/page.html @@ -0,0 +1,16 @@ +{{ define "main" }} +
+

{{ .Title }}

+

+ {{- partial "date.html" .Date -}} + {{- if gt .Lastmod .Date -}} + — modified {{ partial "date.html" .Lastmod }} + {{- end -}} +
+ {{- if .Page.GetTerms "tags" }} + Tags: {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) -}}. + {{- end }} +

+
+{{ .Content }} +{{ end }} diff --git a/layouts/resume/page.html b/layouts/resume/page.html deleted file mode 100644 index 9983b08..0000000 --- a/layouts/resume/page.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ define "main" }} -{{ .Content }} -{{ end }} -- cgit v1.2.3