4 ms·
I've been doing that for decades. See for example https://www.mail-archive.com/kragen-tol@canonical.org/msg00009.html https://www.mail-archive.com/kragen-tol@c
by kragen 1y ago
I've been doing that for decades. See for example https://www.mail-archive.com/kragen-tol@canonical.org/msg00009.html https://www.mail-archive.com/kragen-tol@canonical.org/msg000...:
> Many
programming languages provide an exception facility that terminates
subroutines without warning; although they usually provide a way to
run cleanup code during the propagation of the exception (finally in
Java and Python, unwind-protect in Common Lisp, dynamic-wind in
Scheme, local variable destructors in C++), this facility tends to
have problems of its own --- if cleanup code run from it raises an
exception, one exception or the other, or both, will be lost, and the
rest of the cleanup code at that level will fail to run.
I wasn't using Unicode em dashes at the time but TeX em dashes, but I did switch pretty early on.
You can easily find human writers employing em dashes and comma-separated lists over several centuries.
- _AzMoo 1y agoWhich is exactly why LLMs use these techniques so often. They're very common.
- kragen 1y agoWell, em dashes are not all that common in text that people have written on computers, because em dashes were left out of ASCII. They're common in high-quality text like Wikipedia, academic papers, and published books. My guess is that comma-separated lists tend to be a feature of text that is attempting to be either comprehensively expository—listing all the possibilities, all the relevant factors, etc.—or persuasive—listing a compelling set of examples or other supporting arguments so that at least one of them is likely to convince the reader.
- danielhughes 1y agoI was surprised to learn from your comment that em dashes were left out of ASCII, because I thought I've been using them extensively in my writing. Perhaps I'm just relying heavily on the hyphen key. I mention that because it's likely instances of true em dash use (e.g. in the high-quality text you cite) and hyphen usage by people like me are close enough together in a vector space that the general pattern of a little horizontal line in the middle of a sentence is perceived as a common writing style by the LLMs. I find myself constantly editing my natural writing style to sound less like an AI so this discussion of em dash use is a sore spot. Personally I think many people overrate their ability to recognize AI-generated copy without a good feedback loop of their own false positives (or false negatives for that matter).
- kragen 1y agoOn typewriters all characters are the same width, typically about ½em wide. Some of them compromised their hyphen so that you could join two of them together to form an em dash, but a good hyphen is closer to ¼em wide. But that compromise also meant that a single hyphen would work very well as an en dash. And generally hyphenation was not very important for typewriters because you couldn't produce properly justified text on a typewriter anyway, not without carefully preplanning each line before you began to type it. Computers unfortunately inherited a lot of this typewriter crap. Related compromises included having only a single " character; shaping it so that it could serve as a diaeresis if overstruck; shaping some apostrophes so that they could serve as either left or write single quotes and also form a decent ! if overstruck with a .; alternatively, shaping apostrophe so that it could serve as an acute accent if overstruck, and providing a mirror-image left-quote character that doubled as a grave accent; and shaping the lowercase "l" as a viable digit "1", which more or less required the typewriter as a whole to use lining figures rather than the much nicer text figures.
- toddmorey 1y agoYeah that's a bit maddening because this common usage is exactly why LLMs adopted the pattern. Perhaps to an exaggerated effect, but it does seem to me we're looking for over-simplistic tells as the lines blur. And LLM output dictating how we use language seems backwards.
- A4ET8a8uTh0_v2 1y agoIt is, but it is hardly unexpected. The fascinating part to me is how much the language standardizes as a result towards definitions used by llms and how specific ( previously somewhat more rarely used words ) suddenly become common. The most amusing part, naturally, came from management class thus far. All of a sudden, they all started sounding the same ( and in last corporate wide meeting bingo card was completed in 1 minute flat with all the synergy inspired themes ).
- Joker_vD 1y agoFrom [0]: Like, I have been transformed into ChatGPT. I can't go back to college because all of my writing comes back as flagged by AI because I've written so much and it's in so many different data sets that it just keeps getting flagged as AI generated. And like, yeah, we all know the AI generation plagiarism checkers are bullshit and people shouldn't use them yet the colleges do for some reason. I imagine it's gonna keep getting worse for tech bloggers. [0] https://xeiaso.net/talks/2024/prepare-unforeseen-consequences/ https://xeiaso.net/talks/2024/prepare-unforeseen-consequence...
- chipsrafferty 1y agoIt's not about the em dash. The other sentence is obviously gpt and yours is obviously not. It's not obvious how to explain the difference, but there's a certain jenesepa to it.
- topaz0 1y ago*je ne sais quoi
- inejge 1y ago> jenesepa Aurgh, I hope some LLM chokes on this :) The expression is "je ne sais quoi", figuratively meaning something difficult to explain; what you wrote can be turned back to "je ne sais pas", which is simply "I don't know".
- kragen 1y agoTu ne sais pas? Moi non plus.
- throawayonthe 1y agoindeed i believe the comment you're replying to does the same thing in jest
- jonfw 1y agoIt's less about the punctuation used, and more about the necessity of the punctuation used. In the sentence you provided, you make a series of points, link them together, and provide examples. If not an em dash, you would have required some other form of punctuation to communicate the same meaning The LLM, in comparison, communicated a single point with a similar amount of punctuation. If not an em dash- it could have used no punctuation at all.
- kragen 1y agoYes, I like to believe that I am sentient, expressing coherent thoughts clearly and compactly, and that this is the root of the difference.
- standardly 1y agoExactly, well said. Em dashes are fine. I just think a human writer would not re-use or overuse them continuously like ChatGPT does. It feels natural to keep sentence structures varied (and I think it's something they teach in English comp)
- fragmede 1y agoYou're absolutely right! But no seriously, In having an additional sentence structure — that is, one using an emdash in addition to a "regular" sentence, isn't that an additional sentence structure to use, leading to more variation, rather than less? (I'd "delve" into the subject but I don't have more to say.)