503 questions
1 vote
0 answers
87 views
"GEOSException Error: Shell empty after removing invalid points" when trying to buffer with geopandas
First time posting so apologies if I miss important info. I keep getting this error but it only happens intermittently so I have had a hard time narrowing down the problem. I have an input of a ...
0 votes
1 answer
75 views
What are conditions for the WinAPI's FILE_FLAG_NO_BUFFERING alignment requirement to be enforced?
Various functions in the Windows API (e.g., CreateFile and subsequently, ReadFile/WriteFile) support the FILE_FLAG_NO_BUFFERING flag, compare CreateFileA function (fileapi.h) and most importantly File ...
0 votes
1 answer
79 views
Contents of IO buffer unknown == unsafe?
My focus here shall be the following quote taken from the manual description of setvbuf, which startled me: If buffer is not a null pointer, instructs the stream to use the user-provided buffer of ...
0 votes
1 answer
85 views
Audio playback interrupts with brief gaps of silence in Swift
I have a WebSocket connection that sends 256KB chunks of binary audio data. I need to decode this binary format, write it into an AVAudioPCMBuffer, and schedule it for playback using AVAudioPlayerNode....
0 votes
0 answers
39 views
Slow query due to mandatory buffering
Purpose of my query is to get distinct rows, from a 600 000 rows database. Everything is fine except that, at one time,I have to keep/extract the first rows of groups after sorting. (step 7 to 9) And ...
1 vote
2 answers
103 views
Is modifying stdout buffering with setvbuff in embedded linux a safe/reasonable thing to do?
I have a C/C++ program that runs as a systemd service using the default config for stdout and stderr, aka journald ( journalct -u SERVICE. I want to see my printf calls with journald, and the only ...
0 votes
0 answers
46 views
Mongodb, Mongoose, buffering timed out after 10000ms for only 1 document
it was because of User. I just moved it inside of the code, and it worked, thanks for your help I am working on my project to create just a small mini project for messaging.I am more of a frontend, so ...
1 vote
1 answer
135 views
Data From Serial Port keeps Buffering (Android Device cannot recognize it as a Data)
A question regarding the above title Why does my data transferred via serial port keeps on buffering? The android cannot recognize the data as a data. It cannot write the data received and transferred ...
2 votes
0 answers
534 views
Optimizing Expo AV for Efficient Video Caching in Flatlist?
I have a list with infinite video scrolling using Flatlist. I am using the Expo AV package, and everything is working well. However, regardless of whether users watch the videos or not, Expo AV caches ...
1 vote
0 answers
232 views
Best way to implement buffering to the file + volume removal notice with reinitialization
The task is to use the set of files for several threads appending to the "last" file (buffering), and another thread sequentially reading what was appended when it thinks appropriate and ...
0 votes
1 answer
120 views
Streaming is buffered even when Cloudflare is paused
I have a web application. Users can send requests to the backend at www.backend.io, which is managed by Cloudflare (all the A and CNAME DNS records for backend.io are set DNS Only). The backend calls ...
0 votes
0 answers
150 views
How to validate flux elements that are later buffered?
I have the following code which throws error and no flux elements is "processed" so printed on the screen: public class Test { public static void main(String[] args) { Flux.just(...
0 votes
1 answer
54 views
Is the user/kernel space copy in Linux read(2)/write(2) a general design in operating systems?
I have a multi-part question about Linux's read(2)/write(2) system calls: 1.Where exactly is the copy behavior, as described in the title, stated? I've tried looking through the Linux Manual Page(2) ...
0 votes
2 answers
158 views
Load Column Names Without Pulling Data Again
Background My Excel workbook compares two large datasets, as read from external files. Let Data_A and Data_B be those queries, loaded to my worksheets as the tables Data_A a_1 a_2 ... a_n ... ... ... ...
0 votes
1 answer
111 views
Prevent the browser from downloading too much of a video
I host some videos in a private bucket storage in Google Cloud Storage. The duration of these videos are quite long (about an hour each) but I would like to display in loop only 3 to 4 seconds of ...