text:
package com.google.cloud.teleport.v2.transforms;

import static com.google.common.truth.Truth.assertThat;

import com.google.api.services.bigquery.model.ErrorProto;
import com.google.api.services.bigquery.model.TableDataInsertAllResponse;
import com.google.api.services.bigquery.model.TableDataInsertAllResponse.InsertErrors;
import com.google.api.services.bigquery.model.TableReference;
import com.google.api.services.bigquery.model.TableRow;
import com.google.cloud.teleport.v2.coders.FailsafeElementCoder;
import com.google.cloud.teleport.v2.transforms.ErrorConverters.FailedStringToTableRowFn;
import com.google.cloud.teleport.v2.values.FailsafeElement;
import com.google.common.base.Charsets;
import com.google.common.io.Files;
import java.io.File;
import java.io.IOException;
import java.io.Serializable;
import java.util.Collections;
import java.util.HashSet;
import java.util.Map;
import org.apache.avro.Schema;
import org.apache.avro.generic.GenericRecord;
import org.apache.beam.sdk.coders.AvroCoder;
import org.apache.beam.sdk.coders.CoderRegistry;
import org.apache.beam.sdk.coders.StringUtf8Coder;
import org.apache.beam.sdk.io.gcp.bigquery.BigQueryInsertError;
import org.apache.beam.sdk.io.gcp.bigquery.BigQueryInsertErrorCoder;
import org.apache.beam.sdk.io.gcp.bigquery.BigQueryUtils;
import org.apache.beam.sdk.io.gcp.pubsub.PubsubMessage;
import org.apache.beam.sdk.schemas.utils.AvroUtils;
import org.apache.beam.sdk.testing.NeedsRunner;
import org.apache.beam.sdk.testing.PAssert;
import org.apache.beam.sdk.testing.TestPipeline;
import org.apache.beam.sdk.transforms.Create;
import org.apache.beam.sdk.transforms.DoFn;
import org.apache.beam.sdk.transforms.ParDo;
import org.apache.beam.sdk.transforms.SerializableFunction;
import org.apache.beam.sdk.util.CoderUtils;
import org.apache.beam.sdk.values.PCollection;
import org.apache.beam.sdk.values.Row;
import org.apache.beam.sdk.values.TimestampedValue;
import org.apache.beam.sdk.values.TupleTag;
import org.apache.beam.sdk.values.TupleTagList;
import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.base.Ascii;
import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.base.Strings;
import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.collect.ImmutableMap;
import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.collect.Lists;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
import org.joda.time.Instant;
import org.junit.Rule;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.junit.rules.TemporaryFolder;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

/** Unit Tests {@link ErrorConverters}. */
@RunWith(JUnit4.class)
public class ErrorConvertersTest implements Serializable {

  @Rule public final transient TestPipeline pipeline = TestPipeline.create();

  @Test
  @Category(NeedsRunner.class)
  public void testErrorLogs() throws IOException {
    TupleTag<String> errorTag = new TupleTag<String>("errors") {};
    TupleTag<String> goodTag = new TupleTag<String>("good") {};

    TemporaryFolder tmpFolder = new TemporaryFolder();
    tmpFolder.create();

    pipeline
        .apply(Create.of("Hello", "World", "Colin"))
        .apply(
            ParDo.of(
                    new DoFn<String, String>() {
                      @ProcessElement
                      public void processElement(ProcessContext c) {
                        if (c.element().equals("Hello")) {
                          c.output(c.element());
                        } else {
                          c.output(errorTag, c.element());
                        }
                      }
                    })
                .withOutputTags(goodTag, TupleTagList.of(errorTag)))
        .apply(
            ErrorConverters.LogErrors.newBuilder()
                .setErrorWritePath(tmpFolder.getRoot().getAbsolutePath() + "errors.txt")
                .setErrorTag(errorTag)
                .build());

    pipeline.run();

    // Read in tempfile data
    File file = new File(tmpFolder.getRoot().getAbsolutePath() + "errors.txt-00000-of-00001");
    String fileContents = Files.toString(file, Charsets.UTF_8);
    tmpFolder.delete();

    // Get the unique expected & received lines of text
    HashSet<String> expected = new HashSet<>();
    Collections.addAll(expected, "World", "Colin");

    HashSet<String> result = new HashSet<>();
    Collections.addAll(result, fileContents.split("\n"));

    assertThat(result).isEqualTo(expected);
  }

  /**
   * Tests that {@link ErrorConverters.FailedStringToTableRowFn} properly formats failed String
   * objects into {@link TableRow} objects to save to BigQuery.
   */
  @Test
  public void testFailedStringMessageToTableRowFn() {
    // Test input
    final String message = "Super secret";
    final String errorMessage = "Failed to parse input JSON";
    final String stacktrace = "Error at com.google.cloud.teleport.TextToBigQueryStreaming";

    final FailsafeElement<String, String> input =
        FailsafeElement.of(message, message)
            .setErrorMessage(errorMessage)
            .setStacktrace(stacktrace);

    final Instant timestamp =
        new DateTime(2022, 2, 22, 22, 22, 22, 222, DateTimeZone.UTC).toInstant();

    // Register the coder for the pipeline. This prevents having to invoke .setCoder() on
    // many transforms.
    FailsafeElementCoder<String, String> coder =
        FailsafeElementCoder.of(StringUtf8Coder.of(), StringUtf8Coder.of());

    CoderRegistry coderRegistry = pipeline.getCoderRegistry();
    coderRegistry.registerCoderForType(coder.getEncodedTypeDescriptor(), coder);

    // Build pipeline
    PCollection<TableRow> output =
        pipeline
            .apply(
                "CreateInput",
                Create.timestamped(TimestampedValue.of(input, timestamp)).withCoder(coder))
            .apply("FailedRecordToTableRow", ParDo.of(new FailedStringToTableRowFn()));

    // Assert
    PAssert.that(output)
        .satisfies(
            collection -> {
              final TableRow result = collection.iterator().next();
              assertThat(result.get("timestamp")).isEqualTo("2022-02-22 22:22:22.222000");
              assertThat(result.get("attributes")).isNull();
              assertThat(result.get("payloadString")).isEqualTo(message);
              assertThat(result.get("payloadBytes")).isNotNull();
              assertThat(result.get("errorMessage")).isEqualTo(errorMessage);
              assertThat(result.get("stacktrace")).isEqualTo(stacktrace);
              return null;
            });

    // Execute pipeline
    pipeline.run();
  }

  @Test
  @Category(NeedsRunner.class)
  public void transformConvertsBigQueryInsertErrorToPubsubMessage() throws IOException {

    GenericRecord expectedRecord = BigQueryConvertersTest.generateNestedAvroRecord();
    String errorMessage = "small-test-message";
    BigQueryInsertError bigQueryInsertError = getBigQueryInsertError(expectedRecord, errorMessage);
    ErrorConverters.BigQueryInsertErrorToPubsubMessage<GenericRecord> converter =
        getConverter(expectedRecord.getSchema(), AvroCoder.of(expectedRecord.getSchema()));

    PCollection<PubsubMessage> output =
        pipeline
            .apply(Create.of(bigQueryInsertError).withCoder(BigQueryInsertErrorCoder.of()))
            .apply(converter);

    PubsubMessage expectedMessage =
        getPubsubMessage(expectedRecord, bigQueryInsertError.getError().toString());
    byte[] expectedPayload = expectedMessage.getPayload();
    Map<String, String> expectedAttributes = expectedMessage.getAttributeMap();
    PAssert.thatSingleton(output)
        .satisfies(
            input -> {
              assertThat(input.getPayload()).isEqualTo(expectedPayload);
              assertThat(input.getAttributeMap()).isEqualTo(expectedAttributes);
              return null;
            });
    pipeline.run();
  }

  @Test
  @Category(NeedsRunner.class)
  public void transformConvertsBigQueryInsertErrorToPubsubMessageWithTruncatedMessage()
      throws IOException {

    GenericRecord expectedRecord = BigQueryConvertersTest.generateNestedAvroRecord();
    String errorMessage = Strings.repeat("a", 1000);
    BigQueryInsertError bigQueryInsertError = getBigQueryInsertError(expectedRecord, errorMessage);
    ErrorConverters.BigQueryInsertErrorToPubsubMessage<GenericRecord> converter =
        getConverter(expectedRecord.getSchema(), AvroCoder.of(expectedRecord.getSchema()));

    PCollection<PubsubMessage> output =
        pipeline
            .apply(Create.of(bigQueryInsertError).withCoder(BigQueryInsertErrorCoder.of()))
            .apply(converter);

    // Expecting a truncated message with a truncation indicator suffix.
    String expectedErrorMessage =
        Ascii.truncate(
            bigQueryInsertError.getError().toString(),
            /* maxLength= */ 512,
            /* truncationIndicator= */ "...");
    PubsubMessage expectedMessage = getPubsubMessage(expectedRecord, expectedErrorMessage);
    byte[] expectedPayload = expectedMessage.getPayload();
    Map<String, String> expectedAttributes = expectedMessage.getAttributeMap();
    PAssert.thatSingleton(output)
        .satisfies(
            input -> {
              assertThat(input.getPayload()).isEqualTo(expectedPayload);
              assertThat(input.getAttributeMap()).isEqualTo(expectedAttributes);
              return null;
            });
    pipeline.run();
  }

  /**
   * Generates a {@link BigQueryInsertError} with the {@link GenericRecord} and error message.
   *
   * @param record payload to be used for the test
   * @param errorMessage error message for the test
   */
  private static BigQueryInsertError getBigQueryInsertError(
      GenericRecord record, String errorMessage) {

    Row beamRow = AvroUtils.toBeamRowStrict(record, AvroUtils.toBeamSchema(record.getSchema()));
    TableRow tableRow = BigQueryUtils.toTableRow(beamRow);

    TableReference tableReference = new TableReference();

    return new BigQueryInsertError(tableRow.clone(), getInsertErrors(errorMessage), tableReference);
  }

  /**
   * Generates a {@link InsertErrors} used by {@link BigQueryInsertError}.
   *
   * @param error string to be added to {@link BigQueryInsertError}
   */
  private static InsertErrors getInsertErrors(String error) {
    InsertErrors insertErrors = new TableDataInsertAllResponse.InsertErrors();
    ErrorProto errorProto = new ErrorProto().setMessage(error);
    insertErrors.setErrors(Lists.newArrayList(errorProto));
    return insertErrors;
  }

  /**
   * Generates a {@link PubsubMessage} with the {@link GenericRecord} payload and the user provided
   * error message as an attribute.
   *
   * @param record payload for the message
   * @param errorValue errors to be added as an attribute
   */
  private static PubsubMessage getPubsubMessage(GenericRecord record, String errorValue)
      throws IOException {
    AvroCoder<GenericRecord> coder = AvroCoder.of(record.getSchema());
    String errorKey = "error";
    Map<String, String> attributeMap =
        ImmutableMap.<String, String>builder().put(errorKey, errorValue).build();
    return new PubsubMessage(CoderUtils.encodeToByteArray(coder, record), attributeMap);
  }

  /**
   * Returns a {@link ErrorConverters.BigQueryInsertErrorToPubsubMessage} used for the test.
   *
   * @param schema avro schema for the payload
   * @param coder coder to be used for encoding the payload
   */
  private static ErrorConverters.BigQueryInsertErrorToPubsubMessage<GenericRecord> getConverter(
      Schema schema, AvroCoder<GenericRecord> coder) {

    SerializableFunction<TableRow, GenericRecord> translateFunction =
        BigQueryConverters.TableRowToGenericRecordFn.of(schema);

    return ErrorConverters.BigQueryInsertErrorToPubsubMessage.<GenericRecord>newBuilder()
        .setPayloadCoder(coder)
        .setTranslateFunction(translateFunction)
        .build();
  }
}


text:
import commonjs from '@rollup/plugin-commonjs';
import externalGlobals from 'rollup-plugin-external-globals';
import resolve from '@rollup/plugin-node-resolve';
import {terser} from 'rollup-plugin-terser';

export default {
  input: 'build/index.js',
  output: {
    name: 'ol',
    format: 'iife',
    exports: 'default',
    file: 'build/full/ol.js',
    sourcemap: true,
  },
  plugins: [
    resolve({moduleDirectories: ['build', 'node_modules']}),
    commonjs(),
    externalGlobals({
      geotiff: 'GeoTIFF',
      'ol-mapbox-style': 'olms',
    }),
    terser(),
  ],
};

redpajama_set_name: RedPajamaGithub


text:
This document will describe the steps to do manual testing on _bulletjournal_.

## Setting Up
1. Download `bulletjournal.jar` from our Github repository release page.
2. Double click `bulletjournal.jar` to run the application. 50 tasks should be loaded in the task list panel.

## Test Cases

### Request help window
1. Type `help` to display the help window.
2. The help window should display as a popup.

### Add a floating task
1. Enter `add watch silicon valley`.
2. The task will be added to the end of the task list.
3. Enter `select 51` to see the newly added task.

### Add a deadline
1. Enter `add prepare cs2103 exam d/22 April 2015 8pm`
2. The deadline should be added as the first task in the list since the tasks are sorted by date.

### Add an event
1. Enter `add attend cs2103 workshop b/ tomorrow 8pm d/ next monday 8pm`.
2. The event should be added successfully. It can be seen from the ResultDisplay window.
3. It can be found by entering `find cs2013`

### Add an event with tags
1. Enter `add exam period b/ 22 april d/ 5 may 2017 t/ exam`
2. The event should be added successfully. It can be seen from the ResultDisplay window.
3. It can be found by entering `f exam`

### Edit a task description
1. Observe the current task name at index 1.
2. Enter `edit 1 buy many presents`.
3. The task name at index 1 should change to `buy many presents`.

### Edit a task with multiple fields
1. Observe the current task values at index 1.
2. Enter `edit 1 celebrate birthday b/ tomorrow 8pm d/tomorrow 9pm t/birthday`
3. The task fields should change to `celebrate birthday`, start date to tomorrow 8pm (relative), end date to 9pm (relative), with tags birthday. But the task's index may not be 1 anymore since it is ordered by date.
4. It can be found by entering `find birthday`

### Edit a task with multiple fields in any order
1. Observe the current task values at index 1.
2. Enter `edit 1 celebrate Jenny birthday t/birthday d/tomorrow 9pm b/ tomorrow 8pm`.
3. The task fields should change to `celebrate Jenny birthday`, start date to tomorrow 8pm (relative), end date to 9pm (relative), with tags birthday. But the task's index may not be 1 anymore since it is ordered by date.
4. It can be found by entering `find birthday`

### mark a task as done
1. Enter `finish 1`.
2. The task should disappear from home tab.
3. Enter `show done`.
4. The task you just marked will be displayed.

### Delete a task
1. Enter `list`
1. Enter `delete 1`.
2. The first task should be removed.
3. Enter `d 1`
4. The new first task should be removed.

### Undo an action
1. Enter `undo`.
2. The task you deleted in the previous test case will be recovered.

### Undo multiple times
1. Enter `undo`.
2. The earlier deleted task should recover.
3. Enter `undo` again.
4. ResultDisplay panel should show `No more actions available to undo`.

### Redo an action
1. Enter `redo`.
2. The first task will be deleted again.

### Redo multiple times
1. Enter `redo`.
2. The new first task should be deleted again.

### Find all task by name
1. Enter `find tutorial`
2. All tasks name that contain keyword `tutorial` should appear in the list.
3. Enter `list` to reset the home tab display.

### Change path for saving data file
1. Enter `change newfolder/new.xml`
2. Open the directory that you just entered, observe that `new.xml` is at that folder.

### Clear all taska
1. Enter `clear`.
2. All tasks in application will be deleted.

### Exit program
1. Enter `exit`.
2. The program should be exited.


text:
package com.ibm.watson.developer_cloud.dialog.v1.model;

import java.util.List;

import com.google.gson.annotations.SerializedName;
import com.ibm.watson.developer_cloud.dialog.v1.DialogService;
import com.ibm.watson.developer_cloud.service.model.GenericModel;

/**
 * Conversation used by the {@link DialogService}.
 *
 * @author German Attanasio Ruiz (germanatt@us.ibm.com)
 *
 */
public class Conversation extends GenericModel {

	/** The client id. */
	@SerializedName("client_id")
	private Integer clientId;

	/** The confidence. */
	private Double confidence;

	/** The id. */
	@SerializedName("conversation_id")
	private Integer id;

	/** The input. */
	private String input;

	/** The response. */
	private List<String> response;

	/**
	 * Gets the client id.
	 *
	 * @return The clientId
	 */
	public Integer getClientId() {
		return clientId;
	}

	/**
	 * Gets the confidence.
	 *
	 * @return The confidence
	 */
	public double getConfidence() {
		return confidence;
	}

	/**
	 * Gets the id.
	 *
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * Gets the input.
	 *
	 * @return The input
	 */
	public String getInput() {
		return input;
	}

	/**
	 * Gets the response.
	 *
	 * @return The response
	 */
	public List<String> getResponse() {
		return response;
	}

	/**
	 * Sets the client id.
	 *
	 * @param clientId
	 *            The client_id
	 */
	public void setClientId(final int clientId) {
		this.clientId = clientId;
	}

	/**
	 * Sets the confidence.
	 *
	 * @param confidence
	 *            The confidence
	 */
	public void setConfidence(final double confidence) {
		this.confidence = confidence;
	}

	/**
	 * Sets the id.
	 *
	 * @param id
	 *            the new id
	 */
	public void setId(final int id) {
		this.id = id;
	}

	/**
	 * Sets the input.
	 *
	 * @param input
	 *            The input
	 */
	public void setInput(final String input) {
		this.input = input;
	}

	/**
	 * Sets the response.
	 *
	 * @param response
	 *            The response
	 */
	public void setResponse(final List<String> response) {
		this.response = response;
	}

	/**
	 * With client id.
	 *
	 * @param clientId
	 *            the client id
	 * @return the conversation
	 */
	public Conversation withClientId(final int clientId) {
		this.clientId = clientId;
		return this;
	}

	/**
	 * With confidence.
	 *
	 * @param confidence
	 *            the confidence
	 * @return the conversation
	 */
	public Conversation withConfidence(final double confidence) {
		this.confidence = confidence;
		return this;
	}

	/**
	 * With conversation id.
	 *
	 * @param id
	 *            the id
	 * @return the conversation
	 */
	public Conversation withId(final int id) {
		this.id = id;
		return this;
	}

	/**
	 * With input.
	 *
	 * @param input
	 *            the input
	 * @return the conversation
	 */
	public Conversation withInput(final String input) {
		this.input = input;
		return this;
	}
}


text:
// @Qualifier

package org.wso2.appserver.sample.ee.cdi.qualifier;

import java.io.IOException;
import java.io.PrintWriter;
import javax.inject.Inject;
import javax.servlet.annotation.WebServlet;

@WebServlet(name = "HelloServlet", urlPatterns = "/")
public class HelloServlet extends javax.servlet.http.HttpServlet {

    @Inject
    @Entrance
    private Greeter greeter;

    protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException {
        PrintWriter writer = response.getWriter();
        writer.println(greeter.greet());
        writer.close();
    }
}


text:
import { expect } from 'chai';
import fs from 'fs';
import { describe } from 'mocha';

describe('Verify stryker has ran correctly', () => {

  function expectExists(fileName: string) {
    expect(fs.existsSync(fileName), `Missing ${fileName}!`).true;
  }

  it('should report the html file', () => {
    expectExists('reports/mutation/html/index.html');
  });

  it('should have a clear text report', () => {
    expectExists('reports/stdout.txt');
  });

  it('should have a json report', () => {
    expectExists('reports/mutation/mutation.json');
  });

  describe('clearText report', () => {

    let stdout: string;
    beforeEach(async () => {
      stdout = await fs.promises.readFile('reports/stdout.txt', 'utf8');
    })

    it('should report all tests', () => {
      expect(stdout).matches(createTestsRegex());
    });

    it('should report NoCoverage mutants', () => {
      expect(stdout).matches(createNoCoverageMutantRegex());
    });

    it('should report Survived mutants', () => {
      expect(stdout).matches(createSurvivedMutantRegex());
    });

    it('should report average tests per mutant', () => {
      expect(stdout).contains('Ran 0.80 tests per mutant on average.');
    });

    it('should report the clearText table', () => {
      const clearTextTableRegex = createClearTextTableSummaryRowRegex();
      expect(stdout).matches(clearTextTableRegex);
    });

    it('should finish up with the clear text report', () => {
      const clearTextTableRegex = createClearTextTableSummaryRowRegex();
      const survivedMutantRegex = createSurvivedMutantRegex();
      const indexOfSurvivedMutant = survivedMutantRegex.exec(stdout).index;
      const indexOfClearTextTable = clearTextTableRegex.exec(stdout).index;
      expect(indexOfSurvivedMutant).lessThan(indexOfClearTextTable);
    });
  });
});

const createTestsRegex = () => /All tests\s*✓ Add should be able to add two numbers \(killed 2\)/;

const createNoCoverageMutantRegex = () => /#6\.\s*\[NoCoverage\]/;

const createSurvivedMutantRegex = () => /#20\.\s*\[Survived\]/;

const createClearTextTableSummaryRowRegex = () => /All files\s*\|\s*64\.00\s*\|\s*16\s*\|\s*0\s*\|\s*1\s*\|\s*8\s*\|\s*0\s*\|/;


text:
namespace NPOI.HSSF.EventModel
{
    using NPOI.HSSF.Record;

    /**
     * An ERFListener Is registered with the EventRecordFactory.
     * An ERFListener listens for Records coming from the stream
     * via the EventRecordFactory
     *
     * @see EventRecordFactory
     * @author Andrew C. Oliver acoliver@apache.org
     */
    public interface IERFListener
    {
        /**
         * Process a Record.  This method Is called by the
         * EventRecordFactory when a record Is returned.
         * @return bool specifying whether the effort was a success.
         */
        bool ProcessRecord(Record rec);
    }
}


text:
<!DOCTYPE html>
<html>
<head>
    <link rel="stylesheet" href="<?php echo base_url('bootstrap/css/bootstrap.min.css') ?>">
    <link rel="stylesheet" href="<?php echo base_url('bootstrap/css/page.css')?>">
    <link rel="stylesheet" href="<?php echo base_url('bootstrap/css/modal.css')?>">
    <link rel="stylesheet" href="<?php echo base_url('font-awesome-4.7.0/css/font-awesome.min.css')?>" type="text/css">
    <link href="https://fonts.googleapis.com/css?family=Oxygen" rel="stylesheet">
    <link href="<?php echo base_url('/bootstrap/fonts/Luna.woff')?>" rel="stylesheet">
    <script src="<?php echo base_url('jquery/jquery-3.1.1.min.js')?>"></script>
    <script src="<?php echo base_url('bootstrap/js/bootstrap.min.js')?>"></script>
    <script src="<?php echo base_url('jquery/navigation.js')?>"></script>
    <script src="<?php echo base_url('/jquery/jquery.validate.js')?>"></script>
    <script src="<?php echo base_url('/jquery/validation.js');?>"></script>
    <title>Collab - Classes</title>
     <link rel="shortcut icon" href="<?php echo base_url('icon.jpg')?>" type="icon">
</head>


text:
layout: publication
title: "Domino: Extracting, Comparing, and Manipulating Subsets across Multiple Tabular Datasets "
key: 2014_infovis_domino
type: paper

shortname: Domino
image: 2014_infovis_domino.png

# add a 2:1 aspect ratio teaser figure (e.g., width: 1200px, height: 600px) to the folder /assets/images/papers/
image_large: 2014_infovis_domino_teaser.png

authors:
- gratzl
- gehlenborg
- lex
- pfister
- streit

year: 2014

bibentry: article
bib:
  journal: IEEE Transactions on Visualization and Computer Graphics (InfoVis)
  doi: 10.1109/TVCG.2014.2346260
  volume: 20
  number: 12
  pages: 2023--2032

award: IEEE InfoVis 2014 Honorable Mention Award

# use publisher only if no doi is available
publisher:

external-project: http://caleydo.org/tools/domino/

video: 2014_infovis_domino_video
preview-video: 2014_infovis_domino_video_preview

pdf: 2014_infovis_domino.pdf
supplement:
supplements:
 - name: Music Dataset project (CAL)
   link: 2014_infovis_domino_number_ones.cal
 - name: Music Dataset Source Files + references (ZIP)
   link: 2014_infovis_domino_number_ones.zip
 - name: The Cancer Genome Atlas GBM project (CAL)
   link: 2014_infovis_domino_gbm_cancer.cal
 - name: Samuel Gratzl's Talk at InfoVis'14 (HTML)
   abslink: https://sgratzl.github.io/domino_vis2014/

abstract: "

Answering questions about complex issues often requires analysts to take into account information contained in multiple interconnected datasets. A common strategy in analyzing and visualizing large and heterogeneous data is dividing it into meaningful subsets. Interesting subsets can then be selected and the associated data and the relationships between the subsets visualized. However, neither the extraction and manipulation nor the comparison of subsets is well supported by state-of-the-art techniques.

In this paper we present Domino, a novel multiform visualization technique for effectively representing subsets and the relationships between them. By providing comprehensive tools to arrange, combine, and extract subsets, Domino allows users to create both common visualization techniques and advanced visualizations tailored to specific use cases. In addition to the novel technique, we present an implementation that enables analysts to manage the wide range of options that our approach offers. Innovative interactive features such as placeholders and live previews support rapid creation of complex analysis setups. We introduce the technique and the implementation using a simple example and demonstrate scalability and effectiveness in a use case from the field of cancer genomics.
"

---

# Acknowledgements

This work was supported in part by the Austrian Research Promotion Agency (840232), the Austrian Science Fund (J 3437-N15), the Air Force Research Laboratory and DARPA grant FA8750-12-C-0300, and the United States NIH/National Human Genome Research Institute (K99 HG007583).


text:
from setuptools import setup
from setuptools import find_packages

__minimum_numpy_version__ = '1.9.0'
setup_requires = ['numpy>=' + __minimum_numpy_version__]

setup(name='ionotomo',
      version='0.0.1',
      description='Ionosphere Tomographic Imaging',
      author=['Josh Albert'],
      author_email=['albert@strw.leidenuniv.nl'],
##      url='https://www.python.org/sigs/distutils-sig/',
    setup_requires=setup_requires,
    tests_require=[
        'pytest>=2.8',
    ],
    package_data={"ionotomo.astro":["arrays/*"]},
    package_dir = {'':'src'},
      packages=find_packages('src')
     )


text:
/**
 * Project SteeringBehaviorsController
 * @author JOSE Nahuel
 * @version 1.0.0
 */

#ifndef _ARRIVE_H
#define _ARRIVE_H

#include "SteeringBehavior.h"

#include <geometry_msgs/Pose.h>

class Arrive: public SteeringBehavior {
public:

	/**
	 * gets the last data and actualizes the desiredTwist
	 * @param myPose
	 */
	void update(pose myPose);

	/**
	 * @param objective
	 * @param id
	 * @param weight
	 */
	void Arrive(pose objective, unsigned int id, float weight);

	void ~Arrive();
private:
	pose target;
};

#endif //_ARRIVE_H


text:
<TEI xmlns="http://www.tei-c.org/ns/1.0">
   <teiHeader>
      <fileDesc>
         <titleStmt>
            <title>One thousand seven hundred and thirty eight. Dialogue II. By Mr. Pope</title>
            <author>Pope, Alexander, 1688-1744.</author>
         </titleStmt>
         <extent>15 600dpi bitonal TIFF page images and SGML/XML encoded text</extent>
         <publicationStmt>
            <publisher>University of Michigan Library</publisher>
            <pubPlace>Ann Arbor, Michigan</pubPlace>
            <date when="2007-01">2007 January</date>
            <idno type="DLPS">004809310</idno>
            <idno type="ESTC">T5725</idno>
            <idno type="DOCNO">CW111252252</idno>
            <idno type="TCP">K023175.000</idno>
            <idno type="GALEDOCNO">CW3311252252</idno>
            <idno type="CONTENTSET">ECLL</idno>
            <idno type="IMAGESETID">0277200200</idno>
            <availability>

This keyboarded and encoded edition of the
	       work described above is co-owned by the institutions
	       providing financial support to the Early English Books
	       Online Text Creation Partnership. This Phase I text is
	       available for reuse, according to the terms of <ref target="https://creativecommons.org/publicdomain/zero/1.0/">Creative
	       Commons 0 1.0 Universal</ref>. The text can be copied,
	       modified, distributed and performed, even for
	       commercial purposes, all without asking permission.

            </availability>
         </publicationStmt>
         <sourceDesc>
            <biblFull>
               <titleStmt>
                  <title>One thousand seven hundred and thirty eight. Dialogue II. By Mr. Pope</title>
                  <author>Pope, Alexander, 1688-1744.</author>
               </titleStmt>
               <extent>16p. ; 8⁰.</extent>
               <publicationStmt>
                  <publisher>printed by R. Reilly. For G. Risk, G. Ewing, W. Smith, and G. Faulkner,</publisher>
                  <pubPlace>Dublin :</pubPlace>
                  <date>1738.</date>
               </publicationStmt>
               <notesStmt>
                  <note>Reproduction of original from the British Library.</note>
                  <note>Foxon, P940</note>
                  <note>Griffith, 496</note>
                  <note>English Short Title Catalog, ESTCT5725.</note>
                  <note>Electronic data. Farmington Hills, Mich. : Thomson Gale, 2003. Page image (PNG). Digitized image of the microfilm version produced in Woodbridge, CT by Research Publications, 1982-2002 (later known as Primary Source Microfilm, an imprint of the Gale Group).</note>
               </notesStmt>
            </biblFull>
         </sourceDesc>
      </fileDesc>
      <encodingDesc>
         <projectDesc>

Created by converting TCP files to TEI P5 using tcp2tei.xsl,
      TEI @ Oxford.

         </projectDesc>
         <editorialDecl>

EEBO-TCP is a partnership between the Universities of Michigan and Oxford and the publisher ProQuest to create accurately transcribed and encoded texts based on the image sets published by ProQuest via their Early English Books Online (EEBO) database (http://eebo.chadwyck.com). The general aim of EEBO-TCP is to encode one copy (usually the first edition) of every monographic English-language title published between 1473 and 1700 available in EEBO.

EEBO-TCP aimed to produce large quantities of textual data within the usual project restraints of time and funding, and therefore chose to create diplomatic transcriptions (as opposed to critical editions) with light-touch, mainly structural encoding based on the Text Encoding Initiative (http://www.tei-c.org).

The EEBO-TCP project was divided into two phases. The 25,363 texts created during Phase 1 of the project have been released into the public domain as of 1 January 2015. Anyone can now take and use these texts for their own purposes, but we respectfully request that due credit and attribution is given to their original source.

Users should be aware of the process of creating the TCP texts, and therefore of any assumptions that can be made about the data.

Text selection was based on the New Cambridge Bibliography of English Literature (NCBEL). If an author (or for an anonymous work, the title) appears in NCBEL, then their works are eligible for inclusion. Selection was intended to range over a wide variety of subject areas, to reflect the true nature of the print record of the period. In general, first editions of a works in English were prioritized, although there are a number of works in other languages, notably Latin and Welsh, included and sometimes a second or later edition of a work was chosen if there was a compelling reason to do so.

Image sets were sent to external keying companies for transcription and basic encoding. Quality assurance was then carried out by editorial teams in Oxford and Michigan. 5% (or 5 pages, whichever is the greater) of each text was proofread for accuracy and those which did not meet QA standards were returned to the keyers to be redone. After proofreading, the encoding was enhanced and/or corrected and characters marked as illegible were corrected where possible up to a limit of 100 instances per text. Any remaining illegibles were encoded as <gap>s. Understanding these processes should make clear that, while the overall quality of TCP data is very good, some errors will remain and some readable characters will be marked as illegible. Users should bear in mind that in all likelihood such instances will never have been looked at by a TCP editor.

The texts were encoded and linked to page images in accordance with level 4 of the TEI in Libraries guidelines.

Copies of the texts have been issued variously as SGML (TCP schema; ASCII text with mnemonic sdata character entities); displayable XML (TCP schema; characters represented either as UTF-8 Unicode or text strings within braces); or lossless XML (TEI P5, characters represented either as UTF-8 Unicode or TEI g elements).

Keying and markup guidelines are available at the <ref target="http://www.textcreationpartnership.org/docs/.">Text Creation Partnership web site</ref>.

         </editorialDecl>
         <listPrefixDef>
            <prefixDef ident="tcp"
                       matchPattern="([0-9\-]+):([0-9IVX]+)"
                       replacementPattern="https://data.historicaltexts.jisc.ac.uk/view?pubId=ecco-$1&index=ecco&pageId=ecco-$1-$20"/>
            <prefixDef ident="char"
                       matchPattern="(.+)"
                       replacementPattern="https://raw.githubusercontent.com/textcreationpartnership/Texts/master/tcpchars.xml#$1"/>
         </listPrefixDef>
      </encodingDesc>
      <profileDesc>
         <langUsage>
            <language ident="eng">eng</language>
         </langUsage>
      </profileDesc>
   </teiHeader>
   <text xml:lang="eng">
      <front>

            <pb facs="tcp:0277200200:1" rendition="simple:additions"/>

ONE THOUSAND
SEVEN HUNDRED
AND
THIRTY EIGHT.

DIALOGUE II.

By Mr. <hi>POPE.</hi>

               <hi>DUBLIN:</hi>
Printed by R. REILLY. For G. RISK, G. EWING, W. SMITH, and
G. FAULKNER, Bookſellers. MDCCXXXVIII.

      </front>

            <pb facs="tcp:0277200200:2"/>
            ONE THOUSAND
SEVEN HUNDRED
AND
THIRTY EIGHT.
            DIALOGUE II.
            <lg>
               <l>
                  <hi>A.</hi> TIS IS all a Libel—<hi>P<gap reason="blank" resp="#OXF" extent="1+ letters">
                        <desc>_…</desc>
                     </gap>xt<gap reason="blank" resp="#OXF" extent="1+ letters">
                        <desc>_…</desc>
                     </gap>n</hi> (Sir) will ſay.</l>
               <l>
                  <hi>B.</hi> Not' yet, my Friend! to-morrow
'faith it may;</l>
               <l>And for that very cauſe I print to day.</l>
               <l>How ſhou'd I fret, to mangle ev'ry line,</l>
               <l>In rev'rence to the Sins of <hi>Thirty-nine!</hi>
               </l>
               <l>Vice with ſuch Giant-ſtrides comes on amain,</l>
               <l>Invention ſtrives to be before in vain;</l>
               <l>Feign what I will, and paint it e'er ſo ſtrong,</l>
               <l>Some riſing Genius ſins up to my Song.</l>
            </lg>
            <lg>
               <pb n="4" facs="tcp:0277200200:3"/>
               <l>
                  <hi>A.</hi> Yet none but you by Name the Guilty laſh;</l>
               <l>Ev'n <note n="*" place="bottom">The Ordinary of <hi>Newgate,</hi> who publiſhes the Memoirs of the Malefactors</note>
                  <hi>Guthry</hi> ſaves half <hi>Newgate</hi> by a Daſh.</l>
               <l>Spare then the Perſon, and expoſe the Vice.</l>
            </lg>
            <lg>
               <l>
                  <hi>B.</hi> How Sir! not damn the Sharper, but the Dice?</l>
               <l>Come on then Satire! gen'ral, unconfin'd,</l>
               <l>Spread thy broad wing, and ſowze on all the Kind.</l>
               <l>Ye Stateſmen, Prieſts, of one Religion all!</l>
               <l>Ye Tradeſmen vile, in Army, Court, or Hall!</l>
               <l>Ye Rev'rend Atheiſts!</l>
               <l>
                  <hi>A.</hi> Scandal! name them, Who?</l>
            </lg>
            <lg>
               <l>
                  <hi>B.</hi> Why that's the thing you bid me not to do.</l>
               <l>Who ſtarv'd a Mother, who forſwore a Debt,</l>
               <l>I never nam'd—the Town's enquiring yet.</l>
               <l>The pois'ning Dame—<hi>A.</hi> You mean—<hi>B.</hi> I don't. <hi>A.</hi> You do.</l>
            </lg>
            <lg>
               <l>
                  <hi>B.</hi> See! now I keep the Secret, and not you.</l>
               <l>The bribing Stateſman—<hi>A.</hi> Hold! too high you go.</l>
            </lg>
            <lg>
               <l>
                  <hi>B.</hi> The brib'd Elector—<hi>A.</hi> There you ſtoop too low.</l>
            </lg>
            <lg>
               <l>
                  <hi>B.</hi> I fain wou'd pleaſe you, if I knew with what:</l>
               <l>Tell me, which Knave is lawful Game, which not?</l>
               <l>Muſt great Offenders, once eſcap'd the Crown,</l>
               <l>Like Loyal Harts, be never more run down?</l>
               <l>
                  <pb n="5" facs="tcp:0277200200:4"/>
Admit your Law to ſpare the Knight requires;</l>
               <l>As Beaſts of Nature may we hunt the Squires?</l>
               <l>Suppoſe I cenſure—you know what I mean—</l>
               <l>To ſave a Biſhop, may I name a Dean?</l>
            </lg>
            <lg>
               <l>
                  <hi>A.</hi> A Dean, Sir? no: his Fortune is not made,</l>
               <l>You hurt a man that's riſing in the Trade.</l>
            </lg>
            <lg>
               <l>
                  <hi>B.</hi> If not the Tradeſman who ſets up to day,</l>
               <l>Much leſs the 'Prentice who to morrow may.</l>
               <l>Down, down, proud Satire! tho' a Land be ſpoil'd,</l>
               <l>Arraign no mightier Thief than wretched <note n="*" place="bottom">Jonathan Wild.</note>
                  <hi>Wild,</hi>
               </l>
               <l>Or if a Court or Country's made a Job,</l>
               <l>Go drench a Pick-pocket, and join the Mob.</l>
            </lg>
            <lg>
               <l>But Sir, I beg you, for the Love of Vice!</l>
               <l>The matter's weighty, pray conſider twice:</l>
               <l>Have you leſs Pity for the needy Cheat,</l>
               <l>The poor and friendleſs Villian, than the Great?</l>
               <l>Alas! the ſmall Diſcredit of a Bribe</l>
               <l>Scarce hurts the Lawyer, but undoes the Scribe.</l>
               <l>Then better ſure it Charity becomes,</l>
               <l>To tax Directors, who (thank God) have Plums;</l>
               <l>Still better, Miniſters; or if the thing</l>
               <l>May pinch ev'n there—why lay it on a King.</l>
            </lg>
            <lg>
               <pb n="6" facs="tcp:0277200200:5"/>
               <l>
                  <hi>A.</hi> Stop! ſtop!</l>
            </lg>
            <lg>
               <l>
                  <hi>B.</hi> Muſt Satire, then, nor <hi>riſe,</hi> nor <hi>fall</hi>?</l>
               <l>Speak out, and bid me blame no Rogues at all.</l>
            </lg>
            <lg>
               <l>
                  <hi>A.</hi> Yes, ſtrike that <hi>Wild,</hi> I'll juſtify the blow.</l>
            </lg>
            <lg>
               <l>
                  <hi>B.</hi> Strike? why the man was hang'd ten years ago:</l>
               <l>Who now that obſolete Example fears?</l>
               <l>Ev'n <hi>Peter</hi> trembles only for his Ears.</l>
            </lg>
            <lg>
               <l>
                  <hi>A.</hi> What always <hi>Peter? Peter</hi> thinks you mad,</l>
               <l>You make men deſp'rate if they once are bad:</l>
               <l>Elſe might he take to Virtue ſome years hence—</l>
            </lg>
            <lg>
               <l>
                  <hi>B.</hi> As <hi>S<gap reason="blank" resp="#OXF" extent="1+ letters">
                        <desc>_…</desc>
                     </gap>k,</hi> if he lives, will love the PRINCE.</l>
            </lg>
            <lg>
               <l>
                  <hi>A.</hi> Strange ſpleen to <hi>S<gap reason="blank" resp="#OXF" extent="1+ letters">
                        <desc>_…</desc>
                     </gap>k</hi>!</l>
            </lg>
            <lg>
               <l>
                  <hi>B.</hi> Do I wrong the Man?</l>
               <l>God knows, I praiſe a Courtier where I can.</l>
               <l>When I confeſs, there <hi>is</hi> who feels for Fame,</l>
               <l>And melts to Goodneſs, need I SCARBROW name?</l>
               <l>Pleas'd let me own, in <hi>Eſher</hi>'s peaceful Grove<note n="*" place="bottom">The Houſe and Gardens of <hi>Eſher</hi> in <hi>Surry,</hi> deſign'd by Mr. <hi>Kent.</hi>
                  </note>
               </l>
               <l>(Where <hi>Kent</hi> and Nature vye for PELHAM's Love)</l>
               <l>The Scene, the Maſter, opening to my view,</l>
               <l>I fit and dream I ſee my CRAGS anew!</l>
            </lg>
            <lg>
               <pb n="7" facs="tcp:0277200200:6"/>
               <l>Ev'n in a Biſhop I can ſpy Deſert;</l>
               <l>
                  <hi>Secker</hi> is decent, <hi>Rundel</hi> has a Heart,</l>
               <l>Manners with Candour are to <hi>Benſon</hi> giv'n,</l>
               <l>To <hi>Berkley,</hi> ev'ry Virtue under Heav'n.</l>
            </lg>
            <lg>
               <l>But does the Court a worthy Man remove?</l>
               <l>That inſtant, I declare he has my Love:</l>
               <l>I ſhun his Zenith, court his mild decline;</l>
               <l>Thus SOMMERS once, and HALIFAX were mine.</l>
               <l>Oft in the clear, ſtill Mirrour of Retreat,</l>
               <l>I ſtudy'd SHREWSBURY, the wiſe and great:</l>
               <l>CARLETON's calm Senſe, and STANHOPE's noble Flame</l>
               <l>Compar'd, and knew their gen'rous End the ſame:</l>
               <l>How pleaſing ATTERBURY's ſofter hour!</l>
               <l>How ſhin'd the Soul, unconquer'd in the Tow'r!</l>
               <l>How can I PULT'NEY, CHESTERFIELD forget,</l>
               <l>While <hi>Roman</hi> Spirit charms, and <hi>Attic</hi> Wit:</l>
               <l>ARGYLE, the States whole Thunder born to wield,</l>
               <l>And ſhake alike the Senate and the Field:</l>
               <l>Or WYNDHAM, arm'd for Freedom and the Throne,</l>
               <l>The Maſter of our Paſſions, and his own.</l>
               <l>
                  <pb n="8" facs="tcp:0277200200:7"/>
Names, which I long have lov'd, nor lov'd in vain,</l>
               <l>Rank'd with their Friends, not number'd with their Train;</l>
               <l>And if yet higher the proud Liſt ſhould end,</l>
               <l>Still let me ſay! No Follower, but a Friend.</l>
            </lg>
            <lg>
               <l>Yet think not Friendſhip only prompts my Lays;</l>
               <l>I follow <hi>Virtue,</hi> where ſhe ſhines, I praiſe,</l>
               <l>Point ſhe to Prieſt or Elder, Whig or Tory,</l>
               <l>Or round a Quaker's Beaver caſt a Glory.</l>
               <l>I never (to my ſorrow I declare)</l>
               <l>Din'd with the MAN of ROSS, or my <note n="*" place="bottom">Sir John Barnard.</note>LORD MAY'R.</l>
               <l>Some, in their choice of Friends (nay, look not grave)</l>
               <l>Have ſtill a ſecret Byaſs to a Knave:</l>
               <l>To find an honeſt man, I beat about,</l>
               <l>And love him, court him, praiſe him, in or out.</l>
            </lg>
            <lg>
               <l>
                  <hi>A.</hi> Then why ſo few commended?</l>
            </lg>
            <lg>
               <l>
                  <hi>B.</hi> Not ſo fierce;</l>
               <l>Find you the Virtue, and I'll find the Verſe.</l>
               <l>But random Praiſe—the Taſk can ne'er be done,</l>
               <l>Each Mother aſks it for her Booby Son,</l>
               <l>
                  <pb n="9" facs="tcp:0277200200:8"/>
Each Widow aſks it for the Beſt of Men,</l>
               <l>For him ſhe weeps, and him ſhe weds again.</l>
               <l>Praiſe cannot ſtoop, like Satire, to the Ground;</l>
               <l>The Number may be hang'd, but not be crown'd.</l>
               <l>Enough for half the Greateſt of theſe days</l>
               <l>To 'ſcape my Cenſure, not expect my Praiſe:</l>
               <l>Are they not rich? what more can they pretend?</l>
               <l>Dare they to hope a Poet for their Friend?</l>
               <l>What <hi>Richlieu</hi> wanted, <hi>Louis</hi> ſcarce could gain,</l>
               <l>And what young <hi>Ammon</hi> wiſh'd, but wiſh'd in vain.</l>
               <l>No Pow'r the Muſe's Friendſhip can command;</l>
               <l>No Pow'r, when Virtue claims it, can withſtand:</l>
               <l>To <hi>Cato, Virgil</hi> pay'd one honeſt line;</l>
               <l>O let my Country's Friends illumin mine!</l>
               <l>—What are you thinking? <hi>A.</hi> Faith, the thought's no Sin,</l>
               <l>I think your Friends are out, and would be in.</l>
            </lg>
            <lg>
               <l>
                  <hi>B.</hi> If merely to come in, Sir, they go out,</l>
               <l>The way they take is ſtrangely round about.</l>
            </lg>
            <lg>
               <l>
                  <hi>A.</hi> They too may be corrupted, you'll allow?</l>
            </lg>
            <lg>
               <l>
                  <hi>B.</hi> I only call thoſe Knaves, who are ſo now<g ref="char:punc">▪</g>
               </l>
            </lg>
            <lg>
               <pb n="10" facs="tcp:0277200200:9"/>
               <l>Is that too little? Come then, I'll comply—</l>
               <l>Spirit of <hi>Arnall!</hi> aid me while I lye.</l>
               <l>
                  <hi>Cobbam</hi>'s a Coward, <hi>Polwarth</hi> is a Slave,</l>
               <l>And <hi>Lyttleton</hi> a dark, deſigning Knave,</l>
               <l>St. <hi>John</hi> has ever been a wealthy Fool—</l>
               <l>But let me add, Sir <hi>Robert</hi>'s mighty dull,</l>
               <l>Has never made a Friend in private life,</l>
               <l>And was, beſides, a Tyrant to his Wife.</l>
            </lg>
            <lg>
               <l>But pray, when others praiſe him, do I blame?</l>
               <l>Call <hi>Clodius, Wolſey,</hi> any odious name?</l>
               <l>Why rail they then, if but a Wreath of mine</l>
               <l>Oh All-accompliſh'd St. <hi>John!</hi> deck thy Shrine?</l>
            </lg>
            <lg>
               <l>What? ſhall each ſpur-gall'd Hackney of the Day,</l>
               <l>When <hi>Pax<gap reason="blank" resp="#OXF" extent="1+ letters">
                        <desc>_…</desc>
                     </gap>n</hi> gives him double Pots and Pay,</l>
               <l>Or each new-penſion'd Sycophant, pretend</l>
               <l>To break my Windows, if I treat a Friend;</l>
               <l>Then wiſely plead, to me they meant no hurt,</l>
               <l>But 'twas my Gueſt at whom they threw the dirt?</l>
               <l>Sure, if I ſpare the Miniſter, no rules</l>
               <l>Of Honour bind me, not to maul his Tools;</l>
               <l>
                  <pb n="11" facs="tcp:0277200200:10"/>
Sure, if they cannot cut, it may be ſaid</l>
               <l>His ſaws are toothleſs, and his Hatchets Lead.</l>
            </lg>
            <lg>
               <l>It anger'd <hi>Turenne,</hi> once upon a day,</l>
               <l>To ſee a Footman kick'd that took his pay:</l>
               <l>But when he heard th'Affront the Fellow gave,</l>
               <l>Knew one a Man of Honour, one a Knave;</l>
               <l>The prudent Gen'ral turn'd it to a jeſt,</l>
               <l>And begg'd, he'd take the pains to kick the reſt.</l>
               <l>Which not at preſent having time to do—</l>
               <l>
                  <hi>A.</hi> Hold Sir! for God's ſake, where's th' Affront to you?</l>
               <l>Againſt your worſhip what has <hi>S<gap reason="blank" resp="#OXF" extent="1+ letters">
                        <desc>_…</desc>
                     </gap>k</hi> writ?</l>
               <l>When did <hi>Ty<gap reason="blank" resp="#OXF" extent="1+ letters">
                        <desc>_…</desc>
                     </gap>l</hi> hurt you with his Wit?</l>
               <l>Or grant, the Bard whoſe Diſtich all commend,</l>
               <l>[<hi>In Pow'r a Servant, out of Pow'r a Friend.</hi>]</l>
               <l>To <hi>W<gap reason="blank" resp="#OXF" extent="1+ letters">
                        <desc>_…</desc>
                     </gap>le</hi> guilty of ſome venial Sin,</l>
               <l>What's that to you, who ne'er was out nor in?</l>
            </lg>
            <lg>
               <l>The Prieſt whoſe Flattery be-dropt the Crown,</l>
               <l>How hurt he you? he only ſtain'd the Gown.</l>
               <l>And how did, pray the Florid Youth offend,</l>
               <l>Whoſe Speech you took, and gave it to a Friend?</l>
            </lg>
            <lg>
               <pb n="12" facs="tcp:0277200200:11"/>
               <l>
                  <hi>B.</hi> Faith it imports not much from whom it came;</l>
               <l>Whoever borrow'd, could not be to blame,</l>
               <l>Since the whole Houſe did afterwards the ſame:</l>
               <l>Let Courtly Wits to Wits afford ſupply,</l>
               <l>As Hog to Hog in Huts of <hi>Weſtphaly</hi>;</l>
               <l>If one, thro' Nature's Bounty or his Lord's,</l>
               <l>Has what the frugal, dirty ſoil affords,</l>
               <l>From him the next receives it, thick or thin,</l>
               <l>As pure a Meſs almoſt as it came in;</l>
               <l>The bleſſed Benefit, not there confin'd,</l>
               <l>Drops to the third who nuzzles cloſe behind;</l>
               <l>From tail to mouth, they feed, and they carouſe;</l>
               <l>The laſt, full fairly gives it to the <hi>Houſe.</hi>
               </l>
            </lg>
            <lg>
               <l>
                  <hi>A.</hi> This filthy Simile, this beaſtly Line,</l>
               <l>Quite turns my Stomach—<hi>B.</hi> So does Flatt'ry mine;</l>
               <l>And all your Courtly Civet-Cats can vent,</l>
               <l>Perfume to you, to me is Excrement.</l>
            </lg>
            <lg>
               <l>But hear me further—<hi>Japhet,</hi> 'tis agreed,</l>
               <l>Writ not, and <hi>Chartres</hi> ſcarce could write or read,</l>
               <l>In all the Courts of <hi>Pindus</hi> guiltleſs quite:</l>
               <l>But Pens can ſorge, my Friend, that cannot write.</l>
               <l>
                  <pb n="13" facs="tcp:0277200200:12"/>
And muſt no Egg in <hi>Japhet</hi>'s Face be thrown,</l>
               <l>Becauſe the Deed he forg'd was not my own?</l>
               <l>Muſt never Patriot then declaim at Gin,</l>
               <l>Unleſs, good man! he has been fairly in?</l>
               <l>No zealous Paſtor blame a failing Spouſe,</l>
               <l>Without a ſtaring Reaſon on his Brows?</l>
               <l>And each Blaſphemer quite eſcape the Rod,</l>
               <l>Becauſe the inſult's not on Man, but God?</l>
            </lg>
            <lg>
               <l>Ask you what Provocation I have had?</l>
               <l>The ſtrong Antipathy of Good to Bad.</l>
               <l>When Truth or Virtue an Affront endures,</l>
               <l>Th' Affront is mine, my Friend, and ſhould be yours.</l>
               <l>Mine, as a Foe profeſs'd to falſe Pretence,</l>
               <l>Who think a Coxcomb's Honour like his Senſe;</l>
               <l>Mine, as a Friend to ev'ry worthy mind;</l>
               <l>And mine as Man, who feel for all mankind.</l>
            </lg>
            <lg>
               <l>
                  <hi>A.</hi> You're ſtrangely proud.</l>
            </lg>
            <lg>
               <l>
                  <hi>B.</hi> So proud, I am no Slave;</l>
               <l>So impudent, I own myſelf no Knave:</l>
               <l>So odd, my Country's Ruin makes me grave.</l>
               <l>
                  <pb n="14" facs="tcp:0277200200:13"/>
Yes, I am proud; I muſt be proud to ſee</l>
               <l>Men not afraid of God, afraid of me:</l>
               <l>Safe from the Bar, the Pulpit, and the Throne,</l>
               <l>Yet touch'd and ſham'd by <hi>Ridicule</hi> alone.</l>
               <l>O ſacred Weapon! left for Truth's defence,</l>
               <l>Sole dread of Folly, Vice, and Inſolence!</l>
               <l>To all but Heav'n-directed hands deny'd,</l>
               <l>The Muſe may give thee, but the Gods muſt guide.</l>
               <l>Rev'rent I touch thee! but with honeſt zeal;</l>
               <l>To rowze the Watchmen of the Publick Weal,</l>
               <l>To Virtue's Work provoke the tardy Hall,</l>
               <l>And goad the Prelate ſlumb'ring in his Stall.</l>
            </lg>
            <lg>
               <l>Ye tinſel Inſects! whom a Court maintains,</l>
               <l>That counts your Beauties only by your Stains,</l>
               <l>Spin all your Cobwebs o'er the Eye of Day!</l>
               <l>The Muſe's wing ſhall bruſh you all away:</l>
               <l>All his Grace preaches, all his Lordſhip ſings,</l>
               <l>All that makes Saints of Queens, and Gods of Kings,</l>
               <l>All, all bat Truth, drops dead born from the Preſs,</l>
               <l>Like the laſt Gazette, or the laſt Addreſs.</l>
            </lg>
            <lg>
               <pb n="15" facs="tcp:0277200200:14"/>
               <l>When black Ambition ſtains a Publick Cauſe,</l>
               <l>A Monarch's ſword when mad Vain-glory draws,</l>
               <l>Not <hi>Waller</hi>'s Wreath can hide the Nation's Scar,</l>
               <l>Nor <hi>Boileau</hi> turn the <note n="†" place="bottom">In his Ode on <hi>Namur</hi>; where (to uſe his own words) <hi>il a fait un Aſtre de la Plume blanche qui le Roy porte ordinairement a ſon Chapeau, & qui eſt en effet une eſpece de Comete, fatale a nos enne<g ref="char:EOLhyphen"/>mis.</hi>
                  </note> Feather to a Star.</l>
            </lg>
            <lg>
               <l>Not ſo, when diadem'd with Rays divine,</l>
               <l>Touch'd with the Flame that breaks from <hi>Virtue</hi>'s Shrine,</l>
               <l>Her Prieſteſs Muſe, forbids the Good to dye,</l>
               <l>And ope's the Temple of Eternity;</l>
               <l>There other <hi>Trophies</hi> deck the truly Brave,</l>
               <l>Than ſuch as <hi>Anſtis</hi> caſts into the Grave;</l>
               <l>Far other <hi>Stars</hi> than * and * *  wear,</l>
               <l>And may deſcend to <hi>Mor<gap reason="blank" resp="#OXF" extent="1+ letters">
                        <desc>_…</desc>
                     </gap>ton</hi> from <hi>Stair:</hi>
               </l>
               <l>Such as on <note n="*" place="bottom">Dr. <hi>Hough</hi> Biſhop of <hi>Worceſter.</hi>
                  </note>HOUGH's unſully'd Mitre ſhine,</l>
               <l>Or beam, good DIGBY! from a Heart like thine.</l>
               <l>Let Envy howl while Heav'ns whole Chorus ſings,</l>
               <l>And bark at Honour not conferr'd by Kings;</l>
               <l>Let Flatt'ry ſickening ſee the Incenſe riſe,</l>
               <l>Sweet to the World, and grateful to the Skies:</l>
               <l>
                  <pb n="16" facs="tcp:0277200200:15"/>
Truth guards the Poet, ſanctifies the line,</l>
               <l>And makes Immortal, Verſe as mean as mine.</l>
            </lg>
            <lg>
               <l>Yes, the laſt Pen for Freedom let me draw,</l>
               <l>When Truth ſtands trembling on the edge of Law:</l>
               <l>Here, Laſt of <hi>Briton's!</hi> let your Names be read;</l>
               <l>Are none, none living? let me praiſe the Dead,</l>
               <l>And for that Cauſe which made your Fathers ſhine,</l>
               <l>Fall, by the Votes of their degen'rate Line!</l>
            </lg>
            <lg>
               <l>
                  <hi>A.</hi> Alas! alas! pray end what you began,</l>
               <l>And write next winter more <hi>Eſſays</hi> on <hi>Man.</hi>
               </l>
            </lg>

         <trailer>FINIS.</trailer>

   </text>
</TEI>


text:
<?xml version="1.0" encoding="UTF-8"?>

<udhr iso639-3='deu' xml:lang='de-1901' key='deu_1901' n='German, Standard (1901)' xmlns="http://www.unhchr.ch/udhr">
   <title>Die Allgemeine Erklärung der Menschenrechte</title>
   <note>
      <para>Resolution 217 A (III) vom 10.12.1948</para>
   </note>
   <preamble>
      <title>Präambel</title>
      <para>Da die Anerkennung der angeborenen Würde und der gleichen und unveräußerlichen Rechte aller Mitglieder der Gemeinschaft der Menschen die Grundlage von Freiheit, Gerechtigkeit und Frieden in der Welt bildet,</para>
      <para>da die Nichtanerkennung und Verachtung der Menschenrechte zu Akten der Barbarei geführt haben, die das Gewissen der Menschheit mit Empörung erfüllen, und da verkündet worden ist, daß einer Welt, in der die Menschen Rede- und Glaubensfreiheit und Freiheit von Furcht und Not genießen, das höchste Streben des Menschen gilt,</para>
      <para>da es notwendig ist, die Menschenrechte durch die Herrschaft des Rechtes zu schützen, damit der Mensch nicht gezwungen wird, als letztes Mittel zum Aufstand gegen Tyrannei und Unterdrückung zu greifen,</para>
      <para>da es notwendig ist, die Entwicklung freundschaftlicher Beziehungen zwischen den Nationen zu fördern,</para>
      <para>da die Völker der Vereinten Nationen in der Charta ihren Glauben an die grundlegenden Menschenrechte, an die Würde und den Wert der menschlichen Person und an die Gleichberechtigung von Mann und Frau erneut bekräftigt und beschlossen haben, den sozialen Fortschritt und bessere Lebensbedingungen in größerer Freiheit zu fördern,</para>
      <para>da die Mitgliedstaaten sich verpflichtet haben, in Zusammenarbeit mit den Vereinten Nationen auf die allgemeine Achtung und Einhaltung der Menschenrechte und Grundfreiheiten hinzuwirken,</para>
      <para>da ein gemeinsames Verständnis dieser Rechte und Freiheiten von größter Wichtigkeit für die volle Erfüllung dieser Verpflichtung ist,</para>
      <para>verkündet die Generalversammlung</para>
      <para>diese Allgemeine Erklärung der Menschenrechte als das von allen Völkern und Nationen zu erreichende gemeinsame Ideal, damit jeder einzelne und alle Organe der Gesellschaft sich diese Erklärung stets gegenwärtig halten und sich bemühen, durch Unterricht und Erziehung die Achtung vor diesen Rechten und Freiheiten zu fördern und durch fortschreitende nationale und internationale Maßnahmen ihre allgemeine und tatsächliche Anerkennung und Einhaltung durch die Bevölkerung der Mitgliedstaaten selbst wie auch durch die Bevölkerung der ihrer Hoheitsgewalt unterstehenden Gebiete zu gewährleisten.</para>
   </preamble>

      <title>Artikel 1</title>
      <para>Alle Menschen sind frei und gleich an Würde und Rechten geboren. Sie sind mit Vernunft und Gewissen begabt und sollen einander im Geist der Brüderlichkeit begegnen.</para>

      <title>Artikel 2</title>
      <para>Jeder hat Anspruch auf die in dieser Erklärung verkündeten Rechte und Freiheiten ohne irgendeinen Unterschied, etwa nach Rasse, Hautfarbe, Geschlecht, Sprache, Religion, politischer oder sonstiger Überzeugung, nationaler oder sozialer Herkunft, Vermögen, Geburt oder sonstigem Stand.</para>
      <para>Des weiteren darf kein Unterschied gemacht werden auf Grund der politischen, rechtlichen oder internationalen Stellung des Landes oder Gebiets, dem eine Person angehört, gleichgültig, ob dieses unabhängig ist, unter Treuhandschaft steht, keine Selbstregierung besitzt oder sonst in seiner Souveränität eingeschränkt ist.</para>

      <title>Artikel 3</title>
      <para>Jeder hat das Recht auf Leben, Freiheit und Sicherheit der Person.</para>

      <title>Artikel 4</title>
      <para>Niemand darf in Sklaverei oder Leibeigenschaft gehalten werden; Sklaverei und Sklavenhandel sind in allen ihren Formen verboten.</para>

      <title>Artikel 5</title>
      <para>Niemand darf der Folter oder grausamer, unmenschlicher oder erniedrigender Behandlung oder Strafe unterworfen werden.</para>

      <title>Artikel 6</title>
      <para>Jeder hat das Recht, überall als rechtsfähig anerkannt zu werden.</para>

      <title>Artikel 7</title>
      <para>Alle Menschen sind vor dem Gesetz gleich und haben ohne Unterschied Anspruch auf gleichen Schutz durch das Gesetz. Alle haben Anspruch auf gleichen Schutz gegen jede Diskriminierung, die gegen diese Erklärung verstößt, und gegen jede Aufhetzung zu einer derartigen Diskriminierung.</para>

      <title>Artikel 8</title>
      <para>Jeder hat Anspruch auf einen wirksamen Rechtsbehelf bei den zuständigen innerstaatlichen Gerichten gegen Handlungen, durch die seine ihm nach der Verfassung oder nach dem Gesetz zustehenden Grundrechte verletzt werden.</para>

      <title>Artikel 9</title>
      <para>Niemand darf willkürlich festgenommen, in Haft gehalten oder des Landes verwiesen werden.</para>

      <title>Artikel 10</title>
      <para>Jeder hat bei der Feststellung seiner Rechte und Pflichten sowie bei einer gegen ihn erhobenen strafrechtlichen Beschuldigung in voller Gleichheit Anspruch auf ein gerechtes und öffentliches Verfahren vor einem unabhängigen und unparteiischen Gericht.</para>

      <title>Artikel 11</title>
      <orderedlist>
         <listitem>
            <para>Jeder, der wegen einer strafbaren Handlung beschuldigt wird, hat das Recht, als unschuldig zu gelten, solange seine Schuld nicht in einem öffentlichen Verfahren, in dem er alle für seine Verteidigung notwendigen Garantien gehabt hat, gemäß dem Gesetz nachgewiesen ist.</para>
         </listitem>
         <listitem>
            <para>Niemand darf wegen einer Handlung oder Unterlassung verurteilt werden, die zur Zeit ihrer Begehung nach innerstaatlichem oder internationalem Recht nicht strafbar war. Ebenso darf keine schwerere Strafe als die zum Zeitpunkt der Begehung der strafbaren Handlung angedrohte Strafe verhängt werden.</para>
         </listitem>
      </orderedlist>

      <title>Artikel 12</title>
      <para>Niemand darf willkürlichen Eingriffen in sein Privatleben, seine Familie, seine Wohnung und seinen Schriftverkehr oder Beeinträchtigungen seiner Ehre und seines Rufes ausgesetzt werden. Jeder hat Anspruch auf rechtlichen Schutz gegen solche Eingriffe oder Beeinträchtigungen.</para>

      <title>Artikel 13</title>
      <orderedlist>
         <listitem>
            <para>Jeder hat das Recht, sich innerhalb eines Staates frei zu bewegen und seinen Aufenthaltsort frei zu wählen.</para>
         </listitem>
         <listitem>
            <para>Jeder hat das Recht, jedes Land, einschließlich seines eigenen, zu verlassen und in sein Land zurückzukehren.</para>
         </listitem>
      </orderedlist>

      <title>Artikel 14</title>
      <orderedlist>
         <listitem>
            <para>Jeder hat das Recht, in anderen Ländern vor Verfolgung Asyl zu suchen und zu genießen.</para>
         </listitem>
         <listitem>
            <para>Dieses Recht kann nicht in Anspruch genommen werden im Falle einer Strafverfolgung, die tatsächlich auf Grund von Verbrechen nichtpolitischer Art oder auf Grund von Handlungen erfolgt, die gegen die Ziele und Grundsätze der Vereinten Nationen verstoßen.</para>
         </listitem>
      </orderedlist>

      <title>Artikel 15</title>
      <orderedlist>
         <listitem>
            <para>Jeder hat das Recht auf eine Staatsangehörigkeit.</para>
         </listitem>
         <listitem>
            <para>Niemandem darf seine Staatsangehörigkeit willkürlich entzogen noch das Recht versagt werden, seine Staatsangehörigkeit zu wechseln.</para>
         </listitem>
      </orderedlist>

      <title>Artikel 16</title>
      <orderedlist>
         <listitem>
            <para>Heiratsfähige Frauen und Männer haben ohne Beschränkung auf Grund der Rasse, der Staatsangehörigkeit oder der Religion das Recht, zu heiraten und eine Familie zu gründen. Sie haben bei der Eheschließung, während der Ehe und bei deren Auflösung gleiche Rechte.</para>
         </listitem>
         <listitem>
            <para>Eine Ehe darf nur bei freier und uneingeschränkter Willenseinigung der künftigen Ehegatten geschlossen werden.</para>
         </listitem>
         <listitem>
            <para>Die Familie ist die natürliche Grundeinheit der Gesellschaft und hat Anspruch auf Schutz durch Gesellschaft und Staat.</para>
         </listitem>
      </orderedlist>

      <title>Artikel 17</title>
      <orderedlist>
         <listitem>
            <para>Jeder hat das Recht, sowohl allein als auch in Gemeinschaft mit anderen Eigentum innezuhaben.</para>
         </listitem>
         <listitem>
            <para>Niemand darf willkürlich seines Eigentums beraubt werden.</para>
         </listitem>
      </orderedlist>

      <title>Artikel 18</title>
      <para>Jeder hat das Recht auf Gedanken-, Gewissens- und Religionsfreiheit; dieses Recht schließt die Freiheit ein, seine Religion oder Überzeugung zu wechseln, sowie die Freiheit, seine Religion oder Weltanschauung allein oder in Gemeinschaft mit anderen, öffentlich oder privat durch Lehre, Ausübung, Gottesdienst und Kulthandlungen zu bekennen.</para>

      <title>Artikel 19</title>
      <para>Jeder hat das Recht auf Meinungsfreiheit und freie Meinungsäußerung; dieses Recht schließt die Freiheit ein, Meinungen ungehindert anzuhängen sowie über Medien jeder Art und ohne Rücksicht auf Grenzen Informationen und Gedankengut zu suchen, zu empfangen und zu verbreiten.</para>

      <title>Artikel 20</title>
      <orderedlist>
         <listitem>
            <para>Alle Menschen haben das Recht, sich friedlich zu versammeln und zu Vereinigungen zusammenzuschließen.</para>
         </listitem>
         <listitem>
            <para>Niemand darf gezwungen werden, einer Vereinigung anzugehören.</para>
         </listitem>
      </orderedlist>

      <title>Artikel 21</title>
      <orderedlist>
         <listitem>
            <para>Jeder hat das Recht, an der Gestaltung der öffentlichen Angelegenheiten seines Landes unmittelbar oder durch frei gewählte Vertreter mitzuwirken.</para>
         </listitem>
         <listitem>
            <para>Jeder hat das Recht auf gleichen Zugang zu öffentlichen Ämtern in seinem Lande.</para>
         </listitem>
         <listitem>
            <para>Der Wille des Volkes bildet die Grundlage für die Autorität der öffentlichen Gewalt; dieser Wille muß durch regelmäßige, unverfälschte, allgemeine und gleiche Wahlen mit geheimer Stimmabgabe oder in einem gleichwertigen freien Wahlverfahren zum Ausdruck kommen.</para>
         </listitem>
      </orderedlist>

      <title>Artikel 22</title>
      <para>Jeder hat als Mitglied der Gesellschaft das Recht auf soziale Sicherheit und Anspruch darauf, durch innerstaatliche Maßnahmen und internationale Zusammenarbeit sowie unter Berücksichtigung der Organisation und der Mittel jedes Staates in den Genuß der wirtschaftlichen, sozialen und kulturellen Rechte zu gelangen, die für seine Würde und die freie Entwicklung seiner Persönlichkeit unentbehrlich sind.</para>

      <title>Artikel 23</title>
      <orderedlist>
         <listitem>
            <para>Jeder hat das Recht auf Arbeit, auf freie Berufswahl, auf gerechte und befriedigende Arbeitsbedingungen sowie auf Schutz vor Arbeitslosigkeit.</para>
         </listitem>
         <listitem>
            <para>Jeder, ohne Unterschied, hat das Recht auf gleichen Lohn für gleiche Arbeit.</para>
         </listitem>
         <listitem>
            <para>Jeder, der arbeitet, hat das Recht auf gerechte und befriedigende Entlohnung, die ihm und seiner Familie eine der menschlichen Würde entsprechende Existenz sichert, gegebenenfalls ergänzt durch andere soziale Schutzmaßnahmen.</para>
         </listitem>
         <listitem>
            <para>Jeder hat das Recht, zum Schutz seiner Interessen Gewerkschaften zu bilden und solchen beizutreten.</para>
         </listitem>
      </orderedlist>

      <title>Artikel 24</title>
      <para>Jeder hat das Recht auf Erholung und Freizeit und insbesondere auf eine vernünftige Begrenzung der Arbeitszeit und regelmäßigen bezahlten Urlaub.</para>

      <title>Artikel 25</title>
      <orderedlist>
         <listitem>
            <para>Jeder hat das Recht auf einen Lebensstandard, der seine und seiner Familie Gesundheit und Wohl, einschließlich Nahrung, Kleidung, Wohnung, ärztlicher Versorgung und notwendiger sozialer Leistungen gewährleistet, sowie das Recht auf Sicherheit im Falle von Arbeitslosigkeit, Krankheit, Invalidität oder Verwitwung, im Alter sowie bei anderweitigem Verlust seiner Unterhaltsmittel durch unverschuldete Umstände.</para>
         </listitem>
         <listitem>
            <para>Mütter und Kinder haben Anspruch auf besondere Fürsorge und Unterstützung. Alle Kinder, eheliche wie außereheliche, genießen den gleichen sozialen Schutz.</para>
         </listitem>
      </orderedlist>

      <title>Artikel 26</title>
      <orderedlist>
         <listitem>
            <para>Jeder hat das Recht auf Bildung. Die Bildung ist unentgeltlich, zum mindesten der Grundschulunterricht und die grundlegende Bildung. Der Grundschulunterricht ist obligatorisch. Fach- und Berufsschulunterricht müssen allgemein verfügbar gemacht werden, und der Hochschulunterricht muß allen gleichermaßen entsprechend ihren Fähigkeiten offenstehen.</para>
         </listitem>
         <listitem>
            <para>Die Bildung muß auf die volle Entfaltung der menschlichen Persönlichkeit und auf die Stärkung der Achtung vor den Menschenrechten und Grundfreiheiten gerichtet sein. Sie muß zu Verständnis, Toleranz und Freundschaft zwischen allen Nationen und allen rassischen oder religiösen Gruppen beitragen und der Tätigkeit der Vereinten Nationen für die Wahrung des Friedens förderlich sein.</para>
         </listitem>
         <listitem>
            <para>Die Eltern haben ein vorrangiges Recht, die Art der Bildung zu wählen, die ihren Kindern zuteil werden soll.</para>
         </listitem>
      </orderedlist>

      <title>Artikel 27</title>
      <orderedlist>
         <listitem>
            <para>Jeder hat das Recht, am kulturellen Leben der Gemeinschaft frei teilzunehmen, sich an den Künsten zu erfreuen und am wissenschaftlichen Fortschritt und dessen Errungenschaften teilzuhaben.</para>
         </listitem>
         <listitem>
            <para>Jeder hat das Recht auf Schutz der geistigen und materiellen Interessen, die ihm als Urheber von Werken der Wissenschaft, Literatur oder Kunst erwachsen.</para>
         </listitem>
      </orderedlist>

      <title>Artikel 28</title>
      <para>Jeder hat Anspruch auf eine soziale und internationale Ordnung, in der die in dieser Erklärung verkündeten Rechte und Freiheiten voll verwirklicht werden können.</para>

      <title>Artikel 29</title>
      <orderedlist>
         <listitem>
            <para>Jeder hat Pflichten gegenüber der Gemeinschaft, in der allein die freie und volle Entfaltung seiner Persönlichkeit möglich ist.</para>
         </listitem>
         <listitem>
            <para>Jeder ist bei der Ausübung seiner Rechte und Freiheiten nur den Beschränkungen unterworfen, die das Gesetz ausschließlich zu dem Zweck vorsieht, die Anerkennung und Achtung der Rechte und Freiheiten anderer zu sichern und den gerechten Anforderungen der Moral, der öffentlichen Ordnung und des allgemeinen Wohles in einer demokratischen Gesellschaft zu genügen.</para>
         </listitem>
         <listitem>
            <para>Diese Rechte und Freiheiten dürfen in keinem Fall im Widerspruch zu den Zielen und Grundsätzen der Vereinten Nationen ausgeübt werden.</para>
         </listitem>
      </orderedlist>

      <title>Artikel 30</title>
      <para>Keine Bestimmung dieser Erklärung darf dahin ausgelegt werden, daß sie für einen Staat, eine Gruppe oder eine Person irgendein Recht begründet, eine Tätigkeit auszuüben oder eine Handlung zu begehen, welche die Beseitigung der in dieser Erklärung verkündeten Rechte und Freiheiten zum Ziel hat.</para>

</udhr>


text:
If you have an interest in contributing to this project, here is some advice for packaging your contribution. Thahks!

## Contributing Bug Reports

Most likely the most common contribution to a library like this will be bug reports. These come in two varieties: stuff that
probably pertains to camera hardware, and other sorts of bugs.

**All bug reports need to include**:

- the `Build.MANUFACTURER` and `Build.PRODUCT` values for the hardware on which you are experiencing the problem
- the code necessary to reproduce the problem (this could be one of the demo apps, or it could be some demo project of yours that you publish)
- the steps necessary, using that code and that hardware, to reproduce the problem

### Bug Reports about Camera Picture Output

If pictures taken using this library are coming out incorrectly (garbled, incorrect colors, too-small sizes, etc.), the
best way to document that bug is by running the `demo`/ app from the project and attaching the ZIP archive it generates
to your [issue](https://github.com/commonsguy/cwac-cam2/issues). The `demo/` app not only takes four pictures (two per
orientation, two per camera) and includes them in the ZIP archive, but the ZIP also contains a JSON file with some
hardware details to help identify your hardware.

If you cannot reproduce the bug using the demo app, but you can reproduce using your own app, include the
`CameraActivity.IntentBuilder` configuration code that you are using, along with any other code snippets that you think
might pertain to the problem, when you post your [issue](https://github.com/commonsguy/cwac-cam2/issues).

### Bug Reports about Camera Preview Output

Unfortunately, the `demo/` app is not presently capturing previews and including them in the ZIP. If you can
reproduce the preview bug using the `demo/` app, try to take a screenshot or otherwise capture an image of what
you are seeing in the preview that is a problem, and include it in your
[issue](https://github.com/commonsguy/cwac-cam2/issues).

If you cannot reproduce the problem with the `demo/` app, but you can reproduce using your own app, include the
`CameraActivity.IntentBuilder` configuration code that you are using, along with any other code snippets that you think
might pertain to the problem, and your screenshot illustrating the preview problem,
when you post your [issue](https://github.com/commonsguy/cwac-cam2/issues).

## Contributing Feature Requests

If you have an idea for how to make the library better, feel free to file an [issue](https://github.com/commonsguy/cwac-cam2/issues).
You will have better luck in getting the feature implemented if you can "sell" the library author
on how this feature will help the library author.

## Contributing Code

This project is not set up to accept much in the way of pull requests or other code contributions, for
licensing and contractual reasons, not technical ones.

If you send over a pull request, and it is a *de minimis* fix (i.e., there is no other reasonable way to
affect the change other than how you did it), your pull request may be accepted and merged in directly.
Otherwise, pull requests or other code samples will be used as inspiration for a fresh implementation,
rather than used directly.


text:
package org.apache.kylin.metadata.datatype;

import java.nio.ByteBuffer;

import org.apache.kylin.common.util.DateFormat;

@SuppressWarnings("serial")
public class DateTimeSerializer extends DataTypeSerializer<Long> {

    public DateTimeSerializer(DataType type) {
    }

    @Override
    public void serialize(Long value, ByteBuffer out) {
        out.putLong(value);
    }

    @Override
    public Long deserialize(ByteBuffer in) {
        return in.getLong();
    }

    @Override
    public int peekLength(ByteBuffer in) {
        return 8;
    }

    @Override
    public int maxLength() {
        return 8;
    }

    @Override
    public int getStorageBytesEstimate() {
        return 8;
    }

    @Override
    public Long valueOf(String str) {
        return Long.valueOf(DateFormat.stringToMillis(str));
    }

}


text:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<!-- Generated 2015-12-16 20:34:33 by Hibernate Tools 4.3.1.Final -->
<hibernate-mapping>
    <class name="db.entity.Tc" table="tc" catalog="amdb" optimistic-lock="version"
        dynamic-update="true"
		dynamic-insert="true" >
        <composite-id name="id" class="db.entity.TcId">
            <key-property name="tno" type="string">
                <column name="tno" length="8" />
            </key-property>
            <key-property name="cno" type="string">
                <column name="cno" length="8" />
            </key-property>
        </composite-id>
        <property name="cweek" type="java.lang.Integer">
            <column name="cweek" />
        </property>
        <property name="cday" type="java.lang.Integer">
            <column name="cday" />
        </property>
        <property name="ctime" type="java.lang.Integer">
            <column name="ctime" />
        </property>
        <property name="checkTime" type="java.lang.Integer">
            <column name="check_time" />
        </property>
        <property name="maxAbsence" type="java.lang.Integer">
            <column name="max_absence" />
        </property>
    </class>
</hibernate-mapping>


text:
FOUNDATION_EXPORT double SFCoreVersionNumber;

//! Project version string for SFCore.
FOUNDATION_EXPORT const unsigned char SFCoreVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <SFCore/PublicHeader.h>


text:
<?php

namespace Etu\Core\CoreBundle\Controller;

use Doctrine\ORM\EntityManager;

use Etu\Core\CoreBundle\Framework\Definition\Controller;
use Etu\Core\UserBundle\Entity\User;
use Etu\Core\UserBundle\Model\BadgesManager;

use Symfony\Component\HttpFoundation\Response;

// Import @Route() and @Template() annotations
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;

/**
 * @Route("/ajax")
 */
class AjaxController extends Controller
{
	/**
	 * @Route(
	 *      "/follow/{entityType}/{entityId}",
	 *      requirements={"entityType"="[a-z\-_]+", "entityId" = "\d+"},
	 *      defaults={"_format"="json"},
	 *      name="notifs_subscribe",
	 *      options={"expose"=true}
	 * )
	 */
	public function subscribeAction($entityType, $entityId)
	{
		if (! $this->getUserLayer()->isUser()) {
			return new Response(json_encode(array(
				'status' => 403,
				'message' => 'You are not allowed to access this URL as anonymous or organization.'
			)), 403);
		}

		$user = $this->getUser();

		if (! $user->testingContext) {
			$this->getSubscriptionsManager()->subscribe($user, $entityType, $entityId);
		}

		/** @var $em EntityManager */
		$em = $this->getDoctrine()->getManager();

		$count = $em->createQueryBuilder()
			->select('COUNT(s) as nb')
			->from('EtuCoreBundle:Subscription', 's')
			->where('s.user = :user')
			->setParameter('user', $user->getId())
			->getQuery()
			->getSingleScalarResult();

		$count = (int) $count;

		if ($count >= 10) {
			BadgesManager::userAddBadge($user, 'subscriber', 1);
		} else {
			BadgesManager::userRemoveBadge($user, 'subscriber', 1);
		}

		if ($count >= 20) {
			BadgesManager::userAddBadge($user, 'subscriber', 2);
		} else {
			BadgesManager::userRemoveBadge($user, 'subscriber', 2);
		}

		if ($count >= 30) {
			BadgesManager::userAddBadge($user, 'subscriber', 3);
		} else {
			BadgesManager::userRemoveBadge($user, 'subscriber', 3);
		}

		BadgesManager::userPersistBadges($user);
		$em->persist($user);
		$em->flush();

		return new Response(json_encode(array(
			'status' => 200,
			'message' => $this->get('translator')->trans('core.subscriptions.api.confirm_follow')
		)));
	}

	/**
	 * @Route(
	 *      "/unfollow/{entityType}/{entityId}",
	 *      requirements={"entityType"="[a-z\-_]+", "entityId" = "\d+"},
	 *      defaults={"_format"="json"},
	 *      name="notifs_unsubscribe",
	 *      options={"expose"=true}
	 * )
	 */
	public function unsubscribeAction($entityType, $entityId)
	{
		if (! $this->getUserLayer()->isUser()) {
			return new Response(json_encode(array(
				'status' => 403,
				'message' => 'You are not allowed to access this URL as anonymous or organization.'
			)), 403);
		}

		$user = $this->getUser();

		if (! $user->testingContext) {
			$this->getSubscriptionsManager()->unsubscribe($user, $entityType, $entityId);
		}

		/** @var $em EntityManager */
		$em = $this->getDoctrine()->getManager();

		$count = $em->createQueryBuilder()
			->select('COUNT(s) as nb')
			->from('EtuCoreBundle:Subscription', 's')
			->where('s.user = :user')
			->setParameter('user', $user->getId())
			->getQuery()
			->getSingleScalarResult();

		$count = (int) $count;

		if ($count >= 10) {
			BadgesManager::userAddBadge($user, 'subscriber', 1);
		} else {
			BadgesManager::userRemoveBadge($user, 'subscriber', 1);
		}

		if ($count >= 20) {
			BadgesManager::userAddBadge($user, 'subscriber', 2);
		} else {
			BadgesManager::userRemoveBadge($user, 'subscriber', 2);
		}

		if ($count >= 30) {
			BadgesManager::userAddBadge($user, 'subscriber', 3);
		} else {
			BadgesManager::userRemoveBadge($user, 'subscriber', 3);
		}

		BadgesManager::userPersistBadges($user);
		$em->persist($user);
		$em->flush();

		return new Response(json_encode(array(
			'status' => 200,
			'message' => $this->get('translator')->trans('core.subscriptions.api.confirm_unfollow')
		)));
	}

	/**
	 * @Route(
	 *      "/notifs/new",
	 *      name="notifs_new",
	 *      options={"expose"=true}
	 * )
	 */
	public function newAction()
	{
		if (! $this->getUserLayer()->isUser()) {
			return new Response(json_encode(array(
				'status' => 403,
				'message' => 'You are not allowed to access this URL as anonymous or organization.'
			)), 403);
		}

		return new Response(json_encode(array(
			'status' => 200,
			'result' => array(
				'count' => $this->get('etu.twig.global_accessor')->get('notifs')->get('new_count'),
				'notifs' => $this->get('etu.twig.global_accessor')->get('notifs')->get('new')
			)
		)));
	}
}


text:
default['metasploit']['directory'] = "/opt/metasploit"

default['metasploit']['github']['url']           = "https://github.com/rapid7/metasploit-framework.git"
default['metasploit']['github']['reference']     = "master"
default['metasploit']['github']['clone_timeout'] = 1500


text:
require 'test_helper'
describe "Mobilize" do
  # enqueues 4 workers on Resque
  it "runs integration test" do

    puts "restart test redis"
    TestHelper.restart_test_redis
    TestHelper.drop_test_db

    puts "restart workers"
    Mobilize::Jobtracker.restart_workers!

    u = TestHelper.owner_user
    r = u.runner
    user_name = u.name
    gdrive_slot = u.email

    puts "build test runner"
    TestHelper.build_test_runner(user_name)
    assert Mobilize::Jobtracker.workers.length == Mobilize::Resque.config['max_workers'].to_i

    puts "add test data"
    ["hive1.in","hive4_stage1.in","hive4_stage2.in","hive1.schema","hive1.sql", "hive5.in"].each do |fixture_name|
      target_url = "gsheet://#{r.title}/#{fixture_name}"
      TestHelper.write_fixture(fixture_name, target_url, 'replace')
    end

    puts "add/update jobs"
    u.jobs.each{|j| j.stages.each{|s| s.delete}; j.delete}
    jobs_fixture_name = "integration_jobs"
    jobs_target_url = "gsheet://#{r.title}/jobs"
    TestHelper.write_fixture(jobs_fixture_name, jobs_target_url, 'update')

    puts "job rows added, force enqueue runner, wait for stages"
    #wait for stages to complete
    expected_fixture_name = "integration_expected"
    Mobilize::Jobtracker.stop!
    r.enqueue!
    TestHelper.confirm_expected_jobs(expected_fixture_name,3600)

    puts "update job status and activity"
    r.update_gsheet(gdrive_slot)

    puts "check posted data"
    assert TestHelper.check_output("gsheet://#{r.title}/hive1_stage2.out", 'min_length' => 219) == true
    assert TestHelper.check_output("gsheet://#{r.title}/hive1_stage3.out", 'min_length' => 3) == true
    assert TestHelper.check_output("gsheet://#{r.title}/hive2.out", 'min_length' => 599) == true
    assert TestHelper.check_output("gsheet://#{r.title}/hive3.out", 'min_length' => 347) == true
    assert TestHelper.check_output("gsheet://#{r.title}/hive4.out", 'min_length' => 432) == true
    assert TestHelper.check_output("gsheet://#{r.title}/hive5.out", 'min_length' => 500) == true
  end
end


text:
define([
    './VirtualizedDataSource/_VirtualizedDataSourceImpl',
    './VirtualizedDataSource/_GroupDataSource',
    './VirtualizedDataSource/_GroupedItemDataSource',
    './VirtualizedDataSource/_StorageDataSource'
     ], function () {

    //wrapper module
});


text:
namespace lslboost
{
    namespace range_detail
    {
        template<class T>
        struct const_reference_type_generator
        {
            typedef typename mpl::if_<
                typename is_reference<T>::type,
                typename add_reference<
                    typename add_const<
                        typename remove_reference<T>::type
                    >::type
                >::type,
                T
            >::type type;
        };

        template<
            class Reference
          , class Buffer
        >
        struct any_incrementable_iterator_interface
        {
            typedef Reference reference;
            typedef typename const_reference_type_generator<
                Reference
            >::type const_reference;
            typedef typename remove_const<
                typename remove_reference<Reference>::type
            >::type reference_as_value_type;

            typedef Buffer buffer_type;

            virtual ~any_incrementable_iterator_interface() {}

            virtual any_incrementable_iterator_interface*
                        clone(buffer_type& buffer) const = 0;

            virtual any_incrementable_iterator_interface<const_reference, Buffer>*
                        clone_const_ref(buffer_type& buffer) const = 0;

            virtual any_incrementable_iterator_interface<reference_as_value_type, Buffer>*
                        clone_reference_as_value(buffer_type& buffer) const = 0;

            virtual void increment() = 0;
        };

        template<
            class Reference
          , class Buffer
        >
        struct any_single_pass_iterator_interface
            : any_incrementable_iterator_interface<Reference, Buffer>
        {
            typedef typename any_incrementable_iterator_interface<Reference, Buffer>::reference reference;
            typedef typename any_incrementable_iterator_interface<Reference, Buffer>::const_reference const_reference;
            typedef typename any_incrementable_iterator_interface<Reference, Buffer>::buffer_type buffer_type;
            typedef typename any_incrementable_iterator_interface<Reference, Buffer>::reference_as_value_type reference_as_value_type;

            virtual any_single_pass_iterator_interface*
                        clone(buffer_type& buffer) const = 0;

            virtual any_single_pass_iterator_interface<const_reference, Buffer>*
                        clone_const_ref(buffer_type& buffer) const = 0;

            virtual any_single_pass_iterator_interface<reference_as_value_type, Buffer>*
                        clone_reference_as_value(buffer_type& buffer) const = 0;

            virtual Reference dereference() const = 0;

            virtual bool equal(const any_single_pass_iterator_interface& other) const = 0;
        };

        template<
            class Reference
          , class Buffer
        >
        struct any_forward_iterator_interface
            : any_single_pass_iterator_interface<Reference, Buffer>
        {
            typedef typename any_single_pass_iterator_interface<Reference, Buffer>::reference reference;
            typedef typename any_single_pass_iterator_interface<Reference, Buffer>::const_reference const_reference;
            typedef typename any_single_pass_iterator_interface<Reference, Buffer>::buffer_type buffer_type;
            typedef typename any_single_pass_iterator_interface<Reference, Buffer>::reference_as_value_type reference_as_value_type;

            virtual any_forward_iterator_interface*
                        clone(buffer_type& buffer) const = 0;

            virtual any_forward_iterator_interface<const_reference, Buffer>*
                        clone_const_ref(buffer_type& buffer) const = 0;

            virtual any_forward_iterator_interface<reference_as_value_type, Buffer>*
                        clone_reference_as_value(buffer_type& buffer) const = 0;
        };

        template<
            class Reference
          , class Buffer
        >
        struct any_bidirectional_iterator_interface
            : any_forward_iterator_interface<Reference, Buffer>
        {
            typedef typename any_forward_iterator_interface<Reference, Buffer>::reference reference;
            typedef typename any_forward_iterator_interface<Reference, Buffer>::const_reference const_reference;
            typedef typename any_forward_iterator_interface<Reference, Buffer>::buffer_type buffer_type;
            typedef typename any_forward_iterator_interface<Reference, Buffer>::reference_as_value_type reference_as_value_type;

            virtual any_bidirectional_iterator_interface*
                        clone(buffer_type& buffer) const = 0;

            virtual any_bidirectional_iterator_interface<const_reference, Buffer>*
                        clone_const_ref(buffer_type& buffer) const = 0;

            virtual any_bidirectional_iterator_interface<reference_as_value_type, Buffer>*
                        clone_reference_as_value(buffer_type& buffer) const = 0;

            virtual void decrement() = 0;
        };

        template<
            class Reference
          , class Difference
          , class Buffer
        >
        struct any_random_access_iterator_interface
            : any_bidirectional_iterator_interface<
                    Reference
                  , Buffer
                >
        {
            typedef typename any_bidirectional_iterator_interface<Reference, Buffer>::reference reference;
            typedef typename any_bidirectional_iterator_interface<Reference, Buffer>::const_reference const_reference;
            typedef typename any_bidirectional_iterator_interface<Reference, Buffer>::buffer_type buffer_type;
            typedef typename any_bidirectional_iterator_interface<Reference, Buffer>::reference_as_value_type reference_as_value_type;
            typedef Difference difference_type;

            virtual any_random_access_iterator_interface*
                        clone(buffer_type& buffer) const = 0;

            virtual any_random_access_iterator_interface<const_reference, Difference, Buffer>*
                        clone_const_ref(buffer_type& buffer) const = 0;

            virtual any_random_access_iterator_interface<reference_as_value_type, Difference, Buffer>*
                        clone_reference_as_value(buffer_type& buffer) const = 0;

            virtual void advance(Difference offset) = 0;

            virtual Difference distance_to(const any_random_access_iterator_interface& other) const = 0;
        };

        template<
            class Traversal
          , class Reference
          , class Difference
          , class Buffer
        >
        struct any_iterator_interface_type_generator;

        template<
            class Reference
          , class Difference
          , class Buffer
        >
        struct any_iterator_interface_type_generator<
                    incrementable_traversal_tag
                  , Reference
                  , Difference
                  , Buffer
                >
        {
            typedef any_incrementable_iterator_interface<Reference, Buffer> type;
        };

        template<
            class Reference
          , class Difference
          , class Buffer
        >
        struct any_iterator_interface_type_generator<
                    single_pass_traversal_tag
                  , Reference
                  , Difference
                  , Buffer
                >
        {
            typedef any_single_pass_iterator_interface<Reference, Buffer> type;
        };

        template<
            class Reference
          , class Difference
          , class Buffer
        >
        struct any_iterator_interface_type_generator<
                    forward_traversal_tag
                  , Reference
                  , Difference
                  , Buffer
                >
        {
            typedef any_forward_iterator_interface<Reference, Buffer> type;
        };

        template<
            class Reference
          , class Difference
          , class Buffer
        >
        struct any_iterator_interface_type_generator<
                    bidirectional_traversal_tag
                  , Reference
                  , Difference
                  , Buffer
                >
        {
            typedef any_bidirectional_iterator_interface<Reference, Buffer> type;
        };

        template<
            class Reference
          , class Difference
          , class Buffer
        >
        struct any_iterator_interface_type_generator<
                    random_access_traversal_tag
                  , Reference
                  , Difference
                  , Buffer
                >
        {
            typedef any_random_access_iterator_interface<
                        Reference
                      , Difference
                      , Buffer
                    > type;
        };

    } // namespace range_detail
} // namespace lslboost

#endif // include guard


text:
package main

import (
	"encoding/json"
	"io/ioutil"
	"os"

	"github.com/ying32/govcl/vcl/rtl"
)

type TConnConfig struct {
	Name     string
	Host     string
	Port     int
	Password string
}

// 全局配置
var (
	appConfFileName = rtl.ExtractFilePath(os.Args[0]) + "app.conf"
	config          = make(map[string]TConnConfig, 0)
)

func saveConfig() {
	bs, err := json.Marshal(config)
	if err == nil {
		ioutil.WriteFile(appConfFileName, bs, 0664)
	}
}

func loadConfig() {
	config = make(map[string]TConnConfig, 0)
	if rtl.FileExists(appConfFileName) {
		bs, err := ioutil.ReadFile(appConfFileName)
		if err == nil {
			json.Unmarshal(bs, &config)
		}
	}
}


text:
@interface ContactPickerTagsView : TLTagsControl

-(void)showContactViewController;
-(NSMutableArray *)recipients;
-(void)addRecipient:(Recipient *)recipient;
-(id)initWithFrame:(CGRect)frame andTags:(NSArray *)tags withTagsControlMode:(TLTagsControlMode)mode;

@end