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.
Questions tagged [broadcasting]
285 questions
1
vote
0 answers
Python numpy broadcasting when adding slices of 2d arrays
I have two 2D numpy arrays. I want to add a slice of the array via broadcasting:
a = np.zeros((3,5))
b = np.zeros((3,5))
c = a + b[0,:] # Works fine
c = a + b[:,0] # -> ValueError: operands could not be broadcast together with shapes (3,5) (3,)…

twiine
- 21
- 2
1
vote
0 answers
A solution to control multiple (Firefox) browsers simultaneously?
I'm looking for a Windows program/solution to broadcast actions (mouse movement & clicks, keyboard would be a plus) in real time to multiple browser windows. Best way to describe the functionality I'm after is something like Bluestacks with its sync…

BFGM
- 11
- 3
1
vote
1 answer
Receiving datagrams sent as a broadcast message by a remote host
I need to receive datagrams that are sent as a broadcast message by remote host connected on the same lan.
I am using UDPClient but have no idea which method to use.There is a method UDPClient.Receive but that requires as parameter a specific…

saurabh
- 2,463
- 1
- 18
- 8
1
vote
0 answers
Pusher returns no data with laravel 8 event
I'm using laravel 8, and I'm having a hard time getting the data from the event using pusher. I'm want to broadcast the event, i want to receive the data when the data is successfully inserted in the database. hope someone can help me with this.…

Snorlax
- 53
- 11
1
vote
2 answers
Cannot subscribe to a private or presence channel because no Authorizer has been set. Call PusherOptions.setAuthorizer() before connecting to Pusher
In a chat application,
Laravel 7.x,
Vuejs 2,
Flutter 2.8 and Pusher
Pacakges I use pusherjs, Laravel echo, pusher-php-server and Flutter pusher_client.
in Laravel & Vue public and private channels work fine, in with Flutter public channel also…

Zia
- 506
- 3
- 20
1
vote
0 answers
How to call and run consol or Terminal inside the Java code?
I want to immplement a Mesh network(each peer can be client and also server) based on UDP and broadcast in Java.
I am working on my local system and try to run multiple instance from one class.
But I want to know is there any possibilies in java to…

venus kiani
- 13
- 4
1
vote
0 answers
J2ME bluetooth piconet broadcast data
Refer to my question in Android Bluetooth Piconet Broadcast data
I know that android question regarding to piconet is already answered. Now i've done some research regarding to bluetooth broadcasting piconet with J2ME.
I want to ask some question…

edric_s
- 227
- 3
- 11
1
vote
1 answer
Broadcasting-to multiple peer
How can we have a stream in which video and screen share in simultaneously in one single stream using webRTC so it can be send to all the peers in one stream

jay kakkar
- 11
- 2
1
vote
1 answer
Is it possible to find similarities between rows in a matrix without loop?
i have a 2D numpy array. I'm trying to compute the similarities between rows and put it into a similarities array. Is this possible without loop? Thanks for your time!
# ratings.shape = (943, 1682)
arri = np.zeros(943)
arri = np.where(arri ==…

diepitus
- 13
- 3
1
vote
2 answers
Summing over 2D and 3D arrays using broadcasting
Consider the following MWE:
import numpy as np
n=2
N = 6
a = np.random.randint(0,10,size=(N,1))
b = np.random.randint(0,10,size=(N,n))
c = np.random.randint(0,10,size=(n,N,5))
where c is e.g. (it is random recall):
array([[[7 5 1 7 0]
[2 8 2 1…

Astrid
- 1,846
- 4
- 26
- 48
1
vote
1 answer
Live audio feed in HTML 5
I am trying to make way to broadcast live audio feeds in HTML 5 compatible means. I don't want many advance features and all. But however I am looking for everything to be Open source. Can any one shed light into this. I am comfortable with python.…

esafwan
- 17,311
- 33
- 107
- 166
1
vote
0 answers
sending notification in pusher private channel to selected users laravel8
I'm sending notifications using the public pusher channel in laravel8 .. How can I turn it to a private channel in order to send notifications just to the selected user.. which the admin selected from the dropdown menu?
here is my controller
public…

B.Ismail
- 11
- 2
1
vote
0 answers
Numpy broadcasting comparison report "'bool' object has no attribute 'sum'" error when dealing with large dataframe
I use numpy broadcasting to get the differences matrix from a pandas dataframe. I find when dealing with large dataframe, it reports "'bool' object has no attribute 'sum'" error. While dealing with small dataframe, it runs fine.
I post the two csv…

崔箐坡
- 67
- 1
- 4
1
vote
2 answers
What's the point of using MPI_Bcast when all ranks can see the data which will be broadcasted?
I'm just thinking about the reason behind using MPI_Bcast because when I do not broadcast integer N to all ranks, they can see the N. Look at the code and its result. Both before and after broadcasting, the integer N is visible to all ranks. so,…

MA19
- 510
- 3
- 15
1
vote
1 answer
operands could not be broadcast together with shapes (5,2) (1,5)
I want multiply this two np.array, I believe it should return a (5,2) np.array, but it raise an error.
a = np.array([1, 2, 3, 4, 5])
b = np.arange(10)
b = b.reshape((5,2))
print(a.shape, b.shape)
print(b * a)

Carl
- 109
- 8