OS_GBPB9 in practice
|
I semi-regularly see people using a verbose description as a filename. photo-of-john-smith-standing-next-to-the-avon-river-on-23-april-2006-holding-a-microphone-while-giving-a-presentation-to-lincoln-high-school-students-on-the-importance-of-cleaning-and-drying-the-bottoms-of-boats-to-prevent-the-spread-of-didymo-in-our-waterways-7b.jpg |
|
Is that by intention, or did somebody get their if clause logic back to front by accident? That being said, it’s an easy trap to call into – Netsurf is quite happy to wrap around to a new line on the apostrophe between the “can” and the “t”… |
|
A problem addressed by my Pic_Index program ( link ) where a description can be attached to an image in a form easily searchable by keyword! Just sayin’. |
|
Logic? This MS we’re talking about.
|
|
The problem is that it is often required to set a buffer size, it is only less of a problem as there is plenty of memory available nowadays, tough luck for older machines that would otherwise benefit. |
|
This is not unreasonable, though in lots of places the limits work the other way – Module names for example are a maximum of 39 bytes long, which as I’ve often remarked is only just enough for this one ‘character’: One of the things I was very pleased with in the Twemoji project was a way of turning these huge Unicode sequences into valid sprite names… and back again. So the Unicode sequence here, and therefore its full textual name, is encoded in the twelve bytes of the sprite name: Anyway yes, UTF-8 means Make No Assumptions. Though having said that, MetaSprite means one can easily embed any amount of data inside a sprite, so that was a brief victory. |
|
Just looked at the Unicode 15 emoji list, and its characters to bytes ratio is 3.1428. So perhaps PI is a good multiplier! |