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/

Dependency analytics 1.0: AI coding with supply chain security

https://developers.redhat.com/articles/2026/07/07/dependency-analytics-10-ai-coding-supply-chain-...
1•crashpn•26s ago•0 comments

Show HN: Sx 2.0 – Share AI skills with your team through a Dropbox folder

https://sleuth-io.github.io/sx/2026/07/10/your-dropbox-is-now-a-skill-server.html
1•detkin•1m ago•0 comments

Show HN: ContextVault – Shared memory layer for your AI and your team

https://www.contextvault.dev/
2•Repeater22746•5m ago•0 comments

Estimating the heights of New Yorkers from their scuff marks

https://blog.jse.li/posts/smith9street/
1•eat_veggies•5m ago•0 comments

Fight Fire with Pedantry

https://commaok.xyz/ai/llm-language/
1•Matrixik•7m ago•0 comments

Private, offline-first notes for people who write Markdown,and code

https://github.com/dsbitor/technotes-releases/
1•ITORDB•11m ago•0 comments

The AI Whale Fall and Open Source

https://minor.gripe/posts/2026-07-13-the_ai_whalefall_and_open_source/
1•ai_critic•11m ago•0 comments

Show HN: Taetype – a complete font engine for Rust and WASM

https://github.com/silly-tae/taetype
2•silly-tae•14m ago•0 comments

The Englishwoman who sketched India before photography took hold

https://www.bbc.com/news/articles/cm2drrv6q54o
2•1659447091•15m ago•0 comments

Show HN: Free API of 248M aggregated VEX statements: 45% of CVEs not affected

https://getreel.dev/vex
1•simoneree•20m ago•0 comments

Cdbx.ai – AI-powered browser IDE to describe, build, and publish apps

https://cdbx.ai/
3•chbutler•20m ago•1 comments

When a Web Developer Holds Your Domain Hostage

https://www.dnaccess.com/held-for-ransom-recovering-domain-name/
1•bhartzer•21m ago•0 comments

Leantime: Project management, built with ADHD, Autism, and dyslexia in mind

https://github.com/Leantime/leantime
1•nateb2022•23m ago•0 comments

I Bought the $3k Fitness Suit That Electrocutes You. I'm Sending It Back

https://www.404media.co/i-bought-the-3-000-fitness-suit-that-electrocutes-you-im-sending-it-back/
1•ValentineC•24m ago•1 comments

NASA's Hubble Discovers First of Star Cluster's Missing Black Holes

https://science.nasa.gov/missions/hubble/nasas-hubble-discovers-first-of-star-clusters-missing-bl...
3•Jimmc414•27m ago•0 comments

Economic Possibilities for our Grandchildren (1931)

https://fermatslibrary.com/s/economic-possibilities-for-our-grandchildren
1•mustaphah•33m ago•1 comments

In Federal Prisons, Some Guards Use Fear and Violence to Stifle Complaints

https://www.themarshallproject.org/2026/07/13/california-federal-prison-abuse
3•Jimmc414•34m ago•0 comments

Tab. – a public ledger for tracking money friends owe you

https://thetab.io
2•concentric•35m ago•1 comments

LAPD Regularly Pulled over Innocent People Plate Readers Flagged Cars as Stolen

https://www.404media.co/lapd-regularly-pulled-over-innocent-people-because-license-plate-readers-...
4•Jimmc414•36m ago•1 comments

Dressed to Kill: Fashion Throughout Bond Eras

https://dressed-to-kill.vercel.app/
2•atlasunshrugged•36m ago•1 comments

Musk's Starlink Socks Customers with $1500 'High Demand' Surcharge

https://www.techdirt.com/2026/07/13/musks-starlink-socks-customers-with-1500-high-demand-surcharge/
6•lemonberry•38m ago•0 comments

Ask HN: What are your personal websites?

4•basilikum•38m ago•3 comments

BYD surpasses Tesla in global race; 'do-or-die' crisis in China's market

https://www.scmp.com/business/china-evs/article/3359708/byd-surpasses-tesla-global-race-do-or-die...
3•breve•40m ago•0 comments

The pelican benchmark is doubtful, let's draw MacBook Pro in SVG. Is Fable best?

https://playcode.io/blog/macbook-svg-benchmark
2•ianberdin•40m ago•0 comments

ORA – AI coding agent that blocks its own commits if security scan fails

https://auremcto.com/
2•tjsandhu•43m ago•0 comments

Michigan says diarrhea outbreak may be linked to lettuce, salad greens

https://www.cnn.com/2026/07/13/health/cyclospora-parasite-diarrhea-outbreak-increase
3•Bender•44m ago•0 comments

Israel's Operation to Cultivate Ahmadinejad

https://www.nytimes.com/2026/07/13/us/politics/israel-mahmoud-ahmadinejad-iran.html
3•u1hcw9nx•44m ago•1 comments

Manifest Man

https://www.thenewcritic.com/p/manifest-man
6•ekluger•47m ago•2 comments

Lobste.rs is now running on SQLite

https://lobste.rs/s/ko1ji1
19•abetusk•52m ago•0 comments

Forgein – portable context layer for AI tools, native MCP server (MIT CLI)

https://app.forgein.ai
2•shadowmodder•53m ago•0 comments