text:
package org.broadinstitute.sting.utils;

import org.broadinstitute.sting.gatk.samples.Sample;
import org.broadinstitute.sting.utils.variantcontext.Genotype;
import org.broadinstitute.sting.utils.variantcontext.VariantContext;

import java.util.*;

/**
 * User: carneiro / lfran
 * Date: 3/9/11
 * Time: 12:38 PM
 *
 * Class for the identification and tracking of mendelian violation. It can be used in 2 distinct ways:
 * - Either using an instance of the MendelianViolation class to track mendelian violations for each of the families while
 * walking over the variants
 * - Or using the static methods to directly get information about mendelian violation in a family at a given locus
 *
 */
public class MendelianViolation {
    //List of families with violations
    private List<String> violationFamilies;

    //Call information
    private int nocall = 0;
    private int familyCalled = 0;
    private int varFamilyCalled = 0;
    private int lowQual = 0;

    private boolean allCalledOnly = true;

    //Stores occurrences of inheritance
    private EnumMap<Genotype.Type, EnumMap<Genotype.Type,EnumMap<Genotype.Type,Integer>>> inheritance;

    private int violations_total=0;

    private double minGenotypeQuality;

    private boolean abortOnSampleNotFound;

    //Number of families with genotype information for all members
    public int getFamilyCalledCount(){
        return familyCalled;
    }

    //Number of families with genotype information for all members
    public int getVarFamilyCalledCount(){
        return varFamilyCalled;
    }

    //Number of families missing genotypes for one or more of their members
    public int getFamilyNoCallCount(){
        return nocall;
    }

    //Number of families with genotypes below the set quality threshold
    public int getFamilyLowQualsCount(){
        return lowQual;
    }

    public int getViolationsCount(){
        return violations_total;
    }

    //Count of alt alleles inherited from het parents (no violation)
    public int getParentHetInheritedVar(){
        return getParentsHetHetInheritedVar() + getParentsRefHetInheritedVar() + getParentsVarHetInheritedVar();
    }

    //Count of ref alleles inherited from het parents (no violation)
    public int getParentHetInheritedRef(){
        return getParentsHetHetInheritedRef() + getParentsRefHetInheritedRef() + getParentsVarHetInheritedRef();
    }

    //Count of HomRef/HomRef/HomRef trios
    public int getRefRefRef(){
        return inheritance.get(Genotype.Type.HOM_REF).get(Genotype.Type.HOM_REF).get(Genotype.Type.HOM_REF);
    }

    //Count of HomVar/HomVar/HomVar trios
    public int getVarVarVar(){
        return inheritance.get(Genotype.Type.HOM_VAR).get(Genotype.Type.HOM_VAR).get(Genotype.Type.HOM_VAR);
    }

    //Count of HomRef/HomVar/Het trios
    public int getRefVarHet(){
        return inheritance.get(Genotype.Type.HOM_REF).get(Genotype.Type.HOM_VAR).get(Genotype.Type.HET) +
                inheritance.get(Genotype.Type.HOM_VAR).get(Genotype.Type.HOM_REF).get(Genotype.Type.HET);
    }

    //Count of Het/Het/Het trios
    public int getHetHetHet(){
        return inheritance.get(Genotype.Type.HET).get(Genotype.Type.HET).get(Genotype.Type.HET);
    }

    //Count of Het/Het/HomRef trios
    public int getHetHetHomRef(){
        return inheritance.get(Genotype.Type.HET).get(Genotype.Type.HET).get(Genotype.Type.HOM_REF);
    }

    //Count of Het/Het/HomVar trios
    public int getHetHetHomVar(){
        return inheritance.get(Genotype.Type.HET).get(Genotype.Type.HET).get(Genotype.Type.HOM_VAR);
    }

    //Count of ref alleles inherited from Het/Het parents (no violation)
    public int getParentsHetHetInheritedRef(){
        return inheritance.get(Genotype.Type.HET).get(Genotype.Type.HET).get(Genotype.Type.HET)
               + 2*inheritance.get(Genotype.Type.HET).get(Genotype.Type.HET).get(Genotype.Type.HOM_REF);
        //return parentsHetHet_childRef;
    }

    //Count of var alleles inherited from Het/Het parents (no violation)
    public int getParentsHetHetInheritedVar(){
        return inheritance.get(Genotype.Type.HET).get(Genotype.Type.HET).get(Genotype.Type.HET)
               + 2*inheritance.get(Genotype.Type.HET).get(Genotype.Type.HET).get(Genotype.Type.HOM_VAR);
        //return parentsHetHet_childVar;
    }

    //Count of ref alleles inherited from HomRef/Het parents (no violation)
    public int getParentsRefHetInheritedRef(){
        return inheritance.get(Genotype.Type.HOM_REF).get(Genotype.Type.HET).get(Genotype.Type.HOM_REF)
               + inheritance.get(Genotype.Type.HET).get(Genotype.Type.HOM_REF).get(Genotype.Type.HOM_REF);
        //return parentsHomRefHet_childRef;
    }

    //Count of var alleles inherited from HomRef/Het parents (no violation)
    public int getParentsRefHetInheritedVar(){
        return inheritance.get(Genotype.Type.HOM_REF).get(Genotype.Type.HET).get(Genotype.Type.HET)
               + inheritance.get(Genotype.Type.HET).get(Genotype.Type.HOM_REF).get(Genotype.Type.HET);
        //return parentsHomRefHet_childVar;
    }

    //Count of ref alleles inherited from HomVar/Het parents (no violation)
    public int getParentsVarHetInheritedRef(){
        return inheritance.get(Genotype.Type.HOM_VAR).get(Genotype.Type.HET).get(Genotype.Type.HET)
               + inheritance.get(Genotype.Type.HET).get(Genotype.Type.HOM_VAR).get(Genotype.Type.HET);
        //return parentsHomVarHet_childRef;
    }

    //Count of var alleles inherited from HomVar/Het parents (no violation)
    public int getParentsVarHetInheritedVar(){
        return inheritance.get(Genotype.Type.HOM_VAR).get(Genotype.Type.HET).get(Genotype.Type.HOM_VAR)
               + inheritance.get(Genotype.Type.HET).get(Genotype.Type.HOM_VAR).get(Genotype.Type.HOM_VAR);
        //return parentsHomVarHet_childVar;
    }

    //Count of violations of the type HOM_REF/HOM_REF -> HOM_VAR
    public int getParentsRefRefChildVar(){
        return inheritance.get(Genotype.Type.HOM_REF).get(Genotype.Type.HOM_REF).get(Genotype.Type.HOM_VAR);
    }

    //Count of violations of the type HOM_REF/HOM_REF -> HET
    public int getParentsRefRefChildHet(){
        return inheritance.get(Genotype.Type.HOM_REF).get(Genotype.Type.HOM_REF).get(Genotype.Type.HET);
    }

    //Count of violations of the type HOM_REF/HET -> HOM_VAR
    public int getParentsRefHetChildVar(){
        return inheritance.get(Genotype.Type.HOM_REF).get(Genotype.Type.HET).get(Genotype.Type.HOM_VAR)
                + inheritance.get(Genotype.Type.HET).get(Genotype.Type.HOM_REF).get(Genotype.Type.HOM_VAR);
    }

    //Count of violations of the type HOM_REF/HOM_VAR -> HOM_VAR
    public int getParentsRefVarChildVar(){
        return inheritance.get(Genotype.Type.HOM_REF).get(Genotype.Type.HOM_VAR).get(Genotype.Type.HOM_VAR)
                + inheritance.get(Genotype.Type.HOM_VAR).get(Genotype.Type.HOM_REF).get(Genotype.Type.HOM_VAR);
    }

    //Count of violations of the type HOM_REF/HOM_VAR -> HOM_REF
    public int getParentsRefVarChildRef(){
        return inheritance.get(Genotype.Type.HOM_REF).get(Genotype.Type.HOM_VAR).get(Genotype.Type.HOM_REF)
                + inheritance.get(Genotype.Type.HOM_VAR).get(Genotype.Type.HOM_REF).get(Genotype.Type.HOM_REF);
    }

    //Count of violations of the type HOM_VAR/HET -> HOM_REF
    public int getParentsVarHetChildRef(){
        return inheritance.get(Genotype.Type.HET).get(Genotype.Type.HOM_VAR).get(Genotype.Type.HOM_REF)
                + inheritance.get(Genotype.Type.HOM_VAR).get(Genotype.Type.HET).get(Genotype.Type.HOM_REF);
    }

    //Count of violations of the type HOM_VAR/HOM_VAR -> HOM_REF
    public int getParentsVarVarChildRef(){
        return inheritance.get(Genotype.Type.HOM_VAR).get(Genotype.Type.HOM_VAR).get(Genotype.Type.HOM_REF);
    }

    //Count of violations of the type HOM_VAR/HOM_VAR -> HET
    public int getParentsVarVarChildHet(){
        return inheritance.get(Genotype.Type.HOM_VAR).get(Genotype.Type.HOM_VAR).get(Genotype.Type.HET);
    }

    //Count of violations of the type HOM_VAR/? -> HOM_REF
    public int getParentVarChildRef(){
        return getParentsRefVarChildRef() + getParentsVarHetChildRef() +getParentsVarVarChildRef();
    }

    //Count of violations of the type HOM_REF/? -> HOM_VAR
    public int getParentRefChildVar(){
        return getParentsRefVarChildVar() + getParentsRefHetChildVar() +getParentsRefRefChildVar();
    }

    //Returns a String containing all trios where a Mendelian violation was observed.
    //The String is formatted "mom1+dad1=child1,mom2+dad2=child2,..."
    public String getViolationFamiliesString(){
        if(violationFamilies.isEmpty())
            return "";

        Iterator<String> it = violationFamilies.iterator();
        String violationFams = it.next();
        while(it.hasNext()){
            violationFams += ","+it.next();
        }
        return violationFams;
    }

    public List<String> getViolationFamilies(){
        return violationFamilies;
    }

    static final int[] mvOffsets = new int[] { 1,2,5,6,8,11,15,18,20,21,24,25 };
    static final int[] nonMVOffsets = new int[]{ 0,3,4,7,9,10,12,13,14,16,17,19,22,23,26 };

    public double getMinGenotypeQuality() {
        return minGenotypeQuality;
    }

   /**
     * Constructor
     * @param minGenotypeQualityP - the minimum phred scaled genotype quality score necessary to asses mendelian violation
     *
     */
    public MendelianViolation(double minGenotypeQualityP) {
        this(minGenotypeQualityP,true);
    }

    /**
     * Constructor
     * @param minGenotypeQualityP - the minimum phred scaled genotype quality score necessary to asses mendelian violation
     * @param abortOnSampleNotFound - Whether to stop execution if a family is passed but no relevant genotypes are found. If false, then the family is ignored.
     */
    public MendelianViolation(double minGenotypeQualityP, boolean abortOnSampleNotFound) {
        minGenotypeQuality = minGenotypeQualityP;
        this.abortOnSampleNotFound = abortOnSampleNotFound;
        violationFamilies = new ArrayList<String>();
        createInheritanceMap();
    }

    /**
     * Constructor
     * @param minGenotypeQualityP - the minimum phred scaled genotype quality score necessary to asses mendelian violation
     * @param abortOnSampleNotFound - Whether to stop execution if a family is passed but no relevant genotypes are found. If false, then the family is ignored.
     * @param completeTriosOnly - whether only complete trios are considered or parent/child pairs are too.
     */
    public MendelianViolation(double minGenotypeQualityP, boolean abortOnSampleNotFound, boolean completeTriosOnly) {
        minGenotypeQuality = minGenotypeQualityP;
        this.abortOnSampleNotFound = abortOnSampleNotFound;
        violationFamilies = new ArrayList<String>();
        createInheritanceMap();
        allCalledOnly = completeTriosOnly;
    }

    /**
     * @param families the families to be checked for Mendelian violations
     * @param vc the variant context to extract the genotypes and alleles for mom, dad and child.
     * @return whether or not there is a mendelian violation at the site.
     */
    public int countViolations(Map<String, Set<Sample>> families, VariantContext vc){

        //Reset counts
        nocall = 0;
        lowQual = 0;
        familyCalled = 0;
        varFamilyCalled = 0;
        violations_total=0;
        violationFamilies.clear();
        clearInheritanceMap();

        for(Set<Sample> family : families.values()){
            Iterator<Sample> sampleIterator = family.iterator();
            Sample sample;
            while(sampleIterator.hasNext()){
                sample = sampleIterator.next();
                if(sample.getParents().size() > 0)
                    updateViolations(sample.getFamilyID(),sample.getMaternalID(), sample.getPaternalID(), sample.getID() ,vc);
            }
        }
        return violations_total;
    }

    public boolean isViolation(Sample mother, Sample father, Sample child, VariantContext vc){

        //Reset counts
        nocall = 0;
        lowQual = 0;
        familyCalled = 0;
        varFamilyCalled = 0;
        violations_total=0;
        violationFamilies.clear();
        clearInheritanceMap();
        updateViolations(mother.getFamilyID(),mother.getID(),father.getID(),child.getID(),vc);
        return violations_total>0;
    }

    private void updateViolations(String familyId, String motherId, String fatherId, String childId, VariantContext vc){

            int count;
            Genotype gMom = vc.getGenotype(motherId);
            Genotype gDad = vc.getGenotype(fatherId);
            Genotype gChild = vc.getGenotype(childId);

            if (gMom == null || gDad == null || gChild == null){
                if(abortOnSampleNotFound)
                    throw new IllegalArgumentException(String.format("Variant %s:%d: Missing genotypes for family %s: mom=%s dad=%s family=%s", vc.getChr(), vc.getStart(), familyId, motherId, fatherId, childId));
                else
                    return;
            }
            //Count No calls
            if(allCalledOnly && (!gMom.isCalled() || !gDad.isCalled() || !gChild.isCalled())){
                nocall++;
            }
            else if (!gMom.isCalled() && !gDad.isCalled() || !gChild.isCalled()){
                nocall++;
            }
            //Count lowQual. Note that if min quality is set to 0, even values with no quality associated are returned
            else if (minGenotypeQuality>0 && (gMom.getPhredScaledQual()   < minGenotypeQuality ||
                gDad.getPhredScaledQual()   < minGenotypeQuality ||
                gChild.getPhredScaledQual() < minGenotypeQuality )) {
                lowQual++;
            }
            else{
                //Count all families per loci called
                familyCalled++;
                //If the family is all homref, not too interesting
                if(!(gMom.isHomRef() && gDad.isHomRef() && gChild.isHomRef()))
                {
                    varFamilyCalled++;
                    if(isViolation(gMom, gDad, gChild)){
                        violationFamilies.add(familyId);
                        violations_total++;
                    }
                }
                count = inheritance.get(gMom.getType()).get(gDad.getType()).get(gChild.getType());
                inheritance.get(gMom.getType()).get(gDad.getType()).put(gChild.getType(),count+1);

            }
    }

    private boolean isViolation(Genotype gMom, Genotype gDad, Genotype gChild) {
        //1 parent is no "call
        if(!gMom.isCalled()){
            return (gDad.isHomRef() && gChild.isHomVar()) || (gDad.isHomVar() && gChild.isHomRef());
        }
        else if(!gDad.isCalled()){
            return (gMom.isHomRef() && gChild.isHomVar()) || (gMom.isHomVar() && gChild.isHomRef());
        }
        //Both parents have genotype information
        return !(gMom.getAlleles().contains(gChild.getAlleles().get(0)) && gDad.getAlleles().contains(gChild.getAlleles().get(1)) ||
            gMom.getAlleles().contains(gChild.getAlleles().get(1)) && gDad.getAlleles().contains(gChild.getAlleles().get(0)));
    }

    private void createInheritanceMap(){

        inheritance = new EnumMap<Genotype.Type,EnumMap<Genotype.Type,EnumMap<Genotype.Type,Integer>>>(Genotype.Type.class);
        for(Genotype.Type mType : Genotype.Type.values()){
            inheritance.put(mType, new EnumMap<Genotype.Type,EnumMap<Genotype.Type,Integer>>(Genotype.Type.class));
            for(Genotype.Type dType : Genotype.Type.values()){
                inheritance.get(mType).put(dType, new EnumMap<Genotype.Type,Integer>(Genotype.Type.class));
                for(Genotype.Type cType : Genotype.Type.values()){
                    inheritance.get(mType).get(dType).put(cType, 0);
                }
            }
        }

    }

    private void clearInheritanceMap(){
        for(Genotype.Type mType : Genotype.Type.values()){
            for(Genotype.Type dType : Genotype.Type.values()){
                for(Genotype.Type cType : Genotype.Type.values()){
                    inheritance.get(mType).get(dType).put(cType, 0);
                }
            }
        }
    }

    /**
     * @return the likelihood ratio for a mendelian violation
     */
    public double violationLikelihoodRatio(VariantContext vc, String motherId, String fatherId, String childId) {
        double[] logLikAssignments = new double[27];
        // the matrix to set up is
        // MOM   DAD    CHILD
        //                    |-  AA
        //   AA     AA    |    AB
        //                    |-   BB
        //                    |- AA
        //  AA     AB     |   AB
        //                    |- BB
        // etc. The leaves are counted as 0-11 for MVs and 0-14 for non-MVs
        double[] momGL = vc.getGenotype(motherId).getLikelihoods().getAsVector();
        double[] dadGL = vc.getGenotype(fatherId).getLikelihoods().getAsVector();
        double[] childGL = vc.getGenotype(childId).getLikelihoods().getAsVector();
        int offset = 0;
        for ( int oMom = 0; oMom < 3; oMom++ ) {
            for ( int oDad = 0; oDad < 3; oDad++ ) {
                for ( int oChild = 0; oChild < 3; oChild ++ ) {
                    logLikAssignments[offset++] = momGL[oMom] + dadGL[oDad] + childGL[oChild];
                }
            }
        }
        double[] mvLiks = new double[12];
        double[] nonMVLiks = new double[15];
        for ( int i = 0; i < 12; i ++ ) {
            mvLiks[i] = logLikAssignments[mvOffsets[i]];
        }

        for ( int i = 0; i < 15; i++) {
            nonMVLiks[i] = logLikAssignments[nonMVOffsets[i]];
        }

        return MathUtils.log10sumLog10(mvLiks) - MathUtils.log10sumLog10(nonMVLiks);
    }

}

redpajama_set_name: RedPajamaGithub


Selling up to 1.5B 07. Minimum quantity 75m.
Rates = .8-.85 depending on quantity.
Will use trusted r-s middleman if you want!
Contact via discord or here.
"Will use trusted r-s middleman if you want!"
I run an RSPS, don't want to ruin my reputation over a few mil, however I am happy to use an MM because I have no 'vouch' thread.
Are you interested in selling still?
No more gold at the moment. Add me on discord and I'll msg when I have more.


Anniversary is a momentous occasion for every couple. It is a day to celebrate one more year of togetherness and love. Throwing an anniversary party to one of most common ways to share happiness with friends and family. Each passing year strengthens the bond of love between two people. There is a traditional name associated with every wedding anniversary. Interesting happy anniversary games for adults can increase the excitement in the party.
There are various happy anniversary games for adults that can be organized to have fun and entertainment. Anniversary games should be organized to suit every age group. Choose interesting games to make anniversary party a memorable event.
It is an entertaining game to include in anniversary party. To play this, divide players into two teams. One of the member from one team is told a movie name which he has to explain to his team members through actions. If his team members make a right guess the team scores a point.
It is an interesting happy anniversary game for adults. Guests are divided into two team. One team sings a song and other team has to start another song having one of the words of the previous song.
It is an amazing happy anniversary game for adults. In this game, players are made to sit in a circle and each player tries to make other people laugh through jokes, weird voices etc. The player who laughs is out from the game.
In this game players are made to stand in a circle. Each player makes an easy dance step which other members have to follow.
In this game, the player's goal is to match the words of his card that pair with the word on the judges card. The judges pick the funniest pairing.
It is an interesting game to be played in any party. In this game each player tells two truths and one lie. The other players make a guess what is truth and what is a lie. If the player fools other people successfully he is presented a gift. Every player writes about truths and lie before the game starts.
It is an amusing game to include in anniversary part. In this game, one person tells about the thing that he has never done. The player who has done, takes a sip of whatever they are drinking.
Include this game in the anniversary party to have fun. Blind fold a person and make him stand inside a circle. The blind folded person, when touches someone, asks who is it? The person should answer in a weird voice. The player has to guess the right person.
In this game, the players sit in a circle. The first person is given one minute to write a story. Only the last line is shown to the next player. Then he continues the story. The last player reads out the full story. It one of most entertaining happy anniversary games for adults.
One of the players writes down a word and passes it to next person. Each player has to make a new word by changing or adding one letter of the existing word. Game is continued until a player is unable to create a new word.


text:
Collections / Spring-Summer
Источник: vogue.com
Model Ayesha Tan-Jones with "Mental health is Not Fashion" sign on her palms
Utilitarian clothes as a protest statement to power and restrictions
The combination of the azure blue trench and the maxi golden yellow dress in a color-blocking technique
The saturated green wool vest and the transparent violet skirt in a color-blocking technique
The sexuality of the collection is further underlined by laces, which could be inset in the long black gloves and a cut-out burgundy top, combined with the bleak yellow high-slit maxi skirt and pointy nose ballet shoes.
The sexuality of the collection is further underlined by laces and a choker
Riding crop becomes an extravagant accessorize in Gucci spring/summer 2020 collection
High-slit designs are very common among Gucci SS2020 dresses and midi skirts
The designs are gender-fluid, allowing each a freedom of expression
What anybody during Milan Fashion Week 2019 could grasp, was that Gucci SS2020 collection leitmotif is all about sensuality and sexuality. It comes then by no surprise that provocative Alessandro Michele, Gucci creative designer, titled the collection "Orgasmique." Among its most standing-out thematical pieces it is possible to find slip - dresses, chokers, and riding crops.
As the fashion show space had previously been an aircraft factory, models showcased 89 looks going along the moving walkway, just as if the catwalk was at an airport with its crystal white walls. Held at its new headquarters called 'Gucci Hub,' the show was divided into two parts. Its beginning might have left its audience at a loss: underneath the flashing red to white lights, models came out of the metal gates wearing fully white straight jackets and uniforms – and then suddenly the lights cut out. Later Michele explained that the showcased utilitarian clothes were not for sale but instead was his protest statement to all "restrictions imposed by society and those who control it."
In contrast with almost identical prelude looks, the second part of the show was to present the glory of freedom of choice, creativity, and self-expression. Referencing the Gucci styles of the 70s and 90s, the garments are designed in a color-blocking technique: such as the combination of the azure blue trench and the maxi golden yellow dress or the saturated green wool vest and the transparent violet skirt.
Taking inspiration from the Gucci Fashion House's equestrian heritage, Michele accessorized almost every look with a choker, ranging from a thin lace to the massive black leather cloth and an extravagant riding crop. The sexuality of the collection is further underlined by laces, which could be inset in the long black gloves and a cut-out burgundy top, combined with the bleak yellow high-slit maxi skirt and pointy nose ballet shoes.
"I'm afraid of getting bored. I always have to try something new," Alessandro Michele stated in his post-show press conference. His words align with the collection's message that Gucci revives a new artistic chapter, bringing a breath of fresh air into its designs and ideas. This could be also said regarding the color palette and the patterns: the predominance of black, as well as a color-blocking and absence of prints, are the new choices of the brand. The designs of the garments also tend to be gender-fluid, embracing the spirit of freedom.

redpajama_set_name: RedPajamaCommonCrawl


Grant, Catherine (2014) Becoming "Arturo Ripstein"? On collaboration and the "author function" in the transnational film adaptation of El lugar sin límites. Mediático [weblog article, 27 January 2014].
Grant, Catherine (2012) Film and moving image studies: re-born digital? Some participant observations. Frames, 1 (1).
Grant, Catherine (2011) El fotógrafo del pánico / código desconocido [True Likeness: on peeping tom and code unknown]. Transit: cine y otros desvios.
Grant, Catherine (1997) [Review] Elizabeth Fox (1997) Latin American broadcasting: from Tango to Telenovela and Foro Hispánico volume 10 (1995) Ibero-America y el cine. Screen, 38 (4). pp. 398-403.
Grant, Catherine (2005) World cinema and its limits. In: Screen Studies Conference, University of Glasgow.
Grant, Catherine (2001) The director must not be credited: authorship, auteurism and the Films of Dogme '95'. In: Annual Conference of the Society for Cinema Studies, Washington DC.
Grant, Catherine (2000) Entertainment and Dystopia: Music and Performance in El lugar sin límites. In: Conference on Music and Film, University of Newcastle.
Grant, Catherine (1999) The "new auteurism"? In: Screen Studies Conference, June 1999., University of Glasgow.
Grant, Catherine (1998) Representations of Eva Perón: whiteness, death, femininity. In: Society of Latin American Studies Annual Conference, University of Liverpool.
Grant, Catherine (1997) Camera solidaria: Jeanine Meerapfel's la amiga. In: Screen Studies Conference, 27-29 June 1997, University of Glasgow.
Grant, Catherine (1997) Identification, Solidarity and Jeanine Meerapfel¿s La amiga (Argentina, 1988). In: Society of Latin American Studies Annual Conference, University of St. Andrews.
Grant, Catherine (1996) Hybridity, abjection and 'La hora de los hornos' ('Hour of the Furnaces') 1968-1973. In: Film, Culture, History Conference, University of Aberdeen.
Grant, Catherine (1995) Imaginary spaces and the light fantastic: the films of the Argentine director, Liseo Subiela. In: Annual Conference of Association of Hispanists of Great Britain and Ireland, University of Aberdeen.
Grant, Catherine (1994) [Des]entendida: avowal and disavowal in texts by and about Alejandra Pizarnik. In: Women Writers in Latin America: Readings and Approaches Conference, Institute of Latin American Studies, London.
Grant, Catherine (1993) Writing female transcendence: Alejandra Pizarnik's La condesa sangrienta. In: Annual Conference of the Association of Hispanists of Great Britain and Ireland, University of Liverpool.
Grant, Catherine (2012) Bonus Tracks: The making of 'Touching the film object' and 'Skipping ROPE (through Hitchcock's joins)'. University of St. Andrews, Film Studies.
This list was generated on Fri Apr 26 01:28:37 2019 BST.


Touki Toussaint didn't make the Braves' initial 25-man roster out of spring training, but the team assured him he wouldn't be gone long.
Toussaint was promoted back to the majors Saturday, adding another long-relief option to the bullpen. The team's primary long-reliever, Josh Tomlin, tossed two frames in Friday's loss to the Mets.
To open a spot, Kyle Wright was optioned to Triple-A Gwinnett. Wright, whom the Mets tagged for six runs Friday night, made three starts.
Wright, considered by some to be the franchise's best pitching prospect, will return. The team will let him further develop while routinely starting in Triple-A. With Mike Foltynewicz returning soon, the Braves had a rotation decision to make.


text:
Zambeef's profits and the lives of our people
Sat 22 June 2013, 14:00 CAT
It is very clear that Zambeef is not handling the issue of its meat products that have been found to contain aromatic aldehyde in an honest and sincere manner.
We fully appreciate their desperation because this matter is not a small one. This is an issue that could adversely affect their profits. But there is a concern that is far bigger than their profits and that is the wellbeing, health and lives of the many Zambians who consume their products. This doesn't seem to be the main concern of Zambeef.
Their main preoccupation is the preservation of their business and not of the lives of the many Zambians whose health and lives could be affected by their products.
Today, Zambia wants to cast doubt on the competence of the Food and Drug Control Laboratory based at the University Teaching Hospital. This is a public institution that does such tests as is required by law. There are many people who are in prison today as a result of the tests carried out by this institution. Why should Zambeef be an exception? It is unjustified arrogance for Zambeef to think there are no competent Zambians to carry out competent tests on the foodstuffs they import into this country. In effect, what Zambeef is saying is that no Zambian or Zambian institution is fit to certify any of the products they import into this country and such certification, if adverse, should only come from European or South African institutions. This is not acceptable. This is tantamount to Zambeef putting itself above the law.
It is not acceptable for Zambeef to think that they can take their sample abroad, get them tested and bring their results here and impose them on Zambian institutions. This arrogance has to be brought to an end.
We know that Zambeef has amassed a lot of money, it is a very rich company. But we also know that the money that Zambeef has made comes from the sweat of our people. Who doesn't know how much money Zambeef made from the animals they bought cheaply from Western, Southern and Central provinces? Who also doesn't know how much money they have made from importing cheap tripe, livers, hooves from abroad for almost nothing and selling them to our people at a gigantic profit?
No one has problems with Zambeef making such profits. But there is a problem if such profits are making Zambeef arrogant and to think they are above the law.
The best thing that Zambeef can do in these circumstances is not to antagonise officers of state institutions mandated with the responsibility to examine all foodstuffs being imported into this country and sold to our people. It will not help Zambeef to try and portray itself as a victim of malice or ill-will when it is themselves who have issues to explain to the public.
Whatever the denials, aromatic aldehyde has been found in their meat products. And there is no way they can deny this. The best they can do is to admit there is a problem and cooperate with the authorities in resolving the problem. Trying to posture around, pretending there is nothing wrong will not help Zambeef. There is no politics in this. And they shouldn't forget that their meat products are in the cold-rooms, deep freezers, fridges and pots of so many homes. Tests can be conducted on samples from all these people. There is no malice from state institutions or even from ourselves. Denials won't help.
Zambeef's problems did not start yesterday. These issues started as early as February this year and there is enough correspondence from public health institutions concerning this matter. If Zambeef was serious and had reasonable concern for the duties and rights of public institutions, they would have addressed this issue and they wouldn't be receiving the negative publicity they are today subjected to. Public health authorities on the Copperbelt went even as far as applying for and obtaining court orders to force them to remove some products from their shelves. Again, all these issues are documented and Zambeef cannot deny it. So why is this posturing?
City councils are mandated through their health inspectors to ensure that food that is offered for public consumption is not only free from disease, but should be of nature quality and quantity as demanded by the purchaser. The confidence of consumers in the quality and safety of their food supply depends in part on their perception as to the effectiveness of food control measures. A substantial part of the world-wide trade in food, for example in meat and meat products, depends upon the use of inspection and certification systems. And the inspection of food may occur at any stage in the production and distribution stage to ensure food safety. And our health inspectors are government officers empowered by law to perform a regulatory or enforcement function or both when it comes to food. Food inspection and certification systems should be used whenever appropriate to ensure that food, and their production systems, meet requirements in order to protect consumers against food-borne hazards and deceptive marketing practices.
But in all this, there is need for transparency. While respecting legitimate concerns to preserve confidentiality, the principles and operations of food inspection and certification systems should be open to scrutiny by consumers and their representative organisations and other interested parties. So what is happening to Zambeef is not something strange. It is something that should have been happening but has not been happening. The authorities seem to have gone to slumber, endangering public health.
This is a wake-up call to public health inspectors to take their work seriously. It is also a wake-up call to those dealing in foodstuffs to take their responsibilities seriously. Selling food is not like selling widgets. Many diseases are transmitted through foodstuffs. Contaminated foods can cause serious problems to the health of our people and even death. A whole population of a country can be wiped out through contaminated foodstuffs.
We hope Zambeef can take a more responsible attitude and acknowledge that there is a problem and work with the government and other interested parties, including institutions representing consumers, to address this problem. Yes, there will be losses on the part of Zambeef. But these are financial losses that can be recovered later. The losses to the health of our people cannot be so easily recovered as some of them may result in death.
One cannot claim to uphold the sanctity of life if they do not care about the safety of what the public consumes.
It is the duty of the government and its institutions or agencies to regulate industries and commerce to protect public health and the lives of our people from harmful products and business practices. We hope the government on this matter will take the side of the people and not that of Zambeef's profits.
Labels: CORRUPTION, ZAMBEEF
Zambeef removes imported meat By Mwala Kalaluka, ...
Zambia risks falling back into debt trap, says Sil...
Mere politicking won't sway Zambians - Sata By Mos...
KCM, govt seek best policies on value addition to ...
FedEx signs agreement to acquire Supaswift By Henr...
Eurobond award shows confidence in Zambia's econom...
Annan urges fair taxation, corporate transparency ...
(HERALD ZW) Harrowing experience at SA's Lindela c...
(NEWZIMBABWE) Mugabe, Zanu PF boycott coalition me...
(TALKZIMBABWE) Tsvangirai's lawyers giving him bad...


text:
Q: AXIS2 client returns object with nulls instead of properties I have such a structure that I need to return through the webService
public class StructureClass implements Serializable
{

    public StructureClass()
    {
        exampleFIO = new FIO();
    }
    public FIO exampleFIO;
    public String result;
}

public class FIO implements Serializable{

    public String FirstName;
    public String LastName;

}

WebService application:
public class ReturnObject {
    public StructureClass retObject()
    {
        StructureClass structClassObject = new StructureClass();
        structClassObject.exampleFIO.FirstName = "A";
        structClassObject.exampleFIO.LastName = "G";
        structClassObject.result = "good";
        return structClassObject;
    }
}

I build the webservice application with help of AXIS2 and Eclipse
WSDL is:
*<wsdl:definitions targetNamespace="http://objectreturn.xxxxxx.com">
<wsdl:documentation>
        Please Type your service description here
    </wsdl:documentation>
−
<wsdl:types>
−
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://objectreturn.xxxxxx.com/xsd">
−
<xs:complexType name="StructureClass">
<xs:sequence/>
</xs:complexType>
</xs:schema>
−
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://objectreturn.xxxxxx.com">
<xs:import namespace="http://objectreturn.xxxxxx.com/xsd"/>
−
<xs:element name="retObjectResponse">
−
<xs:complexType>
−
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax22:StructureClass"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
</wsdl:types>
<wsdl:message name="retObjectRequest"/>
−
<wsdl:message name="retObjectResponse">
<wsdl:part name="parameters" element="ns:retObjectResponse"/>
</wsdl:message>
−
<wsdl:portType name="ReturnObjectPortType">
−
<wsdl:operation name="retObject">
<wsdl:input message="ns:retObjectRequest" wsaw:Action="urn:retObject"/>
<wsdl:output message="ns:retObjectResponse" wsaw:Action="urn:retObjectResponse"/>
</wsdl:operation>
</wsdl:portType>
−
<wsdl:binding name="ReturnObjectSoap11Binding" type="ns:ReturnObjectPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
−
<wsdl:operation name="retObject">
<soap:operation soapAction="urn:retObject" style="document"/>
−
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
−
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
−
<wsdl:binding name="ReturnObjectSoap12Binding" type="ns:ReturnObjectPortType">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
−
<wsdl:operation name="retObject">
<soap12:operation soapAction="urn:retObject" style="document"/>
−
<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>
−
<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
−
<wsdl:binding name="ReturnObjectHttpBinding" type="ns:ReturnObjectPortType">
<http:binding verb="POST"/>
−
<wsdl:operation name="retObject">
<http:operation location="ReturnObject/retObject"/>
−
<wsdl:input>
<mime:content type="text/xml" part="retObject"/>
</wsdl:input>
−
<wsdl:output>
<mime:content type="text/xml" part="retObject"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
−
<wsdl:service name="ReturnObject">
−
<wsdl:port name="ReturnObjectHttpSoap11Endpoint" binding="ns:ReturnObjectSoap11Binding">
<soap:address location="http://localhost:8080/XXXXXX/services/ReturnObject.ReturnObjectHttpSoap11Endpoint/"/>
</wsdl:port>
−
<wsdl:port name="ReturnObjectHttpSoap12Endpoint" binding="ns:ReturnObjectSoap12Binding">
<soap12:address location="http://localhost:8080/XXXXXX/services/ReturnObject.ReturnObjectHttpSoap12Endpoint/"/>
</wsdl:port>
−
<wsdl:port name="ReturnObjectHttpEndpoint" binding="ns:ReturnObjectHttpBinding">
<http:address location="http://localhost:8080/XXXXXX/services/ReturnObject.ReturnObjectHttpEndpoint/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>*

When I tried to invoke it with help of my Client
RPCServiceClient serviceClient = new RPCServiceClient();
            Options options = serviceClient.getOptions();

            EndpointReference targetEPR = new EndpointReference(
                    "http://localhost:8080/XXXXXX/services/ReturnObject");
            options.setTo(targetEPR);

            options.setAction("sendAttachment");

            QName opGetObject = new QName("http://objectreturn.xxxxxx.com", "retObject");
            Object[] opSetArgs = new Object[] { };
            Class[] returnTypes = new Class[] { StructureClass.class };

            Object[] returnArray = serviceClient.invokeBlocking(opGetObject,
                    opSetArgs, returnTypes);

        StructureClass xx = (StructureClass)returnArray[0];

        System.out.println(xx.result);

I got null for all of the properties of class xx
Could you please help what could be the possible problem here.
Thanks,
Andrew

A: Check the Axis2 Apache Tutorial and do the code according to the tutorial.
(for instance, remove implements Serializable from the classes, unless you really need it, create getters and setters methods in classes)

redpajama_set_name: RedPajamaStackExchange


text:
Aeroflot Opened Toll-Free Call Centers in 22 countries
July 1, 2013 MOSCOW
Aeroflot organized free service for the passengers from 22 countries all over the world in the unified call center.
The passengers in Canada, France, Germany, Ireland, Spain, Italy, Japan, Netherlands, Great Britain, China and Ukraine can contact Aeroflot information and booking center using the following toll-free phone numbers:
China (north)
China (south)
Aeroflot contact centers offer support in English, French, Spanish, Italian, Japanese and Chinese. Average waiting time is from 30 to 60 seconds.
Using the most modern technologies Aeroflot call center provides the highest level of service and constantly introduces new features for the passengers.
Сelebrating its 90-th anniversary in 2013, Aeroflot is Russia's flagship airline and the largest national air company. Proudly being a member of the SkyTeam global airline alliance, Aeroflot with its partnering members provides service to more than 1000 destinations in 178 countries. Aeroflot operates one of the most modern and youngest fleets in Europe counting 137 aircraft formed by Airbus, Boeing and Sukhoi airliners with an average airplane age between five and six years old. In 2012 Aeroflot carried 17.7 million passengers (27.5 million passengers as Aeroflot Group), continuously showing the best results in modern Russia's history. In June 2013 Aeroflot was for the second time awarded by SKYTRAX as The Best Airline in Eastern Europe. Find more at www.aeroflot.com.


text:
Q: strange SQL Server attach database error I am using SQL Server 2008 Enterprise with VSTS 2008, and I am developing a simple web application using ASP.Net and Forms Authentication.
When I am using the configuration tool/menu of VSTS of my ASP.Net project (I want to use this tool to manually add some Forms authentication users), I met with the following error (SqlException),
Trying to attach file D:\Projects\MyTest\App_Data\aspnetdb.mdf to automatically named database failed. It may be caused by existing the same name database, or may be caused by specified file can not be opened or caused by the specified file exists in UNC share.

In my computer, there is no aspnetdb.mdf under dir D:\Projects\MyTest\App_Data, and why this dir will be searched? And I have used aspnet_regsql to generate database successfully before I run the configuration tool. Why there is such error? How to fix it?
thanks in advance,
George

A: Have you set up your provider with a named connection?
<connectionStrings>
  <add name="NamedConnectionString"
   connectionString="xxxxxxxx" />
</connectionStrings>

 <membership defaultProvider="MembershipADProvider">
  <providers>
    <add
  name="MembershipADProvider"
  type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web,
        Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
            connectionStringName="NamedConnectionString" />
   </providers>
 </membership>

You said that you used aspnet_regsql, which suggests that you are attempting to use the ASP.NET Membership Providers. If you don't configure the providers and connections in your config, then it will look for a SQL Server Express file called aspnetdb.mdf in the App_Data directory of your site.


text:
iKratos SunPower Elite-Partner
Rhenus acquires the LOXX Group
With the planned takeover of the logistics group LOXX from Gelsenkirchen on 1 January, Rhenus intends to strengthen its activities in Germany and Europe, subject to approval by the antitrust authorities. LOXX has a clear commitment to international operations, particularly cross-border general cargo, LTL and FTL business. The owner-managed logistics specialist focuses on the Rhine/Ruhr region in its German business.
The acquisition not only involves the holding company at the headquarters in Gelsenkirchen, but also five operational business sites that are based at the head office, in Pleidelsheim near Stuttgart and in the Polish cities of Warszawa, Poznań and Katowice. "The business sites operated by the LOXX Group ideally enhance Rhenus Freight Road's existing European network because of the company's strong emphasis on internationalisation and the cultural variety and skills of its employees. Historically, LOXX has maintained very close relations with Eastern Europe and has developed into a complete international provider by establishing regular traffics towards Western Europe too during the last ten years," says Thilo Streck, Managing Director of Rhenus Freight Logistics.
The major focus at the logistics centre in Gelsenkirchen, which measures about 17,000 square metres, is not only on cross-border services, but also customer solutions for the chemical industry. The existing agreements within the VTL and CTL domestic general cargo cooperation schemes are set to continue.
The business site in Pleidelsheim near Stuttgart primarily focuses on Eastern European and CIS services for general cargo, LTL and FTL shipments. Within Germany, LOXX also operates as a regional freight forwarder for the household appliances sector by distributing white goods and supplying stores. "We want to continue developing this business with Rhenus Home Delivery. Rhenus can also offer interested customers improved access to Western Europe," Thilo Streck adds.
LOXX operates three branches in Poland and their major focus is also on providing overland services within Europe. Rhenus is seeking to establish some integration within its independent Polish distribution network here. "In the light of the increasing consolidation of the general cargo markets and the growing demands in the IT sector as part of the process of digitalisation, we believe that we'll enjoy better growth and development opportunities, improved services for our customers and a clear perspective for our employees for the future of the LOXX Group by being part of Rhenus. For these reasons and because the main shareholder is reaching retirement age, we've decided to sell the business to Rhenus," says LOXX Managing Director, Alexander Brockt, explaining the latest development.
The acquisition is still subject to approval by the cartel authorities.
About LOXX
LOXX is an owner-managed, medium-sized logistics company and has its headquarters in Gelsenkirchen in the Ruhr region. The LOXX Group now comprises five operating companies as well as LOXX Holding GmbH and has five business sites. The logistics specialist employs about 575 people in Europe and generated turnover of EUR 127.6 million in 2019.
Über die Rhenus SE & Co. KG
The Rhenus Group is a leading logistics service provider with global business operations and annual turnover of EUR 5.5 billion. Rhenus has business sites at 750 locations worldwide and employs 33,000 people. The Rhenus Group provides solutions for a wide variety of different sectors along the complete supply chain; they include multimodal transport operations, warehousing, customs clearance as well as innovative value-added services.
Rhenus SE & Co. KG
Rhenus-Platz 1
Telefon: +49 (2301) 29-0
Telefax: +49 (2301) 29-1215
http://www.rhenus.de
Medienbüro am Reichstag GmbH
Fax: +49 (30) 308729-95
E-Mail: rhenus@mar-berlin.de
Verena Schäfers
Telefon: +49 (2301) 29-1862
Fax: +49 (2301) 29-1215
E-Mail: verena.schaefers@de.rhenus.com
Originalmeldung der Rhenus SE & Co. KG
Alle Meldungen der Rhenus SE & Co. KG
HELLA aufgrund leichter Markterholung und hoher Kostendisziplin mit guter Geschäftsentwicklung im ersten Halbjahr
Gerach erweitert Firmengruppe in der Westpfalz


Checking your engine oil level is simple and done in five easy steps. If you have not done it before, don't worry as it is quite easy to do. Checking it is one of the most important checks you should undertake on a regular basis, even if you have more sophisticated sensors in your vehicle.


text:
Q: How to get file name of files by using each loop in jquery This code does'nt show me the content which is present in an array
<input id="filesid" type="file" name="name"  multiple="multiple"/>

    <button id="upload">Upload</button>

Script used to display the name of file through array

A: The <input type='file' mutliple> has a files property that might look like an array since it can report its length, but if you try to do a .forEach()   or $.each() on its files property, that will trigger an error, because it is not an array.
The files property is in fact an object, with all of its keys having numeric values and all of the corresponding values are further child objects.
So to iterate through files, we need to go through the keys first. Luckily, length tells us where we can stop iterating after 0.

// this will be triggered automatically
// after the user had selected the files.
// no need to press any other buttons

$('#filesid').change(function() {

  //start with an empty array
  var files = [];

  //iterate through the native DOM 'this' object, not jQuery $(this)

  for (var i = 0; i < this.files.length; i++) {
    files.push(this.files[i].name);
  }

  console.log(files);
});

<input id="filesid" type="file" name="name" multiple="multiple" />

A: Following code will be helpful to you,
var cimagename =[];
var cimagepath =[];

  $(".cimage").each(function() {
      var filepath = this.value;
      var filename = this.value.split('\\').pop();
      cimagename.push(filename);
      cimagepath.push(filepath);
   });

   console.log(cimagename);
   console.log(cimagepath);

You can get all image's path and name using above each loop. Then you can pass this values as parameters to ajax call as cname and ccode.


text:
Малое Медведево — деревня в Устюженском районе Вологодской области.

Входит в состав Мезженского сельского поселения, с точки зрения административно-территориального деления — в Мезженский сельсовет.

Расстояние по автодороге до районного центра Устюжны — 45 км, до центра муниципального образования деревни Долоцкое — 8 км. Ближайшие населённые пункты — Кишкино, Новая, Савино.

Население по данным переписи 2002 года — 27 человек (11 мужчин, 16 женщин). Всё население — русские.

Примечания

Ссылки
 Малое Медведево в реестре населённых пунктов Вологодской области

Населённые пункты Устюженского района

redpajama_set_name: RedPajamaWikipedia


These versatile pieces can be used as decor and organizers!
Given our weekly trips to the grocery and occasional shopping sprees, it is no surprise that one of the cabinets at home is filled with paper bags.
Over time, these items can contribute to clutter. While you can bring it to the nearest junk shop, you may also want to turn them into must-have essentials that you can use at home. Here are 5 ideas that may just inspire you.
Main photos from: Danielle Moss and The Kitchn.


text:
RTX7WOHO
Britain's Prime Minister Boris Johnson arrives for a service to mark the 80th anniversary of the Battle...
Westminster cathedral service marks 80th anniversary of the Battle of Britain
Britain's Prime Minister Boris Johnson arrives for a service to mark the 80th anniversary of the Battle of Britain at Westminster Abbey in London, Britain September 20, 2020. Aaron Chown/PA Wire/Pool via REUTERS
RC2A2J9PW8MI
POOL New


However, in the real world, many of the most widespread free antivirus tools actually pack a ton of extra features.
Comodo Internet Security in particular gives you more than many competing commercial products.
On top of excellent antivirus protection, it adds a network security firewall, a secure browser, and more.
With Comodo Internet Security you won't face malware alone.
GeekBuddy tech support will remotely repair any security problems, guaranteed.


text:
Scholarly Community
Entry Collections Journal Books Sciplayer About Login Register Create
Entry Collections
Sciplayer
From Type
Online at
969751 Susy Meneghetti Chiara chiara.meneghetti@unipd.it 2021-10-22 09:51:41 2021-10-22 09:51:41
198427 francesca.pazzaglia@unipd.it Francesca Pazzaglia No 2021-09-16 09:01:42 2021-09-16 09:01:42
198428 veronica.murroni@studenti.unipd.it No 2021-09-16 09:01:42 2021-09-16 09:01:42
198429 raffaele.cavalli@unipd.it Raffaele Cavalli No 2021-09-16 09:01:42 2021-09-16 09:01:42
198430 andrea.basso@coopgiotto.com No 2021-09-16 09:01:42 2021-09-16 09:01:42
198431 erika.borella@unipd.it Erika Borella No 2021-09-16 09:01:42 2021-09-16 09:01:42
198433 a.melendugno@operadellaprovvidenza.it No 2021-09-16 09:01:42 2021-09-16 09:01:42
69722 chiara.meneghetti@unipd.it Meneghetti Chiara 1 2021-09-16 09:01:42 2021-10-22 09:51:41
75216 lindsay.dong@mdpi.com Lindsay Dong 2 2021-10-26 07:33:38 2021-10-26 07:33:39
Encyclopedia currently has "video" type entries. If you submit a video entry, you will have the chance to earn 20 points. Those points can be exchanged for a voucher that can be used for MDPI journal.
Click here to submit your first video entry: https://encyclopedia.pub/user/revision/main/item?entryType=6
Click here for more information: https://encyclopedia.pub/announcement/view/12
Check Note
Please check and comment entries here.
Comment Lists
Therapeutic Gardens for Dementia People
Subjects: Horticulture | Neurosciences
View times: 7
Meneghetti Chiara
Contact with nature involves the exposure to greenery in general, or it can involve specific activities such as gardening therapy or the use of therapeutic gardens, both of which are among the non-pharmacological treatments recommended for PWD and other kinds of disease [7,8]. Therapeutic gardens can be used more or less actively, for gardening or other activities (e.g., psychotherapy), or passively (for walking or simply sitting in). They can be built inside or outside care facilities. Including therapeutic gardens in care environments has positive effects on agitation, behavior, walking, stress levels, self-esteem, depression, and aggressiveness.
1. Benefits of Contact with Nature
The positive effects of nature on human beings have their theoretical grounds in several bio-psycho-evolutionary approaches and theories that, starting in the 1980s, have promoted numerous empirical studies supporting the importance of contact with nature in improving people's psychophysical wellbeing and quality of life. A first approach, called the biophilia construct, was proposed by Wilson [1]. It is based on the assumption that our species is instinctively attracted to the natural world. The word biophilia, deriving from Greek, literally means love of life. Two psychological theories justify the positive effects of contact with nature, one focusing on its physiological and affective effects, the other on its cognitive impact. Ulrich [2] developed a Stress Reduction Theory (SRT), according to which exposure to the natural world after an exhausting or threatening experience would promote psychophysiological recovery from its stressful effects. This regeneration mechanism would begin with a very rapid, positive affective response to certain environmental stimuli immediately identified by a human observer (an abundance of vegetation, the presence of water, animals, and so on). In an organism under stress, this first affective reaction triggers a physiological rebalancing mechanism: the parasympathetic system is activated, inducing a drop in physiological stress indices (cortisol level, heartbeat, and blood pressure). The psychological perception of stress decreases at the same time, as the related negative emotions fade and positive emotions replace them. A recent meta-analysis [3] conducted on 32 studies with 2356 participants confirmed the importance of contact with nature in promoting positive affective states and reducing stress. Another influential approach is called the Attention Restoration Theory (ART) [4]. Focusing on attention functions, it distinguishes between two attentional mechanisms [5]: voluntary attention, activated by the execution of complex cognitive tasks, which is liable to decay and needs to be restored; and involuntary attention, spontaneously captured by environmental properties, which is not subject to fatigue. ART suggests that the particular features of certain environments activate spontaneous attention, enabling voluntary attention to be restored at the same time. According to ART, there are four key components that characterize a restorative environment: fascination (the property of the environment to hold our attention with no voluntary effort); extent (the opportunity to feel immersed in the environment); being away (establishing a distance between us and our everyday routine); and compatibility (with our own inclinations). Fascination is considered the most important to the restoration process. As also confirmed by recent reviews [6], the natural environment (among others) has precisely these characteristics and can promote this process.
2. The Therapeutic Effects of Gardens and Horticulture
Contact with nature involves the exposure to greenery in general, or it can involve specific activities such as gardening therapy or the use of therapeutic gardens, both of which are among the non-pharmacological treatments recommended for PWD and other kinds of disease [7][8]. Therapeutic gardens can be used more or less actively, for gardening or other activities (e.g., psychotherapy), or passively (for walking or simply sitting in). They can be built inside or outside care facilities. They are defined as "therapeutic" because they are designed in such a way as to emphasize their curative potential. Sometimes the literature refers to "healing gardens" [9], where visitors can experience a lessening of their stress, and feel physically and mentally restored. Thaneshwari et al. [7] recommends that therapeutic gardens be designed specifically for the care of certain types of patient, such as Alzheimer's gardens, or gardens for people with cancer. Söderback et al. [10] defined horticultural therapy as a gardening activity that includes interventions mediated by natural spaces such as gardens, using suitable tools, and proposing activities designed to suit a given type of patient. To be "therapeutic", the purpose of the horticultural activity must be to promote the participants' health and wellbeing. From a recent scoping review [11] of different therapies revolving around the use of natural elements (therapy with animals, horticulture, farming activities, presentations of natural stimuli in virtual reality), it emerged that 41 of the 85 studies identified had to do with gardening. They concerned different settings, including hospitals, retirement homes, and prisons, and reported positive results on several indexes of participants' wellbeing. Studies on gardening and/or therapeutic gardens appear in several types of review dealing with different therapeutic activities and types of patient. Some reviews focused on a wide array of interventions involving the natural world [11][12][13]. Others examined general environmental interventions [14], sensory interventions [15], and interventions mediated by therapeutic gardens for various types of patient [7][16][17]. Some reviews focused specifically on horticulture [18][19][20], others more generally concerned outdoor spaces [21]. Some discussed a whole range of non-pharmacological interventions, including therapeutic gardens and gardening therapy [22]. Some were narrative reviews [23], or discussed the effects of therapeutic gardens and gardening therapy by drawing on qualitative studies [24]. A systematic review and meta-analysis [25] included five studies relating to horticulture in combination with other activities, and two studies that involved watching videos of natural scenery. Finally, a scoping review by Gonzalez and Kirkevold [26] examined the effects of the purposeful use of outdoor sensory gardens, gardening activities, and indoor plants in dementia care.
3. The Effects of Therapeutic Gardens and Horticultural Therapy on People with Dementia
The effects of therapeutic gardens on PWD are still being investigated. Recent reviews and studies [23][26][27] found that including therapeutic gardens in care environments has positive effects on agitation, behavior, walking, stress levels, self-esteem, depression, and aggressiveness. A quantitative review by Zhao et al. [20] on the benefits of gardening on PWD reported improvements in cognitive function, agitation, emotional state, and engagement, while no such effects on agitation or emotional state were obtained from visits to gardens or viewing nature scenes. For specific positive effects of gardening on patients with Alzheimer's disease, see D'Andrea et al. [28], who found evidence of it promoting creativity, self-esteem, social interaction, sensory stimulation, gross and fine motor skills, and hand-eye coordination. Compared with the above-mentioned reviews, the present work focuses more specifically on dementia, therapeutic gardens, and gardening therapy, and only quantitative studies were considered. We explored the effects of therapeutic gardens and horticultural therapy on PWD in relation to the characteristics of the samples studied (severity of dementia), and the variables considered (behavior, affect, cognition). Our aims were to conduct a systematic review and critical analysis of the empirical support for these therapeutic approaches, and to suggest future directions to advance the field of such interventions for PWD. An added value compared with existing reviews lies in that the latest studies were included.
This entry is adapted from 10.3390/ijerph18189595
Wilson, E.O. Biophilia; Harvard University Press: Cambridge, MA, USA, 1984.
Ulrich Roger, S.; Simons, R.F.; Losito, B.D.; Fiorito, E.; Miles, M.A.; Zelson, M. Stress recovery during exposure to natural and urban environments. J. Environ. Psychol. 1991, 11, 201–230.
McMahan, E.A.; Estes, D. The effect of contact with natural environments on positive and negative affect: A meta-analysis. J. Posit. Psychol. 2015, 10, 507–519.
Kaplan, S. The restorative benefits of nature: Toward an integrative framework. J. Environ. Psychol. 1995, 15, 169–182.
James, W. Psychology: The Briefer Course; Holt: New York, NY, USA, 1892.
Ohly, H.; White, M.P.; Wheeler, B.W.; Bethel, A.; Ukoumunne, O.C.; Nikolaou, V.; Garside, R. Attention Restoration Theory: A systematic review of the attention restoration potential of exposure to natural environments. J. Toxicol. Environ. Health Part B 2016, 19, 305–343.
Thaneshwari, P.K.; Sharma, R.; Sahare, H.A. Therapeutic gardens in healthcare: A review. Ann. Biol. 2018, 34, 162–166.
Janzen, S.; Zecevic, A.A.; Kloseck, M.; Orange, J.B. Managing agitation using nonpharmacological interventions for seniors with dementia. Am. J. Alzheimers Dis. Other Dement. 2013, 28, 524–532.
Momtaz, R.I. Healing Gardens—A Review of Design Guidelines. Int. J. Curr. Eng. Technol. 2017, 7, 1864–1871.
Söderback, I.; Söderström, M.; Schälander, E. Horticultural therapy: The 'healing garden'and gardening in rehabilitation measures at Danderyd hospital rehabilitation clinic, Sweden. Pediatr. Rehabil. 2004, 7, 245–260.
Moeller, C.; King, N.; Burr, V.; Gibbs, G.; Gomersall, T. Nature-based interventions in institutional and organisational settings: A scoping review. Int. J. Environ. Health Res. 2018, 28, 293–305.
Barrett, J.; Evans, S.; Mapes, N. Green dementia care in accommodation and care settings: A literature review. Hous. Care Support 2019, 22, 193–206.
Motealleh, P.; Moyle, W.; Jones, C.; Dupre, K. Creating a dementia-friendly environment through the use of outdoor natural landscape design intervention in long-term care facilities: A narrative review. Health Place 2019, 58, 102148.
Jensen, L.; Padilla, R. Effectiveness of Environment-Based Interventions That Address Behavior, Perception, and Falls in People With Alzheimer's Disease and Related Major Neurocognitive Disorders: A Systematic Review. Am. J. Occup. Ther. 2017, 71, 7105180030p1–7105180030p10.
Smith, B.C.; D'Amico, M. Sensory-Based Interventions for Adults with Dementia and Alzheimer's Disease: A Scoping Review. Occup. Health Care 2019, 34, 171–201.
Lakhani, A.; Norwood, M.; Watling, D.P.; Zeeman, H.; Kendall, E. Using the natural environment to address the psychosocial impact of neurological disability: A systematic review. Health Place 2018, 55, 188–201.
Carver, A.; Lorenzon, A.; Veitch, J.; MacLeod, A.; Sugiyama, T. Is greenery associated with mental health among residents of aged care facilities? A systematic search and narrative review. Aging Ment. Health 2018, 24, 1–7.
Kamioka, H.; Tsutani, K.; Yamada, M.; Park, H.; Okuizumi, H.; Honda, T.; Okada, S.; Park, S.-J.; Kitayuguchi, J.; Abe, T.; et al. Effectiveness of horticultural therapy: A systematic review of randomized controlled trials. Complement. Med. 2014, 22, 930–943.
Blake, M.; Mitchell, G. Horticultural therapy in dementia care: A literature review. Nurs. Stand. 2016, 30, 41–47.
Zhao, Y.; Liu, Y.; Wang, Z. Effectiveness of horticultural therapy in people with dementia: A quantitative systematic review. J. Clin. Nurs. 2020.
Whear, R.; Coon, J.T.; Bethel, A.; Abbott, R.; Stein, K.; Garside, R. What Is the Impact of Using Outdoor Spaces Such as Gardens on the Physical and Mental Well-Being of Those With Dementia? A Systematic Review of Quantitative and Qualitative Evidence. J. Am. Med. Dir. Assoc. 2014, 15, 697–705.
Abraha, I.; Rimland, J.M.; Trotta, F.M.; Dell'Aquila, G.; Cruz-Jentoft, A.J.; Petrovic, M.; Gudmundsson, A.; Soiza, R.; O'Mahony, D.; Guaita, A.; et al. Systematic review of systematic reviews of non-pharmacological interventions to treat behavioural disturbances in older patients with dementia. The SENATOR-OnTop series. BMJ Open 2017, 7, e012759.
Uwajeh, P.C.; Iyendo, T.O.; Polay, M. Therapeutic gardens as a design approach for optimising the healing environment of patients with Alzheimer's disease and other dementias: A narrative review. Explore 2019, 15, 352–362.
Orr, N.; Wagstaffe, A.; Briscoe, S.; Garside, R. How do older people describe their sensory experiences of the natural world? A systematic review of the qualitative evidence. BMC Geriatr. 2016, 16, 116.
Lu, L.-C.; Lan, S.-H.; Hsieh, Y.-P.; Yen, Y.-Y.; Chen, J.-C.; Lan, S.-J. Horticultural Therapy in Patients With Dementia: A Systematic Review and Meta-Analysis. Am. J. Alzheimers Dis. Other Dement. 2020.
Gonzalez, M.T.; Kirkevold, M. Design Characteristics of Sensory Gardens in Norwegian Nursing Homes: A Cross-Sectional E-Mail Survey. J. Hous. Elder. 2016, 30, 141–155.
Borgen, L.; Guldahl, A.S. Great-granny's Garden: A living archive and a sensory garden. Biodivers. Conserv. 2010, 20, 441–449.
D'Andrea, S.J.; Batavia, M.; Sasson, N. Effect of horticultural therapy on preventing the decline of mental abilities of patients with Alzheimer's type dementia. J. Ther. Hortic. 2007, 18, 8–17.
therapeutic garden horticultural therapy Alzheimer's disease dementia restorative environments
© Text is available under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/)
18,578 Total Entries
15,239 Latest Users
1,669,455 View Times
Subscribe to New Entry
About Encyclopedia
© 2021 MDPI AG (Basel, Switzerland) unless otherwise stated


text:
Q: Access DOM elements of a VAADIN client I pay for a subscription to Company X, I wrote a script to automate my queries to their database. Recently, they updated their site to use VAADIN. That broke my automation method and now I must make hundred of queries a day manually. This has proved problematic as Company X will not support me in automation, though they don't care if I do automate it.
VAADIN obfuscates the DOM elements of the Company X's website and JSON calls.
How do you access DOM elements from a VAADIN style site? The problem I run into is the form fields and buttons do not have targetable / traditional ID's.


The sun was shining, the band was playing behind the grim spiked fence, and we were able to explain to some of those going in the difference between genuine volunteering and forced unpaid labour. John was able to tell them directly that not only had it not helped him find a job, but that as someone who had worked in hotel kitchens he hadn't appreciated being forced to skivvy in the Centre's kitchen for nothing and did not need the 'experience' for his CV. Of course there are always those people who don't want to know, but we hope we have made some others think – including Shona Robison MSP who we leafleted as she left. As it was a relatively small event, we distributed the rest of our leaflets through the letter boxes of the surrounding houses.
Although the Mandatory Work Activity scheme is finished and no more people are being made to do Community Work Placements, there is still scope for unemployed people to be forced into mandatory unpaid work through the Work Programme, and organisations such as Mid-Lin make this modern slavery possible. There are plenty of schemes for genuine volunteering, so it is difficult to see why Mid-Lin are so resistant to ending this exploitation, especially as it must be better for everyone to have workers who actually want to be there.
Sorry – not mastered that one yet!
It is shocking in this 2016 in Scotland !!


We have gotten to photograph so many unique homes throughout Columbus and the surrounding areas. Using a special technique called HDR Imaging, each photograph is the composite of five images, to produce the best image quality possible. From high end mansions that have been decorated by luxury interior designers, to starter homes, our real estate photography captures the beauty of each individual home.


Will Anyone Rent This NYC Apartment For $125K a Month?
The home offers 12,120 square feet of living space and a south-facing cobblestone garden.
Fouad Chartouni, owner of New York City's Lowell Hotel, has placed his 40-foot Upper East Side mansion on the rental market for an eye-popping price of $125,000 a month, reports The Real Deal.
Charouni's pad offers 12,120 square feet of living space, plus a 2,435-square-foot cellar, and a south-facing cobblestone garden that takes up 3,350 square feet. There are ten bedrooms, ten bathrooms, and three powder rooms, an elevator, fitness center, and five working fireplaces.
Chartouni bought the home for $8.25 million in 2003. He's never lived in the home, but renovated it himself. The agent of the listing, Cathy Franklin, told The Real Deal that the apartment had the "most beautiful renovation" she has ever seen.
See the full story on The Real Deal.


Partnerize is the first partner management solution to offer predictive analytics, powered by revolutionary artificial intelligence. Our Partner Management Platform (PMP) incorporates this critical new functionality to help the world's great brands drive even faster growth through partnerships.
With predictive analytics, brands can understand the future sales effects of specific campaigns and offers. By offering this "window into the future," our PMP empowers clients to make optimal business decisions based on the extent to which they are likely to deliver on key metrics.
Know in advance how campaigns and partners will perform in the month ahead. Deliver more precise forecasts along with greater revenue and cost certainty. To get outstandingly accurate partner performance predictions, you need as little as three months of historical sales data.
Leverage our powerful AI capabilities to pinpoint unusual changes in program or partner performance. Receive alerts for peculiar shifts in your data as they occur, so that you can respond in real-time.
To create these groundbreaking technologies, Partnerize analyzed more than 50 billion events tracked on behalf of clients to understand the activity profiles for a wide range of campaigns and partners. Our data science team then developed five different prediction models ranging from iterative linear regression to a neural network model.
Through continuous evaluation, our platform is able to dynamically select the algorithmic prediction model for each client that is most effective. This way we ensure that we present customers with predictions that are tailored to them.


text:
require "digest/sha1"

module Bundler
  class Definition
    include GemHelpers

    attr_reader :dependencies, :platforms, :sources

    def self.build(gemfile, lockfile, unlock)
      unlock ||= {}
      gemfile = Pathname.new(gemfile).expand_path

      unless gemfile.file?
        raise GemfileNotFound, "#{gemfile} not found"
      end

      Dsl.evaluate(gemfile, lockfile, unlock)
    end

=begin
    How does the new system work?
    ===
    * Load information from Gemfile and Lockfile
    * Invalidate stale locked specs
      * All specs from stale source are stale
      * All specs that are reachable only through a stale
        dependency are stale.
    * If all fresh dependencies are satisfied by the locked
      specs, then we can try to resolve locally.
=end

    def initialize(lockfile, dependencies, sources, unlock)
      @dependencies, @sources, @unlock = dependencies, sources, unlock
      @remote            = false
      @specs             = nil
      @lockfile_contents = ""

      if lockfile && File.exists?(lockfile)
        @lockfile_contents = Bundler.read_file(lockfile)
        locked = LockfileParser.new(@lockfile_contents)
        @platforms      = locked.platforms

        if unlock != true
          @locked_deps    = locked.dependencies
          @locked_specs   = SpecSet.new(locked.specs)
          @locked_sources = locked.sources
        else
          @unlock         = {}
          @locked_deps    = []
          @locked_specs   = SpecSet.new([])
          @locked_sources = []
        end
      else
        @unlock         = {}
        @platforms      = []
        @locked_deps    = []
        @locked_specs   = SpecSet.new([])
        @locked_sources = []
      end

      @unlock[:gems] ||= []
      @unlock[:sources] ||= []

      current_platform = Gem.platforms.map { |p| generic(p) }.compact.last
      @new_platform = !@platforms.include?(current_platform)
      @platforms |= [current_platform]

      eager_unlock = expand_dependencies(@unlock[:gems])
      @unlock[:gems] = @locked_specs.for(eager_unlock).map { |s| s.name }

      converge_sources
      converge_dependencies
    end

    def resolve_with_cache!
      raise "Specs already loaded" if @specs
      @sources.each { |s| s.cached! }
      specs
    end

    def resolve_remotely!
      raise "Specs already loaded" if @specs
      @remote = true
      @sources.each { |s| s.remote! }
      specs
    end

    def specs
      @specs ||= begin
        specs = resolve.materialize(requested_dependencies)

        unless specs["bundler"].any?
          local = Bundler.settings[:frozen] ? rubygems_index : index
          bundler = local.search(Gem::Dependency.new('bundler', VERSION)).last
          specs["bundler"] = bundler if bundler
        end

        specs
      end
    end

    def new_specs
      specs - @locked_specs
    end

    def removed_specs
      @locked_specs - specs
    end

    def new_platform?
      @new_platform
    end

    def missing_specs
      missing = []
      resolve.materialize(requested_dependencies, missing)
      missing
    end

    def requested_specs
      @requested_specs ||= begin
        groups = self.groups - Bundler.settings.without
        groups.map! { |g| g.to_sym }
        specs_for(groups)
      end
    end

    def current_dependencies
      dependencies.reject { |d| !d.should_include? }
    end

    def specs_for(groups)
      deps = dependencies.select { |d| (d.groups & groups).any? }
      deps.delete_if { |d| !d.should_include? }
      specs.for(expand_dependencies(deps))
    end

    def resolve
      @resolve ||= begin
        if Bundler.settings[:frozen]
          @locked_specs
        else
          last_resolve = converge_locked_specs
          source_requirements = {}
          dependencies.each do |dep|
            next unless dep.source
            source_requirements[dep.name] = dep.source.specs
          end

          # Run a resolve against the locally available gems
          last_resolve.merge Resolver.resolve(expanded_dependencies, index, source_requirements, last_resolve)
        end
      end
    end

    def index
      @index ||= Index.build do |idx|
        @sources.each do |s|
          idx.use s.specs
        end
      end
    end

    def rubygems_index
      @rubygems_index ||= Index.build do |idx|
        @sources.find_all{|s| s.is_a?(Source::Rubygems) }.each do |s|
          idx.use s.specs
        end
      end
    end

    def no_sources?
      @sources.length == 1 && @sources.first.remotes.empty?
    end

    def groups
      dependencies.map { |d| d.groups }.flatten.uniq
    end

    def lock(file)
      contents = to_lock

      return if @lockfile_contents == contents

      if Bundler.settings[:frozen]
        # TODO: Warn here if we got here.
        return
      end

      # Convert to \r\n if the existing lock has them
      # i.e., Windows with `git config core.autocrlf=true`
      contents.gsub!(/\n/, "\r\n") if @lockfile_contents.match("\r\n")

      File.open(file, 'wb'){|f| f.puts(contents) }
    end

    def to_lock
      out = ""

      sorted_sources.each do |source|
        # Add the source header
        out << source.to_lock
        # Find all specs for this source
        resolve.
          select  { |s| s.source == source }.
          # This needs to be sorted by full name so that
          # gems with the same name, but different platform
          # are ordered consistantly
          sort_by { |s| s.full_name }.
          each do |spec|
            next if spec.name == 'bundler'
            out << spec.to_lock
        end
        out << "\n"
      end

      out << "PLATFORMS\n"

      platforms.map { |p| p.to_s }.sort.each do |p|
        out << "  #{p}\n"
      end

      out << "\n"
      out << "DEPENDENCIES\n"

      handled = []
      dependencies.
        sort_by { |d| d.name }.
        each do |dep|
          next if handled.include?(dep.name)
          out << dep.to_lock
          handled << dep.name
      end

      out
    end

    def ensure_equivalent_gemfile_and_lockfile
      changes = false

      msg = "You have modified your Gemfile in development but did not check\n" \
            "the resulting snapshot (Gemfile.lock) into version control"

      added =   []
      deleted = []
      changed = []

      if @locked_sources != @sources
        new_sources = @sources - @locked_sources
        deleted_sources = @locked_sources - @sources

        if new_sources.any?
          added.concat new_sources.map { |source| "* source: #{source}" }
        end

        if deleted_sources.any?
          deleted.concat deleted_sources.map { |source| "* source: #{source}" }
        end

        changes = true
      end

      both_sources = Hash.new { |h,k| h[k] = ["no specified source", "no specified source"] }
      @dependencies.each { |d| both_sources[d.name][0] = d.source if d.source }
      @locked_deps.each  { |d| both_sources[d.name][1] = d.source if d.source }
      both_sources.delete_if { |k,v| v[0] == v[1] }

      if @dependencies != @locked_deps
        new_deps = @dependencies - @locked_deps
        deleted_deps = @locked_deps - @dependencies

        if new_deps.any?
          added.concat new_deps.map { |d| "* #{pretty_dep(d)}" }
        end

        if deleted_deps.any?
          deleted.concat deleted_deps.map { |d| "* #{pretty_dep(d)}" }
        end

        both_sources.each do |name, sources|
          changed << "* #{name} from `#{sources[0]}` to `#{sources[1]}`"
        end

        changes = true
      end

      msg << "\n\nYou have added to the Gemfile:\n"     << added.join("\n") if added.any?
      msg << "\n\nYou have deleted from the Gemfile:\n" << deleted.join("\n") if deleted.any?
      msg << "\n\nYou have changed in the Gemfile:\n"   << changed.join("\n") if changed.any?

      raise ProductionError, msg if added.any? || deleted.any? || changed.any?
    end

  private

    def pretty_dep(dep, source = false)
      msg  = "#{dep.name}"
      msg << " (#{dep.requirement})" unless dep.requirement == Gem::Requirement.default
      msg << " from the `#{dep.source}` source" if source && dep.source
      msg
    end

    def converge_sources
      locked_gem = @locked_sources.find { |s| Source::Rubygems === s }
      actual_gem = @sources.find { |s| Source::Rubygems === s }

      if locked_gem && actual_gem
        locked_gem.merge_remotes actual_gem
      end

      @sources.map! do |source|
        @locked_sources.find { |s| s == source } || source
      end

      @sources.each do |source|
        source.unlock! if source.respond_to?(:unlock!) && @unlock[:sources].include?(source.name)
      end
    end

    def converge_dependencies
      (@dependencies + @locked_deps).each do |dep|
        if dep.source
          dep.source = @sources.find { |s| dep.source == s }
        end
      end
    end

    # Remove elements from the locked specs that are expired. This will most
    # commonly happen if the Gemfile has changed since the lockfile was last
    # generated
    def converge_locked_specs
      deps = []

      # Build a list of dependencies that are the same in the Gemfile
      # and Gemfile.lock. If the Gemfile modified a dependency, but
      # the gem in the Gemfile.lock still satisfies it, this is fine
      # too.
      @dependencies.each do |dep|
        locked_dep = @locked_deps.find { |d| dep == d }

        if in_locked_deps?(dep, locked_dep) || satisfies_locked_spec?(dep)
          deps << dep
        elsif dep.source.is_a?(Source::Path) && dep.current_platform? && (!locked_dep || dep.source != locked_dep.source)
          @locked_specs.each do |s|
            @unlock[:gems] << s.name if s.source == dep.source
          end

          dep.source.unlock! if dep.source.respond_to?(:unlock!)
          dep.source.specs.each { |s| @unlock[:gems] << s.name }
        end
      end

      converged = []
      @locked_specs.each do |s|
        s.source = @sources.find { |src| s.source == src }

        # Don't add a spec to the list if its source is expired. For example,
        # if you change a Git gem to Rubygems.
        next if s.source.nil? || @unlock[:sources].include?(s.name)
        # If the spec is from a path source and it doesn't exist anymore
        # then we just unlock it.

        # Path sources have special logic
        if s.source.instance_of?(Source::Path)
          other = s.source.specs[s].first

          # If the spec is no longer in the path source, unlock it. This
          # commonly happens if the version changed in the gemspec
          next unless other
          # If the dependencies of the path source have changed, unlock it
          next unless s.dependencies.sort == other.dependencies.sort
        end

        converged << s
      end

      resolve = SpecSet.new(converged)
      resolve = resolve.for(expand_dependencies(deps, true), @unlock[:gems])
      diff    = @locked_specs.to_a - resolve.to_a

      # Now, we unlock any sources that do not have anymore gems pinned to it
      @sources.each do |source|
        next unless source.respond_to?(:unlock!)

        unless resolve.any? { |s| s.source == source }
          source.unlock! if !diff.empty? && diff.any? { |s| s.source == source }
        end
      end

      resolve
    end

    def in_locked_deps?(dep, d)
      d && dep.source == d.source
    end

    def satisfies_locked_spec?(dep)
      @locked_specs.any? { |s| s.satisfies?(dep) && (!dep.source || s.source == dep.source) }
    end

    def expanded_dependencies
      @expanded_dependencies ||= expand_dependencies(dependencies, @remote)
    end

    def expand_dependencies(dependencies, remote = false)
      deps = []
      dependencies.each do |dep|
        dep = Dependency.new(dep, ">= 0") unless dep.respond_to?(:name)
        dep.gem_platforms(@platforms).each do |p|
          deps << DepProxy.new(dep, p) if remote || p == generic(Gem::Platform.local)
        end
      end
      deps
    end

    def sorted_sources
      @sources.sort_by do |s|
        # Place GEM at the top
        [ s.is_a?(Source::Rubygems) ? 1 : 0, s.to_s ]
      end
    end

    def requested_dependencies
      groups = self.groups - Bundler.settings.without
      groups.map! { |g| g.to_sym }
      dependencies.reject { |d| !d.should_include? || (d.groups & groups).empty? }
    end
  end
end


Honda Outboard 30 Hp Manuals - DOWNLOAD 1978-2001 Honda 4-Stroke Service Manual 2-130 HP Motors. Workshop Service Manual Repair Application: Honda Outboard 4-Stroke Motors for 1978 1979 1980 1981. InboardRepairManual.com is your No. 1 source for legitimate, online repair manuals. Download a digital repair manual straight to your computer, tablet or ebook reader in seconds. A downloadable repair manual is a digitally delivered book of instructions designed to aid a mechanic in the action of fixing or repairing a vehicle back to factory specifications.. Outboard Motors For Sale. Mercury, Yamaha, Evinrude, Johnson. New Boat Motors at Discount Prices. Used Outboards from 2hp to 350hp..
Find Mariner outboard manuals here. Buy Mariner outboard repair manuals and service manuals by Seloc direct from MarineEngine.com.. MarineEngine.com does not offer troubleshooting assistance or repair advice by email or by telephone. You are invited to join our public Boat Repair Forum to seek assistance from other members. You may also visit the Boat Motor Manuals section of our site to obtain a service manual.. Includes fuel tank and prop.Available NOW for shipping. And as always, there is free Shipping to the lower 48 States. Pick-Up is available at our location in Salt Lake City..
Factory Authorized Tohatsu, Suzuki, Mercury, Evinrude & Honda outboard dealer offering FREE SHIPPING and GUARANTEED LOW PRICES on brand new, in-stock outboard.


This paper presents the results of integrating hands-on experience in an engineering MSc course on human-machine systems. Students could voluntarily complete a homework assignment in which they performed manual control tasks using dedicated software. The tasks were accompanied by questions that students had to answer using the theory taught in the lectures. The lecturer processed the students' recorded data and presented the results in class. One-and-a-half month after the completion of the assignment, students took a written exam on all topics of the course, including manual control theory. Students (n = 32) reported in a questionnaire that the assignment was valuable in improving their understanding of manual control (mean = 7.80, SD = 1.53 on a 10-point scale with anchors at 1 (poor) and 10 (excellent)). A correlation analysis of assignment participation, questionnaire responses, assignment grades, and exam scores is reported as well.
(c) 2010 De Winter, J.C.F. ; Dodou, D. ; De Groot, S. ; Abbink, D.A. ; Wieringa, P.A.


The spring of 2018 proved to be another tumultuous season with the constant risk of a disastrous wildfires burning ominously bright. Much of Tech's next generation of land conservationists will go through Verble's class. As students within Texas Tech University's Department of Natural Resource Management they will employ countless practices, including prescribed burning, to be dedicated stewards of the land.


text:
Q: How to create a List of elements which Squares are present in the Original List using Java Streams I have the list of int - 2, 3, 6, 8, 14, 15, 9, 4.
I want to search such numbers whose square is present in the list, ex: 2 square 4 is present, so the output list should have 2.
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

public class StreamTest {

    public static void main(String[] args) {
        List<Integer> list = Arrays.asList(2, 3, 6, 8, 14, 15, 9, 4);
        System.out.println(
                list.stream()
                        .map(i -> hasSquare(i, list))
                        .distinct()
                        .collect(Collectors.toList()));
    }

    private static Object hasSquare(Integer i, List<Integer> list) {

        if (list.contains(i * i)) {
            return i;
        } else {
            return 0;
        }
    }
}

This code is giving me the output [2, 3, 0], but I would like to get rid of 0.
Is there a way to do the same without using a third method?

A: You could filter before collecting:
list.stream().map( i -> hasSquare(i,list)).filter(e->e!=0).distinct().collect(Collectors.toList()))

and also return Integer instead of Object when you are certain that your list contains Integers.
   private static Integer hasSquare(Integer i, List<Integer> list) {
        if(list.contains(i*i)){
            return i;
        } else return 0;
    }

A: The problem lies within the stream and your method .

*

*You can easily use filter method in stream instead of map cause all you are doing is contains check in your method.

*You are returning the values and in else part returning 0 .That is why you are having 0 in your result .
Instead of returning the existing value return only true or false that way it will be much easier to control and organized.

    private static boolean hasSquare(Integer i, List<Integer> list) {
            return list.contains(i*i);
    }

Stream will be
System.out.println(list.stream().filter(i-> hasSquare(i, list)).collect(Collectors.toList()));

A: Your method hasSquare() has a cost O(n) because method contains() needs to iterate over the given list. And it will give a quadratic overall time complexity. But we can do better.
In order to do this in a linear time, we need to create a HashSet containing all the elements from the source list. And then check if the squared value of each element in the source list is present in a set.
It can be written in a single stream-statement by using the built-in collector collectingAndThen() in conjunction with toSet(). As the second argument collectingAndThen() expects a function that is meant to produce the final result.
The function creates a stream over the given list, and filter() operation will take care of keeping only those elements which squared values are present in the set. Operation distinct() is required to insure uniqueness.
public static List<Integer> getSquares(List<Integer> list) {

    return list.stream()
        .collect(Collectors.collectingAndThen(
            Collectors.toSet(),
            set -> list.stream().filter(num -> set.contains(num * num))
                .distinct()
                .collect(Collectors.toList())));
}

A more simple approach is to create a HashSet separately (and I would rather prefer this version):
public static List<Integer> getSquares(List<Integer> list) {

    Set<Integer> set = new HashSet<>(list);

    return list.stream()
        .filter(num -> set.contains(num * num))
        .distinct()
        .collect(Collectors.toList());
}

main()
public static void main(String[] args) {
    List<Integer> source = List.of(2, 3, 6, 8, 14, 15, 9, 4);

    System.out.println(getSquares(source));
}

Output:
[2, 3]

A link to the Online Demo
Sidenote: if you're using Java 9 and above, List.of() is a preferred way to initialize the List because it doesn't create an intermediate array (if number of elements not greater than 10).

A: You want to filter instead of mapping.
import java.util.*;
import java.util.stream.Collectors;

public class StreamTEst {
    public static void main(String[] args) {
        List<Integer> list = Arrays.asList(2, 3, 6, 8, 14, 15, 9, 4);
        List<Integer> result = list.stream()
           .filter(i -> list.contains(i*i))
           .distinct()
           .collect(Collectors.toList());
        System.out.println(result);
    }
}

If you start working with longer lists then you might want to create a hash set for faster lookup like this:
import java.util.*;
import java.util.stream.Collectors;

public class StreamTEst {
    public static void main(String[] args) {
        List<Integer> list = Arrays.asList(2, 3, 6, 8, 14, 15, 9, 4);
        Set<Integer> lookup = new HashSet<>(list);

        List<Integer> result = list.stream()
           .filter(i -> lookup.contains(i*i))
           .distinct()
           .collect(Collectors.toList());
        System.out.println(result);
    }
}

A: My Solution:
Takes advantage of constant lookup time of Set
import java.util.Set;
import java.util.HashSet;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

public class Main {
    public static void main(String[] args) {
        List <Integer> list = Arrays.asList(2, 3, 6, 8, 14, 15, 9, 4);
        Set <Integer> numbers = new HashSet <Integer> (list);
        List <Integer> result = list.stream()
            .filter((current) - > numbers.contains(current * current))
            .collect(Collectors.toList());

        System.out.println(result);
    }

}

Similar to your approach:
List.contains() takes n (element count in your list) time to compute. Applying same operation to each element takes n*n time, which scales logarithmically, inefficient and expensive. Java stream executes in parallel, its fast but still your code not scales well.
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

public class Main {

    public static void main(String[] args) {
        List <Integer> list = Arrays.asList(2, 3, 6, 8, 14, 15, 9, 4);
        System.out.println(
            list.stream()
            .filter(i -> hasSquare(i, list))
            .collect(Collectors.toList()));
    }

    private static boolean hasSquare(Integer i, List < Integer > list) {

        if (list.contains(i * i)) {
            return true;
        } else {
            return false;
        }
    }
}

A: Your goal is achievable without using a third method. You could simply stream your list and use the filter operation to keep only the numbers whose square is equal to any number of the same list. Also, if you want to keep distinct elements, you could collect your elements in a Set instead of using an expensive operation like disntict.
List<Integer> list = Arrays.asList(2, 3, 6, 8, 14, 15, 9, 4);

Set<Integer> setRes = list.stream()
        .filter(n -> list.stream().anyMatch(x -> x == n * n))
        .collect(Collectors.toSet());

System.out.println(setRes);

Here is a link to test the code:
https://www.jdoodle.com/iembed/v0/rrE
Output
[2, 3]

A: I think below is one of straight-forward way:
List<Integer> list   = Arrays.asList(2, 3, 6, 8, 14, 15, 9, 4);
List<Integer> result =  list.stream().collect(ArrayList<Integer>::new, (x, y) -> {
            if (list.contains((int) Math.pow(y, 2)))
                x.add(y);
        }, (x, y) -> y.addAll(x));

System.out.println(result);


Our stunning Jorja Skirt is the perfect combination of luxe military meets city sleek. A flattering mid waisted style, this skirt features a cross over hemline, invisible zip closure at the back and matching tie belt with top stitch detailing. The Jorja Skirt is the perfect little addition to your wardrobe.


The SEC requires mutual funds to make very extensive disclosures about all material information.
2. Are Prospectuses Still Required for Selling Mutual Funds?
3. What Is Mutual Fund Prospectus?
A mutual fund is a pooled investment in which a fund manager purchases assets such as stocks and bonds using money deposited by individual and institutional investors. There are thousands of mutual funds out there from which to choose -- how do you make a selection? The Securities and Exchange Commission requires a series of disclosures that should give you all the information you need to make an informed decision. Using the disclosed information, you can quickly find out many important facts, such as whether a previously successful fund has a new manager, or if a fund's fees are competitive with other similar funds.
Every mutual fund must publish a prospectus and make it available to potential and actual investors. The prospectus discusses the fund's aims, strategies, risks, fees/expenses and past performance. The SEC requires mutual funds to date the prospectus and issue an updated one each year. A required chart or table is included to disclose the risk/return experience of the fund over a several different time periods. There is also a standard fee table that shows how a $10,000 investment would have fared over time periods of one, three, five and 10 years. The financial highlights section provides audited reports for each of the previous five years, including net asset values, total returns and numerous ratios.
Keen researchers will comb through each page of a fund prospectus with great relish. For the less ambitious, there is also the fund profile, which summarizes information from the prospectus. You'll be able to discover the fund's objectives, strategies, performance, risks, expenses and after-tax returns. You will also be able to identify who is managing the fund, the investment requirements such as minimum amount and sales fees, types of investments commonly made by the fund, and other important information.
The SAI gives consumers even greater insight than that provided by the prospectus into the way a fund operates. It is considered Part B of the fund's registration statement and contains additional details not found in the prospectus, such as data concerning the fund's history, how the fund manages debt, and any investment concentrations of particular types of assets or industries. You can learn about the officers, advisers and directors, as well as matters concerning taxes, performance and brokerage commissions. The mutual fund must send an SAI to you if you request one. The prospectus contains the details on how to request an SAI.
Mutual funds have two months after a fund's fiscal year and mid-year to provide a series of financial reports with the latest information. The latest list of portfolio contents must be disclosed, as well as other timely information. The information must be correct as of the final day of the fiscal year and mid-year. All disclosure documents must be available by contacting the fund via the phone, by mail or at the fund's website. You can also contact any broker who sells shares of the fund.
Recently, the Department of Labor mandated additional reporting requirements for mutual funds that sell into the 401(k) and 403(b) retirement plan markets, which operate under Employee Retirement Income Security Act (ERISA) rules. Reports must be issued to plan sponsors and to participants analyzing how various fees are calculated and charged. The information includes an overall expense ratio and itemized explanations of every fee charged against the participants' investments.
What Is a Mutual Fund Cost Basis Statement?