Posts

Blog

This is where I post short articles about things that I discover.

Subscribe to updates: RSS



Road ahead
Credit: Midjourney




Full Control Over Footnote Placement for memoir

This is a follow-up to LuaLaTeX Footnote Maze, which documented the long road to making memoir paragraph footnotes work inside breakable tcolorbox environments with hyperref. That solved half the problem. This post solves the rest of the problem: deciding exactly where on the page footnotes appear.

Downloads: memoir-fnqueue.sty · memoir-tcolorbox.sty · test-fn.tex · test-fn.py

The Remaining Gap #

After the earlier work, footnotes escaped their tcolorbox prisons and rendered as proper paragraph footnotes with working hyperref links. But placement was still automatic—footnotes released at the end of a box landed wherever TeX’s page builder decided, sometimes colliding with other content when the combined height of sidebar plus footnotes barely exceeded the page.

...

Balance of Power

Balance of Power #

Abstract #

This is my remix of Vitalik’s Dec 30 essay of the same title.

Modern civilization depends on powerful institutions—corporations, governments, and mass movements—to drive progress, yet these same forces threaten freedom and flourishing as they concentrate power. This essay examines how Big Business, Big Government, and Big Mob each become dangerous through specific mechanisms: corporations through profit optimization that diverges from social welfare and through homogenization driven by scale; governments when they shift from neutral frameworks to active agents pursuing their own agendas; civil society when diverse institutions collapse into unified mobs.

...

Boredom

A digital illustration of a young woman with long, wavy brown hair. She rests her chin on her fist, her expression conveying boredom or mild annoyance. She wears a pink tank top. The style is semi-realistic with soft brushwork.


boredom

LuaLaTeX Footnote Maze

LuaLaTeX Footnote Maze #

UPDATE 2025-12-04: Sidebar Footnote Collision Problem #

Testing revealed a critical issue: when a sidebar with footnotes barely fits on a page, the footnotes can collide with the sidebar content. The sidebar itself fits, but the combination of sidebar plus footnotes exceeds available space, causing collisions with page content and page numbers.

The problem occurs regardless of sidebar length. Tests with varying sidebar sizes—from compact to extended—all demonstrated collisions when the total height (sidebar + footnotes) was just over the page limit.

...

Cannabinoids Under HB 3000

Subject: Request to Reconsider Ban on Synthetically Derived Cannabinoids Under HB 3000
To: Sen.DianeLinthicum@oregonlegislature.gov, Rep.EmilyMcIntire@oregonlegislature.gov
CC: Sen.DebPatterson@oregonlegislature.gov

I am writing as your constituent in [City], Oregon, to express my concerns about HB 3000’s ban on synthetically derived cannabinoids by the Oregon Liquor and Cannabis Commission (OLCC).

The Current Problem

The OLCC has banned all artificially derived cannabinoids based on health concerns, specifically worries over consumers ingesting or inhaling the residue of chemicals used to process CBD into other cannabinoids. While I understand the intent to protect consumers, this blanket prohibition creates several significant issues:

...

Oregon Drug Regulation

Subject: Drug policy reform To: Sen.DianeLinthicum@oregonlegislature.gov, Rep.EmilyMcIntire@oregonlegislature.gov
CC: Sen.DebPatterson@oregonlegislature.gov

I am writing as your constituent to urge you to consider evidence-based drug policy reform, specifically the restoration of blanket decriminalization and exploration of regulated drug dispensaries. I base this request on the recently published Portland State University study “Examining the Multifaceted Impacts of Drug Decriminalization on Public Safety, Law Enforcement, and Prosecutorial Discretion” (2024), which provides crucial insights into Oregon’s drug policy experiences.

The Evidence Supporting Decriminalization

...

Toward legalization of drugs in Oregon

Dear Oregon Legislators,

I am writing to urge you to consider the full legalization of drugs in Oregon—not merely decriminalization, but a comprehensive shift away from criminal enforcement and toward a public health approach. The current strategy of criminalizing drug use continues to waste valuable police resources, fails to address the root causes of addiction, and diverts funding from effective solutions.

Despite years of debate and reform, Oregon continues to allocate significant law enforcement resources to the policing of drug possession and use[1]. Even after the partial decriminalization under Measure 110, recent legislative changes have returned us to a system where police are once again tasked with arresting individuals for minor drug offenses[3]. This approach has proven ineffective at reducing drug use or overdoses, and it diverts officers from addressing violent crime and other public safety priorities.

...

Cryptonomicon (2000)

He walked straight out of college into the waiting arms of the Navy.

They gave him an intelligence test. The first question on the math part had to do with boats on a river: Port Smith is 100 miles upstream of Port Jones. The river flows at 5 miles per hour. The boat goes through water at 10 miles per hour. How long does it take to go from Port Smith to Port Jones? How long to come back?

...

Beyond Satire: The Absurd Reality of Mass Incarceration in America

Behind the prison bars lies a tragedy so absurd it seems fictional. Imagine a world where suicide attempts come with a bill, prisons are built on toxic waste dumps as if radiation were part of the sentence, and the government tells you that with a felony record you’re too dangerous to kill bugs professionally but could theoretically run the country. In “Seven Facts About Mass Incarceration That Sound Like April Fools’ Day Hoaxes, But Aren’t,” we journey through America’s justice system—a place where “inmate welfare funds” buy fitness trackers for guards, where the average pretrial detainee makes less annually than what’s required for bail, and where nearly half of all Americans have had an immediate family member incarcerated. Laugh to keep from crying as we explore a system so darkly comedic that reality has outdone satire. Because sometimes the cruelest jokes aren’t jokes at all—they’re policy.

...

Internal Vocalization as an Acute Pain Management Strategy?

Background and Significance #

While vocalization during pain (e.g., saying “ow” or screaming) has been studied and shown to potentially increase pain tolerance, the psychological mechanisms and efficacy of internal vocalization (subvocalization or “silent screaming”) during acute pain episodes remain largely unexplored. This represents a significant gap in our understanding of cognitive pain management strategies.

Previous research has established that subvocalization involves micro-movements of the larynx and speech organs that are typically imperceptible without specialized equipment. These internal speech processes have been extensively studied in reading contexts but rarely in pain management applications.

...