Skip to content

Instantly share code, notes, and snippets.

@kennyfrc
kennyfrc / llmslop.md
Created November 8, 2025 07:31 — forked from jph00/llmslop.md
LLM signs, based on wikipedia

This is a list of phrases and formatting conventions typical of AI chatbots with real examples.

Language and tone

Undue emphasis on symbolism and importance

Words to watch: is/stands as/serves as a testament, plays a vital/significant role, underscores its importance, continues to captivate, leaves a lasting impact, watershed moment, key turning point, deeply rooted, profound heritage, steadfast dedication, stands as a, solidifies ...

LLM writing often puffs up the importance of the subject matter with reminders that it represents or contributes to a broader topic. There seems to be only a small repertoire of ways that it writes these reminders, so if they are otherwise appropriate it would be best to reword them anyway.

@kennyfrc
kennyfrc / apply_patch.py
Last active September 28, 2025 17:50
`apply_patch` implementation for use with GPT-4.1+. initially sourced from the openai cookbook, extended by using the rust `apply_patch` implementation in `openai/codex` as inspiration (it has better feedback with A,M,D updates)
#!/usr/bin/env python3
from enum import Enum
from typing import Optional
from pydantic import BaseModel, Field
class ActionType(str, Enum):
ADD = "add"
DELETE = "delete"
@kennyfrc
kennyfrc / railway_oriented_programming_in_ruby.rb
Last active March 3, 2023 16:22
Ruby Example of Railway Oriented Programming
require 'json'
##
# Combinator module
# contains .map, .bind, .apply, .compose
# a toolkit for building functional programs
##
module Combinator
Result = Data.define(:success, :error, :value) do
def call(&block)
@kennyfrc
kennyfrc / checkout_fb_pixel
Created September 10, 2017 05:10
facebook checkout purchase tracking code
<script>
fbq('track', 'Purchase', {value: {{ total_price | money_without_currency }}, currency: {{ shop.currency }}});
</script>