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/

An OpenAI model crushed top human programmers at a world coding competition

https://www.understandingai.org/p/an-openai-model-crushed-top-human
1•speckx•7s ago•0 comments

Do Smart Glasses Have a Surveillance Problem?

https://www.vogue.com/article/do-smart-glasses-have-a-surveillance-problem
1•cdrnsf•2m ago•0 comments

Casual Viewing: Why Netflix looks like that (2025)

https://www.nplusonemag.com/issue-49/essays/casual-viewing/
1•zem•4m ago•0 comments

An Update on the scraper situation

https://lwn.net/SubscriberLink/1080822/990a8a5e2d379085/
2•chmaynard•7m ago•0 comments

MAGA's attack on science is worse than it looks

https://www.noahpinion.blog/p/magas-attack-on-science-is-even-worse
1•gumby•8m ago•0 comments

Ask HN: Experiences of Working in Big Data

1•theginger•8m ago•0 comments

Capitalism Gone Wrong

https://kasperjunge.com/blog/capitalism-gone-wrong/
1•juunge•9m ago•0 comments

Earthkit v1.0 – Open-source tools for seamless earth science workflows

https://earthkit.ecmwf.int
1•giuliomagnifico•9m ago•0 comments

Shooting Starlink: The "no limits" partnership between Russia and China

https://theins.press/en/inv/294635
2•uxhacker•11m ago•2 comments

We reached 300 repos visualized

https://www.reddit.com/r/PrincipalAi/s/tN8cnUNHR3
2•fernando-ram•12m ago•0 comments

AI Pilling Our Company

https://twitter.com/neilrahilly/status/2075290325757608148
1•iacguy•12m ago•0 comments

The Worst Company

https://vowe.net/2026/07/10/the-worst-company/
1•doener•13m ago•0 comments

My two year old taught me constraint solving

https://thecomputersciencebook.com/posts/how-my-2yo-taught-me-constraint-solving/
1•bambataa•13m ago•0 comments

Show HN: Bunrun – agent-configured local dashboard to start/stop dev apps

https://github.com/jokkebk/bunrun
1•jokkebk•14m ago•0 comments

Cat Is Being Nice? Think Again

https://www.nytimes.com/2026/07/10/science/cat-grooming-licking-research.html
1•gumby•14m ago•0 comments

Citi wins bank support for tokenized deposit tools

https://www.americanbanker.com/payments/news/citi-wins-bank-support-for-tokenized-deposit-tools
1•petethomas•14m ago•0 comments

Mayor Mamdani Announces Landmark "Click-to-Cancel" Consumer Protection Rules

https://www.nyc.gov/mayors-office/news/2026/07/mayor-mamdani-announces-landmark--click-to-cancel-...
5•thisislife2•15m ago•2 comments

Squishy Face

https://www.viverse.com/A4tz3Qk
1•Eduard•15m ago•0 comments

Discovery could lead to brighter, more energy-efficient digital displays

https://news.mit.edu/2026/discovery-could-lead-brighter-more-energy-efficient-digital-displays-0710
1•gnabgib•15m ago•0 comments

Core dump epidemiology: fixing an 18-year-old bug

https://openai.com/index/core-dump-epidemiology-data-infrastructure-bug/
1•ot•18m ago•0 comments

New Research Indicates That in Future, Trees May Store Less Carbon Than Expected

https://lamont.columbia.edu/news/new-research-indicates-future-trees-may-store-less-carbon-expected
1•littlexsparkee•20m ago•0 comments

Chickadees cheat on their partner more with males better at navigation

https://elifesciences.org/reviewed-preprints/110905
1•marojejian•22m ago•1 comments

Retiring Group Chats in ChatGPT

https://help.openai.com/en/articles/12703475-retiring-group-chats-in-chatgpt
2•flyaway123•23m ago•0 comments

Flock threatens to sue private group in California that discusses diplomacy, law

https://bsky.app/profile/bennjordan.bsky.social/post/3mqcmjhtstc2y
3•cdrnsf•23m ago•2 comments

Four Day Work Week Statistics 2026: What the Data Shows

https://stealthagents.com/research/four-day-work-week-statistics-2026
1•momentmaker•24m ago•0 comments

Did you start a startup, then had to shut it down?

https://www.youtube.com/watch?v=wVhOCrlApwk
1•dsantbakshsing•25m ago•0 comments

The first programmer I know who was murdered in a targeted strike was Haitham

https://www.lrb.co.uk/the-paper/v48/n12/muhammad-shehada/i-would-never-release-him
2•lr0•27m ago•0 comments

ChatGPT and Codex Desktop app merge confusion

https://community.openai.com/t/where-did-my-chatgpt-projects-go/1386177
2•foupfeiffer•28m ago•0 comments

AI Gets a Cerebellum

https://www.mccormick.northwestern.edu/news/articles/2026/07/ai-gets-a-cerebellum/
2•geox•28m ago•0 comments

What's Behind the Recent Legal Challenges to Costco's Iconic Rotisserie Chicken

https://www.kavout.com/market-lens/what-s-behind-the-recent-legal-challenges-to-costco-s-iconic-r...
1•momentmaker•29m ago•0 comments