216 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
31
views
Reproducing Transmission Spectrum from Photonic Crystal Paper (Transmittance Peak Issue)
I’m working on a project where I’m trying to reproduce the transmission spectra of a one-dimensional photonic crystal (PhC) with a defect layer, based on a research paper. In the paper, they show the ...
0
votes
1
answer
310
views
How to calculate transmission delay
I found that there are two formulas that can be used to calculate transmission delay.
The first is datasize/bandwidth, and the second is datasize/transmission_rate.
So which one is correct? Or why are ...
0
votes
1
answer
50
views
How to read/write the same character from/to a serial port
I am writing a character to a serial port and reading the same character from it. But I am not able to read the same character which I sent, I'm getting different characters.
#include <...
0
votes
1
answer
208
views
Can I get a benefit if upload/download multiple files via different sockets in parallel?
I have 4 nodes. A randomly picked node of them uploads a file with the size of 0.02GB while the rest of them try downloading it. My bandwidth is 100 Mbs and let's assume that all nodes have equivalent ...
0
votes
2
answers
453
views
Prevent docker image to overwrite config files (transmission)
I use docker-transmission container with docker-compose to run transmission app. The docker-compose file contains the following simple volume mapping:
volumes:
- ./data:/config
The transmission ...
0
votes
1
answer
39
views
How do I transfer a variable between Activities?
I have a code that transmits values over bluetooth
There are two activities in it. I need to make sure that the bluetoothController variable is passed to another activity and I can also transfer ...
1
vote
2
answers
239
views
Python socket transmitting on correct interface but with wrong source address
I have a multicast system with multiple network interfaces. Packets transmitted using the socket I created are being sent out the correct interface, but the packet's source address is incorrect. The ...
-1
votes
1
answer
155
views
MATLAB code for image transmission using BPSK
Problem: when I enter this code in matlab, i face the following respond :
Requested 65536x65536 (32.0GB) array exceeds
maximum array size preference (5.0GB). This
might cause MATLAB to become ...
0
votes
0
answers
264
views
Exception has occurred: PermissionError [WinError 32] The process cannot access the file because it is being used by another process
I have this python code, to add a torrent file:
try:
with open(full_path_to_torrent, 'rb') as file:
c.add_torrent(file)
logger_internet.info(
'The .torrent transfered to ...
0
votes
1
answer
1k
views
Adafruit LoRa RFM96W payload limit is 252 bytes but I want to send 512 bytes of data
So basically I have a numpy array, its shape is (8,64) after array.tobytes() and len(array) is 512. And
the send() function in the adafruit_rfm9x library has a payload limit of 252 bytes. Is there any ...
0
votes
1
answer
699
views
Implementing CRC in Java for a hex string
I have been tasked with implementing a CRC using Java. I wasn't given a specs to follow, but I am following this PDF:
https://cdn.standards.iteh.ai/samples/6904/2c02d323a7ae41838de8b8b806cf3725/ISO-...
0
votes
1
answer
63
views
How to find the original image from a binary string "1001011110001...." using Pillow python?
def binaire2image(binaires):
r = 100
while True:
try:
c = len(binaires) // 8 // r
v = [binaires[i:i+8] for i in range(0, len(binaires), 8)]
...
1
vote
1
answer
178
views
Why is the application data of a packet is called a protocol?
I've been reading on packets a lot today. I was confused for sometime because smtp, http, or ftp, for example, are all called protocols. But that they also somehow utilize transport protocols like TCP....
1
vote
0
answers
267
views
I want to send a magnet using transmission-remote in window
You could start downloading remotely from linux to
http://localhost:9091/transmission/web/
using the command in
transmission-remote 9091-nid:password -a {magnet}.
I want to do this on Windows as well.
...
0
votes
1
answer
403
views
Why is nginx container redirecting my private domain to a different location?
I kind of avoided using Nginx because it didn't match my needs across the years. But now, I find myself forced to start using it.
Goal: to have a private "ho.me" domain and with it, to go to ...