Most voted "stream" questions
67 questions
Sort by count of
-
1
votes0
answers207
viewsCommunication between socket and socket stream
I made the following class: class Socket { private $socket; private $loop; private $enviarMensagem; function __construct(LoopInterface $loop, $enviarMensagem) { $this->loop = $loop;…
-
1
votes1
answer249
viewsViewing PDF file after obtaining bytes
I would like to view a file .PDF staying at a FTP. I can get the Stream through the bytes, but I can’t create the file in a browser. Follow the code so far: private void btnVerFilePdf_Click(object…
-
0
votes2
answers64
viewsError giving puts of a variable within the DEF
Hello. I can’t print variable that is inside a def. Script class Logparser def initialize(ip, data, code) log = File.open("/project/log_sec/log/log.txt").each do |file| parse = file.split(" ") data…
-
0
votes1
answer437
viewsHow to iterate over a stream from a list that has an array and return if true?
How do I get the Enum object with an ID I passed as parameter check an Enum object element if true? My builder: private WeaponInterface(int[] weaponId, int speed, FightType[] fightType) {…
-
0
votes1
answer150
viewsString returning empty
I am trying to get me into the . zip file, select a single file called mcmod.info and save for a MemoryStream temporary. I followed as a basis that link on Stackoverflow, but when I read the var ms…
-
0
votes0
answers178
viewsHow do I capture data from a stream (Song name, album cover, band name)?
How could I capture the metadata of an audio stream and put some data as the album cover, song name, and display it on my Activity.
-
0
votes0
answers116
viewsHaving Stream<Stream> how can we get the Stream that contains more elements in the other Stream
I have 3 interfaces public interface IGhOrg { int getId(); String getLogin(); String getName(); String getLocation(); Stream<IGhRepo> getRepos(); } public interface IGhRepo { int getId(); int…
-
0
votes1
answer212
viewsJava Stream converter Map<String, Obj> to List<Obj>
I have this object filled: Map<String, List<LogLine>> logMap = new TreeMap<>(); And after I’ve made a filter, I’d like a flat list of it, but I can only create a list…
-
0
votes1
answer86
viewsAngular + media stream
I have a component where I request permission for the user to use the webcam, the purpose of it is to do facial recognition. It’s working, but when I navigate to other components, the browser tab…
-
0
votes0
answers36
viewsNo Output with Datainputstream
I am trying to build an application that works as a terminal emulator, but simply no output is generated. Here’s my code, it might be useful: package me.craftygaming.TermDroid; import…
-
0
votes0
answers268
viewsStreamwriter inserting blank lines
I am implementing the download of a file in ofx, I am generating the string and then adding to a Streamwriter, but if I add row by row or add the entire string at once without breaking lines, it…
-
0
votes1
answer474
viewsImplementation using API-Streams and API-Lambda Java 8
Good Staff. Trying unsuccessfully to solve a proposed exercise using the new features of the java 8 Lambda and Streams Apis. In this exercise you can only create and change methods signature in the…
-
0
votes0
answers59
viewsStream that reads byte per byte?
I created a simple byte-by-byte reading method in a stream, but it’s very slow and it’s taking minutes to process a ten-megabyte file, I don’t know why it’s so slow. It needs to be byte-by-byte and…
-
0
votes1
answer213
viewsHow to create a WCF (.NET) POST type method that receives a String parameter from the URL and Stream via POST?
I tried to use in my service but I can’t get anything other than this error. Error: ExceptionDetail, provavelmente criado por IncludeExceptionDetailInFaults=true, cujo valor é:…
-
0
votes0
answers36
viewsHow to return a stream id?
I need to get the ID inside the findById, but I don’t understand how I can do it in stream. @Override public void run(String... args) throws Exception { //TODO ler argumentos com data e workflow de…
-
-2
votes1
answer49
viewsStream Filter == List.get(index) does not compile
I’m trying to create a Stream to filter a list of a class with several attributes. One of these attributes is repeated in other instances. I’m trying to filter these instance members to make a sum…
-
-5
votes1
answer37
viewsRunning dependent threads in parallel in python
I’m trying to run 2 threads simultaneously in my Python program: from threading import Thread import manipulateData import stream processo1 = Thread(stream.main()) print(processo1) processo2 =…