Random NihAV news and rants 0 ▲ Kostya's Boring Codec World 33 minutes ago · Tech · hide There’s not much going on with NihAV but it’s still something to write about, especially if you consider induced rants. First, I’ve made a small clean-up and made some code improvements while testing what cargo clippy of version 1.100 complains about. All lints can be largely divided into four major categories: rather useful (useless imports or type conversions, using existing function instead of more complex expression e.g. .clamp(a, b) instead of .max(a).min(b) and so on), probably useful but using functions not present in the older rustc versions (e.g. .as_chunks() for constant chunk sizes), rather useless (IMO .is_multiple_of() and .div_ceil() belong to this category), and outright idiotic (or at least counterproductive). First example would be a proposal to use .checked_div() in code that looks like “if divisor is not zero, calculate some complex expressions involving division and do some other work, otherwise set some other variables and maybe report an error”—here you cannot… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town