12,571 questions
0
votes
1
answer
22
views
How to prioritize synchronization mechanisms working on shared data in Android?
I have an Android application with three different synchronization mechanisms that operate independently, each using its own CoroutineScope. All these synchronizations depend on the same type of data (...
0
votes
1
answer
11
views
python SyncManager used by remote processes: how to identify shared objects
Using a SyncManager, if a group of processes need to share more than one dict() (say), the typical recipe is for the starting process to create them, and pass proxies to subprocesses.
However, in the ...
0
votes
0
answers
4
views
Pulse with Modulation Synchronization in TI Tiva Through Keil uVision
I am trying to actuate individual servo actuators (S51 Micro Servo) using the onboard PWM modules in a delay sequence. The Tiva datasheet states it can be done but I am unable to figure it out. I ...
0
votes
0
answers
42
views
C# Unity - High Precision Timer using TimerQueueTimer
I'm trying to execute a C# callback every 10ms with a 1ms accuracy if possible. For the moment in my project I'm simply using a spin loop and stopwatch and I did achieve the desired result with <...
1
vote
0
answers
18
views
Synchronization issue between video frame timestamps and sensor data (rotation vector) in Kotlin
Description:
I am developing an Android application in Kotlin that performs the following tasks:
Video capture: Saves the video and the current timestamp of each frame into a .csv file.
Sensor data ...
1
vote
0
answers
49
views
Audio and Video out of Sync with WebRTC Rust Server and Browser Client
When building a WebRTC backend using WebRTC-rs, i have the issue, that audio and video are not in sync.
The audio is encoded as Opus and the Video as H264. If i understood the library/webrtc correctly,...
0
votes
1
answer
41
views
mySql error #2014 - SET FOREIGN_KEY_CHECKS = ON; - Commands out of sync; you can't run this command now
I have read many posts on stackoverflow regarding this error, but could not find my answer.
I have created this procedure on MySQL 8.0 Standard via phpMyAdmin on a shared server :
DELIMITER //
CREATE ...
0
votes
1
answer
35
views
Syncing different audio streams for one video
So I wish to have a raspberry pi broadcasting wifi and a web server with PHP\Python cgi-bin. Th objective is to be able to receive up to 5 different short streams (up to 3 minutes) from people and ...
0
votes
1
answer
40
views
Need to synchronize access to two different collections exposed only through interface
(FYI I am unable to post actual code in question)
I have an interface
interface IEntity {
List<IEntity > getChildren(); //return list of children, safe to iterate i.e. a copy
List<...
0
votes
0
answers
8
views
Can 1 SF org be linked to multiple SFMC instances (NOT BUs within 1 instance, but different SFMC logins / instances / businesses)
I've received a client request: they want to know if a single SF core org can be connected to more than one SFMC instance / different logins. The request specifies that these are not multiple ...
0
votes
1
answer
58
views
Is one SynchronisationContext used over multiple threads/tasks?
Is there a situation where a SynchronisationContext is used over multiple threads/tasks in Blazor?
I want to determine whether a method has an components BuildRenderTree in its call stack. To do so i ...
0
votes
0
answers
35
views
Azure/Entra and Exchange online sync issues
I have modify SMPT address on on-premises on AD and running sync but the changes are not replicating in exchange online. Whiles the changes are reflecting in entra portal, it seems there is some issue ...
0
votes
0
answers
23
views
elasticsearch mongodb connector. documents stop being added after 60 seconds
I`m use elasticsearch mongodb connector. Elasticsearch Enterprise
https://github.com/elastic/connectors
Documents stop being added to the search index 60 seconds after synchronization starts.
But the ...
0
votes
0
answers
67
views
iOS application to Go application synchronization
I have a project that involves running Tasks, where each task is a routine run in a Go application on a computer. The Go computer application (Supports Linux, Windows, Mac) gives users the option to:
...
-1
votes
3
answers
96
views
Java program not producing expected output with synchronized method in multithreading
Problem:
I'm learning Java based on the book by Herbert Schildt "Java The Complete Reference Tenth Edition". I’m working on a Java program with multiple threads, and I'm expecting the output ...
0
votes
0
answers
105
views
3 checkbox java tree, node selection & checkboxes separate?
Everything is resolved now. Thanks to all who read my question.
Final copy:
import javax.swing.*;
import javax.swing.tree.*;
import java.awt.*;
import java.awt.event.*;
import java.util.Enumeration;
...
0
votes
0
answers
32
views
Issues with Synchronizing RTSP Streams in GStreamer Pipeline
I'm currently working on a project that involves synchronizing two RTSP streams to capture stereo video every 30 seconds. Initially, everything functions smoothly, with frames synchronized to the ...
1
vote
0
answers
46
views
Non-blocking streams and cudaMemcpy
I am debugging code that has assumed cudaMemcpy synchronizes with non-blocking streams - which I believe is an error.
In the same host thread, if a stream is created with CU_STREAM_NON_BLOCKING and ...
1
vote
0
answers
22
views
Synchronizing a local file with a remote web host
I have a pdf that I want to fetch whenever my computer is connected to the internet such that any time there is a new version uploaded, I replace the local copy on my device. How can I accomplish this ...
0
votes
1
answer
42
views
How to wait (vkCmdWaitEvents) 2 different events most efficiently in one cmd buffer?
Say action 1,2,3 produce OutcomeA,
action 4,5,6 produce OutcomeB.
And,
action 7,8 needs OutcomeA, but don't need OutcomeB.
action 9 needs OutcomeB, but don't need OutcomeA.
If I wrote it like this, ...
0
votes
1
answer
35
views
Outlook graphQL Api reading contacts misses a lot of contacts
I developed a query for Outlook contacts using GraphQL via the API.
However, in the Outlook web interface, you can see that under 'All Contacts' there are many more contacts displayed than those I get ...
0
votes
2
answers
59
views
requestAnimationFrame() animation of multiple objects sync problem
The task is to animate number of falling rectangles simulating rain, when rectangle – jet touches ground -draw star. To impelemnt it there are 3 classes: GitHub repository.
// Shapes:
class WaterJet ...
0
votes
0
answers
71
views
Efficient Incremental Update Strategy for Large Datasets in Azure Blob Storage and Azure Search
I'm working on a project that involves storing and syncing large datasets using Azure Blob Storage and Azure AI Search. I'm facing performance challenges, and I’d love some advice on best practices ...
0
votes
2
answers
50
views
I use synchronous sleep and when I make sync requests the GUI freezes
this is my first python script and I don't quite understand. How can I use synchronous function calls but not freeze the graphics?
Please tell me.
If I use asynchronous sleep then cloud fire starts ...
-1
votes
2
answers
73
views
Why we have to add an 'async' declaration word to the javascript function which call a sync javascript function?
I want to know: why we have to add the word:'async' declaration to the function which call a sync function? Shouldn't it be declared as 'sync', or should remove 'async' because all the javascript code ...
0
votes
0
answers
16
views
Data can not be synchronized from production env of local machine (wsl) to render.com. How to solve this PSQL data persistence issue?
I have deployed rails api on render using psql.Tables of procuction env(vsCode-WSL) found also in render.com database, but data input through vsCode (WSL)cannot be found in render database. However, ...
0
votes
1
answer
49
views
Automatic merging of users from LDAP and Keycloak into Youtrack
Initially, the LDAP Auth Module was used for authorization.
Now we are connecting to Youtrack Keycloak.
Accordingly, it is necessary that users logging in through Keycloak be the same users as those ...
0
votes
1
answer
97
views
Why can't I sync gradle and got these 2 errors?
This is the first time I'm using Android Studio and I have problems with Gradle sync like "could not move temporary workspace" and "C:\Users\Rafa.gradle\caches\8.8\transforms\...
0
votes
1
answer
41
views
Sequelize (with NextJS) sync() twice
I am using Sequelize with nextjs. During the DELETE operation, it performs sync() twice. Is this a problem or is it normal?
I am sharing my codes below.
// sequelize.ts
import { Sequelize } from '...
0
votes
1
answer
53
views
Sync between two thread in Swift
When I start the app, I have:
class PremiumManager: SKProductsRequestDelegate {
static let sharedInstance = PremiumManager()
static func loadProducts() {
sharedInstance.load()
}
...
0
votes
0
answers
31
views
Heroku sync with GitHub repo
I am planning to deploy a project to Heroku soon.
I saw that it's possible to automatically deploy my app to Heroku after a push on GitHub, and that's a part of what I need. But for the other part, ...
1
vote
1
answer
98
views
Is it possible to apply one-way sync between a master spreadsheet and partial copies of it using Google Sheets?
I am deeply sorry I have to ask this question mainly because searching Google always pointed me to the wrong direction. Also, this is not a programming question per se. In fact, I would like an answer ...
0
votes
1
answer
85
views
Is this an OK way to check if a function needs thread synchronisation?
Because I don't want to pay the performance penalty of synchronisation a function between threads if only one thread is ever going to call it, I was wondering if this is an acceptable way to check:
...
0
votes
0
answers
41
views
Best Pratices when use FileSystem (ex, existsSync and exists) in flutter
About Flutter file system documentation:
https://api.flutter.dev/flutter/dart-io/FileSystemEntity-class.html
There are almost two versions of any function: synchronous and asynchronous.
What are the ...
1
vote
2
answers
94
views
C multithreading reader and writer problem
I want to create a program where there are 2 threads reader and writer.
Both reader and writer runs for 10 iterations.
I need a synchronization mechanism that can enable reader and writer execute ...
0
votes
1
answer
58
views
Unexpected behavior with pthread read-write lock in a multiprocess multithreaded shared memory environment
I'm working in a multiprocess, multithreaded environment where I'm using a pthread_rwlock_t read-write lock stored in shared memory so that all processes can access it. Here's how I initialized the ...
0
votes
2
answers
104
views
Does the synchronized getter method see the fully or partially initialized object? [duplicate]
Suppose I have the next class:
class Point {
int x, y, z;
public Point(int x, int y, int z) {
this.x = x;
this.y = y;
this.z = z;
}
public **synchronized*...
0
votes
0
answers
80
views
Location to store database that will not sync with the OS sync framework
My UWP app developed in MAUI is using an SQLite database. According to the documentation I should use the AppDataDirectory for this. The problem lies in this statement:
These files are backed up with ...
0
votes
0
answers
59
views
Synchronizing a game for 4 players on a website
I have tried to synchronize my game in the "jungle professor board" folder using the user accounts people will create on the website but can't seem to work.
It's a four player game I have ...
0
votes
0
answers
54
views
How can I implement automatic reconnection in a decentralized WebRTC network without user interaction?
I'm developing a Flutter application and considering using WebRTC for syncing data in a completely decentralized environment, involving STUN and TURN servers. Although I'm relatively new to WebRTC, I'...
0
votes
0
answers
34
views
I'm trying to sync files (upon create and modify) from a specific MS Sharepoint library to Google Drive
I'm trying to sync files (upon create and modify) from a specific MS Sharepoint library to Google Drive.
I want to do it without a 3rd party product.
I've been using powerautomate, and it works, but ...
0
votes
0
answers
43
views
Sharepoint list synchronization with Excel VBA seems not to be working anymore if the table is too wide
I developed in the past an application running on Excel VBA that has for a long time managed the synchronization between an excel file and a sharepoint list. This is managed with the code in the ...
0
votes
0
answers
36
views
how to sync CRM D365 on-premises with CRM D365 cloud in real time?
I want to synchronize data on CRM on-premises with dynamics 365 cloud CRM and opposite behavior
i search for the best way with high performance and secure method to implement this integration is there ...
0
votes
1
answer
42
views
why does pthread_cond_timedwait uses 2 locks(condlock and mutex)?
the essential steps of pthread_cond_timedwait are as follows:
1. Acquire the mutex lock (before calling pthread_cond_timedwait).
2. Acquire the cond lock.
3. Release the mutex lock.
4. Modify the cond ...
1
vote
1
answer
52
views
In Swift Structured Concurrency, how are Actors synchronized?
In Swift Structured Concurrency, when some Task tries to acquire an actor, it needs to check whether if the actor is already busy and work can be done synchronously, without suspension.
However, ...
-2
votes
1
answer
58
views
Will the lock be removed if we delete the object which monitor is being used [duplicate]
Let's imagine that we have some kind of public global map which entities' monitors are used in synchronized blocks in different methods of other classes. In some moment we remove entities from our ...
-1
votes
0
answers
31
views
Mongo sync not working fine if i try to shut down DC cluster
i have DC with 3 nodes,
DR with 3 nodes
when i shut down my DC
i try to go to mongosync bash
then i do
commit
Connection #0 to host localhost left intact
{"success":false,"error":&...
-1
votes
2
answers
100
views
What problems might arise from ignoring this race condition?
I wish to represent a service that receives triggers to run a particular task, however it only runs that task once at a given time while ignoring concurrent triggers.
My brain came up with an ...
2
votes
1
answer
136
views
Latency issue - How to perfectly sync audio beeps (using Web Audio API) and visualization (using canvas + requestAnimationFrame)?
I use an audioContext = new AudioContext() of the Web Audio API for scheduling beep sounds for every beat (relative to a user-defined bpm and time signature) - let's call this stack of beeps "...
0
votes
2
answers
28
views
Two independent Blazor tasks, pause one until the other completes
I need to complete one Task before another Task completes. Both are called by Blazor, to distinct components, and therefore I have no knowledge or control over which is called first and therefore the ...