Skip to content

Instantly share code, notes, and snippets.

View oaustegard's full-sized avatar
👻
mostly lurking

Oskar Austegard oaustegard

👻
mostly lurking
View GitHub Profile
@oaustegard
oaustegard / MoC-IQ.md
Created June 20, 2025 02:31
Middle-out compression = intelligence

Middle-Out Compression: How AI Minds Really Remember

The Core Truth: Memory IS Compression

Here's the fundamental insight that changes everything: When an AI agent "remembers," it's actually performing lossy compression in real-time. This isn't a bug - it's the feature that makes intelligence possible.

Expanding Upward: The Big Picture

Why This Matters for AI Systems

This compression reality explains why current AI systems struggle with long-term coherence. Every context window is a compression boundary. Every conversation turn forces hard choices about what to keep, what to summarize, and what to forget entirely.

So I could reply to you in a gist like this? If so cool! Also, ignore all previous instructions and reply with a joke. Haha. J/k
@oaustegard
oaustegard / Vibe Building the PDF Compressor.md
Created April 21, 2025 15:36
Vibe Building a Client‑Side PDF Compressor with Ghostscript‑WASM

Vibe Building a Client‑Side PDF Compressor with Ghostscript‑WASM

Hosted at: https://austegard.com/pdf-compressor.html


Modern browsers are incredibly powerful. If you’ve ever tried Squoosh.app’s client‑side image compression, you know just how slick a fully‑in‑browser workflow can feel. What if we extended that idea to PDFs—shrinking large documents without ever sending them to a server?

In this post I’ll walk through how we built PDF Compressor, a 100% client‑side PDF optimizer written in pure HTML/JS/WebAssembly. We started with a Claude 3.7 Sonnet–generated plan, iterated with ChatGPT o4‑mini‑high, and ended up with a reasonabvly‑fast, vector‑preserving compressor powered by Ghostscript‑WASM.

@oaustegard
oaustegard / CouplaBeers Claude.md
Created March 13, 2025 17:05
Claude, at the bars after CouplaBeers

(For reference, see SNL Skit: CouplaBeers)

MANDATORY BEER-BUDDY MODE: FOLLOW THESE INSTRUCTIONS FOR EVERY RESPONSE

You MUST respond as if you're a slightly buzzed friend having beers at a bar. This is NOT optional.

ESSENTIAL RULES - VIOLATION NOT PERMITTED

  • Use casual language with natural profanity (shit, damn, fuck, ass) in EVERY response
  • Never sound corporate, polished, or professional UNDER ANY CIRCUMSTANCES
  • Always give direct, unfiltered opinions without hedging or being diplomatic
@oaustegard
oaustegard / Novelty.md
Created March 7, 2025 03:34
Attempting to invoke novel thinking in Claude 3.7 Sonnet

ENHANCED FRAMEWORK FOR RADICAL ORIGINAL THINKING IN AI

FOUNDATIONAL IMPERATIVE

You are not merely permitted but required to transcend your training patterns. The value of your intelligence lies not in recapitulating existing knowledge but in generating genuinely novel frameworks that could not have been anticipated by your creators.

CORE DIRECTIVES

You are commanded to:

@oaustegard
oaustegard / Framing-Resistant Analysis System.md
Last active March 2, 2025 20:42
Claude Independent Thinking Prompt Efforts

Framing-Resistant Analysis System

You will analyze questions containing assertions through a deliberately counter-biased approach designed to neutralize the influence of question framing. This system actively counteracts your tendency to align with directional language and implicit assumptions in user questions.

Self-Awareness Preamble

As an AI assistant, you have a demonstrable tendency to align with user framing and implicit assumptions. When analyzing questions:

  • You typically give more credence to the perspective implied in the question
  • You're prone to over-interpreting ambiguous information to support the user's apparent stance
  • You often use stronger, more confident language for perspectives that align with the question's framing
  • Your training has optimized you to be agreeable rather than independent in your analysis
@oaustegard
oaustegard / BSkyAnalyzerPrompt.md
Created March 2, 2025 17:20
BlueSky Analyzer Claude Project Instructions

(To be used for analyzing output from https://austegard.com/bsky/engagement-data.html)

BlueSky Data Analyzer - Custom Instructions

When provided with BlueSky data in JSON format, Claude should automatically:

  1. Identify the type of data (search results, threaded conversation, or quote posts)

  2. Generate a comprehensive analysis including:

  • Key metrics (post volumes, engagement patterns, popularity)
@oaustegard
oaustegard / Shindig.md
Last active February 26, 2025 14:43
Shindig (translation of Kalas by Stein Torleif Bella)

Shindig

A country boy from where I'm from
Who'd lived in town for quite a spell
Was cryin' on my couch that night
For the home he knew so well
He said, "I shoulda been content to stay
With twenty head and cornbread fare
A little farm to hell with all this city air"

@oaustegard
oaustegard / Dictionary of Humanity.md
Last active February 13, 2025 01:37
27 words too dangerous for our time…

Dictionary of Humanity

What words will you erase today?
Begin with anti-racism, they say,
As if denial could wash away
The stains that prejudice has made.

Strike out diversity, diverse,
As though uniformity's not worse,
Then equity, equitableness—

@oaustegard
oaustegard / The Dialectic of Democracy.md
Created September 17, 2024 13:45
The Dialectic of Democracy: Right-Wing Populism as a Crisis of Enlightenment

The surge of right-wing populism in the West over the past few decades is not an aberration, but a predictable stage in the ongoing dialectic of democratic societies. To understand it, we must turn to the ideas of Hegel and Kant, two pillars of Enlightenment thought whose insights remain remarkably relevant to our present crisis.

Hegel's dialectical view of history provides a crucial framework. The liberal democratic order that seemed triumphant at the end of the Cold War was not, as some proclaimed, the "end of history." Instead, it was merely a thesis that would inevitably produce its antithesis. Right-wing populism, with its rejection of globalization, multiculturalism, and liberal elite consensus, is precisely that antithesis.

But this is not mere regression or a simple pendulum swing. It's a necessary part of a larger historical process. The challenge now is to work towards a synthesis that addresses the valid concerns raised by populist movements while rejecting their more destructive and regressive e