<commit_before>// vim: set softtabstop=3 shiftwidth=3:
module . exports = ZombieJesus

var http = require ('http')
var util = require ('util')
var stream = require ('stream')
if (process.version.match(/^\v0\.8/))
   stream = require ('readable-stream')

util . inherits (ZombieJesus, stream . Duplex)
function ZombieJesus (req, options) {
   var ΑΩ = this

   if (! (ΑΩ instanceof ZombieJesus))
      return new ZombieJesus (req, options)

   stream . Duplex.call (ΑΩ, options)
   ΑΩ . _α = http . request (req)
   ΑΩ . _α . on ('response', function (ω) {
      ΑΩ . _ω = ω
      ω . on ('data', function (c) {
         if (!ΑΩ . push (c))
            ΑΩ . _ω . pause ()
      })
      ω . on ('end', function() {
         ΑΩ . push (null)
      })
   })
   ΑΩ . _ω = null
}

ZombieJesus . prototype . _read = function (n) {
   if (this . _ω)
      this . _ω . resume ()
}

ZombieJesus . prototype . _write = function (chunk, encoding, cb) {
   return this . _α . write (chunk, encoding, cb)
}

ZombieJesus . prototype . end = function (chunk, encoding, cb) {
   return this . _α . end (chunk, encoding, cb)
}

//
//                               |
//                   \           |           /
//                    \          |          /
//                     \        _j_        /
//                      \    _ |888| _    /
//                       \.-"  |888|  "-./
//        `-._          .'_____|888|_____`.          _.-'
//            `-._    .' |888888888888888| `.    _.-'
//                `-./ | |888888888888888|   \,-'
//                  /__|__"""""|888|""""" _|_ \
//                 |   |  _..::|888|::.._  |   |
//        ---------|..-|:::::::|888|:::::::|-..|---------
//               .-::::|:::::::|888|::::::::::::-.
//             .:::::::|:::::::|888|:::::::::::::::.
//           .:::::::::::::::::|888|:::::::::::::::::.
//          :::::::::::::::::::|888|:::::::::::::::::::
//        .::::::::::::::::::::|888|::::::::::::::::::::.
//       .::::::::::::::::::::::"""::::::::::::::::::::::.
//      _____ _____     _____     _______  _______  _____   _____
//       \ /   \ /      / _ \      \  __ \  \  __ \  \ /     \ /
//       | |   | |     / / \ \     | |  \ \ | |  \ \  \ \   / /
//       | |___| |    / /___\ \    | |__/ / | |__/ /   \ \_/ /
//       |  ___  |    |  ___  |    |  ___/  |  ___/     \   /
//       | |   | |    | |   | |    | |      | |          | |
//       | |   | |    | |   | |    | |      | |          | |
//      _/_\_ _/_\_  _/_\_ _/_\_  _/_\_    _/_\_        _/_\_
// _________      _____      ______   _________  _________  _______
//  \  ____ |     / _ \     / ____ | | __   __ |  \  ____ |  \  __ \
//  | |    \|    / / \ \   / /    \| |/  | |  \|  | |    \|  | |  \ \
//  | |__/|     / /___\ \  \ \____       | |      | |__/|    | |__/ /
//  |  __ |     |  ___  |   \____ \      | |      |  __ |    |  __ <
//  | |  \|     | |   | |        \ \     | |      | |  \|    | |  \ \
//  | |____/|   | |   | |  |\____/ /     | |      | |____/|  | |   | |<commit_msg>[fix] cross on cross on cross<commit_after>// vim: set softtabstop=3 shiftwidth=3:
module . exports = ZombieJesus

var http = require ('http')
var util = require ('util')
var stream = require ('stream')
if (process.version.match(/^\v0\.8/))
   stream = require ('readable-stream')

util . inherits (ZombieJesus, stream . Duplex)
function ZombieJesus (req, options) {
   var ΑΩ = this

   if (! (ΑΩ instanceof ZombieJesus))
      return new ZombieJesus (req, options)

   stream . Duplex.call (ΑΩ, options)
   ΑΩ . _α = http . request (req)
   ΑΩ . _α . on ('response', function (ω) {
      ΑΩ . _ω = ω
      ω . on ('data', function (c) {
         if (!ΑΩ . push (c))
            ΑΩ . _ω . pause ()
      })
      ω . on ('end', function() {
         ΑΩ . push (null)
      })
   })
   ΑΩ . _ω = null
}

ZombieJesus . prototype . _read = function (n) {
   if (this . _ω)
      this . _ω . resume ()
}

ZombieJesus . prototype . _write = function (chunk, encoding, cb) {
   return this . _α . write (chunk, encoding, cb)
}

ZombieJesus . prototype . end = function (chunk, encoding, cb) {
   return this . _α . end (chunk, encoding, cb)
}

//
//                               |
//                   \           |           /
//                    \          |          /
//                     \        _j_        /
//                      \    _ |✟✟✟| _    /
//                       \.-"  |✟✟✟|  "-./
//        `-._          .'_____|✟✟✟|_____`.          _.-'
//            `-._    .' |✟✟✟✟✟✟✟✟✟✟✟✟✟✟✟| `.    _.-'
//                `-./ | |✟✟✟✟✟✟✟✟✟✟✟✟✟✟✟|   \,-'
//                  /__|__"""""|✟✟✟|""""" _|_ \
//                 |   |  _..::|✟✟✟|::.._  |   |
//        ---------|..-|:::::::|✟✟✟|:::::::|-..|---------
//               .-::::|:::::::|✟✟✟|::::::::::::-.
//             .:::::::|:::::::|✟✟✟|:::::::::::::::.
//           .:::::::::::::::::|✟✟✟|:::::::::::::::::.
//          :::::::::::::::::::|✟✟✟|:::::::::::::::::::
//        .::::::::::::::::::::|✟✟✟|::::::::::::::::::::.
//       .::::::::::::::::::::::"""::::::::::::::::::::::.
//      _____ _____     _____     _______  _______  _____   _____
//       \ /   \ /      / _ \      \  __ \  \  __ \  \ /     \ /
//       | |   | |     / / \ \     | |  \ \ | |  \ \  \ \   / /
//       | |___| |    / /___\ \    | |__/ / | |__/ /   \ \_/ /
//       |  ___  |    |  ___  |    |  ___/  |  ___/     \   /
//       | |   | |    | |   | |    | |      | |          | |
//       | |   | |    | |   | |    | |      | |          | |
//      _/_\_ _/_\_  _/_\_ _/_\_  _/_\_    _/_\_        _/_\_
// _________      _____      ______   _________  _________  _______
//  \  ____ |     / _ \     / ____ | | __   __ |  \  ____ |  \  __ \
//  | |    \|    / / \ \   / /    \| |/  | |  \|  | |    \|  | |  \ \
//  | |__/|     / /___\ \  \ \____       | |      | |__/|    | |__/ /
//  |  __ |     |  ___  |   \____ \      | |      |  __ |    |  __ <
//  | |  \|     | |   | |        \ \     | |      | |  \|    | |  \ \
//  | |____/|   | |   | |  |\____/ /     | |      | |____/|  | |   | |
{'fraction_non_alphanumeric': 0.28041543026706234, 'fraction_numerical': 0.011704582921200132, 'mean_word_length': 0.959625322997416, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 14, 'word_list_counts': {'cursed_substrings.json': 9, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6086527', 'n_tokens_mistral': 2436, 'n_tokens_neox': 2316, 'n_words': 283}