RSSAmplifier

Blog

Francis Sunday

Writing by Francis Sunday — long-form posts and short notes.

codehakase.comRSS feed ↗37 posts

Latest posts

A Quine in Haskell

Writing a correct quine in Haskell

The Database Is a Cache

A note on file-first systems where agents derive structured state from source documents, and the database becomes a derived cache.

Bounded Execution for AI Coding Agents

How I built ALPF to give AI coding tools like Claude Code and Amp deterministic execution with guaranteed termination.

Idiomatic Haskell Refactors

A note on some interesting idiomatic Haskell patterns I've learned and enjoy using.

Parsing, Not Guessing

Using ASTs over regex to build a predictable, lightweight, theme-aware Markdown renderer in Go.

import "reflect"

An attempt at a concise explanation of Go's reflection library.

Maps Don't Shrink in Go

A note on how Go maps handle memory allocation and why they don't shrink automatically.

TTYs

Learn about the `tty` command, which returns the current user's terminal name.

GADTs for Type-Level Domain Logic

Using Generalized Algebraic Data Types (GADTs) in Haskell to encode domain-specific rules and state transitions.

Composable Parsers with Attoparsec

Using Attoparsec in Haskell to create efficient and composable parsers for structured text data.

Implementing Non-Copyable Embedded Structs

Using a noCopy marker in Go to prevent accidental copying of embedded structs, ensuring safe concurrent access to shared resources.

Tmux sessionizer

Using tmux-sessionizer to manage tmux sessions efficiently, with custom modifications for a streamlined development workflow.

Scripting a self-updating Github Readme

Automating the update of my Github profile README using Go and Github Actions to fetch blog posts and render a template.

Notes on building a coding agent

My personal reflections on Thorsten's Ampcode article, which reveals how building AI coding agents can be more about leveraging powerful models than complex, custom code.

Functors: Identity, Composition, and fmap

An introduction to Functors in Haskell, exploring how fmap allows function application within wrapped contexts like Maybe and lists.

Largest product in a series

A short note on my haskell solution to Project Euler's problem 8

Working with JSON in Go

A summary of the encoding/json package in Go

Enum Stringer Interface optimisation in Go

A tip on how to optimise enum stringer interface

Line Numbers In Vim

Vim’s absolute, relative and hybrid line numbers

What I Use

My development gear setup

Building Small Containers for Kubernetes

This article will show you how you can build small containers to make your Kubernetes deployments faster and more secure.

Building a Web App With Go, Gin and React

In this tutorial, I'll show you how easy it is to build a web application with Go and the Gin framework and add authentication to it.

The CouchDB Replicator Database - An Overview

An overview of how the replicator database works in CouchDB, and how to setup replication like a Boss.

Here's What's New In Go 1.10

The latest Go release, v1.10 arrived six months after V1.9. This release was stated in the change-logs and the Go blog. I'm gonna share some interesting changes I've found in Go 1.10 with you.

React Native vs Ionic - A Quick Comparison

Demistifying the differences between Ionic and React Native

Getting Started with Go - Variables

Learn about variables in Go

Golang - Getting Started, The Practical Dev

Getting started with Go

Terminal for Beginners!

A simple guide to getting started with the Terminal

How I Learned Golang

How I started with Go Programming

JavaScript Async/Await 101

A simple guide to getting started with Async and Await in JavaScript

for...in vs for...of Loops in JavaScript

Differences between the for..in and for..of loops in javascript

Build your first RESTful API with Node.js

A simple guide to building RESTful apis with Node.js

Making hakasebot - Twitter Bots 101

Learn how to make a twitter bot from this guide

JavaScript Objects 101

A gentle guide to getting started with JavaScript Objects

Introduction to JavaScript Promises

The basics you need to know, about promises in JavaScript

Object-Oriented PHP - An Easy Approach

A simple guide to getting started with Object Oriented PHP

Introducing Adonis Js

An introduction to the AdonisJs framework for Node.js