text
stringlengths
1
22.8M
Taiji Cave () is a karst cave located on Shilong Mountain () in Guangde County, Xuancheng City, Anhui Province, People's Republic of China, where the provinces of Jiangsu, Zhejiang and Anhui meet. Ming dynasty writer and poet Feng Menglong described the cave as one of the "Four Absolutes Under Heaven" (天下四绝 Tīanxià Sìjué). It is also considered a primary "Place of Enlightenment" (道教道场 Dàojiào Dàochǎng) by Taoists, similar to the Bodhimanda of Buddhism. The 200-million-year-old cave is divided into dry and wet layers representing the yin and yang of Chinese philosophy. In February 2004, the Chinese State Council included the cave on its fifth list of National Scenic Attractions. It is also a 4A rated National Tourism Area. Overview At in length and covering a surface area of , Taiji Cave is the largest natural limestone cave in East China. The cave's first chamber extends to and has a height of . To date nineteen separate chambers have been opened to visitors. There are more than 160 features inside the cave, including the "Ten Large Landscapes" (十大景观 Shí Dà Jǐngguān). By boat it is possible to explore the water-filled level of the cave where there are many unusual rock formations. The "Ten Large Landscapes" These interior features of the cave are largely based on their resemblance to other objects. Some are individual rock formations, whilst others are groups. Lord Laozi (太上老君 Tàishàng Lǎojūn) Dripping Water Penetrates Stone (滴水穿石 Dīshuĭ Chuānshí) Luxuriant Old Tree (槐荫古树 Huáiyìn Gŭshù) Capsized Boat of the Immortals (仙舟覆挂 Xiān Zhōu Fùguà) Twin Heavenly Towers (双塔凌霄 Shuāng Tǎ Língxiāo) Golden Dragon Coiled around Jade Pillar (金龙盘柱 Jīnlóng Pán Zhù) Yellow Mountain of the Cave (洞中黄山 Dòngzhōng Huángshān) Chamber of the Myriad Rock Formations (万象揽胜 Wànxiàng Lǎn Shèng) Mural of the Supreme Ultimate (太极壁画 Tàijí Bìhuà) Stalactite of Heaven's Eye (壶天极目 Hú Tiānjí Mù) Local places of interest Dotted around the cave there are many places of historic interest including the "Hidden Dragon Bridge" (卧龙桥 Wòlóng Qiáo) where Emperor Guangwu (5 BCE–29 CE) took refuge during the Han dynasty, the military command platform (将军台 Jiāngjūn Tái) of General Lu Meng (178–220 CE) and the "Sabre Gorge Stone" () of Song dynasty patriot Yue Fei (1103–1142 CE). Outside the cave lies the Inkstone Lake (砚池湖 Yànchí Hú), said to be the location where Song dynasty politician and writer Fan Zhongyan washed his inkstone. References Caves of Anhui Karst caves Karst formations of China Show caves in China Tourist attractions in Anhui
This is an incomplete list of notable people from Corsica or of Corsican descent. Musicians Alizée (born 1984), singer Patrick Fiori (born 1969), singer Michel Giacometti (1929-1990), ethnomusicologist who worked primarily in Portugal Jenifer (born 1982), French singer of Corsican ancestry Henry Padovani (born 1952), guitarist and singer, founder member of The Police Eddie Palmieri (born 1936), Puerto Rican pianist and composer of Corsican ancestry Antonio Paoli (1871-1946), Puerto Rican opera singer of Corsican ancestry Tino Rossi (1907-1983), singer and actor César Vezzani (1888-1951), opera singer Politicians and leaders Germaine Ahidjo (1932–2021), former First Lady of Cameroon 1960–1982, (father of Corsican ancestry) Sambucuccio d'Alando (14th century), revolutionary Diego Arria Saliceti (born 1938), Venezuelan economist, diplomat and politician of Corsican ancestry John Bernard (1893-1983), American politician of Corsican ancestry Hammuda Bey (died 1666), Bey of Tunis (Corsican parents, Murad I Bey and Yasmine) Murad I Bey (born Jacques Senti, died 1631), Bey of Tunis Mariana Bracetti, Puerto Rican independist of Corsican ancestry Aristides Calvani (1918-1986), Venezuelan politician and lawyer of Corsican ancestry César Campinchi (1882-1941), politician and lawyer Aníbal Dominici (1837-1897), Venezuelan politician and lawyer of Corsican ancestry César Campinchi (1882-1941), politician and lawyer Arthur Andrew Cipriani (1875-1945), Trinidadian politician of Corsican ancestry Giovanni Corso (died 1685), pirate and privateer Hasan Corso (born Pietro Paolo Tavera, died 1556), caliph and mayor of Algiers Pasquino Corso (died 1532), military leader Sampiero Corso (1498-1567), military leader Juan Pablo Fernandini (1793-1842), Peruvian military leader of Corsican ancestry Petru Giovacchini (1910-1955), fascist and pro-Italian collaborator in World War II Arturo Hernandez Grisanti (1928-2008), Venezuelan writer politician of Corsican ancestry| Raul Leoni (1905-1972), president of Venezuela 1964-1969, of Corsican ancestry Jaime Lusinchi (1924-2014), president of Venezuela 1984-1989, of Corsican ancestry Norodom Monineath (born Paule Monique Izzi, 1936-), former queen consort of Cambodia (father of Corsican descent) Ángel Navarro (1748-1808), early Texas settler and mayor of San Antonio José Antonio Navarro (1795-1871), Texan politician of Corsican ancestry François-Xavier Ortoli (1925-2007), politician, former President of the European Commission Pasquale Paoli (1725-1807), Corsican patriot, statesman and military leader Charles Pasqua (1927-2015), French politician of Corsican ancestry Alicia Pietri (1923-2011), public figure of Corsican ancestry who twice served as First Lady of Venezuela (1969–1974 and 1994–1999) Carlo Andrea Pozzo di Borgo (1764-1842), French politician and Russian diplomat Antoine Christophe Saliceti (1757-1809), politician, member of the National Convention during the French Revolution Norodom Sihamoni (1953-), King of Cambodia and son of Norodom Monineath Leopoldo Sucre Figarella (1926-1996), Venezuelan politician of Corsican ancestry José Antonio Velutini (1844-1912), Venezuelan military of Corsican ancestry Bonaparte family Napoléon Bonaparte (1769-1821), Emperor of France Carlo Bonaparte (1746-1785), father of Napoléon Bonaparte Caroline Bonaparte (1782-1839), sister of Napoléon Bonaparte Elisa Bonaparte (1777-1820), sister of Napoléon Bonaparte Jérôme Bonaparte (1784-1860), brother of Napoléon Bonaparte Joseph Bonaparte (1768-1844), brother of Napoléon Bonaparte Louis Bonaparte (1778-1846), brother of Napoléon Bonaparte Lucien Bonaparte (1775-1840), brother of Napoléon Bonaparte Pauline Bonaparte (1780-1825), sister of Napoléon Bonaparte Joseph Fesch (1763-1839), half-uncle of Napoléon Bonaparte Letizia Ramolino (1749-1836), mother of Napoléon Bonaparte Scientists Ignace Cardini (1566-1602), naturalist, doctor and humanist Angelo Mariani (1838-1914), chemist Andrés Antonio Pietri (1889-1956), physician Cédric Villani (1973-), French mathematician of Corsican ancestry Paul Vincensini (1896-1978), mathematician Sportspeople Maxime Chevalier (born 1999), cyclist Laurent Lokoli (born 1994), tennis player Salim Sdiri (born 1978), long jumper Football Chahir Belghazouani (born 1986), former Moroccan international Chaouki Ben Saada (born 1984), Tunisian international Rémy Cabella (born 1990), French international Dominique Colonna (born 1928), former French international Adama Diakhaby (born 1996), current player Wahbi Khazri (born 1991), Tunisian international François Modesto (born 1978), former player Pascal Olmeta (born 1961), former player Olivier Pantaloni, (born 1966), former player Charles Orlanducci (born 1951), former French international Claude Papi (1949-1983), former French international Nicolas Penneteau (born 1981), current player Adil Rami (born 1985), French international, 2018 World Cup winner Albert Vanucci (born 1947), former French international Yanis Cimignani Writers Marc Biancarelli (born 1968), writer Pedro César Dominici (1873–1954), Venezuelan writer, playwright and diplomat of Corsican ancestry Michel Ferracci-Porri (born 1949), writer Hernán Garrido Lecca (born 1960, Peruvian economist, writer of Corsican ancestry Juan Liscano (1915-2001), Venezuelan poet, writer, folklorist, editor of Corsican ancestry Francisco Massiani (1944-2019), Venezuelan writer of Corsican ancestry Arturo Uslar Pietri (1906-2001), Venezuelan writer and politician of Corsican ancestry Fashion Laetitia Casta (born 1978), French model and actress of Corsican ancestry Garance Doré (born 1975), fashion blogger Baptiste Giabiconi (born 1989), French model and singer of Corsican ancestry Miscellaneous Gaston Acurio (born 1967), Peruvian gastronomist and writer of Corsican ancestry Danielle Casanova (1909-1943), World War II Resistance heroine Vincent de Moro-Giafferi (1878-1956), French lawyer and politician of Corsican ancestry Eduardo Georgetti (1866–1937), agriculturist, businessman, philanthropist, politician and sugar baron Anita Fernandini de Naranjo (1902–1982), Peruvian heiress and politician of Corsican ancestry Antonio Liccioni (1817-1901), French gold miner entrepreneur of El Callao, Venezuela Marie-Claude Pietragalla (born 1963), French dancer and choreographer of Corsican ancestry Leon Santelli Gelormini (1844-1925), Venezuelan rum Master of Corsican ancestry Espartaco Santoni (1937-1998), Venezuelan actor of Corsican ancestry Bartolomé Tavera Acosta (1865-1931), Venezuelan historian, ethnologist, linguist and journalist of Corsican ancestry Luis Emilio Velutini (born 1953), Venezuelan businessman of Corsican ancestry See also List of Sardinians Lists of people by nationality References Corsican Corsican People from Corsica
```go /* 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. */ package v1 import ( "k8c.io/kubermatic/v2/pkg/semver" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) // +kubebuilder:validation:Enum=always;externalCloudProvider;inTreeProvider // ConditionType is the type defining the cluster or datacenter condition that must be met to block a specific version. type ConditionType string const ( // AlwaysCondition represent an always true matching condition used while checking provider incompatibilities. AlwaysCondition ConditionType = "always" // ExternalCloudProviderCondition is an incompatibility condition that represents the usage of the external Cloud Provider. ExternalCloudProviderCondition ConditionType = ClusterFeatureExternalCloudProvider // InTreeCloudProviderCondition is an incompatibility condition that represents the usage of the in-tree Cloud Provider. InTreeCloudProviderCondition ConditionType = "inTreeProvider" ) // +kubebuilder:validation:Enum=CREATE;UPGRADE;SUPPORT // OperationType is the type defining the operations triggering the compatibility check (CREATE or UPDATE). type OperationType string // +kubebuilder:validation:Enum=Addon;Cluster;ClusterBackup;Project;None // MetricsCollector is the name of an available metrics collector. type MetricsCollector string const ( // AddonCollector is addon metrics collector. AddonCollector MetricsCollector = "Addon" // ClusterBackupCollector is cluster backup metrics collector. ClusterBackupCollector MetricsCollector = "ClusterBackup" // ClusterCollector is cluster metrics collector. ClusterCollector MetricsCollector = "Cluster" // ProjectCollector is project metrics collector. ProjectCollector MetricsCollector = "Project" // NoneCollector is a special name that points to no collector. // It is used when a client wants to disable certain collectors in all seeds except for a few. NoneCollector MetricsCollector = "None" ) const ( // CreateOperation represents the creation of a new cluster. CreateOperation OperationType = "CREATE" // UpdateOperation represents the update of an existing cluster. UpdateOperation OperationType = "UPGRADE" // SupportOperation represents the possibility to enable a new feature on an existing cluster. SupportOperation OperationType = "SUPPORT" ) // +kubebuilder:object:generate=true // +kubebuilder:object:root=true // +kubebuilder:printcolumn:JSONPath=".metadata.creationTimestamp",name="Age",type="date" // KubermaticConfiguration is the configuration required for running Kubermatic. type KubermaticConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KubermaticConfigurationSpec `json:"spec,omitempty"` Status KubermaticConfigurationStatus `json:"status,omitempty"` } // KubermaticConfigurationStatus stores status information about a KubermaticConfiguration. type KubermaticConfigurationStatus struct { // KubermaticVersion current Kubermatic Version. KubermaticVersion string `json:"kubermaticVersion,omitempty"` // KubermaticEdition current Kubermatic Edition , i.e. Community Edition or Enterprise Edition. KubermaticEdition string `json:"kubermaticEdition,omitempty"` } // KubermaticConfigurationSpec is the spec for a Kubermatic installation. type KubermaticConfigurationSpec struct { // CABundle references a ConfigMap in the same namespace as the KubermaticConfiguration. // This ConfigMap must contain a ca-bundle.pem with PEM-encoded certificates. This bundle // automatically synchronized into each seed and each usercluster. APIGroup and Kind are // currently ignored. CABundle corev1.TypedLocalObjectReference `json:"caBundle,omitempty"` // ImagePullSecret is used to authenticate against Docker registries. ImagePullSecret string `json:"imagePullSecret,omitempty"` // Auth defines keys and URLs for Dex. These must be defined unless the HeadlessInstallation // feature gate is set, which will disable the UI/API and its need for an OIDC provider entirely. // +optional Auth KubermaticAuthConfiguration `json:"auth"` // FeatureGates are used to optionally enable certain features. FeatureGates map[string]bool `json:"featureGates,omitempty"` // UI configures the dashboard. UI KubermaticUIConfiguration `json:"ui,omitempty"` // API configures the frontend REST API used by the dashboard. API KubermaticAPIConfiguration `json:"api,omitempty"` // SeedController configures the seed-controller-manager. SeedController KubermaticSeedControllerConfiguration `json:"seedController,omitempty"` // MasterController configures the master-controller-manager. MasterController KubermaticMasterControllerConfiguration `json:"masterController,omitempty"` // Webhook configures the webhook. Webhook KubermaticWebhookConfiguration `json:"webhook,omitempty"` // UserCluster configures various aspects of the user-created clusters. UserCluster KubermaticUserClusterConfiguration `json:"userCluster,omitempty"` // ExposeStrategy is the strategy to expose the cluster with. // Note: The `seed_dns_overwrite` setting of a Seed's datacenter doesn't have any effect // if this is set to LoadBalancerStrategy. ExposeStrategy ExposeStrategy `json:"exposeStrategy,omitempty"` // Ingress contains settings for making the API and UI accessible remotely. Ingress KubermaticIngressConfiguration `json:"ingress,omitempty"` // Versions configures the available and default Kubernetes versions and updates. Versions KubermaticVersioningConfiguration `json:"versions,omitempty"` // VerticalPodAutoscaler configures the Kubernetes VPA integration. VerticalPodAutoscaler KubermaticVPAConfiguration `json:"verticalPodAutoscaler,omitempty"` // Proxy allows to configure Kubermatic to use proxies to talk to the // world outside of its cluster. Proxy KubermaticProxyConfiguration `json:"proxy,omitempty"` } // KubermaticAuthConfiguration defines keys and URLs for Dex. type KubermaticAuthConfiguration struct { ClientID string `json:"clientID,omitempty"` TokenIssuer string `json:"tokenIssuer,omitempty"` IssuerRedirectURL string `json:"issuerRedirectURL,omitempty"` IssuerClientID string `json:"issuerClientID,omitempty"` IssuerClientSecret string `json:"issuerClientSecret,omitempty"` IssuerCookieKey string `json:"issuerCookieKey,omitempty"` ServiceAccountKey string `json:"serviceAccountKey,omitempty"` SkipTokenIssuerTLSVerify bool `json:"skipTokenIssuerTLSVerify,omitempty"` } // KubermaticAPIConfiguration configures the dashboard. type KubermaticAPIConfiguration struct { // DockerRepository is the repository containing the Kubermatic REST API image. DockerRepository string `json:"dockerRepository,omitempty"` // DockerTag is used to overwrite the Kubermatic API Docker image tag and is only for development // purposes. This field must not be set in production environments. If DockerTag is specified then // DockerTagSuffix will be ignored. // --- //nolint:staticcheck //lint:ignore SA5008 omitgenyaml is used by the example-yaml-generator DockerTag string `json:"dockerTag,omitempty,omitgenyaml"` // DockerTagSuffix is appended to the KKP version used for referring to the custom Kubermatic API image. // If left empty, either the `DockerTag` if specified or the original Kubermatic API Docker image tag will be used. // With DockerTagSuffix the tag becomes <KKP_VERSION-SUFFIX> i.e. "v2.15.0-SUFFIX". DockerTagSuffix string `json:"dockerTagSuffix,omitempty"` // AccessibleAddons is a list of addons that should be enabled in the API. AccessibleAddons []string `json:"accessibleAddons,omitempty"` // PProfEndpoint controls the port the API should listen on to provide pprof // data. This port is never exposed from the container and only available via port-forwardings. PProfEndpoint *string `json:"pprofEndpoint,omitempty"` // Resources describes the requested and maximum allowed CPU/memory usage. Resources corev1.ResourceRequirements `json:"resources,omitempty"` // DebugLog enables more verbose logging. DebugLog bool `json:"debugLog,omitempty"` // Replicas sets the number of pod replicas for the API deployment. Replicas *int32 `json:"replicas,omitempty"` } // KubermaticUIConfiguration configures the dashboard. type KubermaticUIConfiguration struct { // DockerRepository is the repository containing the Kubermatic dashboard image. DockerRepository string `json:"dockerRepository,omitempty"` // DockerTag is used to overwrite the dashboard Docker image tag and is only for development // purposes. This field must not be set in production environments. If DockerTag is specified then // DockerTagSuffix will be ignored. // --- //nolint:staticcheck //lint:ignore SA5008 omitgenyaml is used by the example-yaml-generator DockerTag string `json:"dockerTag,omitempty,omitgenyaml"` // DockerTagSuffix is appended to the KKP version used for referring to the custom dashboard image. // If left empty, either the `DockerTag` if specified or the original dashboard Docker image tag will be used. // With DockerTagSuffix the tag becomes <KKP_VERSION-SUFFIX> i.e. "v2.15.0-SUFFIX". DockerTagSuffix string `json:"dockerTagSuffix,omitempty"` // Config sets flags for various dashboard features. Config string `json:"config,omitempty"` // Resources describes the requested and maximum allowed CPU/memory usage. Resources corev1.ResourceRequirements `json:"resources,omitempty"` // Replicas sets the number of pod replicas for the UI deployment. Replicas *int32 `json:"replicas,omitempty"` // ExtraVolumeMounts allows to mount additional volumes into the UI container. ExtraVolumeMounts []corev1.VolumeMount `json:"extraVolumeMounts,omitempty"` // ExtraVolumes allows to mount additional volumes into the UI container. ExtraVolumes []corev1.Volume `json:"extraVolumes,omitempty"` } // KubermaticSeedControllerConfiguration configures the Kubermatic seed controller-manager. type KubermaticSeedControllerConfiguration struct { // DockerRepository is the repository containing the Kubermatic seed-controller-manager image. DockerRepository string `json:"dockerRepository,omitempty"` // BackupStoreContainer is the container used for shipping etcd snapshots to a backup location. BackupStoreContainer string `json:"backupStoreContainer,omitempty"` // BackupDeleteContainer is the container used for deleting etcd snapshots from a backup location. BackupDeleteContainer string `json:"backupDeleteContainer,omitempty"` // Deprecated: BackupCleanupContainer is the container used for removing expired backups from the storage location. // This field is a no-op and is no longer used. The old backup controller it was used for has been // removed. Do not set this field. BackupCleanupContainer string `json:"backupCleanupContainer,omitempty"` // MaximumParallelReconciles limits the number of cluster reconciliations // that are active at any given time. MaximumParallelReconciles int `json:"maximumParallelReconciles,omitempty"` // PProfEndpoint controls the port the seed-controller-manager should listen on to provide pprof // data. This port is never exposed from the container and only available via port-forwardings. PProfEndpoint *string `json:"pprofEndpoint,omitempty"` // Resources describes the requested and maximum allowed CPU/memory usage. Resources corev1.ResourceRequirements `json:"resources,omitempty"` // DebugLog enables more verbose logging. DebugLog bool `json:"debugLog,omitempty"` // Replicas sets the number of pod replicas for the seed-controller-manager. Replicas *int32 `json:"replicas,omitempty"` // DisabledCollectors contains a list of metrics collectors that should be disabled. // Acceptable values are "Addon", "Cluster", "ClusterBackup", "Project", and "None". DisabledCollectors []MetricsCollector `json:"disabledCollectors,omitempty"` } // KubermaticWebhookConfiguration configures the Kubermatic webhook. type KubermaticWebhookConfiguration struct { // DockerRepository is the repository containing the Kubermatic webhook image. DockerRepository string `json:"dockerRepository,omitempty"` // PProfEndpoint controls the port the webhook should listen on to provide pprof // data. This port is never exposed from the container and only available via port-forwardings. PProfEndpoint *string `json:"pprofEndpoint,omitempty"` // Resources describes the requested and maximum allowed CPU/memory usage. Resources corev1.ResourceRequirements `json:"resources,omitempty"` // DebugLog enables more verbose logging. DebugLog bool `json:"debugLog,omitempty"` // Replicas sets the number of pod replicas for the webhook. Replicas *int32 `json:"replicas,omitempty"` } // KubermaticUserClusterConfiguration controls various aspects of the user-created clusters. type KubermaticUserClusterConfiguration struct { // KubermaticDockerRepository is the repository containing the Kubermatic user-cluster-controller-manager image. KubermaticDockerRepository string `json:"kubermaticDockerRepository,omitempty"` // DNATControllerDockerRepository is the repository containing the // dnat-controller image. DNATControllerDockerRepository string `json:"dnatControllerDockerRepository,omitempty"` // EtcdLauncherDockerRepository is the repository containing the Kubermatic // etcd-launcher image. EtcdLauncherDockerRepository string `json:"etcdLauncherDockerRepository,omitempty"` // OverwriteRegistry specifies a custom Docker registry which will be used for all images // used for user clusters (user cluster control plane + addons). This also applies to // the KubermaticDockerRepository and DNATControllerDockerRepository fields. OverwriteRegistry string `json:"overwriteRegistry,omitempty"` // Addons controls the optional additions installed into each user cluster. Addons KubermaticAddonsConfiguration `json:"addons,omitempty"` // SystemApplications contains configuration for system Applications (such as CNI). SystemApplications SystemApplicationsConfiguration `json:"systemApplications,omitempty"` // NodePortRange is the port range for user clusters - this must match the NodePort // range of the seed cluster. NodePortRange string `json:"nodePortRange,omitempty"` // Monitoring can be used to fine-tune to in-cluster Prometheus. Monitoring KubermaticUserClusterMonitoringConfiguration `json:"monitoring,omitempty"` // DisableAPIServerEndpointReconciling can be used to toggle the `--endpoint-reconciler-type` flag for // the Kubernetes API server. DisableAPIServerEndpointReconciling bool `json:"disableApiserverEndpointReconciling,omitempty"` // EtcdVolumeSize configures the volume size to use for each etcd pod inside user clusters. EtcdVolumeSize string `json:"etcdVolumeSize,omitempty"` // APIServerReplicas configures the replica count for the API-Server deployment inside user clusters. APIServerReplicas *int32 `json:"apiserverReplicas,omitempty"` // MachineController configures the Machine Controller MachineController MachineControllerConfiguration `json:"machineController,omitempty"` // OperatingSystemManager configures the image repo and the tag version for osm deployment. OperatingSystemManager OperatingSystemManager `json:"operatingSystemManager,omitempty"` } // KubermaticUserClusterMonitoringConfiguration can be used to fine-tune to in-cluster Prometheus. type KubermaticUserClusterMonitoringConfiguration struct { // DisableDefaultRules disables the recording and alerting rules. DisableDefaultRules bool `json:"disableDefaultRules,omitempty"` // DisableDefaultScrapingConfigs disables the default scraping targets. DisableDefaultScrapingConfigs bool `json:"disableDefaultScrapingConfigs,omitempty"` // CustomRules can be used to inject custom recording and alerting rules. This field // must be a YAML-formatted string with a `group` element at its root, as documented // on path_to_url // This value is treated as a Go template, which allows to inject dynamic values like // the internal cluster address or the cluster ID. Refer to pkg/resources/prometheus // and the documentation for more information on the available fields. CustomRules string `json:"customRules,omitempty"` // CustomScrapingConfigs can be used to inject custom scraping rules. This must be a // YAML-formatted string containing an array of scrape configurations as documented // on path_to_url#scrape_config. // This value is treated as a Go template, which allows to inject dynamic values like // the internal cluster address or the cluster ID. Refer to pkg/resources/prometheus // and the documentation for more information on the available fields. CustomScrapingConfigs string `json:"customScrapingConfigs,omitempty"` // ScrapeAnnotationPrefix (if set) is used to make the in-cluster Prometheus scrape pods // inside the user clusters. ScrapeAnnotationPrefix string `json:"scrapeAnnotationPrefix,omitempty"` } // MachineControllerConfiguration configures Machine Controller. type MachineControllerConfiguration struct { // ImageRepository is used to override the Machine Controller image repository. // It is only for development, tests and PoC purposes. This field must not be set in production environments. ImageRepository string `json:"imageRepository,omitempty"` // ImageTag is used to override the Machine Controller image. // It is only for development, tests and PoC purposes. This field must not be set in production environments. ImageTag string `json:"imageTag,omitempty"` } // OperatingSystemManager configures the image repo and the tag version for osm deployment. type OperatingSystemManager struct { // ImageRepository is used to override the OperatingSystemManager image repository. // It is recommended to use this field only for development, tests and PoC purposes. For production environments. // it is not recommended, to use this field due to compatibility with the overall KKP stack. ImageRepository string `json:"imageRepository,omitempty"` // ImageTag is used to override the OperatingSystemManager image. // It is recommended to use this field only for development, tests and PoC purposes. For production environments. // it is not recommended, to use this field due to compatibility with the overall KKP stack. ImageTag string `json:"imageTag,omitempty"` } // KubermaticAddonConfiguration describes the addons for a given cluster runtime. type KubermaticAddonsConfiguration struct { // Default is the list of addons to be installed by default into each cluster. // Mutually exclusive with "defaultManifests". Default []string `json:"default,omitempty"` // DefaultManifests is a list of addon manifests to install into all clusters. // Mutually exclusive with "default". DefaultManifests string `json:"defaultManifests,omitempty"` // DockerRepository is the repository containing the Docker image containing // the possible addon manifests. DockerRepository string `json:"dockerRepository,omitempty"` // DockerTagSuffix is appended to the tag used for referring to the addons image. // If left empty, the tag will be the KKP version (e.g. "v2.15.0"), with a // suffix it becomes "v2.15.0-SUFFIX". DockerTagSuffix string `json:"dockerTagSuffix,omitempty"` } // SystemApplicationsConfiguration contains configuration for system Applications (e.g. CNI). type SystemApplicationsConfiguration struct { // HelmRepository specifies OCI repository containing Helm charts of system Applications e.g. oci://localhost:5000/myrepo. HelmRepository string `json:"helmRepository,omitempty"` // HelmRegistryConfigFile optionally holds the ref and key in the secret for the OCI registry credential file. // The value is dockercfg file that follows the same format rules as ~/.docker/config.json // The Secret must exist in the namespace where KKP is installed (default is "kubermatic"). // The Secret must be annotated with `apps.kubermatic.k8c.io/secret-type:` set to "helm". HelmRegistryConfigFile *corev1.SecretKeySelector `json:"helmRegistryConfigFile,omitempty"` } type KubermaticIngressConfiguration struct { // Domain is the base domain where the dashboard shall be available. Even with // a disabled Ingress, this must always be a valid hostname. Domain string `json:"domain"` // ClassName is the Ingress resource's class name, used for selecting the appropriate // ingress controller. ClassName string `json:"className,omitempty"` // NamespaceOverride need to be set if a different ingress-controller is used than the KKP default one. NamespaceOverride string `json:"namespaceOverride,omitempty"` // Disable will prevent an Ingress from being created at all. This is mostly useful // during testing. If the Ingress is disabled, the CertificateIssuer setting can also // be left empty, as no Certificate resource will be created. Disable bool `json:"disable,omitempty"` // CertificateIssuer is the name of a cert-manager Issuer or ClusterIssuer (default) // that will be used to acquire the certificate for the configured domain. // To use a namespaced Issuer, set the Kind to "Issuer" and manually create the // matching Issuer in Kubermatic's namespace. // Setting an empty name disables the automatic creation of certificates and disables // the TLS settings on the Kubermatic Ingress. CertificateIssuer corev1.TypedLocalObjectReference `json:"certificateIssuer,omitempty"` } // KubermaticMasterControllerConfiguration configures the Kubermatic master controller-manager. type KubermaticMasterControllerConfiguration struct { // DockerRepository is the repository containing the Kubermatic master-controller-manager image. DockerRepository string `json:"dockerRepository,omitempty"` // ProjectsMigrator configures the migrator for user projects. ProjectsMigrator KubermaticProjectsMigratorConfiguration `json:"projectsMigrator,omitempty"` // PProfEndpoint controls the port the master-controller-manager should listen on to provide pprof // data. This port is never exposed from the container and only available via port-forwardings. PProfEndpoint *string `json:"pprofEndpoint,omitempty"` // Resources describes the requested and maximum allowed CPU/memory usage. Resources corev1.ResourceRequirements `json:"resources,omitempty"` // DebugLog enables more verbose logging. DebugLog bool `json:"debugLog,omitempty"` // Replicas sets the number of pod replicas for the master-controller-manager. Replicas *int32 `json:"replicas,omitempty"` } // KubermaticProjectsMigratorConfiguration configures the Kubermatic master controller-manager. type KubermaticProjectsMigratorConfiguration struct { // DryRun makes the migrator only log the actions it would take. DryRun bool `json:"dryRun,omitempty"` } // KubermaticVersioningConfiguration configures the available and default Kubernetes versions. type KubermaticVersioningConfiguration struct { // Versions lists the available versions. Versions []semver.Semver `json:"versions,omitempty"` // Default is the default version to offer users. Default *semver.Semver `json:"default,omitempty"` // Updates is a list of available and automatic upgrades. // All 'to' versions must be configured in the version list for this orchestrator. // Each update may optionally be configured to be 'automatic: true', in which case the // controlplane of all clusters whose version matches the 'from' directive will get // updated to the 'to' version. If automatic is enabled, the 'to' version must be a // version and not a version range. // Also, updates may set 'automaticNodeUpdate: true', in which case Nodes will get // updates as well. 'automaticNodeUpdate: true' implies 'automatic: true' as well, // because Nodes may not have a newer version than the controlplane. Updates []Update `json:"updates,omitempty"` // ProviderIncompatibilities lists all the Kubernetes version incompatibilities ProviderIncompatibilities []Incompatibility `json:"providerIncompatibilities,omitempty"` // ExternalClusters contains the available and default Kubernetes versions and updates for ExternalClusters. ExternalClusters map[ExternalClusterProviderType]ExternalClusterProviderVersioningConfiguration `json:"externalClusters,omitempty"` } // ExternalClusterProviderType is used to indicate ExternalCluster Provider Types. type ExternalClusterProviderType string const ( EKSProviderType ExternalClusterProviderType = "eks" GKEProviderType ExternalClusterProviderType = "gke" AKSProviderType ExternalClusterProviderType = "aks" ) // ExternalClusterProviderVersioningConfiguration configures the available and default Kubernetes versions for ExternalCluster Providers. type ExternalClusterProviderVersioningConfiguration struct { // Versions lists the available versions. Versions []semver.Semver `json:"versions,omitempty"` // Default is the default version to offer users. Default *semver.Semver `json:"default,omitempty"` // Updates is a list of available upgrades. Updates []semver.Semver `json:"updates,omitempty"` } // Update represents an update option for a user cluster. type Update struct { // From is the version from which an update is allowed. Wildcards are allowed, e.g. "1.18.*". From string `json:"from,omitempty"` // To is the version to which an update is allowed. // Must be a valid version if `automatic` is set to true, e.g. "1.20.13". // Can be a wildcard otherwise, e.g. "1.20.*". To string `json:"to,omitempty"` // Automatic controls whether this update is executed automatically // for the control plane of all matching user clusters. // --- //nolint:staticcheck //lint:ignore SA5008 omitgenyaml is used by the example-yaml-generator Automatic *bool `json:"automatic,omitempty,omitgenyaml"` // Automatic controls whether this update is executed automatically // for the worker nodes of all matching user clusters. // --- //nolint:staticcheck //lint:ignore SA5008 omitgenyaml is used by the example-yaml-generator AutomaticNodeUpdate *bool `json:"automaticNodeUpdate,omitempty,omitgenyaml"` } // Incompatibility represents a version incompatibility for a user cluster. type Incompatibility struct { // Provider to which to apply the compatibility check. // Empty string matches all providers // +kubebuilder:validation:Enum="";digitalocean;hetzner;azure;vsphere;aws;openstack;packet;gcp;kubevirt;nutanix;alibaba;anexia;fake;vmwareclouddirector Provider string `json:"provider,omitempty"` // Version is the Kubernetes version that must be checked. Wildcards are allowed, e.g. "1.25.*". Version string `json:"version,omitempty"` // Condition is the cluster or datacenter condition that must be met to block a specific version Condition ConditionType `json:"condition,omitempty"` // Operation is the operation triggering the compatibility check (CREATE or UPDATE) Operation OperationType `json:"operation,omitempty"` } // KubermaticVPAConfiguration configures the Kubernetes VPA. type KubermaticVPAConfiguration struct { Recommender KubermaticVPAComponent `json:"recommender,omitempty"` Updater KubermaticVPAComponent `json:"updater,omitempty"` AdmissionController KubermaticVPAComponent `json:"admissionController,omitempty"` } type KubermaticVPAComponent struct { // DockerRepository is the repository containing the component's image. DockerRepository string `json:"dockerRepository,omitempty"` // Resources describes the requested and maximum allowed CPU/memory usage. Resources corev1.ResourceRequirements `json:"resources,omitempty"` } // KubermaticProxyConfiguration can be used to control how the various // Kubermatic components reach external services / the Internet. These // settings are reflected as environment variables for the Kubermatic // pods. type KubermaticProxyConfiguration struct { // HTTP is the full URL to the proxy to use for plaintext HTTP // connections, e.g. "path_to_url". HTTP string `json:"http,omitempty"` // HTTPS is the full URL to the proxy to use for encrypted HTTPS // connections, e.g. "path_to_url". HTTPS string `json:"https,omitempty"` // NoProxy is a comma-separated list of hostnames / network masks // for which no proxy shall be used. If you make use of proxies, // this list should contain all local and cluster-internal domains // and networks, e.g. "10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,mydomain". // The operator will always prepend the following elements to this // list if proxying is configured (i.e. HTTP/HTTPS are not empty): // "127.0.0.1/8", "localhost", ".local", ".local.", "kubernetes", ".default", ".svc" NoProxy string `json:"noProxy,omitempty"` } // +kubebuilder:object:generate=true // +kubebuilder:object:root=true // KubermaticConfigurationList is a collection of KubermaticConfigurations. type KubermaticConfigurationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []KubermaticConfiguration `json:"items"` } ```
Shobeysheh () is a village in Buzi Rural District, in the Central District of Shadegan County, Khuzestan Province, Iran. At the 2006 census, its population was 95, in 16 families. References Populated places in Shadegan County
Jesse Donald Sumner (January 9, 1937 – December 4, 2005) was an American criminal, serial killer, and repeat prison escapee. Originally convicted for the murder of his accomplice, his long prison term was later reduced and he was paroled, after which he murdered three women in the vicinity of the Illinois State University. For the latter crimes, he was given additional long sentences, which he served until his death in 2005. Crimes and murder of Herschel Williams In the early 1960s, Sumner and his alleged accomplice, 40-year-old Herschel Williams Jr., participated in several robberies and hold-ups of various establishments, most notable of which were the Farmers State Bank in Heyworth and a credit union in Bloomington. The two supposedly had a falling out, which Sumner claimed was because Williams was threatening his wife and children. On March 25, 1963, Williams visited Sumner at his barber shop in Danville, asking him to accompany him on another robbery. After refusing and having an argument about it, he then asked for a haircut. Sumner accepted, but at one point while he was cutting Williams' hair, he slashed his throat with the razor. After cleaning up the crime scene, he stuffed the body in a 55-gallon barrel and encased it in concrete, then buried it in a landfill in Bloomington. While it initially remained undiscovered, Sumner would later be arrested and convicted for robbing the credit union and sentenced to a 2-to-5 year sentence. After finally locating the barrels on June 1, 1964, local authorities eventually charged Sumner with Williams' murder. While being escorted out of the jail in Springfield, he attempted to escape but was caught after mere minutes. Prosecution and sentence While Sumner denied having anything to do with the murder, the prosecution provided a plethora of evidence that contradicted his claims. Chief among them was the fact that he had bought two barrels and that the body was later found in one of them; that the body was positively identified as Williams' by his wife, who recognized a wallet found on it; and the testimony of two inmates at the Pontiac Correctional Center, Larry F. Myers and John Curtis, who claimed that Sumner had repeatedly told them that he had killed Williams. In response, Sumner's attorney accused Myers and Curtis of providing contradicting statements as to when they started believing Sumner's claims and that they had been offered lax treatment by prison guards in exchange for testifying against his client. In the end, a circuit court judge found Sumner to be guilty of the murder charge. Three months later, at his sentencing hearing, Sumner was given a sentence of 35-to-75 years imprisonment. Parole and new murders Parole and supervision Sumner appealed his conviction after his incarceration, and in 1969, the Supreme Court of Illinois ruled in favor of him and overturned the conviction. Unwilling to proceed with a new trial, he pleaded guilty to the lesser charge of voluntary manslaughter, with his sentence being reduced to 10-to-15 years. However, due to his good behavior in prison, he was eligible for parole after serving 6.5 years. In January 1972, Sumner was finally paroled, on the condition that he be closely monitored. By the end of the month, he had found employment and was considered a helpful worker by his employer, in addition to enrolling as a junior at the Illinois State University. From February to July of that year, his state parole officer, Robert Drucker, stated that Sumner regularly reported all the necessary activities he had to and was seemingly forthcoming with his issues, including that he had gone on a vacation to Casper, Wyoming and planned to visit Decatur. On the other hand, federal parole officers were slightly more concerned with how he was handled, as the head of the Federal Parole Office in the Southern District of Illinois, Gilbert Scheller, noted that two months was not long enough for Drucker to deem Sumner as "rehabilitated". Despite this, Jack Watters, the federal parole officer assigned to Sumner, also said that he had no major issues with him and that Sumner wrote reports about his activities on a regular basis. Murders Unbeknownst to his parole officers, Sumner had begun to predate on co-eds that attended the Illinois State University. First among them as 19-year-old Doreen Marie Burchie, who disappeared on April 19, 1972. Her body was found in a shallow grave near Maroa on the following day, having apparently been strangled to death. On December 22, 20-year-old Rae Ann Schneider, a drive-in waitress working the night shift at a Steak 'n Shake in Normal, disappeared shortly after leaving her workplace. This was soon followed by the disappearance of another co-ed, 18-year-old Dawn Marie Huwe, who vanished near a bus stop near the ISU campus on May 28, 1973. At the time, it was unclear what exactly had happened to the two women, as there were no clues as to their whereabouts. Arrest and prosecution On July 19, Sumner was arrested on a parole violation charge after his wife reported that he had beaten her to such an extent that required her to be hospitalized. During his incarceration, he was interrogated by the McLean County Sheriff John W. King in relation to the recent disappearances, and was asked to undergo a polygraph test. His inconsistent and evasive answers eventually led authorities to believe he might be involved in the disappearance of Huwe, and possibly the other two women as well. However, Sumner was not charged immediately, as investigators decided to look into the matter a bit more - in the meantime, he was charged with an unrelated count of aggravated incest stemming from the sexual abuse of his daughter. On August 4, just two days after his incest charge, Sumner contacted the sheriffs and offered to lead them to where he had buried the bodies of Schneider and Huwe. After initially failing to locate them, Sumner eventually led them to the burial sites - the first being under his garage at the family home in Stanford, and the other being a ditch west of Danvers. Both women's remains showed signs of blunt force trauma, and were positively identified as belonging to Schneider and Huwe through their dental records. As a result, King soon signed two complaints charging Sumner with several counts of murder, intent to commit murder and causing grievous bodily harm for both killings. Just a day later, he was arraigned on similar charges for the murder of Burchie. Incarceration and escape attempts While awaiting trial on the murder charges, Sumner attempted to escape by sawing through the bars of his cell, but was caught before he could make any substantial dents on it. Fearing that he might attempt it again, he was then temporarily moved to the more secure Cook County Jail in Chicago. On the way there, he tried to steal a deputy's pistol, but was again thwarted. During this incarceration in Chicago, his public defender Marvin Gaselle requested a competency hearing for Sumner, which was accepted, but the results were never revealed to the public. A few weeks later, a jury indicted Sumner for the murders of Huwe and Schneider. During his pre-trial hearings, he pleaded not guilty on all counts. On September 19, Sumner and two other inmates at the McLean County Jail, Charles E. Nester and Michael R. Clark, attempted to escape by digging a hole through the jail's west wall, but were stopped by the jail guards. Trial During another hearing, Gaselle filed a motion for the charges against his client to be dismissed, citing comments from Sheriff King that Huwe and Schneider may have been killed in Tazewell County, not McLean County - as per Illinois law at the time, this necessitated that he be moved to the respective county the crimes were committed in. This motion was granted, in addition to a continuance in relation to the remaining charges, as Gaselle could not attend trial at the designated date and would thus be unprepared in building a defense for his client. On November 14, the Circuit Court in Tazewell County indicted Sumner for the murders of Huwe and Schneider. While awaiting trial at the Tazewell County Jail, Sumner attempted to escape yet again, this time by sawing through his cell door with a sharpened piece of metal. While he failed to get past the lockup area, he managed to cut deputy sheriff Ronald Parker several times on the throat, for which Parker had to be treated at a hospital. As a result of this, Sumner was lodged in a maximum-security cell, had his visitor privileges suspended and was additionally charged with attempted murder, aggravated battery, criminal damage to property and attempted escape. When his trial finally began in September 1974, Sumner unexpectedly pleaded guilty to killing Huwe and Schneider. As a result, he would receive two consecutive 100-to-200 years terms, on top of a 50-to-100 year sentence he would later be given for the murder of Burchie. Prison assault On February 10, 1981, while serving his sentences at the Menard Correctional Center in Chester, Sumner was walking on a sidewalk in the central area when he was suddenly ambushed by another inmate, triple murderer Michael Drabing, who then stabbed him with a shank. Sumner's injuries required 17 stitches and he was hospitalized for a week, but would later fully recover from the attack. While a full explanation behind the attack was never given, Drabing claimed that it was in self-defense - he admitted to being the instigator, but claimed that Sumner was in possession of the shank. His claims were not believed, and Drabing was given an additional 30-year sentence for attempted murder and armed violence, to be served concurrently with his already existing sentences. Parole hearing and final escape attempt In 1983, Sumner attended a parole hearing, in which he notably refused to testify and requested that the press be barred from attending, with the latter request being denied. Relatives of his victims urged that his applications for parole be denied, as most of them believed that he could not be rehabilitated and would still pose a danger if he was let out. In 1988, Sumner was scheduled to go to a doctor's office in Joliet to be fitted with a hearing aid. On the way, he used a homemade pistol to keep the two guards and an office employee hostage before fleeing to southern Kendall County, where he released one of the officers and the employee. He then accosted a random passer-by and held him as a hostage until he reached Hinckley, where he released him as well. Somewhere along the way, he stole a red 1979 Chevrolet truck and started driving towards Sycamore, where he was arrested by local sheriffs. The sole remaining hostage managed to jump out of his truck, suffering minor injuries in the process. Family members of his victims were horrified after hearing about the escape, and later criticized about how lax the security handling the transport was. Death For the rest of his life, Sumner remained incarcerated at the Stateville Correctional Center in Crest Hill, until he passed away from an undisclosed illness on December 4, 2005. His death came as a surprise to some of his victims' and the investigators' relatives, who believed that he had died years prior. See also List of serial killers in the United States References External links FindAGrave 1937 births 2005 deaths 20th-century American criminals American escapees American male criminals American people convicted of assault American people convicted of attempted murder American people convicted of manslaughter American people convicted of murder American people convicted of robbery American prisoners sentenced to life imprisonment American serial killers Criminals from Illinois People convicted of incest People convicted of murder by Illinois People from McLean County, Illinois Prison escapes Prisoners sentenced to life imprisonment by Illinois Prisoners who died in Illinois detention Serial killers from Illinois Serial killers who died in prison custody Violence against women in the United States
```java /* * * * 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. */ package com.googlecode.mp4parser.authoring; import com.coremedia.iso.boxes.*; import java.nio.ByteBuffer; import java.util.List; /** * Represents a Track. A track is a timed sequence of related samples. * <p/> * <b>NOTE: </b><br/ * For media data, a track corresponds to a sequence of images or sampled audio; for hint tracks, a track * corresponds to a streaming channel. */ public interface Track { SampleDescriptionBox getSampleDescriptionBox(); List<TimeToSampleBox.Entry> getDecodingTimeEntries(); List<CompositionTimeToSample.Entry> getCompositionTimeEntries(); long[] getSyncSamples(); List<SampleDependencyTypeBox.Entry> getSampleDependencies(); TrackMetaData getTrackMetaData(); String getHandler(); boolean isEnabled(); boolean isInMovie(); boolean isInPreview(); boolean isInPoster(); List<ByteBuffer> getSamples(); public Box getMediaHeaderBox(); public SubSampleInformationBox getSubsampleInformationBox(); } ```
Firdaus Bin Mohamed Kassim is a Singaporean football manager who manages Hougang United. Career In 2016, Firdaus was appointed assistant manager of Thai side Chainat. After that, he was appointed assistant manager of Singapore. In 2018, he was appointed assistant manager of Laos. In 2022, Firdaus was appointed manager of Hougang United in Singapore, helping them win the 2022 Singapore Cup, their first major trophy. On 17 April, Kassim was removed as head coach for the team after the team failed to win any matches since they won the opening match in the 2023 Singapore Premier League season. Marko Kraljević, the head of youth at Hougang United took over as interim head coach while Firdaus became the head of youth. Career statistics Managerial References Expatriate football managers in Laos Expatriate football managers in Thailand Hougang United FC managers Living people Singapore Premier League managers Singaporean expatriate football managers Singaporean expatriate sportspeople in Laos Singaporean expatriate sportspeople in Thailand Singaporean football managers Year of birth missing (living people)
```c /* * Aerohive BR200-WP Board Setup * * Based on: * hiveap-330.c: * Aerohive HiveAP-330 Board Setup */ #include <linux/stddef.h> #include <linux/kernel.h> #include <linux/delay.h> #include <linux/interrupt.h> #include <linux/of_platform.h> #include <asm/time.h> #include <asm/machdep.h> #include <asm/pci-bridge.h> #include <mm/mmu_decl.h> #include <asm/prom.h> #include <asm/udbg.h> #include <asm/mpic.h> #include <sysdev/fsl_soc.h> #include <sysdev/fsl_pci.h> #include "smp.h" #include "mpc85xx.h" void __init br200_wp_pic_init(void) { struct mpic *mpic; mpic = mpic_alloc(NULL, 0, MPIC_BIG_ENDIAN | MPIC_SINGLE_DEST_CPU, 0, 256, " OpenPIC "); BUG_ON(mpic == NULL); mpic_init(mpic); } /* * Setup the architecture */ static void __init br200_wp_setup_arch(void) { if (ppc_md.progress) ppc_md.progress("br200_wp_setup_arch()", 0); fsl_pci_assign_primary(); pr_info("br200-wp board from Aerohive\n"); } machine_arch_initcall(br200_wp, mpc85xx_common_publish_devices); /* * Called very early, device-tree isn't unflattened */ static int __init br200_wp_probe(void) { if (of_machine_is_compatible("aerohive,br200-wp")) return 1; return 0; } define_machine(br200_wp) { .name = "P1020 RDB", .probe = br200_wp_probe, .setup_arch = br200_wp_setup_arch, .init_IRQ = br200_wp_pic_init, #ifdef CONFIG_PCI .pcibios_fixup_bus = fsl_pcibios_fixup_bus, .pcibios_fixup_phb = fsl_pcibios_fixup_phb, #endif .get_irq = mpic_get_irq, .calibrate_decr = generic_calibrate_decr, .progress = udbg_progress, }; ```
Coonskin may refer to: The skin of a raccoon Coonskin cap, a type of hat Coonskin (film), a 1975 animated film by Ralph Bakshi
```css How to easily check browser compatibility of a feature Make text unselectable Default to a transparent `border-color` before adding a border to on `:hover` state elements Hexadecimal color system Use `SVG` for icons ```
```glsl module Fable.Tests.RecordTypes open Util.Testing #if FABLE_COMPILER open Fable.Core #endif type RecursiveRecord = { things : RecursiveRecord list } type Person = { name: string; mutable luckyNumber: int } member x.LuckyDay = x.luckyNumber % 30 member x.SignDoc str = str + " by " + x.name type JSKiller = { ``for`` : float; ``class`` : float } type JSKiller2 = { ``s p a c e`` : float; ``s*y*m*b*o*l`` : float } type Child = { a: string; b: int } member x.Sum() = (int x.a) + x.b type Parent = { children: Child[] } member x.Sum() = x.children |> Seq.sumBy (fun c -> c.Sum()) type MutatingRecord = { uniqueA: int; uniqueB: int } type Id = Id of string let inline replaceById< ^t when ^t : (member Id : Id)> (newItem : ^t) (ar: ^t[]) = Array.map (fun (x: ^t) -> if (^t : (member Id : Id) newItem) = (^t : (member Id : Id) x) then newItem else x) ar let makeAnonRec() = {| X = 5; Y = "Foo"; F = fun x y -> x + y |} type Time = static member inline duration(value: {| from: int; until: int |}) = value.until - value.from static member inline duration(value: {| from: int |}) = Time.duration {| value with until = 10 |} type CarInterior = { Seats: int } type Car = { Interior: CarInterior } let tests = testList "RecordTypes" [ testCase "Anonymous records work" <| fun () -> let r = makeAnonRec() sprintf "Tell me %s %i times" r.Y (r.F r.X 3) |> equal "Tell me Foo 8 times" let x = {| Foo = "baz"; Bar = 23 |} let y = {| Foo = "baz" |} x = {| y with Bar = 23 |} |> equal true // x = {| y with Baz = 23 |} |> equal true // Doesn't compile x = {| y with Bar = 14 |} |> equal false testCase "Anonymous records can have optional fields" <| fun () -> let add (o: {| bar: int option; zas: string option; foo: int option option |}) = let bar = o.bar |> Option.map string |> Option.defaultValue "-" let zas = defaultArg o.zas "" let foo = match o.foo with Some(Some i) -> string i | Some None -> "xx" | None -> "x" bar + zas + foo {| bar = Some 3; zas = Some "ooooo"; foo = Some None |} |> add |> equal "3oooooxx" {| bar = Some 22; zas = Some ""; foo = Some(Some 999) |} |> add |> equal "22999" {| bar = None; zas = None; foo = None |} |> add |> equal "-x" {| foo = Some None; bar = None; zas = None |} |> add |> equal "-xx" testCase "Anonymous records can have optional function fields" <| fun () -> let add (o: {| bar: (int -> int -> int) option; foo: int -> int -> int |}) = let fn = o.bar let f1 = fn |> Option.map (fun f -> f 6 9) |> Option.defaultValue -3 let f2 = match fn with Some f -> f 1 8 | None -> -5 o.foo 3 4 + f1 + f2 {| bar = Some (+); foo = (*) |} |> add |> equal 36 {| bar = None; foo = (+) |} |> add |> equal -1 testCase "SRTP works with anonymous records" <| fun () -> let ar = [| {|Id=Id"foo"; Name="Sarah"|}; {|Id=Id"bar"; Name="James"|} |] replaceById {|Id=Id"ja"; Name="Voll"|} ar |> Seq.head |> fun x -> equal "Sarah" x.Name replaceById {|Id=Id"foo"; Name="Anna"|} ar |> Seq.head |> fun x -> equal "Anna" x.Name testCase "Overloads with anonymous record arguments don't have same mangled name" <| fun () -> Time.duration {| from = 1 |} |> equal 9 Time.duration {| from = 1; until = 5 |} |> equal 4 testCase "Anonymous record execution order" <| fun () -> let mutable x = 2 let record = {| C = (x <- x * 3; x) B = (x <- x + 5; x) A = (x <- x / 2; x) |} record.A |> equal 5 record.B |> equal 11 record.C |> equal 6 testCase "Recursive record does not cause issues" <| fun () -> let r = { things = [ { things = [] } ] } equal r.things.Length 1 testCase "Record property access can be generated" <| fun () -> let x = { name = "Alfonso"; luckyNumber = 7 } equal "Alfonso" x.name equal 7 x.luckyNumber x.luckyNumber <- 14 equal 14 x.luckyNumber testCase "Record methods can be generated" <| fun () -> let x = { name = "Alfonso"; luckyNumber = 54 } equal 24 x.LuckyDay x.SignDoc "Hello World!" |> equal "Hello World! by Alfonso" testCase "Record expression constructors can be generated" <| fun () -> let x = { name = "Alfonso"; luckyNumber = 7 } let y = { x with luckyNumber = 14 } equal "Alfonso" y.name equal 14 y.luckyNumber testCase "Records with key/reserved words are mapped correctly" <| fun () -> let x = { ``for`` = 1.0; ``class`` = 2.0 } equal 2. x.``class`` testCase "Records with special characters are mapped correctly" <| fun () -> let x = { ``s p a c e`` = 1.0; ``s*y*m*b*o*l`` = 2.0 } equal 1. x.``s p a c e`` equal 2. x.``s*y*m*b*o*l`` testCase "Mutating records work" <| fun () -> let x = { uniqueA = 10; uniqueB = 20 } equal 10 x.uniqueA equal 20 x.uniqueB let uniqueB' = -x.uniqueB let x' = { x with uniqueB = uniqueB' } equal 10 x.uniqueA equal 10 x'.uniqueA equal -20 x'.uniqueB let x'' = { x' with uniqueA = -10 } equal -10 x''.uniqueA equal -20 x''.uniqueB testCase "Nested record field copy and update works for records" <| fun () -> let car = { Interior = { Seats = 4 } } let car2 = { car with Interior.Seats = 5 } equal 5 car2.Interior.Seats testCase "Nested record field copy and update works for anonymous records" <| fun () -> let car = {| Interior = {| Seats = 4 |} |} let car2 = {| car with Interior.Seats = 5 |} equal 5 car2.Interior.Seats ] ```
The 1978–79 Bradford City A.F.C. season was the 66th in the club's history. The club finished 15th in Division Four, reached the 2nd round of the FA Cup, and the 2nd round of the League Cup. Sources References Bradford City A.F.C. seasons Bradford City
```css /**/ /**/ .button{ -fx-border-width: 0; -fx-background-color: null; } .button:focused:hover{ -fx-background-color: #eee5; } .ui{ //-fx-min-width, -fx-pref-width, -fx-max-width -fx-pref-width:960; -fx-pref-height:300; -fx-background-color:null; } /**/ .button_menu_1 { -fx-pref-width:260; -fx-pref-height:135; -fx-border-radius: 5; -fx-border-width: 0; -fx-border-color : null; -fx-alignment: TOP_LEFT; -fx-font-family: "Microsoft YaHei"; -fx-font-size: 21px; -fx-text-fill: white; -fx-background-color: #eee5; } .button_menu_1:hover, .button_menu_1:pressed{ -fx-text-fill: red; -fx-background-color:eee2; //-fx-effect:innershadow(three-pass-box, red, 10, 0.5, 0, 0); } .button_menu_2 { -fx-pref-width:260; -fx-pref-height:48; -fx-border-radius: 5; -fx-border-width: 0; -fx-border-color : null; -fx-alignment: TOP_LEFT; -fx-font-family: "Microsoft YaHei"; -fx-font-size: 21px; -fx-text-fill: white; -fx-background-color: #eee5; } .button_menu_2:hover, .button_menu_2:pressed{ -fx-text-fill: red; -fx-background-color:eee2; } .button_menu_3 { -fx-pref-width:260; -fx-border-radius: 5; -fx-border-width: 0; -fx-border-color : null; -fx-alignment: TOP_LEFT; -fx-font-family: "Microsoft YaHei"; -fx-font-size: 21px; -fx-text-fill: white; -fx-background-color: #eee5; } .button_menu_3:hover, .button_menu_3:pressed{ -fx-text-fill: red; -fx-background-color:eee2; } .text_desc{ -fx-font-family: "Microsoft YaHei"; -fx-font-size: 12px; -fx-fill:white; -fx-text-fill: white; -fx-max-width: 20px; } /*Home*/ .button_home{ -fx-background-radius: 5; -fx-border-style: null; -fx-background-color: null; -fx-background-image:url('../res/white_icon/white_icon_Home.png'); -fx-background-position: center center; -fx-background-repeat:no-repeat; } /**/ .button_setting{ -fx-background-radius: 5; -fx-border-style: null; -fx-background-color: null; -fx-background-image:url('../res/white_icon/white_icon_Engine.png'); -fx-background-position: center center; -fx-background-repeat:no-repeat; } /**/ .button_personal{ -fx-background-radius: 5; -fx-border-style: null; -fx-background-color: null; -fx-background-image:url('../res/white_icon/white_icon_User.png'); -fx-background-position: center center; -fx-background-repeat:no-repeat; } /**/ .button_open_app_out_dir{ -fx-background-radius: 5; -fx-border-style: null; -fx-background-color: null; -fx-background-image:url('../res/white_icon/white_icon_File.png'); -fx-background-position: center center; -fx-background-repeat:no-repeat; } /**/ .button_open_out_dir{ -fx-background-radius: 5; -fx-border-style: null; -fx-background-color: null; -fx-background-image:url('../res/white_icon/white_icon_Location2.png'); -fx-background-position: center center; -fx-background-repeat:no-repeat; -fx-background-size: 15,15; } .button_open_file{ -fx-background-radius: 5; -fx-border-style: null; -fx-background-color: null; -fx-background-image:url('../res/white_icon/white_icon_Search.png'); -fx-background-position: center center; -fx-background-repeat:no-repeat; -fx-background-size: 18,18; } .button_proguard_help{ -fx-background-radius: 5; -fx-border-style: null; -fx-background-color: null; -fx-background-image:url('../res/white_icon/white_icon_Info.png'); -fx-background-position: center center; -fx-background-repeat:no-repeat; -fx-background-size: 12,20; } /*tooltip*/ .tooltip_button{ -fx-font-family: "Microsoft YaHei"; -fx-font-size: 12px; -fx-text-fill: white; } /*debug*/ .button_debug{ -fx-background-radius: 5; -fx-border-style: null; -fx-background-color: null; -fx-background-image:url('../res/bug_green.png'); -fx-background-position: center center; -fx-background-repeat:no-repeat; } /**/ .button_back{ -fx-background-radius: 100; -fx-border-radius: 100; -fx-border-width: 2; -fx-border-color : white; -fx-background-color: transparent; -fx-background-insets: 0; -fx-border-insets: 0; -fx-background-image:url('../res/white_icon/white_icon_LeftArrow.png'); -fx-background-position: center center; -fx-background-repeat:no-repeat; } ```
Prabath de Zoysa (born 24 October 1999) is a Sri Lankan cricketer. He made his first-class debut for Sebastianites Cricket and Athletic Club in Tier B of the 2019–20 Premier League Tournament on 6 February 2020. He made his List A debut on 11 November 2021, for Galle Cricket Club in the 2021–22 Major Clubs Limited Over Tournament. References External links 1999 births Living people Sri Lankan cricketers Galle Cricket Club cricketers Sebastianites Cricket and Athletic Club cricketers Cricketers from Colombo
Szamotuły () is a town in western Poland, in Greater Poland Voivodeship, about northwest of the centre of Poznań. It is the seat of Szamotuły County and of the smaller administrative district Gmina Szamotuły. The population was 19,090 in 2011. History Szamotuły was probably founded in the 11th century, and was first mentioned in documents in 1231. Duke Przemysł I of Greater Poland established local fairs before 1257. Szamotuły was granted town rights in 1383 or earlier. It was a private town of Polish nobility, administratively located in the Poznań County in the Poznań Voivodeship in the Greater Poland Province of the Polish Crown. During the joint German-Soviet invasion of Poland, which started World War II in September 1939, the town was invaded and then occupied by Germany. On September 12, 1939, the German Einsatzgruppe VI entered the town to commit various atrocities against Poles as part of the Intelligenzaktion. The Germans carried out mass arrests of local Poles under the pretext of "gathering, plotting, mistreating the Volksdeutsche and anti-German activity". Arrested Poles from the town and county were imprisoned in a newly established Nazi prison, and then hundreds were massacred in the nearby Bytyń, Kobylniki and forests between October 1939 and January 1940. On October 12–13 and December 13, 1939, the Germans also carried out public executions of Poles in the town. In December 1939, the Germans carried out first expulsions of Polish intelligentsia and owners of shops and workshops, which were then handed over to German colonists as part of the Lebensraum policy. Further expulsions of Poles were carried out in 1940–1941 and 1944. Despite such circumstances, the Polish resistance movement was active in the town, and structures of the Polish Underground State were organized. The Germans also destroyed the pre-war monument of Polish insurgents of the Greater Poland Uprising. In 1945 the German occupation ended and the town was restored to Poland, although with a Soviet-installed communist regime, which remained in power until the Fall of Communism in the 1980s. In June 1945, the Home Army carried out a successful attack on a communist prison and liberated captured resistance members. Sports The local football club is Sparta Szamotuły. It competes in the lower leagues. Notable people Wacław z Szamotuł (1520s-1560s), composer and writer John Jonston (1603-1675), natural scientist and historian Siegmund Lubszynski (Lubin) (1841-1923), American film pioneer, the first Jewish "Movie Mogul" Philipp Scharwenka (1847-1917), composer and music educator Xaver Scharwenka (1850-1924), composer and pianist Hans Georg Friedrich Groß (1860-1924), German balloonist and airship constructor Alexander Hollaender (1898–1986), scientist Maksymilian Ciężki (1899-1951), cryptographer Ernst Wellmann (1904–1970), Wehrmacht officer Małgorzata Braunek (1947-2014), actress International relations Twin towns – Sister cities Szamotuły is twinned with: Gallery References External links Official city webpage Cities and towns in Greater Poland Voivodeship Szamotuły County Poznań Voivodeship (1921–1939)
```swift // // Cache.swift // SwiftLinkPreview // // Created by Yehor Popovych on 1/17/17. // import Foundation public protocol Cache { func slp_getCachedResponse(url: String) -> Response? func slp_setCachedResponse(url: String, response: Response?) } public class DisabledCache: Cache { public static let instance = DisabledCache() public func slp_getCachedResponse(url: String) -> Response? { return nil; } public func slp_setCachedResponse(url: String, response: Response?) { } } open class InMemoryCache: Cache { private var cache = Dictionary<String, (response: Response, date: Date)>() private let invalidationTimeout: TimeInterval private let cleanupTimer: DispatchSource? //High priority queue for quick responses private static let cacheQueue = DispatchQueue(label: "SwiftLinkPreviewInMemoryCacheQueue", qos: .userInitiated, target: DispatchQueue.global(qos: .userInitiated)) public init(invalidationTimeout: TimeInterval = 300.0, cleanupInterval: TimeInterval = 10.0) { self.invalidationTimeout = invalidationTimeout self.cleanupTimer = DispatchSource.makeTimerSource(queue: type(of: self).cacheQueue) as? DispatchSource self.cleanupTimer?.schedule(deadline: .now() + cleanupInterval, repeating: cleanupInterval) self.cleanupTimer?.setEventHandler { [weak self] in guard let sself = self else {return} sself.cleanup() } self.cleanupTimer?.resume() } open func cleanup() { type(of: self).cacheQueue.async { for (url, data) in self.cache { if data.date.timeIntervalSinceNow >= self.invalidationTimeout { self.cache[url] = nil } } } } open func slp_getCachedResponse(url: String) -> Response? { return type(of: self).cacheQueue.sync { guard let response = cache[url] else { return nil } if response.date.timeIntervalSinceNow >= invalidationTimeout { slp_setCachedResponse(url: url, response: nil) return nil } return response.response } } open func slp_setCachedResponse(url: String, response: Response?) { type(of: self).cacheQueue.sync { if let response = response { cache[url] = (response, Date()) } else { cache[url] = nil } } } deinit { self.cleanupTimer?.cancel() } } ```
Álvaro Santamaría may refer to: Álvaro Santamaría (footballer, born 1950), Colombian football forward Álvaro Santamaría (footballer, born 2001), Spanish football forward
```javascript import 'vtk.js/Sources/favicon'; // Load the rendering pieces we want to use (for both WebGL and WebGPU) import 'vtk.js/Sources/Rendering/Profiles/Volume'; import vtkColorTransferFunction from 'vtk.js/Sources/Rendering/Core/ColorTransferFunction'; import vtkFullScreenRenderWindow from 'vtk.js/Sources/Rendering/Misc/FullScreenRenderWindow'; import vtkSLICSource from 'vtk.js/Sources/Filters/Sources/SLICSource'; import vtkPiecewiseFunction from 'vtk.js/Sources/Common/DataModel/PiecewiseFunction'; import vtkVolume from 'vtk.js/Sources/Rendering/Core/Volume'; import vtkVolumeMapper from 'vtk.js/Sources/Rendering/Core/VolumeMapper'; // your_sha256_hash------------ // Standard rendering code setup // your_sha256_hash------------ const fullScreenRenderer = vtkFullScreenRenderWindow.newInstance({ background: [0, 0, 0], }); const renderer = fullScreenRenderer.getRenderer(); const renderWindow = fullScreenRenderer.getRenderWindow(); // your_sha256_hash------------ // Example code // your_sha256_hash------------ // Server is not sending the .gz and with the compress header // Need to fetch the true file name and uncompress it locally // your_sha256_hash------------ const NB_CLUSTERS = 20; const GRID_SIZE = [256, 256, 10]; const source = vtkSLICSource.newInstance({ dimensions: GRID_SIZE }); for (let i = 0; i < NB_CLUSTERS; i++) { const x = Math.random() * GRID_SIZE[0]; const y = Math.random() * GRID_SIZE[1]; const z = Math.random() * GRID_SIZE[2]; const fnConst = Math.random() * NB_CLUSTERS; const sx = Math.random() * 2 - 1; const sy = Math.random() * 2 - 1; const sz = Math.random() * 2 - 1; source.addCluster(x, y, z, fnConst, sx, sy, sz); } const colorBy = source.getScalarArrayName(); // cluster field const dataRange = [-NB_CLUSTERS, NB_CLUSTERS]; const imageData = source.getOutputData(); imageData.getPointData().setScalars(imageData.getPointData().getArray(colorBy)); console.log(imageData); const actor = vtkVolume.newInstance(); const mapper = vtkVolumeMapper.newInstance(); mapper.setSampleDistance(0.7); actor.setMapper(mapper); // create color and opacity transfer functions const ctfun = vtkColorTransferFunction.newInstance(); ctfun.addRGBPoint(dataRange[0], 1, 0, 0); ctfun.addRGBPoint((dataRange[0] + dataRange[1]) * 0.5, 0, 0, 0.2); ctfun.addRGBPoint(dataRange[1], 0, 1.0, 1); const ofun = vtkPiecewiseFunction.newInstance(); ofun.addPoint(dataRange[0], 0); ofun.addPoint((dataRange[0] + dataRange[1]) * 0.5, 1); ofun.addPoint(dataRange[1], 0); actor.getProperty().setRGBTransferFunction(0, ctfun); // actor.getProperty().setScalarOpacity(0, ofun); actor.getProperty().setScalarOpacityUnitDistance(0, 4.5); actor.getProperty().setInterpolationTypeToLinear(); actor.getProperty().setAmbient(0.2); actor.getProperty().setDiffuse(0.7); actor.getProperty().setSpecular(0.3); actor.getProperty().setSpecularPower(8.0); mapper.setInputData(imageData); renderer.addVolume(actor); renderer.resetCamera(); renderWindow.render(); // ----------------------------------------------------------- // Make some variables global so that you can inspect and // modify objects in your browser's developer console: // ----------------------------------------------------------- global.source = source; global.mapper = mapper; global.actor = actor; global.ctfun = ctfun; global.renderer = renderer; global.renderWindow = renderWindow; ```
The 2019 1000Bulbs.com 500 was a Monster Energy NASCAR Cup Series race that was held on October 13–14, 2019 at Talladega Superspeedway in Lincoln, Alabama. Contested over 188 laps on the 2.66 mile (4.2 km) superspeedway, it was the 31st race of the 2019 Monster Energy NASCAR Cup Series season, the fifth race of the Playoffs, and second race of the Round of 12. Ryan Blaney scored his first win of the season and third of his career edging out Ryan Newman by .007 seconds becoming the 6th closest finish in NASCAR history. Report Background Talladega Superspeedway, originally known as Alabama International Motor Superspeedway (AIMS), is a motorsports complex located north of Talladega, Alabama. It is located on the former Anniston Air Force Base in the small city of Lincoln. The track is a tri-oval and was constructed in the 1960s by the International Speedway Corporation, a business controlled by the France family. Talladega is most known for its steep banking and the unique location of the start/finish line that's located just past the exit to pit road. The track currently hosts the NASCAR series such as the Monster Energy NASCAR Cup Series, Xfinity Series and the Gander Outdoors Truck Series. Talladega is the longest NASCAR oval with a length of tri-oval like the Daytona International Speedway, which also is a tri-oval. Entry list (i) denotes driver who are ineligible for series driver points. (R) denotes rookie driver. Practice First practice Denny Hamlin was the fastest in the first practice session with a time of 46.734 seconds and a speed of . Final practice Clint Bowyer was the fastest in the final practice session with a time of 47.396 seconds and a speed of . Qualifying Chase Elliott scored the pole for the race with a time of 49.692 and a speed of . Qualifying results Race Note: Stage 1 was held on Sunday, October 13, but the race was interrupted by rain after 57 laps. Stages 2 and 3 were completed on Monday, October 14. Stage 1 Starting in 6th, Brad Keselowski charged his way from the front and led the first lap taking the lead away from pole sitter Chase Elliott with a push from Clint Bowyer. On lap 5, Austin Dillon took the lead but was soon passed by Kyle Busch on the same lap. On lap 7, Dillon would take the lead. On the next lap, Kyle's brother Kurt Busch took the lead from Dillon. On lap 19, Ryan Blaney took the lead. On lap 34, green flag pitstops began and Blaney gave the lead to Erik Jones. But coming to pit road, Blaney would spin on his way to pit road while he was trying to slow down his car. No caution flew as he was out of harms way and got back rolling again. Jones would give the lead on the next lap to Aric Almirola. The top 7 who did not pit came to pit road on the next lap and Brad Keselowski led the field off of pit road before the first caution flew on lap 37 after they just exited pit road when Spencer Boyd's car stalled in turn 4. Keselowski would lead the field to the restart on lap 41. On the restart, Ryan Newman took the lead from Keselowski with a push by Joey Logano. Keselowski retook the lead on lap 44. On lap 46, Kurt Busch would take the lead. On lap 47, Chase Elliott took the lead. On lap 50, Daniel Hemric took the lead from Elliott. On lap 51, William Byron took the lead from Hemric. On lap 54, with two to go in stage 1, Joey Logano took the lead. Byron would pass Logano for the lead on the last lap of stage 1 and Byron would win stage 1. As soon as stage 1 concluded, rain began to fall. The race would be postponed to the following day, Monday, and the race would restart at 1 pm central. Stage 2 After stage 1 concluded, Matt Crafton took over the No. 21 car for Paul Menard after Menard was experiencing back problems. The track would be dried and the race would get back going again on lap 63 with Ryan Blaney as the leader. On lap 70, Clint Bowyer challenged Blaney for the lead but was unable to make it stick. On lap 73, Joey Logano took the lead from his teammate. On lap 78, Chase Elliott took the lead from Logano. On lap 84, Brad Keselowski took the lead from Elliott. On lap 87, Elliott retook the lead. On lap 90, the second round of green flag pitstops began and Elliott gave the lead to Keselowski. On lap 94, Keselowski and others behind him came onto pit road. Aric Almirola came out first and he would lead the next 2 laps before getting passed by Jimmie Johnson on lap 96. On lap 98, Chase Elliott took the lead. Alex Bowman tried to take the lead from Elliott but could not pass him. On lap 102, Joey Logano took the lead. On lap 104, Elliott took the lead back. On lap 107 and 4 laps to go in stage 2, the first of three big ones would occur in turn 3 taking out 11 cars and many chase contenders in the process. On that same lap, Alex Bowman took the lead. Going down the backstretch, Joey Logano had a huge run on Bowman and tried to pass Bowman. Bowman blocked but Logano hit Bowman hard in the rear which sent Bowman sideways on the apron. Bowman overcorrected and spun right up the track right infront of the pack collecting Kurt Busch, Kevin Harvick, Chase Elliott, Denny Hamlin, Martin Truex Jr., Michael McDowell, Kyle Larson, Ryan Preece, and Jimmie Johnson. Stage 2 concluded under caution and Clint Bowyer was infront when the caution came out and he won stage 2. Final stage Brad Keselowski won the race off of pit road and he led the field to the restart on lap 117. William Byron led lap 117 but could not fully pass Bowyer and Bowyer held on to his lead. On lap 122, the fourth caution flew when Bubba Wallace went up to avoid Landon Cassill but came up right infront of Blake Jones and both Wallace and Jones crashed into the outside wall on the backstretch. The race would restart on lap 126 with Bowyer as the leader. On the restart, Kyle Busch took the lead from Bowyer. On lap 127, Joey Logano took the lead from Busch. On lap 132, the 5th caution flew when Martin Truex Jr's left front tire exploded on the backstretch and put debris on the racetrack. Ricky Stenhouse Jr. won the race off of pit road after taking fuel only and he led the field to the restart with 51 laps to go. With 46 to go, Joey Logano tried to pass Stenhouse for the lead and led that lap but did not fully pass him. With 38 to go, Kyle Busch passed Stenhouse for the lead. With 36 to go, the 6th caution would fly when Clint Bowyer spun in turns 3 and 4. William Byron won the race off of pit road taking fuel only and he led the field to the restart with 31 laps to go. With 29 to go, Ricky Stenhouse Jr. took the lead from Byron. With 26 to go, the second big one would occur on the backstretch taking out 9 cars. William Byron got shoved from behind by Kurt Busch and Byron's car spun up and clipped Joey Logano nearly sending Logano upside down and also blowing Logano's hood up. Busch, Byron, and Logano also took out Erik Jones, Matt Crafton, Daniel Suárez, Ryan Preece, Austin Theriault, and Joey Gase. The race would restart with 19 laps to go with Stenhouse leading. With 17 to go, the 8th caution would fly when Daniel Suárez spun in turns 3 and 4. The race would restart with 13 to go. On the restart, Kurt Busch took the lead from Ricky Stenhouse Jr. With 9 to go, Stenhouse took the lead. Busch would retake the lead with 8 to go. On that lap, Busch and Stenhouse were side by side when Kurt's brother Kyle made a 3 wide pass for the lead on the outside and Kyle took the lead. With 7 to go, Kyle got infront of Kurt to form a tandem. Stenhouse had a run and he challenged Kyle for the lead down the backstretch. Meanwhile, Brendan Gaughan had a huge push from Brad Keselowski and it looked like he was going to steal the lead from Stenhouse and Busch. But as soon as Gaughan got side by side with Busch and Stenhouse, Kurt Busch turned his brother Kyle around and Kyle collected Gaughan sending Gaughan spinning in turn 3. Gaughan spun and got hit by both Matt DiBenedetto and Kurt Busch at the right angle that sent his car in the full 360 barrel roll into the air before it landed perfectly on all four wheels. The wreck would trigger the third big one and cause the 9th and final caution of the race collecting 11 cars. The cars involved were Kurt Busch, Brad Keselowski, Kevin Harvick, Daniel Hemric, Ricky Stenhouse Jr., Kyle Busch, Chris Buescher, David Ragan, Ryan Preece, Brendan Gaughan, and Matt DiBenedetto. The wreck would cause a short red flag to clean it up. The wreck would also set up a two lap shootout with Ryan Blaney as the new leader. On the restart, Blaney took the lead. On the final lap, Ryan Newman got a big push from Denny Hamlin down the backstretch and took the lead. Newman got a bit sideways in turn 3 but saved it and never lost momentum. Coming to the tri-oval, Newman got a big lead and Blaney caught up and tried to pass Newman. Behind them, Chris Buescher and Parker Kligerman both wrecked in the tri-oval but no caution flew. Blaney got to Newman's inside in the tri-oval and it was a drag race to the finish line. The two door banged each other all the way to the finish line and the finish ended up being too close to call on first glance. But the electronic timing and scoring showed that Ryan Blaney beat Newman to the line and Newman would be in second. Blaney beat Newman by 0.007 seconds, the sixth closest finish in the history of NASCAR. It would be Blaney's third career Cup Series win and his first and only win of 2019 as the win moved him on to the round of 8. Denny Hamlin, Aric Almirola, and Michael McDowell rounded out the top 5 while Austin Dillon, Corey LaJoie, Chase Elliott, Ricky Stenhouse Jr., and Ty Dillon rounded out the top 10. Stage results Stage One Laps: 55 Stage Two Laps: 55 Final stage results Stage Three Laps: 78 Race statistics Lead changes: 47 among 19 different drivers Cautions/Laps: 9 for 43 Red flags: 1 Time of race: 3 hours, 39 minutes and 36 seconds Average speed: Media Television NBC Sports covered the race on the television side. Rick Allen, Jeff Burton and six-time Talladega winner Dale Earnhardt Jr. covered the race in the booth for NBC. Steve Letarte called from the NBC Peacock Pit Box on pit road. Dave Burns, Marty Snider and Kelli Stavast reported from pit lane during the race. Radio MRN covered the radio call for the race, which was simulcast on Sirius XM NASCAR Radio. Alex Hayden, Jeff Striegle, and Rusty Wallace called the race for MRN when the field races thru the tri-oval. Dave Moody called the action from turn 1, Mike Bagley called the action for MRN when the field races down the backstraightaway, and Dan Hubbard called the race from the Sunoco tower just outside of turn 4. Winston Kelley, Kim Coon, Steve Post, and Dillon Welch called the race for MRN from pit road. Standings after the race Manufacturers' Championship standings Note: Only the first 16 positions are included for the driver standings. References 2019 in sports in Alabama 2019 Monster Energy NASCAR Cup Series NASCAR races at Talladega Superspeedway October 2019 sports events in the United States
Philip Fotheringham-Parker (22 September 1907 – 15 October 1981) was a racing driver from England. He was born in Beckenham, Kent. Fotheringham-Parker participated in the 1951 British Grand Prix, driving a privately run Maserati 4CL, but retired from the race after a problem with an oil pipe, scoring no championship points. Later that year, he won the 1951 Scottish Grand Prix, a minor Formula One race at Winfield with this car. Fotheringham-Parker competed in the 1953 24 Hours of Le Mans race, sharing an Allard with Sidney Allard himself, but the team retired after completing just four laps. He also took part in the 1954 Monte Carlo Rally with a Ford Zephyr. He died in Beckley, East Sussex, aged 74. Complete Formula One World Championship results (key) 1907 births 1981 deaths English racing drivers English Formula One drivers 24 Hours of Le Mans drivers Sportspeople from Beckenham World Sportscar Championship drivers People from Beckley, East Sussex 24 Hours of Spa drivers
```php <?php /* * FecShop file. * * @link path_to_url * @license path_to_url */ namespace fecshop\services\customer; use fecshop\services\Service; /** * DropShip child services. * @author Terry Zhao <2358269014@qq.com> * @since 1.0 */ class DropShip extends Service { } ```
The women's 200 metres event at the 1978 Commonwealth Games was held on 8 and 10 August at the Commonwealth Stadium in Edmonton, Alberta, Canada. Medalists Results Heats Held on 8 August Qualification: First 3 in each heat (Q) and the next 1 fastest (q) qualify for the semifinals. Wind:Heat 1: +3.3 m/s, Heat 2: ? m/s, Heat 3: +2.7 m/s, Heat 4: +5.5 m/s, Heat 5: ? m/s Semifinals Held on 8 August Qualification: First 4 in each semifinal (Q) qualify directly for the final. Wind:Heat 1: ? m/s, Heat 2: +2.1 m/s Final Held on 10 August Wind: +5.1 m/s References Heats & Semifinals results (The Canberra Times) Final results (The Canberra Times) Australian results Athletics at the 1978 Commonwealth Games 1978
The California State and Consumer Services Agency (SCSA) was a state cabinet-level agency of the executive branch of California. It was replaced by the California Business, Consumer Services and Housing Agency (BCSH) effective July 1, 2013. A significant number of the departments were transferred to the California Government Operations Agency when it was formed on July 1, 2013. The entities under SCSA were responsible for civil rights enforcement, licensing and consumer protection of more than 255 different professions, procurement of goods and services for state agencies, management and development of state real estate, oversight of two state employee pension funds, collecting state taxes, hiring of state employees, providing information technology services, adopting state building standards and the administration of two state museums." As of 2008-2009, SCSA's entities had over 16,000 employees and a budget of almost $27 billion. The Secretary of the State and Consumer Services Agency served as the Chair of the California Victim Compensation and Government Claims Board. Organization The SCSA included the following departments, boards, commissions and museums: California African American Museum (CAAM) Building Standards Commission (BSC) California Public Employees' Retirement System (CalPERS) California Science Center (CSC) California State Teachers' Retirement System (CalSTRS) Department of Consumer Affairs (DCA) Department of Fair Employment and Housing (DFEH) Department of General Services (DGS) Department of Technology Services (DTS) Exposition Park Fair Employment and Housing Commission (FEHC) Franchise Tax Board (FTB) Office of Information Security and Privacy Protection (OISPP) Office of the Insurance Advisor (OIA) California Seismic Safety Commission|Seismic Safety Commission (SSC) State Personnel Board (SPB) Victim Compensation and Government Claims Board (VCGCB) Accomplishments The notable accomplishments of SCSA included: In 2005, it completed a review of state-owned vehicles. In 2007, it co-sponsored a statewide "Green California Summit and Exposition." In 2008, it created Kids Corner, "a Web site designed to bring government closer to children." References State and Consumer Services Agency 2013 disestablishments in California
The Turpan–Hotan Expressway (, ), commonly referred to as the Tuhe Expressway (), is a Chinese expressway that connects the G30 Lianyungang–Khorgas Expressway at Xiaocaohu, in Toksun County, Turpan, with China National Highway 315 in Lop County, Hotan Prefecture. The expressway, designated G3012, is a spur of the G30 Lianyungang–Khorgas Expressway and is completely in Xinjiang. It is in length, which is unusually long for an expressway under a single sub-national administration, being vastly longer than Interstate 10 in Texas. The expressway is fully complete from its northern terminus in Toksun to Yecheng and from Karakax County to its southern terminus in Lop County, Hotan. Only a section from Kargilik to Karakax County remains to be built. Eventually, the southern terminus will connect with the western end of the G0612 Xining–Hotan Expressway, which is currently in planning. References Expressways in Xinjiang Chinese national-level expressways
```smalltalk // contributor license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright ownership. // // 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. using Apache.Arrow.Types; using System; using System.Collections.Generic; namespace Apache.Arrow { public partial class Field { public class Builder { private Dictionary<string, string> _metadata; private string _name; private IArrowType _type; private bool _nullable; public Builder() { _type = NullType.Default; _nullable = true; } public Builder Name(string value) { if (value == null) { throw new ArgumentNullException(nameof(value)); } _name = value; return this; } public Builder DataType(IArrowType type) { _type = type ?? NullType.Default; return this; } public Builder Nullable(bool value) { _nullable = value; return this; } public Builder Metadata(string key, string value) { if (string.IsNullOrWhiteSpace(key)) { throw new ArgumentNullException(nameof(key)); } _metadata ??= new Dictionary<string, string>(); _metadata[key] = value; return this; } public Builder Metadata(IEnumerable<KeyValuePair<string, string>> dictionary) { if (dictionary == null) { throw new ArgumentNullException(nameof(dictionary)); } foreach (KeyValuePair<string, string> entry in dictionary) { Metadata(entry.Key, entry.Value); } return this; } public Field Build() { return new Field(_name, _type, _nullable, _metadata); } } } } ```
Dimbulukeni 'Dee' Nauyoma (born 1992) is a Namibian youth activist who along with Job Amupanda and George Kambala co-founded a radical youth movement known as the Affirmative Repositioning in November 2014. Prior to the formation of the Affirmative Repositioning, he served in the SWAPO Youth League until 2014. From 2015 to 2018, he served as Secretary General of the Namibia National Students Organisation. Personal life Nauyoma attended the University of Namibia. He holds an advanced diploma in Banking, Finance & Credit from the Namibian Institute of Bankers (IOB) where he served as Student Representative Council president. He was one of the SWAPO Party Youth League leaders who were suspended and expelled from the party for occupying a plot in an upmarket Windhoek suburb. Involvement in student politics Nauyoma first joined the Namibia National Students Organisation in high school in 2008. He went on to become the chairperson of NANSO's Khomas Region branch. In 2015 he was elected Secretary General at the organisation's elective conference. Following the FeesMustFall movement initiated by Mcebo Dlamini and Chumani Maxwele in South Africa, Nauyoma led students at the University of Namibia and Namibia University of Science and Technology in demanding a decrease in fees in 2016. In 2016, he called on NSFAF to help allow underprivileged students get access to education by providing them with registration assurances after both the University of Namibia and Namibia University of Science and Technology stated that they needed assurance from the department of education before they could allow walk-ins. Affirmative Repositioning In November 2014, the three AR youth leaders of Amupanda, Kambala and Nauyoma occupied land in an affluent Klein Windhoek suburb as a means to demand land from the City of Windhoek municipality. They named their plot Erf 2014 to coincide with the year of action. In 2016, the Namibian government announced plans to build a new Parliament. Thereafter, the Affirmative Repositioning movement began to mobilise young Namibians for a June 16 protest against the decision to build the parliament saying resources could be used in more important areas in which the country faced critical problems. External links Twitter page References Living people 1992 births People from Windhoek SWAPO politicians University of Namibia alumni Namibian activists
Olive was launched at Calcutta in 1802. The French captured her in 1806 and the French Navy took her into service under her existing name. She was decommissioned in March 1807. Career J. Gilmour & Co. launched Olive at Calcutta on 5 May 1802. In 1803 her master was H. Matthew. The French frigate captured Olive on 19 June 1806. Olive was only one of several ships that Sémillante captured on her cruise. Olive was commissioned on 6 December 1806 at Île de France as a flute. Later, Olive was reported to have been there on 10 January 1807, and to have been captured in the Red Sea. She was decommissioned in March 1807. Olive apparently returned to British hands and reappeared as a transport at the British invasion of Java (1811). She then disappeared again from readily available sources. Notes Citations References 1802 ships British ships built in India Age of Sail merchant ships of England Captured ships Ships of the French Navy
```c++ #include <iostream> using namespace std; int main() { cout << "Hello World!"; return 0; } ```
```scheme ;;; -*- Gerbil -*- ;;; vyzo ;;; SRFI-160: Homogeneous Numeric Vector Libraries (import ./base ./macros) (deflib u16) ```
Bailey's Café is a 1992 novel by award-winning American author Gloria Naylor. The novel consists of a loosely intertwined group of stories, all told in first person, about the owners and patrons of Bailey's Cafe, an apparently supernatural establishment, set nominally in New York City, whose entrance can be found from different places and times. Plot summary and settings The unnamed owner of Bailey's Cafe (he is called "Bailey" as a nickname) acquires the cafe after his return from World War II and claims that it is magical and it saved him. Though the cafe is nominally set in New York City as per Naylor's earlier novel Mama Day, patrons wander into it from different times and places. The cafe also has a back door that apparently opens onto infinity (or death). The stories he tells include his own and his wife, Nadine's, as well as those of several of the patrons of the cafe who live in a nearby brownstone including Eve (who owns the brownstone down the street that harbors mostly fugitive women and serves as a bordello), Ester (the victim of sexual and emotional abuse), "Miss Maple" (a male cross-dresser), Jessie Bell (a bisexual drug-addict), Mary (a self-mutilated beauty), and Mariam (a mentally challenged, pregnant, virgin, teenager). Each person's back story is told by the owner as they come into the cafe. Bailey frames the first-person narrative of each character but one: Nadine opens and closes the story of Mariam (Mary). Characters "Bailey" – the principal narrator. A World War II veteran and nominal owner of the cafe, Bailey (which is not his real name) is the cook. Nadine – the owner's wife and cashier in the cafe. Nadine frames the story of Mariam. Gabe – a Russian Jew and owner of the pawn shop that adjoins the cafe. Sadie – a homeless prostitute and alcoholic, who is also, according to Bailey, "a lady". Sadie was forced into prostitution at the age of 13, then married a poor taciturn man 30 years her senior. After his death she returns to prostitution, is arrested, loses her house, and is eventually evicted from a women's shelter because she will not take public assistance funds. She wanders into Bailey's Cafe from the South Side of Chicago. When the verbose Iceman asks the mostly silent Sadie to marry him, she refuses, believing she will only bring him pain. Iceman – works around Bailey's Cafe delivering ice. He proposes marriage to Sadie, but is rejected. Eve – formerly homeless, Eve owns the brownstone down the street that harbors mostly fugitive women, and also serves as a brothel, where the principal characters (sans the narrator and his wife) live. Ester – the victim of sexual abuse and emotional abuse. Mary ("Peaches") – a self-mutilated beauty. Jessie Bell – a bisexual drug-addict and "fallen woman". "Mariam" (Mary) – a 14-year-old, mentally challenged, pregnant virgin, Ethiopian Jew, Mariam is also the victim of genital mutilation (clitorectomy). When she wanders into Gabe's pawn shop he takes her directly to Bailey's, even though the two men do not get along. Mariam lives at Eve's. "Miss Maple" (Stanley Beckwourth Booker T. Washington Carver: no surname is given) – a male cross-dresser and former conscientious objector who served time in prison for refusing to fight, Miss Maple has a Ph.D. specializing in marketing analysis but works as housekeeper and bouncer for Eve. Born into a rowdy, rich, and powerful African American, Southern California family, Miss Maple came to Bailey's after many failed attempts to find employment in his field during which he began wearing women's clothes, supposedly due to the heat. Note: none of the characters have surnames. All characters excepting Gabe (who is Jewish) and Mariam (who is an African) are presented as African American. Themes In an interview with The Seattle Times, Naylor explained that "the underlying theme [of Bailey's Cafe] is how people define femaleness and female sexuality, how women have been cast in sexual roles since Eve." Thus, the guests at Eve's boarding house do not fit the "easy sexual labels" used to control women's bodies. Another theme within Bailey's Cafe is the combination of collective and individuals traumas throughout World War II. Bailey's references of various key battle locations such as Guam, Pearl Harbor, Japan, and more allude to the fact that the violence was a collective experience from multiple characters and the general American population during wartime. Bailey's Cafe is the first of Naylor's novels to spotlight male characters. "Bailey", the owner of the café, frames the patrons’ stories with his running commentary as well as narrates the story of his courtship of Nadine, his wife. In addition, Miss Maples, a cross-dressing male housekeeper and bouncer, tells the story of why he came to wearing dresses. This shift in Naylor’s exclusive interest in the stories of women has been interpreted as her desire “to portray a different kind of male identity as well as . . . to cultivate a different relationship with her male characters." Critical reception Bailey's Cafe, which is sometimes referred to as a collection of interrelated short stories, has been well received by critics. Adaptation Gloria Naylor worked with director Novella Nelson to adapt Bailey's Cafe for the stage. Bailey's Cafe the play was produced by the Hartford Stage in March and April 1994. References Further references Buehler, Dorothea. "Below the Surface: Female Sexuality in Gloria Naylor's Bailey's Café. Amerikastudien / American Studies 56.3 (2011): 425–448. Brown, Amy Benson. "Writing Home: The Bible and Gloria Naylor's Bailey's Cafe." Homemaking: Women Writers and the Politics and Poetics of Home. Ed. Catherine Wiley and Fiona Barnes. New York: Garland, 1996. 23–42. Chavanelle, Sylvie. "Gloria Naylor's Bailey's Cafe: The Blues and Beyond." American Studies International 36.2 (1998): 58–73. diPace, Angela. "Gloria Naylor's Bailey's Cafe: A Panic Reading of Bailey's Narrative." The Critical Response to Gloria Naylor. Ed. Sharon Felton and Michelle C. Loris. Connecticut: Greenwood Press, 1997.194-99. Montgomery, Maxine L. "Authority, Multivocality, and the New World Order in Gloria Naylor's Bailey's Cafe." African American Review 29.1 (1995): 27–33. Reprinted in The Critical Response to Gloria Naylor. Ed. Sharon Felton and Michelle C. Loris. Connecticut: Greenwood Press, 1997. 187-94. Nash, William R. "The Dream Defined: Bailey's Cafe and the Reconstruction of American Cultural Identities." The Critical Response to Gloria Naylor. Ed. Sharon Felton and Michelle C. Loris. Connecticut: Greenwood Press, 1997. 211–225. Page, Philip. "Living with the Abyss in Gloria Naylor's Bailey's Cafe." CLA Journal 40.1 (September 1996): 21–45. Reprinted in The Critical Response to Gloria Naylor. Ed. Sharon Felton and Michelle C. Loris. Connecticut: Greenwood Press, 1997. 225-39. Rummell, Kathryn. "From Stanley to Miss Maple: A Definition of Manhood in Gloria Naylor's Bailey's Cafe." Diversity: A Journal of Multicultural Issues 2 (1994): 90–96. Schneider, Karen. "Gloria Naylor's Poetics of Emancipation: (E)merging (Im)possibilities in Bailey's Cafe." Kelley, Margot Anne, ed. Gloria Naylor's Early Novels. Gainesville: University Press of Florida, 1999. 1–20. Thompson, Dorothy Perry. "Africana Womanist Revision in Gloria Naylor's Mama Day and Bailey's Cafe." Kelley, Margot Anne, ed. Gloria Naylor's Early Novels. Gainesville: University Press of Florida, 1999. 1–20. 89–111. Whitt, Margaret. "Bailey's Café as Sports Bar, or, Why Baseball Needs a Way Station." Callaloo 23.4 (Autumn 2000):1464–1474. Wood, Rebecca. "'Two Warring Ideals in One Dark Body': Universalism and Nationalism in Gloria Naylor's Bailey's Cafe."African American Review 30.3 (Fall 1996): 381–95. Reprinted in The Critical Response to Gloria Naylor. Ed. Sharon Felton and Michelle C. Loris. Connecticut: Greenwood Press, 1997. 240-52. External links Gloria Naylor on AALBC.com Postmodern novels African-American novels 1993 American novels Novels by Gloria Naylor American novels adapted into plays
```vue <template> <div class="container"> <h1>Grouping</h1> <div class="row"> <div class="col-sm-12"> <vue-form-generator :schema="schema" :model="model" :options="formOptions" tag="section"></vue-form-generator> </div> </div> <div class="row"> <div class="col-sm-12"> <pre v-if="model" v-html="prettyModel"></pre> </div> </div> </div> </template> <script> import mixinUtils from "../../mixins/utils.js"; export default { mixins: [mixinUtils], data() { return { model: { name: "Brian Blessed", email: "brian@hawkman.mongo", others: { more: "More", things: "Things" }, single: "blah" }, schema: { groups: [ { legend: "Contact Details", fields: [ { type: "input", inputType: "text", label: "Name", model: "name" }, { type: "input", inputType: "email", label: "Email", model: "email" } ] }, { legend: "Other Details", fields: [ { type: "input", inputType: "text", label: "More", model: "others.more" }, { type: "input", inputType: "text", label: "Things", model: "others.things" } ] } ], fields: [ { type: "input", inputType: "text", label: "Single field (without group)", model: "single" } ] }, formOptions: { fieldIdPrefix: "frm1-" } }; }, created() { window.app = this; } }; </script> <style lang="scss"> @import "../../style.scss"; </style> ```
The Pelagibacterales are an order in the Alphaproteobacteria composed of free-living marine bacteria that make up roughly one in three cells at the ocean's surface. Overall, members of the Pelagibacterales are estimated to make up between a quarter and a half of all prokaryotic cells in the ocean. Initially, this taxon was known solely by metagenomic data and was known as the SAR11 clade. It was first placed in the Rickettsiales, but was later raised to the rank of order, and then placed as sister order to the Rickettsiales in the subclass Rickettsidae. It includes the highly abundant marine species Pelagibacter ubique. Bacteria in this order are unusually small. Due to their small genome size and limited metabolic function, Pelagibacterales have become a model organism for 'streamlining theory'. P. ubique and related species are oligotrophs (scavengers) and feed on dissolved organic carbon and nitrogen. They are unable to fix carbon or nitrogen, but can perform the TCA cycle with glyoxylate bypass and are able to synthesise all amino acids except glycine, as well as some cofactors. They also have an unusual and unexpected requirement for reduced sulfur. P. ubique and members of the oceanic subgroup I possess gluconeogenesis, but not a typical glycolysis pathway, whereas other subgroups are capable of typical glycolysis. Unlike Acaryochloris marina, P. ubique is not photosynthetic — specifically, it does not use light to increase the bond energy of an electron pair — but it does possess proteorhodopsin (including retinol biosynthesis) for ATP production from light. SAR11 bacteria are responsible for much of the dissolved methane in the ocean surface. They extract phosphate from methylphosphonic acid. Although the taxon derives its name from the type species P. ubique (status Candidatus species), this species has not yet been validly published, and therefore neither the order name nor the species name has official taxonomic standing. Subgroups Currently, the order is divided into five subgroups: Subgroup Ia, open ocean, crown group — includes P. ubique HTCC1062 Subgroup Ib, open ocean, sister clade to Ia Subgroup II, coastal, basal to Ia + Ib Subgroup III, brackish, basal to I + II along with its sister clade IV Subgroup IV, also known as the LD12 clade, freshwater Subgroup V, which includes alphaproteobacterium HIMB59, basal to the remainder The above results in a cladogram of the Pelagibacterales as follows: Phylogenetic placement and endosymbiotic theory A 2011 study by researchers of the University of Hawaiʻi at Mānoa and Oregon State University, indicated that SAR11 could be the ancestor of mitochondria in most eukaryotic cells. However, this result could represent a tree reconstruction artifact due to compositional bias. References Alphaproteobacteria
```ruby class Jello < Formula include Language::Python::Virtualenv desc "Filter JSON and JSON Lines data with Python syntax" homepage "path_to_url" url "path_to_url" sha256 your_sha256_hash license "MIT" bottle do rebuild 2 sha256 cellar: :any_skip_relocation, arm64_sonoma: your_sha256_hash sha256 cellar: :any_skip_relocation, arm64_ventura: your_sha256_hash sha256 cellar: :any_skip_relocation, arm64_monterey: your_sha256_hash sha256 cellar: :any_skip_relocation, sonoma: your_sha256_hash sha256 cellar: :any_skip_relocation, ventura: your_sha256_hash sha256 cellar: :any_skip_relocation, monterey: your_sha256_hash sha256 cellar: :any_skip_relocation, x86_64_linux: your_sha256_hash end depends_on "python@3.12" resource "pygments" do url "path_to_url" sha256 your_sha256_hash end def install virtualenv_install_with_resources man1.install "man/jello.1" end test do assert_equal "1\n", pipe_output("#{bin}/jello _.foo", "{\"foo\":1}") end end ```
Smethwick by-election may refer to one of two by-elections to the British House of Commons in the Smethwick constituency in the West Midlands: 1926 Smethwick by-election 1945 Smethwick by-election See also Smethwick (UK Parliament constituency)
Boletus violaceofuscus is a fungus of the genus Boletus native to China. First Described by W.F Chiu in 1948. It is related to Boletus separans. Description The cap has a diameter of 4-7 cm, hemispherical when young, broad to almost flat when mature. Colored dark blue, "Blue Violet," and sometimes ageing to "Maroon Purple," the top is usually smooth, rarely wrinkled or with corrugations with a faintly velvety texture. Pore tubes on the underside are 3-6mm long and 0.5 to 1mm wide, white when young a pale yellowish when mature or bruised. The stipe is 5-7cm long and 1-2 cm thick, not strongly attached to the cap with a narrow top tending toward the thick middle shape typical of Boletus. The stipe is somewhat the same color as the cap, but paler with distinct white mesh veins. The flesh is solid, white and tending to become spongy when old, prone to infestation with larvae. The spores appear green-gray or olive under the microscope, with a tapered elliptical shape of 12-14um x 5-6um size. See also List of Boletus species References External links Edible fungi Fungi described in 1948 violaceofuscus Fungi of China
Zambia is scheduled to participate at the 2018 Summer Youth Olympics in Buenos Aires, Argentina from 6 October to 18 October 2018. Athletics Equestrian Zambia qualified a rider based on its ranking in the FEI World Jumping Challenge Rankings. Individual Jumping - 1 athlete Field hockey Preliminary round Final round Quarterfinals Semifinals Bronze medal game Judo Swimming References 2018 in Zambian sport Nations at the 2018 Summer Youth Olympics Zambia at the Youth Olympics
Don Mills was a provincial electoral district in Ontario, Canada. It was created for the 1963 provincial election, and lasted until the provincial redistribution in 1996. The riding was formally retired with the 1999 provincial election. At its abolition, the riding consisted of the neighbourhoods of Woodbine Gardens and Parkview Hill in the borough of East York plus the neighbourhoods of Flemingdon Park and the southern part of Don Mills in North York (all of North York south of Lawrence Avenue). It was abolished into Don Valley East, Don Valley West and Beaches—East York. The riding was a bastion of strength for the Progressive Conservative Party of Ontario for most of its history, and was represented by moderate Tory cabinet ministers Dennis Timbrell and David Johnson at different times. The Liberal Party and the New Democratic Party both represented the riding between 1987 and 1993. Boundaries The riding was created in 1963, one of several new ridings in Metro. The initial boundaries were the North York city limits on the south and east and west and Lawrence Avenue East formed the northern boundary. Members of Provincial Parliament Electoral results References Notes Citations Former provincial electoral districts of Ontario Provincial electoral districts of Toronto
Lotta on Troublemaker Street (; also known as The Children on Troublemaker Street) is a Swedish novel and picture book series by Rabén & Sjögren, which is written by Astrid Lindgren. Plot Lotta is a little girl who is three years old at the beginning of the book series. She lives with her siblings Jonas and Mia Maria and her parents on Troublemaker Street. Lotta's next-door neighbor is an elderly woman who Lotta simply calls Aunt Berg. Lotta often visits her. One day, when Lotta has an argument with her mother because she does not want to wear her scratchy sweater, she even moves into Aunt Berg's attic. But she feels lonely in the attic, so she decides to come back home with her father, when he visits her. Lotta often plays with her siblings Mia Maria and Jonas, but does not always want to follow their rules, so the games often end abruptly. Background The stories about Lotta take place in the late 1950s. The illustrations were made by Ilon Wikland. The role model for her illustrations of Lotta was her own daughter Anna. In the theme park Astrid Lindgren's World, some locations of the books can be visited. Characters Works Films about The Children on Troublemaker Street In the early 1990s two films were made about the life of Lotta and her siblings. The script was written by Johanna Hald and Astrid Lindgren. Astrid Lindgren had a major influence on the script for the films. However, she was not present during the filming. The leading actress Grete Havnesköld was chosen by the director Johanna Hald. Hald had originally intended to make a movie about Lindgren's picture book The Day Adam Got Mad. She had already written the script for it, but Lindgren did not think the script was good enough and turned it down. In return, Hald was allowed to shoot the films about Lotta. Reception Maria Hunstig of the Vogue magazine describes Lotta as her heroine. She praises Lotta’s healthy self-confidence and her 'I can do anything' attitude, which makes Lotta far ahead of the common image of girls of the late 1950s. Lotta still works as a clever role model today. Christina Steinlein from Focus praises the picture book Lotta’s Bike. She believes that the story is told with a lot of humor, is illustrated in a wonderfully non-teaching way and belongs on the children's bookshelf.. Ingrid Löbner advises parents in her guidebook Gelassene Eltern-Glückliche Kinder: Mit mehr Leichtigkeit und Entspanntheit durch die ersten sechs Lebensjahre to look at Astrid Lindgren's picture book Lotta’s Christmas Surprise in order to be able to empathize with how four-year-old children feel, how they see the world, what thoughts they have and what activities they are already capable of. Gabriele Cromme adds that the picture book contradicts the traditional understanding of the roles of girls and boys. Boys are perceived as "active and adventurous" and girls as "passive and immobile". Lotta is "active and adventurous". References Book series introduced in 1956 Works by Astrid Lindgren 20th-century Swedish literature Swedish-language literature 1950s children's books 1960s children's books 1970s children's books 1990s children's books Rabén & Sjögren books Picture books Series of children's books Aladdin Paperbacks books
```objective-c /* * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #ifndef RTC_BASE_NUMERICS_MOD_OPS_H_ #define RTC_BASE_NUMERICS_MOD_OPS_H_ #include <algorithm> #include <type_traits> #include "rtc_base/checks.h" namespace webrtc { template <unsigned long M> // NOLINT inline unsigned long Add(unsigned long a, unsigned long b) { // NOLINT RTC_DCHECK_LT(a, M); unsigned long t = M - b % M; // NOLINT unsigned long res = a - t; // NOLINT if (t > a) return res + M; return res; } template <unsigned long M> // NOLINT inline unsigned long Subtract(unsigned long a, unsigned long b) { // NOLINT RTC_DCHECK_LT(a, M); unsigned long sub = b % M; // NOLINT if (a < sub) return M - (sub - a); return a - sub; } // Calculates the forward difference between two wrapping numbers. // // Example: // uint8_t x = 253; // uint8_t y = 2; // // ForwardDiff(x, y) == 5 // // 252 253 254 255 0 1 2 3 // ################################################# // | | x | | | | | y | | // ################################################# // |----->----->----->----->-----> // // ForwardDiff(y, x) == 251 // // 252 253 254 255 0 1 2 3 // ################################################# // | | x | | | | | y | | // ################################################# // -->-----> |----->--- // // If M > 0 then wrapping occurs at M, if M == 0 then wrapping occurs at the // largest value representable by T. template <typename T, T M> inline typename std::enable_if<(M > 0), T>::type ForwardDiff(T a, T b) { static_assert(std::is_unsigned<T>::value, "Type must be an unsigned integer."); RTC_DCHECK_LT(a, M); RTC_DCHECK_LT(b, M); return a <= b ? b - a : M - (a - b); } template <typename T, T M> inline typename std::enable_if<(M == 0), T>::type ForwardDiff(T a, T b) { static_assert(std::is_unsigned<T>::value, "Type must be an unsigned integer."); return b - a; } template <typename T> inline T ForwardDiff(T a, T b) { return ForwardDiff<T, 0>(a, b); } // Calculates the reverse difference between two wrapping numbers. // // Example: // uint8_t x = 253; // uint8_t y = 2; // // ReverseDiff(y, x) == 5 // // 252 253 254 255 0 1 2 3 // ################################################# // | | x | | | | | y | | // ################################################# // <-----<-----<-----<-----<-----| // // ReverseDiff(x, y) == 251 // // 252 253 254 255 0 1 2 3 // ################################################# // | | x | | | | | y | | // ################################################# // ---<-----| |<-----<-- // // If M > 0 then wrapping occurs at M, if M == 0 then wrapping occurs at the // largest value representable by T. template <typename T, T M> inline typename std::enable_if<(M > 0), T>::type ReverseDiff(T a, T b) { static_assert(std::is_unsigned<T>::value, "Type must be an unsigned integer."); RTC_DCHECK_LT(a, M); RTC_DCHECK_LT(b, M); return b <= a ? a - b : M - (b - a); } template <typename T, T M> inline typename std::enable_if<(M == 0), T>::type ReverseDiff(T a, T b) { static_assert(std::is_unsigned<T>::value, "Type must be an unsigned integer."); return a - b; } template <typename T> inline T ReverseDiff(T a, T b) { return ReverseDiff<T, 0>(a, b); } // Calculates the minimum distance between to wrapping numbers. // // The minimum distance is defined as min(ForwardDiff(a, b), ReverseDiff(a, b)) template <typename T, T M = 0> inline T MinDiff(T a, T b) { static_assert(std::is_unsigned<T>::value, "Type must be an unsigned integer."); return std::min(ForwardDiff<T, M>(a, b), ReverseDiff<T, M>(a, b)); } } // namespace webrtc #endif // RTC_BASE_NUMERICS_MOD_OPS_H_ ```
```javascript module.exports = { followLinks: 'both', output: 'webgl2fundamentals.check.json', expectedErrors: [ { filter: "webgl-3d-textures.html", errors: [ { type: 'msg', test: "gl.INVALID_OPERATION in generateMipmap", }, ], }, { filter: "webgl-data-textures.html", errors: [ { type: 'msg', test: "gl.INVALID_OPERATION in texImage2D", }, ], }, { filter: "webgl-cors-permission.html", errors: [ { type: 'msg', test: /Uncaught SecurityError.*?cross-origin data/, }, { type: 'msg', test: "JSHandle@error", }, { type: 'pageerror', test: "DOMException: Failed to execute 'texImage2D'", }, ], }, { filter: "webgl-cors-permission-bad.html", errors: [ { type: 'pageerror', test: "DOMException: Failed to execute 'texImage2D", }, ], }, { filter: "webgl-3d-geometry-lathe.html", errors: [ { type: 'badlink', test: 'www.maxon.net' }, ], }, { filter: /\/webgl\/$/, errors: [ { type: 'badResponse', test: ''}, { type: 'msg', test: 'Failed to load resource'}, ], }, { filter: 'webgl-setup-and-installation.html', errors: [ { type: 'badlink', test: 'path_to_url } ], }, ] }; ```
```smalltalk using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IteratorPattern { /// <summary> /// /// </summary> abstract class Aggregate { public abstract Iterator CreateIterator(); } class ConcreteAggregate : Aggregate { private List<Object> items = new List<object>(); public override Iterator CreateIterator() { return new ConcreteIterator(this); } public int Size() { return items.Count; } public Object GetItem(int i) { return items[i]; } public void SetItems(int i,Object obj) { items.Add(obj); } } } ```
```xml <Context path="/angryseam" docBase="angryseam" debug="5" reloadable="true" crossContext="true"> <Resource name="jdbc/TestDB" auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000" username="sa" driverClassName="org.hsqldb.jdbcDriver" url="jdbc:hsqldb:."/> </Context> ```
```javascript "use strict";(self.webpackChunkrxdb=self.webpackChunkrxdb||[]).push([[4013],{3721:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>d,contentTitle:()=>a,default:()=>m,frontMatter:()=>o,metadata:()=>i,toc:()=>c});var t=s(4848),n=s(8453);const o={title:"\ud83d\udcc8 RxStorage Performance",slug:"rx-storage-performance.html"},a=void 0,i={id:"rx-storage-performance",title:"\ud83d\udcc8 RxStorage Performance",description:"RxStorage Performance comparison",source:"@site/docs/rx-storage-performance.md",sourceDirName:".",slug:"/rx-storage-performance.html",permalink:"/rx-storage-performance.html",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{title:"\ud83d\udcc8 RxStorage Performance",slug:"rx-storage-performance.html"},sidebar:"tutorialSidebar",previous:{title:"\u2699\ufe0f Rxstorage Layer",permalink:"/rx-storage.html"},next:{title:"IndexedDB RxStorage \ud83d\udc51",permalink:"/rx-storage-indexeddb.html"}},d={},c=[{value:"RxStorage Performance comparison",id:"rxstorage-performance-comparison",level:2},{value:"Persistend vs Semi-Persistend storages",id:"persistend-vs-semi-persistend-storages",level:2},{value:"Performance comparison",id:"performance-comparison",level:2},{value:"Measurements",id:"measurements",level:3},{value:"Browser based Storages Performance Comparison",id:"browser-based-storages-performance-comparison",level:2},{value:"Node/Native based Storages Performance Comparison",id:"nodenative-based-storages-performance-comparison",level:2}];function l(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...(0,n.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.h2,{id:"rxstorage-performance-comparison",children:"RxStorage Performance comparison"}),"\n",(0,t.jsxs)(r.p,{children:["A big difference in the RxStorage implementations is the ",(0,t.jsx)(r.strong,{children:"performance"}),". In difference to a server side database, RxDB is bound to the limits of the JavaScript runtime and depending on the runtime, there are different possibilities to store and fetch data. For example in the browser it is only possible to store data in a ",(0,t.jsx)(r.a,{href:"/slow-indexeddb.html",children:"slow IndexedDB"})," or OPFS instead of a filesystem while on React-Native you can use the ",(0,t.jsx)(r.a,{href:"/rx-storage-sqlite.html",children:"SQLite storage"}),"."]}),"\n",(0,t.jsxs)(r.p,{children:["Therefore the performance can be completely different depending on where you use RxDB and what you do with it. Here you can see some performance measurements and descriptions on how the different ",(0,t.jsx)(r.a,{href:"/rx-storage.html",children:"storages"})," work and how their performance is different."]}),"\n",(0,t.jsx)(r.h2,{id:"persistend-vs-semi-persistend-storages",children:"Persistend vs Semi-Persistend storages"}),"\n",(0,t.jsx)(r.p,{children:'The "normal" storages are always persistend. This means each RxDB write is directly written to disc and all queries run on the disc state. This means a good startup performance because nothing has to be done on startup.'}),"\n",(0,t.jsxs)(r.p,{children:["In contrast, semi-persistend storages like ",(0,t.jsx)(r.a,{href:"/rx-storage-memory-synced.html",children:"Memory-Synced"})," and ",(0,t.jsx)(r.a,{href:"/rx-storage-lokijs.html",children:"LokiJS"})," store all data in memory on startup and only save to disc occasionally (or on exit). Therefore it has a very fast read/write performance, but loading all data into memory on the first page load can take longer for big amounts of documents. Also these storages can only be used when all data fits into the memory at least once. In general it is recommended to stay on the persistend storages and only use semi-persitend ones, when you know for sure that the dataset will stay small (less then 2k documents)."]}),"\n",(0,t.jsx)(r.h2,{id:"performance-comparison",children:"Performance comparison"}),"\n",(0,t.jsx)(r.p,{children:"In the following you can find some performance measurements and comparisons. Notice that these are only a small set of possible RxDB operations. If performance is really relevant for your use case, you should do your own measurements with usage-patterns that are equal to how you use RxDB in production."}),"\n",(0,t.jsx)(r.h3,{id:"measurements",children:"Measurements"}),"\n",(0,t.jsx)(r.p,{children:"Here the following metrics are measured:"}),"\n",(0,t.jsxs)(r.ul,{children:["\n",(0,t.jsxs)(r.li,{children:["time-to-first-insert: Many storages run lazy, so it makes no sense to compare the time which is required to create a database with collections. Instead we measure the ",(0,t.jsx)(r.strong,{children:"time-to-first-insert"})," which is the whole timespan from database creation until the first single document write is done."]}),"\n",(0,t.jsx)(r.li,{children:"insert 200 documents: Insert 200 documents with a single bulk-insert operation."}),"\n",(0,t.jsxs)(r.li,{children:["find 1200 documents by id: Here we fetch 100% of the stored documents with a single ",(0,t.jsx)(r.code,{children:"findByIds()"})," call."]}),"\n",(0,t.jsxs)(r.li,{children:["find 12000 documents by query: Here we fetch 100% of the stored documents with a single ",(0,t.jsx)(r.code,{children:"find()"})," call."]}),"\n",(0,t.jsxs)(r.li,{children:["find 300x4 documents by query: Here we fetch 100% of the stored documents with a 4 ",(0,t.jsx)(r.code,{children:"find()"})," calls that run in parallel."]}),"\n",(0,t.jsxs)(r.li,{children:["count 1200 documents: Counts 100% of the stored documents with a single ",(0,t.jsx)(r.code,{children:"count()"})," call."]}),"\n"]}),"\n",(0,t.jsx)(r.h2,{id:"browser-based-storages-performance-comparison",children:"Browser based Storages Performance Comparison"}),"\n",(0,t.jsxs)(r.p,{children:["The performance patterns of the browser based storages are very diverse. The ",(0,t.jsx)(r.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB storage"})," is recommended for mostly all use cases so you should start with that one. Later you can do performance testings and switch to another storage like ",(0,t.jsx)(r.a,{href:"/rx-storage-opfs.html",children:"OPFS"})," or ",(0,t.jsx)(r.a,{href:"/rx-storage-memory-synced.html",children:"memory-synced"}),". If you do not want to purchase ",(0,t.jsx)(r.a,{href:"/premium",children:"RxDB Premium"}),", you could use the slower ",(0,t.jsx)(r.a,{href:"/rx-storage-dexie.html",children:"Dexie.js based RxStorage"})," instead."]}),"\n",(0,t.jsx)("p",{align:"center",children:(0,t.jsx)("img",{src:"./files/rx-storage-performance-browser.png",alt:"RxStorage performance - browser",width:"700"})}),"\n",(0,t.jsx)(r.h2,{id:"nodenative-based-storages-performance-comparison",children:"Node/Native based Storages Performance Comparison"}),"\n",(0,t.jsxs)(r.p,{children:["For most client-side native applications (",(0,t.jsx)(r.a,{href:"/react-native-database.html",children:"react-native"}),", ",(0,t.jsx)(r.a,{href:"/electron-database.html",children:"electron"}),", ",(0,t.jsx)(r.a,{href:"/capacitor-database.html",children:"capacitor"}),"), using the ",(0,t.jsx)(r.a,{href:"/rx-storage-sqlite.html",children:"SQLite RxStorage"})," is recommended. For non-client side applications like a server, use the ",(0,t.jsx)(r.a,{href:"/rx-storage-mongodb.html",children:"MongoDB storage"})," instead."]}),"\n",(0,t.jsx)("p",{align:"center",children:(0,t.jsx)("img",{src:"./files/rx-storage-performance-node.png",alt:"RxStorage performance - Node.js",width:"700"})})]})}function m(e={}){const{wrapper:r}={...(0,n.R)(),...e.components};return r?(0,t.jsx)(r,{...e,children:(0,t.jsx)(l,{...e})}):l(e)}},8453:(e,r,s)=>{s.d(r,{R:()=>a,x:()=>i});var t=s(6540);const n={},o=t.createContext(n);function a(e){const r=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:a(e.components),t.createElement(o.Provider,{value:r},e.children)}}}]); ```
Chido "Chichie" Dzingirai or Dringirai (born October 25, 1991) is a Zimbabwean footballer who plays for Flame Lily Queens F.C. and the Zimbabwe women's national football team. She began her career as a forward with local team Mbare Queens, before retraining as a goalkeeper and moving to Cyclone Stars in 2008. In 2011, she transferred to Flame Lily Queens, the club of the Zimbabwe Prison Services, who found her a job as a prison officer. She debuted for the Zimbabwe women's national football team ("The Mighty Warriors") in 2008. At the 2015 CAF Women's Olympic Qualifying Tournament, she made multiple saves in the decisive win over Cameroon which clinched Zimbabwe's shock qualification for the final tournament in Brazil. References External links 1991 births Living people Zimbabwean women's footballers Zimbabwe women's international footballers Footballers at the 2016 Summer Olympics Olympic footballers for Zimbabwe Women's association football goalkeepers
```clojure (ns legacy.status-im.data-store.chats (:require [clojure.set :as set] [clojure.string :as string] [legacy.status-im.data-store.messages :as messages] [legacy.status-im.utils.deprecated-types :as types] [re-frame.core :as re-frame] [status-im.common.json-rpc.events :as json-rpc] [status-im.constants :as constants] [taoensso.timbre :as log])) (defn rpc->type [{:keys [chat-type name] :as chat}] (cond (or (= constants/profile-chat-type chat-type) (= constants/timeline-chat-type chat-type)) (assoc chat :chat-name (str "#" name) :public? true :group-chat true :timeline? (= constants/timeline-chat-type chat-type)) (= constants/community-chat-type chat-type) (assoc chat :chat-name name :group-chat true) (= constants/private-group-chat-type chat-type) (assoc chat :chat-name name :public? false :group-chat true) :else (assoc chat :public? false :group-chat false))) (defn members-reducer [acc member] (cond-> acc (:admin member) (update :admins conj (:id member)) (:joined member) (update :members-joined conj (:id member)) :always (update :contacts conj (:id member)))) (defn community-chat-id->channel-id [chat-id] (subs chat-id constants/community-id-length)) (defn decode-chat-id [chat-id] (let [community-id (subs chat-id 0 constants/community-id-length) channel-id (community-chat-id->channel-id chat-id)] {:community-id community-id :channel-id channel-id})) (defn- unmarshal-members [{:keys [members chat-type] :as chat}] (cond (= constants/private-group-chat-type chat-type) (merge chat (reduce members-reducer {:admins #{} :members-joined #{} :contacts #{}} members)) :else (assoc chat :contacts #{(:id chat)} :admins #{} :members-joined #{}))) (defn <-color [value] (if (and (some? value) (string/starts-with? value "#")) value (keyword value))) (defn <-rpc [chat] (-> chat (set/rename-keys {:id :chat-id :communityId :community-id :syncedFrom :synced-from :syncedTo :synced-to :membershipUpdateEvents :membership-update-events :deletedAtClockValue :deleted-at-clock-value :chatType :chat-type :unviewedMessagesCount :unviewed-messages-count :unviewedMentionsCount :unviewed-mentions-count :lastMessage :last-message :lastClockValue :last-clock-value :invitationAdmin :invitation-admin :profile :profile-public-key :muteTill :muted-till :hideIfPermissionsNotMet :hide-if-permissions-not-met?}) rpc->type unmarshal-members (update :last-message #(when % (messages/<-rpc %))) (update :color <-color) (dissoc :members))) (defn <-rpc-js [^js chat] (-> {:name (.-name chat) :description (.-description chat) :color (<-color (.-color chat)) :emoji (.-emoji chat) :timestamp (.-timestamp chat) :alias (.-alias chat) :muted (.-muted chat) :joined (.-joined chat) :muted-till (.-muteTill chat) :chat-id (.-id chat) :community-id (.-communityId chat) :synced-from (.-syncedFrom chat) :synced-to (.-syncedTo chat) :deleted-at-clock-value (.-deletedAtClockValue chat) :chat-type (.-chatType chat) :unviewed-messages-count (.-unviewedMessagesCount chat) :unviewed-mentions-count (.-unviewedMentionsCount chat) :last-message {:content {:text (.-text chat) :parsed-text (types/js->clj (.-parsedText chat)) :response-to (.-responseTo chat)} :content-type (.-contentType chat) :community-id (.-contentCommunityId chat) :outgoing (boolean (.-outgoingStatus chat)) :album-images-count (.-albumImagesCount chat) :from (.-from chat) :deleted? (.-deleted chat) :deleted-for-me? (.-deletedForMe chat)} :last-clock-value (.-lastClockValue chat) :profile-public-key (.-profile chat) :highlight (.-highlight chat) :active (.-active chat) :image (.-image chat) :members (types/js->clj (.-members chat)) :hide-if-permissions-not-met (.-hideIfPermissionsNotMet chat)} rpc->type unmarshal-members)) (re-frame/reg-fx :fetch-chats-preview (fn [{:keys [on-success]}] (json-rpc/call {:method "wakuext_chatsPreview" :params [] :js-response true :on-success #(on-success ^js %) :on-error #(log/error "failed to fetch chats" 0 -1 %)}))) ```
```javascript // ==UserScript== // @name GitHub Diff Files Filter // @version 2.1.5 // @description A userscript that adds filters that toggle diff & PR folders, and files by extension // @license MIT // @author Rob Garrison // @namespace path_to_url // @match path_to_url // @run-at document-idle // @grant GM_addStyle // @require path_to_url // @icon path_to_url // @supportURL path_to_url // ==/UserScript== (() => { "use strict"; // Example page: path_to_url GM_addStyle(".gdf-extension-hidden, .gdf-folder-hidden { display: none; }"); const allLabel = "\u00ABall\u00BB", rootLabel = "\u00ABroot\u00BB", noExtLabel = "\u00ABno-ext\u00BB", dotExtLabel = "\u00ABdot-files\u00BB", renameFileLabel = "\u00ABrenamed\u00BB", minFileLabel = "\u00ABmin\u00BB"; let exts = {}; let folders = {}; function toggleBlocks({subgroup, type, show}) { if (type === allLabel) { // Toggle "all" blocks $$("#files div[id*='diff']").forEach(el => { el.classList.toggle(`gdf-${subgroup}-hidden`, !show); }); // update filter buttons $$(`#files .gdf-${subgroup}-filter a`).forEach(el => { el.classList.toggle("selected", show); }); } else if (subgroup === "folder") { Object.keys(folders) .reduce((acc, folder) => { if (folders[folder].length && !folder.includes("")) { acc.push({ folder, show: $(`.gdf-folder-filter a[data-item=${folder}]`).classList.contains("selected") }); } return acc; }, []) // sort show:true to the end; to fix hiding files that should be shown .sort((a, b) => { if (a.show && b.show) { return 0; } return a.show && !b.show ? 1 : -1; }) .forEach(({folder, show}) => { toggleGroup({group: folders[folder], subgroup, show }); }); } else if (exts[type]) { toggleGroup({group: exts[type], subgroup, show}); } updateAllButton(subgroup); } function toggleGroup({group, subgroup, show}) { const files = $("#files"); /* group contains an array of div ids used to target the * hidden link added immediately above each file div container * <a name="diff-xxxxx"></a> * <div id="diff-#" class="file js-file js-details container"> */ group.forEach(id => { const file = $(`#${id}`, files); if (file) { file.classList.toggle(`gdf-${subgroup}-hidden`, !show); } }); } function updateAllButton(subgroup) { const buttons = $(`#files .gdf-${subgroup}-filter`), filters = $$(`a:not(.gdf-${subgroup}-all)`, buttons), selected = $$(`a:not(.gdf-${subgroup}-all).selected`, buttons); // set "all" button $(`.gdf-${subgroup}-all`, buttons).classList.toggle( "selected", filters.length === selected.length ); } function getSHA(file) { return file.hash // #toc points to "a" ? file.hash.slice(1) // .pr-toolbar points to "a > div > div.filename" : file.closest("a").hash.slice(1); } function buildList() { exts = {}; folders = {}; // make noExtLabel the first element in the object exts[noExtLabel] = []; exts[dotExtLabel] = []; exts[renameFileLabel] = []; exts[minFileLabel] = []; folders[rootLabel] = []; // TOC in file diffs and pr-toolbar in Pull requests $$(".file-header .file-info > a").forEach(file => { let txt = (file.title || file.textContent || "").trim(); if (txt) { const path = txt.split("/"); const filename = path.splice(-1)[0]; // test for no extension, then get extension name // regexp from path_to_url let ext = /\./.test(filename) ? /[^./\\]*$/.exec(filename)[0] : noExtLabel; const min = /\.min\./.test(filename); // Add filter for renamed files: {old path} {new path} if (txt.indexOf(" ") > -1) { ext = renameFileLabel; } else if (ext === filename.slice(1)) { ext = dotExtLabel; } const sha = getSHA(file); if (ext) { if (!exts[ext]) { exts[ext] = []; } exts[ext].push(sha); if (min) { exts[minFileLabel].push(sha); } } if (path.length > 0) { path.forEach(folder => { if (!folders[folder]) { folders[folder] = []; } folders[folder].push(sha); }); } else { folders[rootLabel].push(sha); } } }); } function makeFilter({subgroup, label}) { const files = $("#files"); let filters = 0; const group = subgroup === "folder" ? folders : exts; const keys = Object.keys(group); let html = `${label}: <div class="BtnGroup gdf-${subgroup}-filter">`; const btnClass = "btn btn-sm selected BtnGroup-item tooltipped tooltipped-n"; // get length, but don't count empty arrays keys.forEach(item => { filters += group[item].length > 0 ? 1 : 0; }); // Don't bother showing the filter if only one extension is found if (files && filters > 1) { filters = $(`.gdf-${subgroup}-filter-wrapper`); if (!filters) { filters = document.createElement("p"); filters.className = `gdf-${subgroup}-filter-wrapper`; files.insertBefore(filters, files.firstChild); filters.addEventListener("click", event => { if (event.target.nodeName === "A") { event.preventDefault(); event.stopPropagation(); const el = event.target; el.classList.toggle("selected"); toggleBlocks({ subgroup: el.dataset.subgroup, type: el.textContent.trim(), show: el.classList.contains("selected") }); } }); } // add a filter "all" button to the beginning html += ` <a class="${btnClass} gdf-${subgroup}-all" data-subgroup="${subgroup}" data-item="${allLabel}" aria-label="Toggle all files" href="#"> ${allLabel} </a>`; keys.forEach(item => { if (group[item].length) { html += ` <a class="${btnClass}" aria-label="${group[item].length}" data-subgroup="${subgroup}" data-item="${item}" href="#"> ${item} </a>`; } }); // prepend filter buttons filters.innerHTML = html + "</div>"; } } function init() { if ($("#files.diff-view") || $(".pr-toolbar")) { buildList(); makeFilter({subgroup: "folder", label: "Filter file folder"}); makeFilter({subgroup: "extension", label: "Filter file extension"}); } } function $(str, el) { return (el || document).querySelector(str); } function $$(str, el) { return [...(el || document).querySelectorAll(str)]; } document.addEventListener("ghmo:container", init); document.addEventListener("ghmo:diff", init); init(); })(); ```
```java /** * Events triggered when the hierarchy changes, such as objects being added, removed or reclassified. */ package qupath.lib.objects.hierarchy.events; ```
Guadalupe Missionaries (, official name: ), also known by their abbreviation MG, is a Roman Catholic missionary society in Mexico. It was founded on October 7, 1949. The headquarters are located in Mexico City The members of the Society are secular and devote their lives to the mission Ad gentes. The first Superior General of the Society was Bishop Alonso M. Escalante, a Mexican who worked previously for years in China and Bolivia. References Roman Catholic missionaries in Mexico 1949 establishments in Mexico
Katerina Nikoloska (born 30 December 1990) is an Macedonia judoka. The first Olympic judoka to represent Macedonia, she competed at the 2016 Summer Olympics in Rio de Janeiro, in the women's 63 kg, where she was eliminated by Büşra Katipoğlu in the first round. References 1990 births Living people Macedonian female judoka Olympic judoka for North Macedonia Judoka at the 2016 Summer Olympics European Games competitors for North Macedonia Judoka at the 2015 European Games
```c++ //===-- CodeGen/AsmPrinter/WasmException.cpp - Wasm Exception Impl --------===// // // See path_to_url for license information. // //===your_sha256_hash------===// // // This file contains support for writing WebAssembly exception info into asm // files. // //===your_sha256_hash------===// #include "WasmException.h" #include "llvm/IR/Mangler.h" #include "llvm/MC/MCContext.h" #include "llvm/MC/MCStreamer.h" using namespace llvm; void WasmException::endModule() { // This is the symbol used in 'throw' and 'br_on_exn' instruction to denote // this is a C++ exception. This symbol has to be emitted somewhere once in // the module. Check if the symbol has already been created, i.e., we have at // least one 'throw' or 'br_on_exn' instruction in the module, and emit the // symbol only if so. SmallString<60> NameStr; Mangler::getNameWithPrefix(NameStr, "__cpp_exception", Asm->getDataLayout()); if (Asm->OutContext.lookupSymbol(NameStr)) { MCSymbol *ExceptionSym = Asm->GetExternalSymbolSymbol("__cpp_exception"); Asm->OutStreamer->EmitLabel(ExceptionSym); } } void WasmException::markFunctionEnd() { // Get rid of any dead landing pads. if (!Asm->MF->getLandingPads().empty()) { auto *NonConstMF = const_cast<MachineFunction *>(Asm->MF); // Wasm does not set BeginLabel and EndLabel information for landing pads, // so we should set the second argument false. NonConstMF->tidyLandingPads(nullptr, /* TidyIfNoBeginLabels */ false); } } void WasmException::endFunction(const MachineFunction *MF) { bool ShouldEmitExceptionTable = false; for (const LandingPadInfo &Info : MF->getLandingPads()) { if (MF->hasWasmLandingPadIndex(Info.LandingPadBlock)) { ShouldEmitExceptionTable = true; break; } } if (!ShouldEmitExceptionTable) return; MCSymbol *LSDALabel = emitExceptionTable(); assert(LSDALabel && ".GCC_exception_table has not been emitted!"); // Wasm requires every data section symbol to have a .size set. So we emit an // end marker and set the size as the difference between the start end the end // marker. MCSymbol *LSDAEndLabel = Asm->createTempSymbol("GCC_except_table_end"); Asm->OutStreamer->EmitLabel(LSDAEndLabel); MCContext &OutContext = Asm->OutStreamer->getContext(); const MCExpr *SizeExp = MCBinaryExpr::createSub( MCSymbolRefExpr::create(LSDAEndLabel, OutContext), MCSymbolRefExpr::create(LSDALabel, OutContext), OutContext); Asm->OutStreamer->emitELFSize(LSDALabel, SizeExp); } // Compute the call-site table for wasm EH. Even though we use the same function // name to share the common routines, a call site entry in the table corresponds // to not a call site for possibly-throwing functions but a landing pad. In wasm // EH the VM is responsible for stack unwinding. After an exception occurs and // the stack is unwound, the control flow is transferred to wasm 'catch' // instruction by the VM, after which the personality function is called from // the compiler-generated code. Refer to WasmEHPrepare pass for more // information. void WasmException::computeCallSiteTable( SmallVectorImpl<CallSiteEntry> &CallSites, const SmallVectorImpl<const LandingPadInfo *> &LandingPads, const SmallVectorImpl<unsigned> &FirstActions) { MachineFunction &MF = *Asm->MF; for (unsigned I = 0, N = LandingPads.size(); I < N; ++I) { const LandingPadInfo *Info = LandingPads[I]; MachineBasicBlock *LPad = Info->LandingPadBlock; // We don't emit LSDA for single catch (...). if (!MF.hasWasmLandingPadIndex(LPad)) continue; // Wasm EH must maintain the EH pads in the order assigned to them by the // WasmEHPrepare pass. unsigned LPadIndex = MF.getWasmLandingPadIndex(LPad); CallSiteEntry Site = {nullptr, nullptr, Info, FirstActions[I]}; if (CallSites.size() < LPadIndex + 1) CallSites.resize(LPadIndex + 1); CallSites[LPadIndex] = Site; } } ```
Alfred F. "Pots" Clark (November 26, 1900 – September 18, 1973) was an American football player. A native of Ogden, Utah, Clark played college football for Nevada. He later played professional football in the National Football League (NFL) as a tackle for the Duluth Eskimos and Frankford Yellow Jackets during the 1927 season. He appeared in a total of seven NFL games, four of them as a starter. References 1900 births 1973 deaths Sportspeople from Ogden, Utah Duluth Eskimos players Frankford Yellow Jackets players Players of American football from Utah American football halfbacks Nevada Wolf Pack football players
```javascript 'use strict'; // Refs: path_to_url // Failing to close a file should not keep the event loop open. const common = require('../common'); // This issue only shows up on Raspberry Pi devices in our CI. When this test is // moved out of known_issues, this check can be removed, as the test should pass // on all platforms at that point. const assert = require('assert'); if (process.arch !== 'arm' || process.config.variables.arm_version > 7) { assert.fail('This test is for Raspberry Pi devices in CI'); } const fs = require('fs'); const debuglog = (arg) => { console.log(new Date().toLocaleString(), arg); }; const tmpdir = require('../common/tmpdir'); tmpdir.refresh(); { fs.open(`${tmpdir.path}/dummy`, 'wx+', common.mustCall((err, fd) => { debuglog('fs open() callback'); assert.ifError(err); })); debuglog('waiting for callback'); } ```
```javascript /** * @license Apache-2.0 * * * * 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. */ 'use strict'; var arcsine = require( '@stdlib/random/base/arcsine' ); var zeros = require( '@stdlib/array/zeros' ); var zeroTo = require( '@stdlib/array/zero-to' ); var logEach = require( '@stdlib/console/log-each' ); var binaryFactory = require( './../lib' ); // Create a PRNG factory function: var factory = binaryFactory( arcsine ); // returns <Function> // Specify a PRNG seed: var opts = { 'seed': 1234 }; // Create a function for filling strided arrays: var rand1 = factory( opts ); // returns <Function> // Create an array: var x1 = zeros( 10, 'float64' ); // Fill the array with pseudorandom numbers: rand1( x1.length, [ 2.0 ], 0, [ 5.0 ], 0, x1, 1 ); // Create another function for filling strided arrays: var rand2 = factory( opts ); // returns <Function> // Create a second array: var x2 = zeros( 10, 'generic' ); // Fill the array with the same pseudorandom numbers: rand2( x2.length, [ 2.0 ], 0, [ 5.0 ], 0, x2, 1 ); // Create a list of indices: var idx = zeroTo( x1.length, 'generic' ); // Print the array contents: logEach( 'x1[%d] = %.2f; x2[%d] = %.2f', idx, x1, idx, x2 ); ```
Vanities is a comedy-drama stage production written by Jack Heifner. The story centers on the lives and friendship of three Texas cheerleaders starting from high school in 1963, continuing through college as sorority sisters in 1968, and ending with the dissolution of their friendship in 1974 New York as their interests and livelihoods change and they are no longer as compatible with one another as they had been in their school days. Plot summary Three best friends journey through high school, college and their later lives, as they remember all of their adventures. Joanne is a sweet, naive southern girl. Mary is very confident. Kathy is the planner. Act 1: In high school in 1963, the three girls are the popular cheerleaders and are planning all of the social events. Act 2: Joanne, Mary and Kathy are in college in the late 1960s, living together in the same sorority, Kappa Kappa Gamma, still planning events. Kathy expresses confusion about what she wants to do after college. Act 3: Joanne marries Ted, her longtime boyfriend, and becomes extremely conservative. Mary opens an erotic art gallery and explores sexual liberation. Kathy ends up cynical and living day to day in New York City, with no job, and reads all of the books she was supposed to read in college. When they meet at Kathy's fabulous apartment in New York in 1974, they end up fighting. Joanne gets drunk and talks about how she never has a break from her kids and her husband Ted never lets her drink. Incensed by Joanne's sanctimonious airs, Mary reveals she has had an affair with Joanne's husband Ted. Joanne refuses to believe her and ultimately tells her, "Go fuck yourself!" and leaves the party in a huff. Kathy and Mary close the play by drinking "to forget" their "bygone days" together. Production history Vanities had one of the longest Off-Broadway runs on record. The comedy opened at Playwrights Horizons, New York City on January 15, 1976, for 13 performances, and then transferred to the Chelsea Theatre Center (now the Westside Theatre) where it opened on March 22, 1976 and closed August 3, 1980, running for 1,785 performances. The cast included Kathy Bates as Joanne, Jane Galloway as Kathy and Susan Merson as Mary. Heifner received a 1976 Drama Desk Award nomination for Outstanding New Play. Other productions have been performed in colleges and theatres and continue to do so. Other versions The stage play was taped and presented on HBO in 1981, for the program Standing Room Only: Vanities starring Annette O'Toole, Meredith Baxter Birney and Shelley Hack. The play was made into a musical, Vanities: A New Musical which premiered Off-Broadway in 2009. References External links "'Vanities' Heads To Broadway In Fall '08 Starring Kennedy" Broadwayworld.com article. Stephen F. Austin State University, article and interview Off-Broadway plays 1976 plays Fiction set in 1963 Fiction set in 1974 Plays set in the 1960s Plays set in the 1970s
```swift // // TopicListApi.swift // V2ex-Swift // // Created by huangfeng on 2018/9/17. // import UIKit enum TopicListApi { // case topicList(tab: String?, page: Int) // case favoriteList(page: Int) // case nodeTopicList(nodeName: String, page:Int) } extension TopicListApi: V2EXTargetType { var parameters: [String : Any]? { switch self { case let .topicList(tab, page): if tab == "all" && page > 0 { // return ["p": page] } return ["tab": tab ?? "all"] case let .favoriteList(page): return ["p": page] case let .nodeTopicList(_, page): return ["p": page] // default: // return nil } } var path: String { switch self { case let .topicList(tab, page): if tab == "all" && page > 0 { return "/recent" } return "/" case .favoriteList: return "/my/topics" case let .nodeTopicList(nodeName, _): return "/go/\(nodeName)" // default: // return "" } } } ```
```objective-c /* $OpenBSD: ax.h,v 1.4 2024/02/20 12:25:43 martijn Exp $ */ /* * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #include <sys/types.h> #include <endian.h> #include <stdint.h> #define AX_PDU_FLAG_INSTANCE_REGISTRATION (1 << 0) #define AX_PDU_FLAG_NEW_INDEX (1 << 1) #define AX_PDU_FLAG_ANY_INDEX (1 << 2) #define AX_PDU_FLAG_NON_DEFAULT_CONTEXT (1 << 3) #define AX_PDU_FLAG_NETWORK_BYTE_ORDER (1 << 4) #define AX_PRIORITY_DEFAULT 127 enum ax_byte_order { AX_BYTE_ORDER_BE, AX_BYTE_ORDER_LE }; #if BYTE_ORDER == BIG_ENDIAN #define AX_BYTE_ORDER_NATIVE AX_BYTE_ORDER_BE #else #define AX_BYTE_ORDER_NATIVE AX_BYTE_ORDER_LE #endif enum ax_pdu_type { AX_PDU_TYPE_OPEN = 1, AX_PDU_TYPE_CLOSE = 2, AX_PDU_TYPE_REGISTER = 3, AX_PDU_TYPE_UNREGISTER = 4, AX_PDU_TYPE_GET = 5, AX_PDU_TYPE_GETNEXT = 6, AX_PDU_TYPE_GETBULK = 7, AX_PDU_TYPE_TESTSET = 8, AX_PDU_TYPE_COMMITSET = 9, AX_PDU_TYPE_UNDOSET = 10, AX_PDU_TYPE_CLEANUPSET = 11, AX_PDU_TYPE_NOTIFY = 12, AX_PDU_TYPE_PING = 13, AX_PDU_TYPE_INDEXALLOCATE = 14, AX_PDU_TYPE_INDEXDEALLOCATE = 15, AX_PDU_TYPE_ADDAGENTCAPS = 16, AX_PDU_TYPE_REMOVEAGENTCAPS = 17, AX_PDU_TYPE_RESPONSE = 18 }; enum ax_pdu_error { AX_PDU_ERROR_NOERROR = 0, AX_PDU_ERROR_GENERR = 5, AX_PDU_ERROR_NOACCESS = 6, AX_PDU_ERROR_WRONGTYPE = 7, AX_PDU_ERROR_WRONGLENGTH = 8, AX_PDU_ERROR_WRONGENCODING = 9, AX_PDU_ERROR_WRONGVALUE = 10, AX_PDU_ERROR_NOCREATION = 11, AX_PDU_ERROR_INCONSISTENTVALUE = 12, AX_PDU_ERROR_RESOURCEUNAVAILABLE = 13, AX_PDU_ERROR_COMMITFAILED = 14, AX_PDU_ERROR_UNDOFAILED = 15, AX_PDU_ERROR_NOTWRITABLE = 17, AX_PDU_ERROR_INCONSISTENTNAME = 18, AX_PDU_ERROR_OPENFAILED = 256, AX_PDU_ERROR_NOTOPEN = 257, AX_PDU_ERROR_INDEXWRONGTYPE = 258, AX_PDU_ERROR_INDEXALREADYALLOCATED = 259, AX_PDU_ERROR_INDEXNONEAVAILABLE = 260, AX_PDU_ERROR_INDEXNOTALLOCATED = 261, AX_PDU_ERROR_UNSUPPORTEDCONETXT = 262, AX_PDU_ERROR_DUPLICATEREGISTRATION = 263, AX_PDU_ERROR_UNKNOWNREGISTRATION = 264, AX_PDU_ERROR_UNKNOWNAGENTCAPS = 265, AX_PDU_ERROR_PARSEERROR = 266, AX_PDU_ERROR_REQUESTDENIED = 267, AX_PDU_ERROR_PROCESSINGERROR = 268 }; enum ax_data_type { AX_DATA_TYPE_INTEGER = 2, AX_DATA_TYPE_OCTETSTRING = 4, AX_DATA_TYPE_NULL = 5, AX_DATA_TYPE_OID = 6, AX_DATA_TYPE_IPADDRESS = 64, AX_DATA_TYPE_COUNTER32 = 65, AX_DATA_TYPE_GAUGE32 = 66, AX_DATA_TYPE_TIMETICKS = 67, AX_DATA_TYPE_OPAQUE = 68, AX_DATA_TYPE_COUNTER64 = 70, AX_DATA_TYPE_NOSUCHOBJECT = 128, AX_DATA_TYPE_NOSUCHINSTANCE = 129, AX_DATA_TYPE_ENDOFMIBVIEW = 130 }; enum ax_close_reason { AX_CLOSE_OTHER = 1, AX_CLOSEN_PARSEERROR = 2, AX_CLOSE_PROTOCOLERROR = 3, AX_CLOSE_TIMEOUTS = 4, AX_CLOSE_SHUTDOWN = 5, AX_CLOSE_BYMANAGER = 6 }; struct ax { int ax_fd; enum ax_byte_order ax_byteorder; uint8_t *ax_rbuf; size_t ax_rblen; size_t ax_rbsize; uint8_t *ax_wbuf; size_t ax_wblen; size_t ax_wbtlen; size_t ax_wbsize; }; #ifndef AX_PRIMITIVE #define AX_PRIMITIVE #define AX_OID_MAX_LEN 128 struct ax_oid { uint8_t aoi_include; uint32_t aoi_id[AX_OID_MAX_LEN]; size_t aoi_idlen; }; struct ax_ostring { unsigned char *aos_string; uint32_t aos_slen; }; #endif struct ax_searchrange { struct ax_oid asr_start; struct ax_oid asr_stop; }; struct ax_pdu_header { uint8_t aph_version; uint8_t aph_type; uint8_t aph_flags; uint8_t aph_reserved; uint32_t aph_sessionid; uint32_t aph_transactionid; uint32_t aph_packetid; uint32_t aph_plength; }; struct ax_varbind { enum ax_data_type avb_type; struct ax_oid avb_oid; union ax_data { int32_t avb_int32; uint32_t avb_uint32; uint64_t avb_uint64; struct ax_ostring avb_ostring; struct ax_oid avb_oid; } avb_data; }; struct ax_pdu { struct ax_pdu_header ap_header; struct ax_ostring ap_context; union { struct ax_pdu_open { uint8_t ap_timeout; struct ax_oid ap_oid; struct ax_ostring ap_descr; } ap_open; struct ax_pdu_close { enum ax_close_reason ap_reason; } ap_close; struct ax_pdu_register { uint8_t ap_timeout; uint8_t ap_priority; uint8_t ap_range_subid; struct ax_oid ap_subtree; uint32_t ap_upper_bound; } ap_register; struct ax_pdu_unregister { uint8_t ap_priority; uint8_t ap_range_subid; struct ax_oid ap_subtree; uint32_t ap_upper_bound; } ap_unregister; struct ax_pdu_searchrangelist { size_t ap_nsr; struct ax_searchrange *ap_sr; } ap_srl; struct ax_pdu_getbulk { uint16_t ap_nonrep; uint16_t ap_maxrep; struct ax_pdu_searchrangelist ap_srl; } ap_getbulk; struct ax_pdu_varbindlist { struct ax_varbind *ap_varbind; size_t ap_nvarbind; } ap_vbl; struct ax_pdu_addagentcaps { struct ax_oid ap_oid; struct ax_ostring ap_descr; } ap_addagentcaps; struct ax_pdu_removeagentcaps { struct ax_oid ap_oid; } ap_removeagentcaps; struct ax_pdu_response { uint32_t ap_uptime; enum ax_pdu_error ap_error; uint16_t ap_index; struct ax_varbind *ap_varbindlist; size_t ap_nvarbind; } ap_response; } ap_payload; }; struct ax *ax_new(int); void ax_free(struct ax *); struct ax_pdu *ax_recv(struct ax *); ssize_t ax_send(struct ax *); uint32_t ax_open(struct ax *, uint8_t, struct ax_oid *, struct ax_ostring *); uint32_t ax_close(struct ax *, uint32_t, enum ax_close_reason); int ax_get(struct ax *, uint32_t, uint32_t, uint32_t, struct ax_ostring *, struct ax_searchrange *, size_t); int ax_getnext(struct ax *, uint32_t, uint32_t, uint32_t, struct ax_ostring *, struct ax_searchrange *, size_t); uint32_t ax_indexallocate(struct ax *, uint8_t, uint32_t, struct ax_ostring *, struct ax_varbind *, size_t); uint32_t ax_indexdeallocate(struct ax *, uint32_t, struct ax_ostring *, struct ax_varbind *, size_t); uint32_t ax_addagentcaps(struct ax *, uint32_t, struct ax_ostring *, struct ax_oid *, struct ax_ostring *); uint32_t ax_removeagentcaps(struct ax *, uint32_t, struct ax_ostring *, struct ax_oid *); uint32_t ax_register(struct ax *, uint8_t, uint32_t, struct ax_ostring *, uint8_t, uint8_t, uint8_t, struct ax_oid *, uint32_t); uint32_t ax_unregister(struct ax *, uint32_t, struct ax_ostring *, uint8_t, uint8_t, struct ax_oid *, uint32_t); int ax_response(struct ax *, uint32_t, uint32_t, uint32_t, uint32_t, uint16_t, uint16_t, struct ax_varbind *, size_t); void ax_pdu_free(struct ax_pdu *); void ax_varbind_free(struct ax_varbind *); const char *ax_error2string(enum ax_pdu_error); const char *ax_pdutype2string(enum ax_pdu_type); const char *ax_oid2string(struct ax_oid *); const char *ax_oidrange2string(struct ax_oid *, uint8_t, uint32_t); const char *ax_varbind2string(struct ax_varbind *); const char *ax_closereason2string(enum ax_close_reason); int ax_oid_cmp(struct ax_oid *, struct ax_oid *); int ax_oid_add(struct ax_oid *, uint32_t); ```
Dommartin () is a commune in the Doubs department in the Bourgogne-Franche-Comté region in eastern France. Population See also Communes of the Doubs department References Communes of Doubs
Joachim Meischner (born 13 August 1946 in Zwönitz) is a retired East German biathlete. He represented the sports club SG Dynamo Zinnwald / Sportvereinigung (SV) Dynamo. He won the bronze medal at the Winter Olympics in Sapporo 1972. References 1946 births Living people German male biathletes Biathletes at the 1972 Winter Olympics Olympic biathletes for East Germany East German male biathletes Olympic bronze medalists for East Germany Olympic medalists in biathlon Medalists at the 1972 Winter Olympics People from Erzgebirgskreis Sportspeople from Saxony People from Bezirk Karl-Marx-Stadt
```php <?php /** * The template for displaying archive pages * * @link path_to_url * * @package WordPress * @subpackage Twenty_Nineteen * @since Twenty Nineteen 1.0 */ get_header(); ?> <div id="primary" class="content-area"> <main id="main" class="site-main"> <?php if ( have_posts() ) : ?> <header class="page-header"> <?php the_archive_title( '<h1 class="page-title">', '</h1>' ); ?> </header><!-- .page-header --> <?php // Start the Loop. while ( have_posts() ) : the_post(); /* * Include the Post-Format-specific template for the content. * If you want to override this in a child theme, then include a file * called content-___.php (where ___ is the Post Format name) and that * will be used instead. */ get_template_part( 'template-parts/content/content', 'excerpt' ); // End the loop. endwhile; // Previous/next page navigation. twentynineteen_the_posts_navigation(); // If no content, include the "No posts found" template. else : get_template_part( 'template-parts/content/content', 'none' ); endif; ?> </main><!-- #main --> </div><!-- #primary --> <?php get_footer(); ```
```javascript import Icon from '../../components/Icon.vue' Icon.register({ 'brands/superpowers': { width: 448, height: 512, paths: [ { d: 'M448 32l-87.2 87c39.7 38.7 61.2 92.7 57.7 148.2-5.4 93-76.9 167.3-168.7 179.8-83.3 11-166.5 22-249.8 33l86.8-86.8c-39.8-38.7-61.1-92.7-57.8-148.2 5.7-93.3 77-167.5 169-180 83.2-11 166.7-22 250-33zM368.3 264.3c4.4-80-56.8-146.3-136.1-151-78.7-4.8-148.5 55.3-153 134.5-4.4 80 56.8 146.3 136.3 151 78.8 4.7 148.6-55 152.8-134.5z' } ] } }) ```
```java package com.marcosbarbero.cloud.autoconfigure.zuul.ratelimit.config.properties; import static org.assertj.core.api.Assertions.assertThat; import com.marcosbarbero.cloud.autoconfigure.zuul.ratelimit.RateLimitAutoConfiguration; import com.marcosbarbero.cloud.autoconfigure.zuul.ratelimit.config.RateLimitUtils; import com.marcosbarbero.cloud.autoconfigure.zuul.ratelimit.support.SecuredRateLimitUtils; import java.util.Collections; import javax.servlet.http.HttpServletRequest; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.cloud.netflix.zuul.filters.Route; import org.springframework.security.test.context.support.WithMockUser; @SpringBootTest(classes = RateLimitAutoConfiguration.class) public class SecureContextRateLimitTypeTest { @Mock private HttpServletRequest httpServletRequest; private Route route = new Route("servicea", "/test", "servicea", "/servicea", null, Collections.emptySet()); private RateLimitUtils rateLimitUtils; @BeforeEach public void setUp() { MockitoAnnotations.initMocks(this); RateLimitProperties properties = new RateLimitProperties(); rateLimitUtils = new SecuredRateLimitUtils(properties); } @Test @WithMockUser(username = "commonuser", authorities = {"USER"}) public void applyRole() { boolean apply = RateLimitType.ROLE.apply(httpServletRequest, route, rateLimitUtils, "user"); assertThat(apply).isTrue(); } @Test @WithMockUser(username = "commonuser", authorities = {"ADMIN"}) public void doNotApplyRole() { boolean apply = RateLimitType.ROLE.apply(httpServletRequest, route, rateLimitUtils, "user"); assertThat(apply).isFalse(); } @Test public void withEmptyAuthentication() { boolean apply = RateLimitType.ROLE.apply(httpServletRequest, route, rateLimitUtils, "user"); assertThat(apply).isFalse(); } } ```
Stratiomys normula is a species of soldier fly in the family Stratiomyidae. Distribution Canada, United States. References Stratiomyidae Insects described in 1866 Taxa named by Hermann Loew Diptera of North America
```emacs lisp ;;; iswitchb.el --- switch between buffers using substrings ;; Author: Stephen Eglen <stephen@gnu.org> ;; Maintainer: Stephen Eglen <stephen@gnu.org> ;; Keywords: completion convenience ;; Obsolete-since: 24.4 ;; This file is part of GNU Emacs. ;; GNU Emacs is free software: you can redistribute it and/or modify ;; (at your option) any later version. ;; GNU Emacs 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 GNU Emacs. If not, see <path_to_url ;;; Commentary: ;; This file is obsolete - use icomplete-mode or ido-mode instead. ;; Installation: ;; To get the functions in this package bound to keys, use ;; M-x iswitchb-mode or customize the option `iswitchb-mode'. ;; Alternatively, add the following line to your .emacs: ;; (iswitchb-mode 1) ;; As you type in a substring, the list of buffers currently matching ;; the substring is displayed as you type. The list is ordered so ;; that the most recent buffers visited come at the start of the list. ;; The buffer at the start of the list will be the one visited when ;; you press return. By typing more of the substring, the list is ;; narrowed down so that gradually the buffer you want will be at the ;; top of the list. Alternatively, you can use C-s and C-r to rotate ;; buffer names in the list until the one you want is at the top of ;; the list. Completion is also available so that you can see what is ;; common to all of the matching buffers as you type. ;; This code is similar to a couple of other packages. Michael R Cook ;; <cook@sightpath.com> wrote a similar buffer switching package, but ;; does exact matching rather than substring matching on buffer names. ;; I also modified a couple of functions from icomplete.el to provide ;; the completion feedback in the minibuffer. ;;; Example ;; If I have two buffers called "123456" and "123", with "123456" the ;; most recent, when I use iswitchb, I first of all get presented with ;; the list of all the buffers ;; ;; iswitch {123456,123} ;; ;; If I then press 2: ;; iswitch 2[3]{123456,123} ;; ;; The list in {} are the matching buffers, most recent first (buffers ;; visible in the current frame are put at the end of the list by ;; default). At any time I can select the item at the head of the ;; list by pressing RET. I can also put the first element at the end ;; of the list by pressing C-s, or put the last element at the head of ;; the list by pressing C-r. The item in [] indicates what can be ;; added to my input by pressing TAB. In this case, I will get "3" ;; added to my input. So, press TAB: ;; iswitch 23{123456,123} ;; ;; At this point, I still have two matching buffers. ;; If I want the first buffer in the list, I simply press RET. If I ;; wanted the second in the list, I could press C-s to move it to the ;; top of the list and then RET to select it. ;; ;; However, if I type 4, I only have one match left: ;; iswitch 234[123456] [Matched] ;; ;; Since there is only one matching buffer left, it is given in [] and we ;; see the text [Matched] afterwards. I can now press TAB or RET to go ;; to that buffer. ;; ;; If however, I now type "a": ;; iswitch 234a [No match] ;; There are no matching buffers. If I press RET or TAB, I can be ;; prompted to create a new buffer called "234a". ;; ;; Of course, where this function comes in really useful is when you ;; can specify the buffer using only a few keystrokes. In the above ;; example, the quickest way to get to the "123456" buffer would be ;; just to type 4 and then RET (assuming there isn't any newer buffer ;; with 4 in its name). ;; To see a full list of all matching buffers in a separate buffer, ;; hit ? or press TAB when there are no further completions to the ;; substring. Repeated TAB presses will scroll you through this ;; separate buffer. ;; The buffer at the head of the list can be killed by pressing C-k. ;; If the buffer needs saving, you will be queried before the buffer ;; is killed. ;; If you find that the file you are after is not in a buffer, you can ;; press C-x C-f to immediately drop into find-file. ;; See the doc string of iswitchb for full keybindings and features. ;; (describe-function 'iswitchb) ;; Case matching: The case of strings when matching can be ignored or ;; used depending on the value of iswitchb-case (default is the same ;; as case-fold-search, normally t). Imagine you have the following ;; buffers: ;; ;; INBOX *info* *scratch* ;; ;; Then these will be the matching buffers, depending on how you type ;; the two letters `in' and the value of iswitchb-case: ;; ;; iswitchb-case user input | matching buffers ;; ---------------------------------------------- ;; nil in | *info* ;; t in | INBOX, *info* ;; t IN | INBOX ;; t In | [No match] ;;; Customization ;; See the User Variables section below for easy ways to change the ;; functionality of the program. These are accessible using the ;; custom package. ;; To modify the keybindings, use something like: ;; ;;(add-hook 'iswitchb-mode-hook 'iswitchb-my-keys) ;;(defun iswitchb-my-keys () ;; "Add my keybindings for iswitchb." ;; (define-key iswitchb-mode-map " " 'iswitchb-next-match)) ;; ;; Seeing all the matching buffers ;; ;; If you have many matching buffers, they may not all fit onto one ;; line of the minibuffer. In Emacs 21, the variable ;; `resize-mini-windows' controls how many lines of the minibuffer can ;; be seen. For older versions of emacs, you can use ;; `resize-minibuffer-mode'. You can also limit iswitchb so that it ;; only shows a certain number of lines -- see the documentation for ;; `iswitchb-minibuffer-setup-hook'. ;; Changing the list of buffers ;; By default, the list of current buffers is most recent first, ;; oldest last, with the exception that the buffers visible in the ;; current frame are put at the end of the list. A hook exists to ;; allow other functions to order the list. For example, if you add: ;; ;; (add-hook 'iswitchb-make-buflist-hook 'iswitchb-summaries-to-end) ;; ;; then all buffers matching "Summary" are moved to the end of the ;; list. (I find this handy for keeping the INBOX Summary and so on ;; out of the way.) It also moves buffers matching "output\*$" to the ;; end of the list (these are created by AUCTeX when compiling.) ;; Other functions could be made available which alter the list of ;; matching buffers (either deleting or rearranging elements.) ;; Font-Lock ;; font-lock is used to highlight the first matching buffer. To ;; switch this off, set (setq iswitchb-use-faces nil). Coloring of ;; the matching buffer name was suggested by Carsten Dominik ;; (dominik@strw.leidenuniv.nl) ;; Replacement for read-buffer ;; iswitchb-read-buffer has been written to be a drop in replacement ;; for the normal buffer selection routine `read-buffer'. To use ;; iswitch for all buffer selections in Emacs, add: ;; (setq read-buffer-function #'iswitchb-read-buffer) ;; (This variable was introduced in Emacs 20.3.) ;; XEmacs users can get the same behavior by doing: ;; (defalias 'read-buffer #'iswitchb-read-buffer) ;; since `read-buffer' is defined in lisp. ;; Using iswitchb for other completion tasks. ;; Kin Cho (kin@neoscale.com) sent the following suggestion to use ;; iswitchb for other completion tasks. ;; ;; (defun my-icompleting-read (prompt choices) ;; "Use iswitch as a completing-read replacement to choose from ;; choices. PROMPT is a string to prompt with. CHOICES is a list of ;; strings to choose from." ;; (let ((iswitchb-make-buflist-hook ;; (lambda () ;; (setq iswitchb-temp-buflist choices)))) ;; (iswitchb-read-buffer prompt))) ;; ;; example: ;; (my-icompleting-read "Which fruit? " ' ;; ("apple" "pineapple" "pear" "bananas" "oranges") ) ;; Kin Cho also suggested the following defun. Once you have a subset of ;; matching buffers matching your current prompt, you can then press ;; e.g. C-o to restrict matching to those buffers and clearing the prompt: ;; (defun iswitchb-exclude-nonmatching() ;; "Make iswitchb work on only the currently matching names." ;; (interactive) ;; (setq iswitchb-buflist iswitchb-matches) ;; (setq iswitchb-rescan t) ;; (delete-minibuffer-contents)) ;; ;; (add-hook 'iswitchb-define-mode-map-hook ;; (lambda () (define-key ;; iswitchb-mode-map "\C-o" ;; 'iswitchb-exclude-nonmatching))) ;; Other lisp packages extend iswitchb behavior to other tasks. See ;; ido.el (by Kim Storm) and mcomplete.el (Yuji Minejima). ;; Window managers: Switching frames/focus follows mouse; Sawfish. ;; If you switch to a buffer that is visible in another frame, ;; iswitchb can switch focus to that frame. If your window manager ;; uses "click to focus" policy for window selection, you should also ;; set focus-follows-mouse to nil. ;; iswitch functionality has also been implemented for switching ;; between windows in the Sawfish window manager. ;; Regexp matching ;; There is provision for regexp matching within iswitchb, enabled ;; through `iswitchb-regexp'. This allows you to type `c$' for ;; example and see all buffer names ending in `c'. No completion ;; mechanism is currently offered when regexp searching. ;;; TODO ;;; Acknowledgments ;; Thanks to Jari Aalto <jari.aalto@poboxes.com> for help with the ;; first version of this package, iswitch-buffer. Thanks also to many ;; others for testing earlier versions. ;;; Code: (require 'font-lock) ;;; User Variables ;; ;; These are some things you might want to change. (defgroup iswitchb nil "Switch between buffers using substrings." :group 'convenience :group 'completion :link '(emacs-commentary-link :tag "Commentary" "iswitchb.el") :link '(url-link "path_to_url~stephen/emacs/") :link '(emacs-library-link :tag "Lisp File" "iswitchb.el")) (defcustom iswitchb-case case-fold-search "Non-nil if searching of buffer names should ignore case. If this is non-nil but the user input has any upper case letters, matching is temporarily case sensitive." :type 'boolean :group 'iswitchb) (defcustom iswitchb-buffer-ignore '("^ ") "List of regexps or functions matching buffer names to ignore. For example, traditional behavior is not to list buffers whose names begin with a space, for which the regexp is `^ '. See the source file for example functions that filter buffer names." :type '(repeat (choice regexp function)) :group 'iswitchb) (put 'iswitchb-buffer-ignore 'risky-local-variable t) (defcustom iswitchb-max-to-show nil "If non-nil, limit the number of names shown in the minibuffer. If this value is N, and N is greater than the number of matching buffers, the first N/2 and the last N/2 matching buffers are shown. This can greatly speed up iswitchb if you have a multitude of buffers open." :type '(choice (const :tag "Show all" nil) integer) :group 'iswitchb) (defcustom iswitchb-use-virtual-buffers nil "If non-nil, refer to past buffers when none match. This feature relies upon the `recentf' package, which will be enabled if this variable is configured to a non-nil value." :type 'boolean :require 'recentf :set (function (lambda (sym value) (if value (recentf-mode 1)) (set sym value))) :group 'iswitchb) (defvar iswitchb-virtual-buffers nil) (defcustom iswitchb-cannot-complete-hook 'iswitchb-completion-help "Hook run when `iswitchb-complete' can't complete any more. The most useful values are `iswitchb-completion-help', which pops up a window with completion alternatives, or `iswitchb-next-match' or `iswitchb-prev-match', which cycle the buffer list." :type 'hook :group 'iswitchb) ;; Examples for setting the value of iswitchb-buffer-ignore ;;(defun iswitchb-ignore-c-mode (name) ;; "Ignore all c mode buffers -- example function for iswitchb." ;; (with-current-buffer name ;; (derived-mode-p 'c-mode))) ;;(setq iswitchb-buffer-ignore '("^ " iswitchb-ignore-c-mode)) ;;(setq iswitchb-buffer-ignore '("^ " "\\.c\\'" "\\.h\\'")) (defcustom iswitchb-default-method 'always-frame "How to switch to new buffer when using `iswitchb-buffer'. Possible values: `samewindow' Show new buffer in same window `otherwindow' Show new buffer in another window (same frame) `display' Display buffer in another window without switching to it `otherframe' Show new buffer in another frame `maybe-frame' If a buffer is visible in another frame, prompt to ask if you you want to see the buffer in the same window of the current frame or in the other frame. `always-frame' If a buffer is visible in another frame, raise that frame. Otherwise, visit the buffer in the same window." :type '(choice (const samewindow) (const otherwindow) (const display) (const otherframe) (const maybe-frame) (const always-frame)) :group 'iswitchb) (defcustom iswitchb-regexp nil "Non-nil means that `iswitchb' will do regexp matching. Value can be toggled within `iswitchb' using `iswitchb-toggle-regexp'." :type 'boolean :group 'iswitchb) (defcustom iswitchb-newbuffer t "Non-nil means create new buffer if no buffer matches substring. See also `iswitchb-prompt-newbuffer'." :type 'boolean :group 'iswitchb) (defcustom iswitchb-prompt-newbuffer t "Non-nil means prompt user to confirm before creating new buffer. See also `iswitchb-newbuffer'." :type 'boolean :group 'iswitchb) (defcustom iswitchb-use-faces t "Non-nil means use font-lock faces for showing first match." :type 'boolean :group 'iswitchb) (defcustom iswitchb-use-frame-buffer-list nil "Non-nil means use the currently selected frame's buffer list." :type 'boolean :group 'iswitchb) (defcustom iswitchb-make-buflist-hook nil "Hook to run when list of matching buffers is created." :type 'hook :group 'iswitchb) (defcustom iswitchb-delim "," "Delimiter to put between buffer names when displaying results." :type 'string :group 'iswitchb) (defcustom iswitchb-all-frames 'visible "Argument to pass to `walk-windows' when iswitchb is finding buffers. See documentation of `walk-windows' for useful values." :type '(choice (const :tag "Selected frame only" nil) (const :tag "All existing frames" t) (const :tag "All visible frames" visible) (const :tag "All frames on this terminal" 0)) :group 'iswitchb) (defcustom iswitchb-minibuffer-setup-hook nil "Iswitchb-specific customization of minibuffer setup. This hook is run during minibuffer setup if `iswitchb' is active. For instance: \(add-hook \\='iswitchb-minibuffer-setup-hook \\='\(lambda () (set (make-local-variable \\='max-mini-window-height) 3))) will constrain the minibuffer to a maximum height of 3 lines when iswitchb is running." :type 'hook :group 'iswitchb) (defface iswitchb-single-match '((t (:inherit font-lock-comment-face))) "Iswitchb face for single matching buffer name." :version "22.1" :group 'iswitchb) (defface iswitchb-current-match '((t (:inherit font-lock-function-name-face))) "Iswitchb face for current matching buffer name." :version "22.1" :group 'iswitchb) (defface iswitchb-virtual-matches '((t (:inherit font-lock-builtin-face))) "Iswitchb face for matching virtual buffer names. See also `iswitchb-use-virtual-buffers'." :version "22.1" :group 'iswitchb) (defface iswitchb-invalid-regexp '((t (:inherit font-lock-warning-face))) "Iswitchb face for indicating invalid regexp. " :version "22.1" :group 'iswitchb) ;; Do we need the variable iswitchb-use-mycompletion? ;;; Internal Variables (defvar iswitchb-method nil "Stores the method for viewing the selected buffer. Its value is one of `samewindow', `otherwindow', `display', `otherframe', `maybe-frame' or `always-frame'. See `iswitchb-default-method' for details of values.") (defvar iswitchb-eoinput 1 "Point where minibuffer input ends and completion info begins. Copied from `icomplete-eoinput'.") (make-variable-buffer-local 'iswitchb-eoinput) (defvar iswitchb-buflist nil "Stores the current list of buffers that will be searched through. The list is ordered, so that the most recent buffers come first, although by default, the buffers visible in the current frame are put at the end of the list. Created by `iswitchb-make-buflist'.") ;; todo -- is this necessary? (defvar iswitchb-use-mycompletion nil "Non-nil means use `iswitchb-buffer' completion feedback. Should only be set to t by iswitchb functions, so that it doesn't interfere with other minibuffer usage.") (defvar iswitchb-change-word-sub nil "Private variable used by `iswitchb-word-matching-substring'.") (defvar iswitchb-common-match-string nil "Stores the string that is common to all matching buffers.") (defvar iswitchb-rescan nil "Non-nil means we need to regenerate the list of matching buffers.") (defvar iswitchb-text nil "Stores the users string as it is typed in.") (defvar iswitchb-matches nil "List of buffers currently matching `iswitchb-text'.") (defvar iswitchb-mode-map (let ((map (make-sparse-keymap))) (set-keymap-parent map minibuffer-local-map) (define-key map "?" 'iswitchb-completion-help) (define-key map "\C-s" 'iswitchb-next-match) (define-key map "\C-r" 'iswitchb-prev-match) (define-key map [?\C-.] 'iswitchb-next-match) (define-key map [?\C-,] 'iswitchb-prev-match) (define-key map "\t" 'iswitchb-complete) (define-key map "\C-j" 'iswitchb-select-buffer-text) (define-key map "\C-t" 'iswitchb-toggle-regexp) (define-key map "\C-x\C-f" 'iswitchb-find-file) (define-key map "\C-c" 'iswitchb-toggle-case) (define-key map "\C-k" 'iswitchb-kill-buffer) (define-key map "\C-m" 'iswitchb-exit-minibuffer) map) "Minibuffer keymap for `iswitchb-buffer'.") (defvar iswitchb-global-map (let ((map (make-sparse-keymap))) (dolist (b '((switch-to-buffer . iswitchb-buffer) (switch-to-buffer-other-window . iswitchb-buffer-other-window) (switch-to-buffer-other-frame . iswitchb-buffer-other-frame) (display-buffer . iswitchb-display-buffer))) (if (fboundp 'command-remapping) (define-key map (vector 'remap (car b)) (cdr b)) (substitute-key-definition (car b) (cdr b) map global-map))) map) "Global keymap for `iswitchb-mode'.") (defvar iswitchb-history nil "History of buffers selected using `iswitchb-buffer'.") (defvar iswitchb-exit nil "Flag to monitor how `iswitchb-buffer' exits. If equal to `takeprompt', we use the prompt as the buffer name to be selected.") (defvar iswitchb-buffer-ignore-orig nil "Stores original value of `iswitchb-buffer-ignore'.") (defvar iswitchb-default nil "Default buffer for iswitchb.") ;; The following variables are needed to keep the byte compiler quiet. (defvar iswitchb-require-match nil "Non-nil if matching buffer must be selected.") (defvar iswitchb-temp-buflist nil "Stores a temporary version of the buffer list being created.") (defvar iswitchb-bufs-in-frame nil "List of the buffers visible in the current frame.") (defvar iswitchb-minibuf-depth nil "Value we expect to be returned by `minibuffer-depth' in the minibuffer.") (defvar iswitchb-common-match-inserted nil "Non-nil if we have just inserted a common match in the minibuffer.") (defvar iswitchb-invalid-regexp) ;;; FUNCTIONS ;;; MAIN FUNCTION (defun iswitchb () "Switch to buffer matching a substring. As you type in a string, all of the buffers matching the string are displayed. When you have found the buffer you want, it can then be selected. As you type, most keys have their normal keybindings, except for the following: \\<iswitchb-mode-map> RET Select the buffer at the front of the list of matches. If the list is empty, possibly prompt to create new buffer. \\[iswitchb-select-buffer-text] Select the current prompt as the buffer. If no buffer is found, prompt for a new one. \\[iswitchb-next-match] Put the first element at the end of the list. \\[iswitchb-prev-match] Put the last element at the start of the list. \\[iswitchb-complete] Complete a common suffix to the current string that matches all buffers. If there is only one match, select that buffer. If there is no common suffix, show a list of all matching buffers in a separate window. \\[iswitchb-toggle-regexp] Toggle regexp searching. \\[iswitchb-toggle-case] Toggle case-sensitive searching of buffer names. \\[iswitchb-completion-help] Show list of matching buffers in separate window. \\[iswitchb-find-file] Exit iswitchb and drop into `find-file'. \\[iswitchb-kill-buffer] Kill buffer at head of buffer list." ;;\\[iswitchb-toggle-ignore] Toggle ignoring certain buffers (see \ ;;`iswitchb-buffer-ignore') (let* ((prompt "iswitch ") iswitchb-invalid-regexp (buf (iswitchb-read-buffer prompt))) ;;(message "chosen text %s" iswitchb-final-text) ;; Choose the buffer name: either the text typed in, or the head ;; of the list of matches (cond ( (eq iswitchb-exit 'findfile) (call-interactively 'find-file)) (iswitchb-invalid-regexp (message "Won't make invalid regexp named buffer")) (t ;; View the buffer ;;(message "go to buf %s" buf) ;; Check buf is non-nil. (if buf (if (get-buffer buf) ;; buffer exists, so view it and then exit (iswitchb-visit-buffer buf) ;; else buffer doesn't exist (iswitchb-possible-new-buffer buf))) )))) (defun iswitchb-read-buffer (prompt &optional default require-match _predicate start matches-set) "Replacement for the built-in `read-buffer'. Return the name of a buffer selected. PROMPT is the prompt to give to the user. DEFAULT if given is the default buffer to be selected, which will go to the front of the list. If REQUIRE-MATCH is non-nil, an existing buffer must be selected. If START is a string, the selection process is started with that string. If MATCHES-SET is non-nil, the buflist is not updated before the selection process begins. Used by isearchb.el." ;; The map is generated every time so that it can inherit new ;; functions. (let ((map (copy-keymap minibuffer-local-map)) buf-sel iswitchb-final-text icomplete-mode) ; prevent icomplete starting up (define-key map "?" 'iswitchb-completion-help) (define-key map "\C-s" 'iswitchb-next-match) (define-key map "\C-r" 'iswitchb-prev-match) (define-key map "\t" 'iswitchb-complete) (define-key map "\C-j" 'iswitchb-select-buffer-text) (define-key map "\C-t" 'iswitchb-toggle-regexp) (define-key map "\C-x\C-f" 'iswitchb-find-file) (define-key map "\C-n" 'iswitchb-toggle-ignore) (define-key map "\C-c" 'iswitchb-toggle-case) (define-key map "\C-k" 'iswitchb-kill-buffer) (define-key map "\C-m" 'iswitchb-exit-minibuffer) (setq iswitchb-mode-map map) (run-hooks 'iswitchb-define-mode-map-hook) (setq iswitchb-exit nil) (setq iswitchb-default (if (bufferp default) (buffer-name default) default)) (setq iswitchb-text (or start "")) (unless matches-set (setq iswitchb-rescan t) (iswitchb-make-buflist iswitchb-default) (iswitchb-set-matches)) (let ((minibuffer-local-completion-map iswitchb-mode-map) ;; Record the minibuffer depth that we expect to find once ;; the minibuffer is set up and iswitchb-entryfn-p is called. (iswitchb-minibuf-depth (1+ (minibuffer-depth))) (iswitchb-require-match require-match)) ;; prompt the user for the buffer name (setq iswitchb-final-text (completing-read prompt ;the prompt '(("dummy" . 1)) ;table nil ;predicate nil ;require-match [handled elsewhere] start ;initial-contents 'iswitchb-history))) (if (and (not (eq iswitchb-exit 'usefirst)) (get-buffer iswitchb-final-text)) ;; This happens for example if the buffer was chosen with the mouse. (setq iswitchb-matches (list iswitchb-final-text) iswitchb-virtual-buffers nil)) ;; If no buffer matched, but a virtual buffer was selected, visit ;; that file now and act as though that buffer had been selected. (if (and iswitchb-virtual-buffers (not (iswitchb-existing-buffer-p))) (let ((virt (car iswitchb-virtual-buffers)) (new-buf)) ;; Keep the name of the buffer returned by find-file-noselect, as ;; the buffer 'virt' could be a symlink to a file of a different name. (setq new-buf (buffer-name (find-file-noselect (cdr virt)))) (setq iswitchb-matches (list new-buf) iswitchb-virtual-buffers nil))) ;; Handling the require-match must be done in a better way. (if (and require-match (not (iswitchb-existing-buffer-p))) (error "Must specify valid buffer")) (if (or (eq iswitchb-exit 'takeprompt) (null iswitchb-matches)) (setq buf-sel iswitchb-final-text) ;; else take head of list (setq buf-sel (car iswitchb-matches))) ;; Or possibly choose the default buffer (if (equal iswitchb-final-text "") (setq buf-sel (car iswitchb-matches))) buf-sel)) (defun iswitchb-existing-buffer-p () "Return non-nil if there is a matching buffer." (not (null iswitchb-matches))) ;;; COMPLETION CODE (defun iswitchb-set-common-completion () "Find common completion of `iswitchb-text' in `iswitchb-matches'. The result is stored in `iswitchb-common-match-string'." (let (val) (setq iswitchb-common-match-string nil) (if (and iswitchb-matches (not iswitchb-regexp) ;; testing (stringp iswitchb-text) (> (length iswitchb-text) 0)) (if (setq val (iswitchb-find-common-substring iswitchb-matches iswitchb-text)) (setq iswitchb-common-match-string val))) val)) (defun iswitchb-complete () "Try and complete the current pattern amongst the buffer names." (interactive) (let (res) (cond ((not iswitchb-matches) (run-hooks 'iswitchb-cannot-complete-hook)) (iswitchb-invalid-regexp ;; Do nothing ) ((= 1 (length iswitchb-matches)) ;; only one choice, so select it. (exit-minibuffer)) (t ;; else there could be some completions (setq res iswitchb-common-match-string) (if (and (not (memq res '(t nil))) (not (equal res iswitchb-text))) ;; found something to complete, so put it in the minibuffer. (progn (setq iswitchb-rescan nil iswitchb-common-match-inserted t) (delete-region (minibuffer-prompt-end) (point)) (insert res)) ;; else nothing to complete (run-hooks 'iswitchb-cannot-complete-hook) ))))) ;;; TOGGLE FUNCTIONS (defun iswitchb-toggle-case () "Toggle the value of variable `iswitchb-case'." (interactive) (setq iswitchb-case (not iswitchb-case)) ;; ask for list to be regenerated. (setq iswitchb-rescan t)) (defun iswitchb-toggle-regexp () "Toggle the value of `iswitchb-regexp'." (interactive) (setq iswitchb-regexp (not iswitchb-regexp)) ;; ask for list to be regenerated. (setq iswitchb-rescan t)) (defun iswitchb-toggle-ignore () "Toggle ignoring buffers specified with `iswitchb-buffer-ignore'." (interactive) (if iswitchb-buffer-ignore (progn (setq iswitchb-buffer-ignore-orig iswitchb-buffer-ignore) (setq iswitchb-buffer-ignore nil)) ;; else (setq iswitchb-buffer-ignore iswitchb-buffer-ignore-orig)) (iswitchb-make-buflist iswitchb-default) ;; ask for list to be regenerated. (setq iswitchb-rescan t)) (defun iswitchb-exit-minibuffer () "Exit minibuffer, but make sure we have a match if one is needed." (interactive) (if (or (not iswitchb-require-match) (iswitchb-existing-buffer-p)) (progn (setq iswitchb-exit 'usefirst) (throw 'exit nil)))) (defun iswitchb-select-buffer-text () "Select the buffer named by the prompt. If no buffer exactly matching the prompt exists, maybe create a new one." (interactive) (setq iswitchb-exit 'takeprompt) (exit-minibuffer)) (defun iswitchb-find-file () "Drop into `find-file' from buffer switching." (interactive) (setq iswitchb-exit 'findfile) (exit-minibuffer)) (defvar recentf-list) (defun iswitchb-next-match () "Put first element of `iswitchb-matches' at the end of the list." (interactive) (let ((next (cadr iswitchb-matches))) (if (and (null next) iswitchb-virtual-buffers) (setq recentf-list (iswitchb-chop recentf-list (cdr (cadr iswitchb-virtual-buffers)))) (setq iswitchb-buflist (iswitchb-chop iswitchb-buflist next))) (setq iswitchb-rescan t))) (defun iswitchb-prev-match () "Put last element of `iswitchb-matches' at the front of the list." (interactive) (let ((prev (car (last iswitchb-matches)))) (if (and (null prev) iswitchb-virtual-buffers) (setq recentf-list (iswitchb-chop recentf-list (cdr (car (last iswitchb-virtual-buffers))))) (setq iswitchb-buflist (iswitchb-chop iswitchb-buflist prev))) (setq iswitchb-rescan t))) (defun iswitchb-chop (list elem) "Remove all elements before ELEM and put them at the end of LIST." (let ((ret nil) (next nil) (sofar nil)) (while (not ret) (setq next (car list)) (if (equal next elem) (setq ret (append list (nreverse sofar))) ;; else (progn (setq list (cdr list)) (setq sofar (cons next sofar))))) ret)) ;;; CREATE LIST OF ALL CURRENT BUFFERS (defun iswitchb-make-buflist (default) "Set `iswitchb-buflist' to the current list of buffers. Currently visible buffers are put at the end of the list. The hook `iswitchb-make-buflist-hook' is run after the list has been created to allow the user to further modify the order of the buffer names in this list. If DEFAULT is non-nil, and corresponds to an existing buffer, it is put to the start of the list." (setq iswitchb-buflist (let* ((iswitchb-current-buffers (iswitchb-get-buffers-in-frames)) (iswitchb-temp-buflist (delq nil (mapcar (lambda (x) (let ((b-name (buffer-name x))) (if (not (or (iswitchb-ignore-buffername-p b-name) (memq b-name iswitchb-current-buffers))) b-name))) (buffer-list (and iswitchb-use-frame-buffer-list (selected-frame))))))) (setq iswitchb-temp-buflist (nconc iswitchb-temp-buflist iswitchb-current-buffers)) (run-hooks 'iswitchb-make-buflist-hook) ;; Should this be after the hooks, or should the hooks be the ;; final thing to be run? (if default (progn (setq iswitchb-temp-buflist (delete default iswitchb-temp-buflist)) (setq iswitchb-temp-buflist (cons default iswitchb-temp-buflist)))) iswitchb-temp-buflist))) (defun iswitchb-to-end (lst) "Move the elements from LST to the end of `iswitchb-temp-buflist'." (dolist (elem lst) (setq iswitchb-temp-buflist (delq elem iswitchb-temp-buflist))) (setq iswitchb-temp-buflist (nconc iswitchb-temp-buflist lst))) (defun iswitchb-get-buffers-in-frames (&optional current) "Return the list of buffers that are visible in the current frame. If optional argument CURRENT is given, restrict searching to the current frame, rather than all frames, regardless of value of `iswitchb-all-frames'." (let ((iswitchb-bufs-in-frame nil)) (walk-windows 'iswitchb-get-bufname nil (if current nil iswitchb-all-frames)) iswitchb-bufs-in-frame)) (defun iswitchb-get-bufname (win) "Used by `iswitchb-get-buffers-in-frames' to walk through all windows." (let ((buf (buffer-name (window-buffer win)))) (if (not (member buf iswitchb-bufs-in-frame)) ;; Only add buf if it is not already in list. ;; This prevents same buf in two different windows being ;; put into the list twice. (setq iswitchb-bufs-in-frame (cons buf iswitchb-bufs-in-frame))))) ;;; FIND MATCHING BUFFERS (defun iswitchb-set-matches () "Set `iswitchb-matches' to the list of buffers matching prompt." (if iswitchb-rescan (setq iswitchb-matches (let ((buflist iswitchb-buflist)) (iswitchb-get-matched-buffers iswitchb-text iswitchb-regexp buflist)) iswitchb-virtual-buffers nil))) (defun iswitchb-get-matched-buffers (regexp &optional string-format buffer-list) "Return buffers matching REGEXP. If STRING-FORMAT is nil, consider REGEXP as just a string. BUFFER-LIST can be list of buffers or list of strings." (let ((case-fold-search (iswitchb-case)) name ret) (if (null string-format) (setq regexp (regexp-quote regexp))) (setq iswitchb-invalid-regexp nil) (condition-case error (dolist (x buffer-list (nreverse ret)) (setq name (if (stringp x) x (buffer-name x))) (when (and (string-match regexp name) (not (iswitchb-ignore-buffername-p name))) (push name ret))) (invalid-regexp (setq iswitchb-invalid-regexp t) (cdr error))))) (defun iswitchb-ignore-buffername-p (bufname) "Return t if the buffer BUFNAME should be ignored." (let ((data (match-data)) (re-list iswitchb-buffer-ignore) ignorep nextstr) (while re-list (setq nextstr (car re-list)) (cond ((stringp nextstr) (if (string-match nextstr bufname) (progn (setq ignorep t) (setq re-list nil)))) ((functionp nextstr) (if (funcall nextstr bufname) (progn (setq ignorep t) (setq re-list nil))))) (setq re-list (cdr re-list))) (set-match-data data) ;; return the result ignorep)) (defun iswitchb-word-matching-substring (word) "Return part of WORD before 1st match to `iswitchb-change-word-sub'. If `iswitchb-change-word-sub' cannot be found in WORD, return nil." (let ((case-fold-search (iswitchb-case))) (let ((m (string-match iswitchb-change-word-sub word))) (if m (substring word m) ;; else no match nil)))) (defun iswitchb-find-common-substring (lis subs) "Return common string following SUBS in each element of LIS." (let (res alist iswitchb-change-word-sub) (setq iswitchb-change-word-sub (if iswitchb-regexp subs (regexp-quote subs))) (setq res (mapcar 'iswitchb-word-matching-substring lis)) (setq res (delq nil res)) ;; remove any nil elements (shouldn't happen) (setq alist (mapcar 'iswitchb-makealist res)) ;; could use an OBARRAY ;; try-completion returns t if there is an exact match. (let ((completion-ignore-case (iswitchb-case))) (try-completion subs alist)))) (defun iswitchb-makealist (res) "Return dotted pair (RES . 1)." (cons res 1)) ;; from Wayne Mesard <wmesard@esd.sgi.com> (defun iswitchb-rotate-list (lis) "Destructively remove the last element from LIS. Return the modified list with the last element prepended to it." (if (<= (length lis) 1) lis (let ((las lis) (prev lis)) (while (consp (cdr las)) (setq prev las las (cdr las))) (setcdr prev nil) (cons (car las) lis)))) (defun iswitchb-completion-help () "Show possible completions in a *Completions* buffer." ;; we could allow this buffer to be used to select match, but I think ;; choose-completion-string will need redefining, so it just inserts ;; choice with out any previous input. (interactive) (setq iswitchb-rescan nil) (let ((buf (current-buffer)) (temp-buf "*Completions*") (win)) (if (and (eq last-command this-command) (not iswitchb-common-match-inserted)) ;; scroll buffer (progn (set-buffer temp-buf) (setq win (get-buffer-window temp-buf)) (if (pos-visible-in-window-p (point-max) win) (set-window-start win (point-min)) (scroll-other-window)) (set-buffer buf)) (with-output-to-temp-buffer temp-buf (if (featurep 'xemacs) ;; XEmacs extents are put on by default, doesn't seem to be ;; any way of switching them off. (display-completion-list (or iswitchb-matches iswitchb-buflist) :help-string "iswitchb " :activate-callback (lambda (_x _y _z) (message "doesn't work yet, sorry!"))) ;; else running Emacs (display-completion-list (or iswitchb-matches iswitchb-buflist)))) (setq iswitchb-common-match-inserted nil)))) ;;; KILL CURRENT BUFFER (defun iswitchb-kill-buffer () "Kill the buffer at the head of `iswitchb-matches'." (interactive) (let ((enable-recursive-minibuffers t) buf) (setq buf (car iswitchb-matches)) ;; check to see if buf is non-nil. (if buf (let ((bufobjs (mapcar (lambda (name) (or (get-buffer name) name)) iswitchb-buflist))) (kill-buffer buf) ;; Check if buffer exists. XEmacs gnuserv.el makes alias ;; for kill-buffer which does not return t if buffer is ;; killed, so we can't rely on kill-buffer return value. (if (get-buffer buf) ;; buffer couldn't be killed. (setq iswitchb-rescan t) ;; Else `kill-buffer' succeeds so re-make the buffer list ;; taking into account packages like uniquify may rename ;; buffers, and try to preserve the ordering of buffers. (setq iswitchb-buflist (delq nil (mapcar (lambda (b) (if (bufferp b) (buffer-name b) b)) bufobjs)))))))) ;;; VISIT CHOSEN BUFFER (defun iswitchb-visit-buffer (buffer) "Visit buffer named BUFFER according to `iswitchb-method'." (let (win newframe) (cond ((eq iswitchb-method 'samewindow) (switch-to-buffer buffer)) ((memq iswitchb-method '(always-frame maybe-frame)) (cond ((and (setq win (iswitchb-window-buffer-p buffer)) (or (eq iswitchb-method 'always-frame) (y-or-n-p "Jump to frame? "))) (setq newframe (window-frame win)) (if (fboundp 'select-frame-set-input-focus) (select-frame-set-input-focus newframe) (raise-frame newframe) (select-frame newframe) ) (select-window win)) (t ;; No buffer in other frames... (switch-to-buffer buffer) ))) ((eq iswitchb-method 'otherwindow) (switch-to-buffer-other-window buffer)) ((eq iswitchb-method 'display) (display-buffer buffer)) ((eq iswitchb-method 'otherframe) (progn (switch-to-buffer-other-frame buffer) (if (fboundp 'select-frame-set-input-focus) (select-frame-set-input-focus (selected-frame))) ))))) (defun iswitchb-possible-new-buffer (buf) "Possibly create and visit a new buffer called BUF." (let ((newbufcreated)) (if (and iswitchb-newbuffer (or (not iswitchb-prompt-newbuffer) (and iswitchb-prompt-newbuffer (y-or-n-p (format-message "No buffer matching `%s', create one? " buf))))) ;; then create a new buffer (progn (setq newbufcreated (get-buffer-create buf)) (if (fboundp 'set-buffer-major-mode) (set-buffer-major-mode newbufcreated)) (iswitchb-visit-buffer newbufcreated)) ;; else won't create new buffer (message "no buffer matching `%s'" buf)))) (defun iswitchb-window-buffer-p (buffer) "Return window pointer if BUFFER is visible in another frame. If BUFFER is visible in the current frame, return nil." (interactive) (let ((blist (iswitchb-get-buffers-in-frames 'current))) ;; If the buffer is visible in current frame, return nil (unless (member buffer blist) ;; maybe in other frame or icon (get-buffer-window buffer 0) ; better than 'visible ))) (defun iswitchb-buffer () "Switch to another buffer. The buffer name is selected interactively by typing a substring. The buffer is displayed according to `iswitchb-default-method' -- the default is to show it in the same window, unless it is already visible in another frame. For details of keybindings, do `\\[describe-function] iswitchb'." (interactive) (setq iswitchb-method iswitchb-default-method) (iswitchb)) (defun iswitchb-buffer-other-window () "Switch to another buffer and show it in another window. The buffer name is selected interactively by typing a substring. For details of keybindings, do `\\[describe-function] iswitchb'." (interactive) (setq iswitchb-method 'otherwindow) (iswitchb)) (defun iswitchb-display-buffer () "Display a buffer in another window but don't select it. The buffer name is selected interactively by typing a substring. For details of keybindings, do `\\[describe-function] iswitchb'." (interactive) (setq iswitchb-method 'display) (iswitchb)) (defun iswitchb-buffer-other-frame () "Switch to another buffer and show it in another frame. The buffer name is selected interactively by typing a substring. For details of keybindings, do `\\[describe-function] iswitchb'." (interactive) (setq iswitchb-method 'otherframe) (iswitchb)) ;;; XEmacs hack for showing default buffer ;; The first time we enter the minibuffer, Emacs puts up the default ;; buffer to switch to, but XEmacs doesn't -- presumably there is a ;; subtle difference in the two versions of post-command-hook. The ;; default is shown for both whenever we delete all of our text ;; though, indicating its just a problem the first time we enter the ;; function. To solve this, we use another entry hook for emacs to ;; show the default the first time we enter the minibuffer. (defun iswitchb-init-XEmacs-trick () "Display default buffer when first entering minibuffer. This is a hack for XEmacs, and should really be handled by `iswitchb-exhibit'." (if (iswitchb-entryfn-p) (progn (iswitchb-exhibit) (goto-char (point-min))))) ;; add this hook for XEmacs only. (if (featurep 'xemacs) (add-hook 'iswitchb-minibuffer-setup-hook 'iswitchb-init-XEmacs-trick)) ;;; XEmacs / backspace key ;; For some reason, if the backspace key is pressed in XEmacs, the ;; line gets confused, so I've added a simple key definition to make ;; backspace act like the normal delete key. (defun iswitchb-xemacs-backspacekey () "Bind backspace to `backward-delete-char'." (define-key iswitchb-mode-map '[backspace] 'backward-delete-char) (define-key iswitchb-mode-map '[(meta backspace)] 'backward-kill-word)) (if (featurep 'xemacs) (add-hook 'iswitchb-define-mode-map-hook 'iswitchb-xemacs-backspacekey)) ;;; ICOMPLETE TYPE CODE (defun iswitchb-exhibit () "Find matching buffers and display a list in the minibuffer. Copied from `icomplete-exhibit' with two changes: 1. It prints a default buffer name when there is no text yet entered. 2. It calls my completion routine rather than the standard completion." (if iswitchb-use-mycompletion (let ((contents (buffer-substring (minibuffer-prompt-end) (point-max))) (buffer-undo-list t)) (save-excursion (goto-char (point-max)) ; Register the end of input, so we ; know where the extra stuff ; (match-status info) begins: (if (not (boundp 'iswitchb-eoinput)) ;; In case it got wiped out by major mode business: (make-local-variable 'iswitchb-eoinput)) (setq iswitchb-eoinput (point)) ;; Update the list of matches (setq iswitchb-text contents) (iswitchb-set-matches) (setq iswitchb-rescan t) (iswitchb-set-common-completion) ;; Insert the match-status information: (insert (iswitchb-completions contents)))))) (defvar most-len) (defvar most-is-exact) (defun iswitchb-output-completion (com) (if (= (length com) most-len) ;; Most is one exact match, ;; note that and leave out ;; for later indication: (ignore (setq most-is-exact t)) (substring com most-len))) (defun iswitchb-completions (name) "Return the string that is displayed after the user's text. Modified from `icomplete-completions'." (let ((comps iswitchb-matches) ; "-determined" - only one candidate (open-bracket-determined "[") (close-bracket-determined "]") ;"-prospects" - more than one candidate (open-bracket-prospects "{") (close-bracket-prospects "}") first) (if (and iswitchb-use-faces comps) (progn (setq first (copy-sequence (car comps))) (setq first (format "%s" first)) (put-text-property 0 (length first) 'face (if (= (length comps) 1) (if iswitchb-invalid-regexp 'iswitchb-invalid-regexp 'iswitchb-single-match) 'iswitchb-current-match) first) (setq comps (cons first (cdr comps))))) ;; If no buffers matched, and virtual buffers are being used, then ;; consult the list of past visited files, to see if we can find ;; the file which the user might thought was still open. (when (and iswitchb-use-virtual-buffers (null comps) recentf-list) (setq iswitchb-virtual-buffers nil) (let ((head recentf-list) name) (while head (if (and (setq name (file-name-nondirectory (car head))) (string-match (if iswitchb-regexp iswitchb-text (regexp-quote iswitchb-text)) name) (null (get-file-buffer (car head))) (not (assoc name iswitchb-virtual-buffers)) (not (iswitchb-ignore-buffername-p name)) (file-exists-p (car head))) (setq iswitchb-virtual-buffers (cons (cons name (car head)) iswitchb-virtual-buffers))) (setq head (cdr head))) (setq iswitchb-virtual-buffers (nreverse iswitchb-virtual-buffers) comps (mapcar 'car iswitchb-virtual-buffers)) (let ((comp comps)) (while comp (put-text-property 0 (length (car comp)) 'face 'iswitchb-virtual-matches (car comp)) (setq comp (cdr comp)))))) (cond ((null comps) (format " %sNo match%s" open-bracket-determined close-bracket-determined)) (iswitchb-invalid-regexp (concat " " (car comps))) ((null (cdr comps)) ;one match (concat (if (if (not iswitchb-regexp) (= (length name) (length (car comps))) (string-match name (car comps)) (string-equal (match-string 0 (car comps)) (car comps))) "" (concat open-bracket-determined ;; when there is one match, show the ;; matching buffer name in full (car comps) close-bracket-determined)) (if (not iswitchb-use-faces) " [Matched]"))) (t ;multiple matches (if (and iswitchb-max-to-show (> (length comps) iswitchb-max-to-show)) (setq comps (append (let ((res nil) (comp comps) (end (/ iswitchb-max-to-show 2))) (while (>= (setq end (1- end)) 0) (setq res (cons (car comp) res) comp (cdr comp))) (nreverse res)) (list "...") (nthcdr (- (length comps) (/ iswitchb-max-to-show 2)) comps)))) (let* ( ;;(most (try-completion name candidates predicate)) (most nil) (most-len (length most)) most-is-exact (alternatives (mapconcat (if most 'iswitchb-output-completion 'identity) comps iswitchb-delim))) (concat ;; put in common completion item -- what you get by ;; pressing tab (if (and (stringp iswitchb-common-match-string) (> (length iswitchb-common-match-string) (length name))) (concat open-bracket-determined (substring iswitchb-common-match-string (length name)) close-bracket-determined)) ;; end of partial matches... ;; think this bit can be ignored. (and (> most-len (length name)) (concat open-bracket-determined (substring most (length name)) close-bracket-determined)) ;; list all alternatives open-bracket-prospects (if most-is-exact (concat iswitchb-delim alternatives) alternatives) close-bracket-prospects)))))) (defun iswitchb-minibuffer-setup () "Set up minibuffer for `iswitchb-buffer'. Copied from `icomplete-minibuffer-setup-hook'." (when (iswitchb-entryfn-p) (set (make-local-variable 'iswitchb-use-mycompletion) t) (add-hook 'pre-command-hook 'iswitchb-pre-command nil t) (add-hook 'post-command-hook 'iswitchb-post-command nil t) (run-hooks 'iswitchb-minibuffer-setup-hook))) (defun iswitchb-pre-command () "Run before command in `iswitchb-buffer'." (iswitchb-tidy)) (defun iswitchb-post-command () "Run after command in `iswitchb-buffer'." (iswitchb-exhibit)) (defun iswitchb-tidy () "Remove completions display, if any, prior to new user input. Copied from `icomplete-tidy'." (if (and (boundp 'iswitchb-eoinput) iswitchb-eoinput) (if (> iswitchb-eoinput (point-max)) ;; Oops, got rug pulled out from under us - reinit: (setq iswitchb-eoinput (point-max)) (let ((buffer-undo-list buffer-undo-list )) ; prevent entry (delete-region iswitchb-eoinput (point-max)))) ;; Reestablish the local variable 'cause minibuffer-setup is weird: (make-local-variable 'iswitchb-eoinput) (setq iswitchb-eoinput 1))) (defun iswitchb-entryfn-p () "Return non-nil if we are using `iswitchb-buffer'." (eq iswitchb-minibuf-depth (minibuffer-depth))) (defun iswitchb-summaries-to-end () "Move the summaries to the end of the list. This is an example function which can be hooked on to `iswitchb-make-buflist-hook'. Any buffer matching the regexps `Summary' or `output\*$'are put to the end of the list." (let ((summaries (delq nil (mapcar (lambda (x) (if (string-match "Summary\\|output\\*$" x) x)) iswitchb-temp-buflist)))) (iswitchb-to-end summaries))) (defun iswitchb-case () "Return non-nil if we should ignore case when matching. See the variable `iswitchb-case' for details." (if iswitchb-case (if (featurep 'xemacs) (isearch-no-upper-case-p iswitchb-text) (isearch-no-upper-case-p iswitchb-text t)))) ;;;###autoload (define-minor-mode iswitchb-mode "Toggle Iswitchb mode. With a prefix argument ARG, enable Iswitchb mode if ARG is positive, and disable it otherwise. If called from Lisp, enable the mode if ARG is omitted or nil. Iswitchb mode is a global minor mode that enables switching between buffers using substrings. See `iswitchb' for details." nil nil iswitchb-global-map :global t :group 'iswitchb (if iswitchb-mode (add-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup) (remove-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup))) (provide 'iswitchb) ;;; iswitchb.el ends here ```
"Mors Praematura" is the 6th episode of the third season of the American television drama series Person of Interest. It is the 51st overall episode of the series and is written by Dan Dietz and directed by Helen Shaver. It aired on CBS in the United States and on CTV in Canada on October 29, 2013. The series revolves around a computer program for the federal government known as "the Machine" that is capable of collating all sources of information to predict terrorist acts and to identify people planning them. A team, consisting of John Reese, Harold Finch and Sameen Shaw follow "irrelevant" crimes: lesser level of priority for the government. In the episode, Reese investigates Shaw's disappearance while Finch goes after an estate investigator who wants to unravel the mystery behind his brother's death. Meanwhile, Shaw is forced by Root to help her in doing some tasks for the Machine. The title is Latin for "Premature Death". According to Nielsen Media Research, the episode was seen by an estimated 12.00 million household viewers and gained a 1.9/5 ratings share among adults aged 18–49. The episode received near critical acclaim, with critics praising the writing, character development, Acevedo's guest performance and building momentum. Plot Reese (Jim Caviezel) enters Shaw's loft but does not find her there, finding evidence of a taser. Meanwhile, Finch (Michael Emerson) has met the new number: Timothy Sloan (Kirk Acevedo), an estate investigator. Sloan specifically investigates belongings from people who have recently died without a will and finds their next-of-kin. Finch follows Sloan to an apartment where he suspects he is stealing. However, Sloan reveals he is the foster brother of the owner, Jason Greenfield (Michael Esper), who died of a heroin overdose a few weeks ago. Jason was a hacker and lost contact until Sloan found out about his death. Sloan expresses doubt about Jason using drugs as he owned very expensive items in his house and despite his hacker status, he had no computer. Jason left behind a USB flash drive with a coded message that mentioned that he would be killed if he left a group. Shaw (Sarah Shahi) wakes up in a car with Root (Amy Acker), who tells her that the Machine needs them to work together to help protect it. Shaw reluctantly agrees to help. The Machine gives them unexplained clues, like leaving an envelope on a park bench, delving in the sewers and entering a CIA safe house where Shaw knocks the agent out. Root then has Shaw act as a CIA operative with Root serving as a prisoner. Root is taken to a CIA black site. Finch and Sloan visit one of Jason's storage unit to find it empty. But with the use of UV lights, they discover a coded message in the walls. However, they are being watched by a camera and they nearly die when the unit closes and starts filling it with gasoline. Reese saves them and they escape before the unit explodes. The team then discovers that one of the people involved is Peter Collier (Leslie Odom Jr.), a man they previously dealt with. Jason was part of Collier's group and became a highly respected hacker but when he tried to leave, Collier had him killed. The team must find a Running key cipher that Jason left and would be used to unravel the code. Meanwhile, Laskey (Brian Wiles) collects money for HR from Mozorov, a Russian deli owner who pays them out of loyalty. However, he is reprimanded by Simmons (Robert John Burke) when they find that Mozorov skimmed money from them and had him killed, and force Laskey to bury the grave. The next day, a traumatized Laskey talks to Carter (Taraji P. Henson), revealing his real name as Mikhail Lesnichy and HR is infiltrating Russians into the police, including himself. He also states that HR is collecting all the money for something unspecified. Reese and Sloan check Jason's apartment and find the book with the running key. However, Collier's team arrives and kidnaps Sloan. Finch deciphers the code: Jason is alive and turned himself in to the CIA and Collier's team will try to kill him. Coincidentally, Jason is placed on the cell next to Root. Both exchange a conversation, where Jason reveals that he helped Collier's group, Vigilance, with Wayne Kruger but the group decided to kill Kruger despite Jason's objections, which caused his concern for his role in the group. Root and Jason are taken to a transportation bus where Root untangles herself and starts freeing Jason. Collier's group causes the transport bus to crash but Reese and Shaw fight Collier's group. Root and Jason escape, using the envelope (which contains an earbud and a gun) and descend in the sewers. Root gives Jason money and a fake ID to he can make it to Cartagena, Colombia. She is confronted by Collier's crew but they are killed by Shaw. When Root affirms that the mission is over, Shaw knocks her unconscious. Collier holds Sloan at gunpoint and meets with Reese. He then shoots Sloan in the femoral artery and escapes, forcing Reese to let Collier go while taking Sloan to the hospital. When Sloan leaves the hospital, he receives a call from Jason, who thanks him for everything and promising to keep talking more constantly. Root is locked up in a section of the library with an ankle monitor and no access to the Machine. Root states that the Machine will be mad at Finch for doing this but Finch suggests that maybe this is where the Machine wants her to be. Reception Viewers In its original American broadcast, "Mors Praematura" was seen by an estimated 12.00 million household viewers and gained a 1.9/5 ratings share among adults aged 18–49, according to Nielsen Media Research. This means that 1.9 percent of all households with televisions watched the episode, while 5 percent of all households watching television at that time watched it. This was a 9% decrease in viewership from the previous episode, which was watched by 13.17 million viewers with a 2.2/6 in the 18-49 demographics. With these ratings, Person of Interest was the third most watched show on CBS for the night, behind NCIS: Los Angeles and NCIS, second on its timeslot and fourth for the night in the 18-49 demographics, behind NCIS: Los Angeles, NCIS, and The Voice. With Live +7 DVR factored in, the episode was watched by 16.24 million viewers with a 2.9 in the 18-49 demographics. Critical reviews "Mors Praematura" received near critical acclaim from critics. Matt Fowler of IGN wrote in his verdict, "'Mors Praematura' gave us thrilling action, deadly intrigue and a spectacularly fun pairing between Root and Shaw. I'm very happy they went the 'uneasy alliance' route this time and didn't try to rehash the full animosity of last season. And look, Root even gets to be Finch's prisoner now! Tables effectively turned. Although there's nothing about her confinement that gives me the impression that she can't escape. Of course, not having The Machine in her ear might be a big obstacle to overcome." Phil Dyess-Nugent of The A.V. Club gave the episode an "A" grade and wrote, "God, I love this show. No matter how bad you think things are, it'll always find a way to see your neurotic fears and raise them. To quote Jimmy James, Stephen Root’s character from NewsRadio, it's got more paranoid fantasies than Stephen King on crack. And it keeps moving, so that its take on the 24-hour-surveillance society never settles into a neat grouping of clear-cut good guys and clear-cut bad guys." References External links Person of Interest (TV series) episodes 2013 American television episodes
```ruby # frozen_string_literal: true require "decidim/meetings/admin" require "decidim/meetings/api" require "decidim/meetings/engine" require "decidim/meetings/admin_engine" require "decidim/meetings/directory" require "decidim/meetings/directory_engine" require "decidim/meetings/component" require "decidim/meetings/polls" module Decidim # Base module for this engine. module Meetings autoload :Registrations, "decidim/meetings/registrations" autoload :MeetingSerializer, "decidim/meetings/meeting_serializer" autoload :UserAnswersSerializer, "decidim/meetings/user_answers_serializer" autoload :DownloadYourDataUserAnswersSerializer, "decidim/meetings/download_your_data_user_answers_serializer" include ActiveSupport::Configurable # Public Setting that defines whether proposals can be linked to meetings config_accessor :enable_proposal_linking do Decidim.const_defined?("Proposals") end # Public Setting that defines the interval when the upcoming meeting will be sent config_accessor :upcoming_meeting_notification do 2.days end config_accessor :embeddable_services do %w(www.youtube.com www.twitch.tv meet.jit.si) end end module ContentParsers autoload :MeetingParser, "decidim/content_parsers/meeting_parser" end module ContentRenderers autoload :MeetingRenderer, "decidim/content_renderers/meeting_renderer" end end ```
```c++ // file LICENSE_1_0.txt or copy at path_to_url #include <boost/python/module.hpp> #include <boost/python/def.hpp> #include <boost/python/class.hpp> struct C {}; struct D {}; struct E { const D fe (const C&) {return D();} const D fe2(const C&, const C&) {return D();} }; BOOST_PYTHON_MODULE(bienstman2_ext) { using namespace boost::python; class_<C>("C"); class_<D>("D"); class_<E>("E") .def("fe", &E::fe) // this compiles. .def("fe2", &E::fe2) // this doesn't... well, now it does ;-) ; } ```
```c /* * */ //This is a simple non-blocking (well, tx may spin for a bit if the buffer //is full) USB-serial-jtag driver. Select etc is not supported yet. #include <string.h> #include <stdbool.h> #include <stdarg.h> #include <sys/errno.h> #include <sys/lock.h> #include <sys/fcntl.h> #include <sys/param.h> #include "esp_timer.h" #include "esp_vfs.h" #include "esp_vfs_dev.h" // Old headers for the aliasing functions #include "esp_vfs_usb_serial_jtag.h" // Old headers for the aliasing functions #include "esp_attr.h" #include "esp_log.h" #include "sdkconfig.h" #include "soc/soc_caps.h" #include "hal/usb_serial_jtag_ll.h" #include "driver/usb_serial_jtag_vfs.h" #include "driver/usb_serial_jtag.h" #include "esp_private/startup_internal.h" // Token signifying that no character is available #define NONE -1 #if CONFIG_NEWLIB_STDOUT_LINE_ENDING_CRLF # define DEFAULT_TX_MODE ESP_LINE_ENDINGS_CRLF #elif CONFIG_NEWLIB_STDOUT_LINE_ENDING_CR # define DEFAULT_TX_MODE ESP_LINE_ENDINGS_CR #else # define DEFAULT_TX_MODE ESP_LINE_ENDINGS_LF #endif #if CONFIG_NEWLIB_STDIN_LINE_ENDING_CRLF # define DEFAULT_RX_MODE ESP_LINE_ENDINGS_CRLF #elif CONFIG_NEWLIB_STDIN_LINE_ENDING_CR # define DEFAULT_RX_MODE ESP_LINE_ENDINGS_CR #else # define DEFAULT_RX_MODE ESP_LINE_ENDINGS_LF #endif // write bytes function type typedef void (*tx_func_t)(int, int); // read bytes function type typedef int (*rx_func_t)(int); // fsync bytes function type typedef int (*fsync_func_t)(int); // Basic functions for sending and receiving bytes and fsync static void usb_serial_jtag_tx_char_no_driver(int fd, int c); static int usb_serial_jtag_rx_char_no_driver(int fd); static int usb_serial_jtag_wait_tx_done_no_driver(int fd); //If no host is listening to the CDCACM port, the TX buffer //will never be able to flush to the host. Instead of the Tx //routines waiting forever, if the buffer hasn't been flushed //to the host the tx routine will fail fast. (Note that as //soon as something starts listening, the CDCACM port will //start working as normal again.) #define TX_FLUSH_TIMEOUT_US (50*1000LL) //(As a reference, you'd expect an unloaded usb bus to try to //pick up tx data once every USB frame, aka every 1ms. We take a //longer timeout to allow for a loaded bus.) typedef struct { // One-character buffer used for newline conversion code int peek_char; // Read and write locks, lazily initialized _lock_t read_lock; _lock_t write_lock; // Non-blocking flag. // The default implementation does not honor this flag, all reads // are non-blocking. // When the driver is used (via esp_vfs_usb_serial_jtag_use_driver), // reads are either blocking or non-blocking depending on this flag. bool non_blocking; // TX has already tried a blocking send. bool tx_tried_blocking; // Newline conversion mode when transmitting esp_line_endings_t tx_mode; // Newline conversion mode when receiving esp_line_endings_t rx_mode; // Function used to write bytes to port. Default to "basic" functions. tx_func_t tx_func; // Function used to read bytes from port. Default to "basic" functions. rx_func_t rx_func; // Function used to make sure all data is sent to the host. fsync_func_t fsync_func; // Timestamp of last time we managed to write something to the tx buffer int64_t last_tx_ts; } usb_serial_jtag_vfs_context_t; //If the context should be dynamically initialized, remove this structure //and point s_ctx to allocated data. static usb_serial_jtag_vfs_context_t s_ctx = { .peek_char = NONE, .tx_mode = DEFAULT_TX_MODE, .rx_mode = DEFAULT_RX_MODE, .tx_func = usb_serial_jtag_tx_char_no_driver, .rx_func = usb_serial_jtag_rx_char_no_driver, .fsync_func = usb_serial_jtag_wait_tx_done_no_driver }; static int usb_serial_jtag_open(const char * path, int flags, int mode) { s_ctx.non_blocking = ((flags & O_NONBLOCK) == O_NONBLOCK); return 0; } static void usb_serial_jtag_tx_char_no_driver(int fd, int c) { uint8_t cc = (uint8_t)c; // Try to write to the buffer as long as we still expect the buffer to have // a chance of being emptied by an active host. Just drop the data if there's // no chance anymore. // When we first try to send a character and the buffer is not accessible yet, // we wait until the time has been more than TX_FLUSH_TIMEOUT_US since we successfully // sent the last byte. If it takes longer than TX_FLUSH_TIMEOUT_US, we drop every // byte until the buffer can be accessible again. do { if (usb_serial_jtag_ll_txfifo_writable()) { usb_serial_jtag_ll_write_txfifo(&cc, 1); if (c == '\n') { //Make sure line doesn't linger in fifo usb_serial_jtag_ll_txfifo_flush(); } //update time of last successful tx to now. s_ctx.last_tx_ts = esp_timer_get_time(); break; } } while ((esp_timer_get_time() - s_ctx.last_tx_ts) < TX_FLUSH_TIMEOUT_US); } static int usb_serial_jtag_rx_char_no_driver(int fd) { uint8_t c; int l = usb_serial_jtag_ll_read_rxfifo(&c, 1); if (l == 0) { return NONE; } return c; } static ssize_t usb_serial_jtag_write(int fd, const void * data, size_t size) { const char *data_c = (const char *)data; /* Even though newlib does stream locking on each individual stream, we need * a dedicated lock if two streams (stdout and stderr) point to the * same port. */ _lock_acquire_recursive(&s_ctx.write_lock); for (size_t i = 0; i < size; i++) { int c = data_c[i]; if (c == '\n' && s_ctx.tx_mode != ESP_LINE_ENDINGS_LF) { s_ctx.tx_func(fd, '\r'); if (s_ctx.tx_mode == ESP_LINE_ENDINGS_CR) { continue; } } s_ctx.tx_func(fd, c); } _lock_release_recursive(&s_ctx.write_lock); return size; } /* Helper function which returns a previous character or reads a new one from * the port. Previous character can be returned ("pushed back") using * usb_serial_jtag_return_char function. */ static int usb_serial_jtag_read_char(int fd) { /* return character from peek buffer, if it is there */ if (s_ctx.peek_char != NONE) { int c = s_ctx.peek_char; s_ctx.peek_char = NONE; return c; } return s_ctx.rx_func(fd); } /* Push back a character; it will be returned by next call to usb_serial_jtag_read_char */ static void usb_serial_jtag_return_char(int fd, int c) { assert(s_ctx.peek_char == NONE); s_ctx.peek_char = c; } static ssize_t usb_serial_jtag_read(int fd, void* data, size_t size) { char *data_c = (char *) data; size_t received = 0; _lock_acquire_recursive(&s_ctx.read_lock); while (received < size) { int c = usb_serial_jtag_read_char(fd); if (c == '\r') { if (s_ctx.rx_mode == ESP_LINE_ENDINGS_CR) { c = '\n'; } else if (s_ctx.rx_mode == ESP_LINE_ENDINGS_CRLF) { /* look ahead */ int c2 = usb_serial_jtag_read_char(fd); if (c2 == NONE) { /* could not look ahead, put the current character back */ usb_serial_jtag_return_char(fd, c); break; } if (c2 == '\n') { /* this was \r\n sequence. discard \r, return \n */ c = '\n'; } else { /* \r followed by something else. put the second char back, * it will be processed on next iteration. return \r now. */ usb_serial_jtag_return_char(fd, c2); } } } else if (c == NONE) { break; } data_c[received] = (char) c; ++received; if (c == '\n') { break; } } _lock_release_recursive(&s_ctx.read_lock); if (received > 0) { return received; } errno = EWOULDBLOCK; return -1; } static int usb_serial_jtag_fstat(int fd, struct stat * st) { memset(st, 0, sizeof(*st)); st->st_mode = S_IFCHR; return 0; } static int usb_serial_jtag_close(int fd) { return 0; } static int usb_serial_jtag_fcntl(int fd, int cmd, int arg) { int result = 0; if (cmd == F_GETFL) { result |= O_RDWR; if (s_ctx.non_blocking) { result |= O_NONBLOCK; } } else if (cmd == F_SETFL) { s_ctx.non_blocking = (arg & O_NONBLOCK) != 0; } else { // unsupported operation result = -1; errno = ENOSYS; } return result; } static int usb_serial_jtag_wait_tx_done_no_driver(int fd) { usb_serial_jtag_ll_txfifo_flush(); //Wait for the host to have picked up the buffer, but honour the timeout in //case the host is not listening. while ((esp_timer_get_time() - s_ctx.last_tx_ts) < TX_FLUSH_TIMEOUT_US) { if (usb_serial_jtag_ll_txfifo_writable()) { s_ctx.last_tx_ts = esp_timer_get_time(); //The last transfer may have been a 64-byte one. Flush again in order to //send a 0-byte packet to indicate the end of the USB transfer, otherwise //those 64 bytes will get stuck in the hosts buffer. usb_serial_jtag_ll_txfifo_flush(); return 0; } } //Timeout. Host probably isn't listening. return EIO; } static int usb_serial_jtag_fsync(int fd) { _lock_acquire_recursive(&s_ctx.write_lock); int r = s_ctx.fsync_func(fd); _lock_release_recursive(&s_ctx.write_lock); if (r == 0) { return 0; } else { errno = r; return -1; } } #ifdef CONFIG_VFS_SUPPORT_TERMIOS static int usb_serial_jtag_tcsetattr(int fd, int optional_actions, const struct termios *p) { if (p == NULL) { errno = EINVAL; return -1; } switch (optional_actions) { case TCSANOW: // nothing to do break; case TCSADRAIN: usb_serial_jtag_fsync(fd); break; case TCSAFLUSH: // Not applicable. break; default: errno = EINVAL; return -1; } if (p->c_iflag & IGNCR) { s_ctx.rx_mode = ESP_LINE_ENDINGS_CRLF; } else if (p->c_iflag & ICRNL) { s_ctx.rx_mode = ESP_LINE_ENDINGS_CR; } else { s_ctx.rx_mode = ESP_LINE_ENDINGS_LF; } return 0; } static int usb_serial_jtag_tcgetattr(int fd, struct termios *p) { if (p == NULL) { errno = EINVAL; return -1; } memset(p, 0, sizeof(struct termios)); if (s_ctx.rx_mode == ESP_LINE_ENDINGS_CRLF) { p->c_iflag |= IGNCR; } else if (s_ctx.rx_mode == ESP_LINE_ENDINGS_CR) { p->c_iflag |= ICRNL; } //Dummy values that vaguely make sense on a not-actually-rs232 port. //Should be good enough to keep software that expects an actual //serial port happy. p->c_cflag &= (~CSIZE); p->c_cflag |= CS8; p->c_ispeed = p->c_ospeed = 1000000; return 0; } static int usb_serial_jtag_tcdrain(int fd) { usb_serial_jtag_fsync(fd); return 0; } static int usb_serial_jtag_tcflush(int fd, int select) { //Flushing is not supported. errno = EINVAL; return -1; } #endif // CONFIG_VFS_SUPPORT_TERMIOS void usb_serial_jtag_vfs_set_tx_line_endings(esp_line_endings_t mode) { s_ctx.tx_mode = mode; } void usb_serial_jtag_vfs_set_rx_line_endings(esp_line_endings_t mode) { s_ctx.rx_mode = mode; } static const esp_vfs_t usj_vfs = { .flags = ESP_VFS_FLAG_DEFAULT, .write = &usb_serial_jtag_write, .open = &usb_serial_jtag_open, .fstat = &usb_serial_jtag_fstat, .close = &usb_serial_jtag_close, .read = &usb_serial_jtag_read, .fcntl = &usb_serial_jtag_fcntl, .fsync = &usb_serial_jtag_fsync, #ifdef CONFIG_VFS_SUPPORT_TERMIOS .tcsetattr = &usb_serial_jtag_tcsetattr, .tcgetattr = &usb_serial_jtag_tcgetattr, .tcdrain = &usb_serial_jtag_tcdrain, .tcflush = &usb_serial_jtag_tcflush, #endif // CONFIG_VFS_SUPPORT_TERMIOS }; const esp_vfs_t* esp_vfs_usb_serial_jtag_get_vfs(void) { return &usj_vfs; } esp_err_t usb_serial_jtag_vfs_register(void) { // "/dev/usb_serial_jtag" unfortunately is too long for vfs return esp_vfs_register("/dev/usbserjtag", &usj_vfs, NULL); } #if CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG ESP_SYSTEM_INIT_FN(init_vfs_usj, CORE, BIT(0), 111) { usb_serial_jtag_vfs_register(); return ESP_OK; } #endif #if CONFIG_ESP_CONSOLE_SECONDARY_USB_SERIAL_JTAG ESP_SYSTEM_INIT_FN(init_vfs_usj_sec, CORE, BIT(0), 112) { // "/dev/seccondary_usb_serial_jtag" unfortunately is too long for vfs esp_vfs_register("/dev/secondary", &usj_vfs, NULL); return ESP_OK; } #endif /*********************************************************** * VFS uses USB-SERIAL-JTAG driver part. **********************************************************/ static int usbjtag_rx_char_via_driver(int fd) { uint8_t c; TickType_t timeout = s_ctx.non_blocking ? 0 : portMAX_DELAY; int n = usb_serial_jtag_read_bytes(&c, 1, timeout); if (n <= 0) { return NONE; } return c; } static void usbjtag_tx_char_via_driver(int fd, int c) { char ch = (char) c; TickType_t ticks = (TX_FLUSH_TIMEOUT_US / 1000) / portTICK_PERIOD_MS; if (usb_serial_jtag_write_bytes(&ch, 1, 0) != 0) { s_ctx.tx_tried_blocking = false; return; } if (s_ctx.tx_tried_blocking == false) { if (usb_serial_jtag_write_bytes(&ch, 1, ticks) != 0) { return; } else { s_ctx.tx_tried_blocking = true; } } } static int usbjtag_wait_tx_done_via_driver(int fd) { TickType_t ticks = (TX_FLUSH_TIMEOUT_US / 1000) / portTICK_PERIOD_MS; esp_err_t r = usb_serial_jtag_wait_tx_done(ticks); return (r == ESP_OK) ? 0 : EIO; } void usb_serial_jtag_vfs_use_nonblocking(void) { _lock_acquire_recursive(&s_ctx.read_lock); _lock_acquire_recursive(&s_ctx.write_lock); s_ctx.tx_func = usb_serial_jtag_tx_char_no_driver; s_ctx.rx_func = usb_serial_jtag_rx_char_no_driver; s_ctx.fsync_func = usb_serial_jtag_wait_tx_done_no_driver; _lock_release_recursive(&s_ctx.write_lock); _lock_release_recursive(&s_ctx.read_lock); } void usb_serial_jtag_vfs_use_driver(void) { _lock_acquire_recursive(&s_ctx.read_lock); _lock_acquire_recursive(&s_ctx.write_lock); s_ctx.tx_func = usbjtag_tx_char_via_driver; s_ctx.rx_func = usbjtag_rx_char_via_driver; s_ctx.fsync_func = usbjtag_wait_tx_done_via_driver; _lock_release_recursive(&s_ctx.write_lock); _lock_release_recursive(&s_ctx.read_lock); } void usb_serial_jtag_vfs_include_dev_init(void) { // Linker hook function, exists to make the linker examine this file } // -------------------------- esp_vfs_usb_serial_jtag_xxx ALIAS (deprecated) ---------------------------- esp_err_t esp_vfs_dev_usb_serial_jtag_register(void) __attribute__((alias("usb_serial_jtag_vfs_register"))); void esp_vfs_dev_usb_serial_jtag_set_rx_line_endings(esp_line_endings_t mode) __attribute__((alias("usb_serial_jtag_vfs_set_rx_line_endings"))); void esp_vfs_dev_usb_serial_jtag_set_tx_line_endings(esp_line_endings_t mode) __attribute__((alias("usb_serial_jtag_vfs_set_tx_line_endings"))); void esp_vfs_usb_serial_jtag_use_nonblocking(void) __attribute__((alias("usb_serial_jtag_vfs_use_nonblocking"))); void esp_vfs_usb_serial_jtag_use_driver(void) __attribute__((alias("usb_serial_jtag_vfs_use_driver"))); ```
The 1952 Hasankale earthquake occurred at 08:03 local time on 3 January in Hasankale (today Pasinler) in Erzurum Province, Eastern Anatolia Region of Turkey. The earthquake had an estimated magnitude of 5.8 and a maximum felt intensity of VIII (Severe) on the Mercalli intensity scale, causing 41 casualties. This spot has been the subject of studies due to the amount of earthquakes that occur in Turkey. 17% of earthquakes, globally, occur in this area. This is because the Alpide belt crosses through Turkey. The earthquakes are cause when the plates try to slide past each other on a transform boundary. See also List of earthquakes in 1952 List of earthquakes in Turkey References 1952 Hasankale 1952 earthquakes 1952 in Turkey History of Erzurum Province January 1952 events in Asia 1952 disasters in Turkey
Rudra is a genus of jumping spiders that was first described by George and Elizabeth Peckham in 1885. The name refers to Rudra, a Rigvedic god. Species it contains ten species, found in Central America, Brazil, Guyana, Argentina, and French Guiana: Rudra avitoides (Bauab-Vianna & Soares, 1980) – Brazil Rudra brescoviti Braul & Lise, 1999 – Brazil Rudra geniculata Peckham & Peckham, 1885 (type) – Guatemala, Panama Rudra humilis Mello-Leitão, 1945 – Argentina, Brazil Rudra minensis Galiano, 1984 – Brazil Rudra multispina Caporiacco, 1947 – Guyana Rudra oriximina Galiano, 1984 – Brazil Rudra polita Peckham & Peckham, 1894 – Guatemala Rudra tenera Peckham & Peckham, 1894 – Brazil Rudra wagae (Taczanowski, 1871) – French Guiana References External links Photographs of Rudra species from Brazil Salticidae genera Salticidae Spiders of Central America Spiders of South America
```go package bigcache import ( "context" "fmt" "math/rand" "runtime" "strconv" "sync" "testing" "time" ) func TestEntriesIterator(t *testing.T) { t.Parallel() // given keysCount := 1000 cache, _ := New(context.Background(), Config{ Shards: 8, LifeWindow: 6 * time.Second, MaxEntriesInWindow: 1, MaxEntrySize: 256, }) value := []byte("value") for i := 0; i < keysCount; i++ { cache.Set(fmt.Sprintf("key%d", i), value) } // when keys := make(map[string]struct{}) iterator := cache.Iterator() for iterator.SetNext() { current, err := iterator.Value() if err == nil { keys[current.Key()] = struct{}{} } } // then assertEqual(t, keysCount, len(keys)) } func TestEntriesIteratorWithMostShardsEmpty(t *testing.T) { t.Parallel() // given clock := mockedClock{value: 0} cache, _ := newBigCache(context.Background(), Config{ Shards: 8, LifeWindow: 6 * time.Second, MaxEntriesInWindow: 1, MaxEntrySize: 256, }, &clock) cache.Set("key", []byte("value")) // when iterator := cache.Iterator() // then if !iterator.SetNext() { t.Errorf("Iterator should contain at least single element") } current, err := iterator.Value() // then noError(t, err) assertEqual(t, "key", current.Key()) assertEqual(t, uint64(0x3dc94a19365b10ec), current.Hash()) assertEqual(t, []byte("value"), current.Value()) assertEqual(t, uint64(0), current.Timestamp()) } func TestEntriesIteratorWithConcurrentUpdate(t *testing.T) { t.Parallel() // given cache, _ := New(context.Background(), Config{ Shards: 1, LifeWindow: time.Second, MaxEntriesInWindow: 1, MaxEntrySize: 256, }) cache.Set("key", []byte("value")) // when iterator := cache.Iterator() // then if !iterator.SetNext() { t.Errorf("Iterator should contain at least single element") } getOldestEntry := func(s *cacheShard) ([]byte, error) { s.lock.RLock() defer s.lock.RUnlock() return s.entries.Peek() } // Quite ugly but works for i := 0; i < cache.config.Shards; i++ { if oldestEntry, err := getOldestEntry(cache.shards[i]); err == nil { cache.onEvict(oldestEntry, 10, cache.shards[i].removeOldestEntry) } } current, err := iterator.Value() assertEqual(t, nil, err) assertEqual(t, []byte("value"), current.Value()) next := iterator.SetNext() assertEqual(t, false, next) } func TestEntriesIteratorWithAllShardsEmpty(t *testing.T) { t.Parallel() // given cache, _ := New(context.Background(), Config{ Shards: 1, LifeWindow: time.Second, MaxEntriesInWindow: 1, MaxEntrySize: 256, }) // when iterator := cache.Iterator() // then if iterator.SetNext() { t.Errorf("Iterator should not contain any elements") } } func TestEntriesIteratorInInvalidState(t *testing.T) { t.Parallel() // given cache, _ := New(context.Background(), Config{ Shards: 1, LifeWindow: time.Second, MaxEntriesInWindow: 1, MaxEntrySize: 256, }) // when iterator := cache.Iterator() // then _, err := iterator.Value() assertEqual(t, ErrInvalidIteratorState, err) assertEqual(t, "Iterator is in invalid state. Use SetNext() to move to next position", err.Error()) } func TestEntriesIteratorParallelAdd(t *testing.T) { bc, err := New(context.Background(), DefaultConfig(1*time.Minute)) if err != nil { panic(err) } wg := sync.WaitGroup{} wg.Add(1) go func() { for i := 0; i < 10000; i++ { err := bc.Set(strconv.Itoa(i), []byte("aaaaaaa")) if err != nil { panic(err) } runtime.Gosched() } wg.Done() }() for i := 0; i < 100; i++ { iter := bc.Iterator() for iter.SetNext() { _, _ = iter.Value() } } wg.Wait() } func TestParallelSetAndIteration(t *testing.T) { t.Parallel() rand.Seed(0) cache, _ := New(context.Background(), Config{ Shards: 1, LifeWindow: time.Second, MaxEntriesInWindow: 100, MaxEntrySize: 256, HardMaxCacheSize: 1, Verbose: true, }) entrySize := 1024 * 100 ctx, cancel := context.WithTimeout(context.Background(), time.Second*10) defer cancel() wg := sync.WaitGroup{} wg.Add(2) go func() { defer func() { err := recover() // no panic assertEqual(t, err, nil) }() defer wg.Done() isTimeout := false for { if isTimeout { break } select { case <-ctx.Done(): isTimeout = true default: err := cache.Set(strconv.Itoa(rand.Intn(100)), blob('a', entrySize)) noError(t, err) } } }() go func() { defer func() { err := recover() // no panic assertEqual(t, nil, err) }() defer wg.Done() isTimeout := false for { if isTimeout { break } select { case <-ctx.Done(): isTimeout = true default: iter := cache.Iterator() for iter.SetNext() { entry, err := iter.Value() // then noError(t, err) assertEqual(t, entrySize, len(entry.Value())) } } } }() wg.Wait() } ```
```tcl #your_sha256_hash---------- # This script contains several sub-programs used to test FTS3/FTS4 # performance. It does not run the queries directly, but generates SQL # scripts that can be run using the shell tool. # # The following cases are tested: # # 1. Inserting documents into an FTS3 table. # 2. Optimizing an FTS3 table (i.e. "INSERT INTO t1 VALUES('optimize')"). # 3. Deleting documents from an FTS3 table. # 4. Querying FTS3 tables. # # Number of tokens in vocabulary. And number of tokens in each document. # set VOCAB_SIZE 2000 set DOC_SIZE 100 set NUM_INSERTS 100000 set NUM_SELECTS 1000 # Force everything in this script to be deterministic. # expr {srand(0)} proc usage {} { puts stderr "Usage: $::argv0 <rows> <selects>" exit -1 } proc sql {sql} { puts $::fd $sql } # Return a list of $nWord randomly generated tokens each between 2 and 10 # characters in length. # proc build_vocab {nWord} { set ret [list] set chars [list a b c d e f g h i j k l m n o p q r s t u v w x y z] for {set i 0} {$i<$nWord} {incr i} { set len [expr {int((rand()*9.0)+2)}] set term "" for {set j 0} {$j<$len} {incr j} { append term [lindex $chars [expr {int(rand()*[llength $chars])}]] } lappend ret $term } set ret } proc select_term {} { set n [llength $::vocab] set t [expr int(rand()*$n*3)] if {$t>=2*$n} { set t [expr {($t-2*$n)/100}] } if {$t>=$n} { set t [expr {($t-$n)/10}] } lindex $::vocab $t } proc select_doc {nTerm} { set ret [list] for {set i 0} {$i<$nTerm} {incr i} { lappend ret [select_term] } set ret } proc test_1 {nInsert} { sql "PRAGMA synchronous = OFF;" sql "DROP TABLE IF EXISTS t1;" sql "CREATE VIRTUAL TABLE t1 USING fts4;" for {set i 0} {$i < $nInsert} {incr i} { set doc [select_doc $::DOC_SIZE] sql "INSERT INTO t1 VALUES('$doc');" } } proc test_2 {} { sql "INSERT INTO t1(t1) VALUES('optimize');" } proc test_3 {nSelect} { for {set i 0} {$i < $nSelect} {incr i} { sql "SELECT count(*) FROM t1 WHERE t1 MATCH '[select_term]';" } } proc test_4 {nSelect} { for {set i 0} {$i < $nSelect} {incr i} { sql "SELECT count(*) FROM t1 WHERE t1 MATCH '[select_term] [select_term]';" } } if {[llength $argv]!=0} usage set ::vocab [build_vocab $::VOCAB_SIZE] set ::fd [open fts3speed_insert.sql w] test_1 $NUM_INSERTS close $::fd set ::fd [open fts3speed_select.sql w] test_3 $NUM_SELECTS close $::fd set ::fd [open fts3speed_select2.sql w] test_4 $NUM_SELECTS close $::fd set ::fd [open fts3speed_optimize.sql w] test_2 close $::fd puts "Success. Created files:" puts " fts3speed_insert.sql" puts " fts3speed_select.sql" puts " fts3speed_select2.sql" puts " fts3speed_optimize.sql" ```
Anna Campori (22 September 1917 – 19 January 2018) was an Italian actress. From 1951 onwards, she appeared in 70 films. Life and career Born in Rome, Italy, after the debut on stage in a small company of prose Campori moved shortly after into avanspettacolo and revue, entering the company of the De Vico Brothers with whom she toured across Italy during the Second World War. After her marriage to Pietro De Vico, she became the prima donna in the companies he founded, even still appearing on several stage comedies of other companies. Campori was also an active character actress for films and television series, a voice actress and a radio hostess. She made her last appearance in the TV series Carabinieri. She turned 100 in September 2017 and died on 19 January 2018. Selected filmography Una bruna indiavolata! (1951) – Signora Cartoni We Two Alone (1952) – Fillide Neapolitan Turk (1953) – Concettella La pattuglia dell'Amba Alagi (1953) – Moglie del sindaco The Doctor of the Mad (1954) – Una signora It Happened at the Police Station (1954) – The woman protesting against the strike Assi alla ribalta (1954) The Song of the Heart (1955) – Maddalena L'ultimo amante (1955) – La nuova inquilina Il coraggio (1955) – Ginevra Suor Maria (1955) – Cameriera della pensione La ragazza di via Veneto (1955) I giorni più belli (1956) – La madre di Carletto Ci sposeremo a Capri (1956) – Pasquale Caputo's Wife Occhi senza luce (1956) – Maid Il canto dell'emigrante (1956) Song of Naples (1957) – Oreste Antignano's Wife Susanna Whipped Cream (1957) – La madre di Susanna La canzone del destino (1957) C'è un sentiero nel cielo (1957) – The Restaurant Owner Serenate per 16 bionde (1957) – The Woman enjoying the Show Il cocco di mamma (1957) – Laura Tarantini's Mother A sud niente di nuovo (1957) Venice, the Moon and You (1958) – Claudia Mia nonna poliziotto (1958) – Padrona di casa Toto, Peppino and the Fanatics (1958) The Friend of the Jaguar (1959) – Gianna Prepotenti più di prima (1959) – Signora Norma I Tartassati (1959) – Dora Pezzella Le cameriere (1959) – La signora Marini Winter Holidays (1959) – Virginia Quel tesoro di papà (1959) – Amalia Ferdinando I, re di Napoli (1959) – The angry Lottery Player (uncredited) Perfide.... ma belle (1959) Nel blu dipinto di blu (1959) – Donata's 1st Employer (uncredited) The Employee (1960) – Lisetta Gastone (1960) I piaceri dello scapolo (1960) – La Padrona di Casa My Friend, Dr. Jekyll (1960) – Clarissa de Matteis Caccia al marito (1960) – The Widow with seven children Who Hesitates Is Lost (1960) – Italia, Guardalavecchia's wife Sua Eccellenza si fermò a mangiare (1961) – The Innkeeper's Wife (uncredited) Pesci d'oro e bikini d'argento (1961) Leoni al sole (1961) Rocco e le sorelle (1961) I soliti rapinatori a Milano (1963) Le motorizzate (1963) – Cacace's Wife (segment "Il Vigile Ignoto") Gli onorevoli (1963) – Signora La Trippa The Four Musketeers (1963) Napoleone a Firenze (1964) Te lo leggo negli occhi (1965) – Elsa Ischia operazione amore (1966) – Rosalia – Gennaro's wife Una ragazza tutta d'oro (1967) – Iva Zanelli's Mother Riderà! (Cuore matto) (1967) – Madre di Antonio Ric e Gian alla conquista del West (1967) – Irene Jefferson Cuore matto... matto da legare (1967) I ragazzi di Bandiera Gialla (1968) Il suo nome è Donna Rosa (1969) – Carmela Io non spezzo... rompo (1971) – Elena – wife of Riccardo Storia di fifa e di coltello – Er seguito d'er più (1972) – Teresa Landolfi ved. Campitelli City Under Siege (1974) Pierino medico della Saub (1981) – Suor Celestina Giggi il bullo (1982) No Thanks, Coffee Makes Me Nervous (1982) Ladri di futuro (1991) Natasha Stefanenko : La gigantessa (2001) – Natasha Stefanenko (voice) The Accidental Detective (2003) – Gegia Those Happy Years (2013) – Bisnonna See also List of centenarians (actors, filmmakers and entertainers) References External links 1917 births 2018 deaths 20th-century Italian actresses Actresses from Rome Italian centenarians Italian film actresses Women centenarians
Melati van Java was the pen name of Nicolina Maria "Marie" Sloot (January 13, 1853 – June 13, 1927). She was an Dutch East Indies-born Dutch writer. During the period around the start of the 20th century, her novels were popular with the Dutch public. The daughter of Wiesje van Haastert and Carel Sloot, she was born in Semarang in Java. She was mainly educated at home. In 1871, her family returned to the Netherlands, first living in The Hague and later in Roermond. Her mother died after the family settled in Roermond; her father remarried and she moved to Amsterdam afterwards in 1881. She began publishing under the name Mathilde in 1872, later using Melati van Java. In 1893, she was invited to join Maatschappij der Nederlandse Letterkunde, the Dutch literary society, one of the first women to become a member. Later in life, she also used the pseudonym Max van Ravestein. She was editor of De Huisvriend and Vrouwenwereld. She also contributed to various publications, including and . During and after World War I, she was active in the Roman Catholic women's movement. Some of her work was translated into German, French and Danish. She died in Noordwijk in South Holland province at the age of 74. Selected works De jonkvrouwe van Groenerode, semi-autobiographical novel (1875) De familie van den resident, novel (1875) Anonciade (1876), under the name Mathilde In de Lente vergaard (1876) Angeline's beloften, children's literature (1879) Dorenzathe, novel (1880) Hermelijn, novel (1885) Het Viooltje van St. Germain, children's literature (1885) Nazomer (1888) Ontmaskerd, children's literature (1888) De ring der Grootvorstin, children's literature (1889) References 1853 births 1927 deaths Indo people Writers from the Dutch East Indies Dutch writers 19th-century pseudonymous writers Pseudonymous women writers People from Semarang
What Makes Daffy Duck is a 1948 Warner Bros. Looney Tunes cartoon directed by Arthur Davis. The cartoon was released on February 14, 1948, and stars Daffy Duck and Elmer Fudd. The title is a play on Budd Schulberg's 1941 controversial novel What Makes Sammy Run? Plot Daffy Duck sneaks across the meadow dodging hunter's bullets. He hides behind a tree, his teeth chattering and knees knocking. He is startled on seeing the audience, but calms down and explains, "You see, it's duck season, and, confidentially, I'm a duck!" He then crawls across the meadow and takes a morning shower while singing "King For A Day". While he sings in the shower, a fox (whom Daffy later addresses as "Fortescue") and Elmer Fudd approach the shower from opposite directions, each unaware of the other's presence. They reach into the shower to grab Daffy, but he emerges from the shower untouched. They look inside the curtain and see their fingers literally tied together, much to their annoyance. The fox and Elmer start grabbing at Daffy, but Daffy stops them. He tells them to race to a pine tree, and the first one to reach it "gets tender, juicy me as first prize". But when he fires the starting gun, only Elmer takes off; the fox—wise to Daffy's trick—stays behind, grabs Daffy, and flees. Daffy calls to Elmer and tells him he has been swindled. Elmer starts chasing after the fox. Meanwhile, Daffy deliberately squirts oil on the hill, and the fox slides downhill. At the bottom of the hill, Elmer aims his gun at the fox and demands that he leave. The fox turns to escape, only to run smack into a tree, knocking him out cold. Now Elmer turns his gun on Daffy. But Daffy puts Elmer on a guilt trip, melodramatically complaining about the misery of being constantly pursued by hunters. Catching Elmer off guard, he hits Elmer on the head with a mallet, knocking him out. A little later, Daffy is admiring himself in a mirror. Elmer puts on a semi-realistic female duck disguise and rubber fishing boots and calls to Daffy from a pond. Daffy begins flirting with the duck, but dives underwater, notices Elmer's boots, and sees through his game. Still, Daffy plays along, and offers to bring some art collectibles for "her" to see. He slips away and awakens the fox (who was still unconscious until now) with a duck call. The fox sees the "female duck", grabs it, and runs away, until he notices the neck stretching. Curiously, he confusedly asks "What kind of a duck is this?" as he opens the lid of the duck costume, and Elmer pops out pointing his gun in the fox's face. Elmer, still in costume, chases after the fox, but is caught by the boot with a long rope, pulling him out of the costume and getting him entirely stuck in the boot, sadly asking himself, "How am I ever gonna catch that scwewy duck?" Daffy, who lassoed him, replies, "Precisely what I was wondering, my little nimrod!" Suddenly, the fox grabs Daffy by the throat and flees the area with him, trying to put as much distance between himself and Elmer. But just when he thought he had gotten far enough away, he turns and runs into Elmer and his gun. Elmer forces the fox to give up Daffy and sends him away. Then Elmer, by now greatly irritated, drags Daffy away to shoot him, while Daffy calls to the fox to stop Elmer. Elmer pins Daffy to a tree and squeezes the trigger, but instead of gunfire, there is a pop. The fox has returned and stuck his fingers in the gun barrel to stop Elmer. The fox and Elmer start cursing in each other's faces, and their argument turns to fisticuffs, while Daffy watches from atop the tree, cheering them on. While the fox and Elmer are fighting, a dog in a ranger uniform appears and nails two signs to the tree: DUCK SEASON CLOSED. and FOX SEASON OPEN. He blows a whistle. The fox and Elmer read the signs; Elmer, seeing an opportunity for revenge, glares menacingly at the frightened fox, who flees for his life. The dog gives Elmer a more appropriate hunting hat and a horse to ride, and Elmer chases the fox on horseback. In the end, as the fox, Elmer and his horse run away into the distance, the dog pulls off his rubber mask to reveal Daffy in disguise, and he comments, "Obviously, I am dealing with inferior mentalities." Home media All prints have the 1950 green Merrie Melodies ending title card. VHS - Cartoon Moviestars: Elmer! LaserDisc - Cartoon Moviestars: Bugs! and Elmer! LaserDisc - The Golden Age of Looney Tunes, Volume 2, Side 8 Blu-ray/DVD - Looney Tunes Platinum Collection: Volume 2, Disc 1 References External links Looney Tunes shorts 1948 animated films 1948 short films 1948 films Cinecolor films Films directed by Arthur Davis 1940s Warner Bros. animated short films Films scored by Carl Stalling Films about hunters Daffy Duck films Elmer Fudd films Animated films about foxes
Occitan is the name of a community currency started in 2010 in Pézenas, Languedoc-Roussillon, France. It is named after the Occitan language. The Occitan program is intended to promote local commerce. The Occitan operates with a fixed exchange rate: = There is a fixed commission of 4% for members (shops) and 6% for individuals. Creation and objectives An initiative of a local shopkeeper organization, ACA, the Occitan is intended to stimulate of local economy. Currency issue, exchange and acceptance They have a 1-year validity. Bills of 1, 2, 5, and 10 Occitans are issued. They feature an Occitan cross and the portrait of Molière who started his career in Pézenas. To maintain an individual bill's validity, a "scrip" corresponding to 2% of the banknote value must be paid every six months. (This system, called demurrage, is a form of currency circulation tax and was invented by Silvio Gesell.) See also Abeille BerkShares Chiemgauer References External links Local currencies Freiwirtschaft
Masculinizing hormone therapy, also known as transmasculine hormone therapy, or female-to-male (or FTM) hormone therapy, is a form of hormone therapy and gender affirming therapy which is used to change the secondary sexual characteristics of transgender people from feminine or androgynous to masculine. It is a common type of transgender hormone therapy (another being feminizing hormone therapy), and is predominantly used to treat transgender men and other transmasculine individuals. Some intersex people also receive this form of therapy, either starting in childhood to confirm the assigned sex or later if the assignment proves to be incorrect. The purpose of this form of therapy is to cause the development of the secondary sex characteristics of the desired sex, such as voice deepening and a masculine pattern of hair, fat, and muscle distribution. It cannot undo many of the changes produced by naturally occurring puberty, which may necessitate surgery and other treatments to reverse. The medications used for FTM therapy include, mainly, androgens (namely testosterone) and GnRH analogues. While the therapy cannot undo the effects of a person's first puberty, developing secondary sex characteristics associated with a different sex can relieve some or all of the distress and discomfort associated with gender dysphoria, and can help the person to "pass" or be seen as their gender identity. Introducing exogenous (not internally produced) hormones into the body impacts it at every level and many patients report changes in energy levels, mood, appetite, etc. The goal of the therapy, and indeed all somatic treatments, is to provide patients with a more satisfying body that is more congruent with their gender identity. Masculinizing hormone therapy has been shown to likely reduce the distress and discomfort associated with gender dysphoria. Medical uses To produce masculinization and/or defeminization in transgender men and genderqueer individuals. To produce masculinization and/or defeminization in intersex people. Requirements and accessibility Contraindications Several contraindications to androgen therapy exist. An absolute medical contraindication is pregnancy. Relative medical contraindications are: Androgen-sensitive epilepsy Migraines Sleep apnea Polycythemia (elevated red blood cell count) Cardiac failure, renal failure, or severe hypertension susceptible to sodium retention and fluid overload Significant liver disease Coronary artery disease or risk factors for this condition History of uterine cancer Bleeding disorders (for injected testosterone) Significant history of violent behavior History of breast cancer (testosterone has antiproliferative effects on most but not all breast cancers) Acne (mild to severe) Safety Two 2019 studies indicate the potential for elevated risk of cardiovascular events. One study found that transgender men taking testosterone had an increased risk of cardiovascular events compared to cisgender women, with 11 vs. 3 cardiovascular events per 100,000 person-years, though the risk was less than that of cisgender men. Researchers were not able to control for smoking status or stressors. Another study found elevated risk of heart attacks among self-identified transgender men—which persisted even after adjusting for age, diabetes mellitus, chronic kidney disease, smoking, hypertension, hypercholesterolemia, and exercise—though the study did not include data about whether the subjects were undergoing hormone therapy and did not control for stressors. The study found that transgender men have a >4-fold and 2-fold increased odds of having a myocardial infarction when compared with cisgender women and cisgender men, respectively. Though it is not always the case, testosterone for transmasculine people is often intended to be used long-term. Due to insufficient comprehensive research, there is no consensus on the full range of risks of lengthy testosterone administration. Interactions Testosterone is metabolized by the cytochrome P450 enzyme system (specifically CYP3A isoforms) in the liver. There are certain drugs that increase or decrease the activity of cytochrome P450 enzymes and may cause increased or decreased levels of testosterone: Enzyme inducersMay cause decreased levels of testosterone (and other sex steroid) levels: Phenobarbital and phenytoin (seizure medicines), rifampin (antibiotic), and alcohol. Enzyme inhibitorsMay cause increased levels of testosterone: Nefazodone, fluoxetine, paroxetine (antidepressants), itraconazole, fluconazole, and other azole antifungals, cimetidine (an anti-ulcer agent that can cause gynecomastia in men because of this effect). Clarithromycin and other macrolide antibiotics, and protease inhibitors (HIV treatment). Testosterone can also alter the effects of other drugs: Increases the blood thinning effect of warfarin; Decreases the effectiveness of propranolol, a nonselective beta blocker used in the management of cardiovascular conditions; Increases the effect of some oral medicines for diabetes and can cause dangerously low blood sugar levels. Because of these interactions, it is advised that trans men make their healthcare providers aware of their hormone therapy when this is relevant to their treatment for other medical issues. Medications Medications used in hormone therapy for transgender men include androgens and anabolic steroids like testosterone (by injection and other routes) to produce masculinization, suppress estrogen and progesterone levels, and prevent/reverse feminization; GnRH agonists and antagonists to suppress estrogen and progesterone levels; progestins like medroxyprogesterone acetate to suppress menses; and 5α-reductase inhibitors to prevent/reverse scalp hair loss. Testosterone The elimination half-life of testosterone in the blood is about 70 minutes, so it is necessary to have a continuous supply of the hormone for masculinization. A study of 45 FtM individuals randomly assigned to receive testoviron depot (intramuscular, 100 mg/10 days), testosterone gel (50 mg/die), or testosterone undecanoate (intramuscular, 1000 mg) found increased lean body mass, decreased fat mass, decreased high-density plasma lipoprotein levels, increased low-density lipoprotein levels, and increased prothrombin time. No differences were found between the different formulations of testosterone, and at week 54 all subjects were amenorrheic (no longer experiencing menstrual periods). 1 year after treatment, general life satisfaction was increased in all subjects. Injected 'Depot' drug formulations are created by mixing a substance with the drug that slows its release and prolongs the action of the drug. The two primarily used forms in the United States are the testosterone esters testosterone cypionate (Depo-Testosterone) and testosterone enanthate (Delatestryl or Xyosted) which are almost interchangeable. Testosterone enanthate is purported to be slightly better with respect to even testosterone release, but this is probably more of a concern for bodybuilders who use the drugs at higher doses (250–1000 mg/week) than the replacement doses used by transgender men (50–100 mg/week). These testosterone esters are mixed with different oils, so some individuals may tolerate one better than the other. Testosterone enanthate costs more than testosterone cypionate and is more typically the one prescribed for hypogonadal males in the US. Testosterone cypionate is more popular in the US than elsewhere (especially amongst bodybuilders). Other formulations exist but are more difficult to come by in the US. A formulation of injected testosterone available in Europe and the US, testosterone undecanoate (Nebido, Aveed) provides significantly improved testosterone delivery with far less variation outside the eugonadal range than other formulations with injections required only four times yearly. However, each quarterly dose requires an injection of 4 mL of oil which may require multiple simultaneous injections. Testosterone undecanoate is also much more expensive as it is still under patent protection. Testosterone propionate is another testosterone ester that is widely available, including in the US, Canada, and Europe, but it is very short-acting compared to the other testosterone esters and must be administered once every 2 or 3 days, and for this reason, is rarely used. The adverse side effects of injected testosterone esters are generally associated with high peak levels in the first few days after an injection. Some side effects may be ameliorated by using a shorter dosing interval (weekly or every ten days instead of twice monthly with testosterone enanthate or testosterone cypionate). 100 mg weekly gives a much lower peak level of testosterone than does 200 mg every two weeks, while still maintaining the same total dose of androgen. This benefit must be weighed against the discomfort and inconvenience of doubling the number of injections. Injectable forms of testosterone can cause a lung problem called pulmonary oil microembolism (POME). Symptoms of POME include cough, shortness of breath, tightening of the throat, chest pain, sweating, dizziness, and fainting. A postmarketing analysis by the manufacturer of Aveed (testosterone undeconate injection) found that POME occurred at a rate of less than 1% per injection per year for Aveed. Injected testosterone esters should be started at a low dose and titrated upwards based on trough levels (blood levels drawn just before your next shot). A trough level of 500 ng/dL is sought. (Normal range for a cisgender man is 290 to 900 ng/dL). Transdermal Both testosterone patches, creams and gels are available. Both approximate normal physiological levels of testosterone better than the higher peaks associated with injection. Both can cause local skin irritation (more so with the patches). Patches slowly diffuse testosterone through the skin and are replaced daily. The cost varies, as with all medication, from country to country, it is about $150/month in the US, and about €60 in Germany. Transdermal testosterone has the advantage of delivering a consistent supply of hormones over a given period and having a simple method of diffusion. Transdermal testosterone is available throughout the world under the brand names Andromen Forte, Androgel, Testogel and Testim. They are absorbed quickly when applied and produce a temporary drug depot in the skin which diffuses into the circulation, peaking at 4 hours and decreasing slowly over the rest of the day. The cost varies, as with all medication, from country to country, from as little as $50/month to about $280/month. Transdermal testosterone poses a risk of inadvertent exposure to others who come in contact with the patient's skin. This is most important for patients whose intimate partners are pregnant or those who are parents of young children as both of these groups are more vulnerable to the masculinizing effects of androgens. Case reports of significant virilization of young children after exposure to topical androgen preparations (both prescription and 'supplement' products) used by their caregivers demonstrates this very real risk, the same principle also applies to estrogens. Implants Implants, as subcutaneous pellets, can be used to deliver testosterone (brand name Testopel). 6 to 12 pellets are inserted under the skin every three months. This must be done in a physician's office, but is a relatively minor procedure done under local anesthetic. Pellets cost about $60 each, so the cost is greater than injected testosterone when the cost of the physician visit and procedure are included. The primary advantages of Testopel are that it gives a much more constant blood level of testosterone yet requires attention only four times yearly. Oral Oral testosterone is provided exclusively as testosterone undecanoate. It is available in Europe and Canada, but not in the US. Once absorbed from the gastrointestinal tract, testosterone is shunted (at very high blood levels) to the liver where it can cause liver damage (albeit very rarely) and worsens some of the adverse effects of testosterone, like lower HDL cholesterol. In addition, the first-pass metabolism of the liver also may result in testosterone levels too low to provide satisfactory masculinization and suppress menses. Because of the short terminal half-life of testosterone, oral testosterone undecanoate must be administered two to four times per day, preferably with food (which improves its absorption). Sublingual and buccal In 2003, the FDA approved a buccal form of testosterone (Striant). Sublingual testosterone can also be made by some compounding pharmacies. Cost for Striant is greater than other formulations (/month). Testosterone is absorbed through the oral mucosa and avoids the first-pass metabolism in the liver which is the cause of many of the adverse effects of oral testosterone undecanoate. The lozenges can cause gum irritation, taste changes, and headache but most side effects diminish after two weeks. The lozenge is 'mucoadhesive' and must be applied twice daily. Alternative androgens Synthetic androgens Synthetic androgens/anabolic steroids (AAS), like nandrolone (as an ester like nandrolone decanoate or nandrolone phenylpropionate), are agonists of the androgen receptor (AR) similarly to testosterone but are not usually used in HRT for transgender men or for androgen replacement therapy (ART) in cisgender men. However, they can be used in place of testosterone with similar effects, and can have certain advantages like less or no local potentiation in so-called androgenic tissues that express 5α-reductase like the skin and hair follicles (which results in a reduced rate of skin and hair-related side effects like excessive body hair growth and scalp hair loss), although this can also be disadvantageous in certain aspects of masculinization like facial hair growth and normal body hair growth). Although many AAS are not potentiated in androgenic tissues, they have similar effects to testosterone in other tissues like bone, muscle, fat, and the voice box. Also, many AAS, like nandrolone esters, are aromatized into estrogens to a greatly reduced extent relative to testosterone or not at all, and for this reason, are associated with reduced or no estrogenic effects (e.g., gynecomastia). AAS that are 17α-alkylated like methyltestosterone, oxandrolone, and stanozolol are orally active but carry a high risk of liver damage, whereas AAS that are not 17α-alkylated, like nandrolone esters, must be administered by intramuscular injection (via which they act as long-lasting depots similarly to testosterone esters) but have no more risk of liver damage than does testosterone. For the sake of clarification, the term "anabolic–androgenic steroid" is essentially synonymous with "androgen" (or with "anabolic steroid"), and that natural androgens like testosterone are also AAS. These drugs all share the same core mechanism of action of acting as agonists of the AR and have similar effects, although their potency, pharmacokinetics, oral activity, ratio of anabolic to androgenic effects (due to differing capacities to be locally metabolized and potentiated by 5α-reductase), capacity for aromatization (i.e., conversion into an estrogen), and potential for liver damage may all differ. Dihydrotestosterone Dihydrotestosterone (DHT) (referred to as androstanolone or stanolone when used medically) can also be used in place of testosterone as an androgen. The availability of DHT is limited; it is not available in the United States or Canada, for instance, but it is available in certain European countries, including the United Kingdom, France, Spain, Belgium, Italy, and Luxembourg. DHT is available in formulations including topical gel, buccal or sublingual tablets, and as esters in oil for intramuscular injection. Relative to testosterone, and similarly to many synthetic AAS, DHT has the potential advantages of not being locally potentiated in so-called androgenic tissues that express 5α-reductase (as DHT is already 5α-reduced) and of not being aromatized into an estrogen (it is not a substrate for aromatase). DHT is common androgen used by intersex men to initiate the development of masculine secondary sex characteristics, particularly for individuals with partial androgen insensitivity syndrome (who are often assigned female at birth). As the masculinizing effects of testosterone is limited in AIS, DHT more easily binds to androgen receptors and cannot be directly converted into estrogen via the androgen backdoor pathway, this is useful as an androgen treatment for AIS as testosterone can often result in unintentional feminizing effects such as breast growth and hip widening. DHT can be converted into testosterone which can be aromatased into estrogen however this is low. Gonadotropin-releasing hormone modulator analogues In all people, the hypothalamus releases gonadotropin-releasing hormone (GnRH) to stimulate the pituitary to produce luteinizing hormone (LH) and follicle-stimulating hormone (FSH) which in turn cause the gonads to produce sex steroids. In adolescents, GnRH analogues such as leuprorelin can be used to suspend the advance of sex steroid induced, inappropriate pubertal changes for a period without inducing any changes in the gender-appropriate direction. GnRH analogues work by initially overstimulating the pituitary gland then rapidly desensitizing it to the effects of GnRH. Over a period of weeks, gonadal androgen production is greatly reduced. The WPATH permits GnRH from Tanner stage 2. The sex steroids do have important other functions. The high cost of GnRH analogues is often a significant factor. Antiestrogens Antiestrogens (or so-called "estrogen blockers") like aromatase inhibitors (AIs) (e.g., anastrozole) or selective estrogen receptor modulators (SERMs) (e.g., tamoxifen) can be used to reduce the effects of high levels of endogenous estrogen (e.g., breast development, feminine fat distribution) in transgender men. In addition, in those who have not yet undergone or completed epiphyseal closure (which occurs during adolescence and is mediated by estrogen), antiestrogens can prevent hip widening as well as increase final height (estrogen limits height by causing the epiphyses to fuse). Others 5α-Reductase inhibitors 5α-Reductase inhibitors like finasteride and dutasteride can be used to slow or prevent scalp hair loss and excessive body hair growth in transgender men taking testosterone. However, they may also slow or reduce certain aspects of masculinization, such as facial hair growth, normal male-pattern body hair growth, and possibly clitoral enlargement. A potential solution is to start taking a 5α-reductase inhibitor after these desired aspects of masculinization have been well-established. Progestogens Progestogens can be used to control menstruation in transgender men. Depot medroxyprogesterone acetate (DMPA) may be injected every three months just as it is used for contraception. Generally after the first cycle, menses are greatly reduced or eliminated. This may be useful for transgender men prior to initiation of testosterone therapy. Growth hormone In those who have not yet started or completed epiphyseal closure, growth hormone can be administered, potentially in conjunction with an aromatase inhibitor or a GnRH analogue, to increase final height. Effects The main effects of testosterone in trans men are as follows: Reversible changes Increased libido Redistribution of body fat Cessation of ovulation and menstruation Increased musculature Increased sweat and changes in body odor Prominence of veins and coarser skin Acne (especially in the first few years of therapy) Alterations in blood lipids (cholesterol and triglycerides) Increased red blood cell count Irreversible changes Deepening of the voice Growth of facial and body hair Male-pattern baldness (in some individuals) Enlargement of the clitoris Growth spurt and closure of growth plates if given before the end of puberty Breast atrophy – possible shrinking and/or softening of breasts Many transgender men are unable to pass as cisgender men without hormones. The most commonly cited reason for this is that their voice may reveal them. Physical changes Skin changes Increased activity of oil and sweat glands. Change in body odorless sweet and musky, more metallic and acrid. If severe odor is a problem, an antibacterial soap like chlorhexidine may be used in the armpits when showering. After 1–2 weeks of daily use, a noticeable decrease in odor should occur. Acne: generally worse the first few years of testosterone therapy (mimicking a second puberty). Can be treated with standard acne therapy. Initial treatment is with increased cleansing (at least twice daily) with an anti-acne or oil reducing scrub. If this doesn't work, additional therapy may be prescribed by a physician. Some physicians see acne as a contraindication to increasing testosterone dose. Hair changes The action of testosterone on hair follicles is mainly due to the more potent androgen, dihydrotestosterone, DHT. With androgen therapy, genetics primarily determines how much hair will develop (and where) as well as whether male pattern baldness will develop. Testosterone is converted (within the cells of the hair follicle's dermal papilla) by 5α-reductase to DHT. There are two forms of this enzyme: type 1 and 2. However, type 2 is the form that is most important to the development of male pattern hair loss. Males with congenital 5α-reductase type 2 deficiency (but functional 5α-reductase type 1) never develop male-pattern hair loss. Facial changes Facial changes develop gradually over time, and sexual dimorphism (physical difference between the sexes) tends to increase with age. Within a population of similar body size and ethnicity: Brow: Males tend to develop heavier bony brows than females, thus HRT results in a more prominent brow. Cheeks: Female cheeks tend to be fuller and more rounded. Under the influence of estrogen, fat is deposited beneath the skin and overall facial and body contours become softer. This is reversed by androgens, resulting in a male-type fat distribution after hormone therapy. Nose: The tips of the nasal bones tend to grow more in males than females, creating a larger (longer or wider) nose. Thus, androgens result in the development of the nose. Jaw: The jaw in males tends to grow wider and more deeply sculptured than in females, thus the jaw widens under androgens. Larynx: At puberty, the bones and cartilage of the voicebox tend to enlarge less in females than males. In most males, the larynx becomes visible as a bony "Adam's apple," which is developed in transgender men under hormone therapy. Lips: Females, tend to have thicker, fleshier lips than males of the same size due to estrogen. Thus, after being administered androgens, transgender men may have a fat redistribution that results in smaller lips. Endocrine and gynecological changes Menses should cease within 5 months of testosterone therapy (often sooner). If bleeding continues past 5 months, transgender men are strongly encouraged to see a gynecologist. A retrospective chart review of 74 menstruating individuals treated with intramuscular injected testosterone found that 4 stopped after the first shot, 37 stopped within 6 months, 24 stopped after 6 months, and 9 required additional progesterone therapy. The time to menstrual cessation was individualized, with only a small correlation to testosterone dosage. Clitoromegaly occurs, and frequently reaches its apex within 2–3 years of therapy. Sizes generally range from 3–8 cm with 4–5 cm being about average. This is genetically determined, but some physicians advocate topical clitoral testosterone as an adjunct to growth before metoidioplasty. However, this testosterone is absorbed and should be calculated into one's total regimen. After long-term androgen therapy, ovaries may develop polycystic ovary syndrome (PCOS) morphology, as both PCOS and transgender men there is an up-regulation of testosterone receptors in the ovaries. Untreated PCOS is associated with a possibly increased risk of endometrial cancer as well as decreased fertility. It is unknown whether the risk of ovarian cancer is increased, decreased or unchanged in transgender men compared to women. It is unlikely to be determined in the near future because ovarian cancer is a relatively rare disease and the population of transgender men is too small to do the appropriate study. However, it has been recommended by some physicians that transgender men have an oophorectomy within 2–5 years of starting androgen therapy due to the possible increased risk. (Note: Testosterone dose can frequently be decreased after oophorectomy.) The risk of endometrial cancer is similarly unknown. A large multicenter study along with review of previous studies, noted no increased prevalence of endometrial hyperplasia or malignancy in transgender men undergoing hysterectomy. However while the endometrial linings in these studies were noted to be thin, they remained histologically active. Growth of prostate tissue has been documented in transmasculine individuals on testosterone therapy. Frequently the first sign of endometrial cancer is bleeding in post-menopausal women. Transgender men who have any bleeding after the cessation of menses with androgen therapy should be evaluated for age appropriate causes of abnormal uterine bleeding as per cisgender female guidelines. Adults with a uterus/cervix are advised to have a Pap smear per guidelines (Human papillomavirus infection). Use of testosterone is no exception to this rule. Some transgender men report a decrease in breast size with androgen therapy. However, no morphological changes were found when this was studied and likely it is due to loss of fat in the breasts. Androgen therapy (and suppression of estrogen production) may cause vaginal atrophy and dryness, which may result in dyspareunia (painful vaginal intercourse). This can be alleviated with topical estrogen cream. Most transgender men report a significantly increased libido. Some report that this decreases somewhat after several years on testosterone. While testosterone decreases ovulation, it is not an approved form of contraception; transgender men who engage in sex which places them at risk for pregnancy should be counseled on utilizing concomitant contraception. All contraceptive methods are acceptable for use. Reproductive changes As the age at which transgender people begin therapy decreases, retention of reproductive potential may become more important to some. If a transgender man has not undergone hysterectomy and oophorectomy, he may regain fertility on cessation of testosterone. With the ovarian changes of long-term androgen therapy, however, it may require months of cessation of testosterone and possibly assistive reproductive technology to become pregnant. Testosterone must be withheld for the duration of pregnancy. If a transgender man is planning on having a hysterectomy/oophorectomy, future reproduction may still be preserved by: Oocyte bankinghormonal stimulation to 'hyper-ovulate' with transvaginal oocyte harvest for freezing. Previously using the "slow-freezing" cryopreservation method there were very poor survival rates of banked oocytes. However, the advent of vitrification, a rapid freezing process, has made oocyte cryopreservation a viable option for fertility preservation. It allows the possibility for eggs to later be fertilized and be placed in a surrogate, as opposed to a transgender man having to carry the pregnancy himself. Embryo bankingoocyte harvest as above with immediate fertilization and banking of the embryo. The sperm donor must be chosen before oophorectomy. Allows the possibility for embryos to later be placed in a surrogate, as opposed to a transgender man having to carry the pregnancy himself. Ovarian tissue banking Ovarian tissue is frozen after oophorectomy. Even after long-term androgen therapy, ovaries usually retain usable follicles. Eventual use of frozen ovaries will require replantation into the transgender man for stimulation and harvest, but may eventually be possible in a lab as techniques for tissue culture improve. This option does not usually allow for placement into a surrogate as it may require the use of immunosuppressants on the part of the surrogate. Neurological changes Headaches: Pre-existing migraine headaches can be significantly worsened with androgen therapy. Headaches can also become problematic in men without prior headache disorders. Epilepsy: some seizure disorders are androgen-dependent. These may be worsened or (very rarely) unmasked with androgen therapy. Sleep deprivation worsens almost all seizure disorders, so concurrent obstructive sleep apnea caused or worsened by androgen therapy may also be responsible. Recent studies have found that cross-hormone therapy in trans men results in an increase in brain volume up to male proportions. Psychological changes The psychological changes are harder to define, since HRT is usually the first physical action that takes place when transitioning. This fact alone has a significant psychological impact, which is hard to distinguish from hormonally induced changes. Most trans men report an increase of energy and an increased sex drive. Many also report feeling more confident. While a high level of testosterone is often associated with an increase in aggression, this is not a noticeable effect in most trans men. HRT doses of testosterone are much lower than the typical doses taken by steroid-using athletes, and create testosterone levels comparable to those of most cisgender men. These levels of testosterone have not been proven to cause more aggression than comparable levels of estrogen. Some transgender men report mood swings, increased anger, and increased aggressiveness after starting androgen therapy. Studies are limited and small scale, however, based on self reporting over a short period of time (7 months). In a study by Motta et al., trans men also reported better anger control. Many transgender men, however, report improved mood, decreased emotional lability, and a lessening of anger and aggression. A randomized clinical trial on the effects of testosterone therapy in a group of transgender and gender expansive adults found that the group given treatment had significantly reduced dysphoria, depression, and suicidality relative to the control group. Health-related changes Cardiovascular changes In cisgender men, testosterone levels that are either significantly above or below normal are associated with increase cardiovascular risk. This may be causative or simply a correlation. A single retrospective study in the medical literature of 293 trans men treated with testosterone (range of 2 months to 41 years) by the Amsterdam Gender Dysphoria Clinic from 1975 to 1994 showed no increase in cardiovascular mortality or morbidity when compared with the general female Dutch population. (As with all scientific studies, this does not conclusively prove that no causal link exists. A small to moderate detrimental effect remains a possibility, though a very large effect is more unlikely.) Androgen therapy can adversely affect the blood lipid profile by causing decreases in HDL (good) cholesterol, increases in LDL (bad) cholesterol, and increases in triglycerides. Androgen therapy redistributes the fat toward abdominal obesity, which is associated with increased cardiovascular risk rather than fat carried on the buttocks and hips. Androgen therapy can cause weight gain and decreased insulin sensitivity (perhaps worsening a predisposition to develop Type II diabetes). Androgen therapy effects are not all negative, however. Acutely it causes dilation of the coronary arteries, and in men with testosterone levels within the normal physiological range, higher levels are actually associated with a slight decrease in cardiovascular disease. Supra-physiological levels of androgens (generally due to abuse) are associated with significantly increased risks of strokes and heart attacks (even in the young). Cardiovascular risk factors are more than additive. (If high blood pressure is worth 10 and smoking is worth 10, together they are worth more than 20.) So for transgender men, the addition of risk with androgen therapy makes improving modifiable risk factors more important. The most important modifiable risk factor for many men is smoking. In pre-clinical models, testosterone XHT has been shown to lead to adverse cardiovascular effects, but adding a low-dose estrogen to that hormone therapy completely mitigated those effects. (Goetz LG, et al. "Addition of Estradiol to Cross-sex Testosterone Therapy Reduces Atherosclerosis Plaque Formation in Female ApoE -/- Mice." Endocrinology. 2017) Gastrointestinal changes There is a risk of liver damage and liver cancer with all testosterone formulations, but this is minimal with all forms except oral or unless very high levels are administered. However, as with any drug that carries even a small risk of liver damage, liver function tests (or at least ALT) should be periodically monitored. Metabolic changes Testosterone increases body weight (and increases appetite). The form that this weight gain will take depends on diet and exercise as well as genetic factors. Since testosterone has anabolic effects, gain of lean muscle mass will be easier than it previously was for transgender men. Moderate amounts of exercise will cause greater gains and will ameliorate some of the adverse effects of testosterone. Many transgender men report an increased energy level, decreased need for sleep, and increased alertness after testosterone therapy. In cisgender men, abnormally high or low levels of testosterone are both associated with insulin resistance (which eventually can result in Type II diabetes). So mid-normal levels of testosterone are the target for androgen therapy. In women, increased levels of either estrogen or androgens are associated with decreased insulin sensitivity (which may predispose to diabetes). In a study of transgender males and females, decreased insulin sensitivity was found in both populations after four months of hormonal treatment. Bone changes Both estrogens and androgens are necessary for both cisgender males and females for healthy bone. (Young healthy women produce about 10 mg of testosterone monthly. Higher bone mineral density in males is associated with higher serum estrogen.) Bone is not static. It is constantly being reabsorbed and created. Osteoporosis results when bone formation occurs at a rate less than bone resorption. Estrogen is the predominant sex hormone that slows bone loss (even in men). Both estrogen and testosterone help stimulate bone formation (T, especially at puberty). Testosterone may cause an increase in cortical bone thickness in transgender men (however this does not necessarily translate to a greater mechanical stability). Transgender men who have been oophorectomized must continue androgen therapy to avoid premature osteoporosis. Estrogen supplementation is theoretically not usually necessary, as some of the injected testosterone will be aromatized into estrogen sufficient to maintain bone (as it does in cisgender men). However, a single small study of trans men after oophorectomy demonstrated that androgens alone may be insufficient to slow bone loss. It is likely the case that pre-oophorectomy, residual estrogen production is protective. However, after oophorectomy, some trans men may have insufficient estrogen to slow bone loss. Pre-clinical research has suggested the importance of low-dose estrogen supplementation for those beginning cross-sex hormone therapy (XHT) during adolescence. Some physicians advocate a Dexa (bone density) scan at the time of oophorectomy and every year or two thereafter to diagnose osteoporosis before it becomes severe enough to be symptomatic. This is important because the treatment of osteoporosis is most effective if done early. Daily calcium supplementation and possibly Vitamin D3 and K2 are probably a good idea for most transgender men, but it is even more important after removal of the ovaries. Obstructive sleep apnea OSA may be worsened or unmasked by androgen therapy. Risk is higher in transgender men who are obese, smoke, or have COPD (Chronic Obstructive Pulmonary Disease). Untreated OSA may have significant adverse effects on the heart, blood pressure, mood, and may cause headaches and worsen seizure disorders. Symptoms of OSA are noisy sleeping (snoring), excessive daytime sleepiness, morning headache, personality changes, and problems with judgment, memory, and attention. Polycythemia Increased red blood cell mass usually from overproduction by the bone marrow. Testosterone (frequently in large doses) was previously used to treat anemia from bone marrow failure. A transgender man's hematocrit (the percentage of whole blood made up of red blood cells) should be judged against normal age-adjusted values for men. Therapy is via phlebotomy (periodic therapeutic blood draws similar to blood donation). Tendency to become polycythemic worsens with age. Worse with injected testosterone (especially with longer intervals between doses) than with oral, transdermal, or Testopel. (Increase in RBCs occurs with the very high peaks from the injection. So decreasing dose and interval to 7–10 days instead of 14 may help.) Severe polycythemia predisposes to both venous and arterial thrombosis (blood clots) such as: deep venous thrombosis, pulmonary embolism, heart attack, and stroke. Aspirin may decrease the risk. Hormone levels During HRT, especially in the early stages of treatment, blood tests should be consistently done to assess hormone levels and liver function. Gianna Israel and colleagues have suggested that for pre-oophorectomy trans men, therapeutic testosterone levels should optimally fall within the normal male range, whereas estrogen levels should optimally fall within the normal female range. Before oophorectomy, it is difficult and frequently impractical to fully suppress estrogen levels into the normal male range, especially with exogenous testosterone aromatizing into estrogen, hence why the female ranges are referenced instead. In post-oophorectomy trans men, Israel and colleagues recommend that both testosterone and estrogen levels fall exactly within the normal male ranges. See the table below for all of the precise values they suggest. The optimal ranges listed for testosterone only apply to individuals taking bioidentical hormones in the form of testosterone (including esters) and do not apply to those taking synthetic AAS (e.g., nandrolone) or dihydrotestosterone. See also Androgen replacement therapy Feminizing hormone therapy References External links Tom Waddell Clinic Transgender Protocol - masculinizing and feminizing clinical protocols aimed at providers Medical Therapy and Health Maintenance for Transgender Men: A Guide For Health Care Providers : a free online medical book. Hudson's FTM Resource Guide: A comprehensive guide to gender transition for persons assigned female at birth Information for the Female to Male Crossdresser and Transsexual (1985): One of the earliest widely distributed guides to transmasculine transition, written by transgender activist Lou Sullivan
Maurice Scollard Baldwin (21 June 1836 – 19 October 1904) was a Canadian Anglican Bishop from Toronto, Upper Canada. Baldwin was the son of John Spread Baldwin of Toronto. His parents were from influential families; he was the grandson of Æneas Shaw and the cousin of Robert Baldwin. He attended Upper Canada College and Trinity College, Toronto. He was ordained a Deacon in 1860 and Priest in 1861. In 1865 he moved to Montreal as Incumbent of St. Luke's Church and in 1870 became assistant Rector of Christ Church Anglican Cathedral in Montreal and a Canon in 1871. On the death of the Very Rev. Dean Bethune in 1871, he was appointed to succeed him as Rector, and in 1879 made Dean of Montreal. Noted for his evangelism and skillful oratory, he was elected the third Bishop of Huron in 1883, succeeding Isaac Hellmuth. He was less passionate about administrative matters than spiritual ones, but delegated such matters effectively. Under his leadership, the diocese adopted parliamentary rules for its synod, balanced its budget, and first broke off, then restored, its association with Western University of London, Ontario. References Canadian Dictionary of Biography online 1836 births 1904 deaths University of Toronto alumni Trinity College (Canada) alumni 20th-century Anglican Church of Canada bishops Deans of Montreal Anglican bishops of Huron Burials at St. James Cemetery, Toronto
```objective-c #pragma once #include <string> namespace slobrok { //your_sha256_hash------------- /** * @class NamedService * @brief Represents a server with a name and a connection specification. * * a NamedService is always part of a collection implementing the * IRpcSrvCollection interface. **/ class NamedService { protected: std::string _name; std::string _spec; public: NamedService(const NamedService &) = delete; NamedService &operator=(const NamedService &) = delete; NamedService(const std::string & name, const std::string & spec); virtual ~NamedService(); const std::string & getName() const { return _name; } const std::string & getSpec() const { return _spec; } }; //your_sha256_hash------------- } // namespace slobrok ```
Tillich is a German (and West Slavic) surname. It may refer to: Ernst Tillich (1910–1985), German theologian Paul Tillich (1886–1965), German-American Protestant theologian Paul Tillich Park, New Harmony, Indiana, USA Stanislaw Tillich (born 1959), Sorbian German politician, Minister-President of Saxony Johannes Tillich (1780–1807), a German teacher inventor of Tillich bricks for maths and science teaching. German-language surnames
```java /* * * * 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. */ package im.ene.toro.sample.nested; import android.os.Bundle; import im.ene.toro.sample.Deck; import im.ene.toro.sample.common.BaseActivity; /** * @author eneim (7/2/17). */ public class NestedListActivity extends BaseActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); if (savedInstanceState == null) { try { Deck.present(this, NestedListFragment.class); } catch (Deck.ToroDemoException e) { e.printStackTrace(); if (e.getCause() != null) e.getCause().printStackTrace(); } } } } ```
```java package com.yahoo.vespa.hosted.provision.autoscale; import com.yahoo.config.provision.Capacity; import com.yahoo.config.provision.ClusterInfo; import com.yahoo.config.provision.ClusterResources; import com.yahoo.config.provision.ClusterSpec; import com.yahoo.config.provision.IntRange; import com.yahoo.config.provision.NodeResources; import com.yahoo.vespa.hosted.provision.applications.BcpGroupInfo; import com.yahoo.vespa.hosted.provision.provisioning.DynamicProvisioningTester; import org.junit.Test; import java.time.Duration; import java.util.Optional; import static org.junit.Assert.assertEquals; /** * Tests autoscaling using information from the BCP group this cluster deployment * is part of to supplement local data when the local deployment lacks sufficient traffic. * * @author bratseth */ public class AutoscalingUsingBcpGroupInfoTest { /** Tests with varying BCP group info parameters. */ @Test public void test_autoscaling_single_content_group() { var fixture = DynamicProvisioningTester.fixture().awsProdSetup(true).build(); fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(new BcpGroupInfo(100, 1.1, 0.3)); fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().assertResources("Scaling up cpu using bcp group cpu info", 8, 1, 3.6, 7.2, 28.8, fixture.autoscale()); // Higher query rate fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(new BcpGroupInfo(200, 1.1, 0.3)); fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().assertResources("Scaling up cpu using bcp group cpu info", 8, 1, 7.1, 7.2, 28.8, fixture.autoscale()); // Higher headroom fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(new BcpGroupInfo(100, 1.3, 0.3)); fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().assertResources("Scaling up cpu using bcp group cpu info", 8, 1, 4.2, 7.2, 28.8, fixture.autoscale()); // Higher per query cost fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(new BcpGroupInfo(100, 1.1, 0.45)); fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().assertResources("Scaling up cpu using bcp group cpu info", 8, 1, 5.4, 7.2, 28.8, fixture.autoscale()); // Bcp elsewhere is 0 - use local only fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(new BcpGroupInfo(0, 1.1, 0.45)); fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().assertResources("Scaling using local info", 8, 1, 1.1, 7.2, 28.8, fixture.autoscale()); } /** Tests with varying BCP group info parameters. */ @Test public void test_autoscaling_multiple_content_groups() { var min = new ClusterResources(3, 3, new NodeResources(1, 4, 10, 1, NodeResources.DiskSpeed.any)); var max = new ClusterResources(21, 3, new NodeResources(100, 1000, 1000, 1, NodeResources.DiskSpeed.any)); var fixture = DynamicProvisioningTester.fixture() .awsProdSetup(true) .initialResources(Optional.of(new ClusterResources(9, 3, new NodeResources(2, 16, 75, 1)))) .capacity(Capacity.from(min, max)) .build(); fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(new BcpGroupInfo(100, 1.1, 0.3)); fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().assertResources("Scaling up cpu using bcp group cpu info", 3, 3, 12.3, 41.8, 189.3, fixture.autoscale()); // Higher query rate fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(new BcpGroupInfo(200, 1.1, 0.3)); fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().assertResources("Scaling up cpu using bcp group cpu info", 3, 3, 24.4, 41.8, 189.3, fixture.autoscale()); // Higher headroom fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(new BcpGroupInfo(100, 1.3, 0.3)); fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().assertResources("Scaling up cpu using bcp group cpu info", 3, 3, 14.5, 41.8, 189.3, fixture.autoscale()); // Higher per query cost fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(new BcpGroupInfo(100, 1.1, 0.45)); fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().assertResources("Scaling up cpu using bcp group cpu info", 3, 3, 18.4, 41.8, 189.3, fixture.autoscale()); } /** * Tests with varying BCP group info parameters for containers. * Differences from content * - No host sharing. * - Memory and disk is independent of cluster size. */ @Test public void test_autoscaling_container() { var fixture = DynamicProvisioningTester.fixture().clusterType(ClusterSpec.Type.container).awsProdSetup(true).build(); fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(new BcpGroupInfo(100, 1.1, 0.3)); fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().assertResources("Scaling up cpu using bcp group cpu info", 8, 1, 4.0, 16.0, 40.8, fixture.autoscale()); // Higher query rate (mem and disk changes are due to being assigned larger hosts where we get less overhead share fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(new BcpGroupInfo(200, 1.1, 0.3)); fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().assertResources("Scaling up cpu using bcp group cpu info", 8, 1, 8.0, 16.0, 40.8, fixture.autoscale()); // Higher headroom fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(new BcpGroupInfo(100, 1.3, 0.3)); fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().assertResources("Scaling up cpu using bcp group cpu info", 5, 1, 8.0, 16.0, 40.8, fixture.autoscale()); // Higher per query cost fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(new BcpGroupInfo(100, 1.1, 0.45)); fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().assertResources("Scaling up cpu using bcp group cpu info", 6, 1, 8.0, 16.0, 40.8, fixture.autoscale()); } @Test public void test_autoscaling_with_bcp_deadline() { var capacity = Capacity.from(new ClusterResources(2, 1, new NodeResources(1, 4, 10, 1, NodeResources.DiskSpeed.any)), new ClusterResources(20, 1, new NodeResources(100, 1000, 1000, 1, NodeResources.DiskSpeed.any)), IntRange.empty(), false, true, Optional.empty(), new ClusterInfo.Builder().bcpDeadline(Duration.ofMinutes(60)).build()); var fixture = DynamicProvisioningTester.fixture() .capacity(capacity) .clusterType(ClusterSpec.Type.container).awsProdSetup(true).build(); // We can rescale within deadline - do not take BCP info into account fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(new BcpGroupInfo(100, 1.1, 0.45)); fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().assertResources("No need for traffic shift headroom", 3, 1, 4.0, 16.0, 40.8, fixture.autoscale()); } @Test public void test_autoscaling_single_content_group_with_some_local_traffic() { var fixture = DynamicProvisioningTester.fixture().awsProdSetup(true).build(); // Baseline: No local traffic, group traffic indicates much higher cpu usage than local fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(new BcpGroupInfo(200, 1.3, 0.45)); fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().assertResources("Scaling up cpu using bcp group cpu info", 8, 1, 12.6, 7.2, 28.8, fixture.autoscale()); // Some local traffic fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(new BcpGroupInfo(200, 1.3, 0.45)); Duration duration1 = fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().clock().advance(duration1.negated()); fixture.loader().addQueryRateMeasurements(10, __ -> 10.0); fixture.tester().assertResources("Scaling up cpu using bcp group cpu info", 8, 1, 7.3, 7.2, 28.8, fixture.autoscale()); // Enough local traffic to get half the votes fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(new BcpGroupInfo(200, 1.3, 0.45)); Duration duration2 = fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().clock().advance(duration2.negated()); fixture.loader().addQueryRateMeasurements(10, __ -> 50.0); fixture.tester().assertResources("Scaling up cpu using bcp group cpu info", 8, 1, 3.2, 7.2, 28.8, fixture.autoscale()); // Mostly local fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(new BcpGroupInfo(200, 1.3, 0.45)); Duration duration3 = fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().clock().advance(duration3.negated()); fixture.loader().addQueryRateMeasurements(10, __ -> 90.0); fixture.tester().assertResources("Scaling up cpu using bcp group cpu info", 8, 1, 2.3, 7.2, 28.8, fixture.autoscale()); // Local only fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(new BcpGroupInfo(200, 1.3, 0.45)); Duration duration4 = fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().clock().advance(duration4.negated()); fixture.loader().addQueryRateMeasurements(10, __ -> 100.0); fixture.tester().assertResources("Scaling up cpu using bcp group cpu info", 8, 1, 2.2, 7.2, 28.8, fixture.autoscale()); // No group info, should be the same as the above fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(BcpGroupInfo.empty()); Duration duration5 = fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().clock().advance(duration5.negated()); fixture.loader().addQueryRateMeasurements(10, __ -> 100.0); fixture.tester().assertResources("Scaling up cpu using bcp group cpu info", 8, 1, 2.2, 7.2, 28.8, fixture.autoscale()); // 40 query rate, no group info (for reference to the below) fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(BcpGroupInfo.empty()); Duration duration6 = fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().clock().advance(duration6.negated()); fixture.loader().addQueryRateMeasurements(10, __ -> 40.0); fixture.tester().assertResources("Scaling up cpu using bcp group cpu info", 8, 1, 1.6, 7.2, 28.8, fixture.autoscale()); // Local query rate is too low but global is even lower so disregard it, giving the same as above fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(new BcpGroupInfo(200 / 40.0, 1.3, 0.45 * 40.0)); Duration duration7 = fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().clock().advance(duration7.negated()); fixture.loader().addQueryRateMeasurements(10, __ -> 40.0); fixture.tester().assertResources("Scaling up cpu using bcp group cpu info", 8, 1, 1.6, 7.2, 28.8, fixture.autoscale()); // Local query rate is too low to be fully confident, and so is global but as it is slightly larger, incorporate it slightly fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(new BcpGroupInfo(200 / 4.0, 1.3, 0.45 * 4.0)); Duration duration8 = fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().clock().advance(duration8.negated()); fixture.loader().addQueryRateMeasurements(10, __ -> 40.0); fixture.tester().assertResources("Scaling up cpu using bcp group cpu info", 8, 1, 1.9, 7.2, 28.8, fixture.autoscale()); } @Test public void test_autoscaling_containers_with_some_local_traffic() { var fixture = DynamicProvisioningTester.fixture().clusterType(ClusterSpec.Type.container).awsProdSetup(true).build(); // Some local traffic fixture.tester().clock().advance(Duration.ofDays(2)); fixture.store(new BcpGroupInfo(200, 1.9, 0.01)); Duration duration1 = fixture.loader().addCpuMeasurements(0.58f, 10); fixture.tester().clock().advance(duration1.negated()); fixture.loader().addQueryRateMeasurements(10, __ -> 10.0); fixture.tester().assertResources("Not scaling down due to group info, even though it contains much evidence queries are cheap", 3, 1, 4.0, 16.0, 40.8, fixture.autoscale()); } /** Tests with varying BCP group info parameters. */ @Test public void test_autoscaling_metrics() { var fixture = DynamicProvisioningTester.fixture().awsProdSetup(true).build(); // Empty has metrics at zero assertEquals(new Autoscaling.Metrics(0, 0, 0), fixture.autoscale().metrics()); // No external load mesurements -> 0 fixture.tester().clock().advance(Duration.ofDays(2)); fixture.loader().addCpuMeasurements(0.7f, 10); assertEquals(new Autoscaling.Metrics(0, 1.0, 0), fixture.autoscale().metrics()); // External load is measured to zero -> 0 fixture.tester().clock().advance(Duration.ofDays(2)); var duration = fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().clock().advance(duration.negated()); fixture.loader().addQueryRateMeasurements(10, i -> 0.0); assertEquals(new Autoscaling.Metrics(0, 1.0, 0), fixture.autoscale().metrics()); // External load fixture.tester().clock().advance(Duration.ofDays(2)); duration = fixture.loader().addCpuMeasurements(0.7f, 10); fixture.tester().clock().advance(duration.negated()); fixture.loader().addQueryRateMeasurements(10, i -> 110.0); assertEquals(new Autoscaling.Metrics(110, 1.0, 0.05), round(fixture.autoscale().metrics())); } private Autoscaling.Metrics round(Autoscaling.Metrics metrics) { return new Autoscaling.Metrics(Math.round(metrics.queryRate() * 100) / 100.0, Math.round(metrics.growthRateHeadroom() * 100) / 100.0, Math.round(metrics.cpuCostPerQuery() * 100) / 100.0); } } ```
Agnita (; ; Transylvanian Saxon: Ongenîtlen; ) is a town on the Hârtibaciu river in Sibiu County, Transylvania, central Romania. It is considered the locality in the center of the country. The town administers two villages, namely Coveș (; ) and Ruja (; ). Demographics The population was 8,300 at the 2011 census, of which 94.2% were Romanians, 2.9% Hungarians, 1.5% Roma, and 1% Germans (more specifically Transylvanian Saxons). History The first document mentioning it is a land sale contract signed in 1280 by one Henric from Sancta Agatha. In 1376, Louis I of Hungary granted to the village the right to hold a market. In 1466, Matthias Corvinus granted to the village the right to carry trials (jus gladi) and built a fortress to defend the Kingdom of Hungary from the Ottoman Empire. Agnita, mentioned for the first time in a document from 1280, is a town with traditional crafts, famous for the old guilds of tanners, shoemakers, tailors, coopers and potters, with semi-rural economy. Here is one of the oldest peasant fortification in Transylvania. Initiated in the thirteenth century, it was amplified successively came to be in the seventeenth century, three fortified enclosure with towers. The city center is a church-hall with three ships (naves with stands) and turn west (XV around the year 1409). In turn strengthened the church has undergone many transformations. The four towers of the fortified church - the shoemakers, tailors, blacksmiths and coopers - demonstrates the economic strength of these guilds, and were assigned to the defense that those portions of the wall in case of armed conflict. City Museum has a substantial collection of medieval art (Gothic chests, architecture, sculpture, ceramics, etc.). King of Hungary, Louis of Anjou, conferred Agnita (or villa Zenthagata) since 1376, the right to hold an annual fair on 24 June (day of St. John). Subsequently, this right was extended to two other fairs. In 1466, a Hungarian king granted the town Agnita right "ius Gladiator", i.e., the right to decide and execute the death sentence. In the same year, the village was allowed to keep half of the contingent settlement of royal troops to defend their own city to the church from falling into foreign hands, since it was near the frontier into Wallachia. Until 1950, when the city was declared, there was a common Agnita fair (Marktgemeinde). The railway was built in 1898 from Sighișoara to the terminus at Agnita railway station and further extended to Sibiu in 1910 with a station at Coveș. However, by 1965 the route was curtailed at Agnita with the closure of the line north including the section through the town. As a result, a new station was built in the west; however, in 2001 this too was closed. The line is a historic monument and there is an active movement to restore the entire line. Administration and local politics Town council The town's current local council has the following political composition, according to the results of the 2020 Romanian local elections: Gallery Natives Ioan Gyuri Pascu, intellectual, teacher, radio presenter, comedian, actor, musician multi-instrumentalist, and producer Bernd Fabritius, politician References External links The fortified church of Agnita, Fortified Churches Foundation agnetheln.ro primaria-agnita.ro Towns in Romania Populated places in Sibiu County Localities in Transylvania
"Les Valses de Vienne" is a 1989 song originally recorded by the French artist François Feldman for his 1989 album, Une Présence and was the second singles release from that album in November of the same year. It achieved great success in France, topping the chart for six nonconsecutive weeks, and remains Feldman's signature song and a classic of 1980s French music. It was also included on the singer's three best of compilations: Two Feldman (1996), Best Feldman (1998) and Gold (2008); it was also performed during Feldman's 1991 tour and was thus included on the live album Feldman à Bercy (1992). Lyrics, music and video The lyrics were written and the music composed by Feldman himself and the songwriter Jean-Marie Moreau. According to the expert of French chart Elia Habib, the song is a "romantic ballad, whose identity remains a salve savour in the subject as well as in the musical coloration". The song is based on a pun and all the text is declined as well, juggling with the likeness and the consonance of terms between them (e.g. "dans la Rome antique, errent les romantiques"). The part played by the violins was written by Thierry Durbet. The music video features Feldman with a young girl who portrayed his daughter and who tries to comfort her father because he is separated from her mother. The cover on the CD maxi and vinyls is a screenshot from the video. Chart performance In France, "Les Valses de Vienne" started at number 38 on the chart edition of 23 November 1989, climbed regularly and entered the top ten three weeks later. It was blocked for three weeks at number two by Roch Voisine's hit "Hélène", then reached number one for four weeks, then was dislodged by "Hélène" for two weeks, and eventually returned atop for additional two weeks. Then it almost did not stop to drop and fell off the top 50 after 23 weeks, and achieved Gold status awarded by the Syndicat National de l'Édition Phonographique. In 2003, the French TV program Top 50: 50 numéros 1 de légende revealed that the song was the 26th best received number-one hit of the SNEP Singles Chart thanks to the votings of the TV viewers. Track listings 7" single "Les Valses de Vienne" — 3:56 "Les Valses de Vienne" (instrumental) — 4:02 7" maxi "Les Valses de Vienne" (extended version) — 5:08 "Les Valses de Vienne" — 4:02 CD maxi "Les Valses de Vienne" (single version) — 3:56 "Longue nuit" — 4:39 "Pour faire tourner le monde" — 3:50 "Les Valses de Vienne" (instrumental) — 4:02 Credits Produced by Jean Fredenucci for Big Bang Mixed by Dominique Blanc-Francard Editions: Marilu Music / Carole Line, 1989 Phonogram Photos: Claude Gassian / Thierry Bouêt Design: Antonietti / Pascault & Ass. Charts Weekly charts Year-end charts Certifications See also List of number-one singles of 1990 (France) References 1989 singles François Feldman songs SNEP Top Singles number-one singles Pop ballads 1989 songs Phonogram Records singles
```objective-c /* * */ #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_USB_USB_H_ #define ZEPHYR_INCLUDE_DT_BINDINGS_USB_USB_H_ /* Ideally we'd generate this enum to match what's coming out of the YAML, * however, we dont have a good way to know how to name such an enum from * the generation point of view, so for now we just hand code the enum. This * enum is expected to match the order in the yaml (dts/bindings/usb/usb.yaml) */ enum dt_usb_maximum_speed { DT_USB_MAXIMUM_SPEED_LOW_SPEED, DT_USB_MAXIMUM_SPEED_FULL_SPEED, DT_USB_MAXIMUM_SPEED_HIGH_SPEED, DT_USB_MAXIMUM_SPEED_SUPER_SPEED, }; #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_USB_USB_H_ */ ```
Ibrahim Zarman (born 24 March 1997) is an Indonesian taekwondo practitioner. He won the gold medal in the men's –63 kg event at the 2017 Southeast Asian Games held in Kuala Lumpur, Malaysia. In 2018, he competed in the men's 63 kg event at the Asian Games in Jakarta, Indonesia without winning a medal. He was eliminated from the competition in his second match by Cho Gang-min of South Korea. In 2016, he won one of the bronze medals in the men's −58 kg event at the Asian Taekwondo Championships in Pasay, Philippines. He competed in the men's bantamweight event at the 2019 World Taekwondo Championships in Manchester, United Kingdom where he was eliminated in his third match by Soroush Ahmadi of Iran. Ahmadi went on to win the silver medal. A few months later, he represented Indonesia at the 2019 Military World Games held in Wuhan, China and he won Indonesia's only medal at the event: one of the bronze medals in the –63 kg event. References External links Living people 1997 births Place of birth missing (living people) Indonesian male taekwondo practitioners Asian Taekwondo Championships medalists SEA Games gold medalists for Indonesia SEA Games medalists in taekwondo Competitors at the 2017 SEA Games Asian Games competitors for Indonesia Taekwondo practitioners at the 2018 Asian Games 21st-century Indonesian people
Portuguese architecture refers to both the architecture of Portugal's modern-day territory in Continental Portugal, the Azores and Madeira, as well as the architectural heritage/patrimony of Portuguese architects and styles throughout the world, particularly in countries formerly part of the Portuguese Empire. Like all aspects of Portuguese culture, Portuguese architecture reflects the artistic influences of the various cultures that have either inhabited Portugal or come in contact with the Portuguese people throughout the history of Portugal, including the Gallaecians, Lusitanians, Celtiberians, Romans, Suebi, Visigoths, Moors, Goans, Macanese, Kristang people, and many more. Because of the history of the Portuguese Empire, several countries across the world are home to sizable heritages of Portuguese colonial architecture, notably Brazil and Uruguay in the Americas, Angola, Cabo Verde, São Tomé and Príncipe, Benin, Ghana, Morocco, Guinea Bissau, Zimbabwe, and Mozambique in Africa, and China, India, Indonesia, Malaysia, and Timor Leste in Asia. Various artistic styles or movements have dominated Portuguese architecture throughout the ages, including Romanesque, Gothic, Manueline, Portuguese Renaissance, Portuguese Baroque, Rococo, Pombaline, Neo-Manueline, Soft Portuguese style, and contemporary architecture. Notable Portuguese architects of the past have included Diogo de Arruda (15–16th c.), João Antunes (17th c.), Eugénio dos Santos and Carlos Mardel (18th c.), José Luis Monteiro (19th c.), Raul Lino, Cassiano Branco and Fernando Távora (20th c.). Famous living architects include Gonçalo Byrne, Eduardo Souto de Moura (Pritzker winner), António Maria Braga, João Carrilho da Graça and Álvaro Siza Vieira (Priktzer winner). History Megalithic period The earliest examples of architectural activity in Portugal date from the Neolithic and consist of structures associated with Megalith culture. The Portuguese hinterland is dotted with a large number of dolmens (called antas or dólmens), tumuli () and menhirs. The Alentejo region is particularly rich in megalithic monuments, like the notable Anta Grande do Zambujeiro, located near Évora. Standing stones can be found isolated or forming circular arrays (stone circles or cromlechs). The Almendres Cromlech, also located near Évora, is the largest of the Iberian Peninsula, containing nearly 100 menhirs arranged in two elliptical arrays on an east–west orientation. Celtic period Celtic pre-historic fortified villages dating from the Chalcolithic are found along the Tagus river like that of Vila Nova de São Pedro, near Cartaxo, and the Castro of Zambujal, near Torres Vedras. These sites were occupied in the period around 2500–1700 BC and were surrounded by stone walls and towers, a sign of the conflicts of the time. Starting around the 6th century BC, Northern Portugal, as well as neighbouring Galicia, saw the development of the Celtic Castro culture (cultura castreja). This region was dotted with hillfort villages (called or ) that for the most part continued to exist under Roman domination, when the area became incorporated into the province of Gallaecia. Notable archaeological castro sites are the Citânia de Sanfins, near Paços de Ferreira, Citânia de Briteiros, near Guimarães, and the Cividade de Terroso, near Póvoa do Varzim. For defensive reasons, these hillforts were built over elevated terrain and were surrounded by rings of stone walls (Terroso had three wall rings). The houses inside the castros are about 3.5 to 5 meters long, mostly circular with some rectangular, stone-made and with thatch roofs which rested on a wood column in the centre of the building. Their streets are somewhat regular, suggesting some form of central organization. Baths were built in some of them, like in Briteiros and Sanfins. Roman period Architecture developed significantly in the 2nd century BC with the arrival of the Romans, who called the Iberian Peninsula Hispania. Conquered settlements and villages were often modernised following Roman models, with the building of a forum, streets, theatres, temples, baths, aqueducts and other public buildings. An efficient array of roads and bridges was built to link the cities and other settlements. Braga (Bracara Augusta) was the capital of the Gallaecia province and still has vestiges of public baths, a public fountain (called Idol's Fountain) and a theatre. Évora boasts a well-preserved Roman temple, probably dedicated to the cult of Emperor Augustus. A Roman bridge crosses the Tâmega River by the city of Chaves (Aquae Flaviae). Lisbon (Olissipo) has the remains of a theatre in the Alfama neighbourhood. The best-preserved remains of a Roman village are those of Conimbriga, located near Coimbra. The excavations revealed city walls, baths, the forum, an aqueduct, an amphitheatre, and houses for the middle classes (insulae), as well as luxurious mansions (domus) with central courtyards decorated with mosaics. Another important excavated Roman village is Miróbriga, near Santiago do Cacém, with a well preserved Roman temple, baths, a bridge and the vestiges of the only Roman hippodrome known in Portugal. In the hinterland, wealthy Romans established villae, country houses dedicated to agriculture. Many villae contained facilities likes baths and were decorated with mosaics and paintings. Important sites are the Villae of Pisões (near Beja), Torre de Palma (near Monforte) and Centum Cellas (near Belmonte). The latter has the well-preserved ruins of a three-storey tower which was part of the residence of the villa owner. Pre-Romanesque and Visigoth period Roman domination in Hispania was ended with the invasions by Germanic peoples (especially Sueves and Visigoths) starting in the 5th century AD. Very few buildings survive from the period of Visigoth domination (c.580–770), most of them modified in subsequent centuries. One of these is the small Saint Frutuoso Chapel, near Braga, which was part of a Visigothic monastery built in the 7th century. The building has a Greek cross floorplan with rectangular arms and a central cupola; both the cupola and the arms of the chapel are decorated with arch reliefs. The chapel shows clear influences of Byzantine buildings like the Mausoleum of Galla Placidia in Ravenna. After 711, in the period of dominance of the Iberian Peninsula by the Moors, the Christian Kingdom of Asturias (c.711–910), located in the Northern part of the peninsula, was a centre of resistance (see Reconquista). In addition, many Christians (Mozarabs) lived in Moorish territories and were allowed to practice their religion and build churches. Asturian architecture and Mozarabic art influenced Christian buildings in the future Portuguese territory, as seen on the few structures that survived from this period. The most important of these is the Church of São Pedro de Lourosa, located near Oliveira do Hospital, which bears an inscription that gives 912 as the year of its construction. The church is a basilica with three aisles separated by horseshoe arches, a narthex on the façade and mullioned, horseshoe-shaped windows of Asturian influence on the central aisle. Other pre-Romanesque churches broadly attributed to a mixture of Asturian and Mozarabic features are São Pedro de Balsemão, near Lamego, with a basilica floorplan, and the Chapel of São Gião, near Nazaré, all of which are disputed by some authors as buildings of Visigoth origin, having had additional features incorporated at a later stage. The inner spaces of these buildings are all divided by typical horseshoe arches. The Visigothic Saint Frutuoso Chapel was also modified in the 10th century, when the arm chapels were given a round floorplan and horseshoe arches. Moorish period The invasion of the Iberian Peninsula in the year 711 by Moors from the Maghreb put an end to Visigoth rule in Hispania, called Al-Andalus by the newcomers. Moorish presence influenced art and architecture, especially in Southern Portugal, where the Reconquista was completed in 1249. Buildings during that period were often constructed with rammed earth (taipa) and adobe techniques, followed by whitewashing. Traditional houses in cities and villages in Portugal may have simple, white façades evoking Islamic influence. Some Southern neighbourhoods like the old Alfama district in Lisbon, have retained the street layouts from Muslim times. Contrasting with neighbouring Spain however, very few Islamic buildings in Portugal have survived intact to this day. Castles Although many originated during the Islamic period, most Portuguese castles were extensively remodelled after the Christian reconquest. The best-preserved is Silves Castle, located in Silves, the ancient capital of the Al-Garb, today's Algarve. Built between the 8th and 13th centuries, Silves Castle has preserved its walls and square-shaped towers from the Moorish period, as well as 11th-century cisterns – water reservoirs used in case of a siege. The old centre of the city – the Almedina – was defended by a wall and several fortified towers and gates, parts of which were preserved. Another notable Islamic castle in the Algarve is Paderne Castle, whose ruined walls evidence the taipa building technique used in its construction. The Sintra Moorish Castle near Lisbon, has also kept some remains of walls and a cistern from that time. Part of the Moorish city walls have been preserved in Lisbon (the so-called Cerca Velha) and Évora, and Moorish city gates with a characteristic horseshoe-arched profile can be found in Faro and Elvas. Mosques Many mosques were built in Portuguese territory during Muslim domination, but virtually all were either destroyed or altered and turned into churches and cathedrals. The cathedrals of Lisbon, Silves and Faro may have been built on the ruins of previous mosques after the Reconquista took hold. The only clear example of a former mosque in Portugal is present-day Mértola's Main Church, initially Mértola Mosque built in the 12th century. Once the village was reconquered, the mosque was partially altered and converted into a church. Its interior has a nearly square-shaped floorplan with 4 aisles, and a total of 12 columns supporting a subsequent 16th-century Manueline rib vaulting, modifications to the roof, and removal of aisles added Christian architectural features to the structure. Despite the changes, the original labyrinthic interior with its "forest" of pillars, three horseshoe arches with an alfiz the inner wall with a decorated niche, a mihrab pointing to Mecca, all show the same contemporary Islamic features found in Spain and the Mahgreb. Portuguese Romanesque style The Romanesque style was introduced in Portugal between the end of the 11th and the beginning of the 12th century. The most influential of the first Portuguese Romanesque monuments were Braga Cathedral and the Monastery of Rates. The Cathedral of Braga was rebuilt in the 1070s by bishop Pedro and consecrated in 1089, although only the apse was finished at the time. The bishop's ambitious plan was to create a pilgrimage church, with a three aisled nave, an ambulatory and a large transept. A relic of this early project may be a small Eastern chapel located nowadays outside the church itself. Building activity gained pace after 1095, when Count Henry took possession of the Condado Portucalense. Count Henry came to Portugal with a number of noblemen and also Benedictine monks of Cluny Abbey, which was headed by Henry's brother, Hugh. The Benedictines and other religious orders gave great impulse to Romanesque architecture during the whole 12th century. Count Henry sponsored the building of the Monastery of Rates (begun in 1096), one of the fundamental works of the first Portuguese Romanesque, although the project was modified several times during the 12th century. The relevance of its architecture and sculptures with diverse architectural influences make this temple a case study that is reflected in the production of further Romanesque art of the nascent kingdom of Portugal. The worships of Braga and Rates were very influential in Northern Portugal. Extant 12th-century Romanesque monastic churches are found in Manhente (near Barcelos), with a portal dating from around 1117; Rio Mau (near Vila do Conde); with an exceptional apse dating from 1151; Travanca (near Amarante); Paço de Sousa (near Penafiel); Bravães (near Ponte da Barca), Pombeiro (near Felgueiras) and many others. The spread of Romanesque in Portugal followed the north–south path of the Reconquista, specially during the reign of Afonso Henriques, Count Henry's son and first King of Portugal. In Coimbra, Afonso Henriques created the Santa Cruz Monastery, one of the most important of the monastic foundations of the time, although the current building is the result of a 16th-century remodelling. Afonso Henriques and his successors also sponsored the building of many cathedrals in the bishop seats of the country. This generation of Romanesque cathedrals included the already-mentioned Braga, Oporto, Coimbra, Viseu, Lamego and Lisbon. All Portuguese Romanesque cathedrals were later extensively modified with the exception of the Cathedral of Coimbra (begun 1162), which has remained unaltered. Coimbra Cathedral is a Latin cross church with a three-aisled nave, a transept with short arms and three East chapels. The central aisle is covered by a stone barrel vaulting while the lateral aisles are covered by groin vaults. The second storey of the central aisle has an arched gallery (triforium), and the crossing is topped by a dome. This general scheme is related to that of the Cathedral of Santiago de Compostela in Galicia, although the Coimbra building is much less ambitious. Lisbon Cathedral (begun c.1147) is very similar to Coimbra Cathedral, except that the West façade is flanked by two massive towers, a feature observed in other cathedrals like Oporto and Viseu. In general, Portuguese cathedrals had a heavy, fortress-like appearance, with crenellations and little decoration apart from portals and windows. A remarkable religious Romanesque building is the Round Church (Rotunda) in the Castle of Tomar, which was built in the second half of the 12th century by the Templar Knights. The church is a round structure with a central arched octagon, and was probably modelled after the Dome of the Rock in Jerusalem, which was mistakenly believed by the crusaders to be a remnant of the Temple of Solomon. The Church of the Holy Sepulchre of Jerusalem may also have served as model. Castles The troubled times of the Portuguese Reconquista meant that many castles had to be built to protect villages from Moor and Castilian attacks. King Afonso Henriques sponsored the building of many fortifications (often transforming Moorish castles such as Lisbon Castle) and granted land to Military Orders – specially the Templar Knights and the Knights Hospitallers – who became responsible for the defence of borders and villages. The Templar Knights built several fortresses along the line of the Tagus river, like the castles of Pombal, Tomar and Belver and Almourol. They are credited as having introduced the keep to Portuguese military architecture. Gothic period Gothic architecture was brought to Portugal by the Cistercian Order. The first fully Gothic building in Portugal is the church of the Monastery of Alcobaça, a magnificent example of the clear and simple architectural forms favoured by the Cistercians. The church was built between 1178 and 1252 in three phases, and seems inspired by the Abbey of Clairvaux, in the Champagne. Its three aisles are very tall and slender, giving an exceptional impression of height. The whole church is covered by rib vaulting and the main chapel has an ambulatory and a series of radiant chapels. The vault of the ambulatory is externally supported by flying buttresses, typical features of Gothic architecture and a novelty at the time in Portugal. After the foundation of Alcobaça, the Gothic style was chiefly disseminated by mendicant orders (mainly Franciscan, Augustinians and Dominicans). Along the 13th and 14th centuries, several convents were founded in urban centres, important examples of which can be found in Oporto (São Francisco Church), Coimbra (Monastery of Santa Clara-a-Velha), Guimarães (São Francisco, São Domingos), Santarém (São Francisco, Santa Clara), Elvas (São Domingos), Lisbon (ruins of Carmo Convent) and many other places. Mendicant Gothic churches usually had a three-aisled nave covered with wooden roof and an apse with three chapels covered with rib vaulting. These churches also lacked towers and were mostly devoid of architectural decoration, in tone with mendicant ideals. Mendicant Gothic was also adopted in several parish churches built all over the country, for instance in Sintra (Santa Maria), Mafra, Lourinhã and Loulé. Many of the Romanesque cathedrals were modernised with Gothic elements. Thus, the Romanesque nave of Oporto Cathedral is supported by flying buttresses, one of the first built in Portugal (early 13th century). The apse of Lisbon Cathedral was totally remodelled in the first half of the 14th century, when it gained a Gothic ambulatory illuminated by a clerestory (high row of windows on the upper storey). The ambulatory has a series of radiant chapels illuminated with large windows, contrasting with the dark Romanesque nave of the cathedral. An important transitional building is Évora Cathedral, built during the 13th century; even though its floorplan, façade and elevation are inspired by Lisbon Cathedral, its forms (arches, windows, vaults) are already Gothic. Many Gothic churches maintained the fortress-like appearance of Romanesque times, like the already-mentioned Évora Cathedral, the Church of the Monastery of Leça do Balio (14th century) near Matosinhos, and even as late as the 15th-century, with the Main Church of Viana do Castelo. Several Gothic cloisters were built and can still be found in the Cathedrals of Oporto, Lisbon and Évora (all from the 14th century) as well as in monasteries like Alcobaça, Santo Tirso and the Convent of the Order of Christ. In the early 15th century, the building of the Monastery of Batalha, sponsored by King John I, led to a renovation of Portuguese Gothic. After 1402, the works were trusted to Master Huguet, of unknown origin, who introduced the Flamboyant Gothic style to the project. The whole building is decorated with Gothic pinnacles (crockets), reliefs, large windows with intrincate tracery and elaborate crenellations. The main portal has a series of archivolts decorated with a multitude of statues, while the tympanum has a relief showing Christ and the Evangelists. The Founder's Chapel and the Chapter House have elaborate star-ribbed vaulting, unknown in Portugal until then. Batalha influenced 15th-century workshops like those of Guarda Cathedral, Silves Cathedral and monasteries in Beja (Nossa Senhora da Conceição) and Santarém (Convento da Graça). Another Gothic variant was the so-called Mudéjar-Gothic, a fashion which developed in Portugal towards the end of the 15th century, particularly in the southern region of Alentejo. The name Mudéjar refers to the influence of Islamic art in the Christian kingdoms of the Iberian Peninsula, specially in the Middle Ages. In the Alentejo, Mudéjar influence in several buildings is evident in the profile of windows and portals, often with horseshoe arches and a mullion, circular turrets with conical pinnacles, Islamic merlons etc., as well as tile (azulejo) decoration. Examples include the portico of St Francis Church of Évora, the courtyard of the Sintra Royal Palace and several churches and palaces in Évora, Elvas, Arraiolos, Beja, etc. Múdejar eventually gave in to the Manueline style in the early 16th century. Castles & palaces During the Gothic era, several castles had to be either built or reinforced, especially along the border with the Kingdom of Castille. Compared to previous castles, Gothic castles in Portugal tended to have more towers, often of circular or semi-circular plan (to increase resistance to projectiles), keep towers tended to be polygonal, and castle gates were often defended by a pair of flanking towers. A second, lower wall curtain (barbicans) were often built along the perimeter of the main walls to prevent war machines from approaching the castle. Features like machicolations and improved arrowslits became also widespread. Starting in the 14th century, keep towers became larger and more sophisticated, with rib vaulting roofs and facilities like fireplaces. Keep towers with improved residential characteristics can be found in the castles of Beja, Estremoz and Bragança, while some later castles (15th century) became real palaces, like those in Penedono, Ourém and Porto de Mós. The most significant case is the Castle of Leiria, turned into a royal palace by King John I. Some rooms of the palace are decorated with splendid Gothic loggias, from which the surrounding landscape could be appreciated by the King and Queen. Manueline style The Manueline style, or Portuguese late Gothic, is the flamboyant, composite Portuguese style of architectural ornamentation of the first decades of the 16th century, incorporating maritime elements and representations of the discoveries brought from the voyages of Vasco da Gama and Pedro Álvares Cabral. This innovative style synthesizes aspects of Late Gothic architecture with influences of the Spanish Plateresque style, Mudéjar, Italian urban architecture, and Flemish elements. It marks the transition from Late Gothic to Renaissance architecture. The construction of churches and monasteries in Manueline, especially in Lioz, or royal stone, was largely financed by proceeds of the lucrative spice trade with Africa and India. Although the period of this style did not last long (from 1490 to 1520), it played an important part in the development of Portuguese art. The influence of the style outlived the king. Celebrating the newly maritime power, it manifested itself in architecture (churches, monasteries, palaces, castles) and extended into other arts such as sculpture, painting, works of art made of precious metals, faience and furniture. The first known building in Manueline style is the Monastery of Jesus of Setúbal. The church of the monastery was built from 1490 to 1510 by Diogo Boitac, an architect considered one of the main creators of the style. The nave of the church has three aisles of equal height, revealing an attempt to unify inner space which reaches its climax in the nave of the church of the Jerónimos Monastery in Lisbon, finished in the 1520s by architect João de Castilho. The nave of the Setúbal Monastery is supported by spiralling columns, a typical Manueline feature that is also found in the nave of Guarda Cathedral and the parish churches of Olivenza, Freixo de Espada à Cinta, Montemor-o-Velho and others. Manueline buildings also usually carry elaborate portals with spiralling columns, niches and loaded with Renaissance and Gothic decorative motifs, like in Jerónimos Monastery, Santa Cruz Monastery of Coimbra and many others. Portuguese Renaissance The adoption of the austere Renaissance style did not catch on well in Portugal. Introduced by a French architect in 1517, it was mainly practiced from the 1530s on by foreign architects and was therefore called estrangeirada (foreign-influenced). In later years this style slowly evolved into Mannerism. The painter and architect Francisco de Holanda, writer of the book Diálogos da Pintura Antiga ("Dialogues on Ancient Painting"), disseminated in this treatise the fundamentals of this new style. The basilica of Nossa Senhora da Conceição in Tomar was one of the earliest churches in pure Renaissance style. It was begun by the Castilian architect Diogo de Torralva in the period 1532–1540. Its beautiful and clear architecture turns it into one of the best early Renaissance buildings in Portugal. The small church of Bom Jesus de Valverde, south of Évora, attributed to both Manuel Pires and Diogo de Torralva, is another early example. The most eminent example of this style is the Claustro de D. João III (Cloister of John III) in the Convent of the Order of Christ in Tomar. Started under the Portuguese King João III, it was finished during the reign of Philip I of Portugal (also King of Spain under the name of Philip II). The first architect was the Spaniard Diogo de Torralva, who began the work in 1557, only to be finished in 1591 by Philip II's architect, the Italian Filippo Terzi. This magnificent, two-storey cloister is considered one of the most important examples of Mannerist architecture in Portugal. However, the best known Portuguese architect in this period was Afonso Álvares, whose works include the cathedrals of Leiria (1551–1574), Portalegre (begun 1556), and the Church of São Roque in Lisbon. During this period he evolved into the Mannerist style. This last church was completed by the Jesuit architect, the Italian Filippo Terzi, who also built the Jesuit college at Évora, the Monastery of São Vicente de Fora in Lisbon and the episcopal palace in Coimbra. He had an enormous production and, besides churches, he also built several aqueducts and fortresses. In his wake came several Portuguese architects: Miguel de Arruda: Church of Our Lady of Grace (in Évora) Baltasar Álvares, best known for the Sé Nova in Coimbra and the Igreja de São Lourenço in Porto. Francisco Velasquez: Cathedral of Mirando do Douro and the designs for the monastery of S. Salvador (Grijó) the military architect Manuel Pires: St. Anton's church in Évora. Mannerism During the union of Portugal and Spain, the period between 1580 and 1640, a new style developed called "Arquitecture chã" (plain architecture) by George Kubler. Basically mannerist, this style also marked by a clear structure, a sturdy appearance with smooth, flat surfaces and a moderate arrangement of space, lacking excessive decorations. It is a radical break with the decorative Manueline style. This simplified style, caused by limited financial resources, expresses itself in the construction of hall churches and less impressive buildings. In resistance to the Baroque style that was already the standard in Spain, the Portuguese continued to apply the plain style to express their separate identity as a people. When king Filipe II made his Joyous Entry in Lisbon in 1619, several temporary triumphal arches were erected in the Flemish style of Hans Vredeman de Vries. The tract literature of Wendel Dietterlin also increased the interest in Flemish Baroque architecture and art. This influence can be seen in the façade of the S Lourenço or Grilos church in Porto, begun in 1622 by Baltasar Alvares. One of the most spectacular undertaking was however the building in Rome of the St John the Baptist chapel with the single purpose of obtaining the blessing of the pope Benedict XIV for this chapel. The chapel was designed by Luigi Vanvitelli in 1742 and built by Nicola Salvi in the church S. Antonio dei Portoghesi. After the benediction, the chapel was disassembled and transported to Lisbon. It was assembled again in 1747 in the S Roque church. It is opulently decorated with porphyry, the rarest marbles and precious stones. Its design already foreshadows the classical revival. José Fernandes Pereira identified the first period from 1651 to 1690 as a period of experimentation. This period saw the rise of the combination of azulejos and the use of carved gilded wood (talha dourada) on altars and ceilings. Other works in this period include : Baltasar Alvares built some of the most impressive examples in this style : the Sé Nova of Coimbra (1598–1640), the S Lourenço or Grilos church in Porto (begun 1614) and the church S Antão in Lisbon (1613–1656; now destroyed).. Other examples are the several Benedictine constructions in this period, such as the renovation by João Turriano of the Monastery of Tibães and the Monastery of São Bento (now the Portuguese Parliament). Francisco de Mora designed the convent of Nossa Senhora dos Remédios (Évora) for the order of the Discalced Carmelites (1601–1614) The Church of Senhor da Cruz in Barcelos, built by João Antunes in 1701–1704 is an unusual experiment because of its four-leaf clover plan. Pedro Nunes Tinoco designed in 1616 the church of S Marta (Lisbon) for the Order of the Poor Clares. Baroque period Baroque architecture in Portugal enjoys a very special situation and a different timeline from the rest of Europe. It is conditioned by several political, artistic and economic factors, that originate several phases, and different kinds of outside influences, resulting in a unique blend. The year 1697 is an important year for Portuguese architecture. In that year gold, gems and later diamonds were found in Minas Gerais, Brazil. Mining exploration was strongly controlled by the Portuguese Crown, which imposed heavy taxes on everything extracted (one fifth of all gold would go to the Crown). These enormous proceeds caused Portugal to prosper and become the richest country of Europe in the 18th century. In the reign of King King John V, the baroque underwent a time of splendour and wealth completely new in Portugal. Despite the destruction wreaked by the 1755 earthquake, the quality of the buildings which have survived to this day is still impressive. The Palácio da Ribeira, the Royal Chapel (both destroyed in the earthquake) and the Mafra National Palace, are the main works of the King. The Águas Livres Aqueduct brings water to Lisbon covering a distance of 11.18 miles, with emphasis on the section over the Alcântara valley because of the monumentality of the imposing arches. However, across the country, are still visible marks of the pomp of the time in major or small works. The gilded woodcarving took on national characteristics because of the significance and richness of the decorations. The painting, sculpture, decorative arts and tiling also experienced great development. The Mafra National Palace is among the most sumptuous Baroque buildings in Portugal. This monumental palace-monastery-church complex is even larger than the El Escorial, an immense 16th-century Spanish royal palace north of Madrid to emphasize the symbolic affirmation of his power. The king appointed Johann Friedrich Ludwig (known in Portugal as João Frederico Ludovice) as the architect. This German goldsmith had received some experience as an architect, working for the Jesuits in Rome. His design for the palace is a synthesis of St. Peter's Basilica in the Vatican, the Jesuit Sant'Ignazio church in Rome and the Palazzo Montecitorio, designed by Gian Lorenzo Bernini. This design was in line with the king's desire to imitate the Eternal City, and with his ambition to found a "second Rome" at the river Tagus. His envoys in Rome had to provide the king with models and floor plans of many Roman monuments. One of these was the Patriarchal palace in Lisbon. The Piedmontese architect Filippo Juvarra was brought to Lisbon to draw up the plans. But this project was also toned down because Juvarra only stayed for a few months and left – breaking his contract – for London. Other important constructions were : 1729–1748 : the Águas Livres aqueduct in Lisbon (by Manuel da Maia, Antonio Canevari and Custódio Vieira), described by contemporaries as the ‘greatest work since the Romans’. It provided Lisbon with water, but also the many new monumental fountains built by the Hungarian Carlos Mardel 1728–1732 : the Quinta de S Antão do Tojal (by the Italian architect Antonio Canevari) 1755 (completed) : the Ópera do Tejo (destroyed later that year) (by Giovanni Carlo Sicinio-Bibiena) (completed in 1750) Palace of Necessidades (by Eugénio dos Santos, Custodio Vieira, Manuel da Costa Negreiros and Caetano Tomas de Sousa) Rococo style Rococo architecture entered Portugal through the north, while Lisbon, due to the court pomp, remained in the Baroque. It is an architecture that follows the international taste in decoration, and, as a result of the contrast between dark granite and white walls, has a clearly Portuguese profile. The decoration is naturalist, based mainly in shells and leaves but also with architectural elements and sculpture. Pilgrimage places became fashionable, often built in places of rough prominence, allowing impressive staircases of big scenographic effect. André Soares worked in the region of Braga, and produced some of the main examples such as Falperra Sanctuary, Congregados Church, the Braga City Hall and Casa do Raio, among many others. The number of buildings and architects is large and, because the north of Portugal was spared from the ravages of the 1755 Lisbon earthquake, there is a large number of buildings. A different and more exuberant Baroque style with some Rococo touches, more reminiscent of the style in Central Europe, developed in the northern part of Portugal. The Italian architect Nicolau Nasoni designed the church and the spectacular granite tower of São Pedro dos Clérigos in Porto. One of his successors was the painter and architect José de Figueiredo Seixas, who had been one of his disciples. The sanctuary Bom Jesus do Monte near Braga, built by the architect Carlos Luis Ferreira Amarante is a notable example of a pilgrimage site with a monumental, cascading Baroque stairway that climbs 116 metres. This last example already shows the shift in style to Neo-classicism. The Palácio do Raio (by André Soares) is an outstanding Baroque-Rococo urban palace with richly decorated façade in Braga. Several country houses and manors in late-Baroque style were built in this period. Typical examples are the homes of the Lobo-Machado family (in Guimarães), the Malheiro (Viana do Castelo) and the Mateus (Vila Real). Pombaline style The 1755 Lisbon earthquake and the subsequent tsunami and fires destroyed many buildings in Lisbon. Joseph I of Portugal and his Prime Minister Sebastião de Melo, Marquis of Pombal hired architects and engineers to rebuild the damaged portions of Lisbon, including the Pombaline Downtown. The Pombaline style is a secular, utilitarian architecture marked by pragmatism. It follows the Plain style of the military engineers, with regular, rational arrangements, mixed with Rococo details and a Neo-classical approach to structure. The Baixa district of Lisbon was rebuilt by Eugénio dos Santos and Carlos Mardel. The Marquis of Pombal imposed strict conditions on the rebuilding. Architectural models were tested by having troops march around them to simulate an earthquake, making the Pombaline one of the first examples of earthquake-resistant construction. The Praça do Comércio, the Augusta street and the Avenida da Liberdade are notable examples of this architecture. This Square of Commerce was given a regular, rational arrangement in line with the reconstruction of the new Pombaline Downtown, the Baixa. The Pombaline style of architecture is also to be found in Vila Real de Santo António (1773–75) a new town in the Algarve, built by Reinaldo Manuel dos Santos. The style is clearly visible in the urban arrangement and especially in the main square. Neoclassical The arrival of neoclassical trends in Portugal were largely postponed due to the reconstruction efforts following the 1755 Lisbon earthquake. It was the 1770s that ushered in the era of neoclassical architecture, with the simultaneous constructions of the Royal Riding Hall of Belém, in Lisbon, and Santo António Hospital in Porto, by John Carr. Quickly after its introduction to mainstream Portuguese architecture, two emergent schools of neoclassicism in Portugal emerged: a northern school, based in Porto and Braga, which was greatly influenced by British neoclassicism and Palladian architecture, and a southern school based in Lisbon, largely influenced by Italian and later French trends. Though neoclassical trends persisted throughout Portugal well beyond the larger European period of neoclassicism, Porto produced the greatest number of architects and buildings practicing neoclassical styles, the movement not having gained as much support or traction in Lisbon. Of the northern school, Carlos Amarante was one of the most popular architects in both Porto and Braga, designing numerous notable landmarks in either city, including the University of Porto Rectory in Porto and the Bom Jesus do Monte and Pópulo Churches in Braga. Notable works in the northern tradition: Palácio da Bolsa in Porto, designed by Joaquim da Costa Lima Júnior Factory House in Porto, designed by John Whitehead Carrancas Palace in Porto, designed by Joaquim da Costa Lima Sampaio Santo António Hospital in Porto, designed by John Carr Cadeia da Relação in Porto, designed by Eugénio dos Santos Notable works in the southern tradition: Palace of Ajuda in Lisbon, designed by José da Costa e Silva Teatro Nacional de São Carlos in Lisbon, designed by José da Costa e Silva D. Maria II National Theatre in Lisbon, designed by Fortunato Lodi Belém Riding Hall of Belém Palace in Lisbon, designed by Giacomo Azzolini Neo-Manueline The Neo-Manueline style, a revival style of late 16th century Portuguese Late Gothic Manueline, was the primary architectural expression of Romanticism in Portugal, owing to its highly nationalistic characteristics and history, which flourished from the middle of the 19th century to the beginning of the 20th in Portugal and Brazil, and to a lesser extent other parts of the Lusofonia (Portuguese speaking world). The style, which rose during a time of Romantic nationalism, heavily features Portuguese national symbols, including the armillary sphere, the Cross of the Order of Christ, and elements of the Coat of arms of Portugal, as well as symbols of the Portuguese Discoveries, such as twisted ropes, exotic fruits and vegetables (like pineapples and artichokes), sea monsters, and sea plants (like coral and algae branches). The first recognized Neo-Manueline architectural works were done between 1839 and 1849 with the building of Pena National Palace, in Sintra, by King Ferdinand II of Portugal. A romanticist palace fusing Neo-Manueline, Neo-Mudéjar, and Portuguese Renaissance characteristics, Pena Palace's large Neo-Manueline Window is a 19th-century adaptation of the large Manueline Window of the Convent of Christ of Tomar. While Neo-Manueline buildings can be found throughout all of Portugal and the Lusofonia, the greatest concentration of works are located in Lisbon, from where the majority of original Manueline designs and monuments are found, and the nearby Portuguese Riviera, notably Sintra. Neo-Mudéjar The Neo-Mudéjar is a type of exuberant Moorish Revival architecture practiced in the Iberian Peninsula, and to a lesser extent Ibero-America, which evokes the Moorish heritage of Iberia, a fashion which flourished at the end of the 19th century and early 20th century. The style's popularity in Portugal was vastly concentrated in Lisbon and the Portuguese Riviera, and the southern regions of the Algarve and the Alentejo, as these had the most visible Moorish heritage in the country. Like the Neo-Manueline revival, the first works of Neo-Mudéjar in Portugal were done between 1839 and 1849 with the building of Pena National Palace, a romanticist palace fusing Neo-Manueline, Neo-Mudéjar, and Portuguese Renaissance characteristics in Sintra. Sintra soon became home to other notable Neo-Mudéjar estates, such as Monserrate Palace, designed by James Thomas Knowles, and Quinta do Relógio, designed by António da Fonseca Júnior, characterised by often fantastical, fairytale like architectural and decorative features en vogue in other parts of Europe such as Austria and Germany. Notable works in Lisbon include large monuments like the Campo Pequeno Bullring, dating from 1892 and designed by architect António José Dias da Silva, as well as numerous famous estates, such as the 1877 Palácio Ribeira da Cunha in the Príncipe Real district and 1891 Palácio Conceição da Silva, on the Avenida da Liberdade. The style's expression in the North of Portugal is primarily used in interior design, such as the sumptuous Sala Arabe of Palácio da Bolsa, in Porto, or is heavily altered and mixed with other revival styles and trends in building exteriors, like Porto's Devesas Factory Warehouse Cast-iron architecture Cast-iron architecture, known simply as iron architecture in Portuguese (arquitetura de ferro), largely began to manifest during the last quarter of the 19th century. While revolutionary in regards to technical advancement, structural integrity, and other engineering feats, the stylistic trends of iron architecture were almost completely based in historicism and revival styles. The application of iron architecture was limited to certain fields of building, largely either infrastructural, such as bridges, railway stations, and elevators, or buildings relevant to the common good, such as exhibition halls, municipal markets, or commercial centers. Notable iron structures in Portugal include: Santa Justa Elevator in Lisbon Dom Luís I Bridge in Porto Maria Pia Bridge in Porto Mercado Ferreira Borges in Porto Palácio de Cristal in Porto (demolished) Art Nouveau Art Nouveau, known in Portugal as Arte Nova, had a late arrival and short duration in the history of Portugal, flourishing largely between 1905 and 1920. In terms of international relationships, Portuguese Arte Nova is more in line with the school of French Art Nouveau than the Austrian schools of the time. The use of Arte Nova was largely spread by the urban elite of the Portuguese aristocracy, primarily in port cities such as Lisbon, Porto, and Aveiro. The concept defining Art Nouveau variation of Aveiro (Portugal) called Arte Nova was ostentation: the style was brought by a conservative bourgeoisie who wanted to express their might by decorative façades leaving interiors conservative. Another distinctive feature of Arte Nova was using locally produced tiles with Art Nouveau motifs. There most notable examples of Arte Nova in Portugal, outside of Aveiro, include: Museum-Residence Dr. Anastácio Gonçalves by (1904–1905) in Lisbon Café Majestic by (1921) in Porto Livraria Lello bookstore by (1906) in Porto. The most influential artist of Arte Nova is Francisco Augusto da Silva Rocha. He designed many buildings both in Aveiro and in other cities in Portugal, while actually not being an architect (it was common for Aveiro that time). One of them has both an exterior and interior of Art Nouveau and now hosts the Museum of Arte Nova - it is the Major Pessoa Residence. Another notable example is the Former Cooperativa Agrícola featuring hand-painted tiles. There are some Art Nouveau sculptures at the Central cemetery of Aveiro as well. Modern architecture One of the top architecture schools in the world, known as "Escola do Porto" or School of Porto, is located in Portugal. Its alumni include Fernando Távora, Álvaro Siza (winner of the 1992 Pritzker prize) and Eduardo Souto de Moura (winner of the 2011 Pritzker prize). Its modern heir is the Faculdade de Arquitectura (School of Architecture) of the University of Porto. Although Portuguese architecture is usually associated with the internationally accredited Alvaro Siza, there are others equally responsible for the positive trends in current architecture. "Many Portuguese architects are sons of Siza, but Tavora is a grandfather to all of us". The influence of Sizas own teacher, Fernando Tavora, echoes across generations. The Fundação Calouste Gulbenkian, built in 1960s and designed by Rui Atouguia, Pedro Cid, and Alberto Pessoa, is one of the very best, defining examples of 20th-century Portuguese architecture. In Portugal Tomás Taveira is also noteworthy, particularly due to stadium design. Other renowned Portuguese architects include Pancho Guedes, Gonçalo Byrne and António Maria Braga. Carrilho da Graça’s Centro de Documentação da Presidência da República (Documentation Archive of the President of the Portuguese Republic), is one of Lisbon's best-kept architectural secrets. There is a new generation of Portuguese architects with remarkable works being awarded internationally. The Prize Europe 40 Under 40, created by The European Centre for Architecture Art Design and Urban Studies and The Chicago Athenaeum: Museum of Architecture and Design, have awarded Filipa Frois Almeida, Hugo Reis, Diogo Aguiar, Raulino Silva e Bruno André with the Europe 40 Under 40 Prize. Regional architecture Azores Islands Madeira and Porto Santo Portuguese colonial architecture See also Sino-Portuguese architecture Summer architecture Architecture of Goan Catholics Classification of Built Heritage in Portugal Portuguese pavement Seven Wonders of Portugal Seven Wonders of Portuguese Origin in the World Rafael Manzano Prize Footnotes References Kingsley, Karen, Gothic Art, Visigothic Architecture in Spain and Portugal: A Study in Masonry, Documents and Form, 1980; International Census of Doctoral Dissertations in Medieval Art, 1982–1993 KUBLER, George, y SORIA, Martin, "Art and Architecture in Spain and Portugal and their Dominions, 1500–1800", New York, 1959. Kubler, George, "Portuguese Plain Architecture: Between Spices and Diamonds, 1521–1706 " ; Wesleyan University Press, Middletown, Connecticut 1972; Toman, Rolf – Romanik; Könemann Verlagsgesellschaft mbH, Köln, 1996 (in Dutch translation : Romaanse Kunst : Architectuur, Beeldhouwkunst, Schilderkunst) Toman, Rolf – Barock ; Könemann Verlagsgesellschaft mbH, Köln, 1997 (in Dutch translation : Barok : Architectuur, Beeldhouwkunst, Schilderkunst); Underwood, D.K. – "The Pombaline Style and International Neoclassicism in Lisbon and Rio de Janeiro."; U. of Pennsylvania Editor, 1988 External links Gutenberg.org: Portuguese Architecture — by Walter Crum Watson, available free (in HTML or plain text).
Justamustache is the 2005 album released by Detroit-based post-punk revival band, Thunderbirds Are Now! The album was released by Frenchkiss Records. Track listing "Better Safe Than Safari" – 2:36 "Eat This City" – 2:47 "198090" – 3:44 "Aquatic Cupid's Harpoons of Love" – 2:57 "Enough About Me, Let's Talk About Me" – 3:21 "To: Skulls" – 3:15 "From: Skulls" – 4:19 "Bodies Adjust" – 3:25 "This World Is Made of Paper" – 3:33 "Cobra Feet" – 4:02 Personnel Martin Smith – bass, cowbell Ryan Allen – guitars, vocals, live drums & piano on "Bodies Adjust" Michael Durgan – snare, cymbals, bass drum, toms Scott Allen – keyboards, sequencer, samples, vocals, percussion Shannon McCarthy– singers on "Eat This City" / Vocalist and writer of opening and closing tracks Dave Feeny - Producer, Engineer, Mixing References External links Thunderbirds are Now! official site Frenchkiss Records 2005 albums Thunderbirds Are Now! albums
WTDY may refer to: WTDY-FM, a radio station (96.5 FM) licensed to serve Philadelphia, Pennsylvania, United States WOZN (AM), a radio station (1670 AM) licensed to serve Madison, Wisconsin, United States, which held the call sign WTDY from 1998 to 2012 WRIS-FM, a radio station (106.7 FM) licensed to serve Mount Horeb, Wisconsin, which held the call sign WTDY-FM from 2011 to 2012 WLMV, a radio station (1480 AM) licensed to serve Madison, Wisconsin, which held the call sign WTDY from 1984 to 1998
Bitch! Dyke! Faghag! Whore! (or B!D!F!W!) is an internationally toured show by performer Penny Arcade. Like many of her shows, it combines erotic dancing, improvisation, comedy, audience participation, and monologue. Themes include AIDS, pornography, censorship and prostitution. It helped form an international gay burlesque scene and has played a substantial role in the gay shame movement. History B!D!F!W! was created in 1990 partly in response to Senator Jesse Helms's amendment banning the National Endowment of the Arts (NEA) from providing funds for "obscene or indecent art". In 2009, Arcade told the Bay Area Reporter: "It was me kind of saying, 'Fuck you' to them." The show has been a hit success despite no funding from the NEA, in part through word of mouth and positive reviews. Although B!D!F!W! is Arcade's most well-known work, it has garnered very little attention from the mainstream press. Instead, the show relies on what she calls "The Drag Factor": "People drag their friends along from home and from work. In New York people were coming every night and telling me their therapist had recommended the show." The show continues to evolve, in part from the improvisational nature of the performance. It has been credited with helping form an international gay burlesque scene and has played a substantial role in the gay shame movement. The show has had over 1,500 performances in over 22 cities internationally. Themes Largely about sex, politics and self-censorship, the show humanizes and dignifies the roles portrayed while remaining true to the roles. Instead of presenting a role as one way or the other, the intent is to be true to the essence of the roles. Says Penny Arcade: "I hate the politically correct tendency. When you have a PC movement, you have people who don't think, and as soon as people give up their capacity for inquiry you have the basis for totalitarianism." She hires local erotic dancers for her shows, who perform on stage and around the audience. At one point, there is an audience breakout section: audience members go onto the stage and start dancing. As in all her shows, speaking personally to the audience is an important part of the performance. References External links Performances
```xml <resources> <string name="app_name">PageFlip</string> <string name="title_activity_main">PageFlip Demo</string> <string name="about_mesh_pixels"> 1. Changing "Mesh Pixels" will only take effect in next time! </string> <string name="about_codes"> path_to_url and use freely. </string> <string name="about_contact"> 3. Any question please mailto: esc.chao@gmail.com or file issue in github. </string> </resources> ```
La Perrière (; ) is a former commune in the Savoie department in the Auvergne-Rhône-Alpes region in south-eastern France. On 1 January 2017, it was merged into the new commune Courchevel. See also Communes of the Savoie department References Former communes of Savoie
The Boys Doubles tournament of the 2013 BWF World Junior Championships was held from October 29 until November 3. Last year tournament won by Hong Kong pair Lee Chun Hei and Ng Ka Long. In the all-Chinese final this year, Li Junhui and Liu Yuchen took the gold medal after beating their compatriots Huang Kaixiang and Zheng Siwei 14-21, 21-13, 22-20. Seeded Li Junhui / Liu Yuchen (champion) Kevin Sanjaya Sukamuljo / Arya Maulana Aldiartama (quarter-final) Kim Jae-hwan / Kim Jung-ho (third round) Tao Jianqi / Zhao Jian (third round) Huang Kaixiang / Zheng Siwei (final) Johannes Pistorius / Marvin Seidel (first round) Dechapol Puavaranukroh / Kittinupong Ketlen (third round) Tien Tzu-chieh / Wang Chi-lin (semi-final) Chang Ko-chi / Liao Chi-hung (quarter-final) Chua Keh Yeap / Muhammad Amzzar Zainuddin (third round) Chua Khek Wei / Woon Mun Choon (second round) Darren Isaac Devadass / Ong Yew Sin (quarter-final) Andrey Dolotov / Alexandr Zinchenko (second round) Stefan Garev / Vladimir Shishkov (second round) Ruben Jille / Justin Teeuwen (second round) Lee Cheuk Yiu / Yeung Shing Choi (third round) Draw Finals Top Half Section 1 Section 2 Section 3 Section 4 Bottom Half Section 5 Section 6 Section 7 Section 8 References Main Draw (Archived 2013-10-29) 2013 BWF World Junior Championships 2013 in youth sport
HR 3220 is a binary star system in the southern constellation of Carina. It has the Bayer designation B Carinae; HR 3220 is the designation from the Bright Star Catalogue. It has a yellow-white hue and is visible to the naked eye with an apparent visual magnitude of 4.75. Based upon parallax measurements, it is located at a distance of 59 light years from the Sun. The system is drifting further away with a radial velocity of +24 km/s. This is a single-lined spectroscopic binary system with an orbital period of and an eccentricity of 0.12. The visible component is an F-type main sequence star with a stellar classification of , where the suffix notation indicates mild but anomalous underabundances of iron and the methylidyne radical. The secondary is most likely a helium white dwarf with 0.47 times the mass of the Sun. Mass transfer from the white dwarf progenitor has given the primary the spectral signature of a blue straggler that appears much younger than its actual age of about 10 billion years. References F-type main-sequence stars Blue stragglers White dwarfs Carina (constellation) Carinae, B Durchmusterung objects 0297.1 068456 039903 3220 Spectroscopic binaries
Soyapango is a municipality in the San Salvador department of El Salvador. Soyapango is a commercial center. The municipality is the third most populated area in the country, with 290,412 inhabitants. Soyapango is a satellite city of San Salvador and it is the main thoroughfare between San Salvador and the eastern part of the country, and nearly 70,000 vehicles travel through it every day. The nickname for this satellite city is Soya. Economy Empresas ADOC, the largest shoe manufacturer in Central America, has its headquarters in Soyapango. Most economic activity in Soyapango is related to forestry. Geography It is limited by the following municipalities: the north by Delgado and Tonacatepeque; to the east by Ilopango, on the south by St. Thomas and San Marcos, and the west by San Salvador and Delgado. It is located between the geographic coordinates 13° 44'42 "LN (northern end) and 13° 39'58" LN (southern end), 89° 06'57 "LWG (eastern end) and 89° 10'16" LWG (far west) . Soils Soils predominate in the municipality of type: 1) and Regosols Andosols, which are areas that form rolling and rolling country areas, 2) Regosols, and Andosols Latosols reddish clay, which are land areas that form of hills and mountains of the belt volcanic foothills or lower slopes of the volcanoes or volcanic massifs. In this area dominated by rock types of pyroclastic material. Hydrography Water the town river Las Cañas, Acelhuate, Tapachula, Chantecuán, El Sauce, and Chagiiite Sumpa and Arenal streams, and other unnamed Aposento. The main rivers are the reeds and the Acelhuate. The river Las Cañas was born in the town of Ilopango, and enters Soyapango to 2.4 miles east of the city, describing a path from south to north. Its course and divided the territory and Tonacatepeque Ilopango. Its rivers tributaries Chantecuán, El Sauce, Zapotitán, bananas and Sumpa, and streams and Arenal The Pavas Seco. It has a length within the municipality of 5.5 kilometers. Acelhuate River rises in the municipality of San Salvador. Enter Soyapango to 2.3 miles west of the city, describing a course from south to north. Its course divides this territory and those of Delgado and San Salvador. Its tributaries to the river gorge Tapachula and El Arenal. Describes a trip within the municipality of 3.5 kilometers. Terrain This town has a topography ranging from rolling hills to rugged mountains, mostly prominently to the South. The landscape of the area has two geological features: Cerro El Mirador and Mount San Jacinto. Mount San Jacinto is the most prominent one. Located 3.1 miles southwest of the city of Soyapango, its summit serves as a marker for the municipal boundaries of San Marcos, San Salvador and Soyapango. It has an elevation of 1151.93 meters above sea level. Climate The amount of annual rainfall varies between 1.700 and 1.850 mm. Sports The local professional football club is named C.D. Marte Soyapango and it currently plays in the Salvadoran Second Division. References External links Municipality of Soyapango Municipalities of the San Salvador Department
The Statue of Lenin in Kharkiv was a sculpture monument to Vladimir Lenin, located in Freedom Square, Kharkiv, Ukraine, that was toppled and demolished in 2014. It was the largest monument to Lenin in Ukraine, designed by Alexander Sidorenko after entering an open competition to design the monument in 1963, in the lead up to the anniversary of the October Revolution. The monument ID was 63-101-0682. Description The statue was composed of Lenin, gesturing towards the Kharkiv Regional Administration Building with his right hand and holding a crumpled cartouche in his left, atop a pedestal. The pedestal included two bas-reliefs: on one side a worker, sailor, and soldier under the Red Flag, and on the other a worker, a collective farmer, and a scientist who raised a model artificial satellite above his head. In the middle, the plinth was mainly empty, except for the inscription of Lenin's name in Ukrainian, held on by steel pins at its feet. History The monument was placed and planned by the Kharkiv City Council through the memorandum placed to build the sculpture on the square in 1963. The commission was accounted by sculptor Alexander Sidorenko and the building was commissioned by Oleksiy Oliynyk and Makar Vronsky. The monument was opened in November 1964, the eve of the October Revolution festivities in the USSR. After the collapse of the USSR and restoration of the independence of Ukraine, many activists, politicians, and individuals called for the destruction of the sculpture, to remove a remnant of the totalitarian Soviet era in the area. By order of the Ministry of Culture No. 468 of 30 May 2013, the monument was entered in the State Register of Immovable Landmarks of Ukraine as a monument of monumental art of local significance, protection number 27-Ha. Euromaidan and Revolution of Dignity During the Euromaidan events in Ukraine on 22 February 2014, after thousands of Euromaidan activists marched from the Palace of Sports to Freedom Square, there were discussions about the mass demolition of the monument and all other insignias of the Soviet past. During the discussion, it was decided to demolish the monument after a decision in the Verkhovna Rada of Ukraine. Groups of Kharkiv residents who identified themselves as the "St George's Ribbon" movement called for pro-Russian inhabitants and Anti-Maidan activists to defend the monument and organised round-the-clock protection. The Mayor of Kharkiv Hennadiy Kernes opposed the toppling of the monument. Several months later, in the evening of 21 September 2014, Right Sector activists painted the monument and burned the St George's ribbons that remained there. The next day, the inscriptions were erased by utility workers. Demolition On 28 September 2014, a pro-Ukrainian march and rally was held in Kharkiv under the slogan "Kharkiv is Ukraine" with the participation of about 5,000 people. After the pro-Ukrainian action, most of its participants (about 3,000) gathered in Freedom Square and began to demolish the monument to Lenin. Participants included fighters of the Azov Battalion and activists of the Eastern Corps, Public Guard, Kharkiv Euromaidan, and Kharkiv Ultras. Initially, it was planned to saw the monument in parts with the help of a car lift, and in particular to saw off the head and hands. But the police did not allow special equipment to the monument and blocked all entrances to the square. At the same time, activists with the flag of the Azov Battalion drilled the inscription "Glory to Ukraine" into the monument with a perforator, at about 19:00 UTC+2. During the action to demolish the monument to Lenin, the pedestal was mined and inspected, but the report on the demining turned out to be false. In addition, according to Adviser to the Minister of Internal Affairs Anton Gerashchenko, law enforcement officers surrounded Freedom Square during the demolition of the monument to Lenin in order to prevent armed provocations. During the first attempt to demolish the monument, the cable broke, injuring one of the activists. After this, the monument's legs continued to be sawn, and climbing ropes were replaced with steel ropes. One man who tried to harm this process was beaten by pro-Ukrainian activists. At about 10:30 pm, activists tied two ropes to the figures and pulled them down and knocked down the monument to Lenin on Freedom Square in Kharkiv. After that, a crowd of people rushed to the monument, lighting fireworks and smoke bombs, as well as greeting each other shouting "Glory to Ukraine" once more. Kharkivites also tried to seize a piece of the monument as a souvenir. In total, the process of demolition of the monument took about four hours. Activists set Ukrainian flags in the shoes of the statue of Lenin that remained on the pedestal. The sculpture was severely damaged, with the remaining pieces being just a torso without one arm, the head, the front abdomen, and the boots. The remains of the statue of Lenin were transported to the Malyshev plant and the Kharkiv regional highway near the ring road. Aftermath Initially, the police opened a criminal investigation into the attempt to topple the monument to Lenin under Part 2 of Article 298 (destruction, destruction or damage to cultural heritage sites) of the Criminal Code of Ukraine. However, a few hours after the demolition, the city's official website published an order signed by the Governor of Kharkiv Oblast, Ihor Baluta, in which he “instructed the relevant structures to take measures to exclude the monument to Lenin, located on Svoboda Square in Kharkov, from the register of historical and cultural monuments, and also to take measures for the dismantling of the monument". Baluta then signed an order about "settling the situation regarding monuments to totalitarianism", according to which he decided to take urgent measures to dismantle the monument and remove it from the State Register of Immovable Monuments of Ukraine. On the basis of this order, the Minister of Internal Affairs Arsen Avakov announced the termination of the criminal proceedings regarding the damage to the monument. The next day, the Kharkiv police officially announced the termination of the criminal proceedings. On 29 September 2014, the head of the Kharkiv Regional State Administration Ihor Baluta noted that the fall of the monument did not damage the structure of the subway system. Later, activists of the Kharkiv public organization IT Sector offered to the mayor to exchange the sculpture's nose for an armoured personnel carrier or a T-80 tank for the Azov Volunteer Battalion, saying that otherwise they will hold an auction for the nose. Lenin's 35 kg ear from the monument was also put up for auction, and was exchanged for a thermal imager for the Kharkiv Territorial Defence Battalion. On the morning of 4 October 2014, a cross 3.5 m high, 1.5 m wide, and over 100 kg in weight was installed on the top of the pedestal, with the inscriptions "Save and Preserve" and "Put a cross on Lenin", which stood temporarily. In April 2015 a Kharkiv Court ruled that the destruction of the monument had not been illegal since, on 28 September 2014, then Governor of Kharkiv Oblast Ihor Baluta had decreed that the monument should be removed. In this court case, the Kharkiv city council attempted to declare this decree by Baluta to have been illegal. In November 2015, Kharkiv Mayor Hennadiy Kernes officially admitted that because of Ukrainian decommunization laws, the statue of Lenin could not be rebuilt. According to him, it was planned for architects, artists, and the city council to decide how to give Freedom Square a "European appearance" in the near future. Radio Free Europe reported that Kernes would be pushing for the building of a "modern fountain", similar to one that used to be located at the same spot as the toppled Lenin statue. The pedestal and foundation of the statue were dismantled and removed in April 2016. In August 2016, pavers were laid on the site where the statue of Lenin stood. On 8 August 2016, the First Deputy Mayor of Kharkiv, Ihor Terekhov, stated that "Nothing will be built in place of a Lenin monument, signifying the square's return to its original image." Replacement fountain After an open competition, it was decided on 3 February 2017 that Freedom Square would get a new 86 m tall monument. At its top, there was planned to be an angel with an Orthodox cross watching over four figures who somehow resonate with the history of Slobozhanshchina (Anacharsis, Igor Svyatoslavich, Semen Hulak-Artemovsky, and Mykhailo Petrenko). After the monument had been approved, residents in Kharkiv expressed opposition to the competition. According to them, the designed sculpture didn't fit in the context of the square, obliterating the symbolic value of the space. A petition demanding to cancel the decision on installing the column was registered on the official website of the Kharkiv City Council and more than 5000 people voted, establishing the minimum number for the Kharkiv City Council to give an official answer to the request. This petition was supported by Docomomo International. The 86 m high monument was never built and on 17 April 2020, at a session of the Kharkiv city council, Kharkiv Mayor Kernes announced that a new fountain would appear at the former site of the statue. This fountain was opened as the largest fountain in Ukraine, with a diameter of 36 meters, on 23 August 2020, Kharkiv's City Day. However, it is situated at the opposite end of Freedom Square, at a more central location. See also Demolition of monuments to Vladimir Lenin in Ukraine List of statues of Vladimir Lenin 2014 pro-Russian unrest in Ukraine#Kharkiv Oblast References Destroyed sculptures Statues in Ukraine Demolished buildings and structures in Ukraine Sculptures in the Soviet Union Buildings and structures demolished in 2014 Monuments and memorials to Vladimir Lenin Shevchenkivskyi District (Kharkiv) Decommunization in Ukraine 1964 establishments in Ukraine 2014 disestablishments in Ukraine Sculptures of men in Ukraine Outdoor sculptures in Ukraine Statues removed in 2014
```yaml #!/usr/bin/env python # # # 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. # hyperparam.yaml trainingInput: hyperparameters: goal: MAXIMIZE maxTrials: 30 maxParallelTrials: 5 hyperparameterMetricTag: my_metric_tag enableTrialEarlyStopping: TRUE params: - parameterName: alpha type: DOUBLE minValue: 0.0 maxValue: 10.0 scaleType: UNIT_LINEAR_SCALE - parameterName: max_iter type: INTEGER minValue: 1000 maxValue: 5000 scaleType: UNIT_LINEAR_SCALE - parameterName: tol type: DOUBLE minValue: 0.0001 maxValue: 0.1 scaleType: UNIT_LINEAR_SCALE - parameterName: selection type: CATEGORICAL categoricalValues: [ "cyclic", "random" ] ```
```html <!DOCTYPE html> <html lang="zh-CN" xmlns:th="path_to_url" xmlns:sec="path_to_url"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title></title> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <link rel="stylesheet" th:href="@{${uiPath} + ${appName} + '/css/bootstrap.min.css'}"> <link rel="stylesheet" href="//at.alicdn.com/t/font_ay4w4j5c2tke29.css"> <link rel="stylesheet" th:href="@{${uiPath} + ${appName} + '/css/style.css'}"> </head> <body class="login-page"> <div class="login-box"> <div class="login-logo"> <a href="#"><b>Zheng</b>UC</a> </div> <div class="row login-box-body"> <div class="row" style="margin-bottom: 20px;"> <div class="col-xs-6 logo-tip"> <i class="iconfont icon-icon053"></i> <span></span> </div> <div class="col-xs-6" style="text-align: right"> <a href="signup"></a> </div> </div> <!-- Nav tabs --> <ul class="tabs-menu"> <li class="active"><a href="#email" data-toggle="tab"></a></li> <li><a href="#phone" data-toggle="tab"></a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="email"> <div class="login-box-body"> <form> <div class="form-group has-feedback"> <input type="email" class="form-control" placeholder=""> <span class="glyphicon glyphicon-envelope form-control-feedback"></span> </div> <div class="form-group has-feedback"> <input type="password" class="form-control" placeholder=""> <span class="glyphicon glyphicon-lock form-control-feedback"></span> </div> <div class="row"> <div class="col-xs-6"> <div class="checkbox icheck"> <label> <input type="checkbox"> </label> </div> </div> <div class="col-xs-6" style="text-align: right"> <div class="checkbox icheck"> <label> <a href="password_reset"></a> </label> </div> </div> </div> <div class="row"> <!-- /.col --> <div class="col-xs-12"> <button type="submit" class="btn btn-primary btn-block btn-flat"></button> </div> <!-- /.col --> </div> </form> </div> </div> <div class="tab-pane" id="phone"> <div class="login-box-body"> <form> <div class="form-group has-feedback"> <input type="email" class="form-control" placeholder=""> <span class="glyphicon glyphicon-phone form-control-feedback"></span> </div> <div class="row"> <div class="col-xs-6"> <div class="form-group has-feedback"> <input type="password" class="form-control" placeholder=""> <span class="glyphicon glyphicon-lock form-control-feedback"></span> </div> </div> <div class="col-xs-6"> <button type="submit" class="btn btn-primary btn-block btn-flat"></button> </div> </div> <div class="row"> <div class="col-xs-6"> <div class="checkbox icheck"> <label> <input type="checkbox"> </label> </div> </div> <div class="col-xs-6" style="text-align: right"> <div class="checkbox icheck"> <label> <a href=""></a> </label> </div> </div> </div> <div class="row"> <!-- /.col --> <div class="col-xs-12"> <button type="submit" class="btn btn-primary btn-block btn-flat"></button> </div> <!-- /.col --> </div> </form> </div> <!-- /.login-box-body --> </div> </div> <div class="social-auth-links"> <p>- OR -</p> <a style="margin-left:0" href="#"><i class="iconfont icon-qq"></i></a> <a href="#"><i class="iconfont icon-weixin"></i></a> <a href="#"><i class="iconfont icon-weibo"></i></a> <a href="#"><i class="iconfont icon-github1"></i></a> </div> <!-- /.social-auth-links --> </div> </div> <!-- /.login-box --> <script>var BASE_PATH = '[[${#httpServletRequest.getContextPath()}]]';</script> <script>var BACK_URL = '[[${#httpServletRequest.getParameter("backurl")}]]';</script> <script src="js/jquery.min.js" th:src="@{${uiPath} + ${appName} + '/js/jquery.min.js'}"></script> <script src="js/bootstrap.min.js" th:src="@{${uiPath} + ${appName} + '/js/bootstrap.min.js'}"></script> </body> </html> ```
```php <?php /* * * ____ _ _ __ __ _ __ __ ____ * | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \ * | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) | * | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/ * |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_| * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * @author PocketMine Team * @link path_to_url * * */ declare(strict_types=1); namespace pocketmine\data\bedrock\block; /** * This class is generated automatically from the block palette for the current version. Do not edit it manually. */ final class BlockStateStringValues{ private function __construct(){ //NOOP } public const ATTACHMENT_HANGING = "hanging"; public const ATTACHMENT_MULTIPLE = "multiple"; public const ATTACHMENT_SIDE = "side"; public const ATTACHMENT_STANDING = "standing"; public const BAMBOO_LEAF_SIZE_LARGE_LEAVES = "large_leaves"; public const BAMBOO_LEAF_SIZE_NO_LEAVES = "no_leaves"; public const BAMBOO_LEAF_SIZE_SMALL_LEAVES = "small_leaves"; public const BAMBOO_STALK_THICKNESS_THICK = "thick"; public const BAMBOO_STALK_THICKNESS_THIN = "thin"; public const BIG_DRIPLEAF_TILT_FULL_TILT = "full_tilt"; public const BIG_DRIPLEAF_TILT_NONE = "none"; public const BIG_DRIPLEAF_TILT_PARTIAL_TILT = "partial_tilt"; public const BIG_DRIPLEAF_TILT_UNSTABLE = "unstable"; public const CAULDRON_LIQUID_LAVA = "lava"; public const CAULDRON_LIQUID_POWDER_SNOW = "powder_snow"; public const CAULDRON_LIQUID_WATER = "water"; public const CHEMISTRY_TABLE_TYPE_COMPOUND_CREATOR = "compound_creator"; public const CHEMISTRY_TABLE_TYPE_ELEMENT_CONSTRUCTOR = "element_constructor"; public const CHEMISTRY_TABLE_TYPE_LAB_TABLE = "lab_table"; public const CHEMISTRY_TABLE_TYPE_MATERIAL_REDUCER = "material_reducer"; public const CHISEL_TYPE_CHISELED = "chiseled"; public const CHISEL_TYPE_DEFAULT = "default"; public const CHISEL_TYPE_LINES = "lines"; public const CHISEL_TYPE_SMOOTH = "smooth"; public const CRACKED_STATE_CRACKED = "cracked"; public const CRACKED_STATE_MAX_CRACKED = "max_cracked"; public const CRACKED_STATE_NO_CRACKS = "no_cracks"; public const DRIPSTONE_THICKNESS_BASE = "base"; public const DRIPSTONE_THICKNESS_FRUSTUM = "frustum"; public const DRIPSTONE_THICKNESS_MERGE = "merge"; public const DRIPSTONE_THICKNESS_MIDDLE = "middle"; public const DRIPSTONE_THICKNESS_TIP = "tip"; public const LEVER_DIRECTION_DOWN_EAST_WEST = "down_east_west"; public const LEVER_DIRECTION_DOWN_NORTH_SOUTH = "down_north_south"; public const LEVER_DIRECTION_EAST = "east"; public const LEVER_DIRECTION_NORTH = "north"; public const LEVER_DIRECTION_SOUTH = "south"; public const LEVER_DIRECTION_UP_EAST_WEST = "up_east_west"; public const LEVER_DIRECTION_UP_NORTH_SOUTH = "up_north_south"; public const LEVER_DIRECTION_WEST = "west"; public const MC_BLOCK_FACE_DOWN = "down"; public const MC_BLOCK_FACE_EAST = "east"; public const MC_BLOCK_FACE_NORTH = "north"; public const MC_BLOCK_FACE_SOUTH = "south"; public const MC_BLOCK_FACE_UP = "up"; public const MC_BLOCK_FACE_WEST = "west"; public const MC_CARDINAL_DIRECTION_EAST = "east"; public const MC_CARDINAL_DIRECTION_NORTH = "north"; public const MC_CARDINAL_DIRECTION_SOUTH = "south"; public const MC_CARDINAL_DIRECTION_WEST = "west"; public const MC_FACING_DIRECTION_DOWN = "down"; public const MC_FACING_DIRECTION_EAST = "east"; public const MC_FACING_DIRECTION_NORTH = "north"; public const MC_FACING_DIRECTION_SOUTH = "south"; public const MC_FACING_DIRECTION_UP = "up"; public const MC_FACING_DIRECTION_WEST = "west"; public const MC_VERTICAL_HALF_BOTTOM = "bottom"; public const MC_VERTICAL_HALF_TOP = "top"; public const ORIENTATION_DOWN_EAST = "down_east"; public const ORIENTATION_DOWN_NORTH = "down_north"; public const ORIENTATION_DOWN_SOUTH = "down_south"; public const ORIENTATION_DOWN_WEST = "down_west"; public const ORIENTATION_EAST_UP = "east_up"; public const ORIENTATION_NORTH_UP = "north_up"; public const ORIENTATION_SOUTH_UP = "south_up"; public const ORIENTATION_UP_EAST = "up_east"; public const ORIENTATION_UP_NORTH = "up_north"; public const ORIENTATION_UP_SOUTH = "up_south"; public const ORIENTATION_UP_WEST = "up_west"; public const ORIENTATION_WEST_UP = "west_up"; public const PILLAR_AXIS_X = "x"; public const PILLAR_AXIS_Y = "y"; public const PILLAR_AXIS_Z = "z"; public const PORTAL_AXIS_UNKNOWN = "unknown"; public const PORTAL_AXIS_X = "x"; public const PORTAL_AXIS_Z = "z"; public const SEA_GRASS_TYPE_DEFAULT = "default"; public const SEA_GRASS_TYPE_DOUBLE_BOT = "double_bot"; public const SEA_GRASS_TYPE_DOUBLE_TOP = "double_top"; public const SPONGE_TYPE_DRY = "dry"; public const SPONGE_TYPE_WET = "wet"; public const STRUCTURE_BLOCK_TYPE_CORNER = "corner"; public const STRUCTURE_BLOCK_TYPE_DATA = "data"; public const STRUCTURE_BLOCK_TYPE_EXPORT = "export"; public const STRUCTURE_BLOCK_TYPE_INVALID = "invalid"; public const STRUCTURE_BLOCK_TYPE_LOAD = "load"; public const STRUCTURE_BLOCK_TYPE_SAVE = "save"; public const STRUCTURE_VOID_TYPE_AIR = "air"; public const STRUCTURE_VOID_TYPE_VOID = "void"; public const TORCH_FACING_DIRECTION_EAST = "east"; public const TORCH_FACING_DIRECTION_NORTH = "north"; public const TORCH_FACING_DIRECTION_SOUTH = "south"; public const TORCH_FACING_DIRECTION_TOP = "top"; public const TORCH_FACING_DIRECTION_UNKNOWN = "unknown"; public const TORCH_FACING_DIRECTION_WEST = "west"; public const TURTLE_EGG_COUNT_FOUR_EGG = "four_egg"; public const TURTLE_EGG_COUNT_ONE_EGG = "one_egg"; public const TURTLE_EGG_COUNT_THREE_EGG = "three_egg"; public const TURTLE_EGG_COUNT_TWO_EGG = "two_egg"; public const VAULT_STATE_ACTIVE = "active"; public const VAULT_STATE_EJECTING = "ejecting"; public const VAULT_STATE_INACTIVE = "inactive"; public const VAULT_STATE_UNLOCKING = "unlocking"; public const WALL_BLOCK_TYPE_ANDESITE = "andesite"; public const WALL_BLOCK_TYPE_BRICK = "brick"; public const WALL_BLOCK_TYPE_COBBLESTONE = "cobblestone"; public const WALL_BLOCK_TYPE_DIORITE = "diorite"; public const WALL_BLOCK_TYPE_END_BRICK = "end_brick"; public const WALL_BLOCK_TYPE_GRANITE = "granite"; public const WALL_BLOCK_TYPE_MOSSY_COBBLESTONE = "mossy_cobblestone"; public const WALL_BLOCK_TYPE_MOSSY_STONE_BRICK = "mossy_stone_brick"; public const WALL_BLOCK_TYPE_NETHER_BRICK = "nether_brick"; public const WALL_BLOCK_TYPE_PRISMARINE = "prismarine"; public const WALL_BLOCK_TYPE_RED_NETHER_BRICK = "red_nether_brick"; public const WALL_BLOCK_TYPE_RED_SANDSTONE = "red_sandstone"; public const WALL_BLOCK_TYPE_SANDSTONE = "sandstone"; public const WALL_BLOCK_TYPE_STONE_BRICK = "stone_brick"; public const WALL_CONNECTION_TYPE_EAST_NONE = "none"; public const WALL_CONNECTION_TYPE_EAST_SHORT = "short"; public const WALL_CONNECTION_TYPE_EAST_TALL = "tall"; public const WALL_CONNECTION_TYPE_NORTH_NONE = "none"; public const WALL_CONNECTION_TYPE_NORTH_SHORT = "short"; public const WALL_CONNECTION_TYPE_NORTH_TALL = "tall"; public const WALL_CONNECTION_TYPE_SOUTH_NONE = "none"; public const WALL_CONNECTION_TYPE_SOUTH_SHORT = "short"; public const WALL_CONNECTION_TYPE_SOUTH_TALL = "tall"; public const WALL_CONNECTION_TYPE_WEST_NONE = "none"; public const WALL_CONNECTION_TYPE_WEST_SHORT = "short"; public const WALL_CONNECTION_TYPE_WEST_TALL = "tall"; } ```
David Morales (born 29 September 2003), is an American racing driver of Dominican and Argentine descent who most recently competed in the GB3 Championship with JHR Developments, and in Eurocup-3 with Drivex. Career Karting From 2012-2014, Morales competed in various karting championships in his home state of Florida. His best result was 8th, in the Rotax Micro Max category of the 2012 Florida Winter Tour. Lucas Oil Formula Car Race Series Morales made his car racing debut in the 2019 Lucas Oil Formula Car Race Series. NACAM Formula 4 Championship Morales competed in the 2019-20 NACAM Formula 4 Championship with Euromotor Sport, where he finished 9th in the standings with one podium. F4 British Championship In 2021, Morales stepped up to the F4 British Championship with Arden International. He came 18th in the standings with two podiums. Formula Regional Asian Championship Morales raced in the 2022 Formula Regional Asian Championship with Evans GP Academy. He finished 33rd in the standings. GB3 Championship Morales competed in the 2022 GB3 Championship with Arden International. He claimed 3rd place at Oulton Park for his one and only podium finish, and finished 22nd in the overall standings. Formula Regional Oceania Championship On 10 December 2022, it was announced that Morales would compete in the 2023 Formula Regional Oceania Championship with M2 Competition. He won race 3 of round 1 at Highlands Motorsport Park, the Dorothy Smith Memorial Cup, his first win of his single-seater racing career. Karting record Karting career summary Racing record Racing career summary * Season still in progress. Complete F4 British Championship results (key) (Races in bold indicate pole position) (Races in italics indicate fastest lap) Complete Formula Regional Asian Championship results (key) (Races in bold indicate pole position) (Races in italics indicate the fastest lap of top ten finishers) Complete GB3 Championship results (key) (Races in bold indicate pole position) (Races in italics indicate fastest lap) * Season still in progress. Complete Formula Regional Oceania Championship Results (key) (Races in bold indicate pole position) (Races in italics indicate fastest lap) Complete Eurocup-3 results * Season still in progress. References External links 2003 births Living people British F4 Championship drivers BRDC British Formula 3 Championship drivers Formula Regional Asian Championship drivers Arden International drivers Toyota Racing Series drivers M2 Competition drivers NACAM F4 Championship drivers Racing drivers from Florida JHR Developments drivers Drivex drivers Sportspeople from Fort Lauderdale, Florida American sportspeople of Dominican Republic descent American people of Argentine descent Evans GP drivers
```objective-c // // // 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. // #ifndef your_sha256_hashSCHEME_TEX_COORDS_PORTABLE_DECODER_H_ #define your_sha256_hashSCHEME_TEX_COORDS_PORTABLE_DECODER_H_ #include "draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_decoder.h" #include "draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_tex_coords_portable_predictor.h" #include "draco/compression/bit_coders/rans_bit_decoder.h" namespace draco { // Decoder for predictions of UV coordinates encoded by our specialized and // portable texture coordinate predictor. See the corresponding encoder for more // details. template <typename DataTypeT, class TransformT, class MeshDataT> class MeshPredictionSchemeTexCoordsPortableDecoder : public MeshPredictionSchemeDecoder<DataTypeT, TransformT, MeshDataT> { public: using CorrType = typename MeshPredictionSchemeDecoder<DataTypeT, TransformT, MeshDataT>::CorrType; MeshPredictionSchemeTexCoordsPortableDecoder(const PointAttribute *attribute, const TransformT &transform, const MeshDataT &mesh_data) : MeshPredictionSchemeDecoder<DataTypeT, TransformT, MeshDataT>( attribute, transform, mesh_data), predictor_(mesh_data) {} bool ComputeOriginalValues(const CorrType *in_corr, DataTypeT *out_data, int size, int num_components, const PointIndex *entry_to_point_id_map) override; bool DecodePredictionData(DecoderBuffer *buffer) override; PredictionSchemeMethod GetPredictionMethod() const override { return MESH_PREDICTION_TEX_COORDS_PORTABLE; } bool IsInitialized() const override { if (!predictor_.IsInitialized()) { return false; } if (!this->mesh_data().IsInitialized()) { return false; } return true; } int GetNumParentAttributes() const override { return 1; } GeometryAttribute::Type GetParentAttributeType(int i) const override { DRACO_DCHECK_EQ(i, 0); (void)i; return GeometryAttribute::POSITION; } bool SetParentAttribute(const PointAttribute *att) override { if (!att || att->attribute_type() != GeometryAttribute::POSITION) { return false; // Invalid attribute type. } if (att->num_components() != 3) { return false; // Currently works only for 3 component positions. } predictor_.SetPositionAttribute(*att); return true; } private: MeshPredictionSchemeTexCoordsPortablePredictor<DataTypeT, MeshDataT> predictor_; }; template <typename DataTypeT, class TransformT, class MeshDataT> bool MeshPredictionSchemeTexCoordsPortableDecoder< DataTypeT, TransformT, MeshDataT>::ComputeOriginalValues(const CorrType *in_corr, DataTypeT *out_data, int /* size */, int num_components, const PointIndex *entry_to_point_id_map) { if (num_components != MeshPredictionSchemeTexCoordsPortablePredictor< DataTypeT, MeshDataT>::kNumComponents) { return false; } predictor_.SetEntryToPointIdMap(entry_to_point_id_map); this->transform().Init(num_components); const int corner_map_size = static_cast<int>(this->mesh_data().data_to_corner_map()->size()); for (int p = 0; p < corner_map_size; ++p) { const CornerIndex corner_id = this->mesh_data().data_to_corner_map()->at(p); if (!predictor_.template ComputePredictedValue<false>(corner_id, out_data, p)) { return false; } const int dst_offset = p * num_components; this->transform().ComputeOriginalValue(predictor_.predicted_value(), in_corr + dst_offset, out_data + dst_offset); } return true; } template <typename DataTypeT, class TransformT, class MeshDataT> bool MeshPredictionSchemeTexCoordsPortableDecoder< DataTypeT, TransformT, MeshDataT>::DecodePredictionData(DecoderBuffer *buffer) { // Decode the delta coded orientations. int32_t num_orientations = 0; if (!buffer->Decode(&num_orientations) || num_orientations < 0) { return false; } predictor_.ResizeOrientations(num_orientations); bool last_orientation = true; RAnsBitDecoder decoder; if (!decoder.StartDecoding(buffer)) { return false; } for (int i = 0; i < num_orientations; ++i) { if (!decoder.DecodeNextBit()) { last_orientation = !last_orientation; } predictor_.set_orientation(i, last_orientation); } decoder.EndDecoding(); return MeshPredictionSchemeDecoder<DataTypeT, TransformT, MeshDataT>::DecodePredictionData(buffer); } } // namespace draco #endif // your_sha256_hashSCHEME_TEX_COORDS_PORTABLE_DECODER_H_ ```