text:
<% include header.partial %>
<title>Confirm Reps</title>

Confirm Your Reps

				<form method='POST' action='/confirm_subscribe_code'>

					<input type='hidden' name='lat' value='<%= subscriber.lat %>' />
					<input
						type='hidden' name='long' value='<%= subscriber.long %>' />

						<input
						type='hidden' name='status' value='99' />

						<input type='hidden'
						name='number' value='<%= subscriber.number %>' '/>

						<input type='hidden'
						name='first_name' value="<%= subscriber.first_name %>"/>

						<input
						type='hidden' name='last_name' value='<%= subscriber.last_name %>' />

						<input
						type='hidden' name='email' value='<%= subscriber.email %>' />

						<input
						type='hidden' name='address' value='<%= subscriber.address %>' />

						<input
						type='hidden' name='city' value='<%= subscriber.city %>' />

						<input
						type='hidden' name='state' value='<%= subscriber.state %>' />

						<input
						type='hidden' name='zipcode' value='<%= subscriber.zipcode %>' />
						<input type='hidden' name='district' value='<%=subscriber.district %>' />
						<input type='hidden' name='confirmation_code' value='<%= subscriber.confirmation_code %>' />

							Enter the code sent to your cellphone
							<input type="text" name="entered_code" value="">

							<input type='submit' value='Save' />

				</form>


text:
/* FuseJS JavaScript framework, version <%= Version %>
 * (c) 2008-2010 John-David Dalton
 *
 * Prototype JavaScript framework, version 1.6.0.2
 * (c) 2005-2010 Sam Stephenson
 *
 * FuseJS and Prototype are distributed under an MIT-style license.
 * For details, see the FuseJS website: <http://www.fusejs.com/license.txt>
 * or the Prototype website: <http://www.prototypejs.org>
 *
 * Built: <%= Built %>
 * ----------------------------------------------------------------------------*/

(function(window) {

  // private vars
  var DATA_ID_PROP, PARENT_NODE, Document, Element, Node, NodeList, Window,
   domData, eachKey, envAddTest, envTest, fromElement, getDocument, getFuseId,
   getNodeName, getWindow, getOrCreateTagClass, hasKey, isArray, isElement,
   isHash, isNumber, isPrimitive, isRegExp, isString, returnOffset, undef,

  DOCUMENT_FRAGMENT_NODE = 11,

  DOCUMENT_NODE = 9,

  ELEMENT_NODE = 1,

  TEXT_NODE = 3,

  IDENTITY = function IDENTITY(x) { return x; },

  NOOP = function NOOP() { },

  NON_HOST_TYPES = { 'boolean': 1, 'number': 1, 'string': 1, 'undefined': 1 },

  slice = [].slice,

  setTimeout = window.setTimeout,

  uid = 'uid' + String(+new Date).slice(0, 12),

  userAgent = window.navigator && navigator.userAgent || '',

  addNodeListMethod = NOOP,

  addArrayMethods = (function() {
    var result = function(List) {
      var callbacks = addArrayMethods.callbacks, i = -1;
      while (callbacks[++i]) callbacks[i](List);
    };
    result.callbacks = [];
    return result;
  })(),

  capitalize = function(string) {
    return string.charAt(0).toUpperCase() + string.slice(1);
  },

  concatList = function(list, otherList) {
    var pad = list.length, length = otherList.length;
    while (length--) list[pad + length] = otherList[length];
    return list;
  },

  createGetter = function(name, value) {
    return Function('v', 'function ' + name + '(){return v;} return ' + name)(value);
  },

  escapeRegExpChars = (function() {
    var reSpecialChars = /([.*+?^=!:${}()|[\]\/\\])/g;
    return function(string) {
      return String(string).replace(reSpecialChars, '\\$1');
    };
  })(),

  isFunction = function isFunction(value) {
    return toString.call(value) == '[object Function]';
  },

  // Host objects can return type values that are different from their actual
  // data type. The objects we are concerned with usually return non-primitive
  // types of object, function, or unknown.
  isHostType = function isHostType(object, property) {
    var type = typeof object[property];
    return type == 'object' ? !!object[property] : !NON_HOST_TYPES[type];
  },

  prependList = function(list, value, result) {
    (result || (result = []))[0] = value;
    var length = list.length;
    while (length--) result[1 + length] = list[length];
    return result;
  },

  // ES5 9.4 ToInteger implementation
  toInteger = function(object) {
    // avoid issues with numbers larger than
    // Math.pow(2, 31) against bitwise operators
    var number = +object;
    return number === 0 || !isFinite(number)
      ? number || 0
      : Math.abs(number) < 2147483648 ? number | 0 : number - (number % 1);
  },

  // used to access an object's internal [[Class]] property
  // redefined later if there is no issues grabbing sandboxed natives [[Class]]
  toString = {
    'call': (function() {
      var __toString = {}.toString;
      return function(object) {
        return object != null && object['[[Class]]'] || __toString.call(object);
      };
    })()
  };

  /**
  * ## fuse.version
  *
  * The version of [FuseJS](http://fusejs.com) that you're using (e.g., <%= Version %>).
  */
  window.fuse = (function() {
    var fuse = function fuse() { };
    fuse.version = '<%= Version %>';
    return fuse;
  })();

  /*--------------------------------------------------------------------------*/

  (function() {
    var addNS = function addNS(path) {
      var Klass, key, i = -1,
       object = this,
       keys   = path.split('.'),
       length = keys.length;

      while (key = keys[++i]) {
        if (!object[key]) {
          Klass = fuse.Class(object.constructor.superclass || object, { 'constructor': key });
          object = object[key] = new Klass;
          object.plugin = Klass.plugin;
        } else {
          object = object[key];
        }
      }
      return object;
    },

    getNS = function getNS(path) {
      var key, i = -1, keys = path.split('.'), object = this;
      while (key = keys[++i])
        if (!(object = object[key])) return false;
      return object;
    },

    updateGenerics = function updateGenerics(path, deep) {
      var paths, object, i = -1;
      if (isString(paths)) paths = [paths];
      if (!isArray(paths)) deep  = path;
      if (!paths) paths = ['Array', 'Date', 'Number', 'Object', 'RegExp', 'String', 'dom.Event', 'dom.Node'];

      while (path = paths[++i]) {
        object = isString(path) ? fuse.getNS(path) : path;
        if (object) {
          if (isFunction(object.updateGenerics)) object.updateGenerics();
          deep && updateSubClassGenerics(object);
        }
      }
    },

    updateSubClassGenerics = function(object) {
      var subclass, subclasses = object.subclasses || [], i = -1;
      while (subclass = subclasses[++i]) {
        if (isFunction(subclass.updateGenerics)) subclass.updateGenerics();
        updateSubClassGenerics(subclass);
      }
    };

    fuse.getNS =
    fuse.prototype.getNS = getNS;

    fuse.addNS =
    fuse.prototype.addNS = addNS;

    fuse.updateGenerics  = updateGenerics;
  })();

  //= require "env"
  //= require "lang/features"
  //= require "lang/fusebox"

  //= require "lang/object"
  //= require "lang/class"
  //= require "lang/event"

  //= require "lang/function"
  //= require "lang/enumerable"
  //= require "lang/array"
  //= require "lang/number"
  //= require "lang/regexp"
  //= require "lang/string"

  //= require "lang/hash"
  //= require "lang/range"
  //= require "lang/script"
  //= require "lang/template"
  //= require "lang/timer"

  //= require "dom/features"
  //= require "dom/dom"
  //= require "dom/node"
  //= require "dom/document"
  //= require "dom/window"

  //= require "dom/element/create"
  //= require "dom/element/element"
  //= require "dom/element/modification"
  //= require "dom/element/attribute"
  //= require "dom/element/style"
  //= require "dom/element/position"
  //= require "dom/element/traversal"

  //= require "dom/form/field"
  //= require "dom/form/form"
  //= require "dom/form/event-observer"
  //= require "dom/form/timed-observer"

  //= require "dom/node-list"
  //= require "dom/selector/selector"
  //= require "dom/selector/nwmatcher"

  //= require "dom/event/event"
  //= require "dom/event/delegate"

  //= require "lang/console"
  //= require "lang/ecma"
  //= require "lang/grep"
  //= require "lang/html"
  //= require "lang/inspect"
  //= require "lang/json"
  //= require "lang/query"
  //= require "lang/util"

  //= require "ajax/ajax"
  //= require "ajax/responders"
  //= require "ajax/base"
  //= require "ajax/request"
  //= require "ajax/updater"
  //= require "ajax/timed-updater"
  /*--------------------------------------------------------------------------*/

  addArrayMethods(fuse.Array);

  (function(dom) {
    var Field, Form, NodeList;
    if (dom && (NodeList = dom.NodeList)) {
      if (Form = dom.FormElement) eachKey(Form.plugin, addNodeListMethod);
      if (Field = dom.InputElement) eachKey(Field.plugin, addNodeListMethod);
      eachKey(dom.Element.plugin, addNodeListMethod);

      // Pave any NodeList methods that fuse.Array shares.
      // Element first(), last(), and contains() may be called by using invoke()
      // Ex: elements.invoke('first');
      addArrayMethods(NodeList);
    }
  })(fuse.dom);

})(this);

(function(window) {
  //= require "dom/event/dispatcher.js"
  //= require "dom/event/dom-loaded.js"
})(this);

// update native generics and element methods
fuse.updateGenerics(true);

redpajama_set_name: RedPajamaGithub


text:
using Python.Runtime;
using QuantConnect.Data;
using System;
using System.Collections.Generic;

namespace QuantConnect.Python
{
    /// <summary>
    /// Dynamic data class for Python algorithms.
    /// Stores properties of python instances in DynamicData dictionary
    /// </summary>
    public class PythonData : DynamicData
    {
        private readonly dynamic _pythonData;
        private readonly dynamic _defaultResolution;
        private readonly dynamic _supportedResolutions;
        private readonly dynamic _isSparseData;
        private readonly dynamic _requiresMapping;

        /// <summary>
        /// Constructor for initializing the PythonData class
        /// </summary>
        public PythonData()
        {
            //Empty constructor required for fast-reflection initialization
        }

        /// <summary>
        /// Constructor for initializing the PythonData class with wrapped PyObject
        /// </summary>
        /// <param name="pythonData"></param>
        public PythonData(PyObject pythonData)
        {
            _pythonData = pythonData;
            using (Py.GIL())
            {
                // these methods rely on the Symbol so we can call them yet but we can get them
                _requiresMapping = pythonData.GetPythonMethod("RequiresMapping");
                _isSparseData = pythonData.GetPythonMethod("IsSparseData");
                _defaultResolution = pythonData.GetPythonMethod("DefaultResolution");
                _supportedResolutions = pythonData.GetPythonMethod("SupportedResolutions");
            }
        }

        /// <summary>
        /// Source Locator for algorithm written in Python.
        /// </summary>
        /// <param name="config">Subscription configuration object</param>
        /// <param name="date">Date of the data file we're looking for</param>
        /// <param name="isLiveMode">true if we're in live mode, false for backtesting mode</param>
        /// <returns>STRING API Url.</returns>
        public override SubscriptionDataSource GetSource(SubscriptionDataConfig config, DateTime date, bool isLiveMode)
        {
            using (Py.GIL())
            {
                var source = _pythonData.GetSource(config, date, isLiveMode);
                return (source as PyObject).GetAndDispose<SubscriptionDataSource>();
            }
        }

        /// <summary>
        /// Generic Reader Implementation for Python Custom Data.
        /// </summary>
        /// <param name="config">Subscription configuration</param>
        /// <param name="line">CSV line of data from the source</param>
        /// <param name="date">Date of the requested line</param>
        /// <param name="isLiveMode">true if we're in live mode, false for backtesting mode</param>
        /// <returns></returns>
        public override BaseData Reader(SubscriptionDataConfig config, string line, DateTime date, bool isLiveMode)
        {
            using (Py.GIL())
            {
                var data = _pythonData.Reader(config, line, date, isLiveMode);
                return (data as PyObject).GetAndDispose<BaseData>();
            }
        }

        /// <summary>
        /// Indicates if there is support for mapping
        /// </summary>
        /// <returns>True indicates mapping should be used</returns>
        public override bool RequiresMapping()
        {
            if (_requiresMapping == null)
            {
                return base.RequiresMapping();
            }
            using (Py.GIL())
            {
                return _requiresMapping();
            }
        }

        /// <summary>
        /// Indicates that the data set is expected to be sparse
        /// </summary>
        /// <remarks>Relies on the <see cref="Symbol"/> property value</remarks>
        /// <returns>True if the data set represented by this type is expected to be sparse</returns>
        public override bool IsSparseData()
        {
            if (_isSparseData == null)
            {
                return base.IsSparseData();
            }
            using (Py.GIL())
            {
                return _isSparseData();
            }
        }

        /// <summary>
        /// Gets the default resolution for this data and security type
        /// </summary>
        /// <remarks>This is a method and not a property so that python
        /// custom data types can override it</remarks>
        public override Resolution DefaultResolution()
        {
            if (_defaultResolution == null)
            {
                return base.DefaultResolution();
            }
            using (Py.GIL())
            {
                return _defaultResolution();
            }
        }

        /// <summary>
        /// Gets the supported resolution for this data and security type
        /// </summary>
        /// <remarks>This is a method and not a property so that python
        /// custom data types can override it</remarks>
        public override List<Resolution> SupportedResolutions()
        {
            if (_supportedResolutions == null)
            {
                return base.SupportedResolutions();
            }
            using (Py.GIL())
            {
                return _supportedResolutions();
            }
        }

        /// <summary>
        /// Indexes into this PythonData, where index is key to the dynamic property
        /// </summary>
        /// <param name="index">the index</param>
        /// <returns>Dynamic property of a given index</returns>
        public object this[string index]
        {
            get
            {
                return GetProperty(index);
            }

            set
            {
                SetProperty(index, value is double ? value.ConvertInvariant<decimal>() : value);
            }
        }
    }
}


text:
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/cronet/android/chromium_url_request.h"

#include "base/android/jni_android.h"
#include "base/android/jni_string.h"
#include "base/macros.h"
#include "components/cronet/android/url_request_adapter.h"
#include "components/cronet/android/url_request_context_adapter.h"
#include "jni/ChromiumUrlRequest_jni.h"
#include "net/base/net_errors.h"
#include "net/base/request_priority.h"
#include "net/http/http_response_headers.h"

using base::android::ConvertUTF8ToJavaString;
using base::android::ConvertJavaStringToUTF8;

namespace cronet {
namespace {

net::RequestPriority ConvertRequestPriority(jint request_priority) {
  switch (request_priority) {
    case REQUEST_PRIORITY_IDLE:
      return net::IDLE;
    case REQUEST_PRIORITY_LOWEST:
      return net::LOWEST;
    case REQUEST_PRIORITY_LOW:
      return net::LOW;
    case REQUEST_PRIORITY_MEDIUM:
      return net::MEDIUM;
    case REQUEST_PRIORITY_HIGHEST:
      return net::HIGHEST;
    default:
      return net::LOWEST;
  }
}

void SetPostContentType(JNIEnv* env,
                        URLRequestAdapter* request_adapter,
                        jstring content_type) {
  std::string method_post("POST");
  request_adapter->SetMethod(method_post);

  std::string content_type_header("Content-Type");
  std::string content_type_string(ConvertJavaStringToUTF8(env, content_type));

  request_adapter->AddHeader(content_type_header, content_type_string);
}

// A delegate of URLRequestAdapter that delivers callbacks to the Java layer.
class JniURLRequestAdapterDelegate
    : public URLRequestAdapter::URLRequestAdapterDelegate {
 public:
  JniURLRequestAdapterDelegate(JNIEnv* env, jobject owner) {
    owner_ = env->NewGlobalRef(owner);
  }

  void OnResponseStarted(URLRequestAdapter* request_adapter) override {
    JNIEnv* env = base::android::AttachCurrentThread();
    cronet::Java_ChromiumUrlRequest_onResponseStarted(env, owner_);
  }

  void OnBytesRead(URLRequestAdapter* request_adapter,
                   int bytes_read) override {
    if (bytes_read != 0) {
      JNIEnv* env = base::android::AttachCurrentThread();
      base::android::ScopedJavaLocalRef<jobject> java_buffer(
          env, env->NewDirectByteBuffer(request_adapter->Data(), bytes_read));
      cronet::Java_ChromiumUrlRequest_onBytesRead(
          env, owner_, java_buffer.obj());
    }
  }

  void OnRequestFinished(URLRequestAdapter* request_adapter) override {
    JNIEnv* env = base::android::AttachCurrentThread();
    cronet::Java_ChromiumUrlRequest_finish(env, owner_);
  }

  int ReadFromUploadChannel(net::IOBuffer* buf, int buf_length) override {
    JNIEnv* env = base::android::AttachCurrentThread();
    base::android::ScopedJavaLocalRef<jobject> java_buffer(
        env, env->NewDirectByteBuffer(buf->data(), buf_length));
    jint bytes_read = cronet::Java_ChromiumUrlRequest_readFromUploadChannel(
        env, owner_, java_buffer.obj());
    return bytes_read;
  }

 protected:
  ~JniURLRequestAdapterDelegate() override {
    JNIEnv* env = base::android::AttachCurrentThread();
    env->DeleteGlobalRef(owner_);
  }

 private:
  jobject owner_;

  DISALLOW_COPY_AND_ASSIGN(JniURLRequestAdapterDelegate);
};

}  // namespace

// Explicitly register static JNI functions.
bool ChromiumUrlRequestRegisterJni(JNIEnv* env) {
  return RegisterNativesImpl(env);
}

static jlong CreateRequestAdapter(JNIEnv* env,
                                  jobject jcaller,
                                  jlong jurl_request_context_adapter,
                                  jstring jurl,
                                  jint jrequest_priority) {
  URLRequestContextAdapter* context_adapter =
      reinterpret_cast<URLRequestContextAdapter*>(jurl_request_context_adapter);
  DCHECK(context_adapter);

  GURL url(ConvertJavaStringToUTF8(env, jurl));

  VLOG(1) << "New chromium network request: " << url.possibly_invalid_spec();

  URLRequestAdapter* adapter = new URLRequestAdapter(
      context_adapter, new JniURLRequestAdapterDelegate(env, jcaller), url,
      ConvertRequestPriority(jrequest_priority));

  return reinterpret_cast<jlong>(adapter);
}

// synchronized
static void AddHeader(JNIEnv* env,
                      jobject jcaller,
                      jlong jurl_request_adapter,
                      jstring jheader_name,
                      jstring jheader_value) {
  URLRequestAdapter* request_adapter =
      reinterpret_cast<URLRequestAdapter*>(jurl_request_adapter);
  DCHECK(request_adapter);

  std::string header_name(ConvertJavaStringToUTF8(env, jheader_name));
  std::string header_value(ConvertJavaStringToUTF8(env, jheader_value));

  request_adapter->AddHeader(header_name, header_value);
}

static void SetMethod(JNIEnv* env,
                      jobject jcaller,
                      jlong jurl_request_adapter,
                      jstring jmethod) {
  URLRequestAdapter* request_adapter =
      reinterpret_cast<URLRequestAdapter*>(jurl_request_adapter);
  DCHECK(request_adapter);

  std::string method(ConvertJavaStringToUTF8(env, jmethod));

  request_adapter->SetMethod(method);
}

static void SetUploadData(JNIEnv* env,
                          jobject jcaller,
                          jlong jurl_request_adapter,
                          jstring jcontent_type,
                          jbyteArray jcontent) {
  URLRequestAdapter* request_adapter =
      reinterpret_cast<URLRequestAdapter*>(jurl_request_adapter);
  DCHECK(request_adapter);
  SetPostContentType(env, request_adapter, jcontent_type);

  if (jcontent != NULL) {
    jsize size = env->GetArrayLength(jcontent);
    if (size > 0) {
      jbyte* content_bytes = env->GetByteArrayElements(jcontent, NULL);
      request_adapter->SetUploadContent(
          reinterpret_cast<const char*>(content_bytes), size);
      env->ReleaseByteArrayElements(jcontent, content_bytes, 0);
    }
  }
}

static void SetUploadChannel(JNIEnv* env,
                             jobject jcaller,
                             jlong jurl_request_adapter,
                             jstring jcontent_type,
                             jlong jcontent_length) {
  URLRequestAdapter* request_adapter =
      reinterpret_cast<URLRequestAdapter*>(jurl_request_adapter);
  DCHECK(request_adapter);
  SetPostContentType(env, request_adapter, jcontent_type);

  request_adapter->SetUploadChannel(env, jcontent_length);
}

static void EnableChunkedUpload(JNIEnv* env,
                                jobject jcaller,
                                jlong jurl_request_adapter,
                                jstring jcontent_type) {
  URLRequestAdapter* request_adapter =
      reinterpret_cast<URLRequestAdapter*>(jurl_request_adapter);
  DCHECK(request_adapter);
  SetPostContentType(env, request_adapter, jcontent_type);

  request_adapter->EnableChunkedUpload();
}

static void AppendChunk(JNIEnv* env,
                        jobject jcaller,
                        jlong jurl_request_adapter,
                        jobject jchunk_byte_buffer,
                        jint jchunk_size,
                        jboolean jis_last_chunk) {
  URLRequestAdapter* request_adapter =
      reinterpret_cast<URLRequestAdapter*>(jurl_request_adapter);
  DCHECK(request_adapter);
  DCHECK(jchunk_byte_buffer);

  void* chunk = env->GetDirectBufferAddress(jchunk_byte_buffer);
  request_adapter->AppendChunk(reinterpret_cast<const char*>(chunk),
                               jchunk_size, jis_last_chunk);
}

/* synchronized */
static void Start(JNIEnv* env, jobject jcaller, jlong jurl_request_adapter) {
  URLRequestAdapter* request_adapter =
      reinterpret_cast<URLRequestAdapter*>(jurl_request_adapter);
  if (request_adapter != NULL)
    request_adapter->Start();
}

/* synchronized */
static void DestroyRequestAdapter(JNIEnv* env,
                                  jobject jcaller,
                                  jlong jurl_request_adapter) {
  URLRequestAdapter* request_adapter =
      reinterpret_cast<URLRequestAdapter*>(jurl_request_adapter);
  if (request_adapter != NULL)
    request_adapter->Destroy();
}

/* synchronized */
static void Cancel(JNIEnv* env, jobject jcaller, jlong jurl_request_adapter) {
  URLRequestAdapter* request_adapter =
      reinterpret_cast<URLRequestAdapter*>(jurl_request_adapter);
  if (request_adapter != NULL)
    request_adapter->Cancel();
}

static jint GetErrorCode(JNIEnv* env,
                         jobject jcaller,
                         jlong jurl_request_adapter) {
  URLRequestAdapter* request_adapter =
      reinterpret_cast<URLRequestAdapter*>(jurl_request_adapter);
  DCHECK(request_adapter);
  int error_code = request_adapter->error_code();
  switch (error_code) {
    // TODO(mef): Investigate returning success on positive values, too, as
    // they technically indicate success.
    case net::OK:
      return REQUEST_ERROR_SUCCESS;

    // TODO(mef): Investigate this. The fact is that Chrome does not do this,
    // and this library is not just being used for downloads.

    // Comment from src/content/browser/download/download_resource_handler.cc:
    // ERR_CONTENT_LENGTH_MISMATCH and ERR_INCOMPLETE_CHUNKED_ENCODING are
    // allowed since a number of servers in the wild close the connection too
    // early by mistake. Other browsers - IE9, Firefox 11.0, and Safari 5.1.4 -
    // treat downloads as complete in both cases, so we follow their lead.
    case net::ERR_CONTENT_LENGTH_MISMATCH:
    case net::ERR_INCOMPLETE_CHUNKED_ENCODING:
      return REQUEST_ERROR_SUCCESS;

    case net::ERR_INVALID_URL:
    case net::ERR_DISALLOWED_URL_SCHEME:
    case net::ERR_UNKNOWN_URL_SCHEME:
      return REQUEST_ERROR_MALFORMED_URL;

    case net::ERR_CONNECTION_TIMED_OUT:
      return REQUEST_ERROR_CONNECTION_TIMED_OUT;

    case net::ERR_NAME_NOT_RESOLVED:
      return REQUEST_ERROR_UNKNOWN_HOST;
    case net::ERR_TOO_MANY_REDIRECTS:
      return REQUEST_ERROR_TOO_MANY_REDIRECTS;
  }
  return REQUEST_ERROR_UNKNOWN;
}

static jstring GetErrorString(JNIEnv* env,
                              jobject jcaller,
                              jlong jurl_request_adapter) {
  URLRequestAdapter* request_adapter =
      reinterpret_cast<URLRequestAdapter*>(jurl_request_adapter);
  DCHECK(request_adapter);
  int error_code = request_adapter->error_code();
  char buffer[200];
  std::string error_string = net::ErrorToString(error_code);
  snprintf(buffer,
           sizeof(buffer),
           "System error: %s(%d)",
           error_string.c_str(),
           error_code);
  return ConvertUTF8ToJavaString(env, buffer).Release();
}

static jint GetHttpStatusCode(JNIEnv* env,
                              jobject jcaller,
                              jlong jurl_request_adapter) {
  URLRequestAdapter* request_adapter =
      reinterpret_cast<URLRequestAdapter*>(jurl_request_adapter);
  DCHECK(request_adapter);
  return request_adapter->http_status_code();
}

static jstring GetHttpStatusText(JNIEnv* env,
                                 jobject jcaller,
                                 jlong jurl_request_adapter) {
  URLRequestAdapter* request_adapter =
      reinterpret_cast<URLRequestAdapter*>(jurl_request_adapter);
  DCHECK(request_adapter);
  return ConvertUTF8ToJavaString(env, request_adapter->http_status_text())
      .Release();
}

static jstring GetContentType(JNIEnv* env,
                              jobject jcaller,
                              jlong jurl_request_adapter) {
  URLRequestAdapter* request_adapter =
      reinterpret_cast<URLRequestAdapter*>(jurl_request_adapter);
  DCHECK(request_adapter);
  std::string type = request_adapter->content_type();
  if (!type.empty()) {
    return ConvertUTF8ToJavaString(env, type.c_str()).Release();
  } else {
    return NULL;
  }
}

static jlong GetContentLength(JNIEnv* env,
                              jobject jcaller,
                              jlong jurl_request_adapter) {
  URLRequestAdapter* request_adapter =
      reinterpret_cast<URLRequestAdapter*>(jurl_request_adapter);
  DCHECK(request_adapter);
  return request_adapter->content_length();
}

static jstring GetHeader(JNIEnv* env,
                         jobject jcaller,
                         jlong jurl_request_adapter,
                         jstring jheader_name) {
  URLRequestAdapter* request_adapter =
      reinterpret_cast<URLRequestAdapter*>(jurl_request_adapter);
  DCHECK(request_adapter);
  std::string header_name = ConvertJavaStringToUTF8(env, jheader_name);
  std::string header_value = request_adapter->GetHeader(header_name);
  if (!header_value.empty())
    return ConvertUTF8ToJavaString(env, header_value.c_str()).Release();
  return NULL;
}

static void GetAllHeaders(JNIEnv* env,
                          jobject jcaller,
                          jlong jurl_request_adapter,
                          jobject jheaders_map) {
  URLRequestAdapter* request_adapter =
      reinterpret_cast<URLRequestAdapter*>(jurl_request_adapter);
  DCHECK(request_adapter);

  net::HttpResponseHeaders* headers = request_adapter->GetResponseHeaders();
  if (headers == NULL)
    return;

  void* iter = NULL;
  std::string header_name;
  std::string header_value;
  while (headers->EnumerateHeaderLines(&iter, &header_name, &header_value)) {
    ScopedJavaLocalRef<jstring> name =
        ConvertUTF8ToJavaString(env, header_name);
    ScopedJavaLocalRef<jstring> value =
        ConvertUTF8ToJavaString(env, header_value);
    Java_ChromiumUrlRequest_onAppendResponseHeader(env, jcaller, jheaders_map,
                                                   name.obj(), value.obj());
  }

  // Some implementations (notably HttpURLConnection) include a mapping for the
  // null key; in HTTP's case, this maps to the HTTP status line.
  ScopedJavaLocalRef<jstring> status_line =
      ConvertUTF8ToJavaString(env, headers->GetStatusLine());
  Java_ChromiumUrlRequest_onAppendResponseHeader(env, jcaller, jheaders_map,
                                                 NULL, status_line.obj());
}

static jstring GetNegotiatedProtocol(JNIEnv* env,
                                     jobject jcaller,
                                     jlong jurl_request_adapter) {
  URLRequestAdapter* request_adapter =
      reinterpret_cast<URLRequestAdapter*>(jurl_request_adapter);
  DCHECK(request_adapter);

  std::string negotiated_protocol = request_adapter->GetNegotiatedProtocol();
  return ConvertUTF8ToJavaString(env, negotiated_protocol.c_str()).Release();
}

static void DisableRedirects(JNIEnv* env, jobject jcaller,
                             jlong jrequest_adapter) {
  URLRequestAdapter* request_adapter =
      reinterpret_cast<URLRequestAdapter*>(jrequest_adapter);
  DCHECK(request_adapter);
  request_adapter->DisableRedirects();
}

}  // namespace cronet


text:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataGen.NumberToWords.Common
{
    public class NullNumberInWords : INumberInWords
    {
        public string Value
        {
            get
            {
                return string.Empty;
            }
        }
    }
}


text:
<!DOCTYPE html>

        <title>getScreenId.js / Use single chrome extension for all domains! ® Muaz Khan</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
        <link rel="author" type="text/html" href="https://plus.google.com/+MuazKhan">
        <meta name="author" content="Muaz Khan">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

        <link rel="stylesheet" href="https://cdn.webrtc-experiment.com/style.css">

                    getScreenId.js: Use single chrome extension for all domains! ®
                    Muaz Khan

                    HOME
                     ©
                    Muaz Khan

                    .
                    @WebRTCWeb

                    .
                    Github

                    .
                    Latest issues

                    .
                    What's New?

                Simply use getScreenId.js and enjoy screen capturing from any domain. You don't need to deploy chrome extension yourself. You can refer your users to install this chrome extension instead. Also, getScreenId.js auto-fallbacks to command-line based screen capturing if chrome extension isn't installed or disabled. getScreenId.js throws clear exceptions which is helpful for end-user experiences.

                <video controls autoplay style="max-width:100%"></video>

                <button id="capture-screen">Capture Screen</button>

Prerequisites

                        Chrome?
                        Install chrome extension.
                        <button onclick="!!navigator.webkitGetUserMedia && !!window.chrome && !!chrome.webstore && !!chrome.webstore.install && chrome.webstore.install('https://chrome.google.com/webstore/detail/ajhifddimkapgcifgcodmmfdlknahffk', function() {location.reload();})" id="install-button" style="padding: 0;background: none;height: 61px;vertical-align: middle;cursor:pointer;">

                        </button>
                         / Source Code

                        Firefox? Install Firefox Extension / Source Code

                    How to use getScreenId.js?

<script src="https://cdn.WebRTC-Experiment.com/getScreenId.js"></script>

getScreenId(function (error, sourceId, screen_constraints) {
    // error    == null || 'permission-denied' || 'not-installed' || 'installed-disabled' || 'not-chrome'
    // sourceId == null || 'string' || 'firefox'

    navigator.getUserMedia = navigator.mozGetUserMedia || navigator.webkitGetUserMedia;
    navigator.getUserMedia(screen_constraints, function (stream) {
        document.querySelector('video').src = URL.createObjectURL(stream);
    }, function (error) {
        console.error(error);
    });
});

Or...

getScreenId(function (error, sourceId, screen_constraints) {
    // error    == null || 'permission-denied' || 'not-installed' || 'installed-disabled' || 'not-chrome'
    // sourceId == null || 'string' || 'firefox'

    if(sourceId && sourceId != 'firefox') {
        screen_constraints = {
            video: {
                mandatory: {
                    chromeMediaSource: 'screen',
                    maxWidth: 1920,
                    maxHeight: 1080,
                    minAspectRatio: 1.77
                }
            }
        };

        if (error === 'permission-denied') return alert('Permission is denied.');
        if (error === 'not-chrome') return alert('Please use chrome.');

        if (!error && sourceId) {
            screen_constraints.video.mandatory.chromeMediaSource = 'desktop';
            screen_constraints.video.mandatory.chromeMediaSourceId = sourceId;
        }
    }

    navigator.getUserMedia = navigator.mozGetUserMedia || navigator.webkitGetUserMedia;
    navigator.getUserMedia(screen_constraints, function (stream) {
        document.querySelector('video').src = URL.createObjectURL(stream);
    }, function (error) {
        console.error(error);
    });
});

Feedback

                    <textarea id="message" style="border: 1px solid rgb(189, 189, 189); height: 8em; margin: .2em; outline: none; resize: vertical; width: 98%;" placeholder="Have any message? Suggestions or something went wrong?"></textarea>

                <button id="send-message" style="font-size: 1em;">Send Message</button>Enter your email too; if you want "direct" reply!

Latest Updates

                WebRTC Experiments
                © Muaz Khan
                muazkh@gmail.com


text:
//
//  main.c
//  SpeakingLion
//
//  Created by Boris Bügling on 20.07.11.
//  Copyright 2011. All rights reserved.
//

#import "NNLanguageAnalyzer.h"
#import "NNSpeech.h"

void speakSentencesInCString(char *cString);

void speakSentencesInCString(char *cString) {
    NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];

    NNLanguageAnalyzer* analyzer = [[NNLanguageAnalyzer alloc] initWithString:[NSString stringWithCString:cString
                                                                                encoding:NSUTF8StringEncoding]];

    NSArray* sentenceRanges;
    NSArray* languages = [analyzer languagesForSentences:&sentenceRanges];

    NNSpeech* speech = [[NNSpeech alloc] init];

    for (int i = 0; i < [languages count]; i++) {
        NSString* language = [languages objectAtIndex:i];

        if ([language length] < 1 || [language isEqualToString:kUndefinedLanguage]) continue;

        NSString* voiceName = [NNSpeech voiceForLanguage:language];

        if (!voiceName) {
            fprintf(stderr, "No voice available for language '%s'.\n", [language cStringUsingEncoding:NSASCIIStringEncoding]);
            continue;
        }

        [speech speakText:[analyzer.tagger.string substringWithRange:NSRangeFromString([sentenceRanges objectAtIndex:i])]
                withVoice:voiceName];
    }

    [speech release];
    [analyzer release];
    [pool release];
}

int main (int argc, const char * argv[]) {
    /*speakSentencesInCString("Klaus geht über die Straße. He is just some random guy. L'état c'est moi."
                            " Vielleicht liegt es daran, dass er Klaus ist. Nyan Nyan Nyan.");*/

    char line[255];
    while( fgets(line, sizeof(line), stdin) != NULL ) {
        speakSentencesInCString(line);
    }

    fclose(stdin);
    return 0;
}


text:
FactoryGirl.define do
  factory :step, class: Step do
    description 'This is a test description from FactoryGirl.'
  end

  trait :with_order do
    sequence(:display_order) { |n| n }
  end
end


text:
import Adafruit_MCP9808.MCP9808 as MCP9808

sensor = MCP9808.MCP9808(address=0x18, busnum=1)

def handleSpaData():
    pass

def sendData():
    return sensor.readTempC()

def init():
    sensor.begin()
    pass


text:
require 'goliath/rack'
require 'rack/csrf'

##
# Cors.rb
# Cross domain middle ware

module Actn
  module Api
    module Mw
      class Cors

        include Goliath::Rack::AsyncMiddleware

        def initialize(app)
          @app = app
        end

        def call(env)
          if env['REQUEST_METHOD'] == 'OPTIONS'
            [200, cors_headers(env,false), []]
          else
            super(env)
          end
        end

        def post_process(env, status, headers, body)
          headers = cors_headers(env).merge(headers)
          [status, headers, body]
        end

        private

        attr_accessor :options

        def cors_headers env, csrf = true
          headers = {}
          headers['Access-Control-Allow-Credentials'] = 'true'
          headers['Access-Control-Allow-Origin'] = env['HTTP_ORIGIN']
          headers['Access-Control-Allow-Methods'] = 'GET, POST, PUT, PATCH, DELETE, OPTIONS'
          headers['Access-Control-Allow-Headers'] = '*, X-Requested-With, X-Prototype-Version, X-CSRF-Token, Authorization, Origin, Accept, Content-Type, Referer'
          headers['Access-Control-Expose-Headers'] = 'X_CSRF_TOKEN, X_APIKEY'
          headers['Access-Control-Max-Age'] = "#{Client::TTL}"
          headers['P3P'] = 'CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"'

          headers['X_CSRF_TOKEN'] = Rack::Csrf.token(env) if csrf

          client_headers_to_approve = env['HTTP_ACCESS_CONTROL_REQUEST_HEADERS'].to_s.gsub(/[^\w\-\,]+/,'')
          headers['Access-Control-Allow-Headers'] += ",#{client_headers_to_approve}" if not client_headers_to_approve.empty?

          headers
        end

      end
    end
  end
end


text:
@interface JXPopupViewAnimationSpring : NSObject<JXPopupAnimation>

@end


text:
/**
 * Apache Licence Version 2.0
 * Please read the LICENCE file
 */
package org.hypothesis.event.model;

import com.vaadin.server.ErrorHandler;

/**
 * @author Kamil Morong, Tilioteo Ltd
 *
 *         Hypothesis
 *
 */
@SuppressWarnings("serial")
public class NextBranchEvent extends AbstractRunningEvent {

	public NextBranchEvent() {
		this(null);
	}

	public NextBranchEvent(ErrorHandler errorHandler) {
		super(errorHandler);
	}

	@Override
	public String getName() {
		return ProcessEventTypes.NextBranch;
	}

}


text:
<!DOCTYPE html>

		<link href="http://gmpg.org/xfn/11" rel="profile">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta http-equiv="content-type" content="text/html; charset=utf-8">

		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">

		<title>What are Git?</title>

		<link href="//fonts.googleapis.com/" rel="dns-prefetch">
		<link href="//fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic|Abril+Fatface|PT+Sans:400,400italic,700&subset=latin,latin-ext" rel="stylesheet">

		<link rel="stylesheet" href="https://tuvokki.github.io/theme/css/poole.css" />
		<link rel="stylesheet" href="https://tuvokki.github.io/theme/css/hyde.css" />
		<link rel="stylesheet" href="https://tuvokki.github.io/theme/css/syntax.css" />
		<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">

		<link rel="alternate" type="application/rss+xml" title="RSS" href="/atom.xml">

					What are Git?

Byobu-is-great

	Mon 18 April 2016

I recently switched from good 'ol GNU Screen to the more flexible Byobu. Nice, versatile and handy, but also clumsy in the beginning beacuse I have to unlearn all my standard keystrokes to do stuff and learn new ones. Here's a list to refer to when I'm stuck.

KEYBINDINGS

byobu keybindings can be user defined in /usr/share/byobu/keybindings/ (or within .screenrc if byobu-export was used).

The  common  key  bindings are:

Key
Action

F2
Create a new window

F3
Move to previous window

F4
Move to next window

F5
Reload profile

F6
Detach from this session

F7
Enter copy/scrollback mode

F8
Re-title a window

F9
Configuration Menu

F12
Lock this terminal

shift-F2
Split the screen horizontally

ctrl-F2
Split the screen vertically

shift-F3
Shift the focus to the previous split region

shift-F4
Shift the focus to the next split region

shift-F5
Join all splits

ctrl-F6
Remove this split

ctrl-F5
Reconnect GPG and SSH sockets

shift-F6
Detach, but do not logout

alt-pgup
Enter scrollback mode

alt-pgdn
Enter scrollback mode

Ctrl-a $
show detailed status

Ctrl-a R
Reload profile

Ctrl-a !
Toggle key bindings on and off

Ctrl-a k
Kill the current window

Ctrl-a ~
Save the current window's scrollback buffer

SCROLLBACK, COPY, PASTE MODES

Each window in Byobu has up to 10,000 lines of scrollback history, which you can enter and navigate using the alt-pgup and alt-pgdn keys.Exit scrollback mode by hitting enter.

You can also easily copy and paste text from scrollback mode. To do so, enter scrollback using alt-pgup or alt-pgdn, press the spacebar to start highlighting text, use up/down/left/right/pgup/pgdn to select the text, and press enter to copy the text. You can then paste the text using alt-insert or ctrl-a-].


text:
package com.my.blog.website.modal.Vo;

import java.io.Serializable;

/**
 * @author
 */
public class RelationshipVoKey implements Serializable {
    /**
     * 内容主键
     */
    private Integer cid;

    /**
     * 项目主键
     */
    private Integer mid;

    private static final long serialVersionUID = 1L;

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }
}


text:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />

    <title>Chat - HinaPress</title>

    <meta name="HandheldFriendly" content="True">
    <meta name="MobileOptimized" content="320">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

    <meta name="description" content="">

    <meta name="twitter:card" content="summary">
    <meta name="twitter:title" content="Chat">
    <meta name="twitter:description" content="">

    <meta property="og:type" content="article">
    <meta property="og:title" content="Chat">
    <meta property="og:description" content="">

    <link href="/favicon.ico" rel="shortcut icon" type="image/x-icon">
    <link href="/apple-touch-icon-precomposed.png" rel="apple-touch-icon">

    <link rel="stylesheet" type="text/css" href="//hubpress.hnle.tk/themes/uno/assets/css/uno.css?v=1517748543127" />

    <link rel="canonical" href="http://hubpress.hnle.tk/2015/03/27/Chat.html" />
    <meta name="referrer" content="origin" />

    <meta property="og:site_name" content="HinaPress" />
    <meta property="og:type" content="article" />
    <meta property="og:title" content="Chat" />
    <meta property="og:description" content="Abbott: Strange as it may seem, they give ball players nowadays very peculiar names. Costello: Funny names? Abbott: Nicknames, nicknames. Now, on the St. Louis team we have Who&#8217;s on first, What&#8217;s on second, I Don&#8217;t Know is on third-- Costello: That&#8217;s" />
    <meta property="og:url" content="http://hubpress.hnle.tk/2015/03/27/Chat.html" />
    <meta property="article:published_time" content="2015-03-27T00:00:00.000Z" />
    <meta name="twitter:card" content="summary" />
    <meta name="twitter:title" content="Chat" />
    <meta name="twitter:description" content="Abbott: Strange as it may seem, they give ball players nowadays very peculiar names. Costello: Funny names? Abbott: Nicknames, nicknames. Now, on the St. Louis team we have Who&#8217;s on first, What&#8217;s on second, I Don&#8217;t Know is on third-- Costello: That&#8217;s" />
    <meta name="twitter:url" content="http://hubpress.hnle.tk/2015/03/27/Chat.html" />

    <meta name="generator" content="HubPress" />
    <link rel="alternate" type="application/rss+xml" title="HinaPress" href="http://hubpress.hnle.tk/rss/" />
    <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.10.0/styles/atom-one-dark.min.css">

HinaPress

An another blog.

Blog

                      Facebook

                      Twitter

                      Github

        <time datetime="27 Mar 2015" class="post-meta__date date">27 Mar 2015</time> •
         by Hinaloe

Chat

Abbott: Strange as it may seem, they give ball players nowadays very peculiar names.

Costello: Funny names?

Abbott: Nicknames, nicknames. Now, on the St. Louis team we have Who’s on first, What’s on second, I Don’t Know is on third--

Costello: That’s what I want to find out. I want you to tell me the names of the fellows on the St. Louis team.

Abbott: I’m telling you. Who’s on first, What’s on second, I Don’t Know is on third--

Costello: You know the fellows' names?

Abbott: Yes.

Costello: Well, then who’s playing first?

Abbott: Yes.

Costello: I mean the fellow’s name on first base.

Abbott: Who.

Costello: The fellow playin' first base.

Abbott: Who.

Costello: The guy on first base.

Abbott: Who is on first.

Costello: Well, what are you askin' me for?

Abbott: I’m not asking you—I’m telling you. Who is on first.

Costello: I’m asking you—who’s on first?

Abbott: That’s the man’s name.

Costello: That’s who’s name?

Abbott: Yes.

Costello: When you pay off the first baseman every month, who gets the money?

Abbott: Every dollar of it. And why not, the man’s entitled to it.

Costello: Who is?

Abbott: Yes.

Costello: So who gets it?

Abbott: Why shouldn’t he? Sometimes his wife comes down and collects it.

Costello: Who’s wife?

Abbott: Yes. After all, the man earns it.

Costello: Who does?

Abbott: Absolutely.

Costello: Well, all I’m trying to find out is what’s the guy’s name on first base?

Abbott: Oh, no, no. What is on second base.

Costello: I’m not asking you who’s on second.

Abbott: Who’s on first!

Costello: St. Louis has a good outfield?

Abbott: Oh, absolutely.

Costello: The left fielder’s name?

Abbott: Why.

Costello: I don’t know, I just thought I’d ask.

Abbott: Well, I just thought I’d tell you.

Costello: Then tell me who’s playing left field?

Abbott: Who’s playing first.

Costello: Stay out of the infield! The left fielder’s name?

Abbott: Why.

Costello: Because.

Abbott: Oh, he’s center field.

Costello: Wait a minute. You got a pitcher on this team?

Abbott: Wouldn’t this be a fine team without a pitcher?

Costello: Tell me the pitcher’s name.

Abbott: Tomorrow.

Costello: Now, when the guy at bat bunts the ball—me being a good catcher—I want to throw the guy out at first base, so I pick up the ball and throw it to who?

Abbott: Now, that’s he first thing you’ve said right.

Costello: I DON’T EVEN KNOW WHAT I’M TALKING ABOUT!

Abbott: Don’t get excited. Take it easy.

Costello: I throw the ball to first base, whoever it is grabs the ball, so the guy runs to second. Who picks up the ball and throws it to what. What throws it to I don’t know. I don’t know throws it back to tomorrow—a triple play.

Abbott: Yeah, it could be.

Costello: Another guy gets up and it’s a long ball to center.

Abbott: Because.

Costello: Why? I don’t know. And I don’t care.

Abbott: What was that?

Costello: I said, I DON’T CARE!

Abbott: Oh, that’s our shortstop!

    Please enable JavaScript to view the comments powered by Disqus.
    comments powered by Disqus

                © 2018. All rights reserved.
                Uno theme by Dale-Anthony
                Proudly published with Hubpress


text:
<?xml version="1.0"?>
<question id="MS_39" module="MS">
  <questionText>Why is it important to use a standard unit when making a measurement?</questionText>
  <referenceAnswers>
    <referenceAnswer id="MS_39-a1" text="So people know exactly what the measurement means. A standard is necessary so everyone measures using the same unit and everyone gets the same measurement.">
      <tokens>
        <token id="MS_39_ra1">So</token>
        <token id="MS_39_ra2">people</token>
        <token id="MS_39_ra3">know</token>
        <token id="MS_39_ra4">exactly</token>
        <token id="MS_39_ra5">what</token>
        <token id="MS_39_ra6">the</token>
        <token id="MS_39_ra7">measurement</token>
        <token id="MS_39_ra8">means</token>
        <token id="MS_39_ra9">.</token>
        <token id="MS_39_ra10">A</token>
        <token id="MS_39_ra11">standard</token>
        <token id="MS_39_ra12">is</token>
        <token id="MS_39_ra13">necessary</token>
        <token id="MS_39_ra14">so</token>
        <token id="MS_39_ra15">everyone</token>
        <token id="MS_39_ra16">measures</token>
        <token id="MS_39_ra17">using</token>
        <token id="MS_39_ra18">the</token>
        <token id="MS_39_ra19">same</token>
        <token id="MS_39_ra20">unit</token>
        <token id="MS_39_ra21">and</token>
        <token id="MS_39_ra22">everyone</token>
        <token id="MS_39_ra23">gets</token>
        <token id="MS_39_ra24">the</token>
        <token id="MS_39_ra25">same</token>
        <token id="MS_39_ra26">measurement</token>
        <token id="MS_39_ra27">.</token>
      </tokens>
      <facets>
        <facet id="MS_39_f1" govNum="MS_39_ra3" modNum="MS_39_ra2" reltn="Agent" govText="know" modText="people"/>
        <facet id="MS_39_f2" govNum="MS_39_ra3" modNum="MS_39_ra8" reltn="Theme_what" govText="know" modText="means"/>
        <facet id="MS_39_f3" govNum="MS_39_ra3" modNum="MS_39_ra4" reltn="Manner" govText="know" isAssumed="true" modText="exactly"/>
        <facet id="MS_39_f4" govNum="MS_39_ra8" modNum="MS_39_ra7" reltn="Cause_what" govText="means" modText="measurement"/>
        <facet id="MS_39_f5" govNum="MS_39_ra11" modNum="MS_39_ra13" reltn="Be" govText="standard" isAssumed="true" modText="necessary"/>
        <facet id="MS_39_f6" govNum="MS_39_ra16" modNum="MS_39_ra15" reltn="Agent" govText="measures" isAssumed="true" modText="everyone"/>
        <facet id="MS_39_f7" govNum="MS_39_ra17" modNum="MS_39_ra20" reltn="Theme" govText="using" isAssumed="true" modText="unit"/>
        <facet id="MS_39_f8" govNum="MS_39_ra20" modNum="MS_39_ra19" reltn="NMod" govText="unit" modText="same"/>
        <facet id="MS_39_f9" govNum="MS_39_ra17" modNum="MS_39_ra16" reltn="Purpose" childProp1Facet1="MS_39_f7" govText="using" isAssumed="true" childProp1Facet2="MS_39_f8" modText="measures" childProp2Facet1="MS_39_f6"/>
        <facet id="MS_39_f10" govNum="MS_39_ra16" modNum="MS_39_ra12" reltn="Cause_so" childProp1Facet1="MS_39_f6" govText="measures" modText="is" childProp2Facet1="MS_39_f5"/>
        <facet id="MS_39_f11" govNum="MS_39_ra23" modNum="MS_39_ra22" reltn="Agent" govText="gets" isAssumed="true" modText="everyone"/>
        <facet id="MS_39_f12" govNum="MS_39_ra23" modNum="MS_39_ra26" reltn="Theme" govText="gets" isAssumed="true" modText="measurement"/>
        <facet id="MS_39_f13" govNum="MS_39_ra26" modNum="MS_39_ra25" reltn="NMod" govText="measurement" modText="same"/>
        <facet id="MS_39_f14" govNum="MS_39_ra23" modNum="MS_39_ra16" reltn="Cause_and" childProp2Facet2="MS_39_f7" childProp1Facet1="MS_39_f11" govText="gets" childProp1Facet2="MS_39_f12" modText="measures" childProp2Facet1="MS_39_f6"/>
      </facets>
    </referenceAnswer>
  </referenceAnswers>
  <studentAnswers>
    <studentAnswer id="MS.39.105.1" answerText="You might get more medicine than you needed." accuracy="correct">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Inferred"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Inferred"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Inferred"/>
      <facetEntailment facetID="MS_39_f14" label="Inferred"/>
    </studentAnswer>
    <studentAnswer id="MS.39.107.1" answerText="Because then the tallies that you use will not make sense." accuracy="correct">
      <facetEntailment facetID="MS_39_f1" label="Inferred"/>
      <facetEntailment facetID="MS_39_f2" label="Inferred"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Inferred"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f14" label="Unaddressed"/>
    </studentAnswer>
    <studentAnswer id="MS.39.110.1" answerText="They use it all around the world. And it is important." accuracy="correct">
      <facetEntailment facetID="MS_39_f1" label="Inferred"/>
      <facetEntailment facetID="MS_39_f2" label="Inferred"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Inferred"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f14" label="Unaddressed"/>
    </studentAnswer>
    <studentAnswer id="MS.39.113.1" answerText="If you do not use a standard unit you might not get the right answer you may not even get one that is close." accuracy="correct">
      <facetEntailment facetID="MS_39_f1" label="Inferred"/>
      <facetEntailment facetID="MS_39_f2" label="Inferred"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Inferred"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Expressed"/>
      <facetEntailment facetID="MS_39_f8" label="Inferred"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Inferred"/>
      <facetEntailment facetID="MS_39_f11" label="Expressed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Inferred"/>
      <facetEntailment facetID="MS_39_f14" label="Inferred"/>
    </studentAnswer>
    <studentAnswer id="MS.39.141.1" answerText="Last time we were using our hand to measure the table and our hand we small and some of our kids was big." accuracy="partially_correct_incomplete">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Inferred"/>
      <facetEntailment facetID="MS_39_f9" label="Expressed"/>
      <facetEntailment facetID="MS_39_f10" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Inferred"/>
      <facetEntailment facetID="MS_39_f14" label="Inferred"/>
    </studentAnswer>
    <studentAnswer id="MS.39.144.1" answerText="If you do not use one you and your partner will not get accurate answers." accuracy="correct">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Inferred"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Inferred"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Inferred"/>
      <facetEntailment facetID="MS_39_f14" label="Inferred"/>
    </studentAnswer>
    <studentAnswer id="MS.39.153.1" answerText="So you can find the actual answer to a question that you have." accuracy="irrelevant">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f14" label="Unaddressed"/>
    </studentAnswer>
    <studentAnswer id="MS.39.172.1" answerText="It is important to use a standard unit of measurement because if you do not it will not be correct." accuracy="correct">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Expressed"/>
      <facetEntailment facetID="MS_39_f8" label="Inferred"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Inferred"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Inferred"/>
      <facetEntailment facetID="MS_39_f14" label="Inferred"/>
    </studentAnswer>
    <studentAnswer id="MS.39.174.1" answerText="Because if you do not you will get the wrong measurement." accuracy="partially_correct_incomplete">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Inferred"/>
      <facetEntailment facetID="MS_39_f14" label="Inferred"/>
    </studentAnswer>
    <studentAnswer id="MS.39.190.1" answerText="Because if you do not use it you may get the wrong answer." accuracy="correct">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Expressed"/>
      <facetEntailment facetID="MS_39_f8" label="Inferred"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Inferred"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Inferred"/>
      <facetEntailment facetID="MS_39_f14" label="Inferred"/>
    </studentAnswer>
    <studentAnswer id="MS.39.276.1" answerText="We use standard units because if somebody makes bottles of water the put at the bottom how many liters it is." accuracy="irrelevant">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f14" label="Unaddressed"/>
    </studentAnswer>
    <studentAnswer id="MS.39.278.1" answerText="So everyone would get the same answers. It is the same for everybody." accuracy="correct">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Inferred"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Inferred"/>
      <facetEntailment facetID="MS_39_f11" label="Expressed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Inferred"/>
      <facetEntailment facetID="MS_39_f14" label="Inferred"/>
    </studentAnswer>
    <studentAnswer id="MS.39.294.1" answerText="I think because if we do not use a standard unit we would get the answer wrong." accuracy="correct">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Expressed"/>
      <facetEntailment facetID="MS_39_f8" label="Inferred"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Inferred"/>
      <facetEntailment facetID="MS_39_f11" label="Expressed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Inferred"/>
      <facetEntailment facetID="MS_39_f14" label="Inferred"/>
    </studentAnswer>
    <studentAnswer id="MS.39.311.1" answerText="Because it will help a lot. It will never change. It is the same all over the world too." accuracy="correct">
      <facetEntailment facetID="MS_39_f1" label="Inferred"/>
      <facetEntailment facetID="MS_39_f2" label="Inferred"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Inferred"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f14" label="Unaddressed"/>
    </studentAnswer>
    <studentAnswer id="MS.39.322.1" answerText="You can make it too long or too short if you do not do it." accuracy="partially_correct_incomplete">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Inferred"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f14" label="Unaddressed"/>
    </studentAnswer>
    <studentAnswer id="MS.39.347.1" answerText="So you can get the measurement the same thing as everyone else." accuracy="partially_correct_incomplete">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Inferred"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f11" label="Expressed"/>
      <facetEntailment facetID="MS_39_f12" label="Expressed"/>
      <facetEntailment facetID="MS_39_f13" label="Expressed"/>
      <facetEntailment facetID="MS_39_f14" label="Expressed"/>
    </studentAnswer>
    <studentAnswer id="MS.39.354.1" answerText="So you can get the best answers. You need it because you will end up with 2 different answers." accuracy="partially_correct_incomplete">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Inferred"/>
      <facetEntailment facetID="MS_39_f14" label="Inferred"/>
    </studentAnswer>
    <studentAnswer id="MS.39.381.1" answerText="Because if you do not use a standard you get the answer wrong." accuracy="correct">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Inferred"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Inferred"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Inferred"/>
      <facetEntailment facetID="MS_39_f14" label="Inferred"/>
    </studentAnswer>
    <studentAnswer id="MS.39.387.1" answerText="So everybody agrees on it." accuracy="correct">
      <facetEntailment facetID="MS_39_f1" label="Inferred"/>
      <facetEntailment facetID="MS_39_f2" label="Inferred"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Inferred"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Inferred"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Inferred"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Inferred"/>
      <facetEntailment facetID="MS_39_f14" label="Inferred"/>
    </studentAnswer>
    <studentAnswer id="MS.39.393.1" answerText="Because you might not know how much it is!" accuracy="irrelevant">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f14" label="Unaddressed"/>
    </studentAnswer>
    <studentAnswer id="MS.39.400.1" answerText="Because if you had no standard of measurement you could not measure anything." accuracy="irrelevant">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f14" label="Unaddressed"/>
    </studentAnswer>
    <studentAnswer id="MS.39.417.1" answerText="Because if you use paperclips that would be wrong because they come in different sizes. And if you use your hand it will also be wrong because you hand could be big or small." accuracy="correct">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Inferred"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Inferred"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Inferred"/>
      <facetEntailment facetID="MS_39_f14" label="Inferred"/>
    </studentAnswer>
    <studentAnswer id="MS.39.420.1" answerText="So you get correct measurements." accuracy="correct">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Inferred"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Inferred"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Expressed"/>
      <facetEntailment facetID="MS_39_f13" label="Inferred"/>
      <facetEntailment facetID="MS_39_f14" label="Inferred"/>
    </studentAnswer>
    <studentAnswer id="MS.39.435.1" answerText="Because it is better using it so you will not get it wrong." accuracy="partially_correct_incomplete">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Inferred"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Inferred"/>
      <facetEntailment facetID="MS_39_f14" label="Inferred"/>
    </studentAnswer>
    <studentAnswer id="MS.39.463.1" answerText="Because if you do not get the right answer. Because we are in the class. And we might in the same group in the class." accuracy="irrelevant">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f14" label="Unaddressed"/>
    </studentAnswer>
    <studentAnswer id="MS.39.486.1" answerText="Because if you do not know how many to put." accuracy="irrelevant">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f14" label="Unaddressed"/>
    </studentAnswer>
    <studentAnswer id="MS.39.496.1" answerText="Because if you do not use it will not be right." accuracy="partially_correct_incomplete">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Inferred"/>
      <facetEntailment facetID="MS_39_f14" label="Unaddressed"/>
    </studentAnswer>
    <studentAnswer id="MS.39.499.1" answerText="If you do not they would know if you are talking centimeters, liters, milliliters, meters, kilograms, or grams." accuracy="correct">
      <facetEntailment facetID="MS_39_f1" label="Expressed"/>
      <facetEntailment facetID="MS_39_f2" label="Inferred"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Inferred"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Expressed"/>
      <facetEntailment facetID="MS_39_f8" label="Inferred"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Inferred"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Inferred"/>
      <facetEntailment facetID="MS_39_f14" label="Inferred"/>
    </studentAnswer>
    <studentAnswer id="MS.39.503.1" answerText="Because you will learn metric unit faster." accuracy="irrelevant">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f14" label="Unaddressed"/>
    </studentAnswer>
    <studentAnswer id="MS.39.521.1" answerText="So others know what you mean." accuracy="correct">
      <facetEntailment facetID="MS_39_f1" label="Expressed"/>
      <facetEntailment facetID="MS_39_f2" label="Expressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Inferred"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f14" label="Unaddressed"/>
    </studentAnswer>
    <studentAnswer id="MS.39.523.1" answerText="Well you cannot use straws." accuracy="irrelevant">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f14" label="Unaddressed"/>
    </studentAnswer>
    <studentAnswer id="MS.39.532.1" answerText="So others will know." accuracy="partially_correct_incomplete">
      <facetEntailment facetID="MS_39_f1" label="Expressed"/>
      <facetEntailment facetID="MS_39_f2" label="Inferred"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f14" label="Unaddressed"/>
    </studentAnswer>
    <studentAnswer id="MS.39.566.1" answerText="So everybody get it right or get the same answer." accuracy="partially_correct_incomplete">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f11" label="Expressed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Inferred"/>
      <facetEntailment facetID="MS_39_f14" label="Unaddressed"/>
    </studentAnswer>
    <studentAnswer id="MS.39.592.1" answerText="So that you can make an exact and accurate measurement." accuracy="partially_correct_incomplete">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Inferred"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Inferred"/>
      <facetEntailment facetID="MS_39_f14" label="Inferred"/>
    </studentAnswer>
    <studentAnswer id="MS.39.595.1" answerText="Because if you used vials would be different sizes." accuracy="irrelevant">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Assumed"/>
      <facetEntailment facetID="MS_39_f8" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f14" label="Unaddressed"/>
    </studentAnswer>
    <studentAnswer id="MS.39.607.1" answerText="We use a standard unit so we do not get the measurement worth." accuracy="correct">
      <facetEntailment facetID="MS_39_f1" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f2" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f3" label="Assumed"/>
      <facetEntailment facetID="MS_39_f4" label="Unaddressed"/>
      <facetEntailment facetID="MS_39_f5" label="Assumed"/>
      <facetEntailment facetID="MS_39_f6" label="Assumed"/>
      <facetEntailment facetID="MS_39_f7" label="Expressed"/>
      <facetEntailment facetID="MS_39_f8" label="Inferred"/>
      <facetEntailment facetID="MS_39_f9" label="Assumed"/>
      <facetEntailment facetID="MS_39_f10" label="Inferred"/>
      <facetEntailment facetID="MS_39_f11" label="Assumed"/>
      <facetEntailment facetID="MS_39_f12" label="Assumed"/>
      <facetEntailment facetID="MS_39_f13" label="Inferred"/>
      <facetEntailment facetID="MS_39_f14" label="Inferred"/>
    </studentAnswer>
  </studentAnswers>
</question>


text:
Error: AWStats database directory defined in config file by 'DirData' parameter (/var/www/karmis/data/www/hotel.sites.brainstrap.ru/webstat/) does not exist or is not writable.

Setup ('/etc/awstats/awstats.hotel.sites.brainstrap.ru.conf' file, web server or permissions) may be wrong.

Check config file, permissions and AWStats documentation (in 'docs' directory).


text:
<?php

return array(

    /*
    |--------------------------------------------------------------------------
    | Operations
    |--------------------------------------------------------------------------
    |
    | This array of operations is translated into methods that complete these
    | requests based on their configuration.
    |
    */

    "operations" => array(

        /**
         *    getCollects() method
         *
         *    reference: http://docs.shopify.com/api/collects
         */
        "getCollects" => array(
            "httpMethod" => "GET",
            "uri" => "/admin/collects.json",
            "summary" => "Retrieve a list of all Collects",
            "responseModel" => "defaultJsonResponse",
            "parameters" => array(
                "page" => array(
                    "type" => "number",
                    "location" => "query",
                    "description" => "Page to show (default: 1)."
                ),
                "limit" => array(
                    "type" => "number",
                    "location" => "query",
                    "description" => "Collects per page (default: 50) (maximum: 250)."
                ),
                "fields" => array(
                    "type" => "string",
                    "location" => "query",
                    "description" => "Comma-separated list of fields to include in the response."
                ),
                "product_id" => array(
                    "type" => "number",
                    "location" => "query",
                    "description" => "List only collects for a certain product."
                ),
                "collection_id" => array(
                    "type" => "number",
                    "location" => "query",
                    "description" => "List only collects for a certain collection."
                )
            )
        ),

        /**
         *    getCollectCount() method
         *
         *    reference: http://docs.shopify.com/api/collects
         */
        "getCollectCount" => array(
            "httpMethod" => "GET",
            "uri" => "/admin/collects/count.json",
            "summary" => "Retrieve a count of all Collects",
            "responseModel" => "defaultJsonResponse",
            "parameters" => array(
                "product_id" => array(
                    "type" => "number",
                    "location" => "query",
                    "description" => "List only collects for a certain product."
                ),
                "collection_id" => array(
                    "type" => "number",
                    "location" => "query",
                    "description" => "List only collects for a certain collection."
                )
            )
        ),

        /**
         *    getCollect() method
         *
         *    reference: http://docs.shopify.com/api/collects
         */
        "getCollect" => array(
            "httpMethod" => "GET",
            "uri" => "/admin/collects/{id}.json",
            "summary" => "Retrieve a single Collect",
            "responseModel" => "defaultJsonResponse",
            "parameters" => array(
                "id" => array(
                    "type" => "string",
                    "location" => "uri",
                    "description" => "The ID of the Collect.",
                    "required" => true
                ),
                "fields" => array(
                    "type" => "string",
                    "location" => "query",
                    "description" => "Comma-separated list of fields to include in the response."
                )
            )
        ),

    ),

    /*
    |--------------------------------------------------------------------------
    | Models
    |--------------------------------------------------------------------------
    |
    | This array of models is specifications to returning the response
    | from the operation methods.
    |
    */

    "models" => array(

    ),
);


text:
class BlogEntry

  include DataMapper::Resource
  include Togo::DataMapper::Model

  property :id, Serial
  property :title, String, :length => 255
  property :date, DateTime, :default => DateTime.now
  property :body, Text
  property :tags, String, :length => 255
  property :enabled, Boolean, :default => false
  property :category_id, Integer

  belongs_to :category
  has n, :locations, :through => Resource

  list_properties :title, :date, :chunky, :category
  form_properties :title, :date, :body, :tags, :category, :locations, :enabled

  configure_property :title, :label => "The Title"
  configure_property :body, :template => File.join(SITE_ROOT, 'body.erb')

  def chunky
    title
  end

end