<commit_before>
// websocket example with IDs - clients can broadcast to all other clients
// any data will just get forwarded on.

var connect = require('connect'), 
	ws = require('websocket.io'), 
	connections = [],
	lastID = Date.now();

var app = connect(); 

app.use(connect.static(__dirname+'/public'));
app.listen(8102); 

function broadcast(from, msg) {
  if(msg.length>1000) return; 
  connections.forEach(function (client) {
    if (from!=client){
      client.send(msg);
    }<commit_msg>minor fixes<commit_after>
// websocket example with IDs - clients can broadcast to all other clients
// any data will just get forwarded on.

var connect = require('connect'), 
	ws = require('websocket.io'), 
	connections = [],
	lastID = Date.now();

var app = connect(); 

app.use(connect.static(__dirname+'/public'));
app.listen(8102); 

function broadcast(from, msg) {
  if(msg.length>1000) return; 
  connections.forEach(function (client) {
    //if (from!=client){
      client.send(msg);
    //}
{'fraction_non_alphanumeric': 0.152, 'fraction_numerical': 0.016, 'mean_word_length': 3.9554455445544554, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '4501987', 'n_tokens_mistral': 332, 'n_tokens_neox': 300, 'n_words': 85}