frontpage.
newsnewestaskshowjobs

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/

Software Foundations

https://softwarefoundations.cis.upenn.edu/
1•__patchbit__•22s ago•0 comments

Will Soper Ran 1.5 Miles 1k Feet Up a Mountain to Deliver Blood to a Climber

https://www.outsideonline.com/outdoor-adventure/exploration-survival/will-soper-ran-1-5-miles-100...
1•thunderbong•34s ago•0 comments

Proof abundance and the new unit of mathematical work

https://www.prooftree.ai/notes/proof-abundance
1•lemma1729•2m ago•0 comments

Banca etica shuts down A/I funds

https://keepitfree.ai/announcements/banca-etica-shuts-down-a/i-funds/
1•panic•3m ago•0 comments

CPAN Uploads Are Up 50% Year-over-Year

https://www.olafalders.com/2026/09/04/cpan-uploads-up-50-percent-year-over-year/
1•arunix•10m ago•0 comments

The First Ever Open-Source Movie

https://www.openslop.live/
1•Dere-Wah•12m ago•1 comments

Netherlands pulls gold out of the US for fears of 'geopolitical unrest'

https://www.abc.net.au/news/2026-09-04/why-the-netherlands-moved-its-gold-from-us-and-canada/1071...
1•daniel_iversen•14m ago•0 comments

Show HN: Mado Terminal Multiplexer

https://nerimasoft.co.uk/mado.html
1•nerimasoft•17m ago•0 comments

The Nix sandbox is a hidden input

https://fzakaria.com/2026/07/30/the-nix-sandbox-is-a-hidden-input
1•birdculture•21m ago•0 comments

Are credit rating agencies getting fed up with hyperscalers?

https://www.ft.com/content/623c286b-c973-4488-83f3-97e9016e85f6
1•JumpCrisscross•25m ago•0 comments

Extract Anything from Any PDF: Inside Foxit's Advanced Extraction Engine

https://developer-api.foxit.com/developer-blogs/api-guides-tutorials/pdf-structural-extraction-en...
3•fagnerbrack•28m ago•0 comments

Show HN: BlinkMarkets

https://blinkmarkets.xyz
1•gauryvg98•29m ago•0 comments

Defence officials resist EU plan to curb reliance on US tech giants

https://www.ft.com/content/0e9d714b-f367-4dd7-8ef4-6d4b2c08b79c
1•JumpCrisscross•29m ago•0 comments

Is Russia's rival to Starlink failing? Here's what we know

https://arstechnica.com/space/2026/09/rassvet-russias-rival-to-starlink-is-getting-off-to-a-slow-...
2•gumby•30m ago•0 comments

Linux 7.4 to Improve Apple Silicon Audio Support and Impossible Power Management

https://www.phoronix.com/news/Linux-Apple-Audio-Shared-GPIO
1•theanonymousone•30m ago•0 comments

Picolibrary: A Small Press

https://novalis.org/blog/2026-08-31-picolibrary-a-very-small-press.html
1•luu•34m ago•0 comments

Show HN: Scramblefall - falling blocks anagram game

https://scramblefall.com/
1•jstanley•38m ago•0 comments

SlimTCP is a lightweight, high-performance TCP/IP stack for modern datacenters

https://github.com/CajuM/lib-ndpip
1•CajuMD•39m ago•1 comments

Astra One Shotted Cains's Jawbone

2•marcushyett•41m ago•2 comments

Toolcall-doctor – Shrink broken LLM tool-call reproducers

https://github.com/aldi949/toolcall-doctor
1•Aldi949•42m ago•1 comments

macOS 26.7 Code Hints at Two Unreleased Apple Game Controllers

https://www.macrumors.com/2026/09/04/macos-26-7-code-game-controllers/
1•rene_d•42m ago•0 comments

New study says Michigan sturgeon may live to 400

https://www.greatlakesnow.org/2026/08/13/think-youre-getting-old-new-study-says-michigan-sturgeon...
1•geox•43m ago•0 comments

Nvidia Personal AI Router (Pair)

https://www.nvidia.com/en-us/ai-on-rtx/personal-ai-router/
2•theanonymousone•47m ago•0 comments

I raised 5 kids. Looking back, their careers as adults make perfect sense

https://www.businessinsider.com/childhood-interests-predict-future-careers-kids-2026-9
1•theanonymousone•48m ago•0 comments

Refactoring English: Effective Writing for Software Developers (v1.0)

https://refactoringenglish.com
1•adityaathalye•52m ago•0 comments

Ask HN: Any Alternatives to Archive.ph & co?

1•hebelehubele•55m ago•1 comments

Mariko Aoki Phenomenon

https://en.wikipedia.org/wiki/Mariko_Aoki_phenomenon
2•jonjomckay•1h ago•0 comments

'Guilt by association': why 7 int'l aid workers were killed in Israeli airstrike

https://www.theguardian.com/world/2026/sep/05/aid-workers-gaza-killed-in-israel-airstrike-investi...
3•hebelehubele•1h ago•0 comments

Second complete map of a fruit fly brain completed

https://arstechnica.com/science/2026/09/brain-of-a-male-fly-completely-mapped-joins-earlier-map-o...
1•mdp2021•1h ago•0 comments

Desktop AI for ops is still subsidized

1•xAdamx•1h ago•0 comments