text
stringlengths
1
22.8M
The Timișana is a left tributary of the river Timiș in Romania. It discharges into the Timiș in Hitiaș. It flows through the southern outskirts of Lugoj and through the villages Boldur, Căpăt, Racovița and Hitiaș. Its length is and its basin size is . Tributaries The following rivers are tributaries to the river Timișana (from source to mouth): Left: Fața, Cinca, Dicșan, Cherăstău References Rivers of Romania Rivers of Timiș County
Reatha Belle Clark King (born April 11, 1938) is an American chemist, the former vice president of the General Mills Corporation; and the former president, executive director, and chairman of the board of trustees of the General Mills Foundation, the philanthropic foundation of General Mills, Inc. Early life and education Reatha Belle Clark was born in Pavo, Georgia, United States on April 11, 1938. Her father, Willie B. Clark, was a sharecropper, and her mother, Ola Mae Watts Campbell, had only a third-grade education. Reatha Clark began elementary school in a one-room school for grades 1–7, at Mt. Zion Baptist, a colored church, where she was taught by Florence Frazier. Later, she attended school in Coolidge, Georgia, and high school in Moultrie, Georgia. When she graduated from Moultrie High School for Negro Youth in 1954, the same year that Brown v. Board of Education determined segregated schools were illegal, Clark was the valedictorian of her class. Clark was recruited to attend Clark College in Atlanta, where she initially enrolled as a home economics major. She was encouraged to become a research chemist by the head of the chemistry department there, Alfred Spriggs. King earned a bachelor of science degree in chemistry and mathematics from Clark College. Spriggs encouraged her to apply for a fellowship from the Woodrow Wilson National Fellowship Foundation, which she received from 1958 to 1960. The fellowship supported her work at the University of Chicago, from which she obtained a master of science degree in chemistry in 1960. She went on to study with advisor Ole J. Kleppa, receiving her Ph.D. degree in thermochemistry from the University of Chicago in 1963. The title of her Ph.D. thesis was "Contributions to the thermochemistry of the Laves phases." While in Chicago she also met and married N. Judge King. Reatha Clark King later earned a master's in business administration in finance management from Columbia University while on sabbatical. Scientific and academic career King was employed for five years (1963–1968) as a research chemist for the National Bureau of Standards in Washington, D.C. Hired by George T. Armstrong, King was the first African American female chemist to work at the agency. She used techniques for both bomb and flame calorimetry. Much of her work there involved measuring the accurate heats of formation of gaseous fluorine compounds, and she received a Meritorious Publication Award for her paper on fluoride flame calorimetry. This research was important to the NASA space program. Her two children were born during this time. Techniques and mechanisms that she developed for flame fluorine calorimetry are still used. King and her family moved to New York when her husband accepted a position at Nassau Community College, Garden City, New York. King obtained an assistant professorship at York College, City University of New York. There she served as professor of chemistry, 1968–1977, associate dean for Division of Natural Science & Mathematics, 1970-1974, and associate dean for academic affairs, 1974–1977. She moved to Minneapolis–Saint Paul, Minnesota, to become president of Metropolitan State University, where she worked from 1977 to 1988. She helped to substantially expand the university, and promoted involvement of minorities and women in higher education. Her husband joined the Minnesota Mining and Manufacturing Company (3M) as a research chemist. Business career In 1988, King was recruited by General Mills in Minneapolis, Minnesota, to serve in two roles. She became vice president of the General Mills Corporation and president and executive director of the General Mills Foundation. She remained in these positions from 1988 to 2002. In 2002, she was elected as chairman of the board of trustees of General Mills Foundation, and served in this position for a further year, retiring completely from General Mills in 2003. Under her leadership the General Mills Foundation, originally established in 1954, has been active both locally and nationally in philanthropic and community service. King has served on the boards of a number of other corporations, including ExxonMobil, Wells Fargo & Company; Department 56; Minnesota Mutual Companies; and the H. B. Fuller Company. In 1994, she was appointed by President Bill Clinton to be a member of the Board of Directors of the Corporation for National and Community Service, and served until her resignation in 1997. She has also served with nonprofits, such as the International Trachoma Initiative, Allina Health, the Council on Foundations, the National Association of Corporate Directors, and the Congressional Black Caucus Foundation. She has served as a trustee with Clark Atlanta University, and is a Life Trustee for the University of Chicago. She is a member of the American Council on Education and the Executive Leadership Council in Washington, D.C. She has a particularly strong interest in education, and has stated: "I realized early in life that education is our best enabling resource, that technical skills are important, and that my stamina for championing educational opportunity for all people is inexhaustible." Publications King, R. C. and Armstrong, G. T. (1964). Heat of combustion and heat of formation of aluminum carbide. Journal of Research of the National Bureau of Standards (A. Physics and Chemistry), 68A(6), pp. 661–668. King, R. C. and Armstrong, G. T. (1965). Heat of formation of aluminum carbide. Technical News Bulletin, 49(2), pp. 26–27. (Photo on cover of issue.) King, R. C., and Armstrong, G. T., Chapter 8: Fluorine Flame Calorimetry. II. The heats of reaction of oxygen difluoride, fluorine and oxygen, with hydrogen. The heat of formation of oxygen difluoride. In National Bureau of Standards (1 January 1967) NBS Report 9500: Preliminary report on the thermodynamic properties of selected light-element and some related compounds. U.S. Air Force Order No. OAR ISSA 65-8. King, R. C., and Armstrong, G. T. (May 1967) Interagency Chemical Rocket Propellant Group, Thermochemistry Working Croup, Bulletin of the Fifth Meeting March 15–17, 1967, Vol. 1., Chemical Propulsion Information Agency. Publications CPIA 146, pp 69–96. King, Reatha C., and Armstrong, George T. (1968) "Constant Pressure Flame Calorimetry With Fluorine II. The Heat of Formation of Oxygen Difluoride." Journal of Research of the National Bureau of Standards (A. Physics and Chemistry), 72A (2), pp. 113–131. Received Meritorious Publication Award, 1969. Armstrong, G. T., and King, R. C. (1969). The heats of formation of some fluorine-containing oxidizers, Proc. Conf. Interagency Chemical Rocket Propulsion Group, Thermochemistry Working Group, Cleveland OH, April 9–11, 1969, 7th Meeting, Bulletin 1, pp. 19–40. (Chemical Propulsion Information Agency. Johns Hopkins University, Applied Physics Laboratory, Silver Spring. Md.. Aug. 1969). King, R. C., and Armstrong, G. T. (1970) "Fluorine Flame Calorimetry. III. The Heat of Formation of Chlorine Trifluoride at 298.15 K". Journal of Research of the National Bureau of Standards (A. Physics and Chemistry), 74A (6), pp. 769–779. Awards and honors King has received honorary degrees and many other awards, including: The Governor's Civil Rights Legend Award, 2019. International Citizen Award, 2013, from the International Leadership Institute (ILI), Minneapolis, MN. Louis W. Hill, Jr. Fellow in Philanthropy at the Hubert H. Humphrey Center of the University of Minnesota, 2004. Director of the Year from the National Association of Corporate Directors, 2004. One of Ebony magazine's Top 50 Black Executives in Corporate America, 1992. Exceptional Black Scientist Award from CIBA-GEIGY Corporation, 1984. Defender of Democracy Award from the Washington, D.C. Martin Luther King, Jr. National Memorial Project Foundation. Delta Sigma Theta sorority, Minneapolis-St. Paul Alumnae Chapter, 1979. References 1938 births Living people American businesspeople 21st-century American chemists African-American chemists American women chemists York College, City University of New York faculty 21st-century African-American women 20th-century African-American people 20th-century African-American women 21st-century American women scientists Chemists from Georgia (U.S. state) Members of the Board of Directors of the Corporation for National and Community Service
Theodor Zwinger III (26 August 1658 – 22 April 1724) was a Swiss physician. Life Theodor Zwinger came from an important Basel family of scholars. His father was the Basel theology professor Johannes Zwinger. He studied in Basel from 1675 and in 1680 was made a medical doctor with the dissertation De paedotrophia. He then spent two years in France, including in Paris and Strasbourg. After his return to Basel, he pursued a career as a university lecturer at the University of Basel. First he took over the professorship of rhetoric in 1684, three years later the chair of physics, in 1703 that of anatomy and botany, and in 1711 the chair of theoretical and practical medicine which he retained until his death. He also worked as Stadtarzt (town doctor), was dean several times and in 1711/1712 rector. In 1685 Zwinger was elected a member of the German National Academy of Sciences Leopoldina. In 1706 he became a member of the Prussian Academy of Sciences. In 1700 Zwinger was offered the first chair of medicine at Leiden University. The Landgrave of Hesse-Cassel and the King of Prussia sought to secure him by offers; but nothing could persuade him to leave his native town. Appointed physician and Aulic Counciller to the Duke of Württemberg and the Marquis of Baden-Durlach, he received the same titles from several princes and from various towns in Germany. In December 1703, he moved from the chair of physics to that of anatomy and botany. In winter he presided over dissections in the amphitheater, and in summer, followed by his pupils, he traveled through the mountains of Switzerland to collect new plants, with which he enriched the garden of the academy. The city of Freiburg im Breisgau, afflicted with an epidemic in 1710, demanded the care of Zwinger. He spent the day visiting the sick and part of the night writing up his observations. He made valuable contributions to pediatrics and physics classes in Basel. He also maintained an extensive correspondence, including with Johann Jakob Scheuchzer. The theologian Johann Rudolf Zwinger was a brother of Zwinger. One son was the anatomist Johann Rudolph Zwinger. His nephew Johann Rudolf Mieg was also one of his students. References 1658 births 1724 deaths People from Basel-Landschaft 17th-century Swiss physicians 18th-century Swiss physicians Academic staff of the University of Basel
```javascript const reportWebVitals = onPerfEntry => { if (onPerfEntry && onPerfEntry instanceof Function) { import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { getCLS(onPerfEntry); getFID(onPerfEntry); getFCP(onPerfEntry); getLCP(onPerfEntry); getTTFB(onPerfEntry); }); } }; export default reportWebVitals; ```
Merima Ključo (born 26 December 1973) is a Bosnian concert accordionist and composer. In 1993 she moved to the Netherlands as a refugee of the Bosnian War. Currently she is a Bosnian-Dutch citizen. After receiving a Genius visa in 2011 she became an American resident and is based in Los Angeles. Ključo is a classically trained accordionist, specialized in contemporary music. She is fluent in different musical idioms and her repertoire draws from classical, avant-garde and experimental music, as well as her own compositions where Balkan, Sephardic and Klezmer traditions meet contemporary techniques. Ključo has been a guest soloist with a number of symphonic orchestras, including the Scottish Chamber Orchestra, Holland Symphonia, and the Netherlands Radio Philharmonic Orchestra. As soloist she has participated in the St Magnus Festival, the City of London Festival, the Gaudeamus Festival and the Gubaidulina Festival. In addition to performing on the accordion, Ključo composes and arranges. She produced, composed, and arranged the critically acclaimed album Zumra (Gramofon, 2009/ Harmonia Mundi UK / World Village 2010), which featured the Bosnian traditional singer Amira Medunjanin. The Sunday Times voted Zumra one of the "Top 100 albums of 2010", as well as No. 4 in "Top 10 World Music Albums". Ključo has contributed music to the films, "In the Land of Blood and Honey" by Angelina Jolie, "Jack" by Sergej Kreso, "Journey 4 Artists" by Michele Noble, and "Stories of Sevdah" by Robert Golden. She has also worked with the National Jewish Theater, Bremer Theater, Nederlandse Kinder Theater, Eastwest Theatre Company and Zagreb Youth Theater. In 2006 she composed music for the radio drama "Wie der Soldat das Grammofon repariert," that is based on the book by Saša Stanišić and published as an audio book through Random House. From 2009 to 2012, she played and worked as arranger/composer for Theodore Bikel's one-man play, Sholom Aleichem: Laughter Through Tears. In 2012, she was invited by Eastwest Theatre Company to compose, arrange, and perform Sarajevo Red Line (Sarajevska Crvena Linija) in commemoration of the 20th anniversary of the Siege of Sarajevo. This piece, which incorporated traditional songs, pop songs, and classical music was performed on April 6, 2012 to an audience of 11, 541 empty red chairs lining the main boulevard in Sarajevo, with one chair for every life lost in the siege. Thousands of people from all walks of life congregated to witness and remember. Her multimedia work The Sarajevo Haggadah: Music of the Book (for accordion, piano and video, 2014) traces the story of one of Jewish culture's most treasured manuscripts. Using the musical traditions of Spain, Italy, Austria, and Bosnia-Herzegovina, Ključo illustrates the Haggadah's travels from medieval Spain to 20th-century Bosnia where it was hidden and rescued during World War II, to its restoration by the National Museum in Sarajevo after the 1992-1995 war. Inspired by the historical novel People of the Book by Pulitzer-Prize winning author Geraldine Brooks, The Sarajevo Haggadah: Music of the Book interprets the artifact as a universal symbol of exile, return, and co-existence. The Sarajevo Haggadah performance was commissioned by the Foundation for Jewish Culture's New Jewish Culture Network, a league of North American performing arts presenters committed to the creation and touring of innovative projects, and developed in residence at Yellow Barn. Her solo album Couperin Visiting the Balkans is published in 2015. In 2016 director/actor Edvin Liverić and the Zagreb Youth Theater invited Ključo to compose music for The Notebook - a play based on Ágota Kristóf's book. Her books Eastern European Folk Tunes for Accordion and Klezmer and Sephardic Tunes for Accordion are published by Schott Music. Album Aritmia was published in 2016 as a result of her collaboration with guitarist Miroslav Tadić. In addition, she has taught in conservatories and universities in Europe and in the U.S. Ključo’s own accordion studies began at the Srednja Muzicka Skola in Sarajevo, continued at the Codarts University for the Arts in Rotterdam, and culminated at the University of the Arts Bremen, where she was granted a postgraduate scholarship for exceptional talent and graduated cum laude. References External links Artist homepage 1973 births Living people Bosnia and Herzegovina musicians 21st-century accordionists Women accordionists People from Livno Yugoslav Wars refugees Dutch people of Bosnia and Herzegovina descent Bosnia and Herzegovina emigrants to the Netherlands University of the Arts Bremen alumni Codarts University for the Arts alumni
Highback chub (Hybopsis hypsinotus) is a species of freshwater fish in the carp family (Cyprinidae). Geographic distribution This species can be found in the foothills of the Blue Ridge Mountains above the Fall Line, as well as in portions of the Peedee and Santee river drainages in the Piedmont region. Ecology The highback chub is a freshwater fish of the United States. It can be found in clear to turbid water in creeks and small to medium rivers with sandy or rocky bottoms. It appears to spawn on the nests of the bluehead chub (Nocomis leptocephalus). References Hybopsis Fish described in 1870 Fish of the United States Taxa named by Edward Drinker Cope
Fly Shoot Dori () is a South Korean reality show program on KBS. The 1st League of the show used to be one of the Happy Sunday segment and was aired on KBS2. From 2nd to the 6th League, they were aired on . In December 2019, it was announced that a new season was in the making. The new season aired on Tuesdays at 20:55 (KST) from January 7, 2020 to July 13, 2020 on KBS2. Synopsis This show showcases young children with varying soccer skills. Through the show, they will be able to get to know each other and learn how to play soccer from the coaches. Casts 1st League Air Date October 23, 2005 — July 30, 2006 Director: Kim Jong-kook, Jun Jin Coach: Shin Jung-hwan, Kim Jong-min Manager: Lee Yeon-doo Player Jo Min-ho (조민호) Lee Hyun-jun (이현준) (Left the show in December 2005) Kim Tae-soo (김태수) Kim Tae-hoon (김태훈) (Appearance from Ep 3 onwards) Oh Ji-woo (오지우) Choi Seong-woo (최성우) Ji Seung-jun (지승준) - Captain and Goal Keeper Lee Seung-gwon (이승권) Jin Hyun-woo (진현우) Shooter dream team Air Date July 2, 2006 — August 27, 2006 Director: Yoo Sang-chul Coach: Kim Jong-min Manager: Shin Ji Player Jo Min-ho (조민호) Kim Tae-hoon (김태훈) Kim Tae-soo (김태수) Ju Hwi-min (주휘민) Jo Hyeong-ho (조형호) Im Won-jun (임원준) Seung Jun-soo (승준수) 2nd League Air Date September 10 — November 12, 2006 Director : Yoo Sang-chul, Kim Tae-young Coach : Lee Jae-hoon Manager : Jeon Hye-sang Player Maeng Ho-seong (맹호성) Choi Seong-woo (최성우) Kim San (김산) Lee Seung-gwon (이승권) Kim Jeong-in (김정인) Choi Yoo-bin (최유빈) Lee Tae-seok (이태석) Choi Chan-uk (최찬욱) Park Geon (박건) 3rd League Air Date April 2 — October 29, 2007 Director: Yoo Sang-chul Coach: Lee Jung Manager: Sim Min Player Lee Kang-in (이강인) Kim San (김산) Kim Seong-min (김성민) Shin Jae-yoo (신재유) Lee Dong-hwa (이동화) Kim Seung-jun (김승준) Seo Yo-sep (서요셉) Oh Woo-bin (오우빈) Lee Tae-seok (이태석) Kim Yoo-rim (김유림) 4th League Air Date March 8 — September, 2008 Director: Yoo Sang-chul Coach: Kim Byung-man, Lee Jung Manager: Nam Bo-ra Player Oh Woo-bin (오우빈) Lee Tae-seok (이태석) Kim Dae-hyun (김대현) Kim Dong-geon (김동건) Kim San (김산) Go Ga-hyun (고가현) Kim Jin-won (김진원) Park Edward (박에드워드) Byeon Jun-seok (변준석) Kim Dong-seong (김동성) 5th League Air Date March 7 — September 12, 2009 Director: Yoo Sang-chul Coach: Woo Seung-min Manager: Choi Seung-ah Player Jo Seong-bin (조성빈) Tia Johnson (티아존슨) Shin Hyung-kyun (신형균) Jo Yong-jin (조용진) Jeong Ui-hyun (정의현) Shin Jae-hoon (신재훈) Im Kyung-bin (임경빈) Kim Ji-hoon (김지훈) Park Min-kyu (박민규) Kim Ju-heon (김주헌) 6th League Air Date May 5 — July 21, 2014 Director: Lee Jung Coach: Lee Chang-min Manager: Shin Soo-ji Player Lee Hyo-rin (이효린) Yang Seo-hyun (양서현) Kim Woo-jin (김우진) Kim Do-yoon (김도윤) Lee Ha-rang (이하랑) Kim Hae-mil (김해밀) David Yanson (데이빗얀슨) Jeong Tae-ha (정태하) Chun Kwan-hwi (천관희) Lee Si-on (이시온) 7th League — New Beginning Air Date January 7 — July 13, 2020 Due to the outbreak of COVID-19, therefore from March 24 to May 5, 2020 and June 2, 2020, recording of the show had been temporarily suspended. Thus, for the time being, broadcasts in the coming weeks will be replaced by either special or rerun episodes of 'Fly Shoot Dori'. Casts Kim Jong-kook: Coach Yang Se-chan: Coach Lee Byung-jin: Castor Park Moon-sung: Commentator Lee Young-pyo: Director One Day Coach Kim So-hye (Ep 3–4) Alberto Mondi (Ep 6-9) One Day Director Lee Dong-gook (Ep 1–2, 4–6) Park Joo-ho (Ep 3–4) Kim Jae-hwan (Ep 6–7) Alberto Mondi (Ep 6–9) Ahn Jung-hwan (Ep 10–11) Players Lee Jeong-won (이정원) Jeon Ha-gyeom (전하겸) Lee Woo-jong (이우종) Byeon Ji-hoon (변지훈) Lee Kyung-ju (이경주) Kim Ji-won (김지원) Park Seo-jin (박서진) Rating In the ratings below, the highest rating for the show will be in , and the lowest rating for the show will be in each year. Ratings listed below are the individual corner ratings of Fly Shoot Dori. (Note: Individual corner ratings do not include commercial time, which regular ratings include.) League 7 References External links Official website for 7th League South Korean reality television series Korean Broadcasting System original programming South Korean television shows 2010s South Korean television series Korean-language television shows 2005 South Korean television series debuts
```javascript var $ = require('cheerio'); module.exports = { // Photos only for now. TODO: Stay tuned for when video embeds become available re: /^https?:\/\/www\.gettyimages\.(com|ca|com\.au|be|dk|de|es|fr|in|ie|it|nl|co\.nz|no|at|pt|ch|fi|se|ae|co\.uk|co\.jp)\/detail\/([^\/]+)\/[^\/]+\/(\d+)/i, provides: 'getty', mixins: [ "og-image", "favicon", "canonical", "og-description", "og-site", "twitter-title" ], getData: function(urlMatch, request, cb) { request({ uri: "path_to_url" + urlMatch[3], json: true, limit: 1, timeout: 1000, prepareResult: function(error, response, body, cb) { if (error) { return cb(error); } if (body.message) { return cb(body.message); } cb(null, { getty: body }); } }, cb); }, getLink: function(getty) { var $container = $('<div>'); try { $container.html(getty.embedTag); } catch (ex) {} var $iframe = $container.find('iframe'); // if embed code contains <iframe>, return src if ($iframe.length == 1) { return { href: $iframe.attr('src'), type: CONFIG.T.text_html, rel: CONFIG.R.image, "aspect-ratio": $iframe.attr('width') / $iframe.attr('height'), "max-width": $iframe.attr('width') }; } }, tests: [ "path_to_url", "path_to_url", "path_to_url", "path_to_url" ] }; ```
Caymus (also, Caymas) is a former settlement in Napa County, California. It lay at an elevation of 105 feet (32 m). Caymus was located on the Southern Pacific Railroad, southeast of Rutherford. It was located on Rancho Caymus, a Mexican land grant, a very notable wine-producing area. References Former settlements in Napa County, California Former populated places in California
```objective-c /* * */ #pragma once #include <stdbool.h> #include <stdint.h> #include <stddef.h> #include "soc/soc.h" #include "soc/lp_aon_reg.h" #include "soc/reset_reasons.h" #include "esp_assert.h" #ifdef __cplusplus extern "C" { #endif /** \defgroup rtc_apis, rtc registers and memory related apis * @brief rtc apis */ /** @addtogroup rtc_apis * @{ */ /************************************************************************************** * Note: * * Some Rtc memory and registers are used, in ROM or in internal library. * * Please do not use reserved or used rtc memory or registers. * * * ************************************************************************************* * RTC Memory & Store Register usage ************************************************************************************* * rtc memory addr type size usage * 0x3f421000(0x50000000) Slow SIZE_CP Co-Processor code/Reset Entry * 0x3f421000+SIZE_CP Slow 8192-SIZE_CP * * 0x3ff80000(0x40070000) Fast 8192 deep sleep entry code * ************************************************************************************* * RTC store registers usage * LP_AON_STORE0_REG Reserved * LP_AON_STORE1_REG RTC_SLOW_CLK calibration value * LP_AON_STORE2_REG Boot time, low word * LP_AON_STORE3_REG Boot time, high word * LP_AON_STORE4_REG External XTAL frequency * LP_AON_STORE5_REG APB bus frequency * LP_AON_STORE6_REG FAST_RTC_MEMORY_ENTRY * LP_AON_STORE7_REG FAST_RTC_MEMORY_CRC * LP_AON_STORE8_REG Store light sleep wake stub addr * LP_AON_STORE9_REG Store the sleep mode at bit[0] (0:light sleep 1:deep sleep) ************************************************************************************* */ #define RTC_SLOW_CLK_CAL_REG LP_AON_STORE1_REG #define RTC_BOOT_TIME_LOW_REG LP_AON_STORE2_REG #define RTC_BOOT_TIME_HIGH_REG LP_AON_STORE3_REG #define RTC_XTAL_FREQ_REG LP_AON_STORE4_REG #define RTC_APB_FREQ_REG LP_AON_STORE5_REG #define RTC_ENTRY_ADDR_REG LP_AON_STORE6_REG #define RTC_RESET_CAUSE_REG LP_AON_STORE6_REG #define RTC_MEMORY_CRC_REG LP_AON_STORE7_REG #define RTC_SLEEP_WAKE_STUB_ADDR_REG LP_AON_STORE8_REG #define RTC_SLEEP_MODE_REG LP_AON_STORE9_REG #define RTC_DISABLE_ROM_LOG ((1 << 0) | (1 << 16)) //!< Disable logging from the ROM code. typedef enum { AWAKE = 0, //<CPU ON LIGHT_SLEEP = BIT0, //CPU waiti, PLL ON. We don't need explicitly set this mode. DEEP_SLEEP = BIT1 //CPU OFF, PLL OFF, only specific timer could wake up } SLEEP_MODE; typedef enum { NO_MEAN = 0, POWERON_RESET = 1, /**<1, Vbat power on reset*/ RTC_SW_SYS_RESET = 3, /**<3, Software reset digital core*/ DEEPSLEEP_RESET = 5, /**<5, Deep Sleep reset digital core*/ TG0WDT_SYS_RESET = 7, /**<7, Timer Group0 Watch dog reset digital core*/ TG1WDT_SYS_RESET = 8, /**<8, Timer Group1 Watch dog reset digital core*/ RTCWDT_SYS_RESET = 9, /**<9, RTC Watch dog Reset digital core*/ TG0WDT_CPU_RESET = 11, /**<11, Time Group0 reset CPU*/ RTC_SW_CPU_RESET = 12, /**<12, Software reset CPU*/ RTCWDT_CPU_RESET = 13, /**<13, RTC Watch dog Reset CPU*/ RTCWDT_BROWN_OUT_RESET = 15, /**<15, Reset when the vdd voltage is not stable*/ RTCWDT_RTC_RESET = 16, /**<16, RTC Watch dog reset digital core and rtc module*/ TG1WDT_CPU_RESET = 17, /**<17, Time Group1 reset CPU*/ SUPER_WDT_RESET = 18, /**<18, super watchdog reset digital core and rtc module*/ EFUSE_RESET = 20, /**<20, efuse reset digital core*/ USB_UART_CHIP_RESET = 21, /**<21, usb uart reset digital core */ USB_JTAG_CHIP_RESET = 22, /**<22, usb jtag reset digital core */ POWER_GLITCH_RESET = 23, /**<23, power glitch reset digital core and rtc module*/ JTAG_CPU_RESET = 24, /**<24, jtag reset CPU*/ } RESET_REASON; // Check if the reset reason defined in ROM is compatible with soc/reset_reasons.h ESP_STATIC_ASSERT((soc_reset_reason_t)POWERON_RESET == RESET_REASON_CHIP_POWER_ON, "POWERON_RESET != RESET_REASON_CHIP_POWER_ON"); ESP_STATIC_ASSERT((soc_reset_reason_t)RTC_SW_SYS_RESET == RESET_REASON_CORE_SW, "RTC_SW_SYS_RESET != RESET_REASON_CORE_SW"); ESP_STATIC_ASSERT((soc_reset_reason_t)DEEPSLEEP_RESET == RESET_REASON_CORE_DEEP_SLEEP, "DEEPSLEEP_RESET != RESET_REASON_CORE_DEEP_SLEEP"); ESP_STATIC_ASSERT((soc_reset_reason_t)TG0WDT_SYS_RESET == RESET_REASON_CORE_MWDT0, "TG0WDT_SYS_RESET != RESET_REASON_CORE_MWDT0"); ESP_STATIC_ASSERT((soc_reset_reason_t)TG1WDT_SYS_RESET == RESET_REASON_CORE_MWDT1, "TG1WDT_SYS_RESET != RESET_REASON_CORE_MWDT1"); ESP_STATIC_ASSERT((soc_reset_reason_t)RTCWDT_SYS_RESET == RESET_REASON_CORE_RTC_WDT, "RTCWDT_SYS_RESET != RESET_REASON_CORE_RTC_WDT"); ESP_STATIC_ASSERT((soc_reset_reason_t)TG0WDT_CPU_RESET == RESET_REASON_CPU0_MWDT0, "TG0WDT_CPU_RESET != RESET_REASON_CPU0_MWDT0"); ESP_STATIC_ASSERT((soc_reset_reason_t)RTC_SW_CPU_RESET == RESET_REASON_CPU0_SW, "RTC_SW_CPU_RESET != RESET_REASON_CPU0_SW"); ESP_STATIC_ASSERT((soc_reset_reason_t)RTCWDT_CPU_RESET == RESET_REASON_CPU0_RTC_WDT, "RTCWDT_CPU_RESET != RESET_REASON_CPU0_RTC_WDT"); ESP_STATIC_ASSERT((soc_reset_reason_t)RTCWDT_BROWN_OUT_RESET == RESET_REASON_SYS_BROWN_OUT, "RTCWDT_BROWN_OUT_RESET != RESET_REASON_SYS_BROWN_OUT"); ESP_STATIC_ASSERT((soc_reset_reason_t)RTCWDT_RTC_RESET == RESET_REASON_SYS_RTC_WDT, "RTCWDT_RTC_RESET != RESET_REASON_SYS_RTC_WDT"); ESP_STATIC_ASSERT((soc_reset_reason_t)TG1WDT_CPU_RESET == RESET_REASON_CPU0_MWDT1, "TG1WDT_CPU_RESET != RESET_REASON_CPU0_MWDT1"); ESP_STATIC_ASSERT((soc_reset_reason_t)SUPER_WDT_RESET == RESET_REASON_SYS_SUPER_WDT, "SUPER_WDT_RESET != RESET_REASON_SYS_SUPER_WDT"); ESP_STATIC_ASSERT((soc_reset_reason_t)EFUSE_RESET == RESET_REASON_CORE_EFUSE_CRC, "EFUSE_RESET != RESET_REASON_CORE_EFUSE_CRC"); ESP_STATIC_ASSERT((soc_reset_reason_t)USB_UART_CHIP_RESET == RESET_REASON_CORE_USB_UART, "USB_UART_CHIP_RESET != RESET_REASON_CORE_USB_UART"); ESP_STATIC_ASSERT((soc_reset_reason_t)USB_JTAG_CHIP_RESET == RESET_REASON_CORE_USB_JTAG, "USB_JTAG_CHIP_RESET != RESET_REASON_CORE_USB_JTAG"); ESP_STATIC_ASSERT((soc_reset_reason_t)POWER_GLITCH_RESET == RESET_REASON_CORE_PWR_GLITCH, "POWER_GLITCH_RESET != RESET_REASON_CORE_PWR_GLITCH"); typedef enum { NO_SLEEP = 0, EXT_EVENT0_TRIG = BIT0, EXT_EVENT1_TRIG = BIT1, GPIO_TRIG = BIT2, TIMER_EXPIRE = BIT3, SDIO_TRIG = BIT4, MAC_TRIG = BIT5, UART0_TRIG = BIT6, UART1_TRIG = BIT7, TOUCH_TRIG = BIT8, SAR_TRIG = BIT9, BT_TRIG = BIT10, RISCV_TRIG = BIT11, XTAL_DEAD_TRIG = BIT12, RISCV_TRAP_TRIG = BIT13, USB_TRIG = BIT14 } WAKEUP_REASON; typedef enum { DISEN_WAKEUP = NO_SLEEP, EXT_EVENT0_TRIG_EN = EXT_EVENT0_TRIG, EXT_EVENT1_TRIG_EN = EXT_EVENT1_TRIG, GPIO_TRIG_EN = GPIO_TRIG, TIMER_EXPIRE_EN = TIMER_EXPIRE, SDIO_TRIG_EN = SDIO_TRIG, MAC_TRIG_EN = MAC_TRIG, UART0_TRIG_EN = UART0_TRIG, UART1_TRIG_EN = UART1_TRIG, TOUCH_TRIG_EN = TOUCH_TRIG, SAR_TRIG_EN = SAR_TRIG, BT_TRIG_EN = BT_TRIG, RISCV_TRIG_EN = RISCV_TRIG, XTAL_DEAD_TRIG_EN = XTAL_DEAD_TRIG, RISCV_TRAP_TRIG_EN = RISCV_TRAP_TRIG, USB_TRIG_EN = USB_TRIG } WAKEUP_ENABLE; /** * @brief Get the reset reason for CPU. * * @param int cpu_no : CPU no. * * @return RESET_REASON */ RESET_REASON rtc_get_reset_reason(int cpu_no); /** * @brief Get the wakeup cause for CPU. * * @param int cpu_no : CPU no. * * @return WAKEUP_REASON */ WAKEUP_REASON rtc_get_wakeup_cause(void); typedef void (* esp_rom_wake_func_t)(void); /** * @brief Read stored RTC wake function address * * Returns pointer to wake address if a value is set in RTC registers, and stored length & CRC all valid. * valid means that both stored stub length and stored wake function address are four-byte aligned non-zero values * and the crc check passes * * @param None * * @return esp_rom_wake_func_t : Returns pointer to wake address if a value is set in RTC registers */ esp_rom_wake_func_t esp_rom_get_rtc_wake_addr(void); /** * @brief Store new RTC wake function address * * Set a new RTC wake address function. If a non-NULL function pointer is set then the function * memory is calculated and stored also. * * @param entry_addr Address of function. should be 4-bytes aligned otherwise it will not start from the stub after wake from deepsleep * if NULL length will be ignored and all registers are cleared to 0. * * @param length length of function in RTC fast memory. should be less than RTC Fast memory size and aligned to 4-bytes. * otherwise all registers are cleared to 0. * * @return None */ void esp_rom_set_rtc_wake_addr(esp_rom_wake_func_t entry_addr, size_t length); /** * @brief Suppress ROM log by setting specific RTC control register. * @note This is not a permanent disable of ROM logging since the RTC register can not retain after chip reset. * * @param None * * @return None */ static inline void rtc_suppress_rom_log(void) { /* To disable logging in the ROM, only the least significant bit of the register is used, * but since this register is also used to store the frequency of the main crystal (RTC_XTAL_FREQ_REG), * you need to write to this register in the same format. * Namely, the upper 16 bits and lower should be the same. */ REG_SET_BIT(LP_AON_STORE4_REG, RTC_DISABLE_ROM_LOG); } /** * @brief Software Reset digital core. * * It is not recommended to use this function in esp-idf, use * esp_restart() instead. * * @param None * * @return None */ void software_reset(void); /** * @brief Software Reset digital core. * * It is not recommended to use this function in esp-idf, use * esp_restart() instead. * * @param int cpu_no : The CPU to reset, 0 for PRO CPU, 1 for APP CPU. * * @return None */ void software_reset_cpu(int cpu_no); /** * @} */ #ifdef __cplusplus } #endif ```
```javascript import { keyCodes } from '@fluentui/keyboard-keys'; console.log(keyCodes.Enter, keyCodes.Tab, keyCodes.ArrowDown, keyCodes.ArrowLeft, keyCodes.ArrowRight); export default { name: 'Multiple keyCodes', }; ```
Gumti Wildlife Sanctuary is a Wildlife Sanctuary in Tripura, India. It covers an area of about . It is located in South Tripura region. It provides habitat for Asian elephant, sambar, water buffalo, deer, Phayre's leaf monkey, serow, wild goat and a few migratory birds. Reptiles have also been sighted in the sanctuary. One of the landmarks of this sanctuary is lake Dumbur, which attracted around 17 migratory bird species and 126 native bird species in the cold winters, until the number of bird visits has declined significantly in recent years. Notes External links Tripura Wildlife sanctuaries in Tripura Lower Gangetic Plains moist deciduous forests Protected areas with year of establishment missing
Smoke Rings in the Dark is the third studio album by American country music singer Gary Allan. It was released on October 26, 1999, as his first album for MCA Records Nashville after leaving Decca Records Nashville. The album was certified platinum by the RIAA, and it produced three singles: the title track, "Lovin' You Against My Will", and "Right Where I Need to Be", which respectively reached number 12, number 34 and number 5 on the U.S. Billboard Hot Country Songs chart. "Right Where I Need to Be" was also Allan's first Top 5 country hit and his third Top 10. "Don't Tell Mama" was previously recorded by Ty Herndon on his 1996 album Living in a Moment, and later by Doug Stone on his 2007 album My Turn, and by Frankie Ballard on his 2014 album Sunshine & Whiskey under the title "Don't Tell Mama I Was Drinking". In addition, "Runaway" is a cover of a Del Shannon song. Allan's rendition also charted at number 74 on the country charts in 2000 based on unsolicited airplay. Track listing Charts Weekly charts Year-end charts Certifications Personnel Gary Allan – lead vocals Lisa Cochran – background vocals David Campbell – string arranger, conductor Christy Cornelius – background vocals Chad Cromwell – drums Dan Dugmore – pedal steel guitar, acoustic guitar Steve Gibson – electric guitar Randy Hardison – background vocals Jake Kelly – acoustic guitar, electric guitar Brice Long – background vocals Marilyn Martin – background vocals The Nashville String Machine – strings Steve Nathan – piano, keyboards Michael Rhodes – bass guitar Brent Rowan – electric guitar John Wesley Ryles – background vocals Lisa Silver – background vocals Hank Singer – fiddle Harry Stinson – background vocals Wynn Varble – background vocals Bergen White – background vocals John Willis – acoustic guitar Curtis Young – background vocals References 1999 albums Gary Allan albums MCA Records albums Albums produced by Tony Brown (record producer) Albums produced by Byron Hill Albums produced by Mark Wright (record producer)
```yaml apiVersion: v1 name: helm-dependency-example description: A minimal Helm chart to demonstrate how to use terratest to test helm charts with dependency version: 0.0.1 dependencies: - name: helm-basic-example alias: basic repository: file://../helm-basic-example condition: basic.enabled version: 0.0.1 ```
```smalltalk // ========================================================================== // Squidex Headless CMS // ========================================================================== // ========================================================================== using Squidex.Domain.Apps.Core; using Squidex.Domain.Apps.Core.Apps; using Squidex.Domain.Apps.Core.ConvertContent; using Squidex.Domain.Apps.Core.ExtractReferenceIds; using Squidex.Domain.Apps.Core.Schemas; using Squidex.Domain.Apps.Entities.Assets.Repositories; using Squidex.Domain.Apps.Entities.Contents.Repositories; using Squidex.Infrastructure; using Squidex.Infrastructure.Json; using Squidex.Infrastructure.Tasks; #pragma warning disable MA0073 // Avoid comparison with bool constant namespace Squidex.Domain.Apps.Entities.Contents.Queries.Steps; public sealed class ConvertData : IContentEnricherStep { private readonly IUrlGenerator urlGenerator; private readonly IAssetRepository assetRepository; private readonly IContentRepository contentRepository; private readonly ExcludeChangedTypes excludeChangedTypes; public ConvertData(IUrlGenerator urlGenerator, IJsonSerializer serializer, IAssetRepository assetRepository, IContentRepository contentRepository) { this.urlGenerator = urlGenerator; this.assetRepository = assetRepository; this.contentRepository = contentRepository; excludeChangedTypes = new ExcludeChangedTypes(serializer); } public async Task EnrichAsync(Context context, IEnumerable<EnrichedContent> contents, ProvideSchema schemas, CancellationToken ct) { // Get the references across all references to reduce number of database calls. var referenceCleaner = await CleanReferencesAsync(context, contents, schemas, ct); // Get the fields, because they are the same for all schemas. var fieldNames = GetFieldNames(context); foreach (var group in contents.GroupBy(x => x.SchemaId.Id)) { ct.ThrowIfCancellationRequested(); var (schema, components) = await schemas(group.Key); // Reuse the converter for all contents of this schema. var converter = GenerateConverter(context, components, schema, fieldNames, referenceCleaner); foreach (var content in group) { content.Data = converter.Convert(content.Data); } } } private async Task<ValueReferencesConverter?> CleanReferencesAsync(Context context, IEnumerable<EnrichedContent> contents, ProvideSchema schemas, CancellationToken ct) { if (context.NoCleanup()) { return null; } using (Telemetry.Activities.StartActivity("ConvertData/CleanReferencesAsync")) { var ids = new HashSet<DomainId>(); foreach (var group in contents.GroupBy(x => x.SchemaId.Id)) { var (schema, components) = await schemas(group.Key); foreach (var content in group) { content.Data.AddReferencedIds(schema, ids, components); } } if (ids.Count > 0) { var (assets, refContents) = await AsyncHelper.WhenAll( QueryAssetIdsAsync(context, ids, ct), QueryContentIdsAsync(context, ids, ct)); var foundIds = assets.Union(refContents).ToHashSet(); return new ValueReferencesConverter(foundIds); } } return null; } private async Task<IEnumerable<DomainId>> QueryContentIdsAsync(Context context, HashSet<DomainId> ids, CancellationToken ct) { var result = await contentRepository.QueryIdsAsync(context.App, ids, context.Scope(), ct); return result.Select(x => x.Id); } private async Task<IEnumerable<DomainId>> QueryAssetIdsAsync(Context context, HashSet<DomainId> ids, CancellationToken ct) { var result = await assetRepository.QueryIdsAsync(context.App.Id, ids, ct); return result; } private ContentConverter GenerateConverter(Context context, ResolvedComponents components, Schema schema, HashSet<string>? fieldNames, ValueReferencesConverter? cleanReferences) { var converter = new ContentConverter(components, schema); if (!context.IsFrontendClient) { converter.Add(ExcludeHidden.Instance); } converter.Add(excludeChangedTypes); if (cleanReferences != null) { converter.Add(cleanReferences); } converter.Add(new ResolveFromPreviousPartitioning(context.App.Languages)); if (!context.IsFrontendClient && !context.NoDefaults()) { converter.Add(new AddDefaultValues(context.App.PartitionResolver()) { IgnoreNonMasterFields = true, IgnoreRequiredFields = false, // If field names are given we run the enrichment only on the specified fields. FieldNames = fieldNames }); } converter.Add( new ResolveLanguages( context.App.Languages, context.Languages().ToArray()) { ResolveFallback = !context.IsFrontendClient && !context.NoResolveLanguages(), // If field names are given we run the enrichment only on the specified fields. FieldNames = fieldNames }); if (!context.IsFrontendClient) { var assetUrls = context.ResolveUrls().ToList(); if (assetUrls.Count > 0) { converter.Add(new ResolveAssetUrls(context.App.NamedId(), urlGenerator, assetUrls)); } } if (!context.IsFrontendClient || context.ResolveSchemaNames()) { converter.Add(new AddSchemaNames(components)); } return converter; } private static HashSet<string>? GetFieldNames(Context context) { var source = context.Fields(); if (source is not { Count: > 0 }) { return null; } var fields = new HashSet<string>(); foreach (var field in source) { if (FieldNames.IsDataField(field, out var dataField)) { fields.Add(dataField); } else { fields.Add(field); } } return fields.Count == 0 ? null : fields; } } ```
Black Friday is a comedy-horror musical with music and lyrics by Jeff Blim and a book by Matt and Nick Lang. It is the twelfth staged show produced by StarKid Productions and takes place in the same setting as their previous musical The Guy Who Didn't Like Musicals, though in an alternate universe where the events of the previous musical never happened. The show ran from October 31, 2019 to December 8, 2019 at the Hudson Mainstage Theatre in Los Angeles, California, directed by Nick Lang. A live recording of the musical was uploaded on YouTube on February 29, 2020 and sold on DVD. A cast recording was released on February 29, 2020 on Apple Music and their website. Funding for the show was done through Kickstarter, similarly to StarKid's most recent shows. The project raised US$547,439 through 11,704 backers out of its $155,000 goal. Black Friday was intended to feature the entire cast of The Guy Who Didn't Like Musicals in new roles alongside new cast members. However, soon after she was announced as Lex, Mariah Rose Faith was cast in the national tour of Mean Girls, making her the only cast member of the prior musical not to appear in Black Friday. Angela Giarratana was then cast as Faith's replacement. Black Friday is also notable for the return of Dylan Saunders, a founding member of StarKid, who had not appeared since Twisted in 2013. Kendall Nicole Yakshe, who plays Hannah/Tim, is the first minor to be featured in one of Starkid's productions. A third musical in the Hatchetfield series entitled Nerdy Prudes Must Die was created and performed in 2023 with several Black Friday cast and crew members returning. It is not a direct sequel. Synopsis Act 1 Uncle Wiley and the Sniggles advertise a new doll called a Tickle-Me-Wiggly by Uncle Wiley Toys ("Tickle-Me Wiggly Jingle"). On the day after Thanksgiving, Paul Matthews and Emma Perkins arrive at the house of Emma's brother-in-law Tom Houston, a cranky veteran with PTSD. Jane, Emma's sister and Tom's wife, died in a car accident recently. Paul and Emma discover that Tom has to leave and only invited them to babysit his son Tim. After Tim leaves the room, Tom tells them that he's actually going to get Tim a Tickle-Me-Wiggly as a surprise for Christmas. After learning that they are running out fast, he leaves right away and vows to get the doll any way he can to make up for Tim losing his mother the year before ("What Tim Wants"). Once he arrives, he runs into Lex Foster, a snarky and cynical employee at ToyZone who used to be a student in a high school class he taught. Resentful, she explains that Tom's shop class was the only thing keeping up her GPA, and when he quit, she failed high school. As Lex is an employee of ToyZone (the only store selling Wiggly dolls in town) he asks her to set aside a doll for him, though she refuses. As Tom goes inside, ToyZone's greedy manager, Frank Pricely, arrives and reprimands Lex for slacking off. The shipment of Wiggly dolls arrives at the hands of a mysterious delivery man. Pricely tells Lex to unpack a box of the Wiggly dolls. After he leaves, she sneaks one into her backpack. Lex's greaser boyfriend Ethan Green surprises her with her troubled and possibly psychic sister Hannah who they take care of together. Hannah ominously announces the day will have "bad blood." This is dismissed, however, when Ethan tells Lex what a hot ticket item the doll is and how their plans to sell Lex's stolen doll have changed; while the doll normally sells for $49.95, Ethan has found a buyer willing to pay $7,000. They celebrate and reiterate their plan to move to California. Lex writes a letter to her alcoholic mother telling her that they are leaving and taking Hannah ("CaliforM.I.A."). Lex gives her backpack containing the stolen doll to Hannah and gets ready for her shift. Outside the store, Linda Monroe, town socialite, bribes her way to the front of the line. She's reprimanded by Becky Barnes, a pediatric nurse buying a doll for one of her patients. Linda shames her for her abusive marriage and calls her weak. As Tom attempts to cut in line, he reunites with Becky, and the other shoppers gossip about their past as high school sweethearts ("What Do You Say"). Becky admits that she misses Tom, but before they can continue, Pricely opens the store and exalts the beauties of capitalism ("Our Doors Are Open"). When middle-aged toy collector and presumed sexual deviant Sherman Young tries to buy all the dolls for himself, a fight breaks out amongst the shoppers. Frank, drawn by his greed, allows a bidding war, resulting in chaos and mayhem that spread to the rest of the mall as the desire for the doll becomes greater ("Feast or Famine"). Oblivious to the fighting, Ethan and Hannah try to buy tickets to see a Christmas movie at the mall's Cineplex. Two shoppers arrive and attack Ethan under the impression he is hiding a doll. Hannah escapes and Ethan is rescued by Tom and Becky, who has acquired a doll herself. Delirious, Ethan promises to get Lex to California before he dies. A man in a hurry sees Becky with the doll and stabs Tom before escaping with the doll. Elsewhere in the mall, a bedraggled Linda runs into the mysterious delivery man. He knows her name and claims she is meant for greater things. Allured by the promise of power and adoration, Linda accepts his offer. Meanwhile, in the Oval Office, President Howard Goodman and his Cabinet are debating what to do regarding the Wiggly crisis, which has spread across the country. Once the Vice President reveals he has a doll, the Cabinet begins to attack one another to obtain it. They are interrupted by General John McNamara of PEIP ( ), a secret agency that handles paranormal, extraterrestrial, and interdimensional threats. PEIP has discovered that Wiggly dolls are more sinister than they appear, and McNamara informs the Cabinet that they have to make a quick decision about what to do ("Monsters and Men"). Act 2 As the movie Santa Claus is Going to High School plays ("Deck the Halls (of Northville High)"), Tom wakes up in the movie theater. As Becky nurses his stab wound, they realize that they're sitting in their old seats from when they dated and begin to reminisce over their younger days. Tom admits that he feels responsible for Jane's death because he was driving when the car crashed. Becky confesses to stabbing her abusive husband Stanley and leaving him for dead. As they watch the movie and reminisce, they both admit they still have feelings for each other and try to console each other ("Take Me Back"). At PEIP headquarters, McNamara introduces President Goodman to his second-in-command Xander Lee and reveals to the President the existence of "the Black and White," a place between dimensions and the origin of the entity known as Wiggly. PEIP believes that Wiggly is attempting to push its way into our dimension where it will remake existence according to its own will. ("In essence, we're trying to stop the birth of a god." says McNamara.) To do so, they will send Goodman through a portal into the Black and White, where the President will attempt to work out a peace treaty with Wiggly. If that fails, PEIP will deploy a nuclear bomb inside the Black and White, hopefully destroying Wiggly. Back at the mall, Sherman Young leads a sermon celebrating Wiggly's supposed prophet Linda. The shoppers have also captured Pricely and Lex. When Pricely tells Linda there are no dolls left, she kills him. She tries to get information out of Lex, who remains defiant. A security guard tells Linda that he saw Hannah running through the mall with the doll. Linda orders her followers to find Hannah and the doll ("Adore Me"). Hiding in the mall, Hannah sees a vision of Ethan, who tells her to give the doll to Linda. She realizes, however, that something is wrong. Ethan is really a manifestation of Wiggly from the Black and White. Hannah takes out the doll from her backpack and hears Wiggly's voice threatening to kill her. She is snapped back into reality when Tom and Becky find her. When Tom threatens her for the doll, she runs away, but the adults continue to search for her, intending to anesthetize her and steal the doll ("Do You Want To Play"). They eventually find her, but Becky accidentally injects herself with the anesthesia. Tom finally gets the Tickle-Me-Wiggly and abandons Becky. Two members of the Wiggly cult find Becky and Hannah and take them to Linda, believing them to still be in possession of the doll. As Goodman enters the portal, he encounters the same mysterious delivery man who ran into Linda: Uncle Wiley. More terrifyingly, Goodman also encounters an enormous, monstrous abomination that can only be Wiggly itself. Wiley and the Sniggles taunt Goodman for the capitalist, consumerist culture that allowed their plan to unfold ("Made in America"). All of a sudden, McNamara appears unprotected, saving Goodman and allowing himself to be lost to the Black and White. Goodman returns to PEIP headquarters and tells Agent Lee to release the bomb even though McNamara is still inside. The bomb, however, does not explode in the Black and White. Goodman and Lee receive news that a bomb has exploded in Moscow. Wiggly tells them that he has pushed the bomb through another portal that the Russians had created on their own. The President is taken to safety and Lee acknowledges that World War III has begun. Back in the mall, Sherman holds Lex hostage, but lets her go when offered all the ponies left in the storeroom. Once free, Lex tells him that she lied and in anger, Sherman strangles Lex. In her dying moments, she laments over the failure of her life ("Black Friday"). At the last moment, McNamara appears to her, reminding her that she isn't dead yet and that she, like her sister, has powers. He offers her his gun, but because he is still in the Black and White, she has to reach through dimensions to get to it ("Monsters and Men (Reprise)"). She successfully manifests the gun, shoots Sherman, and follows McNamara's instructions to save the world from Wiggly. Finding Tom in possession of the last doll, she tells him that Tim doesn't actually want the doll and that it's all part of Wiggly's plan to make people think that a doll can fill a hole in their lives. Tom realizes that he just wanted to make up for Jane's passing and that all Tim wants is his father ("If I Fail You"). He agrees to help Lex and they go to find Linda. In the mall's food court, the followers bring Becky and Hannah to Linda. Believing that Becky is dead, they focus on Hannah, ripping away her backpack in an attempt to find the doll. When Linda realizes that Hannah doesn't have the doll, she goes to stab the girl but is stopped when Lex rushes in holding the last remaining doll in the mall. Tom sneaks up on Linda and holds a gun to her head, shocking the followers. Linda, however, is able to distract Lex and disarm Tom. She finally gets her hands on a Tickle-Me-Wiggly. The followers praise their god ("Wiggle"), too distracted to remember Becky. She gets ahold of the gun and kills Linda. Lex sets fire to the doll and in the ensuing chaos, the mall burns down with the cultists inside. Hannah, Lex, Tom, and Becky reunite with Paul and Emma. Hannah recounts an odd, ambiguous vision of an uncertain future ("What If Tomorrow Comes?"). In the last seconds of the blackest of Black Fridays, the surviving shoppers gather together as a mysterious "whooshing" noise is heard. Musical numbers Act 1 "Tickle-Me Wiggly Jingle" – Uncle Wiley, Ensemble "What Tim Wants" – Tom "Califor.M.I.A." – Lex, Ethan, Hannah "What Do You Say?" – Company "Our Doors Are Open" – Frank, Lex, Company "Feast Or Famine" – Company "Monsters and Men" – General McNamara, President Howard Goodman, Company Act 2 "Deck The Halls" – Chris Kringle, Jingle, Jangle, Noel, Ensemble "Take Me Back" – Tom, Becky, and Company "Adore Me" – Linda, Ensemble "Do You Want To Play?" – Becky, Tom "Made In America" – Uncle Wiley, Ensemble "Black Friday" – Lex "Monsters and Men (Reprise)" – General McNamara "If I Fail You" – Tom "Wiggle" – Linda, Ensemble "What If Tomorrow Comes?" – Hannah, Company Roles Main characters Tom Houston, a war veteran. He lost his wife Jane the year prior and has a son named Tim. He used to date Becky in high school. Alexandra "Lex" Foster, a teenager who works at ToyZone. She dates Ethan and takes care of her younger sister Hannah. Becky Barnes, a nurse. She used to date Tom in high school. Linda Monroe, a spoiled trophy wife to Gerald and mother of four boys. She later becomes Wiggly's prophet. Hannah Foster, a troubled young girl with possible psychic powers. She lives with Lex and Ethan. Supporting characters Ethan Green, Lex's boyfriend. He is shown to care deeply about her and Hannah. General John MacNamara, a general for a secret agency called PEIP. President Howard Goodman, the President of the United States. Frank Pricely, the greedy manager of ToyZone. Sherman Young, a middle-aged toy collector who wants to buy all the Wiggly dolls for himself. Gary Goldstein, an attorney at law, who appears to be the only one in town as he represents multiple characters throughout the show, most notably Linda Monroe. Wiggly, a malevolent extra-dimensional entity that wants to rule the world. It takes the form of a doll. Featured characters Uncle Wiley, a mysterious man who works for Wiggly. Xander Lee, a physicist and field agent with PEIP. Man in a Hurry, a man in a hurry. Tim Houston, Tom's son who lost his mother the year prior. Christopher Kringle, a character in Santa Claus is Goin' to High School, a movie-within-the-play. He is Santa having taken the form of a high school student. Noelle, a character in Santa Claus is Goin' to High School and Chris Kringle's love interest. Paul Matthews, a guy who doesn't like musicals. He's dating Emma. Emma Perkins, a barista at Beanie's. She's dating Paul and is the sister-in-law of Tom. Crew Sequels Black Friday served as the second instalment in the Hatchetfield Series, following The Guy Who Didn't Like Musicals. As a result of plans being postponed due to the COVID-19 pandemic, StarKid Productions premiered a series of live-readings as a new instalment in the Hatchetfield series. The first season of was announced on October 1, 2020 with the entire casts of both The Guy Who Didn't Like Musicals and Black Friday returning. The series featured several returning characters from both series. The first episode of the series was streamed live to YouTube on October 10, 2020 featuring two stories: "The Hatchetfield Ape-Man" and "Watcher World." The final two episodes were performed live on October 17 and October 24, 2020 featuring the stories "Forever & Always, "Time Bastard," "Jane's A Car" and "The Witch in the Web." These episodes were then released on YouTube on February 14, 2021. A second season was announced on October 8, 2021. The series featured 4 episodes with six stories: "Honey Queen," "Perky's Buds," "Abstinence Camp," "Daddy," "Killer Track" and "Yellow Jacket." The entire cast of the original series returned apart from Kendall Nicole and Robert Manion and they were joined by Jae Hughes and Bryce Charles. The episodes were announced to be released weekly on YouTube from May 20, 2022 to June 10, 2022. A short film titled “Workin’ Boys” was announced in 2019 as a reward for Black Friday’s Kickstarter campaign. Production of the film was delayed due to the COVID-19 pandemic. A third musical entitled Nerdy Prudes Must Die was created by the same writing team and performed from February 16-25, 2023. References 2019 musicals 2020 YouTube videos Criticism of capitalism Original musicals Musicals set in the United States Musicals set in the 21st century Science fiction musicals Sequel plays StarKid Productions musicals Horror plays American musicals Musicals set in stores
```c++ // MallocSizeofChecker.cpp - Check for dubious malloc arguments ---*- C++ -*-=// // // See path_to_url for license information. // //===your_sha256_hash------===// // // Reports inconsistencies between the casted type of the return value of a // malloc/calloc/realloc call and the operand of any sizeof expressions // contained within its argument(s). // //===your_sha256_hash------===// #include "clang/StaticAnalyzer/Checkers/BuiltinCheckerRegistration.h" #include "clang/AST/StmtVisitor.h" #include "clang/AST/TypeLoc.h" #include "clang/StaticAnalyzer/Core/BugReporter/BugReporter.h" #include "clang/StaticAnalyzer/Core/Checker.h" #include "clang/StaticAnalyzer/Core/CheckerManager.h" #include "clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h" #include "llvm/ADT/SmallString.h" #include "llvm/Support/raw_ostream.h" using namespace clang; using namespace ento; namespace { typedef std::pair<const TypeSourceInfo *, const CallExpr *> TypeCallPair; typedef llvm::PointerUnion<const Stmt *, const VarDecl *> ExprParent; class CastedAllocFinder : public ConstStmtVisitor<CastedAllocFinder, TypeCallPair> { IdentifierInfo *II_malloc, *II_calloc, *II_realloc; public: struct CallRecord { ExprParent CastedExprParent; const Expr *CastedExpr; const TypeSourceInfo *ExplicitCastType; const CallExpr *AllocCall; CallRecord(ExprParent CastedExprParent, const Expr *CastedExpr, const TypeSourceInfo *ExplicitCastType, const CallExpr *AllocCall) : CastedExprParent(CastedExprParent), CastedExpr(CastedExpr), ExplicitCastType(ExplicitCastType), AllocCall(AllocCall) {} }; typedef std::vector<CallRecord> CallVec; CallVec Calls; CastedAllocFinder(ASTContext *Ctx) : II_malloc(&Ctx->Idents.get("malloc")), II_calloc(&Ctx->Idents.get("calloc")), II_realloc(&Ctx->Idents.get("realloc")) {} void VisitChild(ExprParent Parent, const Stmt *S) { TypeCallPair AllocCall = Visit(S); if (AllocCall.second && AllocCall.second != S) Calls.push_back(CallRecord(Parent, cast<Expr>(S), AllocCall.first, AllocCall.second)); } void VisitChildren(const Stmt *S) { for (const Stmt *Child : S->children()) if (Child) VisitChild(S, Child); } TypeCallPair VisitCastExpr(const CastExpr *E) { return Visit(E->getSubExpr()); } TypeCallPair VisitExplicitCastExpr(const ExplicitCastExpr *E) { return TypeCallPair(E->getTypeInfoAsWritten(), Visit(E->getSubExpr()).second); } TypeCallPair VisitParenExpr(const ParenExpr *E) { return Visit(E->getSubExpr()); } TypeCallPair VisitStmt(const Stmt *S) { VisitChildren(S); return TypeCallPair(); } TypeCallPair VisitCallExpr(const CallExpr *E) { VisitChildren(E); const FunctionDecl *FD = E->getDirectCallee(); if (FD) { IdentifierInfo *II = FD->getIdentifier(); if (II == II_malloc || II == II_calloc || II == II_realloc) return TypeCallPair((const TypeSourceInfo *)nullptr, E); } return TypeCallPair(); } TypeCallPair VisitDeclStmt(const DeclStmt *S) { for (const auto *I : S->decls()) if (const VarDecl *VD = dyn_cast<VarDecl>(I)) if (const Expr *Init = VD->getInit()) VisitChild(VD, Init); return TypeCallPair(); } }; class SizeofFinder : public ConstStmtVisitor<SizeofFinder> { public: std::vector<const UnaryExprOrTypeTraitExpr *> Sizeofs; void VisitBinMul(const BinaryOperator *E) { Visit(E->getLHS()); Visit(E->getRHS()); } void VisitImplicitCastExpr(const ImplicitCastExpr *E) { return Visit(E->getSubExpr()); } void VisitParenExpr(const ParenExpr *E) { return Visit(E->getSubExpr()); } void VisitUnaryExprOrTypeTraitExpr(const UnaryExprOrTypeTraitExpr *E) { if (E->getKind() != UETT_SizeOf) return; Sizeofs.push_back(E); } }; // Determine if the pointee and sizeof types are compatible. Here // we ignore constness of pointer types. static bool typesCompatible(ASTContext &C, QualType A, QualType B) { // sizeof(void*) is compatible with any other pointer. if (B->isVoidPointerType() && A->getAs<PointerType>()) return true; // sizeof(pointer type) is compatible with void* if (A->isVoidPointerType() && B->getAs<PointerType>()) return true; while (true) { A = A.getCanonicalType(); B = B.getCanonicalType(); if (A.getTypePtr() == B.getTypePtr()) return true; if (const PointerType *ptrA = A->getAs<PointerType>()) if (const PointerType *ptrB = B->getAs<PointerType>()) { A = ptrA->getPointeeType(); B = ptrB->getPointeeType(); continue; } break; } return false; } static bool compatibleWithArrayType(ASTContext &C, QualType PT, QualType T) { // Ex: 'int a[10][2]' is compatible with 'int', 'int[2]', 'int[10][2]'. while (const ArrayType *AT = T->getAsArrayTypeUnsafe()) { QualType ElemType = AT->getElementType(); if (typesCompatible(C, PT, AT->getElementType())) return true; T = ElemType; } return false; } class MallocSizeofChecker : public Checker<check::ASTCodeBody> { public: void checkASTCodeBody(const Decl *D, AnalysisManager& mgr, BugReporter &BR) const { AnalysisDeclContext *ADC = mgr.getAnalysisDeclContext(D); CastedAllocFinder Finder(&BR.getContext()); Finder.Visit(D->getBody()); for (CastedAllocFinder::CallVec::iterator i = Finder.Calls.begin(), e = Finder.Calls.end(); i != e; ++i) { QualType CastedType = i->CastedExpr->getType(); if (!CastedType->isPointerType()) continue; QualType PointeeType = CastedType->getPointeeType(); if (PointeeType->isVoidType()) continue; for (CallExpr::const_arg_iterator ai = i->AllocCall->arg_begin(), ae = i->AllocCall->arg_end(); ai != ae; ++ai) { if (!(*ai)->getType()->isIntegralOrUnscopedEnumerationType()) continue; SizeofFinder SFinder; SFinder.Visit(*ai); if (SFinder.Sizeofs.size() != 1) continue; QualType SizeofType = SFinder.Sizeofs[0]->getTypeOfArgument(); if (typesCompatible(BR.getContext(), PointeeType, SizeofType)) continue; // If the argument to sizeof is an array, the result could be a // pointer to any array element. if (compatibleWithArrayType(BR.getContext(), PointeeType, SizeofType)) continue; const TypeSourceInfo *TSI = nullptr; if (i->CastedExprParent.is<const VarDecl *>()) { TSI = i->CastedExprParent.get<const VarDecl *>()->getTypeSourceInfo(); } else { TSI = i->ExplicitCastType; } SmallString<64> buf; llvm::raw_svector_ostream OS(buf); OS << "Result of "; const FunctionDecl *Callee = i->AllocCall->getDirectCallee(); if (Callee && Callee->getIdentifier()) OS << '\'' << Callee->getIdentifier()->getName() << '\''; else OS << "call"; OS << " is converted to a pointer of type '" << PointeeType << "', which is incompatible with " << "sizeof operand type '" << SizeofType << "'"; SmallVector<SourceRange, 4> Ranges; Ranges.push_back(i->AllocCall->getCallee()->getSourceRange()); Ranges.push_back(SFinder.Sizeofs[0]->getSourceRange()); if (TSI) Ranges.push_back(TSI->getTypeLoc().getSourceRange()); PathDiagnosticLocation L = PathDiagnosticLocation::createBegin(i->AllocCall->getCallee(), BR.getSourceManager(), ADC); BR.EmitBasicReport(D, this, "Allocator sizeof operand mismatch", categories::UnixAPI, OS.str(), L, Ranges); } } } }; } void ento::registerMallocSizeofChecker(CheckerManager &mgr) { mgr.registerChecker<MallocSizeofChecker>(); } bool ento::shouldRegisterMallocSizeofChecker(const CheckerManager &mgr) { return true; } ```
Malvern High School is a public high school in Malvern, Ohio, United States. It is the only high school in the Brown Local School District. Sports teams are called the Hornets, and they compete in the Ohio High School Athletic Association as a member of the Inter-Valley Conference. School Board Members Tammie Hulit, President Chad Browning, Vice President Tara Bowe, Member Dechelle Thompson, Member Rob Ruegg, Member Facility Construction of the school building began in October 2014. The 112,000 square foot building features a two-story academic wing that will be home to the entire student population, yet keep the elementary, middle and high school students segregated. Common spaces include two gymnasiums, media center and a student dining area. The project has been co-funded by the Ohio Facilities Construction Commission (OFCC) as part of their Exceptional Needs Program. Last Hoorah in Hornet Gym The final basketball game in the Hornet Gym (1970-2016) was held on Friday, February 12, 2016. Several past players and coaches were in attendance. A celebration was held at the conclusion of the game. Athletics Football 1999 Dave Tucci was introduced as the new Malvern head coach in the spring of 1999, following the resignation of Steve Miller after a disappointing 5-5 campaign the year prior. Tucci's coaching style was immediately beneficial and the veteran group of seniors helped turn the Hornets around. Tucci installed a Wing-T offense and a rarely seen 6-2 defense, which proved to be one of the best defenses in the Inter Valley Conference. The Hornets started the year with three straight shutouts over Berlin Center Western Reserve, Sandy Valley and East Canton. The most points the defense would give up in a single game was 22, twice, to Newcomerstown in Week 5 and to Amanda-Clearcreek in the OHSAA Division V Regional Playoffs, the only two losses of the 1999 season. Arguably the biggest win of the season came in Week 7, where the Hornets shut down high-powered Toronto, a Division VI powerhouse, 8-6 on a cold and rainy afternoon in Malvern. The Hornets clinched a share of the IVC Championship with a 35-21 Week 9 win over West Lafayette-Ridgewood. The championship was their first since 1992. They finished the regular season 9-1. Malvern landed the #8 spot in the OHSAA Division V Regional Playoffs (Region 23), drawing Amanda-Clearcreek. The Aces were the clear favorite not only to win the game, but to win the Division V Championship. The Hornets played tough against the Aces early, taking a slight lead of 7-6 in the first half after blocking a punt and returning it for a touchdown. But Amanda was just too powerful and dominated the line of scrimmage on their way to a 22-7 win. The 22 points given up by the Hornets were the fewest points the Aces would score throughout the rest of the OHSAA playoffs on their way to the Division V State Championship. Malvern finished the season 9-2. 2008 The Hornets posted a perfect season going 10-0 winning the IVC, District and Regional Championships and ending the season with an overall record of 13-1 after losing to Hopewell-Louden in the State Semi-Final. This was their only appearance in the State Final Four. 2009 The football team again had an outstanding season going 11-2 for the season eventually losing to Grove City Christian in the Regional final. 2010 2010 was a season of change for the Hornets having lost 19 of 22 starters from the 2009 team. The team started out 2-3 but with two big wins over Newcomerstown and undefeated Strasburg, they went 5-0 the rest of the season to end the regular season with a record of 7-3. In the first round of the playoffs they faced a familiar opponent in Symmes Valley. In 2009 Willow Wood Symmes Valley had traveled to Malvern in the first round of the OHSAA playoffs. This season it would be Malvern's turn to travel the nearly 4 hour trip to Vikings Field. The Hornets came away with a win defeating Symmes Valley 48-28. In the second round Malvern faced Shadyside and were defeated 20-41. The Hornets finished the season with an 8-4 record. 2011 The Hornets have started out with a record of 4-0 and were ranked #1 in Ohio Division VI according to the 2011 Foortball AP Poll in weeks 3 and 4. They ended the season with a record of 10-2 and co-champions of the IVC. This is the fifth straight year the Hornets have qualified for the playoffs, and the fourth straight year they have reached at least the second round. The seniors are the winningest group in school history with a 42-9 mark. They have played in 11 playoff games, posting a 7-4 record. They have won two league titles and one regional title, reaching the state semifinals during their freshman season in 2008. 2012 The Hornets ended the 2012 season with a record of 10-2 losing in the OHSAA regional semifinal game for the third straight season. The Hornets finished the season with a #2 rank in Region 21. Malvern’s running game has racked up nearly 3,000 yards through 11 games, as the Hornets earned their sixth straight playoff berth. 2013 The Hornets captured the IVC title outright with a win over rival Sandy Valley in the final game of the regular season. With a loss to Caldwell in the first round of the playoffs, the Hornets ended the season 8-3 overall and 5-1 in the Inter-Valley Conference and finish ranked #3 in Region 25, Division 7. This is the 7th straight season the Hornets qualified for the OHSAA playoffs. 2014 The Hornets momentum came to an end and finished 1-9, with their only win coming against Strasburg-Franklin 28-6. This was the first losing season in over a decade. Malvern's streak of 7 straight playoff appearances was snapped. Basketball 2008 The Hornets had a perfect season going 20-0 in the regular season winning its first IVC Championship in Boys Basketball. They finished their season 25-1 after losing to Bedford Chanel in the Regional final. The Hornets were led by the outstanding play of their top 3 scorers Trevor Halter, Zak Kapron, and Tyler Tucci. Each of them scored over 1000 points in their careers at Malvern with Tyler Tucci eventually becoming the Hornets all-time leading scorer with over 1500 points. 2012 Boys: For the third year straight the Hornets were defeated by Zanesville Rosecrans in the Division IV boys basketball district tournament semifinals at Meadowbrook High. With the loss the Hornets end their season with a 19-4 record. 2016 Boys: The Last Regular season played in the Hornet Gym at the historic Malvern High School located on 401 W. Main St. was capped off with a district title and a trip to the regional semis in Canton. The team was led by two Seniors; Ansley Williams and Brevin Thomas, Junior Jaret Majestic (First Team All-Ohio), and two sophomores; Drew Hutchinson and Mark Mayle (All-Ohio Honorable Mention). They Hornets captured the district championship in a 62-58 victory over Tuscarawas Central Catholic, who made a run to state the year before. Jaret Majestic led the way with 38 points. The boys would then go on to lose to the soon to be state champion Cornerstone Christian in a 62-57 nailbiter. Other notable achievements: Jaret Majestic scored his 1000th point on a 35 point performance in a game vs Sandy Valley on January 29, 2016. 2017 Boys: The Hornets posted a record of 18-9 and won their 6th district title in school history. Most notably, they defeated the IVC champions Strasburg in the district final 53-41 on March 10, 2017 at New Philadelphia High School after dropping two regular season games to them. They went on to lose in the regional semifinals to Falcons Lutheran East 69-64 in overtime. Mark Mayle was high scorer for the night with 29 points. The Falcons would go on to win the Division 4 State Championship. The Hornets were led by Senior Jaret Majestic (honorable mention All-Ohio) who currently plays for the Malone Pioneers, Junior Mark Mayle (3rd team All-Ohio) who currently plays for UMass-Lowell, Junior Drew Hutchison, Junior Jake Moser, and Junior Brandon Patterson. References External links District Website High schools in Carroll County, Ohio Public high schools in Ohio 1890 establishments in Ohio
Thomas Burke (December 22, 1849 – December 4, 1925) was an American lawyer, railroad builder, and judge who made his career in Seattle, Washington. He served as chief justice of the Supreme Court of the Washington Territory from 1888 to 1889. He was the main representative of railroad magnate James J. Hill in Seattle. Burke Avenue, The Burke-Gilman Trail and the Burke Museum are named in his honor. Burke frequently organized subscription drives to raise money for Seattle projects, to the point that he often described himself as a "professional beggar." His would often be the first name on the petition, pledging the first dollar—or, later, the first thousand dollars. Early career Burke arrived in Seattle in 1875 and formed a law partnership with John J. McGilvra; he soon married McGilvra's daughter Caroline. He established himself as a civic activist: one of his first projects was to raise funds for a planked walkway from roughly the corner of First and Pike (now site of Pike Place Market) through Belltown to Lake Union. He served as probate judge 1876-1880 and as chief justice of the Washington Territorial Supreme Court in 1888. "Irish as a clay pipe," and well liked by early Seattle's largely Irish working class, as a lawyer Burke was well known for collecting large fees from his wealthy clients and providing free legal services for the poor. Therefore, many were surprised when he opposed the working-class anti-Chinese agitation in 1885–86, allying instead with George Kinnear and his Home Guard in providing armed defense for the Chinese against vigilantism. In this, he was a defender not so much of the Chinese themselves as of the rule of law. When one of the anti-Chinese rioters died of a gunshot incurred during the violence of February 7, 1886, Burke was among those charged with shooting with intent to kill; none were ever actually brought to trial. Railwayman Two years before Burke's arrival in Seattle, the Northern Pacific Railway had chosen nearby Tacoma as its western terminus. Many thought that this would condemn Seattle to, at best, a secondary role on Puget Sound. Burke would rise to prominence as a leader in Seattle's effort to avoid that fate. Seattle's first attempt to build its way into the national rail network—the Seattle and Walla Walla Railroad—never got out of King County, although it did make a decent profit for its investors when Henry Villard bought it out in 1883 during his brief tenure at the head of Northern Pacific. However, Villard's successors operate the line intermittently at best, leaving the city little benefit from its support for the venture. Burke raised money to send Daniel Hunt Gilman back east to seek investment for another railroad, the Seattle, Lake Shore and Eastern Railway (SLS&E). (Others involved in the founding of the railroad included David Denny, Thomas T. Minor, and George Kinnear.) In the event, Burke ended up accompanying Gilman on the trip. It became clear that any eastern investment would be dependent upon at least 10% of the investment coming from Seattle-area locals. The investment was found, and Burke became a railway attorney. The building of the SLS&E was a combination of hard-headed business and frontier disregard for law. On at least one occasion, Burke convinced the Snohomish County sheriff to head off to the wilderness with all of his deputies to prevent a representative of a rival railway scheme from serving a writ that would have prevented the construction of a bridge across the Snohomish River. Exploits like this helped to bring him to the attention of James J. Hill of the Great Northern Railway. Along with Judge Cornelius H. Hanford, Burke convinced the Seattle City Council to establish the Railroad Avenue (now Alaskan Way) along the downtown waterfront. The SLS&E got first choice of a right-of-way. The Northern Pacific eventually gained control of SLS&E by purchasing a majority of its stock. By this time, Seattle had established itself well enough as a city that Northern Pacific chose actually to operate the line (though the city did not get a major passenger terminal until 1905). Burke was a partner with Bostonian Frank Osgood and Seattle pioneer David Denny in the city's first horse-drawn streetcars (1884); only five years later, the three built one of the country's first electric streetcar lines. James J. Hill hired Burke in 1890 as the local counsel for the Great Northern, virtually guaranteeing Seattle's role as that line's western terminus. However, city engineer R. H. Thomson opposed adding yet another railroad to the crowded waterfront. When the Great Northern ran its first train to Seattle June 20, 1893, the end of the line was at Smith Cove in Interbay, a bit north of downtown. Eventually, Hill, Burke, and the city engineer's office reached a mutually satisfactory solution to the problem: the Great Northern Tunnel, a railway tunnel under downtown Seattle, built 1903–1906. Death Burke died on December 4, 1925. He is buried at the Burke family monument at Evergreen Washelli Memorial Park. See also Burke-Gilman Trail Notes References . , especially p. 107–130. . . . External links Clinton A. Snowden, History of Washington: The Rise and Progress of an American State Chapter LVII: The Anti-Chinese Movement contains a discussion of Burke's role facing down the anti-Chinese rioters in 1885–1886. 1849 births 1925 deaths American people in rail transportation American railway entrepreneurs Lawyers from Seattle Pike Place Market Washington (state) state court judges People of the Washington Territory 19th-century American lawyers
Kenji Koyano (小谷野 顕治, born June 22, 1988) is a Japanese football player. He plays for Mito HollyHock. Club career statistics Updated to 23 February 2016. References External links Albirex Niigata 1988 births Living people Association football people from Ibaraki Prefecture Japanese men's footballers J1 League players J2 League players J3 League players Kashima Antlers players Albirex Niigata players Mito HollyHock players Gainare Tottori players Men's association football midfielders
Liu Liankun () (20 January 1933 – 15 August 1999), was a major general (shao jiang) in the People's Liberation Army who provided the Republic of China (ROC) in Taiwan with secret intelligence about the status of missiles from the People's Republic of China (PRC). During the Third Taiwan Strait Crisis in 1996, the ROC Ministry of National Defense notified the public that the missiles launched by the PRC actually carried unarmed warheads. This tipped off Beijing that Taipei had a high-level mole working on the mainland. Liu, a top Chinese military logistics officer, was arrested, court-martialed and executed in 1999. The ROC's Military Intelligence Bureau confirmed that Liu was one of its spies in 2018. See also Tong Daning References 1933 births 1999 deaths 20th-century executions by China 20th-century spies Executed Chinese people Executed military leaders Executed people from Heilongjiang Executed People's Republic of China people Executed spies Expelled members of the Chinese Communist Party People executed by China by lethal injection People from Qiqihar People's Liberation Army generals from Heilongjiang Post–Cold War spies Taiwanese spies
Wasoora Pulwama, also known as Wasoor, is a village in Shahoora Tehsil of Pulwama district of Jammu and Kashmir in India. It is located 14 km (8.7 mi) towards East from District headquarters Pulwama and 50 km from State capital Srinagar. See also Chakoora Pulwama Tahab Pulwama References Villages in Pulwama district
Myatt Martin Snider (born December 30, 1994) is an American professional stock car racing driver. He is the son of NASCAR on NBC pit reporter Marty Snider. He competes part-time in the NASCAR Xfinity Series, driving the No. 19 Toyota Supra for Joe Gibbs Racing. Racing career ARCA Menards Series Driving the No. 22 Cunningham Motorsports car on a part-time basis, Snider won his first start in the ARCA Racing Series, leading 35 laps en route to victory at Toledo Speedway in 2016. He also captured the pole at Michigan International Speedway and recorded two other top-five finishes in nine starts. In 2019, Snider joined with Venturini Motorsports for a one-off deal at Michigan. Camping World Truck Series Snider made his NASCAR national series debut in 2016, driving the No. 22 truck for AM Racing. He started 19th and finished on the lead lap in 17th. On December 23, 2016, it was announced that Snider would pilot the No. 51 Kyle Busch Motorsports truck for eight races in the 2017 season, including the season-opening NextEra Energy Resources 250 at Daytona International Speedway. Snider moved to ThorSport Racing to drive the team's No. 13 truck to drive full-time in 2018, replacing Cody Coughlin. He finished ninth in points and won Truck Series Rookie of the Year. In 2019, Snider moved to ThorSport's No. 27 to drive part-time that year. Later in the season, he replaced Johnny Sauter in the team's No. 13 for the CarShield 200 at World Wide Technology Raceway at Gateway after Sauter was suspended. Snider returned to the Truck Series in March 2021 for the Bristol Motor Speedway dirt race, driving the No. 33 for Reaume Brothers Racing. Whelen Euro Series On April 9, 2019, Snider announced he would compete full-time in the NASCAR Whelen Euro Series Elite 2 Division, driving the No. 48 Ford Mustang for Racing Engineering. Snider was originally spurred on by a chance to join fellow American Bobby Labonte's team, but that initial opportunity did not work out. Xfinity Series On November 21, 2019, it was announced that Snider would drive select races for Richard Childress Racing in the NASCAR Xfinity Series in 2020, starting with the season opener at Daytona. His 2020 schedule was increased to 20 races in January when he joined RSS Racing on a limited basis. In his series debut at Daytona, he won the pole and led 23 laps in the opening stage, but was involved in a crash shortly before the end of the second stage. After running the first eight races, Snider committed to a full-time 2020 schedule, contesting all but three races for RSS; he ran the Pocono Raceway, Martinsville Speedway, and Phoenix Raceway rounds with RCR. Snider joined RCR's No. 2 for the full 2021 season. He would earn his first Xfinity Series win at Homestead-Miami Speedway on February 27, holding off RCR Cup driver and two-time champion Tyler Reddick in an overtime finish. The win qualified Snider for the playoffs. In the Round of 12's final race at the Charlotte Motor Speedway Roval, Snider was penalized for changing lanes too soon on a restart; although he rebounded to finish eighth, it was not enough to advance him to the next round and he was eliminated. Sheldon Creed was announced as the No. 2's driver for the 2022 season, though RCR and General Motors intended to keep Snider within their driver development program. On November 3, Jordan Anderson Racing signed Snider to drive the No. 31. On the last lap of the season opening 2022 Beef. It's What's for Dinner. 300, Snider was involved in a wild accident. He got turned by the 23 of Anthony Alfredo. His car went airborne and hit the backstretch catchfence, destroying the car. He was seen moving around in the car and managed to get out and walk under his own power. He DNFed in 22nd place as a result. He finished second at Portland, becoming his highest finish of the season. At Martinsville, Snider collided with Austin Hill during the closing laps. Following the race, Hill punched Snider in the face on pit road. On February 8, 2023, it was announced that Snider will drive for Joe Gibbs Racing in select races for the 2023 season, starting with the season-opener at Daytona. Other racing In March 2019, Snider competed in the Michelin Pilot Challenge sports car race at Sebring International Raceway, driving a Ford for Multimatic Motorsports alongside ThorSport Racing teammates Matt Crafton, Grant Enfinger, and Ben Rhodes. Personal life Myatt is the son of NASCAR on NBC pit reporter Marty Snider. He attends UNC Charlotte, and intends to gain a pilot's license down the road. Motorsports career results NASCAR (key) (Bold – Pole position awarded by qualifying time. Italics – Pole position earned by points standings or practice time. * – Most laps led.) Xfinity Series Camping World Truck Series Season still in progress Ineligible for series points Whelen Euro Series – Elite 2 ARCA Menards Series (key) (Bold – Pole position awarded by qualifying time. Italics – Pole position earned by points standings or practice time. * – Most laps led.) References External links Living people 1994 births NASCAR drivers ARCA Menards Series drivers Racing drivers from Charlotte, North Carolina Richard Childress Racing drivers Racing Engineering drivers Multimatic Motorsports drivers Kyle Busch Motorsports drivers Michelin Pilot Challenge drivers Joe Gibbs Racing drivers
```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.google.android.material.ripple; import android.content.res.ColorStateList; import android.graphics.Canvas; import android.graphics.ColorFilter; import android.graphics.PorterDuff; import android.graphics.Rect; import android.graphics.drawable.Drawable; import androidx.annotation.ColorInt; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.annotation.RestrictTo; import androidx.annotation.RestrictTo.Scope; import androidx.core.graphics.drawable.TintAwareDrawable; import androidx.dynamicanimation.animation.SpringForce; import com.google.android.material.shape.MaterialShapeDrawable; import com.google.android.material.shape.ShapeAppearanceModel; import com.google.android.material.shape.Shapeable; import com.google.android.material.shape.StateListShapeAppearanceModel; /** * A compat {@link Drawable} that is used to provide an overlay for pressed, focused, and hovered * states (only when in enabled). This is intended to be used pre-Lollipop. * * <p>This Drawable is a {@link MaterialShapeDrawable} so that it can be shaped to match a * MaterialShapeDrawable background. * * <p>Unlike the framework {@link android.graphics.drawable.RippleDrawable}, this will <b>not</b> * apply different alphas for pressed, focused, and hovered states and it does not provide a ripple * animation for the pressed state. */ @RestrictTo(Scope.LIBRARY_GROUP) public class RippleDrawableCompat extends Drawable implements Shapeable, TintAwareDrawable { private RippleDrawableCompatState drawableState; /** * Creates a {@link RippleDrawableCompat} with the given shape that will only draw when enabled * and at least one of: pressed, focused, or hovered. * * @param shapeAppearanceModel The shape for the ripple. */ public RippleDrawableCompat(ShapeAppearanceModel shapeAppearanceModel) { this(new RippleDrawableCompatState(new MaterialShapeDrawable(shapeAppearanceModel))); } private RippleDrawableCompat(RippleDrawableCompatState state) { super(); this.drawableState = state; } @Override public void setTint(@ColorInt int tintColor) { drawableState.delegate.setTint(tintColor); } @Override public void setTintMode(@Nullable PorterDuff.Mode tintMode) { drawableState.delegate.setTintMode(tintMode); } @Override public void setTintList(@Nullable ColorStateList tintList) { drawableState.delegate.setTintList(tintList); } @Override public void setShapeAppearanceModel(@NonNull ShapeAppearanceModel shapeAppearanceModel) { drawableState.delegate.setShapeAppearanceModel(shapeAppearanceModel); } /** * Get the {@link ShapeAppearanceModel} containing the path that will be rendered in this * drawable. * * @return the current model. */ @Override @NonNull public ShapeAppearanceModel getShapeAppearanceModel() { return drawableState.delegate.getShapeAppearanceModel(); } public void setStateListShapeAppearanceModel( @NonNull StateListShapeAppearanceModel stateListShapeAppearanceModel) { drawableState.delegate.setStateListShapeAppearanceModel(stateListShapeAppearanceModel); } @Nullable public StateListShapeAppearanceModel getStateListShapeAppearanceModel() { return drawableState.delegate.getStateListShapeAppearanceModel(); } public void setCornerSpringForce(@NonNull SpringForce springForce) { drawableState.delegate.setCornerSpringForce(springForce); } @Nullable public SpringForce getCornerSpringForce() { return drawableState.delegate.getCornerSpringForce(); } /* * This is always stateful as it draws on the canvas only when enabled and (pressed, focused, or * hovered). */ @Override public boolean isStateful() { return true; } @Override protected boolean onStateChange(@NonNull int[] stateSet) { boolean changed = super.onStateChange(stateSet); if (drawableState.delegate.setState(stateSet)) { changed = true; } boolean shouldDrawRipple = RippleUtils.shouldDrawRippleCompat(stateSet); // If shouldDrawRipple is changing, this needs to be redrawn even if the paint / tint values // are not changing in order to support setting a ColorStateList with a single color. if (drawableState.shouldDrawDelegate != shouldDrawRipple) { drawableState.shouldDrawDelegate = shouldDrawRipple; changed = true; } return changed; } @Override public void draw(Canvas canvas) { // Only draw the delegate Drawable when enabled and at least one of: pressed, focused, hovered. if (drawableState.shouldDrawDelegate) { drawableState.delegate.draw(canvas); } } @Override protected void onBoundsChange(@NonNull Rect bounds) { super.onBoundsChange(bounds); drawableState.delegate.setBounds(bounds); } @Nullable @Override public ConstantState getConstantState() { return drawableState; } @NonNull @Override public RippleDrawableCompat mutate() { RippleDrawableCompatState newDrawableState = new RippleDrawableCompatState(drawableState); drawableState = newDrawableState; return this; } @Override public void setAlpha(int alpha) { drawableState.delegate.setAlpha(alpha); } @Override public void setColorFilter(@Nullable ColorFilter colorFilter) { drawableState.delegate.setColorFilter(colorFilter); } @Override public int getOpacity() { return drawableState.delegate.getOpacity(); } /** * A {@link ConstantState} for {@link Ripple} * */ static final class RippleDrawableCompatState extends ConstantState { @NonNull MaterialShapeDrawable delegate; boolean shouldDrawDelegate; public RippleDrawableCompatState(MaterialShapeDrawable delegate) { this.delegate = delegate; this.shouldDrawDelegate = false; } public RippleDrawableCompatState(@NonNull RippleDrawableCompatState orig) { this.delegate = (MaterialShapeDrawable) orig.delegate.getConstantState().newDrawable(); this.shouldDrawDelegate = orig.shouldDrawDelegate; } @NonNull @Override public RippleDrawableCompat newDrawable() { return new RippleDrawableCompat(new RippleDrawableCompatState(this)); } @Override public int getChangingConfigurations() { return 0; } } } ```
```javascript /* eslint-env jest */ import cheerio from 'cheerio' import fs from 'fs-extra' import { findPort, killApp, launchApp, nextBuild, nextStart, renderViaHTTP, } from 'next-test-utils' import { join } from 'path' const appDir = join(__dirname, '..') const appPage = join(appDir, 'pages/_app.js') const indexPage = join(appDir, 'pages/index.js') let app let appPort let indexPageContent const runTests = (isDev) => { const getData = async () => { if (isDev) { appPort = await findPort() app = await launchApp(appDir, appPort) } else { const { code } = await nextBuild(appDir) if (code !== 0) throw new Error(`build faild, exit code: ${code}`) appPort = await findPort() app = await nextStart(appDir, appPort) } const html = await renderViaHTTP(appPort, '/') await killApp(app) const $ = cheerio.load(html) return JSON.parse($('#__NEXT_DATA__').text()) } it('should not have gip or appGip in NEXT_DATA for page without getInitialProps', async () => { const data = await getData() expect(data.gip).toBe(undefined) expect(data.appGip).toBe(undefined) }) it('should have gip in NEXT_DATA for page with getInitialProps', async () => { indexPageContent = await fs.readFile(indexPage, 'utf8') await fs.writeFile( indexPage, ` const Page = () => 'hi' Page.getInitialProps = () => ({ hello: 'world' }) export default Page ` ) const data = await getData() expect(data.gip).toBe(true) }) it('should have gip and appGip in NEXT_DATA for page with getInitialProps and _app with getInitialProps', async () => { await fs.writeFile( appPage, ` const App = ({ Component, pageProps }) => <Component {...pageProps} /> App.getInitialProps = async (ctx) => { let pageProps = {} if (ctx.Component.getInitialProps) { pageProps = await ctx.Component.getInitialProps(ctx.ctx) } return { pageProps } } export default App ` ) const data = await getData() expect(data.gip).toBe(true) expect(data.appGip).toBe(true) }) it('should only have appGip in NEXT_DATA for page without getInitialProps and _app with getInitialProps', async () => { await fs.writeFile(indexPage, indexPageContent) const data = await getData() await fs.remove(appPage) expect(data.gip).toBe(undefined) expect(data.appGip).toBe(true) }) } describe('gip identifiers', () => { ;(process.env.TURBOPACK_BUILD ? describe.skip : describe)( 'development mode', () => { runTests(true) } ) ;(process.env.TURBOPACK_DEV ? describe.skip : describe)( 'production mode', () => { runTests() } ) }) ```
Track 61 is an industrial rail terminal track in South Boston, Massachusetts, also known as the Boston Terminal Running Track. Track 61 is the last remnant of the vast rail yards that once covered much of the South Boston waterfront. Track 61 legally begins at Summer Street, while the line from Bay Junction to Summer Street is the Boston Terminal Running Track and Terminal Yard. However, the names are frequently used interchangeably. Part of what is now Track 61 was constructed in 1855 and became part of the New York and New England Railroad. Other sections were constructed from 1880 to 1920 as South Boston became a freight center. During the second half of the 20th century use of the line declined, and part of it is currently out of service. While trains do not currently operate along the line, the section from Cypher Street to the Cruise Terminal was rebuilt in conjunction with the Boston Convention & Exhibition Center construction, the line being used heavily to transport material to the Convention Center construction site. Revival of freight service and passenger services using the track was proposed by the state in the 2010s, but not funded. From 2021 to 2023, a section of the track will be used for acceptance testing of new Red Line subway cars. In 2017, the trackage adjacent to the Boston Convention and Exhibition Center was covered with dirt and used for parking during events. Passenger service The Boston and New York Central Railroad opened its Dorchester Branch from Dedham to Boston on January 1, 1855, begun in 1850 by the Midland Railroad as an extension of the existing Norfolk County Railroad. The terminal station was located on Summer Street near the modern location of South Station. Trains crossed the Old Colony Railroad at South Bay Junction, then ran parallel to A Street before crossing the Fort Point Channel at Summer Street. Past West 1st Street, the line ran on a trestle through shallow water. An intermediate station was located in South Boston at West 2nd Street; this was separate from the Old Colony's South Boston station at West 4th Street. After several monetary failures and a year-long injunction due to grade crossings, the line was reorganized several times, ending as the Boston, Hartford and Erie Railroad in 1863 and finally part of the New York & New England Railroad in 1873. A spur was built in the 1870s to the new Fan Pier, constructed by erecting a seawall to hold in fill. In November 1880, a second track opened from Boston to Walpole. The tracks through South Boston were depressed for grade separation; in some places, they were as far as 5 feet below mean sea level to allow for the construction of 12 bridges overhead. On August 22, 1896, New England Railroad (NY&NE reorganization in 1895) trains were rerouted to the Old Colony terminal downtown so that South Union Station could be built on the former NY&NE depot site. The Fort Point Channel bridge was removed, and the tracks from South Bay Junction through South Boston became freight-only. As freight service to the South Boston Waterfront increased, two more tracks were added to the depressed corridor. Freight service The grade crossing of Congress Street, which served the tracks to Fan Pier was eliminated in 1899 by the construction of the Summer Street viaduct. A new rail yard north of Summer Street was built in 1913–14 to serve the expanded Commonwealth Pier, with a new viaduct from Summer Street to the pier over the yard. In 1920, the War Department bought much of the Commonwealth Flats to construct the South Boston Army Base and South Boston Naval Annex. Tracks were extended through the Waterfront district to the new bases, with the Army Yard located at Summer and D Streets. The West First Street Yard was constructed to serve the variety of industries in the area. A spur was built down East 1st Street to additional Army facilities and the Boston Elevated Railway's South Boston Power Plant, overlapping the eastbound streetcar track on the street. On March 5, 1942, BERy abandoned the streetcar tracks by request of the War Department, to avoid possible collisions between streetcars and freight trains carrying petroleum and ammunition. The New Haven Railroad folded into Penn Central in 1969; its freight operations were then transferred to Conrail and then to CSX Transportation. After World War II ended, rail traffic to the military bases declined until their closure in 1974. Two tracks remained on the Boston Terminal Running Track for a once-daily local freight until the 1980s. The East First Street spur closed as truck traffic to Conley Terminal increased. By 1990, reaching the Boston Terminal Running Track required a reverse move at Bay Junction, limiting the train length to just several cars. The line was used to haul material and equipment for the Central Artery/Tunnel project (Big Dig) and Boston Convention & Exposition Center Construction, but traffic declined as the project wound down. The construction of the South Boston Haul Road reduced the Running Track to a single track and the Terminal Yard (West First Street Yard) to two tracks; much of the former Army Yard was used for the approach to the Ted Williams Tunnel. In 1997, the Surface Transportation Board permitted CSX to abandon Track 61 past Summer Street for about three years for the construction of the South Boston Interchange (I-90 exit 25). This abandonment was later extended to 2003, and then until 2005. In 2006, CSX evicted Boston Railway Terminal Corporation, which had handled much of the Big Dig traffic but then primarily served cars for the remains of the East First Street track, from use of the line. The main section of the line had been rebuilt from Pumphouse Road to the Summer Street underpass as part of the South Boston Interchange project, including a new viaduct carrying D Street over the tracks. However, after BRT's eviction, CSX declined to pursue further freight service on the line. Proposals for service Proposed return of freight service Although CSX no longer was interested, the state has plans to restore the remainder of the line for freight service. This would include rehabilitation of the Running Track and Terminal Yard from Bay Junction to Summer Street, as well as restoring the end of the line through the Boston Marine Industrial Park. Possibilities initially raised in mid-2009 included service to Conley Terminal or the Massport Marine Terminal via new spurs from Track 61. The City of Boston applied for $84M in TIGER funds in 2009, including $14M for expansion of Track 61. The existing out-of-service track paralleling Dry Dock Avenue through Black Falcon Cruise Terminal and the International Cargo Port Boston (totalling 2,860 linear feet) would have been rehabilitated, and 5,910 linear feet of new track constructed along Tide Street and Fid Kennedy Avenue into the Massport Marine Terminal. The application was unsuccessful. On October 2, 2008, the state government announced an agreement with CSX Transportation for the purchase and upgrade of several of CSX's freight lines in the state. CSX agreed to sell its lines from Taunton to Fall River and New Bedford for use by the South Coast Rail project, as well as the Grand Junction Branch, the Framingham-to-Worcester section of the Worcester Line, and Track 61. Other parts of the agreement included plans for double-stack freights west of Worcester and the abandonment of Beacon Park Yard. The agreement was signed on September 23, 2009. The first closing (including the Boston Terminal Running Track) was originally scheduled for May 2010 and eventually was finalized on June 11, 2010. In May 2013, Massport released plans to build a dedicated haul road to Conley Terminal. This indicates a lack of interest in extending rail service to Conley, which would require a new bridge over Reserved Channel rather than using the existing Summer Street bridge. The Conley Haul Road would not affect expanded Track 61 service to the Waterfront area, which is still considered a "competitive advantage" by MassDOT. Proposed passenger service In 2013, a Boston Globe columnist reported on a plan by MassDOT and the MBTA to provide rail service between the Boston Convention and Exhibition Center (BCEC) and Back Bay station, to meet demand for those attending conventions at BCEC and staying in Back Bay hotels. The service would access Track 61 from the existing loop tracks at Widett Circle, with a new crossing of the Old Colony Lines at Bay Junction. The service would share with the Fairmount Line a fleet of new diesel multiple units, which the state then planned to acquire by 2018. In 2014, it was revealed by the state that the line would be part of the proposed Indigo Line. Operating passenger service on this routing would require crossing the Northeast Corridor and Old Colony Lines tracks at grade, with potential detriment to existing Amtrak and commuter rail operations. These conflicts were previously noted with proposals for Readville-Allston and Riverside-JFK/UMass DMU services in 2004, resulting in such projects being given low ratings in the Program for Mass Transportation. Plans for DMU service were cancelled in 2015 due to funding cuts by Massachusetts Governor Charlie Baker that stopped the purchase of DMUs that were to be used for short train service on Track 61 and the Fairmount Line. In December 2016, city officials proposed routing some Fairmount Line trains over Track 61 to the BCEC as part of high-frequency Indigo Line service. However, the proposal did not provide a funding source nor solutions to operational issues. The plan was also criticized as not serving a demonstrated transportation need, since it would bypass South Station and thus connect neither Dorchester nor the Seaport to downtown or the subway network. In April-May 2017, the MBTA dismantled the old BCEC construction sidings. In June 2017, Representative Nick Collins expressed a hope that a public/private partnership would enable passenger rail service to be extended out as far as the Raymond L. Flynn Marine Park. MBTA test track In May 2017, the MBTA announced that $32 million would be spent to convert part of Track 61 into a test track with third rail, beginning that fall. The track will be used for acceptance testing of new Red Line subway cars until 2023. Two property owners sued the state in 2018 to halt the tests, claiming that railroad easements on their property do not cover subway use. The case went to court in January 2020. The test track was 88% complete by December 2019, and ready for testing in February 2020. It reached substantial completion on March 12, 2021, and was fully completed that December. MassDOT lost the court case in May 2023 and will be required to compensate the property owner. References External links Massport - Port of Boston Rail infrastructure in Massachusetts Passenger rail transportation in Massachusetts Proposed railway lines in Massachusetts Seaport District Railway lines opened in 1855
Vita coi figli is a 1990 Italian television film directed by Dino Risi and broadcast by Canale 5. The film reached 5 million viewers in May 1991. Cast Giancarlo Giannini: Adriano Setti Monica Bellucci: Elda Corinne Cléry: Valeria : Francesca References External links 1990 films Films directed by Dino Risi Films scored by Stelvio Cipriani Italian drama television films 1990 drama films 1990s Italian-language films 1990s Italian films
```xml import { Component } from '@angular/core'; @Component({ selector: 'ngx-profit-card', styleUrls: ['./profit-card.component.scss'], templateUrl: './profit-card.component.html', }) export class ProfitCardComponent { flipped = false; toggleView() { this.flipped = !this.flipped; } } ```
Mugom language, also known as Mugom-ket, is the Sino-Tibetan language of the Mugali people of Mugu district in Nepal (ISO 639-3: muk, GlottoCode: mugo1238). Language name Mugom speakers self-identify as “Moa,” and are referred to as “Mugali” by non-Tibetan peoples of the area. Mugom speakers simply refer to their language as “mugu jillako bhote bhasa,” lit. ‘the Tibetan language of Mugu district.’ Speakers Mugom is spoken by roughly 500 people originating from the village of Mugugau along the Mugu Karnali River in Mugum Karmarong Rural Municipality. The language is specifically associated with Mugali people. A small diaspora community of Mugali exists in Bouddha, in the northeast part of Kathmandu. Language vitality In 2002, a sociolinguistic study found that Mugom speakers in diaspora consistently used their own language with each other, and that the language was being transmitted to children. The Ethnologue has assigned EGIDS level 6a “vigorous” to the Mugom-Karmarong (ISO 639-3: muk). This level denotes oral use of Mugom is stable, and that the speaker population is not decreasing. Resources Mugom primer: A clear reflection of Mugom: Book 1 Mugom primer: A clear reflection of Mugom: Book 2 Sociolinguistic Study: Japola, Mari-Sisco. (2002). Mugom Survey. United Mission to Nepal, Mugu Education Project internal report: unpublished. Notes There have been attempts to create health-education materials aimed at the Mugali and Karani that take into account their culture and levels of literacy specifically. References External links Short summary on health education initiative Languages of Nepal Languages of India Central Bodish languages Linguistics
```elixir defmodule PhoenixTrello.SessionController do use PhoenixTrello.Web, :controller plug :scrub_params, "session" when action in [:create] def create(conn, %{"session" => session_params}) do case PhoenixTrello.Session.authenticate(session_params) do {:ok, user} -> {:ok, jwt, _full_claims} = user |> Guardian.encode_and_sign(:token) conn |> put_status(:created) |> render("show.json", jwt: jwt, user: user) :error -> conn |> put_status(:unprocessable_entity) |> render("error.json") end end def delete(conn, _) do {:ok, claims} = Guardian.Plug.claims(conn) conn |> Guardian.Plug.current_token |> Guardian.revoke!(claims) conn |> render("delete.json") end def unauthenticated(conn, _params) do conn |> put_status(:forbidden) |> render(PhoenixTrello.SessionView, "forbidden.json", error: "Not Authenticated") end end ```
```smalltalk /* 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 */ using System; using System.Collections.Generic; using Microsoft.Extensions.Logging; using iText.Commons; using iText.Commons.Utils; using iText.Forms; using iText.Forms.Fields; using iText.Forms.Form.Element; using iText.Forms.Util; using iText.Kernel.Colors; using iText.Kernel.Geom; using iText.Kernel.Pdf; using iText.Layout.Element; using iText.Layout.Font; using iText.Layout.Layout; using iText.Layout.Properties; using iText.Layout.Renderer; namespace iText.Forms.Form.Renderer { /// <summary> /// The /// <see cref="AbstractTextFieldRenderer"/> /// implementation for SigFields. /// </summary> public class SignatureAppearanceRenderer : AbstractTextFieldRenderer { /// <summary>Extra space at the top.</summary> private const float TOP_SECTION = 0.3f; private const float EPS = 1e-5f; private readonly SignatureAppearanceRenderer.RenderingMode renderingMode; private bool isFontSizeApproximated = false; /// <summary> /// Creates a new /// <see cref="SignatureAppearanceRenderer"/> /// instance. /// </summary> /// <param name="modelElement">the model element</param> public SignatureAppearanceRenderer(SignatureFieldAppearance modelElement) : base(modelElement) { renderingMode = RetrieveRenderingMode(); } /// <summary><inheritDoc/></summary> /// <returns> /// /// <inheritDoc/> /// </returns> protected internal override bool IsLayoutBasedOnFlatRenderer() { return false; } /// <summary><inheritDoc/></summary> /// <returns> /// /// <inheritDoc/> /// </returns> protected internal override IRenderer CreateFlatRenderer() { Div div = new Div(); foreach (IElement element in ((SignatureFieldAppearance)modelElement).GetContentElements()) { if (element is Image) { div.Add((Image)element); } else { div.Add((IBlockElement)element); } } return div.CreateRendererSubTree(); } /// <summary><inheritDoc/></summary> public override LayoutResult Layout(LayoutContext layoutContext) { ApproximateFontSizeToFitLayoutArea(layoutContext); return base.Layout(layoutContext); } /// <summary><inheritDoc/></summary> /// <param name="layoutContext"> /// /// <inheritDoc/> /// </param> protected internal override void AdjustFieldLayout(LayoutContext layoutContext) { Rectangle bBox = GetOccupiedArea().GetBBox().Clone(); ApplyPaddings(bBox, false); ApplyBorderBox(bBox, false); ApplyMargins(bBox, false); if (bBox.GetY() < 0) { bBox.SetHeight(bBox.GetY() + bBox.GetHeight()); bBox.SetY(0); } Rectangle descriptionRect = null; Rectangle signatureRect = null; switch (renderingMode) { case SignatureAppearanceRenderer.RenderingMode.NAME_AND_DESCRIPTION: case SignatureAppearanceRenderer.RenderingMode.GRAPHIC_AND_DESCRIPTION: { // Split the signature field into two and add the name of the signer or an image to the one side, // the description to the other side. UnitValue[] paddings = GetPaddings(); if (bBox.GetHeight() > bBox.GetWidth()) { float topPadding = paddings[0].GetValue(); float bottomPadding = paddings[2].GetValue(); signatureRect = new Rectangle(bBox.GetX(), bBox.GetY() + bBox.GetHeight() / 2 + bottomPadding / 2, bBox.GetWidth (), bBox.GetHeight() / 2 - bottomPadding / 2); descriptionRect = new Rectangle(bBox.GetX(), bBox.GetY(), bBox.GetWidth(), bBox.GetHeight() / 2 - topPadding / 2); } else { // origin is the bottom-left float rightPadding = paddings[1].GetValue(); float leftPadding = paddings[3].GetValue(); signatureRect = new Rectangle(bBox.GetX(), bBox.GetY(), bBox.GetWidth() / 2 - rightPadding / 2, bBox.GetHeight ()); descriptionRect = new Rectangle(bBox.GetX() + bBox.GetWidth() / 2 + leftPadding / 2, bBox.GetY(), bBox.GetWidth () / 2 - leftPadding / 2, bBox.GetHeight()); } break; } case SignatureAppearanceRenderer.RenderingMode.GRAPHIC: { // The signature field will consist of an image only; no description will be shown. signatureRect = bBox; break; } case SignatureAppearanceRenderer.RenderingMode.DESCRIPTION: { // Default one, it just shows whatever description was defined for the signature. float additionalHeight = CalculateAdditionalHeight(); if (RetrieveHeight() == null) { // Adjust calculated occupied area height to keep the same font size. float calculatedHeight = GetOccupiedArea().GetBBox().GetHeight(); // (calcHeight + addHeight + topSect) * (1 - TOP_SECTION) - addHeight = calcHeight, => float topSection = (calculatedHeight + additionalHeight) * TOP_SECTION / (1 - TOP_SECTION); GetOccupiedArea().GetBBox().MoveDown(topSection + additionalHeight).SetHeight(calculatedHeight + topSection + additionalHeight); bBox.MoveDown(bBox.GetBottom() - GetOccupiedArea().GetBBox().GetBottom() - additionalHeight / 2); } descriptionRect = bBox.SetHeight(GetOccupiedArea().GetBBox().GetHeight() * (1 - TOP_SECTION) - additionalHeight ); break; } default: { return; } } AdjustChildrenLayout(renderingMode, signatureRect, descriptionRect, layoutContext.GetArea().GetPageNumber( )); } /// <summary><inheritDoc/></summary> /// <returns> /// /// <inheritDoc/> /// </returns> public override IRenderer GetNextRenderer() { return new iText.Forms.Form.Renderer.SignatureAppearanceRenderer((SignatureFieldAppearance)modelElement); } /// <summary>Gets the default value of the form field.</summary> /// <returns>the default value of the form field.</returns> public override String GetDefaultValue() { // FormProperty.FORM_FIELD_VALUE is not supported for SigField element. return ""; } /// <summary><inheritDoc/></summary> /// <param name="drawContext"> /// /// <inheritDoc/> /// </param> protected internal override void ApplyAcroField(DrawContext drawContext) { String name = GetModelId(); UnitValue fontSize = (UnitValue)this.GetPropertyAsUnitValue(Property.FONT_SIZE); if (!fontSize.IsPointValue()) { ILogger logger = ITextLogManager.GetLogger(typeof(iText.Forms.Form.Renderer.SignatureAppearanceRenderer)); logger.LogError(MessageFormatUtil.Format(iText.IO.Logs.IoLogMessageConstant.PROPERTY_IN_PERCENTS_NOT_SUPPORTED , Property.FONT_SIZE)); } PdfDocument doc = drawContext.GetDocument(); Rectangle area = GetOccupiedArea().GetBBox().Clone(); ApplyMargins(area, false); IDictionary<int, Object> properties = FormFieldRendererUtil.RemoveProperties(this.modelElement); PdfPage page = doc.GetPage(occupiedArea.GetPageNumber()); Background background = this.GetProperty<Background>(Property.BACKGROUND); // Background is light gray by default, but can be set to null by user. Color backgroundColor = background == null ? null : background.GetColor(); float fontSizeValue = fontSize.GetValue(); if (font == null) { font = doc.GetDefaultFont(); } // Some properties are set to the HtmlDocumentRenderer, which is root renderer for this SigFieldRenderer, but // in forms logic root renderer is CanvasRenderer, and these properties will have default values. So // we get them from renderer and set these properties to model element, which will be passed to forms logic. modelElement.SetProperty(Property.FONT_PROVIDER, this.GetProperty<FontProvider>(Property.FONT_PROVIDER)); modelElement.SetProperty(Property.RENDERING_MODE, this.GetProperty<SignatureAppearanceRenderer.RenderingMode? >(Property.RENDERING_MODE)); PdfSignatureFormField sigField = new SignatureFormFieldBuilder(doc, name).SetWidgetRectangle(area).SetConformanceLevel (GetConformanceLevel(doc)).SetFont(font).CreateSignature(); sigField.DisableFieldRegeneration(); sigField.SetFontSize(fontSizeValue); sigField.GetFirstFormAnnotation().SetBackgroundColor(backgroundColor); ApplyDefaultFieldProperties(sigField); ApplyAccessibilityProperties(sigField, doc); sigField.GetFirstFormAnnotation().SetFormFieldElement((SignatureFieldAppearance)modelElement); sigField.EnableFieldRegeneration(); PdfAcroForm forms = PdfFormCreator.GetAcroForm(doc, true); forms.AddField(sigField, page); FormFieldRendererUtil.ReapplyProperties(modelElement, properties); } private void AdjustChildrenLayout(SignatureAppearanceRenderer.RenderingMode renderingMode, Rectangle signatureRect , Rectangle descriptionRect, int pageNum) { switch (renderingMode) { case SignatureAppearanceRenderer.RenderingMode.NAME_AND_DESCRIPTION: { ParagraphRenderer name = (ParagraphRenderer)flatRenderer.GetChildRenderers()[0]; RelayoutParagraph(name, signatureRect, pageNum); ParagraphRenderer description = (ParagraphRenderer)flatRenderer.GetChildRenderers()[1]; RelayoutParagraph(description, descriptionRect, pageNum); break; } case SignatureAppearanceRenderer.RenderingMode.GRAPHIC_AND_DESCRIPTION: { RelayoutImage(signatureRect, pageNum); ParagraphRenderer description = (ParagraphRenderer)flatRenderer.GetChildRenderers()[1]; RelayoutParagraph(description, descriptionRect, pageNum); break; } case SignatureAppearanceRenderer.RenderingMode.GRAPHIC: { RelayoutImage(signatureRect, pageNum); break; } default: { ParagraphRenderer description = (ParagraphRenderer)flatRenderer.GetChildRenderers()[0]; RelayoutParagraph(description, descriptionRect, pageNum); break; } } // Apply vertical alignment for children including floats. VerticalAlignment? verticalAlignment = this.GetProperty<VerticalAlignment?>(Property.VERTICAL_ALIGNMENT); float multiplier = 0; if (VerticalAlignment.MIDDLE == verticalAlignment) { multiplier = 0.5f; } else { if (VerticalAlignment.BOTTOM == verticalAlignment) { multiplier = 1; } } float lowestChildBottom = GetLowestChildBottom(flatRenderer, GetInnerAreaBBox().GetTop()); float deltaY = lowestChildBottom - GetInnerAreaBBox().GetY(); if (deltaY > 0) { flatRenderer.Move(0, -deltaY * multiplier); } } private void RelayoutImage(Rectangle signatureRect, int pageNum) { ImageRenderer image = (ImageRenderer)flatRenderer.GetChildRenderers()[0]; Rectangle imageBBox = image.GetOccupiedArea().GetBBox(); float imgWidth = imageBBox.GetWidth(); if (imgWidth < EPS) { imgWidth = signatureRect.GetWidth(); } float imgHeight = imageBBox.GetHeight(); if (imgHeight < EPS) { imgHeight = signatureRect.GetHeight(); } float multiplierH = signatureRect.GetWidth() / imgWidth; float multiplierW = signatureRect.GetHeight() / imgHeight; float multiplier = Math.Min(multiplierH, multiplierW); imgWidth *= multiplier; imgHeight *= multiplier; float x = signatureRect.GetLeft() + (signatureRect.GetWidth() - imgWidth) / 2; float y = signatureRect.GetBottom() + (signatureRect.GetHeight() - imgHeight) / 2; // We need to re-layout image since signature was divided into 2 parts and bBox was changed. LayoutContext layoutContext = new LayoutContext(new LayoutArea(pageNum, new Rectangle(x, y, imgWidth, imgHeight ))); image.GetModelElement().SetProperty(Property.WIDTH, UnitValue.CreatePointValue(imgWidth)); image.GetModelElement().SetProperty(Property.HEIGHT, UnitValue.CreatePointValue(imgHeight)); image.Layout(layoutContext); } private void RelayoutParagraph(IRenderer renderer, Rectangle rect, int pageNum) { UnitValue fontSizeAsUV = this.HasOwnProperty(Property.FONT_SIZE) ? (UnitValue)this.GetOwnProperty<UnitValue >(Property.FONT_SIZE) : (UnitValue)modelElement.GetOwnProperty<UnitValue>(Property.FONT_SIZE); if (fontSizeAsUV == null || fontSizeAsUV.GetValue() < EPS || isFontSizeApproximated) { // Calculate font size. IRenderer helper = ((Paragraph)renderer.GetModelElement()).CreateRendererSubTree().SetParent(renderer.GetParent ()); this.DeleteProperty(Property.FONT_SIZE); LayoutContext layoutContext = new LayoutContext(new LayoutArea(pageNum, rect)); float lFontSize = 0.1f; float rFontSize = 100; int numberOfIterations = 15; // 15 iterations with lFontSize = 0.1 and rFontSize = 100 should result in ~0.003 precision. float fontSize = CalculateFittingFontSize(helper, lFontSize, rFontSize, layoutContext, numberOfIterations); renderer.GetModelElement().SetProperty(Property.FONT_SIZE, UnitValue.CreatePointValue(fontSize)); } // Relayout the element after font size was changed or signature was split into 2 parts. LayoutContext layoutContext_1 = new LayoutContext(new LayoutArea(pageNum, rect)); renderer.Layout(layoutContext_1); } private float CalculateAdditionalHeight() { Rectangle dummy = new Rectangle(0, 0); this.ApplyMargins(dummy, true); this.ApplyBorderBox(dummy, true); this.ApplyPaddings(dummy, true); return dummy.GetHeight(); } private void ApproximateFontSizeToFitLayoutArea(LayoutContext layoutContext) { if (this.HasOwnProperty(Property.FONT_SIZE) || modelElement.HasOwnProperty(Property.FONT_SIZE)) { return; } if (SignatureAppearanceRenderer.RenderingMode.GRAPHIC == renderingMode || SignatureAppearanceRenderer.RenderingMode .GRAPHIC_AND_DESCRIPTION == renderingMode || SignatureAppearanceRenderer.RenderingMode.CUSTOM == renderingMode ) { // We can expect CLIP_ELEMENT log messages since the initial image size may be larger than the field height. // But image size will be adjusted during its relayout in #adjustFieldLayout. return; } float fontSize = ApproximateFontSize(layoutContext, 0.1f, AbstractPdfFormField.DEFAULT_FONT_SIZE); if (fontSize > 0) { isFontSizeApproximated = true; modelElement.SetProperty(Property.FONT_SIZE, UnitValue.CreatePointValue(fontSize)); } } private SignatureAppearanceRenderer.RenderingMode RetrieveRenderingMode() { IList<IElement> contentElements = ((SignatureFieldAppearance)modelElement).GetContentElements(); if (contentElements.Count == 2 && contentElements[1] is Paragraph) { if (contentElements[0] is Paragraph) { return SignatureAppearanceRenderer.RenderingMode.NAME_AND_DESCRIPTION; } if (contentElements[0] is Image) { return SignatureAppearanceRenderer.RenderingMode.GRAPHIC_AND_DESCRIPTION; } } if (contentElements.Count == 1) { if (contentElements[0] is Paragraph) { return SignatureAppearanceRenderer.RenderingMode.DESCRIPTION; } if (contentElements[0] is Image) { return SignatureAppearanceRenderer.RenderingMode.GRAPHIC; } } return SignatureAppearanceRenderer.RenderingMode.CUSTOM; } /// <summary>Signature rendering modes.</summary> private enum RenderingMode { /// <summary>The rendering mode is just the description.</summary> DESCRIPTION, /// <summary>The rendering mode is the name of the signer and the description.</summary> NAME_AND_DESCRIPTION, /// <summary>The rendering mode is an image and the description.</summary> GRAPHIC_AND_DESCRIPTION, /// <summary>The rendering mode is just an image.</summary> GRAPHIC, /// <summary>The rendering mode is div.</summary> CUSTOM } } } ```
```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 org.thingsboard.server.common.data.notification.targets; public interface NotificationRecipient { Object getId(); String getTitle(); default String getFirstName() { return null; } default String getLastName() { return null; } default String getEmail() { return null; } } ```
Westport High School may refer to: Westport High School (Massachusetts) Westport High School (Missouri) Westport High School (Kansas), now known as Westport Middle School Westport High School (Kentucky), now known as Westport Middle School Staples High School (Connecticut), located in Westport. See also: West Port High School
```objective-c /******************************************************************************* * * All rights reserved. This program and the accompanying materials * * path_to_url * path_to_url * * Contributors: * Ian Craggs - initial API and implementation and/or initial documentation *******************************************************************************/ #if !defined(COUNTDOWN_H) #define COUNTDOWN_H class Countdown { public: Countdown() { interval_end_ms = 0L; } Countdown(int ms) { countdown_ms(ms); } bool expired() { return (interval_end_ms > 0L) && (millis() >= interval_end_ms); } void countdown_ms(unsigned long ms) { interval_end_ms = millis() + ms; } void countdown(int seconds) { countdown_ms((unsigned long)seconds * 1000L); } int left_ms() { return interval_end_ms - millis(); } private: unsigned long interval_end_ms; }; #endif ```
Anthony Lowther, FRS (c. 1641 – 27 January 1693) was an English landowner, of Marske-by-the-Sea, Yorkshire and Member of Parliament. He was the eldest son of draper Robert Lowther (died 1655), an alderman of London and his second wife Elizabeth. Robert's brother was Sir John Lowther of Lowther. In 1649, he and his nephew, Sir John Lowther, 1st Baronet, of Lowther, MP for Westmorland, bought Marske-by-the-Sea for £13,000 and developed the alum deposits there. He was one of the original Fellows of the Royal Society, from its chartered inception in 1663. He was elected Member of Parliament for Appleby in March and October, 1679. He died in 1693 and was buried at Walthamstow. In February 1667, he had married Margaret Penn, daughter of Sir William Penn, and had one son, Sir William Lowther, 1st Baronet (1670–1705), who was created a baronet in 1697 and became MP for Lancaster in 1702. References Lowther pedigree 1 Original Fellows of the Royal Society 1640s births 1693 deaths English landowners Anthony English MPs 1679 English MPs 1680–1681
```go // // // path_to_url // // or in the "license" file accompanying this file. This file is distributed // on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, // Package packagemanagers holds functions querying using local package manager package packagemanagers import ( "fmt" "path/filepath" "strings" "time" "github.com/aws/amazon-ssm-agent/agent/log" "github.com/aws/amazon-ssm-agent/agent/setupcli/managers/common" "github.com/aws/amazon-ssm-agent/agent/setupcli/managers/servicemanagers" "github.com/aws/amazon-ssm-agent/agent/setupcli/managers/verificationmanagers" "github.com/aws/amazon-ssm-agent/agent/setupcli/utility" ) type snapManager struct { managerHelper common.IManagerHelper } const ( assertFile = "amazon-ssm-agent.assert" snapFile = "amazon-ssm-agent.snap" snapAutoRefreshInProgressExitCode = 10 snapAgentdir = "/snap/amazon-ssm-agent/current/amazon-ssm-agent" ) var waitTimeInterval = 10 * time.Second // GetFilesReqForInstall returns all the files the package manager needs to install the agent func (m *snapManager) GetFilesReqForInstall(log log.T) []string { return []string{ assertFile, snapFile, } } // InstallAgent installs the agent using package manager, folderPath should contain all files required for installation func (m *snapManager) InstallAgent(log log.T, folderPath string) error { assertPath := filepath.Join(folderPath, assertFile) snapPath := filepath.Join(folderPath, snapFile) output, err := m.managerHelper.RunCommand("snap", "ack", assertPath) if err != nil { if m.managerHelper.IsTimeoutError(err) { return fmt.Errorf("snap ack: Command timed out") } return fmt.Errorf("snap install: Failed to ack assert file with output '%s' and error: %v", output, err) } output, err = m.managerHelper.RunCommand("snap", "install", snapPath, "--classic") if err != nil { if m.managerHelper.IsTimeoutError(err) { return fmt.Errorf("snap install: Command timed out") } if m.managerHelper.IsExitCodeError(err) && m.managerHelper.GetExitCode(err) == snapAutoRefreshInProgressExitCode { // Note: Greengrass install step has a default timeout of 120 seconds const maxAttempts = 6 for i := 1; i < maxAttempts; i++ { output, err = m.managerHelper.RunCommand("snap", "install", snapPath, "--classic") if err == nil { return nil } if m.managerHelper.IsTimeoutError(err) { return fmt.Errorf("snap install: Command timed out") } isUpdateInProgressError := m.managerHelper.IsExitCodeError(err) && m.managerHelper.GetExitCode(err) == snapAutoRefreshInProgressExitCode if !isUpdateInProgressError { break } time.Sleep(waitTimeInterval) } } return fmt.Errorf("snap install: Failed to install snap with output '%s' and error: %v", output, err) } return nil } // UninstallAgent uninstalls the agent using the package manager func (m *snapManager) UninstallAgent(log log.T, installedAgentVersionPath string) error { output, err := m.managerHelper.RunCommand("snap", "remove", "amazon-ssm-agent") if err != nil { if m.managerHelper.IsTimeoutError(err) { return fmt.Errorf("snap uninstall: Command timed out") } if m.managerHelper.IsExitCodeError(err) && m.managerHelper.GetExitCode(err) == snapAutoRefreshInProgressExitCode { // Note: Greengrass install step has a default timeout of 120 seconds const maxAttempts = 5 for i := 1; i < maxAttempts; i++ { output, err = m.managerHelper.RunCommand("snap", "remove", "amazon-ssm-agent") if err == nil { return nil } if m.managerHelper.IsTimeoutError(err) { return fmt.Errorf("snap uninstall: Command timed out") } isUpdateInProgressError := m.managerHelper.IsExitCodeError(err) && m.managerHelper.GetExitCode(err) == snapAutoRefreshInProgressExitCode if !isUpdateInProgressError { break } time.Sleep(waitTimeInterval) } } return fmt.Errorf("snap uninstall: Failed with output '%s' and error: %v", output, err) } return nil } // IsAgentInstalled returns true if agent is installed using package manager, returns error for any unexpected errors func (m *snapManager) IsAgentInstalled() (bool, error) { output, err := m.managerHelper.RunCommand("snap", "list", "amazon-ssm-agent") if err == nil { return true, nil } if err != nil { if m.managerHelper.IsExitCodeError(err) { exitCode := m.managerHelper.GetExitCode(err) if exitCode == common.PackageNotInstalledExitCode { return false, nil } if exitCode == snapAutoRefreshInProgressExitCode { output, err := m.managerHelper.RunCommand(snapAgentdir, "--version") if err != nil { return false, fmt.Errorf("agent not installed with snap: %w", err) } if output != "" { return true, nil } } return false, fmt.Errorf("snap isInstalled: Unexpected exit code with output '%s' and exit code: %v", output, exitCode) } if m.managerHelper.IsTimeoutError(err) { return false, fmt.Errorf("snap isInstalled: Command timed out") } } return false, fmt.Errorf("snap isInstalled: Unexpected error with output '%s' and error: %w", output, err) } // GetInstalledAgentVersion returns the version of the installed agent func (m *snapManager) GetInstalledAgentVersion() (string, error) { output, err := m.managerHelper.RunCommand("snap", "list", "amazon-ssm-agent") if err != nil { if m.managerHelper.IsExitCodeError(err) { exitCode := m.managerHelper.GetExitCode(err) if exitCode == common.PackageNotInstalledExitCode { return "", fmt.Errorf("agent not installed with snap") } if exitCode == snapAutoRefreshInProgressExitCode { output, err := m.managerHelper.RunCommand(snapAgentdir, "--version") if err != nil { return "", fmt.Errorf("agent not installed with snap: %w", err) } snapInfoVersionOutput := strings.Split(output, ":") if len(snapInfoVersionOutput) == 2 { return utility.CleanupVersion(strings.TrimSpace(snapInfoVersionOutput[len(snapInfoVersionOutput)-1])), nil } } return "", fmt.Errorf("snap getVersion: Unexpected exit code with output '%s' and exit code: %v", output, exitCode) } if m.managerHelper.IsTimeoutError(err) { return "", fmt.Errorf("snap getVersion: Command timed out") } return "", fmt.Errorf("snap getVersion: Unexpected error with output '%s' and error: %w", output, err) } snapInfoLines := strings.Split(strings.TrimSpace(output), "\n") if len(snapInfoLines) == 2 { headerFields := strings.Fields(snapInfoLines[0]) agentFields := strings.Fields(snapInfoLines[1]) for i, header := range headerFields { if header == "Version" { return utility.CleanupVersion(agentFields[i]), nil } } return "", fmt.Errorf("failed to extract agent version from snap info output") } return "", fmt.Errorf("failed to extract agent version because of unexpected output from snap info") } // IsManagerEnvironment returns true if all commands required by the package manager are available func (m *snapManager) IsManagerEnvironment() bool { return m.managerHelper.IsCommandAvailable("snap") && m.managerHelper.IsCommandAvailable("systemctl") } // GetName returns the package manager name func (m *snapManager) GetName() string { return "snap" } // GetSupportedServiceManagers returns all the service manager types that the package manager supports func (m *snapManager) GetSupportedServiceManagers() []servicemanagers.ServiceManager { return []servicemanagers.ServiceManager{servicemanagers.Snap} } // GetType returns the package manager type func (m *snapManager) GetType() PackageManager { return Snap } // GetSupportedVerificationManager returns verification manager types that the package manager supports func (m *snapManager) GetSupportedVerificationManager() verificationmanagers.VerificationManager { return verificationmanagers.Skip } // GetFileExtension returns the file extension of the agent using the package manager func (m *snapManager) GetFileExtension() string { return ".snap" } ```
```c /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms * are also available at path_to_url * * You may opt to use, copy, modify, merge, publish, distribute and/or sell * copies of the Software, and permit persons to whom the Software is * furnished to do so, under the terms of the COPYING file. * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY * KIND, either express or implied. * ***************************************************************************/ #include "curl_setup.h" #include <curl/curl.h> #include "urldata.h" #include "url.h" #include "progress.h" #include "multiif.h" #include "sendf.h" #include "conncache.h" #include "share.h" #include "sigpipe.h" #include "connect.h" /* The last 3 #include files should be in this order */ #include "curl_printf.h" #include "curl_memory.h" #include "memdebug.h" #ifdef CURLDEBUG /* the debug versions of these macros make extra certain that the lock is never doubly locked or unlocked */ #define CONN_LOCK(x) if((x)->share) { \ Curl_share_lock((x), CURL_LOCK_DATA_CONNECT, CURL_LOCK_ACCESS_SINGLE); \ DEBUGASSERT(!(x)->state.conncache_lock); \ (x)->state.conncache_lock = TRUE; \ } #define CONN_UNLOCK(x) if((x)->share) { \ DEBUGASSERT((x)->state.conncache_lock); \ (x)->state.conncache_lock = FALSE; \ Curl_share_unlock((x), CURL_LOCK_DATA_CONNECT); \ } #else #define CONN_LOCK(x) if((x)->share) \ Curl_share_lock((x), CURL_LOCK_DATA_CONNECT, CURL_LOCK_ACCESS_SINGLE) #define CONN_UNLOCK(x) if((x)->share) \ Curl_share_unlock((x), CURL_LOCK_DATA_CONNECT) #endif static void conn_llist_dtor(void *user, void *element) { struct connectdata *conn = element; (void)user; conn->bundle = NULL; } static CURLcode bundle_create(struct Curl_easy *data, struct connectbundle **cb_ptr) { (void)data; DEBUGASSERT(*cb_ptr == NULL); *cb_ptr = malloc(sizeof(struct connectbundle)); if(!*cb_ptr) return CURLE_OUT_OF_MEMORY; (*cb_ptr)->num_connections = 0; (*cb_ptr)->multiuse = BUNDLE_UNKNOWN; Curl_llist_init(&(*cb_ptr)->conn_list, (curl_llist_dtor) conn_llist_dtor); return CURLE_OK; } static void bundle_destroy(struct connectbundle *cb_ptr) { if(!cb_ptr) return; Curl_llist_destroy(&cb_ptr->conn_list, NULL); free(cb_ptr); } /* Add a connection to a bundle */ static void bundle_add_conn(struct connectbundle *cb_ptr, struct connectdata *conn) { Curl_llist_insert_next(&cb_ptr->conn_list, cb_ptr->conn_list.tail, conn, &conn->bundle_node); conn->bundle = cb_ptr; cb_ptr->num_connections++; } /* Remove a connection from a bundle */ static int bundle_remove_conn(struct connectbundle *cb_ptr, struct connectdata *conn) { struct curl_llist_element *curr; curr = cb_ptr->conn_list.head; while(curr) { if(curr->ptr == conn) { Curl_llist_remove(&cb_ptr->conn_list, curr, NULL); cb_ptr->num_connections--; conn->bundle = NULL; return 1; /* we removed a handle */ } curr = curr->next; } return 0; } static void free_bundle_hash_entry(void *freethis) { struct connectbundle *b = (struct connectbundle *) freethis; bundle_destroy(b); } int Curl_conncache_init(struct conncache *connc, int size) { int rc; /* allocate a new easy handle to use when closing cached connections */ connc->closure_handle = curl_easy_init(); if(!connc->closure_handle) return 1; /* bad */ rc = Curl_hash_init(&connc->hash, size, Curl_hash_str, Curl_str_key_compare, free_bundle_hash_entry); if(rc) { Curl_close(connc->closure_handle); connc->closure_handle = NULL; } else connc->closure_handle->state.conn_cache = connc; return rc; } void Curl_conncache_destroy(struct conncache *connc) { if(connc) Curl_hash_destroy(&connc->hash); } /* creates a key to find a bundle for this connection */ static void hashkey(struct connectdata *conn, char *buf, size_t len) /* something like 128 is fine */ { const char *hostname; if(conn->bits.socksproxy) hostname = conn->socks_proxy.host.name; else if(conn->bits.httpproxy) hostname = conn->http_proxy.host.name; else if(conn->bits.conn_to_host) hostname = conn->conn_to_host.name; else hostname = conn->host.name; DEBUGASSERT(len > 32); /* put the number first so that the hostname gets cut off if too long */ snprintf(buf, len, "%ld%s", conn->port, hostname); } void Curl_conncache_unlock(struct connectdata *conn) { CONN_UNLOCK(conn->data); } /* Returns number of connections currently held in the connection cache. Locks/unlocks the cache itself! */ size_t Curl_conncache_size(struct Curl_easy *data) { size_t num; CONN_LOCK(data); num = data->state.conn_cache->num_conn; CONN_UNLOCK(data); return num; } /* Returns number of connections currently held in the connections's bundle Locks/unlocks the cache itself! */ size_t Curl_conncache_bundle_size(struct connectdata *conn) { size_t num; CONN_LOCK(conn->data); num = conn->bundle->num_connections; CONN_UNLOCK(conn->data); return num; } /* Look up the bundle with all the connections to the same host this connectdata struct is setup to use. **NOTE**: When it returns, it holds the connection cache lock! */ struct connectbundle *Curl_conncache_find_bundle(struct connectdata *conn, struct conncache *connc) { struct connectbundle *bundle = NULL; CONN_LOCK(conn->data); if(connc) { char key[128]; hashkey(conn, key, sizeof(key)); bundle = Curl_hash_pick(&connc->hash, key, strlen(key)); } return bundle; } static bool conncache_add_bundle(struct conncache *connc, char *key, struct connectbundle *bundle) { void *p = Curl_hash_add(&connc->hash, key, strlen(key), bundle); return p?TRUE:FALSE; } static void conncache_remove_bundle(struct conncache *connc, struct connectbundle *bundle) { struct curl_hash_iterator iter; struct curl_hash_element *he; if(!connc) return; Curl_hash_start_iterate(&connc->hash, &iter); he = Curl_hash_next_element(&iter); while(he) { if(he->ptr == bundle) { /* The bundle is destroyed by the hash destructor function, free_bundle_hash_entry() */ Curl_hash_delete(&connc->hash, he->key, he->key_len); return; } he = Curl_hash_next_element(&iter); } } CURLcode Curl_conncache_add_conn(struct conncache *connc, struct connectdata *conn) { CURLcode result = CURLE_OK; struct connectbundle *bundle; struct connectbundle *new_bundle = NULL; struct Curl_easy *data = conn->data; /* *find_bundle() locks the connection cache */ bundle = Curl_conncache_find_bundle(conn, data->state.conn_cache); if(!bundle) { int rc; char key[128]; result = bundle_create(data, &new_bundle); if(result) { goto unlock; } hashkey(conn, key, sizeof(key)); rc = conncache_add_bundle(data->state.conn_cache, key, new_bundle); if(!rc) { bundle_destroy(new_bundle); result = CURLE_OUT_OF_MEMORY; goto unlock; } bundle = new_bundle; } bundle_add_conn(bundle, conn); conn->connection_id = connc->next_connection_id++; connc->num_conn++; DEBUGF(infof(conn->data, "Added connection %ld. " "The cache now contains %zu members\n", conn->connection_id, connc->num_conn)); unlock: CONN_UNLOCK(data); return result; } void Curl_conncache_remove_conn(struct connectdata *conn, bool lock) { struct Curl_easy *data = conn->data; struct connectbundle *bundle = conn->bundle; struct conncache *connc = data->state.conn_cache; /* The bundle pointer can be NULL, since this function can be called due to a failed connection attempt, before being added to a bundle */ if(bundle) { if(lock) { CONN_LOCK(data); } bundle_remove_conn(bundle, conn); if(bundle->num_connections == 0) conncache_remove_bundle(connc, bundle); conn->bundle = NULL; /* removed from it */ if(connc) { connc->num_conn--; DEBUGF(infof(data, "The cache now contains %zu members\n", connc->num_conn)); } if(lock) { CONN_UNLOCK(data); } } } /* This function iterates the entire connection cache and calls the function func() with the connection pointer as the first argument and the supplied 'param' argument as the other. The conncache lock is still held when the callback is called. It needs it, so that it can safely continue traversing the lists once the callback returns. Returns 1 if the loop was aborted due to the callback's return code. Return 0 from func() to continue the loop, return 1 to abort it. */ bool Curl_conncache_foreach(struct Curl_easy *data, struct conncache *connc, void *param, int (*func)(struct connectdata *conn, void *param)) { struct curl_hash_iterator iter; struct curl_llist_element *curr; struct curl_hash_element *he; if(!connc) return FALSE; CONN_LOCK(data); Curl_hash_start_iterate(&connc->hash, &iter); he = Curl_hash_next_element(&iter); while(he) { struct connectbundle *bundle; bundle = he->ptr; he = Curl_hash_next_element(&iter); curr = bundle->conn_list.head; while(curr) { /* Yes, we need to update curr before calling func(), because func() might decide to remove the connection */ struct connectdata *conn = curr->ptr; curr = curr->next; if(1 == func(conn, param)) { CONN_UNLOCK(data); return TRUE; } } } CONN_UNLOCK(data); return FALSE; } /* Return the first connection found in the cache. Used when closing all connections. NOTE: no locking is done here as this is presumably only done when cleaning up a cache! */ struct connectdata * Curl_conncache_find_first_connection(struct conncache *connc) { struct curl_hash_iterator iter; struct curl_hash_element *he; struct connectbundle *bundle; Curl_hash_start_iterate(&connc->hash, &iter); he = Curl_hash_next_element(&iter); while(he) { struct curl_llist_element *curr; bundle = he->ptr; curr = bundle->conn_list.head; if(curr) { return curr->ptr; } he = Curl_hash_next_element(&iter); } return NULL; } /* * Give ownership of a connection back to the connection cache. Might * disconnect the oldest existing in there to make space. * * Return TRUE if stored, FALSE if closed. */ bool Curl_conncache_return_conn(struct connectdata *conn) { struct Curl_easy *data = conn->data; /* data->multi->maxconnects can be negative, deal with it. */ size_t maxconnects = (data->multi->maxconnects < 0) ? data->multi->num_easy * 4: data->multi->maxconnects; struct connectdata *conn_candidate = NULL; if(maxconnects > 0 && Curl_conncache_size(data) > maxconnects) { infof(data, "Connection cache is full, closing the oldest one.\n"); conn_candidate = Curl_conncache_extract_oldest(data); if(conn_candidate) { /* the winner gets the honour of being disconnected */ (void)Curl_disconnect(data, conn_candidate, /* dead_connection */ FALSE); } } return (conn_candidate == conn) ? FALSE : TRUE; } /* * This function finds the connection in the connection bundle that has been * unused for the longest time. * * Does not lock the connection cache! * * Returns the pointer to the oldest idle connection, or NULL if none was * found. */ struct connectdata * Curl_conncache_extract_bundle(struct Curl_easy *data, struct connectbundle *bundle) { struct curl_llist_element *curr; timediff_t highscore = -1; timediff_t score; struct curltime now; struct connectdata *conn_candidate = NULL; struct connectdata *conn; (void)data; now = Curl_now(); curr = bundle->conn_list.head; while(curr) { conn = curr->ptr; if(!CONN_INUSE(conn)) { /* Set higher score for the age passed since the connection was used */ score = Curl_timediff(now, conn->now); if(score > highscore) { highscore = score; conn_candidate = conn; } } curr = curr->next; } if(conn_candidate) { /* remove it to prevent another thread from nicking it */ bundle_remove_conn(bundle, conn_candidate); data->state.conn_cache->num_conn--; DEBUGF(infof(data, "The cache now contains %zu members\n", data->state.conn_cache->num_conn)); conn_candidate->data = data; /* associate! */ } return conn_candidate; } /* * This function finds the connection in the connection cache that has been * unused for the longest time and extracts that from the bundle. * * Returns the pointer to the connection, or NULL if none was found. */ struct connectdata * Curl_conncache_extract_oldest(struct Curl_easy *data) { struct conncache *connc = data->state.conn_cache; struct curl_hash_iterator iter; struct curl_llist_element *curr; struct curl_hash_element *he; timediff_t highscore =- 1; timediff_t score; struct curltime now; struct connectdata *conn_candidate = NULL; struct connectbundle *bundle; struct connectbundle *bundle_candidate = NULL; now = Curl_now(); CONN_LOCK(data); Curl_hash_start_iterate(&connc->hash, &iter); he = Curl_hash_next_element(&iter); while(he) { struct connectdata *conn; bundle = he->ptr; curr = bundle->conn_list.head; while(curr) { conn = curr->ptr; if(!CONN_INUSE(conn)) { /* Set higher score for the age passed since the connection was used */ score = Curl_timediff(now, conn->now); if(score > highscore) { highscore = score; conn_candidate = conn; bundle_candidate = bundle; } } curr = curr->next; } he = Curl_hash_next_element(&iter); } if(conn_candidate) { /* remove it to prevent another thread from nicking it */ bundle_remove_conn(bundle_candidate, conn_candidate); connc->num_conn--; DEBUGF(infof(data, "The cache now contains %zu members\n", connc->num_conn)); conn_candidate->data = data; /* associate! */ } CONN_UNLOCK(data); return conn_candidate; } void Curl_conncache_close_all_connections(struct conncache *connc) { struct connectdata *conn; conn = Curl_conncache_find_first_connection(connc); while(conn) { SIGPIPE_VARIABLE(pipe_st); conn->data = connc->closure_handle; sigpipe_ignore(conn->data, &pipe_st); conn->data->easy_conn = NULL; /* clear the easy handle's connection pointer */ /* This will remove the connection from the cache */ connclose(conn, "kill all"); (void)Curl_disconnect(connc->closure_handle, conn, FALSE); sigpipe_restore(&pipe_st); conn = Curl_conncache_find_first_connection(connc); } if(connc->closure_handle) { SIGPIPE_VARIABLE(pipe_st); sigpipe_ignore(connc->closure_handle, &pipe_st); Curl_hostcache_clean(connc->closure_handle, connc->closure_handle->dns.hostcache); Curl_close(connc->closure_handle); sigpipe_restore(&pipe_st); } } #if 0 /* Useful for debugging the connection cache */ void Curl_conncache_print(struct conncache *connc) { struct curl_hash_iterator iter; struct curl_llist_element *curr; struct curl_hash_element *he; if(!connc) return; fprintf(stderr, "=Bundle cache=\n"); Curl_hash_start_iterate(connc->hash, &iter); he = Curl_hash_next_element(&iter); while(he) { struct connectbundle *bundle; struct connectdata *conn; bundle = he->ptr; fprintf(stderr, "%s -", he->key); curr = bundle->conn_list->head; while(curr) { conn = curr->ptr; fprintf(stderr, " [%p %d]", (void *)conn, conn->inuse); curr = curr->next; } fprintf(stderr, "\n"); he = Curl_hash_next_element(&iter); } } #endif ```
Henry Tang Ying-yen (; born 6 September 1952) is a Hong Kong politician who served as the Chief Secretary of Hong Kong between 2007 and 2011. He held the position of Financial Secretary from 2003 to 2007. In 2012, he lost the Hong Kong Chief Executive Election to Leung Chun-ying. Background and education Tang was born 6 September 1952 at early morning at Hong Kong Sanatorium & Hospital in Happy Valley, Wan Chai in British Hong Kong, His family operated in the textile industry and came from Wuxi, Jiangsu to Hong Kong in 1949 to escape the communists who were taking over the Chinese mainland. Henry Tang himself was born in what was then British Hong Kong in 1952. Tang went to Culford School in Suffolk in Britain before attending and graduating from Cranbrook Schools in Bloomfield Hills, Michigan. He earned a Bachelor of Arts degree from the University of Michigan in 1975. Henry Tang is commonly believed to have attended Graduate School at Yale University and to have obtained a master's degree in sociology. These were credentials submitted to then Hong Kong governor David Wilson in 1991–1992. So far there is no evidence that he did obtain that degree. Tang has extensive ties with PRC leaders as his father Tang Hsiang Chien was a standing committee member of the Chinese People's Political Consultative Conference, the advisory body to the National People's Congress. Career Tang was named Global Leader for Tomorrow by the World Economic Forum in 1993 and won the Young Industrialist of Hong Kong award in 1989. Between 1995 and 2001 he served as the Chairman of the Federation of Hong Kong Industries. He was also a Committee Member of the Hong Kong General Chamber of Commerce and a Steward of the Hong Kong Jockey Club. He was Chairman of the Provisional Construction Industry Co-ordination Board (PCICB) before joining the government. Tang was a member of the Executive Council from the transfer of sovereignty in 1997 to 2011. He served as a member of the Legislative Council for seven years from 1991 to 1998 as a member of the Liberal Party, a pro-business and pro-Beijing party, prior to joining the government. Tang has also served extensively on various government boards and public bodies, including the Trade Development Council, Town Planning Board, University Grants Committee, and Council of the City University of Hong Kong. Tang took up his commerce post in July 2002 as part of a line-up of new secretaries aimed at improving the government's transparency. He was promoted from Secretary for Commerce, Industry and Technology to Finance Secretary on 4 August 2003 replacing Antony Leung. Leung resigned on 16 July 2003 due to allegations of tax evasion in regards to his new car. Tang briefly served (25 May to 21 June 2005) as acting Chief Executive after Tung Chee Hwa, the former Chief Executive who resigned citing health reasons. On 25 May 2005, Donald Tsang, the Chief Secretary for Administration, resigned to stand in the 'by-election' for Chief Executive. Tang served as Acting Chief Executive of HKSAR soon after Tsang's resignation was announced. Harbourfest case Tang was involved in the Harbour Fest controversy as Chairman of the Economic Relaunch Strategy Group responsible for pushing ahead with the plan to spend $100 million to revive the economy after SARS, and said that he should be held responsible. Tang had said that although Mike Rowse, a senior civil servant, had actually signed the contract, Rowse as such was not required to be held politically responsible. However, during a Working Group meeting on 31 October 2003 and during an independent inquiry in May 2004, Tang allegedly said Rowse had not acted improperly and that there had been no irregularity in the implementation of the event. Tang had also said that all parties had underestimated the complexity of the event and may have been too ambitious in organising it in such a short timespan. He later withdrew the remark: just before a government inquiry opened in November 2004, Tang requested the ERWG minutes be deleted. Internal governmental disciplinary process fined Rowse for misconduct, but a High Court judge quashed the government ruling on 4 July 2008. Political commentator Frank Ching pointed to the huge credibility gap of the government. He noted that Tang's attempt to shift political responsibility from himself, as the minister responsible, to a senior civil servant, was a travesty of justice for Rowse, and went against the Accountability System. Chief Secretary for Administration On 23 June 2007, it was announced that Tang would succeed Rafael Hui as the new Chief Secretary for Administration of Hong Kong effective 1 July 2007. 2010 shoeing incident On 6 March 2010 Tang attended a Youth Summit in Chai Wan organised by the Home Affairs Bureau. A 31-year-old jobless man threw a shoe at Tang and it landed on the stage metres away from him. The man was dragged away by police. The man said he was unemployed after getting fired by a computer company, and the government policies were not helping him. He said he was not a "post-80s" teen, but supported the highspeed rail protest connecting HK to Guangdong. A protester said that the topics discussed in the summit are not those that any young person would be interested in. 2011 car crash comment and protest On 15 January 2011, Tang gave a speech at the Roundtable Institute that included controversial comments about the Hong Kong post-80s generation. He said the young generations need to take responsibilities, and he cautioned them for slamming others because of opposing views. Then he stressed the need to compromise and simplify complicated issues. He further said young people should not close the door and act like emperors. That he doesn't want to see politics lead to a bloodshed, leading to a road of no return and end up like a fatal car crash. On 21 January 2011, Leung Kwok-hung led a group of protesters to a public forum with a toy model car. He then smashed the car in front of Henry Tang to represent a fatal car crash. On 30 January 2011 eight youth groups including Hong Kong Federation of Students marched to New World Development, Li Ka Shing's Cheung Kong Holdings in Central and accused the government of colluding with businesses in maximising profits while squeezing the poor. The students criticised Tang and the government for policies that benefit the upper class only like no real estate tax duty, reduction of wine and profit tax. The students said the whole HK is at the mercy of real estate developers. Unauthorized building works From 13 February 2012, Hong Kong media reported unauthorised building works of Tang's two adjoined residences at York Road, Kowloon Tong. On 16 February 2012, an inspection by officials of the Buildings Department revealed a basement with an area of more than 2200 square feet (11 m by 19 m) that was not documented in the approved floor plan. Tang admitted at a press conference that he was aware of the construction of an illegal basement at his family house and said that it was his wife's idea. His wife agreed that the responsibility was hers The admission followed several denials and provoked widespread criticism: "He has lost almost all his credibility, he lied every day," said Ma Ngok, a political sciences professor at the University of Hong Kong to AFP. The scandal prompted some of Tang's potential supporters in the 2012 Hong Kong Chief Executive election to review their position. One former supporter said that it was 'unbearable' for Tang to throw the blame onto his wife. No charges were brought against Tang though his wife was convicted of a criminal offence and fined HK$110,000, the illegal basement having been filled in. 2012 Hong Kong Chief Executive election On 28 September 2011, in a widely trailed move, Tang resigned from his post, and then in late November announced his candidacy for Chief Executive. He was widely believed to be preferred by Beijing, and hence quickly received support from many financial heavyweights, including Former Monetary Authority chief Joseph Yam Chi-kwong, HSBC Asia-Pacific chief executive Peter Wong Tung-shun, and 'Father of Lan Kwai Fong', Allan Zeman. However, in an unprecedented turn of events, including a series of scandals and dramatically reduced levels of public support, the final vote by the Election Committee saw him lose to Leung Chun-ying. Possible replacement as Chief Executive The Financial Times reported, on 23 October 2019, that Tang was being considered as a replacement for Carrie Lam as Chief Executive of Hong Kong. However, the Chinese government denied such deliberations. West Kowloon Cultural District Authority Tang serves as the chairperson of the West Kowloon Cultural District Authority, which oversees the M+ museum of contemporary art. In March 2021, Tang said that the Authority would "definitely uphold the law and comply with the Basic Law, local laws and the national security law" in regards to art made by Ai Weiwei. Family and personal Tang is married to Lisa Kuo Yu-chin and the couple have four children: three daughters and a son. Tang's father Tang Hsiang Chien was a standing committee member of the CPPCC. His brother, Tom Tang Chung-yen, is a member of the Trade Development Council, whose reappointment to the post by CY Leung, after he vanquished Tang to become Chief Executive in 2012, was seen as part of a reconciliation between the two camps. Apple Daily found in October 2020 that Tom Tang may have illegally violated land lease terms of an industrial site in Tai Po. His niece (by marriage), Stefani Kuo, a playwright and actress, spoke out against the Hong Kong government during the 2019–20 Hong Kong protests, views that Tang explicitly rejected. In February 2021, Tang said that he has a high tendency for allergic reactions to influenza vaccinations, and thus would not take a mainland Chinese COVID-19 vaccine. Extra-marital affairs On 4 October 2011, in the midst of rumours about his extra-marital affair with Shirley Yuen, his administrative assistant when he was finance secretary of Hong Kong, Henry Tang issued a statement, in which he admitted that he had made a mistake in his romantic life in the past and he deeply regretted it. He said that his wife had forgiven him. His wife said in the statement that there had been difficult times in their relationship and that he has faults, but that she also appreciated his strengths. She acknowledged him as her 'best partner'. National People's Congress Standing Committee member Rita Fan said on 7 October 2011 that she didn't know about Tang's now widely publicised infidelity when she offered her support and she refused to rule herself out of standing in the following year's Chief Executive election, though she did not in fact stand. In February 2012, several Chinese newspapers reported Henry Tang might have had a relationship with Esther Lam, the daughter of Heung Yee Kuk vice-chairman Daniel Lam Wai-keung. Emails supposedly exchanged by the two of them and a picture showing them shoulder against shoulder have been published. Tang denied the reports claiming "we are only casual acquaintances". See also Antony Leung Politics of Hong Kong Executive Council of Hong Kong References External links Official website 1952 births Living people Government officials of Hong Kong Chief Secretaries of Hong Kong Financial Secretaries of Hong Kong Hong Kong Anglicans Hong Kong businesspeople Liberal Party (Hong Kong) politicians University of Michigan alumni Recipients of the Gold Bauhinia Star Members of the Standing Committee of the 12th Chinese People's Political Consultative Conference Members of the 13th Chinese People's Political Consultative Conference Members of the National Committee of the Chinese People's Political Consultative Conference Members of the Provisional Legislative Council HK LegCo Members 1991–1995 HK LegCo Members 1995–1997 Members of the Selection Committee of Hong Kong Members of the Election Committee of Hong Kong, 2017–2021
Thunderstone is a fantasy deck-building card game series designed by Mike Elliott, with artwork by Jason Engle. It was first published by Alderac Entertainment Group in 2009. Each card has dimensions of 6.3 cm x 8.8 cm (2.5in x 3.5in). It has been translated into several languages. Gameplay Gameplay involves building a deck of adventurers and equipment to defeat monsters. Each turn players must decide whether to visit the Village (to purchase cards, upgrade heroes and other actions), or if they will face a monster in the current dungeon (using the heroes and equipment in their hand). Defeated monsters are added to a player's deck as well, where they may contribute money and/or other bonuses when in hand. Thunderstone Advance Many game elements including the card layout have undergone a major redesign in 2012. This has caused the game series to continue under the new name Thunderstone Advance. Cards from the original series and the Advance series are compatible as they share the same back cover artwork. In the Thunderstone Advance series, each set comes with a handful of Thunderstone Bearers that act as monster bosses in the game. Thunderstone Quest (2017) Thunderstone Quest brings new play modes to the table. The game will tell a specific story with a series of pre-set dungeon tiles, monsters, heroes and support cards. Each will come with a series of mini-adventures and a story booklet that tells players what happens as they progress through the scenarios. Once players have completed the quests they will be able to enjoy great replay value with the available selection of monsters, heroes, and support cards, as well as the new dungeon tiles, by choosing random set-ups before the start of play. Aside from heroes such as wizards, fighters, rogues, and clerics, cards will include supplies that heroes need like weapons, spells, items, or light to reach further into the dungeon. The dungeon deck is created by combining several different groups of monsters together. Certain groups of monsters may be more or less susceptible to different hero types, so players have to take this into account when they choose what to buy. Releases The games denoted as B contain Base cards (Militia/Regulars, Daggers/Longspears, Torches, etc) and experience cards (tokens in Advance) and can therefore be played standalone. Original series Thunderstone Advance series The Worlds Collide and Into the Abyss sets are selection of cards from the original series (Thunderstone and its 5 expansions), redesigned to match with the Advance series. Also many cards have been tweaked for more balance. Reception BoardGameGeek rates Thunderstone a 7.0 out of 10, garnering it a thematic rank of 177 out of over 500 "thematic" board games. Awards 2012 Juego del Año Tico Nominee 2011 Fairplay À la carte Winner 2010 JoTa Best Card Game Nominee 2010 JoTa Best Card Game Critic Award 2010 JoTa Best Card Game Audience Award 2010 Japan Boardgame Prize Voters' Selection Nominee 2010 Golden Geek Best Card Game Nominee References External links Official Alderac site Online implementation on yucata.de Card games introduced in 2009 Deck-building card games Mike Elliott (game designer) games
```xml import { Component } from '@angular/core'; @Component({ selector: 'style-doc', template: ` <app-docsectiontext> <p>Following is the list of structural style classes, for theming classes visit <a href="#" [routerLink]="['/theming']">theming</a> page.</p> </app-docsectiontext> <div class="doc-tablewrapper"> <table class="doc-table"> <thead> <tr> <th>Name</th> <th>Element</th> </tr> </thead> <tbody> <tr> <td>p-editor-container</td> <td>Container element</td> </tr> <tr> <td>p-editor-toolbar</td> <td>Toolbar of the editor</td> </tr> <tr> <td>p-editor-content</td> <td>Editable area</td> </tr> </tbody> </table> </div> ` }) export class StyleDoc {} ```
```javascript (window.webpackJsonp=window.webpackJsonp||[]).push([[87],{867:function(n,a){n.exports=function(n){return{contains:[{className:"meta",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"},aliases:["jldoctest"]}]}}}}]); ```
```rust use futures::channel::{mpsc, oneshot}; use futures::executor::{block_on, block_on_stream}; use futures::future::{poll_fn, FutureExt}; use futures::pin_mut; use futures::sink::{Sink, SinkExt}; use futures::stream::{Stream, StreamExt}; use futures::task::{Context, Poll}; use futures_test::task::{new_count_waker, noop_context}; use std::sync::atomic::{AtomicUsize, Ordering}; use std::sync::{Arc, Mutex}; use std::thread; #[allow(dead_code)] trait AssertSend: Send {} impl AssertSend for mpsc::Sender<i32> {} impl AssertSend for mpsc::Receiver<i32> {} #[test] fn send_recv() { let (mut tx, rx) = mpsc::channel::<i32>(16); block_on(tx.send(1)).unwrap(); drop(tx); let v: Vec<_> = block_on(rx.collect()); assert_eq!(v, vec![1]); } #[test] fn send_recv_no_buffer() { // Run on a task context block_on(poll_fn(move |cx| { let (tx, rx) = mpsc::channel::<i32>(0); pin_mut!(tx, rx); assert!(tx.as_mut().poll_flush(cx).is_ready()); assert!(tx.as_mut().poll_ready(cx).is_ready()); // Send first message assert!(tx.as_mut().start_send(1).is_ok()); assert!(tx.as_mut().poll_ready(cx).is_pending()); // poll_ready said Pending, so no room in buffer, therefore new sends // should get rejected with is_full. assert!(tx.as_mut().start_send(0).unwrap_err().is_full()); assert!(tx.as_mut().poll_ready(cx).is_pending()); // Take the value assert_eq!(rx.as_mut().poll_next(cx), Poll::Ready(Some(1))); assert!(tx.as_mut().poll_ready(cx).is_ready()); // Send second message assert!(tx.as_mut().poll_ready(cx).is_ready()); assert!(tx.as_mut().start_send(2).is_ok()); assert!(tx.as_mut().poll_ready(cx).is_pending()); // Take the value assert_eq!(rx.as_mut().poll_next(cx), Poll::Ready(Some(2))); assert!(tx.as_mut().poll_ready(cx).is_ready()); Poll::Ready(()) })); } #[test] fn send_shared_recv() { let (mut tx1, rx) = mpsc::channel::<i32>(16); let mut rx = block_on_stream(rx); let mut tx2 = tx1.clone(); block_on(tx1.send(1)).unwrap(); assert_eq!(rx.next(), Some(1)); block_on(tx2.send(2)).unwrap(); assert_eq!(rx.next(), Some(2)); } #[test] fn send_recv_threads() { let (mut tx, rx) = mpsc::channel::<i32>(16); let t = thread::spawn(move || { block_on(tx.send(1)).unwrap(); }); let v: Vec<_> = block_on(rx.take(1).collect()); assert_eq!(v, vec![1]); t.join().unwrap(); } #[test] fn send_recv_threads_no_capacity() { let (mut tx, rx) = mpsc::channel::<i32>(0); let t = thread::spawn(move || { block_on(tx.send(1)).unwrap(); block_on(tx.send(2)).unwrap(); }); let v: Vec<_> = block_on(rx.collect()); assert_eq!(v, vec![1, 2]); t.join().unwrap(); } #[test] fn recv_close_gets_none() { let (mut tx, mut rx) = mpsc::channel::<i32>(10); // Run on a task context block_on(poll_fn(move |cx| { rx.close(); assert_eq!(rx.poll_next_unpin(cx), Poll::Ready(None)); match tx.poll_ready(cx) { Poll::Pending | Poll::Ready(Ok(_)) => panic!(), Poll::Ready(Err(e)) => assert!(e.is_disconnected()), }; Poll::Ready(()) })); } #[test] fn tx_close_gets_none() { let (_, mut rx) = mpsc::channel::<i32>(10); // Run on a task context block_on(poll_fn(move |cx| { assert_eq!(rx.poll_next_unpin(cx), Poll::Ready(None)); Poll::Ready(()) })); } // #[test] // fn spawn_sends_items() { // let core = local_executor::Core::new(); // let stream = unfold(0, |i| Some(ok::<_,u8>((i, i + 1)))); // let rx = mpsc::spawn(stream, &core, 1); // assert_eq!(core.run(rx.take(4).collect()).unwrap(), // [0, 1, 2, 3]); // } // #[test] // fn spawn_kill_dead_stream() { // use std::thread; // use std::time::Duration; // use futures::future::Either; // use futures::sync::oneshot; // // // a stream which never returns anything (maybe a remote end isn't // // responding), but dropping it leads to observable side effects // // (like closing connections, releasing limited resources, ...) // #[derive(Debug)] // struct Dead { // // when dropped you should get Err(oneshot::Canceled) on the // // receiving end // done: oneshot::Sender<()>, // } // impl Stream for Dead { // type Item = (); // type Error = (); // // fn poll(&mut self) -> Poll<Option<Self::Item>, Self::Error> { // Ok(Poll::Pending) // } // } // // // need to implement a timeout for the test, as it would hang // // forever right now // let (timeout_tx, timeout_rx) = oneshot::channel(); // thread::spawn(move || { // thread::sleep(Duration::from_millis(1000)); // let _ = timeout_tx.send(()); // }); // // let core = local_executor::Core::new(); // let (done_tx, done_rx) = oneshot::channel(); // let stream = Dead{done: done_tx}; // let rx = mpsc::spawn(stream, &core, 1); // let res = core.run( // Ok::<_, ()>(()) // .into_future() // .then(move |_| { // // now drop the spawned stream: maybe some timeout exceeded, // // or some connection on this end was closed by the remote // // end. // drop(rx); // // and wait for the spawned stream to release its resources // done_rx // }) // .select2(timeout_rx) // ); // match res { // Err(Either::A((oneshot::Canceled, _))) => (), // _ => { // panic!("dead stream wasn't canceled"); // }, // } // } #[test] fn stress_shared_unbounded() { const AMT: u32 = if cfg!(miri) { 100 } else { 10000 }; const NTHREADS: u32 = 8; let (tx, rx) = mpsc::unbounded::<i32>(); let t = thread::spawn(move || { let result: Vec<_> = block_on(rx.collect()); assert_eq!(result.len(), (AMT * NTHREADS) as usize); for item in result { assert_eq!(item, 1); } }); for _ in 0..NTHREADS { let tx = tx.clone(); thread::spawn(move || { for _ in 0..AMT { tx.unbounded_send(1).unwrap(); } }); } drop(tx); t.join().ok().unwrap(); } #[test] fn stress_shared_bounded_hard() { const AMT: u32 = if cfg!(miri) { 100 } else { 10000 }; const NTHREADS: u32 = 8; let (tx, rx) = mpsc::channel::<i32>(0); let t = thread::spawn(move || { let result: Vec<_> = block_on(rx.collect()); assert_eq!(result.len(), (AMT * NTHREADS) as usize); for item in result { assert_eq!(item, 1); } }); for _ in 0..NTHREADS { let mut tx = tx.clone(); thread::spawn(move || { for _ in 0..AMT { block_on(tx.send(1)).unwrap(); } }); } drop(tx); t.join().unwrap(); } #[test] fn stress_receiver_multi_task_bounded_hard() { const AMT: usize = if cfg!(miri) { 100 } else { 10_000 }; const NTHREADS: u32 = 2; let (mut tx, rx) = mpsc::channel::<usize>(0); let rx = Arc::new(Mutex::new(Some(rx))); let n = Arc::new(AtomicUsize::new(0)); let mut th = vec![]; for _ in 0..NTHREADS { let rx = rx.clone(); let n = n.clone(); let t = thread::spawn(move || { let mut i = 0; loop { i += 1; let mut rx_opt = rx.lock().unwrap(); if let Some(rx) = &mut *rx_opt { if i % 5 == 0 { let item = block_on(rx.next()); if item.is_none() { *rx_opt = None; break; } n.fetch_add(1, Ordering::Relaxed); } else { // Just poll let n = n.clone(); match rx.poll_next_unpin(&mut noop_context()) { Poll::Ready(Some(_)) => { n.fetch_add(1, Ordering::Relaxed); } Poll::Ready(None) => { *rx_opt = None; break; } Poll::Pending => {} } } } else { break; } } }); th.push(t); } for i in 0..AMT { block_on(tx.send(i)).unwrap(); } drop(tx); for t in th { t.join().unwrap(); } assert_eq!(AMT, n.load(Ordering::Relaxed)); } /// Stress test that receiver properly receives all the messages /// after sender dropped. #[test] fn stress_drop_sender() { const ITER: usize = if cfg!(miri) { 100 } else { 10000 }; fn list() -> impl Stream<Item = i32> { let (tx, rx) = mpsc::channel(1); thread::spawn(move || { block_on(send_one_two_three(tx)); }); rx } for _ in 0..ITER { let v: Vec<_> = block_on(list().collect()); assert_eq!(v, vec![1, 2, 3]); } } async fn send_one_two_three(mut tx: mpsc::Sender<i32>) { for i in 1..=3 { tx.send(i).await.unwrap(); } } /// Stress test that after receiver dropped, /// no messages are lost. fn stress_close_receiver_iter() { let (tx, rx) = mpsc::unbounded(); let mut rx = block_on_stream(rx); let (unwritten_tx, unwritten_rx) = std::sync::mpsc::channel(); let th = thread::spawn(move || { for i in 1.. { if tx.unbounded_send(i).is_err() { unwritten_tx.send(i).expect("unwritten_tx"); return; } } }); // Read one message to make sure thread effectively started assert_eq!(Some(1), rx.next()); rx.close(); for i in 2.. { match rx.next() { Some(r) => assert!(i == r), None => { let unwritten = unwritten_rx.recv().expect("unwritten_rx"); assert_eq!(unwritten, i); th.join().unwrap(); return; } } } } #[test] fn stress_close_receiver() { const ITER: usize = if cfg!(miri) { 50 } else { 10000 }; for _ in 0..ITER { stress_close_receiver_iter(); } } async fn stress_poll_ready_sender(mut sender: mpsc::Sender<u32>, count: u32) { for i in (1..=count).rev() { sender.send(i).await.unwrap(); } } /// Tests that after `poll_ready` indicates capacity a channel can always send without waiting. #[test] fn stress_poll_ready() { const AMT: u32 = if cfg!(miri) { 100 } else { 1000 }; const NTHREADS: u32 = 8; /// Run a stress test using the specified channel capacity. fn stress(capacity: usize) { let (tx, rx) = mpsc::channel(capacity); let mut threads = Vec::new(); for _ in 0..NTHREADS { let sender = tx.clone(); threads.push(thread::spawn(move || block_on(stress_poll_ready_sender(sender, AMT)))); } drop(tx); let result: Vec<_> = block_on(rx.collect()); assert_eq!(result.len() as u32, AMT * NTHREADS); for thread in threads { thread.join().unwrap(); } } stress(0); stress(1); stress(8); stress(16); } #[test] fn try_send_1() { const N: usize = if cfg!(miri) { 100 } else { 3000 }; let (mut tx, rx) = mpsc::channel(0); let t = thread::spawn(move || { for i in 0..N { loop { if tx.try_send(i).is_ok() { break; } } } }); let result: Vec<_> = block_on(rx.collect()); for (i, j) in result.into_iter().enumerate() { assert_eq!(i, j); } t.join().unwrap(); } #[test] fn try_send_2() { let (mut tx, rx) = mpsc::channel(0); let mut rx = block_on_stream(rx); tx.try_send("hello").unwrap(); let (readytx, readyrx) = oneshot::channel::<()>(); let th = thread::spawn(move || { block_on(poll_fn(|cx| { assert!(tx.poll_ready(cx).is_pending()); Poll::Ready(()) })); drop(readytx); block_on(tx.send("goodbye")).unwrap(); }); let _ = block_on(readyrx); assert_eq!(rx.next(), Some("hello")); assert_eq!(rx.next(), Some("goodbye")); assert_eq!(rx.next(), None); th.join().unwrap(); } #[test] fn try_send_fail() { let (mut tx, rx) = mpsc::channel(0); let mut rx = block_on_stream(rx); tx.try_send("hello").unwrap(); // This should fail assert!(tx.try_send("fail").is_err()); assert_eq!(rx.next(), Some("hello")); tx.try_send("goodbye").unwrap(); drop(tx); assert_eq!(rx.next(), Some("goodbye")); assert_eq!(rx.next(), None); } #[test] fn try_send_recv() { let (mut tx, mut rx) = mpsc::channel(1); tx.try_send("hello").unwrap(); tx.try_send("hello").unwrap(); tx.try_send("hello").unwrap_err(); // should be full rx.try_next().unwrap(); rx.try_next().unwrap(); rx.try_next().unwrap_err(); // should be empty tx.try_send("hello").unwrap(); rx.try_next().unwrap(); rx.try_next().unwrap_err(); // should be empty } #[test] fn same_receiver() { let (mut txa1, _) = mpsc::channel::<i32>(1); let txa2 = txa1.clone(); let (mut txb1, _) = mpsc::channel::<i32>(1); let txb2 = txb1.clone(); assert!(txa1.same_receiver(&txa2)); assert!(txb1.same_receiver(&txb2)); assert!(!txa1.same_receiver(&txb1)); txa1.disconnect(); txb1.close_channel(); assert!(!txa1.same_receiver(&txa2)); assert!(txb1.same_receiver(&txb2)); } #[test] fn is_connected_to() { let (txa, rxa) = mpsc::channel::<i32>(1); let (txb, rxb) = mpsc::channel::<i32>(1); assert!(txa.is_connected_to(&rxa)); assert!(txb.is_connected_to(&rxb)); assert!(!txa.is_connected_to(&rxb)); assert!(!txb.is_connected_to(&rxa)); } #[test] fn hash_receiver() { use std::collections::hash_map::DefaultHasher; use std::hash::Hasher; let mut hasher_a1 = DefaultHasher::new(); let mut hasher_a2 = DefaultHasher::new(); let mut hasher_b1 = DefaultHasher::new(); let mut hasher_b2 = DefaultHasher::new(); let (mut txa1, _) = mpsc::channel::<i32>(1); let txa2 = txa1.clone(); let (mut txb1, _) = mpsc::channel::<i32>(1); let txb2 = txb1.clone(); txa1.hash_receiver(&mut hasher_a1); let hash_a1 = hasher_a1.finish(); txa2.hash_receiver(&mut hasher_a2); let hash_a2 = hasher_a2.finish(); txb1.hash_receiver(&mut hasher_b1); let hash_b1 = hasher_b1.finish(); txb2.hash_receiver(&mut hasher_b2); let hash_b2 = hasher_b2.finish(); assert_eq!(hash_a1, hash_a2); assert_eq!(hash_b1, hash_b2); assert!(hash_a1 != hash_b1); txa1.disconnect(); txb1.close_channel(); let mut hasher_a1 = DefaultHasher::new(); let mut hasher_a2 = DefaultHasher::new(); let mut hasher_b1 = DefaultHasher::new(); let mut hasher_b2 = DefaultHasher::new(); txa1.hash_receiver(&mut hasher_a1); let hash_a1 = hasher_a1.finish(); txa2.hash_receiver(&mut hasher_a2); let hash_a2 = hasher_a2.finish(); txb1.hash_receiver(&mut hasher_b1); let hash_b1 = hasher_b1.finish(); txb2.hash_receiver(&mut hasher_b2); let hash_b2 = hasher_b2.finish(); assert!(hash_a1 != hash_a2); assert_eq!(hash_b1, hash_b2); } #[test] fn send_backpressure() { let (waker, counter) = new_count_waker(); let mut cx = Context::from_waker(&waker); let (mut tx, mut rx) = mpsc::channel(1); block_on(tx.send(1)).unwrap(); let mut task = tx.send(2); assert_eq!(task.poll_unpin(&mut cx), Poll::Pending); assert_eq!(counter, 0); let item = block_on(rx.next()).unwrap(); assert_eq!(item, 1); assert_eq!(counter, 1); assert_eq!(task.poll_unpin(&mut cx), Poll::Ready(Ok(()))); let item = block_on(rx.next()).unwrap(); assert_eq!(item, 2); } #[test] fn send_backpressure_multi_senders() { let (waker, counter) = new_count_waker(); let mut cx = Context::from_waker(&waker); let (mut tx1, mut rx) = mpsc::channel(1); let mut tx2 = tx1.clone(); block_on(tx1.send(1)).unwrap(); let mut task = tx2.send(2); assert_eq!(task.poll_unpin(&mut cx), Poll::Pending); assert_eq!(counter, 0); let item = block_on(rx.next()).unwrap(); assert_eq!(item, 1); assert_eq!(counter, 1); assert_eq!(task.poll_unpin(&mut cx), Poll::Ready(Ok(()))); let item = block_on(rx.next()).unwrap(); assert_eq!(item, 2); } /// Test that empty channel has zero length and that non-empty channel has length equal to number /// of enqueued items #[test] fn unbounded_len() { let (tx, mut rx) = mpsc::unbounded(); assert_eq!(tx.len(), 0); assert!(tx.is_empty()); tx.unbounded_send(1).unwrap(); assert_eq!(tx.len(), 1); assert!(!tx.is_empty()); tx.unbounded_send(2).unwrap(); assert_eq!(tx.len(), 2); assert!(!tx.is_empty()); let item = block_on(rx.next()).unwrap(); assert_eq!(item, 1); assert_eq!(tx.len(), 1); assert!(!tx.is_empty()); let item = block_on(rx.next()).unwrap(); assert_eq!(item, 2); assert_eq!(tx.len(), 0); assert!(tx.is_empty()); } ```
is a dam on the Saru River in Hokkaidō, Japan, which stands at Nibutani in Biratori town, Saru District. Work on the dam began in 1973. It was completed in 1997, despite formal objections from the local Ainu people dating as early as 1987. Controversy The building of the dam pitted the Japanese government against the indigenous Ainu, in a legal case filed by two Ainu landowners, Tadashi Kaizawa and Shigeru Kayano. These two farmers of Ainu descent claimed the government had illegally seized their land in February 1989. They believed that the expropriation of their land to build dam violated their rights as Ainu for the protection of their cultural heritage because the dam construction would destroy sacred sites and ritual grounds had not been adequately considered in the forced taking of their lands. At this time, there were no indigenous rights afforded to the Ainu people, as they were not recognised as being indigenous to Japan. In a landmark decision by the Sapporo District Court, Chief Judge Kazuo Ichimiya stated that the Ainu people had established a unique culture in Hokkaido before the arrival of the Japanese and therefore had rights that should have given consideration under Article 13 of Japan's Constitution, which protects the rights of the individual, and in the International Covenant on Civil and Political Rights. Since the dam was already complete, the 3-judge panel did not nullify the land seizure. However, the decision included extensive fact-finding that underscored the long history of the oppression of the Ainu people by Japan's ethnic majority, referred to as "Wajin" in the case and discussions about the case. References Sources Nibutani Dam Decision (Levin trans.) International Rivers information on Nibutani Mark A. Levin, Essential Commodities and Racial Justice: Using Constitutional Protection of Japan’s Indigenous Ainu People to Inform Understandings of the United States and Japan, New York University Journal of International Law and Politics, Vol. 33, 2001 Dams in Hokkaido Gravity dams Dams completed in 1997 Biratori, Hokkaido
Justice Adair may refer to: Hugh R. Adair (1889–1971), chief justice of the Montana Supreme Court James Adair (serjeant-at-law) (c. 1743–1798), chief justice of Chester
"Composed upon Westminster Bridge, September 3, 1802" is a Petrarchan sonnet by William Wordsworth describing London and the River Thames, viewed from Westminster Bridge in the early morning. It was first published in the collection Poems, in Two Volumes in 1807. History The sonnet was originally dated 1803, but this was corrected in later editions and the date of composition given precisely as 31 July 1802, when Wordsworth and his sister Dorothy were travelling to Calais to visit Annette Vallon and his daughter Caroline by Annette, prior to his forthcoming marriage to Mary Hutchinson. The sonnet has always been popular, escaping the generally excoriating reviews from critics such as Francis Jeffrey in the Edinburgh Review when Poems in Two Volumes was first published. The reason undoubtedly lies in its great simplicity and beauty of language, turning on Dorothy's observation that this man-made spectacle is nevertheless one to be compared to nature's grandest natural spectacles. Cleanth Brooks analysed the sonnet in these terms in The Well Wrought Urn: Studies in the Structure of Poetry. In his essay, "The Language of Paradox", Brooks claims that the poem presents a paradox not in its specific use of images, but in the scenario that the narrator constructs. For instance, London is foregrounded as a natural landscape and as an artificial marvel (both these images running in parallel). This is exemplified in his usage of the epithet "asleep" instead of "dead" in the penultimate line for the houses. Stephen Gill remarks that at the end of his life Wordsworth, engaged in editing his works, contemplated a revision even of "so perfect a poem" as this sonnet in response to an objection from a lady that London could not both be "bare" and "clothed" (an example of the use of paradox in literature). That the sonnet so closely follows Dorothy's journal entry comes as no surprise because Dorothy wrote her Grasmere Journal to "give Wm pleasure by it" and it was freely available to Wordsworth, who said of Dorothy that "She gave me eyes, she gave me ears" in his poem "The Sparrow's Nest". References Sources Further reading Davies, Hunter. William Wordsworth, Weidenfeld and Nicolson, 1980 Wilson, Frances. The Ballad of Dorothy Wordsworth, Faber and Faber, 2008 External links Poems: In Two Volumes by William Wordsworth. Longman, Hurst, Rees, and Orme, 1807 The Well Wrought Urn: Studies in the Structure of Poetry by Cleanth Brooks and Paul Rand. Harcourt, Brace 1975 "Review of Poems, in Two Volumes by Francis Jeffrey, in Edinburgh Review, pp. 214–231, vol. XI, October 1807 – January 1808 Composed upon Westminster Bridge, September 3, 1802 in audio on Poetry Foundation 1802 poems 1807 poems Poetry by William Wordsworth Sonnets Poems about cities Works about London Poems about bridges Culture associated with the River Thames
```html <html lang="en"> <head> <title>Misnesting - The C Preprocessor</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="The C Preprocessor"> <meta name="generator" content="makeinfo 4.8"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Macro-Pitfalls.html#Macro-Pitfalls" title="Macro Pitfalls"> <link rel="next" href="Operator-Precedence-Problems.html#Operator-Precedence-Problems" title="Operator Precedence Problems"> <link href="path_to_url" rel="generator-home" title="Texinfo Homepage"> <!-- Permission is granted to copy, distribute and/or modify this document any later version published by the Free Software Foundation. A copy of the license is included in the This manual contains no Invariant Sections. The Front-Cover Texts are (a) (see below), and the Back-Cover Texts are (b) (see below). (a) The FSF's Front-Cover Text is: A GNU Manual (b) The FSF's Back-Cover Text is: You have freedom to copy and modify this GNU Manual, like GNU software. Copies published by the Free Software Foundation raise funds for GNU development. --> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"><!-- pre.display { font-family:inherit } pre.format { font-family:inherit } pre.smalldisplay { font-family:inherit; font-size:smaller } pre.smallformat { font-family:inherit; font-size:smaller } pre.smallexample { font-size:smaller } pre.smalllisp { font-size:smaller } span.sc { font-variant:small-caps } span.roman { font-family:serif; font-weight:normal; } span.sansserif { font-family:sans-serif; font-weight:normal; } --></style> </head> <body> <div class="node"> <p> <a name="Misnesting"></a> Next:&nbsp;<a rel="next" accesskey="n" href="Operator-Precedence-Problems.html#Operator-Precedence-Problems">Operator Precedence Problems</a>, Up:&nbsp;<a rel="up" accesskey="u" href="Macro-Pitfalls.html#Macro-Pitfalls">Macro Pitfalls</a> <hr> </div> <h4 class="subsection">3.10.1 Misnesting</h4> <p>When a macro is called with arguments, the arguments are substituted into the macro body and the result is checked, together with the rest of the input file, for more macro calls. It is possible to piece together a macro call coming partially from the macro body and partially from the arguments. For example, <pre class="smallexample"> #define twice(x) (2*(x)) #define call_with_1(x) x(1) call_with_1 (twice) ==&gt; twice(1) ==&gt; (2*(1)) </pre> <p>Macro definitions do not have to have balanced parentheses. By writing an unbalanced open parenthesis in a macro body, it is possible to create a macro call that begins inside the macro body but ends outside of it. For example, <pre class="smallexample"> #define strange(file) fprintf (file, "%s %d", ... strange(stderr) p, 35) ==&gt; fprintf (stderr, "%s %d", p, 35) </pre> <p>The ability to piece together a macro call can be useful, but the use of unbalanced open parentheses in a macro body is just confusing, and should be avoided. </body></html> ```
```html <!DOCTYPE html> <html xmlns="path_to_url"><head><title>Linalg (owl-base.Owl_computation_cpu_init.Make.Graph.Optimiser.Operator.Linalg)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../../../../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.2"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../../../../index.html">owl-base</a> &#x00BB; <a href="../../../../../index.html">Owl_computation_cpu_init</a> &#x00BB; <a href="../../../../index.html">Make</a> &#x00BB; <a href="../../../index.html">Graph</a> &#x00BB; <a href="../../index.html">Optimiser</a> &#x00BB; <a href="../index.html">Operator</a> &#x00BB; Linalg</nav><header class="odoc-preamble"><h1>Module <code><span>Operator.Linalg</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-inv"><a href="#val-inv" class="anchor"></a><code><span><span class="keyword">val</span> inv : <span><a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a></span></code></div><div class="spec-doc"><p><code>inv a</code> computes the inverse of the matrix <code>a</code>. Returns a new array representing the inverse matrix.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-logdet"><a href="#val-logdet" class="anchor"></a><code><span><span class="keyword">val</span> logdet : <span><a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Symbol/Shape/Type/index.html#type-elt">Symbol.Shape.Type.elt</a></span></code></div><div class="spec-doc"><p><code>logdet a</code> computes the natural logarithm of the determinant of the matrix <code>a</code>. Returns the logarithm of the determinant as a scalar.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-chol"><a href="#val-chol" class="anchor"></a><code><span><span class="keyword">val</span> chol : <span><span class="optlabel">?upper</span>:bool <span class="arrow">&#45;&gt;</span></span> <span><a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a></span></code></div><div class="spec-doc"><p><code>chol ?upper a</code> performs the Cholesky decomposition of the positive-definite matrix <code>a</code>.</p><ul><li><code>upper</code> specifies whether to return the upper or lower triangular matrix. If <code>upper</code> is true, returns the upper triangular matrix, otherwise the lower triangular matrix. Returns a new array representing the Cholesky factor.</li></ul></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-qr"><a href="#val-qr" class="anchor"></a><code><span><span class="keyword">val</span> qr : <span><a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> * <a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a></span></code></div><div class="spec-doc"><p><code>qr a</code> performs the QR decomposition of the matrix <code>a</code>. Returns a tuple of two arrays (Q, R), where <code>Q</code> is an orthogonal matrix and <code>R</code> is an upper triangular matrix.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-lq"><a href="#val-lq" class="anchor"></a><code><span><span class="keyword">val</span> lq : <span><a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> * <a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a></span></code></div><div class="spec-doc"><p><code>lq a</code> performs the LQ decomposition of the matrix <code>a</code>. Returns a tuple of two arrays (L, Q), where <code>L</code> is a lower triangular matrix and <code>Q</code> is an orthogonal matrix.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-svd"><a href="#val-svd" class="anchor"></a><code><span><span class="keyword">val</span> svd : <span><span class="optlabel">?thin</span>:bool <span class="arrow">&#45;&gt;</span></span> <span><a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> * <a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> * <a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a></span></code></div><div class="spec-doc"><p><code>svd ?thin a</code> performs the Singular Value Decomposition (SVD) of the matrix <code>a</code>.</p><ul><li><code>thin</code> specifies whether to return the reduced form of the SVD. Returns a tuple of three arrays (U, S, V), where <code>U</code> and <code>V</code> are orthogonal matrices, and <code>S</code> is a diagonal matrix containing the singular values.</li></ul></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-sylvester"><a href="#val-sylvester" class="anchor"></a><code><span><span class="keyword">val</span> sylvester : <span><a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a></span></code></div><div class="spec-doc"><p><code>sylvester a b c</code> solves the Sylvester equation A*X + X*B = C for the unknown matrix X. Returns a new array representing the solution matrix X.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-lyapunov"><a href="#val-lyapunov" class="anchor"></a><code><span><span class="keyword">val</span> lyapunov : <span><a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a></span></code></div><div class="spec-doc"><p><code>lyapunov a q</code> solves the continuous Lyapunov equation A*X + X*A^T = Q for the unknown matrix X. Returns a new array representing the solution matrix X.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-discrete_lyapunov"><a href="#val-discrete_lyapunov" class="anchor"></a><code><span><span class="keyword">val</span> discrete_lyapunov : <span><span class="optlabel">?solver</span>:<span>[ `default <span>| `bilinear</span> <span>| `direct</span> ]</span> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a></span></code></div><div class="spec-doc"><p><code>discrete_lyapunov ?solver a q</code> solves the discrete Lyapunov equation A*X*A^T - X + Q = 0 for the unknown matrix X.</p><ul><li><code>solver</code> specifies the method to use: `default`, `bilinear`, or `direct`. Returns a new array representing the solution matrix X.</li></ul></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-linsolve"><a href="#val-linsolve" class="anchor"></a><code><span><span class="keyword">val</span> linsolve : <span><span class="optlabel">?trans</span>:bool <span class="arrow">&#45;&gt;</span></span> <span><span class="optlabel">?typ</span>:<span>[ `n <span>| `u</span> <span>| `l</span> ]</span> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a></span></code></div><div class="spec-doc"><p><code>linsolve ?trans ?typ a b</code> solves the linear system A*X = B for the unknown matrix X.</p><ul><li><code>trans</code> specifies whether to transpose the matrix A.</li><li><code>typ</code> specifies the type of matrix A: `n` for normal, `u` for upper triangular, and `l` for lower triangular. Returns a new array representing the solution matrix X.</li></ul></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-care"><a href="#val-care" class="anchor"></a><code><span><span class="keyword">val</span> care : <span><span class="optlabel">?diag_r</span>:bool <span class="arrow">&#45;&gt;</span></span> <span><a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a></span></code></div><div class="spec-doc"><p><code>care ?diag_r a b q r</code> solves the Continuous-time Algebraic Riccati Equation (CARE) A*X + X*A^T - X*B*R^-1*B^T*X + Q = 0 for the unknown matrix X.</p><ul><li><code>diag_r</code> if true, <code>R</code> is assumed to be diagonal. Returns a new array representing the solution matrix X.</li></ul></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-dare"><a href="#val-dare" class="anchor"></a><code><span><span class="keyword">val</span> dare : <span><span class="optlabel">?diag_r</span>:bool <span class="arrow">&#45;&gt;</span></span> <span><a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Symbol/Shape/Type/index.html#type-arr">Symbol.Shape.Type.arr</a></span></code></div><div class="spec-doc"><p><code>dare ?diag_r a b q r</code> solves the Discrete-time Algebraic Riccati Equation (DARE) A*X*A^T - X - (A*X*B^T)*inv(B*X*B^T + R)*(A*X*B^T)^T + Q = 0 for the unknown matrix X.</p><ul><li><code>diag_r</code> if true, <code>R</code> is assumed to be diagonal. Returns a new array representing the solution matrix X.</li></ul></div></div></div></body></html> ```
In United States agriculture policy, loan deficiency payments (LDP) are a farm income support program first authorized by the Food Security Act of 1985 (P.L. 99-198) that makes direct payments, equivalent to marketing loan gains, to producers who agree not to obtain nonrecourse loans, even though they are eligible. Loan deficiency payments are available under the 2002 farm bill (P.L. 101-171, Sec. 1205) for wheat, corn, grain sorghum, barley, oats, upland cotton, rice, soybeans, other oilseeds, wool, mohair, honey, dry peas, lentils, and small chickpeas. Producer Option Payment (POP) is the original name for the loan deficiency payment (LDP). This phrase continues to be used by some farmers. References External links Nonrecourse Marketing Assistance Loan and Loan Deficiency Payment Program USDA Fact Sheet (June 2003 PDF) United States Department of Agriculture Agricultural subsidies Loans
Fernando Andrés Núñez (born 22 July 1995) is an Argentine professional footballer who plays as a forward for Argentino Monte Maíz. Career Núñez started his youth career with Club Leonardo Murialdo, before being signed by Godoy Cruz. He was promoted into the first-team of Argentine Primera División side Godoy Cruz in 2017. He featured four times throughout the 2016–17 league season, but his professional debut arrived in the Copa Libertadores during May 2017 in a home draw against Libertad. He played once more in the Copa Libertadores, versus Atlético Mineiro on 16 May, prior to making his league bow in a win over Vélez Sarsfield on 21 May. Núñez spent 2019–20 on loan with Sarmiento; scoring twice, versus Chacarita Juniors and All Boys, in eleven games. In October 2020, Núñez moved to Tornero Argentino A club Huracán LH. In March 2022, he joined fellow league club Argentino Monte Maíz. Career statistics . References External links 1995 births Living people Footballers from Mendoza Province Argentine men's footballers Men's association football forwards Argentine Primera División players Primera Nacional players Godoy Cruz Antonio Tomba footballers Club Atlético Sarmiento footballers
Psectrotarsia rhodophora is a species of moth of the family Noctuidae. It is only known from Guatemala. The length of the forewings is 13.0–17.5 mm. Adults have been recorded in October and November. External links Species info Revision of the Genus Psectrotarsia Dognin, 1907 (Lepidoptera: Noctuidae: Heliothinae) Heliothinae Moths described in 1910
Rondell Christopher Mealey (born February 24, 1977) is a former American football running back in the National Football League (NFL). Early life Rondell Mealey was born in New Orleans, Louisiana and grew up in Norco, Louisiana. He played high school football at Destrehan High School (Destrehan, Louisiana) where he was a teammate of NFL Hall of Fame safety Ed Reed. College career Mealey (#7) played collegiately for the LSU Tigers from 1995 to 1999. Mealey redshirted in 1995 and during his freshman season in 1996, rushed for 603 yards and 10 touchdowns. In 1997 during his sophomore season, Mealey rushed for 664 yards and scored 7 touchdowns. Following the regular season, Mealey put on a performance in the 1997 Independence Bowl against Notre Dame that led to him being inducted into the Independence Bowl Hall of Fame in June 2010. With LSU losing 6-3 at halftime, Mealey filling in for an injured Kevin Faulk, rushed for 222 yards and two fourth-quarter touchdowns to lead LSU to a 27-9 victory. During his junior season in 1997, Mealey continued to split carries with All-American Kevin Faulk. He was the second leading rusher on the team, rushing for 334 yards and 4 touchdowns. In 1998 as a senior offensive team captain and starting tailback, Mealy was the leading rusher on the team, rushing for 637 yards and 8 touchdowns. Mealey finished his career at LSU as the sixth-leading rusher in school history. His 29 rushing touchdowns tied for the fifth most in school history and his average of 4.9 yards per carry tied for the third best in school history. College honors 1996 Freshman All-SEC by the Knoxville News Sentinel 1997 Independence Bowl Offensive MVP 1999 National "L" Club Award Member of the 1999 Blue–Gray Football Classic Member of the 2000 East–West Shrine Game Member of the 2000 Senior Bowl Member of the Independence Bowl Hall of Fame Sources: College statistics Notes: * Does not include bowl games Pre-Draft Professional career Rondell Mealey was drafted in the seventh round (252nd pick overall) of the 2000 NFL Draft by the Green Bay Packers. As a Packer from 2000 to 2002, Mealey mainly served as a backup running back and played on special teams seeing playing time in 13 games over three seasons. He had his first NFL start in early September during the 2002 season. Mealey was placed on waivers by the Packers in late September 2002. Despite interest and tryouts for the Detroit Lions, Houston Texans and Tampa Bay Buccaneers, Mealey did not play professionally again after being released by the Packers. NFL statistics Sources: Personal life Mealey works for Marathon Oil in southern Louisiana. See also LSU Tigers football statistical leaders References External links LSU Tigers bio 1977 births Living people People from Norco, Louisiana Sportspeople from St. Charles Parish, Louisiana Players of American football from New Orleans American football running backs LSU Tigers football players Green Bay Packers players Destrehan High School alumni
is a former Japanese football player. Playing career Iwai was born in Saitama Prefecture on January 31, 1967. After graduating from Tokai University, he joined All Nippon Airways (later Yokohama Flügels) in 1989. He became a regular player as center back for the first season. The club won the championship at the 1993 Emperor's Cup and 1994–95 Asian Cup Winners' Cup. In 1996, he moved to the newly promoted J1 League club, Avispa Fukuoka. He retired at the end of the 1998 season. Club statistics References External links j-league.or.jp 1967 births Living people Tokai University alumni Association football people from Saitama Prefecture Japanese men's footballers Japan Soccer League players J1 League players Yokohama Flügels players Avispa Fukuoka players Men's association football defenders
Maine is a U.S. state. Maine may also refer to: Places Gulf of Maine, a gulf off the coast of the U.S. state Province of Maine, 17th-century English colonial entities on territory that eventually became the U.S. state France Maine (province) Maine-et-Loire Maine (river) United States Maine Township, Cook County, Illinois Maine Township, Grundy County, Illinois Maine River (Maine) Maine Township, Otter Tail County, Minnesota Maine, New York, a town Maine, Marathon County, Wisconsin, a village Maine, Outagamie County, Wisconsin, a town Names Maine (given name) Maine (surname) Maines (surname) Ships SS Maine, a British steam ship USS Maine (ACR-1), a second-class pre-dreadnought battleship, launched in 1889, whose sinking contributed to the outbreak of the Spanish–American War Maine-class battleship, a battleship class of the U.S. Navy USS Maine (BB-10), the lead ship of the Maine-class battleship, launched in 1901 USS Maine (BB-69), a Montana-class battleship cancelled in 1943 USS Maine (SSBN-741), an Ohio-class nuclear ballistic missile submarine launched in 1994 TS State of Maine, a training ship of the Maine Maritime Academy Other uses Maine (film), a 2018 American drama film Maine (Red vs. Blue), a character in Red vs. Blue The Maine (Des Moines, Iowa), U.S., a historic apartment building The Maine (band), an American pop punk band Maine Soft Drinks Ltd, a Northern Irish soft drink manufacturer Uí Maine, an ancient Irish kingdom University of Maine, a university in the U.S. state State of Maine Express, a 20th-century night train from New York City to Portland, Maine The Maine Oyster Bar & Grill, a Dubai-based brasserie See also Counts and Dukes of Maine Main (disambiguation) Maine Coon Maine law, an 1851 temperance law Maine Road, a British football stadium Mains (disambiguation) Mane (disambiguation) Mayne (disambiguation) River Maine (disambiguation)
```python """ Test module for Shared PD. """ import unittest import errno import os from tests.test_qpex import QpExRCRDMAWrite from tests.base import RDMATestCase from pyverbs.device import Context from pyverbs.pd import PD from pyverbs.mr import MR import pyverbs.enums as e import tests.utils as u def get_import_res_class(base_class): """ This function creates a class that inherits base_class of any BaseResources type. Its purpose is to behave exactly as base_class does, except for the objects creation, which instead of creating context, PD and MR, it imports them. Hence the returned class must be initialized with (cmd_fd, pd_handle, mr_handle, mr_addr, **kwargs), while kwargs are the arguments needed (if any) for base_class. In addition it has unimport_resources() method which unimprot all the resources and closes the imported PD object. :param base_class: The base resources class to inherit from :return: ImportResources(cmd_fd, pd_handle, mr_handle, mr_addr, **kwargs) class """ class ImportResources(base_class): def __init__(self, cmd_fd, pd_handle, mr_handle, mr_addr=None, **kwargs): self.cmd_fd = cmd_fd self.pd_handle = pd_handle self.mr_handle = mr_handle self.mr_addr = mr_addr super(ImportResources, self).__init__(**kwargs) def create_context(self): try: self.ctx = Context(cmd_fd=self.cmd_fd) except u.PyverbsRDMAError as ex: if ex.error_code in [errno.EOPNOTSUPP, errno.EPROTONOSUPPORT]: raise unittest.SkipTest('Importing a device is not supported') raise ex def create_pd(self): self.pd = PD(self.ctx, handle=self.pd_handle) def create_mr(self): self.mr = MR(self.pd, handle=self.mr_handle, address=self.mr_addr) def unimport_resources(self): self.mr.unimport() self.pd.unimport() self.pd.close() return ImportResources class SharedPDTestCase(RDMATestCase): def setUp(self): super().setUp() self.iters = 10 self.server_res = None self.imported_res = [] def tearDown(self): for res in self.imported_res: res.unimport_resources() super().tearDown() def test_imported_rc_ex_rdma_write(self): setup_params = {'dev_name': self.dev_name, 'ib_port': self.ib_port, 'gid_index': self.gid_index} self.server_res = QpExRCRDMAWrite(**setup_params) cmd_fd_dup = os.dup(self.server_res.ctx.cmd_fd) import_cls = get_import_res_class(QpExRCRDMAWrite) server_import = import_cls( cmd_fd_dup, self.server_res.pd.handle, self.server_res.mr.handle, # The imported MR's address is NULL, so using the address of the # "main" MR object to be able to validate the message self.server_res.mr.buf, **setup_params) self.imported_res.append(server_import) client = QpExRCRDMAWrite(**setup_params) client.pre_run(server_import.psns, server_import.qps_num) server_import.pre_run(client.psns, client.qps_num) client.rkey = server_import.mr.rkey server_import.rkey = client.mr.rkey client.raddr = server_import.mr.buf server_import.raddr = client.mr.buf u.rdma_traffic(client, server_import, self.iters, self.gid_index, self.ib_port, send_op=e.IBV_WR_RDMA_WRITE, new_send=True) ```
St Margaret's Berwick Grammar School is an independent, non-denominational day school with a co-educational primary school and senior secondary school, an all girls and an all boys junior secondary school. The school is located in Berwick, a suburb of Melbourne, Victoria, Australia. History St Margaret's School was established in 1926 with 18 pupils, as an affiliate of the Presbyterian church, in the manse of the Toorak Presbyterian Church. In 1927 St Margaret's School moved to Mayfield Avenue, Malvern, and in 1931 leased the former Governor's residence, Stonington. By the 1930s St Margaret's School had grown to 330 pupils. In 1929 the Berwick Presbyterian Girls’ School was purchased. This branch of the main School was established in 1930, with a purpose-built boarding house, Campbell House. The school was originally owned by its principal, Dora Gipson, until 1947 when she sold it to the parents and Old Girls as she needed to retire due to illness. St Margaret's School was incorporated in 1948 and the first Council established. It operated as a "rural boarding school" and was run as such until 1978. The school has a non-selective enrolment policy and currently caters for approximately 824 students from Pre-Prep to Year 12, across the St Margaret's School campus in Berwick and the boys campus, Berwick Grammar School in Officer. In 2006, St Margaret's School Council announced its decision to establish a brother school for St Margaret's. This school opened in 2009 named Berwick Grammar School, catered for boys in Years 7 to 12. In 2021 the two schools were formally brought together under a new name St Margaret’s Berwick Grammar. Sport St Margaret's Berwick Grammar is a member of Girls Sport Victoria (GSV) and Southern Independent Schools (SIS). GSV premierships St Margaret's Berwick Grammar has won the following GSV premierships. Cricket – 2013 Netball – 2001 Softball (3) – 2014, 2018, 2019 Tennis – 2014 Volleyball – 2018 SIS premierships St Margaret's Berwick Grammar has won the following SIS senior premierships. Basketball (4) – 2014, 2015, 2017, 2019 Soccer – 2016 School staff Notable alumnae Jennifer Byrne – journalist, broadcaster, TV presenter (both ABC and commercial), former book publisher Rosalie Ham – novelist; author of The Dressmaker Alison Lester – author and illustrator of children's books and young adult novels Breann Moody – AFLW footballer for Carlton Football Club Celine Moody – AFLW footballer for Western Bulldogs Janette Robyn Heather McMaster – former Executive Director of the Committee for Economic Development of Australia (CEDA) (Qld), former National Director of Trustee Relations for CEDA; recipient of the Centenary Medal 2003 Laetisha Scanlan – Australian Athlete, Sport Shooting and Gold Medalist at the 2014 Commonwealth Games and 2018 Commonwealth Games See also List of schools in Victoria List of high schools in Victoria Victorian Certificate of Education References External links St Margaret's School website Girls Sport Victoria Girls' schools in Victoria (state) Educational institutions established in 1926 Nondenominational Christian schools in Melbourne Junior School Heads Association of Australia Member Schools 1926 establishments in Australia Alliance of Girls' Schools Australasia Buildings and structures in the City of Casey
Eoophyla dendrophila is a moth in the family Crambidae. It was described by Wolfgang Speidel, Wolfram Mey and Christian H. Schulze in 2002. It is found in Sabah, Malaysia. References Eoophyla Moths described in 2002
Hong Kong Mint () was a mint in Hong Kong that existed from 1866 to 1868. Located in Cleveland Street, Causeway Bay, it is the first coin mint of Hong Kong. A Mint Dam, on the slope of Mount Butler, was constructed to supply water to the mint. In early colonial Hong Kong, mixed currencies of various kinds were used. Although sterling was the official currency, it was not well accepted by the merchants and residents , especially Chinese, in Hong Kong. Various silver currencies remained the medium of trade in the city. In order to provide a steady supply of silver dollars in Hong Kong. Hercules Robinson, the then-Hong Kong Governor, decided to found the Hong Kong Mint in 1864. The mint opened on 7May 1866 under the direction of the Master of the Mint, Thomas William Kinder but closed in 1868 during Richard MacDonnell's governorship. The reasons for this were the poor reception of the coins as well as continued debasement of the silver coins causing huge loss. The site was sold to Jardine Matheson in 1868 and the mint machinery sold to the newly established Japan Mint in Osaka. See also Hong Kong dollar Sugar Street References External links The Hong Kong Early Currency and The Unsuccessful Hong Kong Mint (in Chinese) Hong Kong Coinage Government agencies established in 1866 Mints (currency) Currencies of Hong Kong 1866 establishments in Hong Kong 1868 disestablishments in Hong Kong
Edward Montagu Butler (3 December 1866 – 11 February 1948) was an English first-class cricketer and schoolmaster. Life Butler was born in Harrow-on-the-Hill, Middlesex. He was educated at Harrow School (of which his father was then headmaster) and at Trinity College, Cambridge (of which his father became Master in 1886), matriculating in 1885, gaining an exhibition, graduating B.A. 1891 (M.A. 1900). He played two matches for Middlesex in 1885, and earned Cambridge cricket blues in 1888 and 1889. He also represented Cambridge in singles and doubles racquets, and singles tennis, and in the Amateur Championships in racquets he was singles champion in 1889, and doubles champion with Manley Kemp in 1892. Butler was an assistant master at Harrow from 1891 to 1919. He died in Rogate, Sussex, aged 81. Family Butler was born to a prominent family of academics and athletes, the son of Henry Montagu Butler who, along with his own father, George Butler, was headmaster of Harrow School. His mother, Georgina Isabella Elliot, was the granddaughter of diplomat Hugh Elliot. His younger brother Arthur Hugh Montagu Butler (1873–1943) was House of Lords Librarian. His father remarried Agnata Frances Ramsay (1867–1931) in 1888, who was mother to his younger half-brothers, Sir James Ramsay Montagu Butler (1889–1975) and Sir Nevile Butler. He was the father of Olympic champion sprinter Guy Montagu Butler. References English cricketers Middlesex cricketers Cambridge University cricketers 1866 births 1948 deaths Cambridgeshire cricketers People educated at Harrow School Alumni of Trinity College, Cambridge Edward Teachers at Harrow School
The Broken River, a minor inland perennial river of the Goulburn Broken catchment, part of the Murray–Darling basin, is located in the Alpine and Northern Country/North Central regions of the Australian state of Victoria. The headwaters of the Broken River rise in the western slopes of the Victorian Alps, near Bald Hill and descend to flow into the Goulburn River near Shepparton. The river is impounded by the Nillahcootie Dam to create Lake Nillahcootie and Benalla Dam to create Lake Benalla. Location and features The river rises below Bald Hill on the western slopes of the Victorian Alps, within the Mount Buffalo National Park in the Shire of Mansfield. The river flow generally west, then north, then west passing through or adjacent to the regional cities of and , joined by ten minor tributaries, before reaching its confluence with the Goulburn River within Shepparton. The river descends over its course. When at maximum capacity, the Broken River is the fastest flowing river in Australia. The town of , located adjacent to the river, was known as Broken River into the 1850s. It was the location of the Battle of Broken River. Etymology In the local Aboriginal language, Ngurai-illam-wurrung, the river at its junction with the Goulburn River is named Marangan, meaning "deep pond, lagoon". The origin of the river's current name is originally thought to be derived from the fact that in dry seasons the river bed is broken into a series of water holes. See also References Goulburn Broken catchment Rivers of Hume (region) Tributaries of the Goulburn River
```assembly page ,132 title strcat - concatenate (append) one string to another ;*** ;strcat.asm - contains strcat() and strcpy() routines ; ; ;Purpose: ; STRCAT concatenates (appends) a copy of the source string to the ; end of the destination string, returning the destination string. ; ;******************************************************************************* .xlist include cruntime.inc .list page ;*** ;char *strcat(dst, src) - concatenate (append) one string to another ; ;Purpose: ; Concatenates src onto the end of dest. Assumes enough ; space in dest. ; ; Algorithm: ; char * strcat (char * dst, char * src) ; { ; char * cp = dst; ; ; while( *cp ) ; ++cp; /* Find end of dst */ ; while( *cp++ = *src++ ) ; ; /* Copy src to end of dst */ ; return( dst ); ; } ; ;Entry: ; char *dst - string to which "src" is to be appended ; const char *src - string to be appended to the end of "dst" ; ;Exit: ; The address of "dst" in EAX ; ;Uses: ; EAX, ECX ; ;Exceptions: ; ;******************************************************************************* page ;*** ;char *strcpy(dst, src) - copy one string over another ; ;Purpose: ; Copies the string src into the spot specified by ; dest; assumes enough room. ; ; Algorithm: ; char * strcpy (char * dst, char * src) ; { ; char * cp = dst; ; ; while( *cp++ = *src++ ) ; ; /* Copy src over dst */ ; return( dst ); ; } ; ;Entry: ; char * dst - string over which "src" is to be copied ; const char * src - string to be copied over "dst" ; ;Exit: ; The address of "dst" in EAX ; ;Uses: ; EAX, ECX ; ;Exceptions: ;******************************************************************************* CODESEG % public strcat, strcpy ; make both functions available strcpy proc \ dst:ptr byte, \ src:ptr byte OPTION PROLOGUE:NONE, EPILOGUE:NONE push edi ; preserve edi mov edi,[esp+8] ; edi points to dest string jmp short copy_start strcpy endp align 16 strcat proc \ dst:ptr byte, \ src:ptr byte OPTION PROLOGUE:NONE, EPILOGUE:NONE .FPO ( 0, 2, 0, 0, 0, 0 ) mov ecx,[esp+4] ; ecx -> dest string push edi ; preserve edi test ecx,3 ; test if string is aligned on 32 bits je short find_end_of_dest_string_loop dest_misaligned: ; simple byte loop until string is aligned mov al,byte ptr [ecx] add ecx,1 test al,al je short start_byte_3 test ecx,3 jne short dest_misaligned align 4 find_end_of_dest_string_loop: mov eax,dword ptr [ecx] ; read 4 bytes mov edx,7efefeffh add edx,eax xor eax,-1 xor eax,edx add ecx,4 test eax,81010100h je short find_end_of_dest_string_loop ; found zero byte in the loop mov eax,[ecx - 4] test al,al ; is it byte 0 je short start_byte_0 test ah,ah ; is it byte 1 je short start_byte_1 test eax,00ff0000h ; is it byte 2 je short start_byte_2 test eax,0ff000000h ; is it byte 3 je short start_byte_3 jmp short find_end_of_dest_string_loop ; taken if bits 24-30 are clear and bit ; 31 is set start_byte_3: lea edi,[ecx - 1] jmp short copy_start start_byte_2: lea edi,[ecx - 2] jmp short copy_start start_byte_1: lea edi,[ecx - 3] jmp short copy_start start_byte_0: lea edi,[ecx - 4] ; jmp short copy_start ; edi points to the end of dest string. copy_start:: mov ecx,[esp+0ch] ; ecx -> sorc string test ecx,3 ; test if string is aligned on 32 bits je short main_loop_entrance src_misaligned: ; simple byte loop until string is aligned mov dl,byte ptr [ecx] add ecx,1 test dl,dl je short byte_0 mov [edi],dl add edi,1 test ecx,3 jne short src_misaligned jmp short main_loop_entrance main_loop: ; edx contains first dword of sorc string mov [edi],edx ; store one more dword add edi,4 ; kick dest pointer main_loop_entrance: mov edx,7efefeffh mov eax,dword ptr [ecx] ; read 4 bytes add edx,eax xor eax,-1 xor eax,edx mov edx,[ecx] ; it's in cache now add ecx,4 ; kick dest pointer test eax,81010100h je short main_loop ; found zero byte in the loop ; main_loop_end: test dl,dl ; is it byte 0 je short byte_0 test dh,dh ; is it byte 1 je short byte_1 test edx,00ff0000h ; is it byte 2 je short byte_2 test edx,0ff000000h ; is it byte 3 je short byte_3 jmp short main_loop ; taken if bits 24-30 are clear and bit ; 31 is set byte_3: mov [edi],edx mov eax,[esp+8] ; return in eax pointer to dest string pop edi ret byte_2: mov [edi],dx mov eax,[esp+8] ; return in eax pointer to dest string mov byte ptr [edi+2],0 pop edi ret byte_1: mov [edi],dx mov eax,[esp+8] ; return in eax pointer to dest string pop edi ret byte_0: mov [edi],dl mov eax,[esp+8] ; return in eax pointer to dest string pop edi ret strcat endp end ```
Guerrilla Urbana (Urban Guerrilla in Spanish language) is a punk-rock group of the Canary Islands. History The group was formed in San Cristóbal de La Laguna (Tenerife) in 1983, sharing members with Eskorbuto Crónico, a pioneering punk-rock band in the Canary Islands dating back to the late 1970s. Gradually, the members of this group were integrated into Guerrilla Urbana as the original members were leaving the band until, in mid-1984, Eskorbuto Crónico was dissolved. Two years later "Cuervo", the drummer, was also brought into the band, the final member joining. After numerous local performances, two tours in the Basque Country and several demos, Guerrilla Urbana recorded their first album, Razón de Estado, in 1989. In 2012, Guerrilla Urbana released their tenth album, the first recorded live, called Serenata para antro y chusma Opus X. Ideas The majority of the lyrics of the group are either about social issues or on antireligious, antimilitaristic, antiauthoritarian, anti-fascist and anticolonialist themes. The group members are close to anarchist ideas. Members Cuervo: drums David: bass guitar Fredi: vocals Zurda: guitar Pachon: guitar Discography Razón de Estado (1989) Toque a Degüello (1992) Palabra de Dios (1994) Spanish Diarrea (1996) Bestiario (2000) Guerrilla Urbana 1983–1993 (Compilation) (2000) La Venganza de los Pueblos (2002) Microcefalia (2006) Incendiario (2009) Guerrilla Urbana / Escorbuto Crónico (2011) Serenata para antro y chusma Opus X (Live) (2012) References Spanish punk rock groups
Uberabasuchus ("Uberaba crocodile") is an extinct genus of crocodylomorph from the Late Cretaceous Serra da Galga Formation of Brazil. It appears to have a high skull like that of the sebecosuchians, but differs from them in having teeth with circular cross-section. Thus, rather than slicing flesh and blood vessels, it is likely to have inflicted powerful crushing bites (same is likely for Lomasuchus and Peirosaurus). The post-crania and the geology suggesting an arid climate indicate that Uberabasuchus was likely a terrestrial predator. References Further reading Uberabasuchus terrificus sp. nov., a New Crocodylomorpha from the Bauru Basin (Upper Cretaceous), Brazil - original description of genus (pdf) Peirosaurids Terrestrial crocodylomorphs Campanian life Maastrichtian life Late Cretaceous crocodylomorphs of South America Cretaceous Brazil Fossils of Brazil Marília Formation Fossil taxa described in 2004 Prehistoric pseudosuchian genera
Hilda Mary Woods (1892–1971) MBE, was a British statistician who began work in 1916 at the Medical Research Council's Statistical Research Unit with Major Greenwood ("Major" being his forename, not a military rank). Subsequently, she would deputize for him in his Directorship of the Unit, where in 1931 Woods and her co-author William Russell published an early textbook on medical statistics (Introduction to Medical Statistics, reprinted in 1936). Their practical text was based on lectures given at the London School of Hygiene and Tropical Medicine (LSHTM), as referenced in Hill's 1937 Lancet articles and subsequent seminal text, The Principles of Medical Statistics. Woods was appointed MBE for the statistical work she did in Ceylon where her newlywed husband died from septicaemia barely two months after their marriage. From Ceylon, Woods travelled to Africa, where, upon the death of her sister-in-law and later of her brother, she assumed the sole guardianship of her niece and adopted daughter, Rosemary Gear. Early life and education Hilda Mary Woods was born in 1892 in Doddershall, Quainton, Buckinghamshire, England, the daughter of William Ashburnham Woods, a farmer, and Mary Ann Woods (née Markham). She was the eldest daughter in a family of five surviving children: three boys and two girls. Her early education was provided by a governess at home and included learning to play the piano. At age 12 she was sent to the private Northampton High School as a boarder. There she obtained her Junior Oxford and Cambridge Certificate and several music certificates. In June 1916, she had wandered along Whitehall in search of work and willing to accept anything. Finally she came to a door in Whitehall Gardens marked Ministry of Munitions and filled in a form and was interviewed. She was asked: "Are you any good at mathematics? There is a doctor in the Welfare Section who wants an educated person to travel round and get statistics from factories. You look too young tho’. What age are you?" Woods promptly added three years to her age and the appointment was made. Career The doctor wearing the uniform of a captain in the Royal Army Medical Corps who hired Hilda Woods was Major Greenwood, whose role in the development of medical statistics and epidemiology during the first half of the 20th century is well documented. From 1916 until 1933, Hilda Woods worked alongside Greenwood. Woods was initially employed until the end of 1919 to enable Greenwood and Woods (1919) to co-author ‘A report on the incidence of industrial accidents upon individuals with special reference to multiple accidents’, which was highly cited. In February 1928, Greenwood and Woods transferred to the Division of Epidemiology and Vital Statistics at the LSHTM. Woods was appointed as Assistant Lecturer on the permanent staff of the University of London, the first female lecturer at the LSHTM. As well as giving lectures on epidemiology and vital statistics to medical postgraduates taking the Diploma in Public Health course, she had responsibility for the practical classes. While at the LSHTM, Hilda Woods published papers on respiratory disease (Woods, 1927, 1928a), scarlet fever and diphtheria (Woods, 1928b), as well as a methodological paper (Woods, 1929) that compared analytic and graphical methods for interpolation in life tables. In Greenwood's Divisional report for 1933, Woods' last year at the LSHTM, he described Dr. Hilda M Woods’“Epidemiological Study of Scarlet Fever in England and Wales since 1900”, as the Division’s most important paper. Hilda Woods's tenure at the LSHTM came to an end in 1933 following her engagement to Roger Fowke, a prominent businessman in Ceylon, where she was married. Having lost her fiancé 18 years earlier, Hilda Woods suffered yet another tragic loss when her husband, aged 53 years, died suddenly, from septicaemia, in February 1934 two months into their marriage. Many would have returned home in despair, but Woods immersed herself in important medical and social services of various kinds in Ceylon: as a member of the 1934 Ceylon Government Commission to study factory conditions and to advise on a new Factory Act. Also in 1934 she helped to compile and draft, as part of the Ceylon* Government Commission on Malaria, a statistical report on the epidemic. Both appointments led to reports tabled in the British and Ceylon Parliaments. Hilda Fowke also organized temporary hospitals during the height of the malaria epidemic and later organized a new department for studying disease prevalences in Ceylon. Publications Woods and Russell, An Introduction to Medical Statistics References 1892 births 1971 deaths British statisticians People from Aylesbury People educated at Northampton High School, England Women statisticians
NGC 180 is a barred spiral galaxy located in the constellation Pisces. It was discovered on December 29, 1790 by William Herschel. A peculiar type II supernova was discovered in the galaxy in 2001 and given the designation SN 2001dj. See also Spiral galaxy List of NGC objects (1–1000) Pisces (constellation) References External links SEDS 0180 00380 Barred spiral galaxies Pisces (constellation) Astronomical objects discovered in 1790 +01-02-039 002268
```c++ This program is free software; you can redistribute it and/or modify the Free Software Foundation 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 with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ void CRenderer::DrawBrushPolygonVerticesAndEdges(CBrushPolygon &bpo) { // get transformed polygon's plane CWorkingPlane &wplPolygonPlane = *bpo.bpo_pbplPlane->bpl_pwplWorking; CBrushSector &bsc = *bpo.bpo_pbscSector; CBrushMip *pbm = bsc.bsc_pbmBrushMip; CBrush3D &br = *pbm->bm_pbrBrush; INDEX iMinVx = bsc.bsc_ivvx0; INDEX iMaxVx = bsc.bsc_ivvx0+bsc.bsc_awvxVertices.Count(); // set line type and color for edges and vertices ULONG ulEdgesLineType = EdgeLineType(wplPolygonPlane.wpl_bVisible); COLOR colorEdges = ColorForEdges(bpo.bpo_colColor, bpo.bpo_pbscSector->bsc_colColor); COLOR colorVertices = ColorForVertices(bpo.bpo_colColor, bpo.bpo_pbscSector->bsc_colColor); if (bpo.IsSelected(BPOF_SELECTED)) { // for all edges in the polygon INDEX cttri = bpo.bpo_aiTriangleElements.Count()/3; for(INDEX itri=0; itri<cttri; itri++) { for(INDEX ied=0; ied<3; ied++) { // get transformed end vertices INDEX ielem0 = bpo.bpo_aiTriangleElements[itri*3+ied]; INDEX ielem1 = bpo.bpo_aiTriangleElements[itri*3+(ied+1)%3]; CBrushVertex &bvx0 = *bpo.bpo_apbvxTriangleVertices[ielem0]; CBrushVertex &bvx1 = *bpo.bpo_apbvxTriangleVertices[ielem1]; INDEX ivx0 = bsc.bsc_abvxVertices.Index(&bvx0); INDEX ivx1 = bsc.bsc_abvxVertices.Index(&bvx1); FLOAT3D &tv0 = re_avvxViewVertices[bsc.bsc_ivvx0+ivx0].vvx_vView; FLOAT3D &tv1 = re_avvxViewVertices[bsc.bsc_ivvx0+ivx1].vvx_vView; // clip the edge line FLOAT3D vClipped0 = tv0; FLOAT3D vClipped1 = tv1; ULONG ulClipFlags = br.br_prProjection->ClipLine(vClipped0, vClipped1); // if the edge remains after clipping to front plane if (ulClipFlags != LCF_EDGEREMOVED) { // project the vertices FLOAT3D v3d0, v3d1; br.br_prProjection->PostClip(vClipped0, v3d0); br.br_prProjection->PostClip(vClipped1, v3d1); // make 2d vertices FLOAT fI0 = v3d0(1); FLOAT fJ0 = v3d0(2); FLOAT fI1 = v3d1(1); FLOAT fJ1 = v3d1(2); // if the edge is too short if( Abs(fI1-fI0)<2 && fabs(fJ1-fJ0)<2) { // skip it continue; } // draw line between vertices re_pdpDrawPort->DrawLine((PIX)fI0, (PIX)fJ0, (PIX)fI1, (PIX)fJ1, colorEdges|CT_OPAQUE, ulEdgesLineType); } }} } FOREACHINSTATICARRAY(bpo.bpo_abpePolygonEdges, CBrushPolygonEdge, itpe) { // get transformed end vertices CBrushVertex &bvx0 = *itpe->bpe_pbedEdge->bed_pbvxVertex0; CBrushVertex &bvx1 = *itpe->bpe_pbedEdge->bed_pbvxVertex1; INDEX ivx0 = bsc.bsc_abvxVertices.Index(&bvx0); INDEX ivx1 = bsc.bsc_abvxVertices.Index(&bvx1); FLOAT3D &tv0 = re_avvxViewVertices[bsc.bsc_ivvx0+ivx0].vvx_vView; FLOAT3D &tv1 = re_avvxViewVertices[bsc.bsc_ivvx0+ivx1].vvx_vView; // clip the edge line FLOAT3D vClipped0 = tv0; FLOAT3D vClipped1 = tv1; ULONG ulClipFlags = br.br_prProjection->ClipLine(vClipped0, vClipped1); // if the edge remains after clipping to front plane if (ulClipFlags != LCF_EDGEREMOVED) { // project the vertices FLOAT3D v3d0, v3d1; br.br_prProjection->PostClip(vClipped0, v3d0); br.br_prProjection->PostClip(vClipped1, v3d1); // make 2d vertices FLOAT fI0 = v3d0(1); FLOAT fJ0 = v3d0(2); FLOAT fI1 = v3d1(1); FLOAT fJ1 = v3d1(2); // if the edge is too short if( Abs(fI1-fI0)<2 && fabs(fJ1-fJ0)<2) { // skip it continue; } BOOL bDrawVertex0 = ulClipFlags&LCFVERTEX0(LCF_UNCLIPPED) && !(bvx0.bvx_ulFlags&BVXF_DRAWNINWIREFRAME); BOOL bDrawVertex1 = ulClipFlags&LCFVERTEX1(LCF_UNCLIPPED) && !(bvx1.bvx_ulFlags&BVXF_DRAWNINWIREFRAME); // if edges should be drawn if (_wrpWorldRenderPrefs.wrp_ftEdges != CWorldRenderPrefs::FT_NONE) { // draw line between vertices re_pdpDrawPort->DrawLine((PIX)fI0, (PIX)fJ0, (PIX)fI1, (PIX)fJ1, colorEdges|CT_OPAQUE, ulEdgesLineType); #if 0 // used for debugging edge directions DrawArrow(*re_pdpDrawPort, (PIX)fI0, (PIX)fJ0, (PIX)fI1, (PIX)fJ1, colorEdges|CT_OPAQUE, ulEdgesLineType); #endif } extern void SelectVertexOnRender(CBrushVertex &bvx, const PIX2D &vpix); if (_wrpWorldRenderPrefs.wrp_stSelection== CWorldRenderPrefs::ST_VERTICES) { // draw them if (bDrawVertex0) { SelectVertexOnRender(bvx0, PIX2D((PIX)fI0, (PIX)fJ0)); if (bvx0.bvx_ulFlags&BVXF_SELECTED) { PutMoreFatPixel(*re_pdpDrawPort, (PIX)fI0, (PIX)fJ0, C_BLACK|CT_OPAQUE); } bvx0.bvx_ulFlags|=BVXF_DRAWNINWIREFRAME; } if (bDrawVertex1) { SelectVertexOnRender(bvx1, PIX2D((PIX)fI1, (PIX)fJ1)); if (bvx1.bvx_ulFlags&BVXF_SELECTED) { PutMoreFatPixel(*re_pdpDrawPort, (PIX)fI1, (PIX)fJ1, C_BLACK|CT_OPAQUE); } bvx1.bvx_ulFlags|=BVXF_DRAWNINWIREFRAME; } } // if vertices should be drawn if (_wrpWorldRenderPrefs.wrp_ftVertices != CWorldRenderPrefs::FT_NONE) { // draw them if (bDrawVertex0) { PutFatPixel(*re_pdpDrawPort, (PIX)fI0, (PIX)fJ0, colorVertices); bvx0.bvx_ulFlags|=BVXF_DRAWNINWIREFRAME; } if (bDrawVertex1) { PutFatPixel(*re_pdpDrawPort, (PIX)fI1, (PIX)fJ1, colorVertices); bvx1.bvx_ulFlags|=BVXF_DRAWNINWIREFRAME; } } } } } /* * Draw vertices and/or edges of a brush */ void CRenderer::DrawBrushSectorVerticesAndEdges(CBrushSector &bscSector) { CBrushMip *pbm = bscSector.bsc_pbmBrushMip; CBrush3D &br = *pbm->bm_pbrBrush; // clear all vertex drawn flags FOREACHINSTATICARRAY(bscSector.bsc_abvxVertices, CBrushVertex, itbvx) { itbvx->bvx_ulFlags&=~BVXF_DRAWNINWIREFRAME; } // first render visible polygons FOREACHINSTATICARRAY(bscSector.bsc_abpoPolygons, CBrushPolygon, itpo) { CBrushPolygon &bpo = *itpo; CWorkingPlane &wplPolygonPlane = *bpo.bpo_pbplPlane->bpl_pwplWorking; if (wplPolygonPlane.wpl_bVisible) { DrawBrushPolygonVerticesAndEdges(bpo); } } // if hidden edges should be drawn if (_wrpWorldRenderPrefs.wrp_bHiddenLinesOn) { // render invisible polygons FOREACHINSTATICARRAY(bscSector.bsc_abpoPolygons, CBrushPolygon, itpo) { CBrushPolygon &bpo = *itpo; CWorkingPlane &wplPolygonPlane = *bpo.bpo_pbplPlane->bpl_pwplWorking; if (!wplPolygonPlane.wpl_bVisible) { DrawBrushPolygonVerticesAndEdges(bpo); } } } } /* Draw edges of a field brush sector. */ void CRenderer::DrawFieldBrushSectorEdges(CBrushSector &bscSector) { CBrushMip *pbm = bscSector.bsc_pbmBrushMip; CBrush3D &br = *pbm->bm_pbrBrush; // for all polygons in sector FOREACHINSTATICARRAY(bscSector.bsc_abpoPolygons, CBrushPolygon, itpo) { CBrushPolygon &bpo = *itpo; // get transformed polygon's plane CWorkingPlane &wplPolygonPlane = *bpo.bpo_pbplPlane->bpl_pwplWorking; // set line type and color for edges and vertices ULONG ulEdgesLineType = EdgeLineType(wplPolygonPlane.wpl_bVisible); COLOR colorEdges = _wrpWorldRenderPrefs.wrp_colEdges; // for all edges in the polygon FOREACHINSTATICARRAY(itpo->bpo_abpePolygonEdges, CBrushPolygonEdge, itpe) { // get transformed end vertices INDEX ivx0 = bscSector.bsc_abvxVertices.Index(itpe->bpe_pbedEdge->bed_pbvxVertex0); INDEX ivx1 = bscSector.bsc_abvxVertices.Index(itpe->bpe_pbedEdge->bed_pbvxVertex1); FLOAT3D &tv0 = re_avvxViewVertices[bscSector.bsc_ivvx0+ivx0].vvx_vView; FLOAT3D &tv1 = re_avvxViewVertices[bscSector.bsc_ivvx0+ivx1].vvx_vView; // clip the edge line FLOAT3D vClipped0 = tv0; FLOAT3D vClipped1 = tv1; ULONG ulClipFlags = br.br_prProjection->ClipLine(vClipped0, vClipped1); // if the edge remains after clipping to front plane if (ulClipFlags != LCF_EDGEREMOVED) { // project the vertices FLOAT3D v3d0, v3d1; br.br_prProjection->PostClip(vClipped0, v3d0); br.br_prProjection->PostClip(vClipped1, v3d1); // make 2d vertices FLOAT2D v2d0, v2d1; v2d0(1) = v3d0(1); v2d0(2) = v3d0(2); v2d1(1) = v3d1(1); v2d1(2) = v3d1(2); re_pdpDrawPort->DrawLine((PIX)v2d0(1), (PIX)v2d0(2), (PIX)v2d1(1), (PIX)v2d1(2), colorEdges|CT_OPAQUE, ulEdgesLineType); } } } } /* Prepare a brush entity for rendering if it is not yet prepared. */ void CRenderer::PrepareBrush(CEntity *penBrush) { _pfRenderProfile.StartTimer(CRenderProfile::PTI_PREPAREBRUSH); ASSERT(penBrush!=NULL); // get its brush CBrush3D &brBrush = *penBrush->en_pbrBrush; // if the brush is already active in rendering if (brBrush.br_lnInActiveBrushes.IsLinked()) { // skip it _pfRenderProfile.StopTimer(CRenderProfile::PTI_PREPAREBRUSH); return; } brBrush.br_ulFlags&=~BRF_DRAWFIRSTMIP; // if it has zero sectors and rendering of editor models is enabled if (brBrush.GetFirstMip()->bm_abscSectors.Count()==0 && _wrpWorldRenderPrefs.IsEditorModelsOn() && wld_bRenderEmptyBrushes) { // add it for delayed rendering as a model (will use empty brush model) AddModelEntity(penBrush); } // add it to list of active brushes re_lhActiveBrushes.AddTail(brBrush.br_lnInActiveBrushes); // add it to container of all drawn entities re_cenDrawn.Add(penBrush); // set up a projection for the brush if (re_bBackgroundEnabled && (penBrush->en_ulFlags & ENF_BACKGROUND)) { brBrush.br_prProjection = re_prBackgroundProjection; } else { brBrush.br_prProjection = re_prProjection; } // prepare the brush projection if (penBrush->en_ulPhysicsFlags&EPF_MOVABLE) { // for moving brushes brBrush.br_prProjection->ObjectPlacementL() = penBrush->GetLerpedPlacement(); brBrush.br_prProjection->ObjectStretchL() = FLOAT3D(1.0f, 1.0f, 1.0f); brBrush.br_prProjection->ObjectFaceForwardL() = FALSE; brBrush.br_prProjection->Prepare(); } else { // for static brushes CProjection3D &pr = *brBrush.br_prProjection; const FLOATmatrix3D &mRot = penBrush->en_mRotation; const FLOAT3D &vRot = penBrush->en_plPlacement.pl_PositionVector; // fixup projection to use placement of this brush pr.pr_mDirectionRotation = pr.pr_ViewerRotationMatrix*mRot; pr.pr_RotationMatrix = pr.pr_mDirectionRotation; brBrush.br_prProjection->ObjectPlacementL() = penBrush->en_plPlacement; pr.pr_TranslationVector = pr.pr_ObjectPlacement.pl_PositionVector - pr.pr_vViewerPosition; pr.pr_TranslationVector = pr.pr_TranslationVector*pr.pr_ViewerRotationMatrix; pr.pr_Prepared = TRUE; } // mark brush as selected if the entity is selected if (penBrush->IsSelected(ENF_SELECTED)) { brBrush.br_ulFlags |= BRF_DRAWSELECTED; } else { brBrush.br_ulFlags &= ~BRF_DRAWSELECTED; } _pfRenderProfile.StopTimer(CRenderProfile::PTI_PREPAREBRUSH); } /* * Render wireframe brushes. */ void CRenderer::RenderWireFrameBrushes(void) { BOOL bRenderNonField = _wrpWorldRenderPrefs. wrp_ftEdges != CWorldRenderPrefs::FT_NONE ||_wrpWorldRenderPrefs.wrp_ftVertices != CWorldRenderPrefs::FT_NONE ||_wrpWorldRenderPrefs.wrp_stSelection== CWorldRenderPrefs::ST_VERTICES; // for all active sectors {FORDELETELIST(CBrushSector, bsc_lnInActiveSectors, re_lhActiveSectors, itbsc) { CBrushSector &bsc = *itbsc; // if invisible if (bsc.bsc_ulFlags&BSCF_INVISIBLE) { // skip it continue; } // if it is field brush if (bsc.bsc_pbmBrushMip->bm_pbrBrush->br_pfsFieldSettings!=NULL) { // if fields should be drawn if (_wrpWorldRenderPrefs.IsFieldBrushesOn()) { // draw it (all brush sectors in the list are already prepared and transformed) DrawFieldBrushSectorEdges(bsc); } } else { if (bRenderNonField) { // draw it (all brush sectors in the list are already prepared and transformed) DrawBrushSectorVerticesAndEdges(bsc); } } }} } /* * Compare two polygons for sorting. */ static inline int CompareTranslucentPolygons( const CTranslucentPolygon &tp0, const CTranslucentPolygon &tp1) { if (tp0.tp_fViewerDistance<tp1.tp_fViewerDistance) return -1; else if (tp0.tp_fViewerDistance>tp1.tp_fViewerDistance) return +1; else return 0; } static int qsort_CompareTranslucentPolygons( const void *pptp0, const void *pptp1) { CTranslucentPolygon &tp0 = **(CTranslucentPolygon **)pptp0; CTranslucentPolygon &tp1 = **(CTranslucentPolygon **)pptp1; return +CompareTranslucentPolygons(tp0, tp1); } /* * Sort a list of translucent polygons. */ ScenePolygon *CRenderer::SortTranslucentPolygons(ScenePolygon *pspoFirst) { // if there are no polygons in list if (pspoFirst==NULL) { // do nothing return NULL; } // for each polygon in list for (ScenePolygon *pspo = pspoFirst; pspo!=NULL; pspo = pspo->spo_pspoSucc) { // add it to container for sorting CTranslucentPolygon &tp = re_atcTranslucentPolygons.Push(); tp.tp_pspoPolygon = pspo; tp.tp_fViewerDistance = ((CBrushPolygon*)pspo->spo_pvPolygon)->bpo_pbplPlane ->bpl_pwplWorking->wpl_plView.Distance(); } // sort the container qsort(re_atcTranslucentPolygons.GetArrayOfPointers(), re_atcTranslucentPolygons.Count(), sizeof(CTranslucentPolygon *), qsort_CompareTranslucentPolygons); // make empty new list of polygons ScenePolygon *pspoNewFirst = NULL; // for each polygon in container for(INDEX iPolygon=0; iPolygon<re_atcTranslucentPolygons.Count(); iPolygon++) { ScenePolygon *pspo = re_atcTranslucentPolygons[iPolygon].tp_pspoPolygon; // add it to new list pspo->spo_pspoSucc = pspoNewFirst; pspoNewFirst = pspo; } // clear containr for future use re_atcTranslucentPolygons.Clear(); // return new list return pspoNewFirst; } ```
Walter Lund (born 31 January 1940) is a Norwegian chemist. He was born in Oslo. He took the cand.real. degree at the University of Oslo in 1965, and later the dr.philos. degree. He was hired at the university in 1966, and was promoted to professor in 1989. He has been a visiting scholar at the National Physical Laboratory, the Heyrovský Institute of Polarography and the Scripps Institution of Oceanography. His field is analytical chemistry, and he has been vice president of this particular field within the International Union of Pure and Applied Chemistry (IUPAC). He has also chaired the board of the Museum of Cultural History. He retired in 2010, and resides in Oslo and Cros-de-Cagnes. References 1940 births Living people Norwegian chemists University of Oslo alumni Academic staff of the University of Oslo
Steven Deon Hunter (born October 31, 1981) is American former professional basketball player. He is listed as a center. He most recently played for Dinamo Sassari. High school and college career Hunter played basketball at Proviso East High School, which has produced other NBA players such as Sherell Ford, Michael Finley, Jim Brewer, Doc Rivers, Dee Brown, Donnie Boyce, Reggie Jordan, Shannon Brown, Sterling Brown, and Jevon Carter. Hunter then played two years at DePaul University in Chicago, before declaring himself eligible for the 2001 NBA draft. Professional career As a rookie, Hunter set a then-career high points total with 17 points on December 5, 2001 in a 102–74 win over the Chicago Bulls. In 2002 during training camp with the Magic he suffered an anterior cruciate ligament injury and missed 49 games of the 2002–2003 NBA season. On April 24, 2005, then on the Phoenix Suns, Hunter scored a postseason career high 16 points, alongside grabbing 5 rebounds, in a 114–103 victory over the Memphis Grizzlies. Hunter and the Suns would ultimately make it to the Western Conference Finals before losing to the Spurs. In the 2005 offseason, he signed with the 76ers as a free agent. They traded him to the New Orleans Hornets on February 1, 2006 in exchange for two second-round draft picks in 2006 and 2007. On February 10, Philadelphia president Billy King announced that the Hornets rescinded the deal. On September 10, 2007, Hunter was traded with Bobby Jones by the 76ers to the Denver Nuggets for Reggie Evans and the draft rights to Ricky Sanchez. On August 7, 2009, the Nuggets traded Hunter and a lottery-protected 2010 first-round draft pick to the Memphis Grizzlies for a future second-round pick. Hunter's final NBA game was played on February 6, 2010 in a 102–109 loss to the Minnesota Timberwolves where he recorded 2 points and 1 rebound in 5 minutes of play. In October 2011 he signed with Dinamo Sassari in Italy. In 2014, Hunter would become the Phoenix Suns' ambassador throughout the community in Arizona. NBA career statistics Regular season |- | align="left" | | align="left" | Orlando | 53 || 21 || 9.7 || .456 || .000 || .585 || 1.8 || .1 || .1 || .8 || 3.6 |- | align="left" | | align="left" | Orlando | 33 || 5 || 13.5 || .544 || .000 || .409 || 2.8 || .2 || .3 || 1.1 || 3.9 |- | align="left" | | align="left" | Orlando | 59 || 23 || 13.4 || .529 || .000 || .333 || 2.9 || .2 || .1 || 1.2 || 3.2 |- | align="left" | | align="left" | Phoenix | 76 || 3 || 13.8 || .614 || .000 || .479 || 3.0 || .2 || .1 || 1.3 || 4.6 |- | align="left" | | align="left" | Philadelphia | 69 || 35 || 19.0 || .601 || .000 || .514 || 3.9 || .2 || .2 || 1.1 || 6.1 |- | align="left" | | align="left" | Philadelphia | 70 || 41 || 22.9 || .577 || .000 || .490 || 4.8 || .4 || .2 || 1.1 || 6.4 |- | align="left" | | align="left" | Denver | 19 || 2 || 6.3 || .536 || .000 || .450 || 1.5 || .0 || .0 || .3 || 2.1 |- | align="left" | | align="left" | Memphis | 21 || 0 || 7.5 || .395 || .000 || .528 || 2.0 || .0 || .0 || .5 || 2.5 |- class="sortbottom" | style="text-align:center;" colspan="2"| Career | 400 || 130 || 15.0 || .560 || .000 || .485 || 3.2 || .2 || .1 || 1.1 || 4.5 Playoffs |- | align="left" | 2003 | align="left" | Orlando | 7 || 0 || 5.7 || .300 || .000 || .000 || .4 || .1 || .0 || .4 || .9 |- | align="left" | 2005 | align="left" | Phoenix | 15 || 0 || 14.2 || .558 || .000 || .600 || 2.5 || .2 || .1 || 1.2 || 4.0 |- | align="left" | 2008 | align="left" | Denver | 2 || 0 || 2.5 || .000 || .000 || .000 || 1.0 || .0 || .0 || .0 || .0 |- class="sortbottom" | style="text-align:center;" colspan="2"| Career | 24 || 0 || 10.8 || .500 || .000 || .522 || 1.8 || .2 || .0 || .9 || 2.8 Notes External links NBA.com Profile 1981 births Living people African-American basketball players American expatriate basketball people in Italy American men's basketball players Basketball players from Chicago Centers (basketball) Denver Nuggets players DePaul Blue Demons men's basketball players Dinamo Sassari players Memphis Grizzlies players Orlando Magic draft picks Orlando Magic players Philadelphia 76ers players Phoenix Suns players Power forwards (basketball) 21st-century African-American sportspeople 20th-century African-American people
Abdolrasoul Dorri-Esfahani () is an Iranian-Canadian accountant. He serves as an advisor to the Central Bank of the Islamic Republic of Iran and has been formerly a board member in privately owned corporations Asia Insurance and Saman Bank. Involvement in nuclear talks Working under Hamid Baeidinejad, since late 2014 he was a member of Iranian team in the negotiations leading to the Joint Comprehensive Plan of Action. Espionage charge In August 2016, principlist media outlets reported that he is charged with espionage, however the news are not confirmed. Abbas Jafari Dolatabadi, Prosecutor-General of Tehran said on 16 August 2016 that a dual citizen “active in the field of the Iranian economy” suspected to be linked to the Secret Intelligence Service has been arrested and released on bail but “the charge against him has not been proven yet”. It has been claimed that he had been paid by both Britain and the United States. Bahram Ghassemi, spokesman for Iran's Foreign Ministry has denied allegations and on 24 August 2016 an interview (quickly deleted without explanation) was published with Dorri-Esfahani in which he claimed he was not arrested. In October 2017, Dorri-Esfahani was sentenced to five years of imprisonment for espionage. See also List of foreign nationals detained in Iran References Iranian accountants Iranian bankers Iranian nuclear negotiators Living people Year of birth missing (living people) People convicted of espionage in Iran Prisoners and detainees of Iran Iranian emigrants to Canada Canadian accountants People from Isfahan
Propotto is an extinct, monotypic genus of early strepsirrhine primate from the early Miocene of Kenya. It contains one described species, Propotto leakeyi. Although long considered a pteropodid fruit-eating bat after spending a brief sojourn as a prehistoric relative of lorises, recent research shows it to be an extinct relative of the aye-aye. Systematics Simpson (1967) described Propotto on the basis of mandibles from Early Miocene deposits in Kenya that he regarded as constituting an extinct relative of the extant potto, hence the genus meaning "before Potto". However, the lorisid classification of Propotto was questioned by Walker (1969), who argued that it represented a fruit bat of the family Pteropodidae, noting that the second premolar was smaller than those of lorises and that the mandibular corpus was also unlike those of lorisiforms in deepening anteriorly and having a deep masseteric fossa (Simpson accepted Walker's refutation of the lorisid placement of Propotto). Several authors accepted the chiropteran classification of Propotto (although Butler 1984 did note that Propotto has an enlarged anterior lower tooth that is relatively larger than the lower canines of pteropodid fruit bats); Butler (1984) placed Propotto in a new subfamily of Pteropodidae, Propottinae. In a paper published in 2018, the late Gregg Gunnell and his colleagues cast doubt on the pteropodid classification of Propotto, noting that features cited by Walker (1969) to exclude the genus from Lorisidae are also found in the Eocene strepsirrhine Plesiopithecus from the Fayum Depression, Egypt. For example, they pointed out that the laterally compressed and presumably highly procumbent lower anterior tooth excluded Propotto from Chiroptera and instead occurs in Plesiopithecus and the aye-aye. The results of the cladistic analysis of Gunnell et al. (2018) recovered Propotto as the most basal member of Chiromyiformes, supporting the hypothesis that lemurs migrated to Madagascar in two distinct waves from Africa, perhaps in the late Cenozoic. References Prehistoric strepsirrhines Prehistoric primate genera Miocene primates of Africa Fossil taxa described in 1967
```java /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * * Subject to the condition set forth below, permission is hereby granted to any * person obtaining a copy of this software, associated documentation and/or * data (collectively the "Software"), free of charge and under any and all * copyright rights in the Software, and any and all patent rights owned or * freely licensable by each licensor hereunder covering either (i) the * unmodified Software as contributed to or provided by such licensor, or (ii) * the Larger Works (as defined below), to deal in both * * (a) the Software, and * * (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if * one is included with the Software each a "Larger Work" to which the Software * is contributed by such licensors), * * without restriction, including without limitation the rights to copy, create * derivative works of, display, perform, and distribute the Software and make, * use, sell, offer for sale, import, export, have made, and have sold the * Software and the Larger Work(s), and to sublicense the foregoing rights on * either these or other terms. * * This license is subject to the following condition: * * The above copyright notice and either this complete permission notice or at a * minimum a reference to the UPL must be included in all copies or substantial * portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ /** * The GraalVM SDK package contains classes for GraalVM. * * @since 23.1 * @deprecated Do not use the sdk module. Use one of the newly split modules: nativeimage, polyglot, * collections or word instead. */ package org.graalvm.sdk; ```
Waveland is a city located in Hancock County, Mississippi, United States, on the Gulf of Mexico. It is part of the Gulfport–Biloxi, Mississippi Metropolitan Statistical Area. The city of Waveland was incorporated in 1972. As of the 2010 census, the city had a population of 6,435. Waveland was nearly destroyed by Hurricane Camille on August 17, 1969, and by Hurricane Katrina on August 29, 2005. The current mayor of Waveland is Jay Trapani. History Andrew Jackson once lived and owned land in Waveland on what is now known as Jackson Ridge. Much of Jackson Ridge later became Buccaneer State Park. The Silver Slipper Casino opened on November 9, 2006. Hurricane Camille On August 17, 1969, Hurricane Camille made landfall at the tip of Louisiana before continuing on shore at Waveland. The storm heavily damaged the areas south of the Louisville and Nashville Railroad. Recovery efforts went on for nearly a decade. The town later erected a plaque commemorating the efforts of the volunteers who committed time and resources towards rebuilding. Hurricane Katrina The city of Waveland was "ground zero" of Hurricane Katrina's landfall on August 29, 2005. The city received massive damage and is still in the process of recovering and rebuilding. South of the CSXT mainline, the area was almost completely destroyed. The rest of the city took heavy flooding. In a news report, state officials said Waveland took a harder hit from the wind and water than any other town along the Gulf Coast, and that the town was obliterated. Official reports stated that approximately 50 people died when Waveland was hit directly by the eyewall of Katrina and the storm surge. Hurricane Katrina came ashore during the high tide of 8:01am, +2.2 feet more. Hurricane Katrina damaged over 40 Mississippi libraries, gutting the Waveland Public Library, as a total loss, requiring a complete rebuild. Recovery A group of social activists seeking to better the lives of local residents, called the "Rainbow Family", arrived in Waveland soon after Hurricane Katrina. From early September to early December 2005, they ran the "New Waveland Cafe & Clinic" in the parking lot of Fred's Dept Store on Highway 90. The café provided free hot meals three times a day. The clinic was staffed by volunteer doctors and nurses from throughout the United States who saw over 5,000 patients during the duration, free of charge and dispensing free medications. Donations of medications and supplies came from a multitude of sources, with International Aid arranging the most donations. Waveland Elementary School, which has served public school students in Grades K-3 (Grades 4-5 attend Second Street Elementary in nearby Bay St. Louis), was heavily damaged by Katrina. The students attending the school were educated in portable classrooms for the beginning of the 2006–2007 school year, pending a permanent solution. The recovery of Waveland was due in part to the faith-based disaster recovery effort in and around the Waveland area. Shoreline Park Baptist Church in Waveland and Pastor Ed Murphy were vital to this effort, housing and feeding hundreds of missionaries from around the country for many years following Hurricane Katrina in what were referred to as "Pods for God". Shoreline Park Baptist Church directed the repair and, in some instances, the rebuilding of homes in the area for many years after the devastation. After the storm, the similarly named town of Wayland, Massachusetts saw the town was neglected compared to the New Orleans area which received more media coverage, and decided to adopt the town of Waveland. They started an organization called Wayland to Waveland which sent a tractor trailer full of essential supplies, rebuilt homes, and restored local parks. Even though Hurricane Katrina was many years ago, the two towns still share a bond. Geography Waveland is in southeastern Hancock County along the shore of Mississippi Sound, an embayment of the Gulf of Mexico. It is bordered to the north and northeast by the city of Bay St. Louis. U.S. Route 90 passes through the northern side of the city, leading east across the Bay of Saint Louis to Gulfport and west to New Orleans. Beach Boulevard (Mississippi Highway 606) passes along the shoreline, connecting Waveland with Buccaneer State Park and the communities of Lakeshore and Clermont Harbor. According to the U.S. Census Bureau, Waveland has a total area of , of which are land and , or 1.66%, are water. Demographics As of the 2020 United States census, there were 7,210 people, 2,642 households, and 1,683 families residing in the city. Education Most of Waveland is served by the Bay St. Louis-Waveland School District. Some portions are within the Hancock County School District. All of Hancock County is in the service area of Pearl River Community College. Notable people Johnny Dodds, jazz clarinetist Michael Grimm, singer; winner of season 5 of America's Got Talent Arthur Putnam, sculptor Bob Thorpe, former Major League Baseball right fielder References External links City of Waveland official website Mississippi's West Coast, official tourism site "Katrina town fights for survival", BBC report, December 2, 2005 The Giving Circle, Inc., carrying out Operation: Waveland, MS Mission to Mississippi, group started in Wayland, Massachusetts to help rebuild Waveland Coastal90 Waveland, local online paper for Waveland post-Katrina Cities in Mississippi Cities in Hancock County, Mississippi Gulfport–Biloxi metropolitan area Populated coastal places in Mississippi
Burkard Hillebrands (born 1957) is a German physicist and professor of physics. He is the leader of the magnetism research group in the Department of Physics at the Technische Universität Kaiserslautern. Academic career Burkard Hillebrands was born in 1957. He studied physics at the University of Cologne (1977–1982) and was awarded his PhD in 1986 at the University of Cologne under the supervision of Gernot Güntherodt. After a postdoctoral stay at the Optical Sciences Center in Tucson, Arizona he received his habilitation from the RWTH Aachen in 1993. He was employed as an associate professor at the University of Karlsruhe in 1994. In 1995 he accepted a full professor position at the Technische Universität Kaiserslautern. Between 2006 and 2014, he served as the Vice President for Research, Technology and Innovation of the Technische Universität Kaiserslautern. He is a member of the Academy of Science and Literature Mainz and since 2017 has been its vice president and chair of the Commission for Mathematics and Physical Sciences. Since 2018 he is member of the National Academy of Science and Engineering (acatech). Hillebrands was the Scientific Director and Chairman of the Executive Board of the Leibniz Institute for Solid State and Materials Research (IFW), Dresden for the period from July 2016 to March 2018. He serves or has served as either chairperson or vice-chairperson in various coordinated initiatives of the German Science Foundation and the European Community, such as the German priority programme “Ultrafast Magnetization Processes” (2002–2008, coordinator), the EU research training networks "Ultrafast Magnetization Processes in Advanced Devices (ULTRASWITCH)” (2002–2006), „Spin Current Induced Ultrafast Switching (SPINSWITCH)” (2004–2010, coordinator)“, the Japanese-German research unit “ASPIMATT: Advanced Spintronic Materials and Transport Phenomena” (2010–2015, vice-coordinator), and the transregional collaborative research center “Condensed Matter Systems with Variable Many-Body Interactions (SFB/TRR 49)” (2007–2019, vice-coordinator). From 2016, he also serves as vice-coordinator of the transregional collaborative research center SFB/TRR 173 named “Spin in its collective environment (Spin+X) of the German Research Foundation (Deutsche Forschungsgemeinschaft, DFG). He is a member of the State Research Center for Optics and Material Sciences (OPTIMAS) at TU Kaiserslautern. From 2015 to 2017, he was secretary of the C.9 Commission of the International Union of Pure and Applied Physics (IUPAP), and from 2018 to 2021 he was the C.9 Commission Chair. He is founding member of the European Magnetism Association since 2016 and was its president for the term 2019-2022. Awards and honours 2004: Fellow of Institute of Physics (Great Britain) 2005: IEEE Magnetics Society Distinguished Lecturer Award 2010: Fellow of the American Physical Society 2010: Fellow of the Institute of Electrical and Electronics Engineers 2010: Member of Academy of Science and Literature, Mainz 2016: ERC Advanced Grant 2018: Member National Academy of Science and Engineering (acatech) 2022: Member of the European Academy of Sciences (EURASC) 2023: Achievement Award of the IEEE Magnetics Society Research Hillebrands' research field is mostly in spintronics. His special interests are in spin dynamics and magnonics, material properties of thin magnetic films, heterostructures as well as multilayers nanostructures. In the field of spin dynamics and magnonics he is particularly interested in the properties of spin waves and their quanta, magnons, and their application to future information technologies. He is also interested in research on dynamic magnetic excitations in confined magnetic structures, linear and nonlinear spin wave propagation phenomena, magnon gases and condensates, magnon supercurrents, magnonic crystals and magnetic storage. A further focus of interest lies on spin transport phenomena, in particular on conversion processes between magnon, spin and charge currents (spin Hall effects, spin Seebeck effects). His particular technical interest lies in the development of space-, time- and phase resolved Brillouin light scattering spectroscopy and time resolved Kerr effect techniques. Publications Hillebrands has published more than 425 articles in peer-reviewed international scientific journals, five patents and patent applications, seven book contributions, and he is co-editor of the Springer TAP book series on Spin Dynamics in Confined Magnetic Structures. References External links Academic staff of the Technical University of Kaiserslautern Living people 1957 births 20th-century German physicists 20th-century German inventors German electrical engineers University of Cologne alumni 21st-century German physicists Fellows of the American Physical Society
The Red Hand (German: Die rote Hand) is a 1960 West German crime thriller film directed by Kurt Meisel and starring Paul Hubschmid, Hannes Messemer and Eleonora Rossi Drago. The film's sets were designed by the art directors Emil Hasler and Walter Kutz. The film is inspired by the La Main Rouge affair in Western Germany. Cast Paul Hubschmid as Johnny Zamaris Hannes Messemer as Mahora Khan Eleonora Rossi Drago as Violetta Scotoni Susanne von Almassy as Maria Gomez Rainer Brandt as Carnetti Fritz Rémond Jr. as Theaterdirektor Jif Willi Rose as Inspektor Auer Kurt Waitzmann as Inspektor Wolff Klaus Becker as Rolando Toni Herbert as Attermann Erich Fiedler as Attaché Bertrand Harald Maresch as Grieche Edith Schollwer as Frau Hasselbütt Almut Berg as Rosl Edgar O. Faiss as Popoff Eva Schreiber as Anni References Bibliography Bock, Hans-Michael & Bergfelder, Tim. The Concise CineGraph. Encyclopedia of German Cinema. Berghahn Books, 2009. External links 1960 films 1960 crime drama films 1960s spy drama films German crime drama films German spy drama films West German films 1960s German-language films Films directed by Kurt Meisel Films about arms trafficking Constantin Film films 1960s German films
Dose Your Dreams is the fifth studio album by Canadian hardcore punk band Fucked Up. The album was released on October 5, 2018 through Merge Records. The four-year gap between the album and their 2014 album, Glass Boys, marked the longest gap in studio albums in the band's history. This was the band's last album with guitarist Ben Cook before his departure in 2021. Accolades The album was shortlisted for the Juno Award for Alternative Album of the Year at the Juno Awards of 2019. Critical reception Dose Your Dreams received critical acclaim upon its release. On Metacritic, a review aggregate website, contemporary music critics gave Dose Your Dreams an average score of 83 out of 100, indicating "universal acclaim" based on 23 critic scores. On review aggregator AnyDecentMusic?, the album received a score of 8.2 out of 10 based on 22 reviews. Track listing Personnel Fucked Up Damian Abraham - lead vocals (tracks 1–10, 14, 15, 18) Ben Cook - lead vocals (15) Mike Haliechuk - guitar, production (all tracks), bass guitar (1, 2, 8), keyboards (5, 6, 11, 12, 16–18), lead vocals (8, 13), additional vocals (4, 10, 11, 15) Sandy Miranda - bass guitar (3–7, 9–11, 13, 16, 18), bass engineering (3–7, 9, 10, 13, 16, 18) Jonah Falco - guitar, drums, synthesizer programming, drum programming; piano (1, 16, 18), lead vocals (12, 17), additional vocals (2–4, 6, 9, 10, 13), vocal engineering (2–6, 9, 10, 12, 13, 17), production (2–4, 9, 12, 15–18) Additional musicians Amy Gottung – additional vocals (1, 4–6, 10) Jen Calleja – additional vocals (2, 3) Jane Fair – saxophone (1, 2, 4, 9, 10) Yoobin Ahn – violin (1) John Southworth – additional vocals (4, 10) Ruby Mariani – additional vocals (5) Owen Pallett – viola, viola arrangement (7, 8, 18) Ayo Leilani – additional vocals (8) Ryan Tong – lead vocals (14) Jennifer Castle – lead vocals (16) Miya Folick – lead vocals (18) J Mascis – additional vocals (16) Jeremy Gaudet – additional vocals (16) Mary Margaret O'Hara – additional vocals (18) Lido Pimienta – additional vocals (18) Technical Greg Calbi – mastering Shane Stoneback – mixing (1–3, 6–10, 13, 18) Leon Taheny – mixing (4, 11) Matty Tavares – mixing (5) Alex Gamble – mixing (12, 16, 17), engineering (all tracks) Orphx – mixing (14) Graham Walsh – mixing (15) Bill Skibbe – guitar engineering (11) Visuals Eric Kostiuk Williams – cover art Kevin McCaughey – additional art, design Daniel Murphy – additional art, design Charting References External links Dose Your Dreams at Genius Dose Your Dreams at Merge Records 2018 albums Fucked Up albums Merge Records albums
The Battle of Cepeda of 1820 took place on February 1 in Cañada de Cepeda, Buenos Aires Province, Argentina. The conflict was the first major battle that saw Unitarians and Federals as two constituted sides. It ended with the defeat of the national government. Federal League Provinces of Santa Fe, Entre Ríos and José Miguel Carrera joined forces to topple the 1819 centralist Constitution and the Directorial government of the United Provinces of the Río de la Plata. Both provincial leaders, Estanislao López and Francisco Ramírez, were allies of José Gervasio Artigas. Supreme Director José Rondeau called back the Armies that were fighting the Argentine War of Independence to fight the Federals. The Army of the Andes, commanded by José de San Martín refused to abandon the offensive against the royalists in Chile and Peru. The Army of the North, commanded by Manuel Belgrano, mutinied at Arequito, as the troops and the officiality refused to fight a civil war, and asked instead to go back to the northern frontier to fight the royalists. Rondeau's forces were defeated in the battle. Consequences The complete victory of the Federal forces over a diminished Directorial army led to the end of the central authority established by the 1819 Constitution through the Supreme Director, and laid the foundations for a rather new Federal organization for Argentina, as the Provinces of Santa Fe, Entre Ríos and Buenos Aires signed the Treaty of Pilar on February 23. Some provisions included in the Treaty on behalf of Buenos Aires, proved unacceptable to Artigas (styled "Protector of the League of the Free Peoples", who was exiled in Entre Ríos following his defeat to the Brazilian Empire invasion of the Banda Oriental), so he ordered both López and Ramírez to renounce it. But, in one of the most important turns of Argentine history, however, both caudillos turned themselves against their former inspirational leader and Ramírez battled against him, destroying the remnants of his army and pushing him forward to exile in Paraguay. Then, Ramírez took on seriously his own chances as hegemonic leader, so he declared the Republic of Entre Ríos on September 29, 1820, but the experiment would barely live as long as Ramírez himself. On July 10, 1821, he was assassinated by the forces of his former ally Estanislao López, who fought this time alongside Buenos Aires and Corrientes Provinces, fearful of Ramírez' aspirations. The battle in 1820 initiated the so-called caudillo era. The battle would later be followed by a second Battle of Cepeda (1859), which involved clashes between the Unitarian and the Federalist forces, ending with the annexation of Buenos Aires into the union. See also History of Argentina United Provinces of the Río de la Plata Supreme Director of the United Provinces of the Río de la Plata Liga Federal References Cepeda (1820) 1820 in Argentina Conflicts in 1820 February 1820 events History of Buenos Aires Province
Yanaz is a village in the Bartın District, Bartın Province, Turkey. Its population is 725 (2021). Geography Village distance is 15 km from the centre of Bartın. The economy of the village is generally based on agriculture and cattle-breeding. Population References Villages in Bartın District
```javascript Function declarations vs function expressions Function constructor vs. function declaration vs. function expression Functions can be declared after use Anonymous functions Get query/url variables ```
Songs We Sing is an album by singer/songwriter Matt Costa. It was originally released on July 26, 2005, and then re-released with a new track list by Brushfire Records on March 28, 2006. 2005 independent release Songs We Sing was originally released independently by Venerable Media in 2005 and offered a slightly different track list than the Brushfire Records version. This version of the album is currently unavailable. For a time it was available at CD Baby, but they have now permanently sold out. Songs from this release that were not re-released on the Brushfire Records version include: "Desire's Only Fling", "Whiskey & Wine", and "Shimmering Fields". Track listing 2006 Brushfire Records release Songs We Sing was re-released in 2006 by Brushfire Records, owned by fellow musician Jack Johnson and his wife. The album featured new songs and a different track list. Songs from this release that were not on the 2005 release include; "These Arms", "I Tried", "Ballad of Miss Kate", and "Sweet Thursday". Some European releases include "Lullaby" as a bonus track. This song, along with the other four mentioned above, were previously released on The Elasmosaurus EP. Revised track listing Personnel Matt Costa – vocals, electric guitar, acoustic guitar, bass, piano Additional personnel Andrew Alekel – engineering, mixing on tracks 3 and 10 Brent Arnold – cello on track 13 Robert Carranza – production on "Lullaby", engineering on "Lullaby", mixing on "Lullaby" Dave Collins – mastering on all tracks Tom Dumont – electric guitar on track 1, bass on track 5, production on all tracks Phil Ek – engineering, mixing on tracks 1, 2, 4, 5, 6, 7, 8, 9, 11, 12 and 13 Jack Johnson – vocals on "Lullaby", guitar on "Lullaby", ukulele on "Lullaby", production on "Lullaby" Jen Kozel – violin on track 13 Ted Matson – piano on tracks 5 and 10, engineering Gabrial McNair – harpsichord on track 2 Bob Thompson – bass on tracks 1 and 3 Mitchell Townsend – electric guitar on tracks 1, 3, 5 and 6, bass on tracks 6 and 11, lap steel guitar on track 9 Cameron Webb – engineering Adrian Young – drums on track 11 Adam Zuckert – drums on tracks 1, 3, 5, 6, 7, 8 and 12 References 2005 albums Matt Costa albums
Wilford Horace Smith (April 1863 - June 9, 1926) was an American lawyer who specialized in constitutional law. He was the first African-American lawyer to win a case before the Supreme Court of the United States, Carter v. Texas. Historian R. Volney Smith called him "the best lawyer" arguing against southern laws disenfranchising African Americans in the Jim Crow era, "unassuming, ambitious, and brilliant." Biography Smith was born in April 1863 in Mississippi. His father was from Virginia and his mother from Kentucky. He attended Boston University School of Law and graduated in 1883. He married in 1895, and around the same year moved to Galveston, Texas to practice law. He moved to Manhattan, New York City by 1910. He died on June 9, 1926, in Manhattan, New York City. Writings Carter v. Texas (1900) The Negro and the Law (1903) "Is the Negro Disfranchised?", The Outlook, April 29, 1905, pp. 1047-1048 The Negro's Right to Jury Representation (c. 1909) References 1863 births 1926 deaths American civil rights activists Boston University School of Law alumni 19th-century American lawyers 20th-century American lawyers African-American activists Activists from Mississippi 20th-century African-American lawyers
Sadiq Mousa (born 20 October 1959) is a former Iraqi football forward. He competed in the men's tournament at the 1984 Summer Olympics. Mousa played for Iraq between 1984 and 1987. References 1959 births Living people Iraqi men's footballers Iraq men's international footballers Olympic footballers for Iraq Footballers at the 1984 Summer Olympics Place of birth missing (living people) Men's association football forwards Men's association football midfielders
Falmouth Historic District is a national historic district located at Falmouth, Stafford County, Virginia. The district includes 29 contributing buildings in the historic core of the town of Falmouth. Notable buildings include Basil Gordon Warehouse, Customs House, the Double House, Highway Assembly of God Church, old Post Office, Calvary Pentecostal Tabernacle, the Tavern, Tavern Keeper's House, Union Methodist Church, Master Hobby School, and the Counting House. Located in the district are the separately listed Gari Melchers Home, Carlton, Clearview and Conway House. It was listed on the National Register of Historic Places in 1970. Gallery References External links Fredericksburg, Stafford, Spotsylvania Historical Markers: Historic Falmouth E-47 Buildings and structures in Stafford County, Virginia Historic districts in Northern Virginia Historic districts on the National Register of Historic Places in Virginia National Register of Historic Places in Stafford County, Virginia Federal architecture in Virginia
Enonkoski () is a municipality of Finland. It is encircled by the city of Savonlinna in the Southern Savonia region. It is the smallest municipality in Southern Savonia in terms of population. History Enonkoski was founded in 1882. Before that it was part of Kerimäki and Heinävesi. The major reason for the foundation of independent parish of Enonkoski happened in 1858. Enonkoski did not have its own church, and on Sundays people had to row to the church to Kerimäki, a parish Enonkoski was part of that time. In 1858 there was a church boat accident in the lake Ylä-Enonvesi, which led to the death of eight people. After that, a Russian businessman and a leader of an Enonkoski glass factory and a sawmill decided to build a church in Enonkoski. He is alleged to have said: "the people in Enonkoski do not anymore have to drown on their trips to the church". The wooden church was built in the next year but it was destroyed in a fire caused by lightning in 1884. A new church made of wood, which is still in use, was built in 1886. Languages The municipality is unilingually Finnish. There also is a Russian speaking minority. Religion The majority of the people living in Enonkoski are Evangelical Lutheran. There is a church in the centre of Enonkoski, built in 1886. The only Evangelical Lutheran monastery in Finland, the Monastic Protestant Community in Enonkoski, is located in Enonkoski. Transport Enonkoski has one main road which leads to Savonlinna, away. It also has other roads which lead to the small dock neighborhood called Hyypiänniemi and to another area known as Hanhivirta. Amenities Enonkoski is a very small town, with two small supermarkets, a gas station, a gift shop, several bakeries and cafés and a bar. It also has a retirement home called Iltasatu, which translates to bedtime story. Towards the edge of the town, near a fire station, there is a running track with a well-kept field (usually used for association football) in the middle. In addition, there is a school which has an ice skating rink, used in the winter, and an indoor sports arena. Adjacent to the school is a library built in 1992. Enonkoski houses a rehab facility. Industry The largest business in the town is a fish research plant where they raise fish in a controlled environment and then release them into the lakes which are abundant in the area. Sport Enonkoski has a juniors and senior volleyball team Enonkosken Pyrintö playing in the second highest tier of men's volleyball in Finland. Football club Karvilan Kivekkäät has a couple of youth teams and a women's team that won the regional championship in 2009. There is also a cross country track used for cross-country skiing in winter and jogging in summer. Participation in the yearly skiing competitions is very high. Orienteering is also quite popular sport. The sports club for athletics, skiing and orienteering is called Enonkosken Urheilijat. Notable people Antti Loikkanen (1955) is a Finnish former middle-distance and endurance runner (European indoor champion 1978) Villages Hanhijärvi, Ihamaniemi, Joutsenmäki, Karvila, Laasala, Makkola, Muhola, Paakkunala, Parkumäki, Simanala, Suurimäki and Vuorikoski are villages in Enonkoski. Border changes In 2009 the neighbouring municipalities of Enonkoski, Savonranta and the city of Savonlinna, unified as a one municipality. According to the law of Finland, the unifying municipalities must have a land connection between them, which Savoninna and Savonranta did not have. Because of that a land strip of was taken off from the area of Enonkoski municipality to connect the parts together. After Kerimäki and Punkaharju were consolidated with the town of Savonlinna on 1 January 2013, Enonkoski became completely surrounded by the emerging city. References External links Municipality of Enonkoski – Official website Populated places established in 1882
Lucky Pierre is a new wave band, founded in Cleveland in 1974 by singer-songwriter, guitarist and the only constant member, Kevin McMahon. The initial line-up of the band included McMahon on vocals, John Guardico on guitar, Dennis DeVito on bass and Brian Dempsey on drums. The band has released a string of singles in between the late 1970s and early 1980s, before entering to a hiatus and reforming in 1988, with guitarist Rick Christyson and keyboardist Trent Reznor, the founder of the industrial rock act Nine Inch Nails. In 2004, McMahon reformed Lucky Pierre as a solo project to release its debut album, ThinKing. History The band started as Lakewood native Kevin McMahon's solo project. He started recording demos in 1974, while his brother, Brian McMahon, was a member of the protopunk band Electric Eels. The first line-up of the band as an act included John Guardico on guitar, Denis DeVito on bass and Brian Dempsey on drums. The band started performing in 1976 during the early new wave scene, which included the likes of Elvis Costello, Squeeze, Hammer Damage, Chi-Pig, and Devo. The band was also associated with Pere Ubu, a band which they performed with. Nevertheless, the band struggled to find venues for most of the time, as the band played McMahon's own compositions. After three years, Dempsey left the band to pursue other interests. Gary Shay briefly joined the band as a drummer and the band released "Fans & Cameras"/"Idlewood" single, on their own record label Unadultered Records, which sold more than a thousand copies. Shay left the band soon after and Dempsey was asked to return. The band now consisted of McMahon, Dempsey, Guardico, DeVito and Tom Lash who was brought in on bass plus Tom Miller on Keyboards. DeVito switched to rhythm guitar after the addition of bassist Tom Lash, who was a music director at WCSB, the college radio station of Cleveland State University. He played the band's demo on the station, which helped their music to be exposed to a receptive audience. This version of the band played out for about a year mostly at The Coach House in Cleveland Hts and its old stomping grounds, The Pirate's Cove. It disbanded after McMahon came into a rehearsal stating he was moving to California and that the band could either stay together and rehearse in case something happened (a contract) or do whatever they wanted but that he could no longer live in a city where no one appreciated his music. McMahon left town and the band members decided to go their separate ways. Some time passed and McMahon returned to Cleveland. By this time John Guardico was living in California and Dempsey was playing in several projects, The band reformed with DeVito on lead guitar, Lash on bass, McMahon and newcomer Dave Zima on drums. This was followed by "Into My Arms", which featured a b-side "Match", which was recorded live on July 16, 1980 at the band's only WMMS Coffee Break Concert. The group then added the keyboardist Tom Miller to its line-up. After releasing the third single, "Stetson's"/"Once A Child", in 1981, the band opened for the Plasmatics at Cleveland Agora. The gig ended harshly, with Plasmatics lead singer Wendy O. Williams being arrested for indecent exposure. The band also opened for Peter Frampton at the Public Auditorium in Cleveland in 1982. Following this performance, DeVito left the band, leaving the guitar duties to McMahon and the new band member Tom Sheridan. The band remained active until 1984; soon McMahon moved to San Francisco, leaving the band inactive for four years. In 1988, McMahon returned to Cleveland to reform Lucky Pierre. The new line-up featured previous members Lash and Zima, as well as guitarist Rick Christyson and keyboardist Trent Reznor of Exotic Birds and The Innocent, who would be known for his future music act, Nine Inch Nails. The band recorded one EP Comminuque, which featured a guest appearance by the past member John Guardico, at the same year. Trent Reznor performed with the band for six months, before being immersed in the recording of Nine Inch Nails' debut album, Pretty Hate Machine. He left the band in 1989 to concentrate on it and the band's manager, John Malm Jr. started to manage Nine Inch Nails. In 1990, the band officially disbanded after a final gig. After Lucky Pierre, McMahon formed the industrial rock band, Prick, featuring guitarist Chris Schleyer and Stabbing Westward drummer and Exotic Birds frontman Andy Kubiszewski. The band signed to Trent Reznor's own vanity record label, Nothing Records and released a self-titled album, produced by Reznor. The band was then dropped by Nothing's parent label, Interscope Records and released its second album The Wreckard independently in 2002. In 2004, McMahon reformed Lucky Pierre as a sole member and released its debut album, ThinKing, via his own record label Lucky Pierre Music. Members Current members Kevin McMahon – vocals, guitar, bass, drums, keyboards (1974–1984, 1988–1990, 2004–present) Past members John Guardico – guitar (1974–1979) Brian Dempsey – drums (1974–1979) Denis DeVito – guitar (1977–1982); bass (1975–1977) Gary Shay – drums (1978) Tom Lash – bass (1978–1984, 1988–1990) Dave Zima – drums (1979–1984, 1988–1990) Tom Miller – keyboards (1978–1984) Trent Reznor – keyboards, saxophone, backing vocals (1988–1989) Rick Christyson – guitar (1988–1990) Discography Studio albums ThinKing (2004, Lucky Pierre Music) EPs Communiqué (1988, Banana Records) Singles "Fans & Cameras" / "Idlewood" (1979, Unadulterated Records) "Into My Arms" / "Match" (1980, Unadulterated Records) "Stetson's" / "Once A Child" (1981, Unadulterated Records) Cool Summer Night" / "Chilly Willy" (1983, Unadulterated Records) "Communiqué" (1984, Unadulterated Records) "Muchacha Latina Today" / "Birdman" (1984, Banana Records) Compilation albums Lucky Pierre (2009, Lucky Pierre Music) Music videos "Attitude" (2009) "Fire on the Red Line" (2012) References External links Musical groups established in 1974 Musical groups disestablished in 1984 Musical groups reestablished in 1988 Musical groups disestablished in 1990 Musical groups reestablished in 2004 American new wave musical groups American post-punk music groups Alternative rock groups from Ohio Musical groups from Cleveland Trent Reznor
In mathematical analysis, Heine's identity, named after Heinrich Eduard Heine is a Fourier expansion of a reciprocal square root which Heine presented as where is a Legendre function of the second kind, which has degree, m − , a half-integer, and argument, z, real and greater than one. This expression can be generalized for arbitrary half-integer powers as follows where is the Gamma function. References Special functions Mathematical identities
Giovanni Jona-Lasinio (born 1932), sometimes called Gianni Jona, is an Italian theoretical physicist, best known for his works on quantum field theory and statistical mechanics. He pioneered research concerning spontaneous symmetry breaking, and the Nambu–Jona-Lasinio model is named after him. When Yoichiro Nambu received the Nobel Prize, Jona-Lasinio gave the Nobel Lecture in his place, as a recognition from Nambu for their joint work. At present, he holds a faculty position in the Physics Department of Sapienza University of Rome, and is a full member of the Accademia dei Lincei. Life Giovanni Jona-Lasinio was born in Florence, Jewish on his father's side. From 1970 to 1974 he taught electrodynamics at University of Padua. Since 1974 he has been full professor at Sapienza University of Rome, where he teaches mathematical methods of physics. He spent several years abroad, doing his research also at University of Chicago (1959–60), CERN (1964–65), MIT (1965–66), Institut des Hautes Études Scientifiques (1980–81), Université Pierre et Marie Curie (1983–84). In 2004, the Journal of Statistical Physics, a scientific magazine about statistical mechanics, dedicated a special issue in honour of Giovanni Jona-Lasinio. Nobel Prize controversy Half of the 2008 Nobel Prize for physics went to Yoichiro Nambu for the discovery of the mechanism of spontaneous broken symmetry in subatomic physics. The fundamental step in this field is the Nambu–Jona-Lasinio model (NJL model), developed together with Jona-Lasinio, who was left out of the prize. In recognition of his colleague's work, Nambu asked Jona-Lasinio to hold the Nobel Lecture at Stockholm University in his place. The other half of the 2008 prize for physics was awarded to Makoto Kobayashi and Toshihide Maskawa for their 1972 work on quark mixing. The resulting quark mixing matrix is known as CKM matrix, after Nicola Cabibbo, Kobayashi, and Maskawa. Like Jona-Lasinio, Cabibbo arguably would have deserved a share of the award. As the Nobel Prize is awarded each year to at most three people for no more than two different research works, in 2008 the committee was forced to skip one member each from both the CKM and the NJL workgroups (incidentally, both of them Italian). Awards 2006: Feltrinelli Prize of the Accademia dei Lincei. 2012: Dannie Heineman Prize for Mathematical Physics of the American Physical Society. 2013: Boltzmann Medal for his contributions to statistical physics, notably phase transitions and the breaking of a continuous symmetry. See also A biography in Italian The April 2004 issue (Volume 115, Numbers 1-2) of Journal of Statistical Physics in honor of Giovanni Jona-Lasinio A picture of Giovanni Jona-Lasinio Effective action Kenneth Geddes Wilson Nambu-Jona-Lasinio model External links 1932 births Living people Scientists from Florence University of Chicago people Massachusetts Institute of Technology people 20th-century Italian physicists Academic staff of the Sapienza University of Rome Theoretical physicists 20th-century Italian Jews Sapienza University of Rome alumni People associated with CERN Jewish Italian scientists Statistical physicists
```javascript import 'vtk.js/Sources/favicon'; // Load the rendering pieces we want to use (for both WebGL and WebGPU) import 'vtk.js/Sources/Rendering/Profiles/Geometry'; import vtkActor from 'vtk.js/Sources/Rendering/Core/Actor'; import vtkFullScreenRenderWindow from 'vtk.js/Sources/Rendering/Misc/FullScreenRenderWindow'; import vtkMapper from 'vtk.js/Sources/Rendering/Core/Mapper'; import vtkSTLReader from 'vtk.js/Sources/IO/Geometry/STLReader'; // your_sha256_hash------------ // Example code // your_sha256_hash------------ const reader = vtkSTLReader.newInstance(); const mapper = vtkMapper.newInstance({ scalarVisibility: false }); const actor = vtkActor.newInstance(); actor.setMapper(mapper); mapper.setInputConnection(reader.getOutputPort()); // your_sha256_hash------------ function update() { const fullScreenRenderer = vtkFullScreenRenderWindow.newInstance(); const renderer = fullScreenRenderer.getRenderer(); const renderWindow = fullScreenRenderer.getRenderWindow(); const resetCamera = renderer.resetCamera; const render = renderWindow.render; renderer.addActor(actor); resetCamera(); render(); } // your_sha256_hash------------ // Use a file reader to load a local file // your_sha256_hash------------ const myContainer = document.querySelector('body'); const fileContainer = document.createElement('div'); fileContainer.innerHTML = '<input type="file" class="file"/>'; myContainer.appendChild(fileContainer); const fileInput = fileContainer.querySelector('input'); function handleFile(event) { event.preventDefault(); const dataTransfer = event.dataTransfer; const files = event.target.files || dataTransfer.files; if (files.length === 1) { myContainer.removeChild(fileContainer); const fileReader = new FileReader(); fileReader.onload = function onLoad(e) { reader.parseAsArrayBuffer(fileReader.result); update(); }; fileReader.readAsArrayBuffer(files[0]); } } fileInput.addEventListener('change', handleFile); // your_sha256_hash------------ // Use the reader to download a file // your_sha256_hash------------ // reader.setUrl(`${__BASE_PATH__}/data/stl/segmentation.stl`, { binary: true }).then(update); ```
Jessi Colter Sings Songs for Kids: Songs from Around the World is the 10th studio album by American country artist Jessi Colter, released in 1996 on Peter Pan Records, her first and only album of Children's music, and first studio album in 12 years. Her next album of new material, Out of the Ashes, would not be released until 2006. Background Colter had previously been known as a country music artist, primarily popular in the 1970s and 1980s. She focused her career towards her first children's album in 1996. Colter starred in her own home video for the project, with a guest appearance from husband and country artist, Waylon Jennings, who recited some of his poetry for the first time. The album consisted of twenty one tracks of children's music from different parts of the world, including Europe and Latin America. The album would later be re-released by the album's label in 2000, retitled as Around the World. Track listing "I'd Like to Sing with Kids" — 1:20 "La Cucaracha" — 1:30 "Old King Cole" — 2:00 "I'd Like to Teach the World to Sing (In Perfect Harmony)" — 1:44 "A Mouse Lived In A Windmill in Old Amsterdam" — 1:57 "The La La Song" — 2:37 "Octopus's Garden" — 2:33 "Mary Ann" — 2:10 (West Indies folk tune) "Frère Jacques" — 0:44 "Babushka Baio" — 0:25 (Russian lullaby) "Too-Ra-Loo-Ra-Loo-Ra (That's an Irish Lullaby)" — 2:36 "Twinkle, Twinkle Little Star" — 1:01 "This Land is Your Land" — 2:18 "Choo Choo Ba" — 1:33 "London Bridge" — 0:54 "Did You Ever See a Lassie" — 0:55 "Jasmine Flower" — 1:04 (Chinese folk tune) "Bubbles and Bubbles" — 1:12 "Finiculi, Finicula" — 0:53 "He's Got the Whole World in His Hands" — 1:50 "Aloha Oe" — 1:17 Personnel Jessi Colter — keyboards, lead vocals David Hummer — development Eric Lewandoski — creative director, design Waylon Jennings — guitar, vocals Donald Kasen — executive producer References 1996 albums Jessi Colter albums
Acestridium colombiense is a species of armored catfish endemic to Colombia. It is only known from the Inírida River, Guainía Department in the east of Colombia. Like all Acestridium species, this is a very slender and elongated fish. Specimens of up to SL have been recorded. It can most readily distinguished from its congeners by its rather homogenous brown coloration (as opposed to having striped markings) and the very low number of jaw teeth. References Hypoptopomatini Fish of South America Freshwater fish of Colombia Taxa named by Michael Eugene Retzer Fish described in 2005
Jakob Benjamin Fischer (13 October 1731 – 25 July 1793) was a Baltic German naturalist and apothecary. Life and work Jakob Benjamin Fischer was born in Riga and studied to become an apothecary there. Between 1756 and 1758, he studied natural sciences, physics and chemistry in Copenhagen and in 1761 he went to Uppsala and studied botany and zoology under Carl von Linné. He then moved back to Riga and run a pharmacy in the city. He also engaged in studies of the natural environment of present-day Latvia, and produced several works on the nature of Latvia in which he also referred to the native Latvian names of plants and animals. The most important of his works, Versuch einer Naturgeschichte von Liefland, is one of the earliest descriptions of the nature of Livonia. References 1731 births 1793 deaths Baltic-German people
```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 */ // This file is autogenerated by // incubator-weex/weex_core/Source/android/jniprebuild/jni_generator.py // For // org/apache/weex/base/SystemMessageHandler #ifndef com_taobao_weex_base_SystemMessageHandler_JNI #define com_taobao_weex_base_SystemMessageHandler_JNI #include <jni.h> #include "base/android/jni/android_jni.h" // Step 1: forward declarations. namespace { const char kSystemMessageHandlerClassPath[] = "org/apache/weex/base/SystemMessageHandler"; // Leaking this jclass as we cannot use LazyInstance from some threads. jclass g_SystemMessageHandler_clazz = NULL; #define SystemMessageHandler_clazz(env) g_SystemMessageHandler_clazz } // namespace static void RunWork(JNIEnv* env, jobject jcaller, jlong delegateNative); // Step 2: method stubs. static intptr_t g_SystemMessageHandler_create = 0; static base::android::ScopedLocalJavaRef<jobject> Java_SystemMessageHandler_create(JNIEnv* env, jlong messagePumpDelegateNative) { /* Must call RegisterNativesImpl() */ //CHECK_CLAZZ(env, SystemMessageHandler_clazz(env), // SystemMessageHandler_clazz(env), NULL); jmethodID method_id = base::android::GetMethod( env, SystemMessageHandler_clazz(env), base::android::STATIC_METHOD, "create", "(" "J" ")" "Lorg/apache/weex/base/SystemMessageHandler;", &g_SystemMessageHandler_create); jobject ret = env->CallStaticObjectMethod(SystemMessageHandler_clazz(env), method_id, messagePumpDelegateNative); base::android::CheckException(env); return base::android::ScopedLocalJavaRef<jobject>(env, ret); } static intptr_t g_SystemMessageHandler_scheduleWork = 0; static void Java_SystemMessageHandler_scheduleWork(JNIEnv* env, jobject obj) { /* Must call RegisterNativesImpl() */ //CHECK_CLAZZ(env, obj, // SystemMessageHandler_clazz(env)); jmethodID method_id = base::android::GetMethod( env, SystemMessageHandler_clazz(env), base::android::INSTANCE_METHOD, "scheduleWork", "(" ")" "V", &g_SystemMessageHandler_scheduleWork); env->CallVoidMethod(obj, method_id); base::android::CheckException(env); } static intptr_t g_SystemMessageHandler_scheduleDelayedWork = 0; static void Java_SystemMessageHandler_scheduleDelayedWork(JNIEnv* env, jobject obj, jlong delayMillis) { /* Must call RegisterNativesImpl() */ //CHECK_CLAZZ(env, obj, // SystemMessageHandler_clazz(env)); jmethodID method_id = base::android::GetMethod( env, SystemMessageHandler_clazz(env), base::android::INSTANCE_METHOD, "scheduleDelayedWork", "(" "J" ")" "V", &g_SystemMessageHandler_scheduleDelayedWork); env->CallVoidMethod(obj, method_id, delayMillis); base::android::CheckException(env); } static intptr_t g_SystemMessageHandler_stop = 0; static void Java_SystemMessageHandler_stop(JNIEnv* env, jobject obj) { /* Must call RegisterNativesImpl() */ //CHECK_CLAZZ(env, obj, // SystemMessageHandler_clazz(env)); jmethodID method_id = base::android::GetMethod( env, SystemMessageHandler_clazz(env), base::android::INSTANCE_METHOD, "stop", "(" ")" "V", &g_SystemMessageHandler_stop); env->CallVoidMethod(obj, method_id); base::android::CheckException(env); } // Step 3: RegisterNatives. static const JNINativeMethod kMethodsSystemMessageHandler[] = { { "nativeRunWork", "(" "J" ")" "V", reinterpret_cast<void*>(RunWork) }, }; static bool RegisterNativesImpl(JNIEnv* env) { g_SystemMessageHandler_clazz = reinterpret_cast<jclass>(env->NewGlobalRef( base::android::GetClass(env, kSystemMessageHandlerClassPath).Get())); const int kMethodsSystemMessageHandlerSize = sizeof(kMethodsSystemMessageHandler)/sizeof(kMethodsSystemMessageHandler[0]); if (env->RegisterNatives(SystemMessageHandler_clazz(env), kMethodsSystemMessageHandler, kMethodsSystemMessageHandlerSize) < 0) { //jni_generator::HandleRegistrationError( // env, SystemMessageHandler_clazz(env), __FILE__); return false; } return true; } #endif // com_taobao_weex_base_SystemMessageHandler_JNI ```
Kevin Matthew Burgess (born 8 January 1987) is an English footballer who plays as a centre back for Marske United of the Northern Premier League Premier Division. He appeared in the Football League for Darlington in 2007. Life and career Burgess was born in Middlesbrough, and began his football career as a youngster with Middlesbrough F.C. He joined Darlington in January 2007, and after impressing in the reserves, made his debut on the final day of the season, as a second-half substitute in a 5–0 defeat at home to Stockport County. His contract was extended for another season, and he was given a squad number, but his only first-team appearance was as a substitute in the FA Cup, and he spent the last few weeks of the season on loan to Northern Premier League Premier Division club Whitby Town. On his release from Darlington, he was promptly signed up by that club's former Quakers' defender Phil Brumwell for the 2008–09 season. Burgess rejoined Darlington from Whitby Town prior to the 2015–16 season, and was appointed captain when Gary Brown joined Shildon. Burgess kept the captaincy when Brown returned early in the season, and they formed a strong defence together which helped Darlington become Northern Premier League champions, thus earning promotion to the Conference North. He was made available for transfer in September 2017, and returned to Whitby Town in December on a month's loan. Darlington cancelled Burgess's contract in June 2018 and he signed for Scarborough Athletic of the Northern Premier League Premier Division. In June 2019, Burgess joined Marske United. Notes References External links 1987 births Living people Footballers from Middlesbrough English men's footballers Men's association football defenders Middlesbrough F.C. players Darlington F.C. players Whitby Town F.C. players Scarborough Athletic F.C. players Marske United F.C. players English Football League players Northern Premier League players National League (English football) players
The 2008 NCAA Division I softball season, play of college softball in the United States organized by the National Collegiate Athletic Association (NCAA) at the Division I level, began in February 2008. The season progressed through the regular season, many conference tournaments and championship series, and concluded with the 2008 NCAA Division I softball tournament and 2008 Women's College World Series. The Women's College World Series, consisting of the eight remaining teams in the NCAA Tournament and held in held in Oklahoma City at ASA Hall of Fame Stadium, ended on June 2, 2008. Conference standings Women's College World Series The 2008 NCAA Women's College World Series took place from May 29 to June 2, 2008 in Oklahoma City. Season leaders Batting Batting average: .480 – Nichole Alvarez, Monmouth Hawks RBIs: 79 – Charlotte Morgan, Alabama Crimson Tide Home runs: 27 – Steph Fischer, Tennessee Tech Golden Eagles Pitching Wins: 47-5 – Stacey Nelson, Florida Gators ERA: 0.63 (31 ER/344.0 IP) – Angela Tincher Virginia Tech Hokies Strikeouts: 679 – Angela Tincher Virginia Tech Hokies Records NCAA Division I season saves: 15 – Mallory Aldred, Canisius Golden Griffins NCAA Division I single game doubles: 4 – Emily Troup, North Carolina Tar Heels; February 20, 2008 Junior class wins: 47 – Stacey Nelson, Florida Gators Team wins: 70 – Florida Gators Awards USA Softball Collegiate Player of the Year: Angela Tincher Virginia Tech Hokies Honda Sports Award Softball: Angela Tincher Virginia Tech Hokies All America Teams The following players were members of the All-American Teams. First Team Second Team Third Team References External links
Masinissa II (or Massinissa II) was the petty king of western Numidia with his capital at Cirta (81–46 BC). He was named after, or took his name after, his famous ancestor Masinissa I, the unifier and founder of the kingdom of Numidia. Masinissa was probably the son of Masteabar, an obscure king who is known from a single fragmentary inscription. Masteabar was a son of King Gauda (died 88 BC), who divided the kingdom of Numidia between his sons, Masteabar and his brother Hiempsal II. Masinissa's ally and contemporary, Juba I of eastern Numidia, was most likely his first cousin. The western Numidian kingdom was smaller and weaker than the eastern. In 81 BC, the Roman general Pompey invaded Numidia, which, under the rule of a certain Hiarbas, was assisting the Roman rebel Domitius. Pompey subdued Numidia in a forty-day campaign and restored Hiempsal II to his throne and established Masinissa on his. This constituted formal Roman recognition of the two Numidian kingdoms. During the Roman civil war of 49–45 BC, Masinissa and Juba both allied with Pompey, whose supporters controlled the province of Africa, against Caesar. In 46 BC, Caesar invaded Africa and his allies, Bocchus II of Mauretania and the mercenary warlord Publius Sittius, invaded Masinissa's kingdom from the west, capturing Cirta. The west of his kingdom was given to Bocchus, while the east with Cirta was granted to Sittius to rule. Juba committed suicide after the defeat, but Masinissa's fate is unknown. His son, Arabio, escaped to join Pompey's forces in Hispania and later returned to recover part of his father's kingdom. Notes Sources 1st-century BC Berber people Kings of Numidia
"123" is a shared cash network for the banking community in Egypt. It is provided by Egyptian Banks Co. for Technological Advancement (EBC). Services The "123" network links more than 30 Egyptian Banks supporting more than 1500 ATMs distributed all over Egypt. This network provides the banks' clients with direct access to their different accounts at any time and from anywhere through the ATMs carrying the "123" logo. This network is available 24 hours a day 7 days a week. In addition, the "123" network is a gateway to MasterCard, Diners Club and American Express International networks. Moreover, it is linked to regional networks in the Persian Gulf states, NAPS in State of Qatar, Benefit in Kingdom of Bahrain and CSCBank SAL in Lebanon. Benefits: Convenience Security Helping to promote a cashless society Enhanced debit and credit services Source of revenue to banks Member banks in the network Arab African International Bank Arab Banking Corporation – Egypt Bank of Alexandria Alexandria Commercial & Maritime Bank ARAB Bank Barclays – Egypt Banque du Caire Blom Bank (Misr Romanian Bank) Banque Misr BNP Paribas Le Caire Calyon Bank Egypt Cairo Far East Bank Commercial International Bank National Bank of Abu Dhabi Delta International Bank Egyptian American Bank Egyptian ARAB Land Bank Piraeus Bank (Egyptian Commercial Bank) Export Development Bank of Egypt Egyptian Gulf Bank Egyptian Saudi Finance Bank Faisal Islamic Bank of Egypt Housing & Development Bank HSBC Misr International Bank Misr Iran Development Bank National Bank for Development National Bank of Oman National Societe Generale Bank Societe Arab Internationale de Banque United Bank Of Egypt Al Watany Bank of Egypt Egypt Post National Bank of Egypt References External links Banks of Egypt Companies based in Cairo Interbank networks
This is the list of words having different meanings in British and American English: M–Z. For the first portion of the list, see List of words having different meanings in American and British English (A–L). Asterisked (*) meanings, though found chiefly in the specified region, also have some currency in the other dialect; other definitions may be recognised by the other as Briticisms or Americanisms respectively. Additional usage notes are provided when useful. M N O P Q R S T U V W X Y Z See also List of words having different meanings in British and American English: A–L List of American words not widely used in the United Kingdom List of British words not widely used in the United States References Further reading Note: the below are general references on this topic. Individual entries have not yet been audited against the references below and readers looking for verifiable information should consult the works below unless individual entries in the article's table are properly sourced. External links The Septic's Companion: A British Slang Dictionaryan online dictionary of British slang, viewable alphabetically or by category Words having different meanings in British and American English: M-Z, List of Lists of English words American English words
Rambo-Wottionma is a village in the Kongoussi Department of Bam Province in northern Burkina Faso. It has a population of 1025. References Populated places in the Centre-Nord Region Bam Province
Robert "Sully" Sullivan is an American radio and television personality, entrepreneur, and lead singer and guitarist for The Sully Band. He is the host of the nationally syndicated business and personal finance television program, The Big Biz Show, which is simulcast across over 150 domestic radio stations, millions of broadcast television homes, and internationally via the American Forces Network. Sullivan is also a professional business keynote speaker, specializing in negotiation skills. Early life and education Sullivan was raised in San Diego, and began playing guitar at the age of six after learning "(Sittin' On) The Dock of the Bay" with his father. As a teenager, he attended Clairemont and Valhalla high schools, where he played football before attending SDSU. While at college, Sullivan participated in theater before receiving his B.A. in journalism in 1983. Career Sullivan began his career in the late 1980s, working as a newspaper publisher in San Diego, before becoming an investment banker and business consultant. After making several guest radio and television appearances as a business expert, he was approached by KCEO and KSDO, where he hosted a morning show and appeared regularly during drive time hours. Sully later joined KOGO, and began appearing regularly on the San Diego's Morning News program as a business reporter, before hosting several of his own shows, with topics ranging from financial advice and political commentary, to local news and business. Besides making frequent television news appearances as a business and financial expert, Sullivan also joined KUSI as a regular contributor on the Good Morning San Diego program. Since 2020, Sullivan has co-hosted On The Air, an hour-long interview and San Diego lifestyle show with comedian Russ Stolnack (Russ T Nailz) and radio producer "Little" Tommy Sablan. Sullivan and Stolnack have also co-hosted The Big Biz Show together for over 25 years, a nationally syndicated show simulcast daily in over 50 million television homes internationally. Music In 2018, Sullivan formed the band Sully & The Souljahs, participated in San Diego's KAABOO Del Mar festival, and released several singles independently. After Sully & The Souljahs, Sullivan formed The Sully Band and began playing shows and releasing music via Belly Up Records and Blue Élan Records in 2021. On March 11, 2022, The Sully Band released their debut album 'Let's Straighten It Out!', which featured a collection of 60s and 70s soul, blues, funk, and R&B tracks made popular by artists such as Billy Preston, Jackie Wilson, Ray Charles, and Dr. John & Jessie Hill. The tribute album debuted at No. 3 on the Billboard Blues chart and peaked at No. 2. The album is produced by Grammy Award-winning producer Chris Goldsmith. Previously, The Sully Band was voted Best Live Band at the 31st Annual San Diego Music Awards in 2020. Personal life Sullivan is a frequent contributor to the Challenged Athletes Foundation, having regularly participated in the Million Dollar Challenge since featuring the charity program on The Big Biz Show in 2010. Besides cycling and fundraising, Sullivan also performs benefit concerts as part of The Sully Band on behalf of the organization. Sullivan currently lives in San Diego, and has two daughters. References External links Official website The Sully Band website Sully Speaks website Robert "Sully" Sullivan official Twitter Sully Band official Twitter Living people American political commentators 1961 births
Sweethearts may refer to: Films and television Sweethearts (1938 film), a MGM film starring Jeanette MacDonald and Nelson Eddy Sweethearts (1990 film), an Australian film Sweethearts (1996 film), a film by Birger Larsen nominated for the Academy Award for Live Action Short Film Sweethearts (1997 film), a independent film starring Janeane Garofalo Sweethearts (2019 film), a German film Sweethearts (upcoming film), a romantic-comedy directed by Jordan Weiss Sweethearts (British game show), a British version hosted by Larry Grayson Sweethearts (American game show), an American version hosted by Charles Nelson Reilly Music Sweethearts (music group), an Australian new soul group Sweethearts (musical), a 1913 operetta by Victor Herbert The Sweethearts, or Sweethearts of Sigma, an American trio of backing singers Other Sweethearts (book), a book by Sharon Rich, the full title being Sweethearts: The Timeless Love Affair Onscreen and Off Between Jeanette MacDonald and Nelson Eddy Sweethearts (candy), a heart shaped candy Sweethearts (comics), a romance comic published first by Fawcett Publications from 1948 to 1953 and continued by Charlton Comics from 1954 to 1973 Sweethearts (play), a two-act 1874 comedy by W.S. Gilbert based on a song of the same name by Gilbert and Arthur Sullivan "The Sweethearts; or, The Top and the Ball", an 1843 fairytale by Hans Christian Andersen See also Sweethearts on Parade (disambiguation) Sweetheart (disambiguation)
```java package org.eclipse.milo.opcua.sdk.client.model.nodes.variables; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ExecutionException; import org.eclipse.milo.opcua.sdk.client.OpcUaClient; import org.eclipse.milo.opcua.sdk.client.model.types.variables.DataTypeDescriptionType; import org.eclipse.milo.opcua.sdk.client.nodes.UaNode; import org.eclipse.milo.opcua.stack.core.AttributeId; import org.eclipse.milo.opcua.stack.core.StatusCodes; import org.eclipse.milo.opcua.stack.core.UaException; import org.eclipse.milo.opcua.stack.core.types.builtin.ByteString; import org.eclipse.milo.opcua.stack.core.types.builtin.DataValue; import org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId; import org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText; import org.eclipse.milo.opcua.stack.core.types.builtin.NodeId; import org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName; import org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode; import org.eclipse.milo.opcua.stack.core.types.builtin.Variant; import org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte; import org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger; import org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass; public class DataTypeDescriptionTypeNode extends BaseDataVariableTypeNode implements DataTypeDescriptionType { public DataTypeDescriptionTypeNode(OpcUaClient client, NodeId nodeId, NodeClass nodeClass, QualifiedName browseName, LocalizedText displayName, LocalizedText description, UInteger writeMask, UInteger userWriteMask, DataValue value, NodeId dataType, Integer valueRank, UInteger[] arrayDimensions, UByte accessLevel, UByte userAccessLevel, Double minimumSamplingInterval, Boolean historizing) { super(client, nodeId, nodeClass, browseName, displayName, description, writeMask, userWriteMask, value, dataType, valueRank, arrayDimensions, accessLevel, userAccessLevel, minimumSamplingInterval, historizing); } @Override public String getDataTypeVersion() throws UaException { PropertyTypeNode node = getDataTypeVersionNode(); return (String) node.getValue().getValue().getValue(); } @Override public void setDataTypeVersion(String dataTypeVersion) throws UaException { PropertyTypeNode node = getDataTypeVersionNode(); node.setValue(new Variant(dataTypeVersion)); } @Override public String readDataTypeVersion() throws UaException { try { return readDataTypeVersionAsync().get(); } catch (ExecutionException | InterruptedException e) { throw UaException.extract(e).orElse(new UaException(StatusCodes.Bad_UnexpectedError, e)); } } @Override public void writeDataTypeVersion(String dataTypeVersion) throws UaException { try { writeDataTypeVersionAsync(dataTypeVersion).get(); } catch (ExecutionException | InterruptedException e) { throw UaException.extract(e).orElse(new UaException(StatusCodes.Bad_UnexpectedError, e)); } } @Override public CompletableFuture<? extends String> readDataTypeVersionAsync() { return getDataTypeVersionNodeAsync().thenCompose(node -> node.readAttributeAsync(AttributeId.Value)).thenApply(v -> (String) v.getValue().getValue()); } @Override public CompletableFuture<StatusCode> writeDataTypeVersionAsync(String dataTypeVersion) { DataValue value = DataValue.valueOnly(new Variant(dataTypeVersion)); return getDataTypeVersionNodeAsync() .thenCompose(node -> node.writeAttributeAsync(AttributeId.Value, value)); } @Override public PropertyTypeNode getDataTypeVersionNode() throws UaException { try { return getDataTypeVersionNodeAsync().get(); } catch (ExecutionException | InterruptedException e) { throw UaException.extract(e).orElse(new UaException(StatusCodes.Bad_UnexpectedError, e)); } } @Override public CompletableFuture<? extends PropertyTypeNode> getDataTypeVersionNodeAsync() { CompletableFuture<UaNode> future = getMemberNodeAsync("path_to_url", "DataTypeVersion", ExpandedNodeId.parse("nsu=path_to_url"), false); return future.thenApply(node -> (PropertyTypeNode) node); } @Override public ByteString getDictionaryFragment() throws UaException { PropertyTypeNode node = getDictionaryFragmentNode(); return (ByteString) node.getValue().getValue().getValue(); } @Override public void setDictionaryFragment(ByteString dictionaryFragment) throws UaException { PropertyTypeNode node = getDictionaryFragmentNode(); node.setValue(new Variant(dictionaryFragment)); } @Override public ByteString readDictionaryFragment() throws UaException { try { return readDictionaryFragmentAsync().get(); } catch (ExecutionException | InterruptedException e) { throw UaException.extract(e).orElse(new UaException(StatusCodes.Bad_UnexpectedError, e)); } } @Override public void writeDictionaryFragment(ByteString dictionaryFragment) throws UaException { try { writeDictionaryFragmentAsync(dictionaryFragment).get(); } catch (ExecutionException | InterruptedException e) { throw UaException.extract(e).orElse(new UaException(StatusCodes.Bad_UnexpectedError, e)); } } @Override public CompletableFuture<? extends ByteString> readDictionaryFragmentAsync() { return getDictionaryFragmentNodeAsync().thenCompose(node -> node.readAttributeAsync(AttributeId.Value)).thenApply(v -> (ByteString) v.getValue().getValue()); } @Override public CompletableFuture<StatusCode> writeDictionaryFragmentAsync(ByteString dictionaryFragment) { DataValue value = DataValue.valueOnly(new Variant(dictionaryFragment)); return getDictionaryFragmentNodeAsync() .thenCompose(node -> node.writeAttributeAsync(AttributeId.Value, value)); } @Override public PropertyTypeNode getDictionaryFragmentNode() throws UaException { try { return getDictionaryFragmentNodeAsync().get(); } catch (ExecutionException | InterruptedException e) { throw UaException.extract(e).orElse(new UaException(StatusCodes.Bad_UnexpectedError, e)); } } @Override public CompletableFuture<? extends PropertyTypeNode> getDictionaryFragmentNodeAsync() { CompletableFuture<UaNode> future = getMemberNodeAsync("path_to_url", "DictionaryFragment", ExpandedNodeId.parse("nsu=path_to_url"), false); return future.thenApply(node -> (PropertyTypeNode) node); } } ```
```java /******************************************************************************* * All rights reserved. This program and the accompanying materials * which accompanies this distribution, and is available at * path_to_url * * * Contributors: * Microsoft Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.jdt.ls.core.internal.managers; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.io.File; import java.nio.file.FileVisitOption; import java.nio.file.Files; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.EnumSet; import java.util.List; import java.util.Set; import java.util.function.Function; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IFolder; import org.eclipse.core.resources.IMarker; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IProjectDescription; import org.eclipse.core.resources.IResource; import org.eclipse.core.resources.ResourcesPlugin; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IPath; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.NullProgressMonitor; import org.eclipse.core.runtime.Path; import org.eclipse.jdt.core.IClasspathEntry; import org.eclipse.jdt.core.IJavaProject; import org.eclipse.jdt.core.JavaCore; import org.eclipse.jdt.launching.JavaRuntime; import org.eclipse.jdt.ls.core.internal.JavaProjectHelper; import org.eclipse.jdt.ls.core.internal.ProjectUtils; import org.eclipse.jdt.ls.core.internal.ResourceUtils; import org.eclipse.jdt.ls.core.internal.TestVMType; import org.eclipse.jdt.ls.core.internal.managers.InvisibleProjectImporter.JavaFileDetector; import org.eclipse.jdt.ls.core.internal.preferences.ClientPreferences; import org.eclipse.jdt.ls.core.internal.preferences.Preferences; import org.eclipse.lsp4j.FileSystemWatcher; import org.eclipse.lsp4j.RelativePattern; import org.junit.Test; public class InvisibleProjectImporterTest extends AbstractInvisibleProjectBasedTest { @Test public void importIncompleteFolder() throws Exception { IProject invisibleProject = copyAndImportFolder("maven/salut/src/main/java/org/sample", "Bar.java"); assertFalse(invisibleProject.exists()); } @Test public void importCompleteFolder() throws Exception { IProject invisibleProject = copyAndImportFolder("singlefile/lesson1", "src/org/samples/HelloWorld.java"); assertTrue(invisibleProject.exists()); assertTrue(invisibleProject.hasNature(UnmanagedFolderNature.NATURE_ID)); IPath sourcePath = invisibleProject.getFolder(new Path(ProjectUtils.WORKSPACE_LINK).append("src")).getFullPath(); assertTrue(ProjectUtils.isOnSourcePath(sourcePath, JavaCore.create(invisibleProject))); } @Test public void importCompleteFolderWithoutTriggerFile() throws Exception { IProject invisibleProject = copyAndImportFolder("singlefile/lesson1", null); assertFalse(invisibleProject.exists()); } @Test public void importPartialMavenFolder() throws Exception { File projectFolder = copyFiles("maven/salut-java11", true); IPath projectFullPath = Path.fromOSString(projectFolder.getAbsolutePath()); IPath rootPath = projectFullPath.append("src"); IProject invisibleProject = importRootFolder(rootPath, "main/java/org/sample/Bar.java"); assertFalse(invisibleProject.exists()); } @Test public void importPartialGradleFolder() throws Exception { File projectFolder = copyFiles("gradle/gradle-11", true); IPath projectFullPath = Path.fromOSString(projectFolder.getAbsolutePath()); IPath rootPath = projectFullPath.append("src"); IProject invisibleProject = importRootFolder(rootPath, "main/java/foo/bar/Foo.java"); assertFalse(invisibleProject.exists()); } @Test public void automaticJarDetectionLibUnderSource() throws Exception { ClientPreferences mockCapabilies = mock(ClientPreferences.class); when(mockCapabilies.isWorkspaceChangeWatchedFilesDynamicRegistered()).thenReturn(Boolean.TRUE); when(preferenceManager.getClientPreferences()).thenReturn(mockCapabilies); File projectFolder = createSourceFolderWithLibs("automaticJarDetectionLibUnderSource"); IProject invisibleProject = importRootFolder(projectFolder, "Test.java"); assertNoErrors(invisibleProject); IJavaProject javaProject = JavaCore.create(invisibleProject); IClasspathEntry[] classpath = javaProject.getRawClasspath(); assertEquals("Unexpected classpath:\n" + JavaProjectHelper.toString(classpath), 3, classpath.length); assertEquals("foo.jar", classpath[2].getPath().lastSegment()); assertEquals("foo-sources.jar", classpath[2].getSourceAttachmentPath().lastSegment()); List<FileSystemWatcher> watchers = projectsManager.registerWatchers(); //watchers.sort((a, b) -> a.getGlobPattern().compareTo(b.getGlobPattern())); assertEquals(12, watchers.size()); // basic(9) + project(1) + library(1) String srcGlobPattern = watchers.stream().map(FileSystemWatcher::getGlobPattern).map(globPattern -> globPattern.map(Function.identity(), RelativePattern::getPattern)).filter("**/src/**"::equals).findFirst().get(); assertTrue("Unexpected source glob pattern: " + srcGlobPattern, srcGlobPattern.equals("**/src/**")); String projGlobPattern = watchers.stream().map(FileSystemWatcher::getGlobPattern).map(globPattern -> globPattern.map(Function.identity(), RelativePattern::getPattern)).filter(w -> w.endsWith(projectFolder.getName() + "/**")) .findFirst().get(); assertTrue("Unexpected project glob pattern: " + projGlobPattern, projGlobPattern.endsWith(projectFolder.getName() + "/**")); String libGlobPattern = watchers.stream().map(FileSystemWatcher::getGlobPattern).map(globPattern -> globPattern.map(Function.identity(), RelativePattern::getPattern)).filter(w -> w.endsWith(projectFolder.getName() + "/lib/**")) .findFirst().get(); assertTrue("Unexpected library glob pattern: " + libGlobPattern, libGlobPattern.endsWith(projectFolder.getName() + "/lib/**")); } public void automaticJarDetection() throws Exception { ClientPreferences mockCapabilies = mock(ClientPreferences.class); when(mockCapabilies.isWorkspaceChangeWatchedFilesDynamicRegistered()).thenReturn(Boolean.TRUE); when(preferenceManager.getClientPreferences()).thenReturn(mockCapabilies); File projectFolder = createSourceFolderWithLibs("automaticJarDetection", "src", true); IProject invisibleProject = importRootFolder(projectFolder, "Test.java"); assertNoErrors(invisibleProject); IJavaProject javaProject = JavaCore.create(invisibleProject); IClasspathEntry[] classpath = javaProject.getRawClasspath(); assertEquals("Unexpected classpath:\n" + JavaProjectHelper.toString(classpath), 3, classpath.length); assertEquals("foo.jar", classpath[2].getPath().lastSegment()); assertEquals("foo-sources.jar", classpath[2].getSourceAttachmentPath().lastSegment()); List<FileSystemWatcher> watchers = projectsManager.registerWatchers(); watchers.sort((a, b) -> a.getGlobPattern().map(Function.identity(), RelativePattern::getPattern).compareTo(b.getGlobPattern().map(Function.identity(), RelativePattern::getPattern))); assertEquals(10, watchers.size()); String srcGlobPattern = watchers.get(7).getGlobPattern().map(Function.identity(), RelativePattern::getPattern); assertTrue("Unexpected source glob pattern: " + srcGlobPattern, srcGlobPattern.equals("**/src/**")); String libGlobPattern = watchers.get(9).getGlobPattern().map(Function.identity(), RelativePattern::getPattern); assertTrue("Unexpected lib glob pattern: " + libGlobPattern, libGlobPattern.endsWith(projectFolder.getName() + "/lib/**")); } @Test public void getPackageNameFromRelativePathOfEmptyFile() throws Exception { File projectFolder = copyFiles("singlefile", true); IProject invisibleProject = importRootFolder(projectFolder, "lesson1/Test.java"); assertTrue(invisibleProject.exists()); IPath workspaceRoot = Path.fromOSString(projectFolder.getAbsolutePath()); IPath javaFile = workspaceRoot.append("lesson1/Test.java"); String packageName = InvisibleProjectImporter.getPackageName(javaFile, workspaceRoot, JavaCore.create(invisibleProject)); assertEquals("lesson1", packageName); } @Test public void getPackageNameFromNearbyNonEmptyFile() throws Exception { File projectFolder = copyFiles("singlefile", true); IProject invisibleProject = importRootFolder(projectFolder, "lesson1/samples/Empty.java"); assertTrue(invisibleProject.exists()); IPath workspaceRoot = Path.fromOSString(projectFolder.getAbsolutePath()); IPath javaFile = workspaceRoot.append("lesson1/samples/Empty.java"); String packageName = InvisibleProjectImporter.getPackageName(javaFile, workspaceRoot, JavaCore.create(invisibleProject)); assertEquals("samples", packageName); } @Test public void getPackageNameInSrcEmptyFile() throws Exception { File projectFolder = copyFiles("singlefile", true); IProject invisibleProject = importRootFolder(projectFolder, "lesson1/src/main/java/demosamples/Empty1.java"); assertTrue(invisibleProject.exists()); IPath workspaceRoot = Path.fromOSString(projectFolder.getAbsolutePath()); IPath javaFile = workspaceRoot.append("lesson1/src/main/java/demosamples/Empty1.java"); String packageName = InvisibleProjectImporter.getPackageName(javaFile, workspaceRoot, JavaCore.create(invisibleProject)); assertEquals("main.java.demosamples", packageName); } @Test public void getPackageName() throws Exception { File projectFolder = copyFiles("singlefile", true); IProject invisibleProject = importRootFolder(projectFolder, "Single.java"); assertTrue(invisibleProject.exists()); IPath workspaceRoot = Path.fromOSString(projectFolder.getAbsolutePath()); IPath javaFile = workspaceRoot.append("Single.java"); String packageName = InvisibleProjectImporter.getPackageName(javaFile, workspaceRoot, JavaCore.create(invisibleProject)); assertEquals("", packageName); } @Test public void testPreviewFeaturesEnabledByDefault() throws Exception { String defaultJVM = JavaRuntime.getDefaultVMInstall().getId(); try { TestVMType.setTestJREAsDefault("22"); IProject invisibleProject = copyAndImportFolder("singlefile/java14", "foo/bar/Foo.java"); assertTrue(invisibleProject.exists()); assertNoErrors(invisibleProject); IJavaProject javaProject = JavaCore.create(invisibleProject); assertEquals(JavaCore.ENABLED, javaProject.getOption(JavaCore.COMPILER_PB_ENABLE_PREVIEW_FEATURES, false)); assertEquals(JavaCore.IGNORE, javaProject.getOption(JavaCore.COMPILER_PB_REPORT_PREVIEW_FEATURES, false)); } finally { TestVMType.setTestJREAsDefault(defaultJVM); } } @Test public void testPreviewFeaturesDisabledForNotLatestJDK() throws Exception { String defaultJVM = JavaRuntime.getDefaultVMInstall().getId(); try { String secondToLastJDK = JavaCore.getAllVersions().get(JavaCore.getAllVersions().size() - 2); TestVMType.setTestJREAsDefault(secondToLastJDK); IProject invisibleProject = copyAndImportFolder("singlefile/lesson1", "src/org/samples/HelloWorld.java"); assertTrue(invisibleProject.exists()); assertNoErrors(invisibleProject); IJavaProject javaProject = JavaCore.create(invisibleProject); assertEquals(JavaCore.DISABLED, javaProject.getOption(JavaCore.COMPILER_PB_ENABLE_PREVIEW_FEATURES, true)); } finally { TestVMType.setTestJREAsDefault(defaultJVM); } } @Test public void testSpecifyingOutputPath() throws Exception { Preferences preferences = preferenceManager.getPreferences(); preferences.setInvisibleProjectOutputPath("output"); IProject invisibleProject = copyAndImportFolder("singlefile/java14", "foo/bar/Foo.java"); waitForBackgroundJobs(); IJavaProject javaProject = JavaCore.create(invisibleProject); assertEquals(String.join("/", "", javaProject.getElementName(), ProjectUtils.WORKSPACE_LINK, "output"), javaProject.getOutputLocation().toString()); } @Test public void testSpecifyingOutputPathInsideSourcePath() throws Exception { Preferences preferences = preferenceManager.getPreferences(); preferences.setInvisibleProjectOutputPath("output"); IProject invisibleProject = copyAndImportFolder("singlefile/java14", "foo/bar/Foo.java"); waitForBackgroundJobs(); IJavaProject javaProject = JavaCore.create(invisibleProject); boolean isOutputExcluded = false; for (IClasspathEntry entry : javaProject.getRawClasspath()) { if (entry.getEntryKind() != IClasspathEntry.CPE_SOURCE) { continue; } for (IPath excludePath : entry.getExclusionPatterns()) { if (excludePath.toString().equals("output/")) { isOutputExcluded = true; break; } } } assertTrue("Output path should be excluded from source path", isOutputExcluded); } @Test public void testSpecifyingOutputPathEqualToSourcePath() throws Exception { Preferences preferences = preferenceManager.getPreferences(); preferences.setInvisibleProjectOutputPath("src"); copyAndImportFolder("singlefile/simple2", "src/App.java"); waitForBackgroundJobs(); } @Test(expected = CoreException.class) public void testSpecifyingAbsoluteOutputPath() throws Exception { Preferences preferences = preferenceManager.getPreferences(); preferences.setInvisibleProjectOutputPath(new File("projects").getAbsolutePath()); copyAndImportFolder("singlefile/simple", "src/App.java"); waitForBackgroundJobs(); } @Test public void testSpecifyingEmptyOutputPath() throws Exception { Preferences preferences = preferenceManager.getPreferences(); preferences.setInvisibleProjectOutputPath(""); IProject invisibleProject = copyAndImportFolder("singlefile/simple", "src/App.java"); waitForBackgroundJobs(); IJavaProject javaProject = JavaCore.create(invisibleProject); assertEquals(String.join("/", "", javaProject.getElementName(), "bin"), javaProject.getOutputLocation().toString()); } @Test public void testSpecifyingSourcePaths() throws Exception { Preferences preferences = preferenceManager.getPreferences(); preferences.setInvisibleProjectSourcePaths(Arrays.asList("foo", "bar")); IProject invisibleProject = copyAndImportFolder("singlefile/java14", "foo/bar/Foo.java"); waitForBackgroundJobs(); IJavaProject javaProject = JavaCore.create(invisibleProject); IFolder linkFolder = invisibleProject.getFolder(ProjectUtils.WORKSPACE_LINK); List<String> sourcePaths = new ArrayList<>(); for (IClasspathEntry entry : javaProject.getRawClasspath()) { if (entry.getEntryKind() == IClasspathEntry.CPE_SOURCE) { sourcePaths.add(entry.getPath().makeRelativeTo(linkFolder.getFullPath()).toString()); } } assertEquals(1, sourcePaths.size()); assertTrue(sourcePaths.contains("foo")); } @Test public void testSpecifyingEmptySourcePaths() throws Exception { Preferences preferences = preferenceManager.getPreferences(); preferences.setInvisibleProjectSourcePaths(Collections.emptyList()); IProject invisibleProject = copyAndImportFolder("singlefile/java14", "foo/bar/Foo.java"); waitForBackgroundJobs(); IJavaProject javaProject = JavaCore.create(invisibleProject); IFolder linkFolder = invisibleProject.getFolder(ProjectUtils.WORKSPACE_LINK); List<String> sourcePaths = new ArrayList<>(); for (IClasspathEntry entry : javaProject.getRawClasspath()) { if (entry.getEntryKind() == IClasspathEntry.CPE_SOURCE) { sourcePaths.add(entry.getPath().makeRelativeTo(linkFolder.getFullPath()).toString()); } } assertEquals(0, sourcePaths.size()); } @Test public void testSpecifyingNestedSourcePaths() throws Exception { Preferences preferences = preferenceManager.getPreferences(); preferences.setInvisibleProjectSourcePaths(Arrays.asList("foo", "foo/bar")); IProject invisibleProject = copyAndImportFolder("singlefile/java14", "foo/bar/Foo.java"); waitForBackgroundJobs(); IJavaProject javaProject = JavaCore.create(invisibleProject); IFolder linkFolder = invisibleProject.getFolder(ProjectUtils.WORKSPACE_LINK); List<String> sourcePaths = new ArrayList<>(); for (IClasspathEntry entry : javaProject.getRawClasspath()) { if (entry.getEntryKind() == IClasspathEntry.CPE_SOURCE) { sourcePaths.add(entry.getPath().makeRelativeTo(linkFolder.getFullPath()).toString()); } } assertEquals(2, sourcePaths.size()); assertTrue(sourcePaths.contains("foo")); assertTrue(sourcePaths.contains("foo/bar")); } @Test public void testSpecifyingDuplicatedSourcePaths() throws Exception { Preferences preferences = preferenceManager.getPreferences(); preferences.setInvisibleProjectSourcePaths(Arrays.asList("foo", "foo")); IProject invisibleProject = copyAndImportFolder("singlefile/java14", "foo/bar/Foo.java"); waitForBackgroundJobs(); IJavaProject javaProject = JavaCore.create(invisibleProject); IFolder linkFolder = invisibleProject.getFolder(ProjectUtils.WORKSPACE_LINK); List<String> sourcePaths = new ArrayList<>(); for (IClasspathEntry entry : javaProject.getRawClasspath()) { if (entry.getEntryKind() == IClasspathEntry.CPE_SOURCE) { sourcePaths.add(entry.getPath().makeRelativeTo(linkFolder.getFullPath()).toString()); } } assertEquals(1, sourcePaths.size()); assertTrue(sourcePaths.contains("foo")); } @Test public void testSpecifyingRootAsSourcePaths() throws Exception { Preferences preferences = preferenceManager.getPreferences(); preferences.setInvisibleProjectSourcePaths(Arrays.asList("")); IProject invisibleProject = copyAndImportFolder("singlefile/java14", "foo/bar/Foo.java"); waitForBackgroundJobs(); IJavaProject javaProject = JavaCore.create(invisibleProject); IFolder linkFolder = invisibleProject.getFolder(ProjectUtils.WORKSPACE_LINK); List<String> sourcePaths = new ArrayList<>(); for (IClasspathEntry entry : javaProject.getRawClasspath()) { if (entry.getEntryKind() == IClasspathEntry.CPE_SOURCE) { sourcePaths.add(entry.getPath().makeRelativeTo(linkFolder.getFullPath()).toString()); } } assertEquals(1, sourcePaths.size()); assertTrue(sourcePaths.contains("")); } @Test(expected = CoreException.class) public void testSpecifyingAbsoluteSourcePath() throws Exception { Preferences preferences = preferenceManager.getPreferences(); preferences.setInvisibleProjectSourcePaths(Arrays.asList(new File("projects").getAbsolutePath())); copyAndImportFolder("singlefile/simple", "src/App.java"); waitForBackgroundJobs(); } @Test public void testSpecifyingSourcePathsContainingOutputPath() throws Exception { Preferences preferences = preferenceManager.getPreferences(); preferences.setInvisibleProjectSourcePaths(Arrays.asList("")); preferences.setInvisibleProjectOutputPath("bin"); IProject invisibleProject = copyAndImportFolder("singlefile/java14", "foo/bar/Foo.java"); waitForBackgroundJobs(); IJavaProject javaProject = JavaCore.create(invisibleProject); for (IClasspathEntry entry : javaProject.getRawClasspath()) { if (entry.getEntryKind() == IClasspathEntry.CPE_SOURCE) { assertEquals("bin/", entry.getExclusionPatterns()[0].toString()); } } } @Test public void testInferSourceRoot() throws Exception { preferenceManager.getPreferences().setJavaImportExclusions(Arrays.asList("**/excluded")); IProject invisibleProject = copyAndImportFolder("singlefile/inferSourceRoot", "lesson1/Lesson1.java"); waitForBackgroundJobs(); IFolder projectFolder = invisibleProject.getFolder(ProjectUtils.WORKSPACE_LINK); IPath workspaceRoot = projectFolder.getLocation(); preferenceManager.getPreferences().setRootPaths(Arrays.asList(workspaceRoot)); IJavaProject javaProject = JavaCore.create(invisibleProject); long sourceRootsCount = Arrays.stream(javaProject.getRawClasspath()) .filter(cp -> cp.getEntryKind() == IClasspathEntry.CPE_SOURCE) .count(); assertEquals(3, sourceRootsCount); IFile unDiscoveredFile = invisibleProject.getFile("_/a/very/deep/path/Source.java"); InvisibleProjectImporter.inferSourceRoot(javaProject, unDiscoveredFile.getLocation()); waitForBackgroundJobs(); sourceRootsCount = Arrays.stream(javaProject.getRawClasspath()) .filter(cp -> cp.getEntryKind() == IClasspathEntry.CPE_SOURCE) .count(); assertEquals(4, sourceRootsCount); List<IMarker> markers = ResourceUtils.getErrorMarkers(invisibleProject); assertEquals(0, markers.size()); } @Test public void testInferSourceRoot2() throws Exception { preferenceManager.getPreferences().setJavaImportExclusions(Arrays.asList("**/excluded")); IProject invisibleProject = copyAndImportFolder("singlefile/inferSourceRoot", "Main.java"); waitForBackgroundJobs(); IFolder projectFolder = invisibleProject.getFolder(ProjectUtils.WORKSPACE_LINK); IPath workspaceRoot = projectFolder.getLocation(); preferenceManager.getPreferences().setRootPaths(Arrays.asList(workspaceRoot)); IJavaProject javaProject = JavaCore.create(invisibleProject); long sourceRootsCount = Arrays.stream(javaProject.getRawClasspath()) .filter(cp -> cp.getEntryKind() == IClasspathEntry.CPE_SOURCE) .count(); assertEquals(3, sourceRootsCount); IFile unDiscoveredFile = invisibleProject.getFile("_/a/very/deep/path/Source.java"); InvisibleProjectImporter.inferSourceRoot(javaProject, unDiscoveredFile.getLocation()); waitForBackgroundJobs(); sourceRootsCount = Arrays.stream(javaProject.getRawClasspath()) .filter(cp -> cp.getEntryKind() == IClasspathEntry.CPE_SOURCE) .count(); assertEquals(4, sourceRootsCount); List<IMarker> markers = ResourceUtils.getErrorMarkers(invisibleProject); assertEquals(0, markers.size()); } @Test public void javaFileDetectorTest() throws Exception { createMockProject(); preferenceManager.getPreferences().setJavaImportExclusions(Arrays.asList("**/excluded")); File root = new File(getSourceProjectDirectory(), "singlefile/invisibleFileDetector"); List<File> foldersToSearch = new ArrayList<>(); for (File folder : root.listFiles()) { if (folder.isDirectory()) { foldersToSearch.add(folder); } } JavaFileDetector detector = new JavaFileDetector(null); for (File file : foldersToSearch) { Files.walkFileTree(file.toPath(), EnumSet.noneOf(FileVisitOption.class), 3 /*maxDepth*/, detector); } Set<IPath> triggerFiles = detector.getTriggerFiles(); assertEquals(0, triggerFiles.size()); } private void createMockProject() throws CoreException { IProgressMonitor monitor = new NullProgressMonitor(); IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject("mock"); if (!project.exists()) { IProjectDescription description = ResourcesPlugin.getWorkspace().newProjectDescription("mock"); project.create(description, monitor); project.open(monitor); description.setNatureIds(new String[] { JavaCore.NATURE_ID }); project.setDescription(description, monitor); IFolder folder = project.getFolder("_"); if (!folder.exists()) { folder.create(true, true, monitor); } IFile fakeFile = project.getFile("_/Other.java"); File file = new File(getSourceProjectDirectory(), "singlefile/invisibleFileDetector/other-project/Other.java"); fakeFile.createLink(file.toURI(), IResource.REPLACE, monitor); } } } ```