Code

Posts filed under category: Code

  • The Repository That Doesn't Grow: Criteria over Finder Methods

    The Repository That Doesn’t Grow: Criteria over Finder Methods SessionRepository in the Laptime Insights server is ~130 lines and exposes seven public …
  • Anatomy of a Search Endpoint: Filter, Sort, Paginate, HATEOAS

    Anatomy of a Search Endpoint: Filter, Sort, Paginate, HATEOAS A walk through GET /api/1/sessions in the Laptime Insights server — from the Ktor route, down …
  • Sample data

    The Strategic Case for Programmable Sample Data I. The Core Thesis Manual database entry is a bottleneck that introduces inconsistency. The most effective way …
  • Completing your GitHub Profile

    Completing your GitHub Profile While I’m looking for a job I thought I’d find out how I could improve my Github profile. This was the advice I …
  • Stop Serving PNG: Switch to WebP

    Stop Serving PNG: Switch to WebP and Cut Your Image Sizes by 80% WebP is the modern image format your website should already be using. Google’s cwebp tool …
  • Eliminate PR Noise with ktfmt

    Few things are as frustrating during a code review as seeing a 50-line diff, only to realize that 45 of those lines are just re-ordered imports or adjusted …
  • AI-Assisted Engineering: From Implementation to Specification

    The more I use AI to assist with coding, the more I realize that context is the primary currency of effective assistance. The quality of the output is directly …
  • Creating and releasing an application

    Creating and releasing an application I love sim racing, so I thought it would be an interesting exercise to create an application that makes use of Assetto …
  • Leave planner 1.1.0

    Leave Planner helps you track your leave balance and plan future holidays with ease. Announcing Leave Planner v1.1.0: Work From Home Tracking & More! This …
  • Leave planner application

    Ever wanted to know how much leave you’ll have in the future and easily visualise your balance over time? Sure, some leave systems have some kind of …