Friday, September 16, 2016
1. Have you ever wondered why files from
Microsoft products are often not-quite-compatible with third-party
applications? Wonder no
You see, Excel 97-2003 files are OLE compound documents, which are, essentially, file systems inside a single file. These are sufficiently complicated that you have to read another 9 page spec to figure that out. And these "specs" look more like C data structures than what we traditionally think of as a spec. It's a whole hierarchical file system.The author notes the original design considerations, as well, such as having to open quickly on old computers. And, much later:
They have to reflect the history of the applications. A lot of the complexities in these file formats reflect features that are old, complicated, unloved, and rarely used. They're still in the file format for backwards compatibility, and because it doesn't cost anything for Microsoft to leave the code around. But if you really want to do a thorough and complete job of parsing and writing these file formats, you have to redo all that work that some intern did at Microsoft 15 years ago. The bottom line is that there are thousands of developer years of work that went into the current versions of Word and Excel, and if you really want to clone those applications completely, you're going to have to do thousands of years of work. A file format is just a concise summary of all the features an application supports. [bold changed to italics]I usually avoid Microsoft products unless I am being paid to use them, in part because of compatibility-related issues. But having read this, I will find them a little less annoying next time. At least there is a non-nefarious, non-incompetent reason. (That helps me, anyway.)
2. It has been an amusing week to listen to feminists: One has accidentally admitted that the gender pay gap is a crock; and another unintentionally put into words what "has been obvious to even the casual observer" about "the style of a great deal of modern feminism."
3. I never eat them, but I was still glad to hear that automation saved Twinkies:
Where Twinkie once employed 22,000 workers in more than 40 bakeries, their workforce is now down to just 1,170, reports the Washington Post, relying mostly on robotic arms and other forms of automation. "This 500-person plant produces more than 1 million Twinkies a day, 400 million a year. That's 80% of Hostess' total output -- output that under the old regime required 14 plants and 9,000 employees."For more details, see the linked article at Slashdot.
"We like to think of ourselves as a billion-dollar startup," Hostess chief executive Bill Toler said Tuesday, announcing that Hostess Brands, which had twice filed for bankruptcy, now plans to become a publicly-listed company valued at $2.3 billion. [format edits, links dropped]
4. The breathless headline reads, "Snorting a Brain Chemical Could Replace Sleep," to which my immediate reaction was, "Sure it will. I'll let the 'biohackers' and early adopters sort that one out." The article does, nevertheless, discuss some interesting sleep research that may ultimately help narcoleptics or provide an alternative to stimulants.