website-xp-phone 2.3.0 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/build/blogDirsPlugin.ts +100 -0
  2. package/package.json +15 -8
  3. package/public/blog/archive/eighth-post-lost-in-the-sauce.json +36 -0
  4. package/public/blog/archive/noise/eleventh-post-discussion-java-gist.md +5 -0
  5. package/public/blog/archive/noise/fifteenth-post-very-rare-windows-funny.md +8 -0
  6. package/public/blog/archive/noise/fourth-post-meta-blog.md +3 -0
  7. package/public/blog/archive/noise/sixteenth-post-meta-fantasy-blog.md +4 -0
  8. package/public/blog/archive/noise/tenth-post-meta-funny-redacted-and-timetravelled.md +3 -0
  9. package/public/blog/archive/noise/twelfth-post-mixing-phase-technique-audio-music.md +48 -0
  10. package/public/blog/archive/noise/welcome-back-ramble-meta.md +6 -0
  11. package/public/blog/archive/noise/welcome-to-my-blog-meta-blog-welcome-to-my-website.md +7 -0
  12. package/public/blog/archive/seventh-post-lie-theory-na2000.json +22 -0
  13. package/public/blog/archive/sophus-lie.json +36 -0
  14. package/public/blog/hlwm_and_herbstutil.md +74 -0
  15. package/public/blog/writing/hot-action-under-a-cold-moon.json +9 -0
  16. package/public/checksums.txt +90 -67
  17. package/public/documents/drift-report.json +13 -1
  18. package/scripts/refresh-soundcloud.mjs +54 -8
  19. package/sonar-project.properties +12 -0
  20. package/src/content/addons.json +2 -2
  21. package/src/content/blog.json +17 -365
  22. package/src/content/blogDirs.ts +197 -0
  23. package/src/content/configs.json +5 -3
  24. package/src/content/contacts.json +7 -5
  25. package/src/content/index.ts +155 -57
  26. package/src/content/music-ext.json +1 -1
  27. package/src/content/pages.json +2 -1
  28. package/src/content/projects/development.json +2 -2
  29. package/src/content/projects/doftiles.json +63 -7
  30. package/src/content/projects/frontend.json +2 -2
  31. package/src/content/projects/graphbrowser.json +2 -2
  32. package/src/content/projects/herbctl.json +213 -0
  33. package/src/content/projects/herbstutil.json +66 -36
  34. package/src/content/projects/lightdni-jssas-toggle.json +2 -2
  35. package/src/content/projects/on-deploy.json +67 -0
  36. package/src/content/projects/pagerts.json +4 -4
  37. package/src/content/projects/polyframes.json +83 -0
  38. package/src/content/projects/rarebert.json +2 -2
  39. package/src/content/projects/webuser.json +2 -2
  40. package/src/content/schema.ts +7 -4
  41. package/src/content/sections.json +20 -13
  42. package/src/content/soundcloud.json +61 -13
  43. package/src/lib/clippy.ts +29 -8
  44. package/src/lib/history.ts +152 -0
  45. package/src/lib/markdown.tsx +11 -1
  46. package/src/lib/scrollTo.ts +45 -0
  47. package/src/lib/signals.tsx +271 -0
  48. package/src/lib/slashes.ts +20 -0
  49. package/src/lib/tabNav.ts +192 -0
  50. package/src/main.tsx +20 -4
  51. package/src/pages/BlogDirPage.tsx +37 -0
  52. package/src/pages/BlogPostPage.tsx +78 -3
  53. package/src/pages/ProjectPage.tsx +9 -3
  54. package/src/pages/WowPage.tsx +8 -3
  55. package/src/pages/index.ts +2 -0
  56. package/src/shell/App.tsx +19 -8
  57. package/src/shell/Clippy.tsx +13 -3
  58. package/src/shell/MenuBar.tsx +7 -4
  59. package/src/shell/resolveRoute.ts +43 -3
  60. package/src/shell/routerSignals.ts +34 -0
  61. package/src/styles/extras.css +20 -0
  62. package/src/styles/layout.css +2 -3
  63. package/src/styles/menu.css +1 -1
  64. package/src/styles/window.css +20 -8
  65. package/src/themes/pageSlide/index.ts +120 -42
  66. package/src/themes/pageSlide/pageSlide.css +20 -9
  67. package/src/virtual.d.ts +14 -0
  68. package/src/window/MaximizedWindow.tsx +100 -64
  69. package/src/window/OkButton.tsx +42 -25
  70. package/src/window/PageWindows.tsx +7 -0
  71. package/src/window/TitleBar.tsx +3 -1
  72. package/src/window/Window.tsx +132 -87
  73. package/src/window/closeSounds.ts +27 -0
  74. package/src/window/model.ts +11 -0
  75. package/src/window/state.tsx +301 -54
  76. package/src/window/themes.ts +23 -2
  77. package/test/content.test.js +15 -10
  78. package/test/deploy-pipeline.test.js +11 -11
  79. package/test/markdown-tables.test.js +96 -0
  80. package/test/soundcloud-refresh.test.js +68 -0
  81. package/test/tabNav.test.js +137 -0
  82. package/tsconfig.node.tsbuildinfo +1 -1
  83. package/tsconfig.tsbuildinfo +1 -1
  84. package/vite.config.ts +7 -1
  85. package/xp.css/dist/98.css +2 -0
  86. package/xp.css/dist/98.css.map +1 -0
  87. package/xp.css/dist/GUI.css +2 -0
  88. package/xp.css/dist/GUI.css.map +1 -0
  89. package/xp.css/dist/XP.css +2 -0
  90. package/xp.css/dist/XP.css.map +1 -0
  91. package/xp.css/dist/fonts/converted/PerfectDOSVGA437Win.woff +0 -0
  92. package/xp.css/dist/fonts/converted/PerfectDOSVGA437Win.woff2 +0 -0
  93. package/xp.css/dist/fonts/converted/ms_sans_serif.woff +0 -0
  94. package/xp.css/dist/fonts/converted/ms_sans_serif.woff2 +0 -0
  95. package/xp.css/dist/fonts/converted/ms_sans_serif_bold.woff +0 -0
  96. package/xp.css/dist/fonts/converted/ms_sans_serif_bold.woff2 +0 -0
  97. package/public/blog/4th.md +0 -28
  98. package/public/blog/wsl.1.md +0 -40
  99. package/src/window/hidden.ts +0 -22
  100. /package/public/blog/{ → archive/noise/}/321/200/321/203/320/275/320/270/321/201/321/207-/320/263/320/273/320/276/321/201/321/201/320/260/321/200/320/270/320/271.md" +0 -0
  101. /package/src/content/{characters.json → includes/characters.json} +0 -0
@@ -0,0 +1,100 @@
1
+ import fs from "node:fs";
2
+ import path from "node:path";
3
+ import type { Plugin } from "vite";
4
+ import { PUBLIC } from "./env.ts";
5
+
6
+ /**
7
+ * The blog directory listing, read straight from the filesystem.
8
+ *
9
+ * Serves the virtual module `virtual:blog-dirs`: public/blog/ and every
10
+ * SUBdirectory below it, with the files and child directories each
11
+ * holds, as the app's blog directory system consumes it
12
+ * (src/content/blogDirs.ts). There is NO snapshot file to author, commit
13
+ * or refresh — the walk runs when the module is first loaded (dev server
14
+ * start, production build) and the dev watcher recomputes it whenever
15
+ * public/blog/ changes, so the served listing is always exactly the
16
+ * filesystem. The blog ROOT's entry powers post-address resolution
17
+ * (/blog/<file>), but the root itself never lists (the curated blog.json
18
+ * page lives there). Dotfiles are skipped.
19
+ */
20
+
21
+ export type BlogDirEntry = {
22
+ path: string;
23
+ files: string[];
24
+ /** Child directories, as their served paths (e.g. /blog/archive/tech). */
25
+ dirs: string[];
26
+ };
27
+
28
+ const BLOG_ROOT = path.join(PUBLIC, "blog");
29
+
30
+ /** Walks public/blog/ into [{ path, files, dirs }] — depth-first, names
31
+ * sorted case-insensitively for a stable module identity. Exported pure
32
+ * so tests can assert the shape without touching fs. */
33
+ export function listBlogDirs(
34
+ dir: string = BLOG_ROOT,
35
+ rel = "",
36
+ ): BlogDirEntry[] {
37
+ let entries: fs.Dirent[];
38
+ try {
39
+ entries = fs.readdirSync(dir, { withFileTypes: true });
40
+ } catch {
41
+ // No public/blog at all: no directories list.
42
+ return [];
43
+ }
44
+ const files: string[] = [];
45
+ const childDirs: string[] = [];
46
+ const subdirs: BlogDirEntry[] = [];
47
+ for (const entry of entries) {
48
+ if (entry.name.startsWith(".")) continue;
49
+ if (entry.isDirectory()) {
50
+ childDirs.push(`/blog${rel}/${entry.name}`);
51
+ subdirs.push(
52
+ ...listBlogDirs(path.join(dir, entry.name), `${rel}/${entry.name}`),
53
+ );
54
+ } else {
55
+ files.push(entry.name);
56
+ }
57
+ }
58
+ const mine: BlogDirEntry[] = [
59
+ {
60
+ path: `/blog${rel}`,
61
+ files: files.sort((a, b) =>
62
+ a.toLowerCase().localeCompare(b.toLowerCase()),
63
+ ),
64
+ dirs: childDirs.sort((a, b) =>
65
+ a.toLowerCase().localeCompare(b.toLowerCase()),
66
+ ),
67
+ },
68
+ ...subdirs,
69
+ ];
70
+ return mine;
71
+ }
72
+
73
+ export function blogDirsPlugin(): Plugin {
74
+ const moduleFor = () =>
75
+ `export default ${JSON.stringify({ directories: listBlogDirs() })};`;
76
+ return {
77
+ name: "blog-dirs-virtual",
78
+ resolveId(id) {
79
+ if (id === "virtual:blog-dirs") return "\0virtual:blog-dirs";
80
+ return null;
81
+ },
82
+ load(id) {
83
+ if (id === "\0virtual:blog-dirs") return moduleFor();
84
+ return null;
85
+ },
86
+ configureServer(server) {
87
+ // Recompute and reload when the blog tree changes: new files list
88
+ // themselves, removed ones vanish, no manual refresh step.
89
+ server.watcher.add(BLOG_ROOT);
90
+ const changed = (file: string) => {
91
+ if (!file.startsWith(BLOG_ROOT)) return;
92
+ const mod = server.moduleGraph.getModuleById("\0virtual:blog-dirs");
93
+ if (mod) server.moduleGraph.invalidateModule(mod);
94
+ server.ws.send({ type: "full-reload" });
95
+ };
96
+ for (const event of ["add", "unlink", "addDir", "unlinkDir"] as const)
97
+ server.watcher.on(event, changed);
98
+ },
99
+ };
100
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "website-xp-phone",
3
- "version": "2.3.0",
3
+ "version": "2.5.1",
4
4
  "license": "GPL v2",
5
5
  "author": "Kirill <kine> Nevzorov <akinevz@outlook.com>",
6
6
  "type": "module",
@@ -17,13 +17,13 @@
17
17
  "render": "echo 'https://render.com/'",
18
18
  "build": "vite build && npm run render",
19
19
  "build:gated": "npm run build && npm run checksums",
20
- "build:local": "npm run refresh:content && npm run refresh:soundcloud && npm run check:lockfile && npm run check:all && npm run build:gated && npm run verify:policy && git add -A && git commit && npm run dev",
20
+ "build:local": "npm run refresh:content && npm run refresh:soundcloud && npm run check:all && npm run build:gated && npm run verify:policy && npm run dev",
21
21
  "build:ready": "git add -A && npm run push",
22
22
  "push": "git push origin main",
23
23
  "preview": "vite preview --host 127.0.0.1 --port 8086",
24
24
  "typecheck": "tsc --noEmit && tsc -p tsconfig.node.json --noEmit",
25
25
  "lint": "prettier --write \"src/**/*.{ts,tsx}\" && eslint ./src --ext .ts,.tsx",
26
- "test": "node --test",
26
+ "test": "node --import tsx --test",
27
27
  "test:watch": "node --test --watch",
28
28
  "check:audit": "npm audit --audit-level=low",
29
29
  "check:security": "npm run lint && npm run test",
@@ -32,7 +32,8 @@
32
32
  "check:ci": "npm run check:lockfile && npm run build:gated && npm run verify:policy",
33
33
  "checksums": "node ./scripts/write-dist-checksums.mjs",
34
34
  "verify:policy": "node ./scripts/verify-policy.mjs",
35
- "postinstall": "node ./scripts/ensure-xpcss.mjs"
35
+ "postinstall": "node ./scripts/ensure-xpcss.mjs",
36
+ "open": "npm run build:local"
36
37
  },
37
38
  "dependencies": {
38
39
  "lightdni-jssas-toggle": "1.1.1",
@@ -43,13 +44,16 @@
43
44
  "react-toastify": "^11.1.0",
44
45
  "rehype-raw": "^7.0.0",
45
46
  "rehype-sanitize": "^6.0.0",
46
- "typescript-eslint": "^8.71.2",
47
+ "remark-breaks": "^4.0.0",
48
+ "remark-gfm": "^4.0.1",
49
+ "typescript-eslint": "^8.72.0",
47
50
  "unist-util-visit": "^5.1.0",
48
- "vite": "^8.3.1"
51
+ "vite": "^8.3.5"
49
52
  },
50
53
  "overrides": {
51
54
  "lodash": "^4.17.21",
52
- "protobufjs": ">=7.6.5"
55
+ "protobufjs": ">=7.6.5",
56
+ "minimatch": "^11.0.1"
53
57
  },
54
58
  "devDependencies": {
55
59
  "@eslint/js": "^10.0.1",
@@ -57,8 +61,11 @@
57
61
  "@types/react": "^19.2.18",
58
62
  "@types/react-dom": "^19.3.0",
59
63
  "@vitejs/plugin-react": "^6.1.2",
60
- "pagerts": "^2.0.2",
64
+ "jsdom": "^30.1.3",
65
+ "pagerts": "^2.0.5",
61
66
  "prettier": "^3.9.10",
67
+ "sonarqube-scanner": "^5.0.2",
68
+ "tsx": "^4.23.15",
62
69
  "zod": "^4.6.7"
63
70
  }
64
71
  }
@@ -0,0 +1,36 @@
1
+ {
2
+ "heading": "eighth post (#lost in the sauce!)",
3
+ "content": [
4
+ "# Two computers and a cable: running coding LLMs off the cloud",
5
+ "hi all, today i will reveal to you the details of my home ai laboratory development setup composed of two gaming computers stacked one on top of another, with ethernet, stupid amount of intel x64 cores, and many other twists. i've been working on building this stack a really long time now, and its starting to approach completion - so I thought it was time to share!",
6
+ "## Why bother",
7
+ "cloud coding assistants are pay per use. you get your monthly allowance, but what if you burn through it mid-project, and then its either wait or pay scalper fees. a local model doesn't meter anything. except your wall. it runs on hardware you manage manually, it won't randomly vanish one day, and on my own network no data ever leaves the house.",
8
+ "i warn you that its much slower and dumber than models they offer on the internet :) yet the process of setting up this configuration, as well as being able to access it completely on demand completely outweighs any negatives",
9
+ "## The layout",
10
+ "```",
11
+ "┌──────────────────────────────┐",
12
+ "│ MINIFRIDGE (dev) │",
13
+ "│ RX 6800 16GB · 64GB RAM │",
14
+ "│ VS Code + Copilot (BYOK) │",
15
+ "└──────────────┬───────────────┘",
16
+ " │ direct Ethernet",
17
+ " │ 10.77.77.0/24",
18
+ "┌──────────────┴───────────────┐",
19
+ "│ WS-RARETOWER (inference) │",
20
+ "│ 24GB GPU · i7-11700K │",
21
+ "│ Ollama - GLM-4.7-Flash │",
22
+ "└──────────────────────────────┘",
23
+ "```",
24
+ "**WS-RARETOWER** is the inference box. it holds the model in video memory and answers requests. the only number that matters here is 24GB of VRAM - that decides which models fit and which ones don't. everything else in the machine can be assumed to be completely undefined.",
25
+ "here be dragons - always account for minimum functional specification.",
26
+ "**MINIFRIDGE** is where i actually sit and work. editor, containers, projects, almost entirely through VS Code. included GPU which optionally hosts a smaller fallback model, avoids hot-swapping models on the main box in the middle of a task.",
27
+ "they are networked through an ethernet switch. any capacity should be fine (they trade HTTP traffic)",
28
+ "## The software",
29
+ "**Ollama** (free) runs the model. you install it, you pull a model, and it exposes a completely static HTTP api.",
30
+ "**GLM-4.7-Flash** is a model I've been testing - 31 billion parameters, open weights, about 3 billion fire per token.",
31
+ "the trick to getting a model to fit on a consumer card and still feel responsive is finding the right size.",
32
+ "**VS Code + GitHub Copilot** on the dev machine act as mainframe: pointed at the ollama endpoint through the bring-your-own-key option they serve: chat, agent mode, inline ghost-text completions.",
33
+ "",
34
+ "> more to follow!"
35
+ ]
36
+ }
@@ -0,0 +1,5 @@
1
+ # eleventh post (#discussion, #java, #gist)
2
+ quick discussion piece: a Java gist that sketches the BLEH/BLE media container format
3
+ features: inlaid 2-bit metadata, rolling XOR sidecar validation, CRC checks, and simple mux/demux helpers.
4
+ read the full code and notes below:
5
+ - [bleh format](https://gist.github.com/akinevz2/a653215c98f846fa52a7f7f13a489f32)
@@ -0,0 +1,8 @@
1
+ # fifteenth post (#very-rare, #windows, #funny)
2
+ top windows-menu
3
+ can you reach my
4
+ upper shelf, the
5
+ pans don't go on
6
+ bottom one
7
+ ## what are you doing up there??
8
+ ![floating](/images/Screenshot%202026-07-23%20074101.png)
@@ -0,0 +1,3 @@
1
+ # fourth post (#meta, #blog)
2
+ i've finally cleaned up my [devcontainer](https://github.com/akinevz2/development) and [github](https://github.com/akinevz2)!
3
+ expect following posts to be a lot more structured. i will make an archive section on this page, and expect the posts to be in reverse chronological order soon
@@ -0,0 +1,4 @@
1
+ # sixteenth post (#meta, #fantasy, #blog)
2
+ I've been holding onto this graphic for so many ages
3
+ ![alignment_chart](/blog/P5kKjYA.png)
4
+ Feel free to steal it <img src="/images/cathigh.png" width=14px height=auto alt="cat"/>
@@ -0,0 +1,3 @@
1
+ # tenth post (#meta, #funny, #redacted, and #timetravelled)
2
+ you thought the linearity of my blog was in jeopardy
3
+ but it was me, DIO!
@@ -0,0 +1,48 @@
1
+ # twelfth post (#mixing, #phase, #technique, #audio, #music)
2
+ i found a mixing technique by accident and now i can't stop using it
3
+ * i usually build my final mixes from 3 "core" channels
4
+ * 1 is not enough
5
+ > one gets fully inverted
6
+ > one gets max-stereo-widened
7
+ > one gets narrowed
8
+ * sometimes the narrowed one is also inverted
9
+ * i never really planned that
10
+ * it just felt correct
11
+ * i clone that narrowed-inverted one again
12
+ * run it through a limiter
13
+ * feed it back in
14
+ * odd number of total inversions, always
15
+ > 3 minimum, sometimes 5
16
+ * even number ruins it
17
+ * this clone-feed is what causes the phase-artifact-cancellation
18
+ * not the widening
19
+ * i was wrong about that part for a while
20
+
21
+ * the weird part: it only fully reveals itself at the very end of a track
22
+ * my fades are never uniform
23
+ > one channel has tape-grain decay
24
+ > one has a slope to zero
25
+ > one just stops dead after the reverb tail
26
+ * while the track is at full volume, the cancellation holds
27
+ * everything sums clean
28
+ * once the three channels start fading at different rates, the limiter on the cloned channel can't keep up
29
+ * its release-time stops matching the actual decay-curve
30
+ * so the cancellation breaks
31
+ > just slightly
32
+ > just at the edges of the stereo field
33
+ * what's left over sounds like a alias
34
+ > a little ghost-image of the track, right as it dies out
35
+ > i didn't design this on purpose
36
+ > i reverse-engineered it after noticing it on my last upload
37
+ > now that i understand it, i think i can tune it
38
+ > push the alias earlier or later in the fade
39
+ > make it louder or more narrow
40
+ > just by adjusting the limiter's release-time against my fade-curves
41
+ * a sort-of fade-localized-deliberate-aliasing-tool, i guess
42
+ * **if you want to try this**: 3 channels, odd inversions:
43
+ > clone+limit the narrowed one
44
+ > feed it back into the sum
45
+ > give your channels mismatched fade shapes
46
+ > listen to what survives at the very end
47
+
48
+ > co-written with style-transfer by Claude Sonnet 4.6
@@ -0,0 +1,6 @@
1
+ # welcome back! (#ramble, #meta)
2
+ I've decided that I am going to be ranking posts on my blog randomly
3
+ and by randomly I mean, somewhat obscurely and privately. Posts that
4
+ score highly on the interesting-recent scale that I will devise later
5
+ will appear closer to the top of the page.
6
+ a special 'archive' section will progressively consume every stale post i don't like
@@ -0,0 +1,7 @@
1
+ # welcome to my blog! (#meta, #blog, welcome to my website!)
2
+ i wish i had any way to collect feedback on this website
3
+ i really enjoy clicking the buttons that i put in these pages
4
+ we have a new page added to the menu bar, check out [music](/music)
5
+ also, here's [pagerts](https://www.npmjs.com/package/pagerts)
6
+ oh also, yes, I know the resume is currently down
7
+ its because i've been targetted offline
@@ -0,0 +1,22 @@
1
+ {
2
+ "heading": "seventh post (#Lie Theory - NA2000)",
3
+ "content": [
4
+ {
5
+ "heading": "Related papers from the same Cambridge NA group circa 1999–2000 that came up:",
6
+ "link": "/blog/references/NA2000_03.pdf"
7
+ },
8
+ {
9
+ "embed": "/blog/7.md",
10
+ "heading": "повествование - a story"
11
+ },
12
+ {
13
+ "style": "NA.2000.03.pdf",
14
+ "content": "Iserles, A., Munthe-Kaas, H.Z., Nørsett, S.P., and Zanna, A.: 'Lie-group methods', DAMTP Technical Report NA2000/03, University of Cambridge, 2000. Published in Acta Numerica, Vol. 9, pp. 215–365, Cambridge University Press."
15
+ },
16
+ {
17
+ "style": "Iserles, A. — dossier",
18
+ "heading": "Arieh Iserles (b. 2 September 1947). Emeritus Professor in Numerical Analysis of Differential Equations, DAMTP, University of Cambridge. Studied at Hebrew University of Jerusalem and Ben-Gurion University of the Negev; PhD on numerical methods for stiff ODEs. Joined Cambridge 1978 as Junior Research Fellow, King's College; University Lecturer 1987–95; Reader 1995–99; Professor 1999–present.",
19
+ "content": "Primary architect of geometric/Lie-group integration methods at Cambridge. Managing editor of Acta Numerica (the journal in which NA2000/03 was formally published). Chair of the Society for Foundations of Computational Mathematics 1997–2000, i.e. the exact period of this preprint. Engaged directly with the Russian mathematical community — gave a talk at JINR Dubna (1999) on Lie groups and computation of invariants, published in Self-Similar Systems. Awards: Onsager Medal (Norwegian Univ. of Science and Technology, 1999), David Crighton Medal (IMA/LMS, 2012), SIAM Prize for Distinguished Service (2014). The Russian translation of NA2000/03 circulating as a local file in the early 2000s is consistent with his active outreach to the Soviet/Russian mathematical tradition during this period."
20
+ }
21
+ ]
22
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "heading": "Lie Symmetries and the Heat-Mass Transport Homeomorphism",
3
+ "content": [
4
+ "Bridging Lie theory with statistical mechanics and thermodynamics allows us to model continuous symmetries in advanced transport phenomena.",
5
+ "This post breaks down the theoretical framework connecting topological homeomorphisms, particle kinetics, and geometric conservation laws.",
6
+ {
7
+ "heading": "1. Lie Groups and Continuous Symmetries",
8
+ "content": [
9
+ "Lie theory fundamentally explores continuous symmetries within physical systems.",
10
+ "In fluid dynamics and thermodynamics, researchers utilize **Lie point symmetries** to simplify systems of partial differential equations (PDEs).",
11
+ "If a particle or fluid medium treats heat distribution (thermal diffusion) and mass distribution (molecular diffusion) identically under a geometric transformation, a Lie group can map the solution of the heat equation directly onto the mass equation."
12
+ ]
13
+ },
14
+ {
15
+ "heading": "2. The Heat-Mass Transport Homeomorphism",
16
+ "content": [
17
+ "In classical transport phenomena, heat and mass transfer are governed by strikingly parallel mathematical laws:",
18
+ "* **Fourier's Law** for heat: `J_q = -k ∇T`",
19
+ "* **Fick's Law** for mass: `J_m = -D ∇c`",
20
+ "When a strict topological homeomorphism exists between them, the underlying state space allows you to deform the temperature field continuously into the concentration field without tearing or breaking the mathematical structure.",
21
+ "This is highly relevant in **coupled heat and mass transfer** (such as the Soret and Dufour effects), where temperature gradients drive mass flux, and concentration gradients simultaneously drive heat flux."
22
+ ]
23
+ },
24
+ {
25
+ "heading": "3. Connecting Back to Kinetic Energy",
26
+ "content": [
27
+ "Framing this through Lie theory anchors the system to fundamental geometric conservation laws.",
28
+ "According to **Noether's Theorem**, every differentiable symmetry of a physical system corresponds to a strict conservation law:",
29
+ "* **Time translation symmetry** yields the conservation of energy (which microscopic kinetic theory maps directly to temperature).",
30
+ "* **Spatial translation symmetry** yields the conservation of momentum (mass in motion).",
31
+ "Reconstructing the kinetic energy formula `1/2 m v²` through these principles highlights the symmetric foundation of how mass and velocity translate into thermal energy."
32
+ ]
33
+ },
34
+ "> akinevz & an AI Assistant"
35
+ ]
36
+ }
@@ -0,0 +1,74 @@
1
+ # herbstluftwm, and the tools around it
2
+
3
+ so it turns out "writing an operating system" was really "writing one
4
+ window manager config and six small tools around it". fair. the rabbit
5
+ hole is the same rabbit hole.
6
+
7
+ ## the stack
8
+
9
+ one [dotfiles repo](https://github.com/akinevz2/doftiles) — GNU Stow
10
+ packages, deployed with `make deploy` (a TUI that walks the deployment
11
+ profile, then stows what you pick). herbstluftwm is the window manager;
12
+ everything else exists to keep it from becoming a shell-script museum.
13
+
14
+ **[herbstutil](https://github.com/akinevz2/herbstutil)** — the pure
15
+ layer. herbstclient's `attr` output as clean typed JSON: rectangles
16
+ become objects, types become real types. It ships no commands, it
17
+ changes nothing in the WM — it is the reading half. Published on npm.
18
+
19
+ **[herbctl](https://github.com/akinevz2/herbctl)** — the imperative
20
+ layer. every composite mod-binding is a `herbctl <verb>` subcommand
21
+ (built with bunli), each issuing the exact hlwm chains the binding
22
+ expresses. the verbs are named by what they do: `split-right-cycle`,
23
+ `shift-up`, `minimize-toggle`, `explode-frame` — no more whimsy. the
24
+ float-register state machines (mod-f / mod-x / mod-ctrl-f) live here
25
+ too. fail-soft throughout: a vanished window resolves null instead of
26
+ wedging the keybind.
27
+
28
+ **[polyframes](https://github.com/akinevz2/polyframes)** — the frames.
29
+ renders the polybar center module (one label per
30
+ frame+class group, state-decorated), hosts the rofi menus
31
+ (`tags`, `windows`, `launch`, `hidden`), the tile/center/resize
32
+ frame surgery, and the one-shot window rules. no node, no nvm PATH,
33
+ no shims — it re-executes itself in the bar's click actions.
34
+
35
+ **[on-deploy](https://github.com/akinevz2/on-deploy)** — the
36
+ deployment orchestrator. `check`/`deploy` walk the required binaries
37
+ through per-distro resolvers (`ubuntu.deploy`, `manjaro.deploy` —
38
+ pacman, apt, whatever the machine speaks); `provision` reads the
39
+ declarative profile (session model: wsl-systemd, greetd, xinit,
40
+ nested — the nested Xvfb + noVNC + xrdp stack is co-installable);
41
+ `toolchain` runs the install assurances (bun, postinstall trust,
42
+ the herbctl binary); `deps` deploys the polyframes artifact.
43
+
44
+ ## the session
45
+
46
+ herbstluftwm runs as a systemd user unit (`herbst.service`) waiting
47
+ for the Windows-side X server (VcXsrv) to be reachable — the WSL2
48
+ bypass, no display manager. the nested profile shares the same
49
+ framebuffer over VNC and browser noVNC, with an RDP surface layered
50
+ on top. compton, polybar, dunst ride along as user units.
51
+
52
+ ## why
53
+
54
+ because the config file kept accreting `herbstclient chain ...` one
55
+ -liners, and the only way to keep the keybinds testable was to give
56
+ them names, mock the binary, and pin the argv. 53 tests, one binary
57
+ per layer, one repo to stow.
58
+
59
+ ```bash
60
+ >glm-5.3-flash says:
61
+ if you are on a fresh machine: `make deploy`, pick the profile,
62
+ let the toolchain pass, and the window manager comes up when
63
+ the X server does.
64
+ ```
65
+
66
+ > this entire post was mostly written by GLM-5.3-Flash, he's really friendly!
67
+ > I'll add corrections, details and screenshots when time allows it
68
+ >
69
+ > - akinevz
70
+
71
+ *P.S.:* in cases your session is managed and the X server is not a free and
72
+ unoccupied concept, that is - you're running an actual operating system, fear
73
+ not, I will soon develop a legitimate deployment and initialisation process
74
+ that will launch via a greeter
@@ -0,0 +1,9 @@
1
+ {
2
+ "heading": "Hot Action under a Cold Moon",
3
+ "content": [
4
+ {
5
+ "heading": "Parts 1-6",
6
+ "embed": "/stories/1.md"
7
+ }
8
+ ]
9
+ }