Skip to main content

Questions tagged [sync]

Data synchronization is the process of establishing consistency among data from a source to a target data storage and vice versa and the continuous harmonization of the data over time.

Filter by
Sorted by
Tagged with
7 votes
1 answer
1k views

Folder Syncer in Python

I have made a script that syncs one folder to another. So if, for example, you saved some changes in a file in directory A, then that file would have the same ...
Unsigned_Arduino's user avatar
3 votes
1 answer
194 views

Query to determine insert / update operations to synchronize data

I've been developing a system where the mobile syncs data from the server.The phone can run offline but when connected to the internet it needs take care of inserted or updated data. Here is the ...
DaAmidza's user avatar
  • 249
5 votes
1 answer
772 views

Exercise – Synchronization between threads using `pthread_mutex_t` and `pthread_cond_t`

I have got an assignment for an OS course that consists in the use of mutex and condition variables to synchronize N threads, each involved in the search of a character in a row of a NxN matrix. The ...
doplumi's user avatar
  • 263
7 votes
2 answers
199 views

File read/write methods

I'm using some simple files for caching and some basic user data. I was first just using file_put_contents() and ...
Svish's user avatar
  • 298
6 votes
2 answers
485 views

Synchronization with remote web service

I am writing a method to synchronize the local Core Data entities with a remote web service (in this case, Parse.com). To update changed or created objects, I fetch all where the ...
Sebastian Wramba's user avatar
2 votes
1 answer
283 views

Importing markdown files

I'm building a rails app that, among other things, imports text markdown files as blog posts. The idea is that the truth is in the markdown files, so any time those are edited, created, or deleted, ...
Matt Martin's user avatar
4 votes
0 answers
3k views

Python files sync

I'm trying to do a one-way directory sync. Given a list of existing files in a dir, I'd like to make the files in the dir equal a new list of files. There will be subdirs under the dir. Because ...
foosion's user avatar
  • 163
3 votes
1 answer
1k views

Realtime collaborative editor: a CodeMirror extension for MobWrite

I wrote up the following script for the realtime synchronization service, MobWrite, to be used with the browser-based editor, CodeMirror: ...
S P's user avatar
  • 205