sync

Drawing once per frame in Cocoa

When I use GLUT, I can provide a callback function that gets called once per frame to generate or animate the frame content. How do I do the same thing with Cocoa? I understand there's setNeedsDisplay, but I don't know how to avoid calling it more than once per frame. What I need is an event or other callback that tells me when to draw...

Sync Services Ado.net SyncSchema

hi I'm trying to build a custom ServerSyncProvider right now I'm trying to understand the GetScema Method I'm trying to build a dataSet and associate it to SyncSchema class one of my table columns is a nvarchar(50) so im doing this: DataColumn column = new DataColumn(); column.ColumnName = "Name"; column.DataType = ...

File Replication across WAN link

Wondering if anyone can suggest a good file replication tool that will replicate across a WAN link. No fancy stuff, i.e. VPN, we're looking for just a straight up TCP/IP connection that will sync bi-directionally. We have looked at robo-copy, rsync (which we have in place currently but it's only one way) and a few others smaller tech...

C program - checking whether two enums are in sync at compile time.

The problem that I have is that I have two enums in two different files which should have the same sets of constants (two different processes are generated by the two files along with other files). I want the enums to be in sync i.e. when some one adds a new value to enum x and forgets to update the other enum, I want to throw a compilat...

How to do a fast and safe sync on perforce?

If you do a sync in perforce it can happen, very often, to do nothing even if it should. If you do a forced sync (sync -f) it will definitely sync all the files from the server blindly and this is unacceptable if you have a big project. The question is how can you do damn sync? ...

ArXiv replication brainstorming

The arXiv e-print archive has several terabytes of papers from various fields of science. Some users would like to maintain a full copy of this data on their own computers, while others just want to download the most recent papers in a particular category. They are looking to reduce bandwidth load using some kind of distributed downloa...

Wordpress post sync / publish to production

I'm using wordpress as a simple backend CMS for a flash site. Posts are queried and displayed in list format on the frontend. I want to be able to make post edits or add new posts on my staging server, and have a quick and easy way to publish changes to production without having to do a full mysql db dump / import. I've looked around ...

How to get any update from Mysql to sqllite in iphone

I have to download only updated data from my mysql database that I have created at server. i also have sqllite database for iphone . Now i want any changes in database would prompt the user for doing updation. Also an update button will be there for updating . how to identitfy the data is updated in the database . Also is there any...

Syncing a mobile (iPhone) app with web app

Hello, I'm building an iPhone app / web application, and I'm trying to think through the best way to have two-way sync of the databases. I'll probably go with sqlite on the iPhone and mysql on the web (as that's what I know) but am unsure of how to handle keeping them in sync. Here's a sample schema: index_id(autoincrement) | title | ...

Syncing Core Data model between Mac and iPhone

I am currently building my Core Data model, which I would like to sync between the Mac and iPhone versions of my application. I will be using Bonjour for device discovery, etc but I have a question regarding the data sync part of the problem. So far I have added a UID and modification timestamp to each object that will be involved in s...

How can I sync a filesystem structure to SQL?

I currently have a filesystem path I would like to index into a SQL database. I need to access the data so that I can do queries against files based on modified times, or partial names, or many other items. Is there a way to somehow sync a filesystem to a database automatically, or even access a filesystem in a sql-like interface, wi...

sync framework server to server synchronization

I have kind of a such scenario: Here i need to synchronize local server database with main DB server(example: computers in office are connected to office server and they use it like a local server, so that no sync is required.BUT computers in other office work with their local server too and we need synchronization between the offices...

iPhone. Transfering large dataset from desktop to device via syncing via iTunes.

I'm working on a project that lends itself nicely to a syncing usage scenerio. The idea is that users will "sync". their iPhone with their desktop PC or Mac running iTunes and ingest perhaps 1 gig of data onto the device. Then, once they are untethered they interact with this humungous data set pull from the solid state disk on the devic...

query about accessing the ringtone sync functionality of iphone

hello StackOverflowers, i came across this post where Reader Comment #16 mentions: "The ringtone syncing functionality is ALREADY inside the iPhone, it just needs to be accessed" I understand that you can transfer your music files,ringtones, videos all by syncing your iphone with iTunes. But what does the above mentioned statement i...

Working with a slow connection

Hi all, I'm working with Textmate and Transmit. I work locally and sync with the server every now and then. At the moment I'm doing this by myself, it's slow and takes some time. What are the best ways to sync between servers? Also, is it possible to archive the directory and unpack it at the server? This would be so much faster... ...

Pattern for synching object lists among computers (in C++)?

I've got an app that has about 10 types of objects. There will be potentially a few thousand object instances of each type. These lists of objects need to stay synchronized between apps running on different machines. If an object is added, changed or deleted, that needs to propagate to the other machines. This will be a star topology --...

Can you recommend a good SSH syncing utility?

Hey guys, Can you recommend a good SSH file sync utility for Windows? For example, I have some C++ sources that I need to compile remotely. I need this utility to be simple and most of all responsive, so I can compile my sources instantly after saving, without having to wait for the sync to be triggered. ...

What is the best way to sync data (binary and text) from a handheld device to server

For example, I have a blackberry or iphone, some applications on it generated some binary and text information, I want to sync those data back to my home web server with fixed IP. What is the best way? web service, can I use HTTP post or put to do it? Thanks. ...

Avoiding duplicate emails during first sync between IMAP account and new email client

Avoiding duplicate emails during first sync between IMAP account and new email client I have an IMAP account that I access through my email client at work, I plan to access this same account at home. The account has thousands of emails in it, and rather than downloading all of these during the first sync at home, I would like to export...

Windows Media Player Device Sync in VB.NET using WMPLIB

The MSDN documentation for WMPLIB states that syncing to device is not supported in .NET programming, only C++. Is there, however, a simple wrapper class or DLL that can be used to interface between a .NET program and the nescessary C++ code? Or is there a better way to sync files to a device using VB.NET? Are all devices suited/compat...