<commit_before>#! /usr/bin/python

import socket, struct
from time import time, sleep
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)

s.bind(('', 8474))
s.settimeout(10)

message = '192.168.7.1'

while True:
	start_time = (time() * 1000.0)
	s.sendto(message, ('192.168.7.2', 8474))
	rx = s.recv(1024)
	
	loop_time = (time() * 1000.0) - start_time
	print "Received message from beaglebone, with %sms round trip." % loop_time
	sleep(0.5)<commit_msg>some work on the client to run on the roborio<commit_after>#! /usr/bin/python

import socket, struct
import os
from time import time, sleep
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)

s.bind(('', 8474))
s.settimeout(10)

message = '192.168.7.1'

tmp= open("/tmp/memes.dat", "w+")

while False:
	start_time = (time() * 1000.0)
	s.sendto(message, ('192.168.7.2', 8474))
	rx = s.recv(1024)
	
	loop_time = (time() * 1000.0) - start_time
	print "Received message from beaglebone, with %sms round trip." % loop_time
	sleep(0.5)

def write(text):
   tmp.truncate()
   tmp.write(text)
   tmp.flush()

{'fraction_non_alphanumeric': 0.16492890995260664, 'fraction_numerical': 0.07962085308056872, 'mean_word_length': 4.12621359223301, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2708989', 'n_tokens_mistral': 482, 'n_tokens_neox': 417, 'n_words': 104}