frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

AI is right about em-dashes

https://joeldueck.com/ai-is-right-about-em-dashes.html
12•freediver•12mo ago

Comments

mattl•12mo ago
Yeah I never used them before I worked at the FSF. The FSF used the Chicago Manual of Style.
neom•12mo ago
Joel is a great guy who apparently loves the em dash. Personally, I find them particularly annoying, pedantic, and always have. Just use a comma, when I'm reading something with an em dash it's always unclear to me exactly how long I should pause, especially when reading aloud..., how dramatic...?!
damhsa•12mo ago
a short dash - with spaces around it - is clearly a punction mark, not a word-joiner. what nonsense! anyway, you can not expect everyone to use 4 or more different key combinations depending what style they want. the only solution is to make firefox, word, etc choose the right dash for word-joining, punctuation, minus, number ranges, etc. somewhat similar to how they can choose the width of spaces in justified text.
dragonwriter•12mo ago
> a short dash - with spaces around it - is clearly a punction mark, not a word-joiner. what nonsense!

That's not a "short dash", it is a hyphen with spaces around it (more precisely, an ASCII hyphen-minus, but that's really a hyphen that is overloaded in contexts where a proper typographic minus sign isn't available.) There are shorter dashes than the em-dash, one of which (the en-dash) is the normal print alternative for some uses of the em-dash, set open (with spaces) where the em-dash would be set closed (without spaces).

Also, both hyphens and en-dashes are used as word joiners in different contexts; this is not distinct from punctuation but a form of punctuation.

> anyway, you can not expect everyone to use 4 or more different key combinations depending what style they want.

For very informal writing, sure, people are often, according to their own personal comfort, going to be sloppy and approximate punctuation (heck, they are going to do that with spelling quite often.)

> the only solution is to make firefox, word, etc choose the right dash for word-joining, punctuation, minus, number ranges, etc.

Some apps have tools that automatically handle simple cases, but...it's not simple for software to figure out what your intent is and subsitute the correct punctuation mark (the are all punctuation). The actual solution is, as for other less common punctuation marks to accept that there's going to be lots of variation and substitution of easier-to-access characters in informal writing, while recognizing what is correct and maintaining it in formal contexts. But also recognizing that people that know what they are doing and know their tools are going to often use the correct ones in informal contexts, as well.

damhsa•12mo ago
it is a dash. you could use an em dash - or a 2em dash - but this dash is probably shorter than 1em - unless like me you have a monospace font. if it can be a hyphen-minus, it can be a hyphen/minus/dash. and that is what it is, because that is how it is used, ASCII be damned. the english language and its typography is beholden to neither ASCII™ nor UNICODE™.
dragonwriter•12mo ago
The hypen/minus/<various dashes> distinction long predates ASCII (much less Unicode), conflation between them is a product of ASCII with some contribution from the limitations of mechanical typewriters, the distinction isn't an imposition from ASCII onto the English language.
jasonthorsness•12mo ago
I use a plugin[1] on my blog that automatically translates ‘--‘ or ‘---‘ into em or en dashes. I did not see it coming that now my articles will look AI-written :p

Edit: just discovered iOS keyboard input also does this when you type multiple hyphens

1 - https://daringfireball.net/projects/smartypants/

Extended interview: Ben Sasse on lessons for America [video]

https://www.youtube.com/watch?v=WcT9O5Sjmd0
1•duck•3m ago•0 comments

Solar exports 2x during Oil Crisis

https://e360.yale.edu/digest/china-solar-exports-iran-war
1•dreadsword•12m ago•0 comments

AI is confronting a supply-chain crunch

https://www.economist.com/business/2026/04/27/ai-is-confronting-a-supply-chain-crunch
1•edward•13m ago•0 comments

Nirvanic AI

https://www.nirvanic.ai
1•a_poo_on_a_shoe•13m ago•0 comments

Elephants, Goldfish and the New Golden Age of Software Engineering

https://drensin.medium.com/elephants-goldfish-and-the-new-golden-age-of-software-engineering-c336...
1•krish98sai•13m ago•0 comments

WallasAPI: Multi-provider AI router with automatic fallback (12 providers)

https://github.com/wubjak/wallasapi
1•wubjak•25m ago•0 comments

Open Museum – an MCP server for license-verified search across museums

https://github.com/cfpramod/open-museum-mcp
1•pramodprasanth•25m ago•1 comments

Pip 26.1 Released

https://lwn.net/Articles/1070010/
2•kazu11max17•27m ago•0 comments

AI researchers want AI to fake "thinking"

https://www.machinesociety.ai/p/ai-researchers-want-ai-to-fake-thinking-247
2•mikelgan•30m ago•1 comments

Initial tests find lead in children's fast-fashion clothing

https://www.acs.org/pressroom/presspacs/2026/march/initial-tests-find-lead-in-childrens-fast-fash...
1•_DeadFred_•30m ago•0 comments

I build my LLM a Brain

1•Kevintbt•30m ago•1 comments

I ran retrieval-auditor against LangChain's RAG quickstart, 5/6 flagged

https://github.com/kevin-luddy39/contrarianAI/tree/main/tools/retrieval-auditor/examples/langchai...
1•kevinluddy39•31m ago•0 comments

A Disappearing JSX Framework

https://twitter.com/dashersw/status/2048719900013732232
1•arbayi•31m ago•0 comments

Show HN: Need Human Lawyer – when AI for legal work isn't enough

1•fcpguru•34m ago•0 comments

Claude Pro: Opus model will only be available if extra usage is enabled

https://support.claude.com/en/articles/11940350-claude-code-model-configuration
5•yrds96•36m ago•3 comments

Show HN: Memory Guardian – open-source memory governance for AI agents

https://github.com/rishipratap10/memory-guardian
1•rishipratap10•37m ago•1 comments

Notes on structured concurrency, or: Go statement considered harmful (2018)

https://vorpus.org/blog/notes-on-structured-concurrency-or-go-statement-considered-harmful/
1•shadow28•39m ago•0 comments

muted.io

https://muted.io/
4•bookofjoe•40m ago•1 comments

Fashion for a Hot Planet

https://faculty.engineering.asu.edu/konrad/research/cool-future-fashion-for-a-hot-planet/
1•dreadsword•42m ago•0 comments

Thunderbird Pro April 2026 Update

https://blog.thunderbird.net/2026/04/thunderbird-pro-april-2026-update/
1•raybb•43m ago•0 comments

Xiaomi MiMo-v2.5 is open-sourced

https://twitter.com/XiaomiMiMo/status/2048821516079661561
2•bsgada•45m ago•1 comments

Show HN: macOS screensaver that displays Google Trends as fish in a deep-ocean

https://apoorvkulkarni.com/trending-screensaver/
1•ak009•45m ago•0 comments

Ask HN: What Is the "Lore" of HN?

2•Cider9986•47m ago•1 comments

Show HN: CoPilot for Project Management

https://quickapproveai.com/
1•xvok•47m ago•0 comments

Compu-Global-Hyper-Mega-Net: A Retro Internet for Retro Computers (LFNW 2026) [video]

https://www.youtube.com/watch?v=cSJsGNIDjtc
1•CursedSilicon•48m ago•0 comments

A man who decides when and where your next flight will be going

https://www.cnn.com/travel/airline-planning-officer-aviation-decisions
1•charrington•49m ago•0 comments

Event Clash of Prompts: A Real-Time Prompt Battle Royale

https://builder.aws.com
1•symbiotic_sec•49m ago•1 comments

Another supply-chain attack: elementary-data Python package compromised

https://arstechnica.com/security/2026/04/open-source-package-with-1-million-monthly-downloads-sto...
3•mil22•50m ago•1 comments

Live coverage: ULA to launch 29 Amazon Leo satellites on Atlas 5 LIVE in ~2hrs

https://spaceflightnow.com/2026/04/27/live-coverage-ula-to-launch-29-amazon-leo-satellites-on-atl...
1•bookmtn•52m ago•0 comments

Immigrants' Recent Effects on Government Budgets: 1994–2023

https://www.cato.org/white-paper/immigrants-recent-effects-government-budgets-1994-2023
3•Anon84•52m ago•0 comments