Cat S22 Flip Phone Tips

Battery Save Mode Quirks One of the most situations I originally experienced Cat S22 Flip was caused by its battery save mode. Since I wasn’t using this phone for much, I elected to have this mode on 24/7. While this helps preserve battery life, it comes with a notable quirk: the GPU gets disabled when the phone is flipped shut. This means if you’re using Google Maps for navigation and close your phone, you’ll hear that dreaded “GPS lost” announcement....

November 16, 2024 · 3 min · Greg Hilston

Canpunk: A New Literary Genre

Converting a book/movie script to a new genre using self hosted LLMs

October 21, 2024 · 5 min · Greg Hilston

Switching To A Flip Phone

Why I Switched to a Flip Phone Recently, I decided to switch to a flip phone as my daily driver. The main reason? To reduce my access to distracting apps and to be less available to those not incredibly close to me. While I believe willpower is the best defense against distractions, I see the flip phone as “training wheels” — a temporary tool to help me avoid distractions until I can do so without assistance....

October 2, 2024 · 3 min · Greg Hilston

How to Load Balance With Preference

When managing multiple servers, it’s important to have a reliable load balancer in place. In many cases, you may want to prioritize one server, using it as the primary, while having a backup server only take over when the primary is unavailable. This approach is called a “preference-based failover.” In this blog post, we’ll go through the steps to configure Caddy as a reverse proxy load balancer with a preference-based approach....

September 18, 2024 · 4 min · Greg Hilston

How To Query Your PDFs (and other documents)

How to ask questions about your local files

September 15, 2024 · 3 min · Greg Hilston

Querying Notes With Obsidian Dataview Plugin

An Obsidian trick I’m using to keep track of my recipes, and other files.

July 21, 2024 · 1 min · Greg Hilston

How to Add a New Application to Dmenu

I’m a big fan of tiling window managers. Today I use i3, which I happen to have configured to use dmenu, which is an efficient tool for searching across all your applications. I often find myself wanting to add custom applications to dmenu, say a custom script I’ve written, and I’d like to capture how that’s done. Example Desktop File Let’s say you want to add Postman to your dmenu. You’ll need to create a desktop file for it....

July 19, 2024 · 2 min · Greg Hilston

Supercharging Your Local LLM With Real-Time Information

Intro Large language models (LLMs) are impressive, capable of generating human-quality text, translating languages, and answering questions. However, there’s a catch: they are limited to the data they were trained on. This means their knowledge can be outdated and they may struggle with topics that emerged after their training. But what if we could give our LLMs access to the vast ocean of information available on the web? This powerful combination would allow your local LLMs to:...

July 15, 2024 · 3 min · Greg Hilston

Schema First Development

Introduction In the world of software development, there are many different approaches to building applications. One approach I’ve had the pleasure of using is called “schema first development”. This approach emphasizes defining the verbs, routes, request and response structures before diving into writing code. This methodology proves especially beneficial when developing HTTP REST services. Benefits Instead of jumping straight into coding, schema first development encourages you to start by creating a formal specification of your API using a standardized format like Open API (formerly known as Swagger)....

July 15, 2024 · 3 min · Greg Hilston

My Favorite Air Conditioner

Introduction Living in a house without central air, I’ve dreamed about getting heat pumps and mini splits installed. Until I can pull the trigger on that large project. Types of AC Units I’ve made peace with considering window AC units, which come in two main styles: window AC: They sit in your window sill. Part of the unit is inside and part of the unit is outside. portable AC: They sit entirely inside your home....

June 17, 2024 · 3 min · Greg Hilston