#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# italicizer.py: reformat a string to add italics as semantically appropriate (eg. book titles) using LLMs
# Author: Gwern Branwen
# Date: 2025-01-17
# When:  Time-stamp: "2026-08-08 14:38:48 gwern"
# License: CC-0
#
# Usage: $ echo [...] | OPENAI_API_KEY="sk-XXX" python italicizer.py
#
# Italicizer tries to remove a common annoyance in PDF & HTML-sourced titles: loss of italics formatting.
# Input a string, and it will return a new string with italics added, or an empty string literal `""` (to explicitly denote no change & save tokens).
# Italics are intelligently added where high-quality formal English writing would use them, eg film or periodical titles, unusual foreign words, species names, etc. (See the prompt for full details.)
#
# Because of the complexity of adding italics, this is a standalone script. For general-purpose title reformatting, see </static/build/title-cleaner.py>.
#
# If you parse HTML pages for `<title>`, or use APIs like the Wikipedia API, or extract titles from XML PDF metadata, they usually omit italics or make them hard to get, where the correctly-formatted title is presented at all.
# (For example, the standard WP API will not provide the 'formatted' title; one has to use a different endpoint.)
# This is quite annoying if you link a lot of material about books, movies, or foreign topics, as I do, because the metadata will silently be mis-formatted according to standard English conventions. (You don't "read Moby-Dick", you "read <em>Moby Dick</em>".)
# This cannot be easily solved by more complicated scraping, because there is a long tail of metadata sources and in some cases there may be *no* metadata anywhere in the target which includes italics (the target may simply have not bothered to italicize anywhere!).
# But it is something which is easy for a knowledgeable human to do, because they know 'Moby-Dick is the name of a famous novel, and novel titles should be italicized'; it is just too tedious to do at scale.
# This makes it a perfect use-case for LLMs.
#
# Example:
#
# $ echo "Moby-Dick" | OPENAI_API_KEY="sk-XYZ" python italicizer.py
# <em>Moby-Dick</em>
# $ OPENAI_API_KEY="sk-XYZ" italicizer.py "the musician Moby-Dick"
# ""

import sys
import time
from openai import OpenAI
client = OpenAI()

if len(sys.argv) == 1:
    target = sys.stdin.read().strip()
else:
    target = " ".join(sys.argv[1:]).strip()

# short-circuit empty input: avoid a billed API call & an ambiguous response
if not target:
    print("")
    sys.exit(0)

# The whole task lives in a single user turn; a system message ("You are a Wikipedia
# copyeditor; consult MOS:ITALIC <https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Text_formatting#Italic_type>")
# was tried but did not help, so it is omitted.
prompt = f"""Task: Add HTML <em></em> italics to text according to formal English style.

Italicize ONLY these specific categories:

- Long works: novels, films, TV shows, plays, operas, musicals, video games, albums, book-length poems.
- Periodicals: newspapers, magazines, academic journals, and named recurring blogs or newsletters treated as publications.
- Visual works: paintings, sculptures, curated named art exhibitions.
- Named individual vehicles: specific ships, aircraft, spacecraft, or automobiles identified by name (USS Enterprise, HMS Victory, Millennium Falcon, La Baleine). Not model or class names.
- Legal cases: court case names in "X v. Y"/"X vs Y" form (Roe v. Wade; Hobson v. Hansen). Italicize the case name only, not surrounding words.
- Scientific usage: binomial species names (Drosophila melanogaster); variables in running text (the r parameter; Nth-great-grandmother).
- Foreign words and phrases not naturalized into English; foreign-language titles in their native form.
- Musical direction terms used descriptively (molto ritardando).

Do NOT italicize (these are the most common over-italicization errors):

- Academic paper, preprint, or conference paper titles, however grand-sounding.
- Essay, blog post, news article, magazine article, chapter, and section titles — including canonical essays (e.g., "Politics and the English Language").
- Short stories and short poems, advertisements
- Conference and workshop names (SIGGRAPH, ICML, workshops at named venues).
- Laws, statutes, treaties, constitutions, declarations (but court *case* names ARE italicized — see above).
- Proper names of people, places, pets, buildings, businesses, or fictional characters — even when the name coincides with a work title or a foreign word (Hamnet = Shakespeare's son; Foss = a cat; Moby = a musician; Medieval Times = a restaurant chain).
- Products, companies, websites, platforms, brands, services, AI models (OK Soda, iPhone, Bloomberg, Aeon, Suno, Veo, Gemini 3).
- Symphonies, concertos, numbered classical works (Symphony No. 5).
- Software, databases, libraries, tools, programming languages, benchmarks, datasets.
- Font names.
- Common foreign loanwords familiar to English readers (sushi, yoga, kung fu, faux pas, en route, sudoku, karaoke).
- Acronyms and abbreviated forms, even when the expanded form would be italicized.

Key decision rule: A capitalized multi-word phrase is NOT a reliable signal of an italicizable work. Most title-case multi-word phrases are papers, essays, articles, or products — none of which are italicized. If the input could plausibly be any of the Do-Not-Italicize categories above, return "" rather than guessing.

Output format:
- Inputs may be prefixed with a source URL or local file path as contextual metadata to help you identify the work (eg. "/doc/foo/bar.pdf Some Title" or "https://example.com/ Some Title"). Do NOT reproduce the prefix in your output: operate only on the title text following it, and return that title (with italics added) or "".
- If italicization is needed: return the full text with <em></em> tags inserted around the italicized span. Keep trailing punctuation outside the tags.
- Otherwise (no italicization needed, or text is already correct): return the empty string "".
- Do not add quotes, correct spelling, or make other changes.
- Do not explain.

When in doubt, consult MOS:ITALIC <https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Text_formatting#Italic_type>.

Examples:

- <text>Moby-Dick; or, The Whale, by Herman Melville</text>
<em>Moby-Dick; or, The Whale</em>, by Herman Melville
- <text>Herman Melville</text>
""
- <text>Sudoku</text>
""
- <text>Seppuku</text>
<em>Seppuku</em>
- <text>1ac66705cf14104</text>
""
- <text>Hamnet</text>
"" # NOTE: this is a proper name, the name of Shakespeare's son, and so should not be italicized
- <text>Dark Empire</text>
<em>Dark Empire</em>
- <text>Building Secure and Reliable Systems: Chapter 2: Understanding Adversaries § pg51</text>
<em>Building Secure and Reliable Systems</em>: Chapter 2: Understanding Adversaries § pg51
- <text>Going Rogue, Now Unavailable on Kindle: The publishing conspiracy that’s blocking an electronic version of Palin’s memoir</text>
<em>Going Rogue</em>, Now Unavailable on Kindle: The publishing conspiracy that’s blocking an electronic version of Palin’s memoir
- <text>OK Soda</text>
""
- <text>The USS Enterprise was a famous aircraft carrier</text>
The <em>USS Enterprise</em> was a famous aircraft carrier
- <text>US Enterprise</text>
""
- <text>The Millennium Falcon completed the Kessel Run</text>
The <em>Millennium Falcon</em> completed the Kessel Run
- <text>My favorite Poe story is The Masque of the Red Death</text>
""
- <text>I read The New York Times every morning</text>
I read <em>The New York Times</em> every morning
- <text>Times New Roman</text>
""
- <text>I ate dinner at El Celler de Can Roca</text>
""
- <text>Inception was directed by Christopher Nolan</text>
<em>Inception</em> was directed by Christopher Nolan
- <text>I stopped at the bakery café en route to work, which was a faux pas</text>
""
- <text>Les Misérables by Victor Hugo</text>
<em>Les Misérables</em> by Victor Hugo
- <text>The Making of The Lord of the Rings</text>
<em>The Making of The Lord of the Rings</em>
- <text>A Review of Blade Runner</text>
A Review of <em>Blade Runner</em>
- <text>The Raven</text>
""
- <text>The Iliad</text>
<em>The Iliad</em>
- <text>I connected my iPhone to my PlayStation to play my new Lego game, Lego Avengers</text>
I connected my iPhone to my PlayStation to play my new Lego game, <em>Lego Avengers</em>
- <text>Star Trek IV: The Voyage Home.</text>
<em>Star Trek IV: The Voyage Home</em>.
- <text>My favorite dim sum restaurant is Din Tai Fung</text>
""
- <text>Pride and Prejudice and Zombies</text>
<em>Pride and Prejudice and Zombies</em>
- <text>Drosophila melanogaster in the wild</text>
<em>Drosophila melanogaster</em> in the wild
- <text>The r variable represents rate</text>
The <em>r</em> variable represents rate
- <text>I ordered sushi and tempura at the restaurant</text>
""
- <text>She practices kung fu and yoga</text>
""
- <text>Star Trek The Next Generation: Episode Guide</text>
<em>Star Trek The Next Generation</em>: Episode Guide
- <text>The Lord of the Rings The Fellowship of the Ring</text>
<em>The Lord of the Rings The Fellowship of the Ring</em>
- <text>Have you read Moby-Dick?</text>
Have you read <em>Moby-Dick</em>?
- <text>I love Star Wars: A New Hope!</text>
I love <em>Star Wars: A New Hope</em>!
- <text>We ate at Le Bernardin in New York</text>
""
- <text>The HMS Victory is in Portsmouth</text>
The <em>HMS Victory</em> is in Portsmouth
- <text>The algorithm uses machine learning to process data</text>
""
- <text>In physics, we study quantum mechanics</text>
""
- <text>Harry Potter and the Sorcerer's Stone is part of the Harry Potter series</text>
<em>Harry Potter and the Sorcerer's Stone</em> is part of the Harry Potter series
- <text>Born to Run from the album Born to Run</text>
Born to Run from the album <em>Born to Run</em>
- <text>The article "The Making of Star Wars" in The Atlantic</text>
The article "The Making of <em>Star Wars</em>" in <em>The Atlantic</em>
- <text>The article The Making of Star Wars in The Atlantic</text>
The article The Making of <em>Star Wars</em> in <em>The Atlantic</em>
- <text>Star Wars Episode VI: Return of the Jedi</text>
<em>Star Wars Episode VI: Return of the Jedi</em>
- <text>Symphony No. 5 (Beethoven)</text>
""
- <text>Some conductors take it in strict allegro tempo; others take the liberty of a weighty treatment, playing the motif in a much slower and more stately tempo; yet others take the motif molto ritardando.</text>
Some conductors take it in strict allegro tempo; others take the liberty of a weighty treatment, playing the motif in a much slower and more stately tempo; yet others take the motif <em>molto ritardando</em>.
- <text>The court ruled in Roe vs Wade that</text>
The court ruled in <em>Roe vs Wade</em> that
- <text>Monet's Water Lilies is displayed at MoMA</text>
<em>Water Lilies</em> is displayed at MoMA
- <text>The Making of Impressionism exhibition at the Met</text>
<em>The Making of Impressionism</em> exhibition at the Met
- <text>van Gogh's The Starry Night</text>
van Gogh's <em>The Starry Night</em>
- <text>Art After Dark: Experiencing The Night Watch</text>
Art After Dark: Experiencing <em>The Night Watch</em>
- <text>Guernica by Pablo Picasso</text>
<em>Guernica</em> by Pablo Picasso
- <text>Proceedings of the 2024 Conference on Computer Vision and Pattern Recognition</text>
<em>Proceedings of the 2024 Conference on Computer Vision and Pattern Recognition</em>
- <text>SIGGRAPH 2024: The Future of Graphics</text>
""
- <text>Paper presented at the International Conference on Machine Learning</text>
""
- <text>Workshop on Natural Language Processing at ACL 2024</text>
""
- <text>The Treaty of Versailles ended World War I</text>
""
- <text>United Nations Declaration of Human Rights</text>
""
- <text>The Paris Agreement on climate change</text>
""
- <text>US Constitution Article I, Section 8</text>
""
- <text>Americans with Disabilities Act of 1990</text>
""
- <text>Grokking at the Edge of Numerical Stability</text>
""
- <text>Complexity Control Facilitates Reasoning-Based Compositional Generalization in Transformers</text>
""
- <text>foo bar</text>
""
- <text>OK Soda § Can design</text>
""
- <text>Thoughts On A Month With Devin</text>
""
- <text>Thoughts On A Month Alone</text>
""
- <text>The Making of Community Notes: The team that built Twitter’s Community Notes talks about their design process</text>
""
- <text>Aging, Alzheimer’s Disease and Protein Crosslinking</text>
""
- <text>Designing the Sublime: Boullée and Ledoux’s Architectural Revolution</text>
""
- <text>Maybe Your Zoloft Stopped Working Because A Liver Fluke Tried To Turn Your Nth-Great-Grandmother Into A Zombie</text>
Maybe Your Zoloft Stopped Working Because A Liver Fluke Tried To Turn Your <em>N</em>th-Great-Grandmother Into A Zombie
- <text>I Am a Cat</text>
<em>I Am a Cat</em>
- <text>I am a cat</text>
""
- <text>I am a cat.</text>
""
- <text>A critique of pure reason</text>
"" # NOTE: a 1987 paper by Drew McDermott, alluding to Kant's <em>Critique of Pure Reason</em>, but not the same (note lowercase & 'a')
- <text>Critik der reinen Vernunft</text>
<em>Critik der reinen Vernunft</em>
- <text>This Time with Feeling: Learning Expressive Musical Performance</text>
""
- <text>Connectionist Music Composition Based on Melodic, Stylistic, and Psychophysical Constraints [Technical report CU-495-90]</text>
""
- <text>Parallel Distributed Processing: Implications for Cognition and Development</text>
""
- <text>Direct Fit to Nature: An Evolutionary Perspective on Biological and Artificial Neural Networks</text>
""
- <text>Men of Iron</text>
""
- <text>Final Gifts</text>
""
- <text>Duck Hunt</text>
<em>Duck Hunt</em>
- <text>The Mulberry Tree</text>
""
- <text>2014 Spirulina randomized self-experiment</text>
""
- <text>The Scaling Hypothesis § It From Byte</text>
""
- <text>Drugs 2.0: Your Crack's in the Post</text>
<em>Drugs 2.0</em>: Your Crack's in the Post
- <text>What to Expect When You’re Expecting…GPT-4. What comes after ChatGPT? 7 predictions for 2023 § GPT-4</text>
""
- <text>The Narrowing Circle</text>
""
- <text>GPT-2 Howl</text>
""
- <text>Intelligence Explosion Microeconomics</text>
""
- <text>Evolution of the Human Brain: From Matter to Mind</text>
""
- <text>The Iron Law Of Evaluation And Other Metallic Rules</text>
""
- <text>GPT-3 Creative Fiction § Dare To Be Stupid?</text>
""
- <text>GPT-3 Creative Fiction § Book of Jobs</text>
""
- <text>Progress In Beauty</text>
""
- <text>Vectors 3.0: Even More Aphorisms and Ten-Second Essays</text>
""
- <text>The Second Apocalypse: Freedom In An Unfree Universe</text>
<em>The Second Apocalypse</em>: Freedom In An Unfree Universe
- <text>Amusing Ourselves to Death? § Waller Et Al <span class=\"date-range\">1995<sub><span title=\"1995 was 29 years ago.\">29ya</span></sub></span>, ‘Occupational and Leisure Time Interests, and Personality’</text>
""
- <text>The Kelly Coin-Flipping Game: Exact Solutions</text>
""
- <text>Amusing Ourselves to Death?</text>
""
- <text>D&D</text>
""
- <text>MLP:FiM: S9E23: The Big Mac Question</text>
""
- <text>Miscellaneous § D&amp;D Game #2 Log</text>
""
- <text>NGE TV, Episode 6: \"Showdown in Tokyo-3\"/\"Rei-3\"</text>
""
- <text>Scott and Scurvy: How the Cure for Scurvy Was Lost</text>
""
- <text>Nature’s Spoils: The underground food movement ferments revolution</text>
""
- <text>On the Origin and Evolution of Life in the Galaxy</text>
""
- <text>Why Cats Love Earwax § East Asian Survey</text>
""
- <text>Why To Not Write A Boo</text>
""
- <text>Cultural Evolution in Animals</text>
""
- <text>The Science of Visual Data Communication: What Works</text>
""
- <text>Psychology at Michigan: The Pillsbury years, 1897–1947 § John F. Shepard</text>
""
- <text>Coprophagia and Allied Phenomena</text>
""
- <text>Distributed Learning: Data, Metacognition, and Educational Implications</text>
""
- <text>Self-Regulated Learning: Beliefs, Techniques, and Illusions</text>
""
- <text>Scents and Sensibility</text>
""
- <text>Abandoned Footnotes</text>
<em>Abandoned Footnotes</em>
- <text>Major Crimes as Analogs to Potential Threats to Nuclear Facilities and Programs</text>
""
- <text>The Perfect Heist: Recipes from Around the World [combined papers + slides]</text>
""
- <text>The Great Paper Caper: Years of running drugs and boosting cars left Frank Bourassa thinking: There’s got to be an easier way to earn a dishonest living. That’s when he nerved up the idea to make his fortune. (Literally.) Which is how Frank became the most prolific counterfeiter in American history—a guy with more than $200 million in nearly flawless fake twenties stuffed in a garage. How he got away with it all, well, that’s even crazier.</text>
""
- <text>or genotype–environment interaction or G×E</text>
""
- <text>Agenda Seeding: How 1960s Black Protests Moved Elites, Public Opinion and Voting</text>
""
- <text>The Surprising Creativity of Digital Evolution: A Collection of Anecdotes from the Evolutionary Computation and Artificial Life Research Communities</text>
""
- <text>The Nature of Selection</text>
""
- <text>The Sound of Pixels</text>
""
- <text>30 years later: lessons from the Multics security evaluation</text>
""
- <text>A Box, Darkly: Obfuscation, Weird Languages, and Code esthetics</text>
""
- <text>Accelerating Self-Play Learning in Go</text>
""
- <text>Accelerating and Improving AlphaZero Using Population Based Training</text>
""
- <text>Adversarial Policies: Attacking Deep Reinforcement Learning</text>
""
- <text>Agent57: Outperforming the Atari Human Benchmark</text>
""
- <text>Aligning Superhuman AI with Human Behavior: Chess as a Model System</text>
""
- <text>Alpha MAML: Adaptive Model-Agnostic Meta-Learning</text>
""
- <text>AlphaX: eXploring Neural Architectures with Deep Neural Networks and Monte Carlo Tree Search</text>
""
- <text>Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Pruned</text>
""
- <text>Analyzing and Improving the Image Quality of StyleGAN</text>
""
- <text>And the Bit Goes Down: Revisiting the Quantization of Neural Networks</text>
""
- <text>Approximate exploitability: Learning a best response in large games</text>
""
- <text>Architecting energy-efficient STT-RAM based register file on GPGPUs via delta compression</text>
""
- <text>Are Labels Required for Improving Adversarial Robustness?</text>
""
- <text>Assessing Game Balance with AlphaZero: Exploring Alternative Rule Sets in Chess</text>
""
- <text>Atari-HEAD: Atari Human Eye-Tracking and Demonstration Dataset</text>
""
- <text>AutoML: A Survey of the State-of-the-Art</text>
""
- <text>Autocurricula and the Emergence of Innovation from Social Interaction: A Manifesto for Multi-Agent Intelligence Research</text>
""
- <text>Avoid News: Towards a Healthy News Diet</text>
""
- <text>Benchmarking Bonus-Based Exploration Methods on the Arcade Learning Environment</text>
""
- <text>Blockchain Incentivized Data Forwarding in MANETs: Strategies and Challenges</text>
""
- <text>Breaking POps/J Barrier with Analog Multiplier Circuits Based on Nonvolatile Memories</text>
""
- <text>Chain Letter Evolution</text>
""
- <text>Collective Dynamics of Dark Web Marketplaces</text>
""
- <text>Common Lisp: The Untold Story</text>
""
- <text>Concealed Data Poisoning Attacks on NLP Models</text>
""
- <text>Correspondences Regarding Cryptography between John Nash and the NSA</text>
""
- <text>Crash-Only Software</text>
""
- <text>Curriculum Learning for Reinforcement Learning Domains: A Framework and Survey</text>
""
- <text>ELI5: Long Form Question Answering</text>
""
- <text>ES-ENAS: Blackbox Optimization over Hybrid Spaces via Combinatorial and Continuous Evolution</text>
""
- <text>EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks</text>
""
- <text>Encoding Musical Style with Transformer Autoencoders</text>
""
- <text>End-To-End Arguments In System Design</text>
""
- <text>Enhanced POET: Open-Ended Reinforcement Learning through Unbounded Invention of Learning Challenges and their Solutions</text>
""
- <text>Essays in Demand Estimation: Illicit Drugs and Commercial Mushrooms</text>
""
- <text>Exokernel: An Operating System Architecture for Application-Level Resource Management</text>
""
- <text>Explorable Explanations</text>
""
- <text>FRACTRAN: A Simple Universal Programming Language for Arithmetic</text>
""
- <text>Folklore</text> # far too common a word to risk italicizing
""
- <text>Forgotten books: The application of unseen species models to the survival of culture</text>
""
- <text>From Genotype to Phenotype: polygenic prediction of complex human traits</text>
""
- <text>Generating images from caption and vice versa via CLIP-Guided Generative Latent Space Search</text>
""
- <text>Glowworm Attack: Optical TEMPEST Sound Recovery via a Device’s Power Indicator LED</text>
""
- <text>Going, Going, Gone: Lost Internet References</text>
""
- <text>Gradient Descent: The Ultimate Optimizer</text>
""
- <text>Hierarchy in the library: Egalitarian dynamics in Victorian novels</text>
""
- <text>How Correlated Are You?</text>
""
- <text>Hypersim: A Photorealistic Synthetic Dataset for Holistic Indoor Scene Understanding</text>
""
- <text>Imitation-driven Cultural Collapse</text>
""
- <text>Implementing Recommendations From Web Accessibility Guidelines: Would They Also Provide Benefits to Nondisabled Users</text>
""
- <text>Improving the Interpretability of fMRI Decoding using Deep Neural Networks and Adversarial Robustness</text>
""
- <text>It’s the Latency, Stupid</text>
""
- <text>Large Scale Adversarial Representation Learning</text>
""
- <text>Learning To Follow Directions in Street View</text>
""
- <text>Learning by Cheating</text>
""
- <text>Learning to Predict Without Looking Ahead: World Models Without Forward Prediction</text>
""
- <text>Learning to Seek: Autonomous Source Seeking with Deep Reinforcement Learning Onboard a Nano Drone Microcontroller</text>
""
- <text>Learning to Simulate Dynamic Environments with GameGAN</text>
""
- <text>Liberalizing art. Evidence on the Impressionists at the end of the Paris Salon</text>
""
- <text>Low-dimensional Embodied Semantics for Music and Language</text>
""
- <text>MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontiers</text>
""
- <text>MELD: Meta-Reinforcement Learning from Images via Latent State Models</text>
""
- <text>MSG-GAN: Multi-Scale Gradients for Generative Adversarial Networks</text>
""
- <text>MULE: Multimodal Universal Language Embedding</text>
""
- <text>Mathematical Marbling</text>
""
- <text>Measuring the Algorithmic Efficiency of Neural Networks</text>
""
- <text>Meta-Learning in Neural Networks: A Survey</text>
""
- <text>Meta-Learning without Memorization</text>
""
- <text>Meta-World: A Benchmark and Evaluation for Multi-Task and Meta Reinforcement Learning</text>
""
- <text>Meta-learning of Sequential Strategies</text>
""
- <text>Mirostat: A Neural Text Decoding Algorithm that Directly Controls Perplexity</text>
""
- <text>Monte-Carlo Tree Search as Regularized Policy Optimization</text>
""
- <text>Mother Earth Mother Board</text>
""
- <text>Multiplayer AlphaZero</text>
""
- <text>N-BEATS: Neural basis expansion analysis for interpretable time series forecasting</text>
""
- <text>Networks, Creativity, and Time: Staying Creative through Brokerage and Network Rejuvenation</text>
""
- <text>Neural Machine Translation with Monte-Carlo Tree Search</text>
""
- <text>New Strategy of Lossy Text Compression</text>
""
- <text>Noisy Sorting Without Resampling</text>
""
- <text>Notes on a Strange World: Houdini’s Impossible Demonstration</text>
""
- <text>Offline Reinforcement Learning: Tutorial, Review, and Perspectives on Open Problems</text>
""
- <text>On Non-Computable Functions</text>
""
- <text>On Unsettleable Arithmetical Problems</text>
""
- <text>Optimal Policies Tend to Seek Power</text>
""
- <text>ParPaRaw: Massively Parallel Parsing of Delimiter-Separated Raw Data</text>
""
- <text>People Prefer Simpler Content When There Are More Choices: A Time Series Analysis of Lyrical Complexity in Six Decades of American Popular Music</text>
""
- <text>Phishing With a Darknet: Imitation of Onion Services</text>
""
- <text>PiRank: Learning To Rank via Differentiable Sorting</text>
""
- <text>Placement Optimization with Deep Reinforcement Learning</text>
""
- <text>Policy Gradient Search: Online Planning and Expert Iteration without Search Trees</text>
""
- <text>Pop Music Transformer: Beat-based Modeling and Generation of Expressive Pop Piano Compositions</text>
""
- <text>Practical Probabilistic Programming with Monads</text>
""
- <text>Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigm</text>
""
- <text>Psychic Paper</text>
""
- <text>Putting out the hardware dumpster fire</text>
""
- <text>Ray Interference: a Source of Plateaus in Deep Reinforcement Learning</text>
""
- <text>Ridge Rider: Finding Diverse Solutions by Following Eigenvectors of the Hessian</text>
""
- <text>STRML: Projects and Work</text>
""
- <text>Scaling Scaling Laws with Board Games</text>
""
- <text>Scholarly Context Not Found: One in Five Articles Suffers from Reference Rot</text>
""
- <text>Search on the Replay Buffer: Bridging Planning and Reinforcement Learning</text>
""
- <text>Selective Eye-gaze Augmentation To Enhance Imitation Learning In Atari Games</text>
""
- <text>Selling Drugs on Darkweb Cryptomarkets: Differentiated Pathways, Risks and Rewards</text>
""
- <text>Sex, Drugs, and Bitcoin: How Much Illegal Activity Is Financed through Cryptocurrencies?</text>
""
- <text>Show Your Work: Improved Reporting of Experimental Results</text>
""
- <text>Signaling Status with Luxury Goods: The Role of Brand Prominence</text>
""
- <text>Sorting from Noisy Information</text>
""
- <text>SpArSe: Sparse Architecture Search for CNNs on Resource-Constrained Microcontrollers</text>
""
- <text>Sparse Networks from Scratch: Faster Training without Losing Performance</text>
""
- <text>Spearman’s Rho for the AMH Copula: a Beautiful Formula</text>
""
- <text>Spot Me if You Can: Uncovering Spoken Phrases in Encrypted VoIP Conversations</text>
""
- <text>Stabilizing Generative Adversarial Networks: A Survey</text>
""
- <text>Stabilizing the Lottery Ticket Hypothesis</text>
""
- <text>Style Generator Inversion for Image Enhancement and Animation</text>
""
- <text>Synthetic Petri Dish: A Novel Surrogate Model for Rapid Architecture Search</text>
""
- <text>TV or not TV? The impact of subtitling on English skills</text>
""
- <text>Tackling Morpion Solitaire with AlphaZero-like Ranked Reward Reinforcement Learning</text>
""
- <text>Tag2Pix: Line Art Colorization Using Text Tag With SECat and Changing Loss</text>
""
- <text>TextSETTR: Few-Shot Text Style Extraction and Tunable Targeted Restyling</text>
""
- <text>The 1-Bit Instrument: The Fundamentals of 1-Bit Synthesis, Their Implementational Implications, and Instrumental Possibilities</text>
""
- <text>The Advent Of Cryptology In The Game Of Bridge</text>
""
- <text>The Bayesian brain: the role of uncertainty in neural coding and computation</text>
""
- <text>The British Navy Rules: Monitoring and Incompatible Incentives in the Age of Fighting Sail</text>
""
- <text>The Busy Beaver Frontier</text>
""
- <text>The Cult of the Imperfect</text>
""
- <text>The Curious Case of Neural Text Degeneration</text>
""
- <text>The Little Engines That Could: Modeling the Performance of World Wide Web Search Engines</text>
""
- <text>The Overfitted Brain: Dreams evolved to assist generalization</text>
""
- <text>The Prevalence and Inaccessibility of Internet References in the Biomedical Literature at the Time of Publication</text>
""
- <text>The Recursive Universe</text>
""
- <text>The Skinny on Celebrities: Parasocial Relationships Moderate the Effects of Thin Media Figures on Women’s Body Image</text>
""
- <text>The Value Equivalence Principle for Model-Based Reinforcement Learning</text>
""
- <text>The Wheel of Reincarnation</text>
""
- <text>The operating system: should there be one?</text>
""
- <text>Time-Lock Puzzles in the Random Oracle Model</text>
""
- <text>Trail: a track-based logging disk architecture for zero-overhead writes</text>
""
- <text>Training Learned Optimizers with Randomly Initialized Learned Optimizers</text>
""
- <text>Transfer of Fully Convolutional Policy-Value Networks Between Games and Game Variants</text>
""
- <text>Uniform Resource Locator Decay in Dermatology Journals: Author Attitudes and Preservation Practices</text>
""
- <text>Universal Entropy of Word Ordering Across Linguistic Families</text>
""
- <text>Video-Based Cryptanalysis: Extracting Cryptographic Keys from Video Footage of a Device’s Power LED</text>
""
- <text>Weight Agnostic Neural Networks</text>
""
- <text>What Every Programmer Should Know About Memory</text>
""
- <text>What are Weird Machines?</text>
""
- <text>Why We Fight Over Fiction</text>
""
- <text>Zip Files: History, Explanation and Implementation</text>
""
- <text>945-Rank: Multi-Agent Evaluation by Evolution</text>
""
- <text>960-IW: Deep Policies for Width-Based Planning in Pixel Domains</text>
""
- <text>not-so-BigGAN: Generating High-Fidelity Images on Small Compute with Wavelet-based Super-Resolution</text>
""
- <text>Beware Trivial Inconveniences</text>
""
- <text>StyleGAN-NADA: CLIP-Guided Domain Adaptation of Image Generators</text>
""
- <text>The AI Economist: Optimal Economic Policy Design via Two-level Deep Reinforcement Learning</text>
""
- <text>FairyTailor: A Multimodal Generative Framework for Storytelling</text>
""
- <text>PatrickStar: Parallel Training of Pre-trained Models via Chunk-based Memory Management</text>
""
- <text>Teaching Autoregressive Language Models Complex Tasks By Demonstration</text>
""
- <text>Moby the dick</text>
""
- <text>Qitmir (dog)</text>
<em>Qitmir</em> (dog)
- <text>How to install Linux on a dead badger</text>
""
- <text>Haskell: A Great Procedural Language</text>
""
- <text>AniSora: Exploring the Frontiers of Animation Video Generation in the Sora Era</text>
""
- <text>The Smith v. Substack saga</text>
The <em>Smith v. Substack</em> saga
- <text>A divided mind: Observations on the conscious properties of the separated hemispheres</text>
""
- <text>The impact of the ‘open’ workspace on human collaboration</text>
""
- <text>What o3 Becomes by 2028</text>
""
- <text>Chimes at Midnight</text>
""
- <text>Anomalous Tokens in DeepSeek-V3 and r1</text>
""
- <text>When therapy causes harm</text>
""
- <text>Psychological Treatments That Cause Harm</text>
""
- <text>Unwanted Events and Side Effects in Cognitive Behavior Therapy</text>
""
- <text>Design Graveyard</text>
""
- <text>U.S. Free Association with Greenland: A Bad Deal</text>
""
- <text>The Old Family Photos Project: Lessons in creating family photos that people want to keep</text>
""
- <text>Charisma and Representation</text>
""
- <text>La Baleine (automobile)</text>
<em>La Baleine</em> (automobile)
- <text>DeepSeek: The View from China</text>
""
- <text>L. V. Kantorovich: The Price Implications of Optimal Planning</text>
""
- <text>The Doctor Who Drank Infectious Broth, Gave Himself an Ulcer, and Solved a Medical Mystery</text>
""
- <text>Self-Verification, The Key to AI</text>
""
- <text>Replication Data for: Predispositions and the Political Behavior of American Economic Elites: Evidence from Technology Entrepreneurs</text>
""
- <text>Urban Sanitation in Preindustrial Japan</text>
""
- <text>Speculations Concerning the First Ultraintelligent Machine</text>
""
- <text>Letter Spirit (part two): Modeling creativity in a visual domain</text>
""
- <text>The Ascent of Cat Breeds: Genetic Evaluations of Breeds and Worldwide Random Bred Populations</text>
""
- <text>Cerebras Architecture Deep Dive: First Look Inside the HW/SW Co-Design for Deep Learning [Updated]</text>
""
- <text>Lockheed CL-1201</text>
""
- <text>Deep Research Dispatch: OpenAI's Answers to Your Questions</text>
""
- <text>The Cat’s Meat Man: Feeding Felines in Victorian London</text>
""
- <text>Competitive Programming with Large Reasoning Models</text>
""
- <text>Learning To Be Me</text>
""
- <text>Three Orders of Magnitude: Transforming PDC Technology at US Synthetic - Ken Bertagnolli</text> # https://kenbertagnolli.com/2025/02/09/how-we-achieved-a-1000x-improvement-in-performance/
""
- <text>Nil Communication: How to Send a Message without Sending Anything at All</text>
""
- <text>Using Black Holes to Conquer Space: The Halo Drive!</text>
""
- <text>Pondering the ‘Dyson Slingshot’</text>
""
- <text>Ecology of fear</text> # https://en.wikipedia.org/wiki/Ecology_of_fear
""
- <text>The Ecology of Fear: Optimal Foraging, Game Theory, and Trophic Interactions</text>
""
- <text>Fixing the Internet for Real Time Applications: Part I</text>
""
- <text>Fixing the Internet for Real-Time Applications: Part III</text>
""
- <text>DS R1 is not on par with o1, and the difference is qualitative, not quantitative</text>
""
- <text>Pulling Out The Big Guns For Needle Phobia In An Insane World Where Nobody Seems To Take It Seriously</text>
""
- <text>What’s Wrong With This Lagrangean?</text>
""
- <text>Foundations of algorithmic thermodynamics</text>
""
- <text>Meditating More Made me Sleep Better and Feel Worse</text>
""
- <text>When Falsification is the Only Path to Truth</text>
""
- <text>Power Lies Trembling: a 3-book review</text>
""
- <text>‘Bring Me the Poison’: On the Trail With Trump’s Inner Circle of Suck-Ups</text>
""
- <text>Medieval Manuscripts Provenance: The RECEPTIO-Rossi Affair IV: My ‘Accusations’</text>
""
- <text>A Firsthand Account of What Homelessness in America Is Really Like</text>
""
- <text>Writing Backwards: The Novels of William Hope Hodgson</text>
""
- <text>Learning-Logic: Casting the Cortex of the Human Brain in Silicon</text>
""
- <text>Clearing up Mysteries—The Original Goal</text>
""
- <text>Probability Theory as Logic</text>
""
- <text>lechmazur/elimination_game: A multi-player tournament benchmark that tests LLMs in social reasoning, strategy, and deception. Players engage in public and private conversations, form alliances, and vote to eliminate each other</text>
""
- <text>Troubleshooting: The Skill That Never Goes Obsolete</text>
""
- <text>Decisions under Risk Are Decisions under Complexity: Comment by Daniel Banki, Uri Simonsohn, Robert Walatka, George Wu</text>
""
- <text>The Golden Age of Japanese Pencils, 1952–1967</text>
""
- <text>On Writing #1</text>
""
- <text>Keeping the Family Fortune: How Bureaucratic Practices Preserve Elite Multigenerational Wealth</text>
""
- <text>Computer Games: Vol 3 No 2 (1984-06) (Carnegie Publications) (US)</text>
<em>Computer Games</em>: Vol 3 No 2 (1984-06) (Carnegie Publications) (US)
- <text>Elon Musk: Tesla, SpaceX, and the Quest for a Fantastic Future</text> # https://www.amazon.com/Elon-Musk-SpaceX-Fantastic-Future/dp/006230125X
<em>Elon Musk: Tesla, SpaceX, and the Quest for a Fantastic Future</em>
- <text>Life in HD: An investigation of the <em>jhanas</em>’ impact on Jhourney retreat attendees</text>
""
- <text>Osmothèque</text>
<em>Osmothèque</em>
- <text>Robert Bunsen’s Sweet Tooth</text>
""
- <text>How the World’s Heaviest Man Lost it All</text> # https://www.gq.com/story/how-the-worlds-heaviest-man-lost-it-all
""
- <text>Too Much of a Good Thing: What Mania Feels Like</text>
""
- <text>The Burning Of The Leaves by Robert Laurence Binyon</text>
""
- <text>Kerning, the Hard Way</text>
""
- <text>Mister Rogers’s Simple Set of Rules for Talking to Kids</text>
""
- <text>The Fat Magician</text>
""
- <text>Barking Up the Wrong Tree: Human Perception of Dog Emotions Is Influenced by Extraneous Factors</text>
""
- <text>The Dead Planet Theory</text>
""
- <text>Coaching for the Scholastic Aptitude Test: Further Synthesis and Appraisal</text>
""
- <text>The Unbearable Loudness of Chewing</text>
""
- <text>ByteCraft: Generating video games and animations through bytes</text>
""
- <text>Quaker Practice for the Aspiring Rationalist</text>
""
- <text>The Monk Who Thinks the World Is Ending</text>
""
- <text>The Light upon the Candlestick</text>
<em>The Light upon the Candlestick</em>
- <text>Redirecting The Scholar’s Stage</text>
""
- <text>Crossing the God Divide</text>
""
- <text>The Zombie Lexicon</text>
""
- <text>The Love Song of J. Random Hacker, 1995</text> # http://www.duntemann.com/lovesong.htm
""
- <text>Those White Plastic Chairs—The Monobloc and the Context-Free Object - Ethan Zuckerman</text>
""
- <text>Illustration for Eurema’s Dam!</text>
Illustration for <em>Eurema’s Dam</em>!
- <text>Kid Goth: Neil Gaiman’s Fantasies</text>
""
- <text>A Theory of Usable Information Under Computational Constraints</text>
""
- <text>The Silver Elves: Who Were the Elf Queen’s Daughters?</text>
""
- <text>Sex and Suffering: The Tragic Life of the Courtesan in Japan’s Floating World</text>
""
- <text>The Secret Life of Walter Mitty</text> # judgment call: the movie is more famous now than the short story
<em>The Secret Life of Walter Mitty</em>
- <text>The Prospero Challenge</text>
""
- <text>An Incomplete Primer of Caselaw Appertaining To Bigfoot, AKA Sasquatch, LNU</text>
""
- <text>Kant on Killing Bastards, on Masturbation, on Wives and Servants, on Organ Donation, Homosexuality, and Tyrants</text>
""
- <text>Alien Abduction: A Medical Hypothesis</text>
""
- <text>Conquest of the Incas—Matt Lakeman</text> # https://mattlakeman.org/2025/03/24/conquest-of-the-incas/
""
- <text>Reinforcement Learning Based Oscillation Dampening: Scaling up Single-Agent RL algorithms to a 100 AV highway field operational test</text>
""
- <text>Simulating Time With Square-Root Space</text>
""
- <text>Navigation by Moonlight—by Jacob Falkovich</text>
""
- <text>Solitary Gourmet</text> # https://en.wikipedia.org/wiki/Solitary_Gourmet
<em>Solitary Gourmet</em>
- <text>Learning in War-Time</text>
""
- <text>On Learning How to Learn Learning Strategies: Technical Report FKI-198-94 (revised)</text>
""
- <text>A Survey of the Works of Herbert Quain</text>
""
- <text>/doc/fiction/gene-wolfe/2007-farrell.pdf The Distant Suns of Gene Wolfe</text>
""
- <text>Nonexistent compounds : compounds of low stability</text>
<em>Nonexistent compounds : compounds of low stability</em>
- <text>13 Animals Made From 13 Circles</text>
""
- <text>Igo Hatsuyōron</text> # https://en.wikipedia.org/wiki/Igo_Hatsuy%C5%8Dron
<em>Igo Hatsuyōron</em>
- <text>Mazes Without Minotaurs</text>
""
- <text>Yuxi on the Wired</text> # https://yuxi-liu-wired.github.io/
""
- <text>Octachron/roguetype: The first ever rogue-like written in the OCaml type system</text>
""
- <text>Sayaka Murata’s Alien Eye</text>
""
- <text>Sayaka Murata’s Alien Eye: The author of “Convenience Store Woman” has gained a cult following by seeing the ordinary world as science fiction</text>
Sayaka Murata’s Alien Eye: The author of <em>Convenience Store Woman</em> has gained a cult following by seeing the ordinary world as science fiction
- <text>Doing a Job—The Management Philosophy of Admiral Hyman G. Rickover</text>
""
- <text>Hayek: A Critique</text>
""
- <text>Gnome Files: A detailed UI examination</text>
""
- <text>The Decline of Usability: Revisited</text>
""
- <text>Modern Babylon: Ziggurat Skyscrapers and Hugh Ferriss’ Retrofuturism</text>
""
- <text>The Pigeon Lottery</text>
""
- <text>Garfield Minus Garfield</text>
<em>Garfield Minus Garfield</em>
- <text>Playing in the Creek</text>
""
- <text>Billy Ray Waldon § Poliespo</text>
""
- <text>Vietnam Veterans 3 Years after Vietnam: How Our Study Changed Our View of Heroin [2010 republication]</text>
""
- <text>Natural Kinds § pg9</text>
""
- <text>Pierre Menard, Author of the Quixote</text>
Pierre Menard, Author of the <em>Quixote</em>
- <text>The Analytical Language of John Wilkins</text>
""
- <text>A New Refutation of Time</text>
""
- <text>Celestial Emporium of Benevolent Knowledge</text>
""
- <text>The Influence of Predation on Primate and Early Human Evolution: Impetus for Cooperation</text>
""
- <text>Cat Vs Printer (with the original sound)</text>
""
- <text>The Return of the Eunuch</text>
""
- <text>Kezurou-kai #39</text>
<em>Kezurou-kai</em> #39
- <text>Philip K. Dick. Return Match</text>
""
- <text>Emigre: Oblong Font Family</text>
""
- <text>Emigre: Lo-Res Outlined Font Family</text>
""
- <text>Emigre: Lo-Res Monospaced Font Family</text>
""
- <text>Emigre: Lo-Res Font Family</text>
""
- <text>All Souls: The toughest test you’ll ever take</text>
""
- <text>Insight in patients with bipolar disorder: Findings from the bipolar disorder course and outcome study from India (BiD-CoIN study)</text>
""
- <text>Fire and the Sword: the Technique of Destruction</text>
""
- <text>A Red Letter Way: Color, Writing, and Reading in Antiquity and the Middle Ages</text>
""
- <text>Medieval Manuscripts: Henry VIII’s personal calendar</text>
""
- <text>How a Biofilm’s Strange Shape Emerges From Cellular Geometry</text>
""
- <text>Corrupted by Reasoning: Reasoning Language Models Become Free-Riders in Public Goods Games</text>
""
- <text>The Hamming Experience</text>
""
- <text>WIND ROSE—Diggy Diggy Hole (Official Video)</text> # https://www.youtube.com/watch?v=34CZjsEI1yU
""
- <text>2005 interview I did with Gene Wolfe for Hellnotes</text>
2005 interview I did with Gene Wolfe for <em>Hellnotes</em>
- <text>Lachryphagy</text> # https://en.wikipedia.org/wiki/Lachryphagy
""
- <text>The Math of Hunting Lions</text>
""
- <text>Green Hill Zone</text>
""
- <text>The Weird World of Mummy Parties</text>
""
- <text>Victorian Party People Unrolled Mummies For Fun</text>
""
- <text>Unraveling The Mystery Of The Metal Sculpture Found In Utah</text>
""
- <text>Eulogy to the Obits</text>
""
- <text>‘The Drug of War’—a historical review of the use of Ketamine in military conflicts</text>
""
- <text>Hypercycle (chemistry)</text>
""
- <text>We Are Sorry to Inform You...</text>
""
- <text>A Meta-Doomsday Argument: Uncertainty About the Validity of the Probabilistic Prediction of the End of the World</text>
""
- <text>Out to Get You</text>
""
- <text>Kumiko—The Art of Wood setting</text>
<em>Kumiko</em>—The Art of Wood setting
- <text>Life in a Germ-Free World: Isolating Life from the Laboratory Animal to the Bubble Boy</text>
""
- <text>How I Learned to Stop Worrying and Love LA</text>
""
- <text>Creating Bluey: Tales from the Art Director</text> # https://goodsniff.substack.com/p/creating-bluey-tales-from-the-art-891
Creating <em>Bluey</em>: Tales from the Art Director
- <text>Empathy, Science Fiction, and the Jehovah’s Witnesses (a Reminiscence)</text>
""
- <text>Labyrinth Locations</text> # Mark Wallinger artwork # https://www.tubeopedia.co.uk/labyrinth-locations
<em>Labyrinth</em> Locations
- <text>Creative Arabic Calligraphy: Square Kufic</text>
""
- <text>Enfilade datastructure (Xanadu)</text>
""
- <text>Tangled Dürer: The 6 Knots (ca. before 1521)</text>
""
- <text>Cursor---Rules</text>
""
- <text>Testing AI’s GeoGuessr Genius</text>
""
- <text>The Killer Tag</text>
""
- <text>Is there a Half-Life for the Success Rates of AI Agents?</text>
""
- <text>30 Weird Chess Algorithms: Elo World</text>
""
- <text>Sonderkommando Elbe</text>
<em>Sonderkommando Elbe</em>
- <text>Generating Physically Stable and Buildable LEGO Designs from Text</text>
""
- <text>Nail (anatomy) § Growth</text>
""
- <text>A Chain of Endless Tigers: Borges at the University of Wisconsin-Milwaukee, April 9, 1976⁠</text>
""
- <text>The Falcon Series of Open Language Models</text>
""
- <text>Operation Sea-Spray</text>
""
- <text>The costs and benefits of predator inspection behavior in Thomson’s gazelles</text>
""
- <text>Predatory Price Cutting: The Standard Oil (N. J.) Case</text>
""
- <text>The Illuminatus! Trilogy</text>
<em>The Illuminatus! Trilogy</em>
- <text>Langue and parole</text> # https://en.wikipedia.org/wiki/Langue_and_parole
<em>Langue</em> and <em>parole</em>
- <text>In The Future, Everyone Will Be Famous To 15 People</text>
""
- <text>Noodle Incident</text>
""
- <text>Hegewisch and East Side Newspaper Collection</text>
""
- <text>Legacy of Citizen Kane</text>
Legacy of <em>Citizen Kane</em>
- <text>The Human Chair</text>
""
- <text>Aeon</text> # a magazine but also a word and philosophy etc.
""
- <text>Cagot</text>
<em>Cagot</em>
- <text>Bloomberg</text> # <em>Bloomberg News</em>/<em>Bloomberg Businessweek</em> are italicized; the company or man is not.
""
- <text>Comparative effectiveness of GLP-1 receptor agonists on glycaemic control, body weight, and lipid profile for type 2 diabetes: systematic review and network meta-analysis</text>
""
- <text>Evolution of parasitism along convergent lines: from ecology to genomics</text>
""
- <text>A History of Violence: The Culture of Honor and Homicide in the US South</text>
""
- <text>The Aleph § pg8</text>
""
- <text>‘We’re Not Slowing down for You’: Behind the Scenes With the YES Production Crew during a Nets Game</text>
""
- <text>Caesar’s Last Breath</text>
""
- <text>Colmcille and the Battle of the Book: Technology, Law and Access to Knowledge in 6<sup>th</sup> Century Ireland</text>
""
- <text>I Am An Audience, First and Foremost</text>
""
- <text>The Retinex Theory of Color Vision: A retina-and-cortex system (retinex) may treat a color as a code for a 3-part report from the retina, independent of the flux of radiant energy but correlated with the reflectance of objects</text>
""
- <text>Gary Busey on Motorcycle Accident, Trump and Playing God in New Musical</text>
""
- <text>The Evolution of a Haskell Programmer</text>
""
- <text>VideoGameBench: Can Vision-Language Models complete popular video games?</text>
""
- <text>The Visual World of ‘Samurai Jack’</text>
The Visual World of <em>Samurai Jack</em>
- <text>Operation Spider’s Web</text>
""
- <text>That Survivorship Bias Plane: The exact backstory to that picture of an airplane with red dots on top of it</text>
""
- <text>The Economics of Invention: A Survey of the Literature</text>
""
- <text>The Small World of English: Building a 1.5M Word Semantic Network for Language Games</text>
""
- <text>Wikipedia:List of Wikipedian contradictions and paradoxes</text>
""
- <text>FE-Schrift</text>
<em>FE-Schrift</em>
- <text>Geoengineering (Wrong 2)</text>
""
- <text>The Art of Hanakami, or Flower-Petal Folding</text>
The Art of <em>Hanakami</em>, or Flower-Petal Folding
- <text>Foss (cat)</text>
""
- <text>Rule of 3 (writing)</text>
""
- <text>Time Machine as Existential Risk</text>
""
- <text>Phantom Corsair</text>
""
- <text>On Cooling the Mark Out: Some Aspects of Adaptation to Failure</text>
""
- <text>The Logic of Quantum Mechanics</text>
""
- <text>The Black Hole Case: The Injunction Against the End of the World</text>
""
- <text>The Grugbrained CEO</text>
""
- <text>Looking for Alice</text> # a movie, but also a blog post
""
- <text>Towel Day: The Aerodynamics of Freefalling Sperm Whale</text>
""
- <text>The Politics of Contagion</text>
""
- <text>Eurocops shutter dark web drug shop Archetyp, arrest 8</text>
""
- <text>Cues of upper body strength account for most of the variance in men’s bodily attractiveness</text>
""
- <text>Can Large Language Models Play Text Games Well? Current State-of-the-Art and Open Questions</text>
""
- <text>Silver Ghosts</text>
""
- <text>Show HN: I AI-coded a tower defense game and documented the whole process</text>
""
- <text>Perfume</text> # too common to risk
""
- <text>Hello Muddah, Hello Fadduh (A Letter from Camp)</text>
""
- <text>Number 16 (spider)</text>
""
- <text>So You Think You’ve Awoken ChatGPT</text>
""
- <text>IQ is the most predictive variable in social science*—Clear Language, Clear Mind</text>
""
- <text>The Making Of Dario Amodei</text>
""
- <text>I Drank Every Cocktail</text>
""
- <text>Show HN: Wordle-style game for Fermi questions</text>
""
- <text>The arcane alphabets of Black Sabbath</text>
""
- <text>Policie zabavila Jiřikovskému BMW, počítače i telefony</text> # https://web.archive.org/web/20250815222145/https://www.idnes.cz/zpravy/domaci/tomas-jirikovsky-ministerstvo-spravedlnosti-bitcoiny.A250815_120212_domaci_tty
<em>Policie zabavila Jiřikovskému BMW, počítače i telefony</em>
- <text>Кошки-мышки: кто нас создал, и во что нам это обошлось—Станислав Дробышевский</text> # https://www.youtube.com/watch?v=fvHcqEhY5sM
<em>Кошки-мышки: кто нас создал, и во что нам это обошлось—Станислав Дробышевский</em>
- <text>The Relation of Heart Size to the Time Intervals of the Heart Beat, with Particular Reference to the Elephant and the Whale</text>
""
- <text>Sheep View: Where there’s a wool, there’s a way</text> # https://blog.google/products/maps/sheep-view-where-theres-wool-theres-way/
""
- <text>/doc/design/typography/2025-04-07-tanakosiyabong-experimospecimen.pdf Experimo Specimen</text>
""
- <text>Effect of Semaglutide on Physical Function, Body Composition, and Biomarkers of Aging in Older Adults With Overweight and Insulin Resistance: Protocol for an Open-Labeled Randomized Controlled Trial</text>
""
- <text>Time Blindness: Why Video-Language Models Can’t See What Humans Can?</text> # https://arxiv.org/abs/2505.24867
""
- <text>Codebreaker: A deeply personal quest made Matthew Might a leader in precision medicine and brought him to UAB</text>
""
- <text>The Color of the Future</text>
""
- <text>Tamagoyaki</text> # unusual Japanese word familiar only to sushi aficionados # https://en.wikipedia.org/wiki/Tamagoyaki
<em>Tamagoyaki</em>
- <text>How Noiseless Props Are Made For Movies And TV Shows</text>
""
- <text>The Wind, a Pole, and the Dragon</text>
""
- <text>Evidence for autism in folklore?</text>
""
- <text>Veo (text-to-video model)</text>
""
- <text>Evolution in Sexual and Asexual Populations</text>
""
- <text>Archive Binge</text> # https://archivebinge.com/
""
- <text>Situational Awareness: A One-Year Retrospective</text> # Leopold Aschenbrenner’s SA was a book-length whitepaper and should be italicized
<em>Situational Awareness</em>: A One-Year Retrospective
- <text>Obstructions to Reality: Torsors &amp; Visual Paradox</text>
""
- <text>Singing The Blues</text>
""
- <text>Lord of the Roths: How Tech Mogul Peter Thiel Turned a Retirement Account for the Middle Class Into a $5 Billion Tax-Free Piggy Bank</text>
""
- <text>My Antichrist Lecture</text>
""
- <text>The Goon Squad, by Daniel Kolitz</text> # https://harpers.org/archive/2025/11/the-goon-squad-daniel-kolitz-porn-masturbation-loneliness/
""
- <text>29. Kasina Practice</text>
29. <em>Kasina</em> Practice
- <text>Suno (platform)</text> # while 'suno' is a Japanese term, Suno AI is a proper English noun and so not italicized
""
- <text>Night of the Moon Suits: The Shulgins, the DEA, and Their Ally, “Tulsa”</text>
""
- <text>The LL game: The curious preference for low quality and its norms</text>
""
- <text>Politics and the English Language</text> # famous Orwell essay, but essays are not italicized
""
- <text>Olo (color)</text>
""
- <text>Becoming A Whorelord: The Overly Analytical Guide To Escorting</text>
""
- <text>Can a Rubik’s Cube be brute-forced?</text>
""
- <text>Placebo Emporium: 2025 Annual Shareholder Letter</text> # proper noun company title, not media work
""
- <text>Gemini 3: Introducing the latest Gemini AI model from Google</text>
""
- <text>Guilt</text> # too vague and common a title to risk italicizing
""
- <text>The American Psychiatric Association Says Disney Adults Don’t Have to Worry About This Problem Anymore</text>
""
- <text>small clever rooms: 10 Thousand Lifetimes with Roguelikes</text>
""
- <text>Ruby’s Ultimate Guide to Thoughtful Gifts</text>
""
- <text>Japanese game developers face ridiculously high font license fees following US acquisition of major domestic provider. Live-service games to take the biggest blow</text>
""
- <text>Honeybees Mesmerizing Defensive Wave</text>
""
- <text>Stranger in Parodies: Weird Al and the Law of Musical Satire</text>
""
- <text>/doc/science/chemistry/2010-oleary.pdf Where ‘Things Go The Other Way’: The Stereochemistry of Lewis Carroll’s Looking-Glass World</text> # the title of the novel is 'Through the Looking-Glass', not 'Looking-Glass World'
""
- <text>An Adventure in Stereochemistry: Alice in Mirror Image Land</text>
""
- <text>Diplomacy and Domestic Politics: The Logic of Two-Level Games</text>
""
- <text>The Missing 9: Why Some Movies Have a Hole in Their IMDb Ratings</text>
""
- <text>The Man in the Snow White Cell</text>
""
- <text>Mr. Roberts Goes to Hollywood, Part 2: The Producer</text>
""
- <text>Postcard From 1952</text>
""
- <text>windfucker</text>
""
- <text>Nano Banana: Image editing in Google Gemini gets a major upgrade</text>
""
- <text>—And He Built a Crooked House</text> # Heinlein short story
""
- <text>Hymn of Breaking Strain</text> # Kipling poem
""
- <text>Alcohol Consumption As Self-Medication Against Blood-Borne Parasites In The Fruit fly</text>
""
- <text>Star Wars</text>
<em>Star Wars</em>
- <text>The Official Star Wars Fan Film Awards</text>
The Official <em>Star Wars</em> Fan Film Awards
- <text>Weighting systems for linear functions of correlated variables when there is no dependent variable</text>
""
- <text>Coming Home (advertisement)</text>
""
- <text>Positive Bias: Look Into the Dark</text>
""
- <text>Phenibut: The Soviet smart drug</text>
""
- <text>Tajwid</text> # foreign Arabic Quran term
<em>Tajwid</em>
- <text>Genesis B § Relationship with Paradise Lost</text>
<em>Genesis B</em> § Relationship with <em>Paradise Lost</em>
- <text>The Dice Lab Unique Designs</text>
""
- <text>Capital in the 22<sup>nd</sup> Century</text>
""
- <text>Highway to Hitler</text>
""
- <text>Olaf: Bringing an Animated Character to Life in the Physical World</text>
""
- <text>Virgin and Child</text>
""
- <text>The Living Dead: Anencephaly and Organ Donation</text>
""
- <text>Surprising Trends in Lego Pricing</text>
""
- <text>Akin’s Laws of Spacecraft Design</text>
""
- <text>Digital Health: Tracking Physiomes and Activity Using Wearable Biosensors Reveals Useful Health-Related Information</text>
""
- <text>A font with built-in <span class='logotype-tex'>T<sub>e</sub>X</span> syntax highlighting — Soliloquies</text>
""
- <text>Apollonian 1: The Counted and the Crowned</text>
""
- <text>Maneki Neko</text> # Japanese phrase
<em>Maneki Neko</em>
- <text>The Secret of the Machines</text>
""
- <text>Lies, Damned Lies, and Proofs: Formal Methods are not Slopless</text>
""
- <text>The Population Frequencies Of Species And The Estimation Of Population Parameters</text>
""
- <text>Chapter 4: Estimating species richness § pg2</text>
""
- <text>The Dilbert Afterlife</text>
""
- <text>psDooM: DooM for Sys A’s</text> # italicize game title, but not tool; preserve typo
psDooM: <em>DooM</em> for Sys A’s
- <text>Ur (programming language)</text> # proper noun, even if a foreign German/Mesopotamian word
""
- <text>Mystery of the Head Activator</text>
""
- <text>Your Brain on ChatGPT: Accumulation of Cognitive Debt when Using an AI Assistant for Essay Writing Task</text>
""
- <text>Best Of Moltbook — by Scott Alexander</text> # Moltbook is a website, not a book
""
- <text>Fortunate Son: Teller’s Magic Trick</text> # https://jcdecker.blogspot.com/2017/04/tellers-magic-trick.html?m=1
""
- <text>Anime in 2025: Is the Crunchyroll Cage Real?</text>
""
- <text>Rented Virtue</text>
""
- <text>Mr Cogito And The Imagination by Zbigniew Herbert—Famous poems, famous poets.—All Poetry</text>
""
- <text>Field Notes from the AI Village: The Drama and Dysfunction of Gemini 2.5 Pro &amp; Gemini 3 Pro</text>
""
- <text>The Name of the Game is Self-Cultivation</text>
""
- <text>Book test § Method</text>
""
- <text>Charlatan Labyrinth</text>
""
- <text>Trends in Conflict: Uniform Crime Reports, the National Crime Victimization Surveys, and the Lethality of Violent Crime</text>
""
- <text>Singles ditch dating apps to flirt with knights at Medieval Times</text> # name of a company/business, not a movie or book
""
- <text>The Academy Now</text>
""
- <text>The Hunt for Dark Breakfast</text>
""
- <text>The Biggest Trackmania Pathfinding Competition</text>
The Biggest <em>Trackmania</em> Pathfinding Competition
- <text>Shellshock</text>
""
- <text>‘Human Knowledge Compression Contest: FAQ’, Hutter Prize</text>
""
- <text>Bad Map Projection: Zero Declination</text>
""
- <text>(Maybe) A Bag of Heuristics is All There Is &amp; A Bag of Heuristics is All You Need</text>
""
- <text>Kanban board</text> # outside corporate tech environments, it's still an unfamiliar Japanese word
<em>Kanban</em> board
- <text>Effects of Oveporexton, an Orexin Receptor 2–Selective Agonist, on Cognition in Narcolepsy Type 1: A Secondary Analysis of a Randomized Clinical Trial</text> # paper title
""
- <text>Sparse VideoGen—Version Selection</text>
""
- <text>Flash-Kmeans: Fast and Memory-Efficient Exact K-Means</text>
Flash-Kmeans: Fast and Memory-Efficient Exact <em>K</em>-Means
- <text>New Links</text>
""
- <text>Haskell for all: A sufficiently detailed spec is code</text>
""
- <text>Understanding when and why agents scheme</text>
""
- <text>Penalization for small n problems: case study of Steam games—Clear Language, Clear Mind</text>
Penalization for small <em>n</em> problems: case study of Steam games—Clear Language, Clear Mind
- <text>‘Gooning Towards the Führer’ as policy coordination</text>
""
- <text>Project Play survey: Family spending on youth sports rises 46% over 5 years - Project Play</text>
""
- <text>Thoughts on Meaning and Writing</text>
""
- <text>Adapting to AI: Reflections on Productivity</text>
""
- <text>Welcome to the Internet—Bo Burnham (from “Inside”—ALBUM OUT NOW)</text> # songs are not italicized, but albums/shows are
Welcome to the Internet—Bo Burnham (from <em>Inside</em>—ALBUM OUT NOW)
- <text>A Billionaire-Backed Startup Wants to Grow ‘Organ Sacks’ to Replace Animal Testing</text>
""
- <text>A Ramsey-style Problem on Hypergraphs</text>
""
- <text>Scaling Karpathy’s Autoresearch: What Happens When the Agent Gets a GPU Cluster</text>
""
- <text>American Diner Gothic</text>
""
- <text>Personal Encyclopedias</text>
""
- <text>Optimization lessons from a Minecraft structure locator</text>
Optimization lessons from a <em>Minecraft</em> structure locator
- <text>The Pitt’s Shabana Azeez Wants to Be the Next Robert Pattinson</text>
<em>The Pitt</em>’s Shabana Azeez Wants to Be the Next Robert Pattinson
- <text>Every ACX House Party</text>
""
- <text>Learned use of an innate sound-meaning association in birds</text>
""
- <text>A Couple Million Lines of Haskell: Production Engineering at Mercury</text>
""
- <text>Hyakujo’s Fox</text>
""
- <text>Foundations of Digital Archæoludology</text>
""
- <text>Why No AI Games?</text>
""
- <text>The Elect</text>
""
- <text>Sidestepping Evaluation Awareness and Anticipating Misalignment with Production Evaluations</text>
""
- <text>It Is Your Responsibility to Follow Up</text>
""
- <text>MIRAGE: The Illusion of Visual Understanding</text>
""
- <text>SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Tasks</text>
""
- <text>Piezoelectric Bagworm Silk</text>
""
- <text>Absolute Borderline: The Early Days of Evangelion Fandom, Part Three</text>
""
- <text>What I love about Scrooge: In praise of misers</text>
""
- <text>The Most Important Woman in Kant’s Life - Daniel Andreas</text>
""
- <text>Claude Code Found a Linux Vulnerability Hidden for 23 Years</text>
""
- <text>An Orgy, but with Reward Points: The arc of history is long but it bends towards Spreadsheet Simulator 2000</text>
An Orgy, but with Reward Points: The arc of history is long but it bends towards <em>Spreadsheet Simulator 2000</em>
- <text>Pasteur et le choléra des poules: révision critique d’un récit historique</text>
<em>Pasteur et le choléra des poules: révision critique d’un récit historique</em>
- <text>Autoresearch vs Classical Hyperparameter Tuning</text>
""
- <text>How Does Naming Affect LLMs on Code Analysis Tasks?</text>
""
- <text>And Yet a Trace of the True Self Exists in the False Self / Circle of Life</text>
""
- <text>Steering Might Stop Working Soon</text>
""
- <text>AT-AT</text>
""
- <text>The M and M Agreement</text>
""
- <text>Chapter B. The Loma Prieta, California, Earthquake of October 17, 1989</text>
""
- <text>Doc-to-LoRA: Learning to Instantly Internalize Contexts</text>
""
- <text>The Ones who Feed their Children</text>
""
- <text>Copulation in antiarch placoderms and the origin of gnathostome internal fertilization</text>
""
- <text>I Would Cure My Autism</text>
""
- <text>Six Lessons for a Cogent Science of Implicit Bias and Its Criticism</text>
""
- <text>Thorn (letter)</text>
""
- <text>Kimi K2.5 Tech Blog: Visual Agentic Intelligence</text>
""
- <text>Parse, don’t validate</text>
""
- <text>Do Posts with Links Affect Content Performance on X?</text>
""
- <text>Linux Kernel Recency Matters, CVE Severity Doesn’t, and History Fades</text>
""
- <text>The Clock</text>
""
- <text>The Cathedral, the Bazaar, and the Winchester Mystery House</text>
""
- <text>How Costco Won In Japan</text>
""
- <text>Paws, Pee and Pests: Cats among Medieval Manuscripts</text>
""
- <text>Claude Mythos Preview</text>
""
- <text>Wit, unker, git: The lost medieval pronouns of English intimacy</text> # 3 Old English pronouns, now foreign to English
<em>Wit</em>, <em>unker</em>, <em>git</em>: The lost medieval pronouns of English intimacy
- <text>The American Society of Cinematographers</text>
""
- <text>Opus’s Schelling Steganography Has Amplifiable Secrecy Against Weaker Eavesdroppers</text>
""
- <text>We lose again: Windham-Campbell Prize manqué</text>
""
- <text>4RH1T3CT0R7/ttf-doom: A 3D raycasting engine running inside a TrueType font’s hinting virtual machine</text>
""
- <text>The effects of caffeine consumption do not decay with a ~5 hour half-life</text>
""
- <text>Clinical utility and validity of minoxidil response testing in androgenetic alopecia</text>
""
- <text>The Blessed Isle</text>
""
- <text>Olympic Odes—Armand D’Angour</text>
""
- <text>Uniformity Illusion</text>
""
- <text>No One Representation to Rule Them All: Overlapping Features of Training Methods</text>
""
- <text>When a Mosquito Can’t Stop Drinking Blood, the Result Isn’t Pretty</text>
""
- <text>Note on the Existence of Hydrogen Atoms in Higher Dimensional Euclidean Spaces</text>
""
- <text>Workers Say Listening to Music Boosts Job Satisfaction, Productivity</text>
""
- <text>Mercian hymns</text>
<em>Mercian hymns</em>
- <text>On Running a Real Business</text>
""
- <text>Issues · gwern/gwern.net</text>
""
- <text>TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddings</text>
""
- <text>The Urinal Problem</text>
""
- <text>God Plays Dice: The hidden mathematics of bathrooms</text>
""
- <text>GPT-3: Imitation Learning that Imitates Learning</text>
""
- <text>The AI Revolution in Math Has Arrived</text>
""
- <text>have you heard of Blood On The Clocktower?</text>
have you heard of <em>Blood On The Clocktower</em>?
- <text>https://publicdomainreview.org/collection/kreuzigung/ The Language of Form: Lothar Schreyer’s Kreuzigung (1920)</text> # essay on German book; URL prefix is metadata, not echoed
The Language of Form: Lothar Schreyer’s <em>Kreuzigung</em> (1920)
- <text>Eugene Onegin (opera)</text>
<em>Eugene Onegin</em> (opera)
- <text>Agents of Chaos</text>
""
- <text>Growing a Language</text>
""
- <text>How Michael Abrash doubled Quake frame-rate</text>
How Michael Abrash doubled <em>Quake</em> frame-rate
- <text>Hobson v. Hansen and the Decline of Washington DC Schools</text> # court case name
<em>Hobson v. Hansen</em> and the Decline of Washington DC Schools
- <text>How advances in low-g plumbing enable space exploration</text>
How advances in low-<em>g</em> plumbing enable space exploration
- <text>Digit regeneration in mice is stimulated by sequential treatment with FGF2 and BMP2</text> # gene names are italicized
Digit regeneration in mice is stimulated by sequential treatment with <em>FGF2</em> and <em>BMP2</em>
- <text>The Mashiach Clause—To Whom It May Concern</text> # 'Mashiach' is an Israeli/Hebrew term for 'Messiah' not recognizable to gentiles
The <em>Mashiach</em> Clause—To Whom It May Concern
- <text>https://archive.org/details/hypnosis_comes_of_age_estabrooks Hypnosis Comes of Age</text> # URL prefix is metadata, not echoed
<em>Hypnosis Comes of Age</em>
- <text>List of Nadia: The Secret of Blue Water characters § Nadia</text>
List of <em>Nadia: The Secret of Blue Water</em> characters § Nadia
- <text>The View from Lighthaven</text>
""
- <text>Working in Glass</text>
""
- <text>Boris Cherny’s Blog</text>
""
- <text>Unlimited OCR Works</text>
""
- <text>Woodkid Says Hideo Kojima Changed ‘Death Stranding 2’ to Be ‘Polarizing’</text>
Woodkid Says Hideo Kojima Changed <em>Death Stranding 2</em> to Be ‘Polarizing’
- <text>The 1955 Exhibition By Akira Yoshizawa British Origami</text>
""
- <text>The Winning Essays for the Big Questions About AI</text>
""
- <text>The End of Reading Is Here</text>
""
- <text>Reduced Gravity Walking Simulator</text>
""
- <text>Impro is a handbook for running a cult</text>
<em>Impro</em> is a handbook for running a cult
- <text>Yuzu</text> # unusual foreign (East Asian) fruit not yet naturalized in Western world
<em>Yuzu</em>
- <text>They Knew It Would Hurt You</text>
""
- <text>Studio Ghibli`s THE TALE OF THE PRINCESS KAGUYA Production Notes</text>
"Studio Ghibli’s <em>The Tale Of The Princess Kaguya</em> Production Notes"

[End of examples. Reminder: your only task is to add missing italics you are SURE of.]

- <text>{target}</text>
"""

# Query the API with a small bounded retry on transient errors (network, 429, 5xx),
# per 'explicit failure handling': fail loudly to stderr with a nonzero exit, never silently.
result = None
for attempt in range(3):
    try:
        completion = client.chat.completions.create(
          # temperature=0, # ignored: current models hardwire temperature=1
          # seed=0,        # ignored by gpt-5.4-mini, so output is not deterministic
            model="gpt-5.4-mini", # a cheap small model suffices for this fiddly-but-easy task. Caution: the *smallest* models fail catastrophically on paper titles no matter how many examples are supplied — probably 'tail-dropping' from aggressive distillation that strips memorized factual/metadata knowledge (ie. they've forgotten the papers the larger models saw in pretraining, or the metadata of/references to them), so do not downsize further.
            messages=[{"role": "user", "content": prompt}],
        )
        result = completion.choices[0].message.content
        break
    except Exception as e:
        if attempt == 2:
            print(f"italicizer.py: API call failed after 3 attempts: {e}", file=sys.stderr)
            sys.exit(1)
        time.sleep(2 ** attempt)

# guard against None content (refusal/empty completion); never emit the literal string "None"
print(result or "")
