Skip to content

Instantly share code, notes, and snippets.

View grahamperrin's full-sized avatar

Graham Perrin grahamperrin

View GitHub Profile
@grahamperrin
grahamperrin / ai-zaconil-2026-08-06.md
Created August 9, 2026 12:58
A conversation with AI about LLMs and moderation in Reddit

A conversation with AI about LLMs and moderation in Reddit

Taken from the public paste that's currently linked from https://www.reddit.com/r/modnews/comments/1vgbt2j/comment/p1wx76o/ under What’s Next for Mod Tools : r/modnews.

User

So reddit is trying to sunset automod in favor of LLMs. As an LLM what's your opinion on this? My biggest complaint is that LLMs still struggle with context and some some subs can get 5000+ comments a day.

Assistant

@grahamperrin
grahamperrin / xCtFeukJs-E.json
Created June 8, 2026 13:59
Automated transcript of 'I Interviewed the CTO of TrueNAS (Why They Left FreeBSD for Linux)' on YouTube
{
"title": "I Interviewed the CTO of TrueNAS (Why They Left FreeBSD for Linux) - YouTube",
"url": "https://www.youtube.com/watch?v=xCtFeukJs-E",
"sections": [
{
"name": "",
"lines": [
{
"0:00": "What's up guys? I'm here with Chris who"
},
@grahamperrin
grahamperrin / ai-hatred.md
Last active August 14, 2026 19:54
Hatred of AI
@grahamperrin
grahamperrin / pkgsave_cleanup.sh
Created March 9, 2026 07:07
pkgsave_cleanup script from Roger Marquis
#!/bin/sh -
## pkgsave_cleanup
# Archive .pkgsave files created in multiple locations by messy upgrade apps,
# preserving the original path and deleting unchanged files.
## to do:
# Check-in as appropriate.
# See also: etcupdate, zfs snapshot, beadm, ...
PATH=/usr/local/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin
set -a
@grahamperrin
grahamperrin / freebsd-desktop-alfix-quickstart.md
Last active June 15, 2026 13:59
FreeBSD desktop installer script test: quick start

FreeBSD desktop installer script test

Quick start

  1. perform a fresh installation of FreeBSD
  2. restart
  3. run the four commands below.

cd /root

@grahamperrin
grahamperrin / pkg-unregister.8.txt
Created February 23, 2026 19:16
pkg-unregister(8) manual page – pkg version 2.5.1, FreeBSD 15.0-RELEASE-p3
PKG-UNREGISTER(8) FreeBSD System Manager's Manual PKG-UNREGISTER(8)
NAME
pkg unregister – deletes package records from the database
SYNOPSIS
pkg unregister [-fnqRy] [-Cgix] pkg-name ...
pkg unregister [-Dnqy] -a
pkg unregister [--{force,dry-run,quiet,recursive,yes}]
@grahamperrin
grahamperrin / 2026-02-14 04-08 whoopsie.md
Last active February 14, 2026 05:02
kwin_wayland segfault, 2026-02-14 04:08

kwin_wayland segfault, 2026-02-14 04:08

In Firefox, logged in at https://forums.virtualbox.org/posting.php?mode=reply&t=113890 whlist drafting a reply, I clicked to add an image. [img][/img] code appeared, so I keyed Control-T for a new tab then went to my logged in view of https://imgbb.com/.

Then probably Alt-Tab to bring Dolphin to the foreground, and whilst I began browsing screenshots, if I recall correctly:

  1. on my secondary display, an HP ZBook 17 G2 (docked), the screen became distorted
  2. apps disappeared from my main display, to the left (on DisplayPort)
  3. some apps reappeared
  4. plasmashell reappeared
@grahamperrin
grahamperrin / pkg.freebsd.org-pkg-urls.md
Last active January 31, 2026 13:14
pkg.freebsd.org package download URLs

pkg.freebsd.org package download URLs

When a FreeBSD Project-provided package is not in the usual places, we can look in unusual places.

An example: editors/vscode

Currently at https://www.freshports.org/editors/vscode/#packages:

No package information for this port in our database …

@grahamperrin
grahamperrin / fediverse-decision-time.md
Last active January 26, 2026 20:54
Fediverse decision time

Fediverse decision time

I needed a second home. The winner:

Runner-up:

@grahamperrin
grahamperrin / freebsd-15.0-release-amd64-zfs.vhd-quickstart.md
Last active January 7, 2026 19:48
FreeBSD 15 VirtualBox quick start