Skip to content

Conversation

@MFTabriz
Copy link

@MFTabriz MFTabriz commented Oct 22, 2025

... and avoid using contractions to improve readability.

Copy link
Contributor

@rousskov rousskov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing these. What tool did you use to detect them? Did you have to do any manual processing to correct that tool mistakes?

@MFTabriz
Copy link
Author

Thank you for fixing these. What tool did you use to detect them? Did you have to do any manual processing to correct that tool mistakes?

I usually use cspell, but it has many false positives, so you end up having to sift through them all.

@MFTabriz MFTabriz marked this pull request as draft October 22, 2025 14:10
@MFTabriz MFTabriz changed the title fix misspells fix misspells and minor cleanup Oct 22, 2025
@MFTabriz
Copy link
Author

@rousskov Although some of these suggestions were not misspells, I went ahead and applied them all [and updated the PR info]. Let me know if anything else needs a fix.

@MFTabriz MFTabriz marked this pull request as ready for review October 22, 2025 20:24
Copy link
Contributor

@rousskov rousskov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost done AFAICT, provided others are OK with removing contractions as tracked in a dedicated change request.

doesn't recycle those pages too quickly. Grr\!
- Still, even at 10,000 req/sec with an average logging line length of
160 characters thats 1.52 megabytes a second of data to copy; not
160 characters that's 1.52 megabytes a second of data to copy; not
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
160 characters that's 1.52 megabytes a second of data to copy; not
160 characters that is 1.52 megabytes a second of data to copy; not

Authentication

# What's the legal status of Squid?
# What is the legal status of Squid?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although some of these suggestions were not misspells, I went ahead and applied them all

I did not mean to ask you to remove existing correct contractions. My comment was only about PR changes that added or changed contractions. Sorry for not being clear.

FWIW, I am not against removing existing/correct contractions (as this PR now does), but I certainly do not insist on it, and others may not like that idea.


- Make sure you've got the debugging libraries and library symbols
installed - under Ubuntu thats 'libc6-dbg'.
installed - under Ubuntu that's 'libc6-dbg'.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
installed - under Ubuntu that's 'libc6-dbg'.
installed - under Ubuntu that is 'libc6-dbg'.


Then Squid opens a TCP connection to the destination host and port, and
the *real* request is sent encrypted over this connection. Thats the
the *real* request is sent encrypted over this connection. That's the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
the *real* request is sent encrypted over this connection. That's the
the *real* request is sent encrypted over this connection. That is the

# Another Client Side?

Or, "a new HTTP server side", as thats what it is.
Or, "a new HTTP server side", as that's what it is.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Or, "a new HTTP server side", as that's what it is.
Or, "a new HTTP server side", as that is what it is.

- HTTP authentication? Or could that be implemented between the HTTP
network server and the HTTP request queue?
- SSL. Thats a connection property.
- SSL. That's a connection property.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- SSL. That's a connection property.
- SSL. That is a connection property.

Copy link
Contributor

@yadij yadij left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given the touched lines a look over.

Please add "cacheable" to your dictionary. It is one of the weird exceptional words that does not follow the rule in English about dropping the 'e' suffix - something about how Americans pronouce 'a-ch-a' sounds differently from English.

Quite a lot of inconsistency in contraction handling, IMO it should be done. Progress is still progress though, so I am good as long as the touched lines are correct.

Two major issues to decide:

  1. when text is quoting a discussion. To expand contractions or not?

  2. when typo is in the page/file name. To rename the file or not?

  • i.e. KnowledgeBase/UnparseableHeader.md - should be UnparsableHeader

11. the client

## Uncacheable request
## Uncacheble request
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

original word was correct spelling.

Suggested change
## Uncacheble request
## Uncacheable request

## Tunnel request

## Cachable request
## Cacheble request
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original word was wrong, but so is the replacement.

Suggested change
## Cacheble request
## Cacheable request

used (and reloaded if/when needed). Data pages are also discarded if
unmodified, and paged out if there's been any changes. Allocated memory
(malloc) is always saved to disk since there's no executable file to
unmodified, and paged out if there has been any changes. Allocated memory
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

temporal plural. has/have

Suggested change
unmodified, and paged out if there has been any changes. Allocated memory
unmodified, and paged out if there have been any changes. Allocated memory

## FAQ about this report

### What's the difference between a hit, a negative hit and a miss?
### i the difference between a hit, a negative hit and a miss?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

manual typo?

Suggested change
### i the difference between a hit, a negative hit and a miss?
### What is the difference between a hit, a negative hit and a miss?

there can be benefit from enabling this in accelerator setups where the
web servers are the bottleneck but are reliable and return mostly
cacheable information.
cachable information.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

original was correct

Suggested change
cachable information.
cacheable information.

disk storage, otherwise processing will be done in RAM.
exclude_types
List of semicolon seprated MIME types which shouldn't be
List of semicolon separated MIME types which shouldn't be
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

contraction

Suggested change
List of semicolon separated MIME types which shouldn't be
List of semicolon separated MIME types which should not be

logdata("MISS",$url,$fname);
$fileptr=fopen($fname,"w");
//no validity check, simply don't write the file if we can't open it. prevents noticeable failure/
//no validity check, simply don't write the file if we cannot open it. prevents noticeable failure/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

contraction

Suggested change
//no validity check, simply don't write the file if we cannot open it. prevents noticeable failure/
//no validity check, simply do not write the file if we cannot open it. prevents noticeable failure/


Since the configuration options in the web interface have moved between
version 5.x and 6.x I won't describe the exact path. If you don't know
version 5.x and 6.x I will not describe the exact path. If you don't know
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

contraction

Suggested change
version 5.x and 6.x I will not describe the exact path. If you don't know
version 5.x and 6.x I will not describe the exact path. If you do not know

15:25 < lifeless> }
15:25 < lifeless> and likewise for the Detach static method
15:26 < lifeless> is this making sense ?
15:27 < nicholas> yes, but just let me reread a litt.e
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

Suggested change
15:27 < nicholas> yes, but just let me reread a litt.e
15:27 < nicholas> yes, but just let me reread a little


```irc
14:48 < nicholas> Hi. I'm working on bug 1160 (analyze HTML to prefetch embedded objects). I can't figure out why, but even though it
14:48 < nicholas> Hi. I'm working on bug 1160 (analyze HTML to prefetch embedded objects). I cannot figure out why, but even though it
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure we should be fixing contractions when quoting a discussion. In either case the change has been applied inconsistently to this file. Some 's and 't suffix have been expanded and many have not - across lines both touched by other change, and not.

@rousskov
Copy link
Contributor

Please add "cacheable" to your dictionary.

I have also asked to undo changes from "cachable" to "cacheable", but I am not sure that request had the desired effect.

Ideally, we should standardize on one spelling; "cachable" spelling is arguably prevalent in primary Squid sources (~124:52). We do not have to standardize in this PR though.

  1. when text is quoting a discussion. To expand contractions or not?

IMHO, we should apply all the automated style/grammar/etc. rules to those discussions because those discussions are illustrations and documentation rather than copies of transcripts that must be preserved in their original form. We can add a "chat transcripts edited for clarity" or a similar disclaimer somewhere if really needed. I bet that most of those discussions should be removed as no longer helpful, but that would be a manual change that deserves dedicated study (and PRs).

  1. when typo is in the page/file name. To rename the file or not?
  • i.e. KnowledgeBase/UnparseableHeader.md - should be UnparsableHeader

Rename -- if the problem can be fixed, it should be. If (and only if) we really want to keep some old links working (for a while), we can handle that on a case-by-base basis using HTTP redirection. I bet the number of cases where such redirects would be justified close to zero.

FWIW, changing section titles breaks existing links as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants