digitalmars.D - [OT] this is why you shouldn't serialize everything
- Kagamin (2/2) Sep 11 2017 https://cwiki.apache.org/confluence/display/WW/S2-052
- Shachar Shemesh (11/13) Sep 13 2017 I've heard it somewhere that the original .doc file format was simply a
- Meta (4/8) Sep 14 2017 I never knew that, and I sincerely hope that none of my
- jmh530 (2/10) Sep 14 2017 That's a feature though isn't it. Track changes.
- Shachar Shemesh (5/15) Sep 15 2017 It was fixed at some point, so by the time you wrote obscenities about
https://cwiki.apache.org/confluence/display/WW/S2-052 .net can, but WCF requires explicit vetting of types for protocol.
Sep 11 2017
On 11/09/17 12:56, Kagamin wrote:https://cwiki.apache.org/confluence/display/WW/S2-052 .net can, but WCF requires explicit vetting of types for protocol.I've heard it somewhere that the original .doc file format was simply a serialization of the internal Word data structure. They got a save/load for practically free. Then they bring out a new version, and guess what? You cannot change anything, because you can no longer read the old files. Then it turns out that when you serialize "everything", you also serialize the undo buffer. So you can read things that someone wrote and then erased in the document. Yeah. Serialization is fine, but should be used judicially. Shachar
Sep 13 2017
On Wednesday, 13 September 2017 at 07:08:42 UTC, Shachar Shemesh wrote:On 11/09/17 12:56, Kagamin wrote: Then it turns out that when you serialize "everything", you also serialize the undo buffer. So you can read things that someone wrote and then erased in the document.I never knew that, and I sincerely hope that none of my university professors did either.
Sep 14 2017
On Thursday, 14 September 2017 at 19:26:44 UTC, Meta wrote:On Wednesday, 13 September 2017 at 07:08:42 UTC, Shachar Shemesh wrote:That's a feature though isn't it. Track changes.On 11/09/17 12:56, Kagamin wrote: Then it turns out that when you serialize "everything", you also serialize the undo buffer. So you can read things that someone wrote and then erased in the document.I never knew that, and I sincerely hope that none of my university professors did either.
Sep 14 2017
On 14/09/17 22:26, Meta wrote:On Wednesday, 13 September 2017 at 07:08:42 UTC, Shachar Shemesh wrote:It was fixed at some point, so by the time you wrote obscenities about your U. profs, they may actually have not ended up in the file. Also, it goes without saying that the docx format is not like that. ShacharOn 11/09/17 12:56, Kagamin wrote: Then it turns out that when you serialize "everything", you also serialize the undo buffer. So you can read things that someone wrote and then erased in the document.I never knew that, and I sincerely hope that none of my university professors did either.
Sep 15 2017