From the Associated Press : A baby girl who had been cut out of her mother's womb was found after a frantic search, and authorities arrested the woman they say strangled the mother and stole the child.


Of course, there have been companies whose performance would perfectly mimic the validity of this idea, but Psuedo.com failed without producing a single show, and Broadcast.com was swallowed for $6 billion by Yahoo!, to Yahoo!


The rich hire private security for a reason--public security is often inadequate.


And now, they're swallowed by Just Another Monolith.


abbas was convicted in absentia by an italian court and sentenced to five life terms in prison.


But the problem with Khomeini was that the guy who he overthrew was put in power by the United States.


It is still not clear, looking at the latest tapes of the Iraqi president, whether he's dead or alive.


def from_fortran_file(cls, fortran_file: str, tmpdir: str = "."):
        """Builds GrFN object from a Fortran program."""
        stem = Path(fortran_file).stem
        if tmpdir == "." and "/" in fortran_file:
            tmpdir = Path(fortran_file).parent
        preprocessed_fortran_file = f"{tmpdir}/{stem}_preprocessed.f"
        lambdas_path = f"{tmpdir}/{stem}_lambdas.py"
        json_filename = stem + ".json"

        with open(fortran_file, "r") as f:
            inputLines = f.readlines()

        with open(preprocessed_fortran_file, "w") as f:
            f.write(preprocessor.process(inputLines))

        xml_string = sp.run(
            [
                "java",
                "fortran.ofp.FrontEnd",
                "--class",
                "fortran.ofp.XMLPrinter",
                "--verbosity",
                "0",
                preprocessed_fortran_file,
            ],
            stdout=sp.PIPE,
        ).stdout
        trees = [ET.fromstring(xml_string)]
        comments = get_comments.get_comments(preprocessed_fortran_file)
        os.remove(preprocessed_fortran_file)
        xml_to_json_translator = translate.XMLToJSONTranslator()
        outputDict = xml_to_json_translator.analyze(trees, comments)
        pySrc = pyTranslate.create_python_source_list(outputDict)[0][0]

        G = cls.from_python_src(pySrc, lambdas_path, json_filename, stem)
        return G

def from_fortran_file ( cls , fortran_file : str , tmpdir : str = "." ) : stem = Path ( fortran_file ) . stem if tmpdir == "." and "/" in fortran_file : tmpdir = Path ( fortran_file ) . parent preprocessed_fortran_file = f"{tmpdir}/{stem}_preprocessed.f" lambdas_path = f"{tmpdir}/{stem}_lambdas.py" json_filename = stem + ".json" with open ( fortran_file , "r" ) as f : inputLines = f . readlines ( ) with open ( preprocessed_fortran_file , "w" ) as f : f . write ( preprocessor . process ( inputLines ) ) xml_string = sp . run ( [ "java" , "fortran.ofp.FrontEnd" , "--class" , "fortran.ofp.XMLPrinter" , "--verbosity" , "0" , preprocessed_fortran_file , ] , stdout = sp . PIPE , ) . stdout trees = [ ET . fromstring ( xml_string ) ] comments = get_comments . get_comments ( preprocessed_fortran_file ) os . remove ( preprocessed_fortran_file ) xml_to_json_translator = translate . XMLToJSONTranslator ( ) outputDict = xml_to_json_translator . analyze ( trees , comments ) pySrc = pyTranslate . create_python_source_list ( outputDict ) [ 0 ] [ 0 ] G = cls . from_python_src ( pySrc , lambdas_path , json_filename , stem ) return G


def get_serializer(context):
    """Returns a serializer for a given context"""
    cluster_config = context.get_cluster_config()
    serializer_clsname = cluster_config.get(constants.TOPOLOGY_SERIALIZER_CLASSNAME, None)
    if serializer_clsname is None:
      return PythonSerializer()
    else:
      try:
        topo_pex_path = context.get_topology_pex_path()
        pex_loader.load_pex(topo_pex_path)
        serializer_cls = pex_loader.import_and_get_class(topo_pex_path, serializer_clsname)
        serializer = serializer_cls()
        return serializer
      except Exception as e:
        raise RuntimeError("Error with loading custom serializer class: %s, with error message: %s"
                           % (serializer_clsname, str(e)))


def reset_parameter(**kwargs):
    """Create a callback that resets the parameter after the first iteration.

    Note
    ----
    The initial parameter will still take in-effect on first iteration.

    Parameters
    ----------
    **kwargs : value should be list or function
        List of parameters for each boosting round
        or a customized function that calculates the parameter in terms of
        current number of round (e.g. yields learning rate decay).
        If list lst, parameter = lst[current_round].
        If function func, parameter = func(current_round).

    Returns
    -------
    callback : function
        The callback that resets the parameter after the first iteration.
    """
    def _callback(env):
        new_parameters = {}
        for key, value in kwargs.items():
            if key in ['num_class', 'num_classes',
                       'boosting', 'boost', 'boosting_type',
                       'metric', 'metrics', 'metric_types']:
                raise RuntimeError("cannot reset {} during training".format(repr(key)))
            if isinstance(value, list):
                if len(value) != env.end_iteration - env.begin_iteration:
                    raise ValueError("Length of list {} has to equal to 'num_boost_round'."
                                     .format(repr(key)))
                new_param = value[env.iteration - env.begin_iteration]
            else:
                new_param = value(env.iteration - env.begin_iteration)
            if new_param != env.params.get(key, None):
                new_parameters[key] = new_param
        if new_parameters:
            env.model.reset_parameter(new_parameters)
            env.params.update(new_parameters)
    _callback.before_iteration = True
    _callback.order = 10
    return _callback


def _filter(self, filename):
        """
        return 'true' if filename doesn't match name_filter regex and should be filtered out of the list.
        @param filename:
        @return:
        """
        return self.name_filter is not None and re.search(self.name_filter, filename) is None

def _filter ( self , filename ) : return self . name_filter is not None and re . search ( self . name_filter , filename ) is None


def load_source(source):
    """
    Common entry point for loading some form of raw swagger schema.

    Supports:
        - python object (dictionary-like)
        - path to yaml file
        - path to json file
        - file object (json or yaml).
        - json string.
        - yaml string.
    """
    if isinstance(source, collections.Mapping):
        return deepcopy(source)
    elif hasattr(source, 'read') and callable(source.read):
        raw_source = source.read()
    elif os.path.exists(os.path.expanduser(str(source))):
        with open(os.path.expanduser(str(source)), 'r') as source_file:
            raw_source = source_file.read()
    elif isinstance(source, six.string_types):
        parts = urlparse.urlparse(source)
        if parts.scheme and parts.netloc:
            response = requests.get(source)
            if isinstance(response.content, six.binary_type):
                raw_source = six.text_type(response.content, encoding='utf-8')
            else:
                raw_source = response.content
        else:
            raw_source = source

    try:
        try:
            return json.loads(raw_source)
        except ValueError:
            pass

        try:
            return yaml.safe_load(raw_source)
        except (yaml.scanner.ScannerError, yaml.parser.ParserError):
            pass
    except NameError:
        pass

    raise ValueError(
        "Unable to parse `{0}`.  Tried yaml and json.".format(source),
    )


def metric(self, slug, num=1, category=None, expire=None, date=None):
        """Records a metric, creating it if it doesn't exist or incrementing it
        if it does. All metrics are prefixed with 'm', and automatically
        aggregate for Seconds, Minutes, Hours, Day, Week, Month, and Year.

        Parameters:

        * ``slug`` -- a unique value to identify the metric; used in
          construction of redis keys (see below).
        * ``num`` -- Set or Increment the metric by this number; default is 1.
        * ``category`` -- (optional) Assign the metric to a Category (a string)
        * ``expire`` -- (optional) Specify the number of seconds in which the
          metric will expire.
        * ``date`` -- (optional) Specify the timestamp for the metric; default
          used to build the keys will be the current date and time in UTC form.

        Redis keys for each metric (slug) take the form:

            m:<slug>:s:<yyyy-mm-dd-hh-mm-ss> # Second
            m:<slug>:i:<yyyy-mm-dd-hh-mm>    # Minute
            m:<slug>:h:<yyyy-mm-dd-hh>       # Hour
            m:<slug>:<yyyy-mm-dd>            # Day
            m:<slug>:w:<yyyy-num>            # Week (year - week number)
            m:<slug>:m:<yyyy-mm>             # Month
            m:<slug>:y:<yyyy>                # Year

        """
        # Add the slug to the set of metric slugs
        self.r.sadd(self._metric_slugs_key, slug)

        if category:
            self._categorize(slug, category)

        # Increment keys. NOTE: current redis-py (2.7.2) doesn't include an
        # incrby method; .incr accepts a second ``amount`` parameter.
        keys = self._build_keys(slug, date=date)

        # Use a pipeline to speed up incrementing multiple keys
        pipe = self.r.pipeline()
        for key in keys:
            pipe.incr(key, num)
            if expire:
                pipe.expire(key, expire)
        pipe.execute()


def weather_from_dictionary(d):
    """
    Builds a *Weather* object out of a data dictionary. Only certain
    properties of the dictionary are used: if these properties are not
    found or cannot be read, an error is issued.

    :param d: a data dictionary
    :type d: dict
    :returns: a *Weather* instance
    :raises: *KeyError* if it is impossible to find or read the data
        needed to build the instance

    """
    # -- times
    if 'dt' in d:
        reference_time = d['dt']
    elif 'dt' in d['last']:
        reference_time = d['last']['dt']
    if 'sys' in d and 'sunset' in d['sys']:
        sunset_time = d['sys']['sunset']
    else:
        sunset_time = 0
    if 'sys' in d and 'sunrise' in d['sys']:
        sunrise_time = d['sys']['sunrise']
    else:
        sunrise_time = 0
    # -- calc
    if 'calc' in d:
        if 'dewpoint' in d['calc']:
            dewpoint = d['calc']['dewpoint']
        else:
            dewpoint = None
        if 'humidex' in d['calc']:
            humidex = d['calc']['humidex']
        else:
            humidex = None
        if 'heatindex' in d['calc']:
            heat_index = d['calc']['heatindex']
        else:
            heat_index = None
    elif 'last' in d:
        if 'calc' in d['last']:
            if 'dewpoint' in d['last']['calc']:
                dewpoint = d['last']['calc']['dewpoint']
            else:
                dewpoint = None
            if 'humidex' in d['last']['calc']:
                humidex = d['last']['calc']['humidex']
            else:
                humidex = None
            if 'heatindex' in d['last']['calc']:
                heat_index = d['last']['calc']['heatindex']
            else:
                heat_index = None
    else:
        dewpoint = None
        humidex = None
        heat_index = None
    # -- visibility
    if 'visibility' in d:
        if isinstance(d['visibility'], int):
            visibility_distance = d['visibility']
        elif 'distance' in d['visibility']:
            visibility_distance = d['visibility']['distance']
        else:
            visibility_distance = None
    elif 'last' in d and 'visibility' in d['last']:
        if isinstance(d['last']['visibility'], int):
            visibility_distance = d['last']['visibility']
        elif 'distance' in d['last']['visibility']:
            visibility_distance = d['last']['visibility']['distance']
        else:
            visibility_distance = None
    else:
        visibility_distance = None
    # -- clouds
    if 'clouds' in d:
        if isinstance(d['clouds'], int) or isinstance(d['clouds'], float):
            clouds = d['clouds']
        elif 'all' in d['clouds']:
            clouds = d['clouds']['all']
        else:
            clouds = 0
    else:
        clouds = 0
    # -- rain
    if 'rain' in d:
        if isinstance(d['rain'], int) or isinstance(d['rain'], float):
            rain = {'all': d['rain']}
        else:
            if d['rain'] is not None:
                rain = d['rain'].copy()
            else:
                rain = dict()
    else:
        rain = dict()
    # -- wind
    if 'wind' in d and d['wind'] is not None:
        wind = d['wind'].copy()
    elif 'last' in d:
        if 'wind' in d['last'] and d['last']['wind'] is not None:
            wind = d['last']['wind'].copy()
        else:
            wind = dict()
    else:
        wind = dict()
        if 'speed' in d:
            wind['speed'] = d['speed']
        if 'deg' in d:
            wind['deg'] = d['deg']
    # -- humidity
    if 'humidity' in d:
        humidity = d['humidity']
    elif 'main' in d and 'humidity' in d['main']:
        humidity = d['main']['humidity']
    elif 'last' in d and 'main' in d['last'] and 'humidity' in d['last']['main']:
        humidity = d['last']['main']['humidity']
    else:
        humidity = 0
    # -- snow
    if 'snow' in d:
        if isinstance(d['snow'], int) or isinstance(d['snow'], float):
            snow = {'all': d['snow']}
        else:
            if d['snow'] is not None:
                snow = d['snow'].copy()
            else:
                snow = dict()
    else:
        snow = dict()
    # -- pressure
    if 'pressure' in d:
        atm_press = d['pressure']
    elif 'main' in d and 'pressure' in d['main']:
        atm_press = d['main']['pressure']
    elif 'last' in d:
        if 'main' in d['last']:
            atm_press = d['last']['main']['pressure']
    else:
        atm_press = None
    if 'main' in d and 'sea_level' in d['main']:
        sea_level_press = d['main']['sea_level']
    else:
        sea_level_press = None
    pressure = {'press': atm_press, 'sea_level': sea_level_press}
    # -- temperature
    if 'temp' in d:
        if d['temp'] is not None:
            temperature = d['temp'].copy()
        else:
            temperature = dict()
    elif 'main' in d and 'temp' in d['main']:
        temp = d['main']['temp']
        if 'temp_kf' in d['main']:
            temp_kf = d['main']['temp_kf']
        else:
            temp_kf = None
        if 'temp_max' in d['main']:
            temp_max = d['main']['temp_max']
        else:
            temp_max = None
        if 'temp_min' in d['main']:
            temp_min = d['main']['temp_min']
        else:
            temp_min = None
        temperature = {'temp': temp,
                       'temp_kf': temp_kf,
                       'temp_max': temp_max,
                       'temp_min': temp_min
                       }
    elif 'last' in d:
        if 'main' in d['last']:
            temperature = dict(temp=d['last']['main']['temp'])
    else:
        temperature = dict()
    # -- weather status info
    if 'weather' in d:
        status = d['weather'][0]['main']
        detailed_status = d['weather'][0]['description']
        weather_code = d['weather'][0]['id']
        weather_icon_name = d['weather'][0]['icon']
    else:
        status = ''
        detailed_status = ''
        weather_code = 0
        weather_icon_name = ''

    return Weather(reference_time, sunset_time, sunrise_time, clouds,
                rain, snow, wind, humidity, pressure, temperature,
                status, detailed_status, weather_code, weather_icon_name,
                visibility_distance, dewpoint, humidex, heat_index)

def
weather_from_dictionary
(
d
)
:
# -- times
if
'dt'
in
d
:
reference_time
=
d
[
'dt'
]
elif
'dt'
in
d
[
'last'
]
:
reference_time
=
d
[
'last'
]
[
'dt'
]
if
'sys'
in
d
and
'sunset'
in
d
[
'sys'
]
:
sunset_time
=
d
[
'sys'
]
[
'sunset'
]
else
:
sunset_time
=
0
if
'sys'
in
d
and
'sunrise'
in
d
[
'sys'
]
:
sunrise_time
=
d
[
'sys'
]
[
'sunrise'
]
else
:
sunrise_time
=
0
# -- calc
if
'calc'
in
d
:
if
'dewpoint'
in
d
[
'calc'
]
:
dewpoint
=
d
[
'calc'
]
[
'dewpoint'
]
else
:
dewpoint
=
if
'humidex'
in
d
[
'calc'
]
:
humidex
=
d
[
'calc'
]
[
'humidex'
]
else
:
humidex
=
if
'heatindex'
in
d
[
'calc'
]
:
heat_index
=
d
[
'calc'
]
[
'heatindex'
]
else
:
heat_index
=
elif
'last'
in
d
:
if
'calc'
in
d
[
'last'
]
:
if
'dewpoint'
in
d
[
'last'
]
[
'calc'
]
:
dewpoint
=
d
[
'last'
]
[
'calc'
]
[
'dewpoint'
]
else
:
dewpoint
=
if
'humidex'
in
d
[
'last'
]
[
'calc'
]
:
humidex
=
d
[
'last'
]
[
'calc'
]
[
'humidex'
]
else
:
humidex
=
if
'heatindex'
in
d
[
'last'
]
[
'calc'
]
:
heat_index
=
d
[
'last'
]
[
'calc'
]
[
'heatindex'
]
else
:
heat_index
=
else
:
dewpoint
=
humidex
=
heat_index
=
# -- visibility
if
'visibility'
in
d
:
if
isinstance
(
d
[
'visibility'
]
,
int
)
:
visibility_distance
=
d
[
'visibility'
]
elif
'distance'
in
d
[
'visibility'
]
:
visibility_distance
=
d
[
'visibility'
]
[
'distance'
]
else
:
visibility_distance
=
elif
'last'
in
d
and
'visibility'
in
d
[
'last'
]
:
if
isinstance
(
d
[
'last'
]
[
'visibility'
]
,
int
)
:
visibility_distance
=
d
[
'last'
]
[
'visibility'
]
elif
'distance'
in
d
[
'last'
]
[
'visibility'
]
:
visibility_distance
=
d
[
'last'
]
[
'visibility'
]
[
'distance'
]
else
:
visibility_distance
=
else
:
visibility_distance
=
# -- clouds
if
'clouds'
in
d
:
if
isinstance
(
d
[
'clouds'
]
,
int
)
or
isinstance
(
d
[
'clouds'
]
,
float
)
:
clouds
=
d
[
'clouds'
]
elif
'all'
in
d
[
'clouds'
]
:
clouds
=
d
[
'clouds'
]
[
'all'
]
else
:
clouds
=
0
else
:
clouds
=
0
# -- rain
if
'rain'
in
d
:
if
isinstance
(
d
[
'rain'
]
,
int
)
or
isinstance
(
d
[
'rain'
]
,
float
)
:
rain
=
{
'all'
:
d
[
'rain'
]
}
else
:
if
d
[
'rain'
]
is
not
:
rain
=
d
[
'rain'
]
.
copy
(
)
else
:
rain
=
dict
(
)
else
:
rain
=
dict
(
)
# -- wind
if
'wind'
in
d
and
d
[
'wind'
]
is
not
:
wind
=
d
[
'wind'
]
.
copy
(
)
elif
'last'
in
d
:
if
'wind'
in
d
[
'last'
]
and
d
[
'last'
]
[
'wind'
]
is
not
:
wind
=
d
[
'last'
]
[
'wind'
]
.
copy
(
)
else
:
wind
=
dict
(
)
else
:
wind
=
dict
(
)
if
'speed'
in
d
:
wind
[
'speed'
]
=
d
[
'speed'
]
if
'deg'
in
d
:
wind
[
'deg'
]
=
d
[
'deg'
]
# -- humidity
if
'humidity'
in
d
:
humidity
=
d
[
'humidity'
]
elif
'main'
in
d
and
'humidity'
in
d
[
'main'
]
:
humidity
=
d
[
'main'
]
[
'humidity'
]
elif
'last'
in
d
and
'main'
in
d
[
'last'
]
and
'humidity'
in
d
[
'last'
]
[
'main'
]
:
humidity
=
d
[
'last'
]
[
'main'
]
[
'humidity'
]
else
:
humidity
=
0
# -- snow
if
'snow'
in
d
:
if
isinstance
(
d
[
'snow'
]
,
int
)
or
isinstance
(
d
[
'snow'
]
,
float
)
:
snow
=
{
'all'
:
d
[
'snow'
]
}
else
:
if
d
[
'snow'
]
is
not
:
snow
=
d
[
'snow'
]
.
copy
(
)
else
:
snow
=
dict
(
)
else
:
snow
=
dict
(
)
# -- pressure
if
'pressure'
in
d
:
atm_press
=
d
[
'pressure'
]
elif
'main'
in
d
and
'pressure'
in
d
[
'main'
]
:
atm_press
=
d
[
'main'
]
[
'pressure'
]
elif
'last'
in
d
:
if
'main'
in
d
[
'last'
]
:
atm_press
=
d
[
'last'
]
[
'main'
]
[
'pressure'
]
else
:
atm_press
=
if
'main'
in
d
and
'sea_level'
in
d
[
'main'
]
:
sea_level_press
=
d
[
'main'
]
[
'sea_level'
]
else
:
sea_level_press
=
pressure
=
{
'press'
:
atm_press
,
'sea_level'
:
sea_level_press
}
# -- temperature
if
'temp'
in
d
:
if
d
[
'temp'
]
is
not
:
temperature
=
d
[
'temp'
]
.
copy
(
)
else
:
temperature
=
dict
(
)
elif
'main'
in
d
and
'temp'
in
d
[
'main'
]
:
temp
=
d
[
'main'
]
[
'temp'
]
if
'temp_kf'
in
d
[
'main'
]
:
temp_kf
=
d
[
'main'
]
[
'temp_kf'
]
else
:
temp_kf
=
if
'temp_max'
in
d
[
'main'
]
:
temp_max
=
d
[
'main'
]
[
'temp_max'
]
else
:
temp_max
=
if
'temp_min'
in
d
[
'main'
]
:
temp_min
=
d
[
'main'
]
[
'temp_min'
]
else
:
temp_min
=
temperature
=
{
'temp'
:
temp
,
'temp_kf'
:
temp_kf
,
'temp_max'
:
temp_max
,
'temp_min'
:
temp_min
}
elif
'last'
in
d
:
if
'main'
in
d
[
'last'
]
:
temperature
=
dict
(
temp
=
d
[
'last'
]
[
'main'
]
[
'temp'
]
)
else
:
temperature
=
dict
(
)
# -- weather status info
if
'weather'
in
d
:
status
=
d
[
'weather'
]
[
0
]
[
'main'
]
detailed_status
=
d
[
'weather'
]
[
0
]
[
'description'
]
weather_code
=
d
[
'weather'
]
[
0
]
[
'id'
]
weather_icon_name
=
d
[
'weather'
]
[
0
]
[
'icon'
]
else
:
status
=
''
detailed_status
=
''
weather_code
=
0
weather_icon_name
=
''
return
Weather
(
reference_time
,
sunset_time
,
sunrise_time
,
clouds
,
rain
,
snow
,
wind
,
humidity
,
pressure
,
temperature
,
status
,
detailed_status
,
weather_code
,
weather_icon_name
,
visibility_distance
,
dewpoint
,
humidex
,
heat_index
)


def run(self, agent_host):
        """run the agent on the world"""

        total_reward = 0
        current_r = 0
        tol = 0.01

        self.prev_s = None
        self.prev_a = None

        # wait for a valid observation
        world_state = agent_host.peekWorldState()
        while world_state.is_mission_running and all(e.text=='{}' for e in world_state.observations):
            world_state = agent_host.peekWorldState()
        # wait for a frame to arrive after that
        num_frames_seen = world_state.number_of_video_frames_since_last_state
        while world_state.is_mission_running and world_state.number_of_video_frames_since_last_state == num_frames_seen:
            world_state = agent_host.peekWorldState()
        world_state = agent_host.getWorldState()
        for err in world_state.errors:
            print(err)

        if not world_state.is_mission_running:
            return 0 # mission already ended

        assert len(world_state.video_frames) > 0, 'No video frames!?'

        obs = json.loads( world_state.observations[-1].text )
        prev_x = obs[u'XPos']
        prev_z = obs[u'ZPos']
        print('Initial position:',prev_x,',',prev_z)

        if save_images:
            # save the frame, for debugging
            frame = world_state.video_frames[-1]
            image = Image.frombytes('RGB', (frame.width, frame.height), bytes(frame.pixels) )
            iFrame = 0
            self.rep = self.rep + 1
            image.save( 'rep_' + str(self.rep).zfill(3) + '_saved_frame_' + str(iFrame).zfill(4) + '.png' )

        # take first action
        total_reward += self.act(world_state,agent_host,current_r)

        require_move = True
        check_expected_position = True

        # main loop:
        while world_state.is_mission_running:

            # wait for the position to have changed and a reward received
            print('Waiting for data...', end=' ')
            while True:
                world_state = agent_host.peekWorldState()
                if not world_state.is_mission_running:
                    print('mission ended.')
                    break
                if len(world_state.rewards) > 0 and not all(e.text=='{}' for e in world_state.observations):
                    obs = json.loads( world_state.observations[-1].text )
                    curr_x = obs[u'XPos']
                    curr_z = obs[u'ZPos']
                    if require_move:
                        if math.hypot( curr_x - prev_x, curr_z - prev_z ) > tol:
                            print('received.')
                            break
                    else:
                        print('received.')
                        break
            # wait for a frame to arrive after that
            num_frames_seen = world_state.number_of_video_frames_since_last_state
            while world_state.is_mission_running and world_state.number_of_video_frames_since_last_state == num_frames_seen:
                world_state = agent_host.peekWorldState()

            num_frames_before_get = len(world_state.video_frames)

            world_state = agent_host.getWorldState()
            for err in world_state.errors:
                print(err)
            current_r = sum(r.getValue() for r in world_state.rewards)

            if save_images:
                # save the frame, for debugging
                if world_state.is_mission_running:
                    assert len(world_state.video_frames) > 0, 'No video frames!?'
                    frame = world_state.video_frames[-1]
                    image = Image.frombytes('RGB', (frame.width, frame.height), bytes(frame.pixels) )
                    iFrame = iFrame + 1
                    image.save( 'rep_' + str(self.rep).zfill(3) + '_saved_frame_' + str(iFrame).zfill(4) + '_after_' + self.actions[self.prev_a] + '.png' )

            if world_state.is_mission_running:
                assert len(world_state.video_frames) > 0, 'No video frames!?'
                num_frames_after_get = len(world_state.video_frames)
                assert num_frames_after_get >= num_frames_before_get, 'Fewer frames after getWorldState!?'
                frame = world_state.video_frames[-1]
                obs = json.loads( world_state.observations[-1].text )
                curr_x = obs[u'XPos']
                curr_z = obs[u'ZPos']
                print('New position from observation:',curr_x,',',curr_z,'after action:',self.actions[self.prev_a], end=' ') #NSWE
                if check_expected_position:
                    expected_x = prev_x + [0,0,-1,1][self.prev_a]
                    expected_z = prev_z + [-1,1,0,0][self.prev_a]
                    if math.hypot( curr_x - expected_x, curr_z - expected_z ) > tol:
                        print(' - ERROR DETECTED! Expected:',expected_x,',',expected_z)
                        input("Press Enter to continue...")
                    else:
                        print('as expected.')
                    curr_x_from_render = frame.xPos
                    curr_z_from_render = frame.zPos
                    print('New position from render:',curr_x_from_render,',',curr_z_from_render,'after action:',self.actions[self.prev_a], end=' ') #NSWE
                    if math.hypot( curr_x_from_render - expected_x, curr_z_from_render - expected_z ) > tol:
                        print(' - ERROR DETECTED! Expected:',expected_x,',',expected_z)
                        input("Press Enter to continue...")
                    else:
                        print('as expected.')
                else:
                    print()
                prev_x = curr_x
                prev_z = curr_z
                # act
                total_reward += self.act(world_state, agent_host, current_r)

        # process final reward
        self.logger.debug("Final reward: %d" % current_r)
        total_reward += current_r

        # update Q values
        if self.training and self.prev_s is not None and self.prev_a is not None:
            old_q = self.q_table[self.prev_s][self.prev_a]
            self.q_table[self.prev_s][self.prev_a] = old_q + self.alpha * ( current_r - old_q )

        self.drawQ()

        return total_reward


def autodiscover(module_name=None):
    """
    Autodiscover INSTALLED_APPS perms.py modules and fail silently when not
    present. This forces an import on them to register any permissions bits
    they may want.
    """
    from django.utils.module_loading import module_has_submodule
    from permission.compat import import_module
    from permission.conf import settings

    module_name = module_name or settings.PERMISSION_AUTODISCOVER_MODULE_NAME
    app_names = (app.name for app in apps.app_configs.values())

    for app in app_names:
        mod = import_module(app)
        # Attempt to import the app's perms module
        try:
            # discover the permission module
            discover(app, module_name=module_name)
        except:
            # Decide whether to bubble up this error. If the app just doesn't
            # have an perms module, we can just ignore the error attempting
            # to import it, otherwise we want it to bubble up.
            if module_has_submodule(mod, module_name):
                raise


Flight Crew Multiengine; Flight Crew Air Transport Pilot (ATP); Flight Crew Instrument

Flight Crew Last 90 Days 175; Flight Crew Type 1900

Flight Crew Instrument; Flight Crew Air Transport Pilot (ATP); Flight Crew Multiengine

Deviation - Altitude Crossing Restriction Not Met; Deviation - Altitude Undershoot; Deviation / Discrepancy - Procedural Published Material / Policy; Deviation / Discrepancy - Procedural Clearance

Person Air Traffic Control; Person Flight Crew

Air Traffic Control Issued New Clearance; Flight Crew Became Reoriented; Flight Crew Returned To Clearance

SNA RNP-Z to Runway 20R. The FMC was properly programmed and MCP panel [was] in LNAV/VNAV PATH. Upon crossing KLEVR at 5000 FT IAF; we set zeros in the altitude alerter. The aircraft did not descend to cross MNNIE at 4400 FT; next mandatory altitude. I noticed level flight and immediately selected Vertical Speed to try and meet MNNIE at 4400 feet. About the same time; SoCal Approach asked us if we were descending and flying the RNP-Z. The Pilot Monitoring (PM) said 'yes' but asked if we could be cleared the Visual Approach to try and mitigate any problems. SoCal said 'no problem' and gave us a 'heading of 030 and descend to 3000 FT; call the field in sight.' As Pilot Flying (PF); the field was on my side and we had it in sight and called - in sight. At that point we were cleared for the visual and told to contact SNA Tower. The rest of the approach and landing were uneventful and we landed safely on 20R. With short distances between waypoints and mandatory descending altitude restrictions; pilots should be quicker to notice any anomaly and react quickly to stay in/on VNAV PATH even if aircraft does not do it automatically.

We were cleared for the RNP RNAV Z 20R Approach and level at 5000 feet. We were in visual conditions; and just using the approach for ease of use. We had zeros set after the initial approach fix and in LNAV/VNAV PATH. After crossing KLEVR; the aircraft did not descend. We noticed it quickly; and the Pilot Flying intervened by using Vertical Speed to catch the profile. Very shortly after we began to intervene; ATC asked us if we were doing the RNP Z Approach. I told him we were; but the aircraft wasn't doing what we were wanting or expecting it to do; and I asked if he could vector us for the visual approach. He gave us a heading and altitude to fly. He asked if we had the airport; which we did; and he cleared us for the visual. We landed without incident. In the future; I need to monitor more closely; and not let the good weather lull me into complacency. If we're cleared for an approach; I will monitor it better.

B737-700 flight crew reported failing to make a crossing restriction on the RNP-Z Runway 20R approach to SNA.


On base to final turn to runway 1 in MSY at approximately 1;000 feet AGL; we passed within 100 yards (estimated) of an unmanned aerial drone.  The drone was headed west at our altitude and made a quick turn to the south to avoid us.  The drone was a fixed wing; single propeller type commercial unit. It passed off our right wing.  I was the non pilot flying in the left seat.  My First Officer was focused on avoiding a helicopter that had been pointed out to us; so she didn't get as good of a look at the drone as I did.  She did; however; get a good enough look at it to determine that it was in fact an aircraft.  We did not take evasive action because the encounter happened so fast I initially wasn't sure what we had seen.  However; after taking a closer look out the right window; I was able to determine the drone was headed away from us and would be no factor.  I reported this drone encounter to MSY tower; and subsequently followed up with a phone call to the TRACON after landing to relay the specifics. Increase awareness of those who operate drone aircraft in the vicinity of commercial airports as to airspace regulations and possible collision hazards with commercial aircraft.  FAA needs to take action to regulate drone operations; especially within controlled airspace.

Captain reports sighting of a drone at 1;000 feet during approach to Runway 1 at MSY. No evasive action is taken by the reporter; but the drone appears to turn away.


Flight Crew Commercial; Flight Crew Flight Instructor; Flight Crew Instrument

Flight Crew Last 90 Days 50; Flight Crew Total 600; Flight Crew Type 100

Human-Machine Interface; Confusion; Situational Awareness

Aircraft Equipment Problem Critical; Inflight Event / Encounter CFTT / CFIT; Inflight Event / Encounter Weather / Turbulence

Air Traffic Control Provided Assistance; Air Traffic Control Issued New Clearance; Flight Crew Overcame Equipment Problem; Flight Crew Became Reoriented; Flight Crew Regained Aircraft Control; Flight Crew Requested ATC Assistance / Clarification

Human Factors; Aircraft; Procedure; Weather

I climbed to my filed altitude of 5;000 FT; and was right at the top of the clouds. It was kind of bumpy and the temperature was 50+/-. Departure asked me if I wanted 6;000 FT and I accepted. At that point I was in the clear the temperature was 46 +/-. I was expecting the ILS 2L into ZZZ1 and received weather and briefed the approach as necessary. The FPD flashed and I wasn't sure if I had blinked or if it really did. At this point I was VFR on top and all flight instruments were reading correctly. [Center] told me to expect the ILS 10...and I went ahead and made the following change in the aircraft and once again briefed the approach. I was cleared to descend to 4;000 FT and did so without incident. I once again noticed the PFD flickered.... I felt the PFD and it seemed really hot so I figured due to the heat it was messing with the screen. I turned on the fresh air vents and made sure the heat was also turned off in the plane. I was then cleared for the ILS 10 and asked to descend to 2;500 FT which they then corrected to 2;600 FT. The aircraft captured the ILS as it should and I slowed the aircraft to 130 KTS about 10 miles out; and continued to slow the aircraft to the flap range. I was switched to the Tower frequency and I was cleared to land. I went ahead and switched my MFD to the checklist page and did my pre-landing checklist. When I brought up the map screen again I noticed the aircraft was to the right of the ILS localizer. At this time I also noticed the aircraft was in a left turn shown by the PFD attitude indicator; however; the standby indicator showed a right turn. At this point I knew I had a problem. Almost at this exact time the Tower asked me to check my altimeter setting because they had a low altitude report. I then received a check attitude warning annunciator on the PFD. I was not sure what attitude indicator was giving me correct information at that time. At this point the PFD attitude indicator was almost 90 to the left and I quickly decided that it was the wrong one. I felt the aircraft buffet and I knew I was in an autopilot stall. I disconnected the autopilot; I got the nose down and the power in. I struggled not to try to follow it [attitude indicator] because it is so big and right in front of me. I let Tower know I was going missed; but at that time I realized my heading indicator was incorrect as well. Tower wanted me to make a right turn to 180 and maintain 3;000 FT. I knew where VFR conditions were and that was where I needed to get. After regaining control of the aircraft using my three standby instruments; I asked to climb to 5;000 FT. I struggled with my heading because of the compass location in the aircraft. As I was climbing to VFR conditions I was going through my checklist for failures. When I broke out I went ahead and reset everything hoping that it would right itself but it did not. I went ahead and reduced power to conserve fuel and climbed so I could keep leaning out my aircraft. The entire Midwest was low IMC. After running through my entire checklist and determining that I could safely make a GPS approach I asked Center for anyone with minimums good enough for a GPS approach. I chose ZZZ2 and using GPS and my standby instruments; I safely landed with my PFD red X'd out.

SR22 pilot became disoriented on approach in IMC when PFD began displaying erroneous attitude information. After entering stall buffet and receiving ATC and aircraft low altitude alerts; pilot regained control by using standby attitude instruments; returned to VFR and; with ATC assistance; preceded to an uneventful landing at an alternate field.


Flight Crew Multiengine; Flight Crew Private; Flight Crew Instrument

Flight Crew Last 90 Days 100; Flight Crew Total 1800; Flight Crew Type 700

Flight Crew Became Reoriented; General Maintenance Action

I had my pitot heat checked prior to winter and on prior flights. I was above icing at 10;000 ft. As I descended into minimal icing below 8000 ft. the pitot heat failed and the pitot tube iced up. I lost airspeed indication. This is a minor event with GPS ground speed on 2 GPS units to compensate. However within moments the AHRS started to malfunction and started intermittently cutting off heading information. Then at times it gave other error messages; flagged erroneous attitude indications and started falsely indicating 'dangerous' attitudes even during normal standard rate turns in the holding pattern. At one or two points the entire glass panel instrument display gave a fault and sit off all instruments (attitude; heading; HSI; glide slope; altimeter; etc.) requiring use of backup instruments. I was able to fly and complete the ILS approach using the intermittent indications; the GPS's (2) and backup indicators to minimums (300 ft.; 1/2) uneventfully. I contacted the avionics shop who advised me that loss of PITOT input ALONE can cause complete loss of AHRS FUNCTION; all modalities. The pitot tube was replaced and on the next flight I have had no problem. If this is true and loss of a pitot tube input can cause complete loss of the AHRS - loss of heading; attitude; HSI; altimeter; other vital indicators - especially in low IFR - this can become a very dangerous situation!! This is very bad engineering design without proper failsafe design. Loss of airspeed should allow a default mode that preserves indications of attitude; airspeed; the HSI; etc.!!!! This fault of the DESIGN could become life threatening to the pilot from what used to be a TRIVIAL problem in the past. The engineers can redesign this to have bester failsafe performance!

BE58 pilot experiences pitot heat failure descending through icing conditions at 8000 feet. Within moments the AHRS begins to malfunction along with other components of the glass panel display. Backup instruments and GPS ground speed are used perform an ILS approach to landing. The reporter is informed by his avionics shop that loss of pitot input can cause loss of AHRS function. He believes that the system should be designed to operate normally with loss of pitot input.


Deviation - Altitude Excursion From Assigned Altitude; Deviation - Speed All Types; Deviation / Discrepancy - Procedural Published Material / Policy; Ground Event / Encounter Loss Of Aircraft Control; Inflight Event / Encounter Weather / Turbulence

Air Traffic Control Issued New Clearance; Flight Crew Requested ATC Assistance / Clarification; Flight Crew Regained Aircraft Control

At 32000 ft. just north of PUB the aircraft experienced Moderate to Severe turbulence. About 10 minutes before the incident the aircraft was in continuous light chop due to cloud tops. Seatbelt sign was on and PA was made by Pilot Monitoring and Pilot Flying reduced thrust to Mach .76. Pilot Monitoring contacted ATC for rides above; at about that time the airspeed began to show a decreasing trend and the Pilot Flying added power to adjust; airspeed continued to decrease and the Pilot Flying added even more power. At about that time the turbulence started and the right wing dropped and aircraft bank angles showed in excess of 50 degrees kicking off autopilot. Airspeed loss was an excess of 30-40 kts. whereby Pilot Flying applied max power. Barber poles came together however no overspeed or stall warning occurred. The aircraft lost at least 500 ft. during upset recovery with no excessive force to the aircraft. After recovery Pilot Monitoring requested an immediate climb due to Moderate to Severe turbulence up to 36000 ft. and was given 33000 ft. ATC gave us a frequency change and got an immediate climb to 36000 ft.; with no further incident.  During upset recovery aircraft lost at least 500 ft. This is an approximate guess by the pilots since the loss of airspeed and power at firewall along with excessive bank angles were in the primary scan. ATC gave an immediate climb clearance and crew complied. No further action was taken. Keep seat belt sign on when crossing know turbulent areas like over the Rockies; even when weather radar; and ATC aren't reporting anything. Keep the Flight Attendant's informed and always give those important PA's to passengers 'when seated to keep those seatbelts securely fastened in case we hit any unexpected turbulence'. Because it really does happen!

B737 First Officer reported unexpected moderate to severe turbulence caused a temporary loss of control.


The First Officer performed the cruise checklist when directed to. He noticed the differential pressure to be about 5.5 PSI and the cabin altitude climbing past 10;000 FT at FL240. With no master warning or warning light we descended to FL200. The differential pressure lowered and the cabin altitude read below 8;000 FT.

DHC8-100 Captain experiences a high cabin altitude at FL240 with no associated cabin altitude warning. Flight descends to FL200 and cabin altitude descends below 8;000 FT.


MD-80 Series (DC-9-80) Undifferentiated or Other Model

ATC Issue All Types; Conflict Ground Conflict; Critical

Flight Crew Executed Go Around / Missed Approach

While working the Handoff position; I observed an A320; on landing roll Runway XXL; roll past the G3 exit. Exits G2 and G1 were occupied; leaving no 'normal' exits available. The A320 could have been instructed to turn left onto Taxiway Hotel; away from the terminal area. I advised the Local Controller that I thought he should send an MD80 around. The MD80 executed a go-around on his own. The FLM was notified. In the process of reviewing the QAR; the Quality Assurance office determined that the MD80 had passed the landing threshold; without being sent around; while the A320 was still on the runway; resulting in an Operator Error. Recommendation: turn the A320 left onto the open taxi; MAKE SURE the Local Controller heard my recommendation to send the MD80 around; cross the previous 'arrived' aircraft sooner; allowing the exits to be available.

Tower Controller described a go around event when two taxiway exits were blocked and the Local Controller elected not to use a turn off opposite the terminal.


Aircraft Aircraft Damaged; Flight Crew Diverted; Flight Crew Landed in Emergency Condition

We were at cruise flight at FL330. Approx. 30 minutes into cruise flight; in smooth air; we experienced a relatively intense shudder in the aircraft. During this shudder; an audible bang could be heard; although it wasn't very loud in the cockpit. The captain and I both immediately noticed that the N1 and N2 indications for the #2 engine were both rolling back; and the EGT was immediately maxed out. We both agreed that we had lost the right engine; and with the shudder; bang; and high EGT; we suspected engine damage. We [notified ATC] and started a descent. The flight attendants immediately started chiming; and I asked them to standby; as we were trying to deal with the situation.After we started the descent; I began going through the QRH. Upon completion of the checklist; I contacted dispatch and informed them that we were diverting which had already been coordinated with ATC. Our dispatcher was very helpful. He did a great job coordinating with and our station operations. He also gave us the weather.After returning from speaking with dispatch I called back to the flight attendants. It had probably been ten minutes at this point since I had asked them to standby and I commended them for their professionalism. They had obviously been calling up to tell us about the odd engine noise and vibration they heard and after they were asked to standby; they immediately went into action preparing the cabin for landing. By the time I called back to them they were already seated and ready to land.I informed them that we had an engine failure; were diverting and would be on the ground in 15 minutes; and that we didn't anticipate needing to evacuate. Next I briefed the passengers; and informed them that we had an issue with one of our engines; and gave them the same info regarding the landing airport and time remaining. We completed the single engine approach to landing checklist; and the single engine landing checklist.The Captain made a beautiful landing; and the rollout and taxi to the gate were uneventful. Emergency services were standing by on the ramp when we landed and they followed us to our parking spot. I want to compliment Captain on the job he did handling this emergency. He was calm and composed throughout; and did a great job getting the plane safely on the ground.As a line pilot; I don't want to assume that I know our maintenance practices; however; it seems that we push the engines on our fleet past the point that they should be run. Our operations program allows us to operate engines at a higher temperature simply because they can't operate under normal takeoff power settings without exceeding temperature limitations. This seems to be causing our engines to fail more often.

Flight crew experienced an engine failure during cruise. They diverted to a nearby suitable field followed by a normal landing.


Small Aircraft; High Wing; 1 Eng; Fixed Gear

Air Traffic Control Time Certified In Pos 1 (yrs) 6

Training / Qualification; Distraction; Situational Awareness; Communication Breakdown

Air Traffic Control Issued Advisory / Alert; Flight Crew Became Reoriented

Human Factors; Procedure; Aircraft; Airport

I was working the Local 1 position; training in progress. The traffic pattern was getting unwieldy; so I took over and started to clean up the sequence. Aircraft X was number 1 on 3 mile final Runway 3R. Three aircraft were on the downwind; extended to follow Aircraft X. I saw what I thought was Aircraft Y cut out Aircraft X; but realized it was Aircraft X appearing to be on right base Runway 3R; inside the downwind. I re-cleared Aircraft X; and that was when Aircraft Z advised NMAC with Aircraft X.The pilot of Aircraft X should have advised me what he was doing; especially if it was safety related (birds; for instance). I could have at the very least called traffic.

PRC Local Controller observed an aircraft that had been established on final maneuvered on its own to a base leg position on a conflicting course with downwind traffic.


Flight Crew Last 90 Days 144; Flight Crew Type 1420

ATC Issue All Types; Deviation - Track / Heading All Types; Deviation / Discrepancy - Procedural Clearance

Air Traffic Control Issued New Clearance; Flight Crew Executed Go Around / Missed Approach; Flight Crew Requested ATC Assistance / Clarification

We were cleared for Visual Approach to Runway 22 at ELP. The ILS to Runway 22 was NOTAM'd out of service. High on final; PF began a left S-turn. BIF (Biggs AAF) prevented turns to the right. ELP Tower indicated that left S-turn was approved; and MAY have used the word 'east' during the garbled transmission. Tower transmitted; at least once; possibly twice; to other company call sign (not our callsign) to climb to 7000 with no response. To clarify the previous call; the PM transmitted 'call sign'. Tower transmitted to (Other Company call sign) to climb 7000 followed by something garbled. Unsure that our landing permission was still valid; the PM asked to 'Verify (call sign) is still cleared to land on 22'.  Tower responded: '(call sign) climb to 7000.' No standard phraseology was used to indicate that our landing clearance was cancelled; to go around or to perform a missed approach.PF initiated go-around at approximately 5000 MSL/1500 AGL. Runway heading pointed directly towards the Mexican border and Ciudad Juarez. A turn to the left was not prudent due to traffic on approach to other runway at ELP. A turn to the right was not prudent due to the 7900 terrain west of ELP and BIF. During the entire event; no TA or RA warning was received. PM repeatedly requested a turn and was again cleared to climb to 7000 and to contact Departure; with no frequency given. PM requested frequency and never received a Tower response. Now; heads down in the cockpit during the Missed Approach procedure; the PM located the Approach frequency on the ILS 22 page; which happened to be the standby frequency on the COMM 1 Radio. (Usually this frequency would have already been replaced with the Ground frequency; but due to task saturation; this had not yet occurred.) El Paso Departure directed a climb to 9000; then a right turn to heading 350. An uneventful downwind; vectors to the Visual Approach and landing on Runway 22 followed.Clear communications are paramount. When in doubt; verify any ambiguous directions. My initial concern was the border that we were approaching. Many with military backgrounds are extra cautious when it comes to international borders; especially as some are more critical than others. Neither the Captain nor ATC seemed to share my concerns; as border crossings are common in this area; where El Paso Approach handles traffic into airports on both sides of the border.

B737 First Officer reported very confusing ATC communications while on a visual approach to ELP Runway 22.


The agreement in question involves number in [[ nouns ]] and << reflexive pronouns >> and is syntactic rather than semantic in nature because grammatical number in English , like grammatical gender in languages such as French , is partly arbitrary .


The agreement in question involves number in nouns and reflexive pronouns and is syntactic rather than semantic in nature because grammatical number in English , like [[ grammatical gender ]] in << languages >> such as French , is partly arbitrary .


The agreement in question involves number in nouns and reflexive pronouns and is syntactic rather than semantic in nature because grammatical number in English , like grammatical gender in << languages >> such as [[ French ]] , is partly arbitrary .


In this paper , a novel [[ method ]] to learn the << intrinsic object structure >> for robust visual tracking is proposed .


In this paper , a novel method to learn the [[ intrinsic object structure ]] for << robust visual tracking >> is proposed .


The basic assumption is that the << parameterized object state >> lies on a [[ low dimensional manifold ]] and can be learned from training data .


Based on this assumption , firstly we derived the [[ dimensionality reduction and density estimation algorithm ]] for << unsupervised learning of object intrinsic representation >> , the obtained non-rigid part of object state reduces even to 2 dimensions .


Secondly the << dynamical model >> is derived and trained based on this [[ intrinsic representation ]] .


Thirdly the learned [[ intrinsic object structure ]] is integrated into a << particle-filter style tracker >> .


We will show that this intrinsic object representation has some interesting properties and based on which the newly derived [[ dynamical model ]] makes << particle-filter style tracker >> more robust and reliable .


german business confidence slides german business confidence fell in february knocking hopes of a speedy recovery in europe s largest economy.  munich-based research institute ifo said that its confidence index fell to 95.5 in february from 97.5 in january  its first decline in three months. the study found that the outlook in both the manufacturing and retail sectors had worsened. observers had been hoping that a more confident business sector would signal that economic activity was picking up.   we re surprised that the ifo index has taken such a knock   said dz bank economist bernd weidensteiner.  the main reason is probably that the domestic economy is still weak  particularly in the retail trade.  economy and labour minister wolfgang clement called the dip in february s ifo confidence figure  a very mild decline . he said that despite the retreat  the index remained at a relatively high level and that he expected  a modest economic upswing  to continue.  germany s economy grew 1.6% last year after shrinking in 2003. however  the economy contracted by 0.2% during the last three months of 2004  mainly due to the reluctance of consumers to spend. latest indications are that growth is still proving elusive and ifo president hans-werner sinn said any improvement in german domestic demand was sluggish. exports had kept things going during the first half of 2004  but demand for exports was then hit as the value of the euro hit record levels making german products less competitive overseas. on top of that  the unemployment rate has been stuck at close to 10% and manufacturing firms  including daimlerchrysler  siemens and volkswagen  have been negotiating with unions over cost cutting measures. analysts said that the ifo figures and germany s continuing problems may delay an interest rate rise by the european central bank. eurozone interest rates are at 2%  but comments from senior officials have recently focused on the threat of inflation  prompting fears that interest rates may rise.


bbc poll indicates economic gloom citizens in a majority of nations surveyed in a bbc world service poll believe the world economy is worsening.  most respondents also said their national economy was getting worse. but when asked about their own family s financial outlook  a majority in 14 countries said they were positive about the future. almost 23 000 people in 22 countries were questioned for the poll  which was mostly conducted before the asian tsunami disaster. the poll found that a majority or plurality of people in 13 countries believed the economy was going downhill  compared with respondents in nine countries who believed it was improving. those surveyed in three countries were split. in percentage terms  an average of 44% of respondents in each country said the world economy was getting worse  compared to 34% who said it was improving. similarly  48% were pessimistic about their national economy  while 41% were optimistic. and 47% saw their family s economic conditions improving  as against 36% who said they were getting worse.  the poll of 22 953 people was conducted by the international polling firm globescan  together with the program on international policy attitudes (pipa) at the university of maryland.  while the world economy has picked up from difficult times just a few years ago  people seem to not have fully absorbed this development  though they are personally experiencing its effects   said pipa director steven kull.  people around the world are saying:  i m ok  but the world isn t .  there may be a perception that war  terrorism and religious and political divisions are making the world a worse place  even though that has not so far been reflected in global economic performance  says the bbc s elizabeth blunt.  the countries where people were most optimistic  both for the world and for their own families  were two fast-growing developing economies  china and india  followed by indonesia. china has seen two decades of blistering economic growth  which has led to wealth creation on a huge scale  says the bbc s louisa lim in beijing. but the results also may reflect the untrammelled confidence of people who are subject to endless government propaganda about their country s rosy economic future  our correspondent says. south korea was the most pessimistic  while respondents in italy and mexico were also quite gloomy. the bbc s david willey in rome says one reason for that result is the changeover from the lira to the euro in 2001  which is widely viewed as the biggest reason why their wages and salaries are worth less than they used to be. the philippines was among the most upbeat countries on prospects for respondents  families  but one of the most pessimistic about the world economy. pipa conducted the poll from 15 november 2004 to 3 january 2005 across 22 countries in face-to-face or telephone interviews. the interviews took place between 15 november 2004 and 5 january 2005. the margin of error is between 2.5 and 4 points  depending on the country. in eight of the countries  the sample was limited to major metropolitan areas.


lifestyle  governs mobile choice  faster  better or funkier hardware alone is not going to help phone firms sell more handsets  research suggests.  instead  phone firms keen to get more out of their customers should not just be pushing the technology for its own sake. consumers are far more interested in how handsets fit in with their lifestyle than they are in screen size  onboard memory or the chip inside  shows an in-depth study by handset maker ericsson.  historically in the industry there has been too much focus on using technology   said dr michael bjorn  senior advisor on mobile media at ericsson s consumer and enterprise lab.  we have to stop saying that these technologies will change their lives   he said.  we should try to speak to consumers in their own language and help them see how it fits in with what they are doing   he told the bbc news website.  for the study  ericsson interviewed 14 000 mobile phone owners on the ways they use their phone.  people s habits remain the same   said dr bjorn.  they just move the activity into the mobile phone as it s a much more convenient way to do it.   one good example of this was diary-writing among younger people  he said. while diaries have always been popular  a mobile phone -- especially one equipped with a camera -- helps them keep it in a different form. youngsters  use of text messages also reflects their desire to chat and keep in contact with friends and again just lets them do it in a slightly changed way. dr bjorn said that although consumers do what they always did but use a phone to do it  the sheer variety of what the new handset technologies make possible does gradually drive new habits and lifestyles. ericsson s research has shown that consumers divide into different  tribes  that use phones in different ways. dr bjorn said groups dubbed  pioneers  and  materialists  were most interested in trying new things and were behind the start of many trends in phone use.  for instance   he said   older people are using sms much more than they did five years ago.  this was because younger users  often the children of ageing mobile owners  encouraged older people to try it so they could keep in touch.  another factor governing the speed of change in mobile phone use was the simple speed with which new devices are bought by pioneers and materialists. only when about 25% of people have handsets with new innovations on them  such as cameras  can consumers stop worrying that if they send a picture message the person at the other end will be able to see it.  once this significant number of users is passed  use of new innovations tends to take off. dr bjorn said that early reports of camera phone usage in japan seemed to imply that the innovation was going to be a flop. however  he said  now 45% of the japanese people ericsson questioned use their camera phone at least once a month. in 2003 the figure was 29%. similarly  across europe the numbers of people taking snaps with cameras is starting to rise. in 2003 only 4% of the people in the uk took a phonecam snap at least once a month. now the figure is 14%. similar rises have been seen in many other european nations. dr bjorn said that people also used their camera phones in very different ways to film and even digital cameras.  usage patterns for digital cameras are almost exactly replacing usage patterns for analogue cameras   he said. digital cameras tend to be used on significant events such as weddings  holidays and birthdays. by contrast  he said  camera phones were being used much more to capture a moment and were being woven into everyday life.


howard  truanted to play snooker  conservative leader michael howard has admitted he used to play truant to spend time with his school friends at a snooker hall.  mr howard said his time at jack s snooker hall in llanelli in the 1950s had not done him  any lasting damage . but he told the times educational supplement that truancy was  very bad  and said  firm action  was needed. mr howard also called for a return to o-levels and more classroom discipline.  mr howard eventually left llanelli grammar school - and the snooker hall - to go to cambridge university. he said:  i don t think it s done me any lasting damage. nor has it made me a snooker world champion.  there might have been some occasions when we left early of an afternoon.   i m just being honest. i think truancy is a very bad thing and that firm action should be taken to deal with it.  another player who has failed to win snooker s world championship - jimmy  the whirlwind   white - has previously admitted missing lessons  instead spending his days in smoky halls.  tony meo [another player] and me used to spend all of our spare time there   mr white said   we loved the game and the atmosphere.  school went out of the window. i went for a while and then started taking time off.  mr howard s fellow welshman ray reardon - known by his fellow professionals as  dracula  - won the snooker world championship six times  having left school at 14 to work as a miner. and terry griffiths  like mr howard from llanelli  won the tournament in 1979. it is not known whether the two of them ever clashed cues at jack s.


wales silent on grand slam talk rhys williams says wales are still not thinking of winning the grand slam despite a third six nations win.   that s the last thing on our minds at the moment   said williams  a second- half replacement in saturday s 24-18 win over france in paris.  we all realise how difficult a task it is to go up to scotland and beat them.  we ve come unstuck there a couple of times recently so our focus is on that game and we ll worry about ireland hopefully after we ve beaten scotland.  with captain gareth thomas ruled out of the rest of the campaign with a broken thumb  williams is vying for his first start in the championship so far.  kevin morgan is probably favourite to replace thomas at full-back  leaving williams and hal luscombe to battle for the right wing berth. a hamstring injury denied luscombe the opportunity to make a third successive start  but the dragons winger is expected to be fit for the trip to murrayfield on 13 march. hooker robin mcbryde is doubtful after picking up a knee injury in paris  but centre sonny parker and flanker colin charvis are set to recover from injury to be in contention for selection. said wales assistant coach scott johnson:  they ve worked through the weekend and the reports are a bit more positive.  so we re getting a couple back and that adds to the depth of the squad.  scotland secured their first win of the campaign on saturday by grinding out an 18-10 win over italy.  matt williams  side has shown little in attack  but johnson insisted the scots will be difficult opposition to break down.  italy are really brave opposition and sometimes it s very hard to win   he said.  so an ugly win can be just as effective as a 30 or 40 point victory.  scotland are a hard side and very underrated so we re not taking anything for granted.  we re not basking in the glory of winning our first three games. we ve got to be diligent in our preparation.  that s my job and we ve got to make sure we re focused.


french honour for director parker british film director sir alan parker has been made an officer in the order of arts and letters  one of france s highest cultural honours.  sir alan received his decoration in paris on wednesday from french culture minister renaud donnedieu de vabres.  you have explored the possibilities of film with an immense talent   mr de vabres said as he presented the award. parker praised french films  saying:  hollywood  which created modern cinema  uses it only as a commodity.  he told the minister:  i am honoured to be thus distinguished by france  the flag carrier of cinema throughout the world.  sir alan s films include oscar-winning fame plus midnight express and the commitments.  a founding member of the director s guild of great britain  he is a former chairman of the uk film council and on the board of the british film institute.  through your work and your campaigns  you have shown us how the artist occupies an essential place in our contemporary society   mr de vabres said.  through your dreams which you show us  through the links that you weave  you question the world through the mirror of your work.  he also cited the director s 2003 film the life of david gale  in which kevin spacey played a man on death row  as proof of his  veritable artistic commitment against the death sentence .


car giant hit by mercedes slump a slump in profitability at luxury car maker mercedes has prompted a big drop in profits at parent daimlerchrysler.  the german-us carmaker saw fourth quarter operating profits fall to 785m euros ($1bn) from 2.4bn euros in 2003. mercedes-benz s woes - its profits slid to just 20m euros - obscured a strong performance from the chrysler group whose returns met market expectations. mercedes faces fierce competition in the luxury car sector from bmw and but hopes to revive its fortunes by 2006.  mercedes  profits over the period compared unfavourably with 2003 s 784m euro figure and were well below analyst expectations of 374m euros. for the year as a whole  its operating profits fell 46% to 1.6bn euros. sales of mercedes  brands fell 2% as demand cooled  while revenues were affected by the weakness of the us dollar.  the carmaker blamed the fall in profits on high launch costs for new models and losses from its mercedes smart mini-car range. mercedes is hoping to increase productivity by 3bn euros  having negotiated 500m euros in annual savings with german workers last year. the firm said it was determined to retain mercedes  position as the world s most successful luxury brand. however  daimlerchrysler s shares fell 1.5% on the news.  while all these divisions are doing well the big worries continue to surround mercedes-benz   michael rabb  an analyst with bank sal oppenheim  told reuters.  in contrast  chrysler enjoyed a 5% annual increase in unit sales while revenues - calculated in us dollars - rose 10%. the us division - whose marques include dodge and jeep - transformed a full year operating loss of 506m euros in 2003 into a 1.4bn euros profit last year.  overall  daimlerchrysler saw worldwide vehicle sales rise 8% to 4.7 million in 2004 while total revenues added 4% to 142bn euros. chrysler s strong performance helped the world s fifth largest carmaker boost net income by 400m euros to 2.5bn euros.   the year 2004 shows that our strategy works well - even in such a challenging competitive environment   said jurgen schrempp  daimlerchrysler s chairman. daimlerchrysler took a 475m euro hit in costs stemming from a defects scandal at its joint venture  japanese subsidiary fuso. daimlerchrysler last week agreed a compensation package with partner mitsubishi motors which will see it buy out its stake in fuso. looking forward  daimerchrysler s profits are expected to be slightly higher in 2005. however  it is expecting  significant improvements  in profitability in 2006 as a result of a major investment in the mercedes product range.


Something


Input: [Tourist Attraction Category] Bars [Tourist Attraction Type] Bars [Venue Name] Cracked Conch [Price Range] $20 [Rating] Not Rated [Value Rating] Not Rated Beauiful Tiki Bar [Hours of Operation]

Output: Morning to Evening


Input: [Tourist Attraction Category] Bars [Tourist Attraction Type] Piano Bars [Venue Name] Grand Old House [Price Range] $10 [Rating] Not Rated [Value Rating] Not Rated One of the oldest Bar in Grand Cayman located inside of the Grand Old House [Hours of Operation]

Output: Evening Only


Input: [Tourist Attraction Category] Land Tourist Attractions [Tourist Attraction Type] Art Galleries [Venue Name] Grand Old House [Price Range] Free [Rating] Not Rated [Value Rating] Not Rated Monthly changing exhibitions from local artists [Hours of Operation]

Output: Morning to Evening


Input: [Tourist Attraction Category] Live Music [Tourist Attraction Type] Instrumental [Venue Name] Cracked Conch [Price Range] Free [Rating] Not Rated [Value Rating] Not Rated Different entertainment every evening [Hours of Operation]

Output: Evening Only


Input: [Tourist Attraction Category] Live Music [Tourist Attraction Type] Instrumental [Venue Name] Grand Old House [Price Range] Free [Rating] Not Rated [Value Rating] Not Rated Live Piano Music from 6.30 PM - 10.30 PM [Hours of Operation]

Output: Evening Only


Input: [Tourist Attraction Category] Water Tourist Attractions [Tourist Attraction Type] Beaches [Venue Name] Ebanks Watersports [Price Range] $150 [Rating] Not Rated [Value Rating] Not Rated Jet Ski snorkel tours off the famous Seven Mile Beach to a ship wreck and a coral reef. 2hrs. [Hours of Operation]

Output: Morning to Evening


Input: [Tourist Attraction Category] Water Tourist Attractions [Tourist Attraction Type] Scuba Diving [Venue Name] Cracked Conch [Price Range] $20 [Rating] Not Rated [Value Rating] Not Rated Dive shop located right downstairs [Hours of Operation]

Output: Morning to Evening


Input: [Tourist Attraction Category] Water Tourist Attractions [Tourist Attraction Type] Boat Rides [Venue Name] Ebanks Watersports [Price Range] $500 [Rating] Not Rated [Value Rating] Not Rated Pirvate charter boat tour to Stingray City, The Barrier Reef, Coral Gardens and Rum Point for lunch and a beach break. [Hours of Operation]

Output: Morning to Evening


Input: [Tourist Attraction Category] Water Tourist Attractions [Tourist Attraction Type] Sailing [Venue Name] SevenSeasCharters [Price Range] Free [Rating] Not Rated [Value Rating] Not Rated Seeking the experience of a new culture, a bit of adventure and to be his own boss, he relocated to Central America where he established and operated his own successful cattle farming business which was later sold. [Hours of Operation]

Output: Morning to Evening


Input: [Tourist Attraction Category] Water Tourist Attractions [Tourist Attraction Type] Snorkeling [Venue Name] Cracked Conch [Price Range] $35 [Rating] Not Rated [Value Rating] Not Rated Best diving location in Grand Cayman [Hours of Operation]

Output: Morning to Evening


hide new secretions from the parental units


contains no wit , only labored gags

contains no wit , only labored gags


that loves its characters and communicates something rather beautiful about human nature


remains utterly satisfied to remain the same throughout


that 's far too tragic to merit such superficial treatment


demonstrates that the director of such hollywood blockbusters as patriot games can still turn out a small , personal film with an emotional wallop .


of saucy

of saucy


a depressed fifteen-year-old 's suicidal poetry


are more deeply thought through than in most ` right-thinking ' films


Dog walkers have been warned about deliberate attempts to kill their animals after cocktail sausages laced with poison were found at a popular walking spot. A clutch of sausages stuffed with poisons were found on the Cuckoo Trail, a path running from Hampden Park to Heathfield near Hailsham. The grim discovery comes after a spate of dog poisonings in nearby Brighton and Hove, and dog owners are now being warned by Sussex Police to be aware when they are out walking their animals. A man out walking his dog found a clutch of cocktail sausages with poisonous pellets inserted into them . The cocktail sausages were so densely packed with the poison that eating just one could have killed a dog. They were found hidden among grass on the trail. Photos of the Cuckoo Trail sausages were posted on the Doggy Style pet service page. The post said 'Walking along the Cuckoo trail in Hailsham at approximately 6pm this evening, I have found a quantity of cocktail sausages that appear to have a as of yet an unknown substance deliberately inserted into them. 'So this post is hopefully to help make other owners aware of the possible dangers. The sausages were loaded with the poison (left) and found hidden among the grass (right) on the trail . 'Thankfully I have a search dog that is able to indicate if something doesn't smell right, but please watch any dog off the lead as they were not in eye sight but easily consumed and in multiple places along the trail. 'Hopefully this is the action of some bored mis-guided youth, (which I'm sure this isn't the case!) but personally I find this premeditated, calculated with actions of someone who knows what they are doing.' Dogs that have been poisoned may show the following symptoms; . * Vomiting . * Diarrhoea . * Seizures . * Blood in the stool . * Lethargy . * Loss of appetite . * Bruising . * Nosebleeds . * Discoloured gums . If dogs display any of these symptoms they should be taken to a vet straight away. If possible take the packaging or sample of the poison with you. Do not attempt to medicate dogs yourself, or encourage them to vomit using salt water. If the skin or fur is damaged wash them with a mild shampoo and rinse well with water. Keep poisoned dogs away from other animals to avoid cross contamination.

A dog owner found cocktail sausages laced with poison when walking pet .
The clutch of sausages were hidden among the grass on the Cuckoo Trail .
Each sausage packed with so much poison one could have killed a dog .
Sussex Police is warning dog owners about spate of poisonings in the area .

a clutch of sausages stuffed with poisons were found on the cuckoo trail <q> grim discovery comes after a spate of dog poisonings in nearby brighton and hove <q> dog owners are now being warned by sussex police to be aware when they are out walking their animals

a path running from hampden park to heathfield near hailsham .
comes after a spate of dog poisonings in nearby brighton and hove .
the cocktail sausages were so densely packed with the poison that eating just one could have killed a dog .
a man out walking his dog found a clutch of sausages with poisonous pellets .

sausages stuffed with poisons were found on the cuckoo trail in hailsham <q> they were found hidden among grass on the trail , a path running from hampden park to heathfield near hailsham <q> photos of the sausages were posted on pet service page and posted on the doggy style pet service dogs that have been poisoned may show the following symptoms

cocktail sausages with poison pellets inserted into them found on cuckoo trail . man out walking his dog found clutch of the deadly sausage on the trail in hailsham . sussex police warn dog owners to be aware when out walking their animals .

a clutch of cocktail sausages stuffed with poison were found on the cuckoo trail <q> grim discovery comes after a spate of dog poisonings in nearby brighton and hove <q> dog owners are now being warned by sussex police to be aware when they are out walking their animals

walkers have been warned about deliberate attempts to kill their animals .
grim discovery comes after a spate of dog poisonings in nearby brighton and hove .
dog owners now being warned by sussex police to be aware when they are out walking their animals .


Hong Kong (CNN)An impressive art collection assembled by the late actress and Hollywood icon, Lauren Bacall, has officially been offered for purchase. The collection, which includes works by some of the greatest artists of the 20th century, went under the hammer in New York on March 31, following a tour of Hong Kong, Paris, London and Los Angeles. Bacall, who died in August 2014 at the age of 89, first shot to international fame in 1944 with her first film, "To Have And Have Not." That was also when the husky-voiced starlet met her future husband, Humphrey Bogart. At the recent 2015 Golden Globes, George Clooney paid tribute to the silver screen queen in his award winning speech. "I don't remember what awards Lauren Bacall won, I just remember her saying: 'You know how to whistle, don't you Steve. You just put your lips together and blow.'" said Clooney, referring to one of her most legendary lines from her first movie. The 750-piece collection, which fetched a total of $3.64 million, featured bronze sculptures, jewelry, and a number of decorative arts and paintings, which were sold at Bonhams auction house in New York. "Her collection is truly a reflection of her extraordinary taste and remarkable life," said Jon King, Bonhams' vice president. Among the 50 items highlighted in the auction preview were six bronze maquettes by Henry Moore, Britain's greatest 20th century sculptor and one of Bacall's favorite artists, whom she developed a close relationship with. One of them sold for close to $120,000. Also for sale were some of Bacall's most loved jewelry pieces, created by legendary French designer Jean Schlumberger, most known for his work at Tiffany & Co. A rose diamond camel brooch by British jeweler Elizabeth Gage fetched $23,750 and was accompanied by the original drawing and correspondence from the designer, which shows the close-knit relationship Bacall had with Gage. The wide-ranging collection was expected to appeal to a variety of collectors: fine arts and antiques dealers, fans of Lauren Bacall and Humphrey Bogart, as well as memorabilia enthusiasts. Most of the items auctioned come from the apartment in New York's Dakota Building that she shared with her second husband, actor Jason Robards, until 1969. But King said fans of Humphrey Bogart would have been pleased to know some of the items were also from their shared residence in Los Angeles. King, who got to know Bacall in her late years, said the collection reflects the actress' eclectic taste, and there was only one principle she applied to collecting: . "Everything had to kind of speak to her, to catch her eye. She loved form, she loved texture, she loved color. And she loved mixing it all up. She said that when you walked into her house, what she liked was that it was never boring," King said. "You could walk into the same room a hundred times, and see something new every time."

A collection of 750 items belonging to legendary actress Lauren Bacall has been auctioned off at Bonhams in New York .
Highlights from the lot, which fetched $3.6 million, include bronze sculptures, jewelry, and a number of decorative arts and paintings .

lauren bacall 's collection includes works by some of the greatest artists of the 20th century <q> the 750-piece collection , which fetched a total of $ 3.64 million , went under the hammer in new york on march 31

lauren bacall has officially been offered for purchase .
collection includes works by some of greatest artists of the 20th century .
the 750-piece collection fetched a total of $ 3.64 million .
bacall died in 1944 with her first film , `` to have and have not ''

the 750-piece collection , which fetched a total of $ 3.64 million , featured bronze sculptures , jewelry , and a number of decorative arts and paintings <q> among the 50 items highlighted in the auction preview were six bronze maquettes by henry moore , britain 's greatest 20th century sculptor and one of bacall 's favorite artists

lauren bacall 's art collection sold for $ 3.64 million . 750-piece collection includes works by some of the greatest artists of the 20th century . items sold at bonhams auction house in new york . bacall died in august 2014 at the age of 89 .

the 750-piece collection includes pieces by some of the greatest artists of the 20th century <q> bacall shot to international fame in 1944 with her first film , " to have and have not " <q> the wide-ranging collection was expected to appeal to a variety of collectors

the collection includes works by some of the greatest artists of the 20th century .
george clooney paid tribute to the silver screen queen in his award winning speech .
bacall , who died in august 2014 at the age of 89 , first shot to international fame in 1944 with her first film , `` to have not .
you know how to whistle , do n't you steve .


(CNN)Thinking about presidential candidates?  Apparently, hormones are a major factor one should consider. According to one female businesswoman in Texas, Hillary Clinton shouldn't be president because her hormones might make her so irrational she'll start an unnecessary war. When George W. Bush waged an unnecessary war in Iraq -- was his testosterone to blame? As Cheryl Rios, the CEO of Go Ape Marketing, sees it: "We're built differently, we have different hormones. In the world that we live in, I understand that there's equal rights and that's a wonderful thing and I support all of that. I don't support a woman being president." "With the hormones we have there is no way we should be able to start a war," Rios wrote in a Facebook post. If Rios is concerned about hormones impacting decisions in the Oval Office, she'd be better off worrying about the male candidates for president. Throughout history, male hormones have indeed impaired some male leaders' decision-making. Studies show that women leaders take fewer unnecessary risks than their male counterparts. If science doesn't convince you, just Google "cheating politicians" for the long and sordid list of men like Arnold Schwarzenegger, Mark Sanford and John Edwards, whose hormones got the best of them. Rios has taken a lot of flak for her "biblically" inspired beliefs, but she's not the only one who's arguing that a woman's hormones are a legitimate leadership concern. Time magazine declared Hillary Clinton the "perfect" age to be president, because she's a postmenopausal woman who is "biologically primed" to lead. (She also happens to be a former first lady, senator and secretary of state.) I'm not joking. Believe me, I wish I were. No wonder Jon Stewart left "The Daily Show" before the election cycle ramps up in full swing. If discussions about a candidate's hormones are what we have to look forward to, the state of presidential politics is depressing indeed. But underneath the biochemistry debate is a much scarier consideration: The bias against women in the workplace is so well established that even in 2015, a female candidate will be hard-pressed to get elected unless we have a serious discussion about ending gender bias. We want to believe that we live in a world where our daughters can do anything and be anything. And you'd think they could -- they outnumber boys in college, graduate school and the work force. But what will limit their potential is not biochemistry or ability, but a bias in how women and girls are viewed. Unfortunately, Cheryl Rios' view of women is not unique. Some people believe women have "our place" and that place is not at the table. They'll tell your daughter to "go for it" but believe she isn't qualified to fulfill her dreams. In a compelling series about women and work, Wharton School professor Adam Grant and Facebook COO Sheryl Sandberg lay out the startling facts about the bias women face at work and the profound benefit of eradicating gender stereotypes. The evidence of bias is undeniable and the examples are endless. It's overt: There are more men on corporate boards named John, Robert, William or James than there are women on boards altogether. The bias is also covert: When students rate their favorite professors, they describe the men as "geniuses" and the women as "nice." The bias is real, yet so many of us are blind to it. Hillary Clinton might not be the perfect candidate, but the fact that she is a woman will make her road to the White House a much steeper climb. That's not just a problem for Democrats -- it's a problem for Republicans, Independents, everyone. The fact is, equality benefits everyone. It's better for the bottom line (companies with more women in leadership roles make more money).  It's great for kids because children with involved fathers are happier, healthier, and more successful. It's great for marriages because couples that share responsibilities have stronger marriages.  And it's great for corporate teams because diverse teams and companies produce better results. Our nation, our economy and our families would be much stronger if half of our companies were run by women and half of our households were run by men. It's not enough to say to our daughters: "You can be anything you want to be." What we need to say is: "You can be anything you want to be, despite what some people might think -- and what they think is wrong." Rios said that if Clinton is elected, she is "moving to Canada" because "a female shouldn't be president."  Apparently Rios knows as much about women and leadership as she knows about Canada: Kim Campbell became the country's first female prime minister in 1993. Correction: An earlier version of this article incorrectly stated that Canadians elected their first female prime minister, Kim Campbell.

A businesswoman worries that if Hillary Clinton becomes president, her hormones will make her go to war .
Mel Robbins: What's scary is that the bias against women in the workplace is still going strong in 2015 .

stephanie coontz : hillary clinton 's hormones make her so irrational she 'll start an unnecessary war <q> coontz : male hormones have impaired some male leaders ' decision-making

when george w. bush waged an unnecessary war in iraq .
one female businesswoman in texas , hillary clinton should n't be president because her hormones might make her so irrational .
studies show women leaders take fewer unnecessary risks than their male counterparts .
rios is concerned about hormones impacting decisions in the oval office .

peggy drexler : hillary clinton should n't be president because her hormones might make her so irrational she 'll start an unnecessary war <q> she says women leaders take fewer unnecessary risks than their male counterparts <q> drexler : if science does n't convince you , just google " cheating politicians " for the long and sordid list of men like arnold schwarzenegger , mark sanford and john edwards

a texas businesswoman says hillary clinton should n't be president because of her hormones . peggy drexler : hormones are a legitimate concern , but male candidates have also had problems . she says the real problem is bias against women in the workplace . drexle : we need to end gender bias and have a discussion about equality .

donna brazile : hillary clinton should n't be president because her hormones might make her so irrational she 'll start an unnecessary war <q> brazile : women leaders take fewer unnecessary risks than their male counterparts <q> she says we need a serious discussion about ending gender bias in the workplace

hillary clinton should n't be president because her hormones might make her so irrational she 'll start an unnecessary war .
if rios is concerned about hormones impacting decisions in the oval office , she 'd be better off worrying about the male candidates for president .


(CNN)Thousands sought refuge in temporary shelters in South Africa after mobs with machetes attacked immigrants in Durban, leaving at least five people dead, an aid group said Thursday. Heavily armed police have scrambled to stop clashes this week after local residents accused immigrants from other African nations of taking their jobs. The attacks in Durban killed two immigrants and three South Africans, including a 14-year-old boy, authorities said. "There has been an outpouring of support from ordinary South Africans who are disgusted with the attacks not only because they are foreign, or African, but because they are fellow human beings," said Gift of the Givers charity, which is helping those seeking refuge. "We are preparing aid packages for those who may journey onwards to their home countries." The charity said about 8,500 people fled to refugee centers or police stations this week because of the violence. That doesn't count anyone who fled their homes to other, private accommodations, the group said. It said it hopes the violence is limited to Durban, but assured immigrants that it has a facility in Johannesburg to help those who might need shelter there. "We have tents and all essential supplies on standby but pray that sanity prevails and this does not become necessary," it said. In the past, Johannesburg has been the epicenter of anti-immigrant tensions. In 2008, scores were killed in attacks in the poorest areas of Johannesburg. Most of the victims were Zimbabweans who had fled repression and dire economic circumstances. In that attack, police arrested more than 200 people for various crimes including rape, murder, robbery and theft.

A charity group is preparing aid packages for those who want to return home .
The attacks have left 5 dead -- two immigrants and three South Africans .
A 14-year-old boy is among those killed after a mob with machetes targeted foreigners .

the attacks in durban killed two immigrants and three south africans , authorities say <q> aid group : about 8,500 people fled to refugee centers or police stations this week

thousands sought refuge in temporary shelters in south africa .
the charity says about 8,500 people fled to refugee centers .
heavily armed police have scrambled to stop clashes this week .
the attacks in durban killed two immigrants and three south africans .

" there has been an outpouring of support from ordinary south africans , " an aid group says <q> the charity says about 8,500 people fled to refugee centers or police stations this week <q> in 2008 , scores were killed in attacks in the poorest areas of johannesburg

two immigrants and three south africans are killed in attacks . the violence comes after residents accuse immigrants of taking their jobs . an aid group says about 8,500 people fled to refugee centers or police stations . in 2008 , scores were killed in anti-immigrant attacks in johannesburg .

the attacks in durban killed two immigrants and three south africans , including a 14-year-old boy <q> aid group : about 8,500 people fled to refugee centers or police stations this week <q> " we have tents and all essential supplies on standby but pray that sanity prevails , " charity says

thousands sought refuge in temporary shelters in south africa after mobs with machetes .
the attacks in durban killed two immigrants and three south africans , authorities say .
the charity said about 8,500 people fled to refugee centers or police stations .


Earle, John Charles

Maximilian, and other poems, etc


Kay, Thomas

Sporting Songs, etc [Words only.]


Sharpe, William

The Dual Image; or, the Renewal of the Temple. A mystical poem of life