text
stringlengths
1
22.8M
Lannercost is a rural locality in the Shire of Hinchinbrook, Queensland, Australia. In the , Lannercost had a population of 121 people. History Long Pocket State School opened on 26 July 1915 and closed on 14 February 1994. It was at 2062 Abergowrie Road (), now in Lannercost. Lannercost State School opened on 24 October 1929 and closed on 10 September 1962. It was on Lannercost Extension Road near the junction with Venables Crossing Road (). In the , Lannercost had a population of 121 people. Education There are no schools in Lannercost. The nearest primary school is Trebonne State School in neighbouring Trebonne to the south-east. The nearest secondary school is Ingham State High School in Ingham to the south-east. References Shire of Hinchinbrook Localities in Queensland
```objective-c /* * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * * path_to_url * * Unless required by applicable law or agreed to in writing, * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * specific language governing permissions and limitations */ #import <Foundation/Foundation.h> #import <WeexSDK/WXModuleProtocol.h> NS_ASSUME_NONNULL_BEGIN @interface WXDebugTool : NSObject<WXModuleProtocol> + (instancetype)sharedInstance; //+ (void)showFPS; + (void)setDebug:(BOOL)isDebug; + (BOOL)isDebug; + (void)setDevToolDebug:(BOOL)isDevToolDebug; + (BOOL)isDevToolDebug; + (void)setReplacedBundleJS:(NSURL*)url; + (NSString*)getReplacedBundleJS; + (void)setReplacedJSFramework:(NSURL*)url; + (NSString*)getReplacedJSFramework; + (BOOL) cacheJsService: (NSString *)name withScript: (NSString *)script withOptions: (NSDictionary * _Nullable) options; + (BOOL) removeCacheJsService: (NSString *)name; + (NSDictionary *) jsServiceCache; + (BOOL)isRemoteTracing; + (void)setRemoteTracing:(BOOL)isRemoteTracing; @end NS_ASSUME_NONNULL_END ```
```php <?php declare(strict_types=1); /** */ namespace OCA\Talk\Command\Developer; use OC\Core\Command\Base; use OCP\App\IAppManager; use OCP\IConfig; use OCP\Server; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class UpdateDocs extends Base { public function __construct( private IConfig $config, private IAppManager $appManager, ) { parent::__construct(); } public function isEnabled(): bool { return $this->config->getSystemValue('debug', false) === true; } protected function configure(): void { $this ->setName('talk:developer:update-docs') ->setDescription('Update documentation of commands') ; } protected function execute(InputInterface $input, OutputInterface $output): int { $info = $this->appManager->getAppInfo('spreed'); $documentation = "# Talk occ commands\n\n"; foreach ($info['commands'] as $namespace) { if ($namespace === self::class || $namespace === AgeChatMessages::class) { continue; } $command = $this->getCommand($namespace); $documentation .= $this->getDocumentation($command) . "\n"; } $handle = fopen(__DIR__ . '/../../../docs/occ.md', 'w'); fwrite($handle, $documentation); fclose($handle); return 0; } protected function getCommand(string $namespace): Command { $command = Server::get($namespace); // Clean full definition of command that have the default Symfony options $command->setApplication($this->getApplication()); return $command; } protected function getDocumentation(Command $command): string { $doc = '## ' . $command->getName() . "\n\n"; $doc .= $command->getDescription() . "\n\n"; $doc .= '### Usage' . "\n\n" . array_reduce( array_merge( [$command->getSynopsis()], $command->getAliases(), $command->getUsages() ), function ($carry, $usage) { return $carry.'* `'.$usage.'`'."\n"; } ); $doc .= $this->describeInputDefinition($command); return $doc; } protected function describeInputDefinition(Command $command): string { $definition = $command->getDefinition(); $text = ''; if (\count($definition->getArguments()) > 0) { $text .= "\n"; $text .= "| Arguments | Description | Is required | Is array | Default |\n"; $text .= '|---|---|---|---|---|'; foreach ($definition->getArguments() as $argument) { $describeInputArgument = $this->describeInputArgument($argument); if ($describeInputArgument) { $text .= "\n" . $describeInputArgument; } } $text .= "\n"; } if (\count($definition->getOptions()) > 0) { $text .= "\n"; $text .= "| Options | Description | Accept value | Is value required | Is multiple | Default |\n"; $text .= '|---|---|---|---|---|---|'; foreach ($definition->getOptions() as $option) { $describeInputOption = $this->describeInputOption($option); if ($describeInputOption) { $text .= "\n" . $describeInputOption; } } $text .= "\n"; } return $text; } protected function describeInputArgument(InputArgument $argument): string { $description = $argument->getDescription(); return '| `'.($argument->getName() ?: '<none>') . '` | ' . ($description ? preg_replace('/\s*[\r\n]\s*/', ' ', $description) : '') . ' | ' . ($argument->isRequired() ? 'yes' : 'no') . ' | ' . ($argument->isArray() ? 'yes' : 'no') . ' | ' . ($argument->isRequired() ? '*Required*' : '`' . str_replace("\n", '', var_export($argument->getDefault(), true)) . '`') . ' |'; } protected function describeInputOption(InputOption $option): string { $name = '--'.$option->getName(); if ($option->getShortcut()) { $name .= '\|-'.str_replace('|', '\|-', $option->getShortcut()); } $description = $option->getDescription(); return '| `' . $name . '` | ' . ($description ? preg_replace('/\s*[\r\n]\s*/', ' ', $description) : '') . ' | '. ($option->acceptValue() ? 'yes' : 'no') . ' | ' . ($option->isValueRequired() ? 'yes' : 'no') . ' | ' . ($option->isArray() ? 'yes' : 'no') . ' | ' . ($option->isValueRequired() ? '*Required*' : '`' . str_replace("\n", '', var_export($option->getDefault(), true)) . '`') . ' |'; } } ```
Domenico Barduzzi (Brisighella, Aug. 5, 1847 - Siena, Feb. 27, 1929) was an Italian dermatologist, hydrologist and scholar of problems pertaining to syphilis and its treatment. He is considered an innovator in the field of dermatology associated with venereology, especially in the study of dermosyphilopathy. He also distinguished himself in the fields of hydrology, social medicine, history of medicine and also as a politician at the university level. He was one of the promoters of the establishment of an Italian society of dermatology and syphilography, of which he became secretary. Biography Domenico Barduzzi was born in Brisighella on August 5, 1847, to Carlo Barduzzi, a land surveyor, and Angela Tani, a housewife. He undertook his early studies in his hometown, until 1863, when he took and passed the entrance examination at the Regio Liceo Torricelli in Faenza, and then completed the 1867–1868 school year at the Liceo Dante in Florence. He obtained a degree in Medicine in 1872 in Pisa, to which he added the Diploma of Free Practice obtained in 1874 in Florence and in 1882 the University Teaching Licence in Dermatology at the University of Modena thanks to his studies in dermatology under Augusto Michelacci. In 1883 he obtained the position of extraordinary professor of Dermosyphilopathy in the University of Pisa and in the following year participated in the competition for the same chair and ranked third, while the winner was Celso Pellizzari, who was already an extraordinary professor in Siena. After Pellizzari's transfer, Barduzzi was initially offered the vacancy in Siena, which he declined, and in 1886 he passed the competition for the chair of clinical dermosyphilopathy at the University of Siena in which he became dean of the Faculty of Medicine in 1901. Rector in alternate years between 1898 and 1912, he retained the professorship until 1922. He received, among others, high honors such as the appointment as Knight of the Order of the Crown of Italy in 1891 and the appointment as Grand Officer of the Crown of Italy in 1922, and devoted himself to the study of hydrology, contributing to specialist journals and magazines and taking on numerous offices and positions, including directing the San Giuliano Baths in 1885, and to research in the history of medicine, especially focusing on figures in Italian medicine such as Gentile da Foligno and Fabrici d'Acquapendente, both in 1919. Barduzzi and the university After winning the competition for a professorship in the University of Siena, unable to reconcile family life with his work as a freelancer in Pisa, he moved to Siena only in 1890, when he was appointed full professor. However, this did not prevent him from finding a favorable environment in Siena, quickly integrating himself into the university and city environment. In fact, in 1887 he became an ordinary member of the Accademia dei Fisiocritici, until being elected its president from 1893 to 1896 and also from 1908 until his death. In 1892 he was elected councilor of the City of Siena, a position he held until 1908. In addition to being a professor, he also distinguished himself as an administrator and defender of the University of Siena in the post-unification period, which was marked by a climate of great uncertainty for higher education and the University, speaking of parliamentary provisions such as: Along these lines, in 1894 he founded the University Union, which he directed for five years, a journal to which professors from all over the peninsula contributed, including Cesare Lombroso, Enrico Morselli and Vittorio Emanuele Orlando, in which he proposed: The journal expanded rapidly until it gave birth in 1902 to a nationwide magazine, L'Università italiana, published in Bologna and edited by Barduzzi himself and Raffaele Guerrieri. Among his other achievements as chancellor of the University of Siena, he coined the university's current historical seal, which was approved by the Consulta Araldica on January 4, 1896. Barduzzi and dermato-venereology Barduzzi officially entered the field of dermatology in 1883 with his appointment as lecturer having already shown his talent for the subject a few years earlier in the two-year period of advanced studies and practice in the discipline in order to obtain the university teaching licence. This degree allowed him to practice under Augusto Michelacci, professor of dermatology, and Pietro Pellizzari, as professor of venereology. Barduzzi's early studies focused mainly on syphilis and especially on the problems of its treatment. These studies were also influenced by the scientific activity of Pietro Pellizzari, who had conducted experiments on three voluntary subjects (at that time it was not forbidden in Tuscany to subject, especially condemned prisoners, to experiments of a scientific nature) in order to test whether syphilis could be transmitted by blood. Barduzzi, despite the initial fascination with this theory, which he approached with enthusiasm, understood that the most effective way to stop the spread of syphilis was mainly prophylaxis care and the need to address the problem from a social point of view, since there was no valid therapy at the time. Furthermore, Barduzzi became convinced that in order to defend the population from the rampant contagion of syphilis, dermatovenereologists would have to unite in an association, which was founded in 1885 in Perugia: Barduzzi joined the steering committee as secretary, after being one of the promoters of the statute. He was the promoter in Italy of the use of salvarsan, the arsenical preparation patented by Paul Ehrlich for the treatment of syphilis, sensing the importance of creating a precise protocol for testing the drug and anticipating current pluricentric trials. Prominent among his pupils were Vittorio Mibelli and Pio Colombini; the former achieved great fame even beyond national borders thanks to his description of two new skin diseases, namely Mibelli's angiokeratoma and porokeratosis, while the latter became a professor in Sassari and Modena but failed to continue the master's work. Barduzzi and hydrology In his early thirties, in 1881, Barduzzi began his experience as a hydrologist with the direction of the Castrocaro Thermal Baths in the province of Forlì, and then in 1885 he temporarily obtained the vacant post of medical director of the San Giuliano Thermal Baths in the province of Pisa, a post he then obtained definitively the following year and which he never left again until the end of his career. In the same year he co-founded and promoted the Italian Medical Association of Hydrology and Climatology along with Scipione Vinaj, Pietro Grocco, Luigi Pagliani, and Luigi Burgonzio. He quickly became one of the leading figures in Italian hydrology and climatology between the 19th and 20th centuries, so much so that he was appointed, among the many offices and positions he held, delegate of the Italian Association of Hydrology and Climatology to the International Congress in Brussels in 1897, president of the Ninth National Congress of Hydrology and Climatology in San Remo in 1908 and in 1910 of the Tenth National Congress of Hydrology, Climatology and Physical Therapy in Salò during which he drew the attention of the audience of scholars to the spread of artificially mineralized waters. His hydrological research unhinges the empiricism of the old and obsolete therapy according to which the beneficial properties of mineral water were directly proportional to the high presence of total dissolved solids and demonstrates how their chemical composition is instead fundamental, considering their acidic, basic elements and all those phenomena that have little or nothing to do with overall mineralization. Barduzzi verified how at the basis of the beneficial properties of the waters of the San Giuliano Baths is the presence of considerable radioactivity, which had already been found by the Italian physicist Angelo Battelli and also confirmed in 1908 by Marie Curie. Beneficial properties found especially in cases of eczema, psoriasis, neurodermatitis, in some varieties of acne and prurigo nodularis and especially in varicose ulcers. Barduzzi vigorously advocated in all his speeches the priority of renewing hydrological studies by combating balneotherapeutic empiricism and the rigorous chemical-physical and clinical study of water sources; he also considered it necessary to supervise with specific regulations the reservoirs with the imposition of frequent chemical and bacteriological analyses. In fact, according to Barduzzi himself, the legislative model to follow is the French one, which had long since regulated the water resources system with specific laws and regulations. He was concerned with crenotherapeutic treatment of skin diseases, but did not neglect other methods of treatment related to crenotherapy such as hydrotherapy, physiotherapy, phototherapy and electrotherapy. He also considered it essential to take care of the water supply, and in particular he dealt with the case of Siena, in which the water system could provide 38 liters of water per person per day, very little compared to the minimum then set at 150 liters per person, believing it essential to follow the idea of Rudolf Virchow, who considered a consistent water supply fundamental to the economic development of a city. Barduzzi and the history of medicine There are basically three crucial moments in Barduzzi's life as a historian of medicine: the establishment of the Italian Society of the History of Medicine in 1907, the founding of the Journal of Critical History of Medical and Natural Sciences as the official organ of the society itself, and the establishment of the Chair of the History of Medicine in Siena in 1922. He is the author of numerous publications on personalities in the history of Italian and European medicine, among whom are Andreas Vesalius, Galileo Galilei, Leonardo da Vinci, Evangelista Torricelli, Vincenzo Chiarugi, Francesco Puccinotti and many others; he also devoted himself with passion to the collection of news about the University of Siena, an effort that took him about twelve years to complete because of the great difficulties he encountered in finding the necessary documents. His most important publications in this regard are: Cenni storici sull'Università di Siena (1900), Documenti per la storia dell'Università di Siena (1900), Di alcune vicende storiche moderne dello studio senese (1902), Cenni storici sull'origine dell'Università di Siena (1910), Brevi notizie sulla R. Università di Siena (1912). Through these and a variety of other works he would become the forerunner in Italy for a methodical, precise and rational study of the history of medicine, which would abandon anecdotes and rhetoric to become a real science and thus of fundamental importance in academic study. In fact, he argued how indispensable it is for all physicians to have a clear knowledge of the history of medical scientific doctrines, as it is essential for understanding the objective value of any new scientific discovery, and, again in this regard, he stated in an 1899 paper: Also in the academic year 1912–1913, at the initiative of the Faculty of Medicine of Siena and with the approval of the Higher Council of Education, he began his teaching of the history of medicine at the University of Siena, then called a free course in Critical History of Medical Sciences. The course was initially classified as a 3rd category, that is, as a supplementary course to be taught free of charge, and was confirmed from year to year until 1922, when Barduzzi was forced to leave teaching due to age limits. He is also the author of two Handbooks of the History of Medicine: the first in 1923, from the origins to the entire 17th century, and the second in 1927, from the 18th century to the present. Barduzzi and social medicine Barduzzi's activity as a thermal therapist, in addition to being the starting point for his career as a hydrologist, also became the moment in which he approached medicine from a social point of view, devoting himself in particular to the care of prophylaxis, already considered of great importance in the prevention of syphilis, and hygiene, practices that he would also consider fundamental in the fight against tuberculosis. Indeed, it was he as president of the Accademia dei Fisiocritici who was the first in Italy to set up a standing committee for the fight against tuberculosis in November 1898, and about the importance of hygiene education, he says: He is also one of the first to identify and analyze the social causes and pathological effects of alcoholism, a scourge of the working class in the early 20th century, even though alcohol was then considered by many even necessary for the nutrition of a man engaged in heavy labor. In this regard he states: Concerning the bill on the care of abandoned children he denounced, in 1908 at the Dermatological Congress and Physiocritics, the degradation, neglect and the very inability of the relevant institutions to handle the situation itself. The total lack of hygienic and prophylactic standards, the absence of sanitary management, and the carelessness in enforcing the most elementary laws and provisions are the bleak picture that Barduzzi describes on the basis of the data of the Commission of Inquiry. He also raised against the prejudice about syphilis, understanding that the mystery about it prevented the provision of certain data and thus the best way to combat it, and proposed more preventive controls on the health of the wet nurses and the drawing up of precise statistical reports regarding children. Despite the pressure exerted, all the issues raised by the Brisighella doctor are absolutely neglected in the bill, proving to be a text drafted by bureaucrats without any specific medical expertise. Memories and monuments He is portrayed in a bas-relief made by the Sienese sculptor Emilio Gallori in 1915, of which the original cast is kept in the Museum of the University of Siena, while bronze reproductions can be found in the aula magna of the Accademia dei Fisiocritici, on a plaque commemorating his home in Siena on Via S.Martino and on his grave in the cemetery of Brisighella. Major works Dell'uso del fosforo di zinco in alcune dermatosi croniche, Milano, Vallardi, 1874. Dell'idroterapia nelle febbri tifoidee, Raccoglitore Medico, II, Forlì, 1874. Della vaccinazione e della rivaccinazione obbligatoria, Giorn. Italiano Malattie Veneree e della Pelle, XI, aprile, Milano, 1876. Studi critici di terapia chirurgica, Raccoglitore Medico, V, Forlì, 1876. Il solfato di rame nella pellagra, Pisa, Vannucchi, 1877. La sifilide cerebrale, Gazz. degli Osped., Milano, 1878. La chirurgia di Ippocrate, Commentario Clinico, Pisa, 1878. I nuovi orizzonti della dermatologia e sifilografia, Pisa, Vannucchi, 1887. Sulla virulenza del bubbone venereo, Boll. della Sez. dei Cultori delle Scienze Mediche, V, 120, Siena, 1887 Dell'efficacia dello ioduro di potassio nella terapia della psoriasi diffusa, Milano, Vallardi, 1888. Sulla profilassi pubblica della sifilide in rapporto con la prostituzione, Firenze, Niccolai, 1889. La malattia di Paget, Milano, Vallardi, 1890. Filippo Richard e la sua scuola, Milano, Vallardi, 1890. Sull'indisciplina delle nostre università, L'Unione Università, II, 300, Siena, 1895. La legislazione universitaria italiana e proposte di riforma, L'Unione Universitaria, II, 371, Siena, 1895. Terme di S.Giuliano, Siena, Lazzeri, 1898. Recenti conquiste nella guarigione della tubercolosi, Siena, Nava, 1899. Sul valore dell'alcool nella nutrizione degli operai, Bene Sociale, Perugia, 1901. Le acque minerali e le correzioni che si fanno in esse, Perugia, Unione Cooperativa, 1901. Per l'insegnamento della Storia della Medicina, L'Università Italiana, I, 45, Bologna, 1902 Etat moleculaire et unique et radioactivitè des eaux minerales, Atti Congresso Fisioterapico, Roma, Nazionale, 1907. Della necessità di ripristinare nelle Università lo studio della storia critica della medicina, Faenza, Del Pozzo, 1911 La tavola anatomica e di codici marciani, Riv. Storia Critica della Medicina, Faenza, 1911 Le prime vaiolizzazioni in Italia, Riv. Storia Critica delle Scienze Med. e Nat., Grottaferrata, 1912. Le medichesse nell'epigrafia romana antica, Riv. Storia Critica delle Scienze Med. e Nat., II, 87, Grottaferrata, 1913. I libri di preparazioni anatomiche del dottor. Antonio Maria Vasalva, Riv. Storia Critica delle Scienze Med. e Nat., II, 355, Grottaferrata, 1914. La medicina nell'antica Roma nei poeti satirici latini, Riv. Storia Critica delle Scienze Med. e Nat., III, 55, Siena, 1919. Gentile da Foligno allo studio senese, Riv. Storia Critica delle Scienze Med. e Nat., Siena, 1919. Per un necessario provvedimento legislativo sanitario, Avvenire Sanitario, Milano, 1927. See also Dermatology Venereology Hydrology History of medicine References Bibliography External links Italian dermatologists 19th-century Italian physicians 20th-century Italian physicians 1847 births 1929 deaths People from Ravenna Medical historians Academic staff of the University of Siena
```java package org.lamport.tla.toolbox.tool.tlc; import org.eclipse.core.runtime.jobs.Job; import org.lamport.tla.toolbox.lifecycle.ToolboxLifecycleParticipant; import org.lamport.tla.toolbox.tool.tlc.job.TLCJob; /** * Stop all running org.lamport.tla.toolbox.tool.tlc jobs on shutdown * * @author Simon Zambrovski */ public class TLCLifecycleParticipant extends ToolboxLifecycleParticipant { /* (non-Javadoc) * @see org.lamport.tla.toolbox.tool.ToolboxLifecycleParticipant#terminate() */ public void terminate() { Job.getJobManager().cancel(TLCJob.AllJobsMatcher); } } ```
Tanja Machalet ( Breuer, born 1 May 1974) is a German politician of the Social Democratic Party (SPD). Machalet became a member of the Bundestag in the 2021 German federal election and she represents the constituency of Montabaur. Political career Career in state politics Machalet was deputy federal chairman of the Jusos from 1999 to 2003, of which she had been a member since 1991. In 2009, she was the SPD's candidate for district administrator in the Westerwald district, but lost to Achim Schwickert of the CDU. In 2011 and 2016, Machalet ran for the Rhineland-Palatinate state parliament in the electoral district of Montabaur and entered the state parliament for the SPD on the state list in both cases. In the legislative period from 2016, she was a member of the Budget and Finance Committee, the Committee for Social Affairs and Labor, and the Committee for Health, Care and Demography. She was also the budget policy spokesperson for the SPD parliamentary group. Machalet is a member of the municipal council of the Wallmerod municipality and the district council of the Westerwald district. In March 2020, Machalet announced that she would not run again in the election for the 18th state parliament of Rhineland-Palatinate. The district executive of the SPD in the Westerwaldkreis nominated Machalet to succeed Gabi Weber in the Bundestag constituency of Montabaur for the election to the 20th German Bundestag. On March 20, 2021, she was elected by the relevant delegate conference as the SPD direct candidate in the Bundestag constituency of Montabaur. Member of the German Parliament, 2021–present In the 2021 elections, Machalet was elected to the German Bundestag as a direct candidate in the Montabaur constituency. Within her parliamentary group, Machalet belongs to the Parliamentary Left, a left-wing movement. References Living people 1974 births Place of birth missing (living people) Members of the Bundestag for the Social Democratic Party of Germany Members of the Bundestag 2021–2025 Female members of the Bundestag 21st-century German women politicians
Penobscot Theatre Company (PTC), is located in Bangor, Maine. In 1973, George Vafiadis founded the Acadia Repertory Company, which spun off the Penobscot Theatre Company ten years later. Joe Turner Cantu became Artistic Director in 1990 and remained in that position through 1992. Mark Torres was next named Producing Artistic Director and stayed in that position for the next 13 seasons. , it is led by Artistic Director Jonathan Berry and Executive Director Jen Shepard. References External links Culture of Bangor, Maine Theatre companies in Maine Tourist attractions in Bangor, Maine
George Huntingdon may refer to: George Hastings, 1st Earl of Huntingdon (1488–1544), English peer, close friend of Henry VIII and the husband of the King's mistress, Anne Stafford George Hastings, 4th Earl of Huntingdon (1540–1604), English nobleman, grandson of the above George Hastings, 8th Earl of Huntingdon, (died 1705), English nobleman, son of the 7th Earl of Huntingdon See also George Huntington (disambiguation)
Maud Gatel (born 6 April 1979) is a French politician of the Democratic Movement (MoDem) who has been serving as the member of the National Assembly for the 11th constituency of Paris since 2021. She replaced Marielle de Sarnez after her death as her substitute. Her constituency covers parts of the 6th and 14th arrondissements. Political career Career in local politics Gatel was first elected to the Council of Paris in the 2014 municipal election. In 2020, she assumed the presidency of the MoDem group. Member of the National Assembly, 2021–present In 2021, Gatel became the member of the National Assembly for Paris's 11th constituency upon Marielle de Sarnez's death. She was re-elected in the 2022 French legislative election. In parliament, Gatel has been serving on the Committee on Foreign Affairs. In addition to her committee assignments, she is part of the French parliamentary friendship groups with Ukraine, Portugal, Rwanda and Burundi. References 1979 births Living people 21st-century French politicians 21st-century French women politicians Deputies of the 15th National Assembly of the French Fifth Republic Democratic Movement (France) politicians Women members of the National Assembly (France) Councillors of Paris Deputies of the 16th National Assembly of the French Fifth Republic
Seery is a surname of Irish origin. Notable people with the surname include: Colin Seery (born 1957), Australian rules footballer Emmett Seery (1861–1930), American baseball player Eva Seery (1874–1937), Australian political organiser John Seery (born 1941), American artist Neil Seery (born 1979), Irish mixed martial artist Thomas Seery (born 1945), American lawyer and politician References Surnames of Irish origin
```java /* * * This program and the accompanying materials are made * which is available at path_to_url * */ package org.eclipse.milo.opcua.sdk.server.nodes.delegates; import org.eclipse.milo.opcua.sdk.core.nodes.MethodNode; import org.eclipse.milo.opcua.sdk.server.nodes.AttributeContext; import org.eclipse.milo.opcua.sdk.server.nodes.UaMethodNode; import org.eclipse.milo.opcua.sdk.server.nodes.UaNode; import org.eclipse.milo.opcua.sdk.server.util.AttributeUtil; import org.eclipse.milo.opcua.stack.core.AttributeId; import org.eclipse.milo.opcua.stack.core.UaException; import org.eclipse.milo.opcua.stack.core.types.builtin.DataValue; import static org.eclipse.milo.opcua.sdk.server.util.AttributeUtil.dv; public interface GetSetMethodNode extends GetSetBase { default DataValue getMethodAttribute( AttributeContext context, UaMethodNode node, AttributeId attributeId ) throws UaException { switch (attributeId) { case Executable: return dv(isExecutable(context, node)); case UserExecutable: return dv(isUserExecutable(context, node)); default: return getBaseAttribute(context, node, attributeId); } } default void setMethodAttribute( AttributeContext context, UaMethodNode node, AttributeId attributeId, DataValue value ) throws UaException { switch (attributeId) { case Executable: setExecutable(context, node, AttributeUtil.extract(value)); break; case UserExecutable: setUserExecutable(context, node, AttributeUtil.extract(value)); break; default: setBaseAttribute(context, node, attributeId, value); } } default Boolean isExecutable(AttributeContext context, MethodNode node) throws UaException { return (Boolean) ((UaNode) node).getFilterChain().getAttribute( context.getSession().orElse(null), (UaNode) node, AttributeId.Executable ); } default Boolean isUserExecutable(AttributeContext context, MethodNode node) throws UaException { return (Boolean) ((UaNode) node).getFilterChain().getAttribute( context.getSession().orElse(null), (UaNode) node, AttributeId.UserExecutable ); } default void setExecutable(AttributeContext context, MethodNode node, Boolean executable) throws UaException { ((UaNode) node).getFilterChain().setAttribute( context.getSession().orElse(null), (UaNode) node, AttributeId.Executable, executable ); } default void setUserExecutable( AttributeContext context, MethodNode node, Boolean userExecutable ) throws UaException { ((UaNode) node).getFilterChain().setAttribute( context.getSession().orElse(null), (UaNode) node, AttributeId.UserExecutable, userExecutable ); } } ```
```php <?php /** * phpDocumentor * * PHP Version 5.3 * * @author Mike van Riel <mike.vanriel@naenius.com> * @copyright 2010-2011 Mike van Riel / Naenius (path_to_url * @license path_to_url MIT * @link path_to_url */ namespace phpDocumentor\Reflection\DocBlock; use phpDocumentor\Reflection\DocBlock; /** * Parses a tag definition for a DocBlock. * * @author Mike van Riel <mike.vanriel@naenius.com> * @license path_to_url MIT * @link path_to_url */ class Tag implements \Reflector { /** * PCRE regular expression matching a tag name. */ const REGEX_TAGNAME = '[\w\-\_\\\\]+'; /** @var string Name of the tag */ protected $tag = ''; /** * @var string|null Content of the tag. * When set to NULL, it means it needs to be regenerated. */ protected $content = ''; /** @var string Description of the content of this tag */ protected $description = ''; /** * @var array|null The description, as an array of strings and Tag objects. * When set to NULL, it means it needs to be regenerated. */ protected $parsedDescription = null; /** @var Location Location of the tag. */ protected $location = null; /** @var DocBlock The DocBlock which this tag belongs to. */ protected $docblock = null; /** * @var array An array with a tag as a key, and an FQCN to a class that * handles it as an array value. The class is expected to inherit this * class. */ private static $tagHandlerMappings = array( 'author' => '\phpDocumentor\Reflection\DocBlock\Tag\AuthorTag', 'covers' => '\phpDocumentor\Reflection\DocBlock\Tag\CoversTag', 'deprecated' => '\phpDocumentor\Reflection\DocBlock\Tag\DeprecatedTag', 'example' => '\phpDocumentor\Reflection\DocBlock\Tag\ExampleTag', 'link' => '\phpDocumentor\Reflection\DocBlock\Tag\LinkTag', 'method' => '\phpDocumentor\Reflection\DocBlock\Tag\MethodTag', 'param' => '\phpDocumentor\Reflection\DocBlock\Tag\ParamTag', 'property-read' => '\phpDocumentor\Reflection\DocBlock\Tag\PropertyReadTag', 'property' => '\phpDocumentor\Reflection\DocBlock\Tag\PropertyTag', 'property-write' => '\phpDocumentor\Reflection\DocBlock\Tag\PropertyWriteTag', 'return' => '\phpDocumentor\Reflection\DocBlock\Tag\ReturnTag', 'see' => '\phpDocumentor\Reflection\DocBlock\Tag\SeeTag', 'since' => '\phpDocumentor\Reflection\DocBlock\Tag\SinceTag', 'source' => '\phpDocumentor\Reflection\DocBlock\Tag\SourceTag', 'throw' => '\phpDocumentor\Reflection\DocBlock\Tag\ThrowsTag', 'throws' => '\phpDocumentor\Reflection\DocBlock\Tag\ThrowsTag', 'uses' => '\phpDocumentor\Reflection\DocBlock\Tag\UsesTag', 'var' => '\phpDocumentor\Reflection\DocBlock\Tag\VarTag', 'version' => '\phpDocumentor\Reflection\DocBlock\Tag\VersionTag' ); /** * Factory method responsible for instantiating the correct sub type. * * @param string $tag_line The text for this tag, including description. * @param DocBlock $docblock The DocBlock which this tag belongs to. * @param Location $location Location of the tag. * * @throws \InvalidArgumentException if an invalid tag line was presented. * * @return static A new tag object. */ final public static function createInstance( $tag_line, DocBlock $docblock = null, Location $location = null ) { if (!preg_match( '/^@(' . self::REGEX_TAGNAME . ')(?:\s*([^\s].*)|$)?/us', $tag_line, $matches )) { throw new \InvalidArgumentException( 'Invalid tag_line detected: ' . $tag_line ); } $handler = __CLASS__; if (isset(self::$tagHandlerMappings[$matches[1]])) { $handler = self::$tagHandlerMappings[$matches[1]]; } elseif (isset($docblock)) { $tagName = (string)new Type\Collection( array($matches[1]), $docblock->getContext() ); if (isset(self::$tagHandlerMappings[$tagName])) { $handler = self::$tagHandlerMappings[$tagName]; } } return new $handler( $matches[1], isset($matches[2]) ? $matches[2] : '', $docblock, $location ); } /** * Registers a handler for tags. * * Registers a handler for tags. The class specified is autoloaded if it's * not available. It must inherit from this class. * * @param string $tag Name of tag to regiser a handler for. When * registering a namespaced tag, the full name, along with a prefixing * slash MUST be provided. * @param string|null $handler FQCN of handler. Specifing NULL removes the * handler for the specified tag, if any. * * @return bool TRUE on success, FALSE on failure. */ final public static function registerTagHandler($tag, $handler) { $tag = trim((string)$tag); if (null === $handler) { unset(self::$tagHandlerMappings[$tag]); return true; } if ('' !== $tag && class_exists($handler, true) && is_subclass_of($handler, __CLASS__) && !strpos($tag, '\\') //Accept no slash, and 1st slash at offset 0. ) { self::$tagHandlerMappings[$tag] = $handler; return true; } return false; } /** * Parses a tag and populates the member variables. * * @param string $name Name of the tag. * @param string $content The contents of the given tag. * @param DocBlock $docblock The DocBlock which this tag belongs to. * @param Location $location Location of the tag. */ public function __construct( $name, $content, DocBlock $docblock = null, Location $location = null ) { $this ->setName($name) ->setContent($content) ->setDocBlock($docblock) ->setLocation($location); } /** * Gets the name of this tag. * * @return string The name of this tag. */ public function getName() { return $this->tag; } /** * Sets the name of this tag. * * @param string $name The new name of this tag. * * @return $this * @throws \InvalidArgumentException When an invalid tag name is provided. */ public function setName($name) { if (!preg_match('/^' . self::REGEX_TAGNAME . '$/u', $name)) { throw new \InvalidArgumentException( 'Invalid tag name supplied: ' . $name ); } $this->tag = $name; return $this; } /** * Gets the content of this tag. * * @return string */ public function getContent() { if (null === $this->content) { $this->content = $this->description; } return $this->content; } /** * Sets the content of this tag. * * @param string $content The new content of this tag. * * @return $this */ public function setContent($content) { $this->setDescription($content); $this->content = $content; return $this; } /** * Gets the description component of this tag. * * @return string */ public function getDescription() { return $this->description; } /** * Sets the description component of this tag. * * @param string $description The new description component of this tag. * * @return $this */ public function setDescription($description) { $this->content = null; $this->parsedDescription = null; $this->description = trim($description); return $this; } /** * Gets the parsed text of this description. * * @return array An array of strings and tag objects, in the order they * occur within the description. */ public function getParsedDescription() { if (null === $this->parsedDescription) { $description = new Description($this->description, $this->docblock); $this->parsedDescription = $description->getParsedContents(); } return $this->parsedDescription; } /** * Gets the docblock this tag belongs to. * * @return DocBlock The docblock this tag belongs to. */ public function getDocBlock() { return $this->docblock; } /** * Sets the docblock this tag belongs to. * * @param DocBlock $docblock The new docblock this tag belongs to. Setting * NULL removes any association. * * @return $this */ public function setDocBlock(DocBlock $docblock = null) { $this->docblock = $docblock; return $this; } /** * Gets the location of the tag. * * @return Location The tag's location. */ public function getLocation() { return $this->location; } /** * Sets the location of the tag. * * @param Location $location The new location of the tag. * * @return $this */ public function setLocation(Location $location = null) { $this->location = $location; return $this; } /** * Builds a string representation of this object. * * @todo determine the exact format as used by PHP Reflection and implement it. * * @return void * @codeCoverageIgnore Not yet implemented */ public static function export() { throw new \Exception('Not yet implemented'); } /** * Returns the tag as a serialized string * * @return string */ public function __toString() { return "@{$this->getName()} {$this->getContent()}"; } } ```
Francisco Goldman (born 1954) is an American novelist, journalist, and Allen K. Smith Professor of Literature and Creative Writing, Trinity College. His most recent novel, Monkey Boy (2021), was a finalist for the 2022 Pulitzer Prize for Fiction. Life Francisco Goldman was born in Boston, Massachusetts, to a Catholic Guatemalan mother and Jewish-American father. Goldman attended Hobart College, the University of Michigan and the New School for Social Research Seminar College. He studied translation at New York University, and is fluent in English and Spanish. He has taught at Columbia University in the MFA program; Brooklyn College; the Institute of New Journalism (founded by Gabriel Garcia Marquez) in Cartagena, Colombia; Mendez Pelayo Summer Institute in Santander, Spain; the North American Institute in Barcelona, Spain. He has been a resident of UCross Foundation. Francisco Goldman was awarded the Mary Ellen von der Heyden Fellowship for Fiction, and has been a Guggenheim Fellow, and a 2010 Fellow at the American Academy in Berlin. He has written for The New Yorker, the New York Times Magazine, Harper's and many other publications. He divides his time between Brooklyn and Mexico City; teaches creative writing and literature at Trinity College; and directs the Aura Estrada Prize. Career Francisco Goldman has published five novels and one book of non-fiction. His most recent novel is Monkey Boy, published in 2021 and a finalist for the 2022 Pulitzer Prize for Fiction. His prior novel, Say Her Name, was published in April 2011. His first novel, The Long Night of White Chickens (1992), won the Sue Kaufman Prize for First Fiction. His subsequent novels have been finalists for several prizes, including The Pen/Faulkner and the International Dublin Literary Award. The Art of Political Murder won The Index on Censorship T.R. Fyvel Book Award, The WOLA/Duke Human Rights Book Award, and has been shortlisted for the 2012 Ryszard Kapuscinski International Award for Literary Reportage. Say Her Name, in its French translation, won the 2011 Prix Femina Etranger. In November 2007, Goldman acted as guest-fiction editor for Guernica Magazine. The Ordinary Seaman was named one of the 100 Best American Books of the Century by The Hungry Mind Review. He received a Guggenheim Fellowship in 1998 and has been a fellow at the Cullman Center at the New York Public Library. His books have been translated and published in a total of 15 languages worldwide. In the 1980s, Goldman covered the wars in Central America as a contributing editor to Harper's magazine. Goldman's 2007 book, The Art of Political Murder: Who Killed the Bishop?, is a nonfiction account of the assassination of Guatemalan Catholic Bishop Juan José Gerardi Conedera by the Guatemalan military. The book, an expansion on his article in The New Yorker, represents the culmination of years of journalistic investigation. It was selected as a New York Times Notable Book, and a Best Book of the Year at Washington Post Book World, The Economist, The Chicago Tribune, The San Francisco Chronicle and the New York Daily News. The book has been widely acclaimed. The book is the winner of the 2008 TR Fyvel Freedom of Expression Book Award from the Index on Censorship and of the 2008 Duke University-WOLA (Washington Office on Latin America) Human Rights Book Prize. It was shortlisted for the 2008 Golden Dagger Award in non-fiction and for the inaugural Warwick Prize for Writing. The paperback edition was published with an Afterword meant to rebut critics in a "disinformation campaign" against the conclusions of the book. Marriage and family Goldman was married to Rebecca (Bex) Brian, the novelist, in the early 1980s. They divorced in 1985. In 2005, Goldman married Aura Estrada, who died in a bodysurfing accident in Mexico in 2007. He established The Aura Estrada Prize in her honor, to be given every two years to a female writer, 35 or under, who writes in Spanish and lives in the United States or Mexico. Goldman wrote about his wife's death and their relationship in the autobiographical novel Say Her Name. He adapted a portion of it as "The Wave," published in the February 7, 2011 edition of The New Yorker. Works Selected journalism, criticism and short fiction The New Yorker; New York Times Sunday Magazine; New York Review of Books; Book Forum; Esquire; Bomb In Mexico: Letras Libres; Gatopardo; Equis. Prologue to The Adventures and Misadventures of Maqroll, by Alvaro Mutis, published by New York Review of Books Classics, 2003. "Murder Comes for the Bishop", The New Yorker, March 15, 1999. "The Great Bolaño", The New York Review of Books, July 19, 2007. "Chapter 1: I Drank the Water", New York Times, June 27, 2007. "THE THOROUGHLY DESIGNED AMERICAN CHILDHOOD; A Robot For the Masses", November 28, 2004. "In The Shadow Of The Patriarch", New York Times, November 2, 2003. "Guatemala's Fictional Democracy", New York Times, November 3, 2003. "The Autumn of the Revolutionary", New York Times, August 23, 1998. "In Guatemala, All Is Forgotten", New York Times, December 23, 1996 "In a Terrorized Country", New York Times, April 17, 1995. "Ending Up in Downsville", (book review) New York Times, June 20, 1993. "Poetry and Power in Nicaragua", New York Times, March 29, 1987. Four Op-ed pieces in the New York Times, and two in the Los Angeles Times. Anthologized “Mexico DF” in the Beacon Press Best of 2001. ”Moro like Me” in Half and Half: Writers on Growing up Biracial and Bicultural. Translations Two short stories by Gabriel Garcia Marquez in Playboy Magazine, one of which, “The Trail of your *Blood in the Snow,” won that year’s National Magazine Award for fiction. Interviews "Susan Choi Talks with Francisco Goldman", The Believer, August 2004. Francisco Goldman talks to Semi Chellas", Brick: A Literary Journal, Winter 2004 (Issue 74). "Literary Guisado: An Interview with Francisco Goldman" by Marion Winik, The Austin Chronicle, June 6, 1997. Francisco Goldman discusses his new book "The Divine Husband", NPR Morning Edition, October 27, 2004. Interview with Francisco Goldman by Whit Coppedge, Pif Magazine, October 30, 2008. References External links Francisco Goldman's Official Web Site Grove/Atlantic, Inc. Video: Truth and Reconciliation: A National Reckoning PEN World Voices at LIVE from the New York Public Library May 4, 2008 Lecture by Goldman on José Martí's years in New York (1878-1895), from the Key West Literary Seminar, 2004 Essay, "Six Stories Guest-Edited by Francisco Goldman" American Academy in Berlin. Francisco Goldman by Silvana Paternostro Bomb Francisco Goldman by Esther Allen Bomb 1954 births Living people 20th-century American novelists 21st-century American novelists American male novelists American people of Guatemalan descent Guatemalan male writers Writers from Brooklyn Novelists from New York City Writers from Mexico City Novelists from Boston Prix Femina Étranger winners American people of Jewish descent University of Michigan alumni PEN/Faulkner Award for Fiction winners 20th-century American male writers 21st-century American male writers Brooklyn College faculty
National Parks of New York Harbor is the name of an office of the National Park Service that coordinates administration of eleven NPS sites that include 23 unique destinations located in the New York metropolitan area. National Parks of New York Harbor was formed in 2003 and administers properties ranging from the Statue of Liberty National Monument in New York Harbor to Gateway National Recreation Area in several locations and Saint Paul's Church National Historic Site in Mount Vernon, New York. Despite its name, technically the office does not oversee any national parks, but rather national monuments, national memorials, national historic sites, and a large national recreation area. Properties overseen by the office make up and attract more than 12 million visitors each year. They are served by a visitor's center at Federal Hall National Memorial. History The National Parks of New York Harbor umbrella was created in September 2003 as a means of drawing more visitors to the National Park Service properties in the New York City region. The organizers' primary concern was the under-visitation of the parks that comprise the Gateway National Recreation Area, one of the first urban parks when it was created, rather than the acquisition of parkland. Maria Burks, the first Commissioner, was charged with increasing awareness of park units other than the Statue of Liberty and Ellis Island, and saw the solution to this problem as increasing the number of ferries that connect and serve the properties. As a result, when the ferry contract for the Statue of Liberty was up for bid, a discussion occurred about asking interested parties to include increased harbor service as part of their packages, but this request did not receive much focus in the end. Part of Federal Hall National Memorial was repurposed as a new visitors' center in late 2006 to meet the needs of the organization's diverse properties and the visitors thereto and the center has been used as a forum for visitor input into National Park Service programming. Sites As of 2017, sites included: New York Harbor Statue of Liberty National Monument Statue of Liberty Ellis Island Governors Island National Monument Manhattan Federal Hall National Memorial Castle Clinton National Monument Hamilton Grange National Historic Site General Grant National Memorial Theodore Roosevelt Birthplace National Historic Site African Burial Ground National Monument Stonewall National Monument and an affiliate, the Lower East Side Tenement Museum Jamaica Bay Canarsie Pier Floyd Bennett Field Jamaica Bay Wildlife Refuge Jacob Riis Park/Fort Tilden Staten Island Fort Wadsworth Miller Field Great Kills Park Sandy Hook Fort Hancock Sandy Hook Lighthouse Gunnison Beach Mount Vernon, New York Saint Paul's Church National Historic Site Fire suppression Many of the National Park Service (NPS) sites in New York and New Jersey maintain structural firefighters or wildland firefighters depending on the type of the site. Structural fire suppression for the Statue of Liberty (Liberty Island) is provided by the City Of New York Fire Department and by the Jersey City Fire Department at Ellis Island. Initial and supplemental support is provided by the National Park Service which created the Statue of Liberty Fire Brigade in 2011. The Statue of Liberty Fire Brigade consists of a crew of federal NPS firefighters who are trained and certified as Structural Firefighter I, Structural Firefighter II and Wildland Firefighters. Fire suppression for Sandy Hook National Recreation area is provided solely by the National Park Service Sandy Hook Fire Brigade and an NPS Wildland Fire Crew with Wildfire Brush Truck is maintained year-round in Staten Island for the Staten Island Gateway Sites. For additional wildland fire support on large fires (such as the fires at Great Kills Park in recent years) firefighters from the Statue of Liberty Fire Brigade and the Sandy Hook Fire Department have responded to supplement the NPS wildland firefighters assigned to Staten Island. Fire suppression for Governors Island is provided by the Fire Department of the City of New York. Emergency medical services Emergency medical care on Liberty Island and Ellis Island is provided year-round by National Park Service Emergency Medical Technicians. Patient transports are coordinated with Jersey City Medical Center Ambulances but emergency response and patient care on the islands falls solely upon the National Park Service Emergency Medical Technicians. Emergency medical care at Gateway parks in Brooklyn and Staten Island is provided jointly by seasonal National Park Service Emergency Medical Technicians and the City Of New York. Emergency medical care at Governors Island and Manhattan sites are provided by contracted "Senior Care EMS" Emergency Medical Technicians. Conservancy The National Parks of New York Harbor Conservancy is a 501(c)(3) non-profit organization with offices on Wall Street in New York that works in partnership with the National Parks of New York Harbor. Its 2006, revenues (mostly donations) were $1.255 million. Among its programs are a tour of the forts that comprise the harbor properties and efforts to deepen the connections between Gateway and the other properties in the Harbor. References External links National Parks of New York Harbor (U.S. Park Service) National Parks of New York Harbor Conservancy National Park Service Port of New York and New Jersey
```kotlin package de.westnordost.streetcomplete.quests.roof_shape import de.westnordost.streetcomplete.R import de.westnordost.streetcomplete.quests.roof_shape.RoofShape.CONE import de.westnordost.streetcomplete.quests.roof_shape.RoofShape.DOME import de.westnordost.streetcomplete.quests.roof_shape.RoofShape.DOUBLE_SALTBOX import de.westnordost.streetcomplete.quests.roof_shape.RoofShape.FLAT import de.westnordost.streetcomplete.quests.roof_shape.RoofShape.GABLED import de.westnordost.streetcomplete.quests.roof_shape.RoofShape.GAMBREL import de.westnordost.streetcomplete.quests.roof_shape.RoofShape.HALF_HIPPED import de.westnordost.streetcomplete.quests.roof_shape.RoofShape.HIPPED import de.westnordost.streetcomplete.quests.roof_shape.RoofShape.MANSARD import de.westnordost.streetcomplete.quests.roof_shape.RoofShape.MANY import de.westnordost.streetcomplete.quests.roof_shape.RoofShape.ONION import de.westnordost.streetcomplete.quests.roof_shape.RoofShape.PYRAMIDAL import de.westnordost.streetcomplete.quests.roof_shape.RoofShape.QUADRUPLE_SALTBOX import de.westnordost.streetcomplete.quests.roof_shape.RoofShape.ROUND import de.westnordost.streetcomplete.quests.roof_shape.RoofShape.ROUND_GABLED import de.westnordost.streetcomplete.quests.roof_shape.RoofShape.SALTBOX import de.westnordost.streetcomplete.quests.roof_shape.RoofShape.SKILLION import de.westnordost.streetcomplete.view.image_select.DisplayItem import de.westnordost.streetcomplete.view.image_select.Item fun RoofShape.asItem(): DisplayItem<RoofShape>? { val iconResId = iconResId ?: return null return Item(this, iconResId) } private val RoofShape.iconResId: Int? get() = when (this) { GABLED -> R.drawable.ic_roof_gabled HIPPED -> R.drawable.ic_roof_hipped FLAT -> R.drawable.ic_roof_flat PYRAMIDAL -> R.drawable.ic_roof_pyramidal HALF_HIPPED -> R.drawable.ic_roof_half_hipped SKILLION -> R.drawable.ic_roof_skillion GAMBREL -> R.drawable.ic_roof_gambrel ROUND -> R.drawable.ic_roof_round DOUBLE_SALTBOX -> R.drawable.ic_roof_double_saltbox SALTBOX -> R.drawable.ic_roof_saltbox MANSARD -> R.drawable.ic_roof_mansard DOME -> R.drawable.ic_roof_dome QUADRUPLE_SALTBOX -> R.drawable.ic_roof_quadruple_saltbox ROUND_GABLED -> R.drawable.ic_roof_round_gabled ONION -> R.drawable.ic_roof_onion CONE -> R.drawable.ic_roof_cone MANY -> null } ```
Douglas Dunn is an American dancer and choreographer based in New York City. Choreography Dunn premiered his professional company, Douglas Dunn and Dancers, in 1976, where he served as artistic director. He was commissioned by various companies to choreograph works including the Paris Opera Ballet, Groupe de Recherche Choréographique de l'Opéra de Paris, Grande Ballet de Bordeaux, New Dance Ensemble of Minneapolis, Walker Art Center (Minneapolis), Repertory Dance Theater (Salt Lake City), Ballet Théâtre Francais de Nancy, Institute for Contemporary Art (Boston), Perth Institute of Contemporary Art (Australia), and Portland State University (Oregon). Dunn uses many different choreographic elements in his dances which makes it hard to classify him into a specific genre of dance. He conveyed a minimalist approach in his work by using elements of silence, stillness, simple movements, text, pedestrian movements, gestures, wit, and humor. He also incorporated varying aesthetics such as elaborate costume, music, set designs, and lights. In 101, a performance exhibit choreographed in 1974, Dunn used his apartment to create a maze of cubes of rough-hewn lumber that covered his entire loft. For four hours a day and six days a week in two months he held an open studio for viewers to enter the set and explore his creation in which they would find him lying on top of the boxes in a sort of trance with his eyes closed. Among Dunn's best-known works are, Nevada, Four for Nothing, 101, Octopus, Time Out, Gestures in Red, and Lazy Madge. He is mostly known for creating solo pieces like Lazy Madge, Haole, and Nevada. However, he also created many group pieces like Celeste in 1977 which featured about forty dancers. and many later large group works such as Stucco Moon, Spell For Opening The Mouth Of N, Informations, Cleave, Buridan's Ass, and Cassations. In 1980, Dunn created Pulcinella as a commission for the Paris Opera Ballet. He was commissioned by l'Opéra de Paris in 1981 to set his work, Cycles, on the Groupe de Recherche Chorégraphique. References Notes Bibliography Banes, Sally. Terpsichore in Sneakers: Post-Modern Dance. Boston: Houghton Mifflin, 1979. Banes, Sally. "Dunn, Douglas." In International Encyclopedia of Dance, Vol. 2, ed. by Selma Jeanne Cohen. New York: Oxford University Press, 1998. Cohen-Stratyner, Barbara N. Biographical Dictionary of Dance. New York: Schirmer Books, 1982. Craine, Debra, and Judith Mackrell. The Oxford Dictionary of Dance. New York: Oxford University Press, 2000. Kowa, Rebekah J. "Dunn, Douglas." In International Dictionary of Modern Dance, ed. by Taryn Benbow-Pfalzgraf. Detroit, MI: St. James Press, 1998. External links Douglas Dunn and Dancers Living people American choreographers People from Palo Alto, California Year of birth missing (living people)
```go // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package cmpopts import ( "fmt" "reflect" "strings" "github.com/google/go-cmp/cmp" ) // filterField returns a new Option where opt is only evaluated on paths that // include a specific exported field on a single struct type. // The struct type is specified by passing in a value of that type. // // The name may be a dot-delimited string (e.g., "Foo.Bar") to select a // specific sub-field that is embedded or nested within the parent struct. func filterField(typ interface{}, name string, opt cmp.Option) cmp.Option { // TODO: This is currently unexported over concerns of how helper filters // can be composed together easily. // TODO: Add tests for FilterField. sf := newStructFilter(typ, name) return cmp.FilterPath(sf.filter, opt) } type structFilter struct { t reflect.Type // The root struct type to match on ft fieldTree // Tree of fields to match on } func newStructFilter(typ interface{}, names ...string) structFilter { // TODO: Perhaps allow * as a special identifier to allow ignoring any // number of path steps until the next field match? // This could be useful when a concrete struct gets transformed into // an anonymous struct where it is not possible to specify that by type, // but the transformer happens to provide guarantees about the names of // the transformed fields. t := reflect.TypeOf(typ) if t == nil || t.Kind() != reflect.Struct { panic(fmt.Sprintf("%T must be a non-pointer struct", typ)) } var ft fieldTree for _, name := range names { cname, err := canonicalName(t, name) if err != nil { panic(fmt.Sprintf("%s: %v", strings.Join(cname, "."), err)) } ft.insert(cname) } return structFilter{t, ft} } func (sf structFilter) filter(p cmp.Path) bool { for i, ps := range p { if ps.Type().AssignableTo(sf.t) && sf.ft.matchPrefix(p[i+1:]) { return true } } return false } // fieldTree represents a set of dot-separated identifiers. // // For example, inserting the following selectors: // // Foo // Foo.Bar.Baz // Foo.Buzz // Nuka.Cola.Quantum // // Results in a tree of the form: // // {sub: { // "Foo": {ok: true, sub: { // "Bar": {sub: { // "Baz": {ok: true}, // }}, // "Buzz": {ok: true}, // }}, // "Nuka": {sub: { // "Cola": {sub: { // "Quantum": {ok: true}, // }}, // }}, // }} type fieldTree struct { ok bool // Whether this is a specified node sub map[string]fieldTree // The sub-tree of fields under this node } // insert inserts a sequence of field accesses into the tree. func (ft *fieldTree) insert(cname []string) { if ft.sub == nil { ft.sub = make(map[string]fieldTree) } if len(cname) == 0 { ft.ok = true return } sub := ft.sub[cname[0]] sub.insert(cname[1:]) ft.sub[cname[0]] = sub } // matchPrefix reports whether any selector in the fieldTree matches // the start of path p. func (ft fieldTree) matchPrefix(p cmp.Path) bool { for _, ps := range p { switch ps := ps.(type) { case cmp.StructField: ft = ft.sub[ps.Name()] if ft.ok { return true } if len(ft.sub) == 0 { return false } case cmp.Indirect: default: return false } } return false } // canonicalName returns a list of identifiers where any struct field access // through an embedded field is expanded to include the names of the embedded // types themselves. // // For example, suppose field "Foo" is not directly in the parent struct, // but actually from an embedded struct of type "Bar". Then, the canonical name // of "Foo" is actually "Bar.Foo". // // Suppose field "Foo" is not directly in the parent struct, but actually // a field in two different embedded structs of types "Bar" and "Baz". // Then the selector "Foo" causes a panic since it is ambiguous which one it // refers to. The user must specify either "Bar.Foo" or "Baz.Foo". func canonicalName(t reflect.Type, sel string) ([]string, error) { var name string sel = strings.TrimPrefix(sel, ".") if sel == "" { return nil, fmt.Errorf("name must not be empty") } if i := strings.IndexByte(sel, '.'); i < 0 { name, sel = sel, "" } else { name, sel = sel[:i], sel[i:] } // Type must be a struct or pointer to struct. if t.Kind() == reflect.Ptr { t = t.Elem() } if t.Kind() != reflect.Struct { return nil, fmt.Errorf("%v must be a struct", t) } // Find the canonical name for this current field name. // If the field exists in an embedded struct, then it will be expanded. sf, _ := t.FieldByName(name) if !isExported(name) { // Avoid using reflect.Type.FieldByName for unexported fields due to // buggy behavior with regard to embeddeding and unexported fields. // See path_to_url for details. sf = reflect.StructField{} for i := 0; i < t.NumField() && sf.Name == ""; i++ { if t.Field(i).Name == name { sf = t.Field(i) } } } if sf.Name == "" { return []string{name}, fmt.Errorf("does not exist") } var ss []string for i := range sf.Index { ss = append(ss, t.FieldByIndex(sf.Index[:i+1]).Name) } if sel == "" { return ss, nil } ssPost, err := canonicalName(sf.Type, sel) return append(ss, ssPost...), err } ```
```dart // MIT-style license that can be found in the LICENSE file or at // path_to_url import 'dart:io'; import 'dart:convert'; import 'package:cli_pkg/cli_pkg.dart' as pkg; import 'package:cli_util/cli_util.dart'; import 'package:grinder/grinder.dart'; import 'package:http/http.dart' as http; import 'package:path/path.dart' as p; import 'package:pubspec_parse/pubspec_parse.dart'; import 'package:yaml/yaml.dart'; import 'utils.dart'; /// The path in which pub expects to find its credentials file. final String _pubCredentialsPath = p.join(applicationConfigHome('dart'), 'pub-credentials.json'); @Task('Deploy pkg/sass_api to pub.') Future<void> deploySassApi() async { // Write pub credentials Directory(p.dirname(_pubCredentialsPath)).createSync(recursive: true); File(_pubCredentialsPath).openSync(mode: FileMode.writeOnlyAppend) ..writeStringSync(pkg.pubCredentials.value) ..closeSync(); var client = http.Client(); var pubspecPath = "pkg/sass_api/pubspec.yaml"; var pubspec = Pubspec.parse(File(pubspecPath).readAsStringSync(), sourceUrl: p.toUri(pubspecPath)); // Remove the dependency override on `sass`, because otherwise it will block // publishing. var pubspecYaml = Map<dynamic, dynamic>.of( loadYaml(File(pubspecPath).readAsStringSync()) as YamlMap); pubspecYaml.remove("dependency_overrides"); File(pubspecPath).writeAsStringSync(json.encode(pubspecYaml)); // We use symlinks to avoid duplicating files between the main repo and // child repos, but `pub lish` doesn't resolve these before publishing so we // have to do so manually. for (var entry in Directory("pkg/sass_api") .listSync(recursive: true, followLinks: false)) { if (entry is! Link) continue; var target = p.join(p.dirname(entry.path), entry.targetSync()); entry.deleteSync(); File(entry.path).writeAsStringSync(File(target).readAsStringSync()); } log("dart pub publish ${pubspec.name}"); var process = await Process.start( p.join(sdkDir.path, "bin/dart"), ["pub", "publish", "--force"], workingDirectory: "pkg/sass_api"); LineSplitter().bind(utf8.decoder.bind(process.stdout)).listen(log); LineSplitter().bind(utf8.decoder.bind(process.stderr)).listen(log); if (await process.exitCode != 0) { fail("dart pub publish ${pubspec.name} failed"); } var response = await client.post( Uri.parse("path_to_url"), headers: { "accept": "application/vnd.github.v3+json", "content-type": "application/json", "authorization": githubAuthorization }, body: jsonEncode({ "ref": "refs/tags/${pubspec.name}/${pubspec.version}", "sha": Platform.environment["GITHUB_SHA"]! })); if (response.statusCode != 201) { fail("${response.statusCode} error creating tag:\n${response.body}"); } else { log("Tagged ${pubspec.name} ${pubspec.version}."); } } ```
Cegléd–Szeged railway line is the number 140 line of the MÁV. It is a simple/double track, electrified track. It goes on as Line number 100, which connects Budapest or Szolnok, Debrecen, Nyíregyháza. The line from Cegléd to Szeged is 118 km long. History After Pest had been connected with the railway northwards, it was also considered constructing railways in the southeastern direction. In 1846, a private company was founded in Szeged, associating itself with the Hungarian Central Railway, for the purpose of building a new railway from Cegléd via Kecskemét, Szeged to Temesvár. At the end of 1847, the most plan was once complete with the estimated budget. In May 1850, the company sent a deputation to Vienna in order to request the national financial support. The trade minister guaranteed the construction of the railway at the public expense and assigned Ghega to examine the plan and the financial report. Through the resolution of 5 May 1851, the section Cegléd–Szeged was arranged to be constructed at the public expense. On 3 September 1853, the section Cegléd–Félegyháza, and on 4 March 1854, the section Félegyháza–Szeged was respectively opened for traffic. For connection with the Banat, the railway bridge had to be built on the Tisa. With the acquisition of the State Railway Company (StEG) in 1855, the railway became part of it. On the other hand, the section Szeged–Temesvár was then on the construction. According to the document of the concession, the state was under the duty to construct the rest section to the end. Pictures Railway stations References Railway lines in Hungary
```xml /* * @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. */ import hasUint8ArraySupport = require( './index' ); // TESTS // // The function returns a boolean... { hasUint8ArraySupport(); // $ExpectType boolean } // The compiler throws an error if the function is provided arguments... { hasUint8ArraySupport( true ); // $ExpectError hasUint8ArraySupport( [], 123 ); // $ExpectError } ```
```html <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="author" content="{{ AUTHOR }}"> <meta name="description" content="{% block description %}{%endblock%}"> <meta name="viewport" content="width=device-width"> <title>{% block title %}{% endblock %} | {{ SITENAME }}</title> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> <link rel="icon" href="/favicon.ico" type="image/x-icon"> <link rel="alternate" type="application/atom+xml" title="{{ SITENAME }} blog atom feed" href="/feeds/all.atom.xml" /> <link href='path_to_url rel='stylesheet' type='text/css'> <link rel="stylesheet" href="path_to_url" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <link rel="stylesheet" type="text/css" href="/theme/css/icons.css"/> <style>{% include 'pygments.css' %}</style> <style>{% include 'main.css' %}</style> <script src="path_to_url"></script> <script src="path_to_url"></script> {% if ENABLE_MATHJAX %} <script src="path_to_url" type="text/javascript"></script> <script type="text/javascript"> init_mathjax = function() { if (window.MathJax) { // MathJax loaded MathJax.Hub.Config({ tex2jax: { inlineMath: [ ['$','$'], ["\\(","\\)"] ], displayMath: [ ['$$','$$'], ["\\[","\\]"] ] }, displayAlign: 'left', // Change this to 'center' to center equations. "HTML-CSS": { styles: {'.MathJax_Display': {"margin": 0}} } }); MathJax.Hub.Queue(["Typeset",MathJax.Hub]); } } init_mathjax(); </script> {% endif %} {% block extra_head %}{%endblock%} </head> <body> <header class="navbar navbar-inverse bs-docs-nav"> <div class="container-fluid"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#theNavbar"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="/{{ SITESUBURL }}" title="Home" class="title">{{ SITENAME }}</a> </div> <nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation" id="theNavbar"> <ul class="nav navbar-nav navbar-right"> {% if ABOUT_PAGE %} <li><a href="{{ ABOUT_PAGE }}" title="About">About</a></li> {% endif %} {% if PHOTOS_PAGE %} <li><a href="{{ PHOTOS_PAGE }}" title="Photos">Photos</a></li> {% endif %} {% if SHOW_ARCHIVES %} <li><a href="/archives.html" title="Archive">Archive</a></li> {% endif %} {% if SHOW_FEED %} <li><a class="nodec icon-rss" href="{{ FEED_ALL_ATOM }}" title="jakevdp.github.io RSS feed" rel="me"></a></li> {% endif %} </ul> </nav> </div> </header> <div id="wrap"> {% block content %}{% endblock %} </div> <!-- <footer> <p> 2012-2017 {{ AUTHOR }}, license <a href="{{ LICENSE_URL}}"> {{LICENSE_NAME }}</a> unless otherwise noted. Generated by <a href= "path_to_url">Pelican</a>. </p> </footer> --> {% include '_includes/analytics.html' %} </body> </html> ```
```html <!DOCTYPE html> <html lang="en" class="no-js"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <link rel="shortcut icon" href="../../assets/images/favicon.png"> <meta name="generator" content="mkdocs-0.16.3, mkdocs-material-1.6.1"> <title>Deploying Ponzu on Linux with System-V style init</title> <script src="../../assets/javascripts/modernizr-56ade86843.js"></script> <link rel="stylesheet" href="../../assets/stylesheets/application-4d0d3f2fbf.css"> <link rel="stylesheet" href="../../assets/stylesheets/application-f78e5cb881.palette.css"> <link rel="stylesheet" href="path_to_url|Roboto+Mono"> <style>body,input{font-family:"Roboto","Helvetica Neue",Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"Roboto Mono","Courier New",Courier,monospace}</style> <link rel="stylesheet" href="path_to_url"> </head> <body data-md-color-primary="grey" data-md-color-accent="light-blue"> <svg class="md-svg"> <defs> <svg xmlns="path_to_url" width="416" height="448" viewBox="0 0 416 448" id="github"><path fill="currentColor" d="M160 304q0 10-3.125 20.5t-10.75 19T128 352t-18.125-8.5-10.75-19T96 304t3.125-20.5 10.75-19T128 256t18.125 8.5 10.75 19T160 304zm160 0q0 10-3.125 20.5t-10.75 19T288 352t-18.125-8.5-10.75-19T256 304t3.125-20.5 10.75-19T288 256t18.125 8.5 10.75 19T320 304zm40 0q0-30-17.25-51T296 232q-10.25 0-48.75 5.25Q229.5 240 208 240t-39.25-2.75Q130.75 232 120 232q-29.5 0-46.75 21T56 304q0 22 8 38.375t20.25 25.75 30.5 15 35 7.375 37.25 1.75h42q20.5 0 37.25-1.75t35-7.375 30.5-15 20.25-25.75T360 304zm56-44q0 51.75-15.25 82.75-9.5 19.25-26.375 33.25t-35.25 21.5-42.5 11.875-42.875 5.5T212 416q-19.5 0-35.5-.75t-36.875-3.125-38.125-7.5-34.25-12.875T37 371.5t-21.5-28.75Q0 312 0 260q0-59.25 34-99-6.75-20.5-6.75-42.5 0-29 12.75-54.5 27 0 47.5 9.875t47.25 30.875Q171.5 96 212 96q37 0 70 8 26.25-20.5 46.75-30.25T376 64q12.75 25.5 12.75 54.5 0 21.75-6.75 42 34 40 34 99.5z"/></svg> </defs> </svg> <input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="drawer"> <input class="md-toggle" data-md-toggle="search" type="checkbox" id="search"> <label class="md-overlay" data-md-component="overlay" for="drawer"></label> <header class="md-header" data-md-component="header"> <nav class="md-header-nav md-grid"> <div class="md-flex"> <div class="md-flex__cell md-flex__cell--shrink"> <a href="../.." title="Ponzu" class="md-logo md-header-nav__button"> <img src="../../images/logo.png" width="24" height="24"> </a> </div> <div class="md-flex__cell md-flex__cell--shrink"> <label class="md-icon md-icon--menu md-header-nav__button" for="drawer"></label> </div> <div class="md-flex__cell md-flex__cell--stretch"> <span class="md-flex__ellipsis md-header-nav__title"> <span class="md-header-nav__parent"> System Deployment </span> SysV Style </span> </div> <div class="md-flex__cell md-flex__cell--shrink"> <label class="md-icon md-icon--search md-header-nav__button" for="search"></label> <div class="md-search" data-md-component="search"> <label class="md-search__overlay" for="search"></label> <div class="md-search__inner"> <form class="md-search__form" name="search"> <input type="text" class="md-search__input" name="query" required placeholder="Search" accesskey="s" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="query"> <label class="md-icon md-search__icon" for="search"></label> <button type="reset" class="md-icon md-search__icon" data-md-component="reset">close</button> </form> <div class="md-search__output"> <div class="md-search__scrollwrap" data-md-scrollfix> <div class="md-search-result" data-md-component="result"> <div class="md-search-result__meta" data-md-lang-result-none="No matching documents" data-md-lang-result-one="1 matching document" data-md-lang-result-other="# matching documents"> Type to start searching </div> <ol class="md-search-result__list"></ol> </div> </div> </div> </div> </div> </div> <div class="md-flex__cell md-flex__cell--shrink"> <div class="md-header-nav__source"> <a href="path_to_url" title="Go to repository" class="md-source" data-md-source="github"> <div class="md-source__icon"> <svg viewBox="0 0 24 24" width="24" height="24"> <use xlink:href="#github" width="24" height="24"></use> </svg> </div> <div class="md-source__repository"> ponzu-cms/ponzu </div> </a> </div> </div> </div> </nav> </header> <div class="md-container"> <main class="md-main"> <div class="md-main__inner md-grid" data-md-component="container"> <div class="md-sidebar md-sidebar--primary" data-md-component="navigation"> <div class="md-sidebar__scrollwrap"> <div class="md-sidebar__inner"> <nav class="md-nav md-nav--primary" data-md-level="0"> <label class="md-nav__title md-nav__title--site" for="drawer"> <i class="md-logo md-nav__button"> <img src="../../images/logo.png"> </i> Ponzu </label> <div class="md-nav__source"> <a href="path_to_url" title="Go to repository" class="md-source" data-md-source="github"> <div class="md-source__icon"> <svg viewBox="0 0 24 24" width="24" height="24"> <use xlink:href="#github" width="24" height="24"></use> </svg> </div> <div class="md-source__repository"> ponzu-cms/ponzu </div> </a> </div> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../.." title="Home" class="md-nav__link"> Home </a> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-toggle md-nav__toggle" data-md-toggle="nav-2" type="checkbox" id="nav-2"> <label class="md-nav__link" for="nav-2"> CLI </label> <nav class="md-nav" data-md-component="collapsible" data-md-level="1"> <label class="md-nav__title" for="nav-2"> CLI </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../CLI/General-Usage/" title="General Usage" class="md-nav__link"> General Usage </a> </li> <li class="md-nav__item"> <a href="../../CLI/Generating-References/" title="Generating References" class="md-nav__link"> Generating References </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-toggle md-nav__toggle" data-md-toggle="nav-3" type="checkbox" id="nav-3"> <label class="md-nav__link" for="nav-3"> Content </label> <nav class="md-nav" data-md-component="collapsible" data-md-level="1"> <label class="md-nav__title" for="nav-3"> Content </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../Content/An-Overview/" title="An Overview" class="md-nav__link"> An Overview </a> </li> <li class="md-nav__item"> <a href="../../Content/Extending-Content/" title="Extending Content" class="md-nav__link"> Extending Content </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-toggle md-nav__toggle" data-md-toggle="nav-4" type="checkbox" id="nav-4"> <label class="md-nav__link" for="nav-4"> Form Fields </label> <nav class="md-nav" data-md-component="collapsible" data-md-level="1"> <label class="md-nav__title" for="nav-4"> Form Fields </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../Form-Fields/HTML-Inputs/" title="HTML Inputs" class="md-nav__link"> HTML Inputs </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-toggle md-nav__toggle" data-md-toggle="nav-5" type="checkbox" id="nav-5"> <label class="md-nav__link" for="nav-5"> HTTP APIs </label> <nav class="md-nav" data-md-component="collapsible" data-md-level="1"> <label class="md-nav__title" for="nav-5"> HTTP APIs </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../HTTP-APIs/Content/" title="Content" class="md-nav__link"> Content </a> </li> <li class="md-nav__item"> <a href="../../HTTP-APIs/File-Metadata/" title="File Metadata" class="md-nav__link"> File Metadata </a> </li> <li class="md-nav__item"> <a href="../../HTTP-APIs/Search/" title="Search" class="md-nav__link"> Search </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-toggle md-nav__toggle" data-md-toggle="nav-6" type="checkbox" id="nav-6"> <label class="md-nav__link" for="nav-6"> Interfaces </label> <nav class="md-nav" data-md-component="collapsible" data-md-level="1"> <label class="md-nav__title" for="nav-6"> Interfaces </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../Interfaces/API/" title="API" class="md-nav__link"> API </a> </li> <li class="md-nav__item"> <a href="../../Interfaces/Editor/" title="Editor" class="md-nav__link"> Editor </a> </li> <li class="md-nav__item"> <a href="../../Interfaces/Format/" title="Format" class="md-nav__link"> Format </a> </li> <li class="md-nav__item"> <a href="../../Interfaces/Item/" title="Item" class="md-nav__link"> Item </a> </li> <li class="md-nav__item"> <a href="../../Interfaces/Search/" title="Search" class="md-nav__link"> Search </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-toggle md-nav__toggle" data-md-toggle="nav-7" type="checkbox" id="nav-7"> <label class="md-nav__link" for="nav-7"> Ponzu Addons </label> <nav class="md-nav" data-md-component="collapsible" data-md-level="1"> <label class="md-nav__title" for="nav-7"> Ponzu Addons </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../Ponzu-Addons/Creating-Addons/" title="Creating Addons" class="md-nav__link"> Creating Addons </a> </li> <li class="md-nav__item"> <a href="../../Ponzu-Addons/Using-Addons/" title="Using Addons" class="md-nav__link"> Using Addons </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-toggle md-nav__toggle" data-md-toggle="nav-8" type="checkbox" id="nav-8"> <label class="md-nav__link" for="nav-8"> Quickstart </label> <nav class="md-nav" data-md-component="collapsible" data-md-level="1"> <label class="md-nav__title" for="nav-8"> Quickstart </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../Quickstart/Overview/" title="Overview" class="md-nav__link"> Overview </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-toggle md-nav__toggle" data-md-toggle="nav-9" type="checkbox" id="nav-9"> <label class="md-nav__link" for="nav-9"> References </label> <nav class="md-nav" data-md-component="collapsible" data-md-level="1"> <label class="md-nav__title" for="nav-9"> References </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../References/Overview/" title="Overview" class="md-nav__link"> Overview </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-toggle md-nav__toggle" data-md-toggle="nav-10" type="checkbox" id="nav-10"> <label class="md-nav__link" for="nav-10"> Running Backups </label> <nav class="md-nav" data-md-component="collapsible" data-md-level="1"> <label class="md-nav__title" for="nav-10"> Running Backups </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../Running-Backups/Backups/" title="Backups" class="md-nav__link"> Backups </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-toggle md-nav__toggle" data-md-toggle="nav-11" type="checkbox" id="nav-11"> <label class="md-nav__link" for="nav-11"> System Configuration </label> <nav class="md-nav" data-md-component="collapsible" data-md-level="1"> <label class="md-nav__title" for="nav-11"> System Configuration </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../System-Configuration/Settings/" title="Settings" class="md-nav__link"> Settings </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--active md-nav__item--nested"> <input class="md-toggle md-nav__toggle" data-md-toggle="nav-12" type="checkbox" id="nav-12" checked> <label class="md-nav__link" for="nav-12"> System Deployment </label> <nav class="md-nav" data-md-component="collapsible" data-md-level="1"> <label class="md-nav__title" for="nav-12"> System Deployment </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../Docker/" title="Docker" class="md-nav__link"> Docker </a> </li> <li class="md-nav__item md-nav__item--active"> <input class="md-toggle md-nav__toggle" data-md-toggle="toc" type="checkbox" id="toc"> <a href="./" title="SysV Style" class="md-nav__link md-nav__link--active"> SysV Style </a> </li> </ul> </nav> </li> </ul> </nav> </div> </div> </div> <div class="md-sidebar md-sidebar--secondary" data-md-component="toc"> <div class="md-sidebar__scrollwrap"> <div class="md-sidebar__inner"> <nav class="md-nav md-nav--secondary"> </nav> </div> </div> </div> <div class="md-content"> <article class="md-content__inner md-typeset"> <h1>SysV Style</h1> <p>For reference, here is an example init script to run Ponzu servers. You must define the <code>PROJECT_DIR</code> &amp; <code>RUNAS</code> variables by replacing <code>&lt;PROJECT DIRECTORY&gt;</code> &amp; <code>&lt;USER&gt;</code> in the script below:</p> <div class="codehilite"><pre><span></span><span class="ch">#!/bin/sh</span> <span class="c1">### BEGIN INIT INFO</span> <span class="c1"># Provides: ponzu-server</span> <span class="c1"># Required-Start: $local_fs $network $named $time $syslog</span> <span class="c1"># Required-Stop: $local_fs $network $named $time $syslog</span> <span class="c1"># Default-Start: 2 3 4 5</span> <span class="c1"># Default-Stop: 0 1 6</span> <span class="c1"># Description: Ponzu API &amp; Admin server</span> <span class="c1">### END INIT INFO</span> <span class="nv">PROJECT_DIR</span><span class="o">=</span>&lt;PROJECT DIRECTORY&gt; <span class="nv">SCRIPT</span><span class="o">=</span><span class="s1">&#39;cd $PROJECT_DIR &amp;&amp; ponzu run --port=80&#39;</span> <span class="c1"># add --https here to get TLS/HTTPS</span> <span class="nv">RUNAS</span><span class="o">=</span>&lt;USER&gt; <span class="nv">PIDFILE</span><span class="o">=</span>/var/run/ponzu-server.pid <span class="nv">LOGFILE</span><span class="o">=</span>/var/log/ponzu-server.log start<span class="o">()</span> <span class="o">{</span> <span class="k">if</span> <span class="o">[</span> -f /var/run/<span class="nv">$PIDNAME</span> <span class="o">]</span> <span class="o">&amp;&amp;</span> <span class="nb">kill</span> -0 <span class="k">$(</span>cat /var/run/<span class="nv">$PIDNAME</span><span class="k">)</span><span class="p">;</span> <span class="k">then</span> <span class="nb">echo</span> <span class="s1">&#39;Service already running&#39;</span> &gt;<span class="p">&amp;</span><span class="m">2</span> <span class="k">return</span> <span class="m">1</span> <span class="k">fi</span> <span class="nb">echo</span> <span class="s1">&#39;Starting service&#39;</span> &gt;<span class="p">&amp;</span><span class="m">2</span> <span class="nb">local</span> <span class="nv">CMD</span><span class="o">=</span><span class="s2">&quot;</span><span class="nv">$SCRIPT</span><span class="s2"> &amp;&gt; \&quot;</span><span class="nv">$LOGFILE</span><span class="s2">\&quot; &amp; echo \$!&quot;</span> su -c <span class="s2">&quot;</span><span class="nv">$CMD</span><span class="s2">&quot;</span> <span class="nv">$RUNAS</span> &gt; <span class="s2">&quot;</span><span class="nv">$PIDFILE</span><span class="s2">&quot;</span> <span class="nb">echo</span> <span class="s1">&#39;Service started&#39;</span> &gt;<span class="p">&amp;</span><span class="m">2</span> <span class="o">}</span> stop<span class="o">()</span> <span class="o">{</span> <span class="k">if</span> <span class="o">[</span> ! -f <span class="s2">&quot;</span><span class="nv">$PIDFILE</span><span class="s2">&quot;</span> <span class="o">]</span> <span class="o">||</span> ! <span class="nb">kill</span> -0 <span class="k">$(</span>cat <span class="s2">&quot;</span><span class="nv">$PIDFILE</span><span class="s2">&quot;</span><span class="k">)</span><span class="p">;</span> <span class="k">then</span> <span class="nb">echo</span> <span class="s1">&#39;Service not running&#39;</span> &gt;<span class="p">&amp;</span><span class="m">2</span> <span class="k">return</span> <span class="m">1</span> <span class="k">fi</span> <span class="nb">echo</span> <span class="s1">&#39;Stopping service&#39;</span> &gt;<span class="p">&amp;</span><span class="m">2</span> <span class="nb">kill</span> -15 <span class="k">$(</span>cat <span class="s2">&quot;</span><span class="nv">$PIDFILE</span><span class="s2">&quot;</span><span class="k">)</span> <span class="o">&amp;&amp;</span> rm -f <span class="s2">&quot;</span><span class="nv">$PIDFILE</span><span class="s2">&quot;</span> <span class="nb">echo</span> <span class="s1">&#39;Service stopped&#39;</span> &gt;<span class="p">&amp;</span><span class="m">2</span> <span class="o">}</span> uninstall<span class="o">()</span> <span class="o">{</span> <span class="nb">echo</span> -n <span class="s2">&quot;Are you really sure you want to uninstall this service? That cannot be undone. [yes|No] &quot;</span> <span class="nb">local</span> SURE <span class="nb">read</span> SURE <span class="k">if</span> <span class="o">[</span> <span class="s2">&quot;</span><span class="nv">$SURE</span><span class="s2">&quot;</span> <span class="o">=</span> <span class="s2">&quot;yes&quot;</span> <span class="o">]</span><span class="p">;</span> <span class="k">then</span> stop rm -f <span class="s2">&quot;</span><span class="nv">$PIDFILE</span><span class="s2">&quot;</span> <span class="nb">echo</span> <span class="s2">&quot;Notice: log file is not be removed: &#39;</span><span class="nv">$LOGFILE</span><span class="s2">&#39;&quot;</span> &gt;<span class="p">&amp;</span><span class="m">2</span> update-rc.d -f &lt;NAME&gt; remove rm -fv <span class="s2">&quot;</span><span class="nv">$0</span><span class="s2">&quot;</span> <span class="k">fi</span> <span class="o">}</span> <span class="k">case</span> <span class="s2">&quot;</span><span class="nv">$1</span><span class="s2">&quot;</span> in start<span class="o">)</span> start <span class="p">;;</span> stop<span class="o">)</span> stop <span class="p">;;</span> uninstall<span class="o">)</span> uninstall <span class="p">;;</span> restart<span class="o">)</span> stop start <span class="p">;;</span> *<span class="o">)</span> <span class="nb">echo</span> <span class="s2">&quot;Usage: </span><span class="nv">$0</span><span class="s2"> {start|stop|restart|uninstall}&quot;</span> <span class="k">esac</span> </pre></div> </article> </div> </div> </main> <footer class="md-footer"> <div class="md-footer-nav"> <nav class="md-footer-nav__inner md-grid"> <a href="../Docker/" title="Docker" class="md-flex md-footer-nav__link md-footer-nav__link--prev" rel="prev"> <div class="md-flex__cell md-flex__cell--shrink"> <i class="md-icon md-icon--arrow-back md-footer-nav__button"></i> </div> <div class="md-flex__cell md-flex__cell--stretch md-footer-nav__title"> <span class="md-flex__ellipsis"> <span class="md-footer-nav__direction"> Previous </span> Docker </span> </div> </a> </nav> </div> <div class="md-footer-meta md-typeset"> <div class="md-footer-meta__inner md-grid"> <div class="md-footer-copyright"> powered by <a href="path_to_url" title="MkDocs">MkDocs</a> and <a href="path_to_url" title="Material for MkDocs"> Material for MkDocs</a> </div> <div class="md-footer-social"> <link rel="stylesheet" href="path_to_url"> <a href="path_to_url" class="md-footer-social__link fa fa-github"></a> <a href="path_to_url" class="md-footer-social__link fa fa-twitter"></a> </div> </div> </div> </footer> </div> <script src="../../assets/javascripts/application-6b599127bc.js"></script> <script>app.initialize({url:{base:"../.."}})</script> <script>!function(e,t,a,n,o,c,i){e.GoogleAnalyticsObject=o,e[o]=e[o]||function(){(e[o].q=e[o].q||[]).push(arguments)},e[o].l=1*new Date,c=t.createElement(a),i=t.getElementsByTagName(a)[0],c.async=1,c.src=n,i.parentNode.insertBefore(c,i)}(window,document,"script","path_to_url","ga"),ga("create","UA-98609560-1","auto"),ga("set","anonymizeIp",!0),ga("send","pageview");var links=document.getElementsByTagName("a");Array.prototype.map.call(links,function(e){e.host!=document.location.host&&e.addEventListener("click",function(){var t=e.getAttribute("data-md-action")||"follow";ga("send","event","outbound",t,e.href)})});var query=document.forms.search.query;query.addEventListener("blur",function(){if(this.value){var e=document.location.pathname;ga("send","pageview",e+"?q="+this.value)}})</script> </body> </html> ```
```java /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * published by the Free Software Foundation. Oracle designates this * particular file as subject to the "Classpath" exception as provided * by Oracle in the LICENSE file that accompanied this code. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ package jdk.graal.compiler.core.test; import java.io.IOException; import java.net.URI; import java.nio.file.FileSystem; import java.nio.file.FileSystems; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Random; import jdk.graal.compiler.bytecode.BytecodeDisassembler; import org.junit.Assert; import org.junit.Test; import jdk.vm.ci.meta.ResolvedJavaMethod; import jdk.vm.ci.meta.ResolvedJavaType; public class BytecodeDisassemblerTest extends GraalCompilerTest { /** * Tests the disassembler by processing all the classes in {@code java.base} with the possible * set of disassembler configurations being cycled through randomly. */ @Test public void test() throws Exception { disassembleClasses(gatherClasses()); } private static List<Class<?>> gatherClasses() throws IOException { List<Class<?>> classes = new ArrayList<>(); FileSystem fs = FileSystems.newFileSystem(URI.create("jrt:/"), Collections.emptyMap()); Path top = fs.getPath("/modules/"); Files.find(top, Integer.MAX_VALUE, (path, attrs) -> attrs.isRegularFile()).forEach(p -> { int nameCount = p.getNameCount(); if (nameCount > 2) { String base = p.getName(nameCount - 1).toString(); if (base.endsWith(".class") && !base.equals("module-info.class")) { String module = p.getName(1).toString(); if (module.equals("java.base")) { String className = p.subpath(2, nameCount).toString().replace('/', '.'); className = className.replace('/', '.').substring(0, className.length() - ".class".length()); Class<?> cl = loadClass(className); if (cl != null) { classes.add(cl); } } } } }); return classes; } private void disassembleClasses(List<Class<?>> classes) { Random random = getRandomInstance(); String[] newLines = {null, "\n", "\r\n"}; for (Class<?> c : classes) { String newLine = newLines[random.nextInt(3)]; boolean multiline = newLine != null && random.nextBoolean(); boolean format = random.nextBoolean(); BytecodeDisassembler.CPIFunction f = random.nextBoolean() ? BytecodeDisassembler.CPIFunction.normalizer() : BytecodeDisassembler.CPIFunction.Identity; BytecodeDisassembler disassembler = new BytecodeDisassembler(multiline, newLine, format, f); ResolvedJavaType type = getMetaAccess().lookupJavaType(c); ResolvedJavaMethod[] methods = type.getDeclaredMethods(); for (ResolvedJavaMethod m : methods) { int codeSize = m.getCodeSize(); String dis = disassembler.disassemble(m); if (codeSize <= 0) { Assert.assertNull(m.toString(), dis); } else { Assert.assertNotEquals(m.toString(), 0, dis.length()); } } } } private static Class<?> loadClass(String className) { try { return Class.forName(className, false, ClassLoader.getPlatformClassLoader()); } catch (ClassNotFoundException e) { throw new AssertionError(e); } } } ```
The 1975–76 season was the third season of the Takht Jamshid Cup of Iranian football. The competition was won by Persepolis Football Club of Tehran. Results Top goalscorers References Pars sport Takht Jamshid Cup Iran 1975–76 in Iranian football
```shell #!/bin/sh set -x while true; do if ! /usr/sbin/vsftpd; then echo "vsftpd exited unexpectedly. Restarting..." sleep 1 fi done ```
```xml <?xml version="1.0" encoding="utf-8"?> <android.support.v7.widget.CardView xmlns:android="path_to_url" xmlns:app="path_to_url" android:layout_width="match_parent" android:layout_height="@dimen/user_interest_quan_card_height" android:layout_margin="@dimen/default_general_margin" android:clickable="true" android:foreground="?attr/selectableItemBackground" app:cardBackgroundColor="@color/card_view_background" app:cardCornerRadius="@dimen/card_corner_radius" app:cardElevation="@dimen/card_elevation"> <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent"> <android.support.v7.widget.CardView android:id="@+id/card_view" android:layout_width="@dimen/user_interest_quan_image_size" android:layout_height="@dimen/user_interest_quan_image_size" android:layout_alignParentStart="true" android:layout_centerInParent="true" android:layout_margin="@dimen/default_general_margin" app:cardCornerRadius="@dimen/default_tiny_padding"> <ImageView android:id="@+id/item_img" android:layout_width="match_parent" android:layout_height="match_parent" android:scaleType="center" /> </android.support.v7.widget.CardView> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:layout_margin="@dimen/default_general_margin" android:layout_toEndOf="@id/card_view" android:gravity="center_vertical" android:orientation="vertical"> <TextView android:id="@+id/item_title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="@color/font_normal" android:textSize="@dimen/default_medium_text_size" /> <TextView android:id="@+id/item_desc" android:layout_width="wrap_content" android:layout_height="wrap_content" android:ellipsize="end" android:maxLines="1" android:paddingTop="@dimen/default_tiny_padding" android:textColor="@color/black_alpha_45" android:textSize="@dimen/default_small_text_size" /> </LinearLayout> </RelativeLayout> </android.support.v7.widget.CardView> ```
SC-ESV Parndorf 1919 is an Austrian association football club from Parndorf. They currently play in the Austrian Regional League East. Current squad External links Official site Supporter site Association football clubs established in 1919 SC-ESV Parndorf 1919 Football clubs in Austria
```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 oci import ( "testing" specs "github.com/opencontainers/runtime-spec/specs-go" ) func TestWithEnv(t *testing.T) { t.Parallel() s := specs.Spec{} s.Process = &specs.Process{ Env: []string{"DEFAULT=test"}, } WithEnv([]string{"env=1"})(nil, nil, nil, &s) if len(s.Process.Env) != 2 { t.Fatal("didn't append") } WithEnv([]string{"env2=1"})(nil, nil, nil, &s) if len(s.Process.Env) != 3 { t.Fatal("didn't append") } WithEnv([]string{"env2=2"})(nil, nil, nil, &s) if s.Process.Env[2] != "env2=2" { t.Fatal("could't update") } WithEnv([]string{"env2"})(nil, nil, nil, &s) if len(s.Process.Env) != 2 { t.Fatal("coudn't unset") } } func TestWithMounts(t *testing.T) { t.Parallel() s := specs.Spec{ Mounts: []specs.Mount{ { Source: "default-source", Destination: "default-dest", }, }, } WithMounts([]specs.Mount{ { Source: "new-source", Destination: "new-dest", }, })(nil, nil, nil, &s) if len(s.Mounts) != 2 { t.Fatal("didn't append") } if s.Mounts[1].Source != "new-source" { t.Fatal("invaid mount") } if s.Mounts[1].Destination != "new-dest" { t.Fatal("invaid mount") } } ```
Duleep Cricket School is a cricket ground in Porbandar, Saurashtra. The ground is also home ground of Saurashtra cricket team. The ground hosted a six cricket matches from 1968 to 1986 before falling of the record. The ground is named after great Indian cricketer and Prince of Nawanagar Kumar Shri Duleepsinhji. In 2011, Jay Mehta, the co-owner of Kolkata Knight Riders, along with the Porbandar District Cricket Association decided to develop the Duleep Cricket School and to regain the domestic status. The proposal includes built outfield, dressing rooms, water-logging problems as well as pavilion and indoor cricket facilities. References External links Cricinfo Cricketarchive Wikimapia Cricket grounds in Saurashtra (region) Sports venues in Saurashtra (region) Porbandar Sports venues completed in 1947 1947 establishments in India 20th-century architecture in India
Kamran Heidari (born August 23, 1979) is an Iranian documentary filmmaker, photographer, and writer. He is most known for his Docufictions about the music of the south of Iran. RogerEbert.com considers him as one of the most accomplished documentary filmmakers currently working. Life He was born in the south of Iran in Gachsaran, the oil city. His ancestors are from a nomadic tribe called Qashqai who raise livestock in the plains of southern Iran. His father was an employee of the oil company of the city, and when he was just a little boy, he saw many movies in the cinema of the oil company, which made him interested in cinema. Career He made his first short documentary film in the old context of Shiraz (one-man filmmaking style) which is about the life of a mythical character (Dash Akol), after that he was made his the first long documentary film "I am negahdar jamali and I make western" this film was interested by “Abbas Kiarostami” and It was introduced by him to the international festivals of Pusan and Rotterdam. After that his other films have been shown on Arte TV in France and international documentary film festivals IDFA, Leipzig and other festivals. He is very interested in the anthropology of music and has made several documentary films about the music of southern Iran, also in recent years he has been most active researcher and anthropology of music (documentary film) in the south of Iran. Filmography 2004: Dash Akol (Documentary, 18 mins) 2006: Mohammad Bahman Beigi (Documentary, 40 mins) 2006: The Big Red (Short film, 14 mins) 2007: Comfortably Numb (Feature, 85 mins) 2008: At the End of a Perfect Day (Documentary, 50 mins) 2010: The Dead Sea (Documentary, 30 mins) 2011: Mola Sadra (Documentary, 30 mins) 2012: My name is Negahdar Jamali and I make Westerns (Documentary, 65 mins) 2014: Dingomaro - Iran's Black South (Documentary, 75 mins) 2017: Ali Agha (Documentary, 80 mins) 2019: None of your business (Documentary, 64 mins) References Iranian documentary filmmakers 1979 births People from Shiraz Living people
```smalltalk namespace ScreenToGif.Domain.Enums; public enum StatusType : int { None = 0, Info, Update, Warning, Error } ```
Triaenophorus may refer to: Triaenophorus (flatworm), a genus of flatworms in the family Triaenophoridae Triaenophorus, a genus of fishes in the family Oxudercidae; synonym of Tridentiger
```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.weibo.api.motan.protocol.example; import java.util.concurrent.atomic.AtomicLong; public class MockWorld implements IWorld { public AtomicLong count = new AtomicLong(); public AtomicLong stringCount = new AtomicLong(); public AtomicLong sleepCount = new AtomicLong(); @Override public String world() { count.incrementAndGet(); return "mockWorld"; } @Override public String world(String world) { long num = stringCount.incrementAndGet(); return world + num; } @Override public String worldSleep(String world, int sleep) { long num = sleepCount.incrementAndGet(); try { Thread.sleep(sleep); } catch (InterruptedException ignore) {} return world + num; } } ```
```rust extern crate build; fn main() { if cfg!(feature = "file-dialog") { build::link("shell32", true); } } ```
```c /* * * in the file LICENSE in the source distribution or at * path_to_url */ #include <stdio.h> #include "internal/cryptlib.h" #ifndef OPENSSL_NO_DES # include <openssl/evp.h> # include <openssl/objects.h> # include "internal/evp_int.h" # include <openssl/des.h> static int desx_cbc_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc); static int desx_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl); typedef struct { DES_key_schedule ks; /* key schedule */ DES_cblock inw; DES_cblock outw; } DESX_CBC_KEY; # define data(ctx) EVP_C_DATA(DESX_CBC_KEY,ctx) static const EVP_CIPHER d_xcbc_cipher = { NID_desx_cbc, 8, 24, 8, EVP_CIPH_CBC_MODE, desx_cbc_init_key, desx_cbc_cipher, NULL, sizeof(DESX_CBC_KEY), EVP_CIPHER_set_asn1_iv, EVP_CIPHER_get_asn1_iv, NULL, NULL }; const EVP_CIPHER *EVP_desx_cbc(void) { return (&d_xcbc_cipher); } static int desx_cbc_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) { DES_cblock *deskey = (DES_cblock *)key; DES_set_key_unchecked(deskey, &data(ctx)->ks); memcpy(&data(ctx)->inw[0], &key[8], 8); memcpy(&data(ctx)->outw[0], &key[16], 8); return 1; } static int desx_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) { while (inl >= EVP_MAXCHUNK) { DES_xcbc_encrypt(in, out, (long)EVP_MAXCHUNK, &data(ctx)->ks, (DES_cblock *)EVP_CIPHER_CTX_iv_noconst(ctx), &data(ctx)->inw, &data(ctx)->outw, EVP_CIPHER_CTX_encrypting(ctx)); inl -= EVP_MAXCHUNK; in += EVP_MAXCHUNK; out += EVP_MAXCHUNK; } if (inl) DES_xcbc_encrypt(in, out, (long)inl, &data(ctx)->ks, (DES_cblock *)EVP_CIPHER_CTX_iv_noconst(ctx), &data(ctx)->inw, &data(ctx)->outw, EVP_CIPHER_CTX_encrypting(ctx)); return 1; } #endif ```
Marion Janet Harron (September 3, 1903 – September 26, 1972) was an American lawyer and United States Tax Court judge from 1936 to 1970. She is also known for her five-year affair with Lorena Hickok. Harron was a frequent visitor at the White House during the 1940s. Early life and education Harron was born in San Francisco, California, the daughter of George Olcott Brown, a jeweler, and Mary Jane (Minnie) Little Brown. Her parents divorced in 1904. Her stepfather Howard Harron was a lawyer; the Harrons divorced in 1916. She graduated from Girls High School in San Francisco in 1920. She earned a bachelor's degree at the University of California in 1924, and completed a law degree at Berkeley's Boalt Hall in 1926, with a thesis on the opinions of Louis Brandeis. She was a member of Phi Beta Kappa and Delta Sigma Rho. Career During law school in the 1920s, Harron was a teaching fellow in the economics department at the University of California, and was on the staff of the California Industrial Welfare Commission. She passed the California bar in 1926. She joined the Law Research Institute at Johns Hopkins University in 1928, and co-edited the institute's Current research in law for the academic year 1928-1929 with legal scholar Herman Oliphant. Harron specialized in corporate law and trusts, working on cases involving bank liquidations and real estate in New York City, from 1929 to 1933. She was assistant counsel with the National Recovery Administration from 1933 to 1935, and with the Resettlement Administration from 1935 to 1936. In 1936 Harron was the second woman appointed to the United States Board of Tax Appeals, succeeding Annabel Matthews. In 1940 she was named one of the "Ten Most Accomplished Women in the United States Born Since 1900", alongside Clare Booth Luce, Helen Hayes, Marian Anderson, and Anne Morrow Lindbergh. "Most women are taxpayers, and there's no reason why women lawyers should not specialize in taxation," she said in 1941. She was mentioned as a candidate for a federal judge post in San Francisco in 1939. After a 1949 Senate confirmation hearing she was reappointed as a judge of the Tax Court of the United States, though there were questions about her judicial temperament and "reputation for dictatorial, arbitrary, and capricious action upon the bench". One of her last rulings was against Doris Day, when she found the actress liable for over $400,000 in back taxes in 1970. Harron work involved national travel, hearing tax cases in various cities, which gave her opportunities to speak to women's organizations, including the National Association of Women Lawyers. She spoke at the 1949 Seneca Falls Day event of the National Woman's Party. Personal life Harron had a five-year affair with journalist Lorena Hickok, ending in 1945. Harron died in 1972. A memorial service was held in the Bethlehem Chapel of the Washington National Cathedral. References External links Inclusion in Women of Achievement and History Website Dan Ernst (May 25, 2012). "Marion Janet Harron (1903-1972)" Legal History Blog. 1903 births 1972 deaths Judges of the United States Tax Court United States Article I federal judges appointed by Franklin D. Roosevelt United States Article I federal judges appointed by Harry S. Truman 20th-century American judges Members of the United States Board of Tax Appeals University of California, Berkeley alumni 20th-century American women judges
Blon (; ; ) is an agrotown in Pukhavichy District, Minsk Region, Belarus. History Historically Błoń belonged to (Ihumeń is Chervyen now), Russian Empire, which was earlier part of , Grand Duchy of Lithuania. It is associated with Jesuit priest and poet Józef Baka, who established there a Jesuit monastery in about 1745 and a wooden church of John the Baptist around 1748. After his death it was passed to the Jesuit order, and after the suppression of the Jesuits the properties were seized by a Poniński and later passed to Ossowskis of Dołęga coat of arms. In 1863 they were sequestrated as a punishment for taking part in the January Uprising and in 1868 they were sold to a civil official Bończ-Osmołowski (Иосиф Александрович Бонч-Осмоловский), from which lands the properties of włościans (:pl:włościanin, a land-owning peasant) were separated, leaving about 2250 morgen of arable land. References Agrotowns in Belarus Populated places in Pukhavichy District
```php <?php /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the */ namespace Google\Service\DriveActivity; class DriveFile extends \Google\Model { } // Adding a class alias for backwards compatibility with the previous class name. class_alias(DriveFile::class, 'Google_Service_DriveActivity_DriveFile'); ```
```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'; // MODULES // var bench = require( '@stdlib/bench' ); var IS_BROWSER = require( '@stdlib/assert/is-browser' ); var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives; var pkg = require( './../package.json' ).name; var words = require( './../lib' ); // VARIABLES // var opts = { 'skip': IS_BROWSER }; // MAIN // bench( pkg, opts, function benchmark( b ) { var data; var i; b.tic(); for ( i = 0; i < b.iterations; i++ ) { data = words(); if ( data.length === 0 ) { b.fail( 'should have a length greater than 0' ); } } b.toc(); if ( !isStringArray( data ) ) { b.fail( 'should return a string array' ); } b.pass( 'benchmark finished' ); b.end(); }); ```
More Perfect Union is a 1987 release by Arizona heavy metal band Icon. The album, initially released on cassette only, featured a Capitol Records logo like their previous two major label albums, but was in essence an independent release as guitarist Dan Wexler states that, "We lost the deal from Capitol in October/November 1985." After losing the deal and frontman Stephen Clifford, the band played a few shows with new singer Steven Young. However, before starting work on this album, he was replaced by Jerry Harrison, as guitarist John Aquilino was replaced by keyboardist Kevin Stoller, known for his work with Stevie Nicks among others. The cassette originally contained ten tracks, sold out quickly and became a sought-after collectible due to the band's worldwide cult status. Due to fan demand, the album was re-released in 1995 on CD with the title An Even More Perfect Union and included seven bonus tracks, selling initially as a limited numbered edition autographed by Dan Wexler. The later printings are easily identified as they have the logo and title in a different color. Track listing Personnel Band members Jerry Harrison - vocals Dan Wexler - guitars Kevin Stoller - keyboards, synthesizers Tracy Wallach - bass, backing vocals Pat Dixon - drums, electronic drums Additional musicians Mark Prentice - keyboards Mark Seagraves - keyboard programming John Aquilino - guitars Steven Escallier - tambourine, handclaps Production Mixed at Chaton Studios, Phoenix, Arizona and Prairie Sun Studios, Cotati, California Produced by Dan Wexler and Steve Escallier Arranged by: Pat Dixon, Dan Wexler, Jerry Harrison & Tracy Wallach Additional engineering: Andy Seagle, Bob Frasier Remixed by: Dan Wexler Coordinator: Nu Media Music Film, S. "Tito" Bombaci References 1987 albums Icon (band) albums
Muriel is a hamlet located in the municipality of Tamajón, in Guadalajara province, Castilla–La Mancha, Spain. As of 2020, it has a population of 11. Geography Muriel is located 54km north of Guadalajara, Spain. References Populated places in the Province of Guadalajara
```php <?php /* * The file is part of the payment lib. * * (c) Leo <dayugog@gmail.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ require_once __DIR__ . '/../../vendor/autoload.php'; date_default_timezone_set('Asia/Shanghai'); $wxConfig = require_once __DIR__ . '/../wxconfig.php'; $refundNo = time() . rand(1000, 9999); $data = [ 'trade_no' => '15805490027722', 'transaction_id' => '4988319909620200201172451651106', 'total_fee' => '5.52', 'refund_fee' => '5.52', 'refund_no' => $refundNo, 'refund_account' => 'REFUND_SOURCE_REC', // REFUND_RECHARGE: REFUND_UNSETTLED: ]; // try { $client = new \Payment\Client(\Payment\Client::WECHAT, $wxConfig); $res = $client->refund($data); } catch (InvalidArgumentException $e) { echo $e->getMessage(); exit; } catch (\Payment\Exceptions\GatewayException $e) { echo $e->getMessage(); exit; } catch (\Payment\Exceptions\ClassNotFoundException $e) { echo $e->getMessage(); exit; } var_dump($res); ```
Paul Roux de Marcilly, sometimes spelled Marsilly (born in Nîmes around 1623; died in Paris on 22 June 1669), is said to be the head and coordinator of a plot against King of France Louis XIV in 1668. In a socio-political context of persecution of Huguenots and famine, the plot was on a European scale. The conspiracy aimed at overturning Louis XIV’s government and change into republics provinces like Provence, Dauphiné, and Languedoc, with the military support of Switzerland, Spain and United Netherlands. While living in London, Roux de Marcilly was betrayed, denounced in May 1668, illegally kidnapped in Switzerland and jailed, before he was condemned to death by "breaking on the wheel" in Paris on 21 June 1669, after being assisted by minister Jean Daillé. In his historical essay Le Masque de Fer (The Iron Mask) released in 1965, French novelist Marcel Pagnol identified the famous masked prisoner (known as “The Man in the Iron Mask”) as Louis XIV’s twin brother who was born after him, and thus legitimate heir of the crown. This twin, identified with James de la Cloche in his youth, was said to have been sentenced to life imprisonment after he conspired against his brother with Roux. Coveting his brothers’ crown, he is likely to be a major figure of the conspiracy. Denunciation and sentence of the conspirator In London, at the start of May 1668, Sir Samuel Morland, a diplomat and ancient member of the Parliament, earned the trust of Roux de Marcilly. Morland denounced the “conspirator” to M. de Rouvigny, ambassador extraordinary of France in London. Skeptical at first, Ruvigny soon decided to arrange a dinner in the honour of Roux, aiming to hear his plans: During this dinner, Morland asked Roux a series of questions prepared in advance by M. de Ruvigny who, hidden in a cabinet, wrote down all the answers. Straight after, M. de Ruvigny sent a long letter to King Louis XIV, giving all the details to denounce Roux, his accomplices, contacts and current moves. He even mentioned about a possible attack against the king when saying, when describing Roux, that "that embodied devil says a good blow will put everyone at rest". However, this letter provided little information on the identity of Roux de Marcilly and his occupations in London, only briefly referring to a military past. M. de Ruvigny also denounced an accomplice called Balthazar based in Geneva, and named the Marquis of Castelo Rodrigo in Spain, King of England Charles II (first cousin of Louis XIV) and his brother the Duke of York as being well aware of the plot and linked with Roux. In spite of his long meetings with the Duke of York and State Secretary Md Arlington, Roux said he was disappointed by the lack of cooperation of England, reluctant to launch the first attacks on France. On the other hand, Roux was much more confident about the massive support of Spain and Switzerland. Marcel Pagnol reckons that Roux’s plan had very good chances of success, because of the socio-political context of persecution of Protestants and famine. After Ruvigny’s report, Roux, who had been warned of the danger, fled to Switzerland where he took refuge with his friend Balthazar at the end of February 1669. In defiance of the Swiss sovereignty, Louis XIV had him kidnapped. On 19 May 1669 (almost one year after the letter that denounced him), Roux was made prisoner and sent to the Bastille, where the Secretary of State for Foreign Affairs Mgr de Lionne questions him under torture. Louis XIV had his trial sped up to only 2 days, and Roux de Marcilly was executed by "breaking on the wheel" in public in Paris on 21 June 1669. Roux was said to have been gagged for his execution. Martin the valet Active research went on in the days following the execution of Roux de Marcilly, much likely due to avowals and revelations he gave away while being tortured. The correspondence between minister Lionne and Colbert de Croissy quoted a certain "Martin", Roux’s valet, as one of the accomplices. According to Pagnol, who gives a very personal interpretation of the correspondence – amongst which a letter from Charles II to his sister Henrietta of England –, "Martin the valet" was arrested in England and handed over to the French in Calais in early July 1669. Pagnol traced, still through the interpretation of some correspondence, his conveying to Pinerolo, where he was jailed under the identity of Eustache Dauger, another fake name (but again of someone who did exist) in order to hide his true identity. Later, after being transferred to Sainte Marguerite Island and to the Bastille, he was condemned to wear a mask (See Man in the Iron Mask). The double dealing of Charles II Apparently, according to the examination of M. de Ruvigny’s letter, the role of King Charles II of England in this conspiracy went further than only hiding it from his cousin. He is even said to have given two audiences to Roux de Marcilly, and some French provinces were promised to England after the fall of Louis XIV. However, what was also revealed in this letter was that Roux regretted the lack of cooperation of England, reluctant to launch the first attacks on France. Pagnol explained this by the fact that a high amount of money was secretly given to Charles II by Louis XIV. Charles II might have followed the "wait and see" tactic, and waited for Spain and Switzerland to start the hostilities before launching the battle with a more favorable situation. Attacked on several fronts, French forces would have probably been defeated. Charles II is supposed to be the one who arranged contact between the twin and the conspirator Roux, after revealing to the twin his filiation and identity, while he was named James de la Cloche. During the Marcilly trial, Charles II summoned Ambassador Colbert de Croissy in order to have him transmit to Louis XIV his regrets for he had not had "the slightest knowledge of the pernicious aims of this villainous [Roux]" on the lands of his kingdom. Sources and further reading Jacques Basnage de Beauval, Annales des Provinces-Unies : Contenant les choses les plus remarquables arrive'es en Europe, et dans les autres parties du monde, depuis la paix d'Aix-la-Chapelle, jusqu'à celle de Nimègue, vol.2, p. 77-78, éd. Charles Le Vier, La Haye, 1726 François Nicolas Napoléon Ravaisson-Mollien, Louis Jean Félix Ravaisson-Mollien, Archives de la Bastille : 1681, 1665-1674, vol.7, p. 305 à 332, éd. A. Durand et Pedone-Lauriel, 1874. Émile Laloy, Masque de fer : Jacques Stuart de la Cloche, l'abbé Prignani ; Roux de Marsilly, Paris, Le Soudier, 1913, p. 209-293 John Viénot, Histoire de la Réforme française de l’Édit de Nantes à sa Révocation, Paris, Librairie Fischbacher, 1934, p. 420-425 Marcel Pagnol - Le Masque de fer, éditions de Provence (remanié sous le titre Le Secret du Masque de fer en 1973), essai historique, Monte-Carlo, Pastorelly E. Haag, La France protestante : ou Vies des protestants français qui se sont fait un nom dans l’histoire depuis les premiers temps de la réformation jusqu’à la reconnaissance du principe de la liberté des cultes par l’Assemblée nationale Aimé-Daniel Rabinel, La tragique aventure de Roux de Marcilly, Édouard Privat, 1969 « Marsilly : comploteur réduit au silence », La France pittoresque, n° 33 Nikolaus Pfander, Chronologia Sardani : Roux de Marcilly, éd. Nikolaus Pfander, 2005, Andrew Lang - The Valet's Tragedy (1903) References External links L'Énigme du Masque de fer par Marcel Pagnol 1623 births 1669 deaths 17th-century French people People from Nîmes People of the Ancien Régime
Rodulff (Rodulf) is claimed by a 15th-century chronicle Chronicon episcoporum Finlandensium to have worked as a missionary "bishop" in Finland after Bishop Henry had died in the 1150s. Rodulff was allegedly from Västergötland in Sweden. No historical records of Rodulff survive, and no Bishop or Diocese of Finland is mentioned in a papal letter from 1171 (or 1172) by the seemingly well-informed Pope Alexander III, who otherwise addressed the situation of the church in Finland. However, the Pope mentions that there were preachers, presumably from Sweden, working in Finland and was worried about their bad treatment by the Finns. Pope had earlier in 1165 authorized the first missionary Bishop of Estonia to be appointed, and was a close acquaintance of both Eskil, the Archbishop of Lund, and Stefan, the Archbishop of Uppsala, who both had spent time with him in France where he had been exiled in the 1160s. Following the situation in Estonia, Pope personally interfered in the Estonian mission in 1171. Furthermore, in a surviving list of Swedish bishoprics from 1164, there is no reference, factual or propagandist, to Finland. According to the Chronicon, Rodulff was captured and killed by Curonians and succeeded by Bishop Folquinus. Though other legends possibly place his death in Piispanristi. References Finnish Roman Catholic bishops Year of birth missing Year of death missing
Ray Mauritsson (born October 28, 1962) is a Swedish business leader. Mauritsson has a Master of Science degree in engineering physics from the University of Lund, and an Executive MBA degree from the Business School at the University of Lund. In 1995, he joined the IP video surveillance company Axis Communications, where he became CEO in 2003. In 2009, Mauritsson received the prestigious Gold Shield Award which is awarded by the Global Security Industry Alliance's (GSIA) to security professionals who have made "outstanding contributions in the global security industry". Three years later he was appointed the CEO of the year in Sweden by the leadership site Motivation.se and the educational company executive Executive People. The motivation was that he "with pioneering products and new technologies within a decade successfully strengthened the company's position as market leader in its field with a growth rate of between 11 and 39 percent a year." References Swedish chief executives 1962 births Living people Lund University alumni
Sampo was a Finnish state-owned steam-powered icebreaker. Built in 1898 by Sir W.G. Armstrong, Whitworth & Co Ltd in Newcastle upon Tyne, United Kingdom and named after a magical artifact from the Finnish mythology, she was the second state-owned icebreaker of Finland and the first European icebreaker equipped with a bow propeller. When Sampo was decommissioned and broken up in 1960, she was also the second last steam-powered icebreaker in the Finnish icebreaker fleet. Development and construction Prior to building Sampo, Finland had only one state-owned icebreaker, Murtaja, which was built in 1890 and was one of the first purpose-built icebreakers in the world. However, the 930-ton single-screw vessel was not powerful enough to keep even the southernmost port of Finland, Hanko, open during severe winters and the icebreaking characteristics of its spoon-shaped bow were not as good as was hoped for. A committee, appointed by the Senate of Finland in 1895 to find a solution to the problem, came to a conclusion that a second state-owned icebreaker would be needed. In the 1890s the Senate sent two engineers and Leonard Melán, who later became the captain of Sampo, to investigate a new icebreaker design that had been developed in the United States in the 1880s and find out its icebreaking capability. Unlike the European icebreakers, the 1888-built train ferry St Ignace had two propellers, one at both end of the ship. Convinced about the superiority of the new design, the winter navigation committee recommended that the new icebreaker should be of the so-called "American type". In February 1897 the Senate sent a request for tender to eight shipbuilders for the construction of a new icebreaker. On 6 June 1897 the contract was signed with Sir W.G. Armstrong, Whitworth & Co Ltd from Newcastle upon Tyne. While not the cheapest, the shipyard had the shortest delivery time — only seven months — for an icebreaker with a bow propeller. While the initial delivery date was 18 January 1898, Sampo was not delivered until October of the same year due to problems with material deliveries and strikes among the shipyard's workers. She was launched in the spring of 1898 and left for the first sea trials on 23 August. However, the bow propeller shaft seized shortly after leaving the dock and the icebreaker returned to the shipyard. The coal consumption was also 11% greater than what was specified in the contract, but instead of making changes the heating system the shipyard reduced the price by £700. The second sea trial on 21 September was successful and Sampo left for Finland on 25 October 1898 and arrived to Helsinki four days later. Career Early career Sampo was officially commissioned on 15 November 1898 and began assisting ships outside the port of Hanko while the smaller Murtaja was stationed closer to the harbour. From the first day on the new icebreaker, capable of breaking through ridges up to six metres thick by ramming, performed beyond expectations and was generally deemed the best icebreaker in Europe at that time. On 9 March 1899, her performance was demonstrated to the director of the Finnish Pilot and Lighthouse Authority when both state-owned icebreakers headed to the sea, Murtaja running in a previously opened channel and Sampo alongside in unbroken ice. However, on the way back to the port Sampo, followed by Murtaja, encountered a thick ice ridge and came to a halt. The smaller icebreaker could not stop in time and collided with Sampo, causing damage to her stern structures but fortunately no injuries to the passengers. Sampo ended her first winter season on 16 May 1899, during which she had assisted 128 ships. The first decade of Sampo passed without major incidents. In 1907, another icebreaker with a bow propeller, Tarmo, was ordered from the builders of Sampo. First World War In August 1914 Russia joined the First World War and navigating in the Baltic Sea became dangerous due to naval mines and German U-boats. The Finnish icebreakers were placed under the command of the Baltic Fleet of the Imperial Russian Navy and given the task of assisting naval ships and troop transportations in the Gulf of Finland. Unlike Tarmo, Sampo was not armed with a deck gun. Icebreaker assistance to merchant ships was largely neglected. Sampo survived the war without damage. On 6 December 1917 the Parliament of Finland accepted the declaration of independence given by the Senate and on 29 December the icebreakers Murtaja and Sampo raised the state flag of the independent Finland for the first time. However, already in early January 1918 the ship was seized by the Russian revolutionary fleet and ordered to assist the Russian troops stationed in Finland. The White Guards in Korpo and Nagu attempted to retake Sampo later in January but failed. Finnish Civil War On 27 January 1918 the Red Guard took over Helsinki and the Finnish Civil War began. However, on the same day Sampo managed to escape to Sweden and join the Whites. The Russian commissar who was on board at the time was taken into custody and left on ice outside the port of Pori before the icebreaker headed for Gävle to wait for further orders. Sampo had a significant impact on the outcome of the Civil War when it assisted three convoys to the White-controlled ports in northern Finland. The ships brought more than a thousand Jägers, Finnish volunteers trained in Germany, and enough weapons for the whole White Guard. The first convoy left Danzig on 11 February 1918 and was picked up by Sampo three days later outside the island of Märket. The steamships Mira and Poseidon, owned by the Finland Steamship Company and carrying 85 Jägers and weapons for the Finnish troops, arrived at Vaasa on 18 February. On 20 February, Sampo encountered the second convoy in the Stockholm archipelago. The ships, passenger steamship Arcturus and cargo steamer Castor, had left Libau on 14 February with the bulk of the troops, 950 Jägers, and some 1,200 tons of coal. Castor was left outside Gävle while Arcturus was escorted through difficult ice conditions to Vaasa, where it arrived on 25 February in the midst of a large crowd of cheering people. The last ship, Virgo, left Neufahrwasser on 20 February with 25 soldiers and full cargo of weapons, and was assisted to Vaasa on 2 March. On 4 April, while heading out from the port of Hanko with German warships, the convoy led by Sampo encountered another Finnish icebreaker, Murtaja, coming from Utö with the steamship Dragsfjärd. Both ships were filled with Red Guard and Russian soldiers, but after several warning shots from the German naval vessels most of the enemy soldiers fled on ice and Murtaja was taken over by the Whites. Sampo arrived to Helsinki for the summer on 12 May 1918, three days before the Civil War ended to decisive White victory. Interwar period While Sampo had not been damaged in the war, she was docked at the Hietalahti shipyard for extensive maintenance and repairs — when she left to the port of Hanko in mid-February 1919, 69 bottom plates had been replaced. In December 1922 Sampo struck a rock in the port of Loviisa and her bow propeller shaft was damaged, but there was no time for repairs and for the rest of the season she had to assist ships to the port of Helsinki without her bow propeller. Another incident occurred on 24 March 1926 when the bow propeller of Sampo hit a stone bank in the port of Helsinki, came loose and dropped to the bottom. It was found after searching for a couple of days and winched on board. On 30 March, while Sampo was assisting a Finnish steamship Albert Kasimir, the stern propeller shaft snapped when the engine was reversed and the propeller dropped to the bottom. While the icebreaker still had its bow propeller, it was of no use as it was waiting for installation on the foredeck. Murtaja towed the immobilized icebreaker to Hanko on the following day and to Helsinki for repairs on 20 April. Between 1919 and 1922 Sampo assisted 636 ships, more than any other Finnish icebreaker during that time. In the 1920s the need for new icebreakers was recognized and two new steam-powered icebreakers were built. From 1926 on Sampo and Tarmo began their winter season from the eastern parts of the Gulf of Finland, assisting ships to Koivisto, Viipuri and Kotka, and moved to western ports as the harbours were closed for winter. In 1929 the whole Baltic Sea was frozen and Sampo was sent to the Danish straits for two months. Winter War Due to the worsening relations with the Soviet Union, Sampo and other state-owned icebreakers were armed and assigned to a wartime icebreaker fleet shortly before the Winter War began on 30 November 1939. The Finnish icebreakers had been equipped with gun mounts already in the 1920s and were armed with light artillery. However, a bit over month into the war Sampo ran hard aground and was out of service for more than a year. On 6 January 1940 Sampo was assisting a convoy of three merchant ships towards Pori in difficult conditions — the temperature was nearly and fog reduced the visibility to zero. The icebreaker was proceeding in light ice conditions at when she collided with an underwater obstacle and suddenly stopped, throwing the helmsman through the wheelhouse windows and damaging the ship's radio antennas. The collision had damaged the forward steam engine and propeller shaft, and Sampo was resting high on the rocks with the bow propeller above the water. The first rescue attempts were made on the following day when two tugboats tried to turn the stern of Sampo towards open water together with the icebreaker's own engine and rudder. However, the task was deemed impossible and the tugboats evacuated the pilot and the women working in the icebreaker's kitchen to Mäntyluoto. On 8 January Sampo was further damaged when the wind pushed a large ice floe against the side of the icebreaker and the waves began pounding her hull against the rocks. Both engine rooms flooded and the pumps stopped. In the following night Sampo slowly settled in the bottom, listing the partially submerged icebreaker approximately 20 degrees starboard. The remaining crew members were evacuated in heavy weather and freezing temperatures on the following day. The salvaging Sampo was awarded to the Finnish salvage company Neptun Oy, but the task was deemed impossible in the presence of ice. While waiting for the spring thaw, Sampo was camouflaged with tree branches to resemble a small island. This was not very successful, because during the last weeks of the Winter War the Soviet bombers made several attempts to destroy the ship. However, despite dropping at least 250 bombs on the grounded icebreaker the enemy pilots never scored a hit. The Winter War ended on 13 March 1940 with Sampo still grounded outside Pori. Interim peace Neptun began salvaging the grounded Sampo in May 1940 by emptying the coal storages and melting the ice masses inside the vessel with steam. The icebreaker was towed to Turku in June because the longer distance to Helsinki was deemed too risky — large stones had wedged between the mangled bottom plating, and had they fallen during the transit, Sampo would have filled with water and sunk. The icebreaker arrived in Turku on the Midsummer Eve of 1940 and after emergency repairs was towed to Hietalahti shipyard in Helsinki, where it remained for extensive repairs until 13 March 1941. The Second World War Continuation War When the Continuation War began on 25 June 1941, the Finnish icebreakers were re-armed and their anti-aircraft armament was improved. The winter of 1942 was the worst since the 1740s and Sampo was sent to assist ships stuck in ice all the way to the Gulf of Riga. The following winters were much milder and Sampo survived the war without major incidents. In 1946, after the war had ended to the Moscow Armistice, the Allied Control Commission ordered Sampo to assist ships in the Soviet port of Leningrad. Post-war years After the newest and most powerful state-owned icebreakers, Voima and Jääkarhu, were handed over to Soviet Union as war reparations, Finland was left with four old steam-powered icebreakers and the small diesel-electric Sisu, which had been rejected due to the extensive damage it had sustained in the war. The newest steam-powered icebreaker, Tarmo, was almost 40 years old and along with the others long overdue for replacement — even the largest Finnish icebreakers were not wide and powerful enough to assist the biggest post-war cargo ships. There was also a severe shortage of coal and occasionally the Finnish icebreakers had to rely on firewood. The steam-powered icebreakers were completely overhauled for the last time in 1951–1952 when they finally received modern navigation equipment — even as late as 1952 some had neither gyrocompass, sonar nor radar — and their crew spaces were rebuilt to modern standards. There were talks about converting the furnaces of Sampo from coal to oil, but it was not deemed necessary as the old icebreaker was due to decommissioning in the near future. Once the war reparations to the Soviet Union had been paid in 1952, Finland started renewing its icebreaker fleet. The first state-owned icebreaker built after the Second World War, diesel-electric Voima, was delivered in 1954 as a replacement for Jääkarhu. During the winter of 1956, the coldest of the decade, the new icebreaker assisted, among other ships, the old steam-powered icebreakers — Sampo had even ran out of coal while attempting to free herself after having been immobilized by the severe ice conditions. Decommissioning When the harsh winters of the 1950s showed that more modern icebreakers were needed, a series of slightly smaller diesel-electric icebreakers were built for operations within the archipelago. Karhu replaced Murtaja in 1958, the new Murtaja replaced Apu in 1959 and the new diesel-electric Sampo replaced the old steam-powered one in 1960. One of the last tasks of the old icebreaker was to tow the recently decommissioned full-rigged training ship Suomen Joutsen from Porkkala to Turku, where the three-masted frigate would be converted to a Seamen's School for the Finnish Merchant Navy, on 15–17 January 1960. Sampo was decommissioned shortly afterwards, on 9 May. The last Finnish steam-powered icebreaker, Tarmo, remained in service until 1970. While initially there were talks about saving Sampo and turning her into a museum ship, the cultural and historical importance of the old steam-powered icebreaker was not recognized at that time and the 62-year-old ship was sold for scrap. She was broken up on a small shipyard in Mathildedal in Southwest Finland. Her wooden wheel was salvaged and put on display in the main office of the Finnish Maritime Administration, and the wooden paneling and furniture of the salon was bought by the Finnish yacht club Suomalainen Pursiseura for their club restaurant in Sirpalesaari, Helsinki. In addition the bow propeller shaft of Sampo serves the Finnish winter navigation to this day as part of a sea mark on a small skerry southeast from the island of Utö. Technical details Sampo was long overall and at the waterline. Her moulded breadth was and breadth at the waterline slightly smaller, . The draught of the icebreaker at maximum displacement, 2,050 tons, was defined in the contract as in the bow and in the stern. She was initially operated by a crew of 36, but this was later increased by two divers and additional stokers. The hull of Sampo was built of Siemens-Martin steel and divided into watertight compartments by eight transverse bulkheads. The bow was reinforced with a wide ice belt up to one inch () thick and all steel structures were dimensioned beyond Lloyd's Register requirements. The angle of the stem, the first part of the icebreaker to encounter ice and bend it under the weight of the ship, was 24 degrees. Other innovative features included propeller blades that could be replaced underwater by the icebreaker's divers. Sampo was powered by two triple-expansion steam engines, one driving a propeller in the stern and the other a second propeller in the bow. The main function of the bow propeller was to reduce friction between the hull and the ice, although the exact details of the icebreaking process were not known at that time. The stern engine produced 1,600 ihp at 110 rpm and the bow engine 1,400 ihp at 115 rpm. During the sea trials the maximum indicated output of the two steam engines was 3,052 ihp and when the engines were producing 2,500 ihp, the icebreaker could maintain a speed of 12.4 knots in open water. Sampo had five coal-fired boilers for the main engines in two boiler rooms and a small auxiliary boiler for heating, deck equipment and light generator in the foremost boiler room. The fuel stores could hold 350 tons of coal that was fed to the fireboxes at a rate of 2.4–3.2 tons per hour. Like all icebreakers of her age, Sampo was also equipped with sails although they were rarely, if ever, used. Sampo was equipped for escort icebreaker duties with a towing winch, a cable and a stern notch. In difficult ice conditions the ship being assisted was taken into tow, and in extremely difficult compressive ice it was pulled to the icebreaker's stern notch. For salvage operations Sampo had a powerful centrifugal pump capable of pumping 700 tons of water per hour. Notes References Icebreakers of Finland Ships built by Armstrong Whitworth 1898 ships World War I naval ships of Russia World War II naval ships of Finland
```java /* This file is part of the iText (R) project. Authors: Apryse Software. This program is offered under a commercial and under the AGPL license. For commercial licensing, contact us at path_to_url For AGPL licensing, see below. AGPL licensing: This program is free software: you can redistribute it and/or modify (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the along with this program. If not, see <path_to_url */ package com.itextpdf.kernel.pdf.filters; import com.itextpdf.kernel.pdf.PdfName; import java.util.Collections; import java.util.HashMap; import java.util.Map; /** * Encapsulates filter behavior for PDF streams. Classes generally interace with this * using the static getDefaultFilterHandlers() method, then obtain the desired {@link IFilterHandler} * via a lookup. */ // Dev note: we eventually want to refactor PdfReader so all of the existing filter functionality is moved into this class // it may also be better to split the sub-classes out into a separate package public final class FilterHandlers { /** * The default {@link IFilterHandler}s used by iText */ private static final Map<PdfName, IFilterHandler> defaults; static { Map<PdfName, IFilterHandler> map = new HashMap<>(); map.put(PdfName.FlateDecode, new FlateDecodeFilter()); map.put(PdfName.Fl, new FlateDecodeFilter()); map.put(PdfName.ASCIIHexDecode, new ASCIIHexDecodeFilter()); map.put(PdfName.AHx, new ASCIIHexDecodeFilter()); map.put(PdfName.ASCII85Decode, new ASCII85DecodeFilter()); map.put(PdfName.A85, new ASCII85DecodeFilter()); map.put(PdfName.LZWDecode, new LZWDecodeFilter()); map.put(PdfName.CCITTFaxDecode, new CCITTFaxDecodeFilter()); map.put(PdfName.Crypt, new DoNothingFilter()); map.put(PdfName.RunLengthDecode, new RunLengthDecodeFilter()); map.put(PdfName.DCTDecode, new DctDecodeFilter()); map.put(PdfName.JPXDecode, new JpxDecodeFilter()); defaults = Collections.unmodifiableMap(map); } /** * @return the default {@link IFilterHandler}s used by iText */ public static Map<PdfName, IFilterHandler> getDefaultFilterHandlers() { return defaults; } } ```
The Packy mural was a public artwork depicting the elephant of the same name, painted on the Skidmore Fountain Building in Portland, Oregon's Old Town Chinatown neighborhood. The artwork was designed by Eric Larsen and painted in 1990 by North Pacific Sign and Design, but was destroyed during the building's 2008 renovation to become the new headquarters for Mercy Corps. The mural received a generally positive reception, though in 1997 the president of the company that owned the building expressed his desire to replace the artwork, which he considered a free advertisement for the Oregon Zoo. He wanted to replace it with an illustration that promoted the Old Town Chinatown neighborhood. His search was met with resistance by building tenants, particularly employees of the advertising agency Young and Roehr, who began displaying "Save Packy" signs and campaigning for the art's preservation. Description and history The mural was designed by commercial artist Eric Larsen, who created the piece after winning a competition. It was painted on the north wall of the Skidmore Fountain Building (also known as the Reed Building and Packer-Scott Building) in 1990 by North Pacific Sign and Design. The artwork depicted Packy (born at the Oregon Zoo on April 14, 1962), an Asian elephant who was the first elephant born in the Western Hemisphere in 44 years. Co-sponsors of the artwork included Gango Gallery, the Oregon Zoo, and Security Pacific Bank. In 1997, Mike Hashem, who served as president of Skidmore Management Corporation—the owner of the Skidmore Fountain Building—expressed his desire to replace the mural. He said the artwork served as a free advertisement for the Oregon Zoo, and should be replaced with something that promoted the Old Town Chinatown neighborhood. The Historic Preservation League of Oregon (now Restore Oregon) and the State Historic Preservation Office of the Oregon Parks and Recreation Department raised no concerns about the mural's removal, since the artwork was not designated as an official city landmark or recognized as having historic significance. The league's development coordinator said, "We can't say that you can't do anything to a sign. Traditionally, people kept advertising new products. Who is to say the way it is today is the way it should be frozen?" A planner with the Portland Bureau of Planning, however, said that local sign regulations prevented the mural, which the agency considered a "painted wall decoration", from being replaced by a private advertisement of the same size, but that it could be replaced with another mural. Building tenants, particularly those who worked for the advertising agency Young and Roehr, began displaying "Save Packy" signs and campaigning for the mural's preservation. Young and Roehr reportedly offered to fund the artwork's refurbishment. Hashem said he also received offers from other potential advertisers, and claimed the space was worth $2,000 per month. Hashem estimated that repainting the mural would cost $5,000–8,000. One owner of North Pacific Sign and Design, who had painted the mural with his father, brother, and two assistants, said the work could be cleaned and "touched up" for significantly less. Larsen was flattered by peoples' positive reaction to the artwork, but was indifferent about the mural's future. He told The Oregonian, "People usually look at my work for about five seconds. I'm not emotionally attached to any of it." In April 2002, citywide celebrations for Packy's fortieth birthday raised money to restore the faded mural. In addition, the mural has been used as an example of a decorative outdoor wall painting in articles about the city's sign regulations. Destruction In 2008, the mural was destroyed during the building's renovation to become the new headquarters for Mercy Corps. The top part of the artwork was painted on the building's uppermost floor, which had a stucco exterior and was removed to restore the building to its historic state. Windows were also installed along the wall on which the mural was painted. Mercy Corps planned to "pay tribute to the mural" in the updated building's ground floor. A spokesperson for the organization confirmed that they consulted with the mural's artist and the Oregon Zoo, the neighborhood association, and the Regional Arts & Culture Council. She said: We understand that it is an important part of the neighborhood's history. ... We're renovating the Skidmore Fountain Building to its historic condition. That means that the mural begins to come down. And then additionally, we have to restore the condition of the brick, which is crumbling and disintegrating and eventually would become unstable. ... Historically, a lot of it had been warehouse space and didn't need windows, but we're going to utilize all the square footage for our offices. ... We have documents of the mural in its condition since we've taken ownership of the building and we've talked to the zoo, which has some of the original photographs. Reception The Oregonian Sura Rubinstein said of the mural's public reception: "Some see a charming tribute to an elephant who's captivated the heart of the city since 1962. ... Some see a painting that's become an integral part of the city's landscape. ... " In 1997, when the mural's fate was uncertain, the Oregon Zoo's marketing manager said, "It was hoped the mural itself would become something of a landmark. A lot of people love it." See also 1990 in art Art destruction Cultural depictions of elephants Da Tung and Xi'an Bao Bao (2002), bronze sculpture in Portland's North Park Blocks List of public art in Portland, Oregon References External links 1990 establishments in Oregon 1990 paintings 1990s murals 2008 disestablishments in Oregon Elephants in art Lost paintings Murals in Oregon Old Town Chinatown Southwest Portland, Oregon
```javascript !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=232)}({232:function(e,t,r){}}); //# sourceMappingURL=animations-extended.min.js.map ```
8-Hydroxyguanosine is an RNA nucleoside which is an oxidative derivative of guanosine. Measurement of the levels of 8-hydroxyguanosine is used as a biomarker of oxidative stress causing RNA damage. See also 8-Oxo-2'-deoxyguanosine References Nucleosides Purines Biomarkers
The Regional Council of Champagne-Ardenne was the deliberative assembly of the former region of Champagne-Ardenne incorporated in the Grand Est region on 1 January 2016. It was headquartered in Châlons-en-Champagne, at 5 rue de Jéricho at Hôtel de region de Champagne-Ardenne, from 1982 to 2015. Presidents of the Regional Council Composition of the Regional Council (2010-2015) The regional council has 49 regional advisers: French Communist Party: 6 elected Socialist Party: 18 elected Europe Ecology: 5 elected Union for a Popular Movement - New Center : 14 elected National Front: 6 elected Headquarters The Regional Council occupied the old enclosure which consisted of the major and minor seminary of Châlons. The renovation took place in two stages, the first aimed at rehabilitating the major seminary where the council sat for the plenary session and the Economic and Social Council. The garden and the minor seminary were rehabilitated for the beginning of 2015. References Champagne-Ardenne Champagne-Ardenne
Likiep Airport is a public use airport at Likiep on Likiep Atoll, Marshall Islands. Airlines and destinations References Airports in the Marshall Islands Likiep Atoll
```css p { color: red; font-style: italic; } ```
```objective-c #pragma once #include "itablefactory.h" namespace search::fef { /** * This factory class is used to instantiate tables based on a function. * The name of the table specifies the function and arguments to use. * The following functions are supported: * - expdecay(w,t) : w * exp(-x/t) * - loggrowth(w,t,s) : w * log(1 + x/s) + t * - linear(w,t) : w * x + t * All functions support an optional last parameter for setting the table size. **/ class FunctionTableFactory : public ITableFactory { public: struct ParsedName { std::string type; std::vector<std::string> args; ParsedName() noexcept : type(), args() {} }; /** * Creates a new factory able to create tables with the given default size. **/ explicit FunctionTableFactory(size_t defaultTableSize); /** * Creates a table where the given name specifies the function and arguments to use. **/ [[nodiscard]] Table::SP createTable(const std::string & name) const override; /** * Parses the given function name and returns true if success. **/ static bool parseFunctionName(const std::string & name, ParsedName & parsed); private: size_t _defaultTableSize; bool checkArgs(const std::vector<std::string> & args, size_t exp, size_t & tableSize) const; bool isSupported(const std::string & type) const; bool isExpDecay(const std::string & type) const { return type == "expdecay"; } bool isLogGrowth(const std::string & type) const { return type == "loggrowth"; } bool isLinear(const std::string & type) const { return type == "linear"; } Table::SP createExpDecay(double w, double t, size_t len) const; Table::SP createLogGrowth(double w, double t, double s, size_t len) const; Table::SP createLinear(double w, double t, size_t len) const; }; } ```
```javascript Hoisting `.bind()` Anonymous functions Method chaining Move cursor at the end of text input ```
```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. # ============================================================================== """Train a ResNet-50 model on ImageNet on TPU.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import time from absl import flags import absl.logging as _logging # pylint: disable=unused-import import tensorflow as tf from . import imagenet_input from . import resnet_model from tensorflow.contrib import summary from tensorflow.contrib.tpu.python.tpu import bfloat16 from tensorflow.contrib.tpu.python.tpu import tpu_config from tensorflow.contrib.tpu.python.tpu import tpu_estimator from tensorflow.contrib.tpu.python.tpu import tpu_optimizer from tensorflow.contrib.training.python.training import evaluation from tensorflow.python.estimator import estimator FLAGS = flags.FLAGS flags.DEFINE_bool( 'use_tpu', default=True, help=('Use TPU to execute the model for training and evaluation. If' ' --use_tpu=false, will use whatever devices are available to' ' TensorFlow by default (e.g. CPU and GPU)')) # Cloud TPU Cluster Resolvers flags.DEFINE_string( 'tpu', default=None, help='The Cloud TPU to use for training. This should be either the name ' 'used when creating the Cloud TPU, or a grpc://ip.address.of.tpu:8470 url.') flags.DEFINE_string( 'gcp_project', default=None, help='Project name for the Cloud TPU-enabled project. If not specified, we ' 'will attempt to automatically detect the GCE project from metadata.') flags.DEFINE_string( 'tpu_zone', default=None, help='GCE zone where the Cloud TPU is located in. If not specified, we ' 'will attempt to automatically detect the GCE project from metadata.') # Model specific flags flags.DEFINE_string( 'data_dir', default=None, help=('The directory where the ImageNet input data is stored. Please see' ' the README.md for the expected data format.')) flags.DEFINE_string( 'model_dir', default=None, help=('The directory where the model and training/evaluation summaries are' ' stored.')) flags.DEFINE_integer( 'resnet_depth', default=50, help=('Depth of ResNet model to use. Must be one of {18, 34, 50, 101, 152,' ' 200}. ResNet-18 and 34 use the pre-activation residual blocks' ' without bottleneck layers. The other models use pre-activation' ' bottleneck layers. Deeper models require more training time and' ' more memory and may require reducing --train_batch_size to prevent' ' running out of memory.')) flags.DEFINE_string( 'mode', default='train_and_eval', help='One of {"train_and_eval", "train", "eval"}.') flags.DEFINE_integer( 'train_steps', default=112603, help=('The number of steps to use for training. Default is 112603 steps' ' which is approximately 90 epochs at batch size 1024. This flag' ' should be adjusted according to the --train_batch_size flag.')) flags.DEFINE_integer( 'train_batch_size', default=1024, help='Batch size for training.') flags.DEFINE_integer( 'eval_batch_size', default=1024, help='Batch size for evaluation.') flags.DEFINE_integer( 'steps_per_eval', default=5000, help=('Controls how often evaluation is performed. Since evaluation is' ' fairly expensive, it is advised to evaluate as infrequently as' ' possible (i.e. up to --train_steps, which evaluates the model only' ' after finishing the entire training regime).')) flags.DEFINE_integer( 'eval_timeout', default=None, help=( 'Maximum seconds between checkpoints before evaluation terminates.')) flags.DEFINE_bool( 'skip_host_call', default=False, help=('Skip the host_call which is executed every training step. This is' ' generally used for generating training summaries (train loss,' ' learning rate, etc...). When --skip_host_call=false, there could' ' be a performance drop if host_call function is slow and cannot' ' keep up with the TPU-side computation.')) flags.DEFINE_integer( 'iterations_per_loop', default=100, help=('Number of steps to run on TPU before outfeeding metrics to the CPU.' ' If the number of iterations in the loop would exceed the number of' ' train steps, the loop will exit before reaching' ' --iterations_per_loop. The larger this value is, the higher the' ' utilization on the TPU.')) flags.DEFINE_integer( 'num_cores', default=8, help=('Number of TPU cores. For a single TPU device, this is 8 because each' ' TPU has 4 chips each with 2 cores.')) flags.DEFINE_string( 'data_format', default='channels_last', help=('A flag to override the data format used in the model. The value' ' is either channels_first or channels_last. To run the network on' ' CPU or TPU, channels_last should be used. For GPU, channels_first' ' will improve performance.')) # TODO(chrisying): remove this flag once --transpose_tpu_infeed flag is enabled # by default for TPU flags.DEFINE_bool( 'transpose_input', default=True, help='Use TPU double transpose optimization') flags.DEFINE_string( 'export_dir', default=None, help=('The directory where the exported SavedModel will be stored.')) flags.DEFINE_string( 'precision', default='bfloat16', help=('Precision to use; one of: {bfloat16, float32}')) flags.DEFINE_float( 'base_learning_rate', default=0.1, help=('Base learning rate when train batch size is 256.')) flags.DEFINE_float( 'momentum', default=0.9, help=('Momentum parameter used in the MomentumOptimizer.')) flags.DEFINE_float( 'weight_decay', default=1e-4, help=('Weight decay coefficiant for l2 regularization.')) # Dataset constants LABEL_CLASSES = 1000 NUM_TRAIN_IMAGES = 1281167 NUM_EVAL_IMAGES = 50000 # Learning rate schedule LR_SCHEDULE = [ # (multiplier, epoch to start) tuples (1.0, 5), (0.1, 30), (0.01, 60), (0.001, 80) ] MEAN_RGB = [0.485, 0.456, 0.406] STDDEV_RGB = [0.229, 0.224, 0.225] def learning_rate_schedule(current_epoch): """Handles linear scaling rule, gradual warmup, and LR decay. The learning rate starts at 0, then it increases linearly per step. After 5 epochs we reach the base learning rate (scaled to account for batch size). After 30, 60 and 80 epochs the learning rate is divided by 10. After 90 epochs training stops and the LR is set to 0. This ensures that we train for exactly 90 epochs for reproducibility. Args: current_epoch: `Tensor` for current epoch. Returns: A scaled `Tensor` for current learning rate. """ scaled_lr = FLAGS.base_learning_rate * (FLAGS.train_batch_size / 256.0) decay_rate = (scaled_lr * LR_SCHEDULE[0][0] * current_epoch / LR_SCHEDULE[0][1]) for mult, start_epoch in LR_SCHEDULE: decay_rate = tf.where(current_epoch < start_epoch, decay_rate, scaled_lr * mult) return decay_rate def resnet_model_fn(features, labels, mode, params): """The model_fn for ResNet to be used with TPUEstimator. Args: features: `Tensor` of batched images. labels: `Tensor` of labels for the data samples mode: one of `tf.estimator.ModeKeys.{TRAIN,EVAL,PREDICT}` params: `dict` of parameters passed to the model from the TPUEstimator, `params['batch_size']` is always provided and should be used as the effective batch size. Returns: A `TPUEstimatorSpec` for the model """ if isinstance(features, dict): features = features['feature'] if FLAGS.data_format == 'channels_first': assert not FLAGS.transpose_input # channels_first only for GPU features = tf.transpose(features, [0, 3, 1, 2]) if FLAGS.transpose_input and mode != tf.estimator.ModeKeys.PREDICT: features = tf.transpose(features, [3, 0, 1, 2]) # HWCN to NHWC # Normalize the image to zero mean and unit variance. features -= tf.constant(MEAN_RGB, shape=[1, 1, 3], dtype=features.dtype) features /= tf.constant(STDDEV_RGB, shape=[1, 1, 3], dtype=features.dtype) # This nested function allows us to avoid duplicating the logic which # builds the network, for different values of --precision. def build_network(): network = resnet_model.resnet_v1( resnet_depth=FLAGS.resnet_depth, num_classes=LABEL_CLASSES, data_format=FLAGS.data_format) return network( inputs=features, is_training=(mode == tf.estimator.ModeKeys.TRAIN)) if FLAGS.precision == 'bfloat16': with bfloat16.bfloat16_scope(): logits = build_network() logits = tf.cast(logits, tf.float32) elif FLAGS.precision == 'float32': logits = build_network() if mode == tf.estimator.ModeKeys.PREDICT: predictions = { 'classes': tf.argmax(logits, axis=1), 'probabilities': tf.nn.softmax(logits, name='softmax_tensor') } return tf.estimator.EstimatorSpec( mode=mode, predictions=predictions, export_outputs={ 'classify': tf.estimator.export.PredictOutput(predictions) }) # If necessary, in the model_fn, use params['batch_size'] instead the batch # size flags (--train_batch_size or --eval_batch_size). batch_size = params['batch_size'] # pylint: disable=unused-variable # Calculate loss, which includes softmax cross entropy and L2 regularization. one_hot_labels = tf.one_hot(labels, LABEL_CLASSES) cross_entropy = tf.losses.softmax_cross_entropy( logits=logits, onehot_labels=one_hot_labels) # Add weight decay to the loss for non-batch-normalization variables. loss = cross_entropy + FLAGS.weight_decay * tf.add_n( [tf.nn.l2_loss(v) for v in tf.trainable_variables() if 'batch_normalization' not in v.name]) host_call = None if mode == tf.estimator.ModeKeys.TRAIN: # Compute the current epoch and associated learning rate from global_step. global_step = tf.train.get_global_step() batches_per_epoch = NUM_TRAIN_IMAGES / FLAGS.train_batch_size current_epoch = (tf.cast(global_step, tf.float32) / batches_per_epoch) learning_rate = learning_rate_schedule(current_epoch) optimizer = tf.train.MomentumOptimizer( learning_rate=learning_rate, momentum=FLAGS.momentum, use_nesterov=True) if FLAGS.use_tpu: # When using TPU, wrap the optimizer with CrossShardOptimizer which # handles synchronization details between different TPU cores. To the # user, this should look like regular synchronous training. optimizer = tpu_optimizer.CrossShardOptimizer(optimizer) # Batch normalization requires UPDATE_OPS to be added as a dependency to # the train operation. update_ops = tf.get_collection(tf.GraphKeys.UPDATE_OPS) with tf.control_dependencies(update_ops): train_op = optimizer.minimize(loss, global_step) if not FLAGS.skip_host_call: def host_call_fn(gs, loss, lr, ce): """Training host call. Creates scalar summaries for training metrics. This function is executed on the CPU and should not directly reference any Tensors in the rest of the `model_fn`. To pass Tensors from the model to the `metric_fn`, provide as part of the `host_call`. See path_to_url for more information. Arguments should match the list of `Tensor` objects passed as the second element in the tuple passed to `host_call`. Args: gs: `Tensor with shape `[batch]` for the global_step loss: `Tensor` with shape `[batch]` for the training loss. lr: `Tensor` with shape `[batch]` for the learning_rate. ce: `Tensor` with shape `[batch]` for the current_epoch. Returns: List of summary ops to run on the CPU host. """ gs = gs[0] with summary.create_file_writer(FLAGS.model_dir).as_default(): with summary.always_record_summaries(): summary.scalar('loss', loss[0], step=gs) summary.scalar('learning_rate', lr[0], step=gs) summary.scalar('current_epoch', ce[0], step=gs) return summary.all_summary_ops() # To log the loss, current learning rate, and epoch for Tensorboard, the # summary op needs to be run on the host CPU via host_call. host_call # expects [batch_size, ...] Tensors, thus reshape to introduce a batch # dimension. These Tensors are implicitly concatenated to # [params['batch_size']]. gs_t = tf.reshape(global_step, [1]) loss_t = tf.reshape(loss, [1]) lr_t = tf.reshape(learning_rate, [1]) ce_t = tf.reshape(current_epoch, [1]) host_call = (host_call_fn, [gs_t, loss_t, lr_t, ce_t]) else: train_op = None eval_metrics = None if mode == tf.estimator.ModeKeys.EVAL: def metric_fn(labels, logits): """Evaluation metric function. Evaluates accuracy. This function is executed on the CPU and should not directly reference any Tensors in the rest of the `model_fn`. To pass Tensors from the model to the `metric_fn`, provide as part of the `eval_metrics`. See path_to_url for more information. Arguments should match the list of `Tensor` objects passed as the second element in the tuple passed to `eval_metrics`. Args: labels: `Tensor` with shape `[batch]`. logits: `Tensor` with shape `[batch, num_classes]`. Returns: A dict of the metrics to return from evaluation. """ predictions = tf.argmax(logits, axis=1) top_1_accuracy = tf.metrics.accuracy(labels, predictions) in_top_5 = tf.cast(tf.nn.in_top_k(logits, labels, 5), tf.float32) top_5_accuracy = tf.metrics.mean(in_top_5) return { 'top_1_accuracy': top_1_accuracy, 'top_5_accuracy': top_5_accuracy, } eval_metrics = (metric_fn, [labels, logits]) return tpu_estimator.TPUEstimatorSpec( mode=mode, loss=loss, train_op=train_op, host_call=host_call, eval_metrics=eval_metrics) def main(unused_argv): # [START tpu-cluster-revolver] tpu_cluster_resolver = tf.contrib.cluster_resolver.TPUClusterResolver( FLAGS.tpu, zone=FLAGS.tpu_zone, project=FLAGS.gcp_project) config = tpu_config.RunConfig( cluster=tpu_cluster_resolver, model_dir=FLAGS.model_dir, save_checkpoints_steps=max(600, FLAGS.iterations_per_loop), tpu_config=tpu_config.TPUConfig( iterations_per_loop=FLAGS.iterations_per_loop, num_shards=FLAGS.num_cores, per_host_input_for_training=tpu_config.InputPipelineConfig.PER_HOST_V2)) # pylint: disable=line-too-long # [END tpu-cluster-revolver] resnet_classifier = tpu_estimator.TPUEstimator( use_tpu=FLAGS.use_tpu, model_fn=resnet_model_fn, config=config, train_batch_size=FLAGS.train_batch_size, eval_batch_size=FLAGS.eval_batch_size) assert FLAGS.precision == 'bfloat16' or FLAGS.precision == 'float32', ( 'Invalid value for --precision flag; must be bfloat16 or float32.') tf.logging.info('Precision: %s', FLAGS.precision) use_bfloat16 = FLAGS.precision == 'bfloat16' # Input pipelines are slightly different (with regards to shuffling and # preprocessing) between training and evaluation. imagenet_train, imagenet_eval = [imagenet_input.ImageNetInput( is_training=is_training, data_dir=FLAGS.data_dir, transpose_input=FLAGS.transpose_input, use_bfloat16=use_bfloat16) for is_training in [True, False]] if FLAGS.mode == 'eval': eval_steps = NUM_EVAL_IMAGES // FLAGS.eval_batch_size # Run evaluation when there's a new checkpoint for ckpt in evaluation.checkpoints_iterator( FLAGS.model_dir, timeout=FLAGS.eval_timeout): tf.logging.info('Starting to evaluate.') try: start_timestamp = time.time() # This time will include compilation time eval_results = resnet_classifier.evaluate( input_fn=imagenet_eval.input_fn, steps=eval_steps, checkpoint_path=ckpt) elapsed_time = int(time.time() - start_timestamp) tf.logging.info('Eval results: %s. Elapsed seconds: %d' % (eval_results, elapsed_time)) # Terminate eval job when final checkpoint is reached current_step = int(os.path.basename(ckpt).split('-')[1]) if current_step >= FLAGS.train_steps: tf.logging.info( 'Evaluation finished after training step %d' % current_step) break except tf.errors.NotFoundError: # Since the coordinator is on a different job than the TPU worker, # sometimes the TPU worker does not finish initializing until long after # the CPU job tells it to start evaluating. In this case, the checkpoint # file could have been deleted already. tf.logging.info( 'Checkpoint %s no longer exists, skipping checkpoint' % ckpt) else: # FLAGS.mode == 'train' or FLAGS.mode == 'train_and_eval' current_step = estimator._load_global_step_from_checkpoint_dir(FLAGS.model_dir) # pylint: disable=protected-access,line-too-long batches_per_epoch = NUM_TRAIN_IMAGES / FLAGS.train_batch_size tf.logging.info('Training for %d steps (%.2f epochs in total). Current' ' step %d.' % (FLAGS.train_steps, FLAGS.train_steps / batches_per_epoch, current_step)) start_timestamp = time.time() # This time will include compilation time if FLAGS.mode == 'train': resnet_classifier.train( input_fn=imagenet_train.input_fn, max_steps=FLAGS.train_steps) else: assert FLAGS.mode == 'train_and_eval' while current_step < FLAGS.train_steps: # Train for up to steps_per_eval number of steps. # At the end of training, a checkpoint will be written to --model_dir. next_checkpoint = min(current_step + FLAGS.steps_per_eval, FLAGS.train_steps) resnet_classifier.train( input_fn=imagenet_train.input_fn, max_steps=next_checkpoint) current_step = next_checkpoint # Evaluate the model on the most recent model in --model_dir. # Since evaluation happens in batches of --eval_batch_size, some images # may be consistently excluded modulo the batch size. tf.logging.info('Starting to evaluate.') eval_results = resnet_classifier.evaluate( input_fn=imagenet_eval.input_fn, steps=NUM_EVAL_IMAGES // FLAGS.eval_batch_size) tf.logging.info('Eval results: %s' % eval_results) elapsed_time = int(time.time() - start_timestamp) tf.logging.info('Finished training up to step %d. Elapsed seconds %d.' % (FLAGS.train_steps, elapsed_time)) if FLAGS.export_dir is not None: # The guide to serve a exported TensorFlow model is at: # path_to_url tf.logging.info('Starting to export model.') resnet_classifier.export_savedmodel( export_dir_base=FLAGS.export_dir, serving_input_receiver_fn=imagenet_input.image_serving_input_fn) if __name__ == '__main__': tf.logging.set_verbosity(tf.logging.INFO) tf.app.run() ```
Formlabs is a 3D printing technology developer and manufacturer. The Somerville, Massachusetts-based company was founded in September 2011 by three MIT Media Lab students. The company develops and manufactures 3D printers and related software and consumables. It is most known for raising nearly $3 million in a Kickstarter campaign and creating the Form 1, Form 1+, Form 2, Form Cell, Form 3, Form 3L, and Fuse 1 stereolithography and selective laser sintering 3D printers. History Formlabs was founded by Maxim Lobovsky, Natan Linder, and David Cranor, who met as students at the MIT Media Lab while taking a class called "How to Make (almost) Anything". The founders also drew on their experience with MIT's Center for Bits and Atoms Fab Lab program, as well as Lobovsky's experience with the Fab@Home project at Cornell University. Formlabs was officially founded in September 2011 to develop the first desktop-sized, easy-to-use, and affordable stereolithography 3D printer. Formlabs received early seed funding from investors including Mitch Kapor, Joi Ito, and Eric Schmidt’s Innovation Endeavors. In November 2012, Formlabs was sued by the industrial 3D printing giant 3D Systems that claimed rights to the stereolithography technology that the Form 1 uses. The lawsuit was dismissed in 2014, after the two parties settled. In October 2013, Formlabs closed an additional $19 million Series A round of financing led by DFJ Growth, joined by Pitango Venture Capital, Innovation Endeavors, and returning angel investors. In 2015, Formlabs opened their second office in Berlin, Germany. In August 2015, Michael Sorkin, former co-founder of iGo3D, joined Formlabs to serve as the managing director of their European headquarters. In August 2016, Formlabs raised $35 million in series B funding led by Foundry Group. In April 2018, Formlabs raised $30 million in series C funding led by Tyche Partners, with investors including the municipally-owned Shenzhen Capital Group. The company said it would use the funding to expand its product portfolio and scale operations to meet increasing customer demand, particularly from Asia. Products Form 1 In October 2012, Formlabs publicly announced its first product, the Form 1 3D printer, in a Kickstarter campaign that raised a record-breaking $2.95 million in funding making the Form 1 one of the most highly funded crowdfunding projects up until that time. Form 1 3D printers began shipping to backers in May 2013 after months of delayed production. The Form 1 used a 3D printing process known as stereolithography, wherein liquid resin is cured, or hardened, into a solid material by the application of laser light. Although previously available in larger, more expensive machines, the Form 1 offered stereolithography in a smaller, more affordable desktop-class device. Form 1+ On June 10, 2014, Formlabs released the Form 1+ 3D Printer, which replaced the Form 1 in their product line. Improvements included speed, print quality, and reliability. The Form 1+ was officially sunsetted March 15, 2017. Form 2 On September 22, 2015, Formlabs announced the Form 2 printer, including a larger build volume and a wiper. It also switches to a cartridge resin system, instead of bottles that needed to be manually poured into the Form 1 & Form 1+. Third-party resins can be used with Open Mode. The Form 2 was named Best Resin Printer for 2019 by Tom's Guide in their annual rankings. The Form 2 is scheduled to be officially sunsetted in 2023. Form Wash and Form Cure On May 5, 2017, Formlabs announced the Form Wash and the Form Cure. Together with the Form 2, they complete the SLA engine. The Form Wash is a washing machine used to automatically clean liquid resin off of printed 3D models. The Form Cure is an ultraviolet postcuring system. After printing, the build platform on the Form 2 can be removed and installed on the Form Wash, which uses an impeller to agitate 3D printed parts in isopropyl alcohol. The Form Cure heats parts up to 80 degrees Celsius and uses thirteen 405 nanometer UV LEDs. Fuse 1 On June 5, 2017, Formlabs announced the Fuse 1, a selective laser sintering 3D printer. It has a much larger build volume than the Form line of printers, a removable build chamber, and uses nylon powder. Form 3, Form 3B, Form 3L and Form 3BL On April 2, 2019, Formlabs announced the 4th Generation of their SLA printers, the Form 3 and Form 3L, designed for use by artists, designers, and other professionals. The Form 3 offers a larger print area than the Form 2 as well as Low Force Stereolithography (LFS), a new SLA technology developed by Formlabs that promises smoother surface finish and more detailed prints. The Form 3L utilizes the same optics engine as the Form 3, including LFS, with five times the build volume. Additional improvements include an upgraded optics engine, modular components to simplify repair and integrated sensors to improve print success and usability. This earned it the title of Best Resin Printer of 2019 by The Mediahq. On November 12, 2019, Formlabs launched the Form 3B, a variant of the Form 3 specially designed for the dental industry. Unlike the Form 3, the Form 3B is compatible with Formlabs' array of specialty dental materials. The only exception is Form 3 printers designated "Early 2019" which retain the dental material capabilities from its initial release. In 2020, the company launched Form 3BL, which features the larger platform of the Form 3L, along with the material capabilities of the Form 3B. In 2022 at CES, the company announced the Form 3+ and Form 3B+ which are updated versions of the Form 3/3B with improved LPU/Laser stability, better heating and monitoring of the build chamber, true light touch supports, and the new build platform 2, which uses a flexible stainless steel sheet held with magnets to a base in order to make removing the parts from the build plate faster and easier than the original build platform the first shipped with the Form 2. Form Cell On June 5, 2017, Formlabs announced the Form Cell, a cell of Form 2 3D printers, as well as a Form Wash and a robotic gantry system. It is completely automated and can be used as a 24-hour digital "factory". PreForm Formlabs provides a free software package called PreForm, designed to prepare 3D models for printing on the Form 1, Form 1+, Form 2, Form 3, and Fuse 1. Some of the features of PreForm include automatic model orientation and support structure generation. Nasopharyngeal Swabs As the COVID-19 pandemic took off in March 2020, Formlabs, working with, Northwell Health and the University of South Florida developed a 3D printed nasopharyngeal swab made from biocompatible resins. After receiving FDA Class I Exempt status, Formlabs quickly went into production; its printing facility in Ohio was initially able to produce 150,000 swabs daily, and the design was released so that hospitals with their own printers can make swabs. Northwell and the University of South Florida were each immediately able produce 1,500 swabs daily with printers they already had. Form Auto In January of 2023 at CES, Formlabs announced the successor to its Form Cell program by introducing the Form Auto. The Form Auto automates the Form 3 printer and enables users to remotely open the cover, start prints, and clear parts off the build platform. Documentary Formlabs is featured in Print the Legend, a documentary that tells the stories of several leading companies in the desktop 3D printer industry. The film premiered at SXSW in March 2014, and was released internationally on Netflix on September 26, 2014. See also List of 3D printer manufacturers References External links Companies based in Massachusetts Companies established in 2011 Computing output devices Manufacturing companies of the United States Robotics companies of the United States 3D printer companies 2011 establishments in Massachusetts
```yaml version: "3" services: sqld-primary: image: ghcr.io/libsql/sqld:main platform: linux/amd64 environment: - SQLD_NODE=primary - SQLD_HTTP_LISTEN_ADDR=0.0.0.0:8000 - SQLD_GRPC_LISTEN_ADDR=0.0.0.0:5000 volumes: - "/tmp/data.db:/var/lib/sqld/iku.db" sqld-replica: image: ghcr.io/libsql/sqld:main platform: linux/amd64 depends_on: - sqld-primary environment: - SQLD_NODE=replica - SQLD_PRIMARY_URL=path_to_url volumes: - "/tmp/replica.db:/var/lib/sqld/iku.db" flipt-one: image: flipt/flipt:nightly depends_on: - sqld-primary environment: - FLIPT_DB_URL=path_to_url restart: on-failure ports: - "8080:8080" flipt-two: image: flipt/flipt:nightly depends_on: - sqld-replica restart: on-failure environment: - FLIPT_DB_URL=path_to_url ports: - "8081:8080" ```
```css Make text unselectable Hide the scrollbar in webkit browser Writing comments in CSS Determine the opacity of background-colors using the RGBA declaration The `nth-child` Property ```
Mehdi Taj () is an Iranian sports executive and administrator who is president of Football Federation Islamic Republic of Iran since August 2022 for second term. Also he was president of the Iranian Football Federation from 2016 until 2019. As of May 2020, Mehdi has been appointed a member of the Asian Football Confederation Emergency Committee. He was previously First Vice President of Iranian Football Federation (2008–2012), President of the Iran Football League Organization (2013–2016), Secretary of the Board of Sepahan (1992–1994, 2002–2006) and president of the club (1994–1999) and Board Chairman of the Foolad Metil. He was also editor-in-chief of Jahan Varzesh from 1991 until 2001. On 7 May 2016, he was elected as president of Iranian Football Federation with 51 votes, succeeding Ali Kafashian. He resigned on 30 December 2019 due to illness. on 30 August 2022, Taj was elected as new president of Iran Football Federation for a two-year term. Taj won the three-candidate race with 51 votes. References External links about Taj 1960 births Living people Sportspeople from Isfahan Association football executives Iranian sports executives and administrators Sepahan S.C. Islamic Revolutionary Guard Corps officers Presidents of Iranian Football Federation
Mentha suaveolens, the apple mint, pineapple mint, woolly mint or round-leafed mint (synonyms M. rotundifolia, Mentha macrostachya, Mentha insularis), is a member of the mint family Lamiaceae. It is native to southern and western Europe including the Mediterranean region. It is a herbaceous, upright perennial plant that is most commonly grown as a culinary herb or for ground cover. Description Apple mint typically grows to a height of from tall and spreads by stolons to form clonal colonies. The foliage is light green, with the opposite, wrinkled, sessile leaves being oblong to nearly ovate, long and broad. They are somewhat hairy on top and downy underneath with serrated edges. The flowers develop in terminal spikes long and consisting of a number of whorls of white or pinkish flowers. Apple mint flowers in mid to late summer. The plant is aromatic with a fruity, minty flavour. Taxonomy Hybrids Mentha suaveolens hybridizes with other Mentha species. Hybrids include: Mentha × villosa Huds. (hybrid with Mentha spicata) Mentha × rotundifolia (L.) Huds., 1782 (hybrid with Mentha longifolia) Mentha × suavis Guss., 1826 (hybrid with Mentha aquatica) Varieties and Cultivars There are several varieties and cultivars commonly available in horticulture: M. suaveolens 'Variegata' - common name pineapple mint - with variegated leaves and mauve flowers. M. suaveolens 'Pineapple' - common name pineapple mint - with variegated leaves and creamy-white flowers. M. suaveolens var. crispa 'Mojito' - with curled leaves and mauve-pink flowers. Distribution Apple mint is native to southern and western Europe and is naturalised in central and northern parts of Europe. It is found in damp and wet locations. Cultivation and uses An attractive herb, apple mint is often used as an ornamental plant. It is hardy and easy to grow, preferring full sun to lightly shady conditions. The leaves of this plant can be used to make apple mint jelly, as well as a flavoring in dishes such as apple mint couscous. It is also often used to make a mint tea, as a garnish, or in salads. Pineapple mint (Mentha suaveolens 'Variegata') is a cultivar of apple mint that has leaves which are banded with white. A hybrid derived from it is grapefruit mint (Mentha suaveolens × piperata). Apple mint has been used for medicinal purposes for thousands of years in many parts of the world, including Africa, Europe, Asia, and the Americas. References External links suaveolens Garden plants Herbs Flora of Europe Plants described in 1792 Taxa named by Jakob Friedrich Ehrhart
```smalltalk // snippet-start:[Glue.dotnetv3.GlueBasics.GlobalUsings] global using Amazon.Glue; global using GlueActions; global using Microsoft.Extensions.Configuration; global using Microsoft.Extensions.DependencyInjection; global using Microsoft.Extensions.Hosting; global using Microsoft.Extensions.Logging; global using Microsoft.Extensions.Logging.Console; global using Microsoft.Extensions.Logging.Debug; // snippet-end:[Glue.dotnetv3.GlueBasics.GlobalUsings] ```
Judah ben Elijah Hadassi (in Hebrew, Yehuda ben Eliyahu) was a Karaite Jewish scholar, controversialist, and liturgist who flourished at Constantinople in the middle of the twelfth century. He was known by the nickname "ha-Abel," which signifies "mourner of Zion." Neubauer thinks that "Hadassi" means "native of Edessa" Nothing of Hadassi's life is known except that he was the pupil of his elder brother Nathan Hadassi. He dealt with Hebrew grammar, Masorah, theology, and philosophy, and knew Arabic and Greek well. Eshkol ha-Kofer Hadassi acquired his reputation by his treatise Eshkol ha-Kofer or Sefer ha-Peles, on which he began work on 9 October 1148. It is a treatise on the Ten Commandments, in which the author endeavored to explain them philosophically, and in which he applied all his analytical talent and scholarship. He starts from the premise that all laws contained in the Pentateuch, and those added by the Rabbis, as well as the minor ethical laws by which the Jews regulate their daily life, are implied in the Ten Commandments. Hadassi enumerates, under the head of each of the Ten Commandments, a complete series of coordinate laws; and the whole work is mapped out according to this plan. The work embodies not only much of the science of his time, but even legends and folk-lore, so that it has appropriately been termed "a sea of learning." It is written in rhymed prose, the general rhyme throughout the work being ך; and the initial letters of the successive verses form alternately the acrostics of אבגד and תשרק, repeated 379 times. The alphabetic chapters 105-124 are, however, in the regular form of poems. The first commandment (alphabets 1-95) affirms the existence of God and covers the duties of the created toward the Creator, dealing, for instance, with prayer, repentance, future punishment and reward, and resurrection. Beginning with alphabet 35, Hadassi considers the nature of God, of creation, of angels, of the celestial bodies, etc. In fact, this part of the work is a compendium of religious philosophy, astronomy, physics, natural history, geography, and folk-lore. The second commandment (alphabets 96-129) affirms the unity of God. Here Hadassi refutes the views of other sects; for example, the Christians, Rabbinites, Samaritans, and Sadducees, who maintain the eternity of the world. He is indignant at those who identify the Karaites with the Sadducees, and shows great animosity toward the Rabbinites. Alphabets 99-100 contain a violent attack upon Christianity. The third commandment (alphabets 130-143) and the fourth commandment (alphabets 144-248) covers laws concerning the Sabbath, and the holidays and to the laws connected with them, as those relating to sacrifices, which include all laws concerning the kohanim, slaughtering, tzitzit, etc. This part is the more important as it contains Hadassi's views on exegesis and grammar. To be able to discuss with the Rabbinites the kinds of work permitted or forbidden on the Sabbath, he was obliged to state his own exegetical rules, and to show that Karaites are not inferior to the Rabbinites as exegetes. After giving the thirteen rules ("middot") of R. Ishmael ben Elisha and the thirty-two of R. Eliezer ben Jose ha-Gelili, he gives his own, dividing them into two groups, one of sixty and one of eighty, and finding an allusion to them in the Song of Solomon vi. 8. The sixty "queens" denote the sixty grammatical rules, headed by five "kings" (the five vowels); the eighty "concubines" denote the eighty exegetical rules; and the "virgins without number" represent the numberless grammatical forms in the Hebrew language. Considering phonetics as necessary for the interpretation of the Law, Hadassi devotes to this study a long treatise, in the form of questions and answers. The fifth commandment (alphabets 249-264) covers laws regulating the relations between parents and children, of inheritance, mourning, etc. The sixth commandment (alphabets 265-274) and the seventh commandment (alphabets 275-336) covers laws concerning adultery, incest, cleanliness and uncleanliness, women in childbirth, and the fruit of the first three years. The eighth commandment (alphabets 337-353) covers laws on the different kinds of theft and fraud. The ninth commandment (alphabets 354-362) discusses all kinds of false witnesses, including false prophets. Finally, the tenth commandment (alphabets 363-379) deals with the laws implied in the prohibition against covetousness. Hadassi illustrates his explanations by examples interspersed with tales and legends. Model and sources Obviously his model was Nissim ben Noah's Bitan ha-Maskilim, or Peles Bi'ur ha-Mitzvot, written 370 years earlier. The sources upon which he drew included the Ma'aseh Bereshit of R. Ishmael ben Elisha; the Baraita of R. Samuel of Nehardea, for astronomy; the Josippon for history; David ben Merwan al-Mukkamas' work on the sects; Eldad ha-Dani, for legends; while for grammar he utilized especially the Karaite grammarians, though he also made use of the Rabbanites, quoting Judah Hayyuj and ibn Janah. One should also note that Hadassi included in his "Eshkol" the first grammatical work of Abraham ibn Ezra, without acknowledgment. In attacking the Rabbanites, he followed the example of his predecessors, as Solomon ben Jeroham, Japheth ben Ali, Sahl ben Matzliah, and others. This work was printed at Eupatoria (1836), with an introduction by Caleb Afendopolo entitled Nahal Eshkol. Alphabets 99-100 and part of 98 were excluded from this edition by the censor, but have been published by Bacher in J. Q. R. Hadassi mentions a previously written work of his entitled Sefer Teren bi-Teren, a collection of homonyms which, he says, was an addition to the eighty pairs of Ben Asher (alphabets 163 ב, 168 ס, 173 נ). There exists also a fragment which Abraham Firkovich entitled Sefer ha-Yalqut and attributed to Hadassi, while Pinsker regarded it as an extract from Tobiah's Sefer ha-Mitzvot. P. F. Frankl, however, agreed with Firkovich in regarding it as a part of the "Eshkol ha-Kofer," which Hadassi had previously written in prose. In the Karaite Siddur there are four piyyutim by Hadassi. References Resources , which cites the following bibliography: Pinsker, Liḳḳuṭe Ḳadmoniyyot, p. 223; Supplement, p. 93; Jost, Gesch. des Judenthums, ii. 352 et seq.; Fürst, Gesch. des Karäert. ii. 211 et seq.: P. F. Frankl, in Monatsschrift, xxxi. 1-13, 72-85; Bacher, ib. xl. 14, 68, 109; J. Q. R. viii. 431 et seq.; Gottlober, Biḳḳoret le-Toledot ha-Ḳaraïm, p. 172; introduction to Eshkol ha-Kofer by Caleb Afendopolo, entitled Nahal Eshkol Karaite rabbis 12th-century Byzantine rabbis Byzantine poets Year of death missing Year of birth unknown Jewish grammarians Linguists of Hebrew Grammarians of Hebrew Medieval Hebraists Jewish liturgical poets
La Difesa della Razza () was a Fascist biweekly magazine which was published in Rome between 1938 and 1943 during the Fascist rule in Italy. Its subtitle was Scienza, Documentazione, Polemica (). It played a significant role in the implementation of the racial ideology following the invasion of Ethiopia and the introduction of the racial laws in 1938. History and profile La Difesa della Razza was first published on 5 August 1938. It was established by the Office for the Racial Problems headed by Guido Landra. The founding director of the magazine was Giulio Cogni, but he left the post when he recognized that his ideas about races had been used by the Fascist leaders without making any reference to him. Cogni was replaced by Telesio Interlandi in the post. Giorgio Almirante served as its editorial secretary and was the assistant to Interlandi. The editorial board of the magazine included leading physicians and scientists. It came out biweekly. La Difesa della Razza was financed by several public institutions, including the Ministry of Popular Culture, banks, industrial and insurance companies. Each issue of the magazine was delivered to schools and universities across Italy. It folded on 20 June 1943 after producing 118 issues. Ideology, content and contributors The first issue of the magazine featured a manifesto, Manifesto della Razza, by the scholars which was the guiding principle of the racist ideology of Fascist Italy. Following the publication of this manifesto the approach of the state towards the Italian Jews and its colonial policies changed. The magazine described its goals in the first issue as follows: We will popularize, with the help of scholars of various disciplines related to the problem, the fundamental concepts upon which the doctrine of Italian racism is based; and we will prove that science is on our side. La Difesa della Razza often featured graphics, photographs, cartoons and photomontages accompanied by offensive and vulgar captions. Its headlines were mostly sensationalist. The magazine was a supporter of the pseudoscience, cultural racism and Italian primitivism rejecting the premises of European modernism. The most frequent topic covered in the magazine was about antisemitism. In May 1942 in the article by Giorgio Almirante blood was regarded as the sole evidence of Italianness which differentiated Italians from Jews and Black mixed race people. Both groups were depicted in a negative manner in the magazine through photographs. In 1942 and 1943 the magazine claimed that the British had a cruel attitude towards people living in its colonies. Some of its contributors were Lino Businco, Luigi Castaldi, Elio Gasteiner, Guido Landra and Marcello Ricci who were scientific figures and published articles about biological racism. Guido Landra's articles were mostly concerned with hereditary diseases. Ferdinando Loffreda regularly wrote articles for the magazine in which he offered his antifeminist views. Circulation Shortly after its launch La Difesa della Razza sold 150,000 copies per issue. However, from November 1940 its circulation significantly decreased because of the start of World War II. References External links 1938 establishments in Italy 1943 disestablishments in Italy Biweekly magazines published in Italy Defunct political magazines published in Italy Fascist newspapers and magazines Former state media Italian-language magazines Magazines established in 1938 Magazines disestablished in 1943 Magazines published in Rome Propaganda newspapers and magazines Antisemitism in Italy Antisemitic publications
```yaml define: DUK_USE_BUILTIN_INITJS introduced: 1.0.0 removed: 2.0.0 default: true tags: - ecmascript description: > Use built-in .js init code when creating a new global context. The .js init code (duk_initjs.js) provides some initialization code that's nicer to implement in ECMAScript, and is also used to provide some backwards compatibility bindings which are easy to remove later. ```
```php <?php /** * @group image * @group media * @group upload * @group resize */ require_once __DIR__ . '/base.php'; abstract class WP_Tests_Image_Resize_UnitTestCase extends WP_Image_UnitTestCase { public function set_up() { parent::set_up(); add_filter( 'wp_image_editors', array( $this, 'wp_image_editors' ) ); } public function wp_image_editors() { return array( $this->editor_engine ); } public function test_resize_jpg() { $image = $this->resize_helper( DIR_TESTDATA . '/images/test-image.jpg', 25, 25 ); list( $w, $h, $type ) = getimagesize( $image ); unlink( $image ); $this->assertSame( 'test-image-25x25.jpg', wp_basename( $image ) ); $this->assertSame( 25, $w ); $this->assertSame( 25, $h ); $this->assertSame( IMAGETYPE_JPEG, $type ); } public function test_resize_png() { $image = $this->resize_helper( DIR_TESTDATA . '/images/test-image.png', 25, 25 ); if ( ! is_string( $image ) ) { // WP_Error, stop GLib-GObject-CRITICAL assertion. $this->fail( sprintf( 'No PNG support in the editor engine %s on this system.', $this->editor_engine ) ); } list( $w, $h, $type ) = getimagesize( $image ); unlink( $image ); $this->assertSame( 'test-image-25x25.png', wp_basename( $image ) ); $this->assertSame( 25, $w ); $this->assertSame( 25, $h ); $this->assertSame( IMAGETYPE_PNG, $type ); } public function test_resize_gif() { $image = $this->resize_helper( DIR_TESTDATA . '/images/test-image.gif', 25, 25 ); if ( ! is_string( $image ) ) { // WP_Error, stop GLib-GObject-CRITICAL assertion. $this->fail( sprintf( 'No GIF support in the editor engine %s on this system.', $this->editor_engine ) ); } list( $w, $h, $type ) = getimagesize( $image ); unlink( $image ); $this->assertSame( 'test-image-25x25.gif', wp_basename( $image ) ); $this->assertSame( 25, $w ); $this->assertSame( 25, $h ); $this->assertSame( IMAGETYPE_GIF, $type ); } public function test_resize_webp() { $file = DIR_TESTDATA . '/images/test-image.webp'; $editor = wp_get_image_editor( $file ); // Check if the editor supports the webp mime type. if ( is_wp_error( $editor ) || ! $editor->supports_mime_type( 'image/webp' ) ) { $this->markTestSkipped( sprintf( 'No WebP support in the editor engine %s on this system.', $this->editor_engine ) ); } $image = $this->resize_helper( $file, 25, 25 ); list( $w, $h, $type ) = wp_getimagesize( $image ); unlink( $image ); $this->assertSame( 'test-image-25x25.webp', wp_basename( $image ) ); $this->assertSame( 25, $w ); $this->assertSame( 25, $h ); $this->assertSame( IMAGETYPE_WEBP, $type ); } /** * Test resizing AVIF image. * * @ticket 51228 */ public function test_resize_avif() { $file = DIR_TESTDATA . '/images/avif-lossy.avif'; $editor = wp_get_image_editor( $file ); // Check if the editor supports the avif mime type. if ( is_wp_error( $editor ) || ! $editor->supports_mime_type( 'image/avif' ) ) { $this->markTestSkipped( sprintf( 'No AVIF support in the editor engine %s on this system.', $this->editor_engine ) ); } $image = $this->resize_helper( $file, 25, 25 ); list( $w, $h, $type ) = wp_getimagesize( $image ); unlink( $image ); $this->assertSame( 'avif-lossy-25x25.avif', wp_basename( $image ) ); $this->assertSame( 25, $w ); $this->assertSame( 25, $h ); $this->assertSame( IMAGETYPE_AVIF, $type ); } /** * Test resizing HEIC image. * * @ticket 53645 */ public function test_resize_heic() { $file = DIR_TESTDATA . '/images/test-image.heic'; $editor = wp_get_image_editor( $file ); // Check if the editor supports the HEIC mime type. if ( is_wp_error( $editor ) || ! $editor->supports_mime_type( 'image/heic' ) ) { $this->markTestSkipped( 'No HEIC support in the editor engine on this system.' ); } $image = $this->resize_helper( $file, 25, 25 ); list( $w, $h, $type ) = wp_getimagesize( $image ); unlink( $image ); $this->assertSame( 'test-image-25x25.jpg', wp_basename( $image ) ); $this->assertSame( 25, $w ); $this->assertSame( 25, $h ); $this->assertSame( IMAGETYPE_JPEG, $type ); } public function test_resize_larger() { // image_resize() should refuse to make an image larger. $image = $this->resize_helper( DIR_TESTDATA . '/images/test-image.jpg', 100, 100 ); $this->assertInstanceOf( 'WP_Error', $image ); $this->assertSame( 'error_getting_dimensions', $image->get_error_code() ); } public function test_resize_thumb_128x96() { $image = $this->resize_helper( DIR_TESTDATA . '/images/2007-06-17DSC_4173.JPG', 128, 96 ); list( $w, $h, $type ) = getimagesize( $image ); unlink( $image ); $this->assertSame( '2007-06-17DSC_4173-64x96.jpg', wp_basename( $image ) ); $this->assertSame( 64, $w ); $this->assertSame( 96, $h ); $this->assertSame( IMAGETYPE_JPEG, $type ); } public function test_resize_thumb_128x0() { $image = $this->resize_helper( DIR_TESTDATA . '/images/2007-06-17DSC_4173.JPG', 128, 0 ); list( $w, $h, $type ) = getimagesize( $image ); unlink( $image ); $this->assertSame( '2007-06-17DSC_4173-128x193.jpg', wp_basename( $image ) ); $this->assertSame( 128, $w ); $this->assertSame( 193, $h ); $this->assertSame( IMAGETYPE_JPEG, $type ); } public function test_resize_thumb_0x96() { $image = $this->resize_helper( DIR_TESTDATA . '/images/2007-06-17DSC_4173.JPG', 0, 96 ); list( $w, $h, $type ) = getimagesize( $image ); unlink( $image ); $this->assertSame( '2007-06-17DSC_4173-64x96.jpg', wp_basename( $image ) ); $this->assertSame( 64, $w ); $this->assertSame( 96, $h ); $this->assertSame( IMAGETYPE_JPEG, $type ); } public function test_resize_thumb_150x150_crop() { $image = $this->resize_helper( DIR_TESTDATA . '/images/2007-06-17DSC_4173.JPG', 150, 150, true ); list( $w, $h, $type ) = getimagesize( $image ); unlink( $image ); $this->assertSame( '2007-06-17DSC_4173-150x150.jpg', wp_basename( $image ) ); $this->assertSame( 150, $w ); $this->assertSame( 150, $h ); $this->assertSame( IMAGETYPE_JPEG, $type ); } public function test_resize_thumb_150x100_crop() { $image = $this->resize_helper( DIR_TESTDATA . '/images/2007-06-17DSC_4173.JPG', 150, 100, true ); list( $w, $h, $type ) = getimagesize( $image ); unlink( $image ); $this->assertSame( '2007-06-17DSC_4173-150x100.jpg', wp_basename( $image ) ); $this->assertSame( 150, $w ); $this->assertSame( 100, $h ); $this->assertSame( IMAGETYPE_JPEG, $type ); } public function test_resize_thumb_50x150_crop() { $image = $this->resize_helper( DIR_TESTDATA . '/images/2007-06-17DSC_4173.JPG', 50, 150, true ); list( $w, $h, $type ) = getimagesize( $image ); unlink( $image ); $this->assertSame( '2007-06-17DSC_4173-50x150.jpg', wp_basename( $image ) ); $this->assertSame( 50, $w ); $this->assertSame( 150, $h ); $this->assertSame( IMAGETYPE_JPEG, $type ); } /** * Try resizing a non-existent image * * @ticket 6821 */ public function test_resize_non_existent_image() { $image = $this->resize_helper( DIR_TESTDATA . '/images/test-non-existent-image.jpg', 25, 25 ); $this->assertInstanceOf( 'WP_Error', $image ); $this->assertSame( 'error_loading_image', $image->get_error_code() ); } /** * Function to help out the tests */ protected function resize_helper( $file, $width, $height, $crop = false ) { $editor = wp_get_image_editor( $file ); if ( is_wp_error( $editor ) ) { return $editor; } $resized = $editor->resize( $width, $height, $crop ); if ( is_wp_error( $resized ) ) { return $resized; } $dest_file = $editor->generate_filename(); $saved = $editor->save( $dest_file ); if ( is_wp_error( $saved ) ) { return $saved; } return $saved['path']; } } ```
```sql ---- Query: Get the list of experiments to which an app/user has been assigned -- --create table experiment_user_index ( -- user_id varchar, -- app_name varchar, -- bucket varchar, -- experiment_id uuid, -- -- -- Column value -- PRIMARY KEY (user_id, app_name, experiment_id) --) --; create table experiment_user_index ( user_id varchar, context varchar, app_name varchar, bucket varchar, experiment_id uuid, -- Column value PRIMARY KEY (user_id, context, app_name, experiment_id) ) ; ```
Patrick Elzie (born November 22, 1960) is an American-German professional basketball coach and former professional player. He played collegiately at Holy Cross and professionally in Europe. He acquired German citizenship in 1994. Playing career Born in Troy, Missouri, Elzie later moved to Wentzville, Missouri with his family. A 6’8 (203 cm) power forward, he appeared in a total of 109 games for the Holy Cross Crusaders between 1980 and 1984, averaging 7.6 points and 6.4 rebounds a contest. He kicked off his professional career with MTV Gießen of the German Basketball Bundesliga in 1984 and stayed with the team until 1987. After spending the 1987–88 campaign with Hageby Basket in Sweden's top-flight, Elzie returned to Gießen, where he played another two years, followed by stints at other German teams including TV Lich (1989–94), TuS Bramsche, SG Braunschweig (1994–95) and BCJ Hamburg (1995–96). Coaching career After serving as player-coach in Braunschweig, Elzie became a full-time head coach at Paderborn in 1996. After a three-year stint, he took over the head coaching position at Langen and then returned to BCJ Hamburg in 2001. He led BCJ to the championship in the 2. Basketball Bundesliga in 2002, however, the team then folded due to insolvency. After a short tenure as head coach of the Syrian men's national team in 2003 and at SC Rist Wedel, Elzie was named head coach of the Walter Tigers Tübingen in Germany's top-flight Bundesliga in 2004. After parting ways with Tübingen in January 2006, he served as associate head coach at BG Karlsruhe in the first half of the 2006–07 season, before moving to second-division side Kirchheim Knights, where he took over the head coaching job in January 2007. He stayed on that job until the end of the 2007–08 campaign. In 2008, Elzie was appointed as sport director of the Bremen Roosters in the German second-tier, but parted company with the organization in January 2009. He then served as assistant coach of Bundesliga outfit Eisbären Bremerhaven for the remainder of the 2008–09 season. After a brief stint as head coach of BMC Larnaka in Cyprus, Elzie returned to Germany, taking over the head coaching reigns for SC Rasta Vechta in 2009. He would guide the team from Germany's third-level league ProB to the top-flight Bundesliga within four years. After steering Rasta to the 2012 ProA championship, Elzie earned Eurobasket.com All-German 2.Bundesliga Pro A Coach of the Year honors. He left his head coaching job after the conclusion of the 2013–14 season, which had ended in relegation from the Bundesliga. Elzie stayed with the club, working as director of the youth development program, before returning to head coach in January 2015. He then left Vechta at the end of the 2014–15 season and was named head coach of German ProB side Itzehoe Eagles in May 2015. Elzie was named ProB Coach of the Year after leading Itzehoe to the regular season championship in 2019–20. Afterwards, the season was stalled because of the COVID-19 pandemic. He led the Itzehoe Eagles to the ProB finals in 2020–21 which were not played due to the ongoing impact of the pandemic. By reaching the ProB finals, Elzie's Itzehoe side earned the right to promotion to the ProA ranks for the second straight year. In 2020, the club had declined promotion to the next tier for infrastructural and financial reasons. Elzie and his Itzehoe team suffered relegation from the ProA in 2022. He stepped down from his position as Itzehoe head coach shortly after the conclusion of the 2021–22 season and was appointed head coach of German ProB side EPG Baskets Koblenz on June 30, 2022. He led them to a ProB championship in 2022-23 and to promotion to the German second division, ProA. Elzie picked up Eurobasket.com ProB Coach of the Year honors in the 2022-23 campaign. References External links Pat Elzie at eurobasket.com 1960 births SC Rasta Vechta coaches Tigers Tübingen coaches Eisbären Bremerhaven coaches BG Karlsruhe coaches Paderborn Baskets coaches SC Rist Wedel coaches Itzehoe Eagles coaches VfL Kirchheim Knights coaches Living people American expatriate basketball people in Germany American men's basketball coaches Basketball players from Missouri German basketball coaches German people of American descent Holy Cross Crusaders men's basketball players People from Troy, Missouri American men's basketball players
```objective-c // // // path_to_url // // WARNING: THIS FILE IS GENERATED. DO NOT EDIT. // #define TF_MAX_ARITY 7 #include "pxr/pxr.h" #include "pxr/base/arch/defines.h" #if defined(ARCH_OS_DARWIN) #include <mach/mach_time.h> #endif #if defined(ARCH_OS_LINUX) #include <unistd.h> #include <x86intrin.h> #endif #if defined(ARCH_OS_WINDOWS) #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include <Windows.h> #include <intrin.h> #endif #include <algorithm> #include <any> #include <atomic> #include <cfloat> #include <cinttypes> #include <cmath> #include <cstdarg> #include <cstddef> #include <cstdint> #include <cstdio> #include <cstdlib> #include <cstring> #include <deque> #include <functional> #include <initializer_list> #include <iosfwd> #include <istream> #include <iterator> #include <limits> #include <list> #include <locale> #include <map> #include <math.h> #include <memory> #include <new> #include <numeric> #include <set> #include <sstream> #include <stdarg.h> #include <stddef.h> #include <stdlib.h> #include <streambuf> #include <string> #include <sys/types.h> #include <tuple> #include <type_traits> #include <typeindex> #include <typeinfo> #include <unordered_map> #include <unordered_set> #include <utility> #include <vector> #ifdef PXR_PYTHON_SUPPORT_ENABLED #include <boost/python/object_fwd.hpp> #include <boost/python/object_operators.hpp> #if defined(__APPLE__) // Fix breakage caused by Python's pyport.h. #undef tolower #undef toupper #endif #endif // PXR_PYTHON_SUPPORT_ENABLED #include <tbb/cache_aligned_allocator.h> #include <tbb/spin_mutex.h> #ifdef PXR_PYTHON_SUPPORT_ENABLED #include "pxr/base/tf/pySafePython.h" #endif // PXR_PYTHON_SUPPORT_ENABLED ```
```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. # # This would makes sure Python is aware there is more than one sub-package within bigdl, # physically located elsewhere. # Otherwise there would be module not found error in non-pip's setting as Python would # only search the first bigdl package and end up finding only one sub-package. from .convert_model import llm_convert from .optimize import optimize_model import os from .llm_patching import llm_patch, llm_unpatch import sys import types # Default is True, set to False to disable auto importing Intel Extension for PyTorch. USE_NPU = os.getenv("BIGDL_USE_NPU", 'False').lower() in ('true', '1', 't') BIGDL_IMPORT_IPEX = os.getenv("BIGDL_IMPORT_IPEX", 'True').lower() in ('true', '1', 't') BIGDL_IMPORT_IPEX = not USE_NPU and BIGDL_IMPORT_IPEX if BIGDL_IMPORT_IPEX: # Import Intel Extension for PyTorch as ipex if XPU version is installed from .utils.ipex_importer import ipex_importer # Avoid duplicate import if ipex_importer.get_ipex_version() is None: ipex_importer.import_ipex() # Default is true, set to true to auto patching bigdl-llm to ipex_llm. BIGDL_COMPATIBLE_MODE = os.getenv("BIGDL_COMPATIBLE_MODE", 'True').lower() in ('true', '1', 't') if BIGDL_COMPATIBLE_MODE: # Make users' application with previous bigdl-llm could run easily through this patch # Avoid ModuleNotFoundError of 'bigdl', map 'bigdl' to a dummy module sys.modules['bigdl'] = types.ModuleType('_ipex_llm_dummy') # Map 'bigdl.llm' to 'ipex_llm' sys.modules['bigdl.llm'] = sys.modules['ipex_llm'] ```
```python # -*- coding: utf-8 -*- """ Author: Ang Ming Liang Based on path_to_url See also path_to_url """ import superimport import numpy as np from scipy.stats import beta import matplotlib.pyplot as plt from scipy.special import digamma import pyprobml_utils as pml y = np.array([ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 5, 2, 5, 3, 2, 7, 7, 3, 3, 2, 9, 10, 4, 4, 4, 4, 4, 4, 4, 10, 4, 4, 4, 5, 11, 12, 5, 5, 6, 5, 6, 6, 6, 6, 16, 15, 15, 9, 4]) n = np.array([20, 20, 20, 20, 20, 20, 20, 19, 19, 19, 19, 18, 18, 17, 20, 20, 20, 20, 19, 19, 18, 18, 25, 24, 23, 20, 20, 20, 20, 20, 20, 10, 49, 19, 46, 27, 17, 49, 47, 20, 20, 13, 48, 50, 20, 20, 20, 20, 20, 20, 20, 48, 19, 19, 19, 22, 46, 49, 20, 20, 23, 19, 22, 20, 20, 20, 52, 46, 47, 24, 14]) X = np.array([y, n-y]).T def dirichlet_moment_match(data): a = np.mean(data, axis=0) m2 = np.mean(data*data, axis=0) ok = a>0 s = (a[ok] - m2[ok]) / (m2[ok] - a[ok]**2) s = np.median(s) if s == 0: s = 1 return a*s def polya_moment_match(data): sdata = np.expand_dims(np.sum(X, axis=1) ,axis=1) p = data / sdata a = dirichlet_moment_match(p) return a def polya_fit_simple(data): a = polya_moment_match(data) N,K = data.shape for _ in range(100): sa = np.sum(a) g = np.sum(digamma(data + a), axis=0) - N*digamma(a) h = sum(digamma(np.sum(X, axis=1) + np.sum(a))) - N*digamma(np.sum(a)) a = a * g / h return a alphas = polya_fit_simple(X); a, b = alphas popMean = a/(a+b) aPost = a + y bPost = b + n - y meantheta = aPost/(aPost + bPost) quartiles = np.array([[beta.ppf(0.25, a,b), beta.ppf(0.75, a, b),beta.ppf(0.50, a, b)] for (a,b) in zip(aPost, bPost)]) CItheta, mediantheta = quartiles[:, :2], quartiles[:, 2] alpha_mean = np.mean(aPost) beta_mean = np.mean(bPost) hyper_mean = alpha_mean/(alpha_mean + beta_mean) print('hyper mean') print(hyper_mean) thetaMLE = y/n thetaPooledMLE = np.sum(y)/np.sum(n) x = np.arange(0, len(y)) # Plot J = len(n) fig, axs = plt.subplots(4,1, figsize=(10,10)) plt.subplots_adjust(hspace=0.3) axs = np.reshape(axs, 4) xs = np.arange(J) ax = axs[0] ax.bar(xs, y) ax.set_title('Number of postives') ax = axs[1] ax.bar(xs, n) ax.set_title('Group size') ax = axs[2] ax.set_ylim(0, 0.5) ax.bar(x, thetaMLE) ax.plot([0, len(thetaMLE)], [thetaPooledMLE, thetaPooledMLE], color="red") ax.set_title('MLE (red line = pooled)') ax = axs[3] ax.bar(x, meantheta) ax.plot([0, len(meantheta)], [popMean, popMean], color="red") ax.set_ylim(0, 0.5) ax.set_title('Posterior mean (red line = hparam)') plt.tight_layout() pml.savefig('eb_binom_rats_barplot.pdf', dpi=300) plt.show() plt.figure(figsize=(10, 10)) plt.title("95% confidence interval") #for (height, q, median) in zip(range(len(n)-1, 1, -1), CItheta, mediantheta): for j in range(J): height = J-j q = CItheta[j] median = mediantheta[j] plt.plot([q[0], q[1]], [height, height], 'b', alpha=0.5) plt.plot(median, height, 'b*') #plt.yticks(x) ax = plt.gca() ax.set_xlim(0, 0.4) y_lims = ax.get_ylim() ax.vlines(hyper_mean, *y_lims) plt.tight_layout() pml.savefig('eb_binom_rats_CI.pdf') plt.show() ```
```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'; // MODULES // var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' ); var isnanf = require( '@stdlib/math/base/assert/is-nanf' ); // MAIN // /** * Computes the range of a single-precision floating-point strided array according to a mask, ignoring `NaN` values. * * @param {PositiveInteger} N - number of indexed elements * @param {Float32Array} x - input array * @param {integer} strideX - `x` stride length * @param {NonNegativeInteger} offsetX - `x` starting index * @param {Uint8Array} mask - mask array * @param {integer} strideMask - `mask` stride length * @param {NonNegativeInteger} offsetMask - `mask` starting index * @returns {number} range * * @example * var Float32Array = require( '@stdlib/array/float32' ); * var Uint8Array = require( '@stdlib/array/uint8' ); * var floor = require( '@stdlib/math/base/special/floor' ); * * var x = new Float32Array( [ 2.0, 1.0, 2.0, -2.0, -2.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] ); * var mask = new Uint8Array( [ 0, 0, 0, 0, 0, 0, 0, 0, 1, 1 ] ); * var N = floor( x.length / 2 ); * * var v = snanmskrange( N, x, 2, 1, mask, 2, 1 ); * // returns 6.0 */ function snanmskrange( N, x, strideX, offsetX, mask, strideMask, offsetMask ) { var max; var min; var ix; var im; var v; var i; if ( N <= 0 ) { return NaN; } ix = offsetX; im = offsetMask; for ( i = 0; i < N; i++ ) { v = x[ ix ]; if ( v === v && mask[ im ] === 0 ) { break; } ix += strideX; im += strideMask; } if ( i === N ) { return NaN; } min = v; max = min; i += 1; for ( i; i < N; i++ ) { ix += strideX; im += strideMask; if ( mask[ im ] ) { continue; } v = x[ ix ]; if ( isnanf( v ) ) { continue; } if ( v < min ) { min = v; } else if ( v > max ) { max = v; } } return float64ToFloat32( max - min ); } // EXPORTS // module.exports = snanmskrange; ```
```html+erb <p> Hey <%= @user.name %>, thanks for subscribing to DEV++! </p> <p style="font-weight: bold"> Visit the <a href="path_to_url">DEV++ Hub</a> to get started. </p> <p> As an early-bird member of the program, some of the features and deals are not yet live, but congrats on getting in early! We will be turning everything on and adding new deals soon. </p> <p> Happy coding </p> ```
The 2015 Houston Texans season was the franchise's 14th season in the National Football League and the second under head coach Bill O'Brien. This season was the first since 2002 Andre Johnson was not on the opening day roster. Houston started the season going into their bye week at 3–5, including blowout losses to the Atlanta Falcons (21–48) and against the Miami Dolphins (26–44). However, the Texans had a surge in the second half of the season, going 6–2 after the bye. The 2015 season marked the first time the Texans beat the Colts in Indianapolis, helped in part by third–string quarterback Brandon Weeden. The Texans matched their win total from the 2014 season, finishing 9–7, and gained their first division title and postseason trip since 2012, but were shutout, 30–0, at home by the Kansas City Chiefs in the Wild Card round. The 2015 Houston Texans were featured on the HBO documentary series Hard Knocks. 2015 draft class Staff Final roster Schedule Preseason Regular season {| class="wikitable" style="text-align:center" !style=""| Week !style=""| Date !style=""| Opponent !style=""| Result !style=""| Record !style=""| Venue !style=""| Recap |-style="background:#fcc" ! 1 | September 13 | Kansas City Chiefs | L 20–27 | 0–1 | NRG Stadium | Recap |-style="background:#fcc" ! 2 | September 20 | at Carolina Panthers | L 17–24 | 0–2 | Bank of America Stadium | Recap |-style="background:#cfc" ! 3 | September 27 | Tampa Bay Buccaneers | W 19–9 | 1–2 | NRG Stadium | Recap |-style="background:#fcc" ! 4 | October 4 | at Atlanta Falcons | L 21–48 | 1–3 | Georgia Dome | Recap |-style="background:#fcc" ! 5 | | Indianapolis Colts | L 20–27 | 1–4 | NRG Stadium | Recap |-style="background:#cfc" ! 6 | October 18 | at Jacksonville Jaguars | W 31–20 | 2–4 | EverBank Field | Recap |-style="background:#fcc" ! 7 | October 25 | at Miami Dolphins | L 26–44 | 2–5 | Sun Life Stadium | Recap |-style="background:#cfc" ! 8 | November 1 | Tennessee Titans | W 20–6 | 3–5 | NRG Stadium | Recap |- ! 9 | colspan="6" |Bye |-style="background:#cfc" ! 10 | | at Cincinnati Bengals | W 10–6 | 4–5 | Paul Brown Stadium | Recap |-style="background:#cfc" ! 11 | November 22 | New York Jets | W 24–17 | 5–5 | NRG Stadium | Recap |-style="background:#cfc" ! 12 | November 29 | New Orleans Saints | W 24–6 | 6–5 | NRG Stadium | Recap |-style="background:#fcc" ! 13 | December 6 | at Buffalo Bills | L 21–30 | 6–6 | Ralph Wilson Stadium | Recap |-style="background:#fcc" ! 14 | December 13 | New England Patriots | L 6–27 | 6–7 | NRG Stadium | Recap |-style="background:#cfc" ! 15 | December 20 | at Indianapolis Colts | W 16–10 | 7–7 | Lucas Oil Stadium | Recap |-style="background:#cfc" ! 16 | December 27 | at Tennessee Titans | W 34–6| 8–7 | Nissan Stadium | Recap |-style="background:#cfc" ! 17 | January 3 | Jacksonville Jaguars| W 30–6 | 9–7 | NRG Stadium | Recap |}Note: Intra-division opponents are in bold text. Postseason Game summaries Regular season Week 1: vs. Kansas City Chiefs In the 2015 season opener, the Houston Texans took on the Kansas City Chiefs with Brian Hoyer in his first regular season start as the Texans' quarterback. Hoyer's first pass was intercepted which eventually led to a Kansas City touchdown. The Chiefs managed to score another 7 points off of turnovers to take a 14–0 lead with 4:28 left in the first. Houston finally managed to get on the board late in the 1st quarter following a 4-yard pass to DeAndre Hopkins from Hoyer. With Randy Bullock missing the extra point the Texans trailed 14–6 with 0:46 left in the 1st. Following another dismal quarter for the Texans, Kansas City led 27–9 at halftime. Houston managed to shut out the Chiefs for the entire second half and with almost 6 minutes left in the game brought Ryan Mallett in as quarterback, who led the team on two scoring drives. Nonetheless the Texans couldn't manage a comeback and fell to the Chiefs 27–20. Game notes This is the first time since 2009 where the Texans lost their season opener. Houston kicker Randy Bullock became the first player to miss a point-after attempt following a rule change for the 2015 season, which requires the ball to be snapped from the 15-yard line. Week 2: at Carolina Panthers Ryan Mallett was given the starting quarterback position against the Panthers. The Texans' only lead of the game came in the first quarter following a 43-yard field goal from Randy Bullock. Following 10 unanswered points from Carolina in the 2nd quarter, Houston trailed 3-10 going into halftime. Early in the third quarter Houston tied the game at 10 a piece. A Carolina touchdown late in the 3rd quarter and another early in the 4th sealed a Panthers victory as the Texans couldn't manage a comeback. With the loss Houston dropped to 0–2, their worst start since the 2008 season. Week 3: vs. Tampa Bay Buccaneers The Texans hosted the 1-1 Buccaneers at home, looking for their first win of the 2015 season. Both Houston and Tampa Bay punted the ball on their first possession, before Houston scored first with Ryan Mallett connecting with DeAndre Hopkins for a 5-yard touchdown pass. With Randy Bullock's extra point good, the Texans took a 7–0 lead with 4:58 left in the first quarter. Tampa Bay managed to get on the board with their first possession of the 2nd quarter, with Kyle Brindza making a 58 yard long field goal to trail 3–7. Both teams punted on their next possession, with the Texans committing the first turnover of the day with a Ryan Mallett pass being intercepted by Kwon Alexander. The Buccaneers capitalized on the turnover in just 50 seconds, with Jameis Winston throwing a 32-yard pass to Charles Sims. With Brindza missing the extra point, Tampa Bay led Houston 9–7 with 3:51 left in the half. Receiving the ball back, Bullock missed a 43-yard field goal. Tampa Bay received the ball to start the 2nd half, however Winston threw an interception that was caught by Quintin Demps. The Texans settled for 3 points off the turnover with Bullock making a 34-yard field goal. The kicking problems continued for the Buccaneers after Brindza missed a 41-yard field goal with 7:21 left in the 3rd, then again from 33 yards with 10:56 left to play. Following another missed field goal for Tampa Bay, Houston went 77 yards in just 5 plays to score a touchdown with an Alfred Blue 20 yard rush. With Bullock missing his 2nd extra point attempt of the season, the Texans extended their lead to 16–9 with 9:19 left to play. The Texans extended their lead with a 19-yard field goal from Bullock to lead 19–9 with 1:15 left to play. With Brindza missing his 3rd field goal of the day (this time from 57 yards), the Texans held on to secure their first win of the season. The Buccaneers were completely shut out during the second half while the Texans scored 12 unanswered points. Week 4: at Atlanta Falcons Ryan Mallett was named the starting quarterback for the 3rd straight game of the 2015 season for Houston. After a dismal 1st half, the Falcons led the Texans 28–0. In the fourth quarter with the Texans trailing 42–0, Mallett was pulled in favor of Brian Hoyer. Hoyer immediately performed better, passing for 2 touchdowns. However, to add insult to injury on what was already a bad day, with 1 second left to play on 4th and goal, Houston fumbled the ball with Nathan Stupar recovering it for an 84-yard touchdown. Taking the knee on a two-point conversion, the Falcons finished with a 48–21 victory. With the disappointing loss, the Texans fell to 1–3. Week 5: vs. Indianapolis Colts Despite a dismal performance four days earlier, Ryan Mallett was named the starter for the Texans. On the other side, Andrew Luck was inactive for the second week in a row, nursing a shoulder injury. Despite suffering from a viral infection, Matt Hasselbeck was named the starting quarterback for the Colts. Off to a promising start, Houston turned over the ball inside the red zone after a Mallett pass to Arian Foster was tipped and caught by Mike Adams. Indianapolis capitalized on the turnover with a 48-yard field goal from Adam Vinatieri to take a 3–0 lead with 6:32 left in the 1st. The Colts further extended their lead with a 4-yard pass from Hasselbeck to former Texan Andre Johnson to lead 10–0 with 1:27 left in the first. Ending the 1st quarter, Houston trailed 0–10 with the ball on their own 34. On their second play of the 2nd quarter, the Texans punted the ball away on 4th and 1. Houston caught a break following a chop-block penalty against Frank Gore that made it 1st and 25 for Indianapolis near midfield. On 3rd and 22 a roughing the passer call against J. J. Watt gave the Colts a 1st down that put them in the red zone. On 3rd down Hasselbeck threw to T. Y. Hilton, who dropped the ball for an incomplete pass. After the play, Indianapolis head coach Chuck Pagano drew a 15-yard penalty after rushing the field. After a series of penalties, the Colts settled for a 42-yard Vinatieri field goal to lead 13–0 with 7:41 remaining in the half. A roughing the passer call against the Colts gave the Texans an automatic 1st down on what would have been 3rd down. After Mallett was slow to get up, Brian Hoyer came in at the quarterback position. On 3rd and 10 Hoyer picked up the 1st down passing 24 yards to DeAndre Hopkins. Hoyer connected with Hopkins once again to pick up a long 1st down conversion to put the Texans in the red zone. A chop block penalty pushed Houston back to the 31 for a 2nd and 21. Houston finally got on the board with a 36-yard field goal from Nick Novak to trail 3–13 with 2:08 left in the first half. With no timeouts left, Hoyer completed a 95-yard drive with a 42-yard Hail Mary pass to Jaelen Strong to trail 9-13. With Novak's kick good, Houston trailed Indianapolis 10-13 going into halftime. Receiving the ball to start off the first half, the Colts quickly marched down field to score a touchdown on the opening play. With 13:02 left in the 3rd, Indianapolis extended their lead to 20–10. The Texans were not as lucky as an offensive pass-interference call against Hopkins put Houston into a three-and-out. On the Colts' next possession Houston's defense forced them into their first 3-and-out of the night. On the Texans' next possession Hoyer connected with Strong once again for a touchdown. With Novak making the extra point, Houston trailed 17–20 with 4:03 left in the 3rd. Making their first 3rd conversion of the night, the Colts continued to march down the field to hold their 20–17 lead at the end of the 3rd. With a face-mask penalty called against Jadeveon Clowney, the Colts came closer to the Houston red zone. However, on the next play an offside penalty was called against Indianapolis. An interception was over-called following a holding penalty against Houston. On the next play the Texans were penalized again with a pass interference call against Kareem Jackson, making it 1st and goal from the Houston 1 for the Colts. Hasselbeck connected with Johnson to make it 26–17. With Vinatieri making the extra point, Indianapolis extended their lead to 27–17 with 10:28 left to play. Receiving the ball, Foster gained 32 yards to put Houston into Indianapolis territory, keeping hopes of a comeback alive. The Texans ended the drive with a 49-yard field goal from Novak to trail 20–27 with 6:07 left to play. Houston kicked the ball back to Indianapolis, who took the touchback. The Colts punted the ball back with 3:39 left to play, with the Texans returning it to their own 36. By the 2-minute warning Houston had reached Indianapolis territory at the Colts' 38. On the play following the 2 minute warning, Hoyer threw an interception that was picked off by Adams. Indianapolis held onto the ball and ran the clock out to win, 27–20. Week 6: at Jacksonville Jaguars After both teams punted the ball on their first possession, Houston started their 2nd drive from their own 1 yard line. The Texans finished the drive with Brian Hoyer throwing 14 yards to Arian Foster for a touchdown. With Nick Novak making the extra point, the Texans took a 7–0 lead with 1:36 left in the 1st. Jacksonville got their first score of the day with Blake Bortles passing 2 yards to Allen Robinson for a touchdown. With Jason Myers making the extra point, the Texans and Jaguars were tied 7–7 with 9:41 left in the 2nd. Houston responded on their next possession with Novak making a 41-yard field goal to take a 10–7 lead. With just ten seconds left in the first half, Bortles threw an interception that was caught by Andre Hal inside the red zone. Leading 10–7 at the half, the Texans had their first halftime lead of the 2015 season. Jacksonville received the ball to start out the 2nd half, with the Houston defense forcing a three-and-out. Both teams' offenses were relatively quiet throughout the 3rd quarter, with the only scoring play coming late with 10 seconds left. Bortles connected with Julius Thomas for a 29-yard touchdown pass. With Myers making the extra point, Jacksonville took a 14–10 lead going into the 4th. After Hoyer took a hard hit and was slow to get up, Ryan Mallett played a snap, before Hoyer came back in. 2 plays after coming back in, Hoyer threw a 9-yard pass to DeAndre Hopkins for a touchdown. With Novak's kick good, the Texans took a 17–14 lead. Houston extended their lead on their next possession with Hoyer throwing 26 yards to Hopkins for another touchdown. On Jacksonville's next possession, Howe caught another interception and returned it for a touchdown. With the pick-six, the Texans scored 21 unanswered points in the 4th quarter in just over 7 minutes. The Jaguars scored on an Allen Hurns 11 yard pass from Bortles. With Myers missing the extra point, Jacksonville trailed 20–31 with 4:32 left to play. The Jaguars kicked an onside kick and recovered it, however an offside penalty forced the kick to be tried again. On the second attempt, the kick went out of bounds, drawing another penalty. Houston declined the penalty and took possession of the ball. The Jaguars couldn't manage the comeback and Houston won 31–20, improving to 2–4. Week 7: at Miami Dolphins The Texans' offense was forced into five consecutive three-and-outs in the 1st quarter, while the Dolphins' offense scored three passing touchdowns, two of which came from at least 50 yards. After a lopsided first quarter, the Texans trailed the Dolphins 0-21. The 2nd quarter didn't start off any better for Houston, with Ryan Tannehill connecting with Lamar Miller for a 54-yard touchdown reception. With Andrew Franks making the extra point, Miami extended their lead to 28–0. The Texans sunk even lower on their next possession, with a Brian Hoyer pass being intercepted by Reshad Jones, who returned it for a touchdown. With the pick-six, the Dolphins further extended their lead to 35-0 early in the 2nd. With 7:45 left in the 2nd quarter, the Texans finally picked up their first 1st down. Finally getting into the redzone for the first time of the day, Houston turned the ball over on downs on 4th and 2. Miami answered with an 85-yard rush from Miller to extend their lead to 41–0. The score stuck going into halftime, with the Texans facing their largest halftime deficit in franchise history. Early in the 3rd quarter, Miami fumbled the ball which was recovered by Houston defender Johnathan Joseph. The fumble recovery set up the Texans' first score of the day, with Hoyer connecting with Arian Foster. With Nick Novak missing the extra point, Houston trailed Miami 6–41 with 8:13 left in the 3rd. Foster scored again late in the 3rd, this time with a 2-yard rush. With Novak's kick good, the Texans trailed 13–41 with 1:45 left in the 3rd quarter. Houston scored again early in the 4th quarter, with Hoyer connecting with Nate Washington for a 27-yard touchdown pass. With Novak's kick good, the Texans trailed 20-41 after scoring 20 unanswered points. Miami got their first points of the 2nd half midway through the 4th, with Franks making a 53-yard field. The field goal extended the Dolphins' lead to 44–20 with 7:46 left to play. Hoyer found Washington again for a 5-yard touchdown pass. With the 2-point conversion no good, the Texans trailed 26–44 with 4:00 left to play. The Texans fell to the Dolphins 44–26, their first loss to the Dolphins in franchise history. With the loss, Houston dropped to 2–5 on the season. Game notes Arian Foster left the game with an Achilles tear in the 4th quarter; it was later announced that Foster would miss the rest of the season. Backup quarterback Ryan Mallett was cut from the team 2 days after the game. Mallett had missed the team's charter flight to the game and was late to a team meeting the day before. Former Texans backing quarterback T. J. Yates was named as Mallet's replacement. Week 8: vs. Tennessee Titans After a humiliating defeat a week before against the Dolphins, the Texans' defense looked much better holding the Titans to just a field goal in the 1st quarter. Houston's offense scored a touchdown early in the 2nd quarter to take a 7–3 lead. On the ensuing kickoff, Tennessee's Bishop Sankey fumbled the ball with Kurtis Drummond recovering it for Houston. The Texans settled for 3 off the turnover with a 38-yard field goal from Nick Novak. Late in the 3rd quarter Brian Hoyer connected with former Titan Nate Washington for a 42-yard touchdown pass, extending the Texans' lead to 17–6 with Novak making the PAT. To start out the 4th quarter, Kevin Johnson got his first career interception by picking off a Zach Mettenberger pass. Houston failed to capitalized on the turnover, however Tennessee turned the ball over after a J. J. Watt sack, giving the Texans the ball at the Titans' 10-yard line. The Texans scored another 3 points off of the turnover, with Novak making a 24-yard field goal. Houston defeated Tennessee 20-6 and improved to 3–5. Watt, Whitney Mercilus and Jared Crick combined for a total of 6 sacks for the Texans' defense. Week 10: at Cincinnati Bengals The game started off as a defensive battle for both teams with the first score of the game coming late in the 1st quarter. The Bengals originally went for a 32-yard field goal, but a holding penalty made it a 42-yard attempt for Mike Nugent. With the kick good, Cincinnati took a 3–0 lead with 1:33 left in the 1st. The Texans responded on their next possession with a 22-yard field goal from Nick Novak early in the 2nd to tie the game 3-3. To close out the first half, a Hail Mary pass by Texans' quarterback Brian Hoyer was intercepted in the end zone for no return. In a defensive first half, the Bengals led 6–3 at halftime. Hoyer left the game late in the 3rd quarter to be checked for a possible concussion; with Hoyer leaving T. J. Yates played his first snap for the Texans since 2013. The Texans scored the first—and only—touchdown of the game early in the 4th quarter with Yates throwing 22 yards to DeAndre Hopkins. With Novak making the PAT, the Texans took a 10–6 lead with 14:20 left to play. In the end, the Texans held on to upset the Bengals 10–6, handing the Bengals their first loss of the season. Week 11: vs. New York Jets T. J. Yates was named the starter for the Texans as Brian Hoyer was out due to a concussion, while former Texans Ryan Fitzpatrick and Randy Bullock made their first return to Houston since leaving the team. During the 3rd quarter, wide receiver Cecil Shorts III threw a 21-yard touchdown pass to running back Alfred Blue to put the Texans up 17–10 with Nick Novak making the extra-point. Despite losing their starting quarterback, Houston beat the Jets 24–17, extending their winning streak to a season best 3 games, their first 3-game winning streak since the 2012 season. It was their first home victory against the Jets in three tries. Week 12: vs. New Orleans Saints The Texans beat the Saints 24–6, extending their winning streak to 4 games. With the win, Houston went to 6–5 for their first winning record of the season. The Texans' defense didn't allow a single touchdown for New Orleans, the first time the team failed to score a touchdown since December 24, 2005. Week 13: at Buffalo Bills The Texans' defense was unable to withstand the Bills' rushing offense, especially in the first half, allowing over 100 rushing yards. Nonetheless, Houston managed to keep pace throughout despite not leading all game, but gave up a go-ahead touchdown by Charles Clay on the first play off the two-minute warning, followed by Dan Carpenter's 30-yard field goal to put it away for good. The Texans lost their first game following the bye week losing to Buffalo 21–30 and dropped to 6–6 on the season. This was also Houston's first loss to the Bills since 2006. Week 14: vs. New England Patriots Battle Red Day The Texans and Patriots faced off on Sunday Night Football in a game with playoff implications for both teams. Houston received the opening kickoff, going into a three-and-out on the drive. On New England's second drive, Tom Brady found tight end Rob Gronkowski for a 40-yard reception to set up first and goal. To end the drive, Brady found Keshawn Martin for a 2-yard touchdown pass. With Stephen Gostkowski making the extra point the Patriots took a 7–0 lead. On 3rd and 18, Brian Hoyer found Nate Washington for a 49-yard pass to put Houston at New England's 25 yard line. The Texans ended the drive with a 37-yard field goal from Nick Novak to trail 3–7 late in the 1st quarter. The Patriots extended their lead early in the 2nd quarter to 10–3 with a 43-yard field goal from Stephen Gostkowski. After struggling to find their run game after the loss of Arian Foster, Jonathan Grimes took off for 37 yards to put the Texans at the Patriots' 43 yard line. The drive ended with another Novak field goal, this time from 45 yards. With Novak's kick good, Houston trailed 6–10 with 9:26 left in the half. To close out the first half, Tom Brady found Gronkowski for a 1-yard touchdown pass. With Gostkowski making the extra point New England extended their lead to 17–6 going into halftime. The Texans failed to score in the 2nd half, falling to the Patriots 27–6. Hoyer left the game late in the 4th quarter due to a possible concussion, with T. J. Yates coming in as the starting quarterback. Week 15: at Indianapolis Colts T. J. Yates started his second game of the season for the Texans due to Brian Hoyer being out with a concussion. Both teams were held scoreless in the 1st quarter, with the Colts striking first with Matt Hasselbeck connecting with Donte Moncrief for an 11-yard touchdown reception. With Adam Vinatieri making the extra point, Indianapolis lead 7–0 late in the 2nd quarter. The Colts scored again with Vinatieri making a 29-yard field goal, extending their lead to 10–0. The Texans managed to get on the board as the half wined down with a 22-yard field goal from Nick Novak. With Novak's field goal, Houston trailed 3–10 at the half. The Texans' defense held the Colts' offense to zero points in the 2nd half, while Houston's offense scored 13 unanswered points. The Texans made history by beating the Colts in Indianapolis for the first time in franchise history, winning 16–10. Third string quarterback Brandon Weeden helped the Texans past the Colts with an 8-yard pass to Jaelen Strong late in the 4th quarter. With the win, the Texans went to 7–7 and gained sole possession of the AFC South lead. Yates suffered an ACL tear during the game, ending his season. Week 16: at Tennessee Titans Brandon Weeden started for the Texans as Brian Hoyer was still out due to a concussion. Tennessee's offense struggled throughout the game, with Antonio Andrews fumbling the ball on the Titans' first possession. Quintin Demps returned the fumble 33 yards for a touchdown. Nick Novak made the extra point to put the Texans up 7–0 early in the game. Early in the 4th quarter, down 0–34, Tennessee marched all the way down to the Houston 9 yard line, the first time the Titans made their way inside the Houston 20. On 3rd and goal Tennessee quarterback Zach Mettenberger was sacked by J. J. Watt, with Mettenberger fumbling the ball and Jared Crick recovering it four Houston. The Texans failed to capitalize on the turnover, having to punt the ball away. Tennessee got their first score of the day with 1:31 left in the game, with Mettenberger connecting with Tre McBride for a 1-yard touchdown reception. The Titans decided to go for a two–point conversion, but the attempt failed. With the Texans receiving the ball back, backup quarterback B. J. Daniels took the knee to close out the game. The Texans defeated the Titans 34–6 and improved to 8–7 on the season. Week 17: vs. Jacksonville Jaguars Jacksonville received the opening kickoff, going –5 yards on the drive with Blake Bortles being sacked by J. J. Watt for a loss of 8 yards. The Texans didn't fare much better on their first possession, as Brian Hoyer was sacked by Jared Odrick and Peyton Thompson. Houston scored first with a 29-yard field goal from Nick Novak to lead 3–0 halfway through the first quarter. Brian Cushing forced a fumble in the 2nd quarter, with Watt recovering the ball for the Texans. Houston capitalized on the turnover with a 3-yard touchdown run from Jonathan Grimes. Bortles threw an interception late in the 2nd quarter with Andre Hal catching the pick. The Texans capitalized on the turnover with Novak making a season long 51 yard field goal. At the half, Houston led Jacksonville 20–3. With just over three minutes left in the 4th quarter, Kareem Jackson intercepted a Bortles pass, returning it 27 yards for a touchdown to make it 30–6 final. Game notes Offensive tackle Duane Brown left the game late in the 1st quarter with a left knee injury. Brown was carted off the field, quickly being ruled out for the remainder of the game. With the win, the Texans clinched their 3rd AFC South title and gained their 3rd trip to the postseason. Postseason AFC Wild Card Playoffs: vs. (5) Kansas City Chiefs The Chiefs received the opening kickoff, with Knile Davis returning it 106 yards for a touchdown. With Cairo Santos making the extra point, Kansas City took a 7–0 lead. On the Texans' second drive, a Brian Hoyer pass was intercepted by Eric Berry. Two plays later, Chiefs quarterback Alex Smith threw an interception that was picked off by linebacker Brian Cushing, Cushing's first pick since week 1 of the 2013 season. Houston came up empty off of the Kansas City turnover, as Hoyer lost control of the ball on a 3rd down play in Chiefs' territory, fumbling it with Dontari Poe recovering for Kansas City. The Chiefs scored 3 off of the Hoyer fumble, with Cairo Santos making a 49-yard field goal to put Kansas City up 10–0 early in the 2nd. Santos later made another 49-yard field goal to extend the Chiefs' lead to 13–0. Houston found the redzone of Kansas City for the first time with a 49-yard run from Alfred Blue. This was short lived as Hoyer threw another interception on 3rd and goal, with Josh Mauga getting the pick. Houston got the ball back, but Hoyer threw another interception on the play following the 2 minute warning, with Marcus Peters on the pick. The Chiefs led 13–0 at the half, with Brian Hoyer turning it over 4 times in the first half with fans booing him going into the locker room. Houston made it into Kansas City territory coming out of the locker room, but came up short on the drive, having to settle for another punt from Shane Lechler. J. J. Watt almost sacked Smith on the next play, who took off for a 63-yard run that was called back due to offensive holding. The Chiefs got their first offensive touchdown of the day with Smith connecting to Chris Conley for a 9-yard touchdown pass; with Santos making the extra point, Kansas City extended their lead to 20–0. The Chiefs extended their lead once again with a 9-yard rush from Spencer Ware early in the 4th quarter. Hoyer fumbled the ball once again in the Chiefs' territory on 4th and 7, recovering it only to be tackled for a turnover on downs. The Texans suffered both their first Wild Card loss and home shutout loss in franchise history, falling to the Chiefs 0–30. Standings Division Conference Statistics Team IndividualSource''': References External links Houston Houston Texans seasons Houston Texans AFC South championship seasons
```xml <!-- ~ 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. --> <dataset> <metadata> <column name="host"/> <column name="event_name"/> <column name="total"/> <column name="total_latency"/> <column name="max_latency"/> </metadata> </dataset> ```
```javascript import { connect } from 'react-redux'; import React from 'react'; import ReactWebChat from './WebChat'; class App extends React.Component { render() { const { props: { backgroundColor, dispatch } } = this; return ( <div id="app" style={{ backgroundColor }}> <ReactWebChat appDispatch={dispatch} /> </div> ); } } export default connect(({ backgroundColor }) => ({ backgroundColor }))(App); ```
Krasny, Krasnaya, or Krasnoye may refer to: People Krasny (surname), a Russian language surname Michael Krasny (disambiguation), several people Places Krasny, Russia or Krasnaya or Krasnoye, several inhabited localities in Russia Krasni, Nagorno-Karabakh, a village in the Republic of Artsakh Krasnaya (river), a river in Kaliningrad Oblast, Russia Krasnaya Hotel, former name of Bristol Hotel, Odesa, Ukraine See also Krasnoselsk (disambiguation) Krasny Oktyabr (disambiguation) Surnames from nicknames
The original Fish and Fur Club building is at Main (NY 301) and Pearl Streets in Nelsonville, New York, United States. It is now used as Nelsonville's village hall. In 1982 it was added to the National Register of Historic Places (NRHP). It is a single-story three-by-three-bay wood frame building on a stone foundation. An asphalt-shingled hipped roof is pierced in the front by a triangular dormer with a semicircular window. On the front is a poured-concrete porch with wooden posts and railings, leading to the main entrance, a recessed, panelled and glazed double door with a three-part transom. It is flanked by two wood-framed glass bay windows. History The club was organized in 1895 by local outdoor sportsmen, who hunted, trapped and fished in the nearby Hudson River and Hudson Highlands. They met first at the home of one member, next to a local blacksmith's shop, then in another building at Main and Division streets. They decided to buy land for a clubhouse of their own, and bought the current parcel in spring 1905. Bonds bought by every member financed the $1,500 ($ in 2008 dollars) cost of the construction by local builder Martin Adams. It opened in November with a coon supper for members and their families. The building would soon come to be of central importance in the community. In 1923 the Nelsonville Fire Department held its first formal meeting in the club's rooms. It would meet there until the construction of its own firehouse down the street in 1955. In that year the club moved into a new annex to the east, and the village began using the original clubhouse as its justice court, the office of the village clerk and meeting room for the Village Board. Reflecting its members interests, the original building's porch railings and posts were wood of an unfinished, rustic character, an unusual choice in the region. Those were cited as its chief source of architectural significance in its nomination to the NRHP, but have since been replaced with molded wood painted white. In 2001 volunteers and the village began a $15,000 project to renovate the annex, which had fallen into a state of disrepair. It was completely gutted, with new walls, floors and windows installed. New heating and cooling was added, as well as a new septic system for both it and the village hall. References Clubhouses on the National Register of Historic Places in New York (state) Buildings and structures completed in 1905 Buildings and structures in Putnam County, New York National Register of Historic Places in Putnam County, New York 1905 establishments in New York (state)
Yves Trudeau may refer to: Yves Trudeau (artist) (1930–2017), Canadian artist and sculptor Yves Trudeau (biker) (1946-2008), Canadian Hell's Angel, serial killer, and mass murderer See also Yves (disambiguation) Trudeau (disambiguation)
Kakuna is a village in Saaremaa Parish, Saare County, on the eastern part of Saaremaa Island, Estonia. Before the administrative reform in 2017, the village was in Pöide Parish. References Villages in Saare County
```xml <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" xmlns="path_to_url"> <ItemGroup> <Filter Include="Source Files"> <UniqueIdentifier>{be926348-85ad-4cf1-a1e8-b80f1444cb3d}</UniqueIdentifier> <Extensions>cpp;c;def;bat</Extensions> </Filter> <Filter Include="Header Files"> <UniqueIdentifier>{eaf2312c-5ab0-465b-a07f-7dcfe858524c}</UniqueIdentifier> <Extensions>h;hpp;inc</Extensions> </Filter> <Filter Include="Resource Files"> <UniqueIdentifier>{a13894a6-5b09-4a36-a4b9-a9abf1a488e6}</UniqueIdentifier> <Extensions>ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe</Extensions> </Filter> </ItemGroup> <ItemGroup> <ClCompile Include="..\..\qcommon\cm_load.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\qcommon\cm_patch.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\qcommon\cm_polylib.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\qcommon\cm_test.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\qcommon\cm_trace.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\qcommon\cmd.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\qcommon\common.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\qcommon\cvar.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\qcommon\files.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\qcommon\history.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\qcommon\huffman.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\qcommon\huffman_static.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\qcommon\keys.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\qcommon\md4.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\qcommon\md5.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\qcommon\msg.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\qcommon\net_chan.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\qcommon\net_ip.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\qcommon\q_math.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\qcommon\q_shared.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\server\sv_bot.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\server\sv_ccmds.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\server\sv_client.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\server\sv_game.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\server\sv_init.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\server\sv_main.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\server\sv_net_chan.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\server\sv_snapshot.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\server\sv_world.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\qcommon\unzip.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\qcommon\vm.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\qcommon\vm_interpreted.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\..\qcommon\vm_x86.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\win_main.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\win_shared.c"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="..\win_syscon.c"> <Filter>Source Files</Filter> </ClCompile> </ItemGroup> <ItemGroup> <ClInclude Include="..\..\game\bg_public.h"> <Filter>Header Files</Filter> </ClInclude> <ClInclude Include="..\..\cgame\cg_public.h"> <Filter>Header Files</Filter> </ClInclude> <ClInclude Include="..\..\client\client.h"> <Filter>Header Files</Filter> </ClInclude> <ClInclude Include="..\..\qcommon\cm_local.h"> <Filter>Header Files</Filter> </ClInclude> <ClInclude Include="..\..\qcommon\cm_patch.h"> <Filter>Header Files</Filter> </ClInclude> <ClInclude Include="..\..\qcommon\cm_polylib.h"> <Filter>Header Files</Filter> </ClInclude> <ClInclude Include="..\..\qcommon\cm_public.h"> <Filter>Header Files</Filter> </ClInclude> <ClInclude Include="..\..\game\g_public.h"> <Filter>Header Files</Filter> </ClInclude> <ClInclude Include="..\..\client\keycodes.h"> <Filter>Header Files</Filter> </ClInclude> <ClInclude Include="..\..\client\keys.h"> <Filter>Header Files</Filter> </ClInclude> <ClInclude Include="..\..\qcommon\q_platform.h"> <Filter>Header Files</Filter> </ClInclude> <ClInclude Include="..\..\qcommon\q_shared.h"> <Filter>Header Files</Filter> </ClInclude> <ClInclude Include="..\..\qcommon\qcommon.h"> <Filter>Header Files</Filter> </ClInclude> <ClInclude Include="..\..\qcommon\qfiles.h"> <Filter>Header Files</Filter> </ClInclude> <ClInclude Include="..\resource.h"> <Filter>Header Files</Filter> </ClInclude> <ClInclude Include="..\..\server\server.h"> <Filter>Header Files</Filter> </ClInclude> <ClInclude Include="..\..\client\snd_local.h"> <Filter>Header Files</Filter> </ClInclude> <ClInclude Include="..\..\client\snd_public.h"> <Filter>Header Files</Filter> </ClInclude> <ClInclude Include="..\..\qcommon\surfaceflags.h"> <Filter>Header Files</Filter> </ClInclude> <ClInclude Include="..\..\ui\ui_public.h"> <Filter>Header Files</Filter> </ClInclude> <ClInclude Include="..\..\qcommon\unzip.h"> <Filter>Header Files</Filter> </ClInclude> <ClInclude Include="..\..\qcommon\vm_local.h"> <Filter>Header Files</Filter> </ClInclude> <ClInclude Include="..\win_local.h"> <Filter>Header Files</Filter> </ClInclude> </ItemGroup> <ItemGroup> <Image Include="..\qe3.ico"> <Filter>Resource Files</Filter> </Image> </ItemGroup> <ItemGroup> <ResourceCompile Include="..\win_resource.rc"> <Filter>Resource Files</Filter> </ResourceCompile> </ItemGroup> </Project> ```
```css {{{appCSS}}} body { font: 17px / 24px "Helvetica Neue", Helvetica, Arial, sans-serif; text-rendering: optimizeLegibility; font-variant-ligatures: common-ligatures; font-feature-settings: "liga"; -moz-osx-font-smoothing: grayscale; -moz-font-feature-settings: liga on; color: #232323; background: #fff; word-wrap: break-word; } .clear {width: 100%;clear: both;float: none;display: block;height: 0} .small, .caption {font-size: 13px;font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;color: #999;font-weight: 500;} .caption { line-height: 18px; display: block; margin: 9px auto 24px; max-width: 600px; font-style: normal; } /* 29.3333 / 1.2933333 */ .wide.left .caption {margin-left: 22.680412113%} .wide.right .caption {margin-right: 22.680412113%} .right {float: right;} .left {float: left;} div { margin: 0 auto; overflow: visible; position: relative; } .header {margin-top: 48px;margin-bottom: 72px} .main {max-width: 60%;min-width: 600px} .container {max-width: 1000px} .entry {margin: 72px 0 120px} /* LAYOUT */ .margin { position: absolute; box-sizing: border-box; width: 29.3333%; } .margin blockquote {margin: 3px 0;color:#232323;padding: 3px 6px;font-size: 14px;line-height:18px;border: 1px solid rgba(0,0,0,0.1);border-left:4px solid rgba(0,0,0,0.2);background: rgba(0,0,0,0.05);} .margin blockquote p {margin: 0} .margin img, .column img {margin-top: 6px} .margin p {font-style: italic;font-family: Georgia;font-size: 0.9em;margin-top: 0} .margin h1, .margin h2, .margin h3 {margin-top:0} .left.margin { left: -29.3333%; padding-right: 30px; text-align: right; } .right.margin { right: -29.3333%; padding-left: 30px; } .wide { width: 158.6666667%; margin-left: -29.3333333%; overflow: auto; /* collapse internal margins */ } .wide.left, .wide.right {width: 129.3333333%;float: none;} .wide.left {margin: 0 0 0 -29.3333333%} .wide.right {margin: 0 -29.3333333% 0 0} .column { box-sizing: border-box; float: left; } .column .caption {margin-bottom: 6px} .column.two { width: 50%; padding-right: 12px; } .column.three { width: 33%; padding-right: 24px; } .column.two + .column.two { padding: 0 0 0 12px; } .column h1, .column h2, .column h3 {margin-bottom: -12px} /* TEXT */ p, li { font-family: Georgia, serif; position: relative; margin: 24px 0; } h1 {font-size: 25px;line-height: 36px;font-weight: bold;margin-bottom: 24px} h2, h3, h4, h5, h6 {font-size: 17px;font-weight: bold;line-height: 24px;margin: 48px 0 24px} blockquote { padding: 0 0 0 12px; color: #777 } /* p .small-caps, li .small-caps { font-family: "Georgia Pro SC"; }*/ big {color: #000;font-size: 32px;font-family: Georgia;line-height: 48px;display: block;} /* LINKS */ a { color: #004984; /* 02569B */ text-decoration: none; text-shadow: .03em 0 #fff, -.03em 0 #fff, 0 .03em #fff, 0 -.03em #fff, .06em 0 #fff, -.06em 0 #fff, .09em 0 #fff, -.09em 0 #fff, .12em 0 #fff, -.12em 0 #fff, 0 0.03em #fff, 0 -.03em #fff, 0 .06em #fff, 0 -.06em #fff, 0 .08em #fff, 0 -.08em #fff; background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff), linear-gradient(#004984, #004984); background-size: 0 0,0 0,0.07em 0.07em; background-repeat: no-repeat, no-repeat, repeat-x; background-position: 0% 90%, 100% 90%, 0% 95%; } a:hover { color: #468CC7; background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff), linear-gradient(#5599D2, #5599D2); } a::selection { background: #b3d4fd; text-shadow: .03em 0 #b3d4fd, -.03em 0 #b3d4fd, 0 .03em #b3d4fd, 0 -.03em #b3d4fd, .06em 0 #b3d4fd, -.06em 0 #b3d4fd, .09em 0 #b3d4fd, -.09em 0 #b3d4fd, .12em 0 #b3d4fd, -.12em 0 #b3d4fd; } a::-moz-selection { background: #b3d4fd; text-shadow: .03em 0 #b3d4fd, -.03em 0 #b3d4fd, 0 .03em #b3d4fd, 0 -.03em #b3d4fd, .06em 0 #b3d4fd, -.06em 0 #b3d4fd, .09em 0 #b3d4fd, -.09em 0 #b3d4fd, .12em 0 #b3d4fd, -.12em 0 #b3d4fd; } h1 a { background-size: 0 0,0 0,0.07em 0.07em; background-position: 0% 90%, 100% 90%, 0% 98%; } h2 a, h3 a, h4 a, h5 a, h6 a { background-size: 0 0,0 0,0.07em 0.07em; background-position: 0% 90%, 100% 90%, 0% 97%; } a.tag { padding-left: 1.33em; margin-right: 1em; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashMiBaIiBpZD0icGF0aC0xIi8+your_sha256_hashyour_sha256_hashdGFnXzJfZ2VuZXJhbF9wcmljZV9nbHlwaCI+your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashMSIvPjwvZz48L2c+PC9zdmc+) left center/0.94em no-repeat; } /* RULE */ hr {width: 100%;margin: 24px auto -1px;border: none;border-bottom: 3px double #efefef; padding-bottom: 1.4em;text-shadow: none;box-shadow: none;} /* CODE */ code { font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; margin: 0; font-size: 85%; background: rgba(0,0,0,.03); border-radius: 3px; line-height: 24px; } p code { line-height: 1em; padding: 2px; margin-left: -2px; display: inline-block; } /* p code:before, p code:after { letter-spacing: -0.2em; content: "\00a0"; }*/ pre code { display: block;padding: 12px 18px; margin: -11px 0 -13px -18px; background-color: rgba(0,0,0,.02) } /* TABLES */ table { display: block; width: auto; overflow: auto; word-break: normal; word-break: keep-all; border-collapse: collapse; border-spacing: 0; box-sizing: border-box; font-size: 15px; line-height: 24px; } tr {box-sizing: border-box;border-top: 1px solid #ccc;padding: 0} th, td {box-sizing: border-box;border: 1px solid #ddd;padding: 5px 12px 6px} /* LISTS */ ul, ol { margin-left: 0; padding-left: 0; list-style-position: outside; margin-bottom: 24px; } ul {list-style: circle;} ul ul, ol ul, ol ol, ul ol {margin-left: 1.33em;margin-bottom: 0} li {margin: 0} /* IMAGES */ img {vertical-align: middle;max-width: 100%;height: auto;} .image { position: relative; height: 0; padding: 0 0 35.504201681%; max-width: 100%;margin: 0 auto;display: block; } .image img {width: 100%} .image_container {display: block} .wide .image_container {margin: 0 auto} .wide p {margin-top: 0} /* VIDEOS & tweets */ iframe {width: 100%;} /* Only apply vertical margin to direct descendants, prevents multi margins */ .entry > iframe {margin: 24px 0!important;} /* TWEETS */ .entry .twitter-tweet {margin-left:-16px!important} /* MATH */ .katex {font-size: 1.05em;} #logo { font-weight: bold; display:block; font-size: 15px; color: #222; position: relative; text-shadow: none; background-image: none; } #logo img {position: absolute;width: 48px;top: 0px;left: -62px;} #logo:hover {color: #555} #logo img:hover {opacity: 0.8} #logo img.rounded {width: 52px;border-radius: 50%;top: -2px;left: -64px} #logo img:active {margin-top: 1px} /* Nav links are underlined which affects their optical lineheight */ .nav {line-height: 20px;padding-bottom: 4px} .nav a {margin-right: 6px;font-size: 14px;background: none;text-shadow: none;} .nav a[href="/feed.rss"], .nav a[href="/search"] { float: right; color: #000; font-weight: 500; font-size: 13px; padding-left: 1.25em; background: url('data:image/svg+xml;base64,your_sha256_hashyour_sha256_hashyour_sha256_hashOnNwYWNlPSJwcmVzZXJ2ZSI+your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashMzEsMzhMLTEuMDMxLDM4eiIvPg0KPC9nPg0KPGc+your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashMTU0LDAuMDQxTDAuMTU0LDAuMDQxeiIvPg0KPC9nPg0KPC9zdmc+') no-repeat left center / 100%; background-size: 0.88em; opacity: 0.4; margin-left: 1em } .nav a[href="/search"] { background-image: url(data:image/svg+xml;base64,your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashMS4yMDMsMy4xNTR6Ii8+DQo8L3N2Zz4=); background-size: 0.94em; } a.feed:hover, a.search:hover {opacity: 1} input#search { font-size: 1.2em; padding: .5em 1em .5em 2.3em; background: url(data:image/svg+xml;base64,your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashMS4yMDMsMy4xNTR6Ii8+DQo8L3N2Zz4=) 1em center/0.8em no-repeat; border-radius: 3em; width: 103.5%; box-sizing: border-box; margin: .33em .66em 2em -1em; border: 1px solid #A1ADB6; font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; } input#search:focus { outline: none; box-shadow: 0 0 5px rgba(100, 169, 226, 0.51); border: 1px solid #A1ADB6; } ::-webkit-input-placeholder { color: #A4A9B0; } :-moz-placeholder { /* Firefox 18- */ color: #A4A9B0; } ::-moz-placeholder { /* Firefox 19+ */ color: #A4A9B0; } :-ms-input-placeholder { color: #A4A9B0; } .date {margin-top: 10px;background: none;text-shadow: none;} .date:empty {display: none;} /* Reset the spacing when date is not followed by an h1 tag */ .entry .date + p, .entry .date + ul, .entry .date + ol {position: relative;top: 9px;padding-bottom: 9px} .entry .date + .wide {position: relative;top: 2.66em;padding-bottom: 2.66em} .entry .date + .wide.right {position: relative;top: 0.66em;padding-bottom: 0.66em} .entry .date + h2, .entry .date + h3, .entry .date + h4, .entry .date + h5, .entry .date + h6 {position: relative;top: 9px;} /* Pagination */ .pagination { text-align: center; margin: 72px 0 144px; font-size: 14px;color: #999 } .pagination a {margin: 0 1em;background: none} .previousEntry, .nextEntry { text-decoration: none; background: none; text-shadow: none; font-size: 0.88em; line-height: 1.33em; width: 48%; margin: 1em 0 6em 2%; color: #000; display: block; float: left; } .previousEntry {margin: 1em 2% 6em 0;} .adjacent a h5 {margin-bottom: 3px;color: #000} .adjacent a .summary {color: #6B6B6B;font-size: 13px;line-height: 17px;} .previousEntry .title, .nextEntry .title { display: block; font-size: 1.156em; font-family: sans-serif; line-height: 20px; margin-bottom: 3px } @media screen and (max-width: 976px) { .main {max-width: 600px;min-width: 0} .entry .margin {position: relative;top: auto;left: auto;right: auto;bottom: auto;} .entry .margin.right { float: right; } .entry .margin.left { text-align: left; display: block; float: left; } .entry .date {width: 100%;} .entry .margin .caption, .entry .margin p {margin-bottom: 6px;text-align: left;} .wide, .wide.left, .wide.right {width: 100%;margin: 0} .wide.left .caption {margin-left: 0} .date {position: absolute;top: -24px;left: 0;text-align: left;margin: 0} } @media screen and (max-width: 730px) { .nav, #logo {margin-left: 60px} ul, li {margin-left: 24px} ul ul, ol ul, ol ol, ul ol {margin-left: 0} .nav .right {clear: both;float: none;margin-top: 3px} a.search {margin-left: 0} } @media screen and (max-width: 400px) { .entry .twitter-tweet {margin-left: 0!important} .header {margin: 9px auto -12px} } {{#plugins.codeHighlighting.enabled}} /* The theme used by the syntax highlighting app */ .hljs {display: block;overflow-x: auto;} .hljs-comment, .hljs-quote, .hljs-variable {color: #008000;} .hljs-keyword, .hljs-selector-tag, .hljs-built_in, .hljs-name, .hljs-tag {color: #00f;} .hljs-string, .hljs-title, .hljs-section, .hljs-attribute, .hljs-literal, .hljs-template-tag, .hljs-template-variable, .hljs-type, .hljs-addition {color: #a31515;} .hljs-deletion, .hljs-selector-attr, .hljs-selector-pseudo, .hljs-meta {color: #2b91af;} .hljs-doctag {color: #808080;} .hljs-attr {color: #f00;} .hljs-symbol, .hljs-bullet, .hljs-link {color: #00b0e8;} .hljs-emphasis {font-style: italic;} .hljs-strong {font-weight: bold;} {{/plugins.codeHighlighting.enabled}} ```
```go // From path_to_url package smokescreen import ( "github.com/sirupsen/logrus" ) type Log2LogrusWriter struct { Entry *logrus.Entry } func (w *Log2LogrusWriter) Write(b []byte) (int, error) { n := len(b) if n > 0 && b[n-1] == '\n' { b = b[:n-1] } w.Entry.Warning(string(b)) return n, nil } ```
Battle of Aden may refer to: Siege of Aden (1513), Portuguese assault on Aden 1548 capture of Aden, Ottoman capture of Aden Battle of Aden (1586) Portuguese campaign on Aden Aden Expedition (1839), British capture of Aden Aden Emergency (1963–1967), uprising against the British rule Battle of Aden Airport (2015), fought between the Hadi-led government, Houthi rebels and Saleh loyalists Battle of Aden (2015), fought between the Hadi-led government, Houthi rebels and Saleh loyalists Battle of Aden (2018), fought between the Hadi-led government and Southern Transitional Council (STC) See also Battle of Sanaa (disambiguation)
```html <header class="site-header"> <div class="wrapper"> <a class="page-logo" href="{{ site.baseurl }}/"> <svg width="202" height="26" viewBox="0 0 202 26"> <use href="/assets/systemd-logo.svg#systemd-logo"/> </svg> </a> </div> </header> ```
```xml // See LICENSE.txt for license information. import {updateMyChannelLastFetchedAt} from '@actions/local/channel'; import DatabaseManager from '@database/manager'; import { buildChannelMembershipKey, buildMyChannelKey, } from '@database/operator/server_data_operator/comparators'; import { transformChannelInfoRecord, transformChannelMembershipRecord, transformChannelRecord, transformMyChannelRecord, transformMyChannelSettingsRecord, } from '@database/operator/server_data_operator/transformers/channel'; import type ServerDataOperator from '..'; describe('*** Operator: Channel Handlers tests ***', () => { let operator: ServerDataOperator; const serverUrl = 'baseHandler.test.com'; beforeAll(async () => { await DatabaseManager.init([serverUrl]); operator = DatabaseManager.serverDatabases[serverUrl]!.operator; }); it('=> HandleChannel: should write to the CHANNEL table', async () => { expect.assertions(2); const spyOnHandleRecords = jest.spyOn(operator, 'handleRecords'); const channels: Channel[] = [ { create_at: 1600185541285, creator_id: '', delete_at: 0, display_name: '', extra_update_at: 0, group_constrained: null, header: '(path_to_url id: 'kjlw9j1ttnxwig7tnqgebg7dtipno', last_post_at: 1617311494451, name: 'gh781zkzkhh357b4bejephjz5u8daw__9ciscaqbrpd6d8s68k76xb9bte', purpose: '', scheme_id: null, shared: false, team_id: '', total_msg_count: 585, type: 'D', update_at: 1604401077256, }, ]; await operator.handleChannel({ channels, prepareRecordsOnly: false, }); expect(spyOnHandleRecords).toHaveBeenCalledTimes(1); expect(spyOnHandleRecords).toHaveBeenCalledWith({ fieldName: 'id', createOrUpdateRawValues: channels, tableName: 'Channel', prepareRecordsOnly: false, transformer: transformChannelRecord, }, 'handleChannel'); }); it('=> HandleMyChannelSettings: should write to the MY_CHANNEL_SETTINGS table', async () => { expect.assertions(2); const spyOnHandleRecords = jest.spyOn(operator, 'handleRecords'); const settings: ChannelMembership[] = [ { id: 'c', user_id: 'me', channel_id: 'c', roles: '', msg_count: 0, mention_count: 0, last_viewed_at: 0, last_update_at: 0, notify_props: { desktop: 'default', email: 'default', mark_unread: 'mention', push: 'mention', ignore_channel_mentions: 'default', }, }, ]; await operator.handleMyChannelSettings({ settings, prepareRecordsOnly: false, }); expect(spyOnHandleRecords).toHaveBeenCalledTimes(1); expect(spyOnHandleRecords).toHaveBeenCalledWith({ fieldName: 'id', createOrUpdateRawValues: settings, tableName: 'MyChannelSettings', prepareRecordsOnly: false, buildKeyRecordBy: buildMyChannelKey, transformer: transformMyChannelSettingsRecord, }, 'handleMyChannelSettings'); }); it('=> HandleChannelInfo: should write to the CHANNEL_INFO table', async () => { expect.assertions(2); const spyOnHandleRecords = jest.spyOn(operator, 'handleRecords'); const channelInfos = [ { id: 'c', guest_count: 10, header: 'channel info header', member_count: 10, pinned_post_count: 3, purpose: 'sample channel ', }, ]; await operator.handleChannelInfo({ channelInfos, prepareRecordsOnly: false, }); expect(spyOnHandleRecords).toHaveBeenCalledTimes(1); expect(spyOnHandleRecords).toHaveBeenCalledWith({ fieldName: 'id', createOrUpdateRawValues: channelInfos, tableName: 'ChannelInfo', prepareRecordsOnly: false, transformer: transformChannelInfoRecord, }, 'handleChannelInfo'); }); it('=> HandleMyChannel: should write to the MY_CHANNEL table', async () => { expect.assertions(2); const spyOnHandleRecords = jest.spyOn(operator, 'handleRecords'); const channels: Channel[] = [{ id: 'c', name: 'channel', display_name: 'Channel', type: 'O', create_at: 1, update_at: 1, delete_at: 0, team_id: '123', header: '', purpose: '', last_post_at: 2, creator_id: 'me', total_msg_count: 20, extra_update_at: 0, shared: false, scheme_id: null, group_constrained: false, }]; const myChannels: ChannelMembership[] = [ { id: 'c', user_id: 'me', channel_id: 'c', last_post_at: 1617311494451, last_viewed_at: 1617311494451, last_update_at: 1617311494451, mention_count: 3, msg_count: 10, roles: 'guest', notify_props: { desktop: 'default', email: 'default', mark_unread: 'mention', push: 'mention', ignore_channel_mentions: 'default', }, }, ]; await operator.handleMyChannel({ channels, myChannels, prepareRecordsOnly: true, }); expect(spyOnHandleRecords).toHaveBeenCalledTimes(1); expect(spyOnHandleRecords).toHaveBeenCalledWith({ fieldName: 'id', createOrUpdateRawValues: myChannels, tableName: 'MyChannel', prepareRecordsOnly: true, buildKeyRecordBy: buildMyChannelKey, transformer: transformMyChannelRecord, }, 'handleMyChannel'); }); it('=> HandleMyChannel: should keep the previous lastFetchedAt for MY_CHANNEL', async () => { const channels: Channel[] = [{ id: 'c', name: 'channel', display_name: 'Channel', type: 'O', create_at: 1, update_at: 1, delete_at: 0, team_id: '123', header: '', purpose: '', last_post_at: 2, creator_id: 'me', total_msg_count: 20, extra_update_at: 0, shared: false, scheme_id: null, group_constrained: false, }]; const myChannels: ChannelMembership[] = [ { id: 'c', user_id: 'me', channel_id: 'c', last_post_at: 1617311494451, last_viewed_at: 1617311494451, last_update_at: 1617311494451, mention_count: 3, msg_count: 10, roles: 'guest', notify_props: { desktop: 'default', email: 'default', mark_unread: 'mention', push: 'mention', ignore_channel_mentions: 'default', }, }, ]; await operator.handleMyChannel({ channels, myChannels, prepareRecordsOnly: false, }); await updateMyChannelLastFetchedAt(serverUrl, 'c', 123456789, false); myChannels[0].last_viewed_at = 1617311494452; const updated = await operator.handleMyChannel({ channels, myChannels, prepareRecordsOnly: false, }); expect(updated[0]).toHaveProperty('lastFetchedAt', 123456789); }); it('=> HandleChannelMembership: should write to the CHANNEL_MEMBERSHIP table', async () => { expect.assertions(2); const channelMemberships: ChannelMembership[] = [ { id: '17bfnb1uwb8epewp4q3x3rx9go-9ciscaqbrpd6d8s68k76xb9bte', channel_id: '17bfnb1uwb8epewp4q3x3rx9go', user_id: '9ciscaqbrpd6d8s68k76xb9bte', roles: 'wqyby5r5pinxxdqhoaomtacdhc', last_viewed_at: 1613667352029, msg_count: 3864, mention_count: 0, notify_props: { desktop: 'default', email: 'default', ignore_channel_mentions: 'default', mark_unread: 'mention', push: 'default', }, last_update_at: 1613667352029, scheme_user: true, scheme_admin: false, }, { id: '1yw6gxfr4bn1jbyp9nr7d53yew-9ciscaqbrpd6d8s68k76xb9bte', channel_id: '1yw6gxfr4bn1jbyp9nr7d53yew', user_id: '9ciscaqbrpd6d8s68k76xb9bte', roles: 'channel_user', last_viewed_at: 1615300540549, msg_count: 16, mention_count: 0, notify_props: { desktop: 'default', email: 'default', ignore_channel_mentions: 'default', mark_unread: 'all', push: 'default', }, last_update_at: 1615300540549, scheme_user: true, scheme_admin: false, }, ]; const spyOnHandleRecords = jest.spyOn(operator, 'handleRecords'); await operator.handleChannelMembership({ channelMemberships, prepareRecordsOnly: false, }); expect(spyOnHandleRecords).toHaveBeenCalledTimes(1); expect(spyOnHandleRecords).toHaveBeenCalledWith({ fieldName: 'user_id', createOrUpdateRawValues: channelMemberships, tableName: 'ChannelMembership', prepareRecordsOnly: false, buildKeyRecordBy: buildChannelMembershipKey, transformer: transformChannelMembershipRecord, }, 'handleChannelMembership'); }); }); ```
The International Divine Science Association was founded in 1892 in San Francisco, California by religious leader and author Malinda Cramer. The association was "founded for the promulgation of Divine Science, the God idea of perfect unity, harmony and wholeness, associated together in a unity of spirit, for the healing of nations, and the general good of humanity." The International Divine Science Association hosted several New Thought Congresses through the 1890s. The association was a loose coalition of Divine Science leaders and centers across the United States, and is credited as the first of several umbrella organizations created at the turn of the 20th century for the New Thought movement. Bibliography Satter, B. (2001) Each Mind a Kingdom: American Women, Sexual Purity, and the New Thought Movement, 1875–1920. University of California Press. p 106–110. References Divine Science Religious organizations established in 1892 New Thought organizations Religious organizations based in the United States Churches in California Religion in the San Francisco Bay Area Organizations based in San Francisco 1892 establishments in California
```yaml info: version: 1.0.0 title: cors-options x-ibm-name: cors-options basePath: /cors-options swagger: '2.0' paths: /path-cors: get: responses: '200': description: 200 OK /path-cors: options: responses: '200': description: 200 OK x-ibm-configuration: assembly: execute: - invoke: title: invoke target-url: 'path_to_url cors: enabled: true schemes: - http ```
```python import asyncio import json import logging from contextlib import suppress from ssl import SSLContext from typing import Any, Dict, List, Optional, Tuple, Union, cast from graphql import DocumentNode, ExecutionResult, print_ast from websockets.datastructures import HeadersLike from websockets.typing import Subprotocol from .exceptions import ( TransportProtocolError, TransportQueryError, TransportServerError, ) from .websockets_base import WebsocketsTransportBase log = logging.getLogger(__name__) class WebsocketsTransport(WebsocketsTransportBase): """:ref:`Async Transport <async_transports>` used to execute GraphQL queries on remote servers with websocket connection. This transport uses asyncio and the websockets library in order to send requests on a websocket connection. """ # This transport supports two subprotocols and will autodetect the # subprotocol supported on the server APOLLO_SUBPROTOCOL = cast(Subprotocol, "graphql-ws") GRAPHQLWS_SUBPROTOCOL = cast(Subprotocol, "graphql-transport-ws") def __init__( self, url: str, headers: Optional[HeadersLike] = None, ssl: Union[SSLContext, bool] = False, init_payload: Dict[str, Any] = {}, connect_timeout: Optional[Union[int, float]] = 10, close_timeout: Optional[Union[int, float]] = 10, ack_timeout: Optional[Union[int, float]] = 10, keep_alive_timeout: Optional[Union[int, float]] = None, ping_interval: Optional[Union[int, float]] = None, pong_timeout: Optional[Union[int, float]] = None, answer_pings: bool = True, connect_args: Dict[str, Any] = {}, subprotocols: Optional[List[Subprotocol]] = None, ) -> None: """Initialize the transport with the given parameters. :param url: The GraphQL server URL. Example: 'wss://server.com:PORT/graphql'. :param headers: Dict of HTTP Headers. :param ssl: ssl_context of the connection. Use ssl=False to disable encryption :param init_payload: Dict of the payload sent in the connection_init message. :param connect_timeout: Timeout in seconds for the establishment of the websocket connection. If None is provided this will wait forever. :param close_timeout: Timeout in seconds for the close. If None is provided this will wait forever. :param ack_timeout: Timeout in seconds to wait for the connection_ack message from the server. If None is provided this will wait forever. :param keep_alive_timeout: Optional Timeout in seconds to receive a sign of liveness from the server. :param ping_interval: Delay in seconds between pings sent by the client to the backend for the graphql-ws protocol. None (by default) means that we don't send pings. Note: there are also pings sent by the underlying websockets protocol. See the :ref:`keepalive documentation <websockets_transport_keepalives>` for more information about this. :param pong_timeout: Delay in seconds to receive a pong from the backend after we sent a ping (only for the graphql-ws protocol). By default equal to half of the ping_interval. :param answer_pings: Whether the client answers the pings from the backend (for the graphql-ws protocol). By default: True :param connect_args: Other parameters forwarded to `websockets.connect <path_to_url client.html#opening-a-connection>`_ :param subprotocols: list of subprotocols sent to the backend in the 'subprotocols' http header. By default: both apollo and graphql-ws subprotocols. """ super().__init__( url, headers, ssl, init_payload, connect_timeout, close_timeout, ack_timeout, keep_alive_timeout, connect_args, ) self.ping_interval: Optional[Union[int, float]] = ping_interval self.pong_timeout: Optional[Union[int, float]] self.answer_pings: bool = answer_pings if ping_interval is not None: if pong_timeout is None: self.pong_timeout = ping_interval / 2 else: self.pong_timeout = pong_timeout self.send_ping_task: Optional[asyncio.Future] = None self.ping_received: asyncio.Event = asyncio.Event() """ping_received is an asyncio Event which will fire each time a ping is received with the graphql-ws protocol""" self.pong_received: asyncio.Event = asyncio.Event() """pong_received is an asyncio Event which will fire each time a pong is received with the graphql-ws protocol""" if subprotocols is None: self.supported_subprotocols = [ self.APOLLO_SUBPROTOCOL, self.GRAPHQLWS_SUBPROTOCOL, ] else: self.supported_subprotocols = subprotocols async def _wait_ack(self) -> None: """Wait for the connection_ack message. Keep alive messages are ignored""" while True: init_answer = await self._receive() answer_type, answer_id, execution_result = self._parse_answer(init_answer) if answer_type == "connection_ack": return if answer_type != "ka": raise TransportProtocolError( "Websocket server did not return a connection ack" ) async def _send_init_message_and_wait_ack(self) -> None: """Send init message to the provided websocket and wait for the connection ACK. If the answer is not a connection_ack message, we will return an Exception. """ init_message = json.dumps( {"type": "connection_init", "payload": self.init_payload} ) await self._send(init_message) # Wait for the connection_ack message or raise a TimeoutError await asyncio.wait_for(self._wait_ack(), self.ack_timeout) async def _initialize(self): await self._send_init_message_and_wait_ack() async def send_ping(self, payload: Optional[Any] = None) -> None: """Send a ping message for the graphql-ws protocol""" ping_message = {"type": "ping"} if payload is not None: ping_message["payload"] = payload await self._send(json.dumps(ping_message)) async def send_pong(self, payload: Optional[Any] = None) -> None: """Send a pong message for the graphql-ws protocol""" pong_message = {"type": "pong"} if payload is not None: pong_message["payload"] = payload await self._send(json.dumps(pong_message)) async def _send_stop_message(self, query_id: int) -> None: """Send stop message to the provided websocket connection and query_id. The server should afterwards return a 'complete' message. """ stop_message = json.dumps({"id": str(query_id), "type": "stop"}) await self._send(stop_message) async def _send_complete_message(self, query_id: int) -> None: """Send a complete message for the provided query_id. This is only for the graphql-ws protocol. """ complete_message = json.dumps({"id": str(query_id), "type": "complete"}) await self._send(complete_message) async def _stop_listener(self, query_id: int): """Stop the listener corresponding to the query_id depending on the detected backend protocol. For apollo: send a "stop" message (a "complete" message will be sent from the backend) For graphql-ws: send a "complete" message and simulate the reception of a "complete" message from the backend """ log.debug(f"stop listener {query_id}") if self.subprotocol == self.GRAPHQLWS_SUBPROTOCOL: await self._send_complete_message(query_id) await self.listeners[query_id].put(("complete", None)) else: await self._send_stop_message(query_id) async def _send_connection_terminate_message(self) -> None: """Send a connection_terminate message to the provided websocket connection. This message indicates that the connection will disconnect. """ connection_terminate_message = json.dumps({"type": "connection_terminate"}) await self._send(connection_terminate_message) async def _send_query( self, document: DocumentNode, variable_values: Optional[Dict[str, Any]] = None, operation_name: Optional[str] = None, ) -> int: """Send a query to the provided websocket connection. We use an incremented id to reference the query. Returns the used id for this query. """ query_id = self.next_query_id self.next_query_id += 1 payload: Dict[str, Any] = {"query": print_ast(document)} if variable_values: payload["variables"] = variable_values if operation_name: payload["operationName"] = operation_name query_type = "start" if self.subprotocol == self.GRAPHQLWS_SUBPROTOCOL: query_type = "subscribe" query_str = json.dumps( {"id": str(query_id), "type": query_type, "payload": payload} ) await self._send(query_str) return query_id async def _connection_terminate(self): if self.subprotocol == self.APOLLO_SUBPROTOCOL: await self._send_connection_terminate_message() def _parse_answer_graphqlws( self, json_answer: Dict[str, Any] ) -> Tuple[str, Optional[int], Optional[ExecutionResult]]: """Parse the answer received from the server if the server supports the graphql-ws protocol. Returns a list consisting of: - the answer_type (between: 'connection_ack', 'ping', 'pong', 'data', 'error', 'complete') - the answer id (Integer) if received or None - an execution Result if the answer_type is 'data' or None Differences with the apollo websockets protocol (superclass): - the "data" message is now called "next" - the "stop" message is now called "complete" - there is no connection_terminate or connection_error messages - instead of a unidirectional keep-alive (ka) message from server to client, there is now the possibility to send bidirectional ping/pong messages - connection_ack has an optional payload - the 'error' answer type returns a list of errors instead of a single error """ answer_type: str = "" answer_id: Optional[int] = None execution_result: Optional[ExecutionResult] = None try: answer_type = str(json_answer.get("type")) if answer_type in ["next", "error", "complete"]: answer_id = int(str(json_answer.get("id"))) if answer_type == "next" or answer_type == "error": payload = json_answer.get("payload") if answer_type == "next": if not isinstance(payload, dict): raise ValueError("payload is not a dict") if "errors" not in payload and "data" not in payload: raise ValueError( "payload does not contain 'data' or 'errors' fields" ) execution_result = ExecutionResult( errors=payload.get("errors"), data=payload.get("data"), extensions=payload.get("extensions"), ) # Saving answer_type as 'data' to be understood with superclass answer_type = "data" elif answer_type == "error": if not isinstance(payload, list): raise ValueError("payload is not a list") raise TransportQueryError( str(payload[0]), query_id=answer_id, errors=payload ) elif answer_type in ["ping", "pong", "connection_ack"]: self.payloads[answer_type] = json_answer.get("payload", None) else: raise ValueError if self.check_keep_alive_task is not None: self._next_keep_alive_message.set() except ValueError as e: raise TransportProtocolError( f"Server did not return a GraphQL result: {json_answer}" ) from e return answer_type, answer_id, execution_result def _parse_answer_apollo( self, json_answer: Dict[str, Any] ) -> Tuple[str, Optional[int], Optional[ExecutionResult]]: """Parse the answer received from the server if the server supports the apollo websockets protocol. Returns a list consisting of: - the answer_type (between: 'connection_ack', 'ka', 'connection_error', 'data', 'error', 'complete') - the answer id (Integer) if received or None - an execution Result if the answer_type is 'data' or None """ answer_type: str = "" answer_id: Optional[int] = None execution_result: Optional[ExecutionResult] = None try: answer_type = str(json_answer.get("type")) if answer_type in ["data", "error", "complete"]: answer_id = int(str(json_answer.get("id"))) if answer_type == "data" or answer_type == "error": payload = json_answer.get("payload") if not isinstance(payload, dict): raise ValueError("payload is not a dict") if answer_type == "data": if "errors" not in payload and "data" not in payload: raise ValueError( "payload does not contain 'data' or 'errors' fields" ) execution_result = ExecutionResult( errors=payload.get("errors"), data=payload.get("data"), extensions=payload.get("extensions"), ) elif answer_type == "error": raise TransportQueryError( str(payload), query_id=answer_id, errors=[payload] ) elif answer_type == "ka": # Keep-alive message if self.check_keep_alive_task is not None: self._next_keep_alive_message.set() elif answer_type == "connection_ack": pass elif answer_type == "connection_error": error_payload = json_answer.get("payload") raise TransportServerError(f"Server error: '{repr(error_payload)}'") else: raise ValueError except ValueError as e: raise TransportProtocolError( f"Server did not return a GraphQL result: {json_answer}" ) from e return answer_type, answer_id, execution_result def _parse_answer( self, answer: str ) -> Tuple[str, Optional[int], Optional[ExecutionResult]]: """Parse the answer received from the server depending on the detected subprotocol. """ try: json_answer = json.loads(answer) except ValueError: raise TransportProtocolError( f"Server did not return a GraphQL result: {answer}" ) if self.subprotocol == self.GRAPHQLWS_SUBPROTOCOL: return self._parse_answer_graphqlws(json_answer) return self._parse_answer_apollo(json_answer) async def _send_ping_coro(self) -> None: """Coroutine to periodically send a ping from the client to the backend. Only used for the graphql-ws protocol. Send a ping every ping_interval seconds. Close the connection if a pong is not received within pong_timeout seconds. """ assert self.ping_interval is not None try: while True: await asyncio.sleep(self.ping_interval) await self.send_ping() await asyncio.wait_for(self.pong_received.wait(), self.pong_timeout) # Reset for the next iteration self.pong_received.clear() except asyncio.TimeoutError: # No pong received in the appriopriate time, close with error # If the timeout happens during a close already in progress, do nothing if self.close_task is None: await self._fail( TransportServerError( f"No pong received after {self.pong_timeout!r} seconds" ), clean_close=False, ) async def _handle_answer( self, answer_type: str, answer_id: Optional[int], execution_result: Optional[ExecutionResult], ) -> None: # Put the answer in the queue await super()._handle_answer(answer_type, answer_id, execution_result) # Answer pong to ping for graphql-ws protocol if answer_type == "ping": self.ping_received.set() if self.answer_pings: await self.send_pong() elif answer_type == "pong": self.pong_received.set() async def _after_connect(self): # Find the backend subprotocol returned in the response headers response_headers = self.websocket.response_headers try: self.subprotocol = response_headers["Sec-WebSocket-Protocol"] except KeyError: # If the server does not send the subprotocol header, using # the apollo subprotocol by default self.subprotocol = self.APOLLO_SUBPROTOCOL log.debug(f"backend subprotocol returned: {self.subprotocol!r}") async def _after_initialize(self): # If requested, create a task to send periodic pings to the backend if ( self.subprotocol == self.GRAPHQLWS_SUBPROTOCOL and self.ping_interval is not None ): self.send_ping_task = asyncio.ensure_future(self._send_ping_coro()) async def _close_hook(self): # Properly shut down the send ping task if enabled if self.send_ping_task is not None: self.send_ping_task.cancel() with suppress(asyncio.CancelledError): await self.send_ping_task self.send_ping_task = None ```
Tumu-nui is the name of several figures in Tahitan mythology. In the creation myth of the Society Islands, Ta'aroa creates Tumu-nui and his wife Paparaharaha as foundations for the Earth. Ta'aroa commanded them to approach one another, but they both refused as each had a fixed place in the earth. This is also the name of the uncle of the hero Rata. He was king of Tahiti. When he was lost at sea, his nephew Rata became king. References Tahiti and Society Islands gods
Quesada Cove, Nelson Island Quiroga Ridge, Livingston Island See also Bulgarian toponyms in Antarctica External links Bulgarian Antarctic Gazetteer SCAR Composite Gazetteer of Antarctica Antarctic Digital Database (ADD). Scale 1:250000 topographic map of Antarctica with place-name search. L. Ivanov. Bulgarian toponymic presence in Antarctica. Polar Week at the National Museum of Natural History in Sofia, 2–6 December 2019 Bibliography J. Stewart. Antarctica: An Encyclopedia. Jefferson, N.C. and London: McFarland, 2011. 1771 pp. L. Ivanov. Bulgarian Names in Antarctica. Sofia: Manfred Wörner Foundation, 2021. Second edition. 539 pp. (in Bulgarian) G. Bakardzhieva. Bulgarian toponyms in Antarctica. Paisiy Hilendarski University of Plovdiv: Research Papers. Vol. 56, Book 1, Part A, 2018 – Languages and Literature, pp. 104-119 (in Bulgarian) L. Ivanov and N. Ivanova. Bulgarian names. In: The World of Antarctica. Generis Publishing, 2022. pp. 114-115. Antarctica Bulgarian toponyms in Antarctica Names of places in Antarctica
Ognevo () is a rural locality (a village) in Botanovskoye Rural Settlement, Mezhdurechensky District, Vologda Oblast, Russia. The population was 15 as of 2002. Geography Ognevo is located 37 km southwest of Shuyskoye (the district's administrative centre) by road. Yershovo is the nearest rural locality. References Rural localities in Mezhdurechensky District, Vologda Oblast
```toml name = "hextarball" version = "0.1.0" description = "Test project to construct a hex tarball" licences = ["Apache-2.0"] ```
```makefile ################################################################################ # # bootstrap # ################################################################################ BOOTSTRAP_VERSION = 3.3.1 BOOTSTRAP_SITE = path_to_url BOOTSTRAP_SOURCE = bootstrap-$(BOOTSTRAP_VERSION)-dist.zip BOOTSTRAP_LICENSE = MIT define BOOTSTRAP_EXTRACT_CMDS unzip $(DL_DIR)/$(BOOTSTRAP_SOURCE) -d $(@D) endef define BOOTSTRAP_INSTALL_TARGET_CMDS $(INSTALL) -m 0644 -D $(@D)/dist/css/bootstrap-theme.min.css \ $(TARGET_DIR)/var/www/bootstrap/css/bootstrap-theme.min.css $(INSTALL) -m 0644 -D $(@D)/dist/css/bootstrap.min.css \ $(TARGET_DIR)/var/www/bootstrap/css/bootstrap.min.css $(INSTALL) -m 0644 -D $(@D)/dist/js/bootstrap.min.js \ $(TARGET_DIR)/var/www/bootstrap/js/bootstrap.min.js cp -r $(@D)/dist/fonts $(TARGET_DIR)/var/www/bootstrap/ endef $(eval $(generic-package)) ```
The fifth annual Nickelodeon Australian Kids' Choice Awards were held on 10 October 2007 at the Sydney Entertainment Centre. The show was hosted by The Veronicas and Zac Efron. Voting for the nominees of the awards commenced on 1 July 2007 and ended on 22 July 2007 and on 1 August 2007 the full list of nominees were announced with new category Biggest Greenie (who is the person kids think is doing most to save the planet). On 14 August 2007 the voting commenced. Torrie Wilson and Bobby Lashley were also scheduled to appear. Guests The Veronicas - Co-Hosts Zac Efron - Co-Host Torrie Wilson Bobby Lashley Performers Good Charlotte Dean Geyer Ricki-Lee Shannon Noll The Veronicas Nominees & Winners Winners in Bold. Music Fave Female Singer Ricki-Lee Amy Pearson Kate Miller-Heidke Missy Higgins Fave Male Singer Shannon Noll Dean Geyer Anthony Callea Guy Sebastian Fave Band The Veronicas Operator Please Rogue Traders Sneaky Sound System Fave International Singer Pink Hilary Duff Justin Timberlake Mika Fave International Band Good Charlotte Hinder Maroon 5 Panic! at the Disco Fave Song Fall Out Boy — Thnks Fr Th Mmrs Avril Lavigne — Girlfriend Naked Brothers Band — Crazy Car Rihanna — Umbrella TV Fave Nick Show Drake & Josh Camp Orange Unfabulous Zoey 101 Fave Toon SpongeBob SquarePants The Simpsons Avatar: The Last Airbender Ben 10 Fave TV Show Australian Idol Australia's Funniest Home Videos Big Brother Home and Away Fave Female TV Star Bree Amer Caitlin Stasey Indiana Evans Sophie Luck Fave Male TV Star Rove McManus Adam Hills Bobby Morley Mike Goldman PEOPLE Fave Hottie Dean Geyer Jennifer Hawkins Lucas Neill Natalie Bassingthwaighte Fave Celebrity Duo Hamish & Andy James Mathison & Andrew G Maude & Kyle The Veronicas MOVIES Fave Movie Shrek 3 Happy Feet Nancy Drew Night at the Museum Fave Movie Star Zac Efron Emma Roberts Nicole Kidman Shia LaBeouf THE BIG 3 So Hot Right Now High School Musical 2 Naked Brothers Band Silverchair & Powderfinger WWE Raw Biggest Greenie Bindi Irwin Ian Thorpe John Butler Peter Garrett Fave Aussie Bindi Irwin Hugh Jackman Kate Ritchie Rove McManus References Nickelodeon Kids' Choice Awards 2007 awards 2007 in Australian television 2000s in Sydney
```xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url"> <plist version="1.0"> <dict> <key>BuildMachineOSBuild</key> <string>16B2553a</string> <key>CFBundleDevelopmentRegion</key> <string>en</string> <key>CFBundleExecutable</key> <string>AppleALC</string> <key>CFBundleIdentifier</key> <string>as.vit9696.AppleALC</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> <string>AppleALC</string> <key>CFBundlePackageType</key> <string>KEXT</string> <key>CFBundleShortVersionString</key> <string>1.0.18</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleSupportedPlatforms</key> <array> <string>MacOSX</string> </array> <key>CFBundleVersion</key> <string>1.0.18</string> <key>DTCompiler</key> <string>com.apple.compilers.llvm.clang.1_0</string> <key>DTPlatformBuild</key> <string>8A218a</string> <key>DTPlatformVersion</key> <string>GM</string> <key>DTSDKBuild</key> <string>16A300</string> <key>DTSDKName</key> <string>macosx10.12</string> <key>DTXcode</key> <string>0800</string> <key>DTXcodeBuild</key> <string>8A218a</string> <key>IOKitPersonalities</key> <dict> <key>as.vit9696.AppleALC</key> <dict> <key>CFBundleIdentifier</key> <string>as.vit9696.AppleALC</string> <key>IOClass</key> <string>AppleALC</string> <key>IOMatchCategory</key> <string>AppleALC</string> <key>IOProviderClass</key> <string>IOResources</string> <key>IOResourceMatch</key> <string>IOKit</string> </dict> </dict> <key>OSBundleLibraries</key> <dict> <key>as.vit9696.PinConfigs</key> <string>1.0.0</string> <key>com.apple.kpi.bsd</key> <string>12.0.0</string> <key>com.apple.kpi.dsep</key> <string>12.0.0</string> <key>com.apple.kpi.iokit</key> <string>12.0.0</string> <key>com.apple.kpi.libkern</key> <string>12.0.0</string> <key>com.apple.kpi.mach</key> <string>12.0.0</string> <key>com.apple.kpi.unsupported</key> <string>12.0.0</string> </dict> <key>OSBundleRequired</key> <string>Root</string> </dict> </plist> ```
```javascript // Copy of modifiers-methods with 'async' abstract class C { abstract async a(); static async s() {} public abstract async pua(); public static async pus() {} public async pu() {} protected async po() {} private async pi() {} } ```
```shell #! /bin/bash set -e printf "Running go vet...\n" go vet -all -composites=false -unreachable=false -tests=false ./... printf "Running go vet shadow...\n" go vet -vettool="$(dirname "$0")/goshadow.sh" ./... ```
Daniel James, also known as Gentle Daniel, (December 26, 1922 – April 8, 2006) was a light-heavyweight boxer from Trinidad & Tobago. He spent time in Belmont Orphanage. He retired in 1953. He was Inducted into WITCO’s Trinidad & Tobago Sports Hall of Fame in 1985. Career James defeated Venezuelan champion Jota Jota Hernandez, American Bert Lytell (boxer), fellow Trinidadian Ancil “Baba” Adams, and Jamaican champion Syd Brown (boxer), to win the Caribbean title. He lived in Belmont. Against Yolande Pompey, he had a draw and held is title, and then two losses in 1950 and 1951. References Trinidad and Tobago male boxers 1922 births 2006 deaths Light-heavyweight boxers
```sourcepawn <?php /** * This file is part of OpenMediaVault. * * @license path_to_url GPL Version 3 * @author Volker Theile <volker.theile@openmediavault.org> * * OpenMediaVault is free software: you can redistribute it and/or modify * any later version. * * OpenMediaVault 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 OpenMediaVault. If not, see <path_to_url */ namespace Engined\Rpc; class NetworkHosts extends \OMV\Rpc\ServiceAbstract { public function getName() { return "NetworkHosts"; } public function initialize() { $this->registerMethod("get"); $this->registerMethod("set"); } function get($params, $context) { return \OMV\Rpc\Rpc::call("Config", "get", [ "id" => "conf.system.network.hosts" ], $context); } function set($params, $context) { return \OMV\Rpc\Rpc::call("Config", "set", [ "id" => "conf.system.network.hosts", "data" => $params ], $context); } } ```