Questions tagged [broadcasting]

In telecommunication and information theory, broadcasting refers to a method of transferring a message to all recipients simultaneously. Broadcasting can be performed as a high level operation in a program, for example broadcasting Message Passing Interface, or it may be a low level networking operation, for example broadcasting on Ethernet. Please use the numpy-broadcasting tag for questions relating to numpy's array broadcasting behavior.

285 questions
1
vote
3 answers

Count "greater" occurrences without loop

Let's assume that we have an array A if shape (100,) and B of shape (10,). Both contain values in [0,1]. How do we get the count of elements in A greater than each value in B? I expect an of shape (10,), where the first element is "how many in A are…
1
vote
0 answers

Laravel Notification broadcast on pusher

Need help with notification broadcast with pusher. Getting these errors in the console. pusher.min.js:8 POST http://127.0.0.1:8000/pusher/auth 404 (Not Found) pusher.min.js:8 Pusher : Couldn't get auth info from your webapp : 404 pusher.min.js:8…
1
vote
1 answer

Tensorflow 2.0 `tf.multiply` method gives unexpected results

I am bit confused about output shape of this operation >>> eps = tf.random.uniform((3)) >>> images = tf.random.normal((3, 28, 28, 1)) >>> output = eps * images >>> output.get_shape() (3, 28, 28, 3) I want this to multiply every single scalar in eps…
jastor_007
  • 371
  • 4
  • 14
1
vote
0 answers

Dot Product between 2 Mx3 Matrices in Eigen C++ ( Similar to np.dot(x.transpose, y) )

I`m trying to find the fastest way to compute a MxN matrix with dot products in c++ using Eigen. 3rd Update: This is part of a Maya 2018 plugin ( For which I'm using visual studio 2018 with the toolset v141 which is what they recommend apparently to…
1
vote
1 answer

Bind Real Time Notifications in Laravel Blade as alert

In my web app I want to notify some specific users when some task is created from admin. This should be real time. Therefore I used laravel pusher. But it not make any sense. I want to fix this. My Controller : public function add(Request…
1
vote
2 answers

"OSError: [Errno 22] Invalid argument" error when trying to bind to a socket

broadcaster = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) broadcaster.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) broadcaster.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1) def send_broadcast_thread(): msg = "test" …
Ahmed Refaat
  • 103
  • 1
  • 3
  • 11
1
vote
2 answers

Not receiving pusher message

Hello i am using laravel broadcasting and pusher to send some info. I can successfully send message to pusher but cant receive that. Here is my codes, Please help me guys:( App.js require('./bootstrap'); window.Vue = require('vue'); const app = new…
Amin HD
  • 13
  • 8
1
vote
1 answer

Laravel: dynamic configuration for Pusher

I am trying to make the configuration for Pusher in my Laravel app (SaaS) dynamic. Basically I want to store different Pusher configs for different accounts. And call the corresponding config based on the user. I have tries to change the config in…
Dewan159
  • 2,984
  • 7
  • 39
  • 43
1
vote
1 answer

laravel broadcasting - client receives one response several times

I was creating a simple real time chat application (laravel, reactjs,pusher). The server just get name AND text message from client (ReactJs), stores data in database and then pass the new data to my event and event pass it to client. It works but…
borna sh
  • 31
  • 5
1
vote
1 answer

Create a pandas dataframe with differences between two vectors of unequal length

I feel like I'm missing something obvious here. I have two vectors of integers of different lengths (x and y). I'd like to create a pandas dataframe with x rows and y columns where each cell contains the difference between corresponding elements of…
1
vote
1 answer

Broadcast packets do not propagate through a Linux veth tunnel

I am developing a networking application that relies on subnet broadcasting. I decided to set up a controlled environment for testing and development purposes on my local machine using virtual Ethernet interfaces (veth). The setup is…
1
vote
1 answer

Enable Audio method issue in android agora rtc sdk

I am using interactive video broadcasting in my app. I am attaching class in which I am using live streaming. I am getting the audio issue when I go back from the live streaming screen to the previous screen. I still listen to the audio of the…
1
vote
1 answer

Broadcasting (two) vectors in Eigen C++

Suppose I have an input ArrayXd of size 3: P[1] P[2] P[3] My required symmetric MatrixXd is of size [3,3]: -P[1]*P[1]+P[1] -P[2]*P[1] -P[3]*P[1] -P[1]*P[2] -P[2]*P[2]+P[2]…
Marzz
  • 49
  • 6
1
vote
1 answer

How to fix Laravel throwing FatalThrowableError when trying to broadcast a new event

I was following a tutorial to get Laravel to broadcast real-time but got stuck after just a few minutes of following along. Laravel throws the following message to me "Argument 1 passed to Illuminate\Database\Grammar::parameterize() must be of the…
1
vote
0 answers

Mongoose broadcast listener unix

Im trying to listen broadcast udp messages using cesanta mongoose in C/C++. mgr = new mg_mgr(); struct ip_mreq group; mg_mgr_init(mgr, this); { char listen[256]; snprintf(listen, sizeof(listen), "udp://%d", _port); nc = mg_bind(mgr,…
diego.martinez
  • 1,051
  • 2
  • 11
  • 25