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/

A Production-Ready Factor Library for Downsampling L2 Tick Data to Daily Signals

https://medium.com/@DolphinDB_Inc/high-frequency-data-holds-more-alpha-than-you-think-a-factor-li...
2•CrazyTomato•3m ago•0 comments

Gleam and the Value of Small [video]

https://www.youtube.com/watch?v=E6_JqYMeNqs
1•roflcopter69•3m ago•0 comments

New web search API with proper context awareness

https://search-router.com
2•SwtCyber•4m ago•0 comments

Show HN: Tool you give AI agents to sneak in prompts or connect multiple agents

https://apps.apple.com/us/app/promptgate/id6772730472
1•mrtksn•7m ago•0 comments

How much do amd64 microarchitecture levels help in Go?

https://lemire.me/blog/2026/06/06/how-much-do-amd64-microarchitecture-levels-help-in-go/
1•signa11•7m ago•0 comments

We Need the Friction of Existence (about AI and the fact that thought≠language)

https://lifehacky.net/we-need-the-friction-of-existence-da8e27e94b27?source=friends_link&sk=71fe1...
1•tombarys•9m ago•1 comments

Are high-end knife shops worth markup above big cutlery chains?

https://www.paragon-knives.com/
2•bgzlsxaz•11m ago•0 comments

UK PM gives tech firms ultimatum to block explicit images on children's phones

https://www.theguardian.com/technology/2026/jun/08/starmer-tech-firms-ultimatum-block-explicit-im...
4•tompagenet2•13m ago•0 comments

RayforceDB: Columnar Analytics and Graph Traversal in One Pipeline

https://rayforcedb.com/
1•tosh•16m ago•0 comments

Buy a train, bridge or tracks from the Swiss Railway

https://sbbresale.ch/
2•kisamoto•17m ago•0 comments

Let the agents democratize open source

https://world.hey.com/dhh/let-the-agents-democratize-open-source-9fd630a9
1•yulaow•17m ago•0 comments

TrailText – an ESP32 and LoRa off-grid messaging app

https://github.com/brunokeymolen/lora
1•brunokeymolen•18m ago•1 comments

Prompts I Reach for Every Week to Stay Unblocked as an Engineer

https://theaileverageweekly.com/posts/10-prompts-i-reach-for-every-week-to-stay-unblocked-as-an-e...
1•talvardi7•22m ago•1 comments

Show HN: CogCore – An API-native TypeScript runtime for building agents

https://github.com/carsonDB/CogCore
1•CarsonWu•22m ago•0 comments

Show HN: Email and identity stack for AI Agents

https://mailgent.dev/
2•DannyHeng•23m ago•0 comments

A Sustainable Git Option for Sovereign Solutions

https://code.kevwe.com/altgit.git/
1•kevwedotse•24m ago•0 comments

Substrate vs. Broker: Two Emerging Strategies for Enterprise AI

https://signal-memo.com/memo-salesforce-and-sap-are-making-opposite-bets-about-how-agents-will-us...
1•alex-ivan•24m ago•0 comments

GoSeofy

1•Juancabrera123•25m ago•0 comments

Doing Nothing at Work

https://www.seangoedecke.com/doing-nothing-at-work/
1•Sukram21•25m ago•0 comments

Gemini is currently charging us $1K per hour due a bug with the cache feature

https://twitter.com/_oliveiradanilo/status/2063660986213490882
2•jrflowers•28m ago•0 comments

Argentina's 'Madman': Inside the World of Javier Milei

https://www.aljazeera.com/features/longform/2026/6/6/argentinas-madman-inside-the-world-of-javier...
2•robtherobber•28m ago•0 comments

AI Has Come for Serif Fonts

https://www.wired.com/story/ai-has-come-for-serif-fonts/
2•unprovable•30m ago•1 comments

UK PM Starmer set to ban 'harmful' social media for under-16s

https://www.reuters.com/legal/litigation/uk-pm-starmer-set-ban-harmful-social-media-under-16s-202...
7•geox•47m ago•3 comments

The Cypherpunk Library

https://www.cypherpunkbooks.com
23•yu3zhou4•50m ago•3 comments

LLMs and Performative Productivity

https://joshcollinsworth.com/blog/productivity
1•gregnavis•52m ago•0 comments

Owning Your Dependencies

https://thestoicprogrammer.substack.com/p/owning-your-dependencies
2•birdculture•56m ago•1 comments

In Defense of YAML

https://opensource.posit.co/blog/2026-05-21_in-defense-of-yaml/
2•theanonymousone•1h ago•0 comments

Show HN: Free read-only script to find wasted AWS spend

https://cloudbudgetmaster.com/tools/aws-waste-finder/
1•samarth0211•1h ago•0 comments

The GitHub Copilot Bill Came Due. Here's What Engineering Leaders Should Do

https://blog.kilo.ai/p/the-github-copilot-bill-came-due
2•Aireen5858•1h ago•1 comments

Dao Heart 3.13 a symbolic safety layer for value drift and AI alignment research

https://github.com/Mankirat47/Dao-Heart-3.13
1•Mankirat47•1h ago•0 comments