Note 8 - Other Non-current Assets - Schedule of Other Non-current Assets (Details) - USD ($) $ in Thousands  | 
Jul. 31, 2023  | 
Oct. 31, 2022  | 
|---|---|---|
| Expected recoveries related to self-insured commercial liabilities | $ 12,835 | $ 1,400 | 
| Other non-current assets | 460 | 626 | 
| Total other non-current assets | $ 13,295 | $ 2,026 | 
| X | ||||||||||
- Definition Carrying amount as of the balance sheet date of amounts expected to be recovered under the terms of insurance contracts classified as noncurrent. No definition available. 
  | 
| X | ||||||||||
- Definition Amount of other miscellaneous assets expected to be realized or consumed after one year or normal operating cycle, if longer. No definition available. 
  | 
| X | ||||||||||
- Definition Amount of noncurrent assets classified as other. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  |