text:
package org.slc.sli.test.edfi.entities.meta.relations;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.TreeMap;

import org.slc.sli.test.edfi.entities.meta.AssessmentFamilyMeta;
import org.slc.sli.test.edfi.entities.meta.AssessmentItemMeta;
import org.slc.sli.test.edfi.entities.meta.AssessmentMeta;
import org.slc.sli.test.edfi.entities.meta.AssessmentPeriodDescriptorMeta;
import org.slc.sli.test.edfi.entities.meta.LearningObjectiveMeta;
import org.slc.sli.test.edfi.entities.meta.LearningStandardMeta;
import org.slc.sli.test.edfi.entities.meta.ObjectiveAssessmentMeta;
import org.slc.sli.test.edfi.entities.meta.PerformanceLevelDescriptorMeta;

public class AssessmentMetaRelations {

    // knobs to control number of entities to create
    public static int ASSESSMENTS = 1;
    public static int OBJ_ASSESS_PER_DEPENDANT = 1;
    public static int LEARN_OBJ_PER_OBJ_ASSES = 1;
    public static int ASSESS_ITEM_PER_DEPENDANT = 3;
    public static int LEARN_STANDARD_PER_DEPENDANT = 1;
    public static int PERF_LEVEL_DESC_PER_DEPENDANT = 1;
    public static int ASSESS_PERIOD_DESC_PER_ASSESS_FAMILY = 1;
    public static int INV_PROBABILITY_STUDENTASSESSMENT_HAS_OBJECTIVEASSESSMENT = 2;
    public static int INV_PROBABILITY_STUDENTASSESSMENT_HAS_STUDENTASSESSMENTITEM = 2;

    // publicly accessible structures for the "meta-skeleton" entities
    public static final Map<String, AssessmentMeta> ASSESSMENT_MAP = new TreeMap<String, AssessmentMeta>();
    public static final Map<String, ObjectiveAssessmentMeta> OBJECTIVE_ASSESSMENT_MAP = new TreeMap<String, ObjectiveAssessmentMeta>();
    public static final Map<String, LearningObjectiveMeta> LEARNING_OBJECTIVE_MAP = new TreeMap<String, LearningObjectiveMeta>();
    public static final Map<String, AssessmentItemMeta> ASSESSMENT_ITEM_MAP = new TreeMap<String, AssessmentItemMeta>();
    public static final Map<String, LearningStandardMeta> LEARN_STD_MAP = new TreeMap<String, LearningStandardMeta>();
    public static final Map<String, PerformanceLevelDescriptorMeta> PERF_LEVEL_DESC_MAP = new TreeMap<String, PerformanceLevelDescriptorMeta>();
    public static final Map<String, AssessmentFamilyMeta> ASSESSMENT_FAMILY_MAP = new TreeMap<String, AssessmentFamilyMeta>();
    public static final Map<String, AssessmentPeriodDescriptorMeta> ASSESS_PERIOD_DESC_MAP = new TreeMap<String, AssessmentPeriodDescriptorMeta>();

    // constants
    private static final Random RANDOM = new Random(31);
    private static final String ASSESS_PREFIX = "as";
    private static final String OBJ_ASSESS_PREFIX = "objas";
    private static final String LEARN_OBJ_PREFIX = "lobj";
    private static final String ASSESSMENT_ITEM_PREFIX = "asit";
    private static final String LEARN_STD_PREFIX = "lstd";
    private static final String PERF_LEVEL_DESC_PREFIX = "pld";
    private static final String ASSESS_FAMILY_PREFIX = "asf";
    private static final String ASSESS_PERIOD_DESC_PREFIX = "apd";

    public static void buildStandaloneAssessments() {
        long startTime = System.currentTimeMillis();

        buildAssessments();

        System.out.println("Time taken to build Assessment entity relations: "
                + (System.currentTimeMillis() - startTime));
    }

    private static void buildAssessments() {

        for (int idNum = 0; idNum < ASSESSMENTS; idNum++) {

            AssessmentMeta assessmentMeta = AssessmentMeta.create(ASSESS_PREFIX + idNum);

            // TODO: sections

            for (ObjectiveAssessmentMeta objAssessMeta : aggregateObjectiveAssessments()) {
                assessmentMeta.objectiveAssessmentIds.add(objAssessMeta.id);
            }

            for (AssessmentItemMeta assessmentItemMeta : aggregateAssessmentItems()) {
                assessmentMeta.assessmentItemIds.add(assessmentItemMeta.id);
                assessmentItemMeta.setAssessmentId(assessmentMeta.id);
            }

            for (PerformanceLevelDescriptorMeta perfLevelDescMeta : aggregatePerfLevelDesc()) {
                assessmentMeta.performanceLevelDescriptorIds.add(perfLevelDescMeta.id);
            }

            assessmentMeta.assessmentFamilyId = getOrCreateAssessmentFamily().id;

            assessmentMeta.assessmentPeriodDescriptorId = getOrCreateAssessmentPeriodDescriptor().id;

            ASSESSMENT_MAP.put(assessmentMeta.id, assessmentMeta);
        }
    }

    private static List<ObjectiveAssessmentMeta> aggregateObjectiveAssessments() {

        List<ObjectiveAssessmentMeta> objAssessList = new ArrayList<ObjectiveAssessmentMeta>();
        for (int idNum = 0; idNum < OBJ_ASSESS_PER_DEPENDANT; idNum++) {

            objAssessList.add(getOrCreateObjectiveAssessment());
        }
        return objAssessList;
    }

    private static List<LearningObjectiveMeta> aggregateLearningObjectivesForObjAssess() {

        List<LearningObjectiveMeta> learningObjectiveList = new ArrayList<LearningObjectiveMeta>();
        for (int idNum = 0; idNum < LEARN_OBJ_PER_OBJ_ASSES; idNum++) {

            learningObjectiveList.add(getOrCreateLearningObjective());
        }
        return learningObjectiveList;
    }

    private static List<AssessmentItemMeta> aggregateAssessmentItems() {

        List<AssessmentItemMeta> assessmentItemList = new ArrayList<AssessmentItemMeta>();
        for (int idNum = 0; idNum < ASSESS_ITEM_PER_DEPENDANT; idNum++) {

            assessmentItemList.add(getOrCreateAssessmentItem());
        }
        return assessmentItemList;
    }

    private static List<LearningStandardMeta> aggregateLearningStandards() {

        List<LearningStandardMeta> learningStandardList = new ArrayList<LearningStandardMeta>();
        for (int idNum = 0; idNum < LEARN_STANDARD_PER_DEPENDANT; idNum++) {

            learningStandardList.add(getOrCreateLearningStandard());
        }
        return learningStandardList;
    }

    private static List<PerformanceLevelDescriptorMeta> aggregatePerfLevelDesc() {

        List<PerformanceLevelDescriptorMeta> perfLevelDescList = new ArrayList<PerformanceLevelDescriptorMeta>();
        for (int idNum = 0; idNum < PERF_LEVEL_DESC_PER_DEPENDANT; idNum++) {

            perfLevelDescList.add(getOrCreatePerfLevelDesc());
        }
        return perfLevelDescList;
    }

    private static List<AssessmentPeriodDescriptorMeta> aggregateAssessmentPeriodDescriptors() {

        List<AssessmentPeriodDescriptorMeta> assessPeriodDescList = new ArrayList<AssessmentPeriodDescriptorMeta>();
        for (int idNum = 0; idNum < ASSESS_PERIOD_DESC_PER_ASSESS_FAMILY; idNum++) {

            assessPeriodDescList.add(getOrCreateAssessmentPeriodDescriptor());
        }
        return assessPeriodDescList;
    }

    private static ObjectiveAssessmentMeta getOrCreateObjectiveAssessment() {
        ObjectiveAssessmentMeta objAssessMeta = null;

        Random random = new Random(31);

        if (random.nextBoolean()) {
            objAssessMeta = getRandomObjectiveAssessmentMeta();
        }

        if (objAssessMeta == null) {
            objAssessMeta = createObjectiveAssessment();
        }
        return objAssessMeta;
    }

    private static LearningObjectiveMeta getOrCreateLearningObjective() {
        LearningObjectiveMeta learningObjectiveMeta = null;

        Random random = new Random(31);

        if (random.nextBoolean()) {
            learningObjectiveMeta = getRandomLearningObjectiveMeta();
        }

        if (learningObjectiveMeta == null) {
            learningObjectiveMeta = createLearningObjective();
        }
        return learningObjectiveMeta;
    }

    private static AssessmentItemMeta getOrCreateAssessmentItem() {
        AssessmentItemMeta assessmentItemMeta = null;

        Random random = new Random(31);

        if (random.nextBoolean()) {
            assessmentItemMeta = getRandomAssessmentItemMeta();
        }

        if (assessmentItemMeta == null) {
            assessmentItemMeta = createAssessmentItem();
        }
        return assessmentItemMeta;
    }

    private static LearningStandardMeta getOrCreateLearningStandard() {
        LearningStandardMeta learningStandardMeta = null;

        Random random = new Random(31);

        if (random.nextBoolean()) {
            learningStandardMeta = getRandomLearningStandardMeta();
        }

        if (learningStandardMeta == null) {
            learningStandardMeta = createLearningStandard();
        }
        return learningStandardMeta;
    }

    private static PerformanceLevelDescriptorMeta getOrCreatePerfLevelDesc() {
        PerformanceLevelDescriptorMeta perfLevelDescMeta = null;

        Random random = new Random(31);

        if (random.nextBoolean()) {
            perfLevelDescMeta = getRandomPerfLevelDescMeta();
        }

        if (perfLevelDescMeta == null) {
            perfLevelDescMeta = createPerformanceLevelDescriptor();
        }
        return perfLevelDescMeta;
    }

    private static AssessmentFamilyMeta getOrCreateAssessmentFamily() {
        AssessmentFamilyMeta assessmentFamilyMeta = null;

        Random random = new Random(31);

        if (random.nextBoolean()) {
            assessmentFamilyMeta = getRandomAssessmentFamilyMeta();
        }

        if (assessmentFamilyMeta == null) {
            assessmentFamilyMeta = createAssessmentFamily();
        }
        return assessmentFamilyMeta;
    }

    private static AssessmentPeriodDescriptorMeta getOrCreateAssessmentPeriodDescriptor() {
        AssessmentPeriodDescriptorMeta assessPeriodDescMeta = null;

        Random random = new Random(31);

        if (random.nextBoolean()) {
            assessPeriodDescMeta = getRandomAssessmentPeriodDescriptorMeta();
        }

        if (assessPeriodDescMeta == null) {
            assessPeriodDescMeta = createAssessmentPeriodDescriptor();
        }
        return assessPeriodDescMeta;
    }

    private static ObjectiveAssessmentMeta createObjectiveAssessment() {
        ObjectiveAssessmentMeta objAssessMeta = ObjectiveAssessmentMeta.create(OBJ_ASSESS_PREFIX
                + OBJECTIVE_ASSESSMENT_MAP.size());

        for (LearningObjectiveMeta learningObjectiveMeta : aggregateLearningObjectivesForObjAssess()) {
            objAssessMeta.learningObjectiveIds.add(learningObjectiveMeta.id);
        }

        for (AssessmentItemMeta assessmentItemMeta : aggregateAssessmentItems()) {
            objAssessMeta.assessmentItemIds.add(assessmentItemMeta.id);
        }

        for (LearningStandardMeta learningStandardMeta : aggregateLearningStandards()) {
            objAssessMeta.learningStandardIds.add(learningStandardMeta.id);
        }

        for (PerformanceLevelDescriptorMeta perfLevelDescMeta : aggregatePerfLevelDesc()) {
            objAssessMeta.performanceLevelDescriptorIds.add(perfLevelDescMeta.id);
        }

        OBJECTIVE_ASSESSMENT_MAP.put(objAssessMeta.id, objAssessMeta);
        return objAssessMeta;
    }

    private static LearningObjectiveMeta createLearningObjective() {
        LearningObjectiveMeta learningObjectiveMeta = LearningObjectiveMeta.create(LEARN_OBJ_PREFIX
                + LEARNING_OBJECTIVE_MAP.size());

        for (LearningStandardMeta learningStandardMeta : aggregateLearningStandards()) {
            learningObjectiveMeta.learningStandardIds.add(learningStandardMeta.id);
        }
        LEARNING_OBJECTIVE_MAP.put(learningObjectiveMeta.id, learningObjectiveMeta);
        return learningObjectiveMeta;
    }

    private static AssessmentItemMeta createAssessmentItem() {
        AssessmentItemMeta assessmentItemMeta = AssessmentItemMeta.create(ASSESSMENT_ITEM_PREFIX
                + ASSESSMENT_ITEM_MAP.size());

        for (LearningStandardMeta learningStandardMeta : aggregateLearningStandards()) {
            assessmentItemMeta.learningStandardIds.add(learningStandardMeta.id);
        }

        ASSESSMENT_ITEM_MAP.put(assessmentItemMeta.id, assessmentItemMeta);
        return assessmentItemMeta;
    }

    private static LearningStandardMeta createLearningStandard() {
        LearningStandardMeta learningStandardMeta = LearningStandardMeta
                .create(LEARN_STD_PREFIX + LEARN_STD_MAP.size());
        LEARN_STD_MAP.put(learningStandardMeta.id, learningStandardMeta);
        return learningStandardMeta;
    }

    private static PerformanceLevelDescriptorMeta createPerformanceLevelDescriptor() {
        PerformanceLevelDescriptorMeta perfLevelDescMeta = PerformanceLevelDescriptorMeta.create(PERF_LEVEL_DESC_PREFIX
                + PERF_LEVEL_DESC_MAP.size());
        PERF_LEVEL_DESC_MAP.put(perfLevelDescMeta.id, perfLevelDescMeta);
        return perfLevelDescMeta;
    }

    private static AssessmentFamilyMeta createAssessmentFamily() {
        AssessmentFamilyMeta assessmentFamilyMeta = AssessmentFamilyMeta.create(ASSESS_FAMILY_PREFIX
                + ASSESSMENT_FAMILY_MAP.size());

        for (AssessmentPeriodDescriptorMeta assessPeriodDescMeta : aggregateAssessmentPeriodDescriptors()) {
            assessmentFamilyMeta.assessmentPeriodDescriptorIds.add(assessPeriodDescMeta.id);
        }
        ASSESSMENT_FAMILY_MAP.put(assessmentFamilyMeta.id, assessmentFamilyMeta);
        return assessmentFamilyMeta;
    }

    private static AssessmentPeriodDescriptorMeta createAssessmentPeriodDescriptor() {
        AssessmentPeriodDescriptorMeta assessPeriodDescMeta = AssessmentPeriodDescriptorMeta
                .create(ASSESS_PERIOD_DESC_PREFIX + ASSESS_PERIOD_DESC_MAP.size());
        ASSESS_PERIOD_DESC_MAP.put(assessPeriodDescMeta.id, assessPeriodDescMeta);
        return assessPeriodDescMeta;
    }

    public static AssessmentMeta getRandomAssessmentMeta() {
        AssessmentMeta random = null;
        Random seededRandom = new Random(31);
        if (ASSESSMENT_MAP.size() > 0) {
            random = ASSESSMENT_MAP.get(ASSESS_PREFIX + seededRandom.nextInt(ASSESSMENT_MAP.size()));
        }
        return random;
    }

    public static ObjectiveAssessmentMeta getRandomObjectiveAssessmentMeta() {
        ObjectiveAssessmentMeta random = null;
        Random seededRandom = new Random(31);
        if (OBJECTIVE_ASSESSMENT_MAP.size() > 0) {
            random = OBJECTIVE_ASSESSMENT_MAP.get(OBJ_ASSESS_PREFIX + seededRandom.nextInt(OBJECTIVE_ASSESSMENT_MAP.size()));
        }
        return random;
    }

    public static LearningObjectiveMeta getRandomLearningObjectiveMeta() {
        LearningObjectiveMeta random = null;
        Random seededRandom = new Random(31);
        if (LEARNING_OBJECTIVE_MAP.size() > 0) {
            random = LEARNING_OBJECTIVE_MAP.get(LEARN_OBJ_PREFIX + seededRandom.nextInt(LEARNING_OBJECTIVE_MAP.size()));
        }
        return random;
    }

    public static AssessmentItemMeta getRandomAssessmentItemMeta() {
        AssessmentItemMeta random = null;
        Random seededRandom = new Random(31);
        if (ASSESSMENT_ITEM_MAP.size() > 0) {
            random = ASSESSMENT_ITEM_MAP.get(ASSESSMENT_ITEM_PREFIX + seededRandom.nextInt(ASSESSMENT_ITEM_MAP.size()));
        }
        return random;
    }

    public static LearningStandardMeta getRandomLearningStandardMeta() {
        Random seededRandom = new Random(31);
        LearningStandardMeta random = null;
        if (LEARN_STD_MAP.size() > 0) {
            random = LEARN_STD_MAP.get(LEARN_STD_PREFIX + seededRandom.nextInt(LEARN_STD_MAP.size()));

        }
        return random;
    }

    public static PerformanceLevelDescriptorMeta getRandomPerfLevelDescMeta() {
        PerformanceLevelDescriptorMeta random = null;
        Random seededRandom = new Random(31);
        if (PERF_LEVEL_DESC_MAP.size() > 0) {
            random = PERF_LEVEL_DESC_MAP.get(PERF_LEVEL_DESC_PREFIX + seededRandom.nextInt(PERF_LEVEL_DESC_MAP.size()));
        }
        return random;
    }

    public static AssessmentFamilyMeta getRandomAssessmentFamilyMeta() {
        AssessmentFamilyMeta random = null;
        Random seededRandom = new Random(31);
        if (ASSESSMENT_FAMILY_MAP.size() > 0) {
            random = ASSESSMENT_FAMILY_MAP.get(ASSESS_FAMILY_PREFIX + seededRandom.nextInt(ASSESSMENT_FAMILY_MAP.size()));
        }
        return random;
    }

    public static AssessmentPeriodDescriptorMeta getRandomAssessmentPeriodDescriptorMeta() {
        AssessmentPeriodDescriptorMeta random = null;
        Random seededRandom = new Random(31);
        if (ASSESS_PERIOD_DESC_MAP.size() > 0) {
            random = ASSESS_PERIOD_DESC_MAP.get(ASSESS_PERIOD_DESC_PREFIX
                    + seededRandom.nextInt(ASSESS_PERIOD_DESC_MAP.size()));
        }
        return random;
    }

    public static void main(String[] args) {

        buildStandaloneAssessments();

        System.out.println(ASSESSMENT_MAP);
        System.out.println(OBJECTIVE_ASSESSMENT_MAP);
        System.out.println(LEARNING_OBJECTIVE_MAP);
        System.out.println(ASSESSMENT_ITEM_MAP);
        System.out.println(LEARN_STD_MAP);
        System.out.println(PERF_LEVEL_DESC_MAP);
        System.out.println(ASSESSMENT_FAMILY_MAP);
        System.out.println(ASSESS_PERIOD_DESC_MAP);

    }
}


text:
package com.foc.web.unitTesting;

public class FocUnitTestLevel {
	private FocUnitTest test = null;
	private int commandIndex = -1;

	public FocUnitTestLevel(FocUnitTest test, int commandIndex){
		this.test = test;
		this.commandIndex = commandIndex;
	}

	public void dispose(){
		test = null;
		commandIndex = -1;
	}

	public int getCommandIndex() {
		return commandIndex;
	}

	public void setCommandIndex(int commandIndex) {
		this.commandIndex = commandIndex;
	}

	public FocUnitTest getTest() {
		return test;
	}
}

redpajama_set_name: RedPajamaGithub


text:
Contains 106 Collections and/or Records:
Research Materials, 1931 - 2011
Series — Multiple Containers
Identifier: MSP 1, Series 3
Scope and Contents Consists of secondary source materials Stanislav Grof consulted during the course of his career.
Found in: Purdue University Archives and Special Collections / MSP 1, Stanislav Grof papers
Research Articles, 1941 - 2010
Sub-Series — Multiple Containers
Identifier: MSP 1, Series 3, Sub-Series 2
Scope and Contents Includes published and unpublished preprints, reprints, abstracts, and drafts of articles on the use of psychotropic substances as a therapeutic agent. It also includes book chapters, letters to the editor, and conference presentations.
Found in: Purdue University Archives and Special Collections / MSP 1, Stanislav Grof papers / Research Materials
Research Articles: H, 1954 - 2010
File — Multiple Containers
Identifier: MSP 1, Series 3, Sub-Series 2, File 8
Scope and Contents From the Sub-Series: Includes published and unpublished preprints, reprints, abstracts, and drafts of articles on the use of psychotropic substances as a therapeutic agent. It also includes book chapters, letters to the editor, and conference presentations.
Found in: Purdue University Archives and Special Collections / MSP 1, Stanislav Grof papers / Research Materials / Research Articles
Hofmann, A. "Chemical Aspects of Psilocybin, The Psychotropic Principle from the Mexican Fungus, Psilocybe Mexicana Heim," Neuro-Psychopharmacology. Proceedings of the 1st International Congress of Neuro-Psychopharmacology. (reprint), September 1958
Item — Box: 6, Folder: 1
Identifier: MSP 1, Series 3, Sub-Series 2, File 8, Item 70
Dates: September 1958
Found in: Purdue University Archives and Special Collections / MSP 1, Stanislav Grof papers / Research Materials / Research Articles / Research Articles: H
Hofmann, A., R. Heim, A. Brack, and H. Kobel. "Psilocybin, ein psychotroper Wirkstoff aus dem mexikanischen Rauschpilz Psilocybe Mexicana Heim," EXPERIENTIA. Vol. 14, No. 3 (reprint), 1958
Scope and Contents Two copies.
Hofmann, A. and F. Troxler. "Indetifizierung von Psilocin," EXPERIENTIA. Vol. 15, No. 3 (reprint), 1959
Hofmann, A., A. Frey, H. Ott, Th. Petrzilka, and F. Troxler. "Konstitutionsaufklarung und Synthese von Psilocybin," EXPERIENTIA. Vol. 14, No. 11 (reprint), 1958
Hofmann, A., A. Brack, H. Kobel, A. Frey, H. Ott, Th. Petrzilka, and F. Troxler. "Psilocybin und Psilocin, zwei psychotrope Wirkstoffe aus mexikanischen Rauschpilzen," Helvetica Chimica Acta. Vol. 42, No. 2 (reprint), 1959
Scope and Contents Three copies.
Hofmann, A. and H. Tscherter. "Isolierung von Lysergsaure-Alkaloiden aus der mexikanischen Zauberdroge Ololiuqui," EXPERIENTIA. Vol. 16, No. 9 (reprint), 1960
Hofmann, A. "Psychotomimetica. Chemische, Pharmakologische und Medizinische Aspekte," Svensk Kemisk Tidskrift. Vol. 72, No. 12, 1960
Scope and Contents Two copies, one reprint and one photocopy.
Hofmann, A. "Psychotomimetic Drugs: Chemical and Pharmacological Aspects," Acta Physiol. Pharmacol. Neerlandica. 8, 1959
Hofmann, A. and A. Cerletti. "Die Wirkstoffe der dritten aztekischen Zauberdroge," Deutsche Medizinische Wochenschrift. Vol. 86, No. 18 (reprint), May 6, 1961
Dates: May 6, 1961
Hofmann, A. "Die Erforschung der mexikanischen Zauberpilze." (reprint), undated
Dates: undated
Hofmann, A. "Die Wirkstoffe der mexikanischen Zauberdroge Ololiuqui," Planta Medica. Vol. 9, No. 4 (reprint), December 1961
Dates: December 1961
Hofmann, A. "Die psychotropen Wirkstoffe der mexikanischen Zauberpilze," CHIMIA. 14 (reprint), 1960
Hofmann, A. "Die psychotropen Wirkstoffe der mexikanischen Zauberpilze," Verh. Naturf. Ges. Basel. Vol. 71, No. 2 (reprint), December 1960
Hofmann, A. "The Chemistry of LSD and Its Modifications" in D. V. Siva Sankar's LSD – A Total Study. New York: PJD Publications Ltd. (photocopy), 1975
Hofmann, A. "Psychotomimetic Agents" in A. Burger's Chemical Constitution and Pharmacodynamic Action. Vol. 2. New York: M. Dekker (reprint), 1968
Holbrook, L. and I. R. Brown. "Disaggregation of Brain Polysomes After Administration of d-Lysergic Acid Diethylamide (LSD) In Vivo," Journal of Neurochemistry. Vol. 27 (photocopy), 1976
Holbrook, L. and I. R. Brown. "Disaggregation of Brain Polysomes After D-Lysergic Acid Diethylamide Administration In Vivo: Mechanism and Effect of Age and Environment," Journal of Neurochemistry. Vol. 29 (photocopy), 1977
Holbrook, Larry and Ian Brown. "Antipsychotic Drugs Block LSD-Induced Disaggregation of Brain Polysomes," Life Sciences. Vol. 21, No. 7 (photocopy), 1977
Holender, Marc H. and Ivan Boszormenyi-Nagy. "Hallucination as an Ego Experience," A. M. A. Archives of Neurology & Psychiatry. Vol. 80 (reprint), July 1958
Dates: July 1958
Hollister, Leo E., John J. Prusmack, James A. Paulsen, and Norma Rosenquist. "Comparison of Tree Psychotropic Drugs (Psilocybin, JB-329, and IT-290) in Volunteer Subjects," The Journal of Nervous and Mental Disease. Vol. 131, No. 5, November 1960
Dates: November 1960
Hollister, Leo E., Roger O. Degan, and S. Donald Schultz. "An Experimental Approach to Facilitation of Psychotherapy by Psychotomimetic Drugs," The Journal of Mental Science. Vol. 108, No. 452 (reprint), January 1962
Dates: January 1962
folder 2 30

redpajama_set_name: RedPajamaCommonCrawl


text:
Pound rises on May Brexit speech but city workers dismayed by single market withdrawal
Title: Pound rises on May Brexit speech but city workers dismayed by single market withdrawal
Summary: LONDON, ENGLAND, UNITED KINGDOM (JANUARY 17, 2017) (REUTERS) VARIOUS OF BRITISH NEWSPAPERS PAN FROM "THE DAILY TELEGRAPH" TO "THE DAILY MAIL" FRONT PAGE "THE DAILY MAIL" FRONT PAGE, HEADLINE READING (English): "THERESA'S NEW FREE BRITAIN" "THE GUARDIAN" FRONT PAGE READING (English): "MAY RULES OUT UK STAYING IN SINGLE MARKET" VARIOUS OF THE FRONT PAGE OF "THE SUN" READING (English): "GREAT BREXPECTATIONS" VARIOUS BRITISH NEWSPAPER FRONT PAGES MAN WORKING AT DESK, WHILE MAY SPEAKS ON TELEVISION MAN WATCHING MAY SPEECH VARIOUS OF WORKERS WATCHING SPEECH MAN LOOKING AT MONITOR (SOUNDBITE) (English) MARKET ANALYST - IG, CHRIS BEAUCHAMP, SAYING: "We had an interesting performance really. We saw a strengthening in the pound against both the dollar and the euro and I think that's mainly because the speech was heavily trailed as a very hard Brexit, expectations of a clean break and the slightly softened tone we had from the prime minister, the idea that we are looking to make a deal, we're fairly flexible on the conditions, really sort of assuaged market concerns. So you had a move in the pound which is obviously the key vote of strength in the UK economy." VARIOUS OF WORKERS WATCHING SPEECH WORKERS WITH HEADSETS TALKING (SOUNDBITE) (English) MARKET ANALYST - IG, CHRIS BEAUCHAMP, SAYING: "At the moment, the key issues are what kind of trade deal do we get with the EU and when does that arrive and what conditions are there that go with that? That's the key issue for markets once that agreement finally comes through, that's the key detail which will take some time to emerge. At the moment it's unclear really what that will be, but it's definitely one which be clearly watched. We are looking at things like banks with their access to the European single market in how they achieve that, other main financial institutions and we're looking at the big UK exporters and if they have to face any increased tariffs to trade with the single market." WORKERS WATCHING MAY SPEECH VARIOUS OF WORKER AT COMPUTER EXTERIOR OF BANK OF ENGLAND, CITY OF LONDON BUILDINGS BEHIND TOP OF GHERKIN SKYSCRAPER PAN OF BANK OF ENGLAND CITY OF LONDON COAT OF ARMS (SOUNDBITE) (English) GARY HUTCHINGS, SAYING: "The idea that we can get as good a free trade deal with Europe, sorry, with the rest of the world and with Europe, as we currently have with Europe, is complete nonsense." (SOUNDBITE) (English) HEATHER HOVEY, SAYING: "I just think it's part of the financial structure of the way people do business and have done business. I think when people voted to leave, Brexit, they didn't appreciate that would be the outcome." LONDON RED BUSES (SOUNDBITE) (English) SAMUEL ADDISON, SAYING: "I think it's a disaster for the economy. I'm a finance person and I think it's a disaster." VARIOUS OF PEOPLE WALKING IN THE CITY (SOUNDBITE) (English) SAMUEL ADDISON, SAYING: "I think I did the wrong thing. Entirely the wrong thing. If I had the chance again I would have voted to stay in the EU. I voted on immigration. I wasn't thinking long term but I'm looking at the market now, it is affecting my job. I think it's awful." GHERKIN SKYSCRAPER THROUGH BUILDINGS FOCUS PULL FROM GHERKIN TO WEATHER VANE
Embargoed: 31st January 2017 14:33
Keywords: Theresa May Brexit London markets EU single market European Union
Location: LONDON, ENGLAND, UK
City: LONDON, ENGLAND, UK
Topics: European Union,Government/Politics
Reuters ID: LVA0035ZGZ3GN
Story Text:Sterling saw its biggest gains since the 2008 financial crisis on Tuesday (January 17) as Prime Minister Theresa May promised a parliamentary vote on Britain's deal to leave the EU and said it would seek to stay a key European partner.
The pound, already up more than 1 percent as May began a keenly-awaited speech that had been extensively leaked to media, surged 2.5 percent on the day to a 10-day high of $1.2343 in the minutes that followed.
It gained more than 1.5 percent to 86.69 pence per euro, with dealers reporting a widespread squeeze on short positions - or bets against sterling - taken in derivatives markets in the past few days.
"We saw a strengthening in the pound against both the dollar and the euro and I think that's mainly because the speech was heavily trailed as a very hard Brexit, expectations of a clean break and the slightly softened tone we had from the prime minister, the idea that we are looking to make a deal, we're fairly flexible on the conditions, really sort of assuaged market concerns," said Chris Beauchamp, market analyst at IG markets.
During the speech in central London, May confirmed that Britain will leave the EU's single market when it exits the European Union, putting an end to speculation that London might try to seek a "soft Brexit".
Her statement that Britain would leave the single market was by far the clearest indication she has ever given of her plans for the future, after months of criticism that she was not being sufficiently transparent.
But on Bishopsgate in the shadow of the skyscrapers of London's financial hub, people were unimpressed by the Prime Minister's pledge to negotiate a new trade deal with the EU outside of the single market.
"The idea that we can get as good a free trade deal with the rest of the world and with Europe, as we currently have with Europe, is complete nonsense," Gary Hutchings told Reuters.
Heather Hovey worked in the City of London for 25 years, she said May's announcement couldn't be good news for the city and that London's financial centre was used to the single market.
"I just think it's part of the financial structure of the way people do business and have done business. I think when people voted to leave, they didn't appreciate that would be the outcome."
City worker Samuel Addison who voted to leave in the referendum said May's decision was a disaster.
"I think I did the wrong thing. Entirely the wrong thing. If I had the chance again I would have voted to stay in the EU. I voted on immigration. I wasn't thinking long term but I'm looking at the market now, it is affecting my job. I think it's awful," he said.
May has said that she plans to launch the two-year negotiation process to finalise Britain's exit by the end of March.
The Brexit talks, expected to be one of the most complicated negotiations in post-World War Two European history, could decide the fate of her premiership, the United Kingdom and the future shape of the European Union that Britain leaves behind.


Steve Bruce has said Tottenham are "nowhere near" reaching the asking price for Aston Villa midfielder Jack Grealish.
Talks between the clubs have been ongoing for some time, according to Sky sources, with the Premier League club keen to grab him in a cut-price deal due to Villa's financial issues.
Villa manager Bruce has been buoyed by the arrival of Nassef Sawiris and Wes Edens as majority owners since then, with the 57-year-old given assurances the club will not sell any of their prized possessions - including Grealish - "on the cheap" before the transfer window shuts next Thursday.
Bruce said: "I don't think we've had a formal bid. There's been discussions and that's been going on all summer. The one thing the owners have made pretty clear is that no-one is for sale.
"We don't want to lose our best players, but they're aware of course that everyone has their price. The best thing the owners have been able to do is not let anybody go on the cheap.
"So if someone wants to buy our players, they're going to have to find a premium and make sure the owners are comfortable with it.
"We all know what football is, but at the moment Spurs haven't got anywhere near what the owners want to consider - so there's not a discussion to be had at the moment, because they've not got anywhere near the figure they demand."
Grealish scored three goals in 31 appearances for Villa last season, and team-mate and new Villa captain James Chester said this week he "deserves to play at the top".


• Get enrolled in the WordPress University- WordPress University is an online resource for WordPress developers. It is really a complete understanding site alone where in designers may register and entry learning materials linked to the WordPress development. Thus giving budding developers a method to relate solely to these at the top, read their blogs, and manage to obtain thier specialist suggestions. The few sources that you can get started with are WordPress Codex, publications and blogs. Like in every areas, it is critical to obtain in touch to promote experts to understand the tricks of the trade.
• Understand the technology thoroughly- To be able to become the most truly effective many WordPress developer, it is very important to learn the engineering inside out. The initial and foremost stage should be to hone one's development skills. Enterprises, when they intend to hire WordPress creator, generally consider sources with great expertise in PHP, MySQL and Codebase. It is los angeles wordpress developer to constantly update one's knowledge if one previously understands about programming. As a WordPress creator, one must setup a local atmosphere and specifically run the nightly build to be able to stay current with WordPress simultaneously since it will be developed. Along with this specific, it is valuable to follow along with combined with development connected discussions on make.wordpress.org.
• Resolutely do the homework- Exercise is unquestionably one of the most crucial regions of application development. With continuous test and error, a developer can really grasp whatsoever he or she's learnt. For example- if your designer is familiar with Ajax, then or she must proactively obtain the project to use Ajax in plugin development. The exact same moves for PHP and WordPress APIs.
• Trying out projects- Number understanding is total without real-time work experience. The biggest thing is to begin looking after customers on a freelance or even a regular basis. It's on one's knowledge that certain develops his job and thus, it is essential to begin taking care of any given opportunity. Aside from that, a developer should always consider of creating a public design, creating a plugin, contributing a story, and debugging.
• Join the WordPress Community- One of many finest way of being acknowledged as a developer is to obtain in touch firmly to the designer community. Publishing courses might be one really substantial method of considerably getting an integrated area of the designer community. Publishing courses not just increases one's exposure in the builder community but in addition assists aspiring designers to start looking after WordPress. Getting a present in the Codex provides designer the ability to enhance the caliber of documentation. One can just try this when one has already been an expert in WordPress development. More over, participating in forums and bootcamps positions oneself clearly amongst the first-rate developers. Enterprises seek to employ a WordPress designer who's a strong neighborhood developer and is continually seeking newer means of operating efficiency in development.
WordPress could be quickly put up, therefore you could save lots of growth time and money. Furthermore it comes with an spontaneous screen which permits almost everyone (with or without complex knowledge) to put it to use without any problem. This means you could add pages, images, films, pages, etc. rapidly and easily.
Sites made out of WordPress may be personalised to generally meet up individual requirements. With help of countless plug-ins, you may make a net site that gets lots of interest and increases brand visibility. Designers might also construct custom plug-ins that assists them customise the website to any extent. This really is one of the significant explanations why developers select custom WordPress development.
Plug-ins support developers to add high-end functionalities to a particular web page therefore the readers have an excellent experience while browsing.
Do you want your website to check on precisely like that of one's competitor's? Obviously number! WordPress offers various styles that may be easily incorporated with those sites to offer it an elegant and unique look. What's more? You may also customise the themes to suit your requirements. You're certain to obtain paid as well as free themes, to help you choose one that most readily useful suits your needs.
Creating a unique look for your internet site is essential to stay facing your competitors and with WordPress building a new and distinctive search resembles a breeze.


text:
Q: Increase the capacity of a string Wrote the following code snippet to find the how many more bytes of memory will each string-append action add to the string.
#include <iostream>
#include <string>
#include <unordered_map>
#include <sys/time.h>
#include <arpa/inet.h>

using namespace std;
typedef unsigned short uint16;
typedef unsigned int uint;

int main (int argc, char *argv[]) {
    const char *p = NULL;
    string s = "";
    for (int i=0; i<1050; i++) {
        s += "a";
        if (s.c_str() != p) {
            printf("%5d\n", i);
            p = s.c_str();
        }
    }
    return 0;
}

The output is
    0
    1
    2
    4
    8
   16
   32
   64
  128
  256
  512
 1024

So the result quite clearly shows it double the storages of the string each time (at minimum).
The question is, how to add use specified space (say, 2000 bytes) to an existing string so that one can do many string append without trigger a free/malloc.
Thanks.

A: You can do that by using the reserve() member function.
Note that it may not allocate the exact amount of storage you ask for (you may get more) but you'll get at least what you ask for in a single allocation.

A: Read the documentation!
This is what std::string::reserve is for.

redpajama_set_name: RedPajamaStackExchange


text:
feature "Rescuing exceptions in a rake task" do
  shared_examples_for "a rake application" do
    before do
      set_environment_variable('HONEYBADGER_API_KEY', 'asdf')
      set_environment_variable('HONEYBADGER_LOGGING_LEVEL', 'DEBUG')
    end

    it "reports the exception to Honeybadger" do
      expect(run('rake honeybadger')).not_to be_successfully_executed
      assert_notification('error' => {'class' => 'RuntimeError', 'message' => 'RuntimeError: Jim has left the building :('})
    end

    context "rake reporting is disabled" do
      before do
        set_environment_variable('HONEYBADGER_EXCEPTIONS_RESCUE_RAKE', 'false')
      end

      it "doesn't report the exception to Honeybadger" do
        expect(run('rake honeybadger')).not_to be_successfully_executed
        assert_no_notification
      end
    end

    context "shell is attached" do
      it "doesn't report the exception to Honeybadger" do
        expect(run('rake honeybadger_autodetect_from_terminal')).not_to be_successfully_executed
        assert_no_notification
      end

      context "rake reporting is enabled" do
        before do
          set_environment_variable('HONEYBADGER_EXCEPTIONS_RESCUE_RAKE', 'true')
        end

        it "reports the exception to Honeybadger" do
          expect(run('rake honeybadger_autodetect_from_terminal')).not_to be_successfully_executed
          assert_notification('error' => {'class' => 'RuntimeError', 'message' => 'RuntimeError: Jim has left the building :('})
        end
      end
    end
  end

  scenario "in a standalone project", framework: :ruby do
    before do
      FileUtils.cp(FIXTURES_PATH.join('Rakefile'), current_dir)
    end

    it_behaves_like "a rake application"
  end

  scenario "in a Rails project", framework: :rails do
    before do
      FileUtils.cp(FIXTURES_PATH.join('Rakefile'), RAILS_ROOT.join('lib/tasks/honeybadger.rake'))
    end

    it_behaves_like "a rake application"
  end
end


text:
Home » Expat News » Saudi expat health centres close due to deadly virus fears
Saudi expat health centres close due to deadly virus fears
Published: 4 Jul at 6 PM
Tagged: Visas, Australia, UK, England, Travel Abroad
Poor standards and bad management at 12 expat medical centres in Saudi Arabia has forced their closure amid fears of the spread of the MERS virus.
Expats working in the kingdom are concerned that their applications for visas and residency permits may be jeopardised by the recent closure of 12 expat health centres for decontamination and re-training of workers. The health tests are necessary requirements for the granting of work visas as well as residency permits for expats and their families.
The as yet uncontrolled spread of the MERS virus sparked a government investigation of all expat health centres, and resulted in 12 being immediately closed down. To date, almost 300 of the 600 affected by the respiratory infection have died, and there is no known cure as yet.
Inspectors reported that medical professionals in the health centres failed to isolate sufferers from the virus, kept poor medical records and were unable to contain its spread. Blood samples weren't properly recorded and cross-contamination was encouraged by a general lack of hygiene.
Originally, MERS was confined to camels and primates, but is now known to have modified itself to infect humans. The World Health organisation has blamed the spread of the virus on contagion during pilgrimages to Saudi Arabia's several holy sites, as all recently-diagnosed new cases involved those returning from pilgrimages.
According to the WHO, pilgrims may have eaten contaminated camel meat whilst at the holy sites, and the Saudi government is being accused of minimising the death toll so as not to deter pilgrims. Britain, where cases have already been reported, is warning against all but essential travel to the kingdom in order to avoid the risk of contracting the infection.


text:
How the Saudi box office provided a rare boost to the global cinema industry in 2020
Cinema box office takings in Saudi Arabia saw an increase last year despite the devastating impact of coronavirus on the global entertainment industry.
According to research by PriceWaterhouseCooper (PwC), the Saudi box office was up by 3 percent in 2020 to $115 million.
Globally, the combined revenues in the box office industry plummeted by 28.5 percent to roughly $31 billion last year, from $42.5 billion in 2019.
The PwC figures also predicted that cinema box office revenues in the Middle East and North Africa (MENA) region are expected to grow by 4 percent to $1 billion by 2024, compared to a 2.4 percent decline worldwide.
The increase in Saudi receipts comes as the number of cinema screens in Saudi Arabia is expected to grow to 2,500 screens by 2030.
The figures have been released ahead of the 4th META Cinema Forum which takes place from October 26-28, 2021 at Atlantis, The Palm, Dubai.
The three-day convention takes place just a few weeks into Dubai Expo 2020 – the largest event in the Middle East and Africa region and will address key issues and highlight the development of the cinema industry.
The Middle East and Africa region has one of the fastest growing entertainment industries in the world and where governments are investing heavily to diversify economies and reduce dependency on a single economic sector.
Organisers said the event will bring all the stakeholders on a single platform to brainstorm the recovery of the industry and identify opportunities going forward. It will host seminars, awards, premieres of new movies, as well as showcasing new products and exclusive slate content presentations.
Ignace Lahoud, CEO of Majid Al Futtaim, Leisure, Entertainment and Cinemas, said: "The industry is experiencing a resurgence and admissions are on the upswing with the release of much-awaited blockbusters and local films. We are looking to the future with confidence as the region is set to become an important contributor to the global box office."
Expansion throughout the Arab world and Middle East, specifically in Saudi Arabia, has unlocked a lucrative economic opportunity and Saudi Arabia has now become a major contributor to the growth of the global cinema industry.
"As life returns to normal following an 18-month Covid-19 pandemic, we are happy to announce that the 4th META Cinema Forum is getting ready to welcome all industry stakeholders in Dubai – where we have lined up an exciting series of fun-filled events including thought-provoking discussions, and film premieres," said Leila Masinaei, managing partner, Great Minds Event Management.
"The forthcoming edition of the META Cinema Forum will set the tone for the industry recovery, growth and development of the film entertainment industry as governments and the private sector players are mobilising resources for the next stage of the development of the cinema industry in the Middle East and Africa region." Arabian Business
German Film and TV Companies, Netflix Launch Green Production Initiative
UP signs three-year broadcasting deal for all home sporting events


text:
Discoveries in the Lesedi Chamber and the Date of Homo naledi
The skull of Neo (Homo naledi) from the Lesedi Chamber
Courtesy Wits
OK, now that I got that off my chest, here is a brief summary of the new Homo naledi findings. This is less exciting than the original find, since I knew from the book what was coming. Nevertheless, it's extremely satisfying to finally get the technical details. They do not disappoint.
First up, we have the paper describing the date of Homo naledi. They used uranium series dating, electron spin resonance, radon loss, uranium-thorium dating of flowstone, and paleomagnetic dating to arrive at a conventional date of 250,000 years old for the remains of Homo naledi. This is considerably more detail than what was described in the leaked book chapter, which may well account for the delay of the book. Actually, this seems like more than we usually get in a fossil dating paper, but honestly, this work is way outside of my expertise so I really can't say much more. The date is definitely much younger than "early Homo," which is conventionally dated to around 2 million years old. So Homo naledi looks like "early Homo," but it's much younger. Surprise!
Next, we have a paper describing the excavations in the Lesedi chamber, a second site from the same cave system about 100 meters away from the Dinaledi chamber where the original fossils were found. Excavations at the second site yielded a partial skeleton and skull named Neo by the discoverers. "Lesedi" means "light" in Setswana, and "neo" is "gift" in Sesotho. Even though the skull is not as complete as I imagined it would be, the paper describing Neo is a magnificent work with lots and lots of comparative data. This is going to be a very fun read.
The Lesedi chamber is described as almost as inaccessible as the original Dinaledi chamber, and they report 131 hominin specimens. In the press release at the Wits website, John Hawks has this to say about it:
"This likely adds weight to the hypothesis that Homo naledi was using dark, remote places to cache its dead," says Hawks. "What are the odds of a second, almost identical occurrence happening by chance?"
Notice what Hawks is doing here: That's Dembski's design filter, isn't it? There's no natural law that says hominin remains should be found in caves, so that leaves chance and design as explanations. One large deposit of hominin remains in a cave might conceivably be there by chance (although the inaccessibility of the Dinaledi chamber argues against it), but two deposits of the same species of hominin? Both in chambers of the same cave and extremely difficult to get into and with an age profile that looks like a graveyard? That's low probability plus specification. That's design. These bodies were intentionally placed in these chambers. Homo naledi buried their dead.
In the final paper published today, Berger and colleagues discuss the meaning of the late date of Homo naledi and argue that we cannot simply assume that tools and other signs of culture were the sole product of H. erectus, H. sapiens, or Neandertals just because they have a certain age. With Homo naledi being so recent, there might be other hominins out there making tools or other cultural artifacts.
I'm sure I'll have more to say as I work through these papers, but for now, I have to get ready for work!


Wow, what a great week away upriver we have just had. As usual Phil produced a varied itinerary that originally included a two day stop at Pangbourne before starting the return leg. However, the mosquitoes at Pangbourne meadow forced a change of plan and Goring town moorings ended up as the furthest point we reached where we all stuffed ourselves with one of the biggest Chinese takeaways I have ever seen. This was Pastiche's first time through Whitchurch lock and she ran sweetly the whole trip with her new engine running in nicely.
5 boats did the whole 10 days with Miss Pud'n and Alfresco Lady joining us when we returned to Henley on the downhill run, nice to see Sylvie out on the water again with her crew of Neville and Scilla and assorted pooches. We were joined for afternoon tea by Roger and Denise, and Detlef and Debbie and over the week we saw 10 boat crews. Overall we had 2 meals out, 2 meals on board and 5 club BBQ's and we only had to erect the marquee on 2 occasions showing just how kind the weather was to us all.
Yet again we owe a big thank you to cruise leader Phil for ensuring that we had the means and the facilities to have our BBQ's despite having the problem of Kay's infected thumb to contend with. We trust that Kay's "op" has allowed her swollen digit to resume normal proportions.
The Upriver Cruise to Pangbourne was a great success. Alfresco Lady joined the cruise on the return leg, at Henley on Thames, after a three year absence from this cruise. It was good to see her on the river again, joining in on the cruise celebrations. Kerry Anne V arrived later in the day, Kay having had to have an operation on her thumb in Reading before cruising back to Henley. Well done Kay for being such a stalwart! The phrase 'Keep Calm - Carry on Cruising' comes to mind!
No it is not out of focus, blame the smoke. This was taken before Barry arrived with his 65,000 fish fingers!
We cruised in company to Cookham where a BBQ was held on the Town Lawn. Scilla brought a Swedish Log to burn on the barbecue, and Barry who also joined us at Cookham, brought what seemed like a thousand Norwegian fish fingers to add to the confusion. Not to be outdone, the remainder of the club stuck firmly to English fare. The weather was kind enough for the marquee not to be needed.
A sunny cruise the following morning took us to Boveney Lock and the reserved moorings. The wind had picked up so the marquee was used as a wind break, but had to be securely anchored down to ensure it did not join the fun downstream at Windsor. Another BBQ, more fish fingers for Barry and the end of the evening was celebrated on Alfresco Lady. Pieces of Eight and Malbec left us on the Saturday night to travel back to Bray – Father's Day on the Sunday meant that most captains of boats were required to attend other ceremonies urgently on the Sunday.
An early start on the Sunday morning took the remainder of the boats back to Penton.
Thanks to Phil the cruise leader and to Tony who stepped in to when Kerry Anne V was detained at Goring. Another successful cruise, and our best wishes to Kay for a speedy recovery.


You might think that the current speed limit or parking restrictions in the UK are pretty harsh. Just be thankful you don't live somewhere with really weird traffic laws in force then.
Apparently, you need to wear a shirt to drive a car in Thailand. Can anyone who has spent time there confirm whether people stick to this law or whether it is blatantly flouted by illegally bare-chested Thai drivers? Across in Alabama they aren't so silly. No sir. They have sensible motoring laws like the ones which say that you can't drive while barefoot or blindfolded. Pretty obvious when you think about it but no harm in making a traffic just in case anyone decides to give it a try.
Of course, the US is the home of the weird traffic law. Have you ever heard about the one about using guns while you are driving in California? It seems that it is illegal to shoot wild game from a moving car but shooting whales is ok. Meanwhile, across in Wichita, you need to get out of your car when you are passing a certain junction and fire off three shots into the air. I have no idea what the penalty is if you forget your gun at home or if you used up all your bullets shooting whales on your last trip to California.
As great as it would be to live in a country where shooting large sea creatures from a moving car is seen as acceptable behaviour, there are other aspects of US motoring laws I just find weird. For example, in Glendale, Arizona it is against the law to drive in reverse. Then it's back to California again for the next couple. The speed limit there for a car with no driver is 96 mph (might this be a modern, sensible law to cover things like Google driverless cars? I hope not). You also need a man with a lantern to walk in front of you in Redlands, California. Let's just hope he doesn't scare the whales away.


text:
LA Rams Get Their Own Stadium-Sized AR Experience
December 5, 2022 • 0 Comment
The immersive sports experience made its debut during yesterday's game against the Seattle Seahawks.
The professional NFL team the Los Angeles Rams have partnered with fan engagement platform ARound to launch an absolutely massive augmented reality (AR) experience at SoFi Stadium in Los Angeles, California. 70,000 fans can now participate in shared AR experiences during live games using their smartphone devices.
"We are thrilled to team with ARound and SoFi to incorporate AR into gamedays at the Rams House in unprecedented ways," said Marissa Daly, VP & GM, Los Angeles Rams Studios. "This experience is a continuation of the game-changing ways we've partnered with SoFi at SoFi Stadium and across Los Angeles to elevate the fan experience on gamedays and beyond."
Spectators can access a variety of stadium-wide content to enjoy, from shared AR games and contests to game-enhancing special effects and more. Infinity Screen AR, for example, brings famous celebrations like "Rampede" and "Make Noise" to life on the stadium's 70,000-sq. foot video board like never before. There are also 3D callouts for key players such as Aaron Donald, Bobby Wagner, and Cooper Kupp just to name a few.
"Fans come to the stadium to feel closer to the game, to the players, and to other fans. We developed ARound to enhance those feelings through highly immersive and interactive AR experiences that complement the action on the field," said Josh Beatty, founder and CEO of ARound. "And with products like Apple and Google AR Glasses already in development we're excited to open up the living room to blended TV experiences we know are the future of broadcast entertainment."
Can't make it to Los Angeles in person? You can use the ARound Stadium app at home to access a "life-size virtual stadium experience" that mirrors what happens during the actual games. Scan the QR code provided below to get started.
"At SoFi, we pride ourselves on being at the forefront of innovation to create seamless experiences for our members, all while fulfilling our mission of helping our members achieve financial independence," added Lauren Stafford Webb, CMO, SoFi. "We are proud to sponsor ARound's first-of-its-kind technology for Los Angeles Rams fans at the iconic SoFi Stadium to make their experience even more spectacular."
This isn't the first time the LA Rams have experimented with AR technology. This past January, the organization partnered with Snapchat to launch an AR-powered Lens that lets users toss the virtual pigskin with LA Rams quarterback Matthew Stafford.
For more information visit here.
Image Credit: Stagwell
The post LA Rams Get Their Own Stadium-Sized AR Experience appeared first on VRScout.


text:
Immigration Guides
Immigration Wiki
Example Immigration Forms
K1 Fiancé Visa
CR1 & IR1 Spousal Visa
US Visa FAQs
Office Reviews & Info
Consulate & USCIS Office Reviews
US Port of Entry Reviews
US Consulate Information
VJ Partners
mike and gen
About mike and gen
Immigration Info
Immigration Status
Place benefits filed at
California Service Center
Mike and I have know each other for some 20plus years. We were neighbors but never really paid much attention to each other until one summer when we had to decorate our street for an upcoming fiesta. That's when we started to notice each other and became friends. I was 16 he was 18. We eventually became sweethearts but since we were still young at that time our families disapproved of the relationship and wanted us to focus on our studies. For a time we were able to handle and held on to each other. But then the time came when we started to drift apart. We didn't had a formal break up we just went on our separate ways. We didn't knew anything anymore about each other until last year on Facebook. We started conversing and as fate would have it, we fell in love all over again. He came home on the eve of my birthday, that was last May 2010. We spent two weeks together and it was the best time of our lives. Though it has been 20 years of being apart, the feeling was just like yesterday when we last held on to each other. Today, as we looked back to all the years that we were apart it brought us to the realization that God is really amazing. He will always find ways for two people destined to be together for lifetime to be with each other. It it's meant to be then it's fate, if it's fate then it's worth the wait....I miss him everyday but I know that each day of being apart is one day closer to being together forever.......
Immigration Timeline & Photos
mike and gen's Immigration Timeline
mike and gen's Photos
mike and gen has no recent activity to show
© 2003-2019 VisaJourney. All Rights Reserved.
Site Map | Contact Us | Privacy Policy | Do Not Sell My Info | Terms of Service | About Us


text:
package org.nem.core.crypto.secp256k1;

import org.hamcrest.core.IsEqual;
import org.junit.*;
import org.nem.core.crypto.*;
import org.nem.core.test.Utils;
import org.nem.core.utils.*;

import java.math.BigInteger;

public class SecP256K1DsaSignerTest extends DsaSignerTest {

	@Test
	public void signerProducesCorrectSignatureUsing256bitSha3() {
		// Arrange:
		final CryptoEngine engine = this.getCryptoEngine();
		final KeyPair keyPair = new KeyPair(new PrivateKey(BigInteger.valueOf(1L)), engine);
		final DsaSigner dsaSigner = this.getDsaSigner(keyPair);

		// Act:
		final Signature signature = dsaSigner.sign(StringEncoder.getBytes("NEM"));

		// Assert:
		final String expectedSignature = "01485191de9fa79887300a2543e2ae5860c744863c380e9ccd2b0c62d768e61b68e3c1f8e8fe4206a4b598f512b5944a43cf8dac03fc871c2ed7d2b927643852";
		Assert.assertThat(HexEncoder.getString(signature.getBytes()), IsEqual.equalTo(expectedSignature));
	}

	@Test
	public void verifyReturnsFalseForNonCanonicalSignature() {
		// Arrange:
		final CryptoEngine engine = this.getCryptoEngine();
		final KeyPair keyPair = KeyPair.random(engine);
		final DsaSigner dsaSigner = this.getDsaSigner(keyPair);
		final byte[] input = Utils.generateRandomBytes();

		// Act:
		final Signature signature = dsaSigner.sign(input);
		final BigInteger nonCanonicalS = engine.getCurve().getGroupOrder().subtract(signature.getS());
		final Signature nonCanonicalSignature = new Signature(signature.getR(), nonCanonicalS);

		// Assert:
		Assert.assertThat(dsaSigner.verify(input, nonCanonicalSignature), IsEqual.equalTo(false));
	}

	@Test
	public void isCanonicalReturnsFalseForNonCanonicalSignature() {
		// Arrange:
		final CryptoEngine engine = this.getCryptoEngine();
		final KeyPair kp = KeyPair.random(engine);
		final DsaSigner dsaSigner = this.getDsaSigner(kp);
		final byte[] input = org.nem.core.test.Utils.generateRandomBytes();

		// Act:
		final Signature signature = dsaSigner.sign(input);
		final BigInteger nonCanonicalS = engine.getCurve().getGroupOrder().subtract(signature.getS());
		final Signature nonCanonicalSignature = new Signature(signature.getR(), nonCanonicalS);

		// Assert:
		Assert.assertThat(dsaSigner.isCanonicalSignature(nonCanonicalSignature), IsEqual.equalTo(false));
	}

	@Test
	public void makeCanonicalMakesNonCanonicalSignatureCanonical() {
		// Arrange:
		final CryptoEngine engine = this.getCryptoEngine();
		final KeyPair kp = KeyPair.random(engine);
		final DsaSigner dsaSigner = this.getDsaSigner(kp);
		final byte[] input = org.nem.core.test.Utils.generateRandomBytes();

		// Act:
		final Signature signature = dsaSigner.sign(input);
		final BigInteger nonCanonicalS = engine.getCurve().getGroupOrder().subtract(signature.getS());
		final Signature nonCanonicalSignature = new Signature(signature.getR(), nonCanonicalS);
		Assert.assertThat(dsaSigner.isCanonicalSignature(nonCanonicalSignature), IsEqual.equalTo(false));
		final Signature canonicalSignature = dsaSigner.makeSignatureCanonical(nonCanonicalSignature);

		// Assert:
		Assert.assertThat(dsaSigner.isCanonicalSignature(canonicalSignature), IsEqual.equalTo(true));
	}

	@Test
	public void replacingRWithGroupOrderMinusRInSignatureRuinsSignature() {
		// Arrange:
		final CryptoEngine engine = this.getCryptoEngine();
		final KeyPair kp = KeyPair.random(engine);
		final DsaSigner dsaSigner = this.getDsaSigner(kp);
		final byte[] input = Utils.generateRandomBytes();

		// Act:
		final Signature signature = dsaSigner.sign(input);
		final Signature signature2 = new Signature(
				engine.getCurve().getGroupOrder().subtract(signature.getR()),
				signature.getS());

		// Assert:
		Assert.assertThat(dsaSigner.verify(input, signature2), IsEqual.equalTo(false));
	}

	@Override
	protected CryptoEngine getCryptoEngine() {
		return CryptoEngines.secp256k1Engine();
	}
}


What can ancient graffiti tell us about Pompeii?
The ancient Roman city of Pompeii, which was perished by the eruption of mount Vesuvius, left a lot of evidence on the daily life of its residents. One of these pieces of evidence is an ancient graffiti which was found on the walls. What did ancient romans write on these walls? What can we learn from this information?


text:
Transport May 9, 2022 <June 18, 2022
The island nation of Fiji has blocked the seizure of sanctioned Russian billionaire Suleiman Kerimov's $300 million megayacht Amadea by U.S. authorities.
Via Lurssen
As unsure as a young adult in love is the case of Suleiman Kerimov's $325 million Amadea's seizure. The will they, won't they, questioning continues as a Fiji court has suspended the execution of a U.S. warrant from seizing the 347-feet ship. The United States had a victory to celebrate after clearing the air about the ownership of the lavish megayacht Amadea. At the time, the Fiji court ruled in favor of the United States, which stated sanctioned tycoon Suleiman Kerimov owns Amadea. Earlier, lawyers of the sanctioned oligarch asserted that U.S. or Fiji authorities could not capture the vessel as it belongs to Eduard Khudainatov, as stated by the registered owner, Millemarin Investments.
Once this was tackled, Fiji's High Court ruled it would grant an order to register a U.S. seizure warrant. As per Republic World, the Fijian court's judgment has been put on hold until at least Friday while defense lawyers file an appeal. After the United States filed a warrant, Suva High Court Justice Deepthi Amaratunga approved an order allowing the superyacht to be seized. However, the judge had given the defense counsel time to prepare for their hearing.
What's Amadea's current status?
The to and fro in the case of luxury vessel Amadea has been maddening. Just when we thought the U.S. had achieved their landmark victory came this unexpected sabbatical that might save the lavish ship. Russian tycoon Suleiman Kerimov, who holds a 76% stake in Russia's biggest gold producer, Polyus, could witness the tides changing in his favor if his legal team manages the monumental task.
Via Charterworld.com
It is believed Amadea is looked after by a crew of 25 who take turns for its upkeep. Additionally, a police officer is permanently stationed onboard to ensure the Amadea doesn't sail away.
Amadea at Fiji port. Via – Facebook / N Kumar News
The authorities have indeed learned their lesson with the example of the 460-ft megayacht Scheherazade. The giant luxury vessel was preparing for a voyage as it stood ready, refueled, resupplied, and refloated, with the protective screen removed. The Italian authorities took no chance and seized Putin's $700 million Scheherazade megayacht just in time. Amadea, on the other hand, is 4,402 GT of sheer elegance and has no plans to go anywhere. The 347-feet luxury boat flaunts a helipad, pool, Jacuzzi, and winter garden on its sun deck. At the request of its owner Kerimov, Amadea was designed to look beautiful. That explains the double-height atrium, Pleyel grand piano, leather-book-clad walls, and hand-painted Michelangelo clouds on the ceiling.
US federal agents boarding the Amadea yacht.
According to VOA News, the Court of Appeal "granted an interim stay on the execution of the warrant," said a spokeswoman for Fiji's office director of public prosecutions. "The yacht has been further restrained from leaving the Fiji waters until further notice," she added. "It is in Fiji police custody at this point."
Amadea, Billionaires, Superyacht
Amanda Seyfried stars as Elizabeth Holmes. the tainted billionaire founder of Theranos in First Trailer for Hulu's 'The Dropout'
As the United States govt fumes and threatens Hong Kong for allowing to dock Russian oligarch's $500 million Nord megayacht – Its leader who is himself sanctioned by the US "laughs off" claiming there's absolutely 'no legal basis' to seize the vessel.
Billionaire Mark Cuban's Dallas Dallas mansion looks massive even when seen from Google Maps – The Dallas Maverick owner is very modest and does not have a single butler in his 10 bedroom, 13 bathroom abode that is spread across 23,676 sq.ft.
In its latest round, the US has sanctioned Evgeniy Kochman and his company Imperial Yachts which manages and charters yachts worth billions of dollars to the Russian elites.
Aptly named Galactica this 262 feet long all-aluminum megayacht comes with a helipad, beach club, and stunning staterooms.
The son of China's first billionaire celebrated his pet sea lion's birthday by booking out the entire swimming pool of a luxury resort. He spared no expense and also bought in an elite chef to serve gourmet treats to his pet.
Complete with a gym, sauna and a helicopter this 393 foot luxury megayacht comes with its own beach club
A luxury superyacht worth $380 million for African dictator Obiang's son
World's richest people and the cars they drive
Previous articleA look inside Melania Trump's extravagant jewelry collection – From beloved husband Donald Trump's $3 million wedding band to her Van Cleef & Arpels diamond earrings she wore for the 2017 White House inauguration.
Next articleThis conceptual Framescape Greenhouse Restaurant will serve dishy views of Iceland's natural sites along with delicious meals
A man in China beat hundreds of eagle-eyed customers and got the deal of his…
Kross Studio has created a custom-made one-of-a-kind tourbillon inspired by Wonder Woman
Tiffany & Co and Nike's partnership dubbed lackluster and lazy even before it hit the…


Baza Services LLC's carpet cleaners will happily evaluate your unique needs, and come up with an economical maintenance program for your Kimberly commercial carpet cleaning. We understand the importance of the balance between needing healthy, clean carpets and keeping an eye on the budget! Commercial carpet cleaning in Kimberly can be effective and economical at the same time.
Wow your customers and keep your employees healthy with clean Kimberly commercial carpets!