Skip to content

Try online names AsyncLocal<T> and SetLocalCancellationToken as code - #51

Merged
Rafael-SOWNet merged 1 commit into
masterfrom
asynclocal-of-t
Oct 25, 2026
Merged

Rafael-SOWNet merged 1 commit into
masterfrom
asynclocal-of-t

Conversation

@Rafael-SOWNet

@Rafael-SOWNet Rafael-SOWNet commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

Try online's multithreading paragraph wrote AsyncLocal<T> unescaped, so the browser read <T> as an element. The page said "we use AsyncLocal instead", and a <t> element held the rest of the paragraph. The paragraph also named "MathS Multithreading SetLocalCancellationToken (CancellationToken)", with spaces where the dots go.

Both names are now code: AsyncLocal&lt;T&gt; and MathS.Multithreading.SetLocalCancellationToken. The parameter list is gone because the sentence already says it ("pass your token"), and with it the name was too long for the column even at 1280px.

Built locally and looked at in headless Chromium:

  • at 1280px the paragraph reads AsyncLocal<T> and the method name fits on one line;
  • at 320px, a desktop window at 400% zoom, the method name breaks across lines once Long words wrap inside the column #47 is in.

Merge after #47. Until then this makes the page wider at 320px: the 46-character name reaches 263px past the window, where the old wording's longest word, SetLocalCancellationToken, reached 34px past.

🤖 Generated with Claude Code

https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura

The multithreading paragraph wrote AsyncLocal<T> unescaped, so the browser read <T> as an element. The page said "we use AsyncLocal instead", and the <t> element held the rest of the paragraph. It also named "MathS Multithreading SetLocalCancellationToken (CancellationToken)", with spaces where the dots go. Both names are now code: AsyncLocal&lt;T&gt; and MathS.Multithreading.SetLocalCancellationToken, without the parameter list, which the sentence already gives ("pass your token") and which made the name too long for the column at 1280px.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
@Rafael-SOWNet Rafael-SOWNet moved this from Todo to In review in AngouriMath Oct 25, 2026
@Rafael-SOWNet
Rafael-SOWNet merged commit 2a14f9c into master Oct 25, 2026
3 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in AngouriMath Oct 25, 2026
@Rafael-SOWNet
Rafael-SOWNet deleted the asynclocal-of-t branch October 25, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant