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/

Americans express unease over SpaceX's influence on retirement savings

https://www.theguardian.com/science/2026/jun/19/spacex-retirement-savings-elon-musk
1•ValentineC•2m ago•0 comments

Comparison of simulation environments for robot training data

https://www.humanoidsdata.com/articles/simulation-environments-robot-training-data
1•torayeff•3m ago•0 comments

François Englert (1932 – 2026)

https://home.cern/francois-englert-1932-2026/
1•nhatcher•5m ago•0 comments

How do flocking birds and schools of fish move?

https://www.nyu.edu/about/news-publications/news/2026/june/how-do-flocking-birds-and-schools-of-f...
2•hhs•10m ago•0 comments

The Secret Revolution in Battery Technology: 3-D Printing

https://www.wsj.com/tech/battery-technology-3d-printing-c319ca9a
1•Brajeshwar•12m ago•0 comments

Nub: an all-in-one toolkit for Node.js

https://nubjs.com/blog/introducing-nub
1•eikowagenknecht•14m ago•0 comments

Fish oil supplements may not prevent Alzheimer's-related decline: study

https://news.keckmedicine.org/fish-oil-supplements-may-not-prevent-alzheimers-related-decline/
1•hhs•14m ago•0 comments

Government's websites are asking to be hacked

https://groundup.org.za/article/heres-how-insecure-governments-websites/
1•Jimmc414•16m ago•0 comments

PC-free YouTube streaming rig on a Pi 4, built for engraving coins

https://github.com/Coreymillia/YouTube-Pi4-StreamMachine
1•Teever•16m ago•0 comments

Show HN: Timestamp and provenance records for AI-assisted creative work

https://colossee.com
2•celestino_127•18m ago•0 comments

I need people to understand that Palantir is not an engineering marve

https://bsky.app/profile/chadloder.dev/post/3moo3wm25722q
3•doener•21m ago•0 comments

Job postings aren’t jobs

https://workshift.org/job-postings-arent-jobs/
3•hhs•22m ago•1 comments

New Air Force One is unveiled, a $400M plane gifted by Qatar

https://www.cbsnews.com/news/air-force-one-new-plane-trump-qatar/
1•naturalmovement•23m ago•0 comments

Superagers

https://pilot-protection-services.aopa.org/news/2026/june/01/superagers
2•dp-hackernews•24m ago•0 comments

More than chatbots: Why business AI agents are the next product battleground

https://www.rnz.co.nz/news/science-and-technology/600928/more-than-chatbots-why-business-ai-agent...
3•billybuckwheat•25m ago•0 comments

When the ability to smell goes away

https://knowablemagazine.org/content/article/health-disease/2026/what-happens-brain-lose-sense-of...
1•Brajeshwar•32m ago•0 comments

Ask HN: What Makes a Podcast Successful?

1•dimamik•36m ago•0 comments

Agentic Loops: Why the Best AI Coding Workflows Are Loops, Not Prompts

https://skilldb.dev/blog/agentic-loops-why-the-best-ai-coding-workflows-are-loops
2•dev_chad•37m ago•0 comments

Self-Improving Memory for Agents

https://www.perplexity.ai/hub/blog/self-improving-memory-for-agents
2•gmays•38m ago•0 comments

Anyone else receive a "GPU droplet destroyed" email from DigitalOcean

3•reassess_blind•38m ago•1 comments

How GLM-5.2 beat Fable 5 At Website Design

https://notes.designarena.ai/how-glm-5-2-beat-fable-5-at-website-design/
4•anmaygu•45m ago•0 comments

Agentic Resource Discovery Specification

https://agenticresourcediscovery.org/
2•DanielKehoe•47m ago•0 comments

The UK's New Under-16 Social Media Ban Will Cause More Harm Than It Prevents

https://www.eff.org/deeplinks/2026/06/uks-new-under-16-social-media-ban-will-cause-more-harm-it-p...
38•Brajeshwar•49m ago•37 comments

Book Review: Where's My Flying Car?

https://www.astralcodexten.com/p/your-book-review-wheres-my-flying
3•zetalyrae•50m ago•0 comments

Glassblowing #2: Making a tungsten lamp and (bad) vacuum diode

https://maurycyz.com/projects/glass/2/
3•thomasjb•50m ago•0 comments

Top Bank Regulator Spoke at an Invite-Only Client Dinner After Fed Meeting

https://www.wsj.com/economy/central-banking/top-bank-regulator-spoke-at-an-invite-only-client-din...
4•petethomas•52m ago•0 comments

Shrinking a NixOS ISO from 458 MiB to 183 MiB

https://natkr.com/2026-06-19-nixos-but-smol/
4•logickkk1•52m ago•0 comments

Pre-Modern Armies for Worldbuilders: Officials, Contractors and Professionals

https://acoup.blog/2026/06/19/collections-pre-modern-armies-for-worldbuilders-part-iib-officials-...
5•JohnHammersley•54m ago•0 comments

Trust Identity Protocol v1.0, an open post-quantum standard for human identity

https://theailab.org/whitepaper
3•dineshmendhe•54m ago•0 comments

Zenzizenzizenzic

https://en.wikipedia.org/wiki/Zenzizenzizenzic
19•gyosifov•58m ago•12 comments