<commit_before>var Primus = require('primus')
var express = require('express')
var http = require('http')
var rawSensorStream = process.platform === 'linux' ? require('./nrf-receiver.js') : require('./sensor-simulator.js')
var logToConsole = process.env.LOG_TO_CONSOLE
var SIGNALK_SERVER = process.env.SIGNALK_SERVER_URL ? process.env.SIGNALK_SERVER_URL : 'http://10.90.100.1'  // Defaults to Freya
var autopilot = process.env.USE_AUTOPILOT_SIMULATOR ? require('./autopilot-simulator') : require('./autopilot-controller.js')
var util = require('./util.js')
var requestProxy = require('express-request-proxy')
var Bacon = require('baconjs')
var _ = require('lodash')
var influxDbSender = require('./influxdb-sender')
var fs = require('fs')

var app = express()
app.use(express.static(__dirname + '/../public'))
var server = http.createServer(app)
var primus = new Primus(server)

server.listen(8080, () => {
  console.log('Listening on http://localhost:8080')<commit_msg>Use correct port for Fryea’s SignalK server<commit_after>var Primus = require('primus')
var express = require('express')
var http = require('http')
var rawSensorStream = process.platform === 'linux' ? require('./nrf-receiver.js') : require('./sensor-simulator.js')
var logToConsole = process.env.LOG_TO_CONSOLE
var SIGNALK_SERVER = process.env.SIGNALK_SERVER_URL ? process.env.SIGNALK_SERVER_URL : 'http://10.90.100.1:3000'  // Defaults to Freya
var autopilot = process.env.USE_AUTOPILOT_SIMULATOR ? require('./autopilot-simulator') : require('./autopilot-controller.js')
var util = require('./util.js')
var requestProxy = require('express-request-proxy')
var Bacon = require('baconjs')
var _ = require('lodash')
var influxDbSender = require('./influxdb-sender')
var fs = require('fs')

var app = express()
app.use(express.static(__dirname + '/../public'))
var server = http.createServer(app)
var primus = new Primus(server)

server.listen(8080, () => {
  console.log('Listening on http://localhost:8080')
{'fraction_non_alphanumeric': 0.1640506329113924, 'fraction_numerical': 0.018227848101265823, 'mean_word_length': 5.5647840531561465, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1597124', 'n_tokens_mistral': 670, 'n_tokens_neox': 634, 'n_words': 133}