News for hackers. Stuff that matters.
Re:The way CTRL-C in Postgres CLI cancels queries is incredi... by tensegrist on Monday March 23, 2026 @09:13AM (#47489061)
is sed s/—/--/ the new meta
Re:The way CTRL-C in Postgres CLI cancels queries is incredi... by shilgapira on Monday March 23, 2026 @09:30AM (#47489301)
offtopic, but it's interesting how large of a discrepancy there is between the length of your comment and how much time i'd have to spend explaining background info to a non-programmer to get them to understand why this is funny
Re:The way CTRL-C in Postgres CLI cancels queries is incredi... by pas on Monday March 23, 2026 @12:00PM (#47491293)
why is it funny? it seems like a sincere question
Re:The way CTRL-C in Postgres CLI cancels queries is incredi... by petit_robert on Monday March 23, 2026 @06:42PM (#47496137)
The way it's written is funny, I find. But I'm a programmer...

And as GP wrote, it would take a substantial amount of time to explain to a normie (infinite I'd say, but let's not despair).

Re:The way CTRL-C in Postgres CLI cancels queries is incredi... by arvyy on Monday March 23, 2026 @09:24AM (#47489202)
hardly new, I've used it before advent of llm popularity, and I wasn't alone
Re:The way CTRL-C in Postgres CLI cancels queries is incredi... by mattkrause on Monday March 23, 2026 @10:07AM (#47489748)
It should be THREE hyphens for an em-dash!
Re:The way CTRL-C in Postgres CLI cancels queries is incredi... by kelnos on Monday March 23, 2026 @05:38PM (#47495450)
In theory, yes, endash would be "--" and emdash would be "---", but oof, the three hyphens looks like way too much in normal text. So I've always used "--".
Re:The way CTRL-C in Postgres CLI cancels queries is incredi... by paulddraper on Monday March 23, 2026 @10:00AM (#47489682)
I've always used it.

My keyboard has -.

Re:The way CTRL-C in Postgres CLI cancels queries is incredi... by kelnos on Monday March 23, 2026 @05:34PM (#47495412)
I have used "--" as a lazy-man's emdash for decades at this point. Once I heard that people started assuming text that uses emdashes was written by an LLM I got worried that people were going to think that I'm an LLM, but then I realized the LLMs use the real unicode emdash character, while I just use two regular ASCII-zone hyphens. Whew.

(Also I just learned that ASCII 0x2d/unicode U+002D is more properly called a "hyphen" [well, "HYPHEN-MINUS"], not a "dash".)

Re:The way CTRL-C in Postgres CLI cancels queries is incredi... by tensegrist on Tuesday March 24, 2026 @11:58AM (#47504620)
well, that was my point, that people have seemingly begun replacing — with -- or --- in llm-generated comments recently

this is maybe the fifth time i've seen this happen on hn in the last few weeks