Compare commits

...

4 commits

10 changed files with 52 additions and 56 deletions

View file

@ -11,7 +11,7 @@
- soon... I may put something here.
% id = "games/oneshot"
+ ### :page: OneShot
+ :page: *OneShot*
% id = "01HA4HJKR3PBM0NJH7MZMYK6V9"
- buy: [Steam](https://store.steampowered.com/app/420530/OneShot/)
@ -20,7 +20,7 @@
- on little cat feet
% id = "games/the-talos-principle"
+ ### :page: The Talos Principle
+ :page: *The Talos Principle*
% id = "01H9R1NKAXN8NKBPYBEZASA1RA"
- buy: [Steam](https://store.steampowered.com/app/257510/The_Talos_Principle/)

View file

@ -8,7 +8,7 @@
I listen to a lot of music, just... almost never write about it. ---w---
% id = "01J8YY31QJQJYW1TTYSHKB2AV1"
- ### :folder: blog
- :folder: *blog*
% content.link = "music/reviews/aphex-twin/blue-calx"
id = "01JCY18RY6B6CTC3H8ME0FRZXC"
@ -44,11 +44,11 @@
% content.link = "music/fuck-drm"
id = "01HPECQ3ZE1YKC1FS2X23H77R2"
+ ### :folder: fuck DRM
+ :folder: *fuck DRM*
% content.link = "music/spotify"
id = "01HVNX7FMW6KJC9H3CQ7TX8ST6"
+ ### :folder: Spotify
+ :folder: *Spotify*
% id = "01H969NN1BR7BH7M7SXBPGB0WC"
+ in the future this section may grow another branch related to music making.

View file

@ -143,7 +143,7 @@ I started this website.
% id = "01JCGVBXW3B98P0M8CQCXJ2DJ7"
- a few months later, I slowly started [crawling out of my shell and hittin' truth](https://www.youtube.com/watch?v=cxfN-dFyzEQ){.secret}.
I added a little branch to the treehouse _mildly suggesting_ I was a furry to people who were curious enough to click around, and finally, over a year later, in September this year [I came out with a fursona][branch:01JCE80BJC51R6706Z1GD7VNA2].
I added a little branch to the treehouse _mildly suggesting_ I was a furry to people who were curious enough to click around, and finally, over a year later, in September this year [I came out with a fursona][branch:01J7S89Y467VSMGW5DCE1P2D75].
% id = "01JCGVBXW3KYD4Y9KZXFBSCWFW"
- as of writing this I'm still not displaying it very proudly on my website (my drawing skills are a constant work in progress!) but having it as my profile pic everywhere puts me at ease. ---w---

View file

@ -7,7 +7,7 @@
- and also more than just bit magic but I like how that sounds
% id = "01HPD4XQQ5GPQ20C6BPA8G670F"
- ### :folder: blog
- :folder: *blog*
% content.link = "programming/blog/cstring-starts-with"
id = "01JCGAM56KS2C6D4XZ1MRATXH4"
@ -42,34 +42,30 @@
redirect_from = ["about-treehouse"]
+ :page: about the treehouse
% id = "programming/projects"
content.link = "programming/projects"
+ ### :folder: projects
% id = "01HRG2RJCNKT9JJJVQ8WVRC9CA"
- ### :folder: languages
- :folder: *languages*
% content.link = "programming/languages/cxx"
id = "programming/languages/cxx"
+ #### :folder: C++
+ :folder: C++
% content.link = "programming/languages/javascript"
id = "programming/languages/javascript"
+ #### :page: JavaScript
+ :page: JavaScript
% content.link = "programming/languages/lua"
id = "programming/languages/lua"
+ #### :page: Lua
+ :page: Lua
% id = "01HRG2RJCN8J42NK0KWD3SBSJA"
- ### :folder: technologies
- :folder: *technologies*
% content.link = "programming/technologies/unreal-engine"
id = "programming/technologies/unreal-engine"
+ #### :folder: Unreal Engine
+ :folder: Unreal Engine
% content.link = "programming/opinions"
id = "programming/opinions"
+ ### :folder: opinions
+ :folder: *opinions*

View file

@ -113,10 +113,10 @@ you already have it on your computer.
- arguably there's [swc](https://swc.rs/) but that still requires parsing and reemitting the JS
% id = "01J2931RRHPYQ9SFZP42WRKR2D"
- a) this may not be a lossless process, and I would like to preserve all comments and spacing choices
- a\) this may not be a lossless process, and I would like to preserve all comments and spacing choices
% id = "01J2931RRHHD3RYZN97CVXR65G"
+ b) parsing is slow.
+ b\) parsing is slow.
one thing I tried was to automatically make all links in the generated HTML have something akin to a `?cache=` query that would make the server inject a "cache forever" policy, but it extended build times pretty much twofold.
% id = "01J2931RRH043ZBHW4H58SP5D4"

View file

@ -1,23 +1,17 @@
- note: I haven't updated this in a while, because I hardly ever do projects outside the treehouse nowadays ---w---
% id = "programming/projects/stitchkit"
content.link = "programming/projects/stitchkit"
+ ### Stitchkit
A Hat in Time mod stitching toolkit
+ :page: stitchkit - A Hat in Time mod stitching toolkit
% id = "programming/projects/muscript"
content.link = "programming/projects/muscript"
+ ### MuScript
UnrealScript compiler, part of stitchkit
+ :page: MuScript - UnrealScript compiler, part of stitchkit
% id = "programming/projects/yarnbox"
content.link = "programming/projects/yarnbox"
+ ### Yarnbox
A Hat in Time bytecode injection mod loader
+ :page: Yarnbox - A Hat in Time bytecode injection mod loader
% id = "programming/projects/shelter"
content.link = "programming/projects/shelter"
+ ### shelter
ideas for an operating system; not actually implemented
+ :page: shelter - ideas for an operating system; not actually implemented

View file

@ -11,10 +11,10 @@
% id = "programming/technologies/unreal-engine/blueprint"
content.link = "programming/technologies/unreal-engine/blueprint"
+ ### :page: thoughts on Blueprint
+ :page: thoughts on Blueprint
% id = "01HP1FESY5WVJG4X80AZ4ZBX5D"
- ### :folder: random but cool things
- :folder: random but cool things
% content.link = "programming/technologies/unreal-engine/generated-body"
id = "01HV1DGFHP6GB268MDGGDXMR12"

View file

@ -1,8 +1,14 @@
// NOTE: The server never fulfills this request, it stalls forever.
// Once the connection is closed, we try to connect with the server until we establish a successful
// connection. Then we reload the page.
let shouldReload = true;
addEventListener("beforeunload", () => {
shouldReload = false;
});
await fetch("/dev/live-reload/stall").catch(async () => {
while (true) {
while (shouldReload) {
try {
let response = await fetch("/dev/live-reload/back-up");
if (response.status == 200) {