After about the first night or so it’s amazing how you get used to sleeping on a boat. The rocking motion and creaking sounds of the lines just become the comforting background rather than the thing that keeps waking you up.
Reminds me of a holiday where the B&B was right above the platforms of Lancaster station. The noise of trains quickly became the background. So much so that when there was engineering works in the last night it was eerily quiet and hard to sleep.


Bruce Cloutier
in reply to Simon Tatham • • •Nice. Just rode through the eclipse out here.
I recently added the 'did you mean' thing to JANOS just minimizing the Levenshtein distance from built-in commands. But Ubuntu goes too far I think in finding suggestions. LOL
Actually added a strlev() function to my not-so-standard C library. I exposed that in our PHP-like scripting. Maybe it'll find a use there. Maybe should slip it in some Java class so applications might use it? Well, it is a simple calculation.
Simon Tatham
in reply to Bruce Cloutier • • •@bscloutier on the other hand, sometimes command-not-found doesn't go far _enough_. It doesn't know shell builtins – so if I typo the 'cd' command, it'll offer me ~10 possibilities I didn't want from packages I've never heard of, and *not* the thing I almost certainly meant!
Or if the misspelling _exists_, it won't offer you options at all. Leave one s off the end of 'less', and it'll tell you that 'les' can be found by installing atm-tools, but not that you 99% surely meant 'less' instead!
Bruce Cloutier
in reply to Simon Tatham • • •I would check out the Ubuntu code out of curiosity but it is probably messy and poorly commented. I shouldn't make that assumption but open source hasn't impressed me yet.
In an OS though this might be the only use of a little AI. Don't know. I debated filling the command line after the error with the corrected command to be optionally then executed.
Our customers are not experienced at this level so this is an attempt to help them learn. Not so much for dealing with typos.
WOMUMP
in reply to Simon Tatham • • •Adam
in reply to WOMUMP • • •Simon Tatham
Unknown parent • • •sunflowerinrain
in reply to Simon Tatham • • •