1,700 questions
3
votes
0
answers
84
views
Error calculation for a time series using autocorrelation
I'm trying to calculate the autocorrelation time for a time series generated from molecular-dynamics trajectory frames. I used several methods to estimate the autocorrelation time because I need it to ...
2
votes
2
answers
214
views
PowerShell + WPF: Background worker and interacting with UI
I'm currently building a GUI application using PowerShell and WPF, and overall, I'm quite pleased with how easy it is to spin up a user interface for small tools without having to dive into full-blown ...
1
vote
0
answers
14
views
TestStack.White UiItemContainer.Get() is blocking for the complete BusyTimeout delay even if the searched item is present earlier
In my Test app, using TestStack.White nuget package (last available version: 0.13.3) I need to search an Item with a given AutomationId in a container (main app window). I want to wait for it for max ...
0
votes
0
answers
141
views
Blocking method on a JFrame (or JDialog)
I need that my readString method be blocking until user input his text into the TextArea. This is a model of my problem:
public class Consola
{
private final JDialog dialog;
private final ...
0
votes
0
answers
37
views
attempting to execute 3rd party dll in separate thread but this still blocks main thread
In my Kivy app I initialise some instrumentation via 3rd party .NET dlls. One of these dlls is badly behaved - takes several seconds to initialise.
To keep the app GUI responsive, I tried to ...
0
votes
1
answer
133
views
How to add a big quantity of numbers in Call Directory Extension?
I need to implement a logic for adding a big quantity of numbers into the Call Directory Extension.
I use this function for generating and adding numbers:
func generatePhoneNumbers(from pattern: ...
1
vote
0
answers
27
views
WebSockets message sending order
I am making blocking requests calls in a WebSockets server just to test a thing out, but I experienced a weird behavior.
There is one client connection, sending a single message. The message is ...
0
votes
0
answers
61
views
How can I determine what TSQL code is executing on a blocked thread [duplicate]
We're chasing a repeated blocking/deadlock problem with a vendor's product, and I'm trying to get some clues to help point their development team as to what the issue might be. I'm currently using ...
1
vote
0
answers
124
views
Streamlit: AI Response Only Displays After Timer Timeout, Not on Button Click
I'm building a Streamlit app that interacts with YouTube videos using pytube to fetch audio and transcribe it. The problem I'm encountering is that the AI response (transcription result) is displayed ...
0
votes
0
answers
90
views
Need help figuring out why "SELECT SUSERNAME()" is the lead blocking query?
I have an application that is running on SQL Server 2019. About 80 customers are running it and only this one customer is having this issue.
Every 12-24 hours, it's locking up all users and when we ...
0
votes
0
answers
85
views
Netty blocking spring integration workers
Currently I’m working on a spring integration service that uses webClient with Netty for http calls
The problem that I'm facing occurs when spring integration goes to a channel and while it is ...
1
vote
0
answers
137
views
Bull queue job with fetch blocking the node event loop?
we have started to use Bull queue to process our background tasks (Heroku platform, Node.js, Redis). Time to time it happens that some job gets stuck in the active state and no other tasks are being ...
0
votes
1
answer
148
views
Why are we so wary of blocking threads anyway? [closed]
Ever since I started doing programming, I was always driven to consensus that thread blocking is bad - there are operations that are intrinsically asynchronous and we should create code that respects ...
3
votes
1
answer
941
views
Virtual threads seem to block carrier threads on external service call
I have a Spring Boot microservice that consumes messages from a RabbitMQ, composes emails, and sends them to an SMTP server.
It consists of the following components:
Email sender that composes an ...
0
votes
0
answers
148
views
How do I find out what blocking call is stopping tasks from being processed?
I have a problem with an ASP.NET-Core Webapplication running as an Appservice on Azure. We are experiencing frequent spikes in Response-time due to something blocking a thread-worker (at least thats ...
0
votes
0
answers
246
views
Select statement getting blocked on LGWR session
During the peak windows of my application when it tries to save large amount of data, i have noticed that even Select queries are waiting on LGWR operation.
In the table dba_hist_active_sess_history, ...
0
votes
1
answer
313
views
Azure Storage Account zoned redundant storage blocking
I'm using Azure Storage Accounts that are using zoned redundant storage. When I write a file and close it, Azure seems to block the file until it is replicated. Is there somehow a procedure to exclude ...
0
votes
1
answer
75
views
In Kotlin code, runBlocking does not block
I am trying to run a function called getGroupSummaries and have it finish before the next code runs. getGroupSummaries is declared like this:
suspend fun getGroupSummaries(groupInfo: ...
0
votes
0
answers
100
views
Collapsible box is not moving other elements when it is expanding due to an update from the host website. Is there any alternative?
I am currently using Hostinger to create a website. I wanted text boxes that expanded when clicked and in December I added them using css in an "embed code" box. I tested them and they ...
4
votes
3
answers
510
views
Process hangs on the write to the pipe
I am writing a program for inter-process communication, but I encountered a problem where the write operation blocks the process, even though there is enough space in the pipe.
I am using a remote ...
0
votes
0
answers
26
views
How to combine incompatible thread-blocking asynchronous waiting APIs?
This question does not pertain to any particular language, so answers of various solutions in operating systems/languages are welcome. It is relevant when a library does not natively integrate into a ...
2
votes
1
answer
1k
views
Is the subscribe() method blocking?
I'm starting with Project Reactor and I cant understand why is this code infinitely prints "Hello" and never returns the Disposable object.
Flux<Object> flux = Flux.generate(sink -> ...
0
votes
0
answers
316
views
Spring Batch Using Reactor - Adapting Flux to a Queue Possible Alternatives
I'm currently implementing a Spring Batch application that subscribes to a Reactor Flux to read an encrypted fixed format file, line by line. The Flux emits lines as Java Records.
The Spring Batch ...
1
vote
1
answer
1k
views
Suspend keyword as redundant with Network Request function in Spring Boot Application
I've been delving into Kotlin Coroutines and discovered that suspending functions can simplify the creation of asynchronous and non-blocking code when using Kotlin and Coroutines. In an Android ...
0
votes
1
answer
459
views
MessageBox - Force it to be blocking
In order to keep a clean, easy and maintainable code, I want to exit a function, after the user has closed a MessageBox.... BUT the anonymous function is triggered async, therefore not blocking.
Is ...