What I want to do with my app is accessing client's outlook, getting some data, using them to get more data from the database, and then make a file ready for blackberry to sync. All of these are better done on the server, so at the clients' end, there is only one file with everything ready, so they can easily sync it. I have searched a l...
I am using ADO.NET Sync Framework and on the client side (PDA running Windows Mobile 5 and .net cf 3.5 and SQL CE 3.5). Server side is using SQL Server 2005.
On server side manual queries have been written to determine which records are selected for insert/update/delete for each client as well as any conflicting records.
On PDA though...
We have a method which, due to threading in the client application requires the usage of SynchronizationContext.
There is a bit of code which one of my colleagues has written which doesnt "feel" right to me, and a performance profiler is telling me that quit a lot of processing is being used in this bit of code.
void transportHelper_Su...
If I change a field in a Django model, how can I synchronize it with the database tables? Do I need to do it manually on the database or is there a tool that does helps with the process?
...
What's the best way to wait (without spinning) until something is available in either one of two (multiprocessing) Queues, where both reside on the same system?
...
I have several process writing to the same log file. How can I synchronize them? My application is a web application written in c#.
...
Hi guys,
I'd like some advice on how I should synchronize a list of email addresses on 11k users against an external mailing list program, in this case http://www.mailchimp.com/api/1.2/listbatchsubscribe.func.php" title="Mailchimp API"">Mailchimp.
Normally the way I'd so this is simply to have an :after_save callback, to send a single ...
Hello, I am developing a simple web app that uses the Google translation API in order to translate a text into different languages and then back to the first one.
The problem is that when I call google.language.translate(...) a callback function is specified which updates a textarea in my page. Here:
while (i < translationNumber) {
g...
I am trying to use Oracle SOA BPEL to synch data of about 1000 employees between an HR service and our local db. I get IDs of all employees with a findEmp call and loop through it empCount times to getEmp(empID) from the same HR service and update/insert into our db in every loop. This times out after about 60 odd employees, though thi...
What is the difference between a synchronized method and synchronized block in Java ?
I have been searching the answer on the Net, people seem to be so unsure about this one :-(
My take would be there is no difference between the two, except that the synch block might be more localized in scope and hence the lock will be of lesser tim...
let info = new SortedDictionary<string, string>
...
Thread A
--------
info.Add("abc", "def")
Thread B
--------
info
|> Seq.iteri (fun i value -> ...
Where do I place the readLock when I use the iteri function?
...
How do I synchronise a database on one server to the other? I need to do it via C#, not scripts. I was planning to use ADO.NET to retrieve the schema and dataset from one database, but how do I sync it in code?
Thanks
...
The book Operating System Principles by Silberschatz, Galvin and Gagne contains the following definition for the TestAndSet() instruction in the chapter on synchronization:
boolean TestAndSet(boolean *target) {
boolean rv = *target;
*target = TRUE;
return rv;
}
An implementation of mutual-exclusion using the above instruct...
What is the difference between a Monitor and a Mutex in C#?
When to use a Monitor and when to use a Mutex in C#?
...
Note that I can conduct the research inside the boost source code, and may do this to answer my own curiosity if there isn't anyone out there with an answer.
I do ask however because maybe someone has already done this comparison and can answer authoritatively?
It would seem that creating a shared memory mapped file between processes, ...
I'm making a small peer-to-peer app that holds a common collection of objects. This isnt a question about the socket comms to transfer the objects as I have that sorted.
To start with I dont have to worry about conflicts as the clients can only add to the object collection. But I'm struggling to work out in my head how the clents negoti...
After having many disasters with trying to getting merge replication to get work with occasionally connected mobile devices and PDAs using SQL CE we've decided to give the Synchronization framework a go.
We have a scheduling application which has a master SQL 2005 DB which updates SQL CE DBs on multiple mobile devices. The master sched...
Hi,
My scenario: one server and (some clients (though not many). The server can only respond to one client at a time, so they must be queued up. I'm using a mutex (boost::interprocess::interprocess_mutex) to do this, wrapped in a boost::interprocess::scoped_lock.
The thing is, if one client dies unexpectedly (i.e. no destructor runs) ...
We can start syncing events between Google Calendar and Microsoft
Outlook,but what about syncing multiple Google calendars and searching
for possible common meeting dates and timings for geographically
distributed individuals ( and then possibly importing the searched
schedules and events into Microsoft Outlook and maintain an accurate
...
How can I achieve a synchronization structure like that:
Lock.BeginRead
try
if Changed then
begin
Lock.BeginWrite;
try
Update;
finally
Lock.EndWrite;
end;
// ... do some other stuff ...
end;
finally
Lock.EndRead;
end;
without loosing the read lock after the EndWrite, so that no other writers...