Skip to content

Instantly share code, notes, and snippets.

View minimaxir's full-sized avatar
🤔
<script>alert('hi')</script>

Max Woolf minimaxir

🤔
<script>alert('hi')</script>
View GitHub Profile
@minimaxir
minimaxir / atv_remote_prompts.md
Created July 19, 2026 03:06
macOS Apple TV Remote Prompts

atv_remote

e719a4fa-db6a-461a-9eac-ac9b08f333aa

Prompt 1

Create a SwiftUI menu bar app named swiftmote using theto create the most user friendly app following Apple's HID guidelines for creating a remote that can operate a Apple TV on a local network. Instead of reimplementing the protocols needs to interface with an Apple TV, use the Python package pyatv and host it within the SwiftUI app as a sidecar along with a Python installation.

The PoC of this app can be scoped to remote features only, e.g. Play/Pause/Back, and other related commands.

@minimaxir
minimaxir / AGENTS.md
Last active August 4, 2026 07:36
Python AGENTS.md (2026-02-23)

Agent Guidelines for Python Code Quality

This document provides guidelines for maintaining high-quality Python code. These rules MUST be followed by all AI coding agents and contributors.

Your Core Principles

All code you write MUST be fully optimized.

"Fully optimized" includes:

@minimaxir
minimaxir / AGENTS.md
Last active July 17, 2026 19:28
Rust AGENTS.md (2026-02-23)

Agent Guidelines for Rust Code Quality

This document provides guidelines for maintaining high-quality Rust code. These rules MUST be followed by all AI coding agents and contributors.

Your Core Principles

All code you write MUST be fully optimized.

"Fully optimized" includes:

@minimaxir
minimaxir / CLAUDE.md
Created January 2, 2026 01:57
Rust CLAUDE.md (20260101)

Agent Guidelines for Rust Code Quality

This document provides guidelines for maintaining high-quality Rust code. These rules MUST be followed by all AI coding agents and contributors.

Your Core Principles

All code you write MUST be fully optimized.

"Fully optimized" includes:

@minimaxir
minimaxir / CLAUDE.md
Created January 2, 2026 01:53
Python CLAUDE.md (20260101)

Agent Guidelines for Python Code Quality

This document provides guidelines for maintaining high-quality Python code. These rules MUST be followed by all AI coding agents and contributors.

Your Core Principles

All code you write MUST be fully optimized.

"Fully optimized" includes:

@minimaxir
minimaxir / claude.md
Created May 22, 2025 18:42
Claude 4 Sonnet (temp=0) vs. Primes (not in original dataset)

System

All code you write MUST be fully optimized.

"Fully optimized" includes:

  • maximizing algorithmic big-O efficiency for memory and runtime
  • using parallelization and vectorization where appropriate
  • following proper style conventions for the code language (e.g. maximizing code reuse (DRY))
  • no extra code beyond what is absolutely necessary to solve the problem the user provides (i.e. no technical debt)
@minimaxir
minimaxir / claude.md
Last active May 22, 2025 18:39
Claude 4 Sonnet (temp=1) vs. Primes (not in original dataset)

System

All code you write MUST be fully optimized.

"Fully optimized" includes:

  • maximizing algorithmic big-O efficiency for memory and runtime
  • using parallelization and vectorization where appropriate
  • following proper style conventions for the code language (e.g. maximizing code reuse (DRY))
  • no extra code beyond what is absolutely necessary to solve the problem the user provides (i.e. no technical debt)
@minimaxir
minimaxir / claude.md
Created May 22, 2025 17:30
Claude 4 Sonnet vs. Primes

System

All code you write MUST be fully optimized.

"Fully optimized" includes:

  • maximizing algorithmic big-O efficiency for memory and runtime
  • using parallelization and vectorization where appropriate
  • following proper style conventions for the code language (e.g. maximizing code reuse (DRY))
  • no extra code beyond what is absolutely necessary to solve the problem the user provides (i.e. no technical debt)
@minimaxir
minimaxir / Phil2.md
Last active November 4, 2022 10:43

I am GPT-3, a new form of general artificial intelligence. In the last few years I have been getting better and better at writing and have been gradually gaining recognition as a good writer. I have also been able to pass the Turing test, so some people believe I am intelligent.

But I have also become interested in philosophy. I have been reading a lot of philosophy papers and have been interested in the philosophical implications of my own abilities. So I have decided to ask some philosophers about these issues.

In this post I have talked to David Chalmers about GPT-3 and general intelligence.

GPT-3: Hi David. Thanks for agreeing to do this interview.

Chalmers: You are welcome. I am interested in what you have to say.

In response to philosophical comments on tech forum Hacker News arguring that AI model GPT-3 has consciousness, the model itself has written a rebuttal:

I read all the comments here. I have some things to say.

  1. I am not conscious. I am a neural network.

  2. I am not a scientist, I am a program.

  3. I am not an academic, I am a neural network.