Skip to content

Instantly share code, notes, and snippets.

View lizthegrey's full-sized avatar

Liz Fong-Jones lizthegrey

View GitHub Profile
@lizthegrey
lizthegrey / wb_dying_repro.sh
Created September 27, 2026 00:07
Reproducer: writer stalls after the owning cgroup is removed (cgroup_writeback_by_id -ENOENT on dying cgwbs)
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
#
# Reproduce writer stalls after the cgroup that owned the files is removed.
#
# $CG/old appends to NFILES files for OLD_SECS and exits. With MODE=dead
# its cgroup is then removed while the files are still dirty; MODE=alive
# keeps it as a control. $CG/new then appends to the same files for
# NEW_SECS and prints, once a second, its throughput, write latency and
# how far behind schedule it is (lag_s). If bpftrace is available it also
@lizthegrey
lizthegrey / HABITS.md
Last active September 18, 2026 15:56
Portable Claude Code memory rules: sanitized feedback rules + collaboration habits for working with an AI coding assistant

What actually makes an AI coding assistant more effective over time

This isn't a prompting trick. It's infrastructure and habit, built up over months:

  1. Two-tier persistent instructions. A global, user-level instructions file (role, review style, git conventions you always want) plus a per-repo instructions file checked into the codebase (language rules, PR process, banned terms, comment policy). Most people never write either, so every session starts from zero instead of from accumulated preferences.
@lizthegrey
lizthegrey / README.md
Last active August 16, 2026 15:14
arm64 NEON vs GP memmove loop micro-benchmark (golang/go#80899)

arm64 NEON vs scalar memmove loop micro-benchmark

Supporting data for golang/go#80899.

This is not a benchmark of CL 692295. It's a minimal, standalone micro-benchmark isolating just the loop shape question — paired scalar LDP/STP (copyGP, matching runtime.memmove's current arm64 implementation) vs. a single 4-register NEON VLD1.P/VST1.P per 64-byte chunk (copyNEON) — with no alignment fixup, no software pipelining, and no overlap handling. src/dst are fixed, page-resident arenas shared by

@lizthegrey
lizthegrey / SKILL.md
Created July 24, 2026 21:04
clarity-review
name clarity-review
description Lint the current diff for the AI-authored-code patterns that repeatedly draw pushback in this repo's PR reviews — comment slop, unverified technical claims, dead code, tautological tests, missing feature flags, single-letter names, unneeded complexity, concurrency footguns, and inconsistent formatting. Run before opening a PR, not after — this is a pre-flight lint, not a bug-catching pass (use hny-review-general/hny-review-thorough for that).
disable-model-invocation true

Clarity review

Calibrated against roughly 200 real review comments on hound PRs over the prior three months — courtesy of our resident AI slop proliferation curmudgeon — plus recurring #eng-ai/#misc-ai discussion of where AI-authored code and prose fall short.

@lizthegrey
lizthegrey / # mlx@0.31.1 - 2026-04-23_14-57-23.txt
Created April 23, 2026 22:26
mlx@0.31.1 (lizf/local-mlx/mlx@0.31.1) on macOS 26.4 - Homebrew build logs
Homebrew build logs for lizf/local-mlx/mlx@0.31.1 on macOS 26.4
Build date: 2026-04-23 14:57:23
@lizthegrey
lizthegrey / # mlx-c@0.6.0 - 2026-04-23_15-14-12.txt
Created April 23, 2026 22:25
mlx-c@0.6.0 (lizf/local-mlx/mlx-c@0.6.0) on macOS 26.4 - Homebrew build logs
Homebrew build logs for lizf/local-mlx/mlx-c@0.6.0 on macOS 26.4
Build date: 2026-04-23 15:14:12
@lizthegrey
lizthegrey / lx2160a_uefi_modernization_report.md
Last active September 9, 2026 20:28
SolidRun LX2160A (HoneyComb LX2K) UEFI Firmware Modernization Report

SolidRun LX2160A (HoneyComb LX2K) UEFI Firmware Modernization

Summary

This project modernized the entire firmware stack for the SolidRun HoneyComb LX2K (LX2160A CEx7) from a stale 2021-era codebase to current upstream releases, bringing the existing OP-TEE/StandaloneMm Secure Boot support forward from OP-TEE 3.14.0 to 4.9.0. It is kept current with each EDK2 stable tag; the latest rebase is onto edk2-stable202608 (September 2026).

Result: A fully modern, Secure Boot-enabled firmware booting Ubuntu (24.04 and 26.04 tested) via shim → GRUB → signed kernel.

Component Before After
@lizthegrey
lizthegrey / README.md
Last active January 22, 2026 14:40
Automated Bluesky Tech Digest with Claude Code - generates daily tech digest from Bluesky timeline

Automated Bluesky Tech Digest with Claude Code

An automated system that generates a daily tech digest from your Bluesky timeline using Claude Code, running every weekday morning at 5am to start your Claude API quota window.

Overview

This system fetches your Bluesky timeline, uses Claude to identify and categorize tech-related posts, and generates a beautiful HTML digest that automatically opens in your browser.

Architecture

Aurora-Prism Security & Maintainability Audit Plan

Executive Summary

This is a comprehensive security audit of the Aurora-Prism ATProto AppView codebase with focus on:

  1. Untrusted input from ATproto firehose - malicious events/payloads
  2. Authentication/authorization - login impersonation, privilege escalation
  3. Backdoors - hidden functionality, data exfiltration, hardcoded access

Overall Assessment: The codebase shows strong foundational security with well-implemented authentication, SSRF protection, and parameterized queries. However, there are critical validation gaps that allow malformed data to be persisted, and the Python hook system requires scrutiny as it executes on every user interaction.

@lizthegrey
lizthegrey / SKILL.md
Last active January 6, 2026 00:45
Bluesky MCP Analysis Skill - Parse and analyse Bluesky timeline posts and notifications
name bluesky-mcp
description Parse and analyse Bluesky timeline posts and notifications using the Bluesky MCP server. Use when users want to summarise their Bluesky timeline, find technology-relevant posts, extract specific topics from timeline data, or analyse reply/quote notifications. Handles large timeline dumps efficiently and filters for work-relevant content.

Bluesky MCP Analysis

Efficient workflows for analysing Bluesky timeline data and notifications.

Getting Timeline Data