Skip to main content

Questions tagged [stream]

A stream is a series of data elements (characters, bytes or complex packets) which can be accessed or made accessible in a serial fashion. Random access is not possible.

0 votes
0 answers
32 views

Explainer Problem No standardized Web Extension API to send or transfer TypedArrays or ArrayBuffers or ...
guest271314's user avatar
6 votes
2 answers
149 views

There's been talk about implementing WebRTC Data Channel over WHATWG Streams for a while https://github.com/w3c/webrtc-pc/issues/1732 https://github.com/w3c/webrtc-nv-use-cases/issues/44 https://...
guest271314's user avatar
9 votes
2 answers
638 views

One shortcoming of GNU's implementation of the tr utility is that it operates on bytes rather than characters. As the man page says under BUGS: Full support is ...
Toby Speight's user avatar
  • 88.5k
5 votes
2 answers
992 views

I'm hoping this should be mostly asynchronous, looking to make this close to 100%, if not 100%, so. This class was created to ease converting image formats, but it has an unlimited number of use cases....
Short Int's user avatar
  • 762
5 votes
4 answers
993 views

Please take a look at my method for parsing a CSV string. I am looking for a simple approach without using an external library. Is throwing a RuntimeException ...
Tobias Grothe's user avatar
5 votes
6 answers
492 views

I have a simple list of results, and I need to return only one value depending on content, for example: ...
zond's user avatar
  • 151
4 votes
1 answer
443 views

I would like to know how representative the following benchmark is? Can we infer from it that findFirst is much slower than ...
Tobias Grothe's user avatar
6 votes
2 answers
387 views

I want to create a system that marks up text with tags inserted into a stream. Each tag frames a part of the text, creating a tree-like structure, just as in classic markup languages (HTML, XML...). I ...
Jerome Demantke's user avatar
1 vote
2 answers
138 views

I need to download and upload around 1000 files. The file is first downloaded from one webserver and then uploaded to another. My first approach was to save each file on disk and then upload - but as ...
John's user avatar
  • 241
3 votes
1 answer
131 views

I want to replace a for loop with a break/return condition inside with a lambda. I think I have a good replacement, but I want ...
Oscar Besga Panel's user avatar
5 votes
2 answers
340 views

The code below implements a class, CountingOStream, whose job is to count the number of characters written to it while also discarding those characters and ...
Scott McPeak's user avatar
3 votes
1 answer
370 views

This streams lines of information over the internet using BufferedReader::lines. However, what makes this special (and thus, extraordinarily complicated imo) is ...
davidalayachew's user avatar
4 votes
1 answer
138 views

I am transcoding video to different quality using ffmpeg using subprocess in Python. I want to make my transcoding faster. I tried multi-threading but it didn't help. Hardware acceleration is not ...
Rai Shahnawaz's user avatar
2 votes
2 answers
156 views

All line indices of lines from a text that begin with the same line prefix should be found. The prefixes and the corresponding line numbers should be returned. Streams and lambdas should be used as ...
Tobias Grothe's user avatar
5 votes
2 answers
170 views

The three characters that occurs most in a given string should be printed by using streams/lambdas (functional programming). The order of characters that occur equally often should be preserved. My ...
Tobias Grothe's user avatar

15 30 50 per page
1
2 3 4 5
22