Is it possible, and if so how can I effectively sync a local database with a global one such that when an action is taken on the local version it is also made on the global database. Simply using version control to subvert the global is unacceptable because there could be several local copies of the database according to the number of p...
Here I construct an array:
var optionTexts = [];
$('#stripeMeSubSubCat tr').each(function(){
if ($(this).find('input:checkbox.subsubcat_chkclass:not(:checked)').length == 0)
{
subsubrow_cat_id_no = parseInt($(this).closest("tr").attr("id"));
optionTexts.push(parseInt...
Hello
I am java developer and need to make thread synch in iPhone. I have a thread, it calls other one and need to wait for that child thread to end.
In java I use monitor, by calling wait/notify
How can I program this in iphone?
thanks
...
I have been assign to do research and implement Urchin in a cdn project.
We need urchin to show statistic of each node being hit. We already have a number of users. So I have to find how to sync user profile (including authentication - to make sure user don't have to keep so many password or even better don't have to login to urchin aft...
There is a frame which content is loaded by a javascript.
<iframe ... onload="pageLoaded();">
A QTP test needs to wait until it finishes loading. The frame content can differ basing on user settings, so checking for existense of an element in the frame is not an option.
Is there a way to wait in QTP until all content is loaded withou...
I have two scroll-views on the same base-view. i want to synchronize their zooming. When anyone of them is zoomed in/out, remaining one will also zoom in/out with same zoom scale.
...
Joshua Bloch's "Effective Java", Item 51 is not about depending on the thread scheduler as well as not keeping threads unnecessarily in the runnable state. Quoted text:
The main technique for keeping the number of runnable threads down is to have each thread
do a small amount of work and then wait for some condition using Object.w...
We have a development box which is inside our network and a web server farm outside.
What's the best way to keep the development database synchronized with the Live Server's [changing] Database and yet still keep it secure?
Are there 3rd party tools that would facilitate this?
Are SQL Server's built-in synchronization features good e...
I have a C# application wherein there are two multiline textboxes side-by-side, each in one side of a split-container. I would like to synchronize their vertical scroll, so that when the user scrolls up or down one of the textboxes, the other textbox scrolls respectively in the same direction. Is there a way to do this? Thanks.
ADDIT...
Hi,
I'm in the middle of brainstorming a cloud sync solution for a Core Data app that I am currently developing. I'm planning to open source the code for this once its done, for anyone to use with their Core Data apps, so input from the community on how this system should work is much appreciated :-) Here's what I'm thinking:
Server S...
I have been using Microsoft sync framework and compact framework to sync windows mobile database with sql server 2008 database and I am using bi-directional sync for some tables. what i want to do is if a record gets deleted on client db, i dont want the record on server db to be deleted. How can this be done?
...
I have a FileSyncProvider and I've written a custom implementation of the FullEnumerationSimpleSyncProvider. When files are synced from the FullEnumerationSimpleSyncProvider to the FileSyncProvider they are created correctly, but are zero bytes.
When synchronising in the other direction (FileSyncProvider as source) everything works as e...
Is there an equivalent of the XADD command in .Net? This is, after all, the most efficient method of locking / checking locks for critical sections or for ensuring accurate increments in a multi-threaded environment.
I looked through the IL opcodes, but couldn't find an equivalent.
...
I am working on a directory syncing program that uses jnotify to check for changes.
The idea is whenever jnotify detects a change, a sync is performed. The problem is that when many files are copied to or modified in a directory, many syncs are performed instead of one large sync.
Ideally if you were to copy 100 large files to director...
Hi,
I have a Azure staging database with tables being getting populated from an SSIS pacckage from external source. I need to have an implementation to synchronize the staging tables with the production tables. The schema of the staging and production tables might not be the same. Also some staging tables might not have the 'LastModified...
I have an iPhone app syncing with a website using a webservice. The sync procedure I'm using is the following:
Send items that need to sync from iPhone to website
Add items to website MySql database
Send back items that need to sync from website to iPhone
Add items on iPhone Sqlite database
All this is done using one request to the s...
Are web service calls synchronous or asynchronous by default? How is synchronicity determined, by the service or by the client?
I have code similar to the following:
try
{
string result = MakeWebServiceCall_1(); // this is a third party webservice
MakeWebServiceCall_2(result); // another webservice which must happen *after* th...
here is the situation I have a .Net desktop application which stores it's data on local file system (using sqllite). And there is the master database on a remote server which. The desktop application needs to synchronize data to the master database when ever there is a dial up connection to a specif server or when ever there is an intern...
On Paul Tyma's presentation, I found an interview question:
What's harder, synchronizing 2 threads or synchronizing 1000 threads?
From my perspective, of course synchronizing 1000 threads is harder, but I can't think of a good reasons for that beside 'of course'. But since it's interview question, may be I'm wrong (interview questi...
I need to sync text and audio on many web pages.
While the audio is played the text should be highlighted phrase by phrase (not word by word or by character so sync is necessary only for the start of the phrase).
I'd like not to use a flash only solution and I'd prefer to use something more HTML friendly.
I thought to use a combinati...