<commit_before>
(compile 'clojars.scp)

(require 'clojars.scp)

(import 'com.martiansoftware.nailgun.NGServer
        'java.net.InetAddress)


(use 'clojars.web
     'compojure)

(require 'swank.swank)


(swank.swank/start-server "/dev/null" :port 4005)

(run-server {:port 8000}
                     "/*" (servlet clojars-app))

(println "starting nailgun")

(.run (NGServer. (InetAddress/getLocalHost) 8701))

(println "done")
<commit_msg>getLocalHost doesn't seem to always work.<commit_after>
(compile 'clojars.scp)

(require 'clojars.scp)

(import 'com.martiansoftware.nailgun.NGServer
        'java.net.InetAddress)


(use 'clojars.web
     'compojure)

(require 'swank.swank)


(swank.swank/start-server "/dev/null" :port 4005)

(run-server {:port 8000}
                     "/*" (servlet clojars-app))

(println "starting nailgun")

(.run (NGServer. (InetAddress/getByName "127.0.0.1") 8701))

(println "done")

{'fraction_non_alphanumeric': 0.15778019586507072, 'fraction_numerical': 0.03264417845484222, 'mean_word_length': 3.4878048780487805, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '4840261', 'n_tokens_mistral': 391, 'n_tokens_neox': 354, 'n_words': 68}