453 points · by sohkamyung · 2y ago · 191 comments
Switch to Libreoffice file format then convert to doc/docx then send back that doc/docx file.
[0] it's sneaky, basically Libreoffice will show you your edits and let you manipulate and modify the document as wish but what it saves into the file is corrupted and you will only notice it next time you open that file. Sometimes it's a mismatched tag in the internal xml representation (can be fixed), sometimes huge chunk of the doc will be missing (can't be fixed).
Import docx if necessary, but work on the OASIS OpenDocument format.
>Switch to Libreoffice file format then convert to doc/docx then send back that doc/docx file.
If you need to send work to a msoffice user, just send OpenDocument. Office can open them. Should there issues, it's more likely to be their bug, not libreoffice's.
MS Office users need to get used to working with the standard document format, which is what OpenDocument is.
In the real world, we can't all afford to be this idealistic. When I need to send someone a document for work purposes and they can't open my .odt file in MS Word (something that frequently happens to me), I'm not going to say "You need to get used to working with the standard document format. It isn't my problem that you can't open it - it's more likely to be your bug, not Libreoffce's". I'm going to send them a .docx so that we can both get on with our work.
This is not how the world, in which most of Fortune 500 operate in, works. The software and format people use, is the one usually mandated by their working environment. If your org operates in Office, you operate in Office. The question 99.9% of all users are concerned with is ”I want to review/edit this document I got from Sarah/need to send to Jane”. Not ”does this conform to standard xyz”.
Standars are just paper that software may support. The real question is phenomenological - is there a support, at what level, and is the software vendor incentivized to implement support.
There is no ”this format must be followed” convention in userspace software (sadly) unlike in say, hardware drivers for a desktop os. Even if the standard would have an ISO label.
Maybe, but it's probably more reliable for them to just grab LibreOffice to open it.
It's much easier to get LibreOffice than MS Office.
Markdown in git, reviewed as a pull request on GitHub, is the best way to do an RFC. I will die on this hill.
Alternatively, I wonder if an old school message board would work. Each RFC gets its own (sub)board, and within that board each thread is a discussion about some topic -- an individual review, debate about a section, etc. I wonder if such a thing already exists, _specifically_ for technical specification review.
I'm so sorry. Any rueful ideas on how another company might avoid that pitfall?
It's called Redmine.
So the overhead of semantic markup of the whole content (instead of just marking words as bold) might be worth it.
XML is a good start to describing structured text.
- create DOCX with change tracking in Word
- edit that in LibreOffice and save multiple times
- open it in Word modify something and save
- Word cannot load that file. Loading and saving in LibreOffice fixes that.
All cases I have seen involved change tracking, which is probably not that surprising as the internal representation of change tracking in DOCX is totally brain damaged (even more than the rest of that "dump RTF and random crap as XML" format).
To be fair, Word will won't eat it, but it will eventually shred it quite well to the point where there is no practical difference.
The Word's format is just something to avoid.
Vendor A's development team spends all their time developing, testing, bug-squashing, updating, etc. Format A, and developing, etc. their application, and developing the two to work together. They also have all the bug data, data from users, etc.
Vendor B can't possibly keep up. They have their own application and format to develop. They lack the institutional knowledge, the data, etc. There's no way their application will correctly handle complex data in Format A nearly as reliably as Vendor A (which will have bugs itself).
And in this case, Microsoft's Office team probably has far greater resources overall than LibreOffice.
I don't know if I would call LibreOffice sneaky here, they're the good guys IMO enabling you to break the clutches of MS Office
Feel free to craft problematic docx that trigger conversion errors and report them as bug for the converter.
It'd be nice to have some documentation of the internals of old DOC and XLS formats, just for the sake of recovering old files for archival purposes, but it's likely that Microsoft never bothered documenting them, even internally.
Hence why they had to completely overhaul it with DOCX/XLSX when we had the open standards requirements come in. There was no possible way for Microsoft to document it. Although it doesn't help that DOCX/XLSX have tags for "Internal binary dump of Word/Excel" so they also fall into the same trap.
https://www.joelonsoftware.com/2008/02/19/why-are-the-micros...
Per Spolsky, they're an absolute shower. But they are, technically, documented!
All file formats are, in the end, just memory structures written in binary.
https://techcommunity.microsoft.com/t5/ask-the-performance-t...
Wine is however able to run 16 bit executables on 64 bit hosts using their version of NTVDM.
[1] http://bytepointer.com/resources/old_new_thing/20060525_178_...
Might be worth checking out for you. Though I see only one Nancy Drew game there.
The main reason was so they could our timecard software. We could have just gave them a $2 RFID card like the production employees, but then they would have to walk down to the time clock and "punch in".
I think they also ended up using it for the Windows version of Outlook because there was some feature they wanted to use that the Mac version did not have.
The amazing stuff was that that vm ran circles around my previous windows laptop, which at that point was three years old. Just way faster than that ever was. Virtual machines and emulators are a good solution for legacy applications. Much easier than pretending ancient APIs are still supported. MS could have saved themselves a lot of grief by just embracing that decades ago and breaking compatibility with each new windows version. Just run the old crap in some vm or emulator. Apple has done that a few times when they switched CPU architectures and when they introduced OS X. They of course removed legacy support as well. But the point is valid: emulation works great.
And it works well enough with Linux support in windows these days; so why not apply that for legacy stuff as well. There's no reason why you wouldn't be able to run everything from the DOS era forty years ago up until now on a modern laptop. And there's no reason to burden modern APIs with all that crap.
[1] https://news.ycombinator.com/item?id=28731534
So, as a customer you got a free properly sized monitor with your software purchase. True story.
And what's even funnier? I installed Wine in Ubuntu running in WSL on a Windows 11 machine, and the game runs in that environment! Never thought I would run an old game in such a convoluted way.
You don't need WSL.
https://fdossena.com/?p=wined3d/index.frag
Compiled wined3d dlls that work on windows.
https://github.com/doitsujin/dxvk
Works on windows.
Just drop them in the game folder and the game should load them instead of the real directx.
There's also other implementations of old APIs to keep old video games running, some of them are even used by linux users who use wine, like dgVoodoo :
http://dege.freeweb.hu/dgVoodoo2/ (supports Glide, a proprietary API from the 3dfx era cards, along with dx 1-7, 8.1 and 9)
https://github.com/FunkyFr3sh/cnc-ddraw (fixes all issues you can have with DirectDraw, an old 2d API, can have its use for both windows users and people who use wine on linux)
https://github.com/otya128/winevdm run 16 bit apps on 64 windows
This, along with Windows's own compatibility mode tweaks, should run almost any game that has ever been released on Windows, without having the heavy overheard of a VM (as far as I know, WSL doesn't even know how to free memory it has claimed).
Not that anyone should expect different, but Apple has not preserved backwards compatibility with their iWork formats and I have several legacy documents that I need to find old versions to open.
https://wiki.documentfoundation.org/ReleaseNotes/4.0#Feature...
I really love the preview, where you can choose what delimiters and character encoding you want to work with, which row to start from and so on. It's so very user friendly and nice to use.
I can't think of any other program that removed the ability to open older versions of its own files. Kinda crazy.
I have no source to back me up. This is something I read about sometime back and it's probably lost in some deeply nested bookmark folder I'll never open.
I converted, 100gb of xls/doc files to upload to SharePoint and netted something like 5x space savings just by resaving in an open format.
I am not surprised at all that Libre is better at opening old files, there are files that Microsoft wont let you open without going back into security settings and allowing them, we were converting a library that goes back nearly 30 years, lots of stuff dated 20+ years ago, why would you carry compat for this trash today?
Countries were refusing to use MS office because it didn't support open document standards. MS basically showed up to the spec committee with a bunch of MS Word documentation and said it was a new spec. It was flatly rejected, but then at the last second, a whole bunch of the committee changed their minds for no logical reason (I suspect they were simply paid off) and the "standard" was adopted.
Of course, it's impossible to write something compliant with their garbage and Office didn't comply with the "spec" in the slightest.
At the same time, MS refused to keep up with ODF standards in a massive case of malicious compliance.
In the end, it worked out for MS. They faked being open just enough for European governments to continue giving them huge piles of money for systems that are as locked down and proprietary as ever and consumers (like always) were the big losers.
Microsoft moved away from the core tenet of backwards compatibility at all costs more than a decade ago seemingly across the entire company all at once.
This is because old Japanese Word files are saved in Shift JIS, but LibreOffice opens them in UTF-8.
WINE does fine for the top 10k or so most common apps. But whenever I've tried something in the long tail, I've been disappointed by cryptic error messages that don't turn up any useful answers in a search.
Meanwhile, Windows's compatibility mode settings for Win XP have worked fine every time I've tried.
The problem with Windows isn't a lack of backwards compatibility, the problem is that Windows 11 is Windows XP with lots of cruft added on top over the decades.
It is not only cruft but also:
1 - Security. Lots of stuff that doesn't work it is because of features that couldn't be made secure and had to be removed from windows.
2 - Developers that used undocumented behavior that ended up being removed in modern windows versions, a lot of times because of the first item. Being undocumented behavior, it is a lot more probable that WINE doesn't implement it. And sometimes this was not a fault of the developer, but from a particular development environment and framework he used.
(My MS kernel developer friends might disagree with this assessment, though)
[1]: Of course .psd isn't an exchangeable format. It's proprietary. But just like your friend's case, CSP can kinda read/write .psd, while Photoshop can't read .clip at all.
Generally speaking I think game dev industry relies on closed-source stuff much more than web dev. It's not that surprising tho; after all the most targeted platforms (Windows, iOS, consoles), except Android, are all closed OS.
Another one is salary (again compared to web dev). But I heard web devs had a hard time lately too.
If I open the CSV directly it doesn't and unless the files follows your system settings for separator and date a d similar it opens it wrong.
We have a full circle. "The job ain't done until Word won't run".
Regrettably, my personal devices are all Linux or Android only at this point, so, I lack a proper copy of Word to fix it for him.
Don't even get me started on Adobe Creative Cloud.
"It took a lot of work, but LibreOffice 7.6.4 can now open a wide range of word processor documents from pre-1994 on both Windows and Mac machines."
"Can it edit .docx files without screwing up formatting yet?"
"No, but who uses THAT?"
(shamelessly adapted from https://xkcd.com/619/)They manage to trash the formattimg for plain text resumes too.
I tried compiling it for Mac recently and there is code that was deprecated in 2016 with the release of macOS Sierra.
The reality is, both MS Office and LibreOffice are legacy messes. In the 90s MS aggressively broke compatibility to get users to upgrade, which is why LO can read it. Now MS is excellent at compatibility, because the focus is subscription software your employer pays for.
[Edit] I guess someone doesn't get the joke about how bad Words grammar checker is. It used to flag so much stuff as "fragmented" and didn't suggest improvements.