Questions tagged [data-stream]

In Connection-oriented communication, a data stream is a sequence of digitally encoded coherent signals (packets of data or data packets) used to transmit or receive information that is in the process of being transmitted.

In Connection-oriented communication, a data stream is a sequence of digitally encoded coherent signals (packets of data or data packets) used to transmit or receive information that is in the process of being transmitted.

In electronics and computer architecture, a data flow determines for which time which data item is scheduled to enter or leave which port of a systolic array, a Reconfigurable Data Path Array or similar pipe network, or other processing unit or block.

Often the data stream is seen as the counterpart of an instruction stream, since the von Neumann machine is instruction-stream-driven, whereas its counterpart, the Anti machine, is data stream driven.

The term "data stream" has many more meanings, such as by the definition from the context of systolic arrays.

Wikipedia: http://en.wikipedia.org/wiki/Data_stream

276 questions
1
vote
1 answer

Calculate downtime in stream analytics query

we've input data like - Where plc_id is the id of a particular PLC zero-speed - 0 means machine is running, 1 means machine is stopped. We want to calculate the downtime and store it into the sql. Here is the stream analytics query We've written…
Indrajeet Singh
  • 470
  • 1
  • 6
  • 21
1
vote
2 answers

Extract 12 bits that carry information from a data stream in Python

I am working on the implementation of the serial driver of the EEG (time-series acquisition device). The device encodes the data with 12bits x 26 total channels with a sampling rate of 200Hz The serial data stream consists of signalling byte 0xA0…
1
vote
3 answers

how to buffer a batch of data in flink

I want to buffer a datastream in flink. My initial idea is caching 100 pieces of data into a list or tuple and then using insert into values (???) to insert data into clickhouse in bulk. Do you have better ways to do this?
YT Q
  • 31
  • 4
1
vote
2 answers

Flex Template Release Notes

I am currently making use of a Google DataFlow Flex template (Cloud Datastream to BigQuery) and I am looking at using a newer version of the template to what I currently have in production. Is there anywhere I can view release notes for newer…
1
vote
1 answer

How to handle data processing failures in Azure Event Hub?

We are planning to utilize event hub for IoT Device data streaming and processing. We are ready with architecture but the only challenge we are seeing is failure re-processing. Below is the example, IoT devices sends (passing through IoT Hub) data…
DSA
  • 720
  • 2
  • 9
  • 30
1
vote
1 answer

Close stream after all data has been recieved

I am trying to make an HTTP request (I realise there is an http package that would probably make this easier but I want to learn how to do it with dart:io). My code below successfully prints out index.html from example.com, except the program runs…
Max888
  • 3,089
  • 24
  • 55
1
vote
1 answer

React app not refreshing the log streamed through socket.io

In my project I am using flask_socketio as the server and socket.io-client with react as the client. My main.py(flask server) is constantly reading a log file(console.log) that is continuously updating. When the start button is clicked in the UI,…
1
vote
2 answers

How to cast a string in Apache Flink Datastream in Scala?

I'm writting a Scala script for processing a csv file in Apache Flink, using Datastream API. I need to fix the format to some columns, and then cast them to proper types. My current code is this: package org.myorg.tareac import…
AlmuHS
  • 387
  • 6
  • 13
1
vote
1 answer

Highland JS - turn reduce result array back to stream

I'm experimenting with data streams where I would like to aggregate time series data. The reduce works, however I cannot find a solution to turn back the resulted array to another stream. When I call a map on the reduce I only get back the whole…
richard_
  • 11
  • 1
  • 3
1
vote
2 answers

Apache Flink: How to update Source Function in Unit Test?

I need my Flink job to read from a local instance of a Source Function and update every time the Source Function instance's data changes within the unit testing code itself rather than a stream. Pseudocode: StreamExecutionEnvironment env =…
1
vote
0 answers

How to correctly implement a bi-directional streaming http proxy?

I'm trying to write a .NET Core API Controller action that would basically act like a HTTP proxy: Data comes in POSTed via Request.Body stream Then POSTed to another backend service which processes the input data stream live and starts sending…
jazzman
  • 39
  • 4
1
vote
1 answer

pytorch dataloader default_collate argument use with to(device)

Ive been trying to integrate the to(device) inside my dataloader using to(device) as seen in https://github.com/pytorch/pytorch/issues/11372 I defined it on FashionMNIST in the following way: device = torch.device('cuda:0' if…
JNYC
  • 31
  • 1
  • 5
1
vote
0 answers

Adding custom DTMF tones

So as far as I know there are 12 DTMF tones that you can send over a call (0-9,*,#). Now I wish to develop an app that can send DTMF tones in a set pattern. But I need more than 12 existing tones. So is there either If there already exist more than…
1
vote
2 answers

How to stream data with golang query to Cassandra

I have the following code: cluster := gocql.NewCluster("our-cass") cass, err := cluster.CreateSession() defer cass.Close() iter := cass.Query(`SELECT * FROM cmuser.users LIMIT 9999999999;`).Iter() c :=iter.Columns() scanArgs := make([]interface{},…
user12211419
1
vote
0 answers

Is there any Bluetooth module which can support multiple smartphone connections?

We have a requirement of Bluetooth module which can be connected to multiple Bluetooth devices(Android phone) at same time. All the paired phones connected to the module should receive data at same time. Module:master,Phone:slave Please suggest us…