4 ms·
> I always find it strange when OS updates affect apps in this way. It just shouldn't happen. Right? Are there not automated tests for this stuff? I would expe
by yjftsjthsd-h 7y ago
> I always find it strange when OS updates affect apps in this way. It just shouldn't happen.
Right? Are there not automated tests for this stuff? I would expect that if you commit something that causes this, the next day you get an email that says, "your name is on commit $FOO, which caused regression tests to fail in tests/firstparty/apps/mail; please fix it (sincerely, Jenkins)" or so. Heck, it's more egregious here because it's a first party application, but it seems like it would be in their interest to keep copies of the most popular third-party applications and include those in their test suites as well. ("Hi, Adobe? Hey, it's Apple. Hey, so this is a heads up that Photoshop doesn't work with the new OS version; we're sending you a RCA so you can fix it before it hits end users.")
- userbinator 7y agoI wouldn't place much emphasis on testing, and Apple most likely has tests, because the exact conditions that trigger such bugs are often so narrow that an artificial testing environment for them to "make the stars line up" would be nearly impossible to create. Anything involving multithreading/asynchronous code tends to fall in that category, but even single-threaded code can be like that; to make an artificial relevant example, it could be something like "if two consecutively received emails are exactly 8192 bytes long[1], and the first one is the 256th message in the folder when sorted by the sender's email, then the second one will be missing." That's a condition which you're highly unlikely to hit, even more so if you're generating test data randomly (as some tools like to do, and fuzzing is one prominent example). Even if you specifically test power-of-2 sizes, the two-in-a-row subcondition would make that improbable. If you let everyone in Apple "dogfood" the software, they might not hit. Yet everyone who has subscribed to a set of mailing lists that happened to issue such an exact sequence of messages would see the bug. That's also why I think other automated tools and "code quality" metrics don't help so much; tests are more of a sanity/last-chance check and shouldn't be relied upon to catch everything. Correctness should be assured through design and code reviews, and for that nothing beats the power of intense mental deliberation. To paraphrase a popular saying, "there is no replacement for intelligence." [1] https://news.ycombinator.com/item?id=8797640 https://news.ycombinator.com/item?id=8797640
- fauigerzigerk 7y agoYou are absolutely right, but all of this is known to Apple. What they need to do when it's potentially about permanent loss of user data is to prove that a postcondition is met (i.e. all messages were successfully converted) and roll back if it isn't. Instead they apparently sync the faulty data with the IMAP server and destroy what most users consider their email backup. This is breathtaking incompetence and negligence if it's actually true. The worst thing is that it is near impossible to find out whether or not you're affected by this. I'm so fed up with Apple and its second rate software. I have lost music playlists in this ill fated Catalina "upgrade" as well. I've been wanting to move on to a more flexible and less oppressive environment for a while. At least this finally breaks my inertia.
- coldtea 7y ago>I'm so fed up with Apple and its second rate software. I have lost music playlists in this ill fated Catalina "upgrade" as well. I've been wanting to move on to a more flexible and less oppressive environment for a while. At least this finally breaks my inertia. Try Linux or Windows! Their first rate apps will keep your email safe and secure! https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/37227 https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/372... https://forums.linuxmint.com/viewtopic.php?t=88648 https://forums.linuxmint.com/viewtopic.php?t=88648 https://blog.lightlyseared.online/2010/04/06/fixing-corrupt-mail-folders-in-evolution/ https://blog.lightlyseared.online/2010/04/06/fixing-corrupt-... https://windowsreport.com/outlook-emails-disappeared/ https://windowsreport.com/outlook-emails-disappeared/ https://thenextweb.com/microsoft/2013/06/20/outlook-coms-missing-email-bug-resurfaces-as-users-report-deleted-inboxes-gaps-and-other-issues/ https://thenextweb.com/microsoft/2013/06/20/outlook-coms-mis... https://www.pcworld.com/article/237103/five_outlook_nightmares_and_how_to_fix_them_.html https://www.pcworld.com/article/237103/five_outlook_nightmar...
- fauigerzigerk 7y agoYou're missing the point. If I'm getting shoddy QA anyway, why keep paying Apple's excessive prices and accept their oppressive content restrictions?
- coldtea 7y ago>Right? Are there not automated tests for this stuff? I would expect that if you commit something that causes this, the next day you get an email that says, "your name is on commit $FOO, which caused regression tests to fail in tests/firstparty/apps/mail; please fix it (sincerely, Jenkins)" or so. Do you really believe they aren't running automated tests at Apple? It's more likely than not, that this was not caught by one of the tests...