text
stringlengths
1
22.8M
Arnold of Brescia ( 1090 – June 1155), also known as Arnaldus (), an Italian canon regular from Lombardy, called on the Church to renounce property-ownership and participated in the failed Commune of Rome of 1144–1193. Exiled at least three times and eventually arrested, Arnold was hanged by the papacy; his remains were burned posthumously and the ashes thrown into the River Tiber. Though he failed as a religious reformer and a political leader, his teachings on apostolic poverty gained currency after his death among "Arnoldists" and more widely among Waldensians and the Spiritual Franciscans, though no written word of his has survived the official condemnation. Protestants rank him among the precursors of the Reformation. Biography Born in Brescia, Arnold became an Augustinian canon and then prior of a monastery in Brescia. He criticized the Catholic Church's temporal powers that involved it in a land struggle in Brescia against the Count-Bishop of Brescia. He called on the Church to renounce its claim and return ownership to the city government so as not to be tainted by possession—renunciation of worldliness being one of his primary teachings. He was condemned at the Second Lateran Council in 1139 and banished from Italy. According to the chronicler Otto of Freising, Arnold had studied in Paris under the tutelage of the reformer and philosopher Pierre Abélard. He approved of Abélard's proposals for monastic reform. The issue came before the Synod of Sens in 1141 and both Arnold and Abélard's positions were overruled by Bernard of Clairvaux. Arnold stood alone against the church's decision after Abélard's capitulation; he returned to Paris, where he continued to teach and preach against Bernard. As a consequence he was then commanded to silence and exiled by Pope Innocent II. He took refuge first in Zürich and then probably in Bavaria. His writings were also ordered burned as a further measure, though that judgement is the only evidence that he had actually written anything. Arnold continued to preach his radical ideas concerning apostolic poverty. Arnold, who is known only from the vituperative condemnation of his foes, was declared to be a demagogue; his motives were impugned. Having returned to Italy after 1143, in 1145 Arnold made his peace with Pope Eugene III, who ordered him to submit himself to the mercy of the Church in Rome. When he arrived, he found that Giordano Pierleoni's followers had asserted the ancient rights of the commune of Rome, taken control of the city from papal forces, and founded a republic, the Commune of Rome. Arnold sided with the people immediately and, after Pierleoni's deposition, soon became the intellectual leader of the Commune, calling for freedoms and democratic rights. Arnold taught that clergy who owned property had no power to perform the Sacraments. He succeeded in driving Pope Eugene into exile in 1146, for which he was excommunicated on 15 July 1148. When Pope Eugene returned to the city in 1148, Arnold continued to lead the blossoming republic despite his excommunication. In summing up these events, Caesar Baronius called Arnold "the father of political heresies", while Edward Gibbon later expressed his view that "the trumpet of Roman liberty was first sounded by Arnold." After Pope Eugene's death, Pope Adrian IV swiftly took steps to regain control of Rome. He allied with Frederick Barbarossa, who took Rome by force in 1155 after a Holy Week interdict and forced Arnold again into exile. Arnold was seized by Imperial forces and tried by the Roman Curia as a rebel. Importantly, he was never accused of heresy. Faced with the stake, he refused to recant any of his positions. Convicted of rebellion, Arnold was hanged in June and his body burnt. Because he remained a hero to large sections of the Roman people and the minor clergy, his ashes were cast into the Tiber, to prevent his burial place becoming venerated as the shrine of a martyr. In 1882, after the collapse of Papal temporal powers, the city of Brescia erected a monument to its native son. Beliefs Arnold attacked the powers of the Roman Church, and he had a radical zeal to have moral reform in the clergy. Arnold rejected a theocratical state and instead believed that the church and state need to be in complete separation. Arnold believed in "apostolic poverty" and that the church needs to be restored to apostolic purity. The second Lateran council condemned the Arnoldists for denying infant baptism. Arnold denied the power of the Roman church and believed that sinful clergy lose their right of administering the sacraments. Some of his critics attacked Arnold for having "offensive views on baptism and the Eucharist". See also History of Rome in the Middle Ages Waldensians Donatists Notes References Catholic Encyclopedia: "Arnold of Brescia" Romedio Schmitz-Esser, Arnold von Brescia im Spiegel von acht Jahrhunderten Rezeption. Ein Beispiel für Europas Umgang mit der mittelalterlichen Geschichte vom Humanismus bis heute, Vienna-Berlin-Münster 2007. Romedio Schmitz-Esser, Arnold of Brescia in Exile: April 1139 to December 1143 – His Role as a Reformer, Reviewed, in: Exile in the Middle Ages. Selected Proceedings from the International Medieval Congress, University of Leeds, 8–11 July 2002, ed. by Laura Napran and Elisabeth van Houts, Turnhout 2004, p. 213–231. Arsenio Frugoni, Arnaldo da Brescia nelle fonti del secolo XII (Rome 1954; repr. Turin 1989). Grado Giovanni Merlo, La storia e la memoria di Arnaldo da Brescia, in: Studi Storici 32/4 (1991) p. 943–952. Maurizio Pegrari (ed.), Arnaldo da Brescia e il suo tempo, Brescia 1991. George William Greenaway, Arnold of Brescia, (Cambridge University Press) 1931. The first biography in English. Pasquale Villari, Mediaeval Italy from Charlemagne to Henry VII, 1910. Ferdinand A. Gregorovius, History of the City of Rome in the Middle Ages 6th ed. 1953–1957. 1090s births 1155 deaths Religious leaders from Brescia Executed Italian people Augustinian canons 12th-century Italian Roman Catholic priests People executed by the Papal States by hanging Economic history of the Holy See Executed Roman Catholic priests Proto-Protestants
Abdullah bin Tarmugi (Jawi: عبدالله بن ترموڬي; born 25 August 1944) is a Singaporean former politician who served as Speaker of the Parliament of Singapore between 2002 and 2011. Early life Born to a Javanese father and a Chinese mother, Abdullah's father was a low-salaried surveyor's assistant and his grandfather ran a provision shop. Abdullah studied at Raffles Institution and obtained a Bachelor of Social Sciences from the University of Singapore, followed by a post-graduate diploma in urban studies from the University of London in 1972 under a Commonwealth Scholarship. Political career Abdullah was a Member of Parliament from 1984 to 2011, starting out at Siglap constituency and later Bedok Group Representation Constituency (Bedok GRC) from 1991 to 1996. After Bedok GRC and Eunos GRC was merged to form East Coast GRC in 1997, Abdullah still remained in the Siglap ward but under East Coast GRC. Abdullah was the Minister for Community Development (subsequently the Minister of Community Development and Sports) and the Minister-in-charge of Muslim Affairs from 1994 to 2002 and 2000 to 2002 respectively. Abdullah was also the Deputy Speaker of Parliament from 1989 to 1993 before becoming the Speaker of Parliament on 25 March 2002. He declined to contest the Singapore Presidential Elections in 2017. Abdullah announced his retirement from politics on 24 March 2011, prior to the 2011 general elections. In January 2012, Abdullah was appointed to the Presidential Council for Minority Rights by Singapore President Tony Tan and a permanent member by President Halimah Yacob. Personal life Abdullah is married to Shirley, a retired teacher and former principal who was his pre-university schoolmate at Raffles Institution. She is ethnic Chinese and converted to Islam prior to their marriage. The couple have two children. References 1944 births Living people Members of the Parliament of Singapore National University of Singapore alumni Alumni of the University of London People's Action Party politicians Raffles Institution alumni Singaporean Muslims Singaporean people of Chinese descent Singaporean people of Javanese descent Singaporean people of Malay descent Speakers of the Parliament of Singapore
Humberto Rosa may refer to: Humberto Rosa (footballer) (1932–2017), Argentine football player and coach Humberto Rosa (painter) (1908–1948), Brazilian artist
Mitchell B. Reiss (born June 12, 1957) is an American diplomat, academic, and business leader who served as the 8th President and CEO of The Colonial Williamsburg Foundation, the 27th president of Washington College and in the United States Department of State. Education Reiss earned a Bachelor of Arts degree from Williams College, a Master of Arts from the Fletcher School of Law and Diplomacy at Tufts University, a Juris Doctor from Columbia Law School, and a D.Phil. from St Antony's College, Oxford. Career Diplomacy Reiss served as Director of Policy Planning at the United States Department of State from 2003 to 2005. He also concurrently served as the United States Special Envoy for Northern Ireland, with the title of Ambassador, from 2003 to 2007. He was also selected to be a White House Fellow and was assigned to the National Security Council, where he worked both as Special Assistant for Brent Scowcroft and Colin Powell. As a Special Envoy to Northern Ireland, he worked closely with the British and Irish governments to persuade the political parties representing Northern Ireland's two “traditions” to finally end the “Troubles” and restore local government. Reiss was instrumental in the denying of Gerry Adams a visa to the United States, to spur the endorsement of policing and justice in Northern Ireland by Adams and his political party, Sinn Féin. From 1995 to 1999, he was Chief Negotiator in the Korean Peninsula Energy Development Organization, an organization established by the United States, South Korea, and Japan to implement the Agreed Framework on preventing nuclear proliferation on the Korean peninsula. He has served on the National Security Council, the Council on Foreign Relations, the State Department, Lawrence Livermore National Laboratory and has consulted for Los Alamos National Laboratory. Previously, he was Vice-Provost for International Affairs, Professor of Law at the William and Mary Law School, and Professor of Government in the Department of Government at the College of William and Mary. In 2016, the UK Government appointed Reiss as its representative to the four-person International Reporting Commission to help end paramilitary activities in Northern Ireland. Career Reiss practiced general corporate and banking law at Covington & Burling from 1989 to 1992. Reiss also served as a national security advisor to then-Governor Mitt Romney during his 2008 and 2012 presidential campaigns. Reiss was the 27th President of Washington College from 2010 to 2014, where he internationalized the student body, raised SAT scores and lowered the discount rate, created an innovative three-year pathway to graduation to reduce student and family debt, and balanced the budget for four straight years. Reiss was the 8th President and CEO of The Colonial Williamsburg Foundation, America's largest living history museum, from October 2014 until October 2019, where he focused on restoring the institution's financial health and fulfilling its educational mission. Reiss managed $1.1 billion of assets, led 2,000 employees and 1,000 volunteers, and stewarded over 100,000 donors. He generated profitable commercial operations for the first time in Foundation history, achieved four straight years of record fund-raising, won reaccreditation from the American Alliance of Museums, and recruited and retained the most diverse leadership team in Foundation history. Personal life Mitchell is married to Elisabeth Reiss. They have two children. Books Negotiating with Evil: When to Talk to Terrorists, ASIN B003MZ14OQ (New York: Open Road Integrated Media, 2010). Bridled Ambition: Why Countries Constrain Their Nuclear Capabilities, (Washington, D.C.: Woodrow Wilson Center Press/Johns Hopkins University Press, 1995). Without the Bomb: The Politics of Nuclear Non-proliferation, (New York: Columbia University Press, 1988). THE NUCLEAR TIPPING POINT: WHY STATES RECONSIDER THEIR NUCLEAR CHOICES, (co-editor with Kurt M. Campbell and Robert J. Einhorn), (Washington, D.C.: Brookings Institution Press, 2004). Nuclear Proliferation after the Cold War (co-editor/author with Robert S. Litwak), (Washington, D.C.: Johns Hopkins University Press, 1994). THE PRESIDENTS: 250 YEARS OF AMERICAN POLITICAL LEADERSHIP, (chapter on “George Washington,” in Iain Dale, ed.) (London: Hodder and Stoughton, 2021). Recent Congressional Testimony “Reaffirming the Good Friday Agreement”, testimony before the Subcommittee on Europe, Energy, the Environment and Cyber of the House Committee on Foreign Affairs, May 5, 2021. Select Recent Articles “Managing Corporate Culture Now Means Managing Great Expectations”, with Daniel Forrester, HUNTSCANLON MEDIA, November 10, 2021, https://huntscanlon.com/managing-corporate-culture-now-means-managing-great-expectations/ “America as Geopolitical Risk”, AMERICAN PURPOSE, October 27, 2021, https://www.americanpurpose.com/articles/america-as-geopolitical-risk/. “Global Britain in a competitive age: The Integrated Review of Security, Defense, Development and Foreign Policy”, SURVIVAL, A Review Essay, Vol. 63 (3), May 25, 2021, https://www.tandfonline.com/doi/full/10.1080/00396338.2021.1930415 “The Republican Party and U.S Foreign Policy: What Next?”, RUSI, March 17, 2021. https://rusieurope.eu/commentary/republican-party-and-us-foreign-policy-what-next?page=4 “Bash Beijing or Play Nice?”, AMERICAN PURPOSE, December 9, 2020, https://www.americanpurpose.com/articles/bash-beijing-or-play-nice/. “The Global Stakes on Why Black Lives Matter,”, with Claudia Coscia, THE WILSON CENTER, September 21, 2020, https://www.wilsoncenter.org/article/global-stakes-why-black-lives-matter. “Our China Problem,”, THE AMERICAN INTEREST, April 28, 2020, https://www.the-american-interest.com/2020/04/28/our-china-problem/. “After Black Lives Matter, Now Comes the Hard Part,”, THE CEO FORUM, Fall 2020, pp. 84–85, https://theceoforumgroup.com/wp-content/uploads/2020/11/ceo.forum_.leadership.fullissue.v3.pdf “Managing the Higher Ed Obstacle Course,”, INSIDE HIGHER ED, June 11, 2020, https://www.insidehighered.com/views/2020/06/11/when-colleges-reopen-they-should-prioritize-bringing-back-graduate-students-opinion. References External links Washington College — Official Washington College Website Mitchell B. Reiss — official biography from the United States Department of State NI special envoy appointed — BBC News article, 12 December 2003 Reiss' current blog at ForeignPolicy.com Reiss' bio at ForeignPolicy.com 1957 births American diplomats College of William & Mary faculty Columbia Law School alumni Directors of Policy Planning Living people Politics of Northern Ireland Presidents of Washington College The Fletcher School at Tufts University alumni United States Special Envoys Williams College alumni
```xml /** * @license * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at path_to_url */ import {Directive, Input} from '@angular/core'; let nextUniqueId = 0; /** Hint text to be shown underneath the form field control. */ @Directive({ selector: 'mat-hint', host: { 'class': 'mat-mdc-form-field-hint mat-mdc-form-field-bottom-align', '[class.mat-mdc-form-field-hint-end]': 'align === "end"', '[id]': 'id', // Remove align attribute to prevent it from interfering with layout. '[attr.align]': 'null', }, standalone: true, }) export class MatHint { /** Whether to align the hint label at the start or end of the line. */ @Input() align: 'start' | 'end' = 'start'; /** Unique ID for the hint. Used for the aria-describedby on the form field control. */ @Input() id: string = `mat-mdc-hint-${nextUniqueId++}`; } ```
Franklin Township is a civil township of Lenawee County in the U.S. state of Michigan. The population was 2,939 at the 2000 census. Communities Evans Lake was a post office here from 1890 until 1900. Tipton is an unincorporated community in the township at the junction of M-50 and Tipton Highway at . The community was founded by the Rev. Henry Tripp in 1831. It was first known as Franklin Center, after Benjamin Franklin (and for whom the township is named). It was renamed Tripp Town and then shortened to Tipton. A post office was opened June 6, 1834, with William Camburn as the first postmaster. The Tipton ZIP code 49287 also serves most of Franklin Township, as well as small areas of northeast Cambridge Township, southwest Manchester Township, and north central Adrian Township. The city of Adrian is to the south, and the Adrian ZIP code 49221 also serves portions of southern Franklin Township. The village of Clinton is to the east and the Clinton ZIP code 49236 also serves portions of northeastern Franklin Township. The village of Onsted is to the west and the Onsted ZIP code 49265 also serves portions of western Franklin Township. The city of Tecumseh is to the east, and the Tecumseh ZIP code 49286 also serves portions of eastern Franklin Township. Geography According to the United States Census Bureau, the township has a total area of 39.3 square miles (101.8 km2), of which 38.5 square miles (99.7 km2) is land and 0.8 square mile (2.1 km2) (2.11%) is water. Demographics As of the census of 2000, there were 2,939 people, 1,071 households, and 846 families residing in the township. The population density was . There were 1,275 housing units at an average density of . The racial makeup of the township was 98.03% White, 0.07% African American, 0.10% Native American, 0.31% Asian, 0.48% from other races, and 1.02% from two or more races. Hispanic or Latino of any race were 1.09% of the population. There were 1,071 households, out of which 36.4% had children under the age of 18 living with them, 68.3% were married couples living together, 7.1% had a female householder with no husband present, and 21.0% were non-families. 17.1% of all households were made up of individuals, and 5.5% had someone living alone who was 65 years of age or older. The average household size was 2.74 and the average family size was 3.08. In the township the population was spread out, with 27.2% under the age of 18, 6.2% from 18 to 24, 30.4% from 25 to 44, 26.9% from 45 to 64, and 9.4% who were 65 years of age or older. The median age was 38 years. For every 100 females, there were 102.0 males. For every 100 females age 18 and over, there were 102.5 males. The median income for a household in the township was $56,296, and the median income for a family was $61,979. Males had a median income of $47,083 versus $25,691 for females. The per capita income for the township was $24,300. About 1.6% of families and 2.7% of the population were below the poverty line, including 1.7% of those under age 18 and 3.0% of those age 65 or over. Gallery References External links Franklin Township government site Lenawee County government site Complete text of History of Lenawee County published in 1909 by the Western Historical Society Populated places established in 1831 Townships in Lenawee County, Michigan Townships in Michigan
The 1959 Glover Trophy was a motor race, held on 30 March 1959 at Goodwood Circuit, England. To avoid competing with the Lavant Cup race the Glover Trophy was decreed to be strictly for Formula One cars only and as such, ran to Formula One rules. The race was watched by The 40,000 people, ran for 42 laps of the circuit, and was won by British driver Stirling Moss in a Cooper T51. Results References "The Grand Prix Who's Who", Steve Small, 1995. Results at www.silhouet.com Glover Trophy Glover Trophy 20th century in West Sussex Glover Glover Trophy
```c++ // Example 18-1. Reading a chessboards width and height, reading and collecting // the requested number of views, and calibrating the camera #include <iostream> #include <opencv2/opencv.hpp> using std::vector; using std::cout; using std::cerr; using std::endl; void help(char **argv) { // todo rewrite this cout << "\n\n" << "Example 18-1:\nReading a chessboards width and height,\n" << " reading and collecting the requested number of views,\n" << " and calibrating the camera\n\n" << "Call:\n" << argv[0] << " <board_width> <board_height> <number_of_boards> <if_video,_delay_between_framee_capture> <image_scaling_factor>\n\n" << "Example:\n" << argv[0] << " 9 6 15 500 0.5\n" << "-- to use the checkerboard9x6.png provided\n\n" << " * First it reads in checker boards and calibrates itself\n" << " * Then it saves and reloads the calibration matricies\n" << " * Then it creates an undistortion map and finally\n" << " * It displays an undistorted image\n" << endl; } int main(int argc, char *argv[]) { int n_boards = 0; // will be set by input list float image_sf = 0.5f; // image scaling factor float delay = 1.f; int board_w = 0; int board_h = 0; if (argc < 4 || argc > 6) { cout << "\nERROR: Wrong number of input parameters\n"; help(argv); return -1; } board_w = atoi(argv[1]); board_h = atoi(argv[2]); n_boards = atoi(argv[3]); if (argc > 4) { delay = atof(argv[4]); } if (argc > 5) { image_sf = atof(argv[5]); } int board_n = board_w * board_h; cv::Size board_sz = cv::Size(board_w, board_h); cv::VideoCapture capture(0); if (!capture.isOpened()) { cout << "\nCouldn't open the camera\n"; help(argv); return -1; } // ALLOCATE STORAGE // vector<vector<cv::Point2f> > image_points; vector<vector<cv::Point3f> > object_points; // Capture corner views: loop until we've got n_boards successful // captures (all corners on the board are found). // double last_captured_timestamp = 0; cv::Size image_size; while (image_points.size() < (size_t)n_boards) { cv::Mat image0, image; capture >> image0; image_size = image0.size(); cv::resize(image0, image, cv::Size(), image_sf, image_sf, cv::INTER_LINEAR); // Find the board // vector<cv::Point2f> corners; bool found = cv::findChessboardCorners(image, board_sz, corners); // Draw it // drawChessboardCorners(image, board_sz, corners, found); // If we got a good board, add it to our data // double timestamp = static_cast<double>(clock()) / CLOCKS_PER_SEC; if (found && timestamp - last_captured_timestamp > 1) { last_captured_timestamp = timestamp; image ^= cv::Scalar::all(255); cv::Mat mcorners(corners); // do not copy the data mcorners *= (1.0 / image_sf); // scale the corner coordinates image_points.push_back(corners); object_points.push_back(vector<cv::Point3f>()); vector<cv::Point3f> &opts = object_points.back(); opts.resize(board_n); for (int j = 0; j < board_n; j++) { opts[j] = cv::Point3f(static_cast<float>(j / board_w), static_cast<float>(j % board_w), 0.0f); } cout << "Collected our " << static_cast<uint>(image_points.size()) << " of " << n_boards << " needed chessboard images\n" << endl; } cv::imshow("Calibration", image); // show in color if we did collect the image if ((cv::waitKey(30) & 255) == 27) return -1; } // END COLLECTION WHILE LOOP. cv::destroyWindow("Calibration"); cout << "\n\n*** CALIBRATING THE CAMERA...\n" << endl; // CALIBRATE THE CAMERA! // cv::Mat intrinsic_matrix, distortion_coeffs; double err = cv::calibrateCamera( object_points, image_points, image_size, intrinsic_matrix, distortion_coeffs, cv::noArray(), cv::noArray(), cv::CALIB_ZERO_TANGENT_DIST | cv::CALIB_FIX_PRINCIPAL_POINT); // SAVE THE INTRINSICS AND DISTORTIONS cout << " *** DONE!\n\nReprojection error is " << err << "\nStoring Intrinsics.xml and Distortions.xml files\n\n"; cv::FileStorage fs("intrinsics.xml", cv::FileStorage::WRITE); fs << "image_width" << image_size.width << "image_height" << image_size.height << "camera_matrix" << intrinsic_matrix << "distortion_coefficients" << distortion_coeffs; fs.release(); // EXAMPLE OF LOADING THESE MATRICES BACK IN: fs.open("intrinsics.xml", cv::FileStorage::READ); cout << "\nimage width: " << static_cast<int>(fs["image_width"]); cout << "\nimage height: " << static_cast<int>(fs["image_height"]); cv::Mat intrinsic_matrix_loaded, distortion_coeffs_loaded; fs["camera_matrix"] >> intrinsic_matrix_loaded; fs["distortion_coefficients"] >> distortion_coeffs_loaded; cout << "\nintrinsic matrix:" << intrinsic_matrix_loaded; cout << "\ndistortion coefficients: " << distortion_coeffs_loaded << endl; // Build the undistort map which we will use for all // subsequent frames. // cv::Mat map1, map2; cv::initUndistortRectifyMap(intrinsic_matrix_loaded, distortion_coeffs_loaded, cv::Mat(), intrinsic_matrix_loaded, image_size, CV_16SC2, map1, map2); // Just run the camera to the screen, now showing the raw and // the undistorted image. // for (;;) { cv::Mat image, image0; capture >> image0; if (image0.empty()) { break; } cv::remap(image0, image, map1, map2, cv::INTER_LINEAR, cv::BORDER_CONSTANT, cv::Scalar()); cv::imshow("Undistorted", image); if ((cv::waitKey(30) & 255) == 27) { break; } } return 0; } ```
```javascript /** * @license Apache-2.0 * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ 'use strict'; // MODULES // var tape = require( 'tape' ); var isnan = require( '@stdlib/math/base/assert/is-nan' ); var abs = require( '@stdlib/math/base/special/abs' ); var PINF = require( '@stdlib/constants/float64/pinf' ); var NINF = require( '@stdlib/constants/float64/ninf' ); var EPS = require( '@stdlib/constants/float64/eps' ); var skewness = require( './../lib' ); // FIXTURES // var data = require( './fixtures/julia/data.json' ); // TESTS // tape( 'main export is a function', function test( t ) { t.ok( true, __filename ); t.strictEqual( typeof skewness, 'function', 'main export is a function' ); t.end(); }); tape( 'if provided `NaN` for any parameter, the function returns `NaN`', function test( t ) { var v = skewness( NaN, 0.5 ); t.equal( isnan( v ), true, 'returns NaN' ); v = skewness( 10.0, NaN ); t.equal( isnan( v ), true, 'returns NaN' ); t.end(); }); tape( 'if provided `alpha <= 0`, the function returns `NaN`', function test( t ) { var y; y = skewness( -1.0, 2.0 ); t.equal( isnan( y ), true, 'returns NaN' ); y = skewness( NINF, 1.0 ); t.equal( isnan( y ), true, 'returns NaN' ); y = skewness( NINF, PINF ); t.equal( isnan( y ), true, 'returns NaN' ); y = skewness( NINF, NINF ); t.equal( isnan( y ), true, 'returns NaN' ); y = skewness( NINF, NaN ); t.equal( isnan( y ), true, 'returns NaN' ); t.end(); }); tape( 'if provided `beta <= 3`, the function returns `NaN`', function test( t ) { var y; y = skewness( 2.0, 3.0 ); t.equal( isnan( y ), true, 'returns NaN' ); y = skewness( 2.0, 2.0 ); t.equal( isnan( y ), true, 'returns NaN' ); y = skewness( 2.0, 1.0 ); t.equal( isnan( y ), true, 'returns NaN' ); y = skewness( 2.0, 0.0 ); t.equal( isnan( y ), true, 'returns NaN' ); y = skewness( 2.0, -1.0 ); t.equal( isnan( y ), true, 'returns NaN' ); y = skewness( 1.0, NINF ); t.equal( isnan( y ), true, 'returns NaN' ); y = skewness( PINF, NINF ); t.equal( isnan( y ), true, 'returns NaN' ); y = skewness( NINF, NINF ); t.equal( isnan( y ), true, 'returns NaN' ); y = skewness( NaN, NINF ); t.equal( isnan( y ), true, 'returns NaN' ); t.end(); }); tape( 'the function returns the skewness of a beta prime distribution', function test( t ) { var expected; var delta; var alpha; var beta; var tol; var i; var y; expected = data.expected; alpha = data.alpha; beta = data.beta; for ( i = 0; i < expected.length; i++ ) { y = skewness( alpha[i], beta[i] ); if ( y === expected[i] ) { t.equal( y, expected[i], 'alpha: '+alpha[i]+', beta: '+beta[i]+', y: '+y+', expected: '+expected[i] ); } else { delta = abs( y - expected[ i ] ); tol = 2.0 * EPS * abs( expected[ i ] ); t.ok( delta <= tol, 'within tolerance. alpha: '+alpha[i]+'. beta: '+beta[i]+'. y: '+y+'. E: '+expected[ i ]+'. : '+delta+'. tol: '+tol+'.' ); } } t.end(); }); ```
Araucaria laubenfelsii (De Laubenfels' Araucaria) is a species of conifer in the family Araucariaceae. It is found only on Grande Terre, the main island of New Caledonia, mainly on the southern mountains Mont Mou, Mont des Sources, Mont Dzumac and Mont Dou, though smaller populations also exist on Mont Kaala and Mont Canala in the north. It is one of the larger of New Caledonia's native araucaria species, sometimes reaching up to 50 meters in height in emergent rainforest specimens, and potentially living for as long as 500 years or more. As with other New Caledonian Araucaria species, Araucaria laubenfelsii is threatened by habitat loss, though southern populations at least are considered to be healthy and it is not currently considered vulnerable or endangered. A population genetic study suggested that A. laubenfelsii is doubtfully distinct from the more widespread A. montana. References laubenfelsii Conservation dependent plants Endemic flora of New Caledonia Taxonomy articles created by Polbot
```php <?php namespace App\Repositories\BillingIntegration; use App\Models\Client; use App\Models\Invoice; use App\Models\Payment; interface BillingIntegrationInterface { const INTEGRATION_TYPE = "billing"; public function getClient(); public function convertJson($response); public function createInvoice($params); public function bookInvoice($invoiceGuid, $timestamp); public function sendInvoice(Invoice $invoice, $subject, $message, $recipient, $attachPdf = false); public function getContacts($filter = ""); public function getPrimaryContact(Client $client); public function getProductMapping(): array; public function createPayment(Payment $payment); public function deletePayment(Payment $payment); } ```
Alexander Benson (1872 - November 8, 1947) was an American diplomat. Biography He was born in 1872. Having served as Secretary of Legation to Bolivia, he was appointed Second Secretary of the Embassy of the United States at St. Petersburg, Russia in 1911. In 1913, as Second Secretary, he was put in charge of the Embassy of the United States in Rome. He died on November 9, 1947. References 1872 births 1947 deaths American diplomats
SS Oria was a Norwegian steamer that sank on 12 February 1944, causing the death of some 4,095 Italian prisoners of war, 21 Greeks and 15 Germans. It was one of the worst maritime disasters in history, and the worst maritime disaster caused by the sinking of a single ship in the Mediterranean Sea. Ship The Oria was built in 1920 by Osbourne, Graham & Co in Sunderland. It had a tonnage of , and was property of the Norwegian company Fearnley & Eger of Oslo. At the beginning of World War II, it was part of a convoy sent to North Africa, and was in Casablanca when interned in June 1940, shortly after the German occupation of Norway. One year later the ship was requisitioned by the Vichy French, renamed Sainte Julienne, and used in the Mediterranean. In November 1942 it was formally returned to its former owner and therefore renamed Oria, but soon after it was assigned to the German company of Hamburg. Sinking In the fall of 1943, after the German invasion of the Dodecanese, the Germans had to transfer tens of thousands of Italian prisoners to mainland Greece. These transfers were made often using unseaworthy vessels, cramming prisoners onboard without any safety standard. Several ships were sunk, either by Allied attack or by accident, causing the death of thousands of prisoners. Oria was one of the vessels used to carry Italian prisoners. On 11 February 1944, it sailed from Rhodes bound for Piraeus, carrying 4,116 Italian prisoners (43 officers, 118 non-commissioned officers and 3,955 enlisted men), 21 German soldiers (part of whom were tasked with guarding the prisoners, while others were on passage to Greece), and a crew of 22 Greeks. The next day the ship was caught by a storm and sank off Cape Sounion on the South East rocks of Patroklos island. Some tugs, arriving the next day on the scene, could only save 21 Italians, 6 Germans, the Norwegian captain and one Greek. The remains of the wreck were discovered in 1999 by Greek pro diver Aristotelis Zervoudis. See also Battle of Rhodes Battle of Kos SS Petrella Italian military internees Italian ship Gaetano Donizetti Italian ship Mario Roselli Massacre of the Acqui Division References Maritime incidents in February 1944 1920 ships Ships built on the River Wear Steamships of Norway Ships of Nortraship World War II merchant ships of France World War II merchant ships of Germany World War II shipwrecks in the Aegean Sea Troop ships of Germany
```java /* * 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 */ package org.apache.pulsar.broker.intercept; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import org.apache.pulsar.broker.PulsarService; import org.apache.pulsar.broker.service.ServerCnx; import org.apache.pulsar.common.api.proto.BaseCommand; import org.apache.pulsar.common.intercept.InterceptException; public class MockBrokerInterceptor implements BrokerInterceptor { @Override public void onPulsarCommand(BaseCommand command, ServerCnx cnx) throws InterceptException { // no-op } @Override public void onConnectionClosed(ServerCnx cnx) { // no-op } @Override public void onWebserviceRequest(ServletRequest request) { // no-op } @Override public void onWebserviceResponse(ServletRequest request, ServletResponse response) throws IOException, ServletException { // no-op } @Override public void initialize(PulsarService pulsarService) throws Exception { // no-op } @Override public void close() { // no-op } } ```
Le Porge (; ) is a coastal commune in the Gironde department in the Nouvelle-Aquitaine region in Southwestern France. In 2020, it had a population of 3,324. Demographics See also Communes of the Gironde department Amitié (submarine communications cable) References External links Official site Communes of Gironde
Lorenzo Peracino (16 May 1710 - 25 December 1789) was an Italian painter active near Novara in northern Italy. Biography He was born at Bosco, in what is now Cellio con Breia, to peasant parents. Lorenzo was likely educated as a boy in the town of Cellio. It is unclear where he learned painting. His first known work is a Martyrdom of St Mamante(1736) located in the parish church of Cavaglio d'Agogna. In 1747 he designs frescoes for the five chapels of the Misteri Dolorosi of the sanctuary-church of San Pietro, called the chiesa da Lopià. From 1748 to 1752: Peracino worked in Galliate. In 1754, he decorated the chapel of the Crucifix in the parish church of Cellio. In 1756, he frescoed two chapels in the parish church of Valduggia. Between 1759 and 1762, he frescoed the cupola of the sanctuary at Galliate. In 1761, he decorated the ceiling of the Presbytery and choir of the parish church of Breia, and the Chapel of the Crucifix in the Collegiata di Borgosesia, and the ceiling, spandrels, and lunettes of the Tempietto di San Clemente in the parish church of Santa Maria Assunta of Trecate. In 1778 he designs the fresco decoration for the sacristy of the Sanctuary del Varallino di Galliate. References 1710 births 1789 deaths 18th-century Italian painters Italian male painters Italian Baroque painters Painters from Piedmont People from Cellio con Breia 18th-century Italian male artists
```c++ #include "BattleCursor.h" #include "BattleScene.h" #include "Save.h" BattleCursor::BattleCursor(BattleScene* b) { head_selected_ = std::make_shared<Head>(); addChild(head_selected_); ui_status_ = std::make_shared<UIStatus>(); ui_status_->setVisible(false); ui_status_->setShowButton(false); addChild(ui_status_, 300, 0); battle_scene_ = b; } BattleCursor::~BattleCursor() { } void BattleCursor::setRoleAndMagic(Role* r, Magic* m /*= nullptr*/, int l /*= 0*/) { role_ = r; magic_ = m; level_index_ = l; head_selected_->setRole(r); } void BattleCursor::dealEvent(BP_Event& e) { auto engine = Engine::getInstance(); if (battle_scene_ == nullptr) { return; } if (!role_->isAuto()) { int x = -1, y = -1; if (e.type == BP_KEYDOWN) { int tw = battle_scene_->getTowardsByKey(e.key.keysym.sym); // if (magic_ && magic_->AttackAreaType == 1) { Scene::getTowardsPosition(role_->X(), role_->Y(), tw, &x, &y); } else { Scene::getTowardsPosition(battle_scene_->selectX(), battle_scene_->selectY(), tw, &x, &y); } } if (e.type == BP_MOUSEMOTION) { // if (magic_ && magic_->AttackAreaType == 1) { int tw = battle_scene_->getTowardsByMouse(e.motion.x, e.motion.y); Scene::getTowardsPosition(role_->X(), role_->Y(), tw, &x, &y); } else { auto p = battle_scene_->getMousePosition(e.motion.x, e.motion.y, role_->X(), role_->Y()); x = p.x; y = p.y; } } if (engine->gameControllerGetButton(BP_CONTROLLER_BUTTON_DPAD_UP)) { Scene::getTowardsPosition(battle_scene_->selectX(), battle_scene_->selectY(), Towards_RightUp, &x, &y); } if (engine->gameControllerGetButton(BP_CONTROLLER_BUTTON_DPAD_DOWN)) { Scene::getTowardsPosition(battle_scene_->selectX(), battle_scene_->selectY(), Towards_LeftDown, &x, &y); } if (engine->gameControllerGetButton(BP_CONTROLLER_BUTTON_DPAD_LEFT)) { Scene::getTowardsPosition(battle_scene_->selectX(), battle_scene_->selectY(), Towards_LeftUp, &x, &y); } if (engine->gameControllerGetButton(BP_CONTROLLER_BUTTON_DPAD_RIGHT)) { Scene::getTowardsPosition(battle_scene_->selectX(), battle_scene_->selectY(), Towards_RightDown, &x, &y); } setCursor(x, y); } } void BattleCursor::setCursor(int x, int y) { if (battle_scene_->canSelect(x, y)) { battle_scene_->setSelectPosition(x, y); if (head_selected_->getVisible()) { head_selected_->setRole(battle_scene_->getRoleLayer()->data(x, y)); } //ui if (ui_status_->getVisible()) { ui_status_->setRole(battle_scene_->getRoleLayer()->data(x, y)); } } if (mode_ == Move) { } else if (mode_ == Action) { battle_scene_->calEffectLayer(role_, battle_scene_->selectX(), battle_scene_->selectY(), magic_, level_index_); } } void BattleCursor::onEntrance() { if (battle_scene_ == nullptr) { setExit(true); setVisible(!exit_); return; } int w, h; Engine::getInstance()->getWindowSize(w, h); head_selected_->setPosition(w - 400, h - 150); battle_scene_->towards_ = role_->FaceTowards; if (role_->isAuto() || role_->Networked) { int x = -1, y = -1; if (mode_ == Move) { if (role_->Networked) { x = role_->Network_MoveX; y = role_->Network_MoveY; } else { x = role_->AI_MoveX; y = role_->AI_MoveY; } } else if (mode_ == Action) { if (role_->Networked) { x = role_->Network_ActionX; y = role_->Network_ActionY; } else { x = role_->AI_ActionX; y = role_->AI_ActionY; } } setResult(0); setExit(true); setVisible(!exit_); setCursor(x, y); } } ```
Typhloesus wellsi is an extinct species of enigmatic bilaterian animals from the Bear Gulch Limestone. It was once thought to be the first body fossil of a conodont, based on what turned out to be its gut contents; it is now thought to exhibit a radula, which would make it a mollusc, although different types of animal have independently evolved radula-like features. Mark Purnell, of the Centre for Palaeobiology at the University of Leicester, said that it was not definitively known "what this weird thing is". Discovery Typhloesus was first described back in 1973 from Carboniferous rocks in Montana. The animal was then jokingly referred to as the ‘alien goldfish’ by subsequent studies. Because of its highly enigmatic nature, this organism was only mentioned briefly in several papers. It was then thought to have been the first known body fossil of a conodont, which are a primitive group of jawless agnathan fish distantly related to lampreys and hagfish. This was based on the presence of "conodont elements", which are the small comb-like teeth of those animals. The teeth however were actually located in the gut contents of the Typhloesus, meaning that while it wasn't a conodont, they were a part of its diet. The animals taxonomy would be shrouded in mystery for over 30 years until in September 2022, when a new paper published revealed several potential mollusk-like features of the animal. Description It has a fusiform (spindle-shaped) body, with a maximum length of 90 mm. At the posterior or backside of the animal is a caudal fin, which was supported by two sets of orthogonal fin rays. The exterior lacks any other organs. The internal anatomy consists of a foregut and a midgut. The gut lacks a midsection and an anus. Beneath the midgut is a disc shaped organ, tentatively called a ferrodiscus; the purpose of this organ is unknown, however it has a high concentration of iron. Paleoecology It might have been both a predator and a scavenger, as its fossils sometimes contains conodont teeth and worm teeth located in the midgut of the animal. See also Tullimonstrum References Enigmatic prehistoric animal genera Controversial taxa
```smalltalk // // Unit tests for NSTimeZone // // Authors: // Sebastien Pouliot <sebastien@xamarin.com> // // using System; using System.IO; using Foundation; using ObjCRuntime; using NUnit.Framework; namespace MonoTouchFixtures.Foundation { [TestFixture] [Preserve (AllMembers = true)] public class NSTimeZoneTest { [Test] public void KnownTimeZoneNames () { Assert.That (NSTimeZone.KnownTimeZoneNames.Count, Is.GreaterThan (400), "KnownTimeZoneNames"); // 416 on iOS5 } [Test] public void AbbreviationsTest () { Assert.That (NSTimeZone.Abbreviations.ContainsKey (new NSString ("CST"))); } [Test] public void AbbreviationTest () { var timezone = NSTimeZone.LocalTimeZone; Assert.NotNull (timezone.Abbreviation ()); } [Test] public void All_28300 () { foreach (var name in NSTimeZone.KnownTimeZoneNames) { // simulator uses OSX to get timezones which might have some holes, // e.g. @"Pacific/Bougainville" does not seems to be available in Mavericks #if !MONOMAC && !__MACCATALYST__ if (Runtime.Arch == Arch.SIMULATOR) { if (!File.Exists (Path.Combine ("/usr/share/zoneinfo/", name))) continue; } #endif TimeZoneInfo tzi = TimeZoneInfo.FindSystemTimeZoneById (name); Assert.NotNull (tzi.GetUtcOffset (DateTime.Now), name); } Assert.NotNull (TimeZoneInfo.Local.GetUtcOffset (DateTime.Now), "Local"); } } } ```
The University of Rizal System (URS) is a network of colleges located in the Rizal province, Philippines. It operates multiple campuses, with the main campus being in Tanay, Rizal. It is committed to produce graduates in agriculture, engineering, science and technology, culture and arts, teacher and business education through instruction, research, extension and production services in Region IV. The university has expanded from its Main campus in Tanay to offer programs to students in the campuses: Angono, Antipolo, Binangonan, Cainta, Cardona, Morong, Pililla, Rodriguez, Tanay, and Taytay. History The Rizal State College was established by Republic Act Number 1560 in 1956 as Rizal National Agricultural School (RNAS). It was chartered as a state college on June 24, 1983, by Batas Pambansa Bilang 662 known as Rizal College of Agriculture and Technology (RCAT). It was later named Rizal State College (RSC) making it the first state college of the Province of Rizal. The college is about 67 kilometers from Metro Manila and accessible to towns of Rizal through Manila East Road through the newly opened sea level in the Sierra Madre Mountain range and is overlooking the Laguna Lake and the surrounding lake towns. The college has five extension campuses located in four of the thirteen towns of Rizal namely: Pililla, Rodriguez, Angono, Binangonan, and in the lone City of Antipolo which were established in 1991, 1995, 1996 and 2000, respectively. The Rizal Polytechnic College (formerly Rizal Technological and Polytechnic Institute or RTPI) was established as a provincial high school in 1944. It is located in the heart of the town of Morong. By virtue of Batas Pambansa Bilang 469, the school was converted into a tertiary institution and on March 1, 1995, Republic Act Number 7933 converted RTPI into a state college known as Rizal Polytechnic College (RPC). The college has an extension campus in Cainta which was opened in 1999. With the passage of Republic Act Number 9157 in June 2001 which lapsed into law on August 11, 2001, the University of Rizal System (URS) was established by integrating the Rizal State College, Rizal Polytechnic College and Rizal Technological University - Antipolo Annex. Organization and administration The Board of Regents is the highest decision-making body of the University of Rizal System. It is composed of 12 members. References http://www.chanrobles.com/republicactno9157.html http://www.urs.edu.ph Republic Act No. 9157 | Official Gazette of the Republic of the Philippines External links Official website President's Blog Universities and colleges in Rizal State universities and colleges in the Philippines
Jesus Pinedo (born June 22, 1996) is a Peruvian mixed martial artist who competes in the Featherweight division of Professional Fighters League (PFL). In October 2023, Pinedo reached #10 in World Featherweight rankings according to Fight Matrix. Background Jesus Pinedo closely associated with coach Iván Ibérico, a renowned MBA figure in Peru, and has maintained a strong bond since the age of 16-17. While martial arts have been a lifelong passion, the individual initially dabbled in various contact sports from a tender age of 5 or 6, sporadically engaging in disciplines such as judo and karate during vacations or brief periods throughout the year. Unlike his peers who favored soccer, Pinedo's inclination towards mixed martial arts became evident early on, steering their sporting trajectory in a distinct direction. He was involved in fighting in his youth, leading to his father putting him into pre-military boarding school. Mixed martial arts career Early career Pinedo's handlers embraced the baptism-by-fire approach, leading him to make his professional debut just under a month after his 17th birthday. On July 17, 2013, he showcased his skills by swiftly dispatching Luigi Dapello with first-round punches at a regional event. During his teenage years, Pinedo fearlessly stepped into the ring 14 times, amassing a commendable record of 9-4-1 in those early battles. His name, "El Mudo," has become synonymous with success, as he claimed titles in both the 300 Sparta and Inka Fighting Championship organizations. Pinedo's crowning moment came when he secured the IFC featherweight championship, forcing Joackim Pedro Neto Ferreira to tap out to a guillotine choke in the first round of their February 2018 clash. Just four months later, he added another feather to his cap by clinching the 300 Sparta featherweight title, unleashing a barrage of second-round punches that spelled the end for Carlos Alexadre. Ultimate Fighting Championship Pinedo made his UFC debut replacing an injured Claudio Puelles against Devin Powell on November 17, 2018 at UFC Fight Night 140, winning the fight via unanimous decision. Pinedo once again replaced an injured fighter, this time Nasrat Haqparast, against John Makdessi on March 23, 2019, at UFC Fight Night 148, losing the fight via unanimous decision. Days after the Peruvian fighter broke ties with the Iridium Sports agency, owned by well-known manager Jason House, the UFC let go off Pinedo. Professional Fighters League After winning his next 4 bouts on the Peruvian regional scene all by stoppages, Pinedo made his PFL debut against Gabriel Alves Braga on April 1, 2023 at PFL 1, losing the close bout via split decision. Pinedo faced Brendan Loughnane on June 8, 2023 at PFL 4. He won the fight via knockout early into the first round, becoming the first fighter to finish Loughnane in his MMA career. In the Featherweight semi-finals, Pinedo faced Bubba Jenkins in the main event at PFL 7 on August 4, 2023. At weigh-ins, Jesus Pinedo weighed in at 146.4 pounds, 0.4 pounds over the Featherweight limit. He was fined 20 percent of his purse, which went to his opponent Jenkins, and he started the bout with a one point subtraction. Pinedo went on to win the bout via TKO in the second round. Championships and accomplishments Mixed martial arts Inka Fighting Championship IFC Featherweight Championship (One time) 300 Sparta 300S Featherweight Championship Mixed martial arts record |- |Win |align=center|22–6–1 |Bubba Jenkins |TKO (punches) |PFL 7 | |align=center|2 |align=center|4:40 |San Antonio, Texas, United States | |- |Win |align=center|21–6–1 |Brendan Loughnane |KO (knee and punches) |PFL 4 | |align=center|1 |align=center|1:34 |Atlanta, Georgia, United States | |- |Loss |align=center|20–6–1 |Gabriel Alves Braga |Decision (split) |PFL 1 | |align=center|3 |align=center|5:00 |Las Vegas, Nevada, United States | |- |Win |align=center|20–5–1 |Genison Lima |TKO (punches) |Inka FC 33 | |align=center| 1 |align=center| 4:05 |Lima, Peru | |- |Win |align=center|19–5–1 |Elicardo Silva |KO (punches) |Arena Global 10 | |align=center| 1 |align=center| 1:15 |Rio de Janeiro, Brazil | |- |Win |align=center|18–5–1 |Kaio Tavares |TKO (elbows and punches) |Inka FC 33 | |align=center|1 |align=center|2:27 |Lima, Peru | |- |Win |align=center|17–5–1 |Jose Luis Alegre |TKO (punches) |Iquitos Combat Championship 6 | |align=center|2 |align=center|2:37 |Iquitos, Peru | |- | Loss | align=center|16–5–1 | John Makdessi |Decision (unanimous) |UFC Fight Night: Thompson vs. Pettis | |align=center|3 |align=center|5:00 |Nashville, Tennessee, United States | |- |Win |align=center|16–4–1 |Devin Powell |Decision (unanimous) |UFC Fight Night: Magny vs. Ponzinibbio | |align=center|3 |align=center|5:00 |Buenos Aires, Argentina | |- | Win | align=center|15–4–1 | Carlos Alexandre | TKO (punches) | 300 Sparta 26 | | align=center|2 | align=center|3:13 | Lima, Peru | |- | Win | align=center|14–4–1 | Joackim Neto | Submission (guillotine choke) | Inka FC 27 | | align=center|1 | align=center|2:25 | Lima, Peru | |- | Win | align=center|13–4–1 | Jefferson Angulo | Submission (triangle choke) | EMMA 11 | | align=center| 1 | align=center| 2:46 | Cuenca, Ecuador | |- | Win | align=center|12–4–1 | Alonso Verona | Submission (triangle choke) | Redemption Fighters 3 | | align=center| 3 | align=center| 2:18 | Lima, Peru | |- | Win | align=center|11–4–1 | Guilherme Cadena | TKO (punches) | 300 Sparta 12 | | align=center| 1 | align=center| 3:04 | Lima, Peru | |- | Win | align=center|10–4–1 | Marcelino Cavalcante | TKO (punches) | 300 Sparta 11 | | align=center|1 | align=center|3:17 | Lima, Peru | |- | Loss | align=center|9–4–1 | Alonso Verona | KO (punches) | Inka FC: Warriors 5 | | align=center| 1 | align=center| 0:09 | Lima, Peru | |- | Win | align=center|9–3–1 | Federico Gentiluomo | Decision (unanimous) | Arena Tour 7 | | align=center|3 | align=center|5:00 | Buenos Aires, Argentina | |- | Win | align=center|8–3–1 | Cicero Coutinho | TKO (punches) | Inka FC: Warriors 4 | | align=center|1 | align=center|1:37 | Trujillo, Peru | |- | Win | align=center|7–3–1 | Jonathan Ortega | TKO (punches) | Arena Tour 6 | | align=center|1 | align=center| | Cordoba, Argentina | |- | Win | align=center|6–3–1 | Sidney Guzman | Submission (armbar) | Peru FC 19 | | align=center|1 | align=center|3:49 | Lima, Peru | |- | Win | align=center|5–3–1 | Jack Guzman | TKO (punches) | Inka FC: Warriors 2 | | align=center|1 | align=center|2:18 | Lima, Peru | |- | Draw | align=center|4–3–1 | Jose Zarauz | Draw (majority) | Peru FC 18 | | align=center|3 | align=center|5:00 | Lima, Peru | |- | Loss | align=center| 4–3 | Javier Oyarzabal | TKO (punches) | Arena Tour 3 | | align=center|2 | align=center| | Buenos Aires, Argentina | |- | Loss | align=center| 4–2 | Humberto Bandenay |Decision (split) |Inka FC 26 | |align=center|3 |align=center|5:00 |Lima, Peru | |- | Win | align=center| 4–1 | Victor Arata | Decision (unanimous) | Inka FC 25 | | align=center| 3 | align=center| 5:00 | Lima, Peru | |- | Win | align=center| 3–1 | Marlon Gonzales | Decision (unanimous) | 300 Sparta 5 | | align=center|3 | align=center|5:00 | Lima, Peru | |- | Loss | align=center| 2–1 | Jose Manuel Guevara | Decision (unanimous) | 300 Sparta 4 | | align=center|3 | align=center|5:00 | Lima, Peru | |- | Win | align=center| 2–0 | Miguel Morales | Decision (unanimous) | 300 Sparta 3 | | align=center|3 | align=center|5:00 | Lima, Peru | |- | Win | align=center| 1–0 | Luigi Dapello | TKO (punches) | 300 Sparta 2 | | align=center|1 | align=center|2:23 | Lima, Peru | See also List of current PFL fighters List of male mixed martial artists References External links Peruvian male mixed martial artists 1996 births Living people Featherweight mixed martial artists
Brombya is a genus of flowering plants belonging to the family Rutaceae. Its native range is Queensland. Species: Brombya platynema Brombya smithii References Zanthoxyloideae Zanthoxyloideae genera
In mathematics, Schilder's theorem is a generalization of the Laplace method from integrals on to functional Wiener integration. The theorem is used in the large deviations theory of stochastic processes. Roughly speaking, out of Schilder's theorem one gets an estimate for the probability that a (scaled-down) sample path of Brownian motion will stray far from the mean path (which is constant with value 0). This statement is made precise using rate functions. Schilder's theorem is generalized by the Freidlin–Wentzell theorem for Itō diffusions. Statement of the theorem Let C0 = C0([0, T]; Rd) be the Banach space of continuous functions such that , equipped with the supremum norm ||·||∞ and be the subspace of absolutely continuous functions whose derivative is in (the so-called Cameron-Martin space). Define the rate function on and let be two given functions, such that (the "action") has a unique minimum . Then under some differentiability and growth assumptions on which are detailed in Schilder 1966, one has where denotes expectation with respect to the Wiener measure on and is the Hessian of at the minimum ; is meant in the sense of an inner product. Application to large deviations on the Wiener measure Let B be a standard Brownian motion in d-dimensional Euclidean space Rd starting at the origin, 0 ∈ Rd; let W denote the law of B, i.e. classical Wiener measure. For ε > 0, let Wε denote the law of the rescaled process B. Then, on the Banach space C0 = C0([0, T]; Rd) of continuous functions such that , equipped with the supremum norm ||·||∞, the probability measures Wε satisfy the large deviations principle with good rate function I : C0 → R ∪ {+∞} given by if ω is absolutely continuous, and I(ω) = +∞ otherwise. In other words, for every open set G ⊆ C0 and every closed set F ⊆ C0, and Example Taking ε = 1/c2, one can use Schilder's theorem to obtain estimates for the probability that a standard Brownian motion B strays further than c from its starting point over the time interval [0, T], i.e. the probability as c tends to infinity. Here Bc(0; ||·||∞) denotes the open ball of radius c about the zero function in C0, taken with respect to the supremum norm. First note that Since the rate function is continuous on A, Schilder's theorem yields making use of the fact that the infimum over paths in the collection A is attained for . This result can be heuristically interpreted as saying that, for large and/or large In fact, the above probability can be estimated more precisely: for a standard Brownian motion in , and any and , we have: References (See theorem 5.2) Asymptotic analysis Theorems regarding stochastic processes Large deviations theory
```c++ #ifndef BOOST_MPL_BACK_INSERTER_HPP_INCLUDED #define BOOST_MPL_BACK_INSERTER_HPP_INCLUDED // // (See accompanying file LICENSE_1_0.txt or copy at // path_to_url // // See path_to_url for documentation. // $Id$ // $Date$ // $Revision$ #include <boost/mpl/push_back.hpp> #include <boost/mpl/inserter.hpp> namespace boost { namespace mpl { template< typename Sequence > struct back_inserter : inserter< Sequence,push_back<> > { }; }} #endif // BOOST_MPL_BACK_INSERTER_HPP_INCLUDED ```
```smalltalk using System; using System.Collections.Generic; namespace Microsoft.TeamFoundation.DistributedTask.Orchestration.Server.Pipelines.Yaml.Contracts { internal sealed class VariablesTemplateReference : IVariable { internal String Name { get; set; } internal IDictionary<String, Object> Parameters { get; set; } } } ```
The Chilkat Valley News is a weekly newspaper serving the Chilkat Valley/Haines Borough area of Southeast Alaska. The paper principally serves the communities of Haines, where it is published, and Klukwan, a Tlingit Indian village west of Haines. The newspaper features local news and "Duly Noted," an about-town column written by locals. Over the years these have included Doris Ward and Heather Lende (author, National Public Radio commentator, and Anchorage Daily News columnist.) The Chilkat Valley News is also one of just a handful of independently owned newspapers in Alaska. The newspaper was founded in 1966 by Haines schoolteacher Ray Menaker and a student printer, Bill Hartmann. The first edition appeared January 3 without a title, instead asking readers to choose a name from a list of 18 suggested ones, including Haines Independent Grapevine and Lynn Canal Drift. Menaker sold the newspaper in the mid-1980s to Bonnie Hedrick. In 2012, Hedrick sold the paper to Tom Morphet. In June 2017, Kyle Clayton, the current editor and publisher, bought the paper from Morphet. The paper is printed in Petersburg, Alaska and published on Thursdays. The Chilkat Valley News has won numerous awards from the Alaska Press Club, including Best Weekly Newspaper in 2013 and 2014. External links 1966 establishments in Alaska Haines Borough, Alaska Newspapers published in Alaska Newspapers established in 1966 Weekly newspapers published in the United States
```c /* $OpenBSD: jrand48.c,v 1.3 2005/08/08 08:05:36 espie Exp $ */ /* * All rights reserved. * * You may redistribute unmodified or modified versions of this source * code provided that the above copyright notice and this and the * following conditions are retained. * * This software is provided ``as is'', and comes with no warranties * of any kind. I shall in no event be liable for anything that happens * to anyone/anything when using this software. */ #include "rand48.h" long jrand48(unsigned short xseed[3]) { __dorand48(xseed); return ((long) xseed[2] << 16) + (long) xseed[1]; } ```
John Joseph McCarthy (January 7, 1910 – September 13, 1973) was an American professional baseball first baseman. He played in Major League Baseball (MLB) for all or parts of 11 seasons for the Brooklyn Dodgers, New York Giants and Boston Braves between and . Born in Chicago, McCarthy threw and batted left-handed, stood tall and weighed . He helped the Giants win the 1937 National League pennant as their regular first baseman. His 65 runs batted in were third on the team. In the 1937 World Series, McCarthy started all five games against the cross-town New York Yankees and collected four hits, including a double, in 19 at bats (.211). The Yankees won the Series, four games to one. In his 11 MLB seasons, McCarthy played in 542 games and had 1,557 at-bats, 182 runs, 432 hits, 72 doubles, 16 triples, 25 home runs, 209 RBI, 8 stolen bases, 90 walks, .277 batting average, .319 on-base percentage, .392 slugging percentage, 611 total bases and 19 sacrifice hits. Defensively, he recorded a .990 fielding percentage as a first baseman. He died in Mundelein, Illinois at the age of 63. References External links 1910 births 1973 deaths Baseball players from Illinois Brooklyn Dodgers players New York Giants (NL) players Boston Braves players Major League Baseball first basemen Dayton Ducks players Sacramento Senators players Reading Brooks players Allentown Brooks players Newark Bears (International League) players Jersey City Giants players Indianapolis Indians players Minneapolis Millers (baseball) players
The automotive industry is one of the most important industries in the Czech Republic. It produces more than 20% of production volume, directly employs more than 120,000 people and at full capacity, produces more than 1.3 million passenger cars per year, which is a new car every 23 seconds (as of 2017). In total, industry accounts for 35% of the Czech economy. It also plays a very significant role in Czech exports. In January 2010, machinery and transport equipment accounted for 54.3% of exports. In 2016, 1,351,124 motor vehicles were produced in the Czech Republic, which was 8.2% more year-on-year. Brand History The Prague watchmaker and mechanic Josef Božek was the first to create a self-propelled carriage in what is now the Czech Republic. In 1815, he presented the fruit of his ten years of work - a ferry car , which is considered one of the first ferry cars in the world after the crews of the Frenchman Cugnot and the Englishman Trevithick. Božek improved his creation for several years, after which he used the steam engine separately from the vehicle itself. Later, the Bohemian designer was engaged in steamships and rail transport, and also gained fame as a watchmaker. In 1897, the East Moravian Nesselsdorfer Wagenbau-Fabriksgesellschaft (future Tatra) company produced its first passenger car, the President, and a year later a truck. See also List of automobile manufacturers of the Czech Republic References Economy of the Czech Republic Automotive industry in the Czech Republic
```html <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "path_to_url"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Struct template less</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> <link rel="up" href="../../../accumulators/reference.html#header.boost.accumulators.numeric.functional_hpp" title="Header &lt;boost/accumulators/numeric/functional.hpp&gt;"> <link rel="prev" href="less_base.html" title="Struct template less_base"> <link rel="next" href="less_equal_base.html" title="Struct template less_equal_base"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> <td align="center"><a href="../../../../../index.html">Home</a></td> <td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="path_to_url">People</a></td> <td align="center"><a href="path_to_url">FAQ</a></td> <td align="center"><a href="../../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="less_base.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../accumulators/reference.html#header.boost.accumulators.numeric.functional_hpp"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="less_equal_base.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="refentry"> <a name="boost.numeric.functional.less"></a><div class="titlepage"></div> <div class="refnamediv"> <h2><span class="refentrytitle">Struct template less</span></h2> <p>boost::numeric::functional::less</p> </div> <h2 xmlns:rev="path_to_url~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> <div xmlns:rev="path_to_url~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../../accumulators/reference.html#header.boost.accumulators.numeric.functional_hpp" title="Header &lt;boost/accumulators/numeric/functional.hpp&gt;">boost/accumulators/numeric/functional.hpp</a>&gt; </span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Left<span class="special">,</span> <span class="keyword">typename</span> Right<span class="special">,</span> <span class="keyword">typename</span> LeftTag <span class="special">=</span> <span class="keyword">typename</span> <span class="identifier">tag</span><span class="special">&lt;</span><span class="identifier">Left</span><span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span><span class="special">,</span> <span class="keyword">typename</span> RightTag <span class="special">=</span> <span class="keyword">typename</span> <span class="identifier">tag</span><span class="special">&lt;</span><span class="identifier">Right</span><span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span><span class="special">&gt;</span> <span class="keyword">struct</span> <a class="link" href="less.html" title="Struct template less">less</a> <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">numeric</span><span class="special">::</span><span class="identifier">functional</span><span class="special">::</span><span class="identifier">less_base</span><span class="special">&lt;</span> <span class="identifier">Left</span><span class="special">,</span> <span class="identifier">Right</span><span class="special">,</span> <span class="keyword">void</span> <span class="special">&gt;</span> <span class="special">{</span> <span class="special">}</span><span class="special">;</span></pre></div> </div> <table xmlns:rev="path_to_url~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> file LICENSE_1_0.txt or copy at <a href="path_to_url" target="_top">path_to_url </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="less_base.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../accumulators/reference.html#header.boost.accumulators.numeric.functional_hpp"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="less_equal_base.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html> ```
```objective-c // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CC_OUTPUT_BEGIN_FRAME_ARGS_H_ #define CC_OUTPUT_BEGIN_FRAME_ARGS_H_ #include "base/location.h" #include "base/memory/ref_counted.h" #include "base/time/time.h" #include "base/values.h" #include "cc/base/cc_export.h" namespace base { namespace trace_event { class ConvertableToTraceFormat; class TracedValue; } } /** * In debug builds we trace the creation origin of BeginFrameArgs objects. We * reuse the tracked_objects::Location system to do that. * * However, in release builds we don't want this as it doubles the size of the * BeginFrameArgs object. As well it adds a number of largish strings to the * binary. Despite the argument being unused, most compilers are unable to * optimise it away even when unused. Instead we use the BEGINFRAME_FROM_HERE * macro to prevent the data even getting referenced. */ #ifdef NDEBUG #define BEGINFRAME_FROM_HERE nullptr #else #define BEGINFRAME_FROM_HERE FROM_HERE #endif namespace cc { struct CC_EXPORT BeginFrameArgs { enum BeginFrameArgsType { INVALID, NORMAL, MISSED, // Not a real type, but used by the IPC system. Should always remain the // *last* value in this enum. BEGIN_FRAME_ARGS_TYPE_MAX, }; static const char* TypeToString(BeginFrameArgsType type); // Creates an invalid set of values. BeginFrameArgs(); #ifdef NDEBUG typedef const void* CreationLocation; #else typedef const tracked_objects::Location& CreationLocation; tracked_objects::Location created_from; #endif // You should be able to find all instances where a BeginFrame has been // created by searching for "BeginFrameArgs::Create". // The location argument should **always** be BEGINFRAME_FROM_HERE macro. static BeginFrameArgs Create(CreationLocation location, base::TimeTicks frame_time, base::TimeTicks deadline, base::TimeDelta interval, BeginFrameArgsType type); // This is the default delta that will be used to adjust the deadline when // proper draw-time estimations are not yet available. static base::TimeDelta DefaultEstimatedParentDrawTime(); // This is the default interval to use to avoid sprinkling the code with // magic numbers. static base::TimeDelta DefaultInterval(); bool IsValid() const { return interval >= base::TimeDelta(); } scoped_refptr<base::trace_event::ConvertableToTraceFormat> AsValue() const; void AsValueInto(base::trace_event::TracedValue* dict) const; base::TimeTicks frame_time; base::TimeTicks deadline; base::TimeDelta interval; BeginFrameArgsType type; bool on_critical_path; private: BeginFrameArgs(base::TimeTicks frame_time, base::TimeTicks deadline, base::TimeDelta interval, BeginFrameArgsType type); }; } // namespace cc #endif // CC_OUTPUT_BEGIN_FRAME_ARGS_H_ ```
Viktor Andreevich Polupanov (born January 1, 1946, in Moscow, Soviet Union) is a retired ice hockey player who played in the Soviet Hockey League. He played for HC CSKA Moscow and Krylya Sovetov Moscow. He was inducted into the Russian and Soviet Hockey Hall of Fame in 1967. External links Russian and Soviet Hockey Hall of Fame bio 1946 births Living people HC CSKA Moscow players Ice hockey people from Moscow Russian ice hockey players Olympic medalists in ice hockey Ice hockey players at the 1968 Winter Olympics Olympic ice hockey players for the Soviet Union Olympic gold medalists for the Soviet Union
The lightweight boxing competition at the 2014 Commonwealth Games in Glasgow, Scotland was held from 26 July to 2 August at the Scottish Exhibition and Conference Centre. Lightweights were limited to those boxers weighing less than 60 kilograms (132.28 lbs). Like all Commonwealth boxing events, the competition was a straight single-elimination tournament. Both semifinal losers were awarded bronze medals, so no boxers competed again after a loss. Bouts consisted of three rounds of three minutes each, with one-minute breaks between rounds. Punches scored only if the front of the glove made full contact with the front of the head or torso of the opponent. Five judges scored each bout; three of the judges had to signal a scoring punch within one second for the punch to score. The winner of the bout was the boxer who scored the most valid punches. Schedule All times are British Summer Time (UTC+1) Medalists Results References Boxing at the 2014 Commonwealth Games
```smalltalk /* ==================================================================== contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. path_to_url Unless required by applicable law or agreed to in writing, software WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ==================================================================== */ namespace NPOI.HSSF.Util { using System; using System.Collections; using NPOI.HSSF.UserModel; using NPOI.SS.UserModel; using System.Collections.Generic; using NPOI.HSSF.Record; /// <summary> /// Various utility functions that make working with a cells and rows easier. The various /// methods that deal with style's allow you to Create your HSSFCellStyles as you need them. /// When you apply a style change to a cell, the code will attempt to see if a style already /// exists that meets your needs. If not, then it will Create a new style. This is to prevent /// creating too many styles. there is an upper limit in Excel on the number of styles that /// can be supported. /// @author Eric Pugh epugh@upstate.com /// </summary> public class HSSFCellUtil { public const string ALIGNMENT = "alignment"; public const string BORDER_BOTTOM = "borderBottom"; public const string BORDER_LEFT = "borderLeft"; public const string BORDER_RIGHT = "borderRight"; public const string BORDER_TOP = "borderTop"; public const string BOTTOM_BORDER_COLOR = "bottomBorderColor"; public const string DATA_FORMAT = "dataFormat"; public const string FILL_BACKGROUND_COLOR = "fillBackgroundColor"; public const string FILL_FOREGROUND_COLOR = "fillForegroundColor"; public const string FILL_PATTERN = "fillPattern"; public const string FONT = "font"; public const string HIDDEN = "hidden"; public const string INDENTION = "indention"; public const string LEFT_BORDER_COLOR = "leftBorderColor"; public const string LOCKED = "locked"; public const string RIGHT_BORDER_COLOR = "rightBorderColor"; public const string ROTATION = "rotation"; public const string TOP_BORDER_COLOR = "topBorderColor"; public const string VERTICAL_ALIGNMENT = "verticalAlignment"; public const string WRAP_TEXT = "wrapText"; private static UnicodeMapping[] unicodeMappings; static HSSFCellUtil() { unicodeMappings = new UnicodeMapping[15]; unicodeMappings[0] = um("alpha", "\u03B1"); unicodeMappings[1] = um("beta", "\u03B2"); unicodeMappings[2] = um("gamma", "\u03B3"); unicodeMappings[3] = um("delta", "\u03B4"); unicodeMappings[4] = um("epsilon", "\u03B5"); unicodeMappings[5] = um("zeta", "\u03B6"); unicodeMappings[6] = um("eta", "\u03B7"); unicodeMappings[7] = um("theta", "\u03B8"); unicodeMappings[8] = um("iota", "\u03B9"); unicodeMappings[9] = um("kappa", "\u03BA"); unicodeMappings[10] = um("lambda", "\u03BB"); unicodeMappings[11] = um("mu", "\u03BC"); unicodeMappings[12] = um("nu", "\u03BD"); unicodeMappings[13] = um("xi", "\u03BE"); unicodeMappings[14] = um("omicron", "\u03BF"); } private class UnicodeMapping { public String entityName; public String resolvedValue; public UnicodeMapping(String pEntityName, String pResolvedValue) { entityName = "&" + pEntityName + ";"; resolvedValue = pResolvedValue; } } private HSSFCellUtil() { // no instances of this class } /// <summary> /// Get a row from the spreadsheet, and Create it if it doesn't exist. /// </summary> /// <param name="rowCounter">The 0 based row number</param> /// <param name="sheet">The sheet that the row is part of.</param> /// <returns>The row indicated by the rowCounter</returns> public static IRow GetRow(int rowCounter, HSSFSheet sheet) { IRow row = sheet.GetRow(rowCounter); if (row == null) { row = sheet.CreateRow(rowCounter); } return row; } /// <summary> /// Get a specific cell from a row. If the cell doesn't exist, /// </summary> /// <param name="row">The row that the cell is part of</param> /// <param name="column">The column index that the cell is in.</param> /// <returns>The cell indicated by the column.</returns> public static ICell GetCell(IRow row, int column) { ICell cell = row.GetCell(column); if (cell == null) { cell = row.CreateCell(column); } return cell; } /// <summary> /// Creates a cell, gives it a value, and applies a style if provided /// </summary> /// <param name="row">the row to Create the cell in</param> /// <param name="column">the column index to Create the cell in</param> /// <param name="value">The value of the cell</param> /// <param name="style">If the style is not null, then Set</param> /// <returns>A new HSSFCell</returns> public static ICell CreateCell(IRow row, int column, String value, HSSFCellStyle style) { ICell cell = GetCell(row, column); cell.SetCellValue(new HSSFRichTextString(value)); if (style != null) { cell.CellStyle = (style); } return cell; } /// <summary> /// Create a cell, and give it a value. /// </summary> /// <param name="row">the row to Create the cell in</param> /// <param name="column">the column index to Create the cell in</param> /// <param name="value">The value of the cell</param> /// <returns>A new HSSFCell.</returns> public static ICell CreateCell(IRow row, int column, String value) { return CreateCell(row, column, value, null); } /// <summary> /// Translate color palette entries from the source to the destination sheet /// </summary> private static void RemapCellStyle(HSSFCellStyle stylish, Dictionary<short, short> paletteMap) { if (paletteMap.ContainsKey(stylish.BorderDiagonalColor)) { stylish.BorderDiagonalColor = paletteMap[stylish.BorderDiagonalColor]; } if (paletteMap.ContainsKey(stylish.BottomBorderColor)) { stylish.BottomBorderColor = paletteMap[stylish.BottomBorderColor]; } if (paletteMap.ContainsKey(stylish.FillBackgroundColor)) { stylish.FillBackgroundColor = paletteMap[stylish.FillBackgroundColor]; } if (paletteMap.ContainsKey(stylish.FillForegroundColor)) { stylish.FillForegroundColor = paletteMap[stylish.FillForegroundColor]; } if (paletteMap.ContainsKey(stylish.LeftBorderColor)) { stylish.LeftBorderColor = paletteMap[stylish.LeftBorderColor]; } if (paletteMap.ContainsKey(stylish.RightBorderColor)) { stylish.RightBorderColor = paletteMap[stylish.RightBorderColor]; } if (paletteMap.ContainsKey(stylish.TopBorderColor)) { stylish.TopBorderColor = paletteMap[stylish.TopBorderColor]; } } public static void CopyCell(HSSFCell oldCell, HSSFCell newCell, IDictionary<Int32, HSSFCellStyle> styleMap, Dictionary<short, short> paletteMap, Boolean keepFormulas) { if (styleMap != null) { if (oldCell.CellStyle != null) { if (oldCell.Sheet.Workbook == newCell.Sheet.Workbook) { newCell.CellStyle = oldCell.CellStyle; } else { int styleHashCode = oldCell.CellStyle.GetHashCode(); if (styleMap.ContainsKey(styleHashCode)) { newCell.CellStyle = styleMap[styleHashCode]; } else { HSSFCellStyle newCellStyle = (HSSFCellStyle)newCell.Sheet.Workbook.CreateCellStyle(); newCellStyle.CloneStyleFrom(oldCell.CellStyle); RemapCellStyle(newCellStyle, paletteMap); //Clone copies as-is, we need to remap colors manually newCell.CellStyle = newCellStyle; //Clone of cell style always clones the font. This makes my life easier IFont theFont = newCellStyle.GetFont(newCell.Sheet.Workbook); if (theFont.Color > 0 && paletteMap.ContainsKey(theFont.Color)) { theFont.Color = paletteMap[theFont.Color]; //Remap font color } styleMap.Add(styleHashCode, newCellStyle); } } } else { newCell.CellStyle = null; } } switch (oldCell.CellType) { case CellType.String: HSSFRichTextString rts= oldCell.RichStringCellValue as HSSFRichTextString; newCell.SetCellValue(rts); if(rts!=null) { for (int j = 0; j < rts.NumFormattingRuns; j++) { short fontIndex = rts.GetFontOfFormattingRun(j); int startIndex = rts.GetIndexOfFormattingRun(j); int endIndex = 0; if (j + 1 == rts.NumFormattingRuns) { endIndex = rts.Length; } else { endIndex = rts.GetIndexOfFormattingRun(j+1); } FontRecord fr = newCell.BoundWorkbook.CreateNewFont(); fr.CloneStyleFrom(oldCell.BoundWorkbook.GetFontRecordAt(fontIndex)); HSSFFont font = new HSSFFont((short)(newCell.BoundWorkbook.GetFontIndex(fr)), fr); newCell.RichStringCellValue.ApplyFont(startIndex,endIndex, font); } } break; case CellType.Numeric: newCell.SetCellValue(oldCell.NumericCellValue); break; case CellType.Blank: newCell.SetCellType(CellType.Blank); break; case CellType.Boolean: newCell.SetCellValue(oldCell.BooleanCellValue); break; case CellType.Error: newCell.SetCellValue(oldCell.ErrorCellValue); break; case CellType.Formula: if (keepFormulas) { newCell.SetCellType(CellType.Formula); newCell.CellFormula = oldCell.CellFormula; } else { try { newCell.SetCellType(CellType.Numeric); newCell.SetCellValue(oldCell.NumericCellValue); } catch (Exception) { newCell.SetCellType(CellType.String); newCell.SetCellValue(oldCell.ToString()); } } break; default: break; } } /// <summary> /// Take a cell, and align it. /// </summary> /// <param name="cell">the cell to Set the alignment for</param> /// <param name="workbook">The workbook that is being worked with.</param> /// <param name="align">the column alignment to use.</param> public static void SetAlignment(ICell cell, HSSFWorkbook workbook, short align) { SetCellStyleProperty(cell, workbook, ALIGNMENT, align); } /// <summary> /// Take a cell, and apply a font to it /// </summary> /// <param name="cell">the cell to Set the alignment for</param> /// <param name="workbook">The workbook that is being worked with.</param> /// <param name="font">The HSSFFont that you want to Set...</param> public static void SetFont(ICell cell, HSSFWorkbook workbook, HSSFFont font) { SetCellStyleProperty(cell, workbook, FONT, font); } private static bool CompareHashTableKeyValueIsEqual(Hashtable a, Hashtable b) { foreach (DictionaryEntry a_entry in a) { foreach (DictionaryEntry b_entry in b) { if (a_entry.Key.ToString() == b_entry.Key.ToString()) { if ((a_entry.Value is short && b_entry.Value is short && (short)a_entry.Value != (short)b_entry.Value) || (a_entry.Value is bool && b_entry.Value is bool && (bool)a_entry.Value != (bool)b_entry.Value)) { return false; } } } } return true; } /** * This method attempt to find an already existing HSSFCellStyle that matches * what you want the style to be. If it does not find the style, then it * Creates a new one. If it does Create a new one, then it applies the * propertyName and propertyValue to the style. This is necessary because * Excel has an upper limit on the number of Styles that it supports. * *@param workbook The workbook that is being worked with. *@param propertyName The name of the property that is to be * changed. *@param propertyValue The value of the property that is to be * changed. *@param cell The cell that needs it's style changes *@exception NestableException Thrown if an error happens. */ public static void SetCellStyleProperty(ICell cell, HSSFWorkbook workbook, String propertyName, Object propertyValue) { ICellStyle originalStyle = cell.CellStyle; ICellStyle newStyle = null; Hashtable values = GetFormatProperties(originalStyle); values[propertyName] = propertyValue; // index seems like what index the cellstyle is in the list of styles for a workbook. // not good to compare on! short numberCellStyles = workbook.NumCellStyles; for (short i = 0; i < numberCellStyles; i++) { ICellStyle wbStyle = workbook.GetCellStyleAt(i); Hashtable wbStyleMap = GetFormatProperties(wbStyle); // if (wbStyleMap.Equals(values)) if (CompareHashTableKeyValueIsEqual(wbStyleMap, values)) { newStyle = wbStyle; break; } } if (newStyle == null) { newStyle = workbook.CreateCellStyle(); SetFormatProperties(newStyle, workbook, values); } cell.CellStyle = (newStyle); } /// <summary> /// Returns a map containing the format properties of the given cell style. /// </summary> /// <param name="style">cell style</param> /// <returns>map of format properties (String -&gt; Object)</returns> private static Hashtable GetFormatProperties(ICellStyle style) { Hashtable properties = new Hashtable(); PutShort(properties, ALIGNMENT, (short)style.Alignment); PutShort(properties, BORDER_BOTTOM, (short)style.BorderBottom); PutShort(properties, BORDER_LEFT, (short)style.BorderLeft); PutShort(properties, BORDER_RIGHT, (short)style.BorderRight); PutShort(properties, BORDER_TOP, (short)style.BorderTop); PutShort(properties, BOTTOM_BORDER_COLOR, style.BottomBorderColor); PutShort(properties, DATA_FORMAT, style.DataFormat); PutShort(properties, FILL_BACKGROUND_COLOR, style.FillBackgroundColor); PutShort(properties, FILL_FOREGROUND_COLOR, style.FillForegroundColor); PutShort(properties, FILL_PATTERN, (short)style.FillPattern); PutShort(properties, FONT, style.FontIndex); PutBoolean(properties, HIDDEN, style.IsHidden); PutShort(properties, INDENTION, style.Indention); PutShort(properties, LEFT_BORDER_COLOR, style.LeftBorderColor); PutBoolean(properties, LOCKED, style.IsLocked); PutShort(properties, RIGHT_BORDER_COLOR, style.RightBorderColor); PutShort(properties, ROTATION, style.Rotation); PutShort(properties, TOP_BORDER_COLOR, style.TopBorderColor); PutShort(properties, VERTICAL_ALIGNMENT, (short)style.VerticalAlignment); PutBoolean(properties, WRAP_TEXT, style.WrapText); return properties; } /// <summary> /// Sets the format properties of the given style based on the given map. /// </summary> /// <param name="style">The cell style</param> /// <param name="workbook">The parent workbook.</param> /// <param name="properties">The map of format properties (String -&gt; Object).</param> private static void SetFormatProperties( ICellStyle style, HSSFWorkbook workbook, Hashtable properties) { style.Alignment = (HorizontalAlignment)GetShort(properties, ALIGNMENT); style.BorderBottom = (BorderStyle)GetShort(properties, BORDER_BOTTOM); style.BorderLeft = (BorderStyle)GetShort(properties, BORDER_LEFT); style.BorderRight = (BorderStyle)GetShort(properties, BORDER_RIGHT); style.BorderTop = (BorderStyle)GetShort(properties, BORDER_TOP); style.BottomBorderColor = (GetShort(properties, BOTTOM_BORDER_COLOR)); style.DataFormat = (GetShort(properties, DATA_FORMAT)); style.FillBackgroundColor = (GetShort(properties, FILL_BACKGROUND_COLOR)); style.FillForegroundColor = (GetShort(properties, FILL_FOREGROUND_COLOR)); style.FillPattern = (FillPattern)GetShort(properties, FILL_PATTERN); style.SetFont(workbook.GetFontAt(GetShort(properties, FONT))); style.IsHidden = (GetBoolean(properties, HIDDEN)); style.Indention = (GetShort(properties, INDENTION)); style.LeftBorderColor = (GetShort(properties, LEFT_BORDER_COLOR)); style.IsLocked = (GetBoolean(properties, LOCKED)); style.RightBorderColor = (GetShort(properties, RIGHT_BORDER_COLOR)); style.Rotation = (GetShort(properties, ROTATION)); style.TopBorderColor = (GetShort(properties, TOP_BORDER_COLOR)); style.VerticalAlignment = (VerticalAlignment)GetShort(properties, VERTICAL_ALIGNMENT); style.WrapText = (GetBoolean(properties, WRAP_TEXT)); } /// <summary> /// Utility method that returns the named short value form the given map. /// Returns zero if the property does not exist, or is not a {@link Short}. /// </summary> /// <param name="properties">The map of named properties (String -&gt; Object)</param> /// <param name="name">The property name.</param> /// <returns>property value, or zero</returns> private static short GetShort(Hashtable properties, String name) { Object value = properties[name]; if (value is short) { return (short)value; } else { return 0; } } /// <summary> /// Utility method that returns the named boolean value form the given map. /// Returns false if the property does not exist, or is not a {@link Boolean}. /// </summary> /// <param name="properties">map of properties (String -&gt; Object)</param> /// <param name="name">The property name.</param> /// <returns>property value, or false</returns> private static bool GetBoolean(Hashtable properties, String name) { Object value = properties[name]; if (value is Boolean) { return ((Boolean)value); } else { return false; } } /// <summary> /// Utility method that Puts the named short value to the given map. /// </summary> /// <param name="properties">The map of properties (String -&gt; Object).</param> /// <param name="name">The property name.</param> /// <param name="value">The property value.</param> private static void PutShort(Hashtable properties, String name, short value) { properties[name] = value; } /// <summary> /// Utility method that Puts the named boolean value to the given map. /// </summary> /// <param name="properties">map of properties (String -&gt; Object)</param> /// <param name="name">property name</param> /// <param name="value">property value</param> private static void PutBoolean(Hashtable properties, String name, bool value) { properties[name] = value; } /// <summary> /// Looks for text in the cell that should be unicode, like alpha; and provides the /// unicode version of it. /// </summary> /// <param name="cell">The cell to check for unicode values</param> /// <returns>transalted to unicode</returns> public static ICell TranslateUnicodeValues(ICell cell) { String s = cell.RichStringCellValue.String; bool foundUnicode = false; String lowerCaseStr = s.ToLower(); for (int i = 0; i < unicodeMappings.Length; i++) { UnicodeMapping entry = unicodeMappings[i]; String key = entry.entityName; if (lowerCaseStr.IndexOf(key, StringComparison.Ordinal) != -1) { s = s.Replace(key, entry.resolvedValue); foundUnicode = true; } } if (foundUnicode) { cell.SetCellValue(new HSSFRichTextString(s)); } return cell; } private static UnicodeMapping um(String entityName, String resolvedValue) { return new UnicodeMapping(entityName, resolvedValue); } } } ```
Souk El Khardajiya (Arabic: سوق الخرداجية) or the Scrap market is one of the souks of the Medina of Sfax. Localization The souk was located in Ettaam Square also known as Ahmed Bey's Square in the western part of Nahj El Bey (or Zuqaq El Marr, the current Mongi Slim Street), near Sidi Khanfir Mosque. Etymology The market got its name from its specialty, which is scrap trading. References El Khardajiya
Back to Me is the second studio album by Canadian singer-songwriter Kathleen Edwards. It was released March 1, 2005 on the independent labels MapleMusic in Canada and Zoë Records in the United States. The album reached #176 on the Billboard 200 and #6 on the Top Heatseekers chart. Track listing "In State" (Edwards) – 3:56 "Back to Me" (Edwards, Colin Cripps) – 3:29 "Pink Emerson Radio" (Edwards) – 4:25 "Independent Thief" (Edwards) – 4:44 "Old Time Sake" (Edwards, Peter Cash) – 4:59 "Summerlong" (Edwards, Cripps) – 4:04 "What Are You Waiting For?" (Edwards) – 4:43 "Away" (Edwards) – 3:31 "Somewhere Else" (Jim Bryson) – 3:47 "Copied Keys" (Edwards) – 5:06 "Good Things" (Edwards) – 5:51 Personnel Kathleen Edwards – electric, acoustic guitars, banjo, strings Kevin McCarragher – bass Joel Anderson – drums Colin Cripps – electric guitars, slide, hammertone, tambourine Benmont Tench – organ, piano Richard Bell – accordion Peter von Althen – tambourine Craig Durrance – mixing and mastering External links Zoë Records 2005 albums Kathleen Edwards albums Albums produced by Pierre Marchand Zoë Records albums
The Piasecki HRP Rescuer (also called Harp) is a United States tandem-rotor transport or rescue helicopter designed by Frank Piasecki and built by Piasecki Helicopter. The Piasecki PV-3 was adopted as the HRP-1 Rescuer by the United States Navy, United States Marine Corps, and United States Coast Guard. An improved PV-17 variant was later produced as the HRP-2. As one of the first transport helicopters in military service, the HRP-1 was capable of carrying two crewmen and 8–10 passengers or 2,000 lb. (907 kg) of cargo. Development The prototype helicopter (designated PV-3 by Piasecki, though commonly known to test personnel as "The Dogship") first flew at Morton, Pennsylvania in March 1945 following a development contract from the United States Navy in February 1944. The "Dogship" was a novel tandem-rotor helicopter with a fixed tricycle landing gear, powered by a 600 hp (447 kW) Pratt & Whitney R-1340-AN-1 engine. To ensure that the rotors did not hit each other, the rear end of the fuselage curved upwards so the rear rotor was higher than the forward rotor. This was based on a Drago Jovanovich patented design. The fuselage was constructed of ordinary mild steel tubing, filled out with wooden ribs, and covered with doped fabric. Following a series of mechanical incidents with the prototype, including stripped transmission gears, it was determined that use of common automotive parts in the helicopter transmission were inadequate to the severe loads imposed by flight; subsequent prototypes built after the war used stronger components. Two prototypes designated XHRP-1 were constructed; one was used as a static test aircraft and the other was used for development flying. Operational history As the first U.S. military helicopter in service with a significant transport capability, the HRP-1 was immediately put to use transporting cargo and personnel. Although referred to officially as the HRP-1, or "Harp", the helicopter's distinctive shape, with no protruding nose beyond the forward rotor's axis, soon earned it the nickname "The Flying Banana". The first HRP-1 Rescuer flew on 15 August 1947, and a second batch of 10 was built later, with the final machine delivered in 1949. All were powered by the Pratt & Whitney R-1340-AN-1 engine. In all, 20 HRP-1s were ordered by the United States Navy, which passed most of their order to the U.S. Marine Corps and the Coast Guard. Three additional helicopters were delivered to the U.S. Coast Guard with the designation HRP-1G. An improved PV-17 version with an all-metal skin was developed with five ordered in June 1948 as the HRP-2; all HRP-2s were delivered to the U.S. Coast Guard for use as rescue craft. Nine HRP-1s formed the backbone of the first Marine helicopter transport squadron, HMX-1, and were used in various exercises designed to test the helicopter's ability to deliver troops in beach assault or forward battlefield operations. In service, the HRP-1 frequently suffered various teething and maintenance troubles such as broken engine mounts and loose fittings; it was not unusual for the fabric covering to rip loose from the helicopter in flight, often entangling the rotor blades. Despite these issues, the relative success of Piasecki's tandem rotor design would lead to the Piasecki H-21 family of helicopters. Two surviving aircraft are in storage at the American Helicopter Museum & Education Center in West Chester, Pennsylvania and a third is under restoration at the Classic Rotors Museum in Ramona, California. Variants PV-3 Prototype tandem-rotor helicopter powered by a Wright R-975 piston engine, one built. XHRP-1 Military designation for two further PV-3s, one for static testing and one for flight trials. HRP-1 Production variant, 20 built including three HRP-1Gs. HRP-1G Three United States Navy HRP-1s for the United States Coast Guard. HRP-2 Metal skinned variant, five built. Operators United States Coast Guard United States Navy United States Marine Corps Specifications (HRP-2) See also References Notes Bibliography External links Piasecki XHRP-1 page Piasecki HRP-1 page Piasecki HRP-2 page "Navies Helicopter For Land or Sea Has Twin Rotors." Popular Mechanics, November 1945, p. 49. "Navies Helicopter For Land or Sea Has Twin Rotors." Popular Mechanics, November 1945, cover art work. Aircraft first flown in 1945 United States military helicopters Piasecki Helicopter aircraft Search and rescue helicopters Single-engined piston helicopters Tandem rotor helicopters 1940s United States helicopters Piasecki HRP1 Rescuer
East Branch Reservoir, is a reservoir in the town of Southeast, New York, near the village of Brewster. Part of the New York City water supply system, it was formed by impounding the East Branch of the Croton River. Forming part of the Croton Watershed, it was placed into service in 1891, and lies some north of the city, in the southeast corner of Putnam County. History The East Branch Reservoir has a surface area of , reaches a mean depth of , and holds at full capacity. It drains a area that includes Bog Brook Reservoir. Its water flows back into the East Branch of the Croton River south of the dam, then into The Diverting Reservoir, then via the Croton River to the Muscoot and the New Croton reservoirs, into the New Croton Aqueduct. Water from the aqueduct flows into the Jerome Park Reservoir in the Bronx for daily distribution. One of two double reservoirs in NYC's system, it is connected to the Bog Brook impoundment via a tunnel. When the two were being built, the project's name was "Double Reservoir I". The second double reservoir project ("Double Reservoir II") would create the Croton Falls and Diverting reservoirs. The village of Southeast Center, named for the town of Southeast, was leveled and flooded to create the reservoir. Parts of the village remain, including Sodom Road, at the foot of the Sodom Dam, which holds the reservoir back. Construction of the reservoir also flooded part of the village of Milltown in the northeastern corner of Southeast, near present-day Deforest Corners. Many of the village's original buildings were moved to higher ground, onto present-day Milltown Road, one of Southeast's longest roads running from New Fairfield, Connecticut, to Route 22 in Southeast. The village of Milltown's one-room schoolhouse still stands today as a private residence. Foundations, rock walls and roadbeds for both villages can still be seen during droughts. See also List of reservoirs and dams in New York References External links NYCDEP Water Supply Watersheds-Links to information on reservoirs by system Croton Watershed Reservoirs in New York (state) Protected areas of Putnam County, New York Reservoirs in Putnam County, New York 1891 establishments in New York (state)
Luis Álvarez Renta (born April 9, 1950) is a Dominican economist. Álvarez Renta was found liable by a federal jury in Miami of civil racketeering and illegal money transfers in a conspiracy to loot Baninter bank during its final months of existence in 2003, for which Álvarez Renta was ordered to pay $177 million to Dominican authorities in November 2005. Biography Luis Rafael Álvarez Renta was born in Caracas, Venezuela. His father, Virgilio Álvarez Saviñón, was a renowned and wealthy Dominican engineer who had been forced into exile during the dictatorship of Rafael Leónidas Trujillo in the Dominican Republic. Arriving in Venezuela with twenty dollars and a suitcase, Álvarez Saviñón was able to re-establish his fortune in Venezuela. It was said that in Caracas, "anywhere you looked something had been built by Virgilio Álvarez." His mother, Thelma Renta, was the sister of fashion designer Oscar de la Renta, and a major social figure in the Dominican Republic in her own right. Álvarez Renta studied in Venezuela and the Dominican Republic, eventually earning a full scholarship to a Dominican University. He was also able to study in the United States, attending both the University of Michigan and Washington University in St. Louis. His performance in university did not go unnoticed, and he was offered scholarships for graduate work at both Cornell University in Ithaca, New York, and at the MIT Sloan School of Management in Cambridge, Massachusetts. He attended MIT Sloan and received a Masters in Finance. He would later establish a professorship there. During his early career, Álvarez Renta was offered a number of jobs in the United States. He chose, instead to return to the Dominican Republic. At first, he engaged in the public sector, serving as Sub-Secretary of State for Industry and Commerce, advisor emeritus to the Presidency for Commerce and Finance, and director of CEDOPEX, the oversight agency for Dominican exports. Having completed his work in the public sector, Álvarez Renta opened his own firm, Luis Álvarez Renta & Asociados, an investment banking firm focused on mergers and acquisitions. For the following thirty-three years, Álvarez Renta was known as the "King Midas" of the Dominican Republic, since his deals always made both sides significant amounts of money. Since the financial sector in the region was underdeveloped, he was often on both sides of a deal, as he was one of the only people in the region with the technical expertise required to process major corporate transactions. As such, Álvarez Renta essentially created the marketplace for mergers and acquisitions in the Caribbean region, and became very wealthy in the process. An estimate of his wealth made during his divorce case in 2000 placed it at $148 million, although many believed it to be much more than that at the time. Prior to the Baninter banking scandal, Álvarez Renta had accompanied former Dominican President Hipólito Mejía on many of his trips abroad, and was appointed ambassador to France on April 2, 2003. He decided to accept the appointment as part of his retirement, in order to effect positive change for the country by helping it negotiate a Free Trade Agreement with the European Union. However, after Governor José Lois Malkún of the Central Bank of the Dominican Republic’s announcement that Álvarez Renta was involved in the Baninter debacle, Álvarez Renta resigned the post in order to avoid a dispute between President Mejia and his advisors. In response to the announcement, Álvarez Renta took out full-page advertisements in the press, in which he declared he was innocent of all the charges made by the Central Bank. He also claimed to have ended his dealings with Baninter almost two years before its failure in 2003. Álvarez Renta was the only Dominican businessperson who is mentioned by name in the Central Bank report. The report said that overdrafts and loans totaling RD$3.83 billion were erased at the start of this year in favor of the company Bankinvest, S.A., presided and managed by Luis Álvarez Renta. Continuing Education One of the major keys to Álvarez Renta’s success was his commitment to continuing education. After graduating from MIT, he would go on to receive advanced degrees and certificates from such schools as the Harvard Business School and the Wharton School of Business at the University of Pennsylvania. This allowed Álvarez Renta to take new financial technologies and transplant them to the Caribbean marketplace. As an example, he is credited with introducing the "you set the price, I decide whether to buy or sell" process of negotiation to the region. His involvement at such a structural level in the development of the economic systems in the region ultimately made it possible for him to become successful. Doubts about Baninter Recently, many have expressed doubts about Álvarez Renta’s involvement in the Baninter scandal. He was accused by an administration that ended up being overrun with major corruption charges in a speech written by another financier, Andres Dauhajre, Jr., who had been an advisor to President Mejia and a lifelong rival of Álvarez Renta’s. At the time of the accusation, Álvarez Renta stood to make US$100 million as part of the sale of a company he had bought that held exclusive contracts for the sale of duty-free items at every Dominican airport. Mejia's administration had challenged those contracts and lost, and many people were interested in acquiring them before the company's sale to a Spanish conglomerate was completed. (As a sidenote, these contracts would become a large part of the execution process in the lawsuit against Álvarez Renta in the United States, and were eventually turned over to the Central Bank of the Dominican Republic.) The total amount that Álvarez Renta supposedly stole from Baninter was roughly US$59 million. It is presumably difficult to imagine him needing the money. Álvarez Renta was also the only person in the scandal who was concurrently sued in the United States. Since the U.S. Federal Court is unable to compel testimony from Dominican citizens residing in the Dominican Republic (and none would testify voluntarily), Álvarez Renta claimed to be unable to call even a single witness in his own defense. Ten of the original eleven charges filed in the criminal action against Álvarez Renta in the Dominican Republic were dropped before trial. Álvarez Renta was responsible for trying to salvage Baninter by negotiating a merger with another Dominican bank, Banco del Progreso. The merger, which was approved by the Monetary Board of the Dominican Republic, was later undone by the Central Bank. After the Miami verdict After being found liable in the U.S. District Court for the Southern District of Florida in November 2005, Álvarez Renta expressed that he blames former Baninter president Baez Figueroa for the colossal fraud that brought down the bank and all but decimated the Dominican economy in 2003. Álvarez Renta, who has been closely associated with the banking collapse, claimed he had no part in it and that Ramon Baez Figueroa and his deputy Marcos Baez Cocco were those responsible. Proceedings in the Dominican Republic began on April 3, 2006, against Baninter's former president Ramon Báez Figueroa and the executives Vivian Lubrano and Marcos Báez Cocco, Luis Álvarez Renta and Jesus Maria Ferrúa. The defense is headed by the famed attorney Marino Vinicio Castillo, whose primary argument is that the authorities under Mejia's presidency (2000–2004) caused the bank's collapse. On April 7, 2006, the Dominican Government announced it would offer legal and psychological support to former Miss Dominican Republic 1987, Carmen Rita Perez Pellerano, in her demand that her ex-husband, Álvarez Renta, stop harassing her and that she be awarded custody of their daughter. Álvarez-Renta won the case on the note that Ms. Perez was declared psychologically unfit to take care of their, at the time, 7-year-old daughter. On July 16, 2008, L.A.R. was sent to the prison at Najayo, San Cristóbal (south), to begin serving a 10-year prison sentence. Sentencing judge Saulo Ysabel Díaz issued the custody order around 7 p.m. July 16, after almost 12 hours of discussion with the condemned and his lawyers, who asked the court to reduce his sentence and that he be allowed to serve his time in prison in the jail at Aras Nacionales, Villa Mella. Álvarez Renta arrived early Thursday morning at Díaz's office in the company of his lawyers. Dealings with the presidencial candidate It was later discovered that Álvarez Renta was the president of Maravedi, a company owned by Miguel Vargas Maldonado, the candidate of the PRD for the next presidential elections. That company was used to defraud the estate during the first years of the decade. Notes 1950 births Living people People from Caracas Harvard Business School alumni MIT Sloan School of Management alumni Washington University in St. Louis alumni Dominican Republic businesspeople University of Michigan alumni Dominican Republic people of Canarian descent Dominican Republic people of Italian descent Dominican Republic people of Puerto Rican descent White Dominicans
```go /* path_to_url Unless required by applicable law or agreed to in writing, software WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ // Code generated by client-gen. DO NOT EDIT. package fake import ( v1beta1 "k8s.io/client-go/kubernetes/typed/scheduling/v1beta1" rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" ) type FakeSchedulingV1beta1 struct { *testing.Fake } func (c *FakeSchedulingV1beta1) PriorityClasses() v1beta1.PriorityClassInterface { return &FakePriorityClasses{c} } // RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. func (c *FakeSchedulingV1beta1) RESTClient() rest.Interface { var ret *rest.RESTClient return ret } ```
The Night Before Christmas is an alternative title of the 1823 poem A Visit from St. Nicholas by Clement Clarke Moore. The Night Before Christmas may also refer to: Literature "Christmas Eve" (Russian title literally translates as The Night Before Christmas), an 1832 short story by Nikolai Gogol The Night Before Christmas, a 1995 play by Anthony Neilson Film Based on Moore's poem The Night Before Christmas (1905 film), an American silent short film directed by Edwin S. Porter The Night Before Christmas (1933 film), an American animated film in Walt Disney's Silly Symphonies series The Night Before Christmas (1941 film), an American Tom and Jerry cartoon directed by William Hanna and Joseph Barbera The Night Before Christmas, an animated feature film of 1994 Based on Gogol's story The Night Before Christmas (1913 film), a Russian silent film directed by Ladislas Starevich The Night Before Christmas (1951 film), a Russian animated film directed by the Brumberg sisters The Night Before Christmas (1961 film), a Russian film directed by Aleksandr Rou Music The Night Before Christmas (album), a 2004 album by David Hasselhoff The Night Before Christmas (Dai), a 2006 orchestral work based on Moore's poem, by Aaron Dai "The Night Before Christmas Song", a 1952 composition by Johnny Marks See also A Night Before Christmas, a 2008 album by Spyro Gyra Christmas Eve (disambiguation) The Nightmare Before Christmas (disambiguation) Twas the Night Before Christmas (disambiguation)
The Miniss River is a river in the Unorganized Part of Thunder Bay District in Northwestern Ontario, Canada. The river is part of the James Bay drainage basin and is a tributary of Lake St. Joseph. The river begins at an unnamed lake and flows north to Hill Lake. It turns southwest to Yam Lake, then flows northeast through Hooker Lake and Arc Lake to Miniss Lake, where it takes in the right tributary De Lesseps River. The river heads north, takes in the left tributary St. Raphael River, and reaches its mouth at Miniss Bay on Lake St. Joseph, the source of the Albany River, which flows to James Bay. Tributaries St. Raphael River De Lesseps River References Sources Rivers of Thunder Bay District
The Second Awakening of Christa Klages () is a 1978 West German drama film directed by Margarethe von Trotta, her debut solo film. Plot Worried about the prospects of her children's day care center and running out of money, Christa Klages, a young mother, robs a bank with the help of her lover Werner Wiedemann and another friend. When Werner is killed during the heist and when it becomes clear that the police are after her, Christa flees to Portugal to seek help from another friend, Ingrid Häkele, a situation that threatens both women's safety. Cast Tina Engel as Christa Klages Silvia Reize as Ingrid Häkele Katharina Thalbach as Lena Seidlhofer Marius Müller-Westernhagen as Werner Wiedemann Peter Schneider as Hans Grawe Ulrich von Dobschütz as Heinz Häkele Erika Wackernagel as Hans' Mother Friedrich Kaiser as Wolfgang Achim Krausz as Bank Director Fritz Ley as Old Man Gertrud Thomele as Christa's Mother Rosa Sämmer as Janitress Margit Czenki as Kindergarten Teacher Reingard Peter Koj as Erich Grawe Hildegard Linden as Woman Ingrid Kraus as Lena's Colleague Natascha Steuer as Mischa Klages Josef Bierbichler as Homeowner Luisa Francia as Christa's Friend Felix Moeller as Boy Helga Kirchlechner Bruno Thost Karl Tischlinger Release The film was released on DVD by Water Bearer Films in 2005 as part of a box set together with Sisters, or the Balance of Happiness and Sheer Madness. Reception Critical reception has been overwhelmingly positive. The film was nominated for the best feature award (Gold Hugo) at the 1978 Chicago International Film Festival and has won the following awards, all in 1978: Otto-Dibelius-Preis, Deutscher Filmpreis (Filmband in Gold for acting as well as Filmband in Silber) and FBW (Deutsche Film- und Medienbewertung for high overall quality). It was called a "very earnest movie" by The New York Times critic Vincent Canby, an "acutely observed reflection" by Scott Tobias, and "compelling" by London's Time Out. A few reviews, however, were more negative. For example, Chicago Reader critic Dave Kehr wrote that "the film is very, very dull" and disliked what he saw as the overly serious demeanor of the characters. References External links The Second Awakening of Christa Klages at the TCM Movie Database Das zweite Erwachen der Christa Klages at Film Portal 1978 drama films 1978 films Films directed by Margarethe von Trotta Films scored by Klaus Doldinger Films set in West Germany Films set in Portugal German drama films 1970s German-language films West German films 1970s German films
Martin I. Reiman is an American engineer and Professor in the Industrial Engineering and Operations Research Department at Columbia University. Biography Reiman received his A.B. from Cornell University and his M.S. and Ph.D. from Stanford University. He began his career at Bell Labs in 1977 after graduating from Stanford. He was a Distinguished Member of Technical Staff at Bell Labs from 1998 until 2015. His research has focused on teletraffic theory and stochastic networks. Reiman joined the faculty of the Fu Foundation School of Engineering and Applied Science at Columbia University in 2017. Recognition Reiman received the John von Neumann Theory Prize from INFORMS in 2016. He was elected to the National Academy of Engineering in 2022 for his "contributions to network theory and applications in large-scale stochastic systems." He is also a Fellow of the Institute for Operations Research and the Management Sciences (INFORMS). References Living people American engineers Columbia School of Engineering and Applied Science faculty Cornell University alumni Stanford University alumni Scientists at Bell Labs Members of the United States National Academy of Engineering Fellows of the Institute of Mathematical Statistics Fellows of the Institute for Operations Research and the Management Sciences Year of birth missing (living people)
SS America was an ocean liner and cruise ship built in the United States in 1940 for the United States Lines and designed by the noted American naval architect William Francis Gibbs. It carried many names in the 54 years between its construction and its 1994 wreck: SS America (carrying this name three different times during its career); troop transport USS West Point; and SS Australis, Italis, Noga, Alferdoss, and American Star. It served most notably in passenger service as America and the Greek-flagged Australis. It was wrecked as the American Star at Playa de Garcey on Fuerteventura in the Canary Islands on 18 January 1994. The wreck deteriorated and completely collapsed into the sea. As of 2022, it is no longer visible on the ocean surface and has become an artificial reef. Construction (1936–1939) America was laid down under the first Maritime Commission contract on 22 August 1938 at Newport News, Virginia by the Newport News Shipbuilding and Drydock Company. It was one of only a few ocean liners, American or otherwise, to have had its interiors designed by women—the New York firm Smyth, Urquhart & Marckwald. The ornate decor typical of liners of the past was forgone, in favor of a more contemporary and informal design. The aim was to provide an atmosphere of cheerfulness and sophisticated charm. America was launched on 31 August 1939 and was sponsored by Eleanor Roosevelt, wife of then-president of the United States Franklin D. Roosevelt. Her cousin, Kermit Roosevelt, was one of the founders of United States Lines. The liner entered service on 10 August 1940, undertaking its maiden voyage as the flagship of the United States Lines. Early career (1939–1941) As originally designed, America could carry 543 in cabin class, 418 in tourist class, 241 in third class, and 643 crew. The interior accommodations were styled by architects Eggers & Higgins to be the utmost in contemporary American design, making use of stainless steel, ceramics, and synthetics. America was originally constructed with low funnels in order to give the ship a modern, streamlined appearance. Very early in its career, however, the height of the funnels was increased by 16 feet, due to heavy soot deposits on the decks. The forward funnel was in actuality a dummy, housing the horn and certain ventilation uptakes. Due to conflict having begun in Europe in World War II, in which the United States was still neutral, the ship's name, along with "United States Lines" and two American flags were painted in large size to be clearly visible on both sides of the hull. At night, it sailed while fully illuminated, as further precaution. Additionally, it did not immediately take to its intended North Atlantic service route, instead sailing in safer waters. It was, however, quietly fitted with a degaussing cable for protection against naval mines on 3 January 1941. On 28 May 1941, America was called up to service by the United States Navy, while the ship was at Saint Thomas in the United States Virgin Islands. It was ordered to return to Newport News to be handed over to the Navy. Duquesne Spy Ring Two German spies, Franz Joseph Stigler and Erwin Wilhelm Siegler, were members of its crew in 1941. While on the America, they obtained information about the movement of ships and military defense preparations at the Panama Canal, observed and reported defense preparations in the Canal Zone, and met with other German agents to advise them in their espionage efforts. They operated as couriers transmitting information between the United States and German agents aboard. Stigler worked undercover as chief butcher. Both remained on the America until its conversion by the Navy into a troop transport and its commission into the U.S. Navy as the USS West Point. Stigler and Siegler, along with the 31 other German agents of the Duquesne Spy Ring, were later uncovered by the FBI in the largest espionage conviction in U.S. history. Upon conviction, Stigler was sentenced to serve 16 years in prison on espionage charges with two concurrent years for registration violations; Siegler was sentenced to 10 years' imprisonment on espionage charges and a concurrent two-year term for violation of the Foreign Agents Registration Act. US Navy service (1941–1946) 1941 America was moored at Norfolk, Virginia, and acquired by the Navy on 1 June 1941 to be used as a troop transport. The ship was renamed the USS West Point (AP-23), the second U.S. Navy ship of the name. It entered the Norfolk Ship Yards on 6 June 1941 for conversion and on 15 June 1941, it was commissioned for service under the command of Captain Frank H. Kelley, Jr. By the time the conversion was completed, life-rafts covered the promenade deck windows, "standee" bunks could be found everywhere, several anti-aircraft weapons were installed, all of the windows were covered, the ship was painted in a camouflage gray color, and the troop-carrying capacity was increased to 7,678. The USS West Point soon proceeded to New York City and, while anchored off the Staten Island quarantine station on 16 July, took on board 137 Italian citizens and 327 German citizens from the consulates of those nations in the United States which had been closed. West Point got under way at 2:55 that afternoon, bound for Portugal, and arrived at Lisbon on 23 July. While there, the ship was visited by Portuguese naval and diplomatic dignitaries; and it transferred supplies to the Coast Guard cutter , the "station ship" at Lisbon, Portugal. After its final Italian passenger had disembarked on 23 July, and the last German on 24 July, West Point commenced taking on 321 American citizens and 67 Chinese—consular staffs and their families – on 26 July. Returning to New York on 1 August, West Point discharged its passengers and headed south for an overhaul at Portsmouth, Virginia. She then participated in tactical exercises off the Virginia Capes from 26 to 29 August in company with and . The Preamble to Convoy WS-12X The Atlantic Conference was held on 9 August 1941 in Placentia Bay, Newfoundland, between Prime Minister Winston Churchill and President Roosevelt. Besides the "official" agenda, Churchill hoped to obtain considerable assistance from the USA, but the American President had his political hands tied. On 1 September 1941, Roosevelt received an urgent and most secret message asking for US Navy troopships manned by Navy crews and escorted by U.S.N. fighting ships to carry British troops for the purpose of reinforcing the Middle East. On 4 September the US destroyer, USS Greer (DD-145), came under an unsuccessful U-boat attack. Roosevelt gave authority to the US Navy to "shoot to kill". On 5 September the President assured the British leader that six vessels would be provided to carry twenty thousand troops and would be escorted by the American Navy. The chief of Naval Operations ordered troop ships divisions seventeen and nineteen, on 26 September 1941, to prepare their vessels for approximately six months at sea. These transports were to load to capacity with food, ammunition medical supplies, fuel and water and were to arrive at Halifax, NS on or about 6 November and after the arrival of a British convoy from the UK were to load twenty thousand troops. The Prime Minister mentioned in his letter that it would be for the President to say what would be required in replacement if any of these ships were to be sunk by enemy action. Agreements were worked out for the troops to be carried as supernumeraries and rations to be paid out of Lend Lease Funds and officer laundry bills were to be paid in cash. All replenishments of provisions, general stores, fuel and water would be provided by the UK. Fuel and water would be charged for the escorts to the UK in Trinidad and Cape Town only. The troops would conform to US Navy and ships regulation. Intoxicating liquors were prohibited. It was further agreed that the troops were to rig and man their own anti-aircraft guns to augment the ships batteries. Convoy William Sail WS-12X On 3 November, it sailed from Virginia waters and arrived at Halifax, Nova Scotia, on 5 November. There, on 8 & 9 November, it embarked 241 officers and 5,202 men of the 55th Brigade, Bedfordshire and Hertfordshire Regiment, and 100 men of a US Army Field Service company. On 10 November, West Point – in company with five other transports: Wakefield, Mount Vernon, , , and – got under way for India as Convoy HS-124. En route, they were joined by the aircraft carrier , the cruisers and , and a division of destroyers. On 17 November 1941, Convoy WS12-X reaches Trinidad. All ships were replenished, and the convoy departs Trinidad on 19 November 1941. On 7 December at 2000, the convoy receives a radio communication of the Japanese attack on Pearl Harbor. On 9 December, convoy WS12-X arrived in Cape Town, South Africa. At about 0800 on 13 December 1941, the troopships departed Cape Town headed for Bombay. At 650 on 21 December 1941, the and detached from the convoy headed for Bombay, and were bound for Mombasa. The remainder of the convoy continued to Bombay under the escort of , arriving on 27 December 1941. Wakefield commenced discharging its embarked troops at 1900 at the Ballard Piers, completed her unloading, and shifted berths the next morning. West Point took Wakefield'''s former berth while Joseph T. Dickman moored to unload its equipment and troops. 1942 Convoy BM 11 Having completed its discharge by 31 December 1941, West Point anchored in the stream on the morning of 2 January 1942 and awaited further orders until 4 January, when British authorities asked Captain Kelley, of West Point, if his ship and Wakefield could be brought under draught to make passage for Singapore. Kelley responded that it could be done, but this would entail discharging ballast and expelling some of the ship's fresh water supply—thus endangering the ship's stability. Due to prevailing low-water conditions at Bombay at this point, neither West Point nor Wakefield could go alongside piers in the harbor to either load equipment or troops. Thus, the embarkation and loading procedures had to be carried out by the tedious process of embarking troops and loading supplies from smaller ships and lighters brought alongside. Wakefield embarked – almost to a man – the troops which it had brought from Halifax, a total of 4,506, while West Point embarked two-thirds of the troops which it had transported, in addition to some which had come out on other ships. All told, it carried some 5,272 men.West Point sailed for Singapore on 9 January, in a "15-knot" convoy, with Captain Kelley as the convoy commodore. In addition to the two American ships, three British transports – Duchess of Bedford, , and – made up the remainder of the van. Escorted by British light cruiser until this ship was relieved by light cruiser at 1630 on 22 January, the convoy's escort soon swelled to three cruisers and four destroyers as the convoy neared Java. Japanese submarine activities near the Indonesian archipelago prompted concern for the safe arrival of the valuable ships, hence a detour through the shallow, coral-studded Sunda Strait. Led by British cruiser , the ships slowed to , and streaming paravane gear, began the passage. An escorting destroyer steamed between each transport, as they steamed in single-column order. It was a dangerous passing, a small divergence from the charted course could mean a disastrous grounding. The screen's commander, Captain Oliver L. Gordon, R.N., commanding Exeter, desired to arrive at Singapore with as many ships as possible by dawn on 29 January, and thus split up the convoy, sending the faster vessels—West Point, Wakefield, and Empress of Japan—ahead at increased speed under escort of cruisers HMS Exeter, , , and destroyers and . Proceeding to Singapore via Berhala Strait, Durian Strait, and Philips Channel, the group steamed through these bodies of water in bright moonlight which made navigational aids unnecessary. Upon their arrival off Singapore, the ships lay to in an exposed position, beyond the range of shore-based antiaircraft guns, until pilots could be obtained to bring the ships in. Since the naval base came under daily heavy air raids, the transports proceeded to Keppel Harbor, the commercial basin at Singapore, where they could discharge their troops and cargo. Singapore Securing abreast godowns (warehouses) 52, 53, and 54, West Point commenced off-loading equipment and disembarking its troops. All but 670 engineer troops, who had been ordered retained on board, were ashore before nightfall. Air raids, meanwhile, continued until midnight as the Japanese steadily pounded Singapore from the air. At each alert, the local workers working dockside would vanish, taking to the shelters and leaving the vital cargo still unloaded. As a result, the unloading was carried out by the crew of West Point, its embarked troops, and 22 local workers who were brought aboard to assist. On 30 January, seven Japanese bombers appeared over the city and were engaged by British Brewster Buffalo fighters. As the alert continued, 30 more Japanese planes appeared overhead, on course over Keppel Harbor. Several bombs fell on shore, eastward of West Point's moorings, while another stick fell in the water to the southward. In the interim, bombs hit other targets. A small tanker moored near Wakefield was sunk at dockside; bombs fell abreast Empress of Japan; and Wakefield took a direct hit forward which destroyed its sick bay, killed five men and wounded nine. The last bombs in this stick straddled West Point and showered her with shrapnel. As the raid lifted, West Point sent two medical officers and 11 corpsmen on board Wakefield, at the latter's request, to render medical assistance. Later that morning, Captain Kelley attended a conference with British authorities, who informed him that his ship was to be used to carry a contingent of Australian troops from Suez to Singapore and to transport refugees and evacuees to Ceylon. With the emergency "acute", Kelley agreed to take on board up to one thousand women and children and such additional men as the British desired to send. With the abandonment of the naval dockyard, untenable in the face of increasingly heavier Japanese bombardments from artillery and aircraft, several dockyard naval and civilian personnel and their families were assigned to West Point for evacuation. Most carried only hand baggage; had little, if any, money; but were all fortunate enough to escape the doomed city before its fall to the onrushing Japanese troops of General Yamashita. All told, some 1,276 naval officers, their families, dockyard civilians, civilian evacuees, a 16-man Royal Air Force (RAF) contingent, and 225 naval ratings made up the 1,276 people embarked by 6:00 p.m. on 30 January. Clearing Singapore, West Point and Wakefield headed due west, escorted by HMS Durban. Overcast and squally weather covered their departure and permitted them to transit the Banka Strait unmolested by the seemingly omnipresent Japanese aircraft. Routed to Batavia, Java, to embark more refugees, West Point led Wakefield and Durban through the minefields and anchored in Batavia Roads at 3:05 a.m. on 31 January. HMS Electra—which would be lost in the Battle of the Java Sea 27 February—came alongside eight hours later and transferred 20 naval dockyard personnel, three women, five naval officers' wives, one Free French officer, and an RAF officer to West Point for passage to Ceylon. February 1942 to end of 1942 At 12:40 pm on 1 February, West Point—in company with Wakefield and under escort of Exeter, HMS Encounter, and —got under way. The destroyers eventually went off to perform other duties, and Exeter as well soon dropped away to escort another convoy, leaving the two big troopships on their own. While they were en route, disconcerting news came over the radio. Japanese I-boats (identified after the war as I-162 and I-153) had been active in the vicinity, sinking six ships between them. West Point acquired an extra passenger while en route; for, on 4 February, a baby boy was born on board. Colombo Harbor, Ceylon, where they arrived on 6 February, was so crowded that British authorities could not permit Wakefield to repair its damage there. The passengers, in turn, experienced much difficulty in arranging for suitable transportation ashore. In addition, neither transport could fully provision. British authorities requested the American ships to evacuate personnel to Bombay. Accordingly, West Point took on board eight men, 55 women, and 53 children, as well as 670 troops, for passage to India. Wakefield, despite its weakened condition caused by the direct hit on 29 January, embarked two naval ratings, six RAF personnel, and 25 men and one officer of a British Bofors gun detachment. The two ships departed Colombo on 8 February and, escorted by the Greek destroyer Vasilissa Olga, proceeded at . Captain Kelley later highly praised the operations of this sole escort. Although heavy weather was encountered en route, the Greek destroyer acquitted itself well, continuing to patrol its station "at all times at high speed ahead of our zig-zag." After discharging her evacuees at Bombay, West Point parted company with Wakefield and proceeded to Suez where she picked up Australian troops who were being withdrawn from the North African Campaign to fight the Japanese in Southeast Asia. Meanwhile, one disaster after another had plagued the Allied forces. Singapore fell on 15 February; Java on 4 March. West Point carried its embarked troops to Australia and disembarked them at Adelaide and Melbourne before heading across the Pacific toward San Francisco. As the Allies built up for the long road back, West Point participated in the effort to aid America's allies in the southwest Pacific with massive contingents of troops. Accordingly, the transport carried men to Wellington, New Zealand, and arrived on 30 May. There, it received orders to return to New York; and it got under way from Melbourne on 8 June, bound for the Panama Canal. It entered the Atlantic on 26 June, and arrived at New York on 2 July. After two voyages to the United Kingdom, West Point sailed for India, via the South Atlantic route, and arrived at Bombay on 29 November, before pushing on for Auckland, New Zealand, the following month. 1943 The transport returned via Nouméa, New Caledonia, to San Francisco on 31 January 1943. It remained on the West Coast until 16 February, when it got under way for the South Pacific and retraced its route to Wellington, New Zealand, and Australian ports. It then continued west—calling at Bombay, Massawa, Aden, and Suez—and stopped briefly at Cape Town en route to Rio de Janeiro, Brazil. Eventually arriving at New York on 4 May, the ship subsequently made two voyages to Casablanca, French Morocco before sailing for Bombay via the southern Atlantic route. Calling at Rio de Janeiro and Cape Town en route, the big transport continued, via Bombay and Melbourne, on for the West Coast of the United States. Soon thereafter, West Point began transporting troops to Australia and continued making voyages there and to Allied bases in the Central and South Pacific through the end of 1943. 1944 In 1944, the transport continued its vital workhorse duties, departing San Francisco on 12 January, bound for Nouméa and Guadalcanal; and from San Pedro, California on 22 February, bound for Nouméa and Milne Bay. It sailed from the latter port and steamed via the Panama Canal to Boston, Massachusetts, where it arrived on 12 June. It conducted five successive voyages to the United Kingdom before departing Boston on 6 December 1944 for Oran, Algeria; Casablanca, French Morocco; and Marseille, France. The transport left the Mediterranean on 26 December and proceeded to Norfolk, Virginia. 1945–1946 In 1945, West Point voyaged to Italian and French ports, via Oran or Gibraltar, staging from Hampton Roads, Virginia, Boston, or New York. After Germany surrendered, it took part in some of the initial "Magic Carpet" voyages, bringing home American troops from the European battlefronts. Following its last European voyage—to Le Havre, France—West Point was transferred to the Pacific Fleet. It departed Boston on 10 December 1945, transited the Panama Canal, and proceeded to Manila, Philippines via Pearl Harbor. Retracing the same route, it docked at pier 88 in New York on 7 February 1946 and soon got under way for Hampton Roads, where it was released from troop-carrying service on 22 February. Its last voyage under the name West Point was a short trip from Portsmouth to Newport News for reconversion to a passenger liner. There, six days later, it was officially decommissioned, stricken from the Naval Vessel Register on 12 March, and transferred to the Maritime Commission's War Shipping Administration. During its naval service, it carried a total of over 350,000 troops which was the largest total of any Navy troopship in service during World War II. On one voyage in 1944 it was able to transport 9,305 people. Additionally the troop transport carried Red Cross workers, United Nations officials, children, civilians, prisoners of war, and U.S.O. entertainers. Awards During its service in the U.S. Navy, West Point earned the following awards: American Defense Service Medal European-African-Middle Eastern Campaign Medal Asiatic-Pacific Campaign Medal World War II Victory Medal Postwar career United States Lines career (1946–1964)America's postwar career was successful, if uneventful. Finally, it was able to sail the New York–Le Havre–Bremerhaven–Cobh route that had been delayed by World War II. To many ship lovers, she was the most beautifully decorated liner to fly the American flag, smaller and more graceful than her much faster fleetmate, the , which debuted in 1952. The great disparities between America and United States prevented them from becoming true running mates like the and of the Cunard Line. After 1955, it continued to sail the US–Europe route through at least 1960, but also served tropical ports such as Bermuda and the Caribbean. It sailed on fourteen trans-Atlantic voyages in 1962, and eight in 1963, but was laid up in Hoboken for five months starting in September, 1963 as a result of industrial action. Chandris line career (1964–1978)America was sold to the Greek-owned Chandris Group on 16 November 1964. At twenty-four, it was getting older and facing competition from both newer, faster ships and long-range, even non-stop, air travel. The postwar emigrant run from Europe to Australia had become a lucrative market for passenger ships unable to court the luxury trade.America, now renamed Australis (meaning "Australia", following the naming convention of Chandris liners), was refitted extensively. Some 350 additional cabins were installed and many existing cabins were given extra berths, increasing the passenger capacity from fewer than 1,200 to 2,258. Its maiden voyage was from Southampton on 21 August 1965 to Australia and New Zealand via Piraeus and Suez, returning to Southampton via the Pacific and Panama and Miami. Thereafter it sailed regularly from Southampton, occasionally Rotterdam, on this round-the-world route. On the closure of the Suez Canal in 1967, Piraeus was dropped as a port-of-call and it sailed southbound via Cape Town. On 22 October 1970, fire broke out in the galley, causing the air-conditioning supply units and exhaust systems to be cut off from the bridge and "B" deck port about 3:45 a.m. It was extinguished the following day, but the voyage was delayed due to repair work. On 11 July 1974, Australis was involved in a minor collision with the Australian aircraft carrier while in Sydney Harbour. Both ships were slightly damaged, but there were no casualties. It was the last liner providing a regular service to Australia and New Zealand from Southampton until its final voyage, which left on 18 November 1977. After arriving at Auckland, she was laid up at Timaru on 23 December 1977. Ultimately, rising fuel costs, aging infrastructure, and the creation of long-range jetliners caused Chandris to pull Australis off the Australian run in 1978. Venture Cruise Lines career (June 1978 – August 1978) Following a period of layup in Timaru, New Zealand, Australis was sold to Venture Cruise Lines of New York. Under this new ownership, the ship was renamed America once again in an attempt to capitalize on its American heritage despite being registered as a Greek vessel. The ship's hull was painted dark blue and the funnels were repainted in a blue-and-red color scheme.America set sail on her first cruise on 30 June 1978. Its refit, however, had not been completed by the time of the sailing. The ship was in an extremely bad condition, with piles of soiled linen, worn mattresses, and scattered piles of trash everywhere, together with a pungent smell of kitchen odors, engine oil, and the sounds of plumbing back-ups. In addition, water in overhead pipes leaked and dripped all over the decks. Along with these many maintenance issues, attempts to spruce the ship up led to other problems, such as the many layers of paint visible on the ship's outer bulkheads as well as on the lifeboat davits and gear. Additionally, the public rooms aboard were carelessly repainted, as seen from how the America's stainless-steel trims were then scarred with paint-brush strokes. Due to overbooking and her state of incompletion, a number of passengers "mutinied", forcing the captain to return to New York, having only barely passed the Statue of Liberty. Nine hundred-sixty passengers were offloaded upon docking. On a second sailing that day, an additional 200 passengers left via tender at Staten Island.America finally left for a five-day cruise to Nova Scotia on 3 July 1978. Upon arrival, she was met with $2.5 million in claims from passengers. Further issues saw the cancellation of all further sailings, and America was impounded on 18 July 1978 for non-payment of debts. America also received an inspection score of six out of a possible 100 points by the US Public Health Service. On 28 August 1978, America was ordered to be sold at auction by the United States district court. Second Chandris career (1978–1980) Chandris Lines repurchased America for $1,000,000 and renamed her Italis. Her forward dummy funnel had become severely corroded due to years of neglect and was removed as part of an ambitious plan to modernize her silhouette by adding streamlined superstructure above the bridge, but this 'new look' was never completed. She retained the dark blue hull adopted by Venture Cruise Lines.Italis first operated under Chandris as a hotel ship from 23 June - 20 July 1979 when it was chartered for the Organisation of African Unity Conference held in Monrovia, Liberia. It then carried out three 14-night cruises from Genoa and Barcelona to Egypt, Israel and the Eastern Mediterranean beginning on 28 July 1979. At the end of this series of cruises it was finally laid up in Elefsina Bay, Piraeus, Greece on 12 September 1979. Uncertain future at Piraeus (1979–1993) The ship was next sold to Intercommerce Corporation in 1980, and was renamed Noga. Intercommerce's intention was to convert the ship to a prison ship, to be anchored in Beirut; but this never happened. In September, 1984, the ship was sold to Silver Moon Ferries and was once again renamed, now carrying the name Alferdoss (meaning "paradise" in Arabic). However, the new name was not completely added (since the port bow was only renamed Alferdoss), so the name on the stern and starboard bow continued to show Noga. While under the ownership of Silver Moon Ferries, a burst bilge pipe led to flooding in the engine room and some crew quarters. Due to the quickly-occurring list, the starboard anchor was raised and her port anchor was cut away, and it was quickly beached to prevent sinking. After being pumped out and repaired, it was returned to its original location. In the late 1980s, the ship was sold for $2 million for scrapping. The scrap merchant made an initial deposit of $1 million, and began work. Following the demolition of the lifeboats and lifeboat davits, the scrappers defaulted on payments, and pulled out.Alferdoss/Noga would continue in this state until 1993. Wrecked at Fuerteventura and break up (1994–2008) In October, 1992, the ship was sold yet again, with the intention of being refitted to become a five-star hotel ship off Phuket, in Thailand. Drydocking at that time revealed that, despite the years of neglect, the hull was still in remarkably good condition. In August, 1993, it was renamed American Star, her propellers were removed and placed on the deck at the bow, the funnel was painted red, the bridge was painted signal orange just for the tow, and ladders were welded to starboard. Since the vessel was not allowed to pass through the Suez Canal due to its age, the vessel had to go around the Cape of Good Hope in order to get to Thailand. The ship left Greece under tow on 22 December 1993, but the tow proved impossible due to inclement weather. It then returned to Greece for a few days until the weather calmed down. On 31 December 1993, American Star left Greece for the last time, under tow by Ukrainian tugboat Neftegaz-67. The hundred-day tow began. Shortly afterward, American Star and Neftegaz-67 sailed into a thunderstorm in the Atlantic. The tow-lines broke and six or more crew members were sent aboard the American Star to reattach the emergency tow-lines, which proved unsuccessful. Two other towboats were called to assist Neftegaz 67. On 17 January 1994, the crew aboard American Star was rescued by helicopter. The ship was left adrift. At 6:15 a.m. on 18 January, the ship went aground at Playa de Garcey, off the west coast of Fuerteventura in the Canary Islands. While discussions among the ship's owners, the towing firm, and the companies insuring the ship were going on, the ship was left to nature, with the forward part going aground on a sandbar. Within the first 48 hours of grounding, the pounding surf of the Atlantic broke the ship in two just past the second funnel. The ship was declared a total loss on 6 July 1994. The stern section collapsed completely to port and sank in 1996, while the bow section remained intact. As months passed after running ashore, the wreck attracted onlookers and even looters. Locals even created a zipline to the wreck to carry off anything valuable from it. Due to the rough waves and strong current, trying to reach the wreck was very unsafe. Over the years several people trying to swim out to the wreck had died while others had to be airlifted off once they got on board. Those that have gotten onboard showed views of the interiors and exteriors of the wreck such as sparse cabins and water crashing through the blown-out portholes. The only other documentation came from a German documentary in 1999 that showed the interiors and exteriors of the wreck, including rare views filmed just after the stern section had split apart. As part of an art project, the film crew brought generators and floodlights aboard to illuminate the bow section. By 2004 the bow section continued to remain upright with the water eroding away cargo hold no. 1, making the bow section extremely top heavy. In November, 2005, the port side of the bow section collapsed, which caused the liner's remains to assume a much sharper list, and the remaining funnel detached and fell into the ocean. The collapse of the port side also caused the hull to begin to break up and by October, 2006, the wreck had almost completely collapsed onto its port side. In April, 2007, the starboard side finally collapsed, causing the wreck to break in half and fall into the sea. Debris field (2008 – present) It was noted in 2013 that the wreck was no longer visible on Google Maps. By 2018, only the bow was left visible, and only during low tide. In 2019, extensive underwater footage was taken of the American Stars debris field by scuba divers during a period of calm seas. While the liner's hull and superstructure are now fully disintegrated, there remain recognizable chunks of the vessel half buried in the sand. Anchor chains on the forecastle and a boiler are particularly intact. The detached funnel is also intact. The wreck site is teeming with marine life. See also , fleetmate of the America'' References Further reading Miller, W. (1991). SS United States : The story of America's greatest ocean liner . New York, NY: W.W. Norton. Driscoll, Lawrence. (2003) S.S. America U.S.S. West Point S.S. Australis The Many Lives of a Great Ship Palo Alto The Glencannon Press "S. S. America — An All American Liner" Article on construction with photos. "Radio Installation on America" First radio installation specifically designed for a ship before keel laying. External links Darren Byrne's SS Australis site Larry Driscoll's SS America site The S. S. Australis Homepage Interior images taken in 1993 The Great Ocean Liners on SS America LostLiners.com on the SS America Original article on how to get to the wreck of the American Star. Also in German and Spanish How to get to the wreck of the American Star American-Star.de > German and English page, extensive coverage and pictures of the wreck Google Earth historical imagery 1939 ships Type P4 ships Ocean liners Steamships of the United States Passenger ships of the United States Troop ships of the United States Steamships of Greece Passenger ships of Greece Ships of the United States Lines Steamships of Panama Passenger ships of Panama Shipwrecks in the Atlantic Ocean Maritime incidents in 1994 Maritime incidents in Spain Ships built in Newport News, Virginia
```javascript 'use strict'; var Type = require('../../type'); function resolveJavascriptRegExp(data) { if (data === null) return false; if (data.length === 0) return false; var regexp = data, tail = /\/([gim]*)$/.exec(data), modifiers = ''; // if regexp starts with '/' it can have modifiers and must be properly closed // `/foo/gim` - modifiers tail can be maximum 3 chars if (regexp[0] === '/') { if (tail) modifiers = tail[1]; if (modifiers.length > 3) return false; // if expression starts with /, is should be properly terminated if (regexp[regexp.length - modifiers.length - 1] !== '/') return false; } return true; } function constructJavascriptRegExp(data) { var regexp = data, tail = /\/([gim]*)$/.exec(data), modifiers = ''; // `/foo/gim` - tail can be maximum 4 chars if (regexp[0] === '/') { if (tail) modifiers = tail[1]; regexp = regexp.slice(1, regexp.length - modifiers.length - 1); } return new RegExp(regexp, modifiers); } function representJavascriptRegExp(object /*, style*/) { var result = '/' + object.source + '/'; if (object.global) result += 'g'; if (object.multiline) result += 'm'; if (object.ignoreCase) result += 'i'; return result; } function isRegExp(object) { return Object.prototype.toString.call(object) === '[object RegExp]'; } module.exports = new Type('tag:yaml.org,2002:js/regexp', { kind: 'scalar', resolve: resolveJavascriptRegExp, construct: constructJavascriptRegExp, predicate: isRegExp, represent: representJavascriptRegExp }); ```
Demetrio Paparoni (born Siracusa, Italy, 1954) is an Italian art critic, curator, writer, and editor who has taught History of Modern Art and History of Contemporary Art at the University of Catania. Art Criticism Paparoni is the art critic of the Italian newspaper Domani. He has curated a number of major exhibitions. In 1983 he founded the contemporary art magazine Tema Celeste and the publishing house of the same name, which he ran until 2000. His art criticism books include The Devil: A Visual History (Cernunnos/Abrams). and Art and Posthistory, Conversations on the End of Aesthetics written with Arthur Danto (Columbia University Press). Paparoni has published monographs on Chuck Close, Jonathan Lasker, Timothy Greenfield-Sanders (Alberico Cetti Serbelloni editore), Wang Guangyi, Natee Utarit, Ronald Ventura, Gottfried Helnwein (Skira), Nyoman Masriadi, Rafael Megall, Andres Barrioquinto (Rizzoli New York). His essays are featured in monographs and catalogs of many artists including Jean-Michel Basquiat, Peter Halley, Keith Haring, Edward Hopper, Zhang Huan, Alex Katz, David La Chapelle, Markus Lupertz, Tony Oursler, Mimmo Paladino, Michelangelo Pistoletto, David Salle, Jenny Saville, Sean Scully, Li Songsong, Doug and Mike Starn, Joana Vasconcelos, and Andy Warhol, among others. Notes References Roberta Scorranese (2020). Demetrio Paparoni, Critico d'arte, Il tempo delle donne del Corriere della Sera John Sallis (2017). Shades—Of Painting at the Limit, Indiana University Press David Carrier (1994). The Aesthete in the City: The Philosophy and Practice of American Abstract Painting in the 1980s, Pennsylvania State University Press Michael Schmidt (2013). From demonic terrorist to sainted icon: The transfiguration of Nelson Mandela, Daily Maverick Paolo Falcone, Valentina Bruschi (2009). Passaggi in Sicilia la collezione di Riso e oltre, Skira Tiziana Andina, Erica Onnis (2019). The Philosophy and Art of Wang Guangyi, Bloomsbury Publishing Andrea Mecacci (2014). Introduzione a Andy Warhol, Editori Laterza Massimo Melotti (2017). Vicende dell'arte in Italia dal dopoguerra agli anni Duemila, Franco Angeli Edizioni Maria Cristina Carratù (2015). Demetrio Paparoni: "L'estetica non basta, serve l'economia. L'arte sia un concreto motore di rilancio", La Repubblica Davide Vecchi (2014). "Expo, al critico d’arte Celant contratto di consulenza da 750mila euro", Il Fatto Quotidiano V.v. A.a. (1996). Arte contemporanea italiana pittori e scultori 1946-1996 : opere e mercato 1996-1997, Agnellini V.v. A.a. (1998). Guida ragionata ai periodici italiani, La Rivisteria "Demetrio Paparoni", Samtidskunst.com Contemporary Art Av Nora Joung (2018) Vold, sentimentalitet og maktesløshet, Kunstkritikk Italian art critics Italian art curators 1954 births Living people Academic staff of the University of Catania
Ceramidia phemonoides is a moth of the subfamily Arctiinae. It was described by Heinrich Benno Möschler in 1854. It is found in Ecuador and the Amazon region. References Euchromiina Moths described in 1854
```java package com.yahoo.document.serialization; import com.yahoo.document.Document; import com.yahoo.document.DocumentType; import com.yahoo.document.DocumentTypeManager; /** * Helper class for creating a document for a given document type. * * @author geirst */ public class TestDocumentFactory { private final DocumentTypeManager typeManager; private final DocumentType docType; private final String defaultId; public TestDocumentFactory(DocumentType docType, String defaultId) { this.docType = docType; this.defaultId = defaultId; this.typeManager = new DocumentTypeManager(); typeManager.register(docType); } /** * Utility constructor for setting up a factory with a preexisting document manager. * Does <em>not</em> automatically register docType in typeManager, but assumes it's already registered. */ public TestDocumentFactory(DocumentTypeManager typeManager, DocumentType docType, String defaultId) { this.docType = docType; this.defaultId = defaultId; this.typeManager = typeManager; } public Document createDocument(String id) { return new Document(docType, id); } public Document createDocument() { return createDocument(defaultId); } public DocumentTypeManager typeManager() { return typeManager; } } ```
Krzywiec is a village in the administrative district of Gmina Aleksandrów Łódzki, within Zgierz County, Łódź Voivodeship, in central Poland. It lies approximately south of Aleksandrów Łódzki, south-west of Zgierz, and west of the regional capital Łódź. References Villages in Zgierz County
```hcl dependency "source" { config_path = "../source" mock_outputs = { the_answer = "0" } mock_outputs_allowed_terraform_commands = ["validate"] } inputs = { the_answer = dependency.source.outputs.the_answer } ```
```c++ // // // path_to_url // #include "pxr/pxr.h" #include "pxr/usd/usd/crateData.h" #include "crateFile.h" #include "pxr/base/tf/bitUtils.h" #include "pxr/base/tf/mallocTag.h" #include "pxr/base/tf/ostreamMethods.h" #include "pxr/base/tf/pathUtils.h" #include "pxr/base/tf/scopeDescription.h" #include "pxr/base/tf/stringUtils.h" #include "pxr/base/tf/typeInfoMap.h" #include "pxr/base/tf/pxrTslRobinMap/robin_map.h" #include "pxr/base/trace/trace.h" #include "pxr/base/work/dispatcher.h" #include "pxr/base/work/loops.h" #include "pxr/base/work/utils.h" #include "pxr/base/work/withScopedParallelism.h" #include "pxr/usd/sdf/payload.h" #include "pxr/usd/sdf/schema.h" #include <tbb/parallel_for.h> #include <tbb/parallel_sort.h> #include <algorithm> #include <functional> #include <iostream> #include <set> #include <sstream> #include <string> #include <type_traits> #include <typeindex> #include <unordered_map> #include <utility> #include <vector> using std::make_pair; using std::pair; using std::string; using std::unordered_map; using std::vector; PXR_NAMESPACE_OPEN_SCOPE using namespace Usd_CrateFile; static inline bool _GetBracketingTimes(const vector<double> &times, const double time, double* tLower, double* tUpper) { if (times.empty()) { // No samples. return false; } else if (time <= times.front()) { // Time is at-or-before the first sample. *tLower = *tUpper = times.front(); } else if (time >= times.back()) { // Time is at-or-after the last sample. *tLower = *tUpper = times.back(); } else { auto i = lower_bound(times.begin(), times.end(), time); if (*i == time) { // Time is exactly on a sample. *tLower = *tUpper = *i; } else { // Time is in-between samples; return the bracketing times. *tUpper = *i; --i; *tLower = *i; } } return true; } class Usd_CrateDataImpl { friend class Usd_CrateData; struct _SpecData; public: Usd_CrateDataImpl(bool detached) : _lastSet(_data.end()) , _crateFile(CrateFile::CreateNew(detached)) {} ~Usd_CrateDataImpl() { // Close file synchronously. We don't want a race condition // on Windows due to the file being open for an indeterminate // amount of time. _crateFile.reset(); // Tear down asynchronously. WorkMoveDestroyAsync(_data); } string const &GetAssetPath() const { return _crateFile->GetAssetPath(); } bool Save(string const &fileName) { TfAutoMallocTag tag("Usd_CrateDataImpl::Save"); TF_DESCRIBE_SCOPE("Saving usd binary file @%s@", fileName.c_str()); // Sort by path for better namespace-grouped data layout. vector<SdfPath> sortedPaths; sortedPaths.reserve(_data.size()); for (auto const &p: _data) { sortedPaths.push_back(p.first); } tbb::parallel_sort( sortedPaths.begin(), sortedPaths.end(), [](SdfPath const &p1, SdfPath const &p2) { // Prim paths before property paths, then property paths grouped // by property name. bool p1IsProperty = p1.IsPropertyPath(); bool p2IsProperty = p2.IsPropertyPath(); switch ((int)p1IsProperty + (int)p2IsProperty) { case 1: return !p1IsProperty; case 2: if (p1.GetName() != p2.GetName()) { return p1.GetName() < p2.GetName(); } // Intentional fall-through default: case 0: return p1 < p2; } }); // Now pack all the specs. if (CrateFile::Packer packer = _crateFile->StartPacking(fileName)) { for (auto const &p: sortedPaths) { auto iter = _data.find(p); packer.PackSpec( p, iter->second.specType, iter->second.fields.Get()); } if (packer.Close()) { return _PopulateFromCrateFile(); } } return false; } template <class ...Args> bool Open(string const& assetPath, Args&&... args) { TfAutoMallocTag tag("Usd_CrateDataImpl::Open"); TF_DESCRIBE_SCOPE("Opening usd binary asset @%s@", assetPath.c_str()); if (auto newData = CrateFile::Open(assetPath, std::forward<Args>(args)...)) { _crateFile = std::move(newData); return _PopulateFromCrateFile(); } return false; } inline bool StreamsData() const { return _crateFile && !_crateFile->IsDetached(); } // Return either TargetPaths or ConnectionPaths as a VtValue. If // specTypeOut is not null, set it to SdfSpecTypeRelationship if we find // TargetPaths, otherwise to SdfSpecTypeAttribute if we find // ConnectionPaths, otherwise SdfSpecTypeUnknown. inline VtValue _GetTargetOrConnectionListOpValue( SdfPath const &path, SdfSpecType *specTypeOut = nullptr) const { VtValue targetPaths; SdfSpecType specType = SdfSpecTypeUnknown; if (path.IsPrimPropertyPath()) { if (Has(path, SdfFieldKeys->TargetPaths, &targetPaths)) { specType = SdfSpecTypeRelationship; } else if (Has(path, SdfFieldKeys->ConnectionPaths, &targetPaths)) { specType = SdfSpecTypeAttribute; } if (!targetPaths.IsHolding<SdfPathListOp>()) { specType = SdfSpecTypeUnknown; targetPaths = VtValue(); } } if (specTypeOut) { *specTypeOut = specType; } return targetPaths; } inline bool _HasTargetOrConnectionSpec(SdfPath const &path) const { // We don't store target specs to save space, since in Usd we don't have // any fields that may be set on them. Their presence is determined by // whether or not they appear in their owning relationship's Added or // Explicit items. using std::find; SdfPath parentPath = path.GetParentPath(); SdfPath targetPath = path.GetTargetPath(); VtValue listOpVal = _GetTargetOrConnectionListOpValue(parentPath); if (!listOpVal.IsEmpty()) { SdfPathListOp const &listOp = listOpVal.UncheckedGet<SdfPathListOp>(); if (listOp.IsExplicit()) { auto const &items = listOp.GetExplicitItems(); return find( items.begin(), items.end(), targetPath) != items.end(); } else { auto const &added = listOp.GetAddedItems(); auto const &prepended = listOp.GetPrependedItems(); auto const &appended = listOp.GetAppendedItems(); return find(added.begin(), added.end(), targetPath) != added.end() || find(prepended.begin(), prepended.end(), targetPath) != prepended.end() || find(appended.begin(), appended.end(), targetPath) != appended.end(); } } return false; } inline bool HasSpec(const SdfPath &path) const { if (ARCH_UNLIKELY(path.IsTargetPath())) { return _HasTargetOrConnectionSpec(path); } return _GetSpecData(path) != nullptr; } inline void EraseSpec(const SdfPath &path) { if (ARCH_UNLIKELY(path.IsTargetPath())) { // Do nothing, we do not store target specs. return; } _lastSet = _data.end(); TF_VERIFY(_data.erase(path), "%s", path.GetText()); } inline void MoveSpec(const SdfPath& oldPath, const SdfPath& newPath) { if (ARCH_UNLIKELY(oldPath.IsTargetPath())) { // Do nothing, we do not store target specs. return; } auto oldIter = _data.find(oldPath); if (!TF_VERIFY(oldIter != _data.end())) { return; } _lastSet = _data.end(); auto tmpFields(std::move(oldIter->second)); _data.erase(oldIter); auto iresult = _data.emplace(newPath, std::move(tmpFields)); TF_VERIFY(iresult.second); } inline SdfSpecType GetSpecType(const SdfPath &path) const { if (path == SdfPath::AbsoluteRootPath()) { return SdfSpecTypePseudoRoot; } if (path.IsTargetPath()) { if (_HasTargetOrConnectionSpec(path)) { SdfPath parentPath = path.GetParentPath(); SdfSpecType parentSpecType = GetSpecType(parentPath); if (parentSpecType == SdfSpecTypeRelationship) { return SdfSpecTypeRelationshipTarget; } else if (parentSpecType == SdfSpecTypeAttribute) { return SdfSpecTypeConnection; } } return SdfSpecTypeUnknown; } if (_SpecData const *specData = _GetSpecData(path)) { return specData->specType; } return SdfSpecTypeUnknown; } inline void CreateSpec(const SdfPath &path, SdfSpecType specType) { if (!TF_VERIFY(specType != SdfSpecTypeUnknown)) { return; } if (path.IsTargetPath()) { // Do nothing, we do not store relationship target specs in usd. return; } // Need to blow/reset the _lastSet cache here, since inserting // into the table will invalidate existing references. auto iter = _data.emplace(path, _SpecData()).first; iter.value().specType = specType; _lastSet = iter; } inline void _VisitSpecs(SdfAbstractData const &data, SdfAbstractDataSpecVisitor* visitor) const { // A helper function for spoofing target & connection spec existence -- // we don't actually store those specs since we don't support fields on // them. auto doTargetAndConnectionSpecs = [this, &data, visitor](SdfPath const &path, SdfSpecType specType) { // Spoof existence of target & connection specs. if (specType == SdfSpecTypeAttribute || specType == SdfSpecTypeRelationship) { SdfPathListOp listOp; SdfPathVector specs; VtValue listOpVal = _GetTargetOrConnectionListOpValue(path); if (!listOpVal.IsEmpty()) { SdfPathListOp const &listOp = listOpVal.UncheckedGet<SdfPathListOp>(); if (listOp.IsExplicit()) { specs = listOp.GetExplicitItems(); } else { auto const &added = listOp.GetAddedItems(); auto const &prepended = listOp.GetPrependedItems(); auto const &appended = listOp.GetAppendedItems(); specs.resize( added.size() + prepended.size() + appended.size()); using std::copy; copy(appended.begin(), appended.end(), copy(prepended.begin(), prepended.end(), copy(added.begin(), added.end(), specs.begin()))); std::sort(specs.begin(), specs.end()); specs.erase(std::unique(specs.begin(), specs.end()), specs.end()); } for (auto const &p: specs) { SdfPath tp = path.AppendTarget(p); if (!visitor->VisitSpec(data, tp)) { return false; } } } } return true; }; for (auto const &p: _data) { if (!visitor->VisitSpec(data, p.first) || !doTargetAndConnectionSpecs(p.first, p.second.specType)) { return; } } } inline bool Has(const SdfPath &path, const TfToken &field, SdfAbstractDataValue* value, SdfSpecType *specType=nullptr) const { if (VtValue const *fieldValue = _GetFieldValue(path, field, specType)) { if (value) { VtValue val = _DetachValue(*fieldValue); if (field == SdfDataTokens->TimeSamples) { // Special case, convert internal TimeSamples to // SdfTimeSampleMap. val = _MakeTimeSampleMap(val); } else if (field == SdfFieldKeys->Payload) { // Special case, the payload field is expected to be a list // op but can be represented in crate files as a single // SdfPayload to be compatible with older crate versions. val = _ToPayloadListOpValue(val); } return value->StoreValue(std::move(val)); } return true; } else if (ARCH_UNLIKELY( field == SdfChildrenKeys->ConnectionChildren || field == SdfChildrenKeys->RelationshipTargetChildren)) { return _HasConnectionOrTargetChildren(path, field, value); } return false; } inline bool Has(const SdfPath& path, const TfToken & field, VtValue *value, SdfSpecType *specType=nullptr) const { // These are too expensive to do here, but could be uncommented for // debugging & tracking down corruption. //TF_DESCRIBE_SCOPE(GetAssetPath().c_str()); //TfScopeDescription desc2(field.GetText()); if (VtValue const *fieldValue = _GetFieldValue(path, field, specType)) { if (value) { *value = _DetachValue(*fieldValue); if (field == SdfDataTokens->TimeSamples) { // Special case, convert internal TimeSamples to // SdfTimeSampleMap. *value = _MakeTimeSampleMap(*value); } else if (field == SdfFieldKeys->Payload) { // Special case, the payload field is expected to be a list // op but can be represented in crate files as a single // SdfPayload to be compatible with older crate versions. *value = _ToPayloadListOpValue(*value); } } return true; } else if (ARCH_UNLIKELY( field == SdfChildrenKeys->ConnectionChildren || field == SdfChildrenKeys->RelationshipTargetChildren)) { return _HasConnectionOrTargetChildren(path, field, value); } return false; } bool _HasConnectionOrTargetChildren(const SdfPath &path, const TfToken &field, SdfAbstractDataValue *value) const { VtValue listOpVal = _GetTargetOrConnectionListOpValue(path); if (!listOpVal.IsEmpty()) { if (value) { SdfPathListOp const &plo = listOpVal.UncheckedGet<SdfPathListOp>(); SdfPathVector paths; plo.ApplyOperations(&paths); value->StoreValue(paths); } return true; } return false; } bool _HasConnectionOrTargetChildren(const SdfPath &path, const TfToken &field, VtValue *value) const { VtValue listOpVal = _GetTargetOrConnectionListOpValue(path); if (!listOpVal.IsEmpty()) { if (value) { SdfPathListOp const &plo = listOpVal.UncheckedGet<SdfPathListOp>(); SdfPathVector paths; plo.ApplyOperations(&paths); *value = paths; } return true; } return false; } inline VtValue Get(const SdfPath& path, const TfToken & field) const { VtValue result; Has(path, field, &result); return result; } inline std::type_info const &GetTypeid(const SdfPath& path, const TfToken& field) const { if (VtValue const *fieldValue = _GetFieldValue(path, field)) { return fieldValue->IsHolding<ValueRep>() ? _crateFile->GetTypeid(fieldValue->UncheckedGet<ValueRep>()) : fieldValue->GetTypeid(); } return typeid(void); } inline vector<TfToken> List(const SdfPath& path) const { vector<TfToken> names; if (_SpecData const *specData = _GetSpecData(path)) { auto const &fields = specData->fields.Get(); names.resize(fields.size()); for (size_t j=0, jEnd = fields.size(); j != jEnd; ++j) { names[j] = fields[j].first; } // If 'path' is a property path, we may have to "spoof" the // existence of connectionChildren or targetChildren. if (path.IsPrimPropertyPath()) { SdfSpecType specType = SdfSpecTypeUnknown; VtValue listOpVal = _GetTargetOrConnectionListOpValue(path, &specType); if (specType == SdfSpecTypeRelationship) { names.push_back(SdfChildrenKeys->RelationshipTargetChildren); } else if (specType == SdfSpecTypeAttribute) { names.push_back(SdfChildrenKeys->ConnectionChildren); } } } return names; } inline void Set(const SdfPath& path, const TfToken& fieldName, const VtValue& value) { if (ARCH_UNLIKELY(value.IsEmpty())) { Erase(path, fieldName); return; } if (path.IsTargetPath()) { TF_CODING_ERROR("Cannot set fields on relationship target or " "attribute connection specs: " "<%s>:%s = %s", path.GetText(), fieldName.GetText(), TfStringify(value).c_str()); return; } if (_lastSet == _data.end() || _lastSet->first != path) { auto i = _data.find(path); if (!TF_VERIFY( i != _data.end(), "Tried to set field '%s' on nonexistent spec at <%s>", path.GetText(), fieldName.GetText())) { return; } _lastSet = i; } if (fieldName == SdfChildrenKeys->ConnectionChildren || fieldName == SdfChildrenKeys->RelationshipTargetChildren) { // Silently do nothing -- we synthesize these fields from the list // ops. return; } VtValue const *valPtr = &value; VtValue convertedVal; if (fieldName == SdfDataTokens->TimeSamples) { convertedVal = _Make_TimeSamples(value); valPtr = &convertedVal; } else if (fieldName == SdfFieldKeys->Payload) { // Special case. Some payload list op values can be represented as // a single SdfPayload which is compatible with crate file software // version 0.7.0 and earlier. We always attempt to write the payload // field as old version compatible if possible in case we need to // write the file in a 0.7.0 compatible crate file. convertedVal = _FromPayloadListOpValue(value); valPtr = &convertedVal; } auto &spec = _lastSet.value(); spec.DetachIfNotUnique(); auto &fields = spec.fields.GetMutable(); for (size_t j=0, jEnd = fields.size(); j != jEnd; ++j) { if (fields[j].first == fieldName) { // Found existing field entry. fields[j].second = *valPtr; return; } } // No existing field entry. fields.emplace_back(fieldName, *valPtr); } inline void Set(const SdfPath& path, const TfToken& field, const SdfAbstractDataConstValue& value) { VtValue val; TF_AXIOM(value.GetValue(&val)); return Set(path, field, val); } inline void Erase(const SdfPath& path, const TfToken & field) { auto i = _data.find(path); if (i == _data.end()) return; auto &spec = i.value(); auto const &fields = spec.fields.Get(); for (size_t j=0, jEnd = fields.size(); j != jEnd; ++j) { if (fields[j].first == field) { // Detach if not unique, and remove the j'th element. spec.DetachIfNotUnique(); auto &mutableFields = spec.fields.GetMutable(); mutableFields.erase(mutableFields.begin()+j); return; } } } inline std::set<double> ListAllTimeSamples() const { auto times = _ListAllTimeSamples(); return std::set<double>(times.begin(), times.end()); } inline std::set<double> ListTimeSamplesForPath(const SdfPath& path) const { auto const &times = _ListTimeSamplesForPath(path); return std::set<double>(times.begin(), times.end()); } inline bool GetBracketingTimeSamples( double time, double* tLower, double* tUpper) const { return _GetBracketingTimes(_ListAllTimeSamples(), time, tLower, tUpper); } inline size_t GetNumTimeSamplesForPath(const SdfPath& path) const { return _ListTimeSamplesForPath(path).size(); } inline bool GetBracketingTimeSamplesForPath( const SdfPath& path, double time, double* tLower, double* tUpper) const { return _GetBracketingTimes( _ListTimeSamplesForPath(path), time, tLower, tUpper); } inline bool QueryTimeSample(const SdfPath& path, double time, VtValue *value) const { // This is too expensive to do here, but could be uncommented to help // debugging or tracking down file corruption. //TF_DESCRIBE_SCOPE(GetAssetPath().c_str()); if (VtValue const *fieldValue = _GetFieldValue(path, SdfDataTokens->TimeSamples)) { if (fieldValue->IsHolding<TimeSamples>()) { auto const &ts = fieldValue->UncheckedGet<TimeSamples>(); auto const &times = ts.times.Get(); auto iter = lower_bound(times.begin(), times.end(), time); if (iter == times.end() || *iter != time) return false; if (value) { auto index = iter - times.begin(); *value = _DetachValue( _crateFile->GetTimeSampleValue(ts, index)); } return true; } } return false; } inline bool QueryTimeSample(const SdfPath& path, double time, SdfAbstractDataValue* value) const { if (!value) return QueryTimeSample(path, time, static_cast<VtValue *>(nullptr)); VtValue vtVal; return QueryTimeSample(path, time, &vtVal) && value->StoreValue(vtVal); } inline void SetTimeSample(const SdfPath& path, double time, const VtValue & value) { if (value.IsEmpty()) { EraseTimeSample(path, time); return; } TimeSamples newSamples; VtValue *fieldValue = _GetMutableFieldValue(path, SdfDataTokens->TimeSamples); if (fieldValue && fieldValue->IsHolding<TimeSamples>()) { fieldValue->UncheckedSwap(newSamples); } // Insert or overwrite time into newTimes. auto iter = lower_bound(newSamples.times.Get().begin(), newSamples.times.Get().end(), time); if (iter == newSamples.times.Get().end() || *iter != time) { auto index = iter - newSamples.times.Get().begin(); // Make the samples mutable, which may invalidate 'iter'. _crateFile->MakeTimeSampleTimesAndValuesMutable(newSamples); newSamples.times.GetMutable(). insert(newSamples.times.GetMutable().begin() + index, time); newSamples.values.insert(newSamples.values.begin() + index, value); } else { // Make the values mutable, then modify. _crateFile->MakeTimeSampleValuesMutable(newSamples); newSamples.values[iter-newSamples.times.Get().begin()] = value; } if (fieldValue) { fieldValue->UncheckedSwap(newSamples); } else { Set(path, SdfDataTokens->TimeSamples, VtValue::Take(newSamples)); } } inline void EraseTimeSample(const SdfPath& path, double time) { TimeSamples newSamples; VtValue *fieldValue = _GetMutableFieldValue(path, SdfDataTokens->TimeSamples); if (fieldValue && fieldValue->IsHolding<TimeSamples>()) { fieldValue->UncheckedSwap(newSamples); } else { return; } // Insert or overwrite time into newTimes. auto iter = lower_bound(newSamples.times.Get().begin(), newSamples.times.Get().end(), time); if (iter == newSamples.times.Get().end() || *iter != time) return; // If we're removing the last sample, remove the entire field to be // consistent with SdfData's implementation. if (newSamples.times.Get().size() == 1) { Erase(path, SdfDataTokens->TimeSamples); } else { // Otherwise remove just the one sample. auto index = iter-newSamples.times.Get().begin(); // Make the samples mutable, which may invalidate 'iter'. _crateFile->MakeTimeSampleTimesAndValuesMutable(newSamples); newSamples.times.GetMutable().erase( newSamples.times.GetMutable().begin() + index); newSamples.values.erase(newSamples.values.begin() + index); fieldValue->UncheckedSwap(newSamples); } } //////////////////////////////////////////////////////////////////////// private: bool _PopulateFromCrateFile() { // Ensure we start from a clean slate. _ClearSpecData(); TfErrorMark m; WorkDispatcher dispatcher; // Pull all the data out of the crate file structure that we'll // consume. vector<CrateFile::Spec> specs; vector<CrateFile::Field> fields; vector<Usd_CrateFile::FieldIndex> fieldSets; _crateFile->RemoveStructuralData(specs, fields, fieldSets); // Remove any target specs, we do not store target specs in Usd, but old // files could contain them. We stopped writing target specs in version // 0.1.0, so skip this step if the version is newer or equal to that. if (_crateFile->GetFileVersion() < CrateFile::Version(0, 1, 0)) { specs.erase( remove_if( specs.begin(), specs.end(), [this](CrateFile::Spec const &spec) { return _crateFile->GetPath( spec.pathIndex).IsTargetPath(); }), specs.end()); } CrateFile const * const crateFile = _crateFile.get(); // Reserving the space in the _data table is pretty expensive, so start // that upfront as a task and overlap it with building up all the live // field sets. dispatcher.Run([this, &specs, crateFile]() { TfAutoMallocTag tag("Usd", "Usd_CrateDataImpl::Open", "Usd_CrateDataImpl main hash table"); // over-reserve by 25% to help ensure no rehashes. _data.reserve(specs.size() + (specs.size() >> 2)); // Do all the insertions first, since inserting can invalidate // references. for (size_t i = 0; i != specs.size(); ++i) { _data.emplace(crateFile->GetPath(specs[i].pathIndex), Usd_EmptySharedTag); } }); // XXX robin_map ? typedef Usd_Shared<_FieldValuePairVector> SharedFieldValuePairVector; unordered_map< FieldSetIndex, SharedFieldValuePairVector, _Hasher> liveFieldSets; for (auto fsBegin = fieldSets.begin(), fsEnd = find(fsBegin, fieldSets.end(), FieldIndex()); fsBegin != fieldSets.end(); fsBegin = fsEnd + 1, fsEnd = find(fsBegin, fieldSets.end(), FieldIndex())) { // Add this range to liveFieldSets. TfAutoMallocTag tag("field data"); auto &fieldValuePairs = liveFieldSets[FieldSetIndex(fsBegin-fieldSets.begin())]; dispatcher.Run( [this, fsBegin, fsEnd, &fields, &fieldValuePairs]() { try{ // XXX Won't need first two tags when bug #132031 is // addressed TfAutoMallocTag tag( "Usd", "Usd_CrateDataImpl::Open", "field data"); auto &pairs = fieldValuePairs.GetMutable(); pairs.resize(fsEnd-fsBegin); for (size_t i = 0; i < size_t(std::distance(fsBegin,fsEnd)); ++i) { auto const &field = fields[fsBegin[i].value]; pairs[i].first = _crateFile->GetToken(field.tokenIndex); pairs[i].second = _UnpackForField(field.valueRep); } } catch (const std::exception &e){ TF_RUNTIME_ERROR("Encountered exception: %s %s", e.what(), _crateFile->GetAssetPath().c_str()); } catch (...) { TF_RUNTIME_ERROR("Encountered unknown exception"); } }); } dispatcher.Wait(); if (!m.IsClean()) { return false; } // Create all the specData entries and store pointers to them. tbb::parallel_for( tbb::blocked_range<size_t>(0, specs.size()), [this, crateFile, &liveFieldSets, &specs]( tbb::blocked_range<size_t> const &r) { for (size_t i = r.begin(), end = r.end(); i != end; ++i) { CrateFile::Spec const &spec = specs[i]; _SpecData &specData = _data.find( crateFile->GetPath(spec.pathIndex)).value(); specData.specType = spec.specType; specData.fields = liveFieldSets.find(spec.fieldSetIndex)->second; } }, tbb::static_partitioner()); _lastSet = _data.end(); return true; } inline VtValue _UnpackForField(ValueRep rep) const { VtValue ret; if (rep.IsInlined() || rep.GetType() == TypeEnum::TimeSamples || rep.GetType() == TypeEnum::TokenVector) { ret = _crateFile->UnpackValue(rep); } else { ret = rep; } return ret; } inline std::vector<double> const & _ListTimeSamplesForPath(const SdfPath &path) const { TF_DESCRIBE_SCOPE(GetAssetPath().c_str()); if (const VtValue* fieldValue = _GetFieldValue(path, SdfDataTokens->TimeSamples)) { if (fieldValue->IsHolding<TimeSamples>()) { return fieldValue->UncheckedGet<TimeSamples>().times.Get(); } } static std::vector<double> empty; return empty; } inline vector<double> _ListAllTimeSamples() const { vector<double> allTimes, tmp; for (auto const &p: _data) { tmp.swap(allTimes); allTimes.clear(); auto const &times = _ListTimeSamplesForPath(p.first); set_union(tmp.begin(), tmp.end(), times.begin(), times.end(), back_inserter(allTimes)); } return allTimes; } inline VtValue _MakeTimeSampleMap(VtValue const &val) const { if (val.IsHolding<TimeSamples>()) { SdfTimeSampleMap result; auto const &ts = val.UncheckedGet<TimeSamples>(); for (size_t i = 0; i != ts.times.Get().size(); ++i) { result.emplace( ts.times.Get()[i], _DetachValue(_crateFile->GetTimeSampleValue(ts, i))); } return VtValue::Take(result); } return val; } inline VtValue _Make_TimeSamples(VtValue const &val) const { if (val.IsHolding<SdfTimeSampleMap>()) { TimeSamples result; auto const &tsm = val.UncheckedGet<SdfTimeSampleMap>(); result.times.GetMutable().reserve(tsm.size()); result.values.reserve(tsm.size()); for (auto const &p: tsm) { result.times.GetMutable().push_back(p.first); result.values.push_back(p.second); } return VtValue::Take(result); } return val; } // Converts the value to a SdfPayloadListOp value if possible. inline VtValue _ToPayloadListOpValue(VtValue const &val) const { // Can convert if the value holds an SdfPayload. if (val.IsHolding<SdfPayload>()) { const SdfPayload &payload = val.UncheckedGet<SdfPayload>(); SdfPayloadListOp result; // Support for payload list ops and internal payloads were added // at the same time. So semantically, a single SdfPayload with an // empty asset path was equivalent to setting the payload to be // explicitly none. We maintain this semantic meaning so that we // can continue to read older versions of crate files correctly. if (payload.GetAssetPath().empty()) { // Explicitly empty payload list result.ClearAndMakeExplicit(); } else { // Explicit payload list containing the single payload. result.SetExplicitItems(SdfPayloadVector(1, payload)); } return VtValue::Take(result); } // Value is returned as is if it's already a payload list op or if it's // any other type. return val; } // Converts the value from a SdfPayloadListOp value to an SdfPayload only // if it can be semantically represented as a single SdfPayload inline VtValue _FromPayloadListOpValue(VtValue const &val) const { if (val.IsHolding<SdfPayloadListOp>()) { const SdfPayloadListOp &listOp = val.UncheckedGet<SdfPayloadListOp>(); // The list must be explicit to be represented as a single // SdfPayload. if (listOp.IsExplicit()) { if (listOp.GetExplicitItems().size() == 0) { // If the list is explicitly empty, it is equivalent to a // default SdfPayload. return VtValue(SdfPayload()); } else if (listOp.GetExplicitItems().size() == 1) { // Otherwise an explicit list of one payload may be // convertible. Even if we have a single explicit payload, // we must check whether it is internal as an SdfPayload // with no asset path was used to represent "payload = none" // in older versions and we need keep those semantics. const SdfPayload &payload = listOp.GetExplicitItems().front(); if (!payload.GetAssetPath().empty()) { return VtValue(payload); } } } } // Fall through to the original value if no SdfPayload conversion is // possible. return val; } inline _SpecData const * _GetSpecData(SdfPath const &path) const { _SpecData const *specData = nullptr; auto i = _data.find(path); if (i != _data.end()) { specData = &i.value(); } return specData; } inline VtValue const * _GetFieldValue(SdfPath const &path, TfToken const &field, SdfSpecType *specType=nullptr) const { if (_SpecData const *specData = _GetSpecData(path)) { if (specType) { *specType = specData->specType; } auto const &fields = specData->fields.Get(); for (size_t j=0, jEnd = fields.size(); j != jEnd; ++j) { if (fields[j].first == field) { return &fields[j].second; } } } else if (specType) { *specType = SdfSpecTypeUnknown; } return nullptr; } inline VtValue * _GetMutableFieldValue(const SdfPath& path, const TfToken& field) { auto i = _lastSet != _data.end() && _lastSet->first == path ? _lastSet : _data.find(path); if (i != _data.end()) { auto &spec = i.value(); auto const &fields = spec.fields.Get(); for (size_t j=0, jEnd = fields.size(); j != jEnd; ++j) { if (fields[j].first == field) { spec.DetachIfNotUnique(); return &spec.fields.GetMutable()[j].second; } } } return nullptr; } inline VtValue _DetachValue(VtValue const &val) const { return val.IsHolding<ValueRep>() ? _crateFile->UnpackValue(val.UncheckedGet<ValueRep>()) : val; } inline void _ClearSpecData() { TfReset(_data); _lastSet = _data.end(); } // In-memory storage for a single "spec" -- prim, property, etc. typedef std::pair<TfToken, VtValue> _FieldValuePair; typedef std::vector<_FieldValuePair> _FieldValuePairVector; struct _SpecData { _SpecData() = default; explicit _SpecData(Usd_EmptySharedTagType) noexcept : fields(Usd_EmptySharedTag) {} inline void DetachIfNotUnique() { fields.MakeUnique(); } friend inline void swap(_SpecData &l, _SpecData &r) { std::swap(l.specType, r.specType); l.fields.swap(r.fields); } Usd_Shared<_FieldValuePairVector> fields; SdfSpecType specType; }; using _HashMap = pxr_tsl::robin_map< SdfPath, _SpecData, SdfPath::Hash, std::equal_to<SdfPath>, std::allocator<std::pair<SdfPath, _SpecData>>, /*StoreHash=*/false>; // In-memory data for specs. _HashMap _data; _HashMap::iterator _lastSet; // cached last authored spec. // Underlying file. std::unique_ptr<CrateFile> _crateFile; }; //////////////////////////////////////////////////////////////////////// // Usd_CrateData Usd_CrateData::Usd_CrateData(bool detached) : _impl(new Usd_CrateDataImpl(detached)) { } Usd_CrateData::~Usd_CrateData() { } /* static */ TfToken const & Usd_CrateData::GetSoftwareVersionToken() { return CrateFile::GetSoftwareVersionToken(); } /* static */ bool Usd_CrateData::CanRead(string const &assetPath) { return CrateFile::CanRead(assetPath); } /* static */ bool Usd_CrateData::CanRead(string const &assetPath, std::shared_ptr<ArAsset> const &asset) { return CrateFile::CanRead(assetPath, asset); } bool Usd_CrateData::Save(string const &fileName) { if (fileName.empty()) { TF_CODING_ERROR("Tried to save to empty fileName"); return false; } return _impl->Save(fileName); } bool Usd_CrateData::Export(string const &fileName) { if (fileName.empty()) { TF_CODING_ERROR("Tried to save to empty fileName"); return false; } // To Export, we copy to a temporary data and save that, since we need this // CrateData object to stay associated with its existing backing store. // // Usd_CrateData currently reloads the underlying asset to reinitialize its // internal members after a save. We use a non-detached Usd_CrateData here // to avoid any expense associated with detaching from the asset. Usd_CrateData tmp(/* detached = */ false); tmp.CopyFrom(SdfAbstractDataConstPtr(this)); return tmp.Save(fileName); } bool Usd_CrateData::Open(const std::string &assetPath, bool detached) { return _impl->Open(assetPath, detached); } bool Usd_CrateData::Open(const std::string &assetPath, const std::shared_ptr<ArAsset> &asset, bool detached) { return _impl->Open(assetPath, asset, detached); } // your_sha256_hash--------- // // Abstract Data Implementation. // bool Usd_CrateData::StreamsData() const { return _impl->StreamsData(); } bool Usd_CrateData::HasSpec(const SdfPath &path) const { return _impl->HasSpec(path); } void Usd_CrateData::EraseSpec(const SdfPath &path) { _impl->EraseSpec(path); } void Usd_CrateData::MoveSpec(const SdfPath& oldPath, const SdfPath& newPath) { return _impl->MoveSpec(oldPath, newPath); } SdfSpecType Usd_CrateData::GetSpecType(const SdfPath &path) const { return _impl->GetSpecType(path); } void Usd_CrateData::CreateSpec(const SdfPath &path, SdfSpecType specType) { _impl->CreateSpec(path, specType); } void Usd_CrateData::_VisitSpecs(SdfAbstractDataSpecVisitor* visitor) const { _impl->_VisitSpecs(*this, visitor); } bool Usd_CrateData::Has(const SdfPath& path, const TfToken & field, SdfAbstractDataValue* value) const { return _impl->Has(path, field, value); } bool Usd_CrateData::Has(const SdfPath& path, const TfToken & field, VtValue *value) const { return _impl->Has(path, field, value); } bool Usd_CrateData ::HasSpecAndField(const SdfPath &path, const TfToken &field, SdfAbstractDataValue *value, SdfSpecType *specType) const { return _impl->Has(path, field, value, specType); } bool Usd_CrateData ::HasSpecAndField(const SdfPath &path, const TfToken &field, VtValue *value, SdfSpecType *specType) const { return _impl->Has(path, field, value, specType); } VtValue Usd_CrateData::Get(const SdfPath& path, const TfToken & field) const { return _impl->Get(path, field); } std::type_info const & Usd_CrateData::GetTypeid(const SdfPath& path, const TfToken& field) const { return _impl->GetTypeid(path, field); } std::vector<TfToken> Usd_CrateData::List(const SdfPath& path) const { return _impl->List(path); } void Usd_CrateData::Set(const SdfPath& path, const TfToken& fieldName, const VtValue& value) { return _impl->Set(path, fieldName, value); } void Usd_CrateData::Set(const SdfPath& path, const TfToken& field, const SdfAbstractDataConstValue& value) { return _impl->Set(path, field, value); } void Usd_CrateData::Erase(const SdfPath& path, const TfToken & field) { return _impl->Erase(path, field); } // your_sha256_hash--------- // // Time Sample API. // std::set<double> Usd_CrateData::ListAllTimeSamples() const { return _impl->ListAllTimeSamples(); } std::set<double> Usd_CrateData::ListTimeSamplesForPath(const SdfPath& path) const { return _impl->ListTimeSamplesForPath(path); } bool Usd_CrateData::GetBracketingTimeSamples( double time, double* tLower, double* tUpper) const { return _impl->GetBracketingTimeSamples(time, tLower, tUpper); } size_t Usd_CrateData::GetNumTimeSamplesForPath(const SdfPath& path) const { return _impl->GetNumTimeSamplesForPath(path); } bool Usd_CrateData::GetBracketingTimeSamplesForPath( const SdfPath& path, double time, double* tLower, double* tUpper) const { return _impl->GetBracketingTimeSamplesForPath(path, time, tLower, tUpper); } bool Usd_CrateData::QueryTimeSample(const SdfPath& path, double time, VtValue *value) const { return _impl->QueryTimeSample(path, time, value); } bool Usd_CrateData::QueryTimeSample(const SdfPath& path, double time, SdfAbstractDataValue* value) const { return _impl->QueryTimeSample(path, time, value); } void Usd_CrateData::SetTimeSample(const SdfPath& path, double time, const VtValue &value) { return _impl->SetTimeSample(path, time, value); } void Usd_CrateData::EraseTimeSample(const SdfPath& path, double time) { return _impl->EraseTimeSample(path, time); } PXR_NAMESPACE_CLOSE_SCOPE ```
Statistics of Nemzeti Bajnokság I in the 1937–38 season. Overview It was contested by 14 teams, and Ferencvárosi TC won the championship. League standings Results References Hungary - List of final tables (RSSSF) Nemzeti Bajnokság I seasons Hun 1
Nokogiri is an open source software library to parse HTML and XML in Ruby. It depends on libxml2 and libxslt to provide its functionality. Overview It markets itself as providing a sensible, easy-to-understand API for reading, writing, modifying, and querying documents. It is available for ruby as well as java through Jruby. It provides fast and standards-compliant parser by relying on native parsers like libxml2 (CRuby) and xerces (JRuby). It is one of the most downloaded Ruby gems, having been downloaded over 550 million times from the rubygems.org repository. Features DOM Parser for XML, HTML4, and HTML5 SAX Parser for XML and HTML4 Push Parser for XML and HTML4 Document search via XPath 1.0 Document search via CSS3 selectors XSD Schema validation XSLT transformation XML and HTML Builder Enterprise support is available through tidelift, a paid subscription model, offering commercial support for open source applications. References External links Ruby (programming language) XML parsers HTML parsers Web scraping
K28 may refer to: K-28 (Kansas highway) K-28 trailer, part of the SCR-268 radar system Rio Grande class K-28, an American steam locomotive Sonata in C, K. 28, by Wolfgang Amadeus Mozart
The Chaplain Corps of the United States Air Force (USAF) is composed of both clergy—commissioned officers who have been endorsed and ordained by a religious organization—and enlisted Religious Affairs. As military chaplains, their main purpose is to support the free exercise of religion by members of the military service, their dependents, and other authorized personnel. They also provide advice on spiritual, ethical, moral, and religious-accommodation issues to the leadership of the United States Department of Defense. Air Force chaplains come from a variety of religious backgrounds, including Buddhism, Catholicism, Eastern Orthodox Christianity, Islam, Judaism, and Protestantism, and any other religious organization with an endorser that has been recognized by the Armed Forces Chaplains Board. Mission statement While serving as a visible reminder of the Holy, the Air Force Chaplain Corps provides spiritual care and the opportunity for Air Force members and their families to exercise their constitutional right to freedom of religion. History Beginnings The first American military chaplaincy was established by the Continental Congress on 29 July 1775. Chaplains were paid $20 per month, a captain's salary, and required no formal ordination or endorsement by a religious organisation. During the American Civil War, attempts were made by both government and church organization to increase professionalism. Ordination by an authorized ecclesiastical body became a legal requirement and the non-combatant status of chaplains was officially recognised. Air Force The first Air Chaplain of the United States Army Air Force was Captain Charles I. Carpenter, appointed 28 July 1942. Although the United States Air Force became a separate department on 18 September 1947, following the passage of the National Security Act, the Army opposed the creation of a separate Air Force chaplaincy as it would violate the Spaatz-Eisenhower Agreement, which stated that parallel organizations in the Army and the Air Force would not be approved unless organically necessary, and would serve as a precedent for the separation of other services. Carpenter, on the other hand, emphasized the need for a shared sense of identity between chaplains and the men they served and favored a separate Air Force chaplaincy. On 10 May 1949, after consulting with Carpenter, General Carl Spaatz ordered the institution of a separate Air Force chaplaincy; fewer than 10 of the 458 active duty chaplains elected to remain in the Army. Carpenter was promoted to major general and was appointed the first Air Force Chief of Chaplains, serving from 1949 to 1958. The Air Force Chaplain Assistant Specialist Career was established in 1948. Leadership The Chief of Chaplains of the United States Air Force (CCHAF) is the senior chaplain in the United States Air Force, the leader of the U.S. Air Force Chaplain Corps, and the senior adviser on religious issues to the Secretary and Chief of Staff of the United States Air Force. The CCHAF is responsible for establishing an effective chaplain program that meets the religious needs of all members of the Air Force by leading an Air Force Chaplain Corps of approximately 2,200 chaplains and chaplain assistants from the active and Air Reserve components. As a member of the Armed Forces Chaplains Board, the CCHAF advises the Secretary of Defense and Joint Chiefs of Staff on religious, ethical and quality-of-life concerns. The position of Chief of Chaplains is currently held by Major General Randall Kitchens. The Air Force Deputy Chief of Chaplains assists the Chief of Chaplains in directing and maintaining the Chaplain Corps. The Chaplain Assistant Air Force Career Field Manager runs the chaplain-assistant career field, preparing chaplain assistants to support the Air Force Chaplain Corps and advising the Air Force Chief of Chaplains on policy matters regarding chaplain assistants and the Air Force Chaplain Corps. The position is currently held by Chief Master Sergeant Dale McGavran. Air Force Chaplain Corps College The Air Force Chaplain Corps College (AFCCC) is located at the Ira C. Eaker Center for Professional Development at Maxwell AFB, Alabama. Prayers Air Force Hymn See also Roles Chaplain United States military chaplains Chaplain Assistant (Air Force and Army) Religious Program Specialist (Navy) Honors Chaplain's Medal for Heroism Specialty insignia United States Air Force Chaplain Symbols Religious Pins Air Force Occupational Badges Badges and Insignia Insignia of Chaplain Schools in the US Military Locations United States Air Force Academy Cadet Chapel Chaplains Hill (Arlington National Cemetery) Other military chaplaincies United States Army Chaplain Corps Chaplain of the United States Coast Guard Chaplain of the United States Marine Corps United States Navy Chaplain Corps References Further reading See: United States military chaplains#Further reading External links U.S. Air Force Chaplain Corps official website U.S. Air Force official website Chaplain Corps Forum (Chaplain Corps Personnel only) Armed Forces Chaplains Board (AFCB). Instruction Number 5120.08 (20 August 2007). Department of Defense. Retrieved 2023-09-16. Military Chaplains Association (MCA) official website. Retrieved 2009-12-03. National Conference on Ministry to the Armed Forces (NCMAF) official website. Retrieved 2009-12-03. Religion in the United States military United States military chaplaincy
```smalltalk using System; using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Volo.Abp.Validation; using Volo.Docs.Admin.Documents; using Volo.Docs.Admin.Projects; using Volo.Docs.Documents; namespace Volo.Docs.Admin.Pages.Docs.Admin.Projects { public class PullModel : DocsAdminPageModel { [BindProperty] public PullDocumentViewModel PullDocument { get; set; } private readonly IProjectAdminAppService _projectAppService; private readonly IDocumentAdminAppService _documentAppService; public PullModel(IProjectAdminAppService projectAppService, IDocumentAdminAppService documentAppService) { _projectAppService = projectAppService; _documentAppService = documentAppService; } public virtual async Task<ActionResult> OnGetAsync(Guid id) { var project = await _projectAppService.GetAsync(id); PullDocument = new PullDocumentViewModel() { ProjectId = project.Id, All = false }; return Page(); } public virtual async Task<IActionResult> OnPostAsync() { if (PullDocument.All) { await _documentAppService.PullAllAsync( ObjectMapper.Map<PullDocumentViewModel, PullAllDocumentInput>(PullDocument)); } else { await _documentAppService.PullAsync( ObjectMapper.Map<PullDocumentViewModel, PullDocumentInput>(PullDocument)); } return NoContent(); } public class PullDocumentViewModel { [HiddenInput] public Guid ProjectId { get; set; } public bool All { get; set; } [Required] [DynamicStringLength(typeof(DocumentConsts), nameof(DocumentConsts.MaxNameLength))] public string Name { get; set; } [Required] [DynamicStringLength(typeof(DocumentConsts),nameof(DocumentConsts.MaxLanguageCodeNameLength))] public string LanguageCode { get; set; } [Required] [DynamicStringLength(typeof(DocumentConsts), nameof(DocumentConsts.MaxVersionNameLength))] public string Version { get; set; } } } } ```
Ferdinand Karapetian (; born 19 December 1992) is an Armenian judoka. He competes in the 73 kg weight category and won a gold medal in the 2018 European Championships. He represented Armenia at the 2020 Summer Olympics. References External links 1992 births Armenian male judoka Living people European Games competitors for Armenia Judoka at the 2019 European Games Judoka at the 2020 Summer Olympics Olympic judoka for Armenia 21st-century Armenian people
Danaë is a 1612 painting by the Italian Baroque artist Artemisia Gentileschi. It hangs in the Saint Louis Art Museum, United States. Description Subject matter The story of Danaë is recorded in Ovid's Metamorphoses and recounts the plight of the daughter of King Acrisius of Argos. A prophecy led him to believe that his grandchild would lead to his death, and therefore imprisoned his daughter to prevent a potential pregnancy. Zeus overcame this challenge by transforming himself into a shower of gold, entering the room and seducing Danaë. She subsequently bore a son Perseus, who went on to kill his grandfather in his adulthood. Composition The nude figure of Danaë reclines on her richly textiled bed in a darkened space, while her servant wearing a white headscarf in the background collects gold coins in her blue skirts. The pose and design are based on Artemisia's earlier version of Cleopatra. A cleaning completed in 1986 removed old discolored varnish and restored the vibrant colors of the servant's dress. Interpretation Art historians have debated this portrayal of Danaë, with some noting an open, inviting posture, while others observe the clenched fist and closed legs. Some scholars believe this painting refers directly to the rape the artist endured a few years prior, while others argue that she rather had a sympathy for women victimized by unwelcome sexual pressures. History Attribution Unlike most of Artemisia's surviving works, this painting was executed on copper. Given that Orazio was known to work frequently on copper, this has led scholars to debate the authorship between daughter and father. The attribution to Artemisia lies in both the naturalistic rendering of the female form as well as the sensitive portrayal of a woman's distress towards sexual violence. Provenance The painting was created while Artemisia was living in Rome, around 1612. The first documented appearance of the painting was at the Sotheby's sale in Monaco on February 22, 1986, where it was sold as a work of the artist's father Orazio. The painting was subsequently purchased by the Saint Louis Art Museum on August 1, 1986. See also List of works by Artemisia Gentileschi References 1610s paintings Paintings by Artemisia Gentileschi Paintings based on Metamorphoses Paintings of Danaë Paintings in the Saint Louis Art Museum
Akira Kōdate (高達秋良、こうだて・あきら) was born in Kanagawa District, Japan on 6 October 1925. He is an engineer and a Japanese business manager, considered one of the greatest international experts in R&D and production management, as well as a master of lean thinking-related methodologies. Since 1953, he has been working as a consultant with the Japan Management Association (JMA) and JMA Consultants Inc, where he works as a principal consultant and technical advisor. Biography Kōdate graduated in mechanical engineering from the University of Ibaragi in 1948, when postwar Japan was still recovering from World War II During university, he started working as a lathe turner operator, which gave him a solid foundation for his future endeavors. After being in charge of production control for a while, Kōdate became a design engineer for a manufacturing company producing sawing machines and trying to emerge from the industrial void of the period. Kōdate was willing to understand how to provide a greater contribution to the recovery of Japan and improve efficiency among its workers with the limited resources available (both material and human). He sought contacts and reference literature that could fulfill his objectives and open the minds of people to the idea that work could be made easier and more effective. One of his senior colleagues suggested to him to read a book by Shigeo Shingō, which he found definitely interesting. Kōdate realized, especially, that all of the academic teaching he had received so far indulged in technical aspects, but almost no consideration had been given to notions or information referring to the way working activities were planned, done, and controlled (the PDCA or Deming Cycle); however, Shingō noted that a widespread interest for business management was arising at the same time all over the country. In the 1950s in Japan, promising small and middle-sized companies were trying to define a growth strategy, by taking advantage of support offered by the Ministry of Industry and Trade, of which the Japan Management Association (JMA) had always been a major operational body. As a non-for-profit association of companies, the JMA offered training and consultancy, while formalizing the know-how developed by workers, and publishing manuals and papers (along with a variety of documents) for consultation and reference. One such training courses held by JMA was the P-Course (Production Course). The P-Course aimed to pass on concepts, basic techniques, and fundamental analysis tools of industrial engineering to factory workers. (The course is still being held under the same purpose). Shigeo Shingō was the director and teacher of one of the earliest course editions, as well as subsequent editions. His assistant for a few courses was a young Akira Kōdate, who had started his new job with JMA and therefore had the opportunity to follow his senior colleague and mentor Shingo closely. As an assistant, Kōdate helped collect data, draw training material, and listen to the people attending the courses from several emerging Japanese companies. Toyota, among others, had sent some of its men to attend the classes. After having been engaged with production control, having run several improvement projects (kaizen), and having dealt for long periods with the reorganization of business operating systems at plenty of enterprises, in the late 1950s and early 1960s Kōdate and colleagues from JMA developed knowledge and consulting approaches about productivity and efficiency in the management of product development processes. In 1960, he published the book Sekkei Kanri (The Management of Engineering), which won a prize for best technical paper of the year in Japan. The work was later published in Italian (1990) and English. Beyond opening key concepts and methods for upgrading the design process capability in time, quality, and cost management, Kōdate developed a few extremely relevant techniques. He is known for the VRP (Variety Reduction Program)), in which variety and costs are reduced in product development. Another key product development approach by Kōdate is the henshu sekkei (cut and paste) design technique. Many techniques, including VRF, developed by Kōdate are still in use worldwide. In the early 1980s, Kōdate stated that many business people in Western countries could feel the need and appreciate the knowledge of the contents that had been formalized in Japan to date. A number of effective techniques could be applied to Western countries and provide businesses with results similar to those in Japan in the decades after World War II and throughout the economic boom had allowed the Japanese industry to rise and prosper. Kōdate decided to move to France and offer the Japanese there his own perspective about business management. He established a permanent residence in France and worked with French companies to upgrading their management best practices. In 1988, he repeated the experience in Italy, creating the first Japanese-Italian management consulting joint venture in Milan. Honored as Reviewer in Chief of the Master in Lean Management by the Lean Enterprise Center and the former Education Director of masters courses with other universities and business schools in Italy, Kōdate is the author of many books and articles. His works are published in Japanese, English, and Italian. Although the management of Research Development and Engineering (RD&E) is the favorite topic of his writing, Kōdate also writes about the VRF, henshu sekkei, Visible Planning, and setsuban kanri). He currently travels all over Europe, givinghim a cross-cultural awareness. Quotations The following is a list of quotation references to books, articles, and concepts by Akira Koudate: Collini P., Cuel R., Fabrello L., "Sensemaking in target costing", Department of Computer Science, Verona University, Italy, 2002 Tonchia S., Il Project Management – Come gestire il cambiamento e l’innovazione, Il Sole 24 Ore Publications, Milan, 2005 Munari F. and Sobrero M. (eds.), "Innovazione tecnologica e gestione d’impresa – La gestione dello sviluppo prodotto", Il Mulino, 2004 Lean Enterprise Center, http://www.leancenter.it/LinkClick.aspx?fileticket=WdNzCeKBgPA=&tabid=162&language=it-IT and http://www.leancenter.it/LeanEvents/LeanSummit2009/LeanSummit2009invideo/tabid/199/language/it-IT/Default.aspx October, 2009 Maselli G.M., http://qualitiamo.com/articoli/Lean%20management.html (October, 2009) Simboli N., http://www.leansolutions.it/tag/koudate-akira March, 2012 http://www.docstoc.com/docs/22043146/Intervista-ad-Akira-Koudate-su-Shigeo-Shingo-e-la October, 2012 Publications Kōdate A. and Suzue T., Variety Reduction Program. A Production Strategy for Product Diversification, Productivity Press, 1990 Smalley A., "Shingo's influence on the TPS", Superfactory, April 2006 (https://web.archive.org/web/20120630224714/http://www.superfactory.com/articles/featured/2006/0604-smalley-shingo-influence-tps.html) Kōdate A. and Suzue T., Variety Reduction Program – Una strategia di gestione della differenziazione di prodotto per la riduzione di costi legati alla varietà, ISEDI Publications, Turin, 1992 Bianchi F., Kōdate A., and Shimizu T., Dall'Idea al cliente, Il Sole 24 Ore Publications, Milan, 1996 Kōdate A. and Salomone F., "Supply Chain e Keiretsu: l'evoluzione verso un modello comune", Sistemi e Impresa N. 3/2001, April 2001 Kōdate A., Il management della progettazione, ISEDI Publications, Turin, 2003 Kōdate A. and Samaritani G., Eco-Eco management – Sinergia tra ecologia ed economia nell'impresa, Franco Angeli Publications, Milan, 2004 "Intervista ad Akira Kōdate su Shigeo Shingo e la nascita del TPS", SISTEMI & IMPRESA N.10/2006, ESTE Publications, December 2006, 14–15 Foreword by Kōdate A. in Volpi V., Giappone: l'identità perduta, Sperling & Kupfer, 2002 Lupi C., "Imparare ad osservare per vincere le sfide – Intervista ad Akira Kōdate", SISTEMI & IMPRESA N.8, ESTE Publications, September 2008, 6–10 Kōdate A., "Coraggio e libertà" ("Brave and Free"), L'IMPRESA N.4/2012, IlSole 24 Ore Publications, Milan, April 2012, 19 Kōdate A., Kankyō keiei no chōsen: Eco-Eco Manejimento no susumekata, Nihon kōgyō shinbun shinsha, Tokyo, April 2003 Kōdate A. and Pacenti G., B2B Ma-ketingu kokyaku kachi no koujou ni kōken suru nanatsu no purosesu, Diamond Publications, Tokyo, November 2000 Kōdate A., Sekkei kanri no susumekata, Nihon nōritsu kyōkai manejimento Senta Publications, Tokyo, September 1992 Kōdate A. and Suzue T., VRP: buhin hangenka keikaku – seihin tayōka jidai no seisan senryaku, Nihon nōritsu kyōkai manejimento Senta Publications, Tokyo, October 1984 References and notes 1925 births 2018 deaths Japanese mechanical engineers
```java Metadata: setting a file's owner There is no such thing as *pass-by-reference* in Java Detect or prevent integer overflow Do not perform bitwise and arithmetic operations on the same data Using an interface as a parameter ```
```rust /* * * This software may be used and distributed according to the terms of the */ use mononoke_types::path::MPath; use mononoke_types::MPathElement; use mononoke_types::NonRootMPath; use mononoke_types::TrieMap; #[derive(Clone, Debug)] pub struct PathTree<V> { pub value: V, pub subentries: TrieMap<Self>, } impl<V> PathTree<V> { pub fn deconstruct(self) -> (V, Vec<(MPathElement, Self)>) { ( self.value, self.subentries .into_iter() .map(|(path, subtree)| { ( MPathElement::from_smallvec(path) .expect("Only MPaths are inserted into PathTree"), subtree, ) }) .collect(), ) } pub fn get(&self, path: &MPath) -> Option<&V> { let mut tree = self; for elem in path { match tree.subentries.get(elem.as_ref()) { Some(subtree) => tree = subtree, None => return None, } } Some(&tree.value) } } impl<V> PathTree<V> where V: Default, { pub fn insert(&mut self, path: MPath, value: V) { let node = path.into_iter().fold(self, |node, element| { node.subentries.get_or_insert_default(element) }); node.value = value; } pub fn insert_and_merge<T>(&mut self, path: MPath, value: T) where V: Extend<T>, { let node = path.into_iter().fold(self, |node, element| { node.subentries.get_or_insert_default(element) }); node.value.extend(std::iter::once(value)); } pub fn insert_and_prune(&mut self, path: MPath, value: V) { let node = path.into_iter().fold(self, |node, element| { node.subentries.get_or_insert_default(element) }); node.value = value; node.subentries.clear(); } } impl<V> Default for PathTree<V> where V: Default, { fn default() -> Self { Self { value: Default::default(), subentries: Default::default(), } } } impl<V> FromIterator<(MPath, V)> for PathTree<V> where V: Default, { fn from_iter<I>(iter: I) -> Self where I: IntoIterator<Item = (MPath, V)>, { let mut tree: Self = Default::default(); for (path, value) in iter { tree.insert(path, value); } tree } } impl<V> FromIterator<(NonRootMPath, V)> for PathTree<V> where V: Default, { fn from_iter<I>(iter: I) -> Self where I: IntoIterator<Item = (NonRootMPath, V)>, { let mut tree: Self = Default::default(); for (path, value) in iter { tree.insert(MPath::from(path), value); } tree } } pub struct PathTreeIter<V> { frames: Vec<(MPath, PathTree<V>)>, } impl<V> Iterator for PathTreeIter<V> { type Item = (MPath, V); fn next(&mut self) -> Option<Self::Item> { let (path, path_tree) = self.frames.pop()?; let (value, subentries) = path_tree.deconstruct(); for (name, subentry) in subentries { self.frames.push((path.join(&name), subentry)); } Some((path, value)) } } impl<V> IntoIterator for PathTree<V> { type Item = (MPath, V); type IntoIter = PathTreeIter<V>; fn into_iter(self) -> Self::IntoIter { PathTreeIter { frames: vec![(MPath::ROOT, self)], } } } #[cfg(test)] mod tests { use anyhow::Result; use super::*; #[test] fn test_path_tree() -> Result<()> { let tree = PathTree::from_iter(vec![ (MPath::new("/one/two/three")?, true), (MPath::new("/one/two/four")?, true), (MPath::new("/one/two")?, true), (MPath::new("/five")?, true), ]); let reference = vec![ (MPath::ROOT, false), (MPath::new("one")?, false), (MPath::new("one/two")?, true), (MPath::new("one/two/three")?, true), (MPath::new("one/two/four")?, true), (MPath::new("five")?, true), ]; assert_eq!(Vec::from_iter(tree), reference); Ok(()) } #[test] fn test_path_insert_and_merge() -> Result<()> { let mut tree = PathTree::<Vec<_>>::default(); let items = vec![ (MPath::new("/one/two/three")?, true), (MPath::new("/one/two/three")?, false), ]; for (path, value) in items { tree.insert_and_merge(path, value); } let reference = vec![ (MPath::ROOT, vec![]), (MPath::new("one")?, vec![]), (MPath::new("one/two")?, vec![]), (MPath::new("one/two/three")?, vec![true, false]), ]; assert_eq!(Vec::from_iter(tree), reference); Ok(()) } } ```
Bolat Bidakhmetuly Zhamishev (, Bolat Bidahmetūly Zhämışev; born 28 June 1957) is a Kazakh politician who served as a Minister of Finance from 2007 to 2013, and Minister of Regional Development from 2013 to 2014. Since November 5, 2020 Chairman of the Board of Directors of Bank RBK JSC. Was appointed Chairman of the Kazakhstan Khalkyna Foundation, established after the January events of 2022 in Kazakhstan. Since February 17, 2022 he has headed the Samruk-Kazyna Public Council. On July 4, 2022, he was elected a member of the Board of Directors, an independent director of the Samruk-Kazyna Foundation. Personal life Zhamishev was born in 1957. He is an alumnus of the Kazakh Agriculture Institute, and has a PhD in economics. Following graduation, he was involved in scientific research. He held positions of a National Bank Department Vice Head, Vice Minister of Labor and Social Protection, First Vice Minister of Finance, Vice Minister of Internal Affairs, Vice Chairman of the National Bank, Chairman of the Agency for Supervision over Financial Market and Financial Institutions. Before being appointed Finance Minister in November 2007, he served as Vice Chairman of the Executive Board of the Eurasian Bank for Development. He is married and has two sons, Daulet and Kuanysh. References Кадровые назначения 1957 births Living people Ministers of Finance (Kazakhstan) Ministers of Regional development (Kazakhstan) People from Almaty
Luka Vidmar (born May 17, 1986) is a Slovenian professional ice hockey defenceman. He is currently playing for the SønderjyskE Ishockey of the Danish Metal Ligaen. Playing career After playing as a youth professionally for HDD Olimpija Ljubljana in the Slovenian Ice Hockey League, Vidmar moved to North America and attended the University of Alaska Anchorage where he played fours seasons of NCAA Division I ice hockey with the Alaska Anchorage Seawolves men's ice hockey team. He accumulated 33 points and 135 penalty minutes in 114 games with the Seawolves. Vidmar began the 2011–12 ECHL season with the Las Vegas Wranglers where he played three games before signing with the Colorado Eagles on November 11, 2011. Prior to the 2012–13 season, Vidmar remained in the ECHL after signing as a free agent with the South Carolina Stingrays on October 5, 2012. After 10 years of playing in North America, Vidmar returned to Europe to sign a try-out contract with BK Mladá Boleslav of the Czech Extraliga on July 24, 2014. Career statistics Regular season and playoffs International References External links 1986 births Living people Chicago Steel players Colorado Eagles players HDD Olimpija Ljubljana players Las Vegas Wranglers players Rochester Americans players Slovenian ice hockey defencemen South Carolina Stingrays players Ice hockey people from Ljubljana Stjernen Hockey players Ice hockey players at the 2018 Winter Olympics Olympic ice hockey players for Slovenia
```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 google.registry.flows; import static google.registry.request.RequestParameters.extractBooleanParameter; import static google.registry.request.RequestParameters.extractRequiredParameter; import static java.nio.charset.StandardCharsets.UTF_8; import dagger.Module; import dagger.Provides; import google.registry.model.eppcommon.ProtocolDefinition; import google.registry.request.Action; import google.registry.request.Action.Method; import google.registry.request.Parameter; import google.registry.request.auth.Auth; import jakarta.servlet.http.HttpServletRequest; import javax.inject.Inject; /** Runs EPP commands directly without logging in, verifying an XSRF token from the tool. */ @Action( service = Action.Service.TOOLS, path = EppToolAction.PATH, method = Method.POST, auth = Auth.AUTH_ADMIN) public class EppToolAction implements Runnable { public static final String PATH = "/_dr/epptool"; @Inject @Parameter("clientId") String registrarId; @Inject @Parameter("superuser") boolean isSuperuser; @Inject @Parameter("dryRun") boolean isDryRun; @Inject @Parameter("xml") String xml; @Inject EppRequestHandler eppRequestHandler; @Inject EppToolAction() {} @Override public void run() { eppRequestHandler.executeEpp( new StatelessRequestSessionMetadata( registrarId, ProtocolDefinition.getVisibleServiceExtensionUris()), new PasswordOnlyTransportCredentials(), EppRequestSource.TOOL, isDryRun, isSuperuser, xml.getBytes(UTF_8)); } /** Dagger module for the epp tool endpoint. */ @Module public static final class EppToolModule { // TODO(b/29139545): Make parameters consistent across the graph. @Parameter("dryRun") is // already provided elsewhere in the graph and happens to work for us but that's just luck. @Provides @Parameter("xml") static String provideXml(HttpServletRequest req) { return extractRequiredParameter(req, "xml"); } @Provides @Parameter("superuser") static boolean provideIsSuperuser(HttpServletRequest req) { return extractBooleanParameter(req, "superuser"); } @Provides @Parameter("clientId") static String provideClientId(HttpServletRequest req) { return extractRequiredParameter(req, "clientId"); } } } ```
José Luis González Sanjuan, better known by the pen name Fernando Denis, is a Colombian poet and author. He was born in Cienaga, Magdalena, Colombia, in 1968. Works He has written books of poetry: The Invisible creature in the twilight of William Turner (1997), considered one of the best books published in Colombia during the twentieth century, Come to these yellow sands (2004), The Red wine of syllables(2007) and The Geometry of Water (2009). His poetry has begun to generate interest within and outside his country, and his new book, The Geometry of Water, published by Norma, was presented at the Book Fairs in Buenos Aires and in Mainz in 2010 with success. Paper Museum, engraving and printing of Argentina is being translated into English, French, German and Russian. Contemporaries, between critics and writers as William Ospina (winner of Prize Romulo Gallegos 2008), Juan Gustavo Cobo-Borda and José Ramón Ripoll, agree that Fernando Denis is one of today's most original voices in the poetry of Latin America. He is currently finishing his first novel, expected to be base on his own life. The Geometry of Water was translated and published in India by Sahitya Akademi in November 2010. Psychology "Fernando Denis is the successful result of a happy schizophrenia. On the one hand, from the world's creative craters near the Caribbean Sea and tropical nights to flights to heaven of Remedios the Beauty (Remedios La bella from One hundred years of solitude by Gabriel García Márquez ), the ghosts that evaporate and mangrove swamps. On the other hand, an irresistible fascination for the world of painting, which burns with fire his eyes with work of William Turner, Denis lost his footsteps in the stairs that lead nowhere in the engravings of Piranesi, and definitely went mad with tigers that Jorge Luis Borges imagined blue. His cult purpose: to become a myth of our poetry, oscillating between anger in Bogota Bohemian night and the memory of the Pre-Raphaelite Brotherhood. Ability to dissolve the reason in one color, in music, is one of his disturbing virtues," enthusiastically wrote Juan Gustavo Cobo Borda. Themes His poetry is concerned with the exterior landscape, one that contains the colours of nature, and much like the twilight of William Turner, his poems contain magic and fire. The cadence and the sounds of ancient texts have a taste, stuffed with a lot of painting, monologues versatile female voices that rise from the dust to christen the new language. He is currently the most read poet in his country and is the new icon of the new generation in Colombia. "The most obvious virtue of the poetry of Fernando Denis is originality," wrote William Ospina. "None of us refers to the words with more freedom, so when we read him the most common reader reaction is amazement, bewilderment." Reviews In the preface to the Venezuelan edition of his book The sea throws its gold coins, José Ramón Ripoll, musicologist, editor of the Atlantic Magazine and one of the most acclaimed masters of modern Spanish poetry, wrote "Fernando Denis is a versatile poet, dense and full, in the sense that he looks and names the world without fuss, making all his experience in poetic material, from the high peaks of the mountains to the splash of the tread on his shoes puddles." External links 20th-century Colombian novelists Colombian male novelists Colombian male writers 20th-century Colombian poets Colombian male poets People from Magdalena Department 1968 births Living people 21st-century Colombian poets 21st-century male writers 20th-century male writers
Wakefieldite-(Ce) () is the cerium analogue of the uncommon rare-earth element vanadate mineral Wakefieldite. It is a member of the xenotime group. Wakefieldite-(Ce) was first described in 1977. It was initially given the name kusuïte for its type locality in the Kusu deposit, SW of Kinshasa, Zaire. In 1987 it was renamed as the Ce analog of wakefieldite-Y. References Cerium minerals Vanadate minerals Tetragonal minerals Minerals in space group 141 Minerals described in 1977
The 2003 Molson Indy Montreal was the fourteenth round of the 2003 CART World Series season, held on August 24, 2003 at the Circuit Gilles Villeneuve in Montreal, Quebec, Canada. Michel Jourdain, Jr won his 2nd and final Champ Car victory. This marks the Final Champ Car race for Max Papis Qualifying results Race Caution flags Notes New Race Record Michel Jourdain Jr. 1:54:23.210 Average Speed 106.573 mph External links Full Weekend Times & Results Montreal Molson Indy Montreal Grand Prix of Montreal 2003 in Quebec
San Remigio, officially the Municipality of San Remigio (; ; ), is a 3rd class municipality in the province of Antique, Philippines. According to the 2020 census, it has a population of 34,045 people. Making it 10th most populous municipality in the province of Antique and the largest municipality in terms of land area, with a total area of 406.98 square kilometers. History On the morning of September 12, 1988, Mayor Gideon Cabigunda was on the road to meet with former members of the communist rebel group the New People's Army (NPA) who have surrendered when he and four of his security aides were assassinated by other NPA rebels. Romilo Sequrra, a 19-year-old rebel, later surrendered to authorities from the Philippine Air Force and admitted to being part of the group that committed the assassination. Geography San Remigio is located at . It is north-east from the provincial capital, San Jose de Buenavista. According to the Philippine Statistics Authority, the municipality has a land area of constituting of the total area of Antique. Almost 70% of its land area are mountainous and the remaining 30% comprise the flat lowland and rolling hills. Agriculture occupies of land. Of this, is for food crops, is for permanent crops, and for commercial crops. Climate Barangays San Remigio is politically subdivided into 45 barangays. Each barangay consists of puroks and some have sitios. Demographics In the 2020 census, San Remigio had a population of 34,045. The population density was . Economy The municipality of San Remigio produced a total of 13,074.02 metric tons of palay in an area of of which only 22.00% are irrigated and the rest are rain fed and upland area. San Remigio has a road network of . Based on administrative classification, are municipal roads and are barangay roads. There are eleven bridges in the municipality with a total length of . One major contributor to the economic activity of the town is the remittances of the overseas contract workers. Natural attractions San Remigio is host to natural attractions like the Igbaclag Cave, Bato Cueva, Kanyugan Cave, Magpungay Cave, Pula Falls, Timbaban Falls and Batuan Falls, the lakes of Maylumboy and Danao, the stone of Datu Sumakwel, Bato Bintana and White Castle Stone, and the mountain ranges of San Remigio. The rivers are rich with gem stones and the biggest flower Rafflesia can be seen in the upland barangays of Tubudan and La Union. Religious pilgrimage Every April, thousands of people coming from different towns and even nearby provinces of various religious denominations flock the Diocesan Shrine of St. Vincent Ferrer of the Iglesia Filipina Independiente in Barangay Baladjay known as Banwang Daan ("Old Town"). The original statue of St. Vincent Ferrer is believed to be miraculous. From April 1 until the last Sunday of April, which is the celebration of its feast day, masses are offered daily. Faithfuls light candles, offer flowers and do the "palapak". References External links [ Philippine Standard Geographic Code] Municipalities of Antique (province)
The Trial of Joan of Arc at Rouen, 1431 is an adaptation by the German dramatist Bertolt Brecht of a radio play by Anna Seghers. It was written in collaboration with Benno Besson and premiered at the Berliner Ensemble in November 1952, in a production directed by Besson (his first important production with the Ensemble), with Käthe Reichel as Joan. Characters Joan of Arc Bishop Cauchon of Beauvais Jean Beaupère Jean de la Fontaine Jean de Chatillon (Chation) Guillaume Manchon Jean d'Estivet Jean Lefèvre Jean Massieu Raoul de Rinel A Clerk The Executioner Nuns An English Observer His Adjutant Guards of Joan of Arc English Soldiers Two Peasant Girls Jacques Legrain Peasant Peasant Woman Son Sister-in-law Child Fishwife Dr. Dufour His Two Nieces Well-dressed Gentleman Loose Woman Wine Merchant Innkeeper Young Curate War Cripple Grandfather Breuil His Grandson Children People References Sources Willett, John. 1959. The Theatre of Bertolt Brecht: A Study from Eight Aspects. London: Methuen. . Willett, John, and Ralph Manheim, eds. 1972. Collected Plays: Nine. By Bertolt Brecht. Bertolt Brecht: Plays, Poetry, Prose Ser. New York: Vintage. . Plays by Bertolt Brecht Works about Joan of Arc Plays based on real people
William Joseph Quinn, known as Liam Quinn, (born 1949) is an American former volunteer in the Provisional Irish Republican Army who shot dead Stephen Tibble, an off-duty police officer, in London on 26 February 1975. Tibble saw Quinn fleeing from the police after he had been noticed acting suspiciously near a house in which Quinn and members of the Balcombe Street Gang were later found to have been preparing bombs. Tibble chased Quinn on his motorbike and, while attempting to stop him, was fatally shot twice in the chest. Extradition Quinn escaped to Dublin in the aftermath of the shooting and served a short prison sentence after his arrest for assaulting a police officer there. After his release in 1978 he returned to his hometown of San Francisco but was arrested in 1981 and later extradited to England in February 1988 where he was convicted of murder and jailed for life with a recommended minimum term of 35 years. Quinn served 11 years before he was released in April 1999, aged 51, along with the Balcombe Street Gang, under the terms of the Good Friday Agreement. While with the IRA, Quinn adopted an Irish accent and was tagged with the nickname "Yankee Joe" because of his American origins. References 1949 births American people convicted of murdering police officers American people imprisoned abroad American people of Irish descent Irish people convicted of murdering police officers Irish prisoners sentenced to life imprisonment Irish republicans Living people People convicted of murder by England and Wales People extradited from the United States People extradited to the United Kingdom Military personnel from San Francisco Prisoners and detainees of the Republic of Ireland Prisoners sentenced to life imprisonment by England and Wales Provisional Irish Republican Army members
Climate change in Oregon encompasses the effects of climate change, attributed to man-made increases in atmospheric carbon dioxide, in the U.S. state of Oregon. The United States Environmental Protection Agency reports: "Oregon's climate is changing. Over the past century, most of the state has warmed about two degrees (F). Snowpack is melting earlier in the year, and the flow of meltwater into streams during summer is declining. In the coming decades, coastal waters will become more acidic, streams will be warmer, wildfires may be more common, and some rangelands may convert to desert". Environmental impacts Marine and coastal ecosystems "Oregon's coastal waters are vulnerable to acidification. The ocean here is more acidic than most of the ocean, because nearby currents bring relatively acidic water from the deep ocean to the surface, especially during spring and summer. Increasing acidity impairs the ability of some types of shellfish to capture minerals in the water to build their shells, which can lead to thinner shells—or even prevent shells from forming. At the Whiskey Creek Hatchery in Netarts Bay, for example, acidic seawater during spawning has reduced the growth rates and survival of young oysters. Acidity also thins the exoskeletons of many species of plankton, which could reduce the population of those plankton and the fish that feed on them and alter the entire marine food web. For example, young salmon eat some of the types of shellfish and plankton that are vulnerable to acidification. Rising ocean temperatures may also harm marine ecosystems. Warming waters can increase the frequency of toxic algae blooms (such as “red tide”) that cause shellfish poisoning and lead to closures of beaches and shellfish beds. Warmer waters also allow invasive species from southern waters to move northward". "Sea level rise will threaten coastal development and ecosystems. Erosion will threaten homes and public property along the shore. Mudflats, marshes, and other tidal wetlands provide habitats for birds and fish. As water levels rise, wetlands and beaches may be submerged or squeezed between the rising sea and structures erected to protect coastal development". Snowpack, streamflows, and water availability "The flows of water in rivers and streams are increasing during late winter and early spring but decreasing during summer. Warmer winters have reduced average snowpack in the Cascades by 20 percent since 1950. The snowpack is now melting a few weeks earlier than during the 20th century, and, by 2050, the snow is likely to melt three to four weeks earlier. Decreasing snowpack means there will be less water flowing through streams during summer. Moreover, rising temperatures increase the rate at which water evaporates (or transpires) into the air from soils and plants. More evaporation means that less water will drain from the ground into rivers and streams". "Declining snow and streamflow would harm some economic sectors and aquatic ecosystems. Less snow means a shorter season for skiing and other winter recreation. Water temperatures will rise, which would hurt Chinook and sockeye salmon in the interior Columbia River Basin. The combination of warmer water and lower flows would threaten salmon, steelhead, and trout. Lower flows would also mean less hydroelectric power". Wildfires and landscape change "Climate change can increase the frequency and severity of fires that burn forests, grasslands, and desert vegetation. Since 1984, about 4 percent of the land in Oregon has burned per decade. The changing climate is likely to more than double the area in the Northwest burned by forest fires during an average year by the end of the 21 st century. Although drier soils alone increase the risk of wildfire, many other factors contribute to fires, and forests in the Western Cascades may be less vulnerable to climate change than those in the Eastern Cascades". "Higher temperatures and a lack of water can also make trees more susceptible to pests and disease, and trees damaged or killed burn more readily than living trees. For example, climate change is likely to increase the area of pine forests in the Northwest infested with mountain pine beetles in the next few decades. Pine beetles and wildfires are each likely to decrease timber harvests. Increasing wildfires also threaten homes and pollute the air". "The combination of more fires and drier conditions may expand deserts and otherwise change the landscape in the dry eastern portion of the state. Many plants and animals living in arid lands are already near the limits of what they can tolerate. Warmer temperatures and a drier climate would generally extend the geographic range of the Great Basin desert. In some cases, native vegetation may persist and delay or prevent the expansion of the desert. In other cases, fires or livestock grazing may accelerate the conversion of grassland to the desert in response to the changing climate. For similar reasons, some forests may change to desert or grassland". Economic and social impacts Agriculture "Climate change may also pose challenges for livestock and crops. Higher temperatures cause cows to eat less, grow more slowly, and produce less milk, and in extreme cases may threaten their health. Some farms may be harmed if more hot days reduce crop yields, or if the decline in summer streamflow reduces the water available for irrigation. Other farms may benefit from a longer growing season and the fertilizing effect of carbon dioxide". Response Policy response The Oregon House of Representatives brought a climate-related bill to vote in 2019, after state Democrats gained a supermajority in the House. The bill was written to build a state cap-and-trade plan to reduce emissions 45 percent below 1990 levels by 2035 and 80 percent by 2050. However, a walkout by republicans meant that there were not enough representatives to take a vote, regardless of whether or not the bill would have passed. After learning that Oregon Senate Democrats had insufficient votes to pass the bill, Oregon Republican Senate Leader Herman Baertschiger Jr. announced the intention to return to the capitol. Another version of the bill was presented in 2020, this time with more significant business exemptions. Again, House and Senate Republicans fled the capital to prevent the minimum number of representatives from being present to vote on the bill. Public response In April 2016, a lawsuit began in Oregon was admitted by a federal magistrate judge in the name of 21 teenagers and children pushing for more aggressive climate policies. See also Plug-in electric vehicles in Oregon References Further reading — this chapter of the National Climate Assessment covers Northwest states Oregon Climate of Oregon
Allen Francis Gardiner (1794–1851) was a British Royal Navy officer and missionary to Patagonia. Biography Gardiner was the fifth son of Samuel Gardiner of Coombe Lodge, Oxfordshire, by Mary, daughter of Charles Boddam of Capel House, Bull's Cross, Enfield, Middlesex. He was born on 28 January 1794 in the parsonage house at Basildon, Berkshire, where his parents were temporarily residing. He was religiously educated, and in May 1808 entered the Royal Naval College, Portsmouth. Naval career On 20 June 1810 he went to sea as a volunteer on board . He next served on as a midshipman during the War of 1812 until August 1814. He distinguished himself in the capture of the American frigate , and was sent to England as acting lieutenant of that prize. Being confirmed as lieutenant on 13 December, he served in the frigate in the Mediterranean Fleet, then in , and in various parts of the world. He returned invalided to Portsmouth on 31 October 1822. As second lieutenant of , Gardiner was at Newfoundland in 1824, and in 1825 returned to England in charge of Clinker. He was promoted to commander on 13 September 1826. After that, although he often applied for positions in the Royal Navy, he never succeeded in obtaining another appointment. Marriage and family On 1 July 1823, Gardiner married Julia Susanna, second daughter of John Reade and his wife of Ipsden House, Ipsden, Oxfordshire. They had several children together including one son, Allen W. Gardiner. Not all his daughters survived to adulthood. Julia Gardiner died in the Isle of Wight on 23 May 1834. About two years later, Gardiner married secondly, on 7 October 1836, Elizabeth Lydia, eldest daughter of the Rev. Edward Garrard Marsh, vicar of Aylesford, Kent. Missionary work Long interested in the missionary work being done in non-Christian populations, after the death of one of his daughters, he decided to enter that field. With this view Gardiner went to Africa in 1834. Exploring the Zulu country, he started the first missionary station at Port Natal in present-day South Africa. From 1834 to 1838, he worked to plant Christian churches in Zululand, but political events and native wars combined to prevent any permanent success. He founded a mission at Hambanathi on near the Tongaat river. The took the name Hambanathi, which means "come with us" in the Zulu language from . From 1838 to 1843, Gardiner laboured among the indigenous peoples of Chile, and went from island to island in the Indian Archipelago (now called Tierra del Fuego). His efforts were foiled by the opposition of the various governments. Gardiner's first visit to Tierra del Fuego took place 22 March 1842, when, coming from the Falkland Islands in the schooner Montgomery, he landed in Oazy harbour. He appealed to the Church Missionary Society to send missionaries to Patagonia, but was declined for lack of funds to support such a distant endeavour. Similarly, he appealed to the Wesleyan and London Missionary societies. In 1844 a special society was formed for South America, which took the name of the Patagonian Missionary Society. Robert Hunt, a schoolmaster, was sent out as the first missionary and accompanied by Gardiner. They were unable to establish a mission and returned to England in June 1845. Gardiner departed England again 23 September 1845, and, in company with Federico Gonzales, a Spanish Protestant, from whom he learnt Spanish, went to Bolivia. They distributed Bibles to the Indian population, but were strongly opposed by the Roman Catholics, who were the predominant Christian group in the country. He established Gonzales as a missionary at Potosi, and returned to England, landing at Southampton on 8 February 1847. The next year he sailed to Tierra del Fuego, where he surveyed the islands with a view to a mission, and suffered great hardships. He tried to interest the Moravian Brethren and the Foreign Missions of the Church of Scotland in this enterprise, but neither could render any aid. He proposed that a mission should be established on a substantial ship, rather than trying to set up one on land. At last, a lady at Cheltenham having given £700, the mission was determined on. Accompanied by Richard Williams, surgeon; Joseph Erwin, ship-carpenter; John Maidment, catechist; and three Cornish fishermen, Pearce, Badcock, and Bryant, Gardiner sailed from Liverpool on 7 September 1850 in Ocean Queen. The party landed at Picton Island on 5 December. He had with him two launches, each long, in which had been stowed provisions to last for six months. The Yahgan people were hostile, the climate severe, and the country barren. The party were also hindered by failures such as the devastating realisation that they had left nearly all their shot on the ship, leaving them unable to hunt for fresh food. Six months elapsed without the arrival of additional supplies, which were detained at the Falkland Islands for want of a vessel. After relocating to Spaniard Harbour on the southeast coast of the main island, the unfortunate men gradually died of starvation. Gardiner, the last survivor, is believed to have died on 6 September 1851. On 21 October the vessel John Davison arrived to resupply the group, and found all the men dead. On 6 January 1852 visited the place, but all the sailors could do was to bury the bodies and bring away Gardiner's journal. Two years later in 1854, , an 88-ton schooner named for him, was sent out to Patagonia as a British missionary ship. In 1856 Allen W. Gardiner, the captain's only son, went to that country as a missionary. Commemoration An islet in the Chilean group of islands which includes Picton island remains named after Gardiner. The street in Durban named in his honour, was later renamed Dorothy Nyembe Street, to honour a South African activist and as part of the city's renaming process. Allen Gardiner is remembered in the Church of England with a commemoration on 6 September. Publications His works include: with Thomas J. Maslin See also Port Famine Notes and references Further reading Bridges, E L (1948) The Uttermost Part of the Earth Republished 2008, Overlook Press External links Captain Allen Francis Gardiner papers at the Killie Campbell Museum 1794 births 1851 deaths Evangelical Anglicans People from Basildon, Berkshire Royal Navy officers Royal Navy personnel of the War of 1812 English Anglican missionaries English evangelicals Anglican missionaries in Argentina Deaths by starvation Anglican missionaries in Chile Anglican mission in Tierra del Fuego Anglican missionaries in South Africa British expatriates in Chile English expatriates in Argentina Anglican saints
```viml function! neoformat#formatters#less#enabled() abort return ['stylelint', 'prettierd', 'prettier', 'csscomb', 'prettydiff'] endfunction function! neoformat#formatters#less#csscomb() abort return neoformat#formatters#css#csscomb() endfunction function! neoformat#formatters#less#prettydiff() abort return neoformat#formatters#css#prettydiff() endfunction function! neoformat#formatters#less#prettier() abort return neoformat#formatters#css#prettier() endfunction function! neoformat#formatters#less#prettierd() abort return neoformat#formatters#css#prettierd() endfunction function! neoformat#formatters#less#stylelint() abort return neoformat#formatters#css#stylelint() endfunction ```
Contraption is an American game show and one of the original programs on the Disney Channel, which ran from April 18, 1983 (when the channel launched) to January 9, 1988 and reruns aired from March 8 to October 25, 1989. The show was hosted by actor/comedian Ralph Harris and announced by Miranda Fredricks. Gameplay Two teams of three kids competed. Each team had three passports, each with a different area of the set written on it; "Books", "Animals", or "Heroes and Villains". Each kid would hold a different passport; this would determine which kid played in which round. Round 1 To begin, the two kids that had the "Books" passports went to that area of the stage. They would then watch a two-minute clip of a Disney film based on a book. Each kid was given two questions based on that clip. Each right answer won a "Contraptile", a yellow square translucent piece of plastic with a hole in the center. After the two questions, the two kids played the "Jungle Boat Race". They would pedal a recumbent trike (fashioned to look like a boat) down a track, and the first one to knock over a pole at the end would win two Contraptiles. The runner-up would receive one Contraptile. Round 2 The next round would be played between the two kids who had the "Animals" passports. They would watch a clip of a Disney film focusing on animal characters. Again, each kid was asked two questions about the clip, worth one Contraptile each. The two kids would then play "Wheels Of Fire". Similar to the Hamster Wheel on Double Dare, each kid would get inside a large wheel and run inside it to move it across a track. Again, the first to knock over a pole at the finish line won two Contraptiles, while the runner up received one. Round 3 The next round would be played between the two with the "Heroes & Villains" passports. A clip of a Disney film, involving the heroes and villains of the film, was shown. This time, each kid was asked three questions about the clip, worth one Contraptile each. The two would then play "Magic Carpets". This game was the same as the Jungle Boat Race, but the trikes used here were arm powered instead of leg powered. The same scoring applied. Round 4 The final round involved every member of each team, at the "Magic" area of the stage. A clip from a Disney film involving magical powers was shown. Each team was then asked three questions about the clip, on which they could confer. Each right answer won five Contraptiles. After this round, each team's Contraptiles were counted. The team with the most Contraptiles won the game; both teams won prizes, and the winners received a Grand Prize. External links Jim Hill Media: article on the early days of The Disney Channel 1980s American children's game shows 1983 American television series debuts 1989 American television series endings Disney Channel original programming Television series about children
Mochnate is a village in the administrative district of Gmina Hajnówka, within Hajnówka County, Podlaskie Voivodeship, in north-eastern Poland, close to the border with Belarus. It lies approximately west of Hajnówka and south-east of the regional capital Białystok. References Mochnate Zakerzonia
```java package com.networknt.cache; import com.networknt.config.JsonMapper; import com.networknt.handler.LightHttpHandler; import com.networknt.service.SingletonServiceFactory; import io.undertow.server.HttpServerExchange; import io.undertow.util.Headers; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.*; /** * This is one of the adm handlers that is used to explore the cache. It has an optional query * parameter to specify the cache name. If the cache name is not specified, it will return all * the general info about caches. If the cache name is specified, it will return the cache key * and value pairs in a list to the caller. * * If a user knows the cache name, he can use the cache name to get the cache directly from * the CacheManager. * * @author Steve Hu */ public class CacheExplorerHandler implements LightHttpHandler { public static final String CACHE_NAME = "name"; public static final String JWK = "jwk"; public static final String OBJECT_NOT_FOUND = "ERR11637"; private static final Logger logger = LoggerFactory.getLogger(CacheExplorerHandler.class); public CacheExplorerHandler() { if(logger.isInfoEnabled()) logger.info("CacheExplorerHandler constructed"); } @Override public void handleRequest(HttpServerExchange exchange) { if(logger.isTraceEnabled()) logger.trace("CacheExplorerHandler handleRequest"); String name = exchange.getQueryParameters().get(CACHE_NAME).getFirst(); CacheManager cacheManager = SingletonServiceFactory.getBean(CacheManager.class); if(cacheManager != null) { Map<Object, Object> cacheMap = cacheManager.getCache(name); exchange.getResponseHeaders().put(Headers.CONTENT_TYPE, "application/json"); if(name.equals(JWK)) { Map<String, String> map = new HashMap<>(); cacheMap.forEach((k, v) -> { map.put((String)k, v.toString()); }); exchange.getResponseSender().send(JsonMapper.toJson(map)); } else { exchange.getResponseSender().send(JsonMapper.toJson(cacheMap)); } } else { setExchangeStatus(exchange, OBJECT_NOT_FOUND, "cache", name); } } } ```
Thomas Matthew was an English merchant and politician who sat in the House of Commons in 1640. Matthew was a merchant of Barnstaple and became a burgess of the town. In April 1640, he was elected Member of Parliament for Barnstaple in the Short Parliament. He stood again for the Long parliament later in the year and was initially returned by the burgesses. However the mayor disagreed with the choice and called for another election in which Richard Ferris was returned instead. Matthew submitted a petition alleging that the mayor had used questionable methods including locking in the burgesses, and had intimidated them. Matthew's petition was rejected. In 1650 Matthew was Mayor of Barnstaple. He was mayor again in 1667. References |- Year of birth missing Year of death missing English MPs 1640 (April) Mayors of Barnstaple English merchants Members of the Parliament of England (pre-1707) for Barnstaple
Sherf is a surname. Notable people with the surname include: John Sherf (1913–1991), American hockey player Ze'ev Sherf (1904–1984), Israeli politician Zvi Sherf (born 1951), Israeli basketball player and coach See also Scherf Scherf (surname) Scherff
```javascript // @flow import React from 'react'; import { connect } from 'react-redux'; import { FlashMessage as ErrorFlashMessage, ConnectApp, appReducers, utils, } from '@appbaseio/dejavu-browser'; import SearchSandbox from '../batteries/components/SearchSandbox'; import BaseContainer from '../batteries/components/BaseContainer'; import Editor from '../batteries/components/SearchSandbox/containers/Editor'; const { getIsConnected, getAppname, getUrl } = appReducers; const { parseUrl } = utils; type Props = { isConnected: boolean, appName?: string, rawUrl?: string, }; const SearchPreview = ({ isConnected, appName, rawUrl }: Props) => { const { credentials, url } = parseUrl(rawUrl); return ( <section> <ErrorFlashMessage /> <ConnectApp /> {isConnected && ( <BaseContainer appName={appName} shouldFetchAppPlan={false} shouldFetchAppInfo={false} url={url} > <SearchSandbox appName={appName} credentials={credentials} url={url} > <Editor mappingsURL="path_to_url" /> </SearchSandbox> </BaseContainer> )} </section> ); }; const mapStateToProps = state => ({ isConnected: getIsConnected(state), appName: getAppname(state), rawUrl: getUrl(state), }); export default connect(mapStateToProps)(SearchPreview); ```
```turing BEGIN { require Config; import Config; if ($Config{'extensions'} !~ /\bEncode\b/) { print "1..0 # Skip: Encode was not built\n"; exit 0; } if (ord("A") == 193) { print "1..0 # Skip: EBCDIC\n"; exit 0; } unless (PerlIO::Layer->find('perlio')){ print "1..0 # Skip: PerlIO required\n"; exit 0; } $| = 1; } use strict; use File::Basename; use File::Spec; use File::Compare qw(compare_text); use File::Copy; use FileHandle; #use Test::More qw(no_plan); use Test::More tests => 38; our $DEBUG = 0; use Encode (":all"); { no warnings; @ARGV and $DEBUG = shift; #require Encode::JP::JIS7; #require Encode::KR::2022_KR; #$Encode::JP::JIS7::DEBUG = $DEBUG; } my $seq = 0; my $dir = dirname(__FILE__); my %e = ( jisx0208 => [ qw/euc-jp shiftjis 7bit-jis iso-2022-jp iso-2022-jp-1/], ksc5601 => [ qw/euc-kr/], gb2312 => [ qw/euc-cn hz/], ); $/ = "\x0a"; # may fix VMS problem for test #28 and #29 for my $src (sort keys %e) { my $ufile = File::Spec->catfile($dir,"$src.utf"); open my $fh, "<:utf8", $ufile or die "$ufile : $!"; my @uline = <$fh>; my $utext = join('' => @uline); close $fh; for my $e (@{$e{$src}}){ my $sfile = File::Spec->catfile($dir,"$$.sio"); my $pfile = File::Spec->catfile($dir,"$$.pio"); # first create a file without perlio dump2file($sfile, &encode($e, $utext, 0)); # then create a file via perlio without autoflush SKIP:{ skip "$e: !perlio_ok", 4 unless (perlio_ok($e) or $DEBUG); no warnings 'uninitialized'; open $fh, ">:encoding($e)", $pfile or die "$sfile : $!"; $fh->autoflush(0); print $fh $utext; close $fh; $seq++; is(compare_text($sfile, $pfile), 0 => ">:encoding($e)"); if ($DEBUG){ copy $sfile, "$sfile.$seq"; copy $pfile, "$pfile.$seq"; } # this time print line by line. # works even for ISO-2022 but not ISO-2022-KR open $fh, ">:encoding($e)", $pfile or die "$sfile : $!"; $fh->autoflush(1); for my $l (@uline) { print $fh $l; } close $fh; $seq++; is(compare_text($sfile, $pfile), 0 => ">:encoding($e) by lines"); if ($DEBUG){ copy $sfile, "$sfile.$seq"; copy $pfile, "$pfile.$seq"; } my $dtext; open $fh, "<:encoding($e)", $pfile or die "$pfile : $!"; $fh->autoflush(0); $dtext = join('' => <$fh>); close $fh; $seq++; ok($utext eq $dtext, "<:encoding($e)"); if ($DEBUG){ dump2file("$sfile.$seq", $utext); dump2file("$pfile.$seq", $dtext); } if (perlio_ok($e) or $DEBUG){ $dtext = ''; open $fh, "<:encoding($e)", $pfile or die "$pfile : $!"; while(defined(my $l = <$fh>)) { $dtext .= $l; } close $fh; } $seq++; ok($utext eq $dtext, "<:encoding($e) by lines"); if ($DEBUG){ dump2file("$sfile.$seq", $utext); dump2file("$pfile.$seq", $dtext); } } if ( ! $DEBUG ) { 1 while unlink ($sfile); 1 while unlink ($pfile); } } } # BOM Test SKIP:{ my $pev = PerlIO::encoding->VERSION; skip "PerlIO::encoding->VERSION = $pev <= 0.07 ", 6 unless ($pev >= 0.07 or $DEBUG); my $file = File::Spec->catfile($dir,"jisx0208.utf"); open my $fh, "<:utf8", $file or die "$file : $!"; my $str = join('' => <$fh>); close $fh; my %bom = ( 'UTF-16BE' => pack('n', 0xFeFF), 'UTF-16LE' => pack('v', 0xFeFF), 'UTF-32BE' => pack('N', 0xFeFF), 'UTF-32LE' => pack('V', 0xFeFF), ); # reading for my $utf (sort keys %bom){ my $bomed = $bom{$utf} . encode($utf, $str); my $sfile = File::Spec->catfile($dir,".${utf}_${seq}_$$"); dump2file($sfile, $bomed); my $utf_nobom = $utf; $utf_nobom =~ s/(LE|BE)$//o; # reading open $fh, "<:encoding($utf_nobom)", $sfile or die "$sfile : $!"; my $cmp = join '' => <$fh>; close $fh; is($str, $cmp, "<:encoding($utf_nobom) eq $utf"); unlink $sfile; $seq++; } # writing for my $utf_nobom (qw/UTF-16 UTF-32/){ my $utf = $utf_nobom . 'BE'; my $sfile = File::Spec->catfile($dir,".${utf_nobom}_${seq}_$$"); my $bomed = $bom{$utf} . encode($utf, $str); open $fh, ">:encoding($utf_nobom)", $sfile or die "$sfile : $!"; print $fh $str; close $fh; open my $fh, "<:bytes", $sfile or die "$sfile : $!"; read $fh, my $cmp, -s $sfile; close $fh; use bytes (); ok($bomed eq $cmp, ">:encoding($utf_nobom) eq $utf"); unlink $sfile; $seq++; } } sub dump2file{ no warnings; open my $fh, ">", $_[0] or die "$_[0]: $!"; binmode $fh; print $fh $_[1]; close $fh; } ```
Jalle is a Payam in Bor North County, in Jonglei State, South Sudan. It is situated on the east side of the Bahr al Jabal River between Bor and Twic East. History In 1988, during the Second Sudanese Civil War (1983-2005), a MiG-23MS crashed in Jalle Payam near Kolmarek. SPLA Radio reported at the time that the jet had suffered from a technical fault. It was sometimes later reported that the plane had been brought down by the SPLA. The aircraft's pilot, a second lieutenant from Benghazi, Libya, was captured by people living near the crash site and turned over to the Sudan People's Liberation Army (SPLA). The pilot and his aircraft were held out by the SPLA as "concrete evidence" of foreign involvement in the Second Sudanese Civil War. Demographics Jalle is composed of four bomas: Akuai-deng, Jalle, Kolmarek, and Kuei-juet. According to the Fifth Population and Housing Census of Sudan, conducted in April 2008, Jalle had a combined population of 13,506 people, composed of 7,024 male and 6,482 female residents. Jalle is home to Juet, Aboudit, and Alian communities. Notes References Geography of South Sudan Jonglei State Subdivisions of South Sudan
These are the line-ups of Junoon, a sufi rock band from Lahore, Pakistan, formed in 1990 by songwriter/guitarist Salman Ahmad, former keyboardist Nusrat Hussain, and former vocalist Ali Azmat. Junoon is Southeast Asia's most successful band with more than 30 million sold albums worldwide. Although Junoon has been prominent in their home country since the release of their first single, "Talaash" (1993) and debut self-titled album Junoon, they did not achieve worldwide fame until the release of the albums Inquilaab, Azadi and Parvaaz, which were released in 1996, 1997 and 1999 respectively. Their 1997 album, Azadi, which has sold more than half million copies, and hit platinum sales status in a record of four weeks. Their biggest hit single, "Sayonee" (1997), became an instant hit in South Asia and the Middle East, shooting to the top of all the Asian charts, and staying at #1 on both Channel V and MTV Asia for over two months. The band produced an overall two singles and two music videos from the album, the other single being "Yaar Bina". In 2003, after the release of seventh studio album Dewaar in 2003, bassist Brian O'Connell left the band and returned to his native land United States. Since his departure, Pakistani musician Mekaal Hasan and the band's producer John Alec have been playing bass guitar for live shows in place. Dewaar was the album to have the featured the trio together. In 2005, vocalist Ali Azmat left the band to pursue his career as a solo artist and has released two studio albums to date. Salman Ahmad also went on to pursue his solo career and released his debut solo album, Infiniti in July 2005. The following is a list of musicians who have performed in Pakistani rock band Junoon. Current members Salman Ahmad Active: 1990–present Instruments: lead vocals, lead guitar Release contributions: Junoon (1991), Talaash (1993), Inquilaab (1996), Azadi (1997), Parvaaz (1999), Andaz (2001), Dewaar (2003) Salman Ahmad (born December 12, 1963) is a Pakistani singer-songwriter, composer, lead guitarist and actor whose work includes one solo albums, Infiniti, released in 2005. While still enjoying the success of Junoon, he was involved in two documentaries with the BBC and is also a UN Goodwill Ambassador for HIV/AIDS. Ahmad is working towards spreading awareness about HIV in South Asia, and helping to bring peace between Pakistan and India. Ahmad is currently teaching at Queens College, City University of New York. Although Junoon's two other core members, Ali Azmat and Brian O'Connell, left the band in 2005, Salman Ahmad continues to perform as a solo artist under the "Junoon" label and has moved to New York after his solo career failed to take off in Pakistan. Former members Nusrat Hussain Active: 1990–1991 Instruments: keyboards Release contributions: Junoon (1991) Nusrat Hussain is a Pakistani singer-songwriter, composer and keyboardist. Known best for his composition of the hit song "Dil Dil Pakistan" during his time at the Pakistani pop rock band Vital Signs. When Salman Ahmed, a member of the Vital Signs left the band and went on his separate way, Nusrat joined him to form a new band with Ali Azmat as lead vocalist. After spending some time with Vital Signs and Junoon, Hussain ventured on his own and released a solo album titled Amrit. It was a sincere effort that reflected Nusrat's skills and experience in the music industry. Currently, Nusrat Hussain is a professional pilot and flies the Airbus A310 of Pakistan International Airlines as a Captain (PIA). In 2012, Hussain made a comeback to the Pakistani music industry by releasing a single "Maza Dard Ka". Ali Azmat Active: 1990–2005 Instruments: lead vocals, rhythm guitar Release contributions: Junoon (1991), Talaash (1993), Inquilaab (1996), Azadi (1997), Parvaaz (1999), Andaz (2001), Dewaar (2003) Ali Azmat (born April 20, 1970) is a Pakistani singer-songwriter, composer, musician and actor whose work includes two solo albums, Social Circus and Klashinfolk, released in 2005 and 2008 respectively. Azmat grew up in Lahore, which he credits for his unconventional attitude. He went to Australia for his higher studies, but due to financial difficulties he returned to Pakistan before completing university. His first band Jupiters was known for performing covers at small gigs, such as weddings, in Lahore. While with them, Azmat wrote his legendary hit song "Dosti". He later sang and recorded "Dosti" with Junoon, after which the song gained national fame. Junoon was Pakistan's biggest band famous for combining traditional poetry and instruments with rock music. Azmat was recruited by Salman Ahmad as the lead vocalist of the band. He left Junoon in 2005 to pursue a solo career. Brian O'Connell Active: 1992–2003, 2011 Instruments: bass guitar Release contributions: Talaash (1993), Inquilaab (1996), Azadi (1997), Parvaaz (1999), Andaz (2001), Dewaar (2003) Brian O'Connell (born July 20, 1963) is an American bassist, musician and actor. O'Connell and Salman Ahmad, were friends with one another since their high school. Brian O'Connell joined Junoon when keyboardist Nusrat Hussain left the band and Salman Ahmad contacted and invited him to play bass on the band's second album, Talaash. He is known for harmonizing the western 5-string bass riffs with the traditional tabla and drums. After the release of the band's seventh studio album, Dewaar, O'Connell went back to his native land the United States. Since his departure, Pakistani musician Mekaal Hasan and the band's producer John Alec have been playing bass guitar for live shows. He was married to Pakistani actress and model Ayeshah Alam. In 2011, O'Connell rejoined the band to celebrate Junoon's 20th anniversary. Timeline Junoon's Line-up References External links Junoon official website Junoon
The talented tenth is a term that designated a leadership class of African Americans in the early 20th century. Although the term was created by white Northern philanthropists, it is primarily associated with W. E. B. Du Bois, who used it as title of an influential essay, published in 1903. It appeared in The Negro Problem, a collection of essays written by leading African Americans and assembled by Booker T. Washington. Historical context The phrase "talented tenth" originated in 1896 among White Northern liberals, specifically the American Baptist Home Mission Society, a Christian missionary society strongly supported by John D. Rockefeller. They had the goal of establishing Black colleges in the South to train Black teachers and elites. In 1903, W.E.B. Du Bois wrote The Talented Tenth; Theodore Roosevelt was president of the United States and industrialization was skyrocketing. Du Bois thought it a good time for African Americans to advance their positions in society. The "Talented Tenth" refers to the one in ten Black men that have cultivated the ability to become leaders of the Black community by acquiring a college education, writing books, and becoming directly involved in social change. In The Talented Tenth, Du Bois argues that these college educated African American men should sacrifice their personal interests and use their education to lead and better the Black community. He strongly believed that the Black community needed a classical education to reach their full potential, rather than the industrial education promoted by the Atlanta Compromise, endorsed by Booker T. Washington and some White philanthropists. He saw classical education as the pathway to bettering the Black community and as a basis for what, in the 20th century, would be known as public intellectuals: In his later life, Du Bois came to believe that leadership could arise on many levels, and grassroots efforts were also important to social change. His stepson David Du Bois tried to publicize those views, writing in 1972: "Dr. Du Bois' conviction that it's those who suffered most and have the least to lose that we should look to for our steadfast, dependable and uncompromising leadership." Du Bois writes in his Talented Tenth essay that The Negro race, like all races, is going to be saved by its exceptional men. The problem of education, then, among Negroes must first of all deal with the Talented Tenth; it is the problem of developing the Best of this race that they may guide the Mass away from the contamination and death of the Worst. Later in Dusk of Dawn, a collection of his writings, Du Bois redefines this notion, acknowledging contributions by other men. He writes that "my own panacea of an earlier day was a flight of class from mass through the development of the Talented Tenth; but the power of this aristocracy of talent was to lie in its knowledge and character, not in its wealth." Du Bois and betterment Du Bois believed that college educated African Americans should set their personal interests aside and use their education to better their communities. Using education to better the African American community meant many things for Du Bois. For one, he believed that the "Talented Tenth" should seek to acquire elite roles in politics. By doing so, Black communities could have representation in government. Representation in government would allow these college educated African Americans to take "racial action." That is, Du Bois believed that segregation was a problem that needed to be dealt with, and having African Americans in politics would start the process of dealing with that problem. Moving on, he also believed that an education would allow one to pursue business endeavors that would better the economic welfare of Black communities. According to Du Bois, success in business would not only better the economic welfare of Black communities, it would also encourage White people to see Black people as more equal to them, and thus encourage integration and allow African Americans to enter the mainstream business world. The "Guiding Hundredth" In 1948, Du Bois revised his "Talented Tenth" thesis into the "Guiding Hundredth". This revision was an attempt to democratize the thesis by forming alliances and friendships with other minority groups that also sought to better their conditions in society. Whereas the "Talented Tenth" only pointed out problems that African Americans were facing in their communities, the "Guiding Hundredth" would be open to mending the problems other minority groups were encountering as well. Moreover, Du Bois revised this theory to stress the importance of morality. He wanted the people leading these communities to have values synonymous with altruism and selflessness. Thus, when it came to who would be leading these communities, Du Bois placed morality above education. The "Guiding Hundredth" challenged the proposition that the salvation of African Americans should be left to a select few. It reimagined the concept of black leadership from "The Talented Tenth" by combining racial, cultural, political, and economic ideologies. Without much success, Du Bois tried to keep the idea of education around. Taking on a new approach of education being a gateway to new opportunities for all people. However, it was viewed as a step in the wrong direction, a threat of reverting to the old ways of thinking, and continued to promote elitism. This revision while also being an attempt at democratization of the original thesis, was also Du Bois' attempt at creating a program for African Americans to follow after the war, a way to strengthen their "ideological conscience." Du Bois emphasized forming alliances with other minority groups because it helped promote equality among all blacks. Both "The Talented Tenth" and "The Guiding Hundredth" exhibit the idea that a plan for political action would need to be evident in order to continue to speak to large populations of black people. In Du Bois' view, black people's ability to express themselves in politics was the epitome of black cultural expression. To gain emancipation was to separate Black and White. The cultures could not combine as a way to avoid and protect the spirit of "the universal black." Contemporary interpretations The concept of the "Talented Tenth" and the responsibilities assigned to it by Du Bois have been received both positively and negatively by contemporary critics. Positively, some argue that current generations of college-educated African Americans abide by Du Bois' prescriptions by sacrificing their personal interests to lead and better their communities. This, in turn, leads to an "uplift" of those in the Black community. On the other hand, some argue that current generations of college educated African Americans should not abide by Du Bois' prescriptions, and should indeed pursue their own private interest. That is, they believe that college-educated African Americans are not responsible for bettering their communities, whereas Du Bois thinks that they are. Advocates of Du Bois' prescriptions explain that key characteristics of the "Talented Tenth" have changed since Du Bois was alive. One author writes, "The potential Talented Tenth of today is a 'me generation,' not the 'we generation' of the past." That is, the Talented Tenth of today focuses more on its own interests as opposed to the general interests of its racial community. Advocates of Du Bois' ideals believe that African Americans have lost sight of the importance of uplifting their communities. Rather, they have pursued their own interests and now dwell in the fruits of their "financial gain and strivings." Although the percentage of college-educated African Americans has gone up, it is still far less than the percentage of college-educated White Americans. Therefore, these advocates believe that modern-day members of the "Talented Tenth" should still bear responsibility to use their education to help the African American community, which continues to suffer the effects of racial discrimination. In contrast, those not in favor of Du Bois' prescriptions believe that African Americans have the right to pursue their own interests. Feminist critics specifically, and critics of Du Bois in general, tend to believe that marginalized groups are often "put in boxes" and are expected to either remain within those constructs or abide by their stereotypes. These critics believe that what an African American decides to do with their college education should not become a stereotype either. Furthermore, many of Du Bois' original texts, including The Talented Tenth, receive feminist criticism for exclusively using the word "man", as if only African American men could seek out a college education. According to these feminists, this acts to perpetuate the persistence of a culture that only encourages or allows men to pursue higher education. Attainability To be a part of this "Talented Tenth," an African American must be college educated. This is a qualification that many view as unattainable for many members of the African American community because the percentage of African Americans in college is much lower than the percentage of White people in college. There are multiple explanations for this fact. Some argue that this disparity is the result of government policies. For instance, financial aid for college students in low income families decreased in the 1980s because problems regarding monetary inequality began to be perceived as problems of the past. A lack of financial aid can deter or disable one from pursuing higher education. Thus, since Black and African-American families make up about 2.9 million of the low income families in the U.S., members of the Black community surely encounter this problem. Moreover, because African Americans make up such a large number of the low income families in the U.S., many African Americans face the problem of their children being placed in poorly funded public schools. Because poor funding often leads to poor education, getting into college will be more difficult for students. Along with a poor education, these schools often lack resources that can prepare students for college. For instance, schools with poor funding do not have college guidance counselors: a resource that many private and well funded public schools have. Therefore, some argue that Du Bois' prescription or plan for this "Talented Tenth" is unattainable. See also African-American upper class – Contemporary successors of the Talented Tenth. Natural aristocracy - similar concept developed by Thomas Jefferson, in a more broad context Negro Academy – scholarly institute that published many works of the Talented Tenth. References Further reading The Negro Problem, New York: James Pott and Company, 1903 W. E. B. Du Bois, Dusk of Dawn, "Writings," (Library of America, 1986), p. 842 External links 1900s neologisms African-American culture African-American demographics African-American history between emancipation and the civil rights movement African-American literature African-American upper class Arts in the United States Black (human racial classification) Works by W. E. B. Du Bois
Brandeston Hall is a grade II* listed house in Old Maids Lane, Brandeston, Suffolk, England. The Hall is the former manor house of Brandeston but is now used for educational purposes. The original house was built around 1550 for Andrew Revett, but only the east wing and entrance porch survive from a fire of 1847 that destroyed most of the house. It was rebuilt in 1848 for Charles Austin, a lawyer and the head of the Parliamentary Bar. Brandeston Hall was used as a military headquarters during World War II. 8th Army Group Royal Artillery was formed there on 1 May 1943 by conversion of the Headquarters, Royal Artillery, of 54th (East Anglian) Infantry Division. It was acquired by Framlingham College in 1949, as recorded in a Latin inscription over the doorway. The ceiling to the headmaster's study has painted portraits of 24 famous men. References External links Grade II* listed buildings in Suffolk Grade II* listed houses Suffolk Coastal
Rochia elata is a species of sea snail, a marine gastropod mollusk in the family Tegulidae. Description The size of the shell varies between 30 mm and 70 mm. It generally weighs 20-50 grams, and in some rare cases nearly 100 grams. Distribution This marine species occurs off the Philippines, though some cases have been reported in the Bikini Atoll. References External links To World Register of Marine Species Lamarck, (J.-B. M.) de. (1822). Histoire naturelle des animaux sans vertèbres. Tome septième. Paris: published by the Author, 711 pp Alf, A. (2021). Was wissen wir über die Tegulidae?. Club Conchylia Mitteilungen. 38: 49-60 elata Gastropods described in 1822
```html <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Boost-Extended Format String Syntax</title> <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../index.html" title="Boost.Regex 5.1.3"> <link rel="up" href="../format.html" title="Search and Replace Format String Syntax"> <link rel="prev" href="perl_format.html" title="Perl Format String Syntax"> <link rel="next" href="../ref.html" title="Reference"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td> <td align="center"><a href="../../../../../../index.html">Home</a></td> <td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="path_to_url">People</a></td> <td align="center"><a href="path_to_url">FAQ</a></td> <td align="center"><a href="../../../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="perl_format.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../format.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../ref.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="section"> <div class="titlepage"><div><div><h3 class="title"> <a name="boost_regex.format.boost_format_syntax"></a><a class="link" href="boost_format_syntax.html" title="Boost-Extended Format String Syntax">Boost-Extended Format String Syntax</a> </h3></div></div></div> <p> Boost-Extended format strings treat all characters as literals except for '$', '\', '(', ')', '?', and ':'. </p> <h5> <a name="boost_regex.format.boost_format_syntax.h0"></a> <span class="phrase"><a name="boost_regex.format.boost_format_syntax.grouping"></a></span><a class="link" href="boost_format_syntax.html#boost_regex.format.boost_format_syntax.grouping">Grouping</a> </h5> <p> The characters '(' and ')' perform lexical grouping, so use \( and \) if you want a to output literal parenthesis. </p> <h5> <a name="boost_regex.format.boost_format_syntax.h1"></a> <span class="phrase"><a name="boost_regex.format.boost_format_syntax.conditionals"></a></span><a class="link" href="boost_format_syntax.html#boost_regex.format.boost_format_syntax.conditionals">Conditionals</a> </h5> <p> The character '?' begins a conditional expression, the general form is: </p> <p> ?Ntrue-expression:false-expression </p> <p> where N is decimal digit. </p> <p> If sub-expression N was matched, then true-expression is evaluated and sent to output, otherwise false-expression is evaluated and sent to output. </p> <p> You will normally need to surround a conditional-expression with parenthesis in order to prevent ambiguities. </p> <p> For example, the format string "(?1foo:bar)" will replace each match found with "foo" if the sub-expression $1 was matched, and with "bar" otherwise. </p> <p> For sub-expressions with an index greater than 9, or for access to named sub-expressions use: </p> <p> ?{INDEX}true-expression:false-expression </p> <p> or </p> <p> ?{NAME}true-expression:false-expression </p> <h5> <a name="boost_regex.format.boost_format_syntax.h2"></a> <span class="phrase"><a name="boost_regex.format.boost_format_syntax.placeholder_sequences"></a></span><a class="link" href="boost_format_syntax.html#boost_regex.format.boost_format_syntax.placeholder_sequences">Placeholder Sequences</a> </h5> <p> Placeholder sequences specify that some part of what matched the regular expression should be sent to output as follows: </p> <div class="informaltable"><table class="table"> <colgroup> <col> <col> </colgroup> <thead><tr> <th> <p> Placeholder </p> </th> <th> <p> Meaning </p> </th> </tr></thead> <tbody> <tr> <td> <p> $&amp; </p> </td> <td> <p> Outputs what matched the whole expression. </p> </td> </tr> <tr> <td> <p> $MATCH </p> </td> <td> <p> As $&amp; </p> </td> </tr> <tr> <td> <p> ${^MATCH} </p> </td> <td> <p> As $&amp; </p> </td> </tr> <tr> <td> <p> $` </p> </td> <td> <p> Outputs the text between the end of the last match found (or the start of the text if no previous match was found), and the start of the current match. </p> </td> </tr> <tr> <td> <p> $PREMATCH </p> </td> <td> <p> As $` </p> </td> </tr> <tr> <td> <p> ${^PREMATCH} </p> </td> <td> <p> As $` </p> </td> </tr> <tr> <td> <p> $' </p> </td> <td> <p> Outputs all the text following the end of the current match. </p> </td> </tr> <tr> <td> <p> $POSTMATCH </p> </td> <td> <p> As $' </p> </td> </tr> <tr> <td> <p> ${^POSTMATCH} </p> </td> <td> <p> As $' </p> </td> </tr> <tr> <td> <p> $+ </p> </td> <td> <p> Outputs what matched the last marked sub-expression in the regular expression. </p> </td> </tr> <tr> <td> <p> $LAST_PAREN_MATCH </p> </td> <td> <p> As $+ </p> </td> </tr> <tr> <td> <p> $LAST_SUBMATCH_RESULT </p> </td> <td> <p> Outputs what matched the last sub-expression to be actually matched. </p> </td> </tr> <tr> <td> <p> $^N </p> </td> <td> <p> As $LAST_SUBMATCH_RESULT </p> </td> </tr> <tr> <td> <p> $$ </p> </td> <td> <p> Outputs a literal '$' </p> </td> </tr> <tr> <td> <p> $n </p> </td> <td> <p> Outputs what matched the n'th sub-expression. </p> </td> </tr> <tr> <td> <p> ${n} </p> </td> <td> <p> Outputs what matched the n'th sub-expression. </p> </td> </tr> <tr> <td> <p> $+{NAME} </p> </td> <td> <p> Outputs whatever matched the sub-expression named "NAME". </p> </td> </tr> </tbody> </table></div> <p> Any $-placeholder sequence not listed above, results in '$' being treated as a literal. </p> <h5> <a name="boost_regex.format.boost_format_syntax.h3"></a> <span class="phrase"><a name="boost_regex.format.boost_format_syntax.escape_sequences"></a></span><a class="link" href="boost_format_syntax.html#boost_regex.format.boost_format_syntax.escape_sequences">Escape Sequences</a> </h5> <p> An escape character followed by any character x, outputs that character unless x is one of the escape sequences shown below. </p> <div class="informaltable"><table class="table"> <colgroup> <col> <col> </colgroup> <thead><tr> <th> <p> Escape </p> </th> <th> <p> Meaning </p> </th> </tr></thead> <tbody> <tr> <td> <p> \a </p> </td> <td> <p> Outputs the bell character: '\a'. </p> </td> </tr> <tr> <td> <p> \e </p> </td> <td> <p> Outputs the ANSI escape character (code point 27). </p> </td> </tr> <tr> <td> <p> \f </p> </td> <td> <p> Outputs a form feed character: '\f' </p> </td> </tr> <tr> <td> <p> \n </p> </td> <td> <p> Outputs a newline character: '\n'. </p> </td> </tr> <tr> <td> <p> \r </p> </td> <td> <p> Outputs a carriage return character: '\r'. </p> </td> </tr> <tr> <td> <p> \t </p> </td> <td> <p> Outputs a tab character: '\t'. </p> </td> </tr> <tr> <td> <p> \v </p> </td> <td> <p> Outputs a vertical tab character: '\v'. </p> </td> </tr> <tr> <td> <p> \xDD </p> </td> <td> <p> Outputs the character whose hexadecimal code point is 0xDD </p> </td> </tr> <tr> <td> <p> \x{DDDD} </p> </td> <td> <p> Outputs the character whose hexadecimal code point is 0xDDDDD </p> </td> </tr> <tr> <td> <p> \cX </p> </td> <td> <p> Outputs the ANSI escape sequence "escape-X". </p> </td> </tr> <tr> <td> <p> \D </p> </td> <td> <p> If D is a decimal digit in the range 1-9, then outputs the text that matched sub-expression D. </p> </td> </tr> <tr> <td> <p> \l </p> </td> <td> <p> Causes the next character to be outputted, to be output in lower case. </p> </td> </tr> <tr> <td> <p> \u </p> </td> <td> <p> Causes the next character to be outputted, to be output in upper case. </p> </td> </tr> <tr> <td> <p> \L </p> </td> <td> <p> Causes all subsequent characters to be output in lower case, until a \E is found. </p> </td> </tr> <tr> <td> <p> \U </p> </td> <td> <p> Causes all subsequent characters to be output in upper case, until a \E is found. </p> </td> </tr> <tr> <td> <p> \E </p> </td> <td> <p> Terminates a \L or \U sequence. </p> </td> </tr> </tbody> </table></div> </div> <table xmlns:rev="path_to_url~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> file LICENSE_1_0.txt or copy at <a href="path_to_url" target="_top">path_to_url </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="perl_format.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../format.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../ref.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html> ```
```c /****************************************************************************** * * Module Name: psparse - Parser top level AML parse routines * *****************************************************************************/ /****************************************************************************** * * * All rights reserved. * * * 2.1. This is your license from Intel Corp. under its intellectual property * rights. You may have additional license terms from the party that provided * you this software, covering your right to use that party's intellectual * property rights. * * copy of the source code appearing in this file ("Covered Code") an * irrevocable, perpetual, worldwide license under Intel's copyrights in the * base code distributed originally by Intel ("Original Intel Code") to copy, * make derivatives, distribute, use and display any portion of the Covered * Code in any form, with the right to sublicense such rights; and * * license (with the right to sublicense), under only those claims of Intel * patents that are infringed by the Original Intel Code, to make, use, sell, * offer to sell, and import the Covered Code and derivative works thereof * solely to the minimum extent necessary to exercise the above copyright * license, and in no event shall the patent license extend to any additions * to or modifications of the Original Intel Code. No other license or right * is granted directly or by implication, estoppel or otherwise; * * The above copyright and patent license is granted only if the following * conditions are met: * * 3. Conditions * * 3.1. Redistribution of Source with Rights to Further Distribute Source. * Redistribution of source code of any substantial portion of the Covered * Code or modification with rights to further distribute source must include * and the following Disclaimer and Export Compliance provision. In addition, * must include a prominent statement that the modification is derived, * directly or indirectly, from Original Intel Code. * * 3.2. Redistribution of Source with no Rights to Further Distribute Source. * Redistribution of source code of any substantial portion of the Covered * Code or modification without rights to further distribute source must * include the following Disclaimer and Export Compliance provision in the * documentation and/or other materials provided with distribution. In * portion of the Covered Code, and must include terms to the effect that the * not to intellectual property embodied in modifications its licensee may * make. * * 3.3. Redistribution of Executable. Redistribution in executable form of any * substantial portion of the Covered Code or modification must reproduce the * provision in the documentation and/or other materials provided with the * distribution. * * 3.4. Intel retains all right, title, and interest in and to the Original * Intel Code. * * 3.5. Neither the name Intel nor any other trademark owned or controlled by * Intel shall be used in advertising or otherwise to promote the sale, use or * other dealings in products derived from or relating to the Covered Code * without prior written authorization from Intel. * * 4. Disclaimer and Export Compliance * * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE, * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A * PARTICULAR PURPOSE. * * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT, * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY * LIMITED REMEDY. * * software or system incorporating such software without first obtaining any * required license or other approval from the U. S. Department of Commerce or * any other agency or department of the United States Government. In the * ensure that the distribution and export/re-export of the software is in * compliance with all laws, regulations, orders, or other restrictions of the * any of its subsidiaries will export/re-export any technical data, process, * software, or service, directly or indirectly, to any country for which the * United States government or any agency thereof requires an export license, * other governmental approval, or letter of assurance, without first obtaining * such license, approval or letter. * ***************************************************************************** * * Alternatively, you may choose to be licensed under the terms of the * following license: * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions, and the following disclaimer, * without modification. * 2. Redistributions in binary form must reproduce at minimum a disclaimer * substantially similar to the "NO WARRANTY" disclaimer below * ("Disclaimer") and any redistribution must be conditioned upon * including a substantially similar Disclaimer requirement for further * binary redistribution. * 3. Neither the names of the above-listed copyright holders nor the names * of any contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * Alternatively, you may choose to be licensed under the terms of the * Software Foundation. * *****************************************************************************/ /* * Parse the AML and build an operation tree as most interpreters, * like Perl, do. Parsing is done by hand rather than with a YACC * generated parser to tightly constrain stack and dynamic memory * usage. At the same time, parsing is kept flexible and the code * fairly compact by parsing based on a list of AML opcode * templates in AmlOpInfo[] */ #include "acpi.h" #include "accommon.h" #include "acparser.h" #include "acdispat.h" #include "amlcode.h" #include "acinterp.h" #include "acnamesp.h" #define _COMPONENT ACPI_PARSER ACPI_MODULE_NAME ("psparse") /******************************************************************************* * * FUNCTION: AcpiPsGetOpcodeSize * * PARAMETERS: Opcode - An AML opcode * * RETURN: Size of the opcode, in bytes (1 or 2) * * DESCRIPTION: Get the size of the current opcode. * ******************************************************************************/ UINT32 AcpiPsGetOpcodeSize ( UINT32 Opcode) { /* Extended (2-byte) opcode if > 255 */ if (Opcode > 0x00FF) { return (2); } /* Otherwise, just a single byte opcode */ return (1); } /******************************************************************************* * * FUNCTION: AcpiPsPeekOpcode * * PARAMETERS: ParserState - A parser state object * * RETURN: Next AML opcode * * DESCRIPTION: Get next AML opcode (without incrementing AML pointer) * ******************************************************************************/ UINT16 AcpiPsPeekOpcode ( ACPI_PARSE_STATE *ParserState) { UINT8 *Aml; UINT16 Opcode; Aml = ParserState->Aml; Opcode = (UINT16) ACPI_GET8 (Aml); if (Opcode == AML_EXTENDED_PREFIX) { /* Extended opcode, get the second opcode byte */ Aml++; Opcode = (UINT16) ((Opcode << 8) | ACPI_GET8 (Aml)); } return (Opcode); } /******************************************************************************* * * FUNCTION: AcpiPsCompleteThisOp * * PARAMETERS: WalkState - Current State * Op - Op to complete * * RETURN: Status * * DESCRIPTION: Perform any cleanup at the completion of an Op. * ******************************************************************************/ ACPI_STATUS AcpiPsCompleteThisOp ( ACPI_WALK_STATE *WalkState, ACPI_PARSE_OBJECT *Op) { ACPI_PARSE_OBJECT *Prev; ACPI_PARSE_OBJECT *Next; const ACPI_OPCODE_INFO *ParentInfo; ACPI_PARSE_OBJECT *ReplacementOp = NULL; ACPI_STATUS Status = AE_OK; ACPI_FUNCTION_TRACE_PTR (PsCompleteThisOp, Op); /* Check for null Op, can happen if AML code is corrupt */ if (!Op) { return_ACPI_STATUS (AE_OK); /* OK for now */ } AcpiExStopTraceOpcode (Op, WalkState); /* Delete this op and the subtree below it if asked to */ if (((WalkState->ParseFlags & ACPI_PARSE_TREE_MASK) != ACPI_PARSE_DELETE_TREE) || (WalkState->OpInfo->Class == AML_CLASS_ARGUMENT)) { return_ACPI_STATUS (AE_OK); } /* Make sure that we only delete this subtree */ if (Op->Common.Parent) { Prev = Op->Common.Parent->Common.Value.Arg; if (!Prev) { /* Nothing more to do */ goto Cleanup; } /* * Check if we need to replace the operator and its subtree * with a return value op (placeholder op) */ ParentInfo = AcpiPsGetOpcodeInfo (Op->Common.Parent->Common.AmlOpcode); switch (ParentInfo->Class) { case AML_CLASS_CONTROL: break; case AML_CLASS_CREATE: /* * These opcodes contain TermArg operands. The current * op must be replaced by a placeholder return op */ ReplacementOp = AcpiPsAllocOp ( AML_INT_RETURN_VALUE_OP, Op->Common.Aml); if (!ReplacementOp) { Status = AE_NO_MEMORY; } break; case AML_CLASS_NAMED_OBJECT: /* * These opcodes contain TermArg operands. The current * op must be replaced by a placeholder return op */ if ((Op->Common.Parent->Common.AmlOpcode == AML_REGION_OP) || (Op->Common.Parent->Common.AmlOpcode == AML_DATA_REGION_OP) || (Op->Common.Parent->Common.AmlOpcode == AML_BUFFER_OP) || (Op->Common.Parent->Common.AmlOpcode == AML_PACKAGE_OP) || (Op->Common.Parent->Common.AmlOpcode == AML_BANK_FIELD_OP) || (Op->Common.Parent->Common.AmlOpcode == AML_VARIABLE_PACKAGE_OP)) { ReplacementOp = AcpiPsAllocOp ( AML_INT_RETURN_VALUE_OP, Op->Common.Aml); if (!ReplacementOp) { Status = AE_NO_MEMORY; } } else if ((Op->Common.Parent->Common.AmlOpcode == AML_NAME_OP) && (WalkState->PassNumber <= ACPI_IMODE_LOAD_PASS2)) { if ((Op->Common.AmlOpcode == AML_BUFFER_OP) || (Op->Common.AmlOpcode == AML_PACKAGE_OP) || (Op->Common.AmlOpcode == AML_VARIABLE_PACKAGE_OP)) { ReplacementOp = AcpiPsAllocOp (Op->Common.AmlOpcode, Op->Common.Aml); if (!ReplacementOp) { Status = AE_NO_MEMORY; } else { ReplacementOp->Named.Data = Op->Named.Data; ReplacementOp->Named.Length = Op->Named.Length; } } } break; default: ReplacementOp = AcpiPsAllocOp ( AML_INT_RETURN_VALUE_OP, Op->Common.Aml); if (!ReplacementOp) { Status = AE_NO_MEMORY; } } /* We must unlink this op from the parent tree */ if (Prev == Op) { /* This op is the first in the list */ if (ReplacementOp) { ReplacementOp->Common.Parent = Op->Common.Parent; ReplacementOp->Common.Value.Arg = NULL; ReplacementOp->Common.Node = Op->Common.Node; Op->Common.Parent->Common.Value.Arg = ReplacementOp; ReplacementOp->Common.Next = Op->Common.Next; } else { Op->Common.Parent->Common.Value.Arg = Op->Common.Next; } } /* Search the parent list */ else while (Prev) { /* Traverse all siblings in the parent's argument list */ Next = Prev->Common.Next; if (Next == Op) { if (ReplacementOp) { ReplacementOp->Common.Parent = Op->Common.Parent; ReplacementOp->Common.Value.Arg = NULL; ReplacementOp->Common.Node = Op->Common.Node; Prev->Common.Next = ReplacementOp; ReplacementOp->Common.Next = Op->Common.Next; Next = NULL; } else { Prev->Common.Next = Op->Common.Next; Next = NULL; } } Prev = Next; } } Cleanup: /* Now we can actually delete the subtree rooted at Op */ AcpiPsDeleteParseTree (Op); return_ACPI_STATUS (Status); } /******************************************************************************* * * FUNCTION: AcpiPsNextParseState * * PARAMETERS: WalkState - Current state * Op - Current parse op * CallbackStatus - Status from previous operation * * RETURN: Status * * DESCRIPTION: Update the parser state based upon the return exception from * the parser callback. * ******************************************************************************/ ACPI_STATUS AcpiPsNextParseState ( ACPI_WALK_STATE *WalkState, ACPI_PARSE_OBJECT *Op, ACPI_STATUS CallbackStatus) { ACPI_PARSE_STATE *ParserState = &WalkState->ParserState; ACPI_STATUS Status = AE_CTRL_PENDING; ACPI_FUNCTION_TRACE_PTR (PsNextParseState, Op); switch (CallbackStatus) { case AE_CTRL_TERMINATE: /* * A control method was terminated via a RETURN statement. * The walk of this method is complete. */ ParserState->Aml = ParserState->AmlEnd; Status = AE_CTRL_TERMINATE; break; case AE_CTRL_BREAK: ParserState->Aml = WalkState->AmlLastWhile; WalkState->ControlState->Common.Value = FALSE; Status = AE_CTRL_BREAK; break; case AE_CTRL_CONTINUE: ParserState->Aml = WalkState->AmlLastWhile; Status = AE_CTRL_CONTINUE; break; case AE_CTRL_PENDING: ParserState->Aml = WalkState->AmlLastWhile; break; #if 0 case AE_CTRL_SKIP: ParserState->Aml = ParserState->Scope->ParseScope.PkgEnd; Status = AE_OK; break; #endif case AE_CTRL_TRUE: /* * Predicate of an IF was true, and we are at the matching ELSE. * Just close out this package */ ParserState->Aml = AcpiPsGetNextPackageEnd (ParserState); Status = AE_CTRL_PENDING; break; case AE_CTRL_FALSE: /* * Either an IF/WHILE Predicate was false or we encountered a BREAK * opcode. In both cases, we do not execute the rest of the * package; We simply close out the parent (finishing the walk of * this branch of the tree) and continue execution at the parent * level. */ ParserState->Aml = ParserState->Scope->ParseScope.PkgEnd; /* In the case of a BREAK, just force a predicate (if any) to FALSE */ WalkState->ControlState->Common.Value = FALSE; Status = AE_CTRL_END; break; case AE_CTRL_TRANSFER: /* A method call (invocation) -- transfer control */ Status = AE_CTRL_TRANSFER; WalkState->PrevOp = Op; WalkState->MethodCallOp = Op; WalkState->MethodCallNode = (Op->Common.Value.Arg)->Common.Node; /* Will return value (if any) be used by the caller? */ WalkState->ReturnUsed = AcpiDsIsResultUsed (Op, WalkState); break; default: Status = CallbackStatus; if (ACPI_CNTL_EXCEPTION (CallbackStatus)) { Status = AE_OK; } break; } return_ACPI_STATUS (Status); } /******************************************************************************* * * FUNCTION: AcpiPsParseAml * * PARAMETERS: WalkState - Current state * * * RETURN: Status * * DESCRIPTION: Parse raw AML and return a tree of ops * ******************************************************************************/ ACPI_STATUS AcpiPsParseAml ( ACPI_WALK_STATE *WalkState) { ACPI_STATUS Status; ACPI_THREAD_STATE *Thread; ACPI_THREAD_STATE *PrevWalkList = AcpiGbl_CurrentWalkList; ACPI_WALK_STATE *PreviousWalkState; ACPI_FUNCTION_TRACE (PsParseAml); ACPI_DEBUG_PRINT ((ACPI_DB_PARSE, "Entered with WalkState=%p Aml=%p size=%X\n", WalkState, WalkState->ParserState.Aml, WalkState->ParserState.AmlSize)); if (!WalkState->ParserState.Aml) { return_ACPI_STATUS (AE_BAD_ADDRESS); } /* Create and initialize a new thread state */ Thread = AcpiUtCreateThreadState (); if (!Thread) { if (WalkState->MethodDesc) { /* Executing a control method - additional cleanup */ AcpiDsTerminateControlMethod (WalkState->MethodDesc, WalkState); } AcpiDsDeleteWalkState (WalkState); return_ACPI_STATUS (AE_NO_MEMORY); } WalkState->Thread = Thread; /* * If executing a method, the starting SyncLevel is this method's * SyncLevel */ if (WalkState->MethodDesc) { WalkState->Thread->CurrentSyncLevel = WalkState->MethodDesc->Method.SyncLevel; } AcpiDsPushWalkState (WalkState, Thread); /* * This global allows the AML debugger to get a handle to the currently * executing control method. */ AcpiGbl_CurrentWalkList = Thread; /* * Execute the walk loop as long as there is a valid Walk State. This * handles nested control method invocations without recursion. */ ACPI_DEBUG_PRINT ((ACPI_DB_PARSE, "State=%p\n", WalkState)); Status = AE_OK; while (WalkState) { if (ACPI_SUCCESS (Status)) { /* * The ParseLoop executes AML until the method terminates * or calls another method. */ Status = AcpiPsParseLoop (WalkState); } ACPI_DEBUG_PRINT ((ACPI_DB_PARSE, "Completed one call to walk loop, %s State=%p\n", AcpiFormatException (Status), WalkState)); if (WalkState->MethodPathname && WalkState->MethodIsNested) { /* Optional object evaluation log */ ACPI_DEBUG_PRINT_RAW ((ACPI_DB_EVALUATION, "%-26s: %*s%s\n", " Exit nested method", (WalkState->MethodNestingDepth + 1) * 3, " ", &WalkState->MethodPathname[1])); ACPI_FREE (WalkState->MethodPathname); WalkState->MethodIsNested = FALSE; } if (Status == AE_CTRL_TRANSFER) { /* * A method call was detected. * Transfer control to the called control method */ Status = AcpiDsCallControlMethod (Thread, WalkState, NULL); if (ACPI_FAILURE (Status)) { Status = AcpiDsMethodError (Status, WalkState); } /* * If the transfer to the new method method call worked, * a new walk state was created -- get it */ WalkState = AcpiDsGetCurrentWalkState (Thread); continue; } else if (Status == AE_CTRL_TERMINATE) { Status = AE_OK; } else if ((Status != AE_OK) && (WalkState->MethodDesc)) { /* Either the method parse or actual execution failed */ AcpiExExitInterpreter (); if (Status == AE_ABORT_METHOD) { AcpiNsPrintNodePathname ( WalkState->MethodNode, "Aborting method"); AcpiOsPrintf ("\n"); } else { ACPI_ERROR_METHOD ("Aborting method", WalkState->MethodNode, NULL, Status); } AcpiExEnterInterpreter (); /* Check for possible multi-thread reentrancy problem */ if ((Status == AE_ALREADY_EXISTS) && (!(WalkState->MethodDesc->Method.InfoFlags & ACPI_METHOD_SERIALIZED))) { /* * Method is not serialized and tried to create an object * twice. The probable cause is that the method cannot * handle reentrancy. Mark as "pending serialized" now, and * then mark "serialized" when the last thread exits. */ WalkState->MethodDesc->Method.InfoFlags |= ACPI_METHOD_SERIALIZED_PENDING; } } /* We are done with this walk, move on to the parent if any */ WalkState = AcpiDsPopWalkState (Thread); /* Reset the current scope to the beginning of scope stack */ AcpiDsScopeStackClear (WalkState); /* * If we just returned from the execution of a control method or if we * encountered an error during the method parse phase, there's lots of * cleanup to do */ if (((WalkState->ParseFlags & ACPI_PARSE_MODE_MASK) == ACPI_PARSE_EXECUTE && !(WalkState->ParseFlags & ACPI_PARSE_MODULE_LEVEL)) || (ACPI_FAILURE (Status))) { AcpiDsTerminateControlMethod (WalkState->MethodDesc, WalkState); } /* Delete this walk state and all linked control states */ AcpiPsCleanupScope (&WalkState->ParserState); PreviousWalkState = WalkState; ACPI_DEBUG_PRINT ((ACPI_DB_PARSE, "ReturnValue=%p, ImplicitValue=%p State=%p\n", WalkState->ReturnDesc, WalkState->ImplicitReturnObj, WalkState)); /* Check if we have restarted a preempted walk */ WalkState = AcpiDsGetCurrentWalkState (Thread); if (WalkState) { if (ACPI_SUCCESS (Status)) { /* * There is another walk state, restart it. * If the method return value is not used by the parent, * The object is deleted */ if (!PreviousWalkState->ReturnDesc) { /* * In slack mode execution, if there is no return value * we should implicitly return zero (0) as a default value. */ if (AcpiGbl_EnableInterpreterSlack && !PreviousWalkState->ImplicitReturnObj) { PreviousWalkState->ImplicitReturnObj = AcpiUtCreateIntegerObject ((UINT64) 0); if (!PreviousWalkState->ImplicitReturnObj) { return_ACPI_STATUS (AE_NO_MEMORY); } } /* Restart the calling control method */ Status = AcpiDsRestartControlMethod (WalkState, PreviousWalkState->ImplicitReturnObj); } else { /* * We have a valid return value, delete any implicit * return value. */ AcpiDsClearImplicitReturn (PreviousWalkState); Status = AcpiDsRestartControlMethod (WalkState, PreviousWalkState->ReturnDesc); } if (ACPI_SUCCESS (Status)) { WalkState->WalkType |= ACPI_WALK_METHOD_RESTART; } } else { /* On error, delete any return object or implicit return */ AcpiUtRemoveReference (PreviousWalkState->ReturnDesc); AcpiDsClearImplicitReturn (PreviousWalkState); } } /* * Just completed a 1st-level method, save the final internal return * value (if any) */ else if (PreviousWalkState->CallerReturnDesc) { if (PreviousWalkState->ImplicitReturnObj) { *(PreviousWalkState->CallerReturnDesc) = PreviousWalkState->ImplicitReturnObj; } else { /* NULL if no return value */ *(PreviousWalkState->CallerReturnDesc) = PreviousWalkState->ReturnDesc; } } else { if (PreviousWalkState->ReturnDesc) { /* Caller doesn't want it, must delete it */ AcpiUtRemoveReference (PreviousWalkState->ReturnDesc); } if (PreviousWalkState->ImplicitReturnObj) { /* Caller doesn't want it, must delete it */ AcpiUtRemoveReference (PreviousWalkState->ImplicitReturnObj); } } AcpiDsDeleteWalkState (PreviousWalkState); } /* Normal exit */ AcpiExReleaseAllMutexes (Thread); AcpiUtDeleteGenericState (ACPI_CAST_PTR (ACPI_GENERIC_STATE, Thread)); AcpiGbl_CurrentWalkList = PrevWalkList; return_ACPI_STATUS (Status); } ```
```emacs lisp ;;; uniquify.el --- unique buffer names dependent on file name -*- lexical-binding: t -*- ;; Inc. ;; Author: Dick King <king@reasoning.com> ;; Maintainer: emacs-devel@gnu.org ;; Keywords: files ;; Created: 15 May 86 ;; Package: emacs ;; This file is part of GNU Emacs. ;; GNU Emacs is free software: you can redistribute it and/or modify ;; (at your option) any later version. ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; along with GNU Emacs. If not, see <path_to_url ;;; Commentary: ;; Emacs's traditional method for making buffer names unique adds <2>, <3>, ;; etc. to the end of (all but one of) the buffers. This file replaces ;; that behavior, for buffers visiting files and dired buffers, with a ;; uniquification that adds parts of the file name until the buffer names ;; are unique. For instance, buffers visiting /u/mernst/tmp/Makefile and ;; /usr/projects/zaphod/Makefile would be named Makefile|tmp and ;; Makefile|zaphod, respectively (instead of Makefile and Makefile<2>). ;; Other buffer name styles are also available. ;; To use this file, do (require 'uniquify) ;; and set uniquify-buffer-name-style to one of its non-nil alternative values. ;; For other options, see "User-visible variables", below. ;; A version of uniquify.el that works under Emacs 18, Emacs 19, XEmacs, ;; and InfoDock is available from the maintainer. ;;; Change Log: ;; Originally by Dick King <king@reasoning.com> 15 May 86 ;; Converted for Emacs 18 by Stephen Gildea <gildea@stop.mail-abuse.org> ;; Make uniquify-min-dir-content 0 truly non-invasive. gildea 23 May 89 ;; Some cleanup. uniquify-min-dir-content default 0. gildea 01 Jun 89 ;; Don't rename to "". Michael Ernst <mernst@theory.lcs.mit.edu> 15 Jun 94 ;; Add kill-buffer-hook. Kenneth Manheimer <ken.manheimer@nist.gov> 09 May 95 ;; Add advice for rename-buffer and create-file-buffer, handle dired buffers, ;; kill-buffer-rationalize-buffer-names-p, documentation. mernst 24 May 95 ;; Remove free variables, fix typos. mernst 5 Jun 95 ;; Efficiently support Emacs 19.27 & earlier. ken.manheimer, mernst 10 Jun 95 ;; Rename user options to "uniquify-...", add uniquify-reverse-dir-content-p, ;; add uniquify-ask-about-buffer-names-p. king, mernst 13 Jun 95 ;; Prefix functions by "uniquify-..."; rename mnemonic-buffer-names to ;; uniquify-buffer-name-style; add 'forward and 'post-forward-angle-brackets ;; styles; remove uniquify-reverse-dir-content-p; add ;; uniquify-trailing-separator-p. mernst 4 Aug 95 ;; Don't call expand-file-name on nil. mernst 7 Jan 96 ;; Check whether list-buffers-directory is bound. mernst 11 Oct 96 ;; Ignore non-file non-dired buffers. Colin Rafferty <craffert@ml.com> 3 Mar 97 ;; Use last component, not "", for file name of directories. mernst 27 Jun 97 ;; Use directory-file-name; code cleanup. mernst 6 Sep 97 ;; Add uniquify-ignore-buffers-re. ;; Andre Srinivasan <andre@visigenic.com> 9 Sep 97 ;; Add uniquify-list-buffers-directory-modes ;; Stefan Monnier <monnier@cs.yale.edu> 17 Nov 2000 ;; Algorithm and data structure changed to reduce consing with lots of buffers ;; Francesco Potort <pot@gnu.org> (ideas by rms and monnier) 2001-07-18 ;; Valuable feedback was provided by ;; Paul Smith <psmith@baynetworks.com>, ;; Alastair Burt <burt@dfki.uni-kl.de>, ;; Bob Weiner <weiner@footloose.sps.mot.com>, ;; Albert L. Ting <alt@vlibs.com>, ;; gyro@reasoning.com, ;; Bryan O'Sullivan <bos@eng.sun.com>. ;;; Code: (eval-when-compile (require 'cl-lib)) ;;; User-visible variables (defgroup uniquify nil "Unique buffer names dependent on file name." :group 'files) (defcustom uniquify-buffer-name-style 'post-forward-angle-brackets "How to construct unique buffer names for files with the same base name. The value can be one of: `forward', `reverse', `post-forward', `post-forward-angle-brackets', or nil. For example, the files `/foo/bar/mumble/name' and `/baz/quux/mumble/name' would have the following buffer names in the various styles: forward bar/mumble/name quux/mumble/name reverse name\\mumble\\bar name\\mumble\\quux post-forward name|bar/mumble name|quux/mumble post-forward-angle-brackets name<bar/mumble> name<quux/mumble> nil name name<2> The \"mumble\" part may be stripped as well, depending on the setting of `uniquify-strip-common-suffix'. For more options that you can set, browse the `uniquify' custom group." :type '(radio (const forward) (const reverse) (const post-forward) (const post-forward-angle-brackets) (const :tag "numeric suffixes" nil)) :version "24.4" :require 'uniquify) (defcustom uniquify-after-kill-buffer-p t "If non-nil, rerationalize buffer names after a buffer has been killed." :type 'boolean) ;; The default value matches certain Gnus buffers. (defcustom uniquify-ignore-buffers-re nil "Regular expression matching buffer names that should not be uniquified. For instance, set this to \"^draft-[0-9]+$\" to avoid having uniquify rename draft buffers even if `uniquify-after-kill-buffer-p' is non-nil and the visited file name isn't the same as that of the buffer." :type '(choice (const :tag "Uniquify all buffers" nil) regexp)) (defcustom uniquify-min-dir-content 0 "Minimum number of directory name components included in buffer name." :type 'integer) (defcustom uniquify-separator nil "String separator for buffer name components. When `uniquify-buffer-name-style' is `post-forward', separates base file name from directory part in buffer names (default \"|\"). When `uniquify-buffer-name-style' is `reverse', separates all file name components (default \"\\\")." :type '(choice (const nil) string)) (defcustom uniquify-trailing-separator-p nil "If non-nil, add a file name separator to dired buffer names. If `uniquify-buffer-name-style' is `forward', add the separator at the end; if it is `reverse', add the separator at the beginning; otherwise, this variable is ignored." :type 'boolean) (defcustom uniquify-strip-common-suffix ;; Using it when uniquify-min-dir-content>0 doesn't make much sense. (eq 0 uniquify-min-dir-content) "If non-nil, strip common directory suffixes of conflicting files. E.g. if you open /a1/b/c/d and /a2/b/c/d, the buffer names will say \"d|a1\" and \"d|a2\" instead of \"d|a1/b/c\" and \"d|a2/b/c\". This can be handy when you have deep parallel hierarchies." :type 'boolean) (defvar uniquify-list-buffers-directory-modes '(dired-mode cvs-mode vc-dir-mode) "List of modes for which uniquify should obey `list-buffers-directory'. That means that when `buffer-file-name' is set to nil, `list-buffers-directory' contains the name of the directory which the buffer is visiting.") ;;; Utilities ;; uniquify-fix-list data structure (cl-defstruct (uniquify-item (:constructor nil) (:copier nil) (:constructor uniquify-make-item (base dirname buffer &optional proposed))) base dirname buffer proposed) ;; Internal variables used free (defvar uniquify-possibly-resolvable nil) (defvar-local uniquify-managed nil "Non-nil if the name of this buffer is managed by uniquify. It actually holds the list of `uniquify-item's corresponding to the conflict.") (put 'uniquify-managed 'permanent-local t) ;; Used in desktop.el to save the non-uniquified buffer name (defun uniquify-buffer-base-name () "Return the base name of the current buffer. Return nil if the buffer is not managed by uniquify." (and uniquify-managed (uniquify-item-base (car uniquify-managed)))) ;;; Main entry point. (defun uniquify-rationalize-file-buffer-names (base dirname newbuf) "Make file buffer names unique by adding segments from file name. If `uniquify-min-dir-content' > 0, always pulls that many file name elements. Arguments BASE, DIRNAME, and NEWBUF specify the new buffer that causes this rationalization." (interactive (list (if uniquify-managed (uniquify-item-base (car uniquify-managed)) (buffer-name)) (uniquify-buffer-file-name (current-buffer)) (current-buffer))) ;; Make sure we don't get confused by outdated uniquify-managed info in ;; this buffer. (with-current-buffer newbuf (setq uniquify-managed nil)) (when dirname (setq dirname (expand-file-name (directory-file-name dirname))) (let ((fix-list (list (uniquify-make-item base dirname newbuf))) items) (dolist (buffer (buffer-list)) (when (and (not (and uniquify-ignore-buffers-re (string-match uniquify-ignore-buffers-re (buffer-name buffer)))) ;; Only try to rename buffers we actually manage. (setq items (buffer-local-value 'uniquify-managed buffer)) (equal base (uniquify-item-base (car items))) ;; Don't re-add stuff we already have. Actually this ;; whole `and' test should only match at most once. (not (memq (car items) fix-list))) (unless (cdr items) ;; If there was no conflict, the buffer-name is equal to the ;; base-name and we may have missed a rename-buffer because ;; of code like in set-visited-file-name: ;; (or (string= new-name (buffer-name)) (rename-buffer new-name t)) ;; So we need to refresh the dirname of the uniquify-item. (setf (uniquify-item-dirname (car items)) (uniquify-buffer-file-name (uniquify-item-buffer (car items)))) ;; This shouldn't happen, but maybe there's no dirname any more. (unless (uniquify-item-dirname (car items)) (with-current-buffer (uniquify-item-buffer (car items)) (setq uniquify-managed nil)) (setq items nil))) ;; In case we missed some calls to kill-buffer, there may be dead ;; buffers in uniquify-managed, so filter them out. (setq items (delq nil (mapcar (lambda (item) (if (buffer-live-p (uniquify-item-buffer item)) item)) items))) (setq fix-list (append fix-list items)))) ;; selects buffers whose names may need changing, and others that ;; may conflict, then bring conflicting names together (uniquify-rationalize fix-list)))) ;; uniquify's version of buffer-file-name; result never contains trailing slash (defun uniquify-buffer-file-name (buffer) "Return name of directory, file BUFFER is visiting, or nil if none. Works on ordinary file-visiting buffers and buffers whose mode is mentioned in `uniquify-list-buffers-directory-modes', otherwise returns nil." (with-current-buffer buffer (let ((filename (or buffer-file-name (if (memq major-mode uniquify-list-buffers-directory-modes) list-buffers-directory)))) (when filename (directory-file-name (file-name-directory (expand-file-name (directory-file-name filename)))))))) (defun uniquify-rerationalize-w/o-cb (fix-list) "Re-rationalize the buffers in FIX-LIST, but ignoring `current-buffer'." (let ((new-fix-list nil)) (dolist (item fix-list) (let ((buf (uniquify-item-buffer item))) (unless (or (eq buf (current-buffer)) (not (buffer-live-p buf))) (push item new-fix-list)))) (when new-fix-list (uniquify-rationalize new-fix-list)))) (defun uniquify-rationalize (fix-list) ;; Set up uniquify to re-rationalize after killing/renaming ;; if there is a conflict. (dolist (item fix-list) (with-current-buffer (uniquify-item-buffer item) ;; Refresh the dirnames and proposed names. (setf (uniquify-item-proposed item) (uniquify-get-proposed-name (uniquify-item-base item) (uniquify-item-dirname item))) (setq uniquify-managed fix-list))) ;; Strip any shared last directory names of the dirname. (when (and (cdr fix-list) uniquify-strip-common-suffix) (let ((strip t)) (while (let* ((base (file-name-nondirectory (uniquify-item-dirname (car fix-list)))) (items fix-list)) (when (> (length base) 0) (while (and strip items) (unless (equal base (file-name-nondirectory (uniquify-item-dirname (pop items)))) (setq strip nil))) strip)) ;; It's all the same => strip. (dolist (item (prog1 fix-list (setq fix-list nil))) ;; Create new items because the old ones are kept (with the true ;; `dirname') for later rerationalizing. (push (uniquify-make-item (uniquify-item-base item) (let ((f (file-name-directory (uniquify-item-dirname item)))) (and f (directory-file-name f))) (uniquify-item-buffer item) (uniquify-item-proposed item)) fix-list))))) ;; If uniquify-min-dir-content is 0, this will end up just ;; passing fix-list to uniquify-rationalize-conflicting-sublist. (uniquify-rationalize-a-list fix-list)) (defun uniquify-item-greaterp (item1 item2) (string-lessp (uniquify-item-proposed item2) (uniquify-item-proposed item1))) (defun uniquify-rationalize-a-list (fix-list &optional depth) (unless depth (setq depth uniquify-min-dir-content)) (let (conflicting-sublist ; all elements have the same proposed name (old-proposed "") proposed) ;; Divide fix-list into items with same proposed names and pass them ;; to uniquify-rationalize-conflicting-sublist. (dolist (item (sort (copy-sequence fix-list) 'uniquify-item-greaterp)) (setq proposed (uniquify-item-proposed item)) (unless (equal proposed old-proposed) (uniquify-rationalize-conflicting-sublist conflicting-sublist old-proposed depth) (setq conflicting-sublist nil)) (push item conflicting-sublist) (setq old-proposed proposed)) (uniquify-rationalize-conflicting-sublist conflicting-sublist old-proposed depth))) (defun uniquify-get-proposed-name (base dirname &optional depth) (unless depth (setq depth uniquify-min-dir-content)) (cl-assert (equal (directory-file-name dirname) dirname)) ;No trailing slash. ;; Distinguish directories by adding extra separator. (if (and uniquify-trailing-separator-p (file-directory-p (expand-file-name base dirname)) (not (string-equal base ""))) (cond ((eq uniquify-buffer-name-style 'forward) (setq base (file-name-as-directory base))) ;; (setq base (concat base "/"))) ((eq uniquify-buffer-name-style 'reverse) (setq base (concat (or uniquify-separator "\\") base))))) (let ((extra-string nil) (n depth)) (while (and (> n 0) dirname) (let ((file (file-name-nondirectory dirname))) (when (setq dirname (file-name-directory dirname)) (setq dirname (directory-file-name dirname))) (setq n (1- n)) (push (if (zerop (length file)) ;nil or "". (prog1 (or (file-remote-p dirname) "") (setq dirname nil)) ;Could be `dirname' iso "". file) extra-string))) (when (zerop n) (if (and dirname extra-string (equal dirname (file-name-directory dirname))) ;; We're just before the root. Let's add the leading / already. ;; With "/a/b"+"/c/d/b" this leads to "/a/b" and "d/b" but with ;; "/a/b"+"/c/a/b" this leads to "/a/b" and "a/b". (push "" extra-string)) (setq uniquify-possibly-resolvable t)) (cond ((null extra-string) base) ((string-equal base "") ;Happens for dired buffers on the root directory. (mapconcat 'identity extra-string "/")) ((eq uniquify-buffer-name-style 'reverse) (mapconcat 'identity (cons base (nreverse extra-string)) (or uniquify-separator "\\"))) ((eq uniquify-buffer-name-style 'forward) (mapconcat 'identity (nconc extra-string (list base)) "/")) ((eq uniquify-buffer-name-style 'post-forward) (concat base (or uniquify-separator "|") (mapconcat 'identity extra-string "/"))) ((eq uniquify-buffer-name-style 'post-forward-angle-brackets) (concat base "<" (mapconcat 'identity extra-string "/") ">")) (t (error "Bad value for uniquify-buffer-name-style: %s" uniquify-buffer-name-style))))) ;; Deal with conflicting-sublist, all of whose elements have identical ;; "base" components. (defun uniquify-rationalize-conflicting-sublist (conf-list old-name depth) (when conf-list (if (or (cdr conf-list) ;; Check that the proposed name doesn't conflict with some ;; existing buffer. (let ((buf (get-buffer old-name))) (and buf (not (eq buf (uniquify-item-buffer (car conf-list))))))) (when uniquify-possibly-resolvable (setq uniquify-possibly-resolvable nil depth (1+ depth)) (dolist (item conf-list) (setf (uniquify-item-proposed item) (uniquify-get-proposed-name (uniquify-item-base item) (uniquify-item-dirname item) depth))) (uniquify-rationalize-a-list conf-list depth)) (unless (string= old-name "") (uniquify-rename-buffer (car conf-list) old-name))))) (defun uniquify-rename-buffer (item newname) (let ((buffer (uniquify-item-buffer item))) (unless (equal newname (buffer-name buffer)) (with-current-buffer buffer (let ((uniquify-buffer-name-style nil)) ;Avoid hooks on rename-buffer. ;; Pass the `unique' arg, so the advice doesn't mark it as unmanaged. (rename-buffer newname t)))))) ;;; Hooks from the rest of Emacs (defun uniquify-maybe-rerationalize-w/o-cb () "Re-rationalize buffer names, ignoring current buffer." (and (cdr uniquify-managed) uniquify-buffer-name-style (uniquify-rerationalize-w/o-cb uniquify-managed))) ;; Buffer deletion ;; Rerationalize after a buffer is killed, to reduce coinciding buffer names. ;; This mechanism uses `kill-buffer-hook', which runs *before* deletion, so ;; it calls `uniquify-rerationalize-w/o-cb' to rerationalize the buffer list ;; ignoring the current buffer (which is going to be deleted anyway). (defun uniquify-kill-buffer-function () "Re-rationalize buffer names, ignoring current buffer. For use on `kill-buffer-hook'." (and uniquify-after-kill-buffer-p (uniquify-maybe-rerationalize-w/o-cb))) ;; Ideally we'd like to add it buffer-locally, but that doesn't work ;; because kill-buffer-hook is not permanent-local :-( ;; FIXME kill-buffer-hook _is_ permanent-local in 22+. (add-hook 'kill-buffer-hook 'uniquify-kill-buffer-function) ;; The logical place to put all this code is in generate-new-buffer-name. ;; It's written in C, so we would add a generate-new-buffer-name-function ;; which, if non-nil, would be called instead of the C. One problem with ;; that is that generate-new-buffer-name takes a potential buffer name as ;; its argument -- not other information, such as what file the buffer will ;; visit. ;; The below solution works because generate-new-buffer-name is called ;; only by rename-buffer (which, as of 19.29, is never called from C) and ;; generate-new-buffer, which is called only by Lisp functions ;; create-file-buffer and rename-uniquely. Rename-uniquely generally ;; isn't used for buffers visiting files, so it's sufficient to hook ;; rename-buffer and create-file-buffer. (Setting find-file-hook isn't ;; sufficient.) (advice-add 'rename-buffer :around #'uniquify--rename-buffer-advice) (defun uniquify--rename-buffer-advice (rb-fun newname &optional unique &rest args) "Uniquify buffer names with parts of directory name." (let ((retval (apply rb-fun newname unique args))) (uniquify-maybe-rerationalize-w/o-cb) (if (null unique) ;; Mark this buffer so it won't be renamed by uniquify. (setq uniquify-managed nil) (when uniquify-buffer-name-style ;; Rerationalize w.r.t the new name. (uniquify-rationalize-file-buffer-names newname (uniquify-buffer-file-name (current-buffer)) (current-buffer)) (setq retval (buffer-name (current-buffer))))) retval)) (advice-add 'create-file-buffer :around #'uniquify--create-file-buffer-advice) (defun uniquify--create-file-buffer-advice (cfb-fun filename &rest args) "Uniquify buffer names with parts of directory name." (let ((retval (apply cfb-fun filename args))) (if uniquify-buffer-name-style (let ((filename (expand-file-name (directory-file-name filename)))) (uniquify-rationalize-file-buffer-names (file-name-nondirectory filename) (file-name-directory filename) retval))) retval)) ;;; The End (defun uniquify-unload-function () "Unload the uniquify library." (save-current-buffer (let ((buffers nil)) (dolist (buf (buffer-list)) (set-buffer buf) (when uniquify-managed (push (cons buf (uniquify-item-base (car uniquify-managed))) buffers))) (advice-remove 'rename-buffer #'uniquify--rename-buffer-advice) (advice-remove 'create-file-buffer #'uniquify--create-file-buffer-advice) (dolist (buf buffers) (set-buffer (car buf)) (rename-buffer (cdr buf) t)))) ;; continue standard unloading nil) (provide 'uniquify) ;;; uniquify.el ends here ```
The 1923 Centre Praying Colonels football team represented Centre College in the 1923 college football season. The Praying Colonels scored 140 points while allowing 40 points and finished 7–1–1. Schedule References Centre Centre Colonels football seasons Centre Praying Colonels football
Outside is an album by the British Indian singer Amar, released in 2000. "Sometimes It Snows in April" peaked at No. 48 on the UK Singles Chart. A remix of the song was included on Mixmag'''s list of the "40 Best Tracks of 1995 to 2005". Critical receptionThe Guardian called the album "wilfully eclectic," writing that "the songs benefit from breaking things down to the essentials, fusing [Amar's] distinctive raw vocals with blissed-out tablas, keyboards and strings." The Birmingham Post'' wrote that the album weds "a vocal style vaguely reminiscent of Kate Bush" to "breakbeats and lush orchestrations." Track listing References 2000 albums Amar (British singer) albums
```objective-c #pragma once #include "request.h" #include "analyzer.h" #include <vbench/core/handler.h> namespace vbench { /** * Component ignoring (discarding) requests that have start times * before a specific time. **/ class IgnoreBefore : public Analyzer { private: Handler<Request> &_next; double _time; size_t _ignored; public: IgnoreBefore(double time, Handler<Request> &next); void handle(Request::UP request) override; void report() override; }; } // namespace vbench ```
Lawrence Berry "Tee" Mitchell (May 2, 1916 – November 3, 1970) was an American Negro league pitcher in the 1930s. A native of Mill, Georgia, Mitchell played for the Indianapolis ABCs in 1939. He died in Atlanta, Georgia in 1970 at age 54. References External links and Seamheads 1916 births 1970 deaths Atlanta Black Crackers players Baseball pitchers Baseball players from Atlanta 20th-century African-American sportspeople
This is a list of Thai billionaires based on an annual assessment of wealth and assets compiled and published by Forbes magazine in 2023. 2023 Thai billionaires list See also The World's Billionaires List of countries by the number of billionaires References Lists of people by wealth Net worth Economy of Thailand-related lists
Igali (; ) is a rural locality (a selo) and the administrative centre of Igalinsky Selsoviet, Gumbetovsky District, Republic of Dagestan, Russia. The population was 2,559 as of 2010. There are 19 streets. Geography Igali is located 27 km southeast of Mekhelta (the district's administrative centre) by road, on the right bank of the Andiyskoye Koysu River. Tsanatl and Nizhny Aradirikh are the nearest rural localities. References Rural localities in Gumbetovsky District
The Nations team event competition at the FIS Alpine World Ski Championships 2019 was held on 12 February 2019. FIS Overall Nations Cup standings The participating nations were seeded according to the overall nations cup standings prior to the World Championships. Bracket In case of a tie, the single times of the fastest men and women would determine the winning team. References Nations team event
Once Upon a Time at the Adelphi is a musical written by Phil Willmott and Elliot Davis. It received its world premiere at the Liverpool Playhouse, England from June to August 2008. The production starred Julie Atherton and Simon Bailey, was directed by Phil Willmott with musical direction and arrangements by Elliot Davis, choreography by Andrew Wright, associate musical direction and additional arrangements by Mark Collins, set and costume design by Christopher Woods and sound design by Jason Barnes. It was written and produced for the Liverpool '08 Capital of Culture celebrations and featured a professional cast of principals and an ensemble from the Liverpool Institute of Performing Arts. Narrative Once Upon a Time at the Adelphi follows two stories; in the present day, Jo works at the world-famous Adelphi Hotel in Liverpool. On a busy day of hen parties and difficult customers, Jo is informed by her colleague and boyfriend, Neil, that somebody is on the hotel's roof. Upon finding the female stranger, she tells Jo she wants to meet her ex-lover, Thompson - and reveals an epic story of the Adelphi Hotel's history, when Hollywood actors stayed there en route to UK and European destinations. Many of the stories are based on actual events, for example, Roy Rogers riding his horse Trigger in the hotel. The show portrays this event on the roof, whereas in real life Rogers reportedly waved at the crowd from the balcony. Back in the present, Jo is having trouble when Neil asks her to leave Liverpool and move to Japan with him, but she is more interested in hearing the strange woman's stories. It transpires that she also worked at the hotel in the past, where she fell in love with a young vagabond called Thompson, whom she helped obtain employment at the hotel in order to get his life in order. However, during a misunderstanding over a stolen ring, Thompson left the hotel and joined the Resistance and fought in the Second World War. Years later, whilst Liverpool was under heavy bombardment, Thompson promised to return so they could dance on the roof of the hotel. In the present day, Neil tries to research the stranger's story so that Jo can return to her work and, hopefully, leave Liverpool with him that night. Finally, the stranger reveals how a dance for American soldiers in the Adelphi ballroom was interrupted by a destructive air-raid, and she tried to reach the roof to meet with Thompson. Neil interrupts the story and tells Jo that he has discovered that the stranger had died in that air-raid. Jo realises life is too short to deny love, and agrees to leave with Neil. As they embrace, Thompson arrives, and in the rain, the reunited couple finally dance on the roof, joined by the spirits of the show's characters. Awards Productions Once Upon a Time at the Adelphi won the 2008 TMA Award for Best Musical Production and was nominated for Best Regional Production at the 2009 WhatsOnStage Awards. A section of the show was performed at the awards ceremony at the Prince of Wales Theatre on Sunday 15 February 2009. The section starred Julie Atherton as Young Alice and Tom Oakley as Thompson, supported by an ensemble of final year students from Arts Ed school in London. It was choreographed by Andrew Wright and conducted by Mark Collins. The show also received a West End showcase at the Trafalgar Studios in November 2008 conducted by Elliot Davis. The show received a full staging in London's Union Theatre in March 2010. The musical was given its amateur premiere on Merseyside at the Floral Pavilion, New Brighton in May 2010 by West Kirby Light Opera Society ( WKLOS ), who worked with the writer to turn it into a full scale singing and dancing musical, with orchestra. The show is returning to the Floral Pavilion New Brighton in June 2018, marking the 10th anniversary of Liverpool's Capital of Culture Year. Musical Numbers Act I "Somebody on the Roof" - Jo, Neil and Company "Thompson" - Alice and Company "Once in a Lifetime" - Lord Rothmore, Young Alice, Thompson and Company "First Romances" - Thompson's Mum "Show Tune" - Thompson and Company "Rats" - Thompson and Company "A Wedding and a Yacht" - Babs, Maids, Movie Stars and Reporters "Yippee Ai Eh!" - Roy Rogers and Babs "Tell Her" - Thompson, Babs, Young Alice, Fritz "Once in a Lifetime (Reprise)" -Thompson, Babs, Young Alice, Fritz, Roy Act II "Thompson from Accounts" - Young Alice, Alice, Thompson and Company "Tell Them" - Babs and Thompson "Dance for me Boy" - Delores Gilmore "The Next Ten Seconds" - Young Alice "Somehow" - Neil "Take a Moment" - Older Thompson "Just Fine" - Young Alice, Alice and Company "Dance for Me/Boogey Woogey Dance Routine" - Company "Tell Him" - Alice and Thompson "Finale" - Company References External links Phil Willmott Writer/Director West Kirby Light Opera Society 2008 musicals British musicals
Ryan Dean Wisler, better known by his stage name Kno, is an American alternative hip hop rapper, producer, and singer. He is a founding member of the hip hop groups CunninLynguists and Built to Fade. Kno is currently signed to QN5 Music and APOS Music. In 2010, Kno was named "one of the top loop-miners east of the Mississippi" by URB. History Kno first became known as a prominent hip hop producer and rapper through the indie hip hop group CunninLynguists, which consists of him, Deacon the Villain and Natti. In 2004, he released his remixed version of Jay-Z's album The Black Album, called Kno vs Hov – The White Albulum. Between 2004 and 2006, he released a series of hip hop instrumentals, named Excrementals. In 2010, Kno released his debut solo album Death Is Silent, which was critically acclaimed, with URB Magazine giving the album 4.5/5, saying "Easily one of the top five most satisfying hip-hop albums of the year and possibly one of the year's ten best genre-wide." and HipHopDX giving it a 4/5 saying: "This makes the production on Death is Silent that much more poignant as Kno chose to go across the Atlantic rather than across the Mississippi when it came to mining sounds for one of the year’s strongest collection of beats." In 2013, Kno formed a new group, Built to Fade, with vocalists Dane Ferguson, Zoe Wick and Anna Wise (of Sonnymoon). The band released their debut album, To Dust, on November 12. Discography Studio albums Solo Death Is Silent (2010) Bones (2016) Collaborations Machete Vision (2011) (with Marq Spekt) Bring Me Back When the World Is Cured (2022) (with Sadistik) with CunninLynguists Will Rap for Food (2001) SouthernUnderground (2003) A Piece of Strange (2005) Dirty Acres (2007) Oneirology (2011) Rose Azura Njano (2017) with Built to Fade To Dust (2013) Lies in Nostalgia (2020) Other releases EPs Phantom Limbs (2015) (with Sadistik) Remix albums Kno vs Hov – The White Albulum (2004) Mixtapes Excrementals Vol. 1 (2004) Excrementals Vol. 2 (2004) Excrementals Vol. 3 (2004) Excrementals Vol. 4 (2006) Excrementals Vol. 5 (2006) Production credits Jugga the Bully – "Tha Jugganaut's Comin'", "Pressure", "Feel Me", "Sh*t Is Bangin", "Anachronisms" and "You Dat" from Hostile Takeover (1999) Tonedeff – "Love Ain't (Remix)" from Underscore (2003) Substantial – "Arrogant" from Substantial Evidence (2003) iCON the Mic King – "Ahead of My Time" from Rent Money Music (2003) Braille – "Right This Moment" from Shades Of Grey (2004) Oktober – "Stay in Line" from Project:Building (2004) Tonedeff – "Loyal" from Archetype (2005) PackFM – "Excuses", "Ugly Woman" and "Forevershine" from WhutduzFMstand4? (2006) Pizon – "Say Goodbye" and "Four Letters" from I Am Hip Hop (2006) Celph Titled – "Clap" and "616 Rewind" from The Gatalog: A Collection Of Chaos (2006) Elemental Zazen – "No Survivors" and "Hanging by a Thread" from The Glass Should Be Full (2008) Inverse – "Til The End (C.A.L.I.)" and "Look Around" from So Far (The Collection) (2008) Braille – "Get It Right" from The IV Edition (2008) Substantial – "It's You (I Think)" from Sacrifice (2008) PackFM – "Wanna Know" from I F*cking Hate Rappers (2010) Freddie Gibbs – "The Coldest" from Str8 Killa (2010) Deacon the Villain and Sheisty Khrist – "A Million Miles" and "Black Dog" from Niggaz With Latitude (2010) Sadistik – "Kill the King" from Flowers for My Father (2013) Natti – "Another Galaxy", "Just Like You" and "Filthy Hard" from Still Motion (2013) References External links Kno on Bandcamp Kno on Discogs QN5 Living people Southern hip hop musicians Rappers from Atlanta Rappers from Georgia (U.S. state) Underground rappers American male rappers Alternative hip hop musicians 21st-century American rappers 21st-century American male musicians 1977 births
```java package org.apache.bcel.generic; /* ==================================================================== * * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * 3. The end-user documentation included with the redistribution, * if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (path_to_url" * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. * * 4. The names "Apache" and "Apache Software Foundation" and * "Apache BCEL" must not be used to endorse or promote products * derived from this software without prior written permission. For * written permission, please contact apache@apache.org. * * 5. Products derived from this software may not be called "Apache", * "Apache BCEL", nor may "Apache" appear in their name, without * prior written permission of the Apache Software Foundation. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ==================================================================== * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see * <path_to_url */ /** * IFNONNULL - Branch if reference is not null * * <PRE>Stack: ..., reference -&gt; ...</PRE> * * @version $Id: IFNONNULL.java,v 1.2 2006/08/23 13:48:30 andos Exp $ * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A> */ public class IFNONNULL extends IfInstruction { /** * */ private static final long serialVersionUID = -6378085152112796792L; /** * Empty constructor needed for the Class.newInstance() statement in * Instruction.readInstruction(). Not to be used otherwise. */ IFNONNULL() {} public IFNONNULL(InstructionHandle target) { super(org.apache.bcel.Constants.IFNONNULL, target); } /** * @return negation of instruction */ public IfInstruction negate() { return new IFNULL(target); } /** * Call corresponding visitor method(s). The order is: * Call visitor methods of implemented interfaces first, then * call methods according to the class hierarchy in descending order, * i.e., the most specific visitXXX() call comes last. * * @param v Visitor object */ public void accept(Visitor v) { v.visitStackConsumer(this); v.visitBranchInstruction(this); v.visitIfInstruction(this); v.visitIFNONNULL(this); } } ```
```turing #!perl -w BEGIN { if( $ENV{PERL_CORE} ) { chdir 't'; @INC = ('../lib', 'lib'); } else { unshift @INC, 't/lib'; } } use strict; use Test::Simple::Catch; my($out, $err) = Test::Simple::Catch::caught(); # Can't use Test.pm, that's a 5.005 thing. package My::Test; # This has to be a require or else the END block below runs before # Test::Builder's own and the ending diagnostics don't come out right. require Test::Builder; my $TB = Test::Builder->create; $TB->plan(tests => 4); # Utility testing functions. sub ok ($;$) { return $TB->ok(@_); } sub main::err_ok ($) { my($expect) = @_; my $got = $err->read; return $TB->is_eq( $got, $expect ); } package main; require Test::More; Test::More->import(tests => 4); Test::More->builder->no_ending(1); { local $ENV{HARNESS_ACTIVE} = 0; local $ENV{HARNESS_IS_VERBOSE} = 0; #line 62 fail( "this fails" ); err_ok( <<ERR ); # Failed test 'this fails' # at $0 line 62. ERR #line 72 is( 1, 0 ); err_ok( <<ERR ); # Failed test at $0 line 72. # got: '1' # expected: '0' ERR } { local $ENV{HARNESS_ACTIVE} = 1; local $ENV{HARNESS_IS_VERBOSE} = 0; #line 71 fail( "this fails" ); err_ok( <<ERR ); # Failed test 'this fails' # at $0 line 71. ERR #line 84 is( 1, 0 ); err_ok( <<ERR ); # Failed test at $0 line 84. # got: '1' # expected: '0' ERR } ```