Note

The Stack That Scared Me

programming technology sysadmin

I'm a Systems Administrator. Python, PowerShell, bash, Ansible, and CloudFormation are my comfort zones. I reach for one of these tools when something needs to get done. When I decided to rebuild this site, I knew that comfort zone was about to be violated. The site needed four technologies I had never really touched: Pelican, Vue, TypeScript, and Vite.

Each one looked daunting from the outside. Some of them actually were. Here's what each does for the site, how hard it really was, and what tripped me up — from the perspective of an old school sysadmin turned devops engineer.

Pelican — the blog engine

Pelican builds this entire blog. I write Markdown files with YAML front matter, run one command, and it spits out a complete static site — posts, archives, tags, and the RSS feed. No database, no WordPress, no PHP, nothing to patch constantly. Bonus callout: The Jinja2 templating system is super familiar from Ansible. Also it's written in Python.

Difficulty: 1/10 — mostly fun and games on my own home turf

Challenges:

  • Bending it to my format. I wanted Jekyll-style YAML front matter instead of Pelican's native metadata, so I wrote a custom reader plugin. That part was genuinely fun — pure Python solving a Python problem.
  • URL plumbing. Getting the /YYYY/MM/DD/slug/ scheme, pagination, and feed paths right meant learning how Pelican's {date:%Y}-style patterns expand. And because the blog shares a deploy tree with three other apps, RELATIVE_URLS and friends mattered more than the docs let on.

Vue — the interactive apps

Vue powers the two apps bolted onto this blog: the Learning study app at /learn/ (flashcards, multiple choice, image occlusion cards) and the private family tree at /genealogy/ that parses a GEDCOM file and draws ancestor fans. Every card type is a Vue component, and the whole interface is reactive — tap an answer, the screen updates instantly.

Difficulty: 8/10 — genuinely foreign territory

Challenges:

  • Reactivity. In Python, when you change a variable, nothing happens until you do something with it. In Vue, changing a variable rewires the screen behind your back. Debugging "why did the page just update?" is a whole new sport.
  • Single-file components. One .vue file contains an HTML template, TypeScript logic, and CSS. Three languages per file felt wrong and I'm still dealing with it mentally.
  • Component thinking. Props flow down, events flow up. Python taught me modules and functions; Vue wanted me to think in trees of little self-contained widgets passing notes to each other.
  • The shorthand. v-if, v-for, :, @ — I still have to look these up constantly and they look like noise.

TypeScript — JavaScript with a referee

Both Vue apps are written in TypeScript. The spaced-repetition scheduler, the GEDCOM parser, the progress storage layer — all typed. npm run typecheck is the gate that every change must pass.

Is it fair to call TypeScript "JavaScript, fixed"? Not quite — it's JavaScript, supervised. All the weird runtime behavior (== coercion, typeof null === "object", this roulette) is still down there; the emitted code is plain JavaScript. What the compiler does is refuse to let you wander into most of those traps — and even it grants parole via any and as casts when you're determined to reoffend. Less broken, yes. Repaired, no.

Difficulty: 6/10 — just plain annoying

Challenges:

  • The compiler heckles you. Coming from Python's duck typing, being told "this value might be undefined" felt like my own code sass-talking me. I just needed to appreciate that this was catching real bugs before they shipped.
  • Types that evaporate. You write interfaces, unions, and generics that completely vanish from the compiled output. I kind of thought that code I wrote would actually run. Real example: the study app's Card type is a union of Flashcard | McqCard | OcclusionCard | PictureMcqCard, and the compiler uses it to smack my hand every time I reach for a field that card type doesn't have. Then vite build deletes it — all of it. At runtime the app fetches subject.json and trusts it contains valid cards. Type "mcqq" into a subject file and nothing raises an error; the type was build-time gossip. In PowerShell, [int]$x = "abc" throws in your face. In TypeScript, x: number is a promise that evaporates at runtime.
  • Type gymnastics. Sometimes you write a cast to tell the compiler to shut up — and sometimes it's right and I just didn't want to hear it.
  • Error messages as a short novel. "Type X is not assignable to type Y" followed by a year-long lecture in a wall of text.

Secret weapon: PowerShell. Nobody warns you that a typed shell is TypeScript's boot camp. [int]$x, [ValidateSet()], generics via .NET collections, and Set-StrictMode growling about uninitialized variables. Same referee in a new sport.

Vite — the build machine

Vite is the dev server and bundler for the Vue apps. While developing, it serves the app with instant reload. For production, it compiles everything into static files that my release script copies into the Pelican output — /learn/ and /genealogy/ are just folders of Vite's handiwork.

Difficulty: 5/10 — simple until it isn't

Challenges:

  • The npm ecosystem gets a bad rap. Everyone warns you about node_modules hell, but I'd already spent years performing emergency dependency surgery on developer-abandoned Node apps. Lock files and npm ci versus npm install weren't culture shock — they were a Tuesday. If anything, that scar tissue is why my release pipeline pins everything and runs npm ci instead of rolling the dice on npm install.
  • Config-as-code. vite.config.ts is TypeScript, and half my app's plumbing lives there — it watches my folder of study subjects, regenerates the index, and syncs files into public/ while the dev server runs.
  • Windows fights back. The dev server used to crash with ENOTEMPTY because Windows holds directory handles a beat longer than Linux does. The fix was retrying the file sync.
  • Two different animals. Dev server behavior and build output don't always match. Trial and error to figure out which paths work in each (base, public/, env vars).

The verdict

Technology Difficulty SysAdmin translation
Pelican 1/10 It's a compiler, not a service
Vite 5/10 A very fast configure && make && make install
TypeScript 6/10 PowerShell's strict mode grew up and got a compiler
Vue 8/10 A framework that thinks for you, like it or not

Let me just admit now - low-key - that the only reason this site exists in its current form is because of pair programming with AI.

Was it daunting? Absolutely. The JavaScript half of this stack was bizarro-world. An angry mirror image of the reality I was accustomed to.

Was it worth it? Also yes. But somewhere between the first broken vite.config.ts and the last successful build, the stack stopped being scary and started being mine.

The Python parts always felt like home. The rest of it took some time to feel like a house I built.

Full credit where due

None of this stack is mine, nor is there anything novel or remarkable in how I utilized it. My sincere thanks to the people who built it:

  • Python — created by Guido van Rossum, shepherded today by the Python Software Foundation and its core developers. The comfort zone that made this whole project feel possible, and the yardstick every other tool on this list got measured against.
  • Jinja2 — created by Armin Ronacher and maintained by the Pallets Projects team. The templating language behind Pelican's theme — and, thanks to years of Ansible, the one part of the new stack that already spoke my accent.
  • Markdown — created by John Gruber with Aaron Swartz. Every post on this site is written in it, including this one — a twenty-year-old format that never needed a version 2.
  • Pelican — created by Alexis Métaireau and maintained by Justin Mayer and the Pelican contributors. A static site generator that lets a Systems Administrator maintain a blog site on their own.
  • Vue — created by Evan You and shepherded by the Vue team. Made two interactive apps possible for a guy whose prior UI experience had only reached as high as a TUI.
  • TypeScript — designed by Anders Hejlsberg and team at Microsoft. Not sure what to say about this one - it's a parole officer to keep JavaScript in line. But I felt like I was on parole too.
  • Vite — also created by Evan You (the man apparently does not sleep), now stewarded by VoidZero and the Vite team. Near-instant builds that made it possible for me to tinker my way through stuff.
  • Caddy — created by Matt Holt and maintained by the Caddy team. The quiet workhorse in front of everything: it fetches and renews its own TLS certificates, serves every static byte of the site, reverse-proxies the private sections to a small auth service, gates /learn/ with forward-auth, enforces per-route security headers and CSPs, redirects the apex domain and my old WordPress feed URLs, and compresses the lot — all in a 55-line config file a mortal can actually read. The nginx-plus-certbot-plus-cron equivalent would have been three moving parts; Caddy is one service in a compose file. Think of it as a mini F5 load balancer — TLS termination, layer-7 proxying, auth gating, the works — funded by corporate sponsorships rather than mind-bending fees, and the config takes an afternoon to learn instead of a certification track.
  • Devin — the AI software engineer from Cognition, powered by the SWE-2 model, and the pair-programmer who helped me finally get my new site launch-ready. It kept project memory across sessions, did a lot of heavy lifting, and never once called me out for being stupid drunk, spilling whiskey on my keyboard, or spending 75% of my session time asking dumb questions.