Down Syndrome

Topic Overview

What is Down syndrome?

Down syndrome is a set of
physical and mental traits caused by a
gene problem that happens before birth. Children who have
Down syndrome tend to have certain features, such as a flat face and a short
neck. They also have some degree of
intellectual disability. This
varies from person to person. But in most cases it is mild to moderate.

Down syndrome is a lifelong condition. But with care
and support, children who have Down syndrome can grow up to have healthy,
happy, productive lives.

What causes Down syndrome?

Down syndrome is caused
by a problem with a baby's
chromosomes. Normally, a person has 46 chromosomes. But most
people with Down syndrome have 47 chromosomes. In rare cases, other chromosome
problems cause Down syndrome. Having extra or abnormal chromosomes changes the
way the brain and body develop.

Experts don't know the exact
cause, but some things increase the chance
that you'll have a baby with Down syndrome. These things are called risk factors.

Your risk of having a baby with Down syndrome is higher if:

You are older when you get pregnant. Many doctors believe that the risk increases for women age 35 and older.

You have a brother or
sister who has Down syndrome.

You had another baby with Down syndrome.

If you've had a baby with Down syndrome and are planning another pregnancy, you may want to talk to your doctor about genetic counseling.

What are the symptoms?

Most children with Down
syndrome have:

Distinctive facial features, such as a flat
face, small ears, slanting eyes, and a small mouth.

A short neck
and short arms and legs.

Low muscle tone and loose joints. Muscle tone
usually improves by late childhood.

Below-average intelligence.

Many children with Down syndrome are also born with
heart, intestine, ear, or breathing problems. These health conditions often
lead to other problems, such as airway (respiratory) infections or hearing
loss. But most of these problems can be treated.

How is Down syndrome diagnosed?

Your doctor may
suggest that you have tests during pregnancy to find out if your baby has Down
syndrome. You may decide to have:

Screening tests, such as an ultrasound or a blood test during your first or second trimester. These can help show if the developing baby (fetus) is at
risk for Down syndrome. But these tests sometimes give
false-positive or false-negative results.

Diagnostic tests, such as chorionic villus sampling or amniocentesis. These can show if a baby has Down syndrome. You may want to have these tests if you have abnormal results from a screening test
or if you are worried about Down syndrome.

Sometimes a baby is diagnosed after birth. A doctor
may have a good idea that a baby has Down syndrome based on the way the baby
looks and the results of a physical exam. To make sure, the baby's blood will
be tested. It may take 2 to 3 weeks to get the test results.

What kind of care will your child need?

Starting soon after birth, a
baby with Down syndrome will be tested for health problems, such as eye, ear, or
thyroid problems. The sooner these problems are found,
the better they can be managed. Regular doctor visits can help your child stay
in good health.

Your doctor will make a treatment plan that meets
your growing child's needs. For example, most children with Down syndrome
need speech therapy and
physical therapy. Teens and adults with Down syndrome may need occupational
therapy to learn job skills and learn how to live on their own.
Counseling may help with social skills and emotional
issues.

Many professionals will help you and your child through life. But you are vital to your
child's success. To help your child:

Learn all you can about Down syndrome. This
can help you know what to expect and how you can help your child.

Find out what type of financial help you can get by contacting
your state's Department of Developmental Disabilities.

Check into
resources in your area. For example, many states provide free
early-intervention programs for children with Down syndrome up to age 3 to help
them get off to a good start.

Look into school options for your
child. Federal law requires public schools to provide services to all children
with disabilities who are ages 3 to 21.

Raising a child with Down syndrome has both challenges
and rewards. Remember to take time for yourself. And ask for help when you need
it. Talking to other parents who are raising children with Down syndrome can be
a big help. Ask your doctor or hospital about parent support groups, or contact
a group like the National Down Syndrome Congress.

Cause

Down syndrome
is caused by abnormal cell division in early
embryo development. Normally, a child inherits 46
chromosomes, 23 from each parent. Each chromosome carries DNA, called genes, which tell how the brain and body should develop.

But a fetus with Down
syndrome has extra or abnormal chromosomes. Having extra genetic material changes the way the brain and body develop. The type of Down
syndrome depends on how many cells have the extra or abnormal chromosomes.

Medical experts believe the cell changes most
often start in a woman's egg before or at conception. Less often, the error
occurs in sperm at conception. It is not known what causes the cells to divide
abnormally. One type of Down syndrome, called translocation-type, may be
passed down through families (inherited).

Symptoms

There are more than 50 features of
Down syndrome. But not every person with Down syndrome has all the same features or health problems. Some features and problems are common.

Body shape and size

Short stature (height). A child often grows slowly and
is shorter than average as an adult.

Low muscle tone (hypotonia) throughout the body. Belly muscles
with low muscle tone can make the stomach stick out.

A short, wide neck. The neck may have excess
fat and skin.

Short, stocky arms and legs. Some children also have a wide
space between the big toe and second toe.

Face shape and features

Slanted eyes. The doctor may also notice small spots on the colored part of the eye
(iris).

A
nasal bridge that looks pushed in. The nasal bridge is the flat area between
the nose and eyes.

Small ears. And they may be set low on the head.

Irregularly
shaped mouth and tongue. The child's tongue may partly stick out. The roof of
the mouth (palate) may be narrow and high with a downward curve.

Irregular and crooked teeth. Teeth often come in late
and not in the same order that other children's teeth come in.

What Happens

Although every child is different, you may find it helpful to understand some patterns of Down syndrome as your child grows. It also helps to know that most people who have Down syndrome can flourish and live healthy, happy, and productive lives.

Many of the challenges for people with Down syndrome are related to
intellectual disability and health problems. Problems may come up at different ages.

Teens

Puberty starts
at about the same ages for teens with Down syndrome as for other teens.

They may face social difficulties and vulnerabilities, such as abuse, injury, and other types of harm. They may also have a hard time handling strong emotions and feelings. Sometimes these struggles can lead to mental health problems,
especially depression.

Adults

Men with Down syndrome most often are sterile and
cannot father children. Many women with Down syndrome can have children, and
they usually have early
menopause.

What Increases Your Risk

Certain things increase the chance
that you will have a baby with Down syndrome. These are called risk factors. Risk factors may be different based on the type of Down syndrome.

Trisomy 21

Trisomy 21 is the most common type of Down syndrome. People with this type have an extra chromosome (47 instead of 46) in every cell. Risk factors for this type include:

Being older when you get pregnant. The risk of having a baby with a genetic problem increases as a woman gets older. Many doctors believe that the risk increases for women age 35 and older. This risk keeps rising the older a woman gets.

Having a previous pregnancy in which the fetus had Down syndrome. Women who
have had a pregnancy with trisomy 21 Down syndrome have a 1-in-100 chance of
having another child with the condition.footnote 1

Mosaicism

This type of Down syndrome is caused by only some cells producing 47 chromosomes. Mosaicism affects up to 3 out of 100 people who have Down
syndrome.footnote 2 Risk factors for mosaicism are similar
to those for trisomy 21.

Translocation

Translocation type is the only type of Down syndrome that may be passed through families, but most of the time it happens randomly. A person with this type has 46 chromosomes, but part of one chromosome breaks and then attaches to a different chromosome. Up to 5 out of 100 people with Down syndrome have the translocation type.footnote 2

If you are thinking about becoming pregnant and you're at risk for having a child with Down syndrome, you may want to see a geneticist or genetic counselor. They can help you understand your risk and work with you on genetic testing.

When To Call a Doctor

Call a doctor immediately if:

Your baby or very young child with
Down syndrome shows signs of:

Intestinal blockage, such as severe
belly pain, vomiting, and possibly swelling of the
stomach.

Heart problems, such as bluish discoloration of the lips
and fingers, difficulty breathing, or a sudden change in eating or activity
level.

A person of any age with Down syndrome shows
symptoms of dislocated neck bones. This condition often occurs after an injury. Symptoms may
include:

Neck pain.

Limited neck
movement.

Weakness in the arms and legs.

Difficulty
walking.

A change in bowel or bladder control.

Call a doctor if a person with Down syndrome:

Acts differently or stops doing things that he or she used to. These may be a sign of pain or an illness.

Shows signs of mental health issues, such as anxiety or depression. Depression may be triggered by a big change or
loss, such as the death of a family member or a change in a caregiver.

Who to see

The following health professionals can diagnose and/or
treat a person who has Down syndrome:

Exams and Tests

Testing during pregnancy

There are two types of tests for birth defects: screening and diagnostic.
You may decide to have:

A screening test. This can show the chance that a baby has Down syndrome. It can't tell you for sure that your baby has it. If the test result is "positive," it means that your baby is more likely to have Down syndrome. So your doctor may want you to have a diagnostic test to make sure. If the screening test result is "negative," it means that your baby probably doesn't have Down syndrome. But it doesn't guarantee that you will have a normal pregnancy or baby.

A diagnostic test. This test can show if a baby has Down syndrome.

The decision to have a test for birth defects is personal. You have to think about your age, your chance of passing on a family disease, your need to know about any problems, and what you might do after you have the test results. Your spiritual beliefs and other values also may affect your decision.

Diagnosis after birth

If Down syndrome
was not diagnosed before your baby was born, doctors can often get a clear sense of whether your child has Down syndrome by how your baby looks and by doing a physical exam. But traits can be
subtle in a newborn, depending on the
type of Down syndrome that he or she has.

To confirm a diagnosis, a newborn will have a blood sample taken for
chromosomal analysis, called a karyotype test.

Waiting for a formal diagnosis can be stressful.
Try to focus on caring and bonding with your newborn and getting the help you
need. Your doctor or hospital may also be able to refer you to local resources and support groups. For more information, see Treatment Overview.

Telling others

Another challenge parents may face is finding a way to
tell family members and friends about their child's condition. If you don't
learn that your baby has Down syndrome until after he or she is born, you will
have little time to absorb the information before you need to answer questions
from excited family and friends who are eager for news.

The best approach may be to simply state the facts, such as, "Our baby was diagnosed
with Down syndrome." If you aren't ready to talk about your child's condition
beyond that, say so. You may feel able to tell only one or two people. If this
is the case, consider asking them to share the news with others. Of course,
there is no right or wrong way to tell people. Know that there are resources to help you.

Regular checkups throughout life

Like all children, your child needs well-baby and well-child visits. He or she also needs regular checkups so your doctor can look for early signs of health issues that are common in people who have Down syndrome. The sooner health issues are found, the more easily they can be managed.

The American Academy of Pediatrics has guidelines about when and how often to check for certain health issues in children who have Down syndrome. The Down Syndrome Medical Interest Group also has health care guidelines for people who have Down
syndrome.

Treatment Overview

It is common to experience a
wide range of emotions when your baby is born with Down syndrome. While you have joy from your child's birth, you will also need to learn about and care for his or her special health care needs. Most families choose to raise their
child, while some consider foster care or adoption. Support groups and
organizations can assist you in making the best decision for your family.

Treatment for Down syndrome focuses on making sure that your child has
regular medical checkups, helping your child develop, watching for early signs of health problems, and finding support. With treatment and support, you can help your child live a happy, healthy life.

Get your child regular medical care

You can help your child stay
healthy by scheduling routine checkups. This will help to identify, manage, and
monitor any diseases and health problems that people with Down syndrome have
a higher chance of developing.

Doctors look for
specific problems at various ages, such as
cataracts and other eye conditions during a baby's
first year. These checkups are also a good time for you and the doctor to talk about any concerns you have. Many parents have
similar concerns as their children grow, including:

Newborn concerns, such as where to get
emotional support and learn about Down
syndrome.

Infant concerns, such as what therapies your child may need and how to prevent colds.

Help your child to develop

Although it may take
extra time for your child to learn and master skills, you may be surprised at
how much he or she will be able to do. With encouragement, your child can learn important skills. You can help your baby learn to walk, talk, or eat by himself. You can help your child make friends and do well in school. Later you can help him or her learn job skills and maybe live independently.

Find resources and support

Your doctor or local hospital can refer you to community resources to help you learn what to expect and how
to care for your baby who has Down syndrome.

You may also want to think about joining a
support group. Talking and sharing with other parents
of children with Down syndrome can help you manage difficult feelings. It can
also help you know what kinds of challenges to expect, as well as help you to
discover the joys other parents have experienced with their children. To learn more about support groups, see the Other Places To Get Help section of this topic.

Families of children who have Down syndrome
may need other types of resources, such as:

Financial assistance. Children with Down
syndrome have special needs that may create additional expenses for the family.
In the United States, some state and federal government services help cover the
costs of certain programs. The amount your child receives depends on different
things such as your income and your child's level of disability. To find out
about financial assistance in your state, call your state's Department of
Developmental Disabilities.

Estate planning. Become familiar with
tax issues and estate planning to ensure that your child will have proper care
and necessary resources available if you die.

Family counseling. This therapy involves
regular sessions with a qualified counselor who has experience working with
families who have children with Down syndrome.

It's also important to take time for yourself. Common frustrations and frequent highs and lows can all lead
to exhaustion.
Take good care of yourself so you have the energy to enjoy your child and
attend to his or her needs. For more information, see the topic
Caregiver Tips.

What to think about

There are several
controversial treatments (including supplements,
surgery, and medicine) for Down syndrome that either have not been proved helpful or have questionable benefit. Some treatments may even cause physical harm or have ethical
implications. Talk with your child's doctor before
you try treatments that you and the doctor haven't yet discussed.

Prevention

Down syndrome
cannot be prevented. There are many things you can do to help your child live a happy and healthy life. For more information, see Treatment Overview.

Home Treatment

As a parent of a child with
Down syndrome, you play an important role in helping
your child reach his or her full potential. You and your child will have challenges and
accomplishments.

Babies and young children

Your child will likely take more time than
other children to reach certain milestones. But his or her achievements are just as
significant and exciting to watch. Be patient, and encourage your young child as he or she learns.

Self-feeding. Help your child
learn to eat independently by sitting down together at meals. Use gradual steps
to teach your child how to eat. Start with allowing your child to eat with
his or her fingers and offering thick liquids to drink.

Dressing. Teach your child how to dress himself or
herself by taking extra time to explain and practice.

Communicating. Simple measures, such as looking at
your baby while speaking or showing and naming objects, can help your baby
learn to talk.

Grooming and hygiene. Help your child learn the importance of being clean and looking
his or her best. Establish a daily routine for bathing and getting ready. As
your child gets older, this will become increasingly important. Gradually add
new tasks to the routine, such as putting on deodorant.

Encourage your child to learn, socialize, and be physically active. For example, enroll your child in
classes with other children of the same age. Think of ways you can stimulate
your child's thinking skills without making tasks too difficult. But know
that it is okay for your child to be challenged and sometimes fail.

Enroll your young child (infant
through age 3) in an early-intervention program. These programs have staff who
are trained to monitor and encourage your child's development. Talk with a
doctor about programs in your area.

School-age children

Keep encouraging your child to learn, socialize, and be physically active. Here are some tips:

Be involved with your
child's education. Most children who have Down syndrome can
be included in a regular classroom. Your child may need an adapted curriculum
and may sometimes attend special classes.

Know that your child has a legal right to education. These laws also protect your rights as a parent to
be fully informed about or to challenge educational decisions concerning your
child.

Be active with your child. This will help your child feel better, whether or not he or she has weight problems. To learn more, see:

Adolescents and teens

Socially, teens who have Down
syndrome have the same needs as everyone else. Most will want to date,
socialize, and form intimate relationships. You can help your child develop healthy relationships by teaching appropriate social skills and behavior. Peer
acceptance and
self-esteem are affected by how well your preteen or
teen addresses these issues.

Encourage your child to take part in school and community activities.
Teens usually graduate from high school,
unless their disabilities are severe. Provide opportunities for your child to form healthy friendships. This is critical for your
child's happiness and sense of belonging.

During your child's teen years, you may also want to start planning for your child's future jobs and living
arrangements. Many people who have Down syndrome live
independently as adults in group homes or apartments with support services. But
most group homes and community centers require a basic level of
self-sufficiency, such as being able to eat, dress, and bathe independently.
Vocational training helps many young adults learn how
to work in many settings, such as stores, restaurants, and
hotels.

Adults

Most adults who have Down
syndrome function well in society. They often have regular jobs,
have friends and romantic relationships, and take part in community
activities.

An adult with Down syndrome benefits from working outside the
home and having social activities. Having an active lifestyle with continued
learning makes anyone, including a person with Down syndrome, feel more vibrant
and feel that his or her life is meaningful.

Adult day care may be an option. Or the Special Olympics and other activities that emphasize exercise might be options. Encourage
an adult's interests, such as in art or in hobbies such as drawing.

Other Works Consulted

American Academy of Pediatrics, American Academy of Family Physicians, and American College of Physicians-American Society of Internal Medicine (2002). A consensus statement on health care transitions for young adults with special health care needs. Pediatrics, 110(6): 1304-1306.

This information does not replace the advice of a doctor. Healthwise, Incorporated, disclaims any warranty or liability for your use of this information. Your use of this information means that you agree to the Terms of Use. Learn how we develop our content.


/**
 *
 * Copyright (c) 2014, the Railo Company Ltd. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library.  If not, see <http://www.gnu.org/licenses/>.
 *
 **/
/**
 * Implements the CFML Function arrayswap
 */
package lucee.runtime.functions.arrays;

import lucee.runtime.PageContext;
import lucee.runtime.exp.ExpressionException;
import lucee.runtime.exp.FunctionException;
import lucee.runtime.exp.PageException;
import lucee.runtime.ext.function.BIF;
import lucee.runtime.op.Caster;
import lucee.runtime.type.Array;
import lucee.runtime.type.util.ArrayUtil;

public final class ArraySwap extends BIF {

	private static final long serialVersionUID = 4539191577529273165L;

	public static boolean call(PageContext pc, Array array, double number, double number2) throws ExpressionException {
		ArrayUtil.swap(array, (int) number, (int) number2);
		return true;
	}

	@Override
	public Object invoke(PageContext pc, Object[] args) throws PageException {
		if (args.length == 3) return call(pc, Caster.toArray(args[0]), Caster.toDoubleValue(args[1]), Caster.toDoubleValue(args[2]));
		else throw new FunctionException(pc, "ArraySwap", 3, 3, args.length);
	}
}


1. Field of the Invention
The present invention relates to a wireless transceiver and, more specifically, to power-saving method and circuit for a wireless transceiver in a wireless communication network.
2. Description of the Related Art
In a radio communication system, power-saving control is necessary for a base station and a terminal, especially a battery-powered terminal. As an example of such a power-saving method, a power control system for use in a radio mobile terminal has been disclosed in Japanese Patent Unexamined Publication No. 1-280931. According to this conventional system, a radio receiver and a reception detector are intermittently supplied with power in a constant period, resulting in approximate a half the power consumption for reception. On the other hand, in the case where the power is off-hook, power is supplied to at least a response signal generator and a transmitter so as to allow transmission.


/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#include <config_folders.h>

#include <com/sun/star/xml/xpath/XPathAPI.hpp>
#include <com/sun/star/xml/xpath/XPathException.hpp>

#include "updateprotocol.hxx"
#include "updatecheckconfig.hxx"

#include <com/sun/star/deployment/UpdateInformationEntry.hpp>
#include <com/sun/star/deployment/XPackageInformationProvider.hpp>

#include <rtl/ref.hxx>
#include <rtl/bootstrap.hxx>
#include <osl/diagnose.h>

namespace container = css::container ;
namespace deployment = css::deployment ;
namespace uno = css::uno ;
namespace task = css::task ;
namespace xml = css::xml ;

static bool
getBootstrapData(
    uno::Sequence< OUString > & rRepositoryList,
    OUString & rGitID,
    OUString & rInstallSetID)
{
    rGitID = "${$BRAND_BASE_DIR/" LIBO_ETC_FOLDER "/" SAL_CONFIGFILE("version") ":buildid}";
    rtl::Bootstrap::expandMacros( rGitID );
    if ( rGitID.isEmpty() )
        return false;

    rInstallSetID = "${$BRAND_BASE_DIR/" LIBO_ETC_FOLDER "/" SAL_CONFIGFILE("version") ":UpdateID}";
    rtl::Bootstrap::expandMacros( rInstallSetID );
    if ( rInstallSetID.isEmpty() )
        return false;

    OUString aValue( "${$BRAND_BASE_DIR/" LIBO_ETC_FOLDER "/" SAL_CONFIGFILE("version") ":UpdateURL}" );
    rtl::Bootstrap::expandMacros( aValue );

    if( !aValue.isEmpty() )
    {
        rRepositoryList.realloc(1);
        rRepositoryList[0] = aValue;
    }

    return true;
}

// Returns 'true' if successfully connected to the update server
bool
checkForUpdates(
    UpdateInfo& o_rUpdateInfo,
    uno::Reference< uno::XComponentContext > const & rxContext,
    uno::Reference< task::XInteractionHandler > const & rxInteractionHandler,
    const uno::Reference< deployment::XUpdateInformationProvider >& rUpdateInfoProvider)
{
    OUString myArch;
    OUString myOS;

    rtl::Bootstrap::get("_OS", myOS);
    rtl::Bootstrap::get("_ARCH", myArch);

    uno::Sequence< OUString > aRepositoryList;
    OUString aGitID;
    OUString aInstallSetID;

    if( ! ( getBootstrapData(aRepositoryList, aGitID, aInstallSetID) && (aRepositoryList.getLength() > 0) ) )
        return false;

    return checkForUpdates( o_rUpdateInfo, rxContext, rxInteractionHandler, rUpdateInfoProvider,
            myOS, myArch,
            aRepositoryList, aGitID, aInstallSetID );
}

bool
checkForUpdates(
    UpdateInfo& o_rUpdateInfo,
    const uno::Reference< uno::XComponentContext > & rxContext,
    const uno::Reference< task::XInteractionHandler > & rxInteractionHandler,
    const uno::Reference< deployment::XUpdateInformationProvider >& rUpdateInfoProvider,
    const OUString &rOS,
    const OUString &rArch,
    const uno::Sequence< OUString > &rRepositoryList,
    const OUString &rGitID,
    const OUString &rInstallSetID )
{
    if( !rxContext.is() )
        throw uno::RuntimeException( "checkForUpdates: empty component context" );

    OSL_ASSERT( rxContext->getServiceManager().is() );

    // XPath implementation
    uno::Reference< xml::xpath::XXPathAPI > xXPath = xml::xpath::XPathAPI::create(rxContext);

    xXPath->registerNS( "inst", "http://update.libreoffice.org/description" );

    if( rxInteractionHandler.is() )
        rUpdateInfoProvider->setInteractionHandler(rxInteractionHandler);

    try
    {
        uno::Reference< container::XEnumeration > aUpdateInfoEnumeration =
            rUpdateInfoProvider->getUpdateInformationEnumeration( rRepositoryList, rInstallSetID );

        if ( !aUpdateInfoEnumeration.is() )
            return false; // something went wrong ..

        OUString aXPathExpression =
            "/child::inst:description[inst:os=\'"+
             rOS +
            "\' and inst:arch=\'"+
             rArch +
            "\' and inst:gitid!=\'"+
             rGitID +
            "\']";

        while( aUpdateInfoEnumeration->hasMoreElements() )
        {
            deployment::UpdateInformationEntry aEntry;

            if( aUpdateInfoEnumeration->nextElement() >>= aEntry )
            {
                uno::Reference< xml::dom::XNode > xNode( aEntry.UpdateDocument.get() );
                uno::Reference< xml::dom::XNodeList > xNodeList;
                try {
                    xNodeList = xXPath->selectNodeList(xNode, aXPathExpression
                        + "/inst:update/attribute::src");
                } catch (const css::xml::xpath::XPathException &) {
                    // ignore
                }

                sal_Int32 i, imax = xNodeList->getLength();
                for( i = 0; i < imax; ++i )
                {
                    uno::Reference< xml::dom::XNode > xNode2( xNodeList->item(i) );

                    if( xNode2.is() )
                    {
                        uno::Reference< xml::dom::XElement > xParent(xNode2->getParentNode(), uno::UNO_QUERY_THROW);
                        OUString aType = xParent->getAttribute("type");
                        bool bIsDirect = !aType.equalsIgnoreAsciiCase("text/html");

                        o_rUpdateInfo.Sources.push_back( DownloadSource(bIsDirect, xNode2->getNodeValue()) );
                    }
                }

                uno::Reference< xml::dom::XNode > xNode2;
                try {
                    xNode2 = xXPath->selectSingleNode(xNode, aXPathExpression
                        + "/inst:version/text()");
                } catch (const css::xml::xpath::XPathException &) {
                    // ignore
                }

                if( xNode2.is() )
                    o_rUpdateInfo.Version = xNode2->getNodeValue();

                try {
                    xNode2 = xXPath->selectSingleNode(xNode, aXPathExpression
                        + "/inst:buildid/text()");
                } catch (const css::xml::xpath::XPathException &) {
                    // ignore
                }

                if( xNode2.is() )
                    o_rUpdateInfo.BuildId = xNode2->getNodeValue();

                o_rUpdateInfo.Description = aEntry.Description;

                // Release Notes
                try {
                    xNodeList = xXPath->selectNodeList(xNode, aXPathExpression
                        + "/inst:relnote");
                } catch (const css::xml::xpath::XPathException &) {
                    // ignore
                }
                imax = xNodeList->getLength();
                for( i = 0; i < imax; ++i )
                {
                    uno::Reference< xml::dom::XElement > xRelNote(xNodeList->item(i), uno::UNO_QUERY);
                    if( xRelNote.is() )
                    {
                        sal_Int32 pos = xRelNote->getAttribute("pos").toInt32();

                        ReleaseNote aRelNote(static_cast<sal_uInt8>(pos), xRelNote->getAttribute("src"));

                        if( xRelNote->hasAttribute("src2") )
                        {
                            pos = xRelNote->getAttribute("pos2").toInt32();
                            aRelNote.Pos2 = static_cast<sal_Int8>(pos);
                            aRelNote.URL2 = xRelNote->getAttribute("src2");
                        }

                        o_rUpdateInfo.ReleaseNotes.push_back(aRelNote);
                    }
                }

                if( !o_rUpdateInfo.Sources.empty() )
                    return true;
            }
        }
    }
    catch( ... )
    {
        return false;
    }

    return true;
}

bool storeExtensionUpdateInfos( const uno::Reference< uno::XComponentContext > & rxContext,
                                const uno::Sequence< uno::Sequence< OUString > > &rUpdateInfos )
{
    bool bNotify = false;

    if ( rUpdateInfos.hasElements() )
    {
        rtl::Reference< UpdateCheckConfig > aConfig = UpdateCheckConfig::get( rxContext );

        for ( sal_Int32 i = rUpdateInfos.getLength() - 1; i >= 0; i-- )
        {
            bNotify |= aConfig->storeExtensionVersion( rUpdateInfos[i][0], rUpdateInfos[i][1] );
        }
    }
    return bNotify;
}

// Returns 'true' if there are updates for any extension

bool checkForExtensionUpdates( const uno::Reference< uno::XComponentContext > & rxContext )
{
    uno::Sequence< uno::Sequence< OUString > > aUpdateList;

    uno::Reference< deployment::XPackageInformationProvider > xInfoProvider;
    try
    {
        uno::Any aValue( rxContext->getValueByName(
                "/singletons/com.sun.star.deployment.PackageInformationProvider" ) );
        OSL_VERIFY( aValue >>= xInfoProvider );
    }
    catch( const uno::Exception& )
    {
        OSL_FAIL( "checkForExtensionUpdates: could not create the PackageInformationProvider!" );
    }

    if ( !xInfoProvider.is() ) return false;

    aUpdateList = xInfoProvider->isUpdateAvailable( OUString() );
    bool bNotify = storeExtensionUpdateInfos( rxContext, aUpdateList );

    return bNotify;
}

// Returns 'true' if there are any pending updates for any extension (offline check)

bool checkForPendingUpdates( const uno::Reference< uno::XComponentContext > & rxContext )
{
    uno::Sequence< uno::Sequence< OUString > > aExtensionList;
    uno::Reference< deployment::XPackageInformationProvider > xInfoProvider;
    try
    {
        uno::Any aValue( rxContext->getValueByName(
                "/singletons/com.sun.star.deployment.PackageInformationProvider" ) );
        OSL_VERIFY( aValue >>= xInfoProvider );
    }
    catch( const uno::Exception& )
    {
        OSL_FAIL( "checkForExtensionUpdates: could not create the PackageInformationProvider!" );
    }

    if ( !xInfoProvider.is() ) return false;

    bool bPendingUpdateFound = false;

    aExtensionList = xInfoProvider->getExtensionList();
    if ( aExtensionList.hasElements() )
    {
        rtl::Reference< UpdateCheckConfig > aConfig = UpdateCheckConfig::get( rxContext );

        for ( sal_Int32 i = aExtensionList.getLength() - 1; i >= 0; i-- )
        {
            bPendingUpdateFound = aConfig->checkExtensionVersion( aExtensionList[i][0], aExtensionList[i][1] );
            if ( bPendingUpdateFound )
                break;
        }
    }

    return bPendingUpdateFound;
}

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */


Q:

Scala multivariate array sum

I am calculating confidence interval of some ratios using bootstrapping for multi variables, and each variable has different confidence intervals.
case class Limits(lowerLimit: Double, upperLimit: Double, confidenceInterval: Double)

case class CI(c85: Limits, c90: Limits, c95: Limits, c99: Limits)

For bootstrapping, I am running a loop for 100 times.
val arrCIRatio: Array[CI] = Array()
var ci85: Limits = new Limits(0.0, 0.0, 0.0)
var ci90: Limits = new Limits(0.0, 0.0, 0.0)
var ci95: Limits = new Limits(0.0, 0.0, 0.0)
var ci99: Limits = new Limits(0.0, 0.0, 0.0)

val a = Array(1,2,3,4,5,6,7,8,9,10)
val rg = new scala.util.Random(100)

 for(iteration <- 1 to 100){
    val i= rg.nextInt(10)
    ci85 = getInterval(a(i), 0.85)
    ci90 = getInterval(a(i), 0.90)
    ci95 = getInterval(a(i), 0.95)
    ci99 = getInterval(a(i), 0.99)

    arrCIRatio(iteration) = new CI(ci85,ci90,ci95,ci99)
}

After the loop finishes, I would like to take average of each upper and lower limits inside the CI array for all the ci85, ci89, ci95, ci99.
I can use foldLeft to calculate the sum
x.foldLeft(0.0)( (x, y) => x + y.lowerLimit, x.foldLeft(0.0)( (x, y) => x + y.upperLimit

or in naive way:
var avgci85: Limits = new Limits(0.0, 0.0, 0.0)
var avgci90: Limits = new Limits(0.0, 0.0, 0.0)
var avgci95: Limits = new Limits(0.0, 0.0, 0.0)
var avgci99: Limits = new Limits(0.0, 0.0, 0.0)

 for(ci <- arrCIRatio){
    ci85 = ci.c85
    ci90 = ci.c90
    ci95 = ci.c95
    ci99 = ci.c99

    avgci85 = new Limits(avgci85.lowerLimit + ci85.lowerLimit, avgci85.upperLimit + ci85.upperLimit, 0.85)
    avgci90 = new Limits(avgci90.lowerLimit + ci90.lowerLimit, avgci90.upperLimit + ci85.upperLimit, 0.90)
    avgci95 = new Limits(avgci95.lowerLimit + ci95.lowerLimit, avgci95.upperLimit + ci85.upperLimit, 0.95)
    avgci99 = new Limits(avgci99.lowerLimit + ci99.lowerLimit, avgci99.upperLimit + ci85.upperLimit, 0.99)
}

But I have to do the same process for atleast 10 variables, and all the CI inside the array.
So in the end, for 1 variable it will be a 3 dimensional array of 10000 x 4 x 3.
I don't know how to sum all the variables inside that array e.g. summing all the lower limit of ci85 in the array. It would be great if someone can help with it.

A:

Maybe just create method/operator for your CI and Limits which would allow you to combine two instances? Something like that:
case class Limits(lowerLimit: Double, upperLimit: Double, confidenceInterval: Double) {
  // operator |+| would allow us to combine two limits
  def |+|(l: Limits): Limits = Limits(l.lowerLimit + lowerLimit, l.upperLimit + upperLimit, confidenceInterval)
 // I don't know what should be done in case of attempt of combining two limits with different confidenceInterval.
 // Maybe it's a sign that every kind of Limits should be separate case class extending the common trait
}

object Limits {
  val Zero = new Limits(0,0,0) //zero element for convienience
}

case class CI(c85: Limits, c90: Limits, c95: Limits, c99: Limits) {
  //same operator for CI, we use |+| from Limits to combine them
  def |+|(c: CI): CI = CI(c.c85 |+| c85, c.c90 |+| c90, c.c95 |+| c95, c.c99 |+| c99)
}

object CI {
  val Zero = new CI(Limits.Zero, Limits.Zero, Limits.Zero, Limits.Zero)
}

Then you'd be able to fold your CI easily:
arrCIRatio.fold(CI.Zero)(_ |+| _)

What we did is called monoid. Instead of implementing |+| and Zero inside cases classes you could implement it using typeclasses (as described in the article).


Q:

if $\int_{0}^{1}|f_n(x)-f(x)|dx\to 0$ then $f_n\to f$ uniformly on $[0,1]$: True/false

Let  $\{f_n\}$ be a sequence of continuous real valued functions on $[0, \infty)$. Suppose $f_n(x)\to f(x) ~~~\forall x\in [0,\infty)$ and $f$ is integrable. Then
if $\int_{0}^{1}|f_n(x)-f(x)|dx\to 0$ then $f_n\to f$ uniformly on $[0,1]$: True/false
Im  not  able   to  find  a  counter example ?
Pliz help me

A:

False .. $x^n$ is not uniformly convergent on $[0,1]$. Here the limit function is $f(x) = 0$ when $x \in [0,1)$ and $f(1) = 1$
But $\int_{0}^{1}|x^n-f(x)|dx\to 0$

A:

Here is an example where $f_n(x)$ does not converge at any point! Let $I_n=[\frac {i-1} {2^{n}},\frac i {2^{n}})$ for $1\leq i \leq 2^{n}$ and $n \geq 1$. Arrange the characteristic functions of these intervals in a sequence by first listing those with $n=1$, then the one's with $n=2$ etc. Then $\int_0^{1} |f_n(x)-0|\, dx \to 0$ but the functions do not converge even at one point.


/*
 * OpenClinica is distributed under the
 * GNU Lesser General Public License (GNU LGPL).
 * For details see: http://www.openclinica.org/license
 *
 * Copyright 2003-2008 Akaza Research
 */
package org.akaza.openclinica.control.submit;

import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Locale;

import core.org.akaza.openclinica.bean.core.Role;
import org.akaza.openclinica.control.SpringServletAccess;
import org.akaza.openclinica.control.core.SecureController;
import org.akaza.openclinica.control.form.FormProcessor;
import core.org.akaza.openclinica.domain.rule.RulesPostImportContainer;
import core.org.akaza.openclinica.i18n.core.LocaleResolver;
import core.org.akaza.openclinica.service.rule.RuleSetServiceInterface;
import org.akaza.openclinica.view.Page;
import core.org.akaza.openclinica.web.InsufficientPermissionException;

/**
 * View the uploaded data and verify what is going to be saved into the system
 * and what is not.
 *
 * @author Krikor Krumlian
 */
@SuppressWarnings("serial")
public class VerifyImportedRuleServlet extends SecureController {

    Locale locale;
    RuleSetServiceInterface ruleSetService;

    @Override
    public void processRequest() throws Exception {

        String action = request.getParameter("action");
        FormProcessor fp = new FormProcessor(request);

        // checks which module the requests are from
        /*
        String module = fp.getString(MODULE);
        request.setAttribute(MODULE, module);

        resetPanel();
        panel.setStudyInfoShown(false);
        panel.setOrderedData(true);

        setToPanel(resword.getString("create_CRF"), respage.getString("br_create_new_CRF_entering"));
        setToPanel(resword.getString("create_CRF_version"), respage.getString("br_create_new_CRF_uploading"));
        setToPanel(resword.getString("revise_CRF_version"), respage.getString("br_if_you_owner_CRF_version"));
        setToPanel(resword.getString("CRF_spreadsheet_template"), respage.getString("br_download_blank_CRF_spreadsheet_from"));
        setToPanel(resword.getString("example_CRF_br_spreadsheets"), respage.getString("br_download_example_CRF_instructions_from"));
        */

        if ("confirm".equalsIgnoreCase(action)) {
            // session.setAttribute("crf", new CRFBean());
            RulesPostImportContainer rulesContainer = (RulesPostImportContainer) session.getAttribute("importedData");
            logger.info("Size of ruleDefs : " + rulesContainer.getRuleDefs().size());
            logger.info("Size of ruleSets : " + rulesContainer.getRuleSets().size());
            forwardPage(Page.VERIFY_RULES_IMPORT);
        }

        if ("save".equalsIgnoreCase(action)) {
            RulesPostImportContainer rulesContainer = (RulesPostImportContainer) session.getAttribute("importedData");
            getRuleSetService().saveImport(rulesContainer);
            MessageFormat mf = new MessageFormat("");
            mf.applyPattern(resword.getString("successful_rule_upload"));

            Object[] arguments =
                { rulesContainer.getValidRuleDefs().size() + rulesContainer.getDuplicateRuleDefs().size(),
                    rulesContainer.getValidRuleSetDefs().size() + rulesContainer.getDuplicateRuleSetDefs().size() };
            addPageMessage(mf.format(arguments));
            ArrayList pageMessages = (ArrayList) request.getAttribute(PAGE_MESSAGE);
            session.setAttribute("pageMessages", pageMessages);
            String redirect = request.getContextPath() + Page.LIST_RULE_SETS_SERVLET.getFileName() +"?read=true";
            response.sendRedirect(redirect);
        }
    }

    private RuleSetServiceInterface getRuleSetService() {
        ruleSetService =
            this.ruleSetService != null ? ruleSetService : (RuleSetServiceInterface) SpringServletAccess.getApplicationContext(context).getBean(
                    "ruleSetService");
        // TODO: Add getRequestURLMinusServletPath(),getContextPath()
        return ruleSetService;
    }

    @Override
    public void mayProceed() throws InsufficientPermissionException {

        locale = LocaleResolver.getLocale(request);
        if (ub.isSysAdmin()) {
            return;
        }

        Role r = currentRole.getRole();
        if (r.equals(Role.STUDYDIRECTOR) || r.equals(Role.COORDINATOR) || r.equals(Role.INVESTIGATOR) || r.equals(Role.RESEARCHASSISTANT)|| r.equals(Role.RESEARCHASSISTANT2)) {
            return;
        }

        addPageMessage(respage.getString("no_have_correct_privilege_current_study") + respage.getString("change_study_contact_sysadmin"));
        throw new InsufficientPermissionException(Page.MENU_SERVLET, resexception.getString("may_not_submit_data"), "1");
    }
}


Direct plaque removal by a pre-brushing dental rinse.
A study was conducted to evaluate the ability of a dental rinse to remove dental plaque. The hypothesis was tested that plaque, as a complex soil comprising microorganisms, cell debris, salivary deposits and other ill-defined organic and inorganic components, would be susceptible to removal by a rinse with high detersive action. A rinse was prepared based on the principles applied to formulation of products for cleansing biologic surfaces, including anionic and nonionic surfactants, sodium benzoate, and auxiliary cleansing agents. Subjects randomly selected from a dental clinic population were scored for plaque area on the lingual and buccal surfaces of the Ramfjord teeth using the Turesky modification of the Quigley-Hein Index. The subjects then rinsed 30 seconds with 15 ml of product, and stainable plaque area was scored again. The rinsing reduced average plaque scores by an average of 13-20%, a very high level of significance. A placebo rinse and a conventional mouthwash removed 2.0% and 1.3% stainable plaque, respectively. The experimental rinse substantially increased the number of surfaces that were totally free of plaque.


Portland Harbour, in between Portland and Weymouth, is one of the largest man-made harbours in the world. The harbour was made by the building of stone breakwaters between 1848 and 1905. From its inception it was a Royal Navy base, and played prominent roles during the First and Second World Wars; ships of the Royal Navy and NATO countries worked up and exercised in its waters until 1995. The harbour is now a civilian port and popular recreation area, and was used for the 2012 Olympic Games.

Portland (steam tug 1875)

Career

Portland was launched on April 9, 1875 in Portland, Oregon. The vessel was operated for 15 years on the Columbia and Willamette Rivers, and then was transferred to Puget Sound. From 1891 to 1895, the Portland operated out of Everett, Washington, piloted by Captain James Hastings.

Drift and recovery

In 1897, the Portland was hauled out at Ballard, Washington, for repairs. Somehow she broke free from the shipway and floated off unoccupied. Eventually, the Portland drifted north into Canadian waters, where she was recovered as a derelict by the B.C. Salvage Company. She came under the control of R.P. Rithet and Company, a prominent British Columbia shipping concern that repurposed her to a passenger steamer. She was renamed Clayoquat and ran on passenger routes out of Port Renfrew, on the west coast of Vancouver Island. Clayoquat later passed to the H.Bell-Irving Company, and was used by them as a cannery tender under the name Phoenix.

Latest News for: portland lighting

You might glimpse the migrating southern right whales coming into Warrnambool to calve or if you were further up the coast towards Portland, colonies of seals. And all along that coastline, the tiny marks in the sand, made by the light feet of the hooded plover....

Sacramento is a sleepy side street in NortheastPortland’s Eliot neighborhood ... The Mayo house appealed to him because demolition and lost opportunities are a big part of his family’s story — and part of the African-American experience in this part of Portland. “I thought saving this house could bring light to the whole situation,” he said....

Portland, Los Angeles, New York, and San Diego all landed near the bottom of the list ... Even urban-planning model Portland, now with five radial light rail lines and a population now growing largely at its fringes, carries a smaller portion of commuters on transit than before opening its first line in 1986....

Hardesty entered PortlandCity Council with a primary goal to end the city's relationship with the JTTF... In 2011, shortly after the FBI revealed a Muslim man had tried to bomb Portland's Christmas treelighting ceremony (not without with the FBI's encouragement), the city was convinced the to re-join the JTTF on a case-by-case basis....

City officials in Portland were worried last year that their city, like many others, could face a deluge of uninvited e-scooters on their streets ... "The e-scooter pilot showed the potential of a small, light, electric, shared vehicle to move people quickly and easily without adding to Portland traffic," the DOT said in a press release....

A newly-elected member of the PortlandCity Council in Oregon says some who come to speak before the body exude “white male privilege” — and make others afraid to attend because of their loud interruptions ...And I don’t take that hope lightly,” Hardesty said, according to The PortlandMercury....

Nancy Rommelmann, a journalist who's married to the owner of Portland coffee company Ristretto Roasters, has kicked-off a web series that seeks to analyze—and, mostly, delegitimize—the #MeToo movement and modern feminism as a whole ... But, in this case, Rommelmann's words are directly impacting Portlanders she works closely with....

Rylan hit back at a man who hurled abuse at him in Central London (Picture. Rex/Shutterstock) ... ‘To the prick on GreatPortlandStreet that just shouted “Fuck Off You F****t” at me ... Good on Rylan for trying to make light of a situation that is clearly quite troubling. To the prick on Great Portland Street that just shouted “Fuck Off You Faggot” at me ... ....


// Author: Scottie Austin (@checkymander)
// Project: SharpSploit (https://github.com/cobbr/SharpSploit)
// License: BSD 3-Clause

using System;
using System.Linq;
using System.Timers;
using Threads = System.Threading;
using Forms = System.Windows.Forms;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;

using SharpSploit.Generic;
using SharpSploit.Enumeration;

namespace SharpSploit.Tests.Enumeration
{
    [TestClass]
    public class KeyloggerTests
    {
        [TestMethod]
        public void TestKeylogger()
        {
            string results = "";
            Threads.Thread t = new Threads.Thread(() =>
            {
                results = Keylogger.StartKeylogger(3);
            });

            t.Start();
            Forms.SendKeys.SendWait("test123");
            t.Join(3000);

            Assert.IsTrue(results.Length > 0);
            Assert.IsTrue(results.Contains("test123"));
        }
    }
}


Disconnection of the cerebral hemispheres. An alternative to hemispherectomy for the control of intractable seizures.
A boy with intractable siezures that had progressed to about 30 a day underwent complete disconnection of the cerebral hemispheres in January 1972. Using microsurgical technique, we followed the path described by Bogen and Vogel requiring division of the corpus callosum from rostrum to splenium, the anterior commisure, one fornix, and hippocampal commissure. Postoperative recovery was complicated by aseptic meningitis, which was treated with dexamethasone and, later by hydrocephalus, which was reduced by ventriculoperitoneal shunt. The patient improved rapidly and remains well. We believe that disconnection is a preferred alternative to hemispherectomy for control of intractable seizures arising from early damage to one cerebral hemisphere.


Supreme Court's Defense of FERC Jurisdiction Leaves Questions for States

Related Service:

For the second time this year, the U.S. Supreme Court has defended the jurisdiction of the Federal Energy Regulatory Commission (FERC) to regulate interstate wholesale energy rates. In Hughes v. Talen Energy Marketing, handed down April 19, 2016, the Court held that a state of Maryland incentive program designed to encourage construction of new in-state power plants unlawfully invaded FERC’s exclusive jurisdiction over wholesale electricity rates. However, the Court’s overt intention to narrowly affirm the lower court’s holding may be as notable as the decision itself, in that it leaves open other means by which states can pursue legitimate goals.

The Challenge

As the Court reiterates in an 8-0 opinion, the Federal Power Act assigns jurisdiction over interstate wholesale power sales to FERC and reserves regulation of retail electric markets to the states. Functionally, FERC exercises its authority to ensure just and reasonable wholesale power rates in one of two ways: (1) review of bilateral contracts between load serving entities (LSEs) and power generators to ensure the contracts contain just and reasonable rates, or (2) regulation of the competitive wholesale auctions administered by regional transmission organizations (RTOs) and independent system operators.

In Hughes v. Talen Energy Marketing, the plaintiff, an incumbent generator, challenged Maryland’s new incentive program, asserting that it invaded FERC’s exclusive regulatory domain. The program required that in-state LSEs sign 20-year power purchase agreements (PPAs) with new in-state generators, which effectively guaranteed those generators a subsidized rate regardless of what the generators received in the FERC-regulated wholesale auction. Following such auction, the program contracts required either the LSE or the generator to make payments to the other party based on the difference between the agreed-upon contract rate and the regulated wholesale auction price. This requirement enabled the new generators to bid low into the auction, thereby artificially lowering the clearing price to all other generators. Even though these payments occurred after the wholesale auction process, the Court’s decision focused primarily on its effect on FERC’s authority, as well as Maryland’s role in mandating LSE participation in the program.

Not-So-Incidental Effect

The Court acknowledged that the states may, through the course of exercising their regulatory powers, incidentally affect FERC’s regulatory domain; however, the Court held that the structure of the program contracts had more than an incidental effect on FERC’s authority. According to the Court, the compensation payments enabled program participants to disregard the wholesale auction clearing price, thereby hindering FERC’s ability to control the regulated wholesale rate.

Notably, the plaintiffs also argued that Maryland’s program threatened to disrupt FERC’s ability to use the wholesale auction clearing price to read market signals for power supply and demand. But the Court declined to resolve whether this issue alone could be considered more than an incidental effect.

Coming on the heels of its January 2016 decision in FERC v. Electric Power Supply Association (for more information, read our previous alert), which held that FERC has authority over demand response payments that might affect retail loads regulated by states, the Hughes decision affirms FERC’s broad authority to fashion interstate rules under the Federal Power Act in response to evolving market needs. But the Court was careful to note that this decision was program- and fact-specific and did not signal that other state efforts to encourage generation or ensure resource adequacy would necessarily be struck down. In fact, the Court seemed to go out of its way to point to the exact program details that caused the Maryland program’s demise.

What This Means to You

While the Court’s decision directly affects the Maryland program and a similar program in New Jersey, a broader question remains for how it will affect energy companies operating in other states. What does a state incentive program for power generators look like that does not invade FERC’s jurisdictional authority?

The Court unfortunately does not provide states much direction. On one hand, the decision appears to call into question the traditional power of states to regulate state-jurisdictional utilities – if that power affects wholesale energy markets – and to address issues such as environmental harm. On the other hand, by emphasizing the particular flaws of Maryland’s program, the decision creates a warning list of program elements to be avoided, perhaps enabling a carefully tailored state resource incentive program to succeed. That state program must not impede FERC’s ability to effectively review the rates of the wholesale power being sold by the generators. The program should not force private actors in the market to enter into contractual agreements with one another. And the program should not condition its benefits on the generator clearing the wholesale auction.

Thus, the Court answers only a few questions while leaving industry participants asking several others. How broad are the powers of FERC under the Federal Power Act, and how should states judge whether an incentive program’s effect on FERC’s power is more than incidental? How would the Court have responded to the Dormant Commerce Clause argument raised by the respondents if the Court had found it relevant? How much does FERC’s refusal to extend the New Entry Price Adjustment (NEPA) duration limit a state’s ability to encourage long-term PPA agreements with rate guarantees? These are just a few of the questions the industry must analyze moving forward.

Contact Us

Husch Blackwell’s Energy Regulation group provides a full range of legal services and guidance to clients subject to FERC, state public utility commissions and competitive wholesale electricity markets. For more information on state incentive programs or FERC jurisdiction, contact Linda Walsh at 202.378.2308, Kyle Barry at 217.572.1208 or James Hoecker at 202.378.2316.

The choice of a lawyer is an important decision and should not be based solely upon advertisements.Past results afford no guarantee of future results. Every case is different and must be judged on its own merits.

The choice of a lawyer is an important decision and should not be based solely upon advertisements.Past results afford no guarantee of future results. Every case is different and must be judged on its own merits.

This site uses cookies to give you the best experience possible on our site and in some cases direct advertisements to you based upon your use of our site.

By clicking [I agree] or continuing to use the site, you are agreeing to our use of cookies. For information on what cookies we use and how to manage our use of cookies, please visit our Privacy Policy.


The interactions of the 5-HT3 receptor with quipazine-like arylpiperazine ligands: the journey track at the end of the first decade of the third millennium.
The 5-HT(3) receptor (5-HT(3)R) occupies a special place among the serotonin receptor subtypes because it has been shown to be a ligand-gated ion channel, which is involved in a number of physiological functions and important pathologies. 5-HT(3)R antagonists have shown an outstanding efficacy in the control of the emesis induced by anticancer chemotherapy and few adverse side-effects, so as to revolutionize the treatment of nausea in cancer patients. This review covers the authors' work performed during the past decade in the development of 5-HT(3)R ligands belonging to the class of arylpiperazine derivatives related to quipazine (quipazine-like arylpiperazines, QLAs) and represents the extension of the review previously published in Current Topics in Medicinal Chemistry in 2002. The discussion is focused mainly on the most significant structure-affinity relationships emerged in the progress of the work and shows how the original ideas have evolved in the recent years.


Transfer of proinflammatory cytokines across term placenta.
Increased concentrations of proinflammatory cytokines in amniotic fluid indicate the presence of intra-amniotic inflammation and increase the risk of preterm birth, cerebral palsy, and bronchopulmonary dysplasia. The purpose of this study was to find out if the proinflammatory cytokines, tumor necrosis factor alpha (TNF-alpha), interleukin (IL)-1beta, and IL-6, transfer across the placenta, and thereby determine whether intra-amniotic inflammatory response, measured from the amniotic fluid, is of maternal or fetal origin. Nineteen placentas from healthy women undergoing elective cesarean delivery at term with intact membranes and without labor, were dually perfused ex vivo in an open circulation system for either 30 minutes or 2 hours. Tumor necrosis factor-alpha, IL-1beta, and IL-6 were added to maternal or fetal circulation in a concentration usually found in chorioamnionitis. As a reference, placentas without added cytokine were also perfused. The concentrations of cytokines were determined by enzyme immunoassays (enzyme-linked immunosorbent assay [ELISA]). After the addition of the cytokine to the arterial perfusate, the venous concentration on the same side of the placenta increased rapidly and reached a plateau at 10 minutes. No transfer of any cytokine in either direction was detected. Some endogenous release of IL-6 was observed in response to the perfusion. Proinflammatory cytokines do not cross normal term placenta.


Pageviews past week

Sunday, July 06, 2008

The Quinta Via and its Bearing on the Spiritual Life

The Quinta Via and its Bearing on the Spiritual Life

From St. Thomas Aquinas, Summa Theologiae I.2.3c:

The existence of God can be proved in five ways.... The fifth way is taken from the governance of the world. We see that things which lack intelligence, such as natural bodies, act for an end, and this is evident from their acting always, or nearly always, in the same way, so as to obtain the best result. Hence it is plain that not fortuitously, but designedly, do they achieve their end. Now whatever lacks intelligence cannot move towards an end, unless it be directed by some being endowed with knowledge and intelligence; as the arrow is shot to its mark by the archer. Therefore some intelligent being exists by whom all natural things are directed to their end; and this being we call God.

It would require the genius of a mathematician to invent and construct a bee-hive; and no chemist has yet succeeded in making honey from the nectar of a flower. Yet the bee is obviously not itself intelligent: it never varies its work or makes any improvement. From the very beginning its natural instinct has determined it to perform its task in the same way, and it will continue to do so forever, without in any way bringing it to perfection. On the contrary, man is continually perfecting the implements of his invention because, through his intelligence, he recognizes their purpose. The bee, too, works with an end in view, but unconsciously; yet it works in a way that excites our admiration....

Is there not a great moral lesson in this proof for the existence of God from the order prevailing in the world? Yes, an important one that is taught us in the Book of Job and more clearly later on in the Sermon on the Mount.

It is this lesson that, if there is such order in the physical world, much more must it be so in the moral world, in spite of all the wickedness human justice allows to go unpunished, as it also leaves unrewarded many a heroic act giving proof of God's intervention in the world.

It is the Lord's answer to Job and his friends. As we shall insist later on, the purpose of the Book of Job is to answer this question: Why so often in this world are the just made to suffer more than the wicked? Is it always in expiation of their sins, their secret sins at any rate?

Job's friends declare that it is, and they blame this poor stricken soul for complaining. Job denies that the trials and tribulations of the just are in every case the result of their sins, even their secret sins, and he wonders why so much suffering should have befallen him.

In the latter part of the book (chaps. 32-42), the Lord replies by pointing out the wonderful order prevailing in the physical world with all its splendors, from the life of the insect to the eagle's flight, as if to say: If there exists such order as this in the things of sense, much more so must there be order in the dispositions of my providence concerning the just, even in their most terrible afflictions. There is in this a secret and a mystery which it is not given to men to fathom in this world.

Later on, in the Sermon on the Mount, our Lord speaks more plainly (Matt. 6: 25) : "Therefore I say to you, be not solicitous for your life, what you shall eat.... Behold the birds of the air, for they neither sow, nor do they reap... and your heavenly Father feedeth them. Are not you of much more value than they?... Consider the lilies of the field:... they labor not, neither do they spin. But I say to you that not even Solomon in all his glory was arrayed as one of these. And if the grass of the field... God doth so clothe: how much more you, O ye of little faith." If there is order in the world of sense, a providence for the birds of the air, much more so will there be order in the spiritual world and a providence for the immortal souls of men.

And lastly, to the question put in the Book of Job, our Lord gives the final answer when He says (John 15: I-2): "I am the true vine: and My Father is the husbandman... and everyone that beareth fruit, He will purge it, that it may bring forth more fruit." God proves a man as He proved Job, that the man may bring forth the splendid fruits of patience, humility, self-abandonment, love of God and one's neighbor—the splendid fruits of charity, which is the beginning of eternal life.

This, then, is the important moral lesson taught us in this sublime proof for the existence of God: If in the world of sense such wonderful order exists, much more must it be so in the moral and spiritual world, in spite of trials and tribulations. There is light enough for those who are willing to see and march on accordingly to the true light of eternity.


Up-to-the-minute advice, information, resources, and, on occasion, commentary on federal and New Jersey state income taxes, and the various New Jersey property tax rebate programs, and insights and observations on tax policy and professional tax practice, by 40-year veteran tax professional Robert D Flach.

“A
2015 law changes requires an individual to have received a Form 1098-T from the
university in order to claim the tax benefit.”

The purpose of this new requirement is to
enhance the IRS matching program.

Thankfully, the required 1098-T also must now include an entry in Box 1 to indicate
the amount of payments received “from any source” – basically by the student
(or the student’s family) or for the student (such as student loan proceeds) for
qualified tuition and related expenses during the calendar year. Previously most colleges only reported the
amounts billed – making the majority of Form 1098-Ts as useful at tax time as
tits on a bull.In preparing the tax
return I don’t give a rat’s hind quarters how much the college billed – I need to know how much was paid by or for the student.My clients are, after all, cash-basis
taxpayers.

However, the American Opportunity Credit is
based on qualified tuition and fees paid during the year, now properly reported
on the Form 1098-T, and required books
and supplies, which are not reported on the Form 1098-T.

The issue that Annette brings up goes like
this –

You cannot claim an American Opportunity
Credit for 2016 unless the college issues a Form 1098-T.If a student who is graduating in May of 2016
was billed, and paid for, Spring 2016 tuition (the student’s final semester) at
the end of 2015, then there will be no payments made to the college in 2016
and, I expect, no Form 1098-T issued for 2016.But the student will still be purchasing books for the Spring 2016
semester in 2016, an expense that is eligible for the AOC.It looks like the student will be screwed out
of a legitimate AOC for 2016, based on qualified book purchases, because no
Form 1098-T was issued.

Annette illustrates the problem with a
recent court case.

The problem would be fixed if colleges were
required to issue Form 1098-T for all students enrolled at a college at least
half-time during the year, regardless of whether or not any tuition or fees
were paid.

It also occurs to me that a matching
problem might also appear.Since
qualified book and material expense are not reported on a Form 1098-T the
amount of expenses, if less than the maximum $4,000, reported on the tax return
could be more than the amount reported on the Form 1098-T.An extra line on the Form 8863 to separately
identify tuition and fees per Form 1098 and nor-reported books and materials
would fix this potential FU.

No comments:

Follow by Email

CLICK ON THE ABOUT IMAGE TO CHECK OUT MY NEW E-BOOK

AIN'T THAT THE TRUTH!

DONALD T RUMP HAS NOT DONE A SINGLE THING THAT IS "APPROPRIATE" OR "ACCEPTABLE" FOR A CANDIDATE OR A PRESIDENT SINCE THROWING HIS HAT INTO THE RING.EVERY SINGLE DAY TRUMP PROVIDES MORE PROOF THAT HE IS AN IGNORANT, SELF-ABSORBED, UNFIT, MENTALLY UNSTABLE IDIOT, AND A DEPLORABLE AND DESPICABLE HUMAN BEING.TRUMP MUST BE REMOVED FROM OFFICE FOR MENTAL INCOMPETENCE ASAP! PLEASE READ AND SHARE THIS - THE TRUTH ABOUT TRUMP'S MENTAL CONDITION

Donald T Rump has not done a single thing that anyone with intelligence would consider “appropriate” or “acceptable” for a President since deciding to run for office.

Every single day Trump provides more proof that he is an ignorant, self-absorbed, unfit, mentally unstable idiot, and a deplorable and despicable human being, who must be removed from office ASAP.

VERY IMPORTANT -

(1) Before contacting me with questions about how a blog post relates to your specific situation, please be aware that I do not give free tax advice to non-clients by e-mail, comment response, or phone. So don't waste your time and mine.

(2) I am winding down my tax practice, and I will not, under any circumstances, accept any new clients. Period. I am actually trying to "thin the herd".


A surfer has died after wiping out at Gnaraloo yesterday, 150km north of Carnarvon in Western Australia. It’s believed that the 55-year-old made contact with the coral reef, and was pulled from the water with what was described by witnesses at the scene as significant facial injuries. Ambulance officers were called at 8:50am Sunday morning, and police were notified around 9:15am.

Gnaraloo is very remote, making it difficult enough to get cell phone coverage, let alone being reached by emergency services. Getting in there is an hour-and-a-half drive over corrugated track… luxury travel, this ain't. It’s the start of the season up there and yesterday, sets were six to eight feet, breaking over big fingers of coral heads, which are visible at low tide. For context, imagine the power of a mini Chopes, but less perfect, less predictable, and less user-friendly. In many ways, a recipe for disaster.

Stab's thoughts go out to the victim's family. Stay safe out there.


By far, in deciding what best home office ideas that suit for your place, it is influenced by some factors. Those factors are the space, budget, what design you love, or even what the atmosphere you want into your room. Click here to read More..

Productive and Decorative Home Office Ideas (Photo Gallery)

Take a Look at Italian Home Design

When you look closer at Italian home design, you might feel surprised. The architecture is the main attraction for people. It is unique and makes you feel back to the past. Everyone who sees Italian a...

Living Room Wall Decor Ideas on Budget

Living room wall decor ideas are needed for you who want to change the looks of your living room. Having the same view for your interior in years will absolutely make you feel bored. That is why you r...

The Pros and Cons of White Shag Area Rug

If you want to make your interior brighter and more elegant instantly, white shag area rug is the answer. This rug continues to be a trend in many modern houses. Many design magazines and websites reg...

Large Illusion for Small Living Room Decorating Ideas

There is no worry if you have a small living room as long as you choose the right small living room decorating ideas. Small space sometimes makes your room look dark. So, the best thing to do is by ad...

Most Popular

The Mastermind of Small Master Bathroom Design

Sometimes, your master bathroom might get a small size. Even so, you can tweak it into your best bathroom. A small master bathroom design can help you in doing so. Here are some designs you can follow...

Mixing White Kitchen Cabinets with White Kitchen Designs

You can now take your love in white color to the next level. Nowadays, white kitchen cabinets have dominated the market slowly but sure. If you’re bored with the old, brownish cabinets, that is. Her...

Cool Bedrooms for Boys and Girls

The boys and girls want to sleep in cool bedrooms. Build the cool air using colorful tones, funky prints, modern furniture pieces, unique bedroom themes and whimsical accessories. The bedroom is nic...

A simple aspect can make or break your mood in the kitchen. Kitchen cabinet doors may seem simple, but your cooking performance can depend on it. You can increase your cooking performance by choosing ...

Kitchen Tile Backsplash: Fun, Appealing, and Creative

Many times, people choose the wrong tile design for their kitchen. It doesn’t matter why you want to install it, choosing the best kitchen tile backsplash is a must. Aside from protecting the wall f...

Boundless and Free: Open Kitchen Design

A kitchen without boundaries might sound fun, but there’s definitely something else. Open kitchen design can save you some space and time. Moreover, you can also save some budget by making use of a ...

Interesting Ideas..

Choosing Wicker Patio Furniture

Wicker furniture which is made of rattan is a great addition to patio area. Wicker patio furniture is able to give minimalist and antique impression to your patio. This material is quite durable which...

Modern Kitchen Faucets: The Future Is in Your Kitchen

Life can be simple or difficult, or both at the same time. A simple faucet might not be enough, but a faucet is nonetheless important. With the arrival of modern kitchen faucets, you might face more c...

Kitchen Island Lighting for Layered Lighting

Do you want to have kitchen island lighting? The one thing to consider after finishing your kitchen layout work is lighting. This is the most important question: how to pull out all the charms of your...

Modern Leather Recliner for Home Library

Modern leather recliner can be your must-have item if reading is your hobby. Different to the common chair, recliner can make you feel relax but stay focused. That’s why it will be good for you ...

The Natural Theme for Japanese Bedroom

Bedroom is more than a place to rest, but important part of our house. It has high value of privacy and intimacy for us. Therefore, make no mistake in determining the design of your bedroom. Among man...

The Mastermind of Small Master Bathroom Design

Sometimes, your master bathroom might get a small size. Even so, you can tweak it into your best bathroom. A small master bathroom design can help you in doing so. Here are some designs you can follow...

Leather Living Room Furniture with Excellent and Elegant Design

What do you have in mind when hear about leather living room furniture? You might think sofa with smooth and comfortable sitting spot. It comes from leather, but combined with another material. Leathe...

Decorate Your Room with Living Room Table Lamps

The deeper you go into the home decor, the more you realize important things. You need to combine decoration and function. Living room table lamp can be the solution for that.


The Kingdom — Now or Later?

Content

Key Words

Title

Author

By Royce Frederick

The apostle Paul says Christians are in the kingdom NOW:“He has delivered us from the power of darkness and conveyed us into the kingdom of the Son of His love” (Col. 1:13). Paul wrote those words from prison about A.D. 64. He is clearly talking about something which had already happened. God “has delivered us” and “conveyed us” into the kingdom. He and the Christians were in the kingdom of Christ when Paul wrote the letter.

The apostle Peter says faithful Christians will enter the kingdom LATER:“Therefore, brethren, be even more diligent to make your call and election sure, for if you do these things you will never stumble; for so an entrance will be supplied to you abundantly into the everlasting kingdom of our Lord and Savior Jesus Christ” (2 Pet. 1:10-11). Peter wrote those words about A. D. 66. He is clearly talking about something which will happen in the future. He told “brethren” — Christians — that they must be diligent and grow spiritually (verses 5-9). If they do that, an abundant entrance “will be supplied” to them into the everlasting kingdom of Christ.

Who is right, Paul or Peter? Are Christians in the kingdom now, or will they enter it later?

Both are right! Paul is talking about the people of the kingdom — citizenship in the kingdom. Peter is talking about the eternal place of the kingdom.

In the Bible, and in our languages today, one name can refer to certain people OR the place where they live. For example, someone says, “I plan to go to India.” It means he plans to travel to the geographical place called India. Someone else says, “India voted.” The rivers, mountains, and fields did not vote. It means the people of India voted.

In the Bible, “Jerusalem” sometimes means the place: houses, shops, and streets. But it sometimes means the people of that city. For example: “...wise men from the East came to Jerusalem [the place],saying, ‘Where is He who has been born King of the Jews? For we have seen His star in the East and have come to worship Him.’ When Herod the king heard this, he was troubled, and all Jerusalem [the people] with him” (Matt. 2:1-3).

Also, a person can be a citizen of a country without being inside its territory. A citizen of Nigeria who is visiting Australia is still a citizen of Nigeria.

When we obey the gospel, we become Christians, children in God’s family, members of the church of Christ, and citizens of the kingdom of Christ. Paul wrote, “For our citizenship is in heaven, from which we also eagerly wait for the Savior, the Lord JesusChrist” (Phil. 3:20). We are subjects of the King, Jesus. But we are not yet in the eternal city. We are still in the field, where there is much work to do before we go home.

All who obey the gospel are kingdom people. And all who remain faithful will enter the kingdom place after this life is over.


/*!
 *  Copyright (c) 2017 by Contributors
 * \brief External function interface to cuBLAS libraries
 * \file tags.h
 */
#ifndef TOPI_CONTRIB_CUBLAS_H_
#define TOPI_CONTRIB_CUBLAS_H_

#include "tvm/tvm.h"
#include "topi/detail/extern.h"

namespace topi {
namespace contrib {
using namespace tvm;
using namespace topi::detail;
/*!
* \brief Create an op that multiplies lhs and rhs with cuBLAS
*
* \param lhs The left matrix operand
* \param rhs The right matrix operand
* \param transa Whether to transpose lhs
* \param transb Whether to transpose rhs
*
* \return The output tensor
*/
inline Tensor cublas_matmul(const Tensor& lhs,
                            const Tensor& rhs,
                            bool transa,
                            bool transb) {
  auto n = transa ? lhs->shape[1] : lhs->shape[0];
  auto m = transb ? rhs->shape[0] : rhs->shape[1];

  return make_extern(
    { { n, m } }, { lhs->dtype }, { lhs, rhs },
    [&](Array<Buffer> ins, Array<Buffer> outs) {
      return call_packed({
        Expr("tvm.contrib.cublas.matmul"),
        pack_buffer(ins[0]),
        pack_buffer(ins[1]),
        pack_buffer(outs[0]),
        transa,
        transb });
    }, "C", "", {})[0];
}

}  // namespace contrib
}  // namespace topi

#endif  // TOPI_CONTRIB_CUBLAS_H_


Anna Anvegård

Anna Elin Astrid Anvegård (born 10 May 1997) is a Swedish footballer who plays as a forward for FC Rosengård in the Swedish top flight Damallsvenskan as well as for the Swedish national team.

Anvegård's prolific goalscoring for Växjö brought her to the attention of Sweden's national team selectors and made her a transfer target for several bigger clubs, in Sweden and beyond. She made her senior national team debut in June 2018, against Croatia, and was praised by coach Peter Gerhardsson for her striking instincts: "She has the classic nose for the target and knows where it is".

Anvegård was a part of the Swedish squad for the 2019 FIFA Women's World Cup in France. In August 2019, she completed a transfer to the Swedish top club FC Rosengård.

References

External links

Profile at Swedish Football Association (SvFF)

Category:1997 births
Category:Living people
Category:Swedish women's footballers
Category:Sweden women's international footballers
Category:Damallsvenskan players
Category:Växjö DFF players
Category:Women's association football forwards
Category:People from Värnamo Municipality
Category:2019 FIFA Women's World Cup players
Category:FC Rosengård players


Good morning.

(If you don’t already get California Today by email, here’s the sign-up.)

When Chia Youyee Vang heard about Sunday night’s horrific shooting in Fresno, she pictured her brothers.

The authorities said gunmen sneaked into a backyard in the city’s southeastern section and opened fire on a group of friends and family members gathered there. Four men, including the well-known singer Xy Lee, were killed. They were all members of Fresno’s Hmong community. Six others were injured.

“They get together to watch Sunday Night Football, too,” said Professor Vang, the director of the Hmong Diaspora Studies Program and a history professor at the University of Wisconsin-Milwaukee. “It was so tragic because it was part of a normal routine in life — you’re not hiding in the jungle, you’re not in a war zone.”

On Monday, Hmong leaders in Fresno told my colleagues that they were preparing to mark the new year.

“We are supposed to be celebrating,” said Blong Xiong, a former City Council member.