My PhD advisor rewrote himself in bash (2010)
matt.might.net
matt.might.net
I think these resources are essential for anyone who writes on any subject which at least involves definitions here and there.
Bad: It is quite difficult to find untainted samples. Better: It is difficult to find untainted samples.
Bad: We used various methods to isolate four samples. Better: We isolated four samples.
Something being quite difficult reads significantly differently than just being difficult. You haven't made the sentence better, you've changed the meaning.
And the fact that you used various methods instead of a single method is information missing from the second sentence.
Please try to understand why people have such strong dislike of floral writing, especially in technical texts. If you read a lot of papers or designs, it makes your life miserable.
It could be about basically anything, just please, pretty please, for the love of god, make it structured. And I don't mean sections with catchy headings, I mean as structured and reference-like as possible.
I want to minimize the amount of time I spend reading prose and searching around, as well as the chance of missing things. I want to hit CTRL+F and be put where I need to be stat and have that be enough. Structure alone can convey a lot of the idea behind how something works - please trust me to able to utilize it to make basic leaps in logic.
A bad example for this is AWS documentation. It's a mish-mash of prose and structured reference. A good example is the AWS CLI documentation (although if they lead with example usages first, that'd be even better).
For example, adverbs are good when readers might have the wrong image without them. E.g., "Alice [quickly] walked." Most of the time, writing is better without words like "very" or "quite."
The problem there is that the meaning quite carries can vary significantly depending on the reader or the context where the word is read (so it can read differently depending on how previous sentences have primed the reader, which means the same person might read it differently with that context than if they start at that sentence. Quite differently, in fact!
This is because in spoken form the word changes a lot with tone of voice. Technically "quite difficult" means "slightly difficult" but in many places actually means "damn near impossible".
I'd day that while removing the word isn't wrong, replacing it with a more specific comparison would be better.
It's something I've come across references to more than a few times over the years though.
EDIT:
OK, FWIW, I can't find any solid reference at a quick glance to the form I was thinking of, but Google's "AI Search" GenAI thing does reflect what I was getting at, so I don't think it's completely something I made up. Unless me and the Google AI both hallucinated the same thing.
Here's what Google has to say:
In British English, when someone says "quite" with a
slightly sarcastic tone, it usually means they are
implying something is "not at all" or "very much the
opposite" of what they are describing, essentially
downplaying a positive quality to express mild
disapproval or skepticism.
Example:
"Oh, that new restaurant was quite good." (Meaning: it
was actually pretty bad)
"He's quite the brilliant mind." (Meaning: he's not very
intelligent at all)
I probably did overstate the degree of emphasis of this though.The sarcastic tone is the secret sauce which makes the difference with a lot of words, including qualifiers like "quite". Try applying a sarcastic tone to "definitely" in the Earth is "definitely" flat and you'll see how people react.
Student, sarcastic tone: "Yeah, right."
(I have no idea where I got this from, read it online ages ago)
There is, in ordinary people's language, "yeah, it was quite good", when talking about a movie or something, which could easily mean, it was moderately ok, not amazing in any way. It'll depend entirely on tone, you could say it in a chirpy tone and you'd mean that it was actually pretty good. This is the most common usage, and familiar to our brothers and sisters and non-binary-siblings across the pond, I suppose.
And then there's your mathematics teacher saying, "Oh, this lemma really is quite trivial", meaning it's very, very trivial, or a "quite difficult proof", meaning you've to drag yourself across hot coals for hours before it hits you.
Then there is also the meaning you describe above! E.g., a bunch of aristocrats are having dinner, and the candelabra suddenly breaks loose, flies through the air, and smashes into a thousand pieces with a crash. Luckily, no one is hurt.
Everyone looks around, shocked, there's a few shrieks of course, and then one of them says: "Oh, what a smashing evening!" and the other says, in a bored drawl, "Quite". It's like an additional layer of being removed from and above the mere idea that the original thing could have been worthy of a positive comment (in this case, the dinner).
Americans think that Brits can be quite patronizing ("pæ-trə-naɪ-zɪŋ").
Actually it's patronizing ("peɪ-trə-naɪ-zɪŋ").
Brit here. Many of us are fond of using _any_ word/phrase with sarcasm, irony, or both.
> so "quite difficult" in England might mean "not difficult at all, you sodding idiot"
Depending on tone and other context "quite" can mean anything from a little to a huge amount. It can also mean exactly, as in "Well, quite.".
This is why you need to be careful in professional and academic contexts, or anywhere in writing for that matter, and use domain specific terminology as much as possible.
Really? You must come from a different literary tradition. Quite means exactly.
See the first definition in the Cambridge Dictionary at https://dictionary.cambridge.org/dictionary/english/quite
completely:
The two situations are quite different.
The colours almost match but not quite.
I enjoyed her new book though it's not quite as good as her last one.
UK formal Are you quite sure you want to go?
Quite honestly/frankly, the thought of it terrified me.
(And I totally forgot to delete the comment too)
I just didn't realize that and only considered how I'd interpret the meaning of completely on is own. And that meaning doesn't translate to every example, hence my previous confusion
So, completely difficult. But completely difficult doesn't sound quite right, probably as less syllables are preferred over many unless there's a quite good reason to prefer the latter.
quite
adverb, predeterminer
"a little or a lot but not completely:"
I'm quite tired but I can certainly walk a little further. There was quite a lot of traffic today but yesterday was even busier. It was quite a difficult job. He's quite attractive but not what I'd call gorgeous. It would be quite a nuisance to write to everyone.
The same dictionary also includes a grammar article clarifying that quite [usually] means "a little, moderately, not very", when the adjective or adverb it modifies is gradable (e.g "good" or indeed "difficult") and it being an intensifier in [generally rarer] situations where the adjective or adverb isn't (e.g "it is quite wrong to say that 'quite' invariably means 'exactly')
https://dictionary.cambridge.org/grammar/british-grammar/qui...
Quite.
[Or sometimes “Quite so”.]
Though in informal communication the word's meaning can be quite different depending on context and tone.
Yes, it can be read as a signal that there is some variability in the amount of difficulty.
Putting more uncertainty in the wording is not necessarily bad, and in a scientific context it can be actually good.
“We isolated four samples using the following methods…”
Here's the GH action we use to run vale on our website at PR time: https://github.com/FusionAuth/fusionauth-site/blob/main/.git...
and our config: https://github.com/FusionAuth/fusionauth-site/tree/main/conf...
We've found it helpful to enforce style but probably aren't using it to the full extent.
I’m currently editing the third edition of my book and a bunch of articles for my website. This will come in handy.
Claude transcript here: https://gist.github.com/simonw/e9902ed1cbda30f90db8d0d22caa0...
It is quite difficult to find untainted samples. We used various methods to isolate four samples.
it gives Found "quite" in: "is quite difficult to find untainted samples."
Found "various" in: ""
Otherwise great work, I like these very fast html/js tools. const words = text.toLowerCase().split(/\b/)
vs const words = text.split(/\s+/)New version is now live at https://tools.simonwillison.net/writing-style
I've actually had a tiny bit of trouble using LLMs for writing analysis in the past, though that was more about spell checking. I found they often missed obvious errors, probably because the tokenization step means they don't "see" the exact original prose in a way that makes those errors as obvious as they are to me.
You can get them (or versions of them) from GNU. They're in homebrew.
https://www.gnu.org/software/diction/
From what I remember, they weren't great; this bunch of programs probably does just as well.
(i acknowledge this is unsatisfyingly unfalsifiable, and that it can also go the other way, in that selectively bad writing can be used to attempt to paper over holes)
In other words, journals are filled with papers that were sold the best, not the most important ideas. And as the author also says, superficial things like hard to detect typos are often a deciding factor because the reviewers can detect them.
we should stop pretending there is objectivity and embrace journals that reflect taste and opinion of the editor.
Or have standard places like arxiv for publishing everything. There is no scarce resource for uploading pdfs.
Might be hard to get into a good workflow as running them and then re-editing seems tedious.
Author gives credit to emacs "writegood", but my all-time fave style-nazi plugin is "artbollocks-mode".
Shell scripts to improve your writing - https://news.ycombinator.com/item?id=13295530 - Jan 2017 (55 comments)
Shell scripts to improve your writing, or "My advisor rewrote himself in bash." - https://news.ycombinator.com/item?id=1529166 - July 2010 (31 comments)
What's the difference?
Gardner's Modern English Grammar should also be the primary recommendation for further reading, Gardner has a gift for explaining the nuances of these things. Style guides are guides for the style of a given publication or writing within a discipline, not guides on writing well or with style.
It gives a neuroscience perspective on what makes certain writing styles clearer.
I'd even go so far as to say that the removal of all adverbs from any technical writing would be a net positive for my newest graduate students.
I've heard this before. Stephen King hates adverbs. However, it can be very difficult to remove all adverbs from your writing. "randomly" for example is an adverb, and if your sentence uses it, it can be difficult to rewrite the sentence without "randomly" that isn't long and complicated. Many adverbs are emphasis words that don't need to be in the sentence ("extremely" for example), but other adverbs are critical to the sentence.Besides, adverbs make writing more emotional. Would you rather read the sentence "I'm extremely thirsty" or "I'm thirsty" - the former has more punch and describes the state of thirst better. Try re-writing that sentence describing extreme thirst levels without adverbs, you start getting into an overly technical, hard to read writing style. "My thirst is extreme" (a sentence which doesn't describe the feeling of being thirsty) or "I am in a state of extreme levels of thirst" (a sentence that sounds too technical).
The advice should be "don't use so many adverbs," not "don't use adverbs at all." Adverbs exist for a reason.
Have to say, Chat does produce what I am looking for in one go more often. Claude always makes lists or makes things way to concise. Maybe I need other prompts.
sed -z -r 's|(\b[^ ]+\b)(\1)+|~Dupe!\1~|g'though all-in-one spell-checkers like vale.sh are more convenient.
> Bad: We offer a completely different formulation of CFA.
> Better: We offer a different formulation of CFA.
Getting rid of all adverbs (e.g. "vigorously stir the solution," "monotonically increasing function," "spontaneously combustible") hardly seems wise, whether technical writing or not.
I also disagree about the "beholder words"; to me "it was surprisingly low" means "I am drawing your attention to the fact that the low value surprised me" rather than "you need to be surprised by the low value".
my reasoning is that the former is more of a parenthetical, as much as to say "the results were low (and it surprised us)", rather than putting the "us" who were surprised front and centre and making the low results subordinate to that.
I agree with your interpretation, but here the issue is that "beholder words" don't give the reader the information necessary for them to make their own judgment. Readers are left thinking "ok, but how low is 'surprisingly low?'" Writers should tell the reader the exact number, saying "surprisingly" communicates nothing because it's relative.
If the function goes horizontal sometimes, then it is nondecreasing. If always, then it's constant (at least if continuous).
Much jargon works this narrowing way, to demarcate that the concept should not carry the everyday cluster of associations and meanings, but rather a domain-specific meaning.
Not at all. A function can be increasing over a given interval without that increase being monotonous.
The monotonically is important because it says that at every zoom level the function is increasing, while it being increasing just says it about the function shape in general.
Any function that decreases over any interval of its domain is not defined as an increasing function, rightly so.
A function that gets large with increasing independent variable can be called an asymptotically increasing function under the right conditions.
Style can be annoying but lack of context is deadly.
"To our surprise, false positives were low (3%)." is not much of an improvement. "To our surprise, false positives were low (3%) as we expected closer to 10%." IS an improvement.
However, that statement in a hard science is going to cause people to start asking some questions: Is 3% actually low? Why was the expectation so high to start? Did you screw up your error bars? Is it really 3%? etc.
"It is difficult to find untainted samples." Because is missing. In addition, this comment is rarely germane. I, the reader, don't really care. That's your problem. Either find the samples to get to statistical power or get a different method. As the reader, I only care if you did something weird in order to sidestep the problem--that I want to know about.
All of the recommended things still retain "weaseliness" while trying to sound like they don't.
Finally, I would love to have his problem of merely cleaning up some weasel words when most students I know (even at the PhD level) still have trouble stringing together coherent arguments and understanding where the holes and weaknesses are.
You last point definitely resonates though
All my physics professors, for example, were anal retentive about error bars--you had to put your error estimates in the notebook in ink before you took measurements. If something was "better than expected" you were about to have a painful journey figuring out why.