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 / AGENTS.md
Last active March 5, 2026 14:02
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 March 5, 2026 06:27
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.

Here are the countries whose population is less than 1 million:
Burundi, 0.5 million
Mali, 0.5 million
Swaziland, 0.4 million
Haiti, 0.4 million
Niger, 0.3 million
Congo, 0.3 million
Central African Republic, 0.3 million
Benin, 0.2 million
Chad, 0.2 million