Spyke

Replies

Comment on

Microsoft officially recommends a new PC and OneDrive to update to Windows 11

I once ran the windows Troubleshooter to get an old scanner working, and the final page told me to but a new scanner!

I plugged it in to a mini PC I use as a backup server and the scanner worked fine with Linux.

And another recommendation issue: I noticed that my Windows laptop has a "reduce your carbon footprint" settings section that tells me to reduce power settings, screen brightness etc. but it's completely lacking a "stop giving me AI search results in Bing" section.

Comment on

Im flying to the USA from England

Don't try to bring food. I've seen people stopped for smuggling meat. You're probably okay with packaged sweets or chocolate, but you should declare it.

Don't be fooled into thinking you can get tea if you see it offered. It may be some strange flavour, or very weak, or iced, or all three. And it will be hard to explain that you want milk and sugar with it.

Biscuits are good enough, but chocolate is rough.

And, of course, a "biscuit" will mean a type of savory scone.

If your shop, at most stores they will pack shopping bags for you and are a little shocked and overly grateful if you do it yourself.

Be prepared to tip in many circumstances (but not, oddly enough, for having your groceries packed).

Be prepared to be asked about football, the Beatles, the Queen, maybe even the King.

Don't be offended is someone attempts to do a British accent at you, it's meant as a friendly greeting.

If driving:

Four-way stops are like roundabouts without the roundabout. But with stop signs.

Pedestrians are not expected to look out for traffic, but are not allowed to just cross anywhere. So it balances out.

Someone has stolen the clutch pedals from all the cars.

Comment on

Yes, I did spend time on this

You would have done well with this kind of thinking in the mid-80s when you needed to fit code and data into maybe 16k!

As long as you were happy to rewrite it in Z80 or 6502.

Another alternative is arithmetic encoding. For instance, if you only needed to store A-Z and space, you code those as 0-26, then multiply each char by 1, 27, 27^2, 26^3 etc, the add them.

To unpack them, divide by 27 repeatedly, the remainder each time is each character. It's simply covering numbers to base-27.

It wouldn't make much difference from using 5 bits per char for a short run, though, but could be efficient for longer strings, or if encoding a smaller set of characters.