503 questions
1
vote
0
answers
80
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
73
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
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 ...
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 ...
2
votes
0
answers
533
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 ...
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
1
answer
53
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
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 ...
1
vote
0
answers
124
views
Data file is full of zeros after power outage
I have a graphical (Qt, C++) application that stores its state in a data file and updates that file every 60 seconds.
I wrote a function to prevent data loss when the application or the OS is ...
1
vote
1
answer
209
views
Video stops buffering
I have a 4 videos and preloader, that should hide when all the videos is fully buffeder
<div id="preload">
<h1>
Download...
</h1>
</div>
<video ...
1
vote
0
answers
147
views
Cache large numpy array (or other arrays) into disk to save RAM memory
I have a algorithm, where I aggregate several large numpy arrays (or other arrays, like tensorflow or pytorch) from several processes into one process. The problem is that those arrays are quite large ...
0
votes
1
answer
882
views
What is the replacement of IApplicationBuilder.UseResponseBuffering starting from .net Core 2+
Since the package Microsoft.AspNetCore.Buffering has been deprecated after .net Core 1.1, what is the best practice to restore the feature provided by IApplicationBuilder.UseResponseBuffering()?
0
votes
1
answer
375
views
Message Buffering Camunda rabbitmq spring-boot
i have a setup of 3 spring-boot projects each acting as a separate participant, each project deploys one bpmn model communicating with each other in a loop based pattern.
Although, i am using a ...
1
vote
2
answers
4k
views
Flask not streaming JSON response
I have below flask application that should stream JSON response
Directory structure:
server -
api.py
resources -
stream.py
api.py
from flask import Flask
from ...
1
vote
0
answers
2k
views
PYTHONUNBUFFERED in PyCharm - no stdout
It is my understanding that if PYTHONUNBUFFERED is set to a non-empty string, no buffering of stdout is supposed to happen. I use PyCharm, and by default this value is set to 1, and I have not changed ...
0
votes
1
answer
119
views
Error: insertOne()` buffering timed out after 10000ms
I am at the very beginning of learning Mongoose, and I am having trouble saving this model to my database and keep getting an error:
insertOne()` buffering timed out after 10000ms
This is my code:
...
2
votes
1
answer
2k
views
Sending messages to Kafka unbuffered using kafkacat
I have single node Kafka instance running locally via docker-compose.
(system: Mac/Arm64, image: wurstmeister/kafka:2.13-2.6.0)
I want to use kafkacat (kcat installed via Homebrew) to instantly ...
0
votes
1
answer
334
views
Printing out one line to screen from popen in PHP?
I'm making a batch megadownload site in PHP. I'm parsing the input, validating it, then passing it to a bash script. I'm piping the output to the web page, but the contents of the webpage show like ...
0
votes
1
answer
399
views
Android ExoPlayer takes more time on buffering
I want to load URL from server. But ExoPlayer takes more time on buffering. There is no error while playing video.
My code is below
try {
BandwidthMeter bandwidthMeter = new ...
0
votes
1
answer
2k
views
How do you prevent any buffering, only show most recent frame with RTSP?
Are there any hints or other mechanisms with RTSP to make it only show the most recent frame, instead of buffering? I.e. if there is no smooth motion in the video but need only the most recent frames?...
0
votes
0
answers
744
views
MongooseError: Operation `tests.findOne()` buffering timed out after 10000ms
I will be very grateful if you could help me with this issue. Although there are many similar problems, I couldn't find a solution about mine.
Everything is okay, when I'm starting the app- it is ...
1
vote
1
answer
979
views
Sending Latest http Request when previous call finishes in Angular
I am trying to accomplish the following:
I have a request form with say 4 fields (A, B, C, D) for updating a ticket. Whenever a user exits a field (after typing something) a request should be sent to ...
2
votes
1
answer
674
views
How to properly use setvbuf in C?
I would like to set my input stream as unbuffered using setvbuf() but I don't really know how to use it.
I've done some googling and found that when you set a stream to unbuffered, the buffer and size ...
1
vote
1
answer
183
views
Don't print the last character: print only after the next input
I have a problem, when I try to print an input, the program doesn't print the last string (in this case var_quantita).
But if I add an \n, or if I send another command from stdin, it works.
So I think ...
0
votes
0
answers
276
views
How to make a simple downloader client using chunk buffering
I want to make a simple downloader that downloads parts on the server in browser and after they finish it join them together and save it through browser like what Mega.nz does
So like we have 5 chunks ...