Skip to content

Instantly share code, notes, and snippets.

View grahamperrin's full-sized avatar

Graham Perrin grahamperrin

View GitHub Profile
@grahamperrin
grahamperrin / ai-and-freebsd.md
Created December 1, 2026 02:57
AI and FreeBSD
@grahamperrin
grahamperrin / not-reddit-rules.md
Created November 29, 2026 07:18
Not Reddit Rules

Not Reddit Rules

Last updated: whenever someone was last wrong on the internet, which is now.

Not Reddit is a vast network of communities that are created, run and populated by you, the Not Reddit users, provided you arrive with a conclusion already packed.

Through these communities you can post, comment, vote, discuss, debate and connect with people who share your grievances. You may also learn, but please do it quietly. We encourage you to find, or even create, your home on Not Reddit, ideally next door to someone you can shout at over the fence.

Not every community will be for you, and you may find some offensive. That is the point. Every community can be used as a podium. Communities should create a sense of belonging for their members, mainly by agreeing on who doesn't belong.

@grahamperrin
grahamperrin / ai-and-me.md
Last active November 30, 2026 22:44
AI and me

AI and me

I used Google in AI mode to profile myself in Reddit and Mastodon. From https://www.reddit.com/r/freebsd/comments/1vthk9s/comment/p9ov1h0/, mid-September 2026:

… I am perceptibly a pragmatic centrist:

  • I support utilising AI when it helps write clean code or solve actual technical problems
  • I fiercely protect human spaces from being drowned out by AI spam or emotional arguments
  • I favour clear, open rules rather than reactionary corporate hype or total defensive bans.
@grahamperrin
grahamperrin / 9bsw1USTttg.md
Last active November 18, 2026 03:55
Alice Sowerby, FreeBSD Foundation – The EU Cyber Resilience Act (EuroBSDCon 2026)

Alice Sowerby, FreeBSD Foundation – The EU Cyber Resilience Act (EuroBSDCon 2026)

Video | Reddit

Transcript tidied from YouTube's auto-generated captions. Filler words and false starts have been removed and some phrasing lightly edited for readability. Audience questions were mostly inaudible on the recording, so they are paraphrased from the speaker's repetition. Editorial notes are in [square brackets].


Contents

@grahamperrin
grahamperrin / QKknFOwT8Co.md
Last active November 15, 2026 00:24
Discovering FreeBSD Vulnerabilities with AI – Mark Johnston

Discovering FreeBSD Vulnerabilities with AI

Talk by Mark Johnston (FreeBSD committer and Security Team member), recorded November 2026.

  • Video: https://www.youtube.com/watch?v=QKknFOwT8Co
  • Source: auto-generated YouTube captions, lightly edited. Filler words, false starts and obvious speech-recognition errors are cleaned up; the wording is otherwise kept close to what was said. Section headings are added, with links to the point in the video. Nothing from the slides is included, because only the audio was transcribed.
  • Items in [square brackets] are editorial notes where the captions were unclear.

@grahamperrin
grahamperrin / ucbeWutJKYiLbJH66wm6Pf.md
Last active November 14, 2026 14:16
Proton's official statement on AI use, MATE goes Wayland – Linux & Open Source News

Proton's official statement on AI use, MATE goes Wayland – Linux & Open Source News

Unofficial transcript of the video at https://tilvids.com/w/ucbeWutJKYiLbJH66wm6Pf, made from a machine-generated SRT and lightly edited for punctuation and names.

Intro

I guess the message has been received for the vibe-coded desktops. The previous video did really poorly, so I guess you're not that interested in these efforts, even though I did think they had some interesting ideas, vibe-coded or not.

Anyway, in the Linux and open source news show this week, we've got Darling trying to bring even more macOS applications to Linux. We've got Proton finally officially addressing their AI stuff. We've got Steam moving to 64-bit, finally, and fixing a lot of problems in Remote Play. We've got MATE finally transitioning to Wayland, and a lot of other things, including this message from our sponsor.

@grahamperrin
grahamperrin / toot-boosts-and-faves.js
Last active November 18, 2026 20:25
Mastodon toot boosts and faves
(async () => {
// Expects a post URL such as /@user/123456789012345678
// or /@user@example.social/123456789012345678 (remote poster, viewed on your own instance)
const m = location.pathname.match(/\/@([^/@]+)(?:@[^/]+)?\/(\d+)/);
if (!m) { console.log('Open the post itself (…/@user/1234567890) then run this again.'); return; }
const [, poster, id] = m;
const fetchAll = async (endpoint) => {
let url = `/api/v1/statuses/${id}/${endpoint}?limit=80`;
const out = [];
@grahamperrin
grahamperrin / mastodon_bio_search_to_csv.py
Created October 10, 2026 14:49
Bulk block Mastodon users by profile tags
#!/usr/bin/env python3
"""
mastodon_bio_search_to_csv.py
Searches a Mastodon instance's account search (bio/username match) for one
or more queries (e.g. hashtags like "noai", "antiai", "nollm") and writes the
combined, deduplicated matching accounts to a CSV file in the format
Mastodon's Settings -> Import and Export -> Import (type: "Block") expects:
one `username@domain` handle per line, under a header row of
"Account address".
@grahamperrin
grahamperrin / context-fabric-review.md
Last active October 4, 2026 07:41
ConText for LLMs – an extension for Firefox by FABRIC – reviewed by Claude

ConText for LLMs – an extension for Firefox by FABRIC – reviewed by Claude

For: https://addons.mozilla.org/addon/context-for-llms/ version 1.0.2.

From: https://claude.ai/share/706d456b-4295-42cb-b650-aabe95715c6e (Sonnet 5.5, medium).


I'll start by reading the file-handling guidance, then unpack the extension and audit it.An .xpi is a zip archive. I'll list it first, and extract into my scratch directory since this is a code audit.The manifest declares only the storage permission and no host permissions. Next I'll search the first-party code for any network-capable APIs, then read the key files.I found some real issues. Before drawing conclusions I'll verify two more things: what the 28 fetch strings in KaTeX are, and whether the unescaped sinks can be reached with ordinary typed text.

@grahamperrin
grahamperrin / voguerage.md
Created October 3, 2026 07:24
vogue rage

vogue rage

(compound noun)

An irrationally angry reaction to popular and effective use of vibe-coding.