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/

Treena, a full coding agent that runs from your phone

https://www.treena.app/
1•KollaikalRupesh•1m ago•0 comments

Canada says bridge tolls won't be split with U.S. until $6.4B of debt is repaid

https://www.cbc.ca/news/canada/windsor/carney-presser-gord-bridge-9.7272695
1•geox•3m ago•0 comments

ClickMVP – deterministic full-stack code from production app patterns

https://app.clickmvp.com
1•andredourado•6m ago•0 comments

Google Kills Custom Search API on Jan 1, 2027

https://thenextgennexus.com/2026/05/14/google-kills-custom-search-api-on-jan-1-2027-you-have-9-mo...
2•alexey-salmin•9m ago•1 comments

Show HN: Git-temp (repo scratchpad for AI agents that won't clutter Git status)

https://github.com/sebmellen/git-temp
1•sebmellen•13m ago•0 comments

Interactive architectural maps of your repo, show branches and commit diffs. AI

https://github.com/agustinvillegas/repomap
1•franvillegass•14m ago•1 comments

Jimmy Yu Nvidia executive and police officer emp Sanjay saikumar Emily yu

https://www.isdglobal.org/isd-explainer/gangstalking-and-targeted-individuals/
1•palermocagilari•15m ago•2 comments

Semantic Layer as Middleware Is Not Enough

https://blog.strata.do/p/semantic-layer-middleware-is-not
1•ajoski9•20m ago•0 comments

RustDuck: An In-Depth Analysis of a Two-Stage Botnet

https://blog.xlab.qianxin.com/rustduck-en/
1•uneven9434•21m ago•0 comments

Architecting Secure Prompt Caching

https://tinfoil.sh/blog/2026-07-14-secure-prompt-caching
1•FrasiertheLion•21m ago•1 comments

The Hard Parts

https://withinboredom.info/posts/the-hard-parts/
1•withinboredom•22m ago•0 comments

Show HN: Paste an X post URL, get a death metal song back

https://post2song.namo-overlay.com
1•toyoshi•25m ago•0 comments

Pocket YouTube: Streaming YouTube to a PSP over a USB Cable

https://pocketjs.dev/blog/pocket-youtube/
1•doodlewind•25m ago•0 comments

Wandr Benchmark: Evaluating Research Agents That Must Search Wide and Deep

https://research.perplexity.ai/articles/wandr-benchmark-evaluating-research-agents-that-must-sear...
1•tagawa•27m ago•1 comments

M 3.9 Experimental Explosion – 147 Km ENE of Ponce Inlet, Florida

https://earthquake.usgs.gov/earthquakes/eventpage/us7000t13l/executive
4•hnburnsy•28m ago•0 comments

Ask HN: I built it and nobody came. What got you your first users?

2•deadcatfound•34m ago•0 comments

Ask HN: How do you maintain context across your coding sessions?

1•reveriedev•36m ago•1 comments

The Problem Claude Cowork and ChatGPT Work Mode Doesn't Solve

https://medium.com/@vektormemory/the-problem-claude-cowork-chatgpt-work-mode-doesnt-solve-remote-...
1•vektormemory•36m ago•0 comments

From WS_FTP to instructions.md: thirty years of web development

https://www.knut.fyi/blog/2026-07-16/but-some-of-us-were-watching
1•kmelve•36m ago•0 comments

Writing Doom (on super artificial intelligence) [video]

https://www.youtube.com/watch?v=xfMQ7hzyFW4
1•Eddy_Viscosity2•40m ago•0 comments

Shanay-Timpishka, a boiling hot river 700km from the nearest active volcano

https://terradaily.com/anything-that-falls-into-a-four-kilometre-stretch-of-a-river-in-the-centra...
1•camtarn•40m ago•0 comments

Scientists Created a Wearable You Can Paint Directly onto Your Skin

https://gizmodo.com/scientists-created-a-wearable-you-can-paint-directly-onto-your-skin-2000784919
1•gmays•42m ago•0 comments

How HN: Slopfence – browser native DLP that stops secrets leaking to LLMs

https://slopfence.com
1•joshiabir•44m ago•0 comments

Kaggle Linter, notebook-wide Ruff and Flake8 linting for Kaggle

https://chromewebstore.google.com/detail/kaggle-linter/mmckiielmlncmbalaffggabchfbhdfoi
1•chater•46m ago•0 comments

Skillbench

https://skillbench.arcade.dev/browse
3•gnanagurusrgs•50m ago•0 comments

Show HN: Forall – Spec-driven AI coding with formal verification

https://github.com/astrio-labs/forall
7•Nolan_Lwin•50m ago•0 comments

Caseway and MiTAC Advance Technology Partner to Bring Trusted AI Intelligence

https://www.suasnews.com/2026/07/caseway-and-mitac-advance-technology-partner-to-bring-trusted-ai...
1•ClearwayLaw•51m ago•1 comments

The Mechanics of ARR Loans

https://lesbarclays.substack.com/p/the-mechanics-of-arr-loans
1•lesbarclays•51m ago•0 comments

DiffGI Differentiable Geometry Images for High-Fidelity Thin-Shell 3D Generation

https://ejshim.github.io/diffgi/
2•throwaway2027•52m ago•0 comments

The Human-in-the-Loop Is Tired

https://pydantic.dev/articles/the-human-in-the-loop-is-tired
3•haritha1313•52m ago•0 comments