Skip to main content
Filter by
Sorted by
Tagged with
5 votes
1 answer
166 views

I’m building a shared-memory, event-driven allocator on Linux with: Multiple producers, single consumer (MPSC) Variable-size allocations from a shared memory pool When memory is unavailable, ...
Mohammad's user avatar
  • 221
Best practices
1 vote
2 replies
41 views

I currently have a windows app I wrote that interacts with data from a web API. I'm trying to make an android version to carry around with me. Generally only one person accesses the data from their ...
Fixitman Mike's user avatar
Advice
0 votes
0 replies
42 views

I'm developing a service that runs alongside my Scorpio NGSI-LD broker and other databases. This service exposes an API that allows users to update entities, and these updates are propagated to ...
Sergio R.B.'s user avatar
Advice
1 vote
1 replies
32 views

Give a private field with public read access by the property and a method where this field is written. I use the lock to make a consistent write in a method, but I have no lock in the property. Code ...
RollingStone's user avatar
0 votes
1 answer
65 views

I'm using Strapi Cloud version 5 headless CMS for my website. But sometimes it's easier to work with the local Strapi server localhost:1337 - I don't have to wait for the deployment. The problem is, ...
javazen's user avatar
  • 171
4 votes
1 answer
139 views

By default, C++ streams (cin, cout) are synchronized with C streams (stdin, stdout). This allows mixing C and C++ style I/O. I am trying to understand what this means in practice regarding flushing. ...
Ranko's user avatar
  • 143
1 vote
1 answer
61 views

I am trying to sync multiple audio files to be played in different devices and browsers at the same time. I have already manage to sync the clocks of all the devices with a max error of 10ms, avg ...
Ricardo Pardo's user avatar
0 votes
1 answer
114 views

Here is a Java class that writes messages in a parallel thread to a stream. When the stop() method is called, the mCloseWriter flag is set and the thread that writes the messages to the stream is ...
Igor Yarmolyk's user avatar
0 votes
0 answers
43 views

The MESI or MOESI protocols need the LLC directory in order to work... and the directory needs to synchronize parallel RFO + snoop-invalidation calls in order for it to work (in TSO architectures that ...
Delark's user avatar
  • 1,385
1 vote
2 answers
154 views

Everyone knows Singletons. Here is one: public class MySingleton { private MySingleton() { } public static MySingleton GetInstance() { return instance ??= new MySingleton(); } ...
Thomas Weller's user avatar
1 vote
0 answers
47 views

I'm working on an ECS system that automatically multithreads systems (similar to bevvy). However sometimes third party libraries don't play nice with multithreading. Bevvy's answer is resources, but ...
gjh33's user avatar
  • 121
0 votes
0 answers
21 views

I’m using the KendoReact library to render a Pivot Table (PivotGrid) in my React project.I’ve customized the Pivot Table’s styles and layout according to my requirements. Table is presnt On Two pages ...
Megha's user avatar
  • 1
0 votes
4 answers
159 views

I have a class that I want to make thread-safe. In it are these 2 functions : public void add(String param1, String param2) { // do something } public void clear() { // do something else } I ...
Absolute_Arthur's user avatar
0 votes
0 answers
66 views

The membership list of our sporting club is maintained by a Sharepoint list. I established a link between the sharepoint list and an excel file, which appears as a seperate tab/table in my excel. When ...
Martie Timmers's user avatar
0 votes
1 answer
61 views

I'd like to clarify which memory transfers are done in two examples of SYCL code in Intel's oneAPI guide. The guide makes one point that contradicts my impression about when memory transactions are ...
xealits's user avatar
  • 4,818
0 votes
0 answers
20 views

I'm using json forms to generate forms from a json description. I'm trying to have cooperative filling (multiple users can work on one form at a time, and see changes in real time). const store = ...
Nitram Nekonečný's user avatar
4 votes
3 answers
237 views

An example of producer and consumer threads is usually given. But this can be done with two semaphores. Why do we need condition variables then? Example with pthread library: // write thread while(1) {...
FlameWare's user avatar
0 votes
1 answer
64 views

I generally (seem to) understand that GitHub is a tool to save code on the internet.So let's start simple: I have a small project, basically consisting of a .py file and readme.md as suggested from ...
Marcus Fabian's user avatar
0 votes
0 answers
81 views

I am playing around with Thingsboard Edge and dashboards. I can update dashboards on my main thingsboard instance, and they are synced to the edge instance just fine. But when I have the dashboard ...
Wooyay's user avatar
  • 21
0 votes
1 answer
143 views

We have setup Keycloak for our product solution in order to use it as the identity provider. We are going to import users from LDAP into the Keycloak database (Keycloak MySql production database). We ...
TechQuestion's user avatar
1 vote
2 answers
161 views

I have some code that previously looked like: std::vector<MyObject> data; do { // May run 100 times or more prepare(); remaining = compute1(my_data); remaining -= compute2(my_data); ...
user2233709's user avatar
0 votes
0 answers
46 views

Im at my wits end with implementing the syncing functionality to my simple notes app for android that I created using kotlin and jetpack compose. So Im a total beginner on coding and have ...
Kianvash Ghahari's user avatar
0 votes
0 answers
27 views

I have a project repository in bitbucket. I want this repo to be triggered synchronously in azure devops pipeline, that is, when I make a change and commit it to bitbucket, azure devops will detect ...
Taha Furkan Ünsal's user avatar
0 votes
0 answers
94 views

Through the extension EGL_KHR_fence_sync, we can achieve multi-threaded GPU synchronization by using interfaces such as eglCreateSyncKHR(), eglDestroySyncKHR(), and eglClientWaitSyncKHR(); When the ...
Grady's user avatar
  • 1
0 votes
0 answers
65 views

I actually have a very simple task, but I still don't know the easiest way to solve it. It would be best if the solution was based on my proxmox homeserver, because I already have it. I have a NAS in ...
ikarus's user avatar
  • 21
0 votes
0 answers
69 views

I have an issue for some users that already created previously on O365 Cloud and they have mailbox, and then they requested to create it on AD on premise, so it should be same UPN and same proxy ...
Raafat Harbousha's user avatar
0 votes
1 answer
77 views

I have a script that synchronizes changes with Google Drive via the service->changes->listChanges mechanism. This is the general approach (php code here) $idChangeHistory = [] ; do { $...
Dennis 's user avatar
  • 1,310
2 votes
2 answers
47 views

I have a mobile app in Flutter. I have a web_socket connection to my backend server. This works perfectly with updating data in real-time. Though when the app goes in the background, the websocket is ...
NickNterm's user avatar
  • 114
0 votes
1 answer
74 views

In my application, I want to allow the user to select a file, which is represented as a URI. This URI can natively resolve to a file path. I want to determine whether the file is stored locally or if ...
Nikhil Raj's user avatar
1 vote
1 answer
64 views

I'm buiding a webpage that will be used by drummers to practise patterns. In order to do so, I must have: An adjustable metronome (functional) A score including automatic scrolling synced to the ...
user30222843's user avatar
0 votes
0 answers
33 views

Consider Process A doing the following using repeated calls to write(2) to write data, in the period before it closes or does an fsync(2) or fdatasync(2) to flush to disk. Meanwhile Process B is doing ...
Dan's user avatar
  • 248
1 vote
1 answer
96 views

I was revising the concepts of the channels in go where I learned in the unbuffered channel if the receivers are less but senders are more then It must give deadlock and vice versa In my case first ...
Jasvinder singh's user avatar
0 votes
0 answers
76 views

I have an .srt file where each speech segment is supposed to last a specific duration (e.g., 4 seconds). However, when I generate the speech using Google Text-to-Speech (TTS) with SSML, the resulting ...
Alexandre Silkin's user avatar
0 votes
1 answer
71 views

I came across some code in our code base that seems not wrong, but terribly inefficient due the the nature of our platform (a lot of threads could be accessing these two methods simultaneously). ...
Gandalf's user avatar
  • 9,917
0 votes
0 answers
19 views

New data appears instantly when queried from primary nodes but takes a few minutes to show up on secondary nodes. Restarting a node forces synchronization, but that’s not practical in production. ...
Ritesh's user avatar
  • 1
0 votes
0 answers
79 views

I am using OpenAI’s real-time API (gpt-4o-realtime-preview-2024-12-17) in a React-based application for live transcription and response generation. However, I am facing an issue where the transcribed ...
Pranav Krishnaa S's user avatar
1 vote
2 answers
114 views

There is a Threads class, inside which the ExecutorService is launched and 5 threads inside it, and there is also a Counter class with an atomic change of a variable. Inside each thread there is a ...
Isat's user avatar
  • 9
0 votes
0 answers
24 views

I want to have a copy of my database locally. But on this local copy, I can create new items. I want the distant database to create item IDs, to avoid duplicate IDs. So when I create new items, I use ...
TheJof's user avatar
  • 135
3 votes
0 answers
100 views

I need to use a function like cudaDeviceSynchronize to wait for a kernel to finish execution. However after version 11.6, it is no longer possible to use any form of synchronization within device ...
ug0x01's user avatar
  • 53
0 votes
1 answer
206 views

Request: to run Prysm client with checkpoint sync using --checkpoint-block value (block number) and --checkpoint-state value (state root), does it require to have this block already synced in the ...
SEMIA GUESMI's user avatar
1 vote
1 answer
60 views

.NET 9 introduced a new Lock object (System.Threading.Lock). The C# 13 compiler has also been made able to recognize when the lock keyword is used with such a class instance, producing the correct ...
Franco Tiveron's user avatar
0 votes
0 answers
13 views

We offer products for the building industry. Architects etc often look for pdfs with technical informations. We will list them on the product pages and some other landingpages like faq. I would like ...
user7776671's user avatar
-1 votes
1 answer
104 views

I have an error that i don't know what is wrong. I am using an old android studio 2.3.3 and my application is for old android so need to keep it that way. I have my project on old computer which ...
LittleFunny's user avatar
  • 8,453
0 votes
0 answers
120 views

I have 2 queues for which I submit commands. The first one is the graphics queue and the other one is the compute queue. They are also getting executed in this order. (graphics -> compute -> ...
Michael's user avatar
  • 333
1 vote
0 answers
46 views

I'm writing a Vulkan program. I have a problem with image being sometimes displayed in wrong order. Here is the part I suppose where things to go wrong. For information, I have 2 frames in flight (...
Fabrice R's user avatar
0 votes
1 answer
76 views

I am trying to sync a Sequelize model with my database, but I can't get over this error. Using Sequelize as my ORM, database is Oracle express:21.3.0-xe This is the error: Executing (default): ...
Diana's user avatar
  • 1
0 votes
1 answer
50 views

I have code that looks like this: vkQueueSubmit(queue, 1, &infoB, fenceB); // ~130 ms to complete while(1) { vkWaitForFences(device, 1, &fenceA, true, UINT64_MAX); vkResetFences(...
Alex V.'s user avatar
  • 68
0 votes
0 answers
25 views

I'm still using the Kony 7.3 Mobile platform to build mobile apps that sync data with a backend SQL server. And, I know that I can alter/modify the SQL query generated by the Kony 7.3 sync server, ...
arcturien's user avatar
0 votes
1 answer
95 views

I need to regularly synchronize two SQLite databases. One on a Raspberry Pi 4 running Node.js/NestJS (always on but without internet connection), another provided to the Raspberry Pi 4 via a USB drive ...
Andresch Serj's user avatar
0 votes
2 answers
460 views

When using virtual threads in Java 21 there is a way to limit the number of underlying platform threads by specifying jdk.virtualThreadScheduler.parallelism and jdk.virtualThreadScheduler.maxPoolSize ...
Mikhail Vasilyev's user avatar

1
2 3 4 5
258