Top "Buffering" questions

Buffering is a process of temporarily storing data while it is being moved from one place to another.

Response Buffer Limit Exceeded

I am running a simple query to get data out of my database & display them. I'm getting an error …

asp-classic buffering
Why use endl when I can use a newline character?

Is there a reason to use endl with cout when I can just use \n? My C++ book says to …

c++ string-formatting iostream buffering
An algorithm for inflating/deflating (offsetting, buffering) polygons

How would I "inflate" a polygon? That is, I want to do something similar to this: The requirement is that …

algorithm geometry polygon computational-geometry buffering
Python sockets buffering

Let's say I want to read a line from a socket, using the standard socket module: def read_line(s): …

python sockets buffering
How to make output of any shell command unbuffered?

Is there a way to run shell commands without output buffering? For example, hexdump file | ./my_script will only pass …

stdout buffering
Buffered vs unbuffered IO

I learned that by default I/O in programs is buffered, i.e they are served from a temporary storage …

language-agnostic io buffering
HTML5 Video buffered attribute features

I am designing a custom HTML5 video player. Thus, it will have its own custom slider to mimic the video …

javascript html html5-video buffering
Can you upload to S3 using a stream rather than a local file?

I need to create a CSV and upload it to an S3 bucket. Since I'm creating the file on the …

python csv amazon-s3 boto buffering
Should I buffer the InputStream or the InputStreamReader?

What are the differences (if any) between the following two buffering approaches? Reader r1 = new BufferedReader(new InputStreamReader(in, "UTF-8"), …

java buffering java-io bufferedreader bufferedinputstream
How to buffer stdout in memory and write it from a dedicated thread

I have a C application with many worker threads. It is essential that these do not block so where the …

c file stdout buffering