Pet peeve: The phrase is "one of the few," not "one of the only." If something is "only," it can't be "one of" something.
Pet peeve: The phrase is "one of the few," not "one of the only." If something is "only," it can't be "one of" something.
In the dishwasher example, "only" refers to "moving parts" which is a collective singular, like how "baseball team" is properly an "it," not a "they."
Same goes for the compsci example. By modifying the plural with adjectives, you narrow its scope.
Either way, the usage in the original comment was exactly the same as the dishwasher example: "the only moving parts are X, Y, and Z" => "X is one of the only moving parts".
It would be more correct to say "there are only 4 positive integers less than 10. 8 is one of them."
https://www.merriam-webster.com/dictionary/one%20of%20the%20...
It is perfectly acceptable to use only to refer to a select group.