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•1y ago

Comments

mattl•1y ago
Yeah I never used them before I worked at the FSF. The FSF used the Chicago Manual of Style.
neom•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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/

Claude Code is inspecting repos and can auto-switch to extra usage

https://twitter.com/theo/status/2049645973350363168/photo/1
1•mlitwiniuk•2m ago•1 comments

Experimenting with an ISP-style billing model for AI usage

2•rNetAi•6m ago•0 comments

Tracking Migration to the United States

https://trackmigrations.org
2•Areibman•6m ago•0 comments

Gemini CLI not working for 100s of paying users for more than a month

https://github.com/google-gemini/gemini-cli/issues/24517
2•krisgenre•8m ago•0 comments

Show HN: Task Manager for AI Agents (MCP, Opensource)

https://github.com/agentrq/agentrq
3•mrtnx•12m ago•0 comments

KeyStruck – Confirm what shortcut you just pressed without watching the menu bar

https://bendansby.com/apps/keystruck.html
3•webwielder2•14m ago•0 comments

Why Does Music in Science Fiction Sound Like That?

https://daily.jstor.org/why-does-music-in-science-fiction-sound-like-that/
2•tintinnabula•16m ago•0 comments

Weight-Loss Drugs May Reduce Buildup of Alzheimer's Proteins

https://www.sciencealert.com/weight-loss-drugs-may-reduce-buildup-of-alzheimers-proteins-major-re...
3•warbaker•22m ago•0 comments

Electrical current might be the key to a better cup of coffee

https://arstechnica.com/science/2026/04/electrical-current-might-be-the-key-to-a-better-cup-of-co...
2•signa11•23m ago•0 comments

Taiwan activates backup communications for island after undersea cable breaks

https://www.taipeitimes.com/News/taiwan/archives/2026/04/30/2003856520
5•keepamovin•27m ago•0 comments

Therac-25

https://en.wikipedia.org/wiki/Therac-25
2•0xcg•30m ago•0 comments

Green Software Foundation

https://github.com/Green-Software-Foundation
1•saikatsg•31m ago•0 comments

SpaceX just disclosed Musk's new compensation package

https://xcancel.com/gnoble79/status/2049597193670234341
2•doener•37m ago•0 comments

Queen Camilla Unites Winnie-the-Pooh with a Long-Lost Friend

https://www.nytimes.com/2026/04/29/books/queen-camilla-winnie-the-pooh.html
2•ChrisArchitect•41m ago•0 comments

Collective Speed Is Not the Summation of Individual Speed

https://blog.jim-nielsen.com/2026/collective-speed-isnt-the-sum-of-individual-speed/
2•zdw•42m ago•0 comments

Free Solar Radiation, Heat Flux,Temperature,Humidity Data from Dtdss Algorithm

https://cloud.fiaos.org/data/
1•iopoer•43m ago•0 comments

Copy Fail: 732 Bytes to Root on Every Major Linux Distribution

https://xint.io/blog/copy-fail-linux-distributions
13•eyalitki•48m ago•2 comments

What it takes to transpose a matrix

https://gudok.xyz/transpose/
1•signa11•49m ago•0 comments

Meta's multi-billion-dollar Graviton deal

https://www.tomshardware.com/tech-industry/artificial-intelligence/metas-multi-billion-dollar-gra...
1•y1n0•50m ago•0 comments

Tell HN: VS Code v1.117.0 automatically adds GitHub Copilot as your co author

4•adithyassekhar•50m ago•1 comments

Incompressible Knowledge Probes: Measuring what frontier models know

https://01.me/research/ikp/
3•wmf•51m ago•0 comments

Humanoid Robots Will Work as Baggage Handlers at Tokyo Airport

https://www.engadget.com/2160602/humanoid-robots-will-work-as-baggage-handlers-at-tokyo-airport/
2•y1n0•51m ago•2 comments

Iran Proposes Bitcoin Oil Toll

https://decrypt.co/363641/iran-bitcoin-payments-oil-ships-seeking-hormuz-passage
2•janandonly•51m ago•0 comments

Tesla Semi: first truck rolls off high-volume production line

https://electrek.co/2026/04/29/tesla-semi-first-truck-high-volume-production-line/
2•y1n0•52m ago•0 comments

House approves reauthorization of warrantless spy powers

https://thehill.com/homenews/house/5856102-warrantless-spy-powers-fisa-702/
1•divbzero•53m ago•0 comments

Why Model Collapse in LLMs Is Inevitable with Self-Learning

https://hackaday.com/2026/04/29/why-model-collapse-in-llms-is-inevitable-with-self-learning/
1•omer_k•53m ago•0 comments

Europe has a fuel problem: It doesn't know how much it has

https://www.politico.eu/article/europe-fuel-supply-problem/
3•leonidasrup•55m ago•0 comments

Half of 'long shot' Polymarket bets on military action are successful

https://www.ft.com/content/989d335e-275b-4cdc-b51d-4b29fd8895b0
2•petethomas•57m ago•0 comments

Ask HN: Is anyone still using the ChatGPT browser, Atlas?

3•widenrun•1h ago•0 comments

AI optimism surges in Asia, unlike in the U.S.

https://restofworld.org/2026/ai-optimism-asia/
2•TheWeiHu•1h ago•3 comments