text stringlengths 1 22.8M |
|---|
Mary "Christina" Dennett (1730 – 12 July 1781) was a British prioress of the Canonesses Regular of the Holy Sepulchre in Liège from 1770 to 1781. New Hall School in Chelmsford credits Susan Hawley with founding their school, but it was Dennett who expanded the convent's school in Liege to have an international reputation in the 18th century, years before it moved to England in 1794.
Life
Dennett was born in Appleton near Widnes in 1730. Her father Henry was a Protestant and her mother, Mary, was a Catholic. She was the last of their four children so when her father died when she was about five she was brought up as a catholic.
In 1746 she went to the convent in Liege where her sister was already a nun. She was committed to a religious life and was said to have taken a vow of chastity when she was ten. The convent in Liege had been founded in 1642 by an English woman Dame Susan Hawley (Mother Mary of the Conception) who became the first prioress in 1656. Dennett was to young in 1746 to commit to becoming a nun so she was sent to gain an education at the school in Liege belonging to the Ursuline nuns.
She became the sub prioress in 1769 and the sixth prioress of the Holy Sepulchre in 1770. That first year she turned her interest to the convent's school which had existed since 1651, but she now wanted to provide an education to Catholic girls that would compete with any school in England. The community was able to provide an education for the daughters of Catholic families under the Penal Laws She knew that girls would come to the convent, but they would not want to become nuns. Dennett was determined that these girls would be educated wives and mothers.
A new school building was started in 1772 and another was needed by 1776 when there were sixty girls living there and gaining an education. The school thrived and became well known. The school had always attracted English Catholic girls but the school's reputation meant that they attracted girls from many different countries. The school offered English, Maths and modern languages as well as wider ranging subjects including debating and double-entry book-keeping.
Death and legacy
Dennett died in Liège in 1781. New Hall School in Chelmsford credits Susan Hawley with founding their school in 1642, but that school developed an international reputation under the management of Dennett. It is said that when the convent moved to England in 1794 to avoid the French Revolution, the reputation of the school meant that they found it difficult to leave. One the houses of New Hall School is called Dennett House.
References
1730 births
1781 deaths
People from Widnes
Priors
18th-century English Roman Catholic nuns |
```c++
*
* This program is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This program 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
*
* along with this program. If not, see <path_to_url
*/
#include <cstddef>
#include "internals.h"
#include "Poly.h"
#include "Part.h"
#include "Partial.h"
#include "Synth.h"
namespace MT32Emu {
Poly::Poly() {
part = NULL;
key = 255;
velocity = 255;
sustain = false;
activePartialCount = 0;
for (int i = 0; i < 4; i++) {
partials[i] = NULL;
}
state = POLY_Inactive;
next = NULL;
}
void Poly::setPart(Part *usePart) {
part = usePart;
}
void Poly::reset(unsigned int newKey, unsigned int newVelocity, bool newSustain, Partial **newPartials) {
if (isActive()) {
// This should never happen
part->getSynth()->printDebug("Resetting active poly. Active partial count: %i\n", activePartialCount);
for (int i = 0; i < 4; i++) {
if (partials[i] != NULL && partials[i]->isActive()) {
partials[i]->deactivate();
activePartialCount--;
}
}
setState(POLY_Inactive);
}
key = newKey;
velocity = newVelocity;
sustain = newSustain;
activePartialCount = 0;
for (int i = 0; i < 4; i++) {
partials[i] = newPartials[i];
if (newPartials[i] != NULL) {
activePartialCount++;
setState(POLY_Playing);
}
}
}
bool Poly::noteOff(bool pedalHeld) {
// Generally, non-sustaining instruments ignore note off. They die away eventually anyway.
// Key 0 (only used by special cases on rhythm part) reacts to note off even if non-sustaining or pedal held.
if (state == POLY_Inactive || state == POLY_Releasing) {
return false;
}
if (pedalHeld) {
if (state == POLY_Held) {
return false;
}
setState(POLY_Held);
} else {
startDecay();
}
return true;
}
bool Poly::stopPedalHold() {
if (state != POLY_Held) {
return false;
}
return startDecay();
}
bool Poly::startDecay() {
if (state == POLY_Inactive || state == POLY_Releasing) {
return false;
}
setState(POLY_Releasing);
for (int t = 0; t < 4; t++) {
Partial *partial = partials[t];
if (partial != NULL) {
partial->startDecayAll();
}
}
return true;
}
bool Poly::startAbort() {
if (state == POLY_Inactive || part->getSynth()->isAbortingPoly()) {
return false;
}
for (int t = 0; t < 4; t++) {
Partial *partial = partials[t];
if (partial != NULL) {
partial->startAbort();
part->getSynth()->abortingPoly = this;
}
}
return true;
}
void Poly::setState(PolyState newState) {
if (state == newState) return;
PolyState oldState = state;
state = newState;
part->polyStateChanged(oldState, newState);
}
void Poly::backupCacheToPartials(PatchCache cache[4]) {
for (int partialNum = 0; partialNum < 4; partialNum++) {
Partial *partial = partials[partialNum];
if (partial != NULL) {
partial->backupCache(cache[partialNum]);
}
}
}
/**
* Returns the internal key identifier.
* For non-rhythm, this is within the range 12 to 108.
* For rhythm on MT-32, this is 0 or 1 (special cases) or within the range 24 to 87.
* For rhythm on devices with extended PCM sounds (e.g. CM-32L), this is 0, 1 or 24 to 108
*/
unsigned int Poly::getKey() const {
return key;
}
unsigned int Poly::getVelocity() const {
return velocity;
}
bool Poly::canSustain() const {
return sustain;
}
PolyState Poly::getState() const {
return state;
}
unsigned int Poly::getActivePartialCount() const {
return activePartialCount;
}
bool Poly::isActive() const {
return state != POLY_Inactive;
}
// This is called by Partial to inform the poly that the Partial has deactivated
void Poly::partialDeactivated(Partial *partial) {
for (int i = 0; i < 4; i++) {
if (partials[i] == partial) {
partials[i] = NULL;
activePartialCount--;
}
}
if (activePartialCount == 0) {
setState(POLY_Inactive);
if (part->getSynth()->abortingPoly == this) {
part->getSynth()->abortingPoly = NULL;
}
}
part->partialDeactivated(this);
}
Poly *Poly::getNext() const {
return next;
}
void Poly::setNext(Poly *poly) {
next = poly;
}
} // namespace MT32Emu
``` |
The Mississippi Beach Kings were an indoor soccer team based in Biloxi, Mississippi, United States. They played their games in the Mississippi Coast Coliseum. They were members of the Eastern Indoor Soccer League and played only during the 1998 season. During the 1997 season, the team played in Columbus, Georgia as the Columbus Comets.
During their existence, the Beach Kings/Comets played a total of 52 games, winning 21 (including two via shootout) and losing 31 (including four via shootout). They scored a total of 595 goals and allowed a total of 719 goals and notched 65 total points in standings out of a possible 156 points. (The EISL awarded 3 points for a win, 2 for a shootout win, 1 for a shootout loss, and 0 for a loss in regulation.)
The team was successful in Biloxi, earning with the league's second-best average attendance in the 1998 regular season with 3,187 fans per game, and nearly 4,000 per game in the playoffs. The Beach Kings planned to return for the 1999 season but the league shutdown after two other teams withdrew.
Year-by-year
Awards and honors
Head coach Gary Hindley was named EISL Coach of the Year for the 1998 season. General manager Roy Turner was named EISL Executive of the Year for the 1998 season.
Mississippi Beach Kings players named to the 1998 EISL All-League Team included goalkeeper Stuart Dobson and midfielder Novi Marojevic. Players named to the EISL All-League Second Team included midfielder Darren Snyder. Players named to the EISL All-League Third Team included midfielder Curtis Stelzer. Players receiving All-League Honorable Mentions included defender Damian Harley and midfielder Antonio Sutton.
Revival plans
In January 2015, a group of Atlanta-based investors announced plans to potentially revive the Beach Kings as members of the Major Arena Soccer League. A local partner was added in February 2015 as negotiations with the league and the arena continued.
References
External links
Mississippi Beach Kings at Soccer Times
Eastern Indoor Soccer League teams
Association football clubs established in 1997
Association football clubs disestablished in 1998
Defunct indoor soccer clubs in the United States
Defunct soccer clubs in Mississippi
Sports in Biloxi, Mississippi
1997 establishments in Mississippi
1998 disestablishments in Mississippi
Soccer clubs in Mississippi |
The 2017 season was the 103rd in Sociedade Esportiva Palmeiras existence. This season Palmeiras participated in the Campeonato Paulista, Copa Libertadores, Copa do Brasil and the Série A.
Players
Squad information
Squad at the end of the season.
Copa Libertadores squad
.
Transfers
Transfers in
Transfers out
Competitions
Overview
Friendlies
Campeonato Paulista
First stage
The draw was held on November 1, 2016. Palmeiras was drawn on Group C.
Knockout stages
Quarter-final
Semifinal
Copa Libertadores
Group stage
The draw of the tournament was held on 21 December 2016, 20:00 PYST (UTC−3), at the CONMEBOL Convention Centre in Luque, Paraguay. Palmeiras was drawn on the Group 5.
Knockout stage
Round of 16
The draw for this round was held on June 14. As Palmeiras finished first in his group, they hosted the second leg.
Campeonato Brasileiro
Standings
Matches
Results by round
Copa do Brasil
As a team that disputed the Copa Libertadores, Palmeiras entered in the round of 16. The draw was held on April 20, 2017.
Round of 16
Quarter-final
The draw was held on June 5, 2017.
Statistics
Overall statistics
Goalscorers
In italic players who left the team in mid-season.
References
External links
Official site
2017
Palmeiras |
```shell
`Firewall` as a service
How to clear `iptables` rules
Find services running on your host
Getting the connection speed from the terminal
Short Introduction to `Wget`
``` |
Emre (Dark Matter) (or Emre [Dark Matter]) is a compilation album released on CD in a regular and limited edition version. The limited edition version was limited to a pressing of 500, in heavy card slipcase with a second booklet.
Track listing
Source Research: "Open/Threshold" - 1:35
Cyclobe: "Silent Key" - 14:36
Andrew Poppy: "Blind Fold" - 12:39
CoH: "Netmörk" - 12:02
Source Research + Leif Elggren: "Fear (The Scuffle Of Angels)" - 13:00
Coil: "Broken Aura" - 8:05
(untitled silent track) - 0:09
(untitled silent track) - 0:09
(untitled silent track) - 0:09
(untitled silent track) - 0:09
(untitled silent track) - 0:09
(untitled silent track) - 0:09
(untitled silent track) - 0:09
(untitled silent track) - 0:09
(untitled silent track) - 0:09
(untitled silent track) - 0:09
(untitled silent track) - 0:09
(untitled silent track) - 0:09
(untitled silent track) - 0:09
(untitled silent track) - 0:09
(untitled silent track) - 0:09
Ovum: "Inonia" - 10:58
Source Research: "Close/Dark Of Heartness II" - 4:11
References
discogs.com regular release
discogs.com deluxe release
2004 compilation albums
Experimental music compilation albums |
```less
// common.less
// Font Size
@font-size-normal: 1em;
@font-size-small: 0.9em;
// Colors
@text-color: rgb(200, 200, 200);
@text-color-dark: rgb(150, 150, 150);
@text-color-highlight: rgb(240, 240, 240);
@text-color-detail: rgb(100, 100, 100);
@text-color-info: #6494ed;
@text-color-success: #73c990;
@text-color-warning: #e2c08d;
@text-color-error: #fd6247;
@shadow-color: rgba(0, 0, 0, 0.2);
@background-color: rgb(40, 40, 40);
@background-color-highlight: rgba(100, 200, 255, 0.2);
@background-color-lighter: #3a3e44;
@border-color: rgb(25, 25, 25);
@bufferScrollBarSize: 7px;
@component-padding: 10px;
#host,
.editor,
.stack {
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
}
.split {
position: relative;
height: 100%;
}
.split-spacer {
box-shadow: inset rgba(0, 0, 0, 0.1) 0px 0px 3px 1px;
flex: 0 0 auto;
&.vertical {
height: 100%;
width: 6px;
}
&.horizontal {
width: 100%;
height: 6px;
}
}
// .split.focus, .editor.focus {
// z-index: 1;
// box-shadow: 1px 0px 8px 1px rgba(0, 0, 0, 0.1), -1px 0px 8px 1px rgba(0, 0, 0, 0.1);
// }
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
background-color: @background-color;
}
::-webkit-scrollbar {
width: 3px;
background-color: rgb(0, 0, 0);
}
::-webkit-scrollbar-thumb {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
background-color: @background-color-lighter;
}
.not-focused {
opacity: 0.8;
}
.focused {
opacity: 1;
}
.disable-mouse {
pointer-events: none;
}
.enable-mouse {
pointer-events: auto;
}
.container {
position: relative;
&.vertical {
display: flex;
flex-direction: column;
}
&.horizontal {
display: flex;
flex-direction: row;
}
&.full {
width: 100%;
height: 100%;
flex: 1 1 auto;
}
&.fixed {
flex: 0 0 auto;
}
&.center {
justify-content: center;
align-items: center;
}
}
.box-shadow-up-inset {
box-shadow: 0px -4px 20px 0px rgba(0, 0, 0, 0.2) inset;
}
.box-shadow {
box-shadow: 0 4px 8px 2px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.box-shadow-up {
box-shadow: 0 -8px 20px 0 rgba(0, 0, 0, 0.2);
}
@keyframes rotate {
from {
transform: rotateZ(0deg);
}
to {
transform: rotateZ(360deg);
}
}
.rotate-animation {
animation-name: rotate;
animation-duration: 4s;
animation-iteration-count: infinite;
}
.fade-enter {
opacity: 0;
transform: translateX(3px);
}
.fade-enter.fade-enter-active {
opacity: 1;
transform: translateX(0px);
transition-property: transform opacity;
transition-duration: 200ms;
transition-timing-function: ease-in;
}
.fade-exit {
opacity: 1;
transform: translateX(0px);
}
.fade-exit.fade-exit-active {
transform: translateX(-2px);
opacity: 0;
transition-property: transform opacity;
transition-duration: 150ms;
transition-timing-function: ease-in;
}
``` |
Gerard A. Janssen (b. May 3, 1946) is a Dutch-born jeweller, watchmaker and former political figure in British Columbia. He represented Alberni in the Legislative Assembly of British Columbia from 1988 to 2001 as a New Democratic Party (NDP) member.
He was born in Venlo, the son of Nicholas Jannsen and Maria Sloesen, and came to Canada with his parents in 1952. Janssen later took over the operation of the business established by his parents in 1956. In 1967, he married Florence Edith Irene McIver. He was a member of the Alberni Valley Chamber of Commerce, also serving as its president. Janssen was first elected to the provincial assembly in a 1988 by-election held after Bob Skelly resigned his seat to enter federal politics. He served as government whip in the assembly. Janssen was a member of the provincial cabinet, serving as Minister of Small Business, Tourism and Culture from 2000 to 2001. He was defeated by Gillian Trumper when he ran for reelection to the assembly in the new riding of Alberni-Qualicum in 2001.
Electoral history
References
1946 births
Living people
20th-century Canadian politicians
21st-century Canadian politicians
British Columbia New Democratic Party MLAs
Canadian jewellers
Dutch emigrants to Canada
Members of the Executive Council of British Columbia
Tourism ministers of British Columbia
People from Venlo |
Sucralose is an artificial sweetener and sugar substitute. The majority of ingested sucralose is not broken down by the body, so it is noncaloric. In the European Union, it is also known under the E number E955. It is produced by chlorination of sucrose, selectively replacing three of the hydroxy groups—in the C1 and C6 positions of fructose and the C4 position of glucose—to give a 1,6-dichloro-1,6-dideoxyfructose–4-chloro-4-deoxygalactose disaccharide. Sucralose is about 320 to 1,000 times sweeter than sucrose, three times as sweet as both aspartame and acesulfame potassium, and twice as sweet as sodium saccharin.
While sucralose is largely considered shelf-stable and safe for use at elevated temperatures (such as in baked goods), there is some evidence that it begins to break down at temperatures above . The commercial success of sucralose-based products stems from its favorable comparison to other low-calorie sweeteners in terms of taste, stability and safety. It is commonly sold under the Splenda brand name.
Uses
Sucralose is used in many food and beverage products because it is a no-calorie sweetener, does not promote dental cavities, is safe for consumption by diabetics and nondiabetics, and does not affect insulin levels, although the powdered form of sucralose-based sweetener product Splenda (as most other powdered sucralose products) contains 95% (by volume) bulking agents dextrose and maltodextrin that do affect insulin levels. Sucralose is used as a replacement for (or in combination with) other artificial or natural sweeteners such as aspartame, acesulfame potassium or high-fructose corn syrup. It is used in products such as candy, breakfast bars, coffee pods, and soft drinks. It is also used in canned fruits wherein water and sucralose take the place of much higher calorie corn syrup-based additives. Sucralose mixed with dextrose or maltodextrin (both made from corn) as bulking agents is sold internationally by McNeil Nutritionals under the Splenda brand name. In the United States and Canada, this blend is increasingly found in restaurants in yellow packets.
Cooking
Sucralose is available in a granulated form that allows same-volume substitution with sugar. This mix of granulated sucralose includes fillers, all of which rapidly dissolve in water. While the granulated sucralose provides apparent volume-for-volume sweetness, the texture in baked products may be noticeably different. Sucralose is not hygroscopic, which can lead to baked goods that are noticeably drier and manifest a less dense texture than those made with sucrose. Unlike sucrose, which melts when baked at high temperatures, sucralose maintains its granular structure when subjected to dry, high heat (e.g., in a 180 °C or 350 °F oven). Furthermore, in its pure state, sucralose begins to decompose at . Thus, in some recipes, such as crème brûlée, which require sugar sprinkled on top to partially or fully melt and crystallize, substituting sucralose does not result in the same surface texture, crispness, or crystalline structure.
Safety evaluation
Sucralose has been accepted as safe by several food safety regulatory bodies worldwide, including the U.S. Food and Drug Administration (FDA), the Joint FAO/WHO Expert Committee Report on Food Additives, the European Union's Scientific Committee on Food, Health Protection Branch of Health and Welfare Canada, and Food Standards Australia New Zealand.
Maximum acceptable daily intake
Various assessments have reported different amounts of maximum acceptable daily intake (ADI), usually measured as mg per kg of body weight. According to the Canadian Diabetes Association, the amount of sucralose that can be consumed over a person's lifetime without any adverse effects is 9 milligrams per kilogram of body weight per day. The FDA approval process indicated that consuming sucralose in typical amounts as a sweetener was safe. The intake at which adverse effects are seen is 1500 mg/kg BW/day, providing a large margin of safety compared to the estimated daily intake. The European Food Safety Authority (EFSA) proposed an ADI of 5 mg per kg (body weight) while the FDA established it as 15 mg per kg body weight, that is, 350–1050 mg per day for a person of 70 kg.
Metabolism
Most ingested sucralose is directly excreted in the feces, while about 11–27% is absorbed by the gastrointestinal tract (gut). The amount absorbed from the gut is largely removed from the blood by the kidneys and eliminated via urine, with 20–30% of absorbed sucralose being metabolized.
Possible health effects
In a review of sucralose's safety, the FDA states that it "reviewed data from more than 110 studies in humans and animals. Many of the studies were designed to identify possible toxic effects including carcinogenic, reproductive and neurological effects. No such effects were found, and FDA's approval is based on its finding that sucralose is safe for human consumption." In reviewing a 1987 food additive petition by McNeil Nutritionals, the FDA stated that "in the 2-year rodent bioassays... there was no evidence of carcinogenic activity for either sucralose or its hydrolysis products".
As of 2020, reviews of numerous safety and toxicology studies on sucralose concluded that it is not carcinogenic.
Processing of sucralose in food
Research revealed that when sucralose is heated to above 120 °C (248 °F), it may dechlorinate and decompose into compounds that could be harmful enough to risk consumer health. The risk and intensity of this adverse effect is suspected to increase with rising temperatures. The German Federal Institute for Risk Assessment published a warning that cooking with sucralose could possibly lead to the creation of potentially carcinogenic chloropropanols, polychlorinated dibenzodioxins and polychlorinated dibenzofurans, recommending that manufacturers and consumers avoid baking, roasting, or deep frying any sucralose-containing foods until a more conclusive safety report is available. Furthermore, adding sucralose to food that has not cooled was discouraged, as was buying sucralose-containing canned foods and baked goods.
History
Sucralose was discovered in 1976 by scientists from Tate & Lyle, working with researchers Leslie Hough and Shashikant Phadnis at Queen Elizabeth College (now part of King's College London). While researching novel uses of sucrose and its synthetic derivatives, Phadnis was told to "test" a chlorinated sugar compound. According to an anecdotal account, Phadnis thought Hough asked him to "taste" it, so he did and found the compound to be exceptionally sweet.
Tate & Lyle patented the substance in 1976; as of 2008, the only remaining patents concerned specific manufacturing processes.
A Duke University animal study funded by the Sugar Association found evidence that doses of Splenda (containing ~1% sucralose and ~99% maltodextrin by weight) between 100 and 1000 mg/kg BW/day, containing sucralose at 1.1 to 11 mg/kg BW/day, fed to rats reduced gut microbiota, increased the pH level in the intestines, contributed to increases in body weight, and increased levels of (P-gp). These effects have not been reported in humans. An expert panel, including scientists from Duke University, Rutgers University, New York Medical College, Harvard School of Public Health, and Columbia University reported in Regulatory Toxicology and Pharmacology that the Duke study was "not scientifically rigorous and is deficient in several critical areas that preclude reliable interpretation of the study results".
Sucralose was first approved for use in Canada in 1991. Subsequent approvals came in Australia in 1993, in New Zealand in 1996, in the United States in 1998, and in the European Union in 2004. By 2008, it had been approved in over 80 countries, including Mexico, Brazil, China, India, and Japan. In 2006, the FDA amended the regulations for foods to include sucralose as a "non-nutritive sweetener" in food. In May 2008, Fusion Nutraceuticals launched a generic product to the market, using Tate & Lyle patents.
In April 2015, PepsiCo announced that it would be moving from aspartame to sucralose for most of its diet drinks in the U.S. due to sales of Diet Pepsi falling by more than 5% in the U.S. The company stated that its decision was a commercial one, responding to consumer preferences.
In February 2018, PepsiCo went back to using aspartame in Diet Pepsi because of an 8% drop in sales for the previous year.
Chemistry and production
Sucralose is a disaccharide composed of 1,6-dichloro-1,6-dideoxyfructose and 4-chloro-4-deoxygalactose. It is synthesized by the selective chlorination of sucrose in a multistep route that substitutes three specific hydroxyl groups with chlorine atoms. This chlorination is achieved by selective protection of one of the primary alcohols as an ester (acetate or benzoate), followed by chlorination with an excess of any of several chlorinating agent to replace the two remaining primary alcohols and one of the secondary alcohols, and then by hydrolysis of the ester.
Storage
Sucralose is stable when stored under normal conditions of temperature, pressure and humidity. Upon prolonged heating during storage at elevated temperatures (38 °C, 100 °F), sucralose may break down, releasing carbon dioxide, carbon monoxide and minor amounts of hydrogen chloride.
Effect on caloric content
Though sucralose contains no calories, products that contain fillers such as dextrose and/or maltodextrin add about 2–4 calories per teaspoon or individual packet, depending on the product, the fillers used, brand, and the intended use of the product. The FDA allows for any product containing fewer than five calories per serving to be labeled as "zero calories".
Research
There is no evidence of an effect of sucralose on long-term weight loss or body mass index, with cohort studies showing a minor effect on weight gain and heart disease risks.
Environmental effects
According to one study, sucralose is digestible by a number of microorganisms and is broken down once released into the environment. However, measurements by the Swedish Environmental Research Institute have shown sewage treatment has little effect on sucralose, which is present in wastewater effluents at levels of several μg/L (ppb). No ecotoxicological effects are known at such levels, but the Swedish Environmental Protection Agency warns a continuous increase in levels may occur if the compound is only slowly degraded in nature. When heated to very high temperatures (over 350 °C or 662 °F) in metal containers, sucralose can produce polychlorinated dibenzo-p-dioxins and other persistent organic pollutants in the resulting smoke.
Sucralose has been detected in natural waters, but research indicates that the levels found in the environment are far below those required to cause adverse effects to certain kinds of aquatic life.
See also
Erythritol and Xylitol
Neotame, PureVia, Stevia, and Truvia
Tagatose
Footnotes
References
Sugar substitutes
Disaccharides
Food additives
Organochlorides
E-number additives |
```java
/*
* Use is subject to license terms, see path_to_url for details.
*/
package com.haulmont.chile.core.datatypes;
import java.text.ParseException;
/**
* Exception that can be thrown during value conversion in {@link Datatype}.
*/
public class ValueConversionException extends ParseException {
public ValueConversionException(String message) {
super(message, 0);
}
}
``` |
FC Vahonobudivnyk Kremenchuk is a Ukrainian amateur football club from Kremenchuk. It is a factory team of the Kryukiv Railway Car Building Works based at the right-bank neighborhood of Kremenchuk.
Previously the team (club) was known as Dzerzhynets and Avanhard.
League and cup history
{|class="wikitable"
|-bgcolor="#efefef"
! Season
! Div.
! Pos.
! Pl.
! W
! D
! L
! GS
! GA
! P
!Domestic Cup
!Notes
|-42 14 9 19 38 54 −16 51
|align=center|1994-95
|align=center|4th
|align=center|4
|align=center|42
|align=center|14
|align=center|9
|align=center|19
|align=center|38
|align=center|54
|align=center|51
|align=center|First Qualifying round
|align=center|Promoted to Second League
|-
|}
Honours
Poltava Oblast
Winners (4): 1948, 1952, 1955, 1965, 1970
References
FC Vahonobudivnyk Kremenchuk
Football clubs in Kremenchuk
Amateur football clubs in Ukraine
Association football clubs established in 1949
1949 establishments in Ukraine |
Kate Klonick (born 1985) is an American journalist, attorney, and law professor.
Early life
Klonick was born to two New York judges, Justice Thomas A. Klonick and New York State Supreme Court Justice Evelyn Frazee.
Klonick received her JD from Georgetown University Law and a PhD from Yale Law School.
Career
Klonick has worked extensively as a journalist with work featured in Salon, The Guardian, and The New Yorker. She specializes in work covering Facebook's ongoing struggles with content moderation.
Klonick is an assistant professor of law at St. John's University since 2018. She teaches Property and Internet Law.
In 2020 Klonick launched In Lieu of Fun, a daily hour-long live-streaming show co-hosted with Benjamin Wittes. The show was created as an alternative viewing experience to the presidential briefings on the ongoing COVID-19 pandemic. The show was frequently political in nature and often featured guests who worked in American politics or in news relating to politics. In 2021 the show shifted formats and went from being a daily show to a weekday show. Klonick and Wittes also added Scott J. Shapiro and Genevieve DellaFera as co-hosts.
References
Living people
1985 births
Journalists from New York (state) |
Ettercap is a free and open source network security tool for man-in-the-middle attacks on a LAN. It can be used for computer network protocol analysis and security auditing. It runs on various Unix-like operating systems including Linux, Mac OS X, BSD and Solaris, and on Microsoft Windows. It is capable of intercepting traffic on a network segment, capturing passwords, and conducting active eavesdropping against a number of common protocols. Its original developers later founded Hacking Team.
Functionality
Ettercap works by putting the network interface into promiscuous mode and by ARP poisoning the target machines. Thereby it can act as a 'man in the middle' and unleash various attacks on the victims. Ettercap has plugin support so that the features can be extended by adding new plugins.
Features
Ettercap supports active and passive dissection of many protocols (including ciphered ones) and provides many features for network and host analysis. Ettercap offers four modes of operation:
IP-based: packets are filtered based on IP source and destination.
MAC-based: packets are filtered based on MAC address, useful for sniffing connections through a gateway.
ARP-based: uses ARP poisoning to sniff on a switched LAN between two hosts (full-duplex).
PublicARP-based: uses ARP poisoning to sniff on a switched LAN from a victim host to all other hosts (half-duplex).
In addition, the software also offers the following features:
Character injection into an established connection: characters can be injected into a server (emulating commands) or to a client (emulating replies) while maintaining a live connection.
SSH1 support: the sniffing of a username and password, and even the data of an SSH1 connection. Ettercap is the first software capable of sniffing an SSH connection in full duplex.
HTTPS support: the sniffing of HTTP SSL secured data—even when the connection is made through a proxy.
Remote traffic through a GRE tunnel: the sniffing of remote traffic through a GRE tunnel from a remote Cisco router, and perform a man-in-the-middle attack on it.
Plug-in support: creation of custom plugins using Ettercap's API.
Password collectors for: TELNET, FTP, POP, IMAP, rlogin, SSH1, ICQ, SMB, MySQL, HTTP, NNTP, X11, Napster, IRC, RIP, BGP, SOCKS 5, IMAP 4, VNC, LDAP, NFS, SNMP, MSN, YMSG
Packet filtering/dropping: setting up a filter that searches for a particular string (or hexadecimal sequence) in the TCP or UDP payload and replaces it with a custom string/sequence of choice, or drops the entire packet.
TCP/IP stack fingerprinting: determine the OS of the victim host and its network adapter.
Kill a connection: killing connections of choice from the connections-list.
Passive scanning of the LAN: retrieval of information about hosts on the LAN, their open ports, the version numbers of available services, the type of the host (gateway, router or simple PC) and estimated distances in number of hops.
Hijacking of DNS requests.
Ettercap also has the ability to actively or passively find other poisoners on the LAN.
See also
ArpON
arpwatch
References
External links
Official website
An article "Реагирование на инциденты информационной безопасности"
An article "Ettercap: универсальный анализатор трафика"
Network analyzers
Unix network-related software
Packet analyzer software that uses GTK
Linux network-related software |
Marie-Thérèse Blonel de Phalaris (1697–1782), was a French aristocrat. She was the official mistress of Philippe II, Duke of Orléans, who was the regent of France during the minority of the infant King Louis XV of France. She was the mistress of the regent between 1720 and 1723.
Life
She was married to George d'Entragues, duc de Phalaris, who went bankrupt and abandoned her to flee France to escape his creditors. Abandoned and poor, she was introduced by Louise-Charlotte de Foix-Rabat, comtesse de Sabran to the regent, and became his mistress, although she did not replace her as his main mistress until Marie-Madeleine de Parabère left the regent in 1721. Phalaris was described by the Parisian court nobility as a vulgar representative of the province nobility. Her spouse returned from Spain to take advantage of his wife's position, after which the regent dismissed her as his favorite and replaced her with Sophie de Brégis, comtesse d'Averne. After d'Averne was dismissed, Sabran introduced the regent to a sixteen-year-old convent girl, Mlle Houel, in 1723. The regent tired of the girl after but a few months, after which he replaced her by resuming his relationship with Phalaris, who then became his last official mistress.
References
1697 births
1782 deaths
Mistresses of Philippe II, Duke of Orléans
People of the Regency of Philippe d'Orléans
French courtesans |
The Pseudomon-Rho RNA motif refers to a conserved RNA structure that was discovered using bioinformatics. The RNAs that conform to this motif (see diagram) are found in species within the genus Pseudomonas, as well as the related Azotobacter vinelandii. They are consistently located in what could be the 5' untranslated regions of genes that encode the Rho factor protein, and this arrangement in bacteria suggested that Pseudomon-Rho RNAs might be cis-regulatory elements that regulate concentrations of the Rho protein.
References
External links
Cis-regulatory RNA elements |
Peøria, previously known as Saving Forever, is an American pop rock band from South Chicago, Illinois made up of brothers Khaden (born 2004), Kye (born 2002) and Kavah Harris (born 2001). The trio released "Twenty 1" followed by the single "Million Ways" in 2017 accompanied by a music video. The sibling band comes from a very musical family. It was picked as Elvis Duran's Artist of the Month and was featured on NBC's Today show hosted by Kathie Lee Gifford and Hoda Kotb and broadcast nationally where they performed live their single "Million Ways".
The band changed their name from Saving Forever to Peøria in June 2020. Their self-titled EP was released on August 7, 2020. The EP was produced by Kye Harris, Christopher Ahn and Laprete.
References
External links
Official website
Facebook
Instagram
Musical groups from Chicago |
Jem "Jim" Carney (born 5 November 1856 in Birmingham, England — died 8 September 1941) was an 1880s English Lightweight Champion.
Early life
Jem Carney was born in Coleshill-street, Birmingham on 5 November 1856.
Professional career
Carney began boxing in 1878 and won the English lightweight championship on 20 December 1884 by beating Jake Hyams after a 45-round fight that lasted 1 hour and 45 minutes.
Death
Carney died on 8 September 1941 in London, England.
Honors
Inducted into the International Boxing Hall of Fame: The Class of 2006.
References
External links
IBHOF Bio
1856 births
1941 deaths
International Boxing Hall of Fame inductees
English male boxers
Lightweight boxers |
```c
/*
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
*/
#include "amdgpu.h"
#include "amdgpu_atombios.h"
#include "nbio_v2_3.h"
#include "nbio/nbio_2_3_default.h"
#include "nbio/nbio_2_3_offset.h"
#include "nbio/nbio_2_3_sh_mask.h"
#include <uapi/linux/kfd_ioctl.h>
#include <linux/device.h>
#include <linux/pci.h>
#define smnPCIE_CONFIG_CNTL 0x11180044
#define smnCPM_CONTROL 0x11180460
#define smnPCIE_CNTL2 0x11180070
#define smnPCIE_LC_CNTL 0x11140280
#define smnPCIE_LC_CNTL3 0x111402d4
#define smnPCIE_LC_CNTL6 0x111402ec
#define smnPCIE_LC_CNTL7 0x111402f0
#define smnBIF_CFG_DEV0_EPF0_DEVICE_CNTL2 0x1014008c
#define smnRCC_EP_DEV0_0_EP_PCIE_TX_LTR_CNTL 0x10123538
#define smnBIF_CFG_DEV0_EPF0_PCIE_LTR_CAP 0x10140324
#define smnPSWUSP0_PCIE_LC_CNTL2 0x111402c4
#define smnNBIF_MGCG_CTRL_LCLK 0x1013a21c
#define mmBIF_SDMA2_DOORBELL_RANGE 0x01d6
#define mmBIF_SDMA2_DOORBELL_RANGE_BASE_IDX 2
#define mmBIF_SDMA3_DOORBELL_RANGE 0x01d7
#define mmBIF_SDMA3_DOORBELL_RANGE_BASE_IDX 2
#define mmBIF_MMSCH1_DOORBELL_RANGE 0x01d8
#define mmBIF_MMSCH1_DOORBELL_RANGE_BASE_IDX 2
#define smnPCIE_LC_LINK_WIDTH_CNTL 0x11140288
#define GPU_HDP_FLUSH_DONE__RSVD_ENG0_MASK 0x00001000L /* Don't use. Firmware uses this bit internally */
#define GPU_HDP_FLUSH_DONE__RSVD_ENG1_MASK 0x00002000L
#define GPU_HDP_FLUSH_DONE__RSVD_ENG2_MASK 0x00004000L
#define GPU_HDP_FLUSH_DONE__RSVD_ENG3_MASK 0x00008000L
#define GPU_HDP_FLUSH_DONE__RSVD_ENG4_MASK 0x00010000L
#define GPU_HDP_FLUSH_DONE__RSVD_ENG5_MASK 0x00020000L
#define GPU_HDP_FLUSH_DONE__RSVD_ENG6_MASK 0x00040000L
#define GPU_HDP_FLUSH_DONE__RSVD_ENG7_MASK 0x00080000L
#define GPU_HDP_FLUSH_DONE__RSVD_ENG8_MASK 0x00100000L
static void nbio_v2_3_remap_hdp_registers(struct amdgpu_device *adev)
{
WREG32_SOC15(NBIO, 0, mmREMAP_HDP_MEM_FLUSH_CNTL,
adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL);
WREG32_SOC15(NBIO, 0, mmREMAP_HDP_REG_FLUSH_CNTL,
adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_REG_FLUSH_CNTL);
}
static u32 nbio_v2_3_get_rev_id(struct amdgpu_device *adev)
{
u32 tmp;
/*
* guest vm gets 0xffffffff when reading RCC_DEV0_EPF0_STRAP0,
* therefore we force rev_id to 0 (which is the default value)
*/
if (amdgpu_sriov_vf(adev)) {
return 0;
}
tmp = RREG32_SOC15(NBIO, 0, mmRCC_DEV0_EPF0_STRAP0);
tmp &= RCC_DEV0_EPF0_STRAP0__STRAP_ATI_REV_ID_DEV0_F0_MASK;
tmp >>= RCC_DEV0_EPF0_STRAP0__STRAP_ATI_REV_ID_DEV0_F0__SHIFT;
return tmp;
}
static void nbio_v2_3_mc_access_enable(struct amdgpu_device *adev, bool enable)
{
if (enable)
WREG32_SOC15(NBIO, 0, mmBIF_FB_EN,
BIF_FB_EN__FB_READ_EN_MASK |
BIF_FB_EN__FB_WRITE_EN_MASK);
else
WREG32_SOC15(NBIO, 0, mmBIF_FB_EN, 0);
}
static u32 nbio_v2_3_get_memsize(struct amdgpu_device *adev)
{
return RREG32_SOC15(NBIO, 0, mmRCC_DEV0_EPF0_RCC_CONFIG_MEMSIZE);
}
static void nbio_v2_3_sdma_doorbell_range(struct amdgpu_device *adev, int instance,
bool use_doorbell, int doorbell_index,
int doorbell_size)
{
u32 reg = instance == 0 ? SOC15_REG_OFFSET(NBIO, 0, mmBIF_SDMA0_DOORBELL_RANGE) :
instance == 1 ? SOC15_REG_OFFSET(NBIO, 0, mmBIF_SDMA1_DOORBELL_RANGE) :
instance == 2 ? SOC15_REG_OFFSET(NBIO, 0, mmBIF_SDMA2_DOORBELL_RANGE) :
SOC15_REG_OFFSET(NBIO, 0, mmBIF_SDMA3_DOORBELL_RANGE);
u32 doorbell_range = RREG32(reg);
if (use_doorbell) {
doorbell_range = REG_SET_FIELD(doorbell_range,
BIF_SDMA0_DOORBELL_RANGE, OFFSET,
doorbell_index);
doorbell_range = REG_SET_FIELD(doorbell_range,
BIF_SDMA0_DOORBELL_RANGE, SIZE,
doorbell_size);
} else
doorbell_range = REG_SET_FIELD(doorbell_range,
BIF_SDMA0_DOORBELL_RANGE, SIZE,
0);
WREG32(reg, doorbell_range);
}
static void nbio_v2_3_vcn_doorbell_range(struct amdgpu_device *adev, bool use_doorbell,
int doorbell_index, int instance)
{
u32 reg = instance ? SOC15_REG_OFFSET(NBIO, 0, mmBIF_MMSCH1_DOORBELL_RANGE) :
SOC15_REG_OFFSET(NBIO, 0, mmBIF_MMSCH0_DOORBELL_RANGE);
u32 doorbell_range = RREG32(reg);
if (use_doorbell) {
doorbell_range = REG_SET_FIELD(doorbell_range,
BIF_MMSCH0_DOORBELL_RANGE, OFFSET,
doorbell_index);
doorbell_range = REG_SET_FIELD(doorbell_range,
BIF_MMSCH0_DOORBELL_RANGE, SIZE, 8);
} else
doorbell_range = REG_SET_FIELD(doorbell_range,
BIF_MMSCH0_DOORBELL_RANGE, SIZE, 0);
WREG32(reg, doorbell_range);
}
static void nbio_v2_3_enable_doorbell_aperture(struct amdgpu_device *adev,
bool enable)
{
WREG32_FIELD15(NBIO, 0, RCC_DEV0_EPF0_RCC_DOORBELL_APER_EN, BIF_DOORBELL_APER_EN,
enable ? 1 : 0);
}
static void nbio_v2_3_enable_doorbell_selfring_aperture(struct amdgpu_device *adev,
bool enable)
{
u32 tmp = 0;
if (enable) {
tmp = REG_SET_FIELD(tmp, BIF_BX_PF_DOORBELL_SELFRING_GPA_APER_CNTL,
DOORBELL_SELFRING_GPA_APER_EN, 1) |
REG_SET_FIELD(tmp, BIF_BX_PF_DOORBELL_SELFRING_GPA_APER_CNTL,
DOORBELL_SELFRING_GPA_APER_MODE, 1) |
REG_SET_FIELD(tmp, BIF_BX_PF_DOORBELL_SELFRING_GPA_APER_CNTL,
DOORBELL_SELFRING_GPA_APER_SIZE, 0);
WREG32_SOC15(NBIO, 0, mmBIF_BX_PF_DOORBELL_SELFRING_GPA_APER_BASE_LOW,
lower_32_bits(adev->doorbell.base));
WREG32_SOC15(NBIO, 0, mmBIF_BX_PF_DOORBELL_SELFRING_GPA_APER_BASE_HIGH,
upper_32_bits(adev->doorbell.base));
}
WREG32_SOC15(NBIO, 0, mmBIF_BX_PF_DOORBELL_SELFRING_GPA_APER_CNTL,
tmp);
}
static void nbio_v2_3_ih_doorbell_range(struct amdgpu_device *adev,
bool use_doorbell, int doorbell_index)
{
u32 ih_doorbell_range = RREG32_SOC15(NBIO, 0, mmBIF_IH_DOORBELL_RANGE);
if (use_doorbell) {
ih_doorbell_range = REG_SET_FIELD(ih_doorbell_range,
BIF_IH_DOORBELL_RANGE, OFFSET,
doorbell_index);
ih_doorbell_range = REG_SET_FIELD(ih_doorbell_range,
BIF_IH_DOORBELL_RANGE, SIZE,
2);
} else
ih_doorbell_range = REG_SET_FIELD(ih_doorbell_range,
BIF_IH_DOORBELL_RANGE, SIZE,
0);
WREG32_SOC15(NBIO, 0, mmBIF_IH_DOORBELL_RANGE, ih_doorbell_range);
}
static void nbio_v2_3_ih_control(struct amdgpu_device *adev)
{
u32 interrupt_cntl;
/* setup interrupt control */
WREG32_SOC15(NBIO, 0, mmINTERRUPT_CNTL2, adev->dummy_page_addr >> 8);
interrupt_cntl = RREG32_SOC15(NBIO, 0, mmINTERRUPT_CNTL);
/*
* INTERRUPT_CNTL__IH_DUMMY_RD_OVERRIDE_MASK=0 - dummy read disabled with msi, enabled without msi
* INTERRUPT_CNTL__IH_DUMMY_RD_OVERRIDE_MASK=1 - dummy read controlled by IH_DUMMY_RD_EN
*/
interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL,
IH_DUMMY_RD_OVERRIDE, 0);
/* INTERRUPT_CNTL__IH_REQ_NONSNOOP_EN_MASK=1 if ring is in non-cacheable memory, e.g., vram */
interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL,
IH_REQ_NONSNOOP_EN, 0);
WREG32_SOC15(NBIO, 0, mmINTERRUPT_CNTL, interrupt_cntl);
}
static void nbio_v2_3_update_medium_grain_clock_gating(struct amdgpu_device *adev,
bool enable)
{
uint32_t def, data;
if (!(adev->cg_flags & AMD_CG_SUPPORT_BIF_MGCG))
return;
def = data = RREG32_PCIE(smnCPM_CONTROL);
if (enable) {
data |= (CPM_CONTROL__LCLK_DYN_GATE_ENABLE_MASK |
CPM_CONTROL__TXCLK_DYN_GATE_ENABLE_MASK |
CPM_CONTROL__TXCLK_LCNT_GATE_ENABLE_MASK |
CPM_CONTROL__TXCLK_REGS_GATE_ENABLE_MASK |
CPM_CONTROL__TXCLK_PRBS_GATE_ENABLE_MASK |
CPM_CONTROL__REFCLK_REGS_GATE_ENABLE_MASK);
} else {
data &= ~(CPM_CONTROL__LCLK_DYN_GATE_ENABLE_MASK |
CPM_CONTROL__TXCLK_DYN_GATE_ENABLE_MASK |
CPM_CONTROL__TXCLK_LCNT_GATE_ENABLE_MASK |
CPM_CONTROL__TXCLK_REGS_GATE_ENABLE_MASK |
CPM_CONTROL__TXCLK_PRBS_GATE_ENABLE_MASK |
CPM_CONTROL__REFCLK_REGS_GATE_ENABLE_MASK);
}
if (def != data)
WREG32_PCIE(smnCPM_CONTROL, data);
}
static void nbio_v2_3_update_medium_grain_light_sleep(struct amdgpu_device *adev,
bool enable)
{
uint32_t def, data;
if (!(adev->cg_flags & AMD_CG_SUPPORT_BIF_LS))
return;
def = data = RREG32_PCIE(smnPCIE_CNTL2);
if (enable) {
data |= (PCIE_CNTL2__SLV_MEM_LS_EN_MASK |
PCIE_CNTL2__MST_MEM_LS_EN_MASK |
PCIE_CNTL2__REPLAY_MEM_LS_EN_MASK);
} else {
data &= ~(PCIE_CNTL2__SLV_MEM_LS_EN_MASK |
PCIE_CNTL2__MST_MEM_LS_EN_MASK |
PCIE_CNTL2__REPLAY_MEM_LS_EN_MASK);
}
if (def != data)
WREG32_PCIE(smnPCIE_CNTL2, data);
}
static void nbio_v2_3_get_clockgating_state(struct amdgpu_device *adev,
u64 *flags)
{
int data;
/* AMD_CG_SUPPORT_BIF_MGCG */
data = RREG32_PCIE(smnCPM_CONTROL);
if (data & CPM_CONTROL__LCLK_DYN_GATE_ENABLE_MASK)
*flags |= AMD_CG_SUPPORT_BIF_MGCG;
/* AMD_CG_SUPPORT_BIF_LS */
data = RREG32_PCIE(smnPCIE_CNTL2);
if (data & PCIE_CNTL2__SLV_MEM_LS_EN_MASK)
*flags |= AMD_CG_SUPPORT_BIF_LS;
}
static u32 nbio_v2_3_get_hdp_flush_req_offset(struct amdgpu_device *adev)
{
return SOC15_REG_OFFSET(NBIO, 0, mmBIF_BX_PF_GPU_HDP_FLUSH_REQ);
}
static u32 nbio_v2_3_get_hdp_flush_done_offset(struct amdgpu_device *adev)
{
return SOC15_REG_OFFSET(NBIO, 0, mmBIF_BX_PF_GPU_HDP_FLUSH_DONE);
}
static u32 nbio_v2_3_get_pcie_index_offset(struct amdgpu_device *adev)
{
return SOC15_REG_OFFSET(NBIO, 0, mmPCIE_INDEX2);
}
static u32 nbio_v2_3_get_pcie_data_offset(struct amdgpu_device *adev)
{
return SOC15_REG_OFFSET(NBIO, 0, mmPCIE_DATA2);
}
const struct nbio_hdp_flush_reg nbio_v2_3_hdp_flush_reg = {
.ref_and_mask_cp0 = BIF_BX_PF_GPU_HDP_FLUSH_DONE__CP0_MASK,
.ref_and_mask_cp1 = BIF_BX_PF_GPU_HDP_FLUSH_DONE__CP1_MASK,
.ref_and_mask_cp2 = BIF_BX_PF_GPU_HDP_FLUSH_DONE__CP2_MASK,
.ref_and_mask_cp3 = BIF_BX_PF_GPU_HDP_FLUSH_DONE__CP3_MASK,
.ref_and_mask_cp4 = BIF_BX_PF_GPU_HDP_FLUSH_DONE__CP4_MASK,
.ref_and_mask_cp5 = BIF_BX_PF_GPU_HDP_FLUSH_DONE__CP5_MASK,
.ref_and_mask_cp6 = BIF_BX_PF_GPU_HDP_FLUSH_DONE__CP6_MASK,
.ref_and_mask_cp7 = BIF_BX_PF_GPU_HDP_FLUSH_DONE__CP7_MASK,
.ref_and_mask_cp8 = BIF_BX_PF_GPU_HDP_FLUSH_DONE__CP8_MASK,
.ref_and_mask_cp9 = BIF_BX_PF_GPU_HDP_FLUSH_DONE__CP9_MASK,
.ref_and_mask_sdma0 = BIF_BX_PF_GPU_HDP_FLUSH_DONE__SDMA0_MASK,
.ref_and_mask_sdma1 = BIF_BX_PF_GPU_HDP_FLUSH_DONE__SDMA1_MASK,
};
static void nbio_v2_3_init_registers(struct amdgpu_device *adev)
{
uint32_t def, data;
def = data = RREG32_PCIE(smnPCIE_CONFIG_CNTL);
data = REG_SET_FIELD(data, PCIE_CONFIG_CNTL, CI_SWUS_MAX_READ_REQUEST_SIZE_MODE, 1);
data = REG_SET_FIELD(data, PCIE_CONFIG_CNTL, CI_SWUS_MAX_READ_REQUEST_SIZE_PRIV, 1);
if (def != data)
WREG32_PCIE(smnPCIE_CONFIG_CNTL, data);
if (amdgpu_sriov_vf(adev))
adev->rmmio_remap.reg_offset = SOC15_REG_OFFSET(NBIO, 0,
mmBIF_BX_DEV0_EPF0_VF0_HDP_MEM_COHERENCY_FLUSH_CNTL) << 2;
}
#define NAVI10_PCIE__LC_L0S_INACTIVITY_DEFAULT 0x00000000 // off by default, no gains over L1
#define NAVI10_PCIE__LC_L1_INACTIVITY_DEFAULT 0x0000000A // 1=1us, 9=1ms, 10=4ms
#define NAVI10_PCIE__LC_L1_INACTIVITY_TBT_DEFAULT 0x0000000E // 400ms
static void nbio_v2_3_enable_aspm(struct amdgpu_device *adev,
bool enable)
{
uint32_t def, data;
def = data = RREG32_PCIE(smnPCIE_LC_CNTL);
if (enable) {
/* Disable ASPM L0s/L1 first */
data &= ~(PCIE_LC_CNTL__LC_L0S_INACTIVITY_MASK | PCIE_LC_CNTL__LC_L1_INACTIVITY_MASK);
data |= NAVI10_PCIE__LC_L0S_INACTIVITY_DEFAULT << PCIE_LC_CNTL__LC_L0S_INACTIVITY__SHIFT;
if (dev_is_removable(&adev->pdev->dev))
data |= NAVI10_PCIE__LC_L1_INACTIVITY_TBT_DEFAULT << PCIE_LC_CNTL__LC_L1_INACTIVITY__SHIFT;
else
data |= NAVI10_PCIE__LC_L1_INACTIVITY_DEFAULT << PCIE_LC_CNTL__LC_L1_INACTIVITY__SHIFT;
data &= ~PCIE_LC_CNTL__LC_PMI_TO_L1_DIS_MASK;
} else {
/* Disbale ASPM L1 */
data &= ~PCIE_LC_CNTL__LC_L1_INACTIVITY_MASK;
/* Disable ASPM TxL0s */
data &= ~PCIE_LC_CNTL__LC_L0S_INACTIVITY_MASK;
/* Disable ACPI L1 */
data |= PCIE_LC_CNTL__LC_PMI_TO_L1_DIS_MASK;
}
if (def != data)
WREG32_PCIE(smnPCIE_LC_CNTL, data);
}
#ifdef CONFIG_PCIEASPM
static void nbio_v2_3_program_ltr(struct amdgpu_device *adev)
{
uint32_t def, data;
WREG32_PCIE(smnRCC_EP_DEV0_0_EP_PCIE_TX_LTR_CNTL, 0x75EB);
def = data = RREG32_SOC15(NBIO, 0, mmRCC_BIF_STRAP2);
data &= ~RCC_BIF_STRAP2__STRAP_LTR_IN_ASPML1_DIS_MASK;
if (def != data)
WREG32_SOC15(NBIO, 0, mmRCC_BIF_STRAP2, data);
def = data = RREG32_PCIE(smnRCC_EP_DEV0_0_EP_PCIE_TX_LTR_CNTL);
data &= ~EP_PCIE_TX_LTR_CNTL__LTR_PRIV_MSG_DIS_IN_PM_NON_D0_MASK;
if (def != data)
WREG32_PCIE(smnRCC_EP_DEV0_0_EP_PCIE_TX_LTR_CNTL, data);
def = data = RREG32_PCIE(smnBIF_CFG_DEV0_EPF0_DEVICE_CNTL2);
data |= BIF_CFG_DEV0_EPF0_DEVICE_CNTL2__LTR_EN_MASK;
if (def != data)
WREG32_PCIE(smnBIF_CFG_DEV0_EPF0_DEVICE_CNTL2, data);
}
#endif
static void nbio_v2_3_program_aspm(struct amdgpu_device *adev)
{
#ifdef CONFIG_PCIEASPM
uint32_t def, data;
def = data = RREG32_PCIE(smnPCIE_LC_CNTL);
data &= ~PCIE_LC_CNTL__LC_L1_INACTIVITY_MASK;
data &= ~PCIE_LC_CNTL__LC_L0S_INACTIVITY_MASK;
data |= PCIE_LC_CNTL__LC_PMI_TO_L1_DIS_MASK;
if (def != data)
WREG32_PCIE(smnPCIE_LC_CNTL, data);
def = data = RREG32_PCIE(smnPCIE_LC_CNTL7);
data |= PCIE_LC_CNTL7__LC_NBIF_ASPM_INPUT_EN_MASK;
if (def != data)
WREG32_PCIE(smnPCIE_LC_CNTL7, data);
def = data = RREG32_PCIE(smnNBIF_MGCG_CTRL_LCLK);
data |= NBIF_MGCG_CTRL_LCLK__NBIF_MGCG_REG_DIS_LCLK_MASK;
if (def != data)
WREG32_PCIE(smnNBIF_MGCG_CTRL_LCLK, data);
def = data = RREG32_PCIE(smnPCIE_LC_CNTL3);
data |= PCIE_LC_CNTL3__LC_DSC_DONT_ENTER_L23_AFTER_PME_ACK_MASK;
if (def != data)
WREG32_PCIE(smnPCIE_LC_CNTL3, data);
def = data = RREG32_SOC15(NBIO, 0, mmRCC_BIF_STRAP3);
data &= ~RCC_BIF_STRAP3__STRAP_VLINK_ASPM_IDLE_TIMER_MASK;
data &= ~RCC_BIF_STRAP3__STRAP_VLINK_PM_L1_ENTRY_TIMER_MASK;
if (def != data)
WREG32_SOC15(NBIO, 0, mmRCC_BIF_STRAP3, data);
def = data = RREG32_SOC15(NBIO, 0, mmRCC_BIF_STRAP5);
data &= ~RCC_BIF_STRAP5__STRAP_VLINK_LDN_ENTRY_TIMER_MASK;
if (def != data)
WREG32_SOC15(NBIO, 0, mmRCC_BIF_STRAP5, data);
def = data = RREG32_PCIE(smnBIF_CFG_DEV0_EPF0_DEVICE_CNTL2);
data &= ~BIF_CFG_DEV0_EPF0_DEVICE_CNTL2__LTR_EN_MASK;
if (def != data)
WREG32_PCIE(smnBIF_CFG_DEV0_EPF0_DEVICE_CNTL2, data);
WREG32_PCIE(smnBIF_CFG_DEV0_EPF0_PCIE_LTR_CAP, 0x10011001);
def = data = RREG32_PCIE(smnPSWUSP0_PCIE_LC_CNTL2);
data |= PSWUSP0_PCIE_LC_CNTL2__LC_ALLOW_PDWN_IN_L1_MASK |
PSWUSP0_PCIE_LC_CNTL2__LC_ALLOW_PDWN_IN_L23_MASK;
data &= ~PSWUSP0_PCIE_LC_CNTL2__LC_RCV_L0_TO_RCV_L0S_DIS_MASK;
if (def != data)
WREG32_PCIE(smnPSWUSP0_PCIE_LC_CNTL2, data);
def = data = RREG32_PCIE(smnPCIE_LC_CNTL6);
data |= PCIE_LC_CNTL6__LC_L1_POWERDOWN_MASK |
PCIE_LC_CNTL6__LC_RX_L0S_STANDBY_EN_MASK;
if (def != data)
WREG32_PCIE(smnPCIE_LC_CNTL6, data);
/* Don't bother about LTR if LTR is not enabled
* in the path */
if (adev->pdev->ltr_path)
nbio_v2_3_program_ltr(adev);
def = data = RREG32_SOC15(NBIO, 0, mmRCC_BIF_STRAP3);
data |= 0x5DE0 << RCC_BIF_STRAP3__STRAP_VLINK_ASPM_IDLE_TIMER__SHIFT;
data |= 0x0010 << RCC_BIF_STRAP3__STRAP_VLINK_PM_L1_ENTRY_TIMER__SHIFT;
if (def != data)
WREG32_SOC15(NBIO, 0, mmRCC_BIF_STRAP3, data);
def = data = RREG32_SOC15(NBIO, 0, mmRCC_BIF_STRAP5);
data |= 0x0010 << RCC_BIF_STRAP5__STRAP_VLINK_LDN_ENTRY_TIMER__SHIFT;
if (def != data)
WREG32_SOC15(NBIO, 0, mmRCC_BIF_STRAP5, data);
def = data = RREG32_PCIE(smnPCIE_LC_CNTL);
data |= NAVI10_PCIE__LC_L0S_INACTIVITY_DEFAULT << PCIE_LC_CNTL__LC_L0S_INACTIVITY__SHIFT;
if (dev_is_removable(&adev->pdev->dev))
data |= NAVI10_PCIE__LC_L1_INACTIVITY_TBT_DEFAULT << PCIE_LC_CNTL__LC_L1_INACTIVITY__SHIFT;
else
data |= NAVI10_PCIE__LC_L1_INACTIVITY_DEFAULT << PCIE_LC_CNTL__LC_L1_INACTIVITY__SHIFT;
data &= ~PCIE_LC_CNTL__LC_PMI_TO_L1_DIS_MASK;
if (def != data)
WREG32_PCIE(smnPCIE_LC_CNTL, data);
def = data = RREG32_PCIE(smnPCIE_LC_CNTL3);
data &= ~PCIE_LC_CNTL3__LC_DSC_DONT_ENTER_L23_AFTER_PME_ACK_MASK;
if (def != data)
WREG32_PCIE(smnPCIE_LC_CNTL3, data);
#endif
}
static void nbio_v2_3_apply_lc_spc_mode_wa(struct amdgpu_device *adev)
{
uint32_t reg_data = 0;
uint32_t link_width = 0;
if (!((adev->asic_type >= CHIP_NAVI10) &&
(adev->asic_type <= CHIP_NAVI12)))
return;
reg_data = RREG32_PCIE(smnPCIE_LC_LINK_WIDTH_CNTL);
link_width = (reg_data & PCIE_LC_LINK_WIDTH_CNTL__LC_LINK_WIDTH_RD_MASK)
>> PCIE_LC_LINK_WIDTH_CNTL__LC_LINK_WIDTH_RD__SHIFT;
/*
* Program PCIE_LC_CNTL6.LC_SPC_MODE_8GT to 0x2 (4 symbols per clock data)
* if link_width is 0x3 (x4)
*/
if (0x3 == link_width) {
reg_data = RREG32_PCIE(smnPCIE_LC_CNTL6);
reg_data &= ~PCIE_LC_CNTL6__LC_SPC_MODE_8GT_MASK;
reg_data |= (0x2 << PCIE_LC_CNTL6__LC_SPC_MODE_8GT__SHIFT);
WREG32_PCIE(smnPCIE_LC_CNTL6, reg_data);
}
}
static void nbio_v2_3_apply_l1_link_width_reconfig_wa(struct amdgpu_device *adev)
{
uint32_t reg_data = 0;
if (adev->asic_type != CHIP_NAVI10)
return;
reg_data = RREG32_PCIE(smnPCIE_LC_LINK_WIDTH_CNTL);
reg_data |= PCIE_LC_LINK_WIDTH_CNTL__LC_L1_RECONFIG_EN_MASK;
WREG32_PCIE(smnPCIE_LC_LINK_WIDTH_CNTL, reg_data);
}
static void nbio_v2_3_clear_doorbell_interrupt(struct amdgpu_device *adev)
{
uint32_t reg, reg_data;
if (adev->ip_versions[NBIO_HWIP][0] != IP_VERSION(3, 3, 0))
return;
reg = RREG32_SOC15(NBIO, 0, mmBIF_RB_CNTL);
/* Clear Interrupt Status
*/
if ((reg & BIF_RB_CNTL__RB_ENABLE_MASK) == 0) {
reg = RREG32_SOC15(NBIO, 0, mmBIF_DOORBELL_INT_CNTL);
if (reg & BIF_DOORBELL_INT_CNTL__DOORBELL_INTERRUPT_STATUS_MASK) {
reg_data = 1 << BIF_DOORBELL_INT_CNTL__DOORBELL_INTERRUPT_CLEAR__SHIFT;
WREG32_SOC15(NBIO, 0, mmBIF_DOORBELL_INT_CNTL, reg_data);
}
}
}
const struct amdgpu_nbio_funcs nbio_v2_3_funcs = {
.get_hdp_flush_req_offset = nbio_v2_3_get_hdp_flush_req_offset,
.get_hdp_flush_done_offset = nbio_v2_3_get_hdp_flush_done_offset,
.get_pcie_index_offset = nbio_v2_3_get_pcie_index_offset,
.get_pcie_data_offset = nbio_v2_3_get_pcie_data_offset,
.get_rev_id = nbio_v2_3_get_rev_id,
.mc_access_enable = nbio_v2_3_mc_access_enable,
.get_memsize = nbio_v2_3_get_memsize,
.sdma_doorbell_range = nbio_v2_3_sdma_doorbell_range,
.vcn_doorbell_range = nbio_v2_3_vcn_doorbell_range,
.enable_doorbell_aperture = nbio_v2_3_enable_doorbell_aperture,
.enable_doorbell_selfring_aperture = nbio_v2_3_enable_doorbell_selfring_aperture,
.ih_doorbell_range = nbio_v2_3_ih_doorbell_range,
.update_medium_grain_clock_gating = nbio_v2_3_update_medium_grain_clock_gating,
.update_medium_grain_light_sleep = nbio_v2_3_update_medium_grain_light_sleep,
.get_clockgating_state = nbio_v2_3_get_clockgating_state,
.ih_control = nbio_v2_3_ih_control,
.init_registers = nbio_v2_3_init_registers,
.remap_hdp_registers = nbio_v2_3_remap_hdp_registers,
.enable_aspm = nbio_v2_3_enable_aspm,
.program_aspm = nbio_v2_3_program_aspm,
.apply_lc_spc_mode_wa = nbio_v2_3_apply_lc_spc_mode_wa,
.apply_l1_link_width_reconfig_wa = nbio_v2_3_apply_l1_link_width_reconfig_wa,
.clear_doorbell_interrupt = nbio_v2_3_clear_doorbell_interrupt,
};
``` |
In the 1999 Tour de France, the following 20 teams were each allowed to field nine cyclists:
After the doping controversies in the 1998 Tour de France, the Tour organisation banned some persons from the race, including cyclist Richard Virenque, Laurent Roux and Philippe Gaumont, manager Manolo Saiz and the entire team. Virenque's team Polti then appealed at the UCI against this decision, and the UCI then forced the Tour organisation to allow Virenque and Saiz entry in the Tour.
Initially, the team had been selected, but after their team leader Serhiy Honchar failed a blood test in the 1999 Tour de Suisse, the tour organisation removed Vini Caldirola from the starting list, and replaced them by , the first reserve team.
Teams
Qualified teams
Invited teams
Cyclists
By starting number
By team
By nationality
References
1999 Tour de France
1999 |
```python
'''
'''
# -*- coding:utf-8 -*-
class Solution:
# [a,b] ab
def FindNumsAppearOnce(self, array):
if array == None or len(array) <= 0:
return []
resultExclusiveOr = 0
for i in array:
resultExclusiveOr ^= i
indexOf1 = self.FindFirstBitIs1(resultExclusiveOr)
num1, num2 = 0
for j in range(len(array)):
if self.IsBit1(array[j], indexOf1):
num1 ^= array[j]
else:
num2 ^= array[j]
return [num1, num2]
def FindFirstBitIs1(self, num):
indexBit = 0
while num & 1 == 0 and indexBit <= 32:
indexBit += 1
num = num >> 1
return indexBit
def IsBit1(self, num, indexBit):
num = num >> indexBit
return num & 1
class Solution2:
# [a,b] ab
def FindNumsAppearOnce(self, array):
if array == None or len(array) <= 0:
return []
resultExOr = self.ExOr(array)
i = 0
while resultExOr and i <= 32:
i += 1
resultExOr = resultExOr>>1
num1, num2 = [], []
for num in array:
if self.bitIs1(num, i):
num1.append(num)
else:
num2.append(num)
first = self.ExOr(num1)
second = self.ExOr(num2)
return [first, second]
def ExOr(self, aList):
ExOrNum = 0
for i in aList:
ExOrNum = ExOrNum ^ i
return ExOrNum
def bitIs1(self, n, i):
n = n >> (i-1)
return n & 1
aList = [2, 4, 3, 6, 3, 2, 5, 5]
s = Solution()
print(s.FindNumsAppearOnce(aList))
``` |
The Clement Payne Movement (CPM) is a left-wing Barbados-based political party named in honour of a Trinidad-born man who led a 1937 uprising in Barbados. The Clement Payne Movement is generally seen by most Barbadians as more leftist in ideology when compared with either the more moderate Barbados Labour Party (BLP) or Democratic Labour Party (DLP).
The CPM also seeks the global advancement of Pan-Africanism, and has a strong base in this area located in Barbados. The president of the party is David A. Comissiong and the general secretary is Bobby Clarke.
In the past, on several occasions the leaders of the CPM have publicly appealed to other Caribbean governments not to officially recognize the 2004 US-imposed interim government in Haiti. The party also officially opposes the process known as the Free Trade Area of the Americas.
History
The CPM was formed in 1988, when its leading figures included David Commissiong, Martin Cadogan, Leroy Harewood, Trevor prescod, David Denny and John Howell. The organization is named after Clement Payne, a pioneer in the Caribbean trade union movement, who in 1998 was officially recognized as one of the National Heroes of Barbados. The CPM annually distributes a "Clement Payne Hero’s Award".
The CPM maintains close contacts with the Communist Party of Cuba, and supports normalised relations with the Republic of Cuba.
See also
People's Empowerment Party (CPM electoral front)
Pan-Caribbean Congress
References
External links
The lesson of Cuba, by David Comissiong
Clement Payne
Communist parties in Barbados
Pan-Africanist political parties in the Caribbean
Political parties in Barbados |
```xml
/* eslint-disable react/jsx-key, react-native/no-inline-styles */
import React from "react"
import { EmptyState } from "../../../components"
import { colors } from "../../../theme"
import { DemoDivider } from "../DemoDivider"
import { Demo } from "../DemoShowroomScreen"
import { DemoUseCase } from "../DemoUseCase"
export const DemoEmptyState: Demo = {
name: "EmptyState",
description: "demoEmptyState.description",
data: [
<DemoUseCase
name="demoEmptyState.useCase.presets.name"
description="demoEmptyState.useCase.presets.description"
>
<EmptyState preset="generic" />
</DemoUseCase>,
<DemoUseCase
name="demoEmptyState.useCase.passingContent.name"
description="demoEmptyState.useCase.passingContent.description"
>
<EmptyState
imageSource={require("../../../../assets/images/logo.png")}
headingTx="demoEmptyState.useCase.passingContent.customizeImageHeading"
contentTx="demoEmptyState.useCase.passingContent.customizeImageContent"
/>
<DemoDivider size={30} line />
<EmptyState
headingTx="demoEmptyState.useCase.passingContent.viaHeadingProp"
contentTx="demoEmptyState.useCase.passingContent.viaContentProp"
buttonTx="demoEmptyState.useCase.passingContent.viaButtonProp"
/>
<DemoDivider size={30} line />
<EmptyState
headingTx="demoShowroomScreen.demoViaSpecifiedTxProp"
headingTxOptions={{ prop: "heading" }}
contentTx="demoShowroomScreen.demoViaSpecifiedTxProp"
contentTxOptions={{ prop: "content" }}
buttonTx="demoShowroomScreen.demoViaSpecifiedTxProp"
buttonTxOptions={{ prop: "button" }}
/>
</DemoUseCase>,
<DemoUseCase
name="demoEmptyState.useCase.styling.name"
description="demoEmptyState.useCase.styling.description"
>
<EmptyState
preset="generic"
style={{ backgroundColor: colors.error, paddingVertical: 20 }}
imageStyle={{ height: 75, tintColor: colors.palette.neutral100 }}
ImageProps={{ resizeMode: "contain" }}
headingStyle={{
color: colors.palette.neutral100,
textDecorationLine: "underline",
textDecorationColor: colors.palette.neutral100,
}}
contentStyle={{
color: colors.palette.neutral100,
textDecorationLine: "underline",
textDecorationColor: colors.palette.neutral100,
}}
buttonStyle={{
alignSelf: "center",
backgroundColor: colors.palette.neutral100,
}}
buttonTextStyle={{ color: colors.error }}
ButtonProps={{
preset: "reversed",
}}
/>
</DemoUseCase>,
],
}
// @demo remove-file
``` |
Robert Vossler Keeley (September 4, 1929 – January 9, 2015) had a 34-year career in the Foreign Service of the United States, from 1956 to 1989. He served three times as Ambassador: to Greece (1985–89), Zimbabwe (1980–84), and Mauritius (1976–78). In 1978–80 he was Deputy Assistant Secretary of State for African Affairs, in charge of southern and eastern Africa.
Earlier in his career he had assignments as Deputy Chief of Mission in Cambodia (1974–75) and Uganda (1971–73), and as Deputy Director of the Interagency Task Force for the Indochina Refugees (1975–76). His other foreign postings were as Political Officer in Jordan, Mali, and Greece. In Washington he served as Congo (Zaire) desk officer, and as alternate director for East Africa. At his retirement in 1989 Keeley held the rank of Career Minister.
The same year he received the Christian Herter Award from the American Foreign Service Association for "extraordinary accomplishment involving initiative, integrity, intellectual courage, and creative dissent." At other stages in his career he earned the Superior Honor Award (for Cambodia), a Presidential Citation (for the Refugee Task Force), and a Presidential Distinguished Service Award (for Zimbabwe). In 1985 he was elected President of the American Foreign Service Association.
From November 1990 to January 1995 Ambassador Keeley served as President of the Middle East Institute in Washington, a private, non-profit educational and cultural institution founded in 1946 to foster greater understanding in the United States of the countries of the Middle East region from Morocco to Central Asia.
Early life, education, and military service
Keeley was born in Beirut, Lebanon, France, in 1929, where his late father, American diplomat James Hugh Keeley, Jr., was serving as the American Consul. Keeley was educated in Canada, Greece, Belgium, and the United States. He graduated summa cum laude from Princeton University in 1951, with a major in English literature under the Special Program in the Humanities. His senior thesis was a novel with a critical preface, the first such "creative writing" undergraduate dissertation authorized. His brother Edmund Keeley also graduated from Princeton. Robert continued with graduate work at Princeton in English, and later, while in the Foreign Service, he held graduate fellowships at Stanford and at Princeton in public and international affairs. He did his military service in the U.S. Coast Guard during the Korean War (1953–55) as commanding officer of an 83-foot patrol boat.
Family
Keeley was married to the former Louise Benedict Schoonmaker and they had two children. They were married June 23, 1951, in Kingston, Ulster County, New York. Their daughter, Michal Mathilde Keeley, a 1976 graduate of Princeton, is a retired editor. Their son, Christopher John (Chris), earned a Bachelor of Fine Arts in photography from the Corcoran School of Art in 1988 and a Master's in Social Work from Catholic University in 1997, and is an artist and licensed social worker working for the D.C. Government in child welfare services. Louise S. Keeley was the niece of Louise Burt Schoonmaker, who married William Edwin Chilton, the son of United States Senator from West Virginia William E. Chilton. Before marrying Robert, while attending Smith College, Louise was "a steady companion of writer J.D. Salinger during the time he was writing 'Catcher in the Rye.'"
Affiliations
Keeley's affiliations were the Cosmos Club of Washington, the American Foreign Service Association, Diplomatic and Consular Officers Retired, the Princeton Club of Washington, the Washington Institute of Foreign Affairs, the Literary Society, and the American Academy of Diplomacy.
Current work
After retiring from the Foreign Service, Keeley was Chairman of the Board of Directors for the Council for the National Interest. In addition he worked as a freelance writer, lecturer, and consultant, based in Washington. His interests were not confined to foreign affairs, but extended to issues of domestic politics, economics, and social policy. He wrote two memoirs covering portions of his career: Uganda under the rule of Idi Amin Dada (1971–73) and Greece under "the Colonels" (1966–68), the latter titled The Colonels’ Coup and the American Embassy: A Diplomat’s View of the Breakdown of Democracy in Cold War Greece. One chapter of the Uganda book has been published in "Embassies Under Siege: Personal Accounts by Diplomats on the Front Line" (Institute for the Study of Diplomacy, Georgetown University, Brassey's, 1995).
In 1995 Ambassador Keeley founded the Five and Ten Press Inc., a publishing company whose purpose was to publish in inexpensive format (booklets and pamphlets) original articles, essays, and other short works of fiction and nonfiction rejected or ignored by the media and mainstream publishers. The press was incorporated in the District of Columbia in February 1996. The name comes from the intention to price the products of the press at between five and ten dollars a copy. The press's first publication was a pamphlet entitled D.C. Governance: It's Always Been a Matter of Race and Money, issued in December 1995, and the second was a booklet with the title Annals of Investing: Steve Forbes vs. Warren Buffett, published in March 1996. A third, The File: A Princeton Memoir. was published in May 1996. All three had the same author: the publisher, whose business card identified his profession as "Consulting Iconoclast." In October 1996 the Press began to sell its publications on a subscription basis and mostly broke even financially.
In 2000 Keeley contributed a chapter on CIA-Foreign Service relations to the book National Insecurity-U.S. Intelligence After the Cold War, a work recommending reforms of the CIA, published by Temple University Press for the Center for International Policy. Also in 2000 Keeley edited a book for the American Academy of Diplomacy entitled First Line of Defense-Ambassadors, Embassies and American Interests Abroad that advocated greater reliance on and better funding for American diplomacy in conflict resolution and protecting our national security. Keeley also edited two yearbooks for the 50th reunion of Princeton's Class of 1951 in the year 2001. In 2010 Keeley published the book The Colonels' Coup and the American Embassy: A Diplomat's View of the Breakdown of Democracy in Cold War Greece. Keeley died after an apparent stroke in January 2015.
In 2004, Keeley was among 27 retired diplomats and military commanders who publicly said the administration of President George W. Bush did not understand the world and was unable to handle "in either style or substance" the responsibilities of global leadership. On June 16, 2004 the Diplomats and Military Commanders for Change issued a statement against the Iraq War.
References
External links
http://www.cnionline.org/cni-board-of-directors/
1929 births
2015 deaths
Military personnel from New Jersey
Princeton University alumni
Catholic University of America alumni
Ambassadors of the United States to Greece
Ambassadors of the United States to Zimbabwe
Ambassadors of the United States to Mauritius
United States Foreign Service personnel
20th-century American diplomats |
The International Society for Research on Aggression (abbreviated ISRA) is an international learned society dedicated to scientific research on all aspects of human aggressive behavior. It was established in August 1972 in Tokyo, Japan, by a group of academics who were there to attend the 20th Annual International Congress of Psychology. The Society was co-founded by Saul Rosenzweig and John Paul Scott, who served as its first and second president, respectively. Its official journal is Aggressive Behavior, which is published by John Wiley & Sons. The current president of the society is Barbara Krahé.
Presidents
Notable past presidents of the ISRA include:
Saul Rosenzweig (first president)
John Paul Scott (second president)
Dan Olweus (1995-1996)
Leonard Eron (1989–1991)
Craig A. Anderson (2010–2012)
References
External links
Organizations established in 1972
Aggression
International learned societies |
Weldborough is a rural locality in the local government areas of Break O'Day and Dorset in the North-east region of Tasmania. It is located about north-west of the town of St Helens. The 2016 census determined a population of 28 for the state suburb of Weldborough.
History
The area was named for Sir Frederick Weld, Governor of Tasmania from 1875 to 1880. Weldborough was gazetted as a locality in 1969.
Geography
The North George River forms part of the southern boundary.
Road infrastructure
The Tasman Highway (A3) enters from the north-west and runs south-east through the village before exiting to the south-east. Route C425 (Blundell Street / Mount Paris Dam Road) starts at an intersection with A3 and runs west and south-west before exiting.
References
Localities of Break O'Day Council
Localities of Dorset Council (Australia)
Towns in Tasmania |
The Service Evaluation System (SES) was an operations support system developed by Bell Laboratories and used by telephone companies beginning in the late 1960s. Many local, long distance, and operator circuit-switching systems provided special dedicated circuits to the SES to monitor the quality of customer connections during the call setup process. Calls were selected at random by switching systems and one-way voice connections were established to the SES monitoring center.
During this era, most voice connections used analog trunk circuits that were designed to conform with the Via Net Loss plan established by Bell Laboratories. The purpose of the VNL plan and five-level long distance switching hierarchy was to minimize the number of trunk circuits in a call and maximize the voice quality of the connections. Excessive loss in a voice connection meant that subscribers may have difficulty hearing each other. This was particularly important in the 1960s when dial up data connections were developed with the use of analog modems. The SES evaluated multi-frequency outpulsing signaling as well as voice impairments including sound amplitude, noise, echo, and a variety of other parameters. Deployment of common-channel signaling systems such as Common Channel Interoffice Signaling and later Signaling System #7 obviated the need to monitor multi-frequency signaling as it became obsolete.
The Service Evaluation System was described in Notes on the Network published by AT&T in 1970, 1975, 1980 and later versions published by Bell Communications Research (now Telcordia Technologies) in 1983, 1986, 1990, 1994, and 2000.
References
Telecommunications standards
Telecommunications systems |
Sarband () is a village in Fin Rural District, Fin District, Bandar Abbas County, Hormozgan Province, Iran. At the 2006 census, its population was 73, in 14 families.
References
Populated places in Bandar Abbas County |
The 1990 California Attorney General election was held on November 6, 1990. Republican nominee Dan Lungren narrowly defeated Democratic nominee Arlo Smith with 46.77% of the vote.
Primary elections
Primary elections were held on June 5, 1990.
Democratic primary
Candidates
Arlo Smith, District Attorney of San Francisco
Ira Reiner, Los Angeles County District Attorney
Results
Republican primary
Candidates
Dan Lungren, former U.S. Representative
Results
General election
Candidates
Major party candidates
Dan Lungren, Republican
Arlo Smith, Democratic
Other candidates
Paul N. Gautreau, Libertarian
Robert J. Evans, Peace and Freedom
Results
References
1990
Attorney General
California |
```objective-c
/* alert_box.h
* Routines to put up various "standard" alert boxes used in multiple
* places
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
*
* This program is free software; you can redistribute it and/or
* as published by the Free Software Foundation; either version 2
*
* This program 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
*
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __ALERT_BOX_H__
#define __ALERT_BOX_H__
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/*
* Alert box for general errors.
*/
extern void failure_alert_box(const char *msg_format, ...) G_GNUC_PRINTF(1, 2);
extern void vfailure_alert_box(const char *msg_format, va_list ap);
/*
* Alert box for a failed attempt to open or create a file.
* "err" is assumed to be a UNIX-style errno; "for_writing" is TRUE if
* the file is being opened for writing and FALSE if it's being opened
* for reading.
*/
extern void open_failure_alert_box(const char *filename, int err,
gboolean for_writing);
/*
* Alert box for a failed attempt to read a file.
* "err" is assumed to be a UNIX-style errno.
*/
extern void read_failure_alert_box(const char *filename, int err);
/*
* Alert box for a failed attempt to write to a file.
* "err" is assumed to be a UNIX-style errno.
*/
extern void write_failure_alert_box(const char *filename, int err);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __ALERT_BOX_H__ */
/*
* Editor modelines
*
* Local Variables:
* c-basic-offset: 4
* tab-width: 8
* indent-tabs-mode: nil
* End:
*
* ex: set shiftwidth=4 tabstop=8 expandtab:
* :indentSize=4:tabSize=8:noTabs=true:
*/
``` |
Ciboria amentacea, commonly known as the catkin cup, is a species of ascomycete fungus in the family Sclerotiniaceae. It is widespread in Europe and North America, where it grows on catkins of willow and alder. The species was first described by Giovanni Battista Balbis in 1804 as Peziza amentacea. Karl Wilhelm Gottlieb Leopold Fuckel transferred it to Ciboria in 1870.
References
External links
Fungi described in 1804
Fungi of Europe
Fungi of North America
Sclerotiniaceae |
The Dongfeng Fengxing Jingyi X3 is a subcompact CUV produced by Dongfeng Liuzhou Motor under the Jingyi product series of the Dongfeng Fengxing sub-brand.
Overview
The Fengxing Jingyi X3 is positioned under the first generation Dongfeng Fengxing Jingyi X5 compact MPV it shares the platform with at launch. It was launched in 2014 with prices ranges from 66,900 yuan to 86,900 yuan. Design is similar to the facelifted Dongfeng Fengxing Jingyi X5 I as the two vehicle shares the same platform. A minor facelift was launched in 2016 refreshing the front grilles.
References
External links
Fengxing Jingyi X3 Official website
2010s cars
Cars introduced in 2014
Cars of China
Crossover sport utility vehicles
Fengxing Jingyi X3
Front-wheel-drive vehicles
Mini sport utility vehicles |
Daniel Joseph Nadler is a Canadian-born technology entrepreneur, artist, and poet. He is the co-founder of Kensho Technologies, which, according to Forbes, became the most valuable privately owned artificial intelligence company in history when it was acquired by S&P Global for $550 million in 2018.
Education
Nadler received a Ph.D. from Harvard University in 2016; his doctoral thesis involved new econometric and statistical approaches to modeling low probability, high impact events.
During his academic career Nadler held a fellowship at Harvard's Mind/Brain/Behavior Initiative and served as a Research Director at Stanford University's School of Engineering.
Career
Kensho Technologies
In 2013, while still a Ph.D. student at Harvard University, Nadler co-founded Kensho Technologies, an artificial intelligence company that developed machine learning systems. In 2017, at Davos, Kensho was named by the World Economic Forum as "one of most innovative and impactful technology companies in the world". In 2018 Kensho became, according to Forbes, the most valuable privately owned artificial intelligence company in history when it was acquired by S&P Global for $550 million in 2018.
In 2016 and 2017 Nadler was recognized as a Technology Pioneer at the World Economic Forum in Davos.
XYLA
In 2021 Nadler founded Xyla, an artificial intelligence company developing AI systems that can read, write, synthesize, and reason about complex and specialized knowledge, such as science, medicine and engineering.
Other activities
Since 2020, Nadler has served on the Digital Art Committee of the Whitney Museum.
In 2021, Nadler was elected to the Board of Directors of the Museum of Modern Art PS1 (MoMA PS1).
Poetry
At Harvard University Nadler studied with Pulitzer Prize winning poet Jorie Graham while completing his Ph.D. in statistical and mathematical fields. Nadler's debut collection of poetry, Lacunae: 100 Imagined Ancient Love Poems, was published by Farrar, Straus and Giroux in 2016 and was named a Best Book of the Year by NPR.
In 2018 Nadler was elected to the board of directors of the Academy of American Poets, becoming the youngest person ever to be elected to the Academy's Board in its 85-year history.
Film
In 2018 Nadler co-financed and served as executive producer on Motherless Brooklyn, a crime drama film written, produced and directed by Edward Norton based on the 1999 novel of the same name by Jonathan Lethem. Norton also stars in the film, along with Willem Dafoe, Bruce Willis, and Alec Baldwin. The film premiered at the 2019 Telluride Film Festival, as well as the 2019 Toronto International Film Festival, and was selected as the closing film of the 2019 New York Film Festival. In 2019 Nadler co-financed and served as producer on the upcoming drama Palmer, starring Justin Timberlake, which is slated for release in 2020.
References
1983 births
Living people
Businesspeople from Toronto
Canadian male poets
Canadian technology company founders
Harvard Graduate School of Arts and Sciences alumni
Writers from Toronto
21st-century Canadian businesspeople
21st-century Canadian poets |
```php
<?php
/**
* FecShop file.
*
* @link path_to_url
* @license path_to_url
*/
namespace fecshop\app\appserver\modules\Catalog\controllers;
use fecshop\app\appserver\modules\AppserverController;
use Yii;
/**
* @author Terry Zhao <2358269014@qq.com>
* @since 1.0
*/
class CategoryController extends AppserverController
{
//
protected $_category;
//
protected $_title;
//
protected $_primaryVal;
//
protected $_defautOrder;
//
protected $_defautOrderDirection = SORT_DESC;
// where
protected $_where;
// url
protected $_numPerPage = 'numPerPage';
// url
protected $_direction = 'dir';
// url
protected $_sort = 'sortColumn';
// url
protected $_page = 'p';
// url
protected $_filterPrice = 'price';
// url
protected $_filterPriceAttr = 'price';
//
protected $_productCount;
protected $_filter_attr;
protected $_numPerPageVal;
protected $_page_count;
protected $category_name;
protected $sp = '---';
public function behaviors()
{
$behaviors = parent::behaviors();
//$primaryKey = Yii::$service->category->getPrimaryKey();
$category_id = Yii::$app->request->get('categoryId');
$cacheName = 'category';
if (Yii::$service->cache->isEnable($cacheName)) {
$timeout = Yii::$service->cache->timeout($cacheName);
$disableUrlParam = Yii::$service->cache->disableUrlParam($cacheName);
$cacheUrlParam = Yii::$service->cache->cacheUrlParam($cacheName);
$get_str = '';
$get = Yii::$app->request->get();
//
if (isset($get[$disableUrlParam])) {
$behaviors[] = [
'enabled' => false,
'class' => 'yii\filters\PageCache',
'only' => ['index'],
];
return $behaviors;
}
if (is_array($get) && !empty($get) && is_array($cacheUrlParam)) {
foreach ($get as $k=>$v) {
if (in_array($k, $cacheUrlParam)) {
if ($k != 'p' || $v != 1) {
$get_str .= $k.'_'.$v.'_';
}
}
}
}
$store = Yii::$service->store->currentStore;
$currency = Yii::$service->page->currency->getCurrentCurrency();
$langCode = Yii::$service->store->currentLangCode;
$behaviors[] = [
'enabled' => true,
'class' => 'yii\filters\PageCache',
'only' => ['index'],
'duration' => $timeout,
'variations' => [
$store, $currency, $get_str, $category_id,$langCode
],
//'dependency' => [
// 'class' => 'yii\caching\DbDependency',
// 'sql' => 'SELECT COUNT(*) FROM post',
//],
];
}
return $behaviors;
}
public function init()
{
parent::init();
$this->getQuerySort();
}
protected $_sort_items;
public function getQuerySort()
{
if (!$this->_sort_items) {
$category_sorts = Yii::$app->store->get('category_sort');
if (is_array($category_sorts)) {
foreach ($category_sorts as $one) {
$sort_key = $one['sort_key'];
$sort_label = $one['sort_label'];
$sort_db_columns = $one['sort_db_columns'];
$sort_direction = $one['sort_direction'];
$this->_sort_items[$sort_key] = [
'label' => $sort_label,
'db_columns' => $sort_db_columns,
'direction' => $sort_direction,
];
}
}
}
}
public function actionIndex(){
if(Yii::$app->request->getMethod() === 'OPTIONS'){
return [];
}
//
//
$this->getNumPerPage();
//echo Yii::$service->page->translate->__('fecshop,{username}', ['username' => 'terry']);
if(!$this->initCategory()){
$code = Yii::$service->helper->appserver->category_not_exist;
$data = [];
$responseData = Yii::$service->helper->appserver->getResponseData($code, $data);
return $responseData;
}
// change current layout File.
//Yii::$service->page->theme->layoutFile = 'home.php';
$productCollInfo = $this->getCategoryProductColl();
$products = $productCollInfo['coll'];
$this->_productCount = $productCollInfo['count'];
$p = Yii::$app->request->get('p');
$p = (int)$p;
$query_item = $this->getQueryItem();
$page_count = $this->getProductPageCount();
$this->category_name = Yii::$service->store->getStoreAttrVal($this->_category['name'], 'name');
$code = Yii::$service->helper->appserver->status_success;
$data = [
'name' => $this->category_name ,
'name_default_lang' => Yii::$service->fecshoplang->getDefaultLangAttrVal($this->_category['name'], 'name'),
'title' => $this->_title,
'image' => $this->_category['image'] ? Yii::$service->category->image->getUrl($this->_category['image']) : '',
'products' => $products,
'query_item' => $query_item,
'refine_by_info' => $this->getRefineByInfo(),
'filter_info' => $this->getFilterInfo(),
'filter_price' => $this->getFilterPrice(),
'filter_category' => $this->getFilterCategory(),
'page_count' => $page_count,
];
$responseData = Yii::$service->helper->appserver->getResponseData($code, $data);
return $responseData;
}
//
public function actionWxindex(){
if(Yii::$app->request->getMethod() === 'OPTIONS'){
return [];
}
//
//
$this->getNumPerPage();
//echo Yii::$service->page->translate->__('fecshop,{username}', ['username' => 'terry']);
if(!$this->initCategory()){
$code = Yii::$service->helper->appserver->category_not_exist;
$data = [];
$responseData = Yii::$service->helper->appserver->getResponseData($code, $data);
return $responseData;
}
// change current layout File.
//Yii::$service->page->theme->layoutFile = 'home.php';
$productCollInfo = $this->getWxCategoryProductColl();
$products = $productCollInfo['coll'];
$this->_productCount = $productCollInfo['count'];
$p = Yii::$app->request->get('p');
$p = (int)$p;
$query_item = $this->getQueryItem();
$page_count = $this->getProductPageCount();
$this->category_name = Yii::$service->store->getStoreAttrVal($this->_category['name'], 'name');
$code = Yii::$service->helper->appserver->status_success;
$data = [
'name' => $this->category_name ,
'name_default_lang' => Yii::$service->fecshoplang->getDefaultLangAttrVal($this->_category['name'], 'name'),
'title' => $this->_title,
'image' => $this->_category['image'] ? Yii::$service->category->image->getUrl($this->_category['image']) : '',
'products' => $products,
'query_item' => $query_item,
'refine_by_info' => $this->getRefineByInfo(),
'filter_info' => $this->getFilterInfo(),
'filter_price' => $this->getFilterPrice(),
'filter_category' => $this->getFilterCategory(),
'page_count' => $page_count,
];
$responseData = Yii::$service->helper->appserver->getResponseData($code, $data);
return $responseData;
}
public function actionProduct()
{
if(Yii::$app->request->getMethod() === 'OPTIONS'){
return [];
}
//
//
$this->getNumPerPage();
if(!$this->initCategory()){
$code = Yii::$service->helper->appserver->category_not_exist;
$data = [];
$responseData = Yii::$service->helper->appserver->getResponseData($code, $data);
return $responseData;
}
$productCollInfo = $this->getCategoryProductColl();
$products = $productCollInfo['coll'];
$code = Yii::$service->helper->appserver->status_success;
$data = [
'products' => $products
];
$responseData = Yii::$service->helper->appserver->getResponseData($code, $data);
return $responseData;
}
/**
*
*/
protected function getFilterCategory()
{
$arr = [];
if (!Yii::$service->category->isEnableFilterSubCategory()) {
return $arr;
}
$category_id = $this->_primaryVal;
$parent_id = $this->_category['parent_id'];
$filter_category = Yii::$service->category->getFilterCategory($category_id, $parent_id);
return $this->getAppServerFilterCategory($filter_category);
}
protected function getAppServerFilterCategory($filter_category){
if((is_array($filter_category) || is_object($filter_category)) && !empty($filter_category)){
foreach($filter_category as $category_id => $v){
$filter_category[$category_id]['name'] = Yii::$service->store->getStoreAttrVal($v['name'],'name');
if($filter_category[$category_id]['name'] == $this->category_name){
$filter_category[$category_id]['current'] = true;
}else{
$filter_category[$category_id]['current'] = false;
}
$filter_category[$category_id]['url'] = 'catalog/category/'.$category_id;
if(isset($v['child'])){
$filter_category[$category_id]['child'] = $this->getAppServerFilterCategory($v['child']);
}
}
}
return $filter_category;
}
/**
* toolbar
*
*/
protected function getProductPageCount()
{
$productNumPerPage = $this->getNumPerPage();
$productCount = $this->_productCount;
$pageNum = $this->getPageNum();
return $this->_page_count = ceil($productCount / $productNumPerPage);
}
/**
* toolbar
*
*/
protected function getQueryItem()
{
//$category_query = Yii::$app->controller->module->params['category_query'];
//$numPerPage = $category_query['numPerPage'];
$appName = Yii::$service->helper->getAppName();
$numPerPage = Yii::$app->store->get($appName.'_catalog','category_query_numPerPage');
$numPerPage = explode(',', $numPerPage);
$sort = $this->_sort_items;
$current_sort = Yii::$app->request->get($this->_sort);
$frontNumPerPage = [];
$frontSort = [];
$hasSelect = false;
if (is_array($sort) && !empty($sort)) {
$attrUrlStr = $this->_sort;
$dirUrlStr = $this->_direction;
foreach ($sort as $np=>$info) {
$label = $info['label'];
$direction = $info['direction'];
if($current_sort == $np){
$selected = true;
$hasSelect = true;
}else{
$selected = false;
}
$label = Yii::$service->page->translate->__($label);
$frontSort[] = [
'label' => $label,
'value' => $np,
'selected' => $selected,
];
}
}
if (!$hasSelect ){ //
$frontSort[0]['selected'] = true;
}
$data = [
'frontNumPerPage' => $frontNumPerPage,
'frontSort' => $frontSort,
];
return $data;
}
/**
* @return Array
*
* 1.catalog module category_filter_attr
* 2. filter_product_attr_selected
* 3. filter_product_attr_unselected
*
*/
protected function getFilterAttr()
{
return Yii::$service->category->getFilterAttr($this->_category);
}
/**
*
*/
protected function getRefineByInfo()
{
$refineInfo = [];
$chosenAttrs = Yii::$app->request->get('filterAttrs');
$chosenAttrArr = json_decode($chosenAttrs,true);
if(!empty($chosenAttrArr)){
foreach ($chosenAttrArr as $attr=>$val) {
$refine_attr_str = Yii::$service->category->getCustomCategoryFilterAttrItemLabel($attr, $val);
if (!$refine_attr_str) {
$refine_attr_str = Yii::$service->page->translate->__($val);
}
$attrLabel = Yii::$service->category->getCustomCategoryFilterAttrLabel($attr);
$refineInfo[] = [
'attr' => $attr,
'val' => $refine_attr_str,
'attrLabel' => $attrLabel,
];
}
}
$currenctPriceFilter = Yii::$app->request->get('filterPrice');
if($currenctPriceFilter){
$refineInfo[] = [
'attr' => $this->_filterPrice,
'attrLabel' => $this->_filterPrice,
'val' => $currenctPriceFilter,
];
}
if (!empty($refineInfo)) {
$arr[] = [
'attr' => 'clear All',
'attrLabel' =>'clear All',
'val' => Yii::$service->page->translate->__('clear all'),
];
$refineInfo = array_merge($arr, $refineInfo);
}
return $refineInfo;
}
/**
*
*/
protected function getFilterInfo()
{
$chosenAttrs = Yii::$app->request->get('filterAttrs');
return Yii::$service->category->getFilterInfo($this->_category, $this->_where, $chosenAttrs);
/*
$filter_info = [];
$filter_attrs = $this->getFilterAttr();
$chosenAttrs = Yii::$app->request->get('filterAttrs');
$chosenAttrArr = json_decode($chosenAttrs,true);
foreach ($filter_attrs as $attr) {
if ($attr != 'price') {
$label = preg_replace_callback('/([-_]+([a-z]{1}))/i',function($matches){
return ' '.strtoupper($matches[2]);
},$attr);
$items = Yii::$service->product->getFrontCategoryFilter($attr, $this->_where);
if(is_array($items) && !empty($items)){
foreach($items as $k=>$one){
if(isset($chosenAttrArr[$attr]) && $chosenAttrArr[$attr] == $one['_id']){
$items[$k]['selected'] = true;
} else {
$items[$k]['selected'] = false;
}
if (isset($items[$k]['_id'])) {
$items[$k]['label'] = Yii::$service->page->translate->__($items[$k]['_id']);
}
}
}
$label = Yii::$service->page->translate->__($label);
$filter_info[$attr] = [
'label' => $label,
'items' => $items,
];
}
}
return $filter_info;
*/
}
/**
*
*/
protected function getFilterPrice()
{
$filter = [];
if (!Yii::$service->category->isEnableFilterPrice()) {
return $filter;
}
$symbol = Yii::$service->page->currency->getCurrentSymbol();
$currenctPriceFilter = Yii::$app->request->get('filterPrice');
//$priceInfo = Yii::$app->controller->module->params['category_query'];
$appName = Yii::$service->helper->getAppName();
$category_query_priceRange = Yii::$app->store->get($appName.'_catalog','category_query_priceRange');
$category_query_priceRange = explode(',',$category_query_priceRange);
if ( !empty($category_query_priceRange) && is_array($category_query_priceRange)) {
foreach ($category_query_priceRange as $price_item) {
$price_item = trim($price_item);
list($b_price,$e_price) = explode('-',$price_item);
$b_price = $b_price ? $symbol.$b_price : '';
$e_price = $e_price ? $symbol.$e_price : '';
$label = $b_price.$this->sp.$e_price;
if($currenctPriceFilter && ($currenctPriceFilter == $price_item)){
$selected = true;
}else{
$selected = false;
}
$info = [
'selected' => $selected,
'label' => $label,
'val' => $price_item
];
$filter[$this->_filterPrice][] = $info;
}
}
return $filter;
}
/**
*
*/
protected function getFormatFilterPrice($price_item)
{
list($f_price, $l_price) = explode('-', $price_item);
$str = '';
if ($f_price == '0' || $f_price) {
$f_price = Yii::$service->product->price->formatPrice($f_price);
$str .= $f_price['symbol'].$f_price['value'].'---';
}
if ($l_price) {
$l_price = Yii::$service->product->price->formatPrice($l_price);
$str .= $l_price['symbol'].$l_price['value'];
}
return $str;
}
/**
*
*/
protected function getOrderBy()
{
$primaryKey = Yii::$service->category->getPrimaryKey();
$sort = Yii::$app->request->get($this->_sort);
$direction = Yii::$app->request->get($this->_direction);
//$category_query_config = Yii::$app->controller->module->params['category_query'];
$sortConfig = $this->_sort_items;
if (is_array($sortConfig)) {
//return $category_query_config['numPerPage'][0];
if ($sort && isset($sortConfig[$sort])) {
$orderInfo = $sortConfig[$sort];
//var_dump($orderInfo);
if (!$direction) {
$direction = $orderInfo['direction'];
}
} else {
foreach ($sortConfig as $k => $v) {
$orderInfo = $v;
if (!$direction) {
$direction = $v['direction'];
}
break;
}
}
$db_columns = $orderInfo['db_columns'];
$storageName = Yii::$service->product->serviceStorageName();
if ($direction == 'desc') {
$direction = $storageName == 'mongodb' ? -1 : SORT_DESC;
} else {
$direction = $storageName == 'mongodb' ? 1 :SORT_ASC;
}
//var_dump([$db_columns => $direction]);
//exit;
return [$db_columns => $direction];
}
}
/**
*
*
*
* url
*/
protected function getNumPerPage()
{
if (!$this->_numPerPageVal) {
$numPerPage = Yii::$app->request->get($this->_numPerPage);
//$category_query_config = Yii::$app->getModule('catalog')->params['category_query'];
$appName = Yii::$service->helper->getAppName();
$categoryConfigNumPerPage = Yii::$app->store->get($appName.'_catalog','category_query_numPerPage');
$category_query_config['numPerPage'] = explode(',',$categoryConfigNumPerPage);
if (!$numPerPage) {
if (isset($category_query_config['numPerPage'])) {
if (is_array($category_query_config['numPerPage'])) {
$this->_numPerPageVal = $category_query_config['numPerPage'][0];
}
}
} elseif (!$this->_numPerPageVal) {
if (isset($category_query_config['numPerPage']) && is_array($category_query_config['numPerPage'])) {
$numPerPageArr = $category_query_config['numPerPage'];
if (in_array((int) $numPerPage, $numPerPageArr)) {
$this->_numPerPageVal = $numPerPage;
} else {
throw new InvalidValueException('Incorrect numPerPage value:'.$numPerPage);
}
}
}
}
return $this->_numPerPageVal;
}
/**
*
*/
protected function getPageNum()
{
$numPerPage = Yii::$app->request->get($this->_page);
return $numPerPage ? (int) $numPerPage : 1;
}
/**
*
*/
protected function getCategoryProductColl()
{
$productPrimaryKey = Yii::$service->product->getPrimaryKey();
$select = [
'sku', 'spu', 'name', 'image',
'price', 'special_price',
'special_from', 'special_to',
'url_key', 'score', 'reviw_rate_star_average', 'review_count'
];
if ($productPrimaryKey == 'id') {
$select[] = 'id';
}
if (is_array($this->_sort_items)) {
foreach ($this->_sort_items as $sort_item) {
$select[] = $sort_item['db_columns'];
}
}
$filter = [
'pageNum' => $this->getPageNum(),
'numPerPage' => $this->getNumPerPage(),
'orderBy' => $this->getOrderBy(),
'where' => $this->_where,
'select' => $select,
];
//var_dump($filter);
$productList = Yii::$service->category->product->getFrontList($filter);
// var_dump($productList );
$i = 1;
$product_return = [];
$products = $productList['coll'];
if(is_array($products) && !empty($products)){
foreach($products as $k=>$v){
$i++;
$products[$k]['url'] = '/catalog/product/'.$v['_id'];
$products[$k]['image'] = Yii::$service->product->image->getResize($v['image'],296,false);
$priceInfo = Yii::$service->product->price->getCurrentCurrencyProductPriceInfo($v['price'], $v['special_price'],$v['special_from'],$v['special_to']);
$products[$k]['price'] = isset($priceInfo['price']) ? $priceInfo['price'] : '';
$products[$k]['special_price'] = isset($priceInfo['special_price']) ? $priceInfo['special_price'] : '';
if (isset($products[$k]['special_price']['value'])) {
$products[$k]['special_price']['value'] = Yii::$service->helper->format->numberFormat($products[$k]['special_price']['value']);
}
if (isset($products[$k]['price']['value'])) {
$products[$k]['price']['value'] = Yii::$service->helper->format->numberFormat($products[$k]['price']['value']);
}
if($i%2 === 0){
$arr = $products[$k];
}else{
$product_return[] = [
'one' => $arr,
'two' => $products[$k],
];
}
}
if($i%2 === 0){
$product_return[] = [
'one' => $arr,
'two' => [],
];
}
}
$productList['coll'] = $product_return;
return $productList;
}
/**
*
*/
protected function getWxCategoryProductColl()
{
$productPrimaryKey = Yii::$service->product->getPrimaryKey();
$select = [
$productPrimaryKey ,
'sku', 'spu', 'name', 'image',
'price', 'special_price',
'special_from', 'special_to',
'url_key', 'score',
];
//$category_query = Yii::$app->getModule('catalog')->params['category_query'];
if (is_array($this->_sort_items)) {
foreach ($this->_sort_items as $sort_item) {
$select[] = $sort_item['db_columns'];
}
}
$filter = [
'pageNum' => $this->getPageNum(),
'numPerPage' => $this->getNumPerPage(),
'orderBy' => $this->getOrderBy(),
'where' => $this->_where,
'select' => $select,
];
$productList = Yii::$service->category->product->getFrontList($filter);
$i = 1;
$product_return = [];
$products = $productList['coll'];
if(is_array($products) && !empty($products)){
foreach($products as $k=>$v){
$priceInfo = Yii::$service->product->price->getCurrentCurrencyProductPriceInfo($v['price'], $v['special_price'],$v['special_from'],$v['special_to']);
$price = isset($priceInfo['price']) ? $priceInfo['price'] : '';
$special_price = isset($priceInfo['special_price']) ? $priceInfo['special_price'] : '';
$product_return[] = [
'name' => $v['name'],
'pic' => Yii::$service->product->image->getResize($v['image'],296,false),
'special_price' => $special_price,
'price' => $price,
'id' => $v['product_id'],
];
}
}
$productList['coll'] = $product_return;
return $productList;
}
/**
* where
*/
protected function initWhere()
{
$chosenAttrs = Yii::$app->request->get('filterAttrs');
$chosenAttrArr = json_decode($chosenAttrs,true);
//var_dump($chosenAttrArr);
if(is_array($chosenAttrArr) && !empty($chosenAttrArr)){
$filterAttr = $this->getFilterAttr();
//var_dump($filterAttr);
foreach ($filterAttr as $attr) {
if(isset($chosenAttrArr[$attr]) && $chosenAttrArr[$attr]){
$where[$attr] = $chosenAttrArr[$attr];
}
}
}
$filter_price = Yii::$app->request->get('filterPrice');
//echo $filter_price;
list($f_price, $l_price) = explode('-', $filter_price);
if ($f_price == '0' || $f_price) {
$where[$this->_filterPriceAttr]['$gte'] = (float) $f_price;
}
if ($l_price) {
$where[$this->_filterPriceAttr]['$lte'] = (float) $l_price;
}
$where['category'] = $this->_primaryVal;
//var_dump($where);
return $where;
}
/**
*
*
*/
protected function initCategory()
{
//$primaryKey = 'category_id';
$primaryVal = Yii::$app->request->get('categoryId');
$this->_primaryVal = $primaryVal;
$category = Yii::$service->category->getByPrimaryKey($primaryVal);
if ($category) {
$enableStatus = Yii::$service->category->getCategoryEnableStatus();
if ($category['status'] != $enableStatus){
return false;
}
} else {
return false;
}
$this->_category = $category;
$this->_where = $this->initWhere();
return true;
}
}
``` |
```c++
#include <DataTypes/DataTypeLowCardinality.h>
#include <DataTypes/DataTypeNullable.h>
#include <DataTypes/DataTypeString.h>
#include <DataTypes/DataTypesNumber.h>
#include <Disks/StoragePolicy.h>
#include <IO/ReadBufferFromFile.h>
#include <IO/ReadHelpers.h>
#include <IO/WriteBufferFromFile.h>
#include <IO/WriteIntText.h>
#include <Interpreters/Context.h>
#include <Interpreters/DatabaseCatalog.h>
#include <Interpreters/InterpreterInsertQuery.h>
#include <Interpreters/evaluateConstantExpression.h>
#include <Parsers/ASTCreateQuery.h>
#include <Parsers/ASTInsertQuery.h>
#include <Processors/Executors/CompletedPipelineExecutor.h>
#include <Processors/QueryPlan/QueryPlan.h>
#include <Processors/QueryPlan/ReadFromStreamLikeEngine.h>
#include <QueryPipeline/Pipe.h>
#include <Storages/FileLog/FileLogSource.h>
#include <Storages/FileLog/StorageFileLog.h>
#include <Storages/SelectQueryInfo.h>
#include <Storages/StorageFactory.h>
#include <Storages/StorageMaterializedView.h>
#include <Storages/checkAndGetLiteralArgument.h>
#include <Common/Exception.h>
#include <Common/Macros.h>
#include <Common/filesystemHelpers.h>
#include <Common/getNumberOfPhysicalCPUCores.h>
#include <Common/logger_useful.h>
#include <sys/stat.h>
namespace DB
{
namespace ErrorCodes
{
extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH;
extern const int BAD_ARGUMENTS;
extern const int CANNOT_STAT;
extern const int BAD_FILE_TYPE;
extern const int CANNOT_READ_ALL_DATA;
extern const int LOGICAL_ERROR;
extern const int TABLE_METADATA_ALREADY_EXISTS;
extern const int CANNOT_SELECT;
extern const int QUERY_NOT_ALLOWED;
}
namespace
{
const auto MAX_THREAD_WORK_DURATION_MS = 60000;
}
static constexpr auto TMP_SUFFIX = ".tmp";
class ReadFromStorageFileLog final : public ReadFromStreamLikeEngine
{
public:
ReadFromStorageFileLog(
const Names & column_names_,
StoragePtr storage_,
const StorageSnapshotPtr & storage_snapshot_,
SelectQueryInfo & query_info,
ContextPtr context_)
: ReadFromStreamLikeEngine{column_names_, storage_snapshot_, query_info.storage_limits, context_}
, column_names{column_names_}
, storage{storage_}
, storage_snapshot{storage_snapshot_}
{
}
String getName() const override { return "ReadFromStorageFileLog"; }
private:
Pipe makePipe() final
{
auto & file_log = storage->as<StorageFileLog &>();
if (file_log.mv_attached)
throw Exception(ErrorCodes::QUERY_NOT_ALLOWED, "Cannot read from StorageFileLog with attached materialized views");
std::lock_guard lock(file_log.file_infos_mutex);
if (file_log.running_streams)
throw Exception(ErrorCodes::CANNOT_SELECT, "Another select query is running on this table, need to wait it finish.");
file_log.updateFileInfos();
/// No files to parse
if (file_log.file_infos.file_names.empty())
{
LOG_WARNING(file_log.log, "There is a idle table named {}, no files need to parse.", getName());
return Pipe{};
}
auto modified_context = Context::createCopy(getContext());
auto max_streams_number = std::min<UInt64>(file_log.filelog_settings->max_threads, file_log.file_infos.file_names.size());
/// Each stream responsible for closing it's files and store meta
file_log.openFilesAndSetPos();
Pipes pipes;
pipes.reserve(max_streams_number);
for (size_t stream_number = 0; stream_number < max_streams_number; ++stream_number)
{
pipes.emplace_back(std::make_shared<FileLogSource>(
file_log,
storage_snapshot,
modified_context,
column_names,
file_log.getMaxBlockSize(),
file_log.getPollTimeoutMillisecond(),
stream_number,
max_streams_number,
file_log.filelog_settings->handle_error_mode));
}
return Pipe::unitePipes(std::move(pipes));
}
const Names column_names;
StoragePtr storage;
StorageSnapshotPtr storage_snapshot;
};
StorageFileLog::StorageFileLog(
const StorageID & table_id_,
ContextPtr context_,
const ColumnsDescription & columns_,
const String & path_,
const String & metadata_base_path_,
const String & format_name_,
std::unique_ptr<FileLogSettings> settings,
const String & comment,
LoadingStrictnessLevel mode)
: IStorage(table_id_)
, WithContext(context_->getGlobalContext())
, filelog_settings(std::move(settings))
, path(path_)
, metadata_base_path(std::filesystem::path(metadata_base_path_) / "metadata")
, format_name(format_name_)
, log(getLogger("StorageFileLog (" + table_id_.table_name + ")"))
, disk(getContext()->getStoragePolicy("default")->getDisks().at(0))
, milliseconds_to_wait(filelog_settings->poll_directory_watch_events_backoff_init.totalMilliseconds())
{
StorageInMemoryMetadata storage_metadata;
storage_metadata.setColumns(columns_);
storage_metadata.setComment(comment);
setInMemoryMetadata(storage_metadata);
setVirtuals(createVirtuals(filelog_settings->handle_error_mode));
if (!fileOrSymlinkPathStartsWith(path, getContext()->getUserFilesPath()))
{
if (LoadingStrictnessLevel::SECONDARY_CREATE <= mode)
{
LOG_ERROR(log, "The absolute data path should be inside `user_files_path`({})", getContext()->getUserFilesPath());
return;
}
else
throw Exception(
ErrorCodes::BAD_ARGUMENTS,
"The absolute data path should be inside `user_files_path`({})",
getContext()->getUserFilesPath());
}
bool created_metadata_directory = false;
try
{
if (mode < LoadingStrictnessLevel::ATTACH)
{
if (disk->exists(metadata_base_path))
{
throw Exception(
ErrorCodes::TABLE_METADATA_ALREADY_EXISTS,
"Metadata files already exist by path: {}, remove them manually if it is intended",
metadata_base_path);
}
disk->createDirectories(metadata_base_path);
created_metadata_directory = true;
}
loadMetaFiles(LoadingStrictnessLevel::ATTACH <= mode);
loadFiles();
assert(file_infos.file_names.size() == file_infos.meta_by_inode.size());
assert(file_infos.file_names.size() == file_infos.context_by_name.size());
if (path_is_directory)
directory_watch = std::make_unique<FileLogDirectoryWatcher>(root_data_path, *this, getContext());
auto thread = getContext()->getSchedulePool().createTask(log->name(), [this] { threadFunc(); });
task = std::make_shared<TaskContext>(std::move(thread));
}
catch (...)
{
if (mode <= LoadingStrictnessLevel::ATTACH)
{
if (created_metadata_directory)
disk->removeRecursive(metadata_base_path);
throw;
}
tryLogCurrentException(__PRETTY_FUNCTION__);
}
}
VirtualColumnsDescription StorageFileLog::createVirtuals(StreamingHandleErrorMode handle_error_mode)
{
VirtualColumnsDescription desc;
desc.addEphemeral("_filename", std::make_shared<DataTypeLowCardinality>(std::make_shared<DataTypeString>()), "");
desc.addEphemeral("_offset", std::make_shared<DataTypeUInt64>(), "");
if (handle_error_mode == StreamingHandleErrorMode::STREAM)
{
desc.addEphemeral("_raw_record", std::make_shared<DataTypeNullable>(std::make_shared<DataTypeString>()), "");
desc.addEphemeral("_error", std::make_shared<DataTypeNullable>(std::make_shared<DataTypeString>()), "");
}
return desc;
}
void StorageFileLog::loadMetaFiles(bool attach)
{
/// Attach table
if (attach)
{
/// Meta file may lost, log and create directory
if (!disk->exists(metadata_base_path))
{
/// Create metadata_base_path directory when store meta data
LOG_ERROR(log, "Metadata files of table {} are lost.", getStorageID().getTableName());
}
/// Load all meta info to file_infos;
deserialize();
}
}
void StorageFileLog::loadFiles()
{
auto absolute_path = std::filesystem::absolute(path);
absolute_path = absolute_path.lexically_normal(); /// Normalize path.
if (std::filesystem::is_regular_file(absolute_path))
{
path_is_directory = false;
root_data_path = absolute_path.parent_path();
file_infos.file_names.push_back(absolute_path.filename());
}
else if (std::filesystem::is_directory(absolute_path))
{
root_data_path = absolute_path;
/// Just consider file with depth 1
for (const auto & dir_entry : std::filesystem::directory_iterator{absolute_path})
{
if (dir_entry.is_regular_file())
{
file_infos.file_names.push_back(dir_entry.path().filename());
}
}
}
else
{
throw Exception(ErrorCodes::BAD_ARGUMENTS, "The path {} neither a regular file, nor a directory", absolute_path.c_str());
}
/// Get files inode
for (const auto & file : file_infos.file_names)
{
auto inode = getInode(getFullDataPath(file));
file_infos.context_by_name.emplace(file, FileContext{.inode = inode});
}
/// Update file meta or create file meta
for (const auto & [file, ctx] : file_infos.context_by_name)
{
if (auto it = file_infos.meta_by_inode.find(ctx.inode); it != file_infos.meta_by_inode.end())
{
/// data file have been renamed, need update meta file's name
if (it->second.file_name != file)
{
disk->replaceFile(getFullMetaPath(it->second.file_name), getFullMetaPath(file));
it->second.file_name = file;
}
}
/// New file
else
{
FileMeta meta{file, 0, 0};
file_infos.meta_by_inode.emplace(ctx.inode, meta);
}
}
/// Clear unneeded meta file, because data files may be deleted
if (file_infos.meta_by_inode.size() > file_infos.context_by_name.size())
{
InodeToFileMeta valid_metas;
valid_metas.reserve(file_infos.context_by_name.size());
for (const auto & [inode, meta] : file_infos.meta_by_inode)
{
/// Note, here we need to use inode to judge does the meta file is valid.
/// In the case that when a file deleted, then we create new file with the
/// same name, it will have different inode number with stored meta file,
/// so the stored meta file is invalid
if (auto it = file_infos.context_by_name.find(meta.file_name);
it != file_infos.context_by_name.end() && it->second.inode == inode)
valid_metas.emplace(inode, meta);
/// Delete meta file from filesystem
else
disk->removeFileIfExists(getFullMetaPath(meta.file_name));
}
file_infos.meta_by_inode.swap(valid_metas);
}
}
void StorageFileLog::serialize() const
{
for (const auto & [inode, meta] : file_infos.meta_by_inode)
serialize(inode, meta);
}
void StorageFileLog::serialize(UInt64 inode, const FileMeta & file_meta) const
{
auto full_path = getFullMetaPath(file_meta.file_name);
if (disk->exists(full_path))
{
checkOffsetIsValid(file_meta.file_name, file_meta.last_writen_position);
}
std::string tmp_path = full_path + TMP_SUFFIX;
disk->removeFileIfExists(tmp_path);
try
{
disk->createFile(tmp_path);
auto out = disk->writeFile(tmp_path);
writeIntText(inode, *out);
writeChar('\n', *out);
writeIntText(file_meta.last_writen_position, *out);
}
catch (...)
{
disk->removeFileIfExists(tmp_path);
throw;
}
disk->replaceFile(tmp_path, full_path);
}
void StorageFileLog::deserialize()
{
if (!disk->exists(metadata_base_path))
return;
std::vector<std::string> files_to_remove;
/// In case of single file (not a watched directory),
/// iterated directory always has one file inside.
for (const auto dir_iter = disk->iterateDirectory(metadata_base_path); dir_iter->isValid(); dir_iter->next())
{
const auto & filename = dir_iter->name();
if (filename.ends_with(TMP_SUFFIX))
{
files_to_remove.push_back(getFullMetaPath(filename));
continue;
}
auto [metadata, inode] = readMetadata(filename);
if (!metadata)
continue;
file_infos.meta_by_inode.emplace(inode, metadata);
}
for (const auto & file : files_to_remove)
disk->removeFile(file);
}
UInt64 StorageFileLog::getInode(const String & file_name)
{
struct stat file_stat;
if (stat(file_name.c_str(), &file_stat))
{
throw Exception(ErrorCodes::CANNOT_STAT, "Can not get stat info of file {}", file_name);
}
return file_stat.st_ino;
}
void StorageFileLog::read(
QueryPlan & query_plan,
const Names & column_names,
const StorageSnapshotPtr & storage_snapshot,
SelectQueryInfo & query_info,
ContextPtr query_context,
QueryProcessingStage::Enum /* processed_stage */,
size_t /* max_block_size */,
size_t /* num_streams */)
{
query_plan.addStep(
std::make_unique<ReadFromStorageFileLog>(column_names, shared_from_this(), storage_snapshot, query_info, std::move(query_context)));
}
void StorageFileLog::increaseStreams()
{
running_streams += 1;
}
void StorageFileLog::reduceStreams()
{
running_streams -= 1;
}
void StorageFileLog::drop()
{
try
{
(void)std::filesystem::remove_all(metadata_base_path);
}
catch (...)
{
tryLogCurrentException(__PRETTY_FUNCTION__);
}
}
void StorageFileLog::startup()
{
if (task)
task->holder->activateAndSchedule();
}
void StorageFileLog::shutdown(bool)
{
if (task)
{
task->stream_cancelled = true;
/// Reader thread may wait for wake up
wakeUp();
LOG_TRACE(log, "Waiting for cleanup");
task->holder->deactivate();
/// If no reading call and threadFunc, the log files will never
/// be opened, also just leave the work of close files and
/// store meta to streams. because if we close files in here,
/// may result in data race with unfinishing reading pipeline
}
}
void StorageFileLog::assertStreamGood(const std::ifstream & reader)
{
if (!reader.good())
{
throw Exception(ErrorCodes::CANNOT_READ_ALL_DATA, "Stream is in bad state");
}
}
void StorageFileLog::openFilesAndSetPos()
{
for (const auto & file : file_infos.file_names)
{
auto & file_ctx = findInMap(file_infos.context_by_name, file);
if (file_ctx.status != FileStatus::NO_CHANGE)
{
file_ctx.reader.emplace(getFullDataPath(file));
auto & reader = file_ctx.reader.value();
assertStreamGood(reader);
reader.seekg(0, reader.end); /// NOLINT(readability-static-accessed-through-instance)
assertStreamGood(reader);
auto file_end = reader.tellg();
assertStreamGood(reader);
auto & meta = findInMap(file_infos.meta_by_inode, file_ctx.inode);
if (meta.last_writen_position > static_cast<UInt64>(file_end))
{
throw Exception(
ErrorCodes::CANNOT_READ_ALL_DATA,
"Last saved offsset for File {} is bigger than file size ({} > {})",
file,
meta.last_writen_position,
file_end);
}
/// update file end at the moment, used in ReadBuffer and serialize
meta.last_open_end = file_end;
reader.seekg(meta.last_writen_position);
assertStreamGood(reader);
}
}
serialize();
}
void StorageFileLog::closeFilesAndStoreMeta(size_t start, size_t end)
{
assert(start < end);
assert(end <= file_infos.file_names.size());
for (size_t i = start; i < end; ++i)
{
auto & file_ctx = findInMap(file_infos.context_by_name, file_infos.file_names[i]);
if (file_ctx.reader)
{
if (file_ctx.reader->is_open())
file_ctx.reader->close();
}
auto & meta = findInMap(file_infos.meta_by_inode, file_ctx.inode);
serialize(file_ctx.inode, meta);
}
}
void StorageFileLog::storeMetas(size_t start, size_t end)
{
assert(start < end);
assert(end <= file_infos.file_names.size());
for (size_t i = start; i < end; ++i)
{
auto & file_ctx = findInMap(file_infos.context_by_name, file_infos.file_names[i]);
auto & meta = findInMap(file_infos.meta_by_inode, file_ctx.inode);
serialize(file_ctx.inode, meta);
}
}
void StorageFileLog::checkOffsetIsValid(const String & filename, UInt64 offset) const
{
auto [metadata, _] = readMetadata(filename);
if (metadata.last_writen_position > offset)
{
throw Exception(
ErrorCodes::LOGICAL_ERROR,
"Last stored last_written_position in meta file {} is bigger than current last_written_pos ({} > {})",
filename, metadata.last_writen_position, offset);
}
}
StorageFileLog::ReadMetadataResult StorageFileLog::readMetadata(const String & filename) const
{
auto full_path = getFullMetaPath(filename);
if (!disk->isFile(full_path))
{
throw Exception(
ErrorCodes::BAD_FILE_TYPE,
"The file {} under {} is not a regular file",
filename, metadata_base_path);
}
auto in = disk->readFile(full_path);
FileMeta metadata;
UInt64 inode, last_written_pos;
if (in->eof()) /// File is empty.
{
disk->removeFile(full_path);
return {};
}
if (!tryReadIntText(inode, *in))
throw Exception(ErrorCodes::CANNOT_READ_ALL_DATA, "Read meta file {} failed (1)", full_path);
if (!checkChar('\n', *in))
throw Exception(ErrorCodes::CANNOT_READ_ALL_DATA, "Read meta file {} failed (2)", full_path);
if (!tryReadIntText(last_written_pos, *in))
throw Exception(ErrorCodes::CANNOT_READ_ALL_DATA, "Read meta file {} failed (3)", full_path);
metadata.file_name = filename;
metadata.last_writen_position = last_written_pos;
return { metadata, inode };
}
size_t StorageFileLog::getMaxBlockSize() const
{
return filelog_settings->max_block_size.changed ? filelog_settings->max_block_size.value
: getContext()->getSettingsRef().max_insert_block_size.value;
}
size_t StorageFileLog::getPollMaxBatchSize() const
{
size_t batch_size = filelog_settings->poll_max_batch_size.changed ? filelog_settings->poll_max_batch_size.value
: getContext()->getSettingsRef().max_block_size.value;
return std::min(batch_size, getMaxBlockSize());
}
size_t StorageFileLog::getPollTimeoutMillisecond() const
{
return filelog_settings->poll_timeout_ms.changed ? filelog_settings->poll_timeout_ms.totalMilliseconds()
: getContext()->getSettingsRef().stream_poll_timeout_ms.totalMilliseconds();
}
bool StorageFileLog::checkDependencies(const StorageID & table_id)
{
// Check if all dependencies are attached
auto view_ids = DatabaseCatalog::instance().getDependentViews(table_id);
if (view_ids.empty())
return true;
for (const auto & view_id : view_ids)
{
auto view = DatabaseCatalog::instance().tryGetTable(view_id, getContext());
if (!view)
return false;
// If it materialized view, check it's target table
auto * materialized_view = dynamic_cast<StorageMaterializedView *>(view.get());
if (materialized_view && !materialized_view->tryGetTargetTable())
return false;
// Check all its dependencies
if (!checkDependencies(view_id))
return false;
}
return true;
}
size_t StorageFileLog::getTableDependentCount() const
{
auto table_id = getStorageID();
// Check if at least one direct dependency is attached
return DatabaseCatalog::instance().getDependentViews(table_id).size();
}
void StorageFileLog::threadFunc()
{
bool reschedule = false;
try
{
auto table_id = getStorageID();
auto dependencies_count = getTableDependentCount();
if (dependencies_count)
{
auto start_time = std::chrono::steady_clock::now();
mv_attached.store(true);
// Keep streaming as long as there are attached views and streaming is not cancelled
while (!task->stream_cancelled)
{
if (!checkDependencies(table_id))
{
/// For this case, we can not wait for watch thread to wake up
reschedule = true;
break;
}
LOG_DEBUG(log, "Started streaming to {} attached views", dependencies_count);
if (streamToViews())
{
LOG_TRACE(log, "Stream stalled. Reschedule.");
if (milliseconds_to_wait
< static_cast<uint64_t>(filelog_settings->poll_directory_watch_events_backoff_max.totalMilliseconds()))
milliseconds_to_wait *= filelog_settings->poll_directory_watch_events_backoff_factor.value;
break;
}
else
{
milliseconds_to_wait = filelog_settings->poll_directory_watch_events_backoff_init.totalMilliseconds();
}
auto ts = std::chrono::steady_clock::now();
auto duration = std::chrono::duration_cast<std::chrono::milliseconds>(ts-start_time);
if (duration.count() > MAX_THREAD_WORK_DURATION_MS)
{
LOG_TRACE(log, "Thread work duration limit exceeded. Reschedule.");
reschedule = true;
break;
}
}
}
}
catch (...)
{
tryLogCurrentException(__PRETTY_FUNCTION__);
}
mv_attached.store(false);
// Wait for attached views
if (!task->stream_cancelled)
{
if (path_is_directory)
{
if (!getTableDependentCount() || reschedule)
task->holder->scheduleAfter(milliseconds_to_wait);
else
{
std::unique_lock<std::mutex> lock(mutex);
/// Waiting for watch directory thread to wake up
cv.wait(lock, [this] { return has_new_events; });
has_new_events = false;
if (task->stream_cancelled)
return;
task->holder->schedule();
}
}
else
task->holder->scheduleAfter(milliseconds_to_wait);
}
}
bool StorageFileLog::streamToViews()
{
std::lock_guard lock(file_infos_mutex);
if (running_streams)
{
LOG_INFO(log, "Another select query is running on this table, need to wait it finish.");
return true;
}
Stopwatch watch;
auto table_id = getStorageID();
auto table = DatabaseCatalog::instance().getTable(table_id, getContext());
if (!table)
throw Exception(ErrorCodes::LOGICAL_ERROR, "Engine table {} doesn't exist", table_id.getNameForLogs());
auto metadata_snapshot = getInMemoryMetadataPtr();
auto storage_snapshot = getStorageSnapshot(metadata_snapshot, getContext());
auto max_streams_number = std::min<UInt64>(filelog_settings->max_threads.value, file_infos.file_names.size());
/// No files to parse
if (max_streams_number == 0)
{
LOG_INFO(log, "There is a idle table named {}, no files need to parse.", getName());
return updateFileInfos();
}
// Create an INSERT query for streaming data
auto insert = std::make_shared<ASTInsertQuery>();
insert->table_id = table_id;
auto new_context = Context::createCopy(getContext());
InterpreterInsertQuery interpreter(
insert,
new_context,
/* allow_materialized */ false,
/* no_squash */ true,
/* no_destination */ true,
/* async_isnert */ false);
auto block_io = interpreter.execute();
/// Each stream responsible for closing it's files and store meta
openFilesAndSetPos();
Pipes pipes;
pipes.reserve(max_streams_number);
for (size_t stream_number = 0; stream_number < max_streams_number; ++stream_number)
{
pipes.emplace_back(std::make_shared<FileLogSource>(
*this,
storage_snapshot,
new_context,
block_io.pipeline.getHeader().getNames(),
getPollMaxBatchSize(),
getPollTimeoutMillisecond(),
stream_number,
max_streams_number,
filelog_settings->handle_error_mode));
}
auto input= Pipe::unitePipes(std::move(pipes));
assertBlocksHaveEqualStructure(input.getHeader(), block_io.pipeline.getHeader(), "StorageFileLog streamToViews");
std::atomic<size_t> rows = 0;
{
block_io.pipeline.complete(std::move(input));
block_io.pipeline.setNumThreads(max_streams_number);
block_io.pipeline.setConcurrencyControl(new_context->getSettingsRef().use_concurrency_control);
block_io.pipeline.setProgressCallback([&](const Progress & progress) { rows += progress.read_rows.load(); });
CompletedPipelineExecutor executor(block_io.pipeline);
executor.execute();
}
UInt64 milliseconds = watch.elapsedMilliseconds();
LOG_DEBUG(log, "Pushing {} rows to {} took {} ms.", rows, table_id.getNameForLogs(), milliseconds);
return updateFileInfos();
}
void StorageFileLog::wakeUp()
{
std::unique_lock<std::mutex> lock(mutex);
has_new_events = true;
lock.unlock();
cv.notify_one();
}
void registerStorageFileLog(StorageFactory & factory)
{
auto creator_fn = [](const StorageFactory::Arguments & args)
{
ASTs & engine_args = args.engine_args;
size_t args_count = engine_args.size();
bool has_settings = args.storage_def->settings;
auto filelog_settings = std::make_unique<FileLogSettings>();
if (has_settings)
{
filelog_settings->loadFromQuery(*args.storage_def);
}
auto physical_cpu_cores = getNumberOfPhysicalCPUCores();
auto num_threads = filelog_settings->max_threads.value;
if (!num_threads) /// Default
{
num_threads = std::max(1U, physical_cpu_cores / 4);
filelog_settings->set("max_threads", num_threads);
}
else if (num_threads > physical_cpu_cores)
{
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Number of threads to parse files can not be bigger than {}", physical_cpu_cores);
}
else if (num_threads < 1)
{
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Number of threads to parse files can not be lower than 1");
}
if (filelog_settings->max_block_size.changed && filelog_settings->max_block_size.value < 1)
{
throw Exception(ErrorCodes::BAD_ARGUMENTS, "filelog_max_block_size can not be lower than 1");
}
if (filelog_settings->poll_max_batch_size.changed && filelog_settings->poll_max_batch_size.value < 1)
{
throw Exception(ErrorCodes::BAD_ARGUMENTS, "filelog_poll_max_batch_size can not be lower than 1");
}
size_t init_sleep_time = filelog_settings->poll_directory_watch_events_backoff_init.totalMilliseconds();
size_t max_sleep_time = filelog_settings->poll_directory_watch_events_backoff_max.totalMilliseconds();
if (init_sleep_time > max_sleep_time)
{
throw Exception(ErrorCodes::BAD_ARGUMENTS,
"poll_directory_watch_events_backoff_init can not "
"be greater than poll_directory_watch_events_backoff_max");
}
if (filelog_settings->poll_directory_watch_events_backoff_factor.changed
&& !filelog_settings->poll_directory_watch_events_backoff_factor.value)
throw Exception(ErrorCodes::BAD_ARGUMENTS, "poll_directory_watch_events_backoff_factor can not be 0");
if (args_count != 2)
throw Exception(ErrorCodes::NUMBER_OF_ARGUMENTS_DOESNT_MATCH, "Arguments size of StorageFileLog should be 2, path and format name");
auto path_ast = evaluateConstantExpressionAsLiteral(engine_args[0], args.getContext());
auto format_ast = evaluateConstantExpressionAsLiteral(engine_args[1], args.getContext());
auto path = checkAndGetLiteralArgument<String>(path_ast, "path");
auto format = checkAndGetLiteralArgument<String>(format_ast, "format");
return std::make_shared<StorageFileLog>(
args.table_id,
args.getContext(),
args.columns,
path,
args.relative_data_path,
format,
std::move(filelog_settings),
args.comment,
args.mode);
};
factory.registerStorage(
"FileLog",
creator_fn,
StorageFactory::StorageFeatures{
.supports_settings = true,
});
}
bool StorageFileLog::updateFileInfos()
{
if (file_infos.file_names.empty())
return false;
if (!directory_watch)
{
/// For table just watch one file, we can not use directory monitor to watch it
if (!path_is_directory)
{
assert(file_infos.file_names.size() == file_infos.meta_by_inode.size());
assert(file_infos.file_names.size() == file_infos.context_by_name.size());
assert(file_infos.file_names.size() == 1);
if (auto it = file_infos.context_by_name.find(file_infos.file_names[0]); it != file_infos.context_by_name.end())
{
it->second.status = FileStatus::UPDATED;
return true;
}
}
return false;
}
/// Do not need to hold file_status lock, since it will be holded
/// by caller when call this function
auto error = directory_watch->getErrorAndReset();
if (error.has_error)
LOG_ERROR(log, "Error happened during watching directory {}: {}", directory_watch->getPath(), error.error_msg);
/// These file infos should always have same size(one for one) before update and after update
assert(file_infos.file_names.size() == file_infos.meta_by_inode.size());
assert(file_infos.file_names.size() == file_infos.context_by_name.size());
auto events = directory_watch->getEventsAndReset();
for (const auto & [file_name, event_infos] : events)
{
String file_path = getFullDataPath(file_name);
for (const auto & event_info : event_infos.file_events)
{
switch (event_info.type)
{
case DirectoryWatcherBase::DW_ITEM_ADDED:
{
LOG_TRACE(log, "New event {} watched, file_name: {}", event_info.callback, file_name);
/// Check if it is a regular file, and new file may be renamed or removed
if (std::filesystem::is_regular_file(file_path))
{
auto inode = getInode(file_path);
file_infos.file_names.push_back(file_name);
if (auto it = file_infos.meta_by_inode.find(inode); it != file_infos.meta_by_inode.end())
it->second = FileMeta{.file_name = file_name};
else
file_infos.meta_by_inode.emplace(inode, FileMeta{.file_name = file_name});
if (auto it = file_infos.context_by_name.find(file_name); it != file_infos.context_by_name.end())
it->second = FileContext{.status = FileStatus::OPEN, .inode = inode};
else
file_infos.context_by_name.emplace(file_name, FileContext{.inode = inode});
}
break;
}
case DirectoryWatcherBase::DW_ITEM_MODIFIED:
{
LOG_TRACE(log, "New event {} watched, file_name: {}", event_info.callback, file_name);
/// When new file added and appended, it has two event: DW_ITEM_ADDED
/// and DW_ITEM_MODIFIED, since the order of these two events in the
/// sequence is uncentain, so we may can not find it in file_infos, just
/// skip it, the file info will be handled in DW_ITEM_ADDED case.
if (auto it = file_infos.context_by_name.find(file_name); it != file_infos.context_by_name.end())
it->second.status = FileStatus::UPDATED;
break;
}
case DirectoryWatcherBase::DW_ITEM_REMOVED:
case DirectoryWatcherBase::DW_ITEM_MOVED_FROM:
{
LOG_TRACE(log, "New event {} watched, file_name: {}", event_info.callback, file_name);
if (auto it = file_infos.context_by_name.find(file_name); it != file_infos.context_by_name.end())
it->second.status = FileStatus::REMOVED;
break;
}
case DirectoryWatcherBase::DW_ITEM_MOVED_TO:
{
LOG_TRACE(log, "New event {} watched, file_name: {}", event_info.callback, file_name);
/// Similar to DW_ITEM_ADDED, but if it removed from an old file
/// should obtain old meta file and rename meta file
if (std::filesystem::is_regular_file(file_path))
{
file_infos.file_names.push_back(file_name);
auto inode = getInode(file_path);
if (auto it = file_infos.context_by_name.find(file_name); it != file_infos.context_by_name.end())
it->second = FileContext{.inode = inode};
else
file_infos.context_by_name.emplace(file_name, FileContext{.inode = inode});
/// File has been renamed, we should also rename meta file
if (auto it = file_infos.meta_by_inode.find(inode); it != file_infos.meta_by_inode.end())
{
auto old_name = it->second.file_name;
it->second.file_name = file_name;
if (std::filesystem::exists(getFullMetaPath(old_name)))
std::filesystem::rename(getFullMetaPath(old_name), getFullMetaPath(file_name));
}
/// May move from other place, adding new meta info
else
file_infos.meta_by_inode.emplace(inode, FileMeta{.file_name = file_name});
}
}
}
}
}
std::vector<String> valid_files;
/// Remove file infos with REMOVE status
for (const auto & file_name : file_infos.file_names)
{
if (auto it = file_infos.context_by_name.find(file_name); it != file_infos.context_by_name.end())
{
if (it->second.status == FileStatus::REMOVED)
{
/// We need to check that this inode does not hold by other file(mv),
/// otherwise, we can not destroy it.
auto inode = it->second.inode;
/// If it's now hold by other file, than the file_name should has
/// been changed during updating file_infos
if (auto meta = file_infos.meta_by_inode.find(inode);
meta != file_infos.meta_by_inode.end() && meta->second.file_name == file_name)
file_infos.meta_by_inode.erase(meta);
if (std::filesystem::exists(getFullMetaPath(file_name)))
(void)std::filesystem::remove(getFullMetaPath(file_name));
file_infos.context_by_name.erase(it);
}
else
{
valid_files.push_back(file_name);
}
}
}
file_infos.file_names.swap(valid_files);
/// These file infos should always have same size(one for one)
assert(file_infos.file_names.size() == file_infos.meta_by_inode.size());
assert(file_infos.file_names.size() == file_infos.context_by_name.size());
return events.empty() || file_infos.file_names.empty();
}
}
``` |
Robert Lucas Chance (8 October 1782 – 7 March 1865), known as Lucas Chance, was an English glass merchant and manufacturer in Birmingham. He founded the company which became Chance Brothers.
Family background
Lucas Chance was the fifth child and eldest son of William Chance (a partner in Nailsea Glassworks) and Sarah Lucas (daughter of John Robert Lucas).
Working life
Chance started work at his father's business in Birmingham at the age of 12, then started his own glass merchant business in London in 1815. This involved many trips to France where he formed alliances with French owners. In 1822 he purchased the British Crown Glass Company, following the death of the owner, Thomas Shutt, for £24,000 (). In 1828, after John Hartley's contract with the Nailsea GLassworks had expired, Lucas enticed Hartley to work as a manager. It was expected that John Hartley would become a manager, but he died in 1833 before this was formalised.
After experiencing financial difficulties in 1832, Lucas was then saved by his brother, William, who also became a partner, temporarily taking over the lease. The partnership with Hartley's sons, James and John Jnr, in 1834 was dissolved in 1836 due to many differences of opinion and the business was then named Chance Brothers & Company.
During his time in London with his glass merchant business, he formed an acquaintance with Georges Bontemps, a leading director of a glassworks in France, who would later assist at Chance Brothers following his exile from France in 1848. Chance was instrumental in introducing the method of sheet glass production for making flat glass for (primarily) windows. This would eventually supersede the previous working method of crown glass. He was also one of the great exponents of removing the crippling excise duty and the Window Tax. Following these actions, the glass trade in England started to flourish.
In 1851, Chance Brothers supplied the glass to glaze the Crystal Palace, which was probably partly due to Chance's previous links with Joseph Paxton, the architect, when supplying glass for the greenhouses at Chatsworth House.
The two brothers were noted as being very philanthropic, founding a school (1845), a library and a church, all primarily for the workforce. Lucas Chance died in 1865, and was buried in Key Hill Cemetery, Birmingham.
References
Chance, J. F. (1919) A History of the Firm of Chance Brothers & Co., Glass and Alkali Manufacturers. London: Printed for private circulation by Spottiswoode, Ballantyne & Co
1782 births
1865 deaths
Glass makers
Burials at Key Hill Cemetery
19th-century British businesspeople
People from Birmingham, West Midlands |
Wes Hilliard (born October 12, 1973) is an American politician who served in the Oklahoma House of Representatives from the 22nd district from 2004 to 2012.
References
1973 births
Living people
People from Pauls Valley, Oklahoma
Democratic Party members of the Oklahoma House of Representatives |
```javascript
/*!
* FileInput Norwegian Translations
*
* This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or
* any HTML markup tags in the messages must not be converted or translated.
*
* @see path_to_url
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
(function ($) {
"use strict";
$.fn.fileinputLocales['no'] = {
fileSingle: 'fil',
filePlural: 'filer',
browseLabel: 'Bla gjennom …',
removeLabel: 'Fjern',
removeTitle: 'Fjern valgte filer',
cancelLabel: 'Avbryt',
cancelTitle: 'Stopp pgende opplastninger',
pauseLabel: 'Pause',
pauseTitle: 'Pause ongoing upload',
uploadLabel: 'Last opp',
uploadTitle: 'Last opp valgte filer',
msgNo: 'Nei',
msgNoFilesSelected: 'Ingen filer er valgt',
msgPaused: 'Paused',
msgCancelled: 'Avbrutt',
msgPlaceholder: 'Select {files}...',
msgZoomModalHeading: 'Detaljert visning',
msgFileRequired: 'You must select a file to upload.',
msgSizeTooSmall: 'Filen "{name}" (<b>{size} KB</b>) er for liten og m vre strre enn <b>{minSize} KB</b>.',
msgSizeTooLarge: 'Filen "{name}" (<b>{size} KB</b>) er for stor, maksimal filstrrelse er <b>{maxSize} KB</b>.',
msgFilesTooLess: 'Du m velge minst <b>{n}</b> {files} for opplastning.',
msgFilesTooMany: 'For mange filer til opplastning, <b>({n})</b> overstiger maksantallet som er <b>{m}</b>.',
msgTotalFilesTooMany: 'You can upload a maximum of <b>{m}</b> files (<b>{n}</b> files detected).',
msgFileNotFound: 'Fant ikke filen "{name}"!',
msgFileSecured: 'Sikkerhetsrestriksjoner hindrer lesing av filen "{name}".',
msgFileNotReadable: 'Filen "{name}" er ikke lesbar.',
msgFilePreviewAborted: 'Filvisning avbrutt for "{name}".',
msgFilePreviewError: 'En feil oppstod under lesing av filen "{name}".',
msgInvalidFileName: 'Ugyldige tegn i filen "{name}".',
msgInvalidFileType: 'Ugyldig type for filen "{name}". Kun "{types}" filer er tillatt.',
msgInvalidFileExtension: 'Ugyldig endelse for filen "{name}". Kun "{extensions}" filer stttes.',
msgFileTypes: {
'image': 'image',
'html': 'HTML',
'text': 'text',
'video': 'video',
'audio': 'audio',
'flash': 'flash',
'pdf': 'PDF',
'object': 'object'
},
msgUploadAborted: 'Filopplastningen ble avbrutt',
msgUploadThreshold: 'Prosesserer...',
msgUploadBegin: 'Initialiserer...',
msgUploadEnd: 'Ferdig',
msgUploadResume: 'Resuming upload...',
msgUploadEmpty: 'Ingen gyldige data tilgjengelig for opplastning.',
msgUploadError: 'Upload Error',
msgDeleteError: 'Delete Error',
msgProgressError: 'Error',
msgValidationError: 'Valideringsfeil',
msgLoading: 'Laster fil {index} av {files} …',
msgProgress: 'Laster fil {index} av {files} - {name} - {percent}% fullfrt.',
msgSelected: '{n} {files} valgt',
msgFoldersNotAllowed: 'Kun Dra & slipp filer! Hoppet over {n} mappe(r).',
msgImageWidthSmall: 'Bredde p bildefilen "{name}" m vre minst {size} px.',
msgImageHeightSmall: 'Hyde p bildefilen "{name}" m vre minst {size} px.',
msgImageWidthLarge: 'Bredde p bildefilen "{name}" kan ikke overstige {size} px.',
msgImageHeightLarge: 'Hyde p bildefilen "{name}" kan ikke overstige {size} px.',
msgImageResizeError: 'Fant ikke dimensjonene som skulle resizes.',
msgImageResizeException: 'En feil oppstod under endring av strrelse .<pre>{errors}</pre>',
msgAjaxError: 'Noe gikk galt med {operation} operasjonen. Vennligst prv igjen senere!',
msgAjaxProgressError: '{operation} feilet',
msgDuplicateFile: 'File "{name}" of same size "{size} KB" has already been selected earlier. Skipping duplicate selection.',
msgResumableUploadRetriesExceeded: 'Upload aborted beyond <b>{max}</b> retries for file <b>{file}</b>! Error Details: <pre>{error}</pre>',
msgPendingTime: '{time} remaining',
msgCalculatingTime: 'calculating time remaining',
ajaxOperations: {
deleteThumb: 'file delete',
uploadThumb: 'file upload',
uploadBatch: 'batch file upload',
uploadExtra: 'form data upload'
},
dropZoneTitle: 'Dra & slipp filer her …',
dropZoneClickTitle: '<br>(eller klikk for velge {files})',
fileActionSettings: {
removeTitle: 'Fjern fil',
uploadTitle: 'Last opp fil',
uploadRetryTitle: 'Retry upload',
zoomTitle: 'Vis detaljer',
dragTitle: 'Flytt / endre rekkeflge',
indicatorNewTitle: 'Opplastning ikke fullfrt',
indicatorSuccessTitle: 'Opplastet',
indicatorErrorTitle: 'Opplastningsfeil',
indicatorPausedTitle: 'Upload Paused',
indicatorLoadingTitle: 'Laster opp ...'
},
previewZoomButtonTitles: {
prev: 'Vis forrige fil',
next: 'Vis neste fil',
toggleheader: 'Vis header',
fullscreen: 'pne fullskjerm',
borderless: 'pne uten kanter',
close: 'Lukk detaljer'
}
};
})(window.jQuery);
``` |
In classical mechanics and ballistics, the parabola of safety or safety parabola is the envelope of the parabolic trajectories of projectiles shot from a certain point with a given speed at different angles to horizon in a fixed vertical plane. The fact that this envelope is a parabola had been first established by Evangelista Torricelli and was later reproven by Johann Bernoulli using the infinitesimal calculus methods of Leibniz.
The paraboloid of revolution obtained by rotating the safety parabola around the vertical axis is the boundary of the safety zone, consisting of all points that cannot be hit by a projectile shot from the given point with the given speed.
Equations
In 2D and shooting on a horizontal plane, parabola of safety can be represented by the equation
where is the initial speed of projectile and is the gravitational field.
Properties
Focus of the parabola is the shooting position.
Maximum height () can be calculated by absolute value of in standard form of parabola. It is given as
Range () of the projectile can be calculated by the value of latus rectum of the parabola given shooting to the same level. It is given as
References
Philip Robinson, On the Geometrical Approach to Projectile Motion, The Mathematical Gazette, Vol. 82, No. 493, 1998, pp. 118–122
Ballistics
Conic sections |
```php
</div>
``` |
The 1911–12 Scottish Districts season is a record of all the rugby union matches for Scotland's district teams.
History
Edinburgh District beat Glasgow District in the Inter-City match
Blues beat Whites in a trial match.
North District played Midlands District on 4 November 1911.
Results
Inter-City
Glasgow District:
Edinburgh District:
Other Scottish matches
North Reds: Cheyne (Aberdeen University), McAndrew (Gordonians), Saunders (Aberdeen University), Hay (Aberdeen University), R. Ledingham (Aberdeen GSFP), A. Ledingham (Queen's Cross), A. M. Johnston (Aberdeen GSFP), Mulligan (Aberdeen University), Hogg (Aberdeen University), Cameron (Aberdeen University), Simpson (Aberdeen GSFP), G. Ledingham (Aberdeen GSFP), Snowie (Queen's Cross), R. Johnston (Queen's Cross), Macintosh (Queen's Cross)
North Colours: Stronach (Aberdeen University), Wilkinson (Queen's Cross), D. Leith (Aberdeen GSFP), Duffus (Aberdeen GSFP), Gillespie (Aberdeenshire), Macintosh (Queen's Cross), Whamond (Aberdeen University), Hodson (Aberdeenshire), Gilbert (Aberdeenshire), Nichol (Queen's Cross), Morgan (Queen's Cross), Grant (Gordonians), Ross (Aberdeen GSFP), G. Leith (Aberdeen GSFP), Clark (Aberdeen University)
South of Scotland District:
North of Scotland District:
Combined Scottish Districts:
Anglo-Scots:
Trial matches
Blues Trial:
Whites Trial:
English matches
No other District matches played.
International matches
No touring matches this season.
References
1911–12 in Scottish rugby union
Scottish Districts seasons |
Jiuchong (), also known as Danyang (), is a town in the southeast of Xichuan County, southwestern Henan province, China.
Geography
Jiuchong town is situated at the Southeastern part of Xichuan County. The central route of South–North Water Transfer Project's canal head is located in the west of Jiuchong town.
Name
In year 1368, Zhu Yuanzhang attacked the Yuan capital Dadu (present-day Beijing), and overthrowed the Yuan Dynasty. Some royal family of Yuan Dynasty fled here and establish a Nine heavy yard, Nine heavy yard in Chinese is Jiuchong Yuan. that is the origin of Jiuchong.
References
External links
Xichuan County
Towns in Nanyang, Henan |
```lex
#
#
#
#
#
#
#
#
#
``` |
Chilliwack is a city made up of several amalgamated villages and communities. The urban core has a decidedly north–south axis bisected by the Trans-Canada Highway. The city is bounded in north by the Fraser River, in the east by the Eastern Hillsides, in the south by the Canada-U.S. border, and in the west by the Vedder Canal.
North side
North side, also referred to as Chilliwack Proper Village West, covers the area from the Trans-Canada Highway in the south, to the Fraser River in the north, and includes the following communities.
Camp River
A picturesque, rural farming community at the North-East extreme of the city on Fairfield Island.
Cheam
Downtown Chilliwack
Also known as Chilliwack Proper, is the historical urban centre of the city. Several cultural attractions, such as the Prospera Centre, Chilliwack Cultural Centre and the new “District 1881” are located there, as well as key government buildings, such as City Hall, FVRD offices, and the Provincial Court of British Columbia.
The Eagle Landing Shopping Center is located southwest of downtown, between Chilliwack and Sardis.
East Chilliwack
A rural-suburban community located between Downtown Chillwack to the west, and Rosedale to the east.
Fairfield Island
A mainly suburban and residential neighborhood, and the northernmost community within the city boundaries.
Rosedale
A rural-suburban community in the north-eastern part of the city.
South side
Atchelitz
Chilliwack River Valley
Stretching 47 km from Chilliwack Lake to the Vedder Crossing, the valley contains an eclectic mix of homes, vacation properties, campgrounds, industry (logging/mining), and Crown Land. It is increasingly popular as an outdoor recreation destination, featuring hiking, camping, fishing, whitewater sports, off-road motoring, and birding.
Columbia Valley
Cultus Lake Park
Greendale
Popkum (Not considered part of Chilliwack but part of the Fraser Valley)
At the eastern extreme of the city limits, and a popular tourist destination and way station for travelers on the Trans-Canada Highway. Attractions include Bridal Veil Falls and The Falls Golf and Country Club.
Promontory
Ryder Lake
Sardis
Sardis is the urban core of the south side and a popular shopping destination.
Vedder Crossing
A vibrant and burgeoning community on the north bank of the Vedder River, home to the Canada Education Park and the Sardis Sports Complex ice hockey arena.
Yarrow
The village was first settled by Mennonites in the late 1920s, following the draining of Sumas Lake and the reclamation of the former lake bed for agriculture. It is at the foot of the Skagit Range of the Cascade Mountains on the Vedder River, near the latter's confluence with the Fraser, which traverses the Lower Mainland, of British Columbia. The Lower Mainland Ecoregion is part of the Pacific Maritime Ecozone. The village of Yarrow lies between Vedder Mountain to the south and Sumas Mountain to the northwest. The climate is temperate with most of the precipitation falling in the winter months as rain. The summer is warm and relatively dry. The fertile upper Fraser Valley supports the growth of many varieties of fruit, vegetables and herbs. Yarrow's economy is thus primarily agricultural and includes dairy farms and field crops (blueberries, corn, cole crops and hay).
References |
Evergrande Center () is a supertall skyscraper on-hold designed by Hanhai Architectural Design Co., Ltd. in the Baishi 4th road & Shenwan 3rd road, Shenzhen Bay, Shenzhen, China.
See also
List of tallest buildings
List of tallest buildings in China
References
Skyscrapers in Shenzhen
Towers in China
Corporate headquarters |
True hermaphroditism, sometimes referred to as ovotesticular syndrome, is an outdated term for an intersex condition in which an individual is born with both ovarian and testicular tissue. Commonly, one or both gonads is an ovotestis containing both types of tissue.
Although it is similar in some ways to mixed gonadal dysgenesis, the conditions can be distinguished histologically.
Etymology
The term derives from the , from , which derives from Hermaphroditos (Ἑρμαϕρόδιτος), the son of Hermes and Aphrodite in Greek mythology. According to Ovid, he fused with the nymph Salmacis resulting in one individual possessing physical traits of both sexes; according to the earlier Diodorus Siculus, he was born with a physical body combining both sexes. Usage of the term dates back to the third century BC. The word hermaphrodite entered the English lexicon in the late fourteenth century.
Symptoms
Gynecomastia (present in 75% of cases.)
History
The first medical attempts to document cases appeared in the 16th century. Up until the Late Middle Ages individuals with these conditions were viewed as monsters.
Causes
There are several ways in which this may occur.
It can be caused by the division of one ovum, followed by fertilization of each haploid ovum and fusion of the two zygotes early in development.
Alternately, an ovum can be fertilized by two sperm followed by trisomic rescue in one or more daughter cells.
Two ova fertilized by two sperm cells will occasionally fuse to form a tetragametic chimera, if one male zygote and one female zygote fuse.
It can be associated with a mutation in the SRY gene.
Karyotypes
In ovotesticular syndrome, XX is the most common (55-80% of cases); most individuals with this form are SRY negative.
Next most common are XX/XY (20-30% of cases) and XY (5-15% of cases), with the remainder being a variety of other chromosomal anomalies and mosaicisms.
Some degree of mosaicism is present in about 25%.
Encountered karyotypes include 46XX/46XY, or 46XX/47XXY or XX & XY with SRY mutations, mixed chromosomal anomalies or hormone deficiency/excess disorders, 47XXY.
Less than 1% have XX/XY chimerism.
Prevalence
True hermaphroditism represents 5% of all sex disorder differentiations.
The exact number of confirmed cases is uncertain, but by 1991 approximately 500 cases had been confirmed.
It has also been estimated that more than 525 have been documented.
Fertility
The gonad most likely to function is the ovary. The ovotestes show evidence of ovulation in 50% of cases. Spermatogenesis has only been observed in solitary testes and not in the testicular portions of ovotestes. According to a 1994 study, spermatogenesis has only been proven in two cases. One of the two cases, having XX,46/XY,46 mixture had fathered a child.
It has been estimated that 80% of cases could be fertile as females with the right surgeries.
Documented cases of fertility
There are extremely rare cases of fertility in "truly hermaphroditic" humans.
In 1994 a study on 283 cases found 21 pregnancies from 10 true hermaphrodites, while one allegedly fathered a child.
As of 2010, there have been at least 11 reported cases of fertility in true hermaphrodite humans in the scientific literature, with one case of a person with XY-predominant (96%) mosaic giving birth. All known offspring have been male. There has been at least one case of an individual being fertile as a male.
There is a hypothetical scenario, in which it could be possible for a human to self-fertilize. If a human chimera is formed from a male and female zygote fusing into a single embryo, giving an individual functional gonadal tissue of both types, such self-fertilization is feasible. Indeed, it is known to occur in non-human species where hermaphroditic animals are common. However, no such case of functional self-fertilization or true bi-sexuality has been documented in humans.
Society and culture
Having ovotesticular syndrome of sexual development can make one inadmissible for service in the United States Armed Forces.
M.C. v. Aaronson
The U.S. legal case of M.C. v. Aaronson, advanced by intersex civil society organization interACT with the Southern Poverty Law Center, was brought before the courts in 2013. The child in the case was born in December 2004 with ovotestes, initially determined as male, but subsequently assigned female and placed in the care of South Carolina Department of Social Services in February 2005. Physicians responsible for M.C. initially concluded that surgery was not urgent or necessary and M.C. had potential to identify as male or female, but, in April 2006, M.C. was subjected to feminizing medical interventions. According to the Encyclopedia Britannica, "The reconstruction of female genitalia was more readily performed than the reconstruction of male genitalia, so ambiguous individuals often were made to be female." He was adopted in December 2006. M.C. identified as male at the time the case was brought, at age eight. The defendant in the case, Dr. Ian Aaronson, had written in 2001 that "feminizing genitoplasty on an infant who might eventually identify herself as a boy would be catastrophic".
The defendants sought to dismiss the case and seek a defense of qualified immunity, but these were denied by the District Court for the District of South Carolina. In January 2015, the Court of Appeals for the Fourth Circuit reversed this decision and dismissed the complaint, stating that, it did not "mean to diminish the severe harm that M.C. claims to have suffered" but that in 2006 it was not clear that there was precedent that the surgery on a sixteen-month-old violated an established constitutional right. The Court did not rule on whether or not the surgery violated M.C.'s constitutional rights.
State suits were subsequently filed. In July 2017, it was reported that the case had been settled out of court by the Medical University of South Carolina for $440,000. The university denied negligence, but agreed to a "compromise" settlement to avoid "costs of litigation."
See also
46,XX/46,XY
Intersex people and military service in the United States
References
External links
Congenital disorders of genital organs
Rare diseases
Intersex variations |
Virginia Carver (February 23, 1935 – December 9, 2022) was a pitcher and outfielder who played in the All-American Girls Professional Baseball League. She was born in New Brighton, Pennsylvania.
Carver entered the league in 1953 with the South Bend Blue Sox, and later was a member of the pennant-winning Fort Wayne Daisies in its 1954 season.
In 17 pitching appearances, Carver posted a 5–7 record with an 8.78 ERA in 80.0 innings of work. As a batter, she hit an average of .173 (13-for-75) in 32 games, including seven RBI, seven runs scored, and one stolen base.
The AAGPBL folded in 1954, but there is a permanent display at the Baseball Hall of Fame and Museum at Cooperstown, New York since November 5, 1988, that honors the entire league rather than any individual figure.
Carver died in Petaluma, California on December 9, 2022, aged 87.
Sources
1935 births
2022 deaths
All-American Girls Professional Baseball League players
South Bend Blue Sox players
Fort Wayne Daisies players
Baseball players from Pennsylvania
People from New Brighton, Pennsylvania
Sportspeople from Beaver County, Pennsylvania |
```c++
/*=============================================================================
file LICENSE_1_0.txt or copy at path_to_url
==============================================================================*/
#include <boost/detail/lightweight_test.hpp>
#include <boost/fusion/algorithm/transformation/push_back.hpp>
#include <boost/fusion/algorithm/transformation/push_front.hpp>
#include <boost/fusion/container/deque/convert.hpp>
#include <boost/fusion/container/deque/deque.hpp>
#include <boost/fusion/container/generation/make_deque.hpp>
#include <boost/fusion/container/generation/make_list.hpp>
#include <boost/fusion/container/generation/make_vector.hpp>
#include <boost/fusion/sequence/comparison/equal_to.hpp>
#include <string>
int main() {
using namespace boost::fusion;
using namespace boost;
BOOST_TEST(as_deque(make_vector()) == make_deque());
BOOST_TEST(as_deque(make_vector(1)) == make_deque(1));
BOOST_TEST(as_deque(make_vector(1, '2')) == make_deque(1, '2'));
BOOST_TEST(as_deque(make_vector(1, '2', 3.3f)) == make_deque(1, '2', 3.3f));
BOOST_TEST(as_deque(make_list()) == make_deque());
BOOST_TEST(as_deque(make_list(1)) == make_deque(1));
BOOST_TEST(as_deque(make_list(1, '2')) == make_deque(1, '2'));
BOOST_TEST(as_deque(make_list(1, '2', 3.3f)) == make_deque(1, '2', 3.3f));
{
deque<> xs;
BOOST_TEST(as_deque(push_back(xs, 1)) == make_deque(1));
}
{
deque<int> xs(1);
BOOST_TEST(as_deque(push_back(xs, '2')) == make_deque(1, '2'));
}
{
deque<int, char> xs(1, '2');
BOOST_TEST(as_deque(push_back(xs, 3.3f)) == make_deque(1, '2', 3.3f));
}
{
deque<> xs;
BOOST_TEST(
as_deque(push_front(xs, make_deque(1, '2', 3.3f))) ==
make_deque(make_deque(1, '2', 3.3f))
);
BOOST_TEST(as_deque(make_deque(make_deque(1))) == make_deque(make_deque(1)));
}
/* Disabling test for now, see path_to_url ($$$ FIXME $$$)
{
deque<> xs;
BOOST_TEST(
as_deque(push_front(xs, make_vector(1, '2', 3.3f))) ==
make_deque(make_vector(1, '2', 3.3f))
);
}
*/
return boost::report_errors();
}
``` |
Mr Selfridge is a British period drama television series about Harry Gordon Selfridge and his department store, Selfridge & Co, in London, set from 1908 to 1928. It was co-produced by ITV Studios and Masterpiece/WGBH for broadcast on ITV. The series began broadcasting on ITV on 6 January 2013 and 30 March 2016 on PBS in the United States.
Production
Development and production
It was announced on 24 May 2011 that ITV was in discussions with ITV Studios about developing an adaptation of Lindy Woodhead's biography Shopping, Seduction & Mr Selfridge. Andrew Davies was confirmed to be working on the script. Beginning in London in 1908, during a time period when women were enjoying an ever-increasing amount of freedom, it tells the story of Harry Gordon Selfridge, the founder of Selfridges department store and includes members of his family, particularly his wife Rose Selfridge.
It was originally planned to be screened in 2012, and it is claimed that ITV was forced to push back airing the drama due to rival BBC airing a similarly themed drama series The Paradise.
A set to the north of London was built to house a replica of the 1909 Selfridge's store interior. The exterior of the store was recreated in The Historic Dockyard Chatham, in Kent.
The disused Aldwych tube station was used to film Rose Selfridge travelling on the London Underground and scenes in the first episode.
On 8 February 2013, ITV announced Mr Selfridge had been commissioned for a second series of ten episodes, to start on 19 January 2014. Anthony Byrne, who directed three episodes of series one, returned to direct some of the new episodes. On 22 July 2013, PBS also purchased a second series that aired in 2014 as part of its Masterpiece Classic. The second series is set in 1914 and portrays the consequence of World War I to the store and staff. On 21 February 2014, it was announced that Mr. Selfridge had been renewed for a third series, to air in 2015. On 13 March 2015, ITV announced Mr Selfridge had been commissioned for a new 10-part fourth and final series.
Casting
An American casting director was employed to find an actor suitable to play Harry Selfridge. Jeremy Piven's agent informed him of the role. Producer Chrissy Skinns and director Jon Jones met Piven in Los Angeles and were impressed by his understanding of the character. Executive producer Kate Lewis was "thrilled to attract" Frances O'Connor to the role of Rose Selfridge because she had long been a fan of the actress. Former Coronation Street actress Katherine Kelly signed up to play Lady Mae Loxley and returned for Series 2 and Series 4. The casting of the trio was announced in March 2012 alongside Grégory Fitoussi (Henri Leclair), Aisling Loftus (Agnes Towler), Zoe Tapper (Ellen Love) and Trystan Gravelle (Victor Colleano).
Cast and characters
Series overview
Shop staff
Accessories
Josie Mardle (Series 1–4), Head of Department
Grace Calthorpe (Series 2–3), Shop assistant / Head of Department
Agnes Towler (Series 1), Senior shop assistant
Doris Millar (Series 1), Shop assistant
Kitty Hawkins (Series 1), Shop assistant
Beauty
Kitty Hawkins (Series 2–4), Head of Department
Jessie Pertree (Series 2–3), Shop assistant
Fashion
Flora Bunting (Series 1), Head of Department
Irene Ravilious (Series 1), Head of Department
Mr Thackery (Series 2–3), Head of Department
Josie Mardle (Series 3), Head of Department
Connie Hawkins (Series 3–4), Shop assistant / Head of Department
Agnes Towler (Series 1), Shop assistant
Gordon Selfridge (Series 3), Shop assistant
Meryl Grove (Series 4), Shop assistant
Loading Bay
George Towler (Series 1–2), Assistant / Head of Department
Gordon Selfridge (Series 2), Assistant
Sam (Series 1), Assistant
Alf (Series 1), Assistant
Ed (Series 2), Assistant
Dave (Series 2), Assistant
Sarah Ellis (Series 2–3), Assistant
Offices
Harry Selfridge (Series 1–4), General Manager
Henri Leclair (Series 2–3), Deputy Manager
Gordon Selfridge (Series 3–4), Deputy Manager / Provincial Stores Manager
Roger Grove, (Series 1–4), Chief of Staff / Deputy Manager
Josie Mardle (Series 4), Deputy Manager
Arthur Crabb (Series 1–4), Finance
Miss Blenkinsopp (Series 1–2), Secretary
Miss Plunket (Series 2–4), Secretary
Design
Henri Leclair (Series 1), Head of Display
Agnes Towler (Series 2–3), Head of Display
Pierre Longchamp (Series 3), Head of Display
Freddy Lyons (Series 4), Head of Display
The Palm Court
Mr Perez (Series 1), Head of Department
Victor Colleano, (Series 1–2), Waiter / Head of Department
Franco Colleano (Series 2), Waiter
Sewing Room
Mae Rennard (Series 4), Designer
Sarah Ellis (Series 4), Head of Department
Matilda Brockless (Series 4), Machinist / Head of Department
Prue (Series 4), Machinist
Joyce (Series 4), Machinist
Other departments
Gordon Selfridge (Series 2), Tea
George Towler (Series 3–4), Head of Security
Miss Blenkinsop (Series 3–4), Head of Information Bureau
Episodes
Series 1 (2013)
(1908–10)
Series 2 (2014)
(1914)
Series 3 (2015)
(1918–19)
Series 4 (2016)
(1928–29)
Reception
In a poll hosted by MSN more than 80% of readers said they would continue watching the show following the first episode. Phil Hogan writing for The Guardian bemoaned the story development. He observed that there is "so much crisis with so little drama". Ross Sweeney from Cultbox said that the show had direction but lacked "actual substance and any real surprises". He praised the costume designers for their "astonishing attention to detail". Susanna Lazarus of the Radio Times opined that the character's earnestness detracted from the realism of the story. She added the female cast created the "plot tension" needed to maintain viewership. Gabriel Tate of Time Out branded it an unsubtle, daft series with glorious production values but felt it was "ideal escapism for a Sunday night". He also stated that the character of Agnes Towler was "the heart of the show". Benjamin Secher from The Daily Telegraph said that Mr Selfridge is a "less cosy, more charismatic" production of The Paradise. A "sumptuous, frothy drama" and "entertaining spectacle", but ultimately Secher did not believe the story. MSN critic Dan Owen branded it "sumptuous Sunday evening viewing". He thought the "wonderful" sets and costumes were better than those featured in fellow period drama Downton Abbey.
Broadcasts
The programme has been distributed internationally by ITV Studios' Global Entertainment brand. ITV sold the series to a number of countries at the 2012 Mipcom event. In addition they have pre-sold the show to Australia's Seven Network and the satellite television provider, Yes, in Israel. In the Netherlands, Series 1 was aired starting August, 2013 and series 2 was aired from July 2014. In Sweden "Mr Selfridge" was aired at the public service network SVT. The last two episodes of season 4 were aired as a double on 25 June 2016 on SVT1.
Notes
References
External links
Mr Selfridge at What's on TV
Shopping, Seduction & Mr Selfridge, the book by Lindy Woodhead
2010s British drama television series
2013 British television series debuts
2016 British television series endings
English-language television shows
Television shows written by Andrew Davies
Fiction set in 1908
Fiction set in 1909
Fiction set in 1910
Fiction set in 1914
Fiction set in 1918
Fiction set in 1919
Fiction set in 1928
ITV television dramas
Selfridges
Television series based on actual events
Television series by ITV Studios
Television series set in the 1900s
Television series set in the 1910s
Television series set in the 1920s
Television series set in shops
Television shows based on books
Television shows set in London
Television shows set in department stores |
Hanni Rehborn (20 November 1907 – 30 November 1987) was a German diver who competed in the 1928 Summer Olympics. She finished sixth in the 10 metre platform event. Her elder brother, Julius, was an Olympic diver and her sister, Anni, was an Olympic swimmer.
References
1907 births
1987 deaths
German female divers
Olympic divers for Germany
Divers at the 1928 Summer Olympics
European Aquatics Championships medalists in diving
20th-century German women |
Irihapeti Merenia Ramsden (1946 – 5 April 2003) was a New Zealand Māori nurse, anthropologist, and writer who worked to improve health outcomes for Māori people.
Biography
Irihapeti Ramsden was the daughter of writer and historian Eric Ramsden and Merenia Manawatu, and was of Ngāi Tahu and Rangitāne iwi. She was born and raised in Wellington and trained as a nurse at Wellington Technical College. In 1963, she began working at Wellington Hospital.
In 1979, Ramsden enrolled at Victoria University of Wellington and studied for a degree in anthropology. In the 1980s, Ramsden developed Kawa Whakaruruhau or Cultural Safety in Nursing Education, an approach to health care which was both original and controversial. The approach required people and organisations in the health sector to consider Māori and other cultural identities that a patient brings with them as they access health services. These cultures include the culture of poverty, gender, sexual orientation or social class. Many of Ramsden’s recommendations were later legislated into nursing and midwifery education and adopted by other professions and movements in New Zealand and internationally; in 1992, cultural safety was officially incorporated into nursing training in New Zealand.
In 1984, Ramsden was one of the women who formed the Spiral Collective to publish Keri Hulme's novel, The Bone People, when mainstream publishers had rejected it. The book went on to win the 1984 Booker Prize.
In 2002, Ramsden completed her PhD at Victoria University of Wellington; her thesis was titled Cultural Safety and Nursing Education in Aotearoa and Te Waipounamu.
Ramsden died on 5 April 2003 at her Wellington home after a long illness with cancer. She was 57 years old. Tariana Turia, then Associate Maori Affairs Minister, and historian Michael King both issued statements of remembrance on her passing. Ramsden had been invested as an Officer of the New Zealand Order of Merit two weeks before she died, the honour having been announced in the 2003 New Year Honours.
References
1946 births
2003 deaths
People from Wellington City
Officers of the New Zealand Order of Merit
Ngāi Tahu people
Rangitāne people
Victoria University of Wellington alumni
New Zealand nurses
New Zealand Māori nurses
New Zealand women nurses
Medical anthropologists
People in public health
Indigenous health |
```c++
//
// ssl/detail/engine.hpp
// ~~~~~~~~~~~~~~~~~~~~~
//
//
// file LICENSE_1_0.txt or copy at path_to_url
//
#ifndef ASIO_SSL_DETAIL_ENGINE_HPP
#define ASIO_SSL_DETAIL_ENGINE_HPP
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
# pragma once
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
#include "asio/detail/config.hpp"
#include "asio/buffer.hpp"
#include "asio/detail/static_mutex.hpp"
#include "asio/ssl/detail/openssl_types.hpp"
#include "asio/ssl/detail/verify_callback.hpp"
#include "asio/ssl/stream_base.hpp"
#include "asio/ssl/verify_mode.hpp"
#include "asio/detail/push_options.hpp"
namespace asio {
namespace ssl {
namespace detail {
class engine
{
public:
enum want
{
// Returned by functions to indicate that the engine wants input. The input
// buffer should be updated to point to the data. The engine then needs to
// be called again to retry the operation.
want_input_and_retry = -2,
// Returned by functions to indicate that the engine wants to write output.
// The output buffer points to the data to be written. The engine then
// needs to be called again to retry the operation.
want_output_and_retry = -1,
// Returned by functions to indicate that the engine doesn't need input or
// output.
want_nothing = 0,
// Returned by functions to indicate that the engine wants to write output.
// The output buffer points to the data to be written. After that the
// operation is complete, and the engine does not need to be called again.
want_output = 1
};
// Construct a new engine for the specified context.
ASIO_DECL explicit engine(SSL_CTX* context);
#if defined(ASIO_HAS_MOVE)
// Move construct from another engine.
ASIO_DECL engine(engine&& other) ASIO_NOEXCEPT;
#endif // defined(ASIO_HAS_MOVE)
// Destructor.
ASIO_DECL ~engine();
// Get the underlying implementation in the native type.
ASIO_DECL SSL* native_handle();
// Set the peer verification mode.
ASIO_DECL asio::error_code set_verify_mode(
verify_mode v, asio::error_code& ec);
// Set the peer verification depth.
ASIO_DECL asio::error_code set_verify_depth(
int depth, asio::error_code& ec);
// Set a peer certificate verification callback.
ASIO_DECL asio::error_code set_verify_callback(
verify_callback_base* callback, asio::error_code& ec);
// Perform an SSL handshake using either SSL_connect (client-side) or
// SSL_accept (server-side).
ASIO_DECL want handshake(
stream_base::handshake_type type, asio::error_code& ec);
// Perform a graceful shutdown of the SSL session.
ASIO_DECL want shutdown(asio::error_code& ec);
// Write bytes to the SSL session.
ASIO_DECL want write(const asio::const_buffer& data,
asio::error_code& ec, std::size_t& bytes_transferred);
// Read bytes from the SSL session.
ASIO_DECL want read(const asio::mutable_buffer& data,
asio::error_code& ec, std::size_t& bytes_transferred);
// Get output data to be written to the transport.
ASIO_DECL asio::mutable_buffer get_output(
const asio::mutable_buffer& data);
// Put input data that was read from the transport.
ASIO_DECL asio::const_buffer put_input(
const asio::const_buffer& data);
// Map an error::eof code returned by the underlying transport according to
// the type and state of the SSL session. Returns a const reference to the
// error code object, suitable for passing to a completion handler.
ASIO_DECL const asio::error_code& map_error_code(
asio::error_code& ec) const;
private:
// Disallow copying and assignment.
engine(const engine&);
engine& operator=(const engine&);
// Callback used when the SSL implementation wants to verify a certificate.
ASIO_DECL static int verify_callback_function(
int preverified, X509_STORE_CTX* ctx);
#if (OPENSSL_VERSION_NUMBER < 0x10000000L)
// The SSL_accept function may not be thread safe. This mutex is used to
// protect all calls to the SSL_accept function.
ASIO_DECL static asio::detail::static_mutex& accept_mutex();
#endif // (OPENSSL_VERSION_NUMBER < 0x10000000L)
// Perform one operation. Returns >= 0 on success or error, want_read if the
// operation needs more input, or want_write if it needs to write some output
// before the operation can complete.
ASIO_DECL want perform(int (engine::* op)(void*, std::size_t),
void* data, std::size_t length, asio::error_code& ec,
std::size_t* bytes_transferred);
// Adapt the SSL_accept function to the signature needed for perform().
ASIO_DECL int do_accept(void*, std::size_t);
// Adapt the SSL_connect function to the signature needed for perform().
ASIO_DECL int do_connect(void*, std::size_t);
// Adapt the SSL_shutdown function to the signature needed for perform().
ASIO_DECL int do_shutdown(void*, std::size_t);
// Adapt the SSL_read function to the signature needed for perform().
ASIO_DECL int do_read(void* data, std::size_t length);
// Adapt the SSL_write function to the signature needed for perform().
ASIO_DECL int do_write(void* data, std::size_t length);
SSL* ssl_;
BIO* ext_bio_;
};
} // namespace detail
} // namespace ssl
} // namespace asio
#include "asio/detail/pop_options.hpp"
#if defined(ASIO_HEADER_ONLY)
# include "asio/ssl/detail/impl/engine.ipp"
#endif // defined(ASIO_HEADER_ONLY)
#endif // ASIO_SSL_DETAIL_ENGINE_HPP
``` |
Agonopterix deltopa is a moth in the family Depressariidae. It was described by Edward Meyrick and Aristide Caradja in 1935. It is found in China and Japan.
References
Moths described in 1935
Agonopterix
Moths of Asia
Moths of Japan |
Chandani Seneviratne, (born 28 December 1962: ), is an actress in Sri Lankan cinema, theatre and television. One of the most distinguished artists in Sinhala cinema, Seneviratne has received critical acclaim and awards at every award festival in Sri Lanka for several dramatic roles.
Early days
Seneviratne studied at Dharmapala Vidyalaya, Pannipitiya till grade 5 and St. Paul's Girls School, Milagiriya till her high studies. She started her acting career as a Theatre Artist and made her film debut in Sathi Puja in 1985, for which she won the Presidential Award for best supporting Actress.
Awards
She is the recipient of a Dubai International Film Award, a Presidential Award, a Sarasaviya Award, a Lanka Live Award and a Hiru Golden Film Award.
Filmography
No. denotes the Number of Sri Lankan film in the Sri Lankan cinema.
Television Serials
Adaraneeya Amma
Akala Sandya
Ammai Thaththai
Appachchi
අමා Arungal
Bandara Deiyo Bedde Kulawamiya Bonikko
Bumuthurunu Chess Dekona Gini
Deiyo Sakki Doo Daruwo Dumriya Andaraya
Gamperaliya Gangulen Egodata Giraya හෘද සාක්ෂිය
Hiru Kumari
Ilandari Hendewa
Imadiya Mankada
Jeewithaya Dakinna
Jeewithayata Idadenna
Kaala Nadee Gala Basi
Karuwala Gedara
Kasthirama
Kinihiraka Pipi Mal
Madol Doowa
Maha Polowa
Mayim Neyo
Nannadunanni
Nedeyo
Nil Ahasa Oba
Niranandaya
Nisala Wila
Oba Kawda
One Way
Piyasa
Pithru
Punchi Rala
Rala Bindena Thena
Ramya Suramya
Sadgunakaraya
Sahodaraya
Sanda Duranan
Sankranthi Samaya
Sathpura Wesiyo
Senakeliyai Maya
Sihina Danauwa
Sikuru Udanaya
Siththara Gurunnanse
Smarana Samapthi
Sudo Sudu
Sudu Andagena Kalu Awidin
Sulanga Matha Mohothak
Thaksalawa
Thara
Tharu Walalla
Theth Saha Viyali
Vinivindimi
Weda Hamine
Weeraya Gedara Ewith
Yakada Pahan Thira
Awards and honors
Films
Dubai International Film Festival - Jury's Special Mention of the Best Actress Award - Nikini Wessa (2012)
Presidential Award for the Best Supporting Actress - Sathi Puja (1984)
Sarasaviya Award for the Best Actress - Udu Gan Yamaya (2006)
SIGNIS Gold award for Creative Acting (Female) - Udu Gan Yamaya (2006)
Presidential Award for the Best Supporting Actress - Sulanga (2006)
SIGNIS Special Merit Award - Sulanga (2006)
Sarasaviya Award for the Best Supporting Actress - Uppalawanna (2007)
Lanka Live Award for Best Actress - Nikini Wessa (2012)
Hiru Golden Film Award for Best Actress - Nikini Wessa (2012)
SIGNIS Award for Creative Performance (Female): Silver Award - Nikini Wassa (2012)
SIGNIS Award for Most Creative Supporting Actress - Kusa Paba (2013)
Tele Dramas
Raigam Tele'es
|-
| 2005
| Punchi Rala
| Best Actress
|
|-
| 2006
| Jeewithayata Idadenna
| Best Actress
|
|-
| 2007
| Sulan Seenu
| Best Director - Single Episode
|
|-
| 2008
| Rala Bindena Thena
| Best Actress
|
|-
| 2011
| Thaksalawa
| Best Supporting Actress
|
|-
| 2015
| Chess
| Best Actress
|
|-
| 2017
| One Way
| Best Supporting Actress
|
|-
| 2019
| Sahodaraya
| Best Actress
|
|}
Sumathi Awards
|-
| 1996
| Kasthirama
| Best Actress
|
|-
| 1996
| Sankranthi Samaya
| Popular Actress
|
|-
| 1999
| Nisala Wila
| Best Actress
|
|-
| 2007
| Sulan Seenu
| Best Director - Single Episode
|
|-
| 2008
| Rala Bindena Thena
| Best Actress
|
|-
| 2011
| Thaksalawa
| Best Supporting Actress
|
|-
| 2021
| Weera Gedara Ewith
| Best Supporting Actress
|
|}
SIGNIS Awards
|-
| 2006
| Theth saha Viyali
| Best Actress
|
|-
| 2008
| Karuwala Gedara
| Best Actress
|
|-
| 2009
| Arungal
| Best Actress
|
|-
| 2015
| Chess
| Best Actress
|
|-
| 2018
| Bedde Kulawamiya
| Best Supporting Actress
|
|}
References
External links
Premiere for newest children’s play
1962 births
Living people
Sri Lankan television actresses |
This article lists census-designated places (CDPs) in the U.S. state of Wyoming. At the 2020 census, there were a total of 106 census-designated places in Wyoming.
Census-Designated Places
See also
List of municipalities in Wyoming
Index of Wyoming-related articles
Outline of Wyoming
References
External links
: US Census Bureau
Census-designated places
Wyoming |
```ruby
require_relative '../../spec_helper'
require 'csv'
describe "CSV.parse" do
it "parses '' into []" do
result = CSV.parse ''
result.should be_kind_of(Array)
result.should == []
end
it "parses '\n' into [[]]" do
result = CSV.parse "\n"
result.should == [[]]
end
it "parses 'foo' into [['foo']]" do
result = CSV.parse 'foo'
result.should == [['foo']]
end
it "parses 'foo,bar,baz' into [['foo','bar','baz']]" do
result = CSV.parse 'foo,bar,baz'
result.should == [['foo','bar','baz']]
end
it "parses 'foo,baz' into [[foo,nil,baz]]" do
result = CSV.parse 'foo,,baz'
result.should == [['foo',nil,'baz']]
end
it "parses '\nfoo' into [[],['foo']]" do
result = CSV.parse "\nfoo"
result.should == [[],['foo']]
end
it "parses 'foo\n' into [['foo']]" do
result = CSV.parse "foo\n"
result.should == [['foo']]
end
it "parses 'foo\nbar' into [['foo'],['bar']]" do
result = CSV.parse "foo\nbar"
result.should == [['foo'],['bar']]
end
it "parses 'foo,bar\nbaz,quz' into [['foo','bar'],['baz','quz']]" do
result = CSV.parse "foo,bar\nbaz,quz"
result.should == [['foo','bar'],['baz','quz']]
end
it "parses 'foo,bar'\nbaz' into [['foo','bar'],['baz']]" do
result = CSV.parse "foo,bar\nbaz"
result.should == [['foo','bar'],['baz']]
end
it "parses 'foo\nbar,baz' into [['foo'],['bar','baz']]" do
result = CSV.parse "foo\nbar,baz"
result.should == [['foo'],['bar','baz']]
end
it "parses '\n\nbar' into [[],[],'bar']]" do
result = CSV.parse "\n\nbar"
result.should == [[],[],['bar']]
end
it "parses 'foo' into [['foo']] with a separator of ;" do
result = CSV.parse "foo", col_sep: ?;
result.should == [['foo']]
end
it "parses 'foo;bar' into [['foo','bar']] with a separator of ;" do
result = CSV.parse "foo;bar", col_sep: ?;
result.should == [['foo','bar']]
end
it "parses 'foo;bar\nbaz;quz' into [['foo','bar'],['baz','quz']] with a separator of ;" do
result = CSV.parse "foo;bar\nbaz;quz", col_sep: ?;
result.should == [['foo','bar'],['baz','quz']]
end
it "raises CSV::MalformedCSVError exception if input is illegal" do
-> {
CSV.parse('"quoted" field')
}.should raise_error(CSV::MalformedCSVError)
end
it "handles illegal input with the liberal_parsing option" do
illegal_input = '"Johnson, Dwayne",Dwayne "The Rock" Johnson'
result = CSV.parse(illegal_input, liberal_parsing: true)
result.should == [["Johnson, Dwayne", 'Dwayne "The Rock" Johnson']]
end
end
``` |
```ruby
# frozen_string_literal: true
module Decidim
module ContentRenderers
# A renderer that searches Global IDs representing hashtags in content
# and replaces it with a link to their detail page with the name.
#
# e.g. gid://<APP_NAME>/Decidim::Hashtag/1
#
# @see BaseRenderer Examples of how to use a content renderer
class HashtagRenderer < BaseRenderer
# Matches a global id representing a Decidim::Hashtag
GLOBAL_ID_REGEX = %r{gid://[\w-]*/Decidim::Hashtag/(\d+)/?(_?)([[:alnum:]](?:[[:alnum:]]|_)*)?\b}
# Replaces found Global IDs matching an existing hashtag with
# a link to their detail page. The Global IDs representing an
# invalid Decidim::Hashtag are replaced with an empty string.
#
# links - should render hashtags as links?
# extras - should include extra hashtags?
#
# @return [String] the content ready to display (contains HTML)
def render(links: true, extras: true, editor: false)
return content unless content.respond_to?(:gsub)
content.gsub(GLOBAL_ID_REGEX) do |hashtag_gid|
id, extra, cased_name = hashtag_gid.scan(GLOBAL_ID_REGEX).flatten
hashtag = hashtags[id.to_i]
next "" if hashtag.nil? || (!extras && extra.present?)
presenter = Decidim::HashtagPresenter.new(hashtag, cased_name:)
if editor
label = presenter.display_hashtag_name
%(<span data-type="hashtag" data-label="#{label}">#{label}</span>)
elsif links
presenter.display_hashtag
else
presenter.display_hashtag_name
end
end
end
# Returns all the extra hashtags found in the content
def extra_hashtags
@extra_hashtags ||= existing_hashtags.select { |hashtag| content_extra_hashtags_ids.member?(hashtag.id) }
end
private
def hashtags
@hashtags ||=
existing_hashtags.index_by(&:id)
end
def existing_hashtags
@existing_hashtags ||= Decidim::Hashtag.where(id: content_hashtags_ids)
end
def content_hashtags_ids
@content_hashtags_ids ||= ids_from_matches(content_matches)
end
def content_extra_hashtags_ids
@content_extra_hashtags_ids ||= ids_from_matches(content_matches.select { |match| match[1].present? })
end
def content_matches
@content_matches ||= content.scan(GLOBAL_ID_REGEX)
end
def ids_from_matches(matches)
matches.map(&:first).map(&:to_i).uniq
end
end
end
end
``` |
Andre Riley Givens, (born June 25, 1990) better known by the name Andre Fili, is an American mixed martial artist who competes in the Featherweight division. Fili is of Samoan and Native Hawaiian descent and is currently signed with the Ultimate Fighting Championship (UFC).
Background
Fili grew up in a broken home, where both of the parents were violent against each other and also their children. Fili's mother raised her kids alone, as her husband was serving jail time on multiple occasions and was not living in the house. The violent and unstable upbringing left its mark on Fili, and he started seeking out street brawls as a teenager. In 2009, Fili moved to Sacramento and while still under probation, he joined Team Alpha Male and began training mixed martial arts.
Mixed martial arts career
Fili made his professional debut on December 12, 2009, against Anthony Motley. Fili won the fight via TKO and won his next three fights via TKO as well. Fili suffered his first loss, by knee injury, against Strikeforce vet Derrick Burnsed. Fili bounced back from the loss winning his next 8 fights including a win over Strikeforce veteran Alexander Crispim.
Ultimate Fighting Championship
Fili made his promotional debut on October 19, 2013, at UFC 166 against Jeremy Larsen. Fili, who was in the middle of a training camp for a welterweight bout in another promotion, took the featherweight fight on short notice (two weeks) to replace an injured Charles Oliveira. The bout was contested at a catchweight, as Fili was unable to make the required weight. Fili won the fight via TKO in the second round.
Fili faced Max Holloway on April 26, 2014, at UFC 172. He lost the fight via submission in the third round.
Fili was expected to face Sean Soriano on September 5, 2014, at UFC Fight Night 50. However, Fili was forced from the bout with an injury and replaced by Chas Skelly.
Fili faced Felipe Arantes on October 25, 2014, at UFC 179. He won via unanimous decision.
Fili faced Godofredo Pepey on March 21, 2015, at UFC Fight Night 62. He lost the fight via submission in the first round.
Fili was expected to face Clay Collard on September 5, 2015, at UFC 191. However, Fili was forced out of the bout with injury and replaced by Tiago Trator.
Fili faced Gabriel Benítez on November 21, 2015, at The Ultimate Fighter Latin America 2 Finale. He won the fight via knockout in the first round and also earned a Performance of the Night bonus.
Fili faced Yair Rodríguez on April 23, 2016, at UFC 197. Fili lost the fight via knockout in the second round.
Fili faced Hacran Dias on October 1, 2016, at UFC Fight Night 96, filling in for an injured Brian Ortega. He won the fight via unanimous decision.
Fili was expected to face Doo Ho Choi on July 29, 2017, at UFC 214. However Choi pulled out of the fight and was replaced by promotional newcomer Calvin Kattar. Fili lost the fight by unanimous decision.
Fili faced Artem Lobov on October 21, 2017, at UFC Fight Night 118. He won the fight via unanimous decision.
Fili faced Dennis Bermudez on January 27, 2018, at UFC on Fox 27. He won the fight via split decision.
Fili faced Michael Johnson on August 25, 2018, at UFC Fight Night 135. He lost the fight via split decision.
Fili faced Myles Jury on February 17, 2019, at UFC on ESPN 1. He won the fight by unanimous decision.
Fili faced Sheymon Moraes on July 13, 2019, at UFC on ESPN+ 13. He won the fight via knockout in round one. This win earned him the Performance of the Night award.
Fili faced Sodiq Yusuff on January 18, 2020, at UFC 246. He lost the fight by unanimous decision.
Fili faced Charles Jourdain on June 13, 2020, at UFC on ESPN: Eye vs. Calvillo. He won the bout via split decision.
Fili faced Bryce Mitchell on October 31, 2020, at UFC Fight Night 181. He lost the fight via unanimous decision.
Fili faced Daniel Pineda on June 26, 2021, at UFC Fight Night 190. Early in round two, Fili accidentally poked Pineda in the eye and he was deemed unable to continue. The fight was declared a no contest.
Fili faced Joanderson Brito on April 30, 2022, at UFC on ESPN 35. He lost the fight via TKO in round one.
Fili was scheduled to face Lando Vannata on September 17, 2022, at UFC Fight Night 210. However, Vannata was forced to pull from the event due to injury and was replaced by Bill Algeo. Fili won the fight via split decision.
Fili was scheduled to face Lucas Almeida on February 25, 2023, at UFC Fight Night 220. However, Fili was forced to withdraw from the bout due to emergency eye surgery.
Fili faced Nathaniel Wood on July 22, 2023, at UFC on ESPN+ 82. He lost the fight via unanimous decision.
Professional grappling career
Fili made his professional grappling debut against Shane Shapiro at UFC Fight Pass Invitational 2 on July 3, 2022. He lost the bout via north–south choke.
Championships and awards
Ultimate Fighting Championship
Performance of the Night (Two Times)
Most split decision wins in UFC Featherweight division history (3)
Mixed martial arts record
|-
|Loss
|align=center|22–10 (1)
|Nathaniel Wood
|Decision (unanimous)
|UFC Fight Night: Aspinall vs. Tybura
|
|align=center|3
|align=center|5:00
|London, England
|
|-
|Win
|align=center|22–9 (1)
|Bill Algeo
|Decision (split)
|UFC Fight Night: Sandhagen vs. Song
|
|align=center|3
|align=center|5:00
|Las Vegas, Nevada, United States
|
|-
|Loss
|align=center|21–9 (1)
|Joanderson Brito
|TKO (punches)
|UFC on ESPN: Font vs. Vera
|
|align=center|1
|align=center|0:41
|Las Vegas, Nevada, United States
|
|-
| NC
|align=center|21–8 (1)
|Daniel Pineda
|NC (accidental eye poke)
|UFC Fight Night: Gane vs. Volkov
|
|align=center|2
|align=center|0:46
|Las Vegas, Nevada, United States
|
|-
|Loss
|align=center|21–8
|Bryce Mitchell
|Decision (unanimous)
|UFC Fight Night: Hall vs. Silva
|
|align=center|3
|align=center|5:00
|Las Vegas, Nevada, United States
|
|-
|Win
|align=center|21–7
|Charles Jourdain
|Decision (split)
|UFC on ESPN: Eye vs. Calvillo
|
|align=center|3
|align=center|5:00
|Las Vegas, Nevada, United States
|
|-
|Loss
|align=center|20–7
|Sodiq Yusuff
|Decision (unanimous)
|UFC 246
|
|align=center|3
|align=center|5:00
|Las Vegas, Nevada, United States
|
|-
|Win
|align=center|20–6
|Sheymon Moraes
|KO (punches)
|UFC Fight Night: de Randamie vs. Ladd
|
|align=center|1
|align=center|3:07
|Sacramento, California, United States
|
|-
|Win
|align=center|19–6
|Myles Jury
|Decision (unanimous)
|UFC on ESPN: Ngannou vs. Velasquez
|
|align=center|3
|align=center|5:00
|Phoenix, Arizona, United States
|
|-
|Loss
|align=center|18–6
|Michael Johnson
|Decision (split)
|UFC Fight Night: Gaethje vs. Vick
|
|align=center|3
|align=center|5:00
|Lincoln, Nebraska, United States
|
|-
|Win
|align=center|18–5
|Dennis Bermudez
|Decision (split)
|UFC on Fox: Jacaré vs. Brunson 2
|
|align=center|3
|align=center|5:00
|Charlotte, North Carolina, United States
|
|-
|Win
|align=center|17–5
|Artem Lobov
| Decision (unanimous)
|UFC Fight Night: Cowboy vs. Till
|
|align=center|3
|align=center|5:00
|Gdańsk, Poland
|
|-
|Loss
|align=center|16–5
|Calvin Kattar
|Decision (unanimous)
|UFC 214
|
|align=center|3
|align=center|5:00
|Anaheim, California, United States
|
|-
|Win
|align=center|16–4
|Hacran Dias
|Decision (unanimous)
|UFC Fight Night: Lineker vs. Dodson
|
|align=center| 3
|align=center| 5:00
|Portland, Oregon, United States
|
|-
|Loss
|align=center|15–4
|Yair Rodríguez
|KO (head kick)
|UFC 197
|
|align=center|2
|align=center|2:15
|Las Vegas, Nevada, United States
|
|-
|Win
|align=center|15–3
|Gabriel Benítez
|KO (head kick and punches)
|The Ultimate Fighter Latin America 2 Finale: Magny vs. Gastelum
|
|align=center|1
|align=center|3:13
|Monterrey, Mexico
|
|-
|Loss
|align=center|14–3
|Godofredo Pepey
|Submission (flying triangle choke)
|UFC Fight Night: Maia vs. LaFlare
|
|align=center|1
|align=center|3:14
|Rio de Janeiro, Brazil
|
|-
| Win
|align=center| 14–2
|Felipe Arantes
|Decision (unanimous)
|UFC 179
|
|align=center|3
|align=center|5:00
|Rio de Janeiro, Brazil
|
|-
| Loss
|align=center| 13–2
|Max Holloway
|Submission (guillotine choke)
|UFC 172
|
|align=center| 3
|align=center| 3:39
|Baltimore, Maryland, United States
|
|-
| Win
|align=center| 13–1
|Jeremy Larsen
| TKO (punches)
|UFC 166
|
|align=center| 2
|align=center| 0:53
|Houston, Texas, United States
|
|-
|Win
|align=center| 12–1
|Adrian Diaz
|TKO (punches)
|WFC 5
|May 3, 2013
|align=center|3
|align=center|1:29
|Sacramento, California, United States
|
|-
| Win
|align=center| 11–1
|Enoch Wilson
|Decision (unanimous)
|TPF 15
|November 15, 2012
|align=center|3
|align=center|5:00
|Lemoore, California, United States
|
|-
| Win
|align=center| 10–1
|Ricky Wallace
|Technical Submission (armbar)
|TPF 14
|September 7, 2012
|align=center|2
|align=center|4:08
|Lemoore, California, United States
|
|-
| Win
|align=center| 9–1
|Jesse Bowen
|TKO (punches)
|WFC: Showdown
|June 9, 2012
|align=center|1
|align=center|2:57
|Yuba City, California, United States
|
|-
| Win
|align=center| 8–1
|Matt Muramoto
|Submission (triangle choke)
|KOTC: All In
|April 21, 2012
|align=center|1
|align=center|1:59
|Oroville, California, United States
|
|-
| Win
|align=center| 7–1
|Alexander Crispim
|Decision (unanimous)
|CCFC: The Return
|March 3, 2012
|align=center|3
|align=center|5:00
|Santa Rosa, California, United States
|
|-
| Win
|align=center| 6–1
|Vaymond Dennis
| Submission (armbar)
|WFC: Bruvado Bash
|January 7, 2012
|align=center|2
|align=center|1:51
|Placerville, California, United States
|
|-
| Win
|align=center| 5–1
|Tony Rios
|Decision (unanimous)
|CCFC: Fall Classic
|October 8, 2011
|align=center|3
|align=center|5:00
|Sacramento, California, United States
|
|-
| Loss
|align=center| 4–1
|Derrick Burnsed
|TKO (knee injury)
|Rebel Fighter: Domination
|October 2, 2010
|align=center|5
|align=center|1:22
|Roseville, California, United States
|
|-
| Win
|align=center| 4–0
|Tony Reveles
|KO (head kick)
|Rebel Fighter
|August 21, 2010
|align=center|1
|align=center|1:01
|Placerville, California, United States
|
|-
| Win
|align=center| 3–0
|Justin Smitley
|TKO (punches)
|Gladiator Challenge: Champions
|May 1, 2010
|align=center|2
|align=center|1:41
|Placerville, California, United States
|
|-
| Win
|align=center| 2–0
|Cain Campos
|TKO (punches)
|Gladiator Challenge: Domination
|March 6, 2010
|align=center|1
|align=center|0:16
|Placerville, California, United States
|
|-
| Win
|align=center| 1–0
|Anthony Motley
|TKO (punches)
|Gladiator Challenge: Chain Reaction
|December 12, 2009
|align=center|1
|align=center|1:01
|Placerville, California, United States
|
|-
See also
List of current UFC fighters
List of male mixed martial artists
References
External links
1990 births
Living people
American male mixed martial artists
American people of Native Hawaiian descent
American sportspeople of Samoan descent
Sportspeople from Federal Way, Washington
Sportspeople from Sacramento, California
Ultimate Fighting Championship male fighters
Featherweight mixed martial artists |
French Bay / Otitori Bay is a bay in the Auckland Region of New Zealand's North Island. It is located in Titirangi on the Manukau Harbour, between Wood Bay to the north and Paturoa Bay to the south.
History
The bay was traditionally called Opou by Tāmaki Māori, literally meaning "the place of posts". The bay became known as French Bay in the 1920s, however the reason for this is unknown. In the early 20th century, the bay became a popular destination for Aucklanders, undertaking day trips. Painter Colin McCahon lived close to French Bay from 1953 to 1960, and many of his works depict the bay. McCahon's home later became McCahon House, a museum and gallery space.
The beach has variable water quality, and in 2020 was listed as one of the 10 least safe beaches for swimming in the Auckland Region.
Amenities
The French Bay Yacht Club is located on the beach. The yacht club facilities were severely damaged during the 2023 Auckland Anniversary Weekend floods.
References
Bays of the Auckland Region
Manukau Harbour
Waitākere Ranges Local Board Area
West Auckland, New Zealand |
Rudi is a village in Soroca District, Moldova.
Notable people
Vasile Săcară
Nicolae Secară
Gallery
References
External links
Villages of Soroca District
Populated places on the Dniester
Tivertsi |
Frank Fred Androff (November 25, 1913 – July 18, 1987), alias The Great One, was a heavyweight professional boxer from Anoka, Minnesota.
Professional career
Androff made his professional boxing debut on February 2, 1933 with a four-round decision victory against Rene Barrett. Androff's record remained unblemished until his fourth fight, a six-round draw in a rematch with Barrett. After two more wins pushed his record to 5-0-1, Androff lost for the first time, to Earl Sather on November 15, 1934. Nevertheless Androff continued to fight, putting together the best stretch of his career when, between January 1935 and June 1938 he went 17-2-2, peaking with a ten-round points defeat of Fred Lenhart at Minneapolis on June 3, 1938. By then the quality of Androff's opponents had improved considerably, and his record thereafter attests to that fact, with Androff traveling to Los Angeles, Chicago, Cleveland, Indianapolis, Omaha, Houston, Fort Smith, Arkansas to compile a 6-12-4 record from that point to his retirement at the end of 1946. Aside from Lenhart, the most notable of Androff's opponents would be Joey Maxim, to whom he dropped a decision after ten rounds in June 1944.
When it was all over, Androff's professional record was 27 wins, 15 losses, and 7 draws, with 15 of his wins coming by knockout.
References
External links
1913 births
1987 deaths
Heavyweight boxers
Boxers from Minnesota
American male boxers |
```javascript
Difference between **.call** and **.apply** methods
Method chaining
Get query/url variables
Easily generate a random `HEX` color
Check if a document is done loading
``` |
Thomas Foley (c. 1670 – 10 December 1737), of Stoke Edith Court, Herefordshire, was a British landowner and Tory politician who sat in the English and British House of Commons between 1691 and 1737. He held the sinecure office of auditor of the imprests.
Foley was the eldest son of Paul Foley, House of Commons of England and ironmaster, and succeeded to his estates around Stoke Edith, Herefordshire on his father's death in 1699.
Foley was Member of Parliament for Weobley from 1691 to 1698 and from 1699 to 1700. He was then MP for Hereford from 1701 to 1722. He was subsequently MP for Stafford from 1722 to 1727 and again from 1734 until his death. Throughout this period, he was the leading ironmaster in the Forest of Dean. Initially this business was managed by John Wheeler and then by William Rea, until Rea was sacked in 1725. From that time the number of ironworks operated by his business, latterly without outside partners gradually declined.
Foley and his wife Anne, daughter and heir of Essex Knightley of Fawsley, Northamptonshire had one son Thomas Foley, and two daughters, Anne and Mary.
References
Burke's Peerage
1670 births
1737 deaths
English ironmasters
Members of the Parliament of Great Britain for Stafford
People from Herefordshire
English MPs 1690–1695
English MPs 1695–1698
English MPs 1698–1700
English MPs 1701
English MPs 1701–1702
English MPs 1702–1705
English MPs 1705–1707
British MPs 1707–1708
British MPs 1708–1710
British MPs 1710–1713
British MPs 1713–1715
British MPs 1715–1722
British MPs 1722–1727
British MPs 1734–1741
Thomas |
Malvern Chase was a royal chase that occupied the land between the Malvern Hills and the River Severn in Worcestershire and extended to Herefordshire from the River Teme to Cors Forest.
The following parishes and hamlets were within the Chase: Hanley Castle, Upton-upon-Severn, Welland, Longdon, Birtsmorton, Castlemorton, Bromsberrow, Berrow, Malvern, Colwall and Mathon.
History
In his book The Forest and Chase of Malvern, Edwin Lees describes the origins of the chase. "Nothing is stated with certainty as to the ownership of the Forest or Wilderness of Malvern before the reign of Edward I, who granted it as Royal property to Gilbert de Clare, Earl of Gloucester, and it was henceforth called a Chace. The second Gilbert de Clare married Maude, daughter of John de Burgh, when the Chaces of Malvern and Cors, with the Castle and Manor of Hanley, were assigned her as a dower; but the Earl being killed in the Scottish war, and having no children by Maude, these possessions went after his death to his sisters, as his heirs, and the eldest, who married Hugh le Despencer the younger, brought them with other possessions into the Despencer family, where they remained till in the third generation, then passing by marriage to Richard Beauchamp, Earl of Warwick, a renowned general in the reign of Henry V who was killed in the French wars."
His son, Henry Beauchamp, created Duke of Warwick by Henry VI., died aged only 22, at Hanley Castle, and was buried in Tewkesbury Abbey. His estates and Malvern Chace among them, as he died without issue, passed to his only sister and heiress, Ann, married to the celebrated Richard Neville, Earl of Warwick, the "king-maker" who leaving two daughters, his were, as heiresses, divided between them. One was matched to the unfortunate Edward, Prince of Wales, son of Henry VI. and Queen Margaret, killed in the rout after at Tewkesbury.
She was married afterwards to Richard Duke of Gloucester later King Richard III., and had one son Edward who died aged around ten. The other became the wife of George, Duke of Clarence, who left one son. This son and heir was beheaded in the Tower on pretence of conspiracy by order of Henry VII., who then seized upon all young Warwick's possessions, including the Castle and Manor of Hanley, the parks of Blackmore, Hanley, and Cliffey, all lying in the bosom of the Chace, together with the market town of Upton-upon-Severn; and so these possessions thus unjustly obtained by Henry remained Crown lands till about the year 1630.
Attempted disafforestation and riots
King Charles I engaged in sale of Royal forests and chases during the 1620s and 30s in an attempt to provide himself with income without recourse to Parliament. In 1630 he granted one-third part of the Forest or Chace of Malvern to Sir Robert Heath, then Attorney-General, and Sir Cornelius Vermuyden. In the meantime many rights or claims of right had arisen by grant or long usages in the lapse of several centuries. When the grantees began to enclose the Chace, the commoners and other persons interested disputed their right to do so. Several riots and disturbances took place in consequence. Such riots were common in these processes, elsewhere being known as the Western Rising.
Nevertheless, a decree was issued in 1632 for the "disafforestation of the Chace of Malvern, and for freeing the lands within the bounds, limits, and jurisdictions thereof, of and from the game of deer there and the forest laws." By this decree (to obviate all disputes) one-third part only was to be severed and divided by commissioners, but the other two parts "shall remain and continue unto and amongst the commoners, and be held by them according to their several rights and interests, discharged and freed from his Majesty's game of deer there, and of and from the forest laws, and the liberties and franchises of Forest and Chace, in such sort as by the said decree it doth and may appear."
Further disputes with landowners resulted in clarifications that any land that was disafforested had to be in proportion to the quality of the land as a whole, so that the common was not the most meagre land.
Legal status after 1660
King Charles II confirmed the settlement. Commissioners were to judge any further requests for encroachments. The Chace was gradually eroded until the 1800s, when campaigners and renewed interest in the Malvern Hills resulted in the Malvern Hills Act 1884 which appointed Malvern Hills Conservators to preserve the area and govern its land use.
Further reading
Pamela Hurle: 1982, Malvern Chase
William Samuel Symonds: 1881, Malvern Chase
Edwin Lees: 1887, The Forest and Chace of Malvern, Its Ancient and Present State: With Notices of the Most Remarkable Old Trees, Remaining Within Its Confines
See also
Chase (land)
Ancient woodland
Hunting in the United Kingdom
List of forests in the United Kingdom
Medieval deer park
Surveyor General of Woods, Forests, Parks, and Chases
References
Forests and woodlands of Worcestershire
Geography of Worcestershire
English royal forests
Malvern, Worcestershire |
```c++
/// Source : path_to_url
/// Author : liuyubobobo
/// Time : 2022-01-13
#include <iostream>
using namespace std;
/// Simulation
/// Time Complexity: O(n)
/// Space Complexity: O(n)
class Solution {
public:
int myAtoi(string s) {
int i;
for(i = 0; i < s.size() && s[i] == ' '; i ++);
if(i == s.size()) return 0;
bool pos = true;
if(s[i] == '-') pos = false, i ++;
else if(s[i] == '+') i ++;
int j = i;
for(j = i; j < s.size() && isdigit(s[j]); j ++);
long long num = get_num(s.substr(i, j - i));
if(pos) return min(num, (long long)INT_MAX);
return max(-num, (long long)INT_MIN);
}
private:
long long get_num(const string& s){
long long res = 0;
for(char c: s){
res = res * 10 + (c - '0');
if(res > INT_MAX) return res;
}
return res;
}
};
int main() {
cout << Solution().myAtoi("42") << endl;
// 42
cout << Solution().myAtoi(" -42") << endl;
// -42
cout << Solution().myAtoi("4193 with words") << endl;
// 4193
cout << Solution().myAtoi("+1") << endl;
// 1
return 0;
}
``` |
Superman was an ongoing comic book series featuring the DC Comics superhero of the same name. The second volume of the previous ongoing Superman title, the series was published from cover dates January 1987 to April 2006, and ran for 228 issues (226 monthly issues and two issues published outside the concurrent numbering). This series was launched after John Byrne revamped the Superman character in 1986 in The Man of Steel limited series, introducing the post-Crisis on Infinite Earths version of the Superman character.
After that limited series, Action Comics returned to publication and Superman vol. 2, #1 was published. The original Superman series (volume 1) became The Adventures of Superman starting with issue #424. Superman vol. 2 continued publishing until April 2006 at which point DC restored The Adventures of Superman to its original title and canceled the second Superman series.
Publication history
Because the DC Universe was revamped after the events of Crisis on Infinite Earths, the previous continuity before that series (colloquially referred to as "pre-Crisis") was voided. Previously established characters were given the opportunity to be reintroduced in new ways. Reintroductions of classic villains were part of the new Superman series' first year, featuring the first post-Crisis appearances of characters such as Metallo and Mister Mxyzptlk and the introduction of Supergirl. The historic engagement of Lois Lane and Clark Kent was one of the major events in the book's run. Writer/artist Dan Jurgens created a supporting hero named Agent Liberty in issue #60 (Oct. 1991). The series participated in such crossover storylines as "Panic in the Sky". The hallmark of the run was the storyline "The Death of Superman". The actual "death" story was published in this series' 75th issue, and would be a major media and pop culture event with the issue going on to sell over three million copies.
As the main series featuring the most prominent character of the DC Universe, the series crossed over with a number of different line-wide crossover stories including Zero Hour: Crisis in Time, The Final Night, and Infinite Crisis. Superman received a new costume and new superpowers in issue #123 (May 1997).
In 1999, Superman, along with the other three titles, were revamped with Jeph Loeb replacing longtime writer Dan Jurgens. During Loeb's run on the series he created Imperiex, introduced a Bizarro created by the Joker in the "Emperor Joker" storyline, and also helped with a controversial storyline in which Superman's nemesis, supervillain Lex Luthor, became the President of the United States. Loeb's run on the series included the crossover event Our Worlds at War, which saw the destruction of Topeka, Kansas, serious damage to Clark Kent's nearby hometown of Smallville, and Superman adopting a costume of more somber colors to mourn the heavy loss of life during the event. Loeb's run ended with issue #183 (August 2002).
In 2004–2005, artist Jim Lee, who had recently concluded the Batman: Hush storyline with Loeb, provided the artwork for a Superman story by writer Brian Azzarello. The story, Superman: For Tomorrow, ran for twelve issues and was collected in an Absolute Edition hardcover in May 2009.
With the publication of issue #226 (April 2006),<ref>{{gcdb series|id= 3386|title= Superman vol. 2'}}</ref> the series was canceled as part of the company-wide Infinite Crisis event. The Adventures of Superman was returned to its original title, Superman, with issue #650 the following month.
Annuals
From 1987 to 2000, twelve annual issues of the series were published. The first annual featured a post-Crisis retelling of the first Titano story. Beginning with the second annual, the stories tied into the crossovers or themes that were running through DC's annuals that year. These were:
Annual #2 (1988) - "Private Lives"
Annual #3 (1991) - "Armageddon 2001"
Annual #4 (1992) - "Eclipso: The Darkness Within"
Annual #5 (1993) - "Bloodlines: Outbreak"
Annual #6 (1994) - "Elseworlds Annual"
Annual #7 (1995) - "Year One"
Annual #8 (1996) - "Legends of the Dead Earth"
Annual #9 (1997) - "Pulp Heroes"
Annual #10 (1998) - "Ghosts"
Annual #11 (1999) - "JLApe: Gorilla Warfare!"
Annual #12 (2000) - "Planet DC"
Collected editions
Reception
Martin A. Stever reviewed Superman Space Gamer/Fantasy Gamer No. 83. Stever commented that "Byrne has made Superman human enough that we can understand and like him. Thank you John Byrne for making Superman super'' again".
References
External links
Superman vol. 2 at Mike's Amazing World of Comics
1987 comics debuts
2006 comics endings
Comics by Brian Azzarello
Comics by Dan Jurgens
Comics by Jeph Loeb
Comics by Jim Lee
Comics by John Byrne (comics)
Comics by Roger Stern
DC Comics titles
Superhero comics
Superman titles |
Club Deportivo Corralejo was a Spanish football club based in Corralejo, Fuerteventura, in the autonomous community of the Canary Islands. Founded in 1975 and dissolved in 2004, the club played 14 seasons in Tercera División, and a further three in Segunda División B. They held home matches at Estadio Vicente Carreño Alonso, which holds 2,000 spectators.
History
Founded in 1975, Corralejo first reached the Tercera División in 1987, after achieving three consecutive promotions. In 1994, the club achieved a first-ever promotion to the Segunda División B in the play-offs, but suffered immediate relegation afterwards.
Corralejo returned to the third tier in 2002, after winning their group in the Tercera. In 2004, the club merged with CD Fuerteventura to create UD Fuerteventura, and subsequently folded. A new CD Corralejo was founded in 2005.
Season to season
3 seasons in Segunda División B
14 seasons in Tercera División
References
External links
BDFutbol team profile
Football clubs in the Canary Islands
Association football clubs established in 1975
Association football clubs disestablished in 2004
Fuerteventura
1975 establishments in Spain
2004 disestablishments in Spain |
Craspedoxanthitea is a genus of tephritid or fruit flies in the family Tephritidae.
It contains the following species:
Craspedoxanthitea flaviseta (Hardy, 1987)
Craspedoxanthitea indistincta (Meijere, 1913)
References
Trypetinae
Tephritidae genera |
The EcoCentro Expositor Querétaro is an exposition center located in El Marqués, Quéretaro, near Santiago de Querétaro. Ecocentro was opened in 2001 by then president Vicente Fox. Currently the Querétaro fair is held every year in November, and the El Marqués fair is held in May.
Features
Ecocentro has an arena, a racetrack including an oval and a karting track.
Track
Inaugurated on March 30, 2008 is located in the Ecocentro. The oval was opened in October 2009.
There are two layouts; a road track of and oval of . The oval has paper clip shape with a flat turn 1-2 (common between the two tracks) and a banked turn 3-4. Also, there is a dragstrip where 1/8 mile events are held regularly.
The track has hosted the NASCAR Corona Series, the Copa Pirelli, the LATAM Challenge Series, the Super Copa Telcel, and CARreras.
Nascar PEAK Mexico Series
Waldemar Coronas became the first foreign driver to win at this circuit in this category.
Events
Current
March: Campeonato Mexicano de Súper Turismos Ida y Vuelta
May: NASCAR Mexico Series, NACAM Formula 4 Championship, NASCAR Mikel's Truck Series
June: Gran Turismo Mexico
September: NASCAR Mexico Series, NASCAR Mikel's Truck Series, Campeonato Mexicano de Súper Turismos ¡Gran Premio Viva México!, NACAM Formula 4 Championship
Former
Fórmula Panam (2013, 2015–2016, 2018)
LATAM Challenge Series (2008–2011, 2013)
Lap records
As of May 2023, the fastest official race lap records at the EcoCentro Expositor Querétaro are listed as:
References
External links
EcoCentro Expositor Querétaro race results at Racing-Reference
Motorsport venues in Querétaro
NASCAR tracks
Sports venues in Querétaro |
```markdown
# Acknowledgements
This application makes use of the following third party libraries:
Generated by CocoaPods - path_to_url
``` |
At least two ships of the Argentine Navy have been named Murature:
, a minesweeper previously the German M-74 and renamed on transfer in 1922. She was decommissioned in 1938.
, a launched in 1944 and decommissioned in 2014.
Argentine Navy ship names |
In quantum information theory, quantum relative entropy is a measure of distinguishability between two quantum states. It is the quantum mechanical analog of relative entropy.
Motivation
For simplicity, it will be assumed that all objects in the article are finite-dimensional.
We first discuss the classical case. Suppose the probabilities of a finite sequence of events is given by the probability distribution P = {p1...pn}, but somehow we mistakenly assumed it to be Q = {q1...qn}. For instance, we can mistake an unfair coin for a fair one. According to this erroneous assumption, our uncertainty about the j-th event, or equivalently, the amount of information provided after observing the j-th event, is
The (assumed) average uncertainty of all possible events is then
On the other hand, the Shannon entropy of the probability distribution p, defined by
is the real amount of uncertainty before observation. Therefore the difference between these two quantities
is a measure of the distinguishability of the two probability distributions p and q. This is precisely the classical relative entropy, or Kullback–Leibler divergence:
Note
In the definitions above, the convention that 0·log 0 = 0 is assumed, since . Intuitively, one would expect that an event of zero probability to contribute nothing towards entropy.
The relative entropy is not a metric. For example, it is not symmetric. The uncertainty discrepancy in mistaking a fair coin to be unfair is not the same as the opposite situation.
Definition
As with many other objects in quantum information theory, quantum relative entropy is defined by extending the classical definition from probability distributions to density matrices. Let ρ be a density matrix. The von Neumann entropy of ρ, which is the quantum mechanical analog of the Shannon entropy, is given by
For two density matrices ρ and σ, the quantum relative entropy of ρ with respect to σ is defined by
We see that, when the states are classically related, i.e. ρσ = σρ, the definition coincides with the classical case, in the sense that if and with and (because and commute, they are simultaneously diagonalizable), then is just the ordinary Kullback-Leibler divergence of the probability vector with respect to the probability vector .
Non-finite (divergent) relative entropy
In general, the support of a matrix M is the orthogonal complement of its kernel, i.e. . When considering the quantum relative entropy, we assume the convention that −s · log 0 = ∞ for any s > 0. This leads to the definition that
when
This can be interpreted in the following way. Informally, the quantum relative entropy is a measure of our ability to distinguish two quantum states where larger values indicate states that are more different. Being orthogonal represents the most different quantum states can be. This is reflected by non-finite quantum relative entropy for orthogonal quantum states. Following the argument given in the Motivation section, if we erroneously assume the state has support in , this is an error impossible to recover from.
However, one should be careful not to conclude that the divergence of the quantum relative entropy implies that the states and are orthogonal or even very different by other measures. Specifically, can diverge when and differ by a vanishingly small amount as measured by some norm. For example, let have the diagonal representation
with for and for where is an orthonormal set. The kernel of is the space spanned by the set . Next let
for a small positive number . As has support (namely the state ) in the kernel of , is divergent even though the trace norm of the difference is . This means that difference between and as measured by the trace norm is vanishingly small as even though is divergent (i.e. infinite). This property of the quantum relative entropy represents a serious shortcoming if not treated with care.
Non-negativity of relative entropy
Corresponding classical statement
For the classical Kullback–Leibler divergence, it can be shown that
and the equality holds if and only if P = Q. Colloquially, this means that the uncertainty calculated using erroneous assumptions is always greater than the real amount of uncertainty.
To show the inequality, we rewrite
Notice that log is a concave function. Therefore -log is convex. Applying Jensen's inequality, we obtain
Jensen's inequality also states that equality holds if and only if, for all i, qi = (Σqj) pi, i.e. p = q.
The result
Klein's inequality states that the quantum relative entropy
is non-negative in general. It is zero if and only if ρ = σ.
Proof
Let ρ and σ have spectral decompositions
So
Direct calculation gives
where Pi j = |vi*wj|2.
Since the matrix (Pi j)i j is a doubly stochastic matrix and -log is a convex function, the above expression is
Define ri = Σjqj Pi j. Then {ri} is a probability distribution. From the non-negativity of classical relative entropy, we have
The second part of the claim follows from the fact that, since -log is strictly convex, equality is achieved in
if and only if (Pi j) is a permutation matrix, which implies ρ = σ, after a suitable labeling of the eigenvectors {vi} and {wi}.
Joint convexity of relative entropy
The relative entropy is jointly convex. For and states we have
Monotonicity of relative entropy
The relative entropy decreases monotonically under completely positive trace preserving (CPTP) operations on density matrices,
.
This inequality is called Monotonicity of quantum relative entropy and was first proved by Lindblad.
An entanglement measure
Let a composite quantum system have state space
and ρ be a density matrix acting on H.
The relative entropy of entanglement of ρ is defined by
where the minimum is taken over the family of separable states. A physical interpretation of the quantity is the optimal distinguishability of the state ρ from separable states.
Clearly, when ρ is not entangled
by Klein's inequality.
Relation to other quantum information quantities
One reason the quantum relative entropy is useful is that several other important quantum information quantities are special cases of it. Often, theorems are stated in terms of the quantum relative entropy, which lead to immediate corollaries concerning the other quantities. Below, we list some of these relations.
Let ρAB be the joint state of a bipartite system with subsystem A of dimension nA and B of dimension nB. Let ρA, ρB be the respective reduced states, and IA, IB the respective identities. The maximally mixed states are IA/nA and IB/nB. Then it is possible to show with direct computation that
where I(A:B) is the quantum mutual information and S(B|A) is the quantum conditional entropy.
References
Michael A. Nielsen, Isaac L. Chuang, "Quantum Computation and Quantum Information"
Marco Tomamichel, "Quantum Information Processing with Finite Resources -- Mathematical Foundations". arXiv:1504.00233
Quantum mechanical entropy
Quantum information theory |
Buildings and structures
Buildings
Alvastra pile-dwelling – circa 3000 BC in Neolithic Scandinavia
Barbar Temple – oldest of the three temples built in 3000 BC, in present-day Bahrain
Diraz Temple – circa 3rd millennium BCE, in present-day Bahrain
Tepe Sialk – claimed to be the world's oldest ziggurat built in 3000 BC, in present-day Iran
See also
29th century BC
29th century BC in architecture
Timeline of architecture
References
BC
Architecture |
The 1974–75 Bradford City A.F.C. season was the 62nd in the club's history.
The club finished 10th in Division Four, reached the 1st round of the FA Cup, and the 2nd round of the League Cup.
Sources
References
1974-75
Bradford City |
Magnitogorsk State University (MaSU) (, Magnitogórskiy gosudárstvennyy universitét) was a university in Magnitogorsk, Russia, founded on 1 October 1932.
In 2013–2014, it was merged into the Magnitogorsk State Technical University and ceased its existence as a separate entity.
Academic facilities
MaSU claimed to be rapidly turning into a classical university. In the last 10 years Magnitogorsk University has increased teacher training in the South Ural region.
The university comprised 14 departments and 59 chairs where more than 700 teachers, more than 60% of which held the academic title of Candidates or Doctors of Sciences. The university facilities include computer and language laboratories, modern specialized laboratories, the Publishing Complex, the Sports Centre and student hostels. Nearly two dozen computer laboratories are united in a common computer network and connected to the Internet.
MaSU is a university complex comprising the University itself, the Lycee, the Department of refresher training and professional retraining, the South Ural Centre for monitoring the education system and the Institution of Pedagogy.
Academics
14 departments
59 chairs
55 areas and specialities of higher professional education, 21 of them - Baccalaureate
27 programmes for supplementary education required in the region
University buildings
The university facilities included 8 buildings, 4 hostels, and a Sports Centre.
The main University building, the Painting building, the Department of Technology building, the Department of Psychology building, the Institution of Pedagogy building, the South Ural Centre for monitoring the education system building, the Lycee of MaSU building, the Sports Centre building.
Students
18,000 students of full-time and part-time courses
over 700 students get supplementary education which allows them to adapt to market conditions
over 1000 learners of Refresher courses and professional retraining
90% of the university graduates stay in the region. Since 2003 the number of graduates has increased from 1700 to 2634 people (more than 1,5 time). There was established a Centre for employment of graduates.
Educational programmes
Programmes for higher professional education:
Specialization
Undergraduate courses
Postgraduate courses
Preparatory courses
Programmes for supplementary education:
Professional retraining for executives and specialists in accordance with the profile of basic educational programmes
Refresher training for executives and specialists in accordance with the profile of basic educational programmes
Undergraduate courses
There has been developed a system of getting a second higher education at University
Teaching staff
Training process is provided by 664 teachers:
67 Doctors of sciences
425 Candidates of sciences
24 members of the Union of Artists of Russia
13 members of the Union of Designers
21 elected teachers of the public academies
Research
Postgraduate studies and doctoral studies in 16 specialities (170 learners)
3 Dissertation councils (from 40 to 90 learners get the degree of Candidate or Doctor of sciences every year)
Fundamental and applied scientific researches in 21 scientific fields
Departments
Department of Physics-mathematics
Specialization (5 years)080116.65 – Mathematical methods in economics
010501.65 – Applied mathematics and computer science
010701 – Physics
50201.65 – Mathematics with an additional courses "Computer Science"
050203.65 – Physics with an additional courses "Computer Science"
Baccalaureate (4 years)010500.62 – Applied mathematics and computer science
050200.62 – Physics-mathematics education (profile - physics)
Chairs
Chair of algebra and geometry
Chair of mathematical analysis
Chair of applied mathematics and computer facilities
Chair of physics and its teaching methods
Chair of mathematical methods in economics
Computer science Department
Specialization (5 years)
080801.65 – Applied computer science in economics
050202.65 – Computer science
Baccalaureate (4 years)080700.62 – Business and computer science
Chairs
Chair of computer science
Chair of information system
Chair of information technologies
Chair of applied computer science.
Department of Philology
Specialization (5 years)
031001.65 – Philology
050301.65 – Russian language and literature
031401.65 – Cultural science
030601.65 – Journalism
Baccalaureate (4 years)
031000.62 – Philology
030600.62 – Journalism
Chairs
Chair of general linguistics and language history
Chair of Russian language
Chair of journalism and speech communication
Chair of Russian classical literature
Chair of Russian literature of the 20th century of the name of Professor Zamansky
Chair of the newest Russian literature
Chair of cultural science and foreign literature
Department of Theoretical and Applied Interpretation
Specialization (5 years)
031201.65 – Theory and methods of teaching of foreign languages and cultures
031202.65 – Theoretical and applied interpretation (English, German, French languages)
Chairs
Chair of theoretical and applied interpretation
Chair of English language
Chair of German language
Chair of French language
Historical Department
Specialization (5 years)
030401.65 – History
040201.65 – Sociology
Baccalaureate (4 years)
030400.62 – History
050400.62 – Socio-economic education
040200.62 – Sociology
040300.62 – Conflictology
Chairs
Chair of Ancient and the Middle Ages history
Chair of new and the newest history
Chair of history of Russia
Department of Preschool Education
Specialization (5 years)
050703.65 – Preschool pedagogy and psychology
Baccalaureate (4 years)
050700.62 – Pedagogy
Chairs
Chair of preschool pedagogy and psychology
Chair of physical education of preschool children
Chair of management of education
Department of Social Work
Specialization (5 years)
040101.65 – Social work
Baccalaureate (4 years)
040100.62 – Social work
Chairs
Chair of theory and teaching methods of social work
Chair of social pedagogy
Department of Psychology
Specialization (5 years)
030301.65 – Psychology
Chairs
Chair of general psychology
Chair of social psychology
Chair of developmental psychology and physiology
Department of Technology
Specialization (5 years)
032401.65 – Advertising
261001.65 – Materials and design
260902.65 – Design Clothing
050502.65 – Technology and business
Baccalaureate (4 years)
050500.62 – Technological education
Chairs
Chair of general technical disciplines
Chair of theory and teaching methods of professional education
Chair of advertising and art design
Chair of decorative applied technologies
Economics and Management Department
Specialization (5 years)
080507.65 – Management of enterprise
Baccalaureate (4 years)
050400.62 – Socio-economic education
080100.62 – Economics
Chairs
Chair of business and economics
Chair of management
Department of Pedagogy and Teaching Methods of Primary Education
Specialization (5 years)
050708.65 – Pedagogy and teaching methods of primary education
050715.65 – Speech therapy
100103.65 – Socio-cultural service and tourism
032001.65 – Documentation and documental maintenance of management
Baccalaureate (4 years)
050700.62 – Pedagogy
Chairs
Chair of speech therapy and teaching methods of improving work
Chair of Russian language, literature and their teaching methods
Chair of mathematics, natural-science disciplines and their teaching methods
Chair of pedagogy and psychology of primary education
Department of the Fine Arts and Design
Specialization (5 years)
050602.65 – Fine arts
070801.65 – Decorative-applied arts
070601.65 – Design
070603.65 – Interior design
Chairs
Chair of painting
Chair of descriptive geometry and graphics
Chair of drawing
Chair of theory of art education
Chair of design
Chair of art metal and ceramics
Chair of suit design and art textiles
The Department of Refresher Training and Professional Retraining
The main directions: refresher training and professional retraining of the specialists, organized in different forms: refresher training courses (short courses, from 72 to 100 hours; advanced courses, from 100 to 250 hours); problem seminars, business training, professional retraining of the executives and specialists (more than 500 hours) in accordance with the profile of the University, a second higher education.
The Department of the Individual Specialization
The Department provides practical oriented specialization in psychological and pedagogical, scientific and economic directions. Annually students enrol for 18 courses (from 240 to 560 hours). Updating of courses occurs on the basis of marketing of requirements of a labour market and individual inquiries of students
The structure of the department:
Psychological and Pedagogical Faculty
Art and Creative Faculty
Preparatory Courses
Analytical and Vocational Centre
The Centre for Employments of the Graduates
International Cooperation
TEMPUS: 144853-TEMPUS-2008-FR-JPHES "Develop a framework of qualifications for the system of higher education in the Ural region"
Seventh Framework (FP7) for European Commission:
Health
Environment
Socio-economic science and humanities
PIC (Participant Identification code) for the legal entity MaSU: 997334795
http://cordis.europa.eu
Cooperation with Universities
First University of Rennes
Centre of archaeological researches (Gerona France)
Toronto University (Canada)
French archaeological school in Athens
University of Mass (Italy)
Bucharest University (Romania)
Central European University (Budapest, Hungary)
Arkansas Central University (USA)
National Museum of Denmark
German Academic Exchange Service (DAAD)
"Computer Associates" company (USA)
Goethe-Institute (Munich, Germany)
University of Hanover (Germany)
Student life
Sport
At students' disposal there is a Sports Centre, where experienced coaches manage different sections including volleyball, basketball, skiing, judo, table tennis, weightlifting etc.
Amateur art, the Club of smart and cheerful students
MaSU offers their students an excellent Student Palace with a well-equipped stage and a big auditorium for 700 seats. A ceremony of Student Innogura-tion, award ceremonies, meetings of postgraduates and New Year festivals take place here. Every year students celebrate International student's Day and compete in singing, dancing and playing musical instruments during a traditional "Student spring" festival.
Health, welfare
Students enjoy a warm and friendly atmosphere and feel calm and confident. There are traditional meetings of the rector and students every semester. Students from other towns are provided with comfortable rooms in student hostels at a lowest price. There is a branch of a student clinic for the teaching staff and students to consult experienced doctors and receive an effective medical treatment (physiotherapy, dental treatment, etc.). There are annual preventive inspections of the collective.
The university provides the patients with free medicine and medical care.
Publishing
The Publishing Complex of MaSU is more than 20 years old. It was formed to have its own basis for qualified editing of scientific, educational and methodical literature. The Publishing Complex staff aim to provide competent and qualified preparation of teachers' writing for publication, observe State standards and modern requirements to registration of editing literature. The Publishing Complex consists of the publishing department, printing house and some other facilities.
Library
The library started in 1932 together with MaSU. It houses a universal collection of books and journals specific to different scientific fields and holds over 460,000 books. The Fund of rare books attracts special attention, as one of its most ancient books dates from 1596. University research works are kept here in the Research fund. Library facilities also include the Acquisition department, the Bibliographic department and 3 reading rooms for 400 places for readers. All books and journals may be searched through the electronic catalogue. There may be requested the information about the books the library has been holding since 1995. Since March 2006, there has been functioning an electronic reading room, so that the readers may get the necessary information through the Internet. You may also enjoy the interlibrary service for borrowing books from the 4 largest libraries of Russia (Russian State Library, Russian Peoples' Library, Chelyabinsk and Yekaterinburg region libraries).
References
Universities and colleges established in 1932
Buildings and structures in Chelyabinsk Oblast
Universities in Chelyabinsk Oblast
1932 establishments in Russia
Magnitogorsk |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
~
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<com.google.android.material.textview.MaterialTextView
xmlns:android="path_to_url"
xmlns:app="path_to_url"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="@style/TestStyleWithLineHeight"
app:lineHeight="@dimen/material_text_view_test_line_height_override" />
``` |
Dresdner Straße is a station on of the Vienna U-Bahn. It is located in the Brigittenau District. It opened in 1996.
References
Buildings and structures in Brigittenau
Railway stations opened in 1996
Vienna U-Bahn stations
Railway stations in Austria opened in the 1990s |
Montbrió del Camp is a village in the province of Tarragona and autonomous community of Catalonia, Spain.
References
External links
Government data pages
Municipalities in Baix Camp |
```objective-c
#pragma once
#include <type_traits>
namespace search::multivalue {
template <typename T> class WeightedValue;
/*
* Check for the presence of a weight.
*/
template <typename T>
struct is_WeightedValue : std::false_type {};
template <typename T>
struct is_WeightedValue<WeightedValue<T>> : std::true_type {};
template <typename T>
inline constexpr bool is_WeightedValue_v = is_WeightedValue<T>::value;
/*
* Extract inner type.
*/
template <typename T>
struct ValueType { using type = T; };
template <typename T>
struct ValueType<WeightedValue<T>> { using type = T; };
template <typename T>
using ValueType_t = typename ValueType<T>::type;
}
``` |
```scala
// THIS FILE IS AUTO-GENERATED. DO NOT EDIT
package ai.verta.swagger._public.modeldb.model
import scala.util.Try
import net.liftweb.json._
import ai.verta.swagger._public.modeldb.model.IdServiceProviderEnumIdServiceProvider._
import ai.verta.swagger._public.modeldb.model.UacFlagEnum._
import ai.verta.swagger.client.objects._
case class ModeldbAddComment (
date_time: Option[BigInt] = None,
entity_id: Option[String] = None,
message: Option[String] = None
) extends BaseSwagger {
def toJson(): JValue = ModeldbAddComment.toJson(this)
}
object ModeldbAddComment {
def toJson(obj: ModeldbAddComment): JObject = {
new JObject(
List[Option[JField]](
obj.date_time.map(x => JField("date_time", JInt(x))),
obj.entity_id.map(x => JField("entity_id", JString(x))),
obj.message.map(x => JField("message", JString(x)))
).flatMap(x => x match {
case Some(y) => List(y)
case None => Nil
})
)
}
def fromJson(value: JValue): ModeldbAddComment =
value match {
case JObject(fields) => {
val fieldsMap = fields.map(f => (f.name, f.value)).toMap
ModeldbAddComment(
// TODO: handle required
date_time = fieldsMap.get("date_time").map(JsonConverter.fromJsonInteger),
entity_id = fieldsMap.get("entity_id").map(JsonConverter.fromJsonString),
message = fieldsMap.get("message").map(JsonConverter.fromJsonString)
)
}
case _ => throw new IllegalArgumentException(s"unknown type ${value.getClass.toString}")
}
}
``` |
```java
package com.journaldev.servlet.dao;
import com.journaldev.servlet.model.User;
public interface UserDAO {
public int createUser(User user);
public User loginUser(User user);
}
``` |
Alf Larsen Whist (6 August 1880 – 16 July 1962) was a Norwegian businessperson and politician for Nasjonal Samling.
Pre-war life and career
He was born in Fredrikshald as a son of Svend Larsen (1833–1893) and Sofie Mathilde Laumann (1842–1897). He finished middle school in 1896, and after a period at sea he started working with insurance in Kristiania. He was married to editor's daughter Augusta Kathinka Hals from 1904.
He started his own insurance company Norske Lloyd in 1905, and also founded insurance companies like Norske Alliance, Norske Forenende Livsforsikringsselskap, Globus and Andvake. Norske Lloyd went bankrupt in 1920–1921. He then moved from Ullern to France. He was a board member of insurance companies in Finland, France, Algeria and the United States.
He was decorated as an Officier of the Legion of Honour, Officer of the Order of the British Empire, Commander of the Order of Leopold and Knight of the Order of the White Rose of Finland. However, in France he was sentenced for economic crimes in 1935 (the sentence was overturned in 1942 under Nazi control). Some time after the sentence he returned to Norway, now running the company Alf L. Whist & Co. This company made a profit which he invested in real estate. One of his sons was given control over the company Heggedal Bruk, which constructed readymade cabins.
World War II
Following the occupation of Norway by Nazi Germany which started on 9 April 1940, Whist made himself a new career as a profiteer. Despite having no political experience, he now joined the only legal political party in the country, the Fascist party Nasjonal Samling (NS), in the summer of 1940, and was soon installed in the board of directors of Vinmonopolet (as chairman) and Norges Brannkasse. His companies also received substantial orders from Organisation Todt.
On 8 November 1941 he was proclaimed as the NS Ombudsman for Enterprise (). This was a new office, whose establishment had been suggested by Whist himself. Its purpose was in part to establish a network of NS sympathizers in the Norwegian business life and to recruit businesspeople to the party, but the mandate was vague. Whist used it as a vehicle to further his own interests, but also to strengthen national socialist economic ideas within business.
He was behind the merger of several employers' associations to found Norges Næringssamband on 1 May 1943, where he also became president. Vice president was Whist's close supporter Carl Dietrich Hildisch. As chairman of the organization, Lars Hasvold was installed, a former secretary-general who had been in contact with Whist since the autumn of 1941. Norges Næringssamband was also used as a personal vehicle for political power, as well as an organization to outline technological visions for a future Fascist Norway. On 4 November 1943 Whist's power platform became even larger, as he was named in Quisling's Second Cabinet as a minister without portfolio, responsible for the coordination of provisions and industrial war efforts. In January 1944 he was allowed to accompany Vidkun Quisling on his visit to Adolf Hitler. He unsuccessfully tried to become Minister of Finance, but on 12 June 1944 he took over for Eivind Blehr as Minister of Industry and Shipping. Blehr was pressured out of government because he was too Norwegian-nationalist, whereas Whist was more German-friendly.
Post-war career
The German occupation ended on 8 May 1945, and Whist promptly lost his jobs. As a part of the legal purge in Norway after World War II, in 1946 he was sentenced to forced labour for life as well as in repairs. A minority of two judges voted to impose the death penalty. He was pardoned in 1952, and died in 1962.
References
External links
1880 births
1962 deaths
People from Halden
Norwegian company founders
Norwegian businesspeople in insurance
Norwegian expatriates in France
Norwegian white-collar criminals
Members of Nasjonal Samling
People convicted of treason for Nazi Germany against Norway
Government ministers of Norway
Officers of the Legion of Honour
Officers of the Order of the British Empire
Norwegian politicians convicted of crimes
Norwegian prisoners sentenced to life imprisonment
Prisoners sentenced to life imprisonment by Norway
20th-century Norwegian criminals
Norwegian male criminals
Recipients of Norwegian royal pardons |
```java
package com.kalessil.phpStorm.phpInspectionsEA.inspectors.codeStyle;
import com.intellij.codeInspection.LocalQuickFix;
import com.intellij.codeInspection.ProblemDescriptor;
import com.intellij.codeInspection.ProblemsHolder;
import com.intellij.openapi.project.Project;
import com.intellij.psi.*;
import com.jetbrains.php.lang.lexer.PhpTokenTypes;
import com.jetbrains.php.lang.psi.PhpPsiElementFactory;
import com.jetbrains.php.lang.psi.elements.PhpEchoStatement;
import com.jetbrains.php.lang.psi.elements.PhpPrintExpression;
import com.kalessil.phpStorm.phpInspectionsEA.openApi.BasePhpElementVisitor;
import com.kalessil.phpStorm.phpInspectionsEA.openApi.BasePhpInspection;
import com.kalessil.phpStorm.phpInspectionsEA.utils.MessagesPresentationUtil;
import com.kalessil.phpStorm.phpInspectionsEA.utils.OpenapiTypesUtil;
import org.jetbrains.annotations.NotNull;
import java.util.stream.Collectors;
import java.util.stream.Stream;
/*
* This file is part of the Php Inspections (EA Extended) package.
*
* (c) Vladimir Reznichenko <kalessil@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
public class ShortEchoTagCanBeUsedInspector extends BasePhpInspection {
private static final String message = "'<?= ... ?>' could be used instead.";
@NotNull
@Override
public String getShortName() {
return "ShortEchoTagCanBeUsedInspection";
}
@NotNull
@Override
public String getDisplayName() {
return "Short echo tag can be used";
}
@Override
@NotNull
public PsiElementVisitor buildVisitor(@NotNull final ProblemsHolder holder, boolean isOnTheFly) {
return new BasePhpElementVisitor() {
@Override
public void visitPhpEchoStatement(@NotNull PhpEchoStatement echo) {
this.analyze(echo, echo);
}
@Override
public void visitPhpPrint(@NotNull PhpPrintExpression print) {
final PsiElement parent = print.getParent();
this.analyze(print, OpenapiTypesUtil.isStatementImpl(parent) ? parent : print);
}
private void analyze(@NotNull PsiElement target, @NotNull PsiElement context) {
PsiElement openingTag = context.getPrevSibling();
if (openingTag instanceof PsiWhiteSpace) {
openingTag = openingTag.getPrevSibling();
}
if (OpenapiTypesUtil.is(openingTag, PhpTokenTypes.PHP_OPENING_TAG)) {
PsiElement closingTag = context.getNextSibling();
if (closingTag instanceof PsiWhiteSpace) {
closingTag = closingTag.getNextSibling();
}
if (OpenapiTypesUtil.is(closingTag, PhpTokenTypes.PHP_CLOSING_TAG)) {
holder.registerProblem(
target.getFirstChild(),
MessagesPresentationUtil.prefixWithEa(message),
new UseShortEchoTagInspector(holder.getProject(), openingTag, context)
);
}
}
}
};
}
private static final class UseShortEchoTagInspector implements LocalQuickFix {
private static final String title = "Use '<?= ... ?>' instead";
private final SmartPsiElementPointer<PsiElement> expression;
private final SmartPsiElementPointer<PsiElement> tag;
private UseShortEchoTagInspector(@NotNull Project project, @NotNull PsiElement tag, @NotNull PsiElement expression) {
super();
final SmartPointerManager factory = SmartPointerManager.getInstance(project);
this.tag = factory.createSmartPsiElementPointer(tag);
this.expression = factory.createSmartPsiElementPointer(expression);
}
@NotNull
@Override
public String getName() {
return MessagesPresentationUtil.prefixWithEa(title);
}
@NotNull
@Override
public String getFamilyName() {
return getName();
}
@Override
public void applyFix(@NotNull final Project project, @NotNull final ProblemDescriptor descriptor) {
final PsiElement target = descriptor.getPsiElement();
if (target != null && !project.isDisposed()) {
final PsiElement tag = this.tag.getElement();
final PsiElement expression = this.expression.getElement();
if (tag != null && expression != null) {
final PsiElement newTag = PhpPsiElementFactory.createFromText(project, PhpTokenTypes.PHP_ECHO_OPENING_TAG, "?><?=?>");
final String arguments = Stream.of(target.getParent().getChildren()).map(PsiElement::getText).collect(Collectors.joining(", "));
final PsiElement echo = PhpPsiElementFactory.createFromText(project, PhpEchoStatement.class, String.format("echo %s", arguments));
if (newTag != null && echo != null) {
echo.getFirstChild().delete();
expression.replace(echo);
tag.replace(newTag);
}
}
}
}
}
}
``` |
Kenneth Paul Sorensen (November 4, 1934 – July 6, 2012) was an American politician.
Sorensen previously served as a Representative in the House of Representatives of the U.S. state of Florida. He lived in Key Largo, Florida with his family. Sorenson died on July 6, 2012, at the age of 77.
Education
B.S. from Quincy University
M.A. from Florida State University
Ph.D. from University of Zagreb
References
External links
Official Website of Representative Sorensen
1934 births
2012 deaths
Florida State University alumni
Florida State University faculty
Republican Party members of the Florida House of Representatives
Politicians from Chicago
People from Key Largo, Florida |
The Port of Rostov-on-Don is a major sea and river port, and one of the oldest in Russia. The port has 56 berths and a berth wall length of over 9000 m. The carrying capacity of its cargo terminals is around 18 million tons per year, which puts it in the top 15 largest Russian sea ports. The total number of stevedores is 24. Structurally, it consists of port facilities belonging to JSC "Rostov port", LLC "Rostov universal port" (RUP) and other companies.
JSC "Rostov port"
It has four geographically independent cargo areas:
1st cargo area (central cargo area) - it is located in the central part of Rostov-on-Don (on the right bank of the Don River, in the Nakhichevan duct)
2nd cargo area (Alekandrovsky bucket, on the left bank of the Don)
3rd cargo district (Rostov bucket, on the left bank of the Don)
4th cargo area (in the industrial area "Zarechnaya", on the left bank of the Don).
JSC "Rostov port" can simultaneously handle up to 16 vessels of up to 5000 tonnes of river-sea class of the following types: the Volga-Balt, Volga-Don, Sormovo, Siberia, Omsk, Amur and others, including foreign vessels with similar characteristics and a draft of up to 4 meters. Central cargo area under the general plan of the city of Rostov-on-Don is planned to withdraw from the city center.
LLC "Rostov Universal Port"
Rostov Universal Port is the project of three cargo areas, located on the left bank of the river. Don in the industrial zone "Zarechnaya":
1st cargo area,
2nd cargo area,
3rd cargo area (projected) - planned to connect the channel and expand the old quarry near the existing cargo areas.
In 2014 the port has a container (delivery of a weekly container line along the route Rostov-on-Don - Istanbul), coal, grain and a terminal of general goods situated on an area of 100 hectares, has 7 berths with a length of the quay wall 1,150 meters, open storage areas area of 90 thousand square meters.
Further development and construction of the third cargo area will create up to 27 general-purpose and specialized berthing facilities, increase the port area to 400 hectares. By order of the Russian Federation from 20.05.2008 № 377 investment project "Development of RUP" given the status of national importance. In addition the project is included in the federal target program "Development of Transport System of Russia" (2010-2015 gg. And up to 2020). The design capacity of the port will reach 16 million tons per year.
Other terminals
Own marinas have a number of production companies used them to transport their goods:
Oil extraction plant "Yug Rusi" (Industrial Area "Zarechnaya")
Petroleum products transshipment terminal "Yug Rusi" (Industrial Area "Zarechnaya" for Nizhnegnilovskim bridge in the direction of the Sea of Azov)
OJSC "Aston" (Industrial Area "Zarechnaya")
"Donskoy prichal" (Industrial Area "Zarechnaya")
Cargil (Industrial Area " Zarechnaya")
JSC "Rostov-on-Don Bakery" (Rostov bucket)
Rostov Shipyard "Priboy" (Rostov bucket)
Rostov Shipyard "Mayak" (Industrial Area "Zarechnaya")
Tobacco company "Donskoy Tabak"
Annual cargo tonnage
2009: 6.2 million tonnes
2010: 7.7 million tonnes ()
2011: 10.4 million tonnes ()
2012: 11.1 million tonnes (8.0%)
2013: 10.8 million tonnes (-2.7%)
2014: 10.4 million tonnes (-4.5%)
2015: 11.6 million tons (12.1%)
References
External links
Buildings and structures in Rostov-on-Don
Rostov-on-Don
Rostov-on-Don
Transport in Rostov-on-Don |
Steironepion moniliferum is a species of sea snail, a marine gastropod mollusc in the family Columbellidae, the dove snails.
Description
Distribution
This species occurs in the Caribbean Sea, the Gulf of Mexico and the Lesser Antilles.
References
Rosenberg, G., F. Moretzsohn, and E. F. García. 2009. Gastropoda (Mollusca) of the Gulf of Mexico, pp. 579–699 in Felder, D.L. and D.K. Camp (eds.), Gulf of Mexico–Origins, Waters, and Biota. Biodiversity. Texas A&M Press, College Station, Texas.
Petit R.E. (2009) George Brettingham Sowerby, I, II & III: their conchological publications and molluscan taxa. Zootaxa 2189: 1–218.
External links
Columbellidae
Gastropods described in 1844 |
The Church of St James the Apostle, commonly referred to as St James' Church, is a small Gothic Revival Anglican church located in Durrus, County Cork, Ireland. It was completed in 1792. It is dedicated to James the Great. It is part of the Kilmocomogue Union Of Parishes, in the Diocese of Cork, Cloyne, and Ross.
History
Located on the site of an earlier church dating to at least 1615, St James' Church was founded in 1792, and was funded with a loan from the Board of First Fruits. The church soon collapsed as it was poorly built. In 1799 the church was rebuilt at the expense of the rector, Rev Henry Jones, though it is not recorded how much it cost him. The building was enlarged and remodelled between 1831 and 1832, when the tower was built. These renovations were possibly to plans made by Cork architect Henry Hill. In the mid 19th century, the Countess of Bandon funded the construction of a chancel. William Atkins designed a robing room and a new south aisle for the church which were completed in 1867.
On 27 April 1925, an organ was built and dedicated in St James'. Prior to this, there had been a harmonium in the church. In October 1929, the southern wall of the church was repaired, consisting of drying and plastering it. In 1932, the church went under extensive repairs. In 1940, a vestry was constructed. In 1949, gas lighting was installed in the church, which was then replaces in the 1960s by electric lighting. Further renovations began in 1989. The Durrus Garden Fête is a long-standing annual tradition, dating to at least 1932. It has been held every year since, with the exception of 2020 and 2021 due social distancing guidelines imposed by the Irish Government during the COVID-19 pandemic.
The Parish of Durrus was united with the Parish of Kilmocomogue in 1984, forming the Kilmocomogue Union of Parishes. The parishes had previously been united in 1669 as the church in Durrus had been ruined. The ruining of the original church took place sometime after 1639. Upon the construction of St James' in 1792, they were again separated.
Rev Canon Paul Willoughby currently serves as rector of the parish.
Architecture
The church is built in Venetian Gothic style. The church has several notable stained glass windows. The original three-bay nave of the church is complemented by the 1867 additional four-bay nave.
References
Notes
Sources
Churches in County Cork
Gothic Revival church buildings in the Republic of Ireland
Churches in the Diocese of Cork, Cloyne and Ross |
Family patrimony is a type of civil law patrimony that is created by marriage or civil union (where recognized) which creates a bundle of entitlements and obligations that must be shared by the spouses or partners upon divorce, annulment, dissolution of marriage or dissolution of civil union, when there must be a division of property. It is similar to the common law concept of community property.
External links
Civil law (legal system) |
Zəfəran (also, Zə’fəran and Shafran) is a village in Baku, Azerbaijan.
References
Populated places in Baku |
is a fictional character and one of the protagonists in the Fullmetal Alchemist manga series and its adaptations created by Hiromu Arakawa. Alphonse is a child who lost his body during an alchemical experiment to bring his deceased mother back to life and had his soul attached to a suit of armor by his older brother Edward. As a result, Alphonse is almost invulnerable as long as the armor's seal is not erased, but is unable to feel anything. To recover their bodies, the Elrics travel around their country Amestris to obtain the Philosopher's Stonean alchemical object that could restore them. In the animated adaptations of Fullmetal Alchemist, Alphonse is voiced by Rie Kugimiya in Japanese. In the English adaptations, he is voiced by Aaron Dismuke in the first series and by Maxey Whitehead in the second.
As a result of appearing in the series mostly in his armor, Arakawa has been focused on searching ways to make it appear as Alphonse is expressing emotions despite not having a body. Alphonse has also appeared in materials related to the manga, including video games and light novels that follow his journey. His character has been well received by readers of the series; he has consistently appeared in the top ten series' popularity polls. The character has received positive remarks from critics, with some commending his design and his relationship with Edward.
Appearances
Alphonse is one of the protagonists from the series alongside his older brother Edward. Alphonse lost his body when he and Edward try to revive their mother Trisha using alchemy. Edward sacrifices his right arm to seal Alphonse's soul into a suit of armor. Edward later becomes an alchemist from the state military of Amestris, and starts traveling with Alphonse to search for a method to recover Alphonse's body. They seek the Philosopher's Stone, which would allow them to restore their physical forms. Besides being a powerful alchemist, Alphonse is a skilled hand-to-hand fighter; having been trained by Izumi Curtis. While Alphonse cannot feel anything because he has no body, he is nearly invincible as long as the blood mark made by Edward on his armor to contain his soul is not defaced.
Believing that the immortal creatures known as the homunculi will lead them to more clues to recover their bodies, the Elrics try to use them. However, they meet the homunculi's creator "Father", who secretly controls the military and blackmails the Elrics into working under him. Seeking to protect their friends, the Elrics travel to the northern area of the country in order to request help from General Olivier Mira Armstrong. After the two are successful in their plan, Alphonse's original body tries to recover the soul resulting in him losing consciousness several times. Separated from his brother to assist his friends' escape from the military men serving Father, Alphonse is captured by the homunculus Pride to use him against Edward. Joining forces with his father Van Hohenheim, Alphonse traps Pride and himself within a cave where the homunculus remains powerless. State Alchemist Solf J. Kimblee later comes to Pride's aid, and Alphonse is rescued by some of his comrades.
Seeking to transmute the whole country, Father transports the Elrics to his base to use them as two of the five sacrifices required to achieve his goal. At the same moment, Alphonse finds his original body, but refuses to recover it because its weakened state would not help them to fight the homunculi. In the final fight against Father, Alphonse requests help from the alchemist May Chang to return Edward's right arm in exchange for Alphonse's soul. As Edward, with his restored arm, fights Father, Alphonse's soul disappears from the armor. Following Father's defeat, Edward sacrifices his ability to use alchemy to restore Alphonse's soul and original body. The two return to Resembool, where they live until they decide to separate to study alchemy. Alphonse joins with two chimera comrades and they travel to the country of Xing to learn more alchemy with May's help.
In the first anime
The first half of the anime's plot follows that of the manga, but the plots severely diverge from each other near the middle of the story. After Kimblee uses alchemy to transform Alphonse's armor into explosive material, Scar transfers all of his incomplete Philosopher's Stone into Al to save his life. As a result, Alphonse's armor becomes the Philosopher's Stone. Because he houses the Stone in his body, he becomes the primary target of the homunculi's leader Dante, who is trying to cheat death. Once captured by the homunculi for Dante, Al is to be eaten by Gluttony to complete the Stone inside Gluttony's body. But when he sees his brother killed trying to save him, Al uses the stone's power to heal Edward's body and re-bind his soul to it. This destroys Alphonse's own body as he uses up the whole of the Philosopher's Stone in the transmutations. Then Edward, using his own body, resurrects Alphonse. As a result, Edward disappears and Alphonse continues studying alchemy to find him.
In the film sequel Fullmetal Alchemist the Movie: Conqueror of Shamballa, Alphonse continues searching for his brother until learning that he is in a parallel world. With help from the homunculus Wrath, Alphonse opens the gate to the parallel world, but at the same time causes a soldier named Dietline Eckhart, who is from the parallel world, to start attacking Amestris. Joining forces with Edward, Alphonse defeats Eckhart and decides to stay with his brother to live in the parallel world.
In other media
Aside from the initial anime and manga, Alphonse appears in almost all the Fullmetal Alchemist original video animations (OVAs). In the first one, he appears as a chibi version of himself at the movie's wrap-up party, and in the fourth OVA, he plays a part in the battle against the homunculi. Alphonse also appears in all Fullmetal Alchemist video games on all platforms, which feature his and Ed's journey to find the Philosopher's Stone. In the film The Sacred Star of Milos Alphonse goes with his brother to search for the criminal Melvin Voyager who broke free from a prison in their country. Makoto Inoue's Fullmetal Alchemist light novels also feature the Elrics' journey, but in all of them they encounter different characters to those from the video games. Two character CDs with tracks based on Alphonse were released under the name of and Theme of Alphonse Elric. The tracks from the CD are performed by Alphone's Japanese voice actress, Rie Kugimiya. He is also featured in several of the Fullmetal Alchemist Trading Card Games.
Creation and conception
In a prototype from the series, Alphonse's soul was sealed in a flying squirrel instead of armor as a result of human transmutation. He appeared as the brother to the other protagonist, Edward, in their searching for a way to recover their bodies. To match the designs from the manga magazine Monthly Shōnen Gangan, the two characters were redesigned. Alphonse was given a huge suit of armor to contrast him with Edward's short stature. Since Alphonse mostly appears with his armor, Arakawa tends to make sketches of his human form so that she would not forget how to draw him. Some events from the Elrics' lives are social problems she integrated into the plot. Their journey across the country to help people is meant to gain an understanding of the meaning of family. As Alphonse is mostly seen with his armor, during various chapters from the manga Arakawa was unable to draw him crying. During Chapter 40, Arakawa saw his conversation with Edward as a way to let him express his feeling and to make him appear as though he is crying. When comparing the two brothers during the time Alphonse obtained the ability to use alchemy without a circle like Edward, Arakawa stated nobody was better at alchemy as the two had different preferences in the same way as other alchemists appearing in the series. When making omakes, Arakawa tends to draw Alphonse doing something comical to contrast him with the other characters. She states that she does it because Alphonse may enjoy making fun of other people.
In the Japanese animated adaptations of Fullmetal Alchemist, Alphonse was voiced by Rie Kugimiya. For the English version, Aaron Dismuke took the role for the first anime, Conqueror of Shamballa and some of the OVAs. He has found Alphonse to be his favorite character, and likes the way he "sticks up for people". He also said that he tries to be like Alphonse when voicing him, though he added, "I don't really see a lot of myself in him". In Fullmetal Alchemist: Brotherhood, Dismuke was replaced by Maxey Whitehead, as Dismuke's voice had changed with age. For the live-action film, Alphonse's armor was made in CGI. Arakawa herself expressed surprise when seeing the final product.
Reception
In popularity polls from the manga made by Monthly Shōnen Gangan, Alphonse was initially ranked in the third place, while later polls placed him fourth. He has also been highly ranked in the Animages Anime Grand Prix polls in the category of best male characters in both 2004. Merchandise based on Alphonse's appearance, including figurines, keychains and plush toys, has been marketed. UGO Networks listed one of his statues tenth in their article of "Insanely Expensive Comic Book Collectibles We'd Blow Our Wad On."
Several publications for manga, anime, and other pop culture media have both praised and criticized Alphonse's character. Chis Beveridge from Mania Entertainment has praised Alphonse for being "quite the likeable character" and liked his role in the first series. The character's madness and disbelief over his own existence has been praised; Beveridge said it "could make up a series all by itself.." In a later volume review, Beveridge said the series' change of focus to Alphonse "as an actual young boy" was "a nice change of pace." T.H.E.M. Anime Reviews' Samuel Arbogast wrote that the interaction between the Elric brothers as they travel is interesting and that Alphonse's armor was of the most notable characters designs from the series. The brothers were also noted to "becoming men" by Active's Anime Holly Ellingwood after the first appearance of Van Hohenheim in the manga as the two investigate ways to recover their bodies. Lydia Hojnacki said Alphonse's character is as important as his brother to the series after commenting on Edward as she considered Alphonse to be Edward's yang.
Rebecca Silverman from Anime News Network praised Alphonse's development in the manga, especially where he refuses to recover his weakened body and instead helps his friends. As a result, Silverman brought a comparison between the two brothers and wondered whether Edward would have done the same. Chris Beveridge found the character's growth in Conqueror in Shamballa appealing as he starts visually resembling Edward. When reviewing the video game Fullmetal Alchemist and the Broken Angel, RPGFan's Neal Chandran enjoyed the dynamic between the main characters both in fights as well as dialogues. After Aaron Dismuke's voice matured, Anime News Network writer Justin Sevakis criticized him for his part in the Fullmetal Alchemist: Premium OVA Collection, writing that "he simply no longer sounds like Alphonse".
References
Anime and manga characters with superhuman durability or invulnerability
Anime and manga characters with superhuman strength
Comics characters introduced in 2001
Fictional alchemists
Fictional armour
Fictional characters with elemental transmutation abilities
Fictional child prodigies
Fictional child soldiers
Fictional male martial artists
Fullmetal Alchemist characters
Male characters in anime and manga
Martial artist characters in anime and manga
Orphan characters in anime and manga
Square Enix protagonists
Teenage characters in anime and manga |
Manjanady is a village in the Indian state of Karnataka, India. It is located in the Mangalore taluk of Dakshina Kannada district in Karnataka.
Demographics
census of India, Manjanady had a population of 10,435 with 5245 males and 5190 females.
Manjanady is a large village located near Mangalore University in the district of Mangalore (Dakshin Kannada) state of Karnataka, India.
It has a population of about 10,435 or more persons living in around 1,695 households
near to SEZ.Infosys and the 2 medical colleges with hospitals (NITTE & YENEPOYA medical colleges).
The Manjanady gram panchayat (MGP) is located at Mangalathi.And slowly it is gaining township after the setup of YENEPOYA Ayurveda college in Kollarakodi which is administered by Naringana Gram Panchayat.
See also
Dakshina Kannada
Districts of Karnataka
References
External links
http://dk.nic.in/
Villages in Dakshina Kannada district
Localities in Mangalore |
The Ore Mountain Club () is one of the oldest and most tradition-steeped local history, mountain and hiking clubs in Germany. The club was founded in 1878. After the Second World War the club and its many branches were banned by the East German authorities, but it was refounded in West Germany in Frankfurt am Main in 1955. Only after the political events of Die Wende in 1990 was it newly founded in the Ore Mountains. At the end of 2008 the club had over 3,859 members in 61 branches. Before 1945 there were more than 25,000 members. In 1929 the Ore Mountain Club even had over 28,000 members in 156 branches and managed several accommodation houses on the Fichtelberg near Oberwiesenthal and the Schwartenberg between Seiffen and Neuhausen/Erzgeb.
Today the Ore Mountain Club has 12 woodcarving and 30 bobbin lacemaking groups (Schnitzgruppen and Klöppelgruppen). In 2008 its members did 220,000 hours of voluntary work. The club's trail rangers look after 4,042 kilometres of hiking trails in the Ore Mountains with 6,136 signposts, 2,346 benches and 377 refuge huts.
History
Foundation and club structure
The Ore Mountain Club was founded in the Bahnhofseiche pub in Aue-Zelle by 63 local history friends of the upper middle classes on 5 May 1878 at the instigation of Ernst Köhler, who also acted as its first club chairman. Whilst it was still in its first year, in 1878, the first branches were formed in Schneeberg, Eibenstock, Schlema, Lößnitz, Selva, Schwarzenberg, Hartenstein, Marienberg, Glauchau-Waldenburg and Dippoldiswalde. Then followed the establishment of branches outside the actual catchment area, e.g. in Berlin (1910), Hamburg (1933), Frankfurt (1936) and Hanover (1936). In 1932, the Ore Mountain Club had 25,000 members, the second largest association of its kind in Germany after the Alpine Club.
To achieve its goal of making the Ore Mountains better known to hiking enthusiasts from near and far, the Ore Mountain Club built about 25 observation towers and mountain inns in the first 50 years of its existence. Other early activities were the signing of hiking trails and the publication of maps. As a result, tourism in the Ore Mountains in the late 19th century was heavily promoted. Since 1855, the Ore Mountain Club has belonged to the Association of German Mountain and Hiking Clubs ('Verband der deutschen Gebirgs- und Wandervereine).
Between 1920 and 1933
Under President Friedrich Hermann Löscher the Ore Mountain Club also turned to the study of local history and folklore. Löscher said: "The Ore Mountain Club does not just want to be the tourist office or tower building club; rather it also wants to open up its homeland in terms of folklore, ... wants to carry out research work into the people's soul, language, customs and way of life." Many valuable publications in the Glückauf-Verlag followed, including contributions by meritorious local historian Walter Frobe, Johannes Langer and Gerhard Heilfurth.
External links
Official homepage
Sources
Das schöne Erzgebirge im Sommer und Winter; 138 pages. Schneeberg, 1929; Druck C. M. Gärtner, Schwarzenberg
Gerhard Schlegel, Erich Reuther, Dieter Schräber: 125 Jahre Erzgebirgsverein - eine Festschrift. Schneeberg, 2003
References
Hiking organisations in Germany
Culture of the Ore Mountains |
Aidan Craig Daly (born 22 August 1978) is a New Zealand former basketball player who played 18 seasons in the National Basketball League (NBL), including 12 with the Hawke's Bay Hawks.
High school
Daly attended Napier Boys' High School and Notre Dame Academy.
NBL career
Between 1997 and 2013, Daly played in the National Basketball League (NBL) for the Hawke's Bay Hawks, Wellington Saints, Manawatu Jets and Christchurch Cougars. He returned to the NBL in 2016, re-joining the Hawks to play for his sister, Kirstin, who was appointed the team's head coach. He was subsequently named team co-captain for his return season. It was his final season in the NBL.
In 2022, Daly was appointed an assistant coach of the Hawks.
Personal life
Daly's father, Craig, has previously served as the Hawke's Bay Hawks' team manager.
References
External links
Aidan Daly at australiabasket.com
1978 births
Living people
Christchurch Cougars players
Hawke's Bay Hawks players
Manawatu Jets players
New Zealand men's basketball players
Point guards
Sportspeople from Napier, New Zealand
Wellington Saints players |
Philippe Gardent (born 15 March 1964) is a French handball player who won a bronze medal at the 1992 Olympics. He played six matches and scored 16 goals. He was the captain of the French teams that won the world title in 1995 and placed second in 1993. Since retiring from competitions in 1996 he worked as a handball coach, with Chambéry Savoie Handball (1996–2012), Paris Saint-Germain Handball (2012–2015) and Fenix Toulouse Handball (since 2015).
References
1964 births
Living people
People from Belleville-en-Beaujolais
Sportspeople from Rhône (department)
French male handball players
Olympic handball players for France
Handball players at the 1992 Summer Olympics
Olympic bronze medalists for France
Olympic medalists in handball
Medalists at the 1992 Summer Olympics |
```python
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: tensorflow/tools/tfprof/tfprof_output.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from tensorflow.core.framework import tensor_shape_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2
from tensorflow.core.framework import types_pb2 as tensorflow_dot_core_dot_framework_dot_types__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='tensorflow/tools/tfprof/tfprof_output.proto',
package='tensorflow.tfprof',
syntax='proto2',
serialized_pb=_b('\n+tensorflow/tools/tfprof/tfprof_output.proto\x12\x11tensorflow.tfprof\x1a,tensorflow/core/framework/tensor_shape.proto\x1a%tensorflow/core/framework/types.proto\"v\n\x11TFProfTensorProto\x12#\n\x05\x64type\x18\x01 \x01(\x0e\x32\x14.tensorflow.DataType\x12\x14\n\x0cvalue_double\x18\x02 \x03(\x01\x12\x13\n\x0bvalue_int64\x18\x03 \x03(\x03\x12\x11\n\tvalue_str\x18\x04 \x03(\t\"\xba\x03\n\x10TFGraphNodeProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12:\n\x0ctensor_value\x18\x0f \x01(\x0b\x32$.tensorflow.tfprof.TFProfTensorProto\x12\x13\n\x0b\x65xec_micros\x18\x02 \x01(\x03\x12\x17\n\x0frequested_bytes\x18\x03 \x01(\x03\x12\x12\n\nparameters\x18\x04 \x01(\x03\x12\x11\n\tfloat_ops\x18\r \x01(\x03\x12\x0e\n\x06inputs\x18\x05 \x01(\x03\x12\x0f\n\x07\x64\x65vices\x18\n \x03(\t\x12\x19\n\x11total_exec_micros\x18\x06 \x01(\x03\x12\x1d\n\x15total_requested_bytes\x18\x07 \x01(\x03\x12\x18\n\x10total_parameters\x18\x08 \x01(\x03\x12\x17\n\x0ftotal_float_ops\x18\x0e \x01(\x03\x12\x14\n\x0ctotal_inputs\x18\t \x01(\x03\x12,\n\x06shapes\x18\x0b \x03(\x0b\x32\x1c.tensorflow.TensorShapeProto\x12\x35\n\x08\x63hildren\x18\x0c \x03(\x0b\x32#.tensorflow.tfprof.TFGraphNodeProto\"\xd1\x02\n\x0fTFCodeNodeProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x65xec_micros\x18\x02 \x01(\x03\x12\x17\n\x0frequested_bytes\x18\x03 \x01(\x03\x12\x12\n\nparameters\x18\x04 \x01(\x03\x12\x11\n\tfloat_ops\x18\x05 \x01(\x03\x12\x19\n\x11total_exec_micros\x18\x06 \x01(\x03\x12\x1d\n\x15total_requested_bytes\x18\x07 \x01(\x03\x12\x18\n\x10total_parameters\x18\x08 \x01(\x03\x12\x17\n\x0ftotal_float_ops\x18\t \x01(\x03\x12\x38\n\x0bgraph_nodes\x18\n \x03(\x0b\x32#.tensorflow.tfprof.TFGraphNodeProto\x12\x34\n\x08\x63hildren\x18\x0b \x03(\x0b\x32\".tensorflow.tfprof.TFCodeNodeProto')
,
dependencies=[tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2.DESCRIPTOR,tensorflow_dot_core_dot_framework_dot_types__pb2.DESCRIPTOR,])
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
_TFPROFTENSORPROTO = _descriptor.Descriptor(
name='TFProfTensorProto',
full_name='tensorflow.tfprof.TFProfTensorProto',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='dtype', full_name='tensorflow.tfprof.TFProfTensorProto.dtype', index=0,
number=1, type=14, cpp_type=8, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='value_double', full_name='tensorflow.tfprof.TFProfTensorProto.value_double', index=1,
number=2, type=1, cpp_type=5, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='value_int64', full_name='tensorflow.tfprof.TFProfTensorProto.value_int64', index=2,
number=3, type=3, cpp_type=2, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='value_str', full_name='tensorflow.tfprof.TFProfTensorProto.value_str', index=3,
number=4, type=9, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=151,
serialized_end=269,
)
_TFGRAPHNODEPROTO = _descriptor.Descriptor(
name='TFGraphNodeProto',
full_name='tensorflow.tfprof.TFGraphNodeProto',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='name', full_name='tensorflow.tfprof.TFGraphNodeProto.name', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='tensor_value', full_name='tensorflow.tfprof.TFGraphNodeProto.tensor_value', index=1,
number=15, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='exec_micros', full_name='tensorflow.tfprof.TFGraphNodeProto.exec_micros', index=2,
number=2, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='requested_bytes', full_name='tensorflow.tfprof.TFGraphNodeProto.requested_bytes', index=3,
number=3, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='parameters', full_name='tensorflow.tfprof.TFGraphNodeProto.parameters', index=4,
number=4, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='float_ops', full_name='tensorflow.tfprof.TFGraphNodeProto.float_ops', index=5,
number=13, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='inputs', full_name='tensorflow.tfprof.TFGraphNodeProto.inputs', index=6,
number=5, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='devices', full_name='tensorflow.tfprof.TFGraphNodeProto.devices', index=7,
number=10, type=9, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='total_exec_micros', full_name='tensorflow.tfprof.TFGraphNodeProto.total_exec_micros', index=8,
number=6, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='total_requested_bytes', full_name='tensorflow.tfprof.TFGraphNodeProto.total_requested_bytes', index=9,
number=7, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='total_parameters', full_name='tensorflow.tfprof.TFGraphNodeProto.total_parameters', index=10,
number=8, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='total_float_ops', full_name='tensorflow.tfprof.TFGraphNodeProto.total_float_ops', index=11,
number=14, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='total_inputs', full_name='tensorflow.tfprof.TFGraphNodeProto.total_inputs', index=12,
number=9, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='shapes', full_name='tensorflow.tfprof.TFGraphNodeProto.shapes', index=13,
number=11, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='children', full_name='tensorflow.tfprof.TFGraphNodeProto.children', index=14,
number=12, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=272,
serialized_end=714,
)
_TFCODENODEPROTO = _descriptor.Descriptor(
name='TFCodeNodeProto',
full_name='tensorflow.tfprof.TFCodeNodeProto',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='name', full_name='tensorflow.tfprof.TFCodeNodeProto.name', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='exec_micros', full_name='tensorflow.tfprof.TFCodeNodeProto.exec_micros', index=1,
number=2, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='requested_bytes', full_name='tensorflow.tfprof.TFCodeNodeProto.requested_bytes', index=2,
number=3, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='parameters', full_name='tensorflow.tfprof.TFCodeNodeProto.parameters', index=3,
number=4, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='float_ops', full_name='tensorflow.tfprof.TFCodeNodeProto.float_ops', index=4,
number=5, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='total_exec_micros', full_name='tensorflow.tfprof.TFCodeNodeProto.total_exec_micros', index=5,
number=6, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='total_requested_bytes', full_name='tensorflow.tfprof.TFCodeNodeProto.total_requested_bytes', index=6,
number=7, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='total_parameters', full_name='tensorflow.tfprof.TFCodeNodeProto.total_parameters', index=7,
number=8, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='total_float_ops', full_name='tensorflow.tfprof.TFCodeNodeProto.total_float_ops', index=8,
number=9, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='graph_nodes', full_name='tensorflow.tfprof.TFCodeNodeProto.graph_nodes', index=9,
number=10, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='children', full_name='tensorflow.tfprof.TFCodeNodeProto.children', index=10,
number=11, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=717,
serialized_end=1054,
)
_TFPROFTENSORPROTO.fields_by_name['dtype'].enum_type = tensorflow_dot_core_dot_framework_dot_types__pb2._DATATYPE
_TFGRAPHNODEPROTO.fields_by_name['tensor_value'].message_type = _TFPROFTENSORPROTO
_TFGRAPHNODEPROTO.fields_by_name['shapes'].message_type = tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2._TENSORSHAPEPROTO
_TFGRAPHNODEPROTO.fields_by_name['children'].message_type = _TFGRAPHNODEPROTO
_TFCODENODEPROTO.fields_by_name['graph_nodes'].message_type = _TFGRAPHNODEPROTO
_TFCODENODEPROTO.fields_by_name['children'].message_type = _TFCODENODEPROTO
DESCRIPTOR.message_types_by_name['TFProfTensorProto'] = _TFPROFTENSORPROTO
DESCRIPTOR.message_types_by_name['TFGraphNodeProto'] = _TFGRAPHNODEPROTO
DESCRIPTOR.message_types_by_name['TFCodeNodeProto'] = _TFCODENODEPROTO
TFProfTensorProto = _reflection.GeneratedProtocolMessageType('TFProfTensorProto', (_message.Message,), dict(
DESCRIPTOR = _TFPROFTENSORPROTO,
__module__ = 'tensorflow.tools.tfprof.tfprof_output_pb2'
# @@protoc_insertion_point(class_scope:tensorflow.tfprof.TFProfTensorProto)
))
_sym_db.RegisterMessage(TFProfTensorProto)
TFGraphNodeProto = _reflection.GeneratedProtocolMessageType('TFGraphNodeProto', (_message.Message,), dict(
DESCRIPTOR = _TFGRAPHNODEPROTO,
__module__ = 'tensorflow.tools.tfprof.tfprof_output_pb2'
# @@protoc_insertion_point(class_scope:tensorflow.tfprof.TFGraphNodeProto)
))
_sym_db.RegisterMessage(TFGraphNodeProto)
TFCodeNodeProto = _reflection.GeneratedProtocolMessageType('TFCodeNodeProto', (_message.Message,), dict(
DESCRIPTOR = _TFCODENODEPROTO,
__module__ = 'tensorflow.tools.tfprof.tfprof_output_pb2'
# @@protoc_insertion_point(class_scope:tensorflow.tfprof.TFCodeNodeProto)
))
_sym_db.RegisterMessage(TFCodeNodeProto)
# @@protoc_insertion_point(module_scope)
``` |
```smalltalk
using System;
using System.Linq.Expressions;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.Utilities;
namespace Pomelo.EntityFrameworkCore.MySql.Query.Expressions.Internal;
public class MySqlBipolarExpression : Expression
{
public MySqlBipolarExpression(
Expression defaultExpression,
Expression alternativeExpression)
{
Check.NotNull(defaultExpression, nameof(defaultExpression));
Check.NotNull(alternativeExpression, nameof(alternativeExpression));
DefaultExpression = defaultExpression;
AlternativeExpression = alternativeExpression;
}
public virtual Expression DefaultExpression { get; }
public virtual Expression AlternativeExpression { get; }
public override ExpressionType NodeType
=> ExpressionType.UnaryPlus;
public override Type Type
=> DefaultExpression.Type;
protected override Expression VisitChildren(ExpressionVisitor visitor)
{
var defaultExpression = visitor.Visit(DefaultExpression);
var alternativeExpression = visitor.Visit(AlternativeExpression);
return Update(defaultExpression, alternativeExpression);
}
public virtual MySqlBipolarExpression Update(Expression defaultExpression, Expression alternativeExpression)
=> defaultExpression != DefaultExpression || alternativeExpression != AlternativeExpression
? new MySqlBipolarExpression(defaultExpression, alternativeExpression)
: this;
public override string ToString()
{
var expressionPrinter = new ExpressionPrinter();
expressionPrinter.AppendLine("<MySqlBipolarExpression>(");
using (expressionPrinter.Indent())
{
expressionPrinter.Append("Default: ");
expressionPrinter.Visit(DefaultExpression);
expressionPrinter.AppendLine();
expressionPrinter.Append("Alternative: ");
expressionPrinter.Visit(AlternativeExpression);
expressionPrinter.AppendLine();
}
expressionPrinter.Append(")");
return expressionPrinter.ToString();
}
public override bool Equals(object obj)
=> obj != null
&& (ReferenceEquals(this, obj)
|| obj is MySqlBipolarExpression bipolarExpression
&& Equals(bipolarExpression));
private bool Equals(MySqlBipolarExpression bipolarExpression)
=> base.Equals(bipolarExpression)
&& DefaultExpression.Equals(bipolarExpression.DefaultExpression)
&& AlternativeExpression.Equals(bipolarExpression.AlternativeExpression);
public override int GetHashCode() => HashCode.Combine(base.GetHashCode(), DefaultExpression, AlternativeExpression);
}
``` |
Paul Barbă Neagră (or Barbăneagră) (11 February 1929 – 13 October 2009) was a Romanian film director and writer who, starting in 1957, has directed short and medium-length documentaries on topics related to culture and the arts. In 1964, he defected and settled in France, where he also worked in the media (for France 2, France 3, and Radio Free Europe).
Biography
Born in Isaccea, he studied medicine and cinematography in Bucharest, graduating from the I. L. Caragiale Institute for Theater and Film Arts. Between 1957 and 1964, he worked for the film studios of Communist Romania, and, during a visit to Tours (where he was attending the local film festival), sought political asylum.
He was awarded a first prize for the scenario of his film Versailles Palais-Temple du Roi Soleil ("Palace of Versailles, Temple of the Sun King") at the Festival International du Film d'Art (International Festival for Art Films). The film was the first in his series Architecture et Géographie sacrée ("Sacred Architecture and Geography"). To the same series belongs the documentary Mircea Eliade et la Redécouverte du Sacré ("Mircea Eliade and the Rediscovery of the Sacred").
In 1990, he was awarded The French Grand Prix for Audiovisual Arts for his entire activity.
In 2004, he published with Félix Schwarz Symbolique de Paris: Paris sacré, Paris mythique (Les Éditions du Huitième Jour, 2004).
See also
List of Eastern Bloc defectors
Footnotes
External links
FES festival – film agenda
Short bio
Paul Barbăneagră at Poliron.ro
1929 births
2009 deaths
People from Isaccea
Radio Free Europe/Radio Liberty people
Romanian expatriates in France
Romanian defectors
Romanian essayists
Romanian film directors
Romanian journalists
Romanian screenwriters
20th-century essayists
20th-century screenwriters
20th-century journalists
Caragiale National University of Theatre and Film alumni |
In Djibouti, approximately 1% of the population is Protestant.
There are several Protestant denominations in the country, including Reformed, Lutheran, Baptist, Adventist and Mennonite.
The Protestant Evangelic Church of Djibouti was established in 1960 by the army chaplains of French troops. After independence the church buildings became the property of the Federation of Protestant Churches. The single parish developed rapidly, regular worship lives and Bible schools were created, and they supported refugee work.
The church works with Christians from several countries including Congo, Burundi, France and the US.
See also
Christianity in Djibouti
Roman Catholicism in Djibouti
References
Christian organizations established in 1960
Churches in Djibouti
Reformed denominations in Africa
1960 establishments in French Somaliland |
Charata is a city in the province of Chaco, Argentina. It has 26497 inhabitants as per the , and is the head town of the Chacabuco Department and the most important city in the southwest of Chaco, located 280 km from the provincial capital Resistencia.
History
The city was founded by provincial decree on 4 October 1914.
Charata is the important settlement closest to the Campo del Cielo crater meteoric dispersion (originated by the impact of a large metallic meteoroid, probably around 3800 BCE).
References
Municipality of Charata — Official website.
Populated places in Chaco Province
Cities in Argentina |
Calvin Everett Lee (born August 19, 1939) was a provincial level politician from Alberta, Canada. He served as a member of the Legislative Assembly of Alberta from 1971 to 1975 sitting with the governing Progressive Conservative caucus.
Political career
Lee ran for a seat to the Alberta Legislature in the 1971 Alberta general election. He faced three other candidates in the new electoral district of Calgary-McKnight. Lee won the hotly contested race finishing ahead of Social Credit candidate Jim Richards to pick up the district for the Progressive Conservatives who formed government in that election.
Lee would retire from provincial politics at dissolution of the assembly in 1975.
References
External links
Legislative Assembly of Alberta Members Listing
Progressive Conservative Association of Alberta MLAs
Living people
1939 births |
Delyo (, sometimes Делю, Delyu) was a Bulgarian rebel leader (hajduk voivode) who was active in the Rhodope Mountains in the late 17th and early 18th centuries.
Delyo was born in Belovidovo (today Zlatograd) in the Smolyan region in the 17th century. He headed an armed detachment of rebels in the central Rhodopes and acted against the Ottoman authorities' Islamization of the local Bulgarian population. In 1720, he led a group of united rebel detachments that attacked Raykovo (today a neighbourhood of Smolyan) in revenge for the murder of 200 locals who refused to convert from Christianity to Islam. Delyo was mentioned in Historical notebook, an 18th-century document of disputed authenticity.
Delyo is a popular character in Rhodopean folk songs and legends. He is presented as a protector of the local population and an opponent of the local Ottoman authorities. He is glorified as being unkillable by a standard sword or gun, so his enemies cast a silver bullet in order to murder him. According to the legends, Delyo was the son of a poor craftsman and was taught tailoring by his uncle in Yenice (Giannitsa), but upon getting to know Bulgarians from around Gümülcine (Komotini), he organized a rebel detachment to counter the Ottoman atrocities.
The most popular folk piece about Delyo is "Izlel e Delyo haydutin" ("Delyo the hajduk has gone out"), a song from the Central Rhodopes that has been recorded in various versions. The song is best known as performed by Bulgarian folk singer Valya Balkanska. It was launched into space in 1977 as part of the Voyager 1 and Voyager 2 probes' Golden Record which includes a multicultural selection of music.
References
17th-century Bulgarian people
18th-century Bulgarian people
17th-century births
18th-century deaths
People from Zlatograd
Bulgarian revolutionaries
Rhodope Mountains |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.