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/

Writing a DSL for high performance parallel programming in OxCaml

https://blog.janestreet.com/writing-a-dsl-for-high-performance-parallel-programming-in-oxcaml/
1•birdculture•45s ago•0 comments

Show HN: Zero-RNG algebraic audit of codon syntax across 141M codons in RefSeq

https://github.com/Dr-Logvinovich/codon-torus-syntax
2•DRLogvinovich•7m ago•0 comments

I bricked my smart ceiling fan, then reverse-engineered it back to life

https://ahmedmassoud.me/blog/reverse-engineering-my-smart-ceiling-fan/?ref=hn
1•ahmedwalid05•10m ago•0 comments

The cmake.org certificate expired again

https://cmake.org/
1•debugnik•13m ago•0 comments

Some old bit.ly links get redirected

https://twitter.com/stabilitytheory/status/2121895502560055496
2•taubek•13m ago•0 comments

Taking AI Seriously

https://borretti.me/article/taking-ai-seriously
1•bananaflag•15m ago•0 comments

Thoughts on memory layers like mem0

1•anshmalik2002•24m ago•0 comments

Codex is deprecating plan mode

https://github.com/openai/codex/issues/18490#issuecomment-6890525683
1•EnnioEvo•26m ago•0 comments

Hacker News Daily

https://lopespm.com/hackernews-daily/
1•lopespm•27m ago•0 comments

TingLongWu – local, offline meeting translation (listen and speak)

https://github.com/sunososobro-hub/tinglongwu
1•sosobro•32m ago•0 comments

Show HN: Diagnosed with diabetes at 16, I built Diabic for World Diabetes Day

https://diabic.com
2•shahriarpshuvo•32m ago•0 comments

Terence Tao and Peter L.: Live Math with Open Math OS [video]

https://www.youtube.com/watch?v=rCZFomL5WBg
1•vismit2000•34m ago•0 comments

Blog on Multiagent Interaction Protocols

https://masr.gitlab.io/blog/
1•ioper•38m ago•1 comments

Show HN: Kasa, simplest budgeting app you can find

https://kasafinance.online/
1•emirhanozsoy•41m ago•0 comments

Open Source Motorcycle Infotainment

https://gitlab.com/FalkF/hackasaki-spinbridge
2•usernam33•41m ago•1 comments

Most of AI moats are just fuel

https://adlrocha.substack.com/p/adlrocha-most-of-ai-moats-are-just
1•iLuddite•45m ago•0 comments

Gitly: lightweight, self-hosted GitHub/GitLab alternative written in V

https://github.com/vlang/gitly
1•modinfo•47m ago•0 comments

A Pile of MCP Connectors Is Not a Context Engine

https://getunblocked.com/blog/mcp-connectors-are-not-a-context-engine/
1•fagnerbrack•50m ago•0 comments

Leo gets a birthday bash, 75 years after clocking in

https://www.theregister.com/offbeat/2026/11/15/leo-gets-a-birthday-bash-75-years-after-clocking-i...
1•defrost•57m ago•0 comments

Turn any image into emoji art, in the browser

https://www.thousandtools.com/image-to-emoji/
1•vaibhavvudayagi•57m ago•0 comments

Show HN: Vantage-V-AI – 2-bit ternary KV-cache with attention sinks

https://github.com/khoadev-vn/VANTAGE-V-AI
1•Anh_khoa•1h ago•0 comments

Periodic-Oriented Programming for First Robotics

https://bvisness.me/periodic-oriented-programming/
1•joshcsimmons•1h ago•0 comments

Skyfall Attack: Microarchitectural Data Sampling on AMD

https://skyfall-attack.github.io/
1•ersinesen•1h ago•0 comments

Israel: Making the Holy Land Burn

https://www.aljazeera.com/opinions/2026/11/15/israel-making-the-holy-land-burn
3•hebelehubele•1h ago•0 comments

Show HN: Can a VPN be decentralised.. I think it's the best for homelabs

https://github.com/CLoaKY233/kith
5•laysheth•1h ago•0 comments

Proof Number search: exhaustively search a game tree to prove win or lose

https://minimax.dev/docs/ultimate/pn-search/
1•fanf2•1h ago•0 comments

India's voter-roll software flags twins but lets two men be each other's father

https://diagramchasing.fun/2026/karnataka-sir
2•amnbh•1h ago•0 comments

King Æthelstan founded England in927. Why don't we celebrate that anniversary?

https://www.theguardian.com/commentisfree/2026/nov/14/king-athelstan-england-1100-anniversary-2027
3•YeGoblynQueenne•1h ago•0 comments

SS United States

https://en.wikipedia.org/wiki/SS_United_States
1•tosh•1h ago•0 comments

Earliest known writing dates back over 40k years

https://www.popsci.com/science/earliest-human-writing-germany/
3•tosh•1h ago•1 comments