161

In the age of multithreading, parallel processing, and non-blocking IO, you still get messages like this.

Comments
  • 8
    Lol Safari is an ass browser.
  • 42
    In the age of multithreading, parallel processing and non-blocking IO, why are you using Safari?
  • 11
    I agree with @cyanide but also, even with multithreading, changing something while synchronizing is a whole different can of worms and can require a very different application design from the start which can be very difficult to change as an afterthought.

    One way would be to use Event Sourcing.

    But that is not a small change ;)
  • 6
    @Cyanide Unfortunately, it counts as a "browser" when it comes to cross-browser testing.
  • 2
    @solquent Oh yes, my condolences.
  • 0
    @Voxera True! I don't think it's a multithreading issue per se, but rather Safari literally telling me "Wait a few minutes" while it completes a network transaction; otherwise, I can't place a link in my bookmarks bar.

    I remember eBay accepting offline bids like 10 years ago, that's all .. ;)
  • 3
    @Voxera You could also just put changes into a queue for syncing, JUST LIKE EVERY OTHER SENSIBLE BROWSER OUT THERE DOES FOR THEIR SYNC FUNTIONS
  • 2
    Solution is easy, use Firefox
  • 2
    @RyanWig I didn't want to be specific, Firefox developer edition
  • 1
    @filthyranter This, plus with something like reactive extensions you could buffer the queue and batch multiple changes.
  • 3
    @filthyranter That is sort of what event sourcing does.

    But it means that when you save it does not update the storage until sync is done during which time the presentation either will not show the nee bookmark or need to check the queue.

    If it updates the storage the code doing sync will have a much harder time.

    What happens if you delete an entry that for some reason was changed on the other end, thats a conflict it would have to either present or have rules to solve.

    Its easier to just not allow it.
  • 0
    @Voxera With conflicts, just prefer the one that's newer ¯\_( ツ)_/¯
  • 0
    @filthyranter and that requires a date for changes which at least for older bookmark storage did not exist.

    So then you have to change much more to get it to work.
  • 1
    @Voxera Default dates for non-existing date entries, done.
Add Comment