Skip to main content

Issues with using subtrees in my notes

· 3 min read

I manage my notes with Obsidian and store them in git. I have some notes that I share between home and work, and others that I only access via personal devices. I used to manage these shared notes with submodules, but recently switched so sub trees. However, I ran into some issues that have me considering switching back to submodules.

How to ensure front matter exists in Markdown files

· 3 min read

YQ supports operating and transforming YAML front matter via the --front-matter flag.

For example, when using a file that has front matter, yq can extract the YAML correctly:

$ yq --front-matter=extract '.' ./with-frontmatter.md.txt
---
key: value

However, it behaves unexpectedly when the file does not have any front matter.

Prototype: Fallout hacking buddy

· 4 min read

Fallout is one of my favorite game series. The hacking minigame isn't bad, but there is a lot of it, so it can get tedious. The purpose of this tool is to simplify solving the minigame.

The "perfect" version of this tool would be the following:

  • When I come across a locked terminal in game, I snap a photo of the screen with my phone
  • That photo is automatically converted to a game board in the tool
  • When I make a guess in the game, I enter the "Likeness" reported by the game, into the tool
  • The tool would then analyze what we know so far, and automatically eliminate certain candidates

The main thing I care about right now is the logic to iteratively eliminate candiates.

First Blog Post

· One min read

I have been meaning to create a blog for a while, but I keep procrastinating--usually by overthinking which technology to use.

I had planned to use Sphinx for this site. I like it a lot as a documentation system, but didn't like the how the blogging plugin worked (also for "overthinking" reasons).

I wanted something designed for blogging so I can focus on writing and stop fretting about technology decisions.

I have also been wanting to freshen up on front end related things. For the first chunk of my career, I was a fullstack developer, but for the last few years, I've been doing infrastructure, CI/CD and other DevOps things. I've missed fullstack and especially frontend work.

With its MDX support, Docusaurus.io seems like a good fit. So that's what I'm using.