Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

I'm encountering a data consistency issue with keyed in-memory tables in DolphinDB during batch updates with concurrent queries. I have a custom function that performs a batch calculation every 10 ...
1 vote
1 answer
125 views

Some context: The architecture involves receiving audio packets over UDP, pushing them into a custom LockFreeRingBuffer, and then consuming them in the audio output callback. The Problem: I hear ...
Best practices
0 votes
7 replies
73 views

I have a deep data structure that I expect users to create (from some data source), extract data from (into their own data structures), then throw away. The data structure is effectively immutable: in ...
CLOVIS's user avatar
  • 1,066
0 votes
0 answers
189 views

The Context We have a ChildView that depends on an environment value: struct Child: View { @Environment(\.printer) var printer var body: some View { Button("Print it") { ...
1 vote
1 answer
85 views

I'm trying to compute marginal effects with the marginaleffects R package, and would like to parallelize the computation to speed them up, following [this chapter of the guide](https://marginaleffects....
1 vote
2 answers
129 views

I finally found out the basic mechanism that C# uses to implement an async/await construct (using continuations). However, this led me to question data integrity. Imagine the following: class ...
-1 votes
0 answers
60 views

we have an application that is processing incoming emails. Every now and then we are getting timeouts from Graph. However we are not retrieving lots of data. An example of one call where we get a ...
-4 votes
0 answers
44 views

I’ve been reading about Python’s Global Interpreter Lock (GIL), and I’m a bit confused about how it actually works behind the scenes. From what I understand, the GIL allows only one thread to execute ...
Best practices
0 votes
1 replies
44 views

How do I bind the running property of one Service to the same property of another Service that it (re)starts? The first service must be considered running as long as the "nested" service is. ...
2 votes
1 answer
77 views

I’m experimenting with mixing asyncio and multiprocessing in Python 3.12. On Linux, the following code works as expected — the event loop stays responsive and the child process prints normally. On ...
3 votes
1 answer
140 views

The program below never ends: void main() { try (Fibonacci fibonacci = new Fibonacci()) { IO.println(fibonacci.calculate(9)); } } public static class Fibonacci implements ...
1 vote
1 answer
119 views

I have the below code (whole code is here) that polls a queue for runnables and parks itself if the queue is empty. public void waitAndDrain() throws InterruptedException { throwIfInterrupted(); ...
1 vote
2 answers
154 views

I’m migrating a NotificationManager class to Swift 6. This class is a small utility wrapper around NotificationCenterand has a method that lets users register a notification that will triggerunless ...
Bill's user avatar
  • 46k
0 votes
1 answer
60 views

Suppose I have code similar to this: const client = await createClient() .on("error", (err) => console.log("Redis Client Error", err)) .connect(); const promise1 = client....
Vilx-'s user avatar
  • 107k
1 vote
1 answer
64 views

I am facing an issue where my Actix-web server starts correctly, but the moment I hit the /upload_chunk endpoint from my frontend, the request hangs forever. After some debugging, I found that the ...

15 30 50 per page
1
2 3 4 5
...
1569

AltStyle によって変換されたページ (->オリジナル) /