Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
In the age of multithreading, parallel processing and non-blocking IO, why are you using Safari?
-
Voxera113887yI 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 ;) -
solquent2027y@Cyanide Unfortunately, it counts as a "browser" when it comes to cross-browser testing.
-
solquent2027y@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 .. ;) -
@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
-
@filthyranter This, plus with something like reactive extensions you could buffer the queue and batch multiple changes.
-
Voxera113886y@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. -
Voxera113886y@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.
Related Rants
In the age of multithreading, parallel processing, and non-blocking IO, you still get messages like this.
rant
safari