Jump to content

Mycobacterium

Member
  • Posts

    92
  • Joined

  • Last visited

Awards

This user doesn't have any awards

About Mycobacterium

  • Birthday Sep 12, 1956

Profile Information

  • Gender
    Male
  • Location
    Space
  • Interests
    Little White Things
  • Biography
    Born in 010--1
  • Occupation
    Logic

System

  • CPU
    AMD Ryzen 9 3900X
  • Motherboard
    Asus ROG CROSSHAIR VIII FORMULA
  • RAM
    G.SKILL TridentZ RGB Neo AMD DDR4 64GB 3200MHz CL16 XMP2
  • GPU
    MSI Nvidia RTX3080 TI SUPRIM X 12GB
  • Case
    Corsair Obsidian 750D Airflow Ed
  • Storage
    2x Samsung NVMe 256GB 2x 256GB Samsung SSD PRO 2x 8TB Seagate HDD
  • PSU
    ROG THOR 1200W Platinum
  • Display(s)
    LG 32UD99-W 4K + LG OLED XC55 120HZ 4K
  • Cooling
    NZXT KRAKEN Z73
  • Keyboard
    Apple Keyboard
  • Mouse
    Logi MX Anywhere 2S
  • Sound
    SoundBlaster Audigy RX
  • Operating System
    Windows 10 / CentOS
  • Laptop
    Apple Macbook Pro 2018 15" Corei7 - 16GB DDR - Retina
  • Phone
    Iphone 11 Pro MAX

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. PYTHON Client - script try to send 1.5MB test.png file import socket import os import time def get_file_packet_count(filename, buffer_size): byte_size = os.stat(filename).st_size packet_count = byte_size//buffer_size if byte_size%buffer_size: packet_count += 1 return packet_count def send_packet(data): sock.sendto(data, target) while True: try: data, messenger = sock.recvfrom(buff_size) data = data.decode() if data == "CONFRIMED": break except: continue time.sleep(0.00001) def send_file(filename): data = None while not data == "READY": print("Waiting for READY state from server side") ready_message = message % ("IS_READY", "_", 0) sock.sendto(ready_message.encode(), target) time.sleep(0.001) try: data, messenger = sock.recvfrom(buff_size) data = data.decode() except: pass time.sleep(0.01) packet_count = get_file_packet_count(filename, buff_size) init_message = message % ("INITIATE", "Duplicate_" + filename, packet_count) sock.sendto(init_message.encode(), target) f = open(filename, "rb") if sock is not None: print("Sending %s with %d packets" % (filename, packet_count)) for i in range(0, packet_count): send_packet(f.read(buff_size)) print("Sent all %d packets\n" % (packet_count)) f.close() message = "%s***%s***%d" PORT = 3007 MY_ADDR = "29.0.0.210" buff_size = 1024 * 5 target = (MY_ADDR, 3007) sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) sock.bind(('', PORT)) sock.settimeout(.02) send_file("test.png") Server - waiting for connection import socket from time import time PORT = 3007 MY_ADDR = "0.0.0.0" buff_size = 1024 * 5 sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) sock.bind((MY_ADDR, PORT)) sock.settimeout(.02) INIT_MODE = True packets = [] f_write_stream = None packet_count = 0 print("Waiting for traffic") if sock is not None: while True: try: data, messenger = sock.recvfrom(buff_size) except: continue if INIT_MODE: data = data.decode() # Intent***filename***packet_count message, filename, packet_count = data.split("***") packet_count = int(packet_count) if message == "INITIATE": print("Receiving %s with %d packets" % (filename, packet_count)) f_write_stream = open(filename, "wb") INIT_MODE = False packets = [] elif message == "IS_READY": sock.sendto("READY".encode(), messenger) else: packets.append(data) sock.sendto("CONFRIMED".encode(), messenger) if len(packets) == packet_count: print("Writing %s with %d packets\n" % (filename, packet_count)) for packet in packets: f_write_stream.write(packet) f_write_stream.close() INIT_MODE = True f_write_stream = None packet_count = 0 written_packets_count = 0
  2. I try to define buffer_size and get UDP fragmentation What is important to me is that each packet sent to the device must have a source and destination port - otherwise nothing will reach there. I have something similar in python, I split the file into parts and send it, but for some reason the other side does not receive IPv4 Fragmented IP protocol (I don't see it on wireshark). And I get buffer overflow on the sending script side.
  3. Hello. I need to send a file over 1.5 MB between 2 network interfaces using UDP. My case is that communication must go on port 3007 (source port and destination port). It is very important. In standard operating systems using the IP protocol, system decides which source port use to send next portions of data. In this particular case we can't let the system decide, we have to force source_port and destination_port to 3007 The problem is that sending subsequent portions of data using the same source_port will result in a buffer overflow. Tested in python (UDP - socket). Do you know any way (ruby, python, java) that would allow me to send such a 1.5MB file using UDP where the source_port and destination_port will always be the same?
  4. I think I can buy in similar price Sapphire Radeon RX 6700 PULSE 10GB GDDR6
  5. Hi I am considering buying Arc A770 Phantom Gaming D OC 8GD GDDR6 graphics card, do you know if there is something better, more efficient for a similar price ?
  6. HI, I am replacing the server CPUs and I will stay with two Intel Xeon E5-2609 v4 from this replacement. Is there any desktop motherboard on the market that allows me to use these two Xeon E5-2609 v4 ?
  7. How many degrees +/- I can lower VGA temperature by using WC ?
  8. I watched this movie, and I have some doubts about properly circulating air in my case. I ran the game Sniper Ghost Warrior Contracts 2 Butchers Banquet in 4K 120Hz at maximum detail.. The GPU temperature reaches max 80 ° C The video shows that the temperatures with FurMark running reach max 72 * C I wanted to ask you if my temperatures are normal, shouldn't I somehow cool more my GPU ?
  9. Unfortunately, after many attempts to search for a case that will allow me to mount 2 VGA's, I decided to change the environment to RTX 1080TI Suprim X in Corsair iCUE 7000X RGB Black case. At last I could mount my sound card and I had one free PCI-E 16 slot !! It is surprising, however, that market offers nothing interesting for owners of 2 VGA cards
  10. Impossible, laptop stays in one place all the time, no one sat on it, no one threw it out the window .. White stains appeared out of nowhere, suddenly, I haven't seen them before .. Hopefully this is not another production related screen defect the same as the butterfly keyboard .. Apple has recently been getting us used to production failures ...
  11. Thanks Nayr438. Probably screen defect was from the moment I bought the laptop, I just didn't notice it. I wonder if such a defect may increase with time..
  12. Are you able to write something more? What is the specificity of the problem, pressure issue is a production line problem and incorrect assembly? My equipment is 7 months old, I have not seen these white stains before, they appeared suddenly. The equipment was not moved anywhere, it stood in one place most of the time ..
  13. Camera didn't capture it very well, in real they are more pronounced. This is not my equipment, but screen defect looks similar.. Does It Also Have Pressure Problems ? Take a look at this screen photo.. Also Pressure Problems ?
×