text stringlengths 1 22.8M |
|---|
John MacNider (10 June 1760 – 1829) was a Scottish-Quebecer businessman who pioneered the settlement and development of the Seigneuries of Grand-Métis and Métis-sur-Mer, Quebec. He is remembered as a particularly enterprising and visionary Seigneur, "a man with the dreams and ambition to pursue its (Metis's) development and with the means to do so". From nothing, he developed a thriving Scottish community into which he willingly put more money in than he ever took out. Though MacNider died three years before its completion, he played a crucial role in persuading Governor Sir James Kempt to build the road that would connect Métis by land to the outside world. The road became a settlement magnet, and Métis quickly became the principal population centre for the Gaspé region. His second wife, Mrs Angelica (Stuart) MacNider (1764-1829), kept a diary recording early life at Métis, held at the National Archives of Canada. He was the grandfather of The Hon. Félix-Gabriel Marchand, 11th Prime Minister of Quebec.
Early life
Born 1760, at Kilmarnock, Ayrshire. He was the third son of William MacNider (1725-1800), of Kilmarnock, and his wife Ann Vallance (d.1801), daughter of William Vallance of Paisley. His father owned a share of the MacNider lands at Thrave and Kirkoswald, but he was principally a merchant. William MacNider represented the family's shipping and trading business in Britain, which he ran in partnership with his younger brother, The Hon. Mathew MacNider, Seigneur of Bélair, Grondines, Sainte-Croix etc., all in Quebec. John's uncle, Mathew, represented Hampshire County in the 1st Parliament of Lower Canada, from 1792 to 1796. John's sister, Margaret MacNider (1764-1838), was married first to Lt.-Colonel James Johnston, and secondly to William Holmes, Surgeon-General to the British Forces in the Canadas.
Business career
As a young man, John came to Quebec and after working under his uncle he later took over as the head of the family business, in partnership with his younger brother, Mathew (1762-1820), of Glendishrock, Ayrshire. The MacNiders ran a large import and export business with five stone-built warehouses on Rue de la Fabrique in Quebec City. Their firm sold Canadian timber and supplies to the Royal Navy and traded in wine and spices from Europe and the British West Indies to sell both at Quebec and Britain. John kept shipyards (where he built his ships and sent his timber cargoes to Britain) outside Sillery. Near there, off the Chemin de St. Louis, John built a country estate in 1802, naming his new home Kilmarnock Manor, which apart from a few obvious extensions still stands today.
Aside from his mercantile activities, John co-founded and served as either President or vice-President of the Quebec Savings Bank. There is a legend to the effect that long after his death, John's hat continued to be placed on the table at director's meetings. John retired from business life in 1816, making his stepson, Charles William Ross, and the husband of his step-daughter, John Graddon, the new senior partners of his trading firm.
Purchasing the Seigneury of Métis
In 1807, John purchased at a Sheriff's auction the Fief and Seigneury of Métis (which then comprised both Grand-Métis and Métis-sur-Mer), formerly the property of Mathew MacNider. This Mathew was thought to be his first cousin, but there is still much confusion over which of the three Mathew MacNiders this was - all three being alive at the time.
If it was John's first cousin who became the first British Seigneur of Métis, then the Mathew in question was Mathew MacNider (1770-1810), of Quebec City. In 1802, he paid £1,800 for the Seigneury of Metis, which measured thirty six square miles and included a very considerable water front. In 2007, Gilbert Bosse gave a talk on the history of Metis and he is quoted as saying,
Between unsound business dealings gone sour, and unanticipated attacks by con artists, Mathew MacNider found all his lands seized by a Sheriff's writ of execution, in mid-May, 1805. Surprisingly, this practice was quite prevalent during the Seigneurial era (1627-1854), not only in large urban areas. From my copy of the MacNider Collection, we learn in Volume III, Mathew MacNider, at that time, owned not only the Métis Seigneury, but several hundred pieces of land, seigneuries, mills and other estates, that were all seized.
John MacNider of Kilmarnock Manor picked up the Seigneury of Métis plus a further three islands at the Sheriff's auction in 1807 for a steal: £105. Soon afterwards he made the customary seigneurial acte de foi et homage in the French Canadian tradition.
Settling Métis
From 1818, John MacNider started to develop the seigneury by settling families from the North of Scotland and those of soldiers from Highland regiments disbanded after the War of 1812. Taking into consideration the severities of winter and the inevitable struggles and misfortunes incident to a new and untried life, on their arrival MacNider gave the settlers rent-free accommodation and provided them with food, clothing and farm implements for their first two years. Once they had become self-sufficient at the end of that period, they then paid 12 shillings, 5 pence rent for each farm of 140 to 200 acres. But, with true Scottish grit and old world gratitude, many of the settlers refused all aid after the first year.
Early Development of Métis
The focal point of the new settlement was MacNider's manor house at Little Métis Point, from where he could run his many business interests when there in the summer months. But, his and his second wife's, Angelica's, real home there was a modest cottage at Grand-Métis, which to Angelica seemed 'the pleasantest situation in the world'. Angelica's opinion of Little Metis was much the same, as recorded on her first viewing of the community in her diary, June 22, 1822:
In the course of the day a great many of our tenants came to pay their respects to us; Little Métis is one of the prettiest places that I ever saw; it is like an island. The manor house is built on the Point and all the buildings which are built around it makes it appear as a little villa surrounded with water. They have no garden which is a great shame as the soil seems very rich. Mr MacNider had caught that morning a trout weighing 8 pounds which we took down for dinner. We came home to our cottage at Grand Métis at Seven O'Clock in our own calash on very indifferent roads, took another very large fish weighing 6 pounds, took our supper, went to bed as happy as can be in this world of troubles
Always at his own expense, MacNider continued to develop the seigneury to provide employment for the settlers, which by 1822 was home to over one hundred people. He built fishing stages at L'Anse-aux-Morts; a shipyard at Little Metis and several lighthouses for the benefit of the ships entering the mouth of the St. Lawrence River. MacNider's own ships linked the Métis Seigneury with Quebec City and other important docks along the river. MacNider also built a private schooner to provide himself with a regular shipping service to Quebec and his home, Kilmarnock Manor.
All the construction underway at the time meant Mrs Angelica MacNider was "being very well entertained to see so many men at work... (there were) millwrights, carpenters, masons, carters for the stones etc., (and she found them) very happy to see their Seigneuresse". She remarked their cottages were "very comfortable and clean" and they were in good health, optimistically adding there being "no need of doctors at Métis".
Roads and Timber Trade at Métis
On assessing the Seigneury in 1828, Lord Dalhousie recognised that the "soil appears excellent (and therefore) tempting to settlers," but he commented that its distance from the markets at Quebec City and its poor roads were limiting its economic development. In immediate response, the resourceful John MacNider became a pioneer road-builder of the lower St. Lawrence region and persuaded the Governor-General, Sir James Kempt, to undertake the building of the Kempt Road that would eventually link the St. Lawrence with the Chaleur Bay via the Matapédia Valley and Matapedia Lake route.
In Dalhousie's report of 1828, he also noted the "very superior timber" of Metis, which would become the seigneury's prime asset. Having abundant quantities of hardwood and extensive pine forests, it attracted the attention of the Quebec timber baron, William Price, who joined forces with his friend MacNider in exploiting the region's rich forest resources. Price established large sawmills in place of MacNider's smaller ones, and timber exports soared. By 1833, Price and MacNider were moving 100 shiploads of lumber a year to Quebec City and overseas markets. This forest industry provided year-long employment for the pioneer settlers of Metis.
By 1832, Joseph Bouchette, the Surveyor Generalof Lower Canada, found Metis to have all the trappings of a well-settled community: The river frontage was fully cleared and there were "some tolerably good farms, mills and stores (together with) dwelling houses intended for the reception of travellers". The settlers were concentrated at Grand-Métis (where a mile below the seigneurial mills had been constructed), which was about five miles to the west of Petit Métis and linked by a 'passable' beach road.
Religion in early Métis
The one part of early community life neglected by MacNider was the building of a church and the appointment of a priest, neither of which happened until a long time after MacNider's death, when a Presbyterian Church was erected in 1847. This points to an indifference on MacNider's part towards religion. Starved of spiritual guidance, the early settlers welcomed with open arms any opportunity for worship, no matter from which denomination of faith it came. Mrs MacNider was Catholic, and even though the villagers were almost entirely Presbyterian they joined with her in the excitement caused by the visit of a Roman Catholic Bishop in 1822,
His Eminence made his appearance in his barge, accompanied by four priests; they fired guns and we answered from our fort; as the tide was low we sent a carriage for his Lordship, who arrived in safety. Never was there such a sight at Metis before; all the ladies of the neighbourhood in their best attire, came to pay their homage, and ask the Bishop's benediction...
In 1824, when George Mountain, the Anglican Bishop of Quebec, came to Metis, he too could not have been "more thankfully received... the public prayers, the psalm singing, the preaching of the word had all the zest for these people of a rare and unexpected occurrence".
Subsequent MacNiders at Métis
John MacNider died at Kilmarnock Manor in 1829. He willed the Seigneury of Metis to the two eldest sons (William and John MacNider) of his nephew, Adam Lymburner MacNider (1788-1840) J.P., of Montreal, Quebec. As his heirs were still minors, their father administered to the needs of the seigneury, helped by his first cousin, Hugh Archibald MacNider (1797-1893), who John had appointed as the on-site year-round manager of the Seigneury. Adam's family spent a considerable amount of time at Metis during the summer months and he extended his uncle's road-building program. As more settlers were attracted to the area, Adam requested the government to survey the neighbouring township, which was duly opened and named MacNider after the family. Adam died at the Metis manor house in 1840.
At some point, the Seigneury was divided into two equal parts, which came to be known as Grand-Métis and Métis-sur-Mer or Little Métis; John MacNider (b. 1822) taking the former and William MacNider (1818-1846) the latter. In 1851, John MacNider ran into financial difficulties and sold Grand-Métis to the merchant brothers Archibald and David Ferguson of Montreal; personal friends of the MacNiders. In 1855, William MacNider's widow, Mrs Philadelphia (Wishart) MacNider (1814-1890), who had returned to her native Edinburgh, sold Little Métis to the same Ferguson brothers.
David Ferguson later bought out his brother and rebuilt the manor house in 1854. In 1886, David's son and heir, David H. Ferguson, sold the Domain (the old Seigneurial system of New France was formally ended in 1854) to Lord Mount Stephen. He in turn left the domain to his niece, Mrs Elsie Reford, the pioneer horticulturalist who built Estevan Lodge and created Les Jardins de Metis.
1760 births
1829 deaths
People from Kilmarnock
Scottish merchants
Scottish emigrants to pre-Confederation Quebec
Immigrants to the Province of Quebec (1763–1791) |
Frans Ntaole (born 8 August 1950) is a Lesotho long-distance runner. He competed in the marathon at the 1984 Summer Olympics.
References
1950 births
Living people
Athletes (track and field) at the 1984 Summer Olympics
Lesotho male long-distance runners
Lesotho male marathon runners
Olympic athletes for Lesotho
Place of birth missing (living people) |
Shekalim is the fourth tractate in the order of Moed in the Mishnah. Its main subject is the half-shekel tax that ancient Jews paid every year to make possible the maintenance and proper functioning of the Temple in Jerusalem. There is no Gemara about the treatise in the Babylonian Talmud, but there is one in the Jerusalem Talmud, and the latter is often printed in the editions of the Babylonian Talmud.
Chapters
There are eight chapters in this tractate, as follows:
בְּאֶחָד בַּאֲדָר (Be'echad Ba'adar) --- This chapter is concerned with dates of the payment of the tax and who would pay it. The tax was collected throughout the month of Adar. Women, slaves, and minors were not required to pay the tax but could do so if they wished; pagans and Samaritans were not allowed to pay at all.
מְצָרְפִין שְׁקָלִים (Metzrfin Shekalim)
בִּשְׁלשָׁה פְּרָקִים (Bishlosha Perakim)
הַתְּרוּמָה (Haterumah)
אֵלּוּ הֵן הַמְמֻנִּין (Elu Hen Hamemunin)
שְלשָׁה עָשָר שוֹפָרוֹת (Shloshah Asar Shofarot)
מָעוֹת שֶׁנִּמְצְאוּ (Ma'ot Shenimtze'u)
כָּל הָרֻקִּין (Kol Harukin)
References
External links
Mishnah Shekalim text in Hebrew and English
Mishnah Shekalim text in Hebrew
Mishnah |
Ilyasah Shabazz (born July 22, 1962) is an American author, most notably of a memoir, Growing Up X, community organizer, social activist, and motivational speaker, and the third daughter of Malcolm X and Betty Shabazz.
Early life
Shabazz was born in Brooklyn, New York, on July 22, 1962. She was named after Elijah Muhammad, leader of the Nation of Islam, the religious and Black nationalist group to which her parents belonged. Shabazz is of African-American, African-Grenadian, English and Scottish descent.
In February 1965, when she was two years old, Shabazz was present, with her mother and sisters, at the assassination of her father. She says she has no memory of the event.
Shabazz had an apolitical upbringing in a racially integrated neighborhood in Mount Vernon, New York. Her family never took part in demonstrations or attended rallies. Together with her sisters, she joined Jack and Jill, a social club for the children of well-off African Americans. She considered an acting career, though her mother was not supportive. Her mother instead took interest in trying to keep her father's presence alive, and baked her cookies, which she would break a piece off to give the impression that her father had eaten it before she arrived.
Concerning her father, Shabazz told an interviewer, "My mother always talked about our father, her husband, but ... she didn't talk about these things that defined my father as the icon." To learn about her father, Shabazz read his autobiography as a college student, and enrolled in a class to learn more.
Shabazz was a student at Hackley School. After high school, she attended State University of New York at New Paltz. When she arrived, other African-American students expected her to be a firebrand. They had already elected her an officer of the Black Student Union.
After graduating, Shabazz earned a master's degree in Education and Human Resource Development from Fordham University.
Career
Shabazz worked for the city of Mount Vernon for more than a dozen years, serving at different times as Director of Public Relations, Director of Public Affairs and Special Events, and Director of Cultural Affairs.
Shabazz wrote Growing Up X, her memoir of her childhood and her personal views on her father, in 2002. It was nominated for an NAACP Image Award for Outstanding Literary Work, Nonfiction. A devout Muslim, she made the pilgrimage to Mecca, the hajj, in 2006 as her father had in 1964 and her mother did in 1965.
In 2014, Shabazz wrote Malcolm Little: The Boy Who Grew Up to Become Malcolm X, a children's book about her father's childhood. It was nominated for an NAACP Image Award for Outstanding Literary Work, Children's. The following year, she wrote a young-adult novel, X, about the same subject. The book was among the ten finalists considered for the National Book Award for Young People's Literature and it won an NAACP Image Award for Outstanding Literary Work, Youth/Teens. It also won honors from the Coretta Scott King Awards and the Walter Dean Myers Awards for Outstanding Children's Literature and was named as a 2016 Bank Street Children's Book Committee's Best Book of the Year. Her middle-grade novel about her mother's childhood, Betty Before X, was published in January 2018 alongside co-author Renée Watson. It was one of the 2019 Bank Street Children's Book Committee Best Books of the Year and received an "Outstanding Merit" recognition
Shabazz is a trustee for the Malcolm X and Dr. Betty Shabazz Memorial and Educational Center, the Malcolm X Foundation, and the Harlem Symphony Orchestra. As of 2017, she is an adjunct professor at John Jay College of Criminal Justice.
Personal life
Shabazz is a longtime resident of Southern Westchester. She grew up in Mount Vernon and presently lives in New Rochelle.
Bibliography
with Tiffany D. Jackson (2021). The Awakening of Malcolm X. Farrar, Straus and Giroux. .
References
Further reading
External links
1962 births
Living people
Activists from New Rochelle, New York
African-American Muslims
African-American non-fiction writers
American non-fiction writers
American memoirists
American motivational speakers
Fordham University alumni
Malcolm X family
Writers from New Rochelle, New York
State University of New York at New Paltz alumni
American women memoirists
Hackley School alumni
Women motivational speakers |
You Come and Go Like a Pop Song is an album by The Bicycle Thief, released in 1999 and re-released with a different track listing in 2001.
Songs on the album were predominantly written by frontman Bob Forrest (singer for LA band Thelonious Monster), though Josh Klinghoffer (later to play in Red Hot Chili Peppers and Dot Hacker) played a major role, contributing drums, guitars, keyboards, and songwriting. Forrest is briefly mentioned in Anthony Kiedis's autobiography "Scar Tissue".
Red Hot Chili Peppers guitarist John Frusciante appears on "Cereal Song", playing a lead guitar solo. Additional musicians, songwriters, and producers for the album include Josh Blum, Kevin Fitzgerald, and Marc Hunter.
The album's title may have come from a lyric in Ani DiFranco's song "Gratitude": "But I don't come and go like a pop song/that you can play incessantly and then forget when it's gone."
On July 21, 2020, it was announced via the Instagram page of The Bicycle Thief that the album is going to be reissued for a third time and for first time on vinyl with the inclusion of "Song for a Kevin Spacey Movie" and "Trust Fund Girl" as bonus tracks in a 7" yellow-vinyl. The album includes a digital-download card to get "Birthday Cake Rarities", a 24-tracks album of demos, live tracks, and two previously unreleased studio tracks. Its release date is set for September 21, 2020 – Which is the 21st anniversary of the album.
Track listing
1999 version
"Hurt" – 2:48
"Tennis Shoes" – 3:15
"Rainin' (4AM)" – 3:40
"Aspirations" – 4:25
"Max, Jill Called" – 3:07
"Off Street Parking" – 4:17
"L.A. Country Hometown Blues" – 4:30
"MacArthur Park Revisited" – 3:26
"Everyone Asks" – 4:41
"It's Alright" – 4:01
"Rhonda Meets the Birdman" – 0:17
"Cereal Song" – 4:29
"Boy at a Bus Stop" – 2:35
2001 version
For the 2001 re-release of the album, the track listing was completely changed, the tracks "It's Alright" and "Rhonda Meets the Birdman" were replaced with "Song for a Kevin Spacey Movie" and "Trust Fund Girl", and "Aspirations" was renamed to "Stoned".
"Song for a Kevin Spacey Movie" – 3:04
"Stoned" – 4:25 (called "Aspirations" on the album's first release)
"Max, Jill Called" – 3:07
"Tennis Shoes" – 3:15
"Off Street Parking" – 4:17
"L.A. Country Hometown Blues" – 4:30
"Hurt" – 2:48
"Rainin' (4AM)" – 3:40
"Everyone Asks" – 4:41
"Trust Fund Girl" – 4:13
"MacArthur Park Revisited" – 3:26
"Cereal Song" – 4:29
"Boy at a Bus Stop" – 2:35
Personnel
1999 version
Bob Forrest – vocals
Josh Klinghoffer – guitar, drums (tracks 2–4, 6–9), vocals (tracks 1, 4, 7–10), Rhodes piano (tracks 4, 6, 13), Wurlitzer electric piano (track 1), Dobro resonator guitar (track 7), organ (tracks 6, 9), lap steel guitar (track 11), cello (track 13), cello bass (track 7)
Josh Blum – bass (tracks 1–6, 8–10, 12), percussion (tracks 1–2, 4, 8–9), Wurlitzer electric piano (track 2), keyboard (track 13)
Kevin Fitzgerald – drums (tracks 1, 5, 10, 12)
Anna Waronker – vocals (tracks 3, 7)
Marc Hutner – guitar (track 4)
Nina – cello (track 9)
John Frusciante – guitar solo (track 12)
Singles
"Stoned" (called "Aspirations" on the album's first release) was released as a single in 2001 around the same time as the re-release of the album.
Stoned +2 track listing
"Stoned" (Radio Edit) – 3:13 (Bob Forrest, Josh Blum, Josh Klinghoffer, Marc Hutner)
"You Won't Be Missed" – 4:23 (Bob Forrest)
"It's Alright (Variations on an Oasis Theme)" – 3:59 (Bob Forrest, Josh Klinghoffer)
References
The Bicycle Thief (band) albums
2001 albums
Artemis Records albums
1999 albums |
is a Japanese former wrestler who competed in the 1972 Summer Olympics.
References
External links
1947 births
Living people
Olympic wrestlers for Japan
Wrestlers at the 1972 Summer Olympics
Japanese male sport wrestlers
Asian Games medalists in wrestling
Wrestlers at the 1970 Asian Games
Asian Games gold medalists for Japan
Medalists at the 1970 Asian Games
20th-century Japanese people
21st-century Japanese people |
The following events occurred in June 1989:
June 1, 1989 (Thursday)
Pope John Paul II began a 10-day trip to Norway, Iceland, Finland, Denmark and Sweden. He arrived in Norway on June 1 and left on June 3, visiting Oslo, Trondheim and Tromsø.
Cold War: A farmer discovered the burned remains of German security hacker Karl Koch in a forest near Celle, Lower Saxony, West Germany. Despite the unusual circumstances, Koch, who had sold computer data from military and aerospace companies to the KGB, was determined to have committed suicide by self-immolation on May 23.
During the night of June 1–2, American serial killer Oba Chandler raped 36-year-old Joan Rogers and her 17- and 14-year-old daughters Michelle and Christe and then murdered them by throwing them, alive, into Tampa Bay, Florida, weighted with concrete blocks.
Born:
Hadiza Aliyu, Nigerian actress and filmmaker; in Libreville, Gabon
Nataliya Goncharova, Russian Olympic volleyball player; in Skole, Lviv Oblast, Ukrainian Soviet Socialist Republic, Soviet Union
Sammy Alex Mutahi, Kenyan long-distance runner
Died:
Irena Dubiska, 89, Polish violinist
Aurelio Lampredi, 71, Italian automobile and aircraft engine designer
Martin Zoborosky (a.k.a. Martin Edwards), 72, Canadian professional ice hockey defenceman; played one game in the National Hockey League
June 2, 1989 (Friday)
Sōsuke Uno succeeded Noboru Takeshita as Prime Minister of Japan.
18-year-old Tina Bell disappeared in Billingham, England. Her remains would be found in April 1990 on wasteland at ICI Billingham. , Bell's murder would remain unsolved.
The Uniroyal Chemical Co. announced a voluntary halt to sales in the United States of the chemical Alar, used to improve the shelf life and color of apples. Studies had linked Alar with tumor development in lab animals.
Born:
Freddy Adu, American soccer player; in Tema, Ghana
Liviu Antal, Romanian footballer; in Șimleu Silvaniei, Romania
Davide Appollonio, Italian professional road bicycle racer; in Isernia, Molise, Italy
Dean Burmester, South African professional golfer; in Mutare, Zimbabwe
Austin Davis, National Football League quarterback and coach; in Meridian, Mississippi
Cooper Helfet, National Football League tight end; in Kentfield, California
Alex Love, American flyweight boxer; in Monroe, Washington
Willy Moon (born William George Sinclair), New Zealand musician, singer and songwriter; in Wellington, New Zealand
Kilakone Siphonexay, Laotian Olympic sprinter; in Vientiane, Laos
Steve Smith, Australian cricketer; in Sydney, New South Wales, Australia
Darius van Driel, Dutch professional golfer; in Leidschendam, Netherlands
Shane Yarran, Australian rules footballer; in Seville Grove, Western Australia (d. 2018, suicide)
Nanda Zulmi, Indonesian footballer (d. 2017)
Died:
Ted à Beckett, 81, Australian cricketer, Australian rules footballer and solicitor
Guido Agosti, 87, Italian pianist and piano teacher
Dick Mayer (born Alvin Richard Mayer), 64, American professional golfer
Takeo Watanabe, 56, Japanese musician and composer, cancer
June 3, 1989 (Saturday)
The world's first high-definition television (test) broadcasts commenced in Japan, in analogue.
Dissolution of the Soviet Union: The Fergana massacre began in the Fergana Valley, Uzbek Soviet Socialist Republic, Soviet Union. By the time the massacre ended on June 12, at least 97 Meskhetian Turks had been killed and over 1000 wounded by Uzbek extremists.
Pope John Paul II arrived in Iceland, visiting Reykjavík and Þingvellir before leaving on June 4.
The SkyDome, the world's first retractable roof stadium, opened in Downtown Toronto, Ontario, Canada.
Born:
Nicole Della Monica, Italian Olympic pair skater; in Trescore Balneario, Province of Bergamo, Italy
Megumi Han, Japanese actress; in Tokyo, Japan
Katie Hoff, American Olympic swimmer; in Abingdon, Maryland
Artem Kravets, Ukrainian footballer; in Dniprodzerzhynsk, Ukrainian SSR, Soviet Union
Imogen Poots, British actress; in London, England
Viengsavanh Sayyaboun, Laotian footballer; in Vientiane, Laos
Anthony Taugourdeau, French footballer; in Marseille, France
Daniela Vega, Chilean actress and opera singer; in San Miguel, Santiago Province, Chile
Died:
Jack Belden (born Alfred Goodwin Belden), 79, American war correspondent, lung cancer
Ruhollah Khomeini, 86 or 89, Iranian philosopher, politician, revolutionary and Shia Muslim religious leader, 1st Supreme Leader of Iran, founder of the Islamic Republic of Iran, surgical complications and heart failure
June 4, 1989 (Sunday)
A giant wave struck the trimaran Rose-Noëlle, carrying four men from New Zealand on an adventure trip to Tonga, flipping it upside-down. The men would drift at sea for 119 days before winds and currents carried the wrecked yacht in a loop to Great Barrier Island.
1989 Tiananmen Square protests and massacre: A violent military crackdown took place on pro-democracy protesters in Tiananmen Square, Beijing.
The news of the death of Ayatollah Khomeini was announced to the people of Iran at 7:00 a.m. by Mohammad Reza Hayati, one of the veteran news anchors of Islamic Republic of Iran Broadcasting (IRIB) tv1 and IRIB radio Iran. After hearing the news, people mourned on the streets and highways in Tehran and other cities. The text of the news of Ayatollah Khomeini's death on Radio Iran: "At 7:00 AM, this is Tehran, the voice of the Islamic Republic of Iran, in the name of Allah, the Most Merciful, the Most Merciful, inna lleh wa inna aliyeh rajiyun, the high spirit of the leader of the Muslims and the leader of the free people of the world, Imam Khomeini, has joined the kingdom of Allah." At 9:00 a.m., Ali Khamenei, the President of Iran, began reading Khomeini's last will and testament to the Assembly of Experts. In the afternoon the Assembly elected Khamenei as Supreme Leader (rahbar).
Ufa train disaster: A natural gas explosion near Ufa, Russian Soviet Federative Socialist Republic, Soviet Union, killed 575 as two trains passing each other threw sparks near a leaky pipeline. The disaster received relatively little media attention, possibly due to Soviet censorship and the other major news events of the day.
Revolutions of 1989: Solidarity's victory in the first round of the 1989 Polish legislative election was the first of many anti-communist revolutions in Central and Eastern Europe.
Pope John Paul II arrived in Finland, visiting Helsinki and Turku before leaving on June 6.
The bodies of Joan, Michelle and Christe Rogers were found floating in Tampa Bay.
American driver Dale Earnhardt won the 1989 Budweiser 500 stock car race at Dover Downs International Speedway in Dover, Delaware.
The V International AIDS Conference began in Montreal, Quebec, Canada. It would continue through June 9.
At the 43rd Tony Awards, The Heidi Chronicles won the award for Best Play, while Jerome Robbins' Broadway won the award for Best Musical.
Born:
Federico Erba, Italian footballer; in Rome, Italy
Paweł Fajdek, Polish Olympic hammer thrower; in Świebodzice, Poland
Eldar Gasimov, Azerbaijani singer (Ell & Nikki); in Baku, Azerbaijan Soviet Socialist Republic, Soviet Union
Bernard Le Roux, South African-born French rugby union player; in Moorreesburg, Western Cape, South Africa
Died:
Dik Browne, 71, American cartoonist, cancer
Vernon Cracknell, 77, New Zealand politician
June 5, 1989 (Monday)
1989 Tiananmen Square protests and massacre: An unknown Chinese protester, "Tank Man", stood in front of a column of military tanks on Chang'an Avenue in Beijing, temporarily halting them, an incident which achieved iconic status internationally through images taken by Western photographers.
Eight people were killed, and hundreds injured, in a human crush during the viewing of Ayatollah Khomeini's body at the Musalla in Tehran.
Born:
Cam Atkinson, American National Hockey League right winger; in Riverside, Connecticut
Mónica Castaño, Colombian beauty queen and model
Roxana Cocoș, Romanian Olympic weightlifter; in Bucharest, Romania
Ed Davis, National Basketball Association player; in Washington, D.C.
Megumi Nakajima, Japanese voice actress and singer; in Mito, Ibaraki, Japan
Died: Maurice Philippe, 57, British aircraft and Formula One car designer
June 6, 1989 (Tuesday)
Japanese serial killer Tsutomu Miyazaki murdered 5-year-old Ayako Nomoto. Over the next two days he would engage in sexual acts with the girl's corpse and take photos and videos of it.
Officials aborted the Ayatollah Khomeini's first funeral in Tehran after a large crowd stormed the funeral procession, nearly destroying Khomeini's wooden casket in order to get a last glimpse of his body. At one point, the body almost fell to the ground, as the crowd attempted to grab pieces of the death shroud. The Ayatollah's body had to be returned for the burial preparations to be repeated, before being brought back to the cemetery a few hours later.
Pope John Paul II arrived in Denmark, visiting Åsebakken Priory, Roskilde, Copenhagen and Øm before leaving on June 7.
Democratic Representative Tom Foley of Washington was elected Speaker of the United States House of Representatives, defeating Republican Representative Robert H. Michel by a vote of 251-164. The Speaker's chair had been vacated by the resignation of Jim Wright due to a scandal.
In professional basketball, the 1989 NBA Finals began between the Detroit Pistons and the Los Angeles Lakers.
Born:
Bryn McAuley, Canadian actress; in Toronto, Ontario, Canada
Robert Sacre, American-Canadian National Basketball Association player; in Baton Rouge, Louisiana
June 7, 1989 (Wednesday)
The British government announced that it would sell the Short Brothers aerospace company, the largest employer in Northern Ireland, to the Canadian company Bombardier Inc.
Surinam Airways Flight 764, originating from Amsterdam Airport Schiphol, crashed in Paramaribo, Suriname, due to pilot error, killing 176. Among the dead were 14 members of an exhibition football team known as the "Colourful XI" (Kleurijk Elftal) (one of whom died in hospital three days later) and their coach; three players survived.
Died in the crash of Surinam Airways Flight 764:
Ruud Degenaar, 25, Heracles Almelo
Lloyd Doesburg, 29, AFC Ajax
Steve van Dorpel, 23, FC Volendam
Wendel Fräser, 22, RBC Roosendaal
Frits Goodings, 25, FC Wageningen
Jerry Haatrecht, 28, Neerlandia
Virgall Joemankhan, 20, Cercle Brugge K.S.V.
Andro Knel, 21, NAC Breda
Ruben Kogeldans, 22, Willem II Tilburg
Fred Patrick, 23, PEC Zwolle
Andy Scharmin, 21, FC Twente
Elfried Veldman, 23, De Graafschap
Florian Vijent, 27, SC Telstar
Nick Stienstra, 34, RCH (coach)
The United States Navy submarine USS Blenny, launched in 1944, was sunk as part of an artificial reef off Ocean City, Maryland. Former crewmembers of the Blenny were present for the sinking ceremony.
Born:
James Hamilton, New Zealand Olympic snowboarder; in Takapuna, New Zealand
Seiji Kobayashi, Japanese professional baseball catcher
Agyemang Opoku (born Nana Opoku Agyemang-Prempeh), Ghanaian footballer; in Obuasi, Ashanti Region, Ghana
Mitch Robinson, Australian rules footballer
Sofía Sisniega, Mexican actress; in Cuernavaca, Morelos, Mexico
Died:
Chico Landi (born Francisco Sacco Landi), 81, Brazilian Formula One driver
Nara Leão, 47, Brazilian bossa nova singer, brain tumor
June 8, 1989 (Thursday)
Pope John Paul II arrived in Sweden, visiting Stockholm, Uppsala and Vadstena Castle before leaving for Rome on June 10.
A team led by Dr. Robert Ballard located the wreck of the German battleship Bismarck, which was sunk in 1941, about west of Brest, France at a depth of .
Trump Shuttle began service between Washington, D.C., New York City and Boston. Businessman Donald Trump had acquired the operations of Eastern Air Lines Shuttle the previous day. USAir would acquire the shuttle service in 1992 and rename it USAir Shuttle.
U.S. President George H. W. Bush held the first prime time news conference of his presidency. When asked whether he had contacted any of China's leaders by telephone about the recent events there, Bush replied, "Line was busy. Couldn't get through."
Born:
Timea Bacsinszky, Swiss tennis player; in Lausanne, Switzerland
Richard Fleeshman, English actor and singer-songwriter; in Manchester, England
Simon Trummer, Swiss racing driver; in Frutigen, Canton of Bern, Switzerland
Amaury Vassili, French operatic tenor; in Rouen, Upper Normandy, France
Died: Susan Daniels Smith, 27–28, American FBI informant, murdered by her handler and lover, Agent Mark Putnam
June 9, 1989 (Friday)
Born:
Chloë Agnew, Irish singer; in Knocklyon, County Dublin, Ireland
Danilo Avelar, Brazilian footballer; in Paranavaí, Brazil
Logan Browning, American actress; in Atlanta, Georgia
Baden Kerr, New Zealand rugby union player; in Papakura, Auckland, New Zealand
Josie Tomic, Australian Olympic track cyclist; in Subiaco, Western Australia
Dídac Vilà, Spanish footballer; in Mataró, Spain
Died:
George Beadle, 85, American geneticist, recipient of the Nobel Prize in Physiology or Medicine, Alzheimer's disease
Rashid Behbudov, 73, Azerbaijani singer and actor, kidney disease
Vladimir Kasatonov, 78, Soviet admiral of the fleet, Hero of the Soviet Union
José López Rega OIC, 72, Argentine politician, diabetes/heart attack
Wolfdietrich Schnurre, 68, German writer, heart failure
June 10, 1989 (Saturday)
A groundbreaking ceremony was held for a new, modern facility for Woodbridge Hospital (later known as the Institute of Mental Health) in Singapore.
United States Air Force Captain Jacquelyn S. Parker graduated from the U.S. Air Force Test Pilot School at Edwards Air Force Base, the first female pilot to do so.
Born:
DeAndre Kane, American-born Hungarian professional basketball player; in Pittsburgh, Pennsylvania
David Miller, South African cricketer; in Pietermaritzburg, Natal, South Africa
Alexandra Stan, Romanian singer-songwriter; in Constanța, Romania
William Whetton, New Zealand rugby union player
Died:
Ortwin Linger, 21, Dutch footballer (HFC Haarlem), died three days after the crash of Surinam Airways Flight 764 as a result of his injuries.
Richard Quine, 68, American actor and director, suicide by gunshot
June 11, 1989 (Sunday)
American racer Kevin Schwantz of the Suzuki Pepsi Cola team won the 1989 Yugoslavian motorcycle Grand Prix at the Automotodrom Grobnik circuit near Rijeka, Yugoslavia.
27-year-old New Zealand mountaineer David Heymann fell to his death from the Hörnli Ridge on the Matterhorn. His climbing partner, Greg Houston, descended the mountain alone without the pair's ropes, which Heymann had been carrying.
American driver Ricky Rudd won the 1989 Banquet Frozen Foods 300 stock car race at Sears Point International Raceway in Sonoma, California.
A Beechcraft sightseeing plane carrying 10 tourists and the pilot disappeared between the islands of Hawaii and Maui.
Born:
Lorenzo Ariaudo, Italian footballer; in Turin, Italy
Keith Aulie, Canadian National Hockey League defenceman; in Rouleau, Saskatchewan, Canada
Conrad Baden, Norwegian composer and organist (b. 1908)
Ana Clara Duarte, Brazilian tennis player; in Rio de Janeiro, Brazil
Maya Moore, American professional and Olympic champion basketball player; in Jefferson City, Missouri
June 12, 1989 (Monday)
A powerful time bomb killed at least seven people and injured or maimed 54 others at the main railroad station in New Delhi, India.
The Corcoran Gallery of Art in Washington, D.C., canceled Robert Mapplethorpe's photography exhibition, "Robert Mapplethorpe: The Perfect Moment", due to its sexually explicit content. Mapplethorpe had died of AIDS in March 1989.
Glen Sather stepped down as head coach of the National Hockey League's Edmonton Oilers and was succeeded by John Muckler.
Dubin inquiry: Canadian Olympic sprinter Ben Johnson admitted under oath that he used steroids beginning in 1981, leading to his disqualification at the 1988 Summer Olympics.
At Caesars Palace in Paradise, Nevada, American boxers Sugar Ray Leonard and Thomas Hearns fought in a rematch of their September 1981 bout. The fight ended in a draw after 12 rounds. On the undercard, Andrew Maynard defeated Steve Schwan, Ray Mercer knocked out Ken Crosby, Kennedy McKinney won by decision over David Moreno, Michael Carbajal defeated Eduardo Nunez, and Robert Wangila won by decision over Buck Smith.
Born:
Emma Eliasson, Swedish professional and Olympic ice hockey defender; in Karesuando, Kiruna, Sweden
Andrea Guardini, Italian cyclist; in Tregnago, Italy
Ibrahim Jeilan, Ethiopian long-distance runner; in Bale Province, Ethiopia
Shane Lowry, Australian footballer; in Perth, Western Australia
Tim Nanai-Williams, New Zealand-born Samoan rugby union player; in Auckland, New Zealand
Dale Stephens, English footballer; in Bolton, England
Died:
Bruce Hamilton , 77, Australian public servant
Cath Vautier , 86, New Zealand netball player, teacher and sports administrator
June 13, 1989 (Tuesday)
Six miners drowned at the Emu Mine near Leinster, Western Australia, in an accident caused by heavy rains.
End of socialism in Hungary: Formal beginning of the Hungarian Round Table Talks.
During a four-day visit by Mikhail Gorbachev, the General Secretary of the Communist Party of the Soviet Union, to West Germany, Gorbachev and West German Chancellor Helmut Kohl signed a joint declaration in Bonn which promised respect for human rights and expressed support for disarmament measures. One passage constituted Gorbachev's renunciation of the Brezhnev Doctrine.
The sixteenth James Bond film, Licence to Kill, premiered at the Odeon Cinema in London, England. The first Bond film not to use or paraphrase the title of an Ian Fleming story, it was also the second and final film to star Timothy Dalton as the fictional spy. Charles, Prince of Wales, and Diana, Princess of Wales, attended the premiere.
Aboard Air Force One, U.S. President Bush vetoed a bill passed by the U.S. Congress that would have increased the minimum wage to $4.55 an hour over three years.
The Detroit Pistons won the 1989 NBA Finals, defeating the Los Angeles Lakers 4 games to 0.
Born:
Coline Aumard, French professional squash player; in Villeneuve-Saint-Georges, Paris, France
Ben Barba, Australian rugby league footballer; in Darwin, Northern Territory, Australia
James Calado, English racing driver; in Cropthorne, Worcestershire, England
Ryan McDonagh, American National Hockey League defenceman; in Saint Paul, Minnesota
Daniel Mortimer, Australian rugby league footballer; in Sydney, New South Wales, Australia
Andreas Samaris, Greek footballer; in Patras, Greece
Andreas Sander, German Olympic alpine skier; in Schwelm, North Rhine-Westphalia, West Germany
Tommy Searle, English motocross racer; in Pembury, Kent, England
Lisa Tucker, American singer and actress; in Anaheim, California
Hassan Whiteside, National Basketball Association player; in Gastonia, North Carolina
Erica Wiebe, Canadian Olympic champion wrestler; in Stittsville, Ontario, Canada
Dino Wieser, Swiss professional ice hockey forward
Died:
Fran Allison, 81, American actress and television personality, bone marrow failure
Scott Ross, 38, American-born harpsichordist, pneumonia related to AIDS
June 14, 1989 (Wednesday)
During his first visit to London since leaving office in January, former U.S. President Ronald Reagan had lunch at Buckingham Palace with Queen Elizabeth II, who made him an honorary knight Grand Cross of the Order of the Bath.
The Secretary of State (United Kingdom) announced that, in cases where people incorrectly refused entry into the UK as children because they were "not related as claimed" could now prove their relationship to their relatives in the UK through DNA fingerprinting, in order to immigrate to the UK they would have to prove that they were still dependent on their UK sponsors and, if they were over 18, that there were compassionate circumstances other than the fact of wrongful separation.
The first Titan IV rocket was launched from Cape Canaveral Air Force Station in Florida, carrying a classified military payload.
Born:
Lucy Hale (born Karen Lucille Hale), American actress and singer; in Memphis, Tennessee
Cory Higgins, National Basketball Association player; in Danville, California
Mónica Olivia Rodríguez, Mexican Paralympic middle-distance runner; in Ciudad Guzmán, Zapotlán el Grande, Mexico
Brad Takairangi, Australian-New Zealand rugby league footballer; in Sydney, New South Wales, Australia
Died:
Louis-Philippe-Antoine Bélanger, 82, Canadian politician
Pete de Freitas, 27, English musician and producer (Echo & the Bunnymen), motorcycle accident
Joseph Malula, 71, Congolese Catholic archbishop and cardinal
June 15, 1989 (Thursday)
The 1989 European Parliament election began in the twelve member states of the European Community.
At the 1989 Irish general election, Fianna Fáil, led by Taoiseach Charles Haughey, failed to win a majority.
The Troubles: 21-year-old soldier Adam Gilbert of the Royal Marines was killed by friendly fire when his patrol fired at a stolen car in Belfast.
Sub Pop released Bleach, the debut studio album by the American rock band Nirvana.
Born:
Bayley (born Pamela Rose Martinez), American professional wrestler; in San Jose, California
Victor Cabedo, Spanish cyclist; in Onda, Castellón, Spain (d. 2012 in training crash)
Bryan Clauson, American auto racing driver; in Carmichael, California (d. 2016 in race crash)
Alex Puccio (born Alexandrea Elizabeth Cocca), American professional climber; in McKinney, Texas
Died:
Maurice Bellemare, , 77, Canadian lawyer and politician, diabetes
Victor French, 54, American actor and director, lung cancer
Judy Johnson (born William Julius Johnson), 89, American Negro league baseball third baseman and manager
Ray McAnally, 63, Irish actor, heart attack
June 16, 1989 (Friday)
End of socialism in Hungary: A crowd of at least 100,000 gathered at Heroes Square in Budapest for the reburial of Imre Nagy, the former Hungarian Prime Minister who had been executed in 1958.
At about 7 a.m., three bank robbers, one of them disguised as a security guard, took four employees and police officer Daniel C. O'Connell hostage at the City National Bank of Florida in Hallandale, Florida. Police Lt. David H. Miles arrived on scene and a shootout ensued. Miles was shot in the upper abdomen and neck but survived due to his bulletproof vest and arrested one robber; O'Connell shot a second robber to death. The third man escaped but would be arrested on January 23, 1990. Miles and O'Connell would be named Officers of the Year by the Broward 10-13 Club in New York City in January 1991.
Police evacuated about 7,500 people from the east side of Akron, Ohio, due to the discovery of cases of unstable dynamite during building demolition. Members of the Summit County, Ohio hazardous materials squad and the sheriff's bomb squad burned the dynamite safely.
Born: Odion Ighalo, Nigerian footballer; in Lagos, Nigeria
Died:
Arthur Häggblad, 80, Swedish Olympic cross-country skier
Jerzy Pniewski, 76, Polish physicist
June 17, 1989 (Saturday)
Interflug Flight 102 crashed on takeoff from Berlin Schönefeld Airport in East Germany, killing 21 of the 113 people on board.
At least six people died in the crash of an Army National Guard helicopter in Yarmouth Port, Yarmouth, Massachusetts.
Born:
Simone Battle, American singer, dancer and actress (G.R.L.); in Los Angeles, California (d. 2014, suicide by hanging)
Georgios Tofas, Cypriot footballer; in Larnaca, Cyprus
Died:
S. David Griggs, 49, American naval aviator and NASA astronaut, in crash of vintage World War II airplane
John Matuszak, 38, American football defensive end and actor, acute propoxyphene intoxication
June 18, 1989 (Sunday)
Second round of the 1989 Polish legislative election.
In the first Greek legislative election of the year, the Panhellenic Socialist Movement, led by Prime Minister of Greece Andreas Papandreou, lost control of the Hellenic Parliament.
Belgian driver Thierry Boutsen of the Williams-Renault team won the 1989 Canadian Grand Prix at Circuit Gilles Villeneuve in Montreal, Quebec, Canada.
American driver Terry Labonte won the 1989 Miller High Life 500 stock car race at Pocono International Raceway in Long Pond, Pennsylvania.
Born:
Jonas Acquistapace, German footballer; in North Rhine-Westphalia, West Germany
Pierre-Emerick Aubameyang, French-born Gabonese professional and Olympic footballer; in Laval, Mayenne, France
Chris Harris Jr., National Football League cornerback; in Tulsa, Oklahoma
Anna Veith (born Anna Fenninger), Austrian Olympic champion alpine ski racer; in Hallein, Salzburg, Austria
Renee Olstead (born Rebecca Renee Olstead), American actress and singer; in Houston, Texas
Died:
John Rainey Adkins, 47, American guitarist and songwriter, heart attack
I. F. Stone, 81, American investigative journalist and author
June 19, 1989 (Monday)
Burma officially changed its name in English to the Union of Myanmar, also changing the name of its people's nationality from "Burmese" to "Myanmar". "Rangoon", the name of Myanmar's capital, was to be spelled "Yangon" in English.
The Troubles: At 1:10 a.m., a bomb exploded at the barracks of the British Army's Osnabrück Garrison in Osnabrück, West Germany, blowing a hole about in diameter from the ground floor to the roof of the building. No one was injured in the blast. A 62-year-old West German boilerman surprised two suspects before they could set four more bombs to detonate; they fled after hitting the boilerman in the face, leaving him with bruises and scratches. West German authorities believed the Provisional Irish Republican Army was responsible for the bombing.
Spain joins the European Monetary System.
Born: Giacomo Gianniotti, Italian-Canadian actor; in Rome, Italy
Died:
Dieter Aderhold, 49, German political scientist, university teacher and politician
Betti Alver, 82, Estonian poet
Andrey Prokofyev, 30, Soviet Olympic champion track and field athlete, suicide by hanging
June 20, 1989 (Tuesday)
Born:
Christopher Mintz-Plasse, American actor and comedian; in Woodland Hills, California
Javier Pastore, Argentine footballer; in Córdoba, Argentina
Terrelle Pryor, National Football League quarterback and wide receiver; in Jeannette, Pennsylvania
Matthew Raymond-Barker, English singer; in London, England
Died: Otto Kässbohrer, 85, German entrepreneur and design engineer
June 21, 1989 (Wednesday)
The Supreme Court of the United States ruled in Texas v. Johnson that American flag-burning was a form of political protest protected by the First Amendment to the United States Constitution.
Born:
Albert Anae, New Zealand rugby union player; in Wellington, New Zealand
Raheleh Asemani, Iranian-born Belgian Olympic taekwondo practitioner; in Karaj, Iran
Jarno Gmelich, Dutch cyclist; in Almere, Netherlands
Abubaker Kaki Khamis, Sudanese Olympic runner; in Muglad, Sudan
Christopher Lamb, American ski jumper
Died:
Lee Calhoun, 56, American Olympic champion track and field athlete
Henri Sauguet, 88, French composer
June 22, 1989 (Thursday)
Angolan Civil War: In Gbadolite, Zaire, 18 African heads of state witnessed the declaration of Gbadolite, proclaiming a ceasefire in Angola to take effect on June 24.
British police arrested 260 people celebrating the summer solstice at Stonehenge.
The University of Limerick and Dublin City University were raised to the status of universities, the first established in Ireland since independence in 1922.
Born:
Daniel Aase, Norwegian footballer; in Kristiansand, Norway
Jeffrey Earnhardt, American race car driver; in Mooresville, North Carolina
Christian Eyenga (born Christian Eyenga Moenge), Congolese National Basketball Association player; in Kinshasa, Zaire
Jung Yong-hwa, South Korean musician, singer-songwriter, record producer and actor; in Yeoksam-dong, Gangnam District, Seoul, South Korea
Andreas Mikkelsen, Norwegian alpine skier and rally driver; in Oslo, Norway
Cédric Mongongu, Congolese footballer; in Kinshasa, Zaire
Died: Glenn Michael Souther (a.k.a. Mikhail Yevgenyevich Orlov), 32, American-Soviet sailor and defector, suicide by carbon monoxide poisoning
June 23, 1989 (Friday)
The Greek-registered oil tanker World Prodigy struck a reef at the mouth of Narraganset Bay off Newport, Rhode Island, spilling of home heating oil into the ocean. Beaches and shellfish beds in Rhode Island were forced to close, but the environmental damage was relatively light.
Born:
Lauren Bennett, English model, dancer and singer (G.R.L.); in Meopham, Kent, England
Lisa Carrington, New Zealand Olympic champion flatwater canoeist; in Tauranga, New Zealand
Marielle Jaffe, American actress, singer and model; in Valencia, Santa Clarita, California
Jordan Nolan, Canadian National Hockey League forward; in Garden River First Nation, Ontario, Canada
Ayana Taketatsu, Japanese voice actress; in Saitama Prefecture, Japan
Died:
Michel Aflaq, 79, Syrian philosopher, sociologist and Arab nationalist
Werner Best, 85, German Nazi official, jurist, police chief and SS-Obergruppenführer leader
Timothy Manning, 79, Irish-American Catholic archbishop and cardinal, cancer
June 24, 1989 (Saturday)
In the aftermath of the Tiananmen Square protests, Jiang Zemin became General Secretary of the Chinese Communist Party, succeeding Zhao Ziyang.
The Troubles: 36-year-old Catholic civilian Liam McKee was shot and killed by the Ulster Freedom Fighters at his home in Lisburn, County Antrim.
Born:
Juan José Barros, Peruvian footballer; in Barranquilla, Colombia
Fabian Böhm, German handball player; in Potsdam, East Germany
Ilektra-Elli Efthymiou, Greek Olympic rhythmic gymnast
Teklemariam Medhin, Eritrean Olympic long-distance runner; in Hazega, Ethiopia
Died:
Hibari Misora (born Kazue Katō), 52, Japanese singer, heart failure
Prince Vasili Alexandrovich of Russia, 81
June 25, 1989 (Sunday)
Mexican boxer Humberto González defeated South Korean boxer Lee Yul-woo in a bout in Jeonju, South Korea, to claim the WBC Light Flyweight Championship.
American driver Bill Elliott won the 1989 Miller High Life 400 (Michigan) stock car race at Michigan International Speedway in Brooklyn, Michigan.
A group of 16- and 17-year-old volunteer firefighters at the District Heights Fire Station in Prince George's County, Maryland, were discussing their frustration with their fire chief's criticisms of their performance when one of them suggested setting a fire to help prove themselves. The conversation led to some of the first in a series of arsons that would continue until July 1990 and also involve young volunteer firefighters from Boulevard Heights, acting independently of the District Heights group.
Born: Chris Brochu, American actor and singer-songwriter; in Washington, D.C.
Died: Idris Cox, 89, Welsh communist activist and newspaper editor
June 26, 1989 (Monday)
The Supreme Court of the United States ruled in Penry v. Lynaugh that the execution of persons with intellectual disabilities did not violate the ban on cruel and unusual punishment in the Eighth Amendment to the United States Constitution.
Born:
Carlos Lopez, American stunt performer; in North Carolina (d. 2014, accidental fall)
Magid Magid, Somali-British activist and politician; in Burao, Somali Democratic Republic
Died:
Howard Charles Green, , 93, Canadian politician and parliamentarian
Earle Riddiford, 67, New Zealand mountaineer
June 27, 1989 (Tuesday)
The International Labour Organization adopted the Indigenous and Tribal Peoples Convention, 1989, the major binding international convention concerning indigenous peoples and tribal peoples.
The Troubles: 34-year-old Protestant David Black of the Royal Ulster Constabulary was killed while off-duty by a bomb attached to his car by the Irish Republican Army at his home in Artigarvan, County Tyrone.
Born:
Hana Birnerová, Czech tennis player
Sabino Brunello, Italian chess Grandmaster; in Brescia, Italy
Kimiko Glenn, American actress and singer; in Phoenix, Arizona
Matthew Lewis, British actor; in Leeds, England
Frank Stäbler, German Olympic Greco-Roman wrestler; in Böblingen, Baden-Württemberg, West Germany
Bruna Tenório, Brazilian supermodel; in Maceió, Alagoas, Brazil
Died:
Sir A. J. Ayer , 78, British philosopher
Jack Buetel, 73, American actor
Michele Lupo, 56, Italian film director
June 28, 1989 (Wednesday)
On the 600th anniversary of the Battle of Kosovo, Serbian President Slobodan Milošević delivered the Gazimestan speech at the site of the historic battle.
Born:
Ronny Fredrik Ansnes, Norwegian cross-country skier; in Meldal, Norway (d. 2018, drowned)
Sergio Asenjo, Spanish footballer; in Palencia, Spain
Jason Clark, Australian rugby league footballer; in Sydney, New South Wales, Australia
Andrew Fifita, Tongan rugby league footballer; in Blacktown, New South Wales, Australia
David Fifita, Tongan rugby league footballer; in Blacktown, New South Wales, Australia
Joe Kovacs, American Olympic shot putter; in Bethlehem, Pennsylvania
Nicole Rottmann, Austrian tennis player; in Wagna, Austria
Julia Zlobina, Azerbaijani Olympic ice dancer; in Kirov, Kirov Oblast, Russian SFSR, Soviet Union
Died:
Joris Ivens, 90, Dutch filmmaker
Alfredo Sadel (born Manuel Alfredo Sánchez Luna), 59, Venezuelan singer and actor, heart attack
June 29, 1989 (Thursday)
Born:
Maciej Szymon Cieśla, Polish graphics designer; in Katowice, Poland (d. 2016, bone cancer)
Isabelle Gulldén, Swedish Olympic and professional handball player; in Sävedalen, Partille Municipality, Sweden
Maciej Sadlok, Polish footballer; in Oświęcim, Poland
Jens Westin, Swedish professional ice hockey defenceman; in Kalix, Sweden
June 30, 1989 (Friday)
A military coup led by Omar al-Bashir ousted the civilian government of Prime Minister of Sudan Sadiq al-Mahdi.
Retired United States Navy Admiral James B. Busey IV took office as the 11th Administrator of the Federal Aviation Administration.
At 10:29 a.m., an electrical fire broke out on the sixth floor of the South Tower of Peachtree 25th, a 10-story office building in Atlanta, Georgia. The fire killed five people and injured 29.
In Washington, D.C., over 900 artists and supporters of the late Robert Mapplethorpe took part in a protest of the cancellation of his exhibition at the Corcoran Gallery of Art, during which enlargements of Mapplethorpe's photos were projected onto the façade of the gallery.
Born:
Asbel Kiprop, Kenyan Olympic champion middle-distance runner; in Eldoret, Kenya
Ginta Lapiņa, Latvian model; in Riga, Latvian Soviet Socialist Republic, Soviet Union
Steffen Liebig, German rugby union player
Damián Lizio, Argentine-born Bolivian footballer; in Florida, Buenos Aires, Argentina
David Myers, Australian rules footballer
Died: Hilmar Baunsgaard, 69, Danish politician and 34th Prime Minister of Denmark
References
1989
June 1989 events
1989-06
1989-06 |
Carnegie Hall Tower is a skyscraper at 152 West 57th Street in the Midtown Manhattan neighborhood of New York City. Completed in 1990 and designed by César Pelli, the building measures tall with 60 stories. Due to the presence of Carnegie Hall and the Russian Tea Room on adjacent sites, the tower is only wide on 57th Street, making it among the world's most slender skyscrapers at its completion.
Carnegie Hall Tower is designed with a red-and-orange brick facade and cast-concrete decorations, both inspired by the older structure. The tower rises above a six-story base, which contains a setback from 57th Street. The structure has an "L"-shaped plan through the 42nd floor and a rectangular plan above that story. The superstructure is made of concrete, with a core made of two connected concrete tubes. The building was designed with for offices and for Carnegie Hall's offstage facilities. Each of the upper floors contains between . The design was largely praised by architectural critics upon its completion.
The site of Carnegie Hall Tower was occupied by the Rembrandt Apartments until 1963, after which it served as a parking lot. In late 1980, the corporation and the New York City government signed a memorandum of understanding, which allowed the potential development of a skyscraper on the lot. Following a failed proposal to combine the lot with another site to the east, Rockrose Development Corporation was selected as the developer in May 1985. Construction began in late 1987 after approvals from various city agencies. After the building opened, the upper floors were marketed to small tenants, and the tower had some of New York City's most expensive office space by the 21st century.
Site
Carnegie Hall Tower is at 152 West 57th Street, between Sixth Avenue and Seventh Avenue two blocks south of Central Park, in the Midtown Manhattan neighborhood of New York City. The building's land lot covers , has a frontage of along 57th Street, and is deep. The rear of the building, on 56th Street, is deep.
The building abuts Carnegie Hall to the west and the Russian Tea Room to the east. Other nearby buildings include Metropolitan Tower, 140 West 57th Street, and 130 West 57th Street to the east; The Briarcliffe to the northwest; the Louis H. Chalif Normal School of Dancing and One57 to the north; the Nippon Club Tower and Calvary Baptist Church to the northeast; and CitySpire and New York City Center to the south. Metropolitan Tower and Carnegie Hall Tower are only separated by the Russian Tea Room, which is wide. When both buildings were developed in the 1980s, the Russian Tea Room's owner Faith Stewart-Gordon had refused to sell her land. While Carnegie Hall Tower originally had a direct northward view of Central Park, much of the view was blocked when One57 was built in the 2010s.
The neighborhood was historically part of an artistic hub that developed around the two blocks of West 57th Street from Sixth Avenue west to Broadway during the late 19th and early 20th centuries, following the opening of Carnegie Hall. Several buildings in the area were constructed as residences for artists and musicians, such as 130 and 140 West 57th Street, the Rodin Studios, and the Osborne Apartments, as well as the demolished Sherwood Studios and Rembrandt. In addition, the area contained the headquarters of organizations such as the American Fine Arts Society, the Lotos Club, and the American Society of Civil Engineers. The Rembrandt Apartments, built in 1881 and demolished in 1963, had occupied the site of Carnegie Hall Tower.
Architecture
Carnegie Hall Tower was designed by César Pelli and developed by the Rockrose Development Corporation. Brennan Beer Gorman was the architect of record. The tower was built by construction manager HRH Construction. In addition, Robert Rosenwasser Associates was the structural engineer, Cosentini Associates was the mechanical, electrical, and plumbing, and Mesh & Juul Inc. was the lighting engineer. Carnegie Hall Tower is 757 feet (231 m) tall and 60 stories high. As planned it was tall with 59 stories.
Form and facade
Carnegie Hall Tower contains a six-story base, above which rises the main tower. On 57th Street, the base of the building is only as tall as the original Carnegie Hall, which is seven stories high. The structure has an "L"-shaped plan through the 42nd floor, with a frontage of on the north and on the south. There is a single setback on the 43rd floor. Above that, the tower rises as a rectangular slab measuring wide and long. At the time of its completion, Carnegie Hall Tower was one of the world's most slender skyscrapers. As viewed from the west, Carnegie Hall Tower almost completely blocks the view of Metropolitan Tower to the east.
Carnegie Hall Tower has a red-and-orange brick facade and cast-concrete decorations, both inspired by the older structure. This was a contrast to contemporary buildings that were being built with steel or glass facades. Douglas Davis wrote for Newsweek: "Unlike the postmoderns, Pelli pushed the new technology of glass, plastic and wafer-thin stone to its limit—part of what he called 'extreme modernism'". The brick was used to complement the reddish brown Roman brick used in Carnegie Hall. The tower's developers contemplated using oven-fired brick, similar to that used in Carnegie Hall, but ultimately determined that to be too expensive.
The facade of the base on 57th Street is made of conventional brick, with three courses of brick corresponding to of height. According to the project architect, Malcolm Roberts, the use of conventional brick was intended to make the building "humanly scaled to passersby". The base contains horizontal moldings that match both those of Carnegie Hall and the Russian Tea Room. Horizontal bands run below and above the second story on 57th Street, matching the third floor of the Russian Tea Room. A decorative band runs near the top of the sixth story, complementing a broad terracotta frieze at Carnegie Hall; it is interrupted by a set of windows. An aluminum molding, painted to resemble terracotta, runs above Carnegie Hall's sixth floor.
Above the base, the facade uses larger brick, with two courses corresponding to 8 inches. According to Pelli, "We chose a variety of brick, not only to relate the tower to Carnegie Hall, but to pop this building out on the skyline". The brick comes in 11 colors, including bright red and dark green. There are precast concrete lintels above windows, sills, and vertical accents. Painted metal bands wrap around the building at intervals of six floors. The top of the shaft contains a frieze made of dark green glazed brick. The large cornice above the shaft is an open trellis of wide-flange steel sections. This cornice is composed of I-beams that project from the top story's facade.
Structural features
The superstructure is made of concrete. The core consists of two joined tubes of cast-in-place concrete, designed by engineer Jacob Grossman of Robert Rosenwasser Associates. Grossman had found that concrete was more efficient than steel in reducing sway for such a narrow structure; under the same wind forces, a steel structure of the same size would sway for longer. The tubes connect to each other at the tower's center, and east-west spandrel beams extend from the core, further stiffening the superstructure. The roof contains space for a tuned mass damper, which could be installed if it were ever needed. The exterior walls double as wind-resisting elements since the windows are spaced closely and have small dimensions, similar to Carnegie Hall itself. At the time of completion, Carnegie Hall Tower was New York City's second-tallest, and the world's eighth-tallest, concrete building.
Interior
According to the New York City Department of City Planning, the building has of gross floor area. The building was designed with for offices and for Carnegie Hall. The rear of Carnegie Hall Tower contains offstage facilities for Carnegie Hall, spanning portions of the second through seventh stories.
The lobby contains walls and floors made of green, red, and black marble, with brass accents and metal-grille lamps on the walls. The vaulted ceiling is composed of translucent panels separated by metal ribs. There are elevators on either side of the lobby, as well as a guard desk. The lobby is one of nine passageways that form 6½ Avenue, a set of full-block passageways from 51st to 57th Street between Sixth and Seventh Avenues. It was built as a "through-block connection" under the Special Midtown District, created in 1982. Carnegie Hall Tower's lobby is one of three parallel passageways on the same block; the others are in Metropolitan Tower and the Parker New York hotel to the east. While the district no longer allows more than two "through-block connections" on the same block, these passageways all predate the rule modification.
Carnegie Hall's operator, Carnegie Hall Corporation, demolished the walls separating the second-story and third-story spaces from the original hall. The tower includes the venue's first freight elevator; before the tower's construction, pianos at Carnegie Hall were carried manually on staircases. The leased space in the tower includes the East Room, a 200-seat dining room that covers , and the Club Room, which covers . The East Room and Club Room were subsequently renamed the Rohatyn Room and Shorin Club Room, respectively. On the third floor, next to the Weill Recital Hall in the original building, is a catering lounge. A musicians' lounge, rehearsal space, and dressing rooms were also provided. The upper floors contain between on each floor. A freight elevator and ten passenger elevators provide access to the upper floors.
History
After the demolition of the Rembrandt Apartments in 1963, the site became a parking lot owned by the government of New York City. The Carnegie Hall Corporation operated Carnegie Hall and leased both the performance venue and the Rembrandt site from the city. In late 1980, the corporation and the New York City government signed a memorandum of understanding to allow the transfer of unused development rights above Carnegie Hall, as well as the development of the Rembrandt site. The city would receive tax revenue while the corporation would receive money for the hall's maintenance. Carnegie Hall's real estate director Lawrence Goldman stated that the lot's development would be the "motor that drives the engine" for the hall's renovation. Carnegie Hall's renovation, designed by Polshek Partnership, began in February 1982.
Development
In March 1982, the city issued a request for proposals for the vacant Rembrandt lot. All bids were required to include a facade that resembled the existing hall's facade, a seven-story building on 56th Street for offstage uses, and an expansion of Carnegie Hall's facilities in the base. Later that year, the Carnegie Hall Corporation began reviewing proposals for the lot. Three bidders were selected as finalists by mid-1983. They were Kaufman Realty with a plan by Cesar Pelli; Rockrose Development, with a plan by Charles Moore; and Harry B. Macklowe, with a plan by Skidmore, Owings & Merrill. Macklowe's bid, which called for a green-glass tower above a masonry base, was really a placeholder for another plan. Macklowe wished to combine the Rembrandt lot with a parcel to the east, which he already owned, but which was separated from the Rembrandt lot by the Russian Tea Room. If the three sites were combined, this could allow a 51-story tower with . The Russian Tea Room's owners refused several offers to acquire their building, so Macklowe withdrew his bid for the Rembrandt site in 1983 and developed Metropolitan Tower on the other parcel.
Carnegie Hall officials were negotiating with Rockrose and Kaufman by late 1984. Rockrose replaced Moore with Pelli on its bid for the site. Rockrose and Pelli's bid was accepted in May 1985. The tower was tentatively planned to include of public space in the front, offstage areas in the rear, and an addition to Cafe Carnegie at ground level. Two-thirds of the tower would contain luxury residential condominiums, with the rest being office space. The development was planned to earn $800,000 a year for the Carnegie Hall Corporation. In April 1986, Carnegie officials announced their intent to sublease the vacant lot to Rockrose for 99 years. The building was one of several high-rise developments planned for the area at the time. In addition to Macklowe's and Carnegie Hall's developments, Bruce Eichner was developing CitySpire on a plot adjacent to the New York City Center.
The tower needed approval from the Landmarks Preservation Commission (LPC), which had previously designated Carnegie Hall as a city landmark; the Board of Estimate; the City Planning Commission; and Manhattan Community Board 5, whose community district included Carnegie Hall. The LPC approved the project in October 1986, and the Board of Estimate gave final approval in September 1987. An official groundbreaking ceremony took place on November 20, 1987, attended by Carnegie Hall president Isaac Stern, Carnegie Hall chairman James Wolfensohn, Rockrose president Henry Elghanayan, and mayor Ed Koch. The foundation was excavated over two and a half months; blasting for the foundation was coordinated to avoid interference with dining or concerts. The cornerstone was laid on May 13, 1988, the 98th anniversary of the cornerstone-laying of Carnegie Hall itself. The tower's foundations were completed that month, but the Russian Tea Room refused to sell either its building or its air rights. In mid-1989, Fuji Bank Ltd loaned $125 million to Rockrose for the development of Carnegie Hall Tower.
Usage
Newmark & Co. was hired as the leasing agent in February 1990, at which point no leases had been signed. Though the building was nearing completion, it had over available for lease that August, representing most of its office space. The building opened the following month, despite a weak office market. Because of the recession at the time, Carnegie Hall Tower was viewed in the real-estate industry as a "see-through office building", with no tenants and a low probability of attracting tenants. Rockrose began negotiating with businesses in the fashion, law, and entertainment industries. Part of the appeal to small firms was the tax abatements offered to tenants in exchange for Rockrose providing space at the tower's base for Carnegie Hall. The venue's expansion into the tower's base opened in April 1991 with an exhibit of memorabilia from Pyotr Ilyich Tchaikovsky.
In May 1991, Rockrose launched a "small-space program" for tenants requiring as little as . A Newmark agent said at the time that fourteen of the building's twenty tenants were expanding compared to their previous spaces. The offices, with asking rents of , attracted small tenants such as Capitol-EMI and Kenneth Cole Productions. Hedge funds, as well as financial and law companies, also found the small floor areas to be useful. The building also benefited from a shift in office demand from Sixth Avenue and Park Avenue. A commercial space was leased to coffee shop Philip's Coffee in 1992. Rockrose furnished some "prebuilt" office space at the base and middle floors. The prebuilt units were expensive but, after they were rented successfully, Rockrose furnished some prebuilt space on the 52nd floor.
By the late 1990s, Carnegie Hall Tower had enough tenants that it was no longer in debt. Daryl Roth Productions and CNBC were among the building's tenants at this time. Outgoing U.S. President Bill Clinton had planned to move his office to the tower's 56th floor in 2001, but he instead chose office space in Harlem after controversy over the costs of space in the tower, estimated at . By 2007, Carnegie Hall Tower was marketing its 40th and 41st floors at per year, although its lowest floors were advertised at only per year. By contrast, the average annual rent for "premium" Midtown office space was per year. Nearby buildings such as 712 Fifth Avenue, the Solow Building, the General Motors Building, and 888 Seventh Avenue also had high asking rates.
In 2017, the building was refinanced with a $325 million loan from MetLife. This was the fifth refinancing for the property since it opened. Among the building's tenants in the 2010s and 2020s were Naftali Group, Melius Research, and Fairstead Capital.
Reception
When Carnegie Hall Tower was being planned, Paul Goldberger of The New York Times wrote that Pelli "has responded admirably" to the presence of several skyscrapers in the vicinity, including Metropolitan Tower several feet east. He wrote that Carnegie Hall Tower "is far from neutral, but it is a masterwork of respectful, responsible urbanism". Goldberger did express concerns that the building's height made it "entirely out of scale with the landmark beside it". Similarly, Architectural Record magazine said the ornamentation and the facade were "thoughtful references" to the design of Carnegie Hall, but the tower's height "will render such relational gestures meaningless". Progressive Architecture said Carnegie Hall Tower, as well as nearby skyscrapers being designed on side streets, "break Manhattan's pattern of high-rise on the avenues, low-rise at midblock".
After the building was completed, Goldberger characterized the tower as "one of the most convincing essays in creative historicism on any urban skyline" and praised the building as "evocative, not derivative". Kurt Andersen wrote for Time magazine, "This slender, elegant slab is like a dancer among thugs", praising it as "the finest high-rise to go up in New York City in a generation". Conversely, Carter Wiseman of New York magazine regarded the tower as "much too tall" but also "perilously unsubstantial" as seen from the north or south. Karrie Jacobs of the same magazine described the upper stories as an "afterthought" to the base, which "masquerades as a walk-up, cornice kissing cornice". CitySpire, Carnegie Hall Tower, and Metropolitan Tower became known as the "Tuning Fork Trio" because of their shape and proximity to each other. John McPhee of The New Yorker wrote in 2003 that the buildings "look like three chopsticks incongruously holding a cocktail blini", as they surrounded the small Russian Tea Room.
Time magazine listed the tower among its "Best of" design picks in 1990. Carnegie Hall Tower's design won the Honor Award from the American Institute of Architects in 1994, and Pelli himself was awarded the AIA Gold Medal in 1995.
See also
List of tallest buildings in New York City
List of tallest buildings in the United States
References
Notes
Citations
Sources
External links
1991 establishments in New York City
Carnegie Hall
César Pelli buildings
Midtown Manhattan
Office buildings completed in 1991
Skyscraper office buildings in Manhattan
Skyscrapers on 57th Street (Manhattan) |
Rosina Maria Zornlin (6 December 1795 – 22 May 1859) was a British author who wrote science popularizations and works on religion.
Life and works
Rosina Zornlin was born on 6 December 1795 in Walthamstow, Essex, England to a literary family. Her father was John Jacob Zornlin, a London merchant of Swiss background. Her mother, Elizabeth Alsager, was the sister of Thomas Massa Alsager and had published some poetry. Her sister, Georgiana Zornlin, was an author and an artist. An invalid, Rosina spent most of her life living with her family in Clapham, Surrey. She was involved with the Clapham Microscopical Society. An amateur astronomer, she published two articles in The Philosophical Magazine on meteor showers in 1839 and 1841 and was interested enough in physics to have a paper read to the British Association for the Advancement of Science entitled On Heat and on the Indestructibility of Elementary Bodies in 1858. Zornlin also published two non-fiction books on the Bible narrative and an anti-Catholic novel entitled, The Roman Catholic Chapel, or, Lindenhurst Parish in 1837.
Many of her earlier works, such as What Is a Comet, Papa? (1835, James Ridgway & Sons), The Solar Eclipse (1836, James Ridgway & Sons), and What Is a Voltaic Battery? (1842, John Parker), were written for children. To make scientific ideas accessible to this younger audience, Zornlin adopted the ‘familiar format’, a fictional literary format that used letters, dialogues, and conversations, customarily situated in a domestic setting. Zornlin's earliest scientific books took advantage of astronomical phenomena
like the 1835 approach of Halley's Comet and the 1836 solar eclipse visible in England. One reviewer criticized Zornlin because she "unconsciously takes for granted that the pupil is [already] familiar with the phenomena which she undertakes to explain." Zornlin's other scientific books used a clear, textbook style of prose.
Zornlin's other books were geared towards adults and to school use. Several of them sold well enough to go into multiple editions, including Recreations in Geology, The World of Waters, Recreations in Physical Geography. All of them reached third editions.
Her first book on geology, Recreations in Geology, was published in 1839 and she was heavily influenced by the Natural Theology of William Paley.
The Voltaic Battery
One of Rosina Zornlin's very well known work is her writing What is the Voltaic Battery? which was honored in the British Periodicals in 1842. Rosina's writing sets her apart from many because she used different styles, like in What is the Voltaic Battery? she writes in a dialogue between two people. One person (E) asks Mr. C various questions about a voltaic battery including how it works, what its made of, and how much power it can generate. She helped educate people about the voltaic battery by including questions often thought of about the voltaic battery.
Continued Works of Rosina Zornlin
Rosina Zornlin wrote many popular books including The World of Waters and The Earth as It Is in which she compares the earth before and after mankind. Rosina Zornlin initially wrote for juvenile readers but eventually wrote more works for adult audiences ranging in many different scientific topics often using dialogues to explain the subject she was writing about. Her style of writing became very popular among many different groups of people, giving them an entertaining way to learn about geology and various other physical sciences.
Notes
References
1795 births
1859 deaths
19th-century British astronomers
English science writers
19th-century British geologists
19th-century British physicists
19th-century British non-fiction writers
19th-century English women writers
English women non-fiction writers
19th-century British women scientists
Women astronomers
British women physicists
British women geologists
English religious writers
Women religious writers
People from Walthamstow
Writers from Essex
British people of Swiss descent |
Lexington Park is a neighborhood in the Northeast section of Philadelphia, Pennsylvania, United States. It is bounded on the west by Roosevelt Boulevard, and on the north, east and south by Pennypack Park. The neighborhood is made up mostly of twin and single homes built in the years following World War II, and a few apartment buildings built not long thereafter. There are some commercial establishments along Rhawn Street and Roosevelt Boulevard. Convenience to the park makes it an attractive location for families with children. Lexington Park is also home to Nazareth Hospital.
External links
A map of the neighborhood from Microsoft Bing can be viewed here.
Neighborhoods in Philadelphia
Northeast Philadelphia |
Paraembolides grayi is a species of funnel-web spider in the Hexathelidae family. It is endemic to Australia. It was described in 1978 by Australian arachnologist Robert Raven.
Distribution and habitat
The species occurs in south-eastern New South Wales, between Sydney and Wollongong, in dry sclerophyll open forest habitats. The type locality is the Royal National Park.
Behaviour
The spiders are terrestrial predators.
References
grayi
Spiders of Australia
Endemic fauna of Australia
Arthropods of New South Wales
Spiders described in 1978
Taxa named by Robert Raven |
Kelli Berglund (born February 9, 1996) is an American actress. She is known for portraying Bree Davenport in the Disney XD series Lab Rats, and its spinoff Lab Rats: Elite Force. In 2014 she starred in the Disney Channel Original Movie How to Build a Better Boy, where she portrays Mae Hartley. Berglund starred as Carly Carson in the 2019 Starz television drama series Now Apocalypse. She has also played the lead in two sports-themed films set in Australia, 2016's Raising the Bar and 2018's Going for Gold. She stars as Crystal in the 2021 Starz drama television series Heels.
Career
Berglund began her career at a young age as a series regular on TLC's Hip Hop Harry. TV appearances also include Are You Smarter Than a 5th Grader, and America's Next Producer. Berglund also appeared in the indie film, Bye Bye Benjamin. Her commercial credits include campaigns for Old Navy, Hyundai, Bratz, McDonald's and Mattel, among others. She has also appeared in print and modeling campaigns for Reebok and the Camarillo Academy of Performing Arts. Berglund has been honored with many awards in dance for her lyrical contemporary and jazz. Though she is equally versatile in these types of dance, her favorite style is contemporary — a blend of ballet and jazz.
From 2012 to 2016, Berglund starred as Bree, an overly outgoing, bionic super-human with super speed, in the Disney XD live-action comedy series Lab Rats alongside co-stars Tyrel Jackson Williams, Billy Unger, and Spencer Boldman. She continued to play Bree on Lab Rats 2016 spinoff series Lab Rats: Elite Force.
In 2013, Berglund guest starred on the Disney XD series Kickin' It, where she played karate prodigy Sloane Jennings. In this episode, her character sings "Had Me @ Hello" as a duet with Kim Crawford, played by Olivia Holt. In mid-2013, Berglund began work on the 2013 Disney Channel Original Movie, How to Build a Better Boy, in which she stars as Mae Hartley, a tech-savvy young woman who along with her best friend, devises a plan to create the perfect boyfriend. She sings "Something Real" with China Anne McClain which was released on July 29, 2014.
In 2016, Berglund co-starred in the NBC television film, Dolly Parton's Christmas of Many Colors: Circle of Love, playing the role of Willadeene Parton, Dolly Parton's older sister. The same year, she starred in the film Raising the Bar, in which she plays a former gymnast who gets back into the sport after relocating to Australia. In 2018, Berglund starred in Going for Gold, a film about cheerleading, set in Adelaide, Australia.
In June 2018, Berglund was cast in the starring role of Carly in the 2019 Starz television series Now Apocalypse. In 2019, Berglund was cast in the recurring role of Olivia in the fourth season of the drama television series Animal Kingdom. Berglund also had a minor role as a teen in a Billie Eilish costume in the 2020 Netflix comedy film Hubie Halloween.
Personal life
Berglund was born and raised in Moorpark, California, where she continues to live with her parents, Mark and Michelle Berglund, and younger sister, Kirra. She is a graduate of Moorpark High School's independent study program. In her spare time, she enjoys swimming and photography.
Filmography
References
External links
1996 births
21st-century American actresses
Actresses from California
American child actresses
American television actresses
Living people
People from Moorpark, California
Moorpark High School alumni |
WHKR (102.7 FM, "The Hitkicker") is a commercial radio station, licensed to Rockledge, Florida, and serving the Space Coast. It is owned by Cumulus Media and broadcasts a country music radio format.
WHKR has an effective radiated power (ERP) of 50,000 watts. The transmitter is off Parrish Road in Cocoa West ().
History
The station first signed on in 1989.
Previously known as "WHKR 102.7 The Hitkicker", on July 3, 2013, at 3pm, after playing "Parking Lot Party" by Lee Brice, WHKR aired a brief stunt sequence along with the top-of-the-hour station identification. It then joined Cumulus's nationally growing country brand as "Nash FM 102.7 Melbourne". The first song on "Nash" was Randy Houser's How Country Feels. It was the first song on all new Nash FM stations up to that point.
On October 5, 2020, WHKR returned to its original branding as "102.7 The Hitkicker."
Previous logo
References
External links
HKR
Cumulus Media radio stations
1989 establishments in Florida
Radio stations established in 1989
Country radio stations in the United States |
Albert T. Corbett is an associate research professor emeritus of human–computer interaction at Carnegie Mellon University. He is widely known for his role in the development of the Cognitive Tutor software, leading to one article with over 1,000 citations. Along with John Robert Anderson, he developed the Bayesian Knowledge Tracing algorithm, which is used in Cognitive Tutor software. This work has been particularly influential in the educational data mining community—over half of the EDM conference papers published in 2011 and 2012 cited Bayesian Knowledge-Tracing.
Corbett studied psychology at Brown University, and obtained a doctorate in psychology from the University of Oregon. His doctoral advisor was Wayne Wickelgren.
See also
Cognitive Tutor
Learning sciences
ACT-R
John Robert Anderson (psychologist)
Kenneth Koedinger
Current Papers
Corbett, A.T. and Anderson, J.R. (2001). Locus of feedback control in computer-based tutoring: Impact on learning rate, achievement and attitudes. Proceedings of ACM CHI'2001 Conference on Human Factors in Computing Systems, 245–252.
Corbett, A.T., McLaughlin, M.S., Scarpinatto, K.C. and Hadley, W.S. (2000). Analyzing and Generating Mathematical Models: An Algebra II Cognitive Tutor Design Study. Intelligent tutoring systems: Proceedings of the Fifth international conference, ITS'2000, 314–323.
Corbett, A.T. and Trask, H. (2000). Instructional interventions in computer-based tutoring: Differential impact on learning time and accuracy. Proceedings of ACM CHI'2000 Conference on Human Factors in Computing Systems, 97–104.
Baker R.S., Corbett A.T., Koedinger K.R. (2002) The Resilience of Overgeneralization of Knowledge about Data Representations. Presented at American Educational Research Association Conference
Baker R.S., Corbett A.T., Koedinger K.R. (2001) Toward a Model of Learning Data Representations. Proceedings of the Cognitive Science Society Conference, 45–50.
Mathan, S., Koedinger, K.R., Corbett, A., & Hyndman, A. (2000). Effective strategies for bridging gulfs between users and computer systems. In Proceedings of HCI-Aero 2000: International Conference on Human Computer Interaction in Aeronautics. (pp. 197–202). Toulouse, France.
Corbett, A.T., McLaughlin, M.S. and Scarpinatto, K.C. (2000). Modeling student knowledge: Cognitive tutors in high school and college. User modeling and user-adapted interaction, 10, 81–108.
References
American cognitive scientists
American educational psychologists
Living people
Carnegie Mellon University faculty
Human-Computer Interaction Institute faculty
University of Oregon alumni
Year of birth missing (living people)
Brown University alumni |
Gary Reineke (born May 27, 1945) is a Canadian actor.
Early life
Reineke was born in Scarborough, Ontario on May 27, 1945.
Career
Reineke has appeared in more than eighty films since 1974, and was a Genie Award nominee for Best Supporting Actor at the 4th Genie Awards in 1983 for his performance in The Grey Fox.
Selected filmography
References
External links
1945 births
Living people
People from Scarborough, Toronto
Canadian male film actors
Canadian male television actors
Canadian male voice actors
Male actors from Toronto |
```smalltalk
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Reflection;
using System.Xml;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Xamarin.Bundler;
using Xamarin.MacDev.Tasks;
using Xamarin.Localization.MSBuild;
using Xamarin.Messaging.Build.Client;
using Xamarin.Utils;
#nullable enable
namespace Xamarin.MacDev.Tasks {
// We can get numerous types of native references:
//
// *.dylib
// *.a
// *.framework
// *.xcframework
//
// They can come from:
//
// - A NativeReference to the file/directory on disk (or even a file inside the directory).
// - A NativeReference to a zip of the above
// - A binding resource package next to an assembly
// - A zipped binding resource package
//
// Special considerations:
// - We can only extract the files we need from any zipped reference, because this task must work on Windows (without a connection to a Mac),
// and a zip may contain symlinks for a different platform (and thus won't be needed). Example: an xcframework
// with a framework for macOS will likely have symlinks, but that shouldn't prevent the xcframework from being
// consumed in a build for iOS.
public class ResolveNativeReferences : XamarinTask, ITaskCallback {
#region Inputs
[Required]
public string? Architectures { get; set; }
[Required]
public string FrameworksDirectory { get; set; } = string.Empty;
[Required]
public string IntermediateOutputPath { get; set; } = string.Empty;
public ITaskItem [] NativeReferences { get; set; } = Array.Empty<ITaskItem> ();
public ITaskItem [] References { get; set; } = Array.Empty<ITaskItem> ();
[Required]
public bool SdkIsSimulator { get; set; }
#endregion
#region Outputs
[Output]
public ITaskItem []? NativeFrameworks { get; set; }
[Output]
public ITaskItem [] TouchedFiles { get; set; } = Array.Empty<ITaskItem> ();
#endregion
string GetIntermediateDecompressionDir (ITaskItem item)
{
return GetIntermediateDecompressionDir (item.ItemSpec);
}
string GetIntermediateDecompressionDir (string item)
{
return Path.Combine (IntermediateOutputPath, Path.GetFileName (item));
}
// returns the Mach-O file for the given path:
// * for frameworks, returns foo.framework/foo
// * for anything else, returns the input path
#if NET
[return: NotNullIfNotNull (nameof (path))]
#else
[return: NotNullIfNotNull ("path")]
#endif
static string? GetActualLibrary (string? path)
{
if (path is null)
return null;
if (path.EndsWith (".framework", StringComparison.OrdinalIgnoreCase))
return Path.Combine (path, Path.GetFileNameWithoutExtension (path));
return path;
}
public override bool Execute ()
{
if (ShouldExecuteRemotely ())
return new TaskRunner (SessionId, BuildEngine4).RunAsync (this).Result;
return ExecuteLocally ();
}
bool ExecuteLocally ()
{
var native_frameworks = new List<ITaskItem> ();
var createdFiles = new List<string> ();
// there can be direct native references inside a project
foreach (var nr in NativeReferences) {
ProcessNativeReference (nr, native_frameworks, createdFiles);
}
// or (managed) reference to an assembly that bind a framework
foreach (var r in References) {
// look for sidecar's manifest
var resources = Path.ChangeExtension (r.ItemSpec, ".resources");
if (Directory.Exists (resources)) {
ProcessNativeReference (r, resources, native_frameworks, createdFiles);
} else {
resources = resources + ".zip";
if (File.Exists (resources))
ProcessNativeReference (r, resources, native_frameworks, createdFiles);
}
}
NativeFrameworks = native_frameworks.ToArray ();
TouchedFiles = createdFiles.Select (v => new TaskItem (v)).ToArray ();
return !Log.HasLoggedErrors;
}
void ProcessNativeReference (ITaskItem item, List<ITaskItem> native_frameworks, List<string> createdFiles)
{
ProcessNativeReference (item, item.ItemSpec, native_frameworks, createdFiles);
}
void ProcessNativeReference (ITaskItem item, string name, List<ITaskItem> native_frameworks, List<string> createdFiles)
{
// '.' can be used to represent a file (instead of the directory)
if (Path.GetFileName (name) == ".")
name = Path.GetDirectoryName (name);
var parentDirectory = Path.GetDirectoryName (name);
// framework
if (name.EndsWith (".framework", StringComparison.OrdinalIgnoreCase)) {
var nr = new TaskItem (item);
nr.ItemSpec = GetActualLibrary (name);
nr.SetMetadata ("Kind", "Framework");
nr.SetMetadata ("PublishFolderType", "AppleFramework");
nr.SetMetadata ("RelativePath", Path.Combine (FrameworksDirectory, Path.GetFileName (Path.GetDirectoryName (nr.ItemSpec))));
native_frameworks.Add (nr);
return;
} else if (parentDirectory.EndsWith (".framework", StringComparison.OrdinalIgnoreCase) && Path.GetFileName (name) == Path.GetFileNameWithoutExtension (parentDirectory)) {
var nr = new TaskItem (item);
nr.ItemSpec = GetActualLibrary (name);
nr.SetMetadata ("Kind", "Framework");
nr.SetMetadata ("PublishFolderType", "AppleFramework");
nr.SetMetadata ("RelativePath", Path.Combine (FrameworksDirectory, Path.GetFileName (Path.GetDirectoryName (nr.ItemSpec))));
native_frameworks.Add (nr);
return;
}
// dynamic library
if (name.EndsWith (".dylib", StringComparison.OrdinalIgnoreCase)) {
var nr = new TaskItem (item);
nr.ItemSpec = name;
nr.SetMetadata ("Kind", "Dynamic");
nr.SetMetadata ("PublishFolderType", "DynamicLibrary");
native_frameworks.Add (nr);
return;
}
// static library
if (name.EndsWith (".a", StringComparison.OrdinalIgnoreCase)) {
var nr = new TaskItem (item);
nr.ItemSpec = name;
nr.SetMetadata ("Kind", "Static");
nr.SetMetadata ("PublishFolderType", "StaticLibrary");
native_frameworks.Add (nr);
return;
}
// (compressed) xcframework
if (name.EndsWith (".xcframework", StringComparison.OrdinalIgnoreCase) || name.EndsWith (".xcframework.zip", StringComparison.OrdinalIgnoreCase)) {
if (!TryResolveXCFramework (Log, TargetFrameworkMoniker, SdkIsSimulator, Architectures, name, GetIntermediateDecompressionDir (item), createdFiles, out var nativeLibraryPath))
return;
var nr = new TaskItem (item);
SetMetadataNativeLibrary (nr, nativeLibraryPath);
native_frameworks.Add (nr);
return;
}
// compressed framework
if (name.EndsWith (".framework.zip", StringComparison.OrdinalIgnoreCase)) {
if (!CompressionHelper.TryDecompress (Log, name, Path.GetFileNameWithoutExtension (name), GetIntermediateDecompressionDir (item), createdFiles, out var frameworkPath))
return;
var nr = new TaskItem (item);
nr.ItemSpec = GetActualLibrary (frameworkPath);
nr.SetMetadata ("Kind", "Framework");
nr.SetMetadata ("PublishFolderType", "AppleFramework");
nr.SetMetadata ("RelativePath", Path.Combine (FrameworksDirectory, Path.GetFileName (Path.GetDirectoryName (nr.ItemSpec))));
native_frameworks.Add (nr);
return;
}
// sidecar / binding resource package
if (name.EndsWith (".resources", StringComparison.OrdinalIgnoreCase)) {
ProcessSidecar (item, name, native_frameworks, createdFiles);
return;
}
// compressed sidecar / binding resource package
if (name.EndsWith (".resources.zip", StringComparison.OrdinalIgnoreCase)) {
ProcessSidecar (item, name, native_frameworks, createdFiles);
return;
}
Log.LogWarning (MSBStrings.W7109 /* Unable to process the item '{0}' as a native reference: unknown type.* */, item.ItemSpec);
}
/// <summary>
/// Finds the 'manifest' file inside a (potentially compressed) binding resource package.
/// </summary>
/// <param name="log">The log to log any errors and/or warnings.</param>
/// <param name="resources">Path to the binding resource package (as a zip file or a folder).</param>
/// <param name="manifestContents">The contents of the 'manifest' file inside the binding resource package</param>
/// <returns>True if the manifest was found.</returns>
static bool TryGetSidecarManifest (TaskLoggingHelper log, string resources, [NotNullWhen (true)] out string? manifestContents)
{
using var stream = CompressionHelper.TryGetPotentiallyCompressedFile (log, resources, "manifest");
if (stream is null) {
manifestContents = null;
return false;
}
using var streamReader = new StreamReader (stream);
manifestContents = streamReader.ReadToEnd ();
return true;
}
/// <summary>
/// Finds the 'Info.plist' file inside a (potentially compressed) xcframework.
/// </summary>
/// <param name="log">The log to log any errors and/or warnings.</param>
/// <param name="resourcePath">Path to the location of the xcframework (as a zip file with an xcframework inside, or the container folder of an xcframework directory).</param>
/// <param name="xcframework">The name of the xcframework to look for.</param>
/// <param name="plist">The parsed Info.plist</param>
/// <returns>True if the Info.plist was found and successfully parsed.</returns>
static bool TryGetInfoPlist (TaskLoggingHelper log, string resourcePath, string xcframework, [NotNullWhen (true)] out PDictionary? plist)
{
var manifestPath = Path.Combine (xcframework, "Info.plist");
using var stream = CompressionHelper.TryGetPotentiallyCompressedFile (log, resourcePath, manifestPath);
if (stream is null) {
plist = null;
return false;
}
plist = (PDictionary?) PDictionary.FromStream (stream);
if (plist is null) {
log.LogError (MSBStrings.E7110 /* Could not load Info.plist '{0}' from the xcframework '{1}'.. */, manifestPath, resourcePath);
return false;
}
return true;
}
void SetMetadataNativeLibrary (ITaskItem item, string nativeLibraryPath)
{
item.ItemSpec = GetActualLibrary (nativeLibraryPath);
if (item.ItemSpec.EndsWith (".a", StringComparison.OrdinalIgnoreCase)) {
item.SetMetadata ("Kind", "Static");
item.SetMetadata ("PublishFolderType", "StaticLibrary");
} else if (item.ItemSpec.EndsWith (".dylib", StringComparison.OrdinalIgnoreCase)) {
item.SetMetadata ("Kind", "Dynamic");
item.SetMetadata ("PublishFolderType", "DynamicLibrary");
} else {
item.SetMetadata ("Kind", "Framework");
item.SetMetadata ("PublishFolderType", "AppleFramework");
}
item.SetMetadata ("RelativePath", Path.Combine (FrameworksDirectory, Path.GetFileName (Path.GetDirectoryName (item.ItemSpec))));
}
void ProcessSidecar (ITaskItem r, string resources, List<ITaskItem> native_frameworks, List<string> createdFiles)
{
if (!TryGetSidecarManifest (Log, resources, out var manifestContents))
return;
var isCompressed = CompressionHelper.IsCompressed (resources);
XmlDocument document = new XmlDocument ();
document.LoadXmlWithoutNetworkAccess (manifestContents);
foreach (XmlNode referenceNode in document.GetElementsByTagName ("NativeReference")) {
ITaskItem t = new TaskItem (r);
var name = referenceNode.Attributes ["Name"].Value.Trim ('\\', '/');
switch (Path.GetExtension (name)) {
case ".xcframework": {
if (!TryResolveXCFramework (Log, TargetFrameworkMoniker, SdkIsSimulator, Architectures, resources, name, GetIntermediateDecompressionDir (resources), createdFiles, out var nativeLibraryPath))
continue;
SetMetadataNativeLibrary (t, nativeLibraryPath);
break;
}
case ".framework": {
string? frameworkPath;
if (!isCompressed) {
frameworkPath = Path.Combine (resources, name);
} else if (!CompressionHelper.TryDecompress (Log, resources, name, GetIntermediateDecompressionDir (resources), createdFiles, out frameworkPath)) {
continue;
}
t.ItemSpec = GetActualLibrary (frameworkPath);
t.SetMetadata ("Kind", "Framework");
t.SetMetadata ("PublishFolderType", "AppleFramework");
t.SetMetadata ("RelativePath", Path.Combine (FrameworksDirectory, Path.GetFileName (Path.GetDirectoryName (t.ItemSpec))));
break;
}
case ".dylib": // macOS
string? dylibPath;
if (!isCompressed) {
dylibPath = Path.Combine (resources, name);
} else if (!CompressionHelper.TryDecompress (Log, resources, name, GetIntermediateDecompressionDir (resources), createdFiles, out dylibPath)) {
continue;
}
t.ItemSpec = dylibPath;
t.SetMetadata ("Kind", "Dynamic");
t.SetMetadata ("PublishFolderType", "DynamicLibrary");
break;
case ".a": // static library
string? aPath;
if (!isCompressed) {
aPath = Path.Combine (resources, name);
} else if (!CompressionHelper.TryDecompress (Log, resources, name, GetIntermediateDecompressionDir (resources), createdFiles, out aPath)) {
continue;
}
t.ItemSpec = aPath;
t.SetMetadata ("Kind", "Static");
t.SetMetadata ("PublishFolderType", "StaticLibrary");
break;
default:
Log.LogWarning (MSBStrings.W7105 /* Unexpected extension '{0}' for native reference '{1}' in binding resource package '{2}'. */, Path.GetExtension (name), name, r.ItemSpec);
t = r;
break;
}
// defaults
t.SetMetadata ("ForceLoad", "False");
t.SetMetadata ("NeedsGccExceptionHandling", "False");
t.SetMetadata ("IsCxx", "False");
t.SetMetadata ("LinkWithSwiftSystemLibraries", "False");
t.SetMetadata ("SmartLink", "True");
// values from manifest, overriding defaults if provided
foreach (XmlNode attribute in referenceNode.ChildNodes)
t.SetMetadata (attribute.Name, attribute.InnerText);
native_frameworks.Add (t);
}
}
/// <summary>
/// Resolve an xcframework into a native library for a given platform.
/// </summary>
/// <param name="log">The log to log any errors and/or warnings.</param>
/// <param name="isSimulator">If we're targeting the simulator</param>
/// <param name="targetFrameworkMoniker">The target framework moniker.</param>
/// <param name="architectures">The target architectures</param>
/// <param name="path">Either the path to a compressed xcframework (*.xcframework.zip), or an xcframework (*.xcframework).</param>
/// <param name="nativeLibraryPath">A full path to the resolved native library within the xcframework. If 'resourcePath' is compressed, this will point to where the native library is decompressed on disk.</param>
/// <param name="intermediateDecompressionDir"></param>
/// <returns>True if a native library was successfully found. Otherwise false, and an error will have been printed to the log.</returns>
public static bool TryResolveXCFramework (TaskLoggingHelper log, string targetFrameworkMoniker, bool isSimulator, string? architectures, string path, string intermediateDecompressionDir, List<string> createdFiles, [NotNullWhen (true)] out string? nativeLibraryPath)
{
string resourcePath;
string xcframework;
if (path.EndsWith (".zip", StringComparison.OrdinalIgnoreCase)) {
resourcePath = path;
xcframework = Path.GetFileNameWithoutExtension (path); // Remove the .zip extension
} else {
resourcePath = Path.GetDirectoryName (path);
xcframework = Path.GetFileName (path);
}
return TryResolveXCFramework (log, targetFrameworkMoniker, isSimulator, architectures, resourcePath, xcframework, intermediateDecompressionDir, createdFiles, out nativeLibraryPath);
}
/// <summary>
/// Resolve an xcframework into a native library for a given platform.
/// </summary>
/// <param name="log">The log to log any errors and/or warnings.</param>
/// <param name="isSimulator">If we're targeting the simulator</param>
/// <param name="targetFrameworkMoniker">The target framework moniker.</param>
/// <param name="architectures">The target architectures</param>
/// <param name="resourcePath">Either the path to a compressed xcframework, or the containing directory of an xcframework.</param>
/// <param name="xcframework">The name of the xcframework.</param>
/// <param name="nativeLibraryPath">A full path to the resolved native library within the xcframework. If 'resourcePath' is compressed, this will point to where the native library is decompressed on disk.</param>
/// <param name="intermediateDecompressionDir"></param>
/// <returns>True if a native library was successfully found. Otherwise false, and an error will have been printed to the log.</returns>
public static bool TryResolveXCFramework (TaskLoggingHelper log, string targetFrameworkMoniker, bool isSimulator, string? architectures, string resourcePath, string xcframework, string intermediateDecompressionDir, List<string> createdFiles, [NotNullWhen (true)] out string? nativeLibraryPath)
{
nativeLibraryPath = null;
try {
if (!TryGetInfoPlist (log, resourcePath, xcframework, out var plist))
return false;
var isCompressed = CompressionHelper.IsCompressed (resourcePath);
var xcframeworkPath = isCompressed ? resourcePath : Path.Combine (resourcePath, xcframework);
if (!TryResolveXCFramework (log, plist, xcframeworkPath, targetFrameworkMoniker, isSimulator, architectures!, out var nativeLibraryRelativePath))
return false;
if (!isCompressed) {
nativeLibraryPath = Path.Combine (resourcePath, xcframework, nativeLibraryRelativePath);
return true;
}
var zipResource = Path.Combine (xcframework, Path.GetDirectoryName (nativeLibraryRelativePath));
if (!CompressionHelper.TryDecompress (log, resourcePath, zipResource, intermediateDecompressionDir, createdFiles, out var decompressedPath))
return false;
nativeLibraryPath = Path.Combine (intermediateDecompressionDir, xcframework, nativeLibraryRelativePath);
return true;
} catch (Exception) {
log.LogError (MSBStrings.E0174, resourcePath);
}
return false;
}
/// <summary>
/// Resolve an xcframework into a native library for a given platform.
/// </summary>
/// <param name="log">The log to log any errors and/or warnings.</param>
/// <param name="plist">The plist inside the xcframework.</param>
/// <param name="xcframeworkPath">The path to the xcframework. This is only used for error messages, so it can also point to a compressed xcframework.</param>
/// <param name="isSimulator">If we're targeting the simulator</param>
/// <param name="targetFrameworkMoniker">The target framework moniker.</param>
/// <param name="architectures">The target architectures</param>
/// <param name="frameworkPath">A relative path to the resolved native library within the xcframework.</param>
/// <returns>True if a native library was successfully found. Otherwise false, and an error will have been printed to the log.</returns>
internal static bool TryResolveXCFramework (TaskLoggingHelper log, PDictionary plist, string xcframeworkPath, string targetFrameworkMoniker, bool isSimulator, string architectures, [NotNullWhen (true)] out string? nativeLibraryPath)
{
nativeLibraryPath = null;
var platform = PlatformFrameworkHelper.GetFramework (targetFrameworkMoniker);
string platformName;
switch (platform) {
case ApplePlatform.MacCatalyst:
platformName = "ios";
break;
case ApplePlatform.MacOSX:
// PlatformFrameworkHelper.GetOperatingSystem returns "osx" which does not work for xcframework
platformName = "macos";
break;
default:
platformName = PlatformFrameworkHelper.GetOperatingSystem (targetFrameworkMoniker);
break;
}
string? variant;
if (platform == ApplePlatform.MacCatalyst) {
variant = "maccatalyst";
} else if (isSimulator) {
variant = "simulator";
} else {
variant = null;
}
// plist structure path_to_url#infoplist
var bundle_package_type = (PString?) plist ["CFBundlePackageType"];
if (bundle_package_type?.Value != "XFWK") {
log.LogError (MSBStrings.E0174 /* The xcframework {0} has an incorrect or unknown format and cannot be processed. */, xcframeworkPath);
return false;
}
var available_libraries = plist.GetArray ("AvailableLibraries");
if ((available_libraries is null) || (available_libraries.Count == 0)) {
log.LogError (MSBStrings.E0174 /* The xcframework {0} has an incorrect or unknown format and cannot be processed. */, xcframeworkPath);
return false;
}
var archs = architectures.Split (new char [] { ',', ' ' }, StringSplitOptions.RemoveEmptyEntries);
foreach (PDictionary item in available_libraries) {
var supported_platform = (PString?) item ["SupportedPlatform"];
if (!string.Equals (supported_platform?.Value, platformName, StringComparison.OrdinalIgnoreCase))
continue;
// optional key
var supported_platform_variant = (PString?) item ["SupportedPlatformVariant"];
if (supported_platform_variant?.Value != variant)
continue;
var supported_architectures = (PArray?) item ["SupportedArchitectures"];
// each architecture we request must be present in the xcframework
// but extra architectures in the xcframework are perfectly fine
foreach (var arch in archs) {
bool found = false;
foreach (PString xarch in supported_architectures!) {
found = String.Equals (arch, xarch.Value, StringComparison.OrdinalIgnoreCase);
if (found)
break;
}
if (!found) {
log.LogError (MSBStrings.E0175 /* No matching framework found inside '{0}'. SupportedPlatform: '{0}', SupportedPlatformVariant: '{1}', SupportedArchitectures: '{2}'. */, xcframeworkPath, platformName, variant, architectures);
return false;
}
}
var library_path = (PString?) item ["LibraryPath"];
var library_identifier = (PString?) item ["LibraryIdentifier"];
nativeLibraryPath = GetActualLibrary (Path.Combine (library_identifier!, library_path!));
return true;
}
log.LogError (MSBStrings.E0175 /* No matching framework found inside '{0}'. SupportedPlatform: '{0}', SupportedPlatformVariant: '{1}', SupportedArchitectures: '{2}'. */, xcframeworkPath, platformName, variant, architectures);
return false;
}
public void Cancel ()
{
if (ShouldExecuteRemotely ())
BuildConnection.CancelAsync (BuildEngine4).Wait ();
}
public bool ShouldCopyToBuildServer (ITaskItem item) => true;
public bool ShouldCreateOutputFile (ITaskItem item)
{
// Don't copy any files to Windows, because
// 1. They're not used in Inputs/Outputs, so the lack of them won't affect anything
// 2. They may be directories, and as such we'd have to expand them to (potentially numerous and large) files to copy them (uselessly) to Windows.
// 3. They may contain symlinks, which may not work correctly on Windows.
return false;
}
public IEnumerable<ITaskItem> GetAdditionalItemsToBeCopied ()
{
var rv = new List<ITaskItem> ();
rv.AddRange (CreateItemsForAllFilesRecursively (NativeReferences));
foreach (var reference in References) {
var resourcesPackage = Path.Combine (Path.GetDirectoryName (reference.ItemSpec), Path.GetFileNameWithoutExtension (reference.ItemSpec)) + ".resources";
if (Directory.Exists (resourcesPackage)) {
var resources = CreateItemsForAllFilesRecursively (new string [] { resourcesPackage });
rv.AddRange (resources);
continue;
}
var zipPackage = resourcesPackage + ".zip";
if (File.Exists (zipPackage))
rv.Add (new TaskItem (zipPackage));
}
return rv;
}
}
}
``` |
The Dutch Ladies Open is a women's professional golf tournament on the Ladies European Tour that is played in the Netherlands. It was first played in 1986, and annually from 2004 to 2015. It resumed play in 2021.
Winners
References
External links
Ladies European Tour
Ladies European Tour events
Golf tournaments in the Netherlands
Recurring sporting events established in 1986 |
```java
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*
*/
package com.haulmont.cuba.core.entity;
/**
* Interface to be implemented by optimistically locked entities.
*
*/
public interface Versioned {
Integer getVersion();
/**
* Do not set version if you are not sure - it must be null for a new entity or loaded from the database
* for a persistent one.
*/
void setVersion(Integer version);
}
``` |
Sir Lucas Pepys, 1st Baronet (; 1742–1830) was an English physician.
Life
The son of William Pepys, a banker, and his wife Hannah, daughter of Dr. Richard Russell of Brighton, was born in London on 26 May 1742. He was educated at Eton College and at Christ Church, Oxford, whence he graduated B.A. on 9 May 1764. He then studied medicine at Edinburgh, and afterwards graduated at Oxford, M.A. on 13 May 1767, M.B. on 30 April 1770, and M.D. on 14 June 1774.
Before his M.B. degree, Pepys obtained a license to practice from the University of Oxford, took a house in London, and on 10 February 1769 was elected physician to the Middlesex Hospital, and held office for seven years. In the summer he used to practise at Brighton. He was elected a fellow of the Royal College of Physicians on 30 September 1775, was censor in 1777, 1782, 1786, and 1796, treasurer from 1788 to 1798, and president from 1804 to 1810. In 1777 he was appointed physician-extraordinary to the king, and in 1792 physician-in-ordinary. He was created a baronet on 22 January 1784. Pepys was elected a Fellow of the Royal Society in 1780.
Pepys attended George III in his mental disorder of 1788–9, and in that of 1804. He was examined on the subject of the king's health by a committee of the House of Commons on 7 January 1789. He then thought it likely that the king would recover in time, and stated that he had observed signs of improvement. He attended two days a week at Kew Palace, where the king was, from four in the afternoon till eleven the next morning, having a consultation often either with Sir George Baker or Dr. Richard Warren.
In 1794 Pepys was made physician-general to the army, and was president of an army medical board, on which it was his duty to nominate all the army physicians. When so many soldiers fell ill of fever at Walcheren, he was ordered to go there and report. As a consequence the board was abolished; but Pepys was granted a pension.
Pepys had a large practice, and after Edward Jenner's discovery he was an active supporter of the National Vaccine Institution. His house was in Park Street, Grosvenor Square, and he died there on 17 June 1830.
He was described as a man "of great firmness and determination, but somewhat dictatorial in his manner".
Works
Pepys's only published work was the Latin preface to the London Pharmacopœia of 1809.
Family
Pepys married, on 30 October 1772, Jane Elizabeth Leslie, 12th Countess of Rothes in her own right, and widow of George Evelyn of St Clere, Kent, and had by her two sons, Charles and Henry, and a daughter, Harriet, who married William Courtenay, 10th Earl of Devon. He married again, on 29 June 1813, Deborah, daughter of Dr. Anthony Askew and his second wife Elizabeth Holford, who survived him. Each of his sons, who took their mother's family name, succeeded to the baronetcy in turn.
Like her husband, Lady Rothes was a strong and determined character, who fought a lengthy legal battle against her uncle Andrew Leslie to assert her right to succeed her brother, the 11th Earl, as Countess suo jure.
Notes
External links
Attribution
1742 births
1830 deaths
18th-century English medical doctors
Medical doctors from London
People educated at Eton College
Alumni of Christ Church, Oxford
Alumni of the University of Edinburgh
Fellows of the Royal College of Physicians
Fellows of the Royal Society
Baronets in the Baronetage of Great Britain
19th-century English medical doctors
Physicians-in-Ordinary |
```python
import json
from django.conf import settings
from django.contrib.auth.views import redirect_to_login
from django.http import HttpResponseNotFound, HttpResponseForbidden
from django.http import HttpResponse
from django.template import loader
from django.urls import reverse
from django.views.decorators.csrf import csrf_exempt
from rest_framework.exceptions import AuthenticationFailed
from strawberry.django.views import GraphQLView
from netbox.api.authentication import TokenAuthentication
from netbox.config import get_config
class NetBoxGraphQLView(GraphQLView):
"""
Extends strawberry's GraphQLView to support DRF's token-based authentication.
"""
graphiql_template = 'graphiql.html'
@csrf_exempt
def dispatch(self, request, *args, **kwargs):
config = get_config()
# Enforce GRAPHQL_ENABLED
if not config.GRAPHQL_ENABLED:
return HttpResponseNotFound("The GraphQL API is not enabled.")
# Attempt to authenticate the user using a DRF token, if provided
if not request.user.is_authenticated:
authenticator = TokenAuthentication()
try:
auth_info = authenticator.authenticate(request)
if auth_info is not None:
request.user = auth_info[0] # User object
except AuthenticationFailed as exc:
return HttpResponseForbidden(exc.detail)
# Enforce LOGIN_REQUIRED
if settings.LOGIN_REQUIRED and not request.user.is_authenticated:
if request.accepts("text/html"):
return redirect_to_login(reverse('graphql'))
else:
return HttpResponseForbidden("No credentials provided.")
return super().dispatch(request, *args, **kwargs)
def render_graphql_ide(self, request):
template = loader.get_template("graphiql.html")
context = {"SUBSCRIPTION_ENABLED": json.dumps(self.subscriptions_enabled)}
return HttpResponse(template.render(context, request))
``` |
Don Gregorio Pelaéz Sports Complex is a group of sports facilities in Cagayan de Oro. This sports center was built in 1969 and hosted the first Palarong Pambansa in Mindanao in 1975. It is the oldest sports park in Northern Mindanao and it first opened its door to baseball and basketball in 1970. Also, the stadium was the largest in Mindanao since 1998 after its renovation. It has a seating capacity of 20,000.
Sports Event
1975, 1977, 1978, 1988 Palarong Pambansa
2002 Mindanao Friendship games
Milo Little Olympics - Mindanao (Since 1997)
2008 Philippine Olympic Festival & National Championships
2010 National Milo Little Olympics
2011 PFF–Smart Club Championships (elimination round)
2014 Mindanao Unity Games (INC)
See also
Cagayan de Oro
References
Buildings and structures in Cagayan de Oro
Sports complexes in the Philippines
Football venues in the Philippines
Sports in Misamis Oriental |
```c
/* $OpenBSD: util.c,v 1.28 2023/12/20 15:36:36 otto Exp $ */
/*
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <fcntl.h>
#include <limits.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
#include "ntpd.h"
double
gettime_corrected(void)
{
return (gettime() + getoffset());
}
double
getoffset(void)
{
struct timeval tv;
if (adjtime(NULL, &tv) == -1)
return (0.0);
return (tv.tv_sec + 1.0e-6 * tv.tv_usec);
}
double
gettime(void)
{
struct timeval tv;
if (gettimeofday(&tv, NULL) == -1)
fatal("gettimeofday");
return (gettime_from_timeval(&tv));
}
double
gettime_from_timeval(struct timeval *tv)
{
/*
* Account for overflow on OSes that have a 32-bit time_t.
*/
return ((uint64_t)tv->tv_sec + JAN_1970 + 1.0e-6 * tv->tv_usec);
}
time_t
getmonotime(void)
{
struct timespec ts;
if (clock_gettime(CLOCK_MONOTONIC, &ts) != 0)
fatal("clock_gettime");
return (ts.tv_sec);
}
void
d_to_tv(double d, struct timeval *tv)
{
tv->tv_sec = d;
tv->tv_usec = (d - tv->tv_sec) * 1000000;
while (tv->tv_usec < 0) {
tv->tv_usec += 1000000;
tv->tv_sec -= 1;
}
}
double
lfp_to_d(struct l_fixedpt lfp)
{
double base, ret;
lfp.int_partl = ntohl(lfp.int_partl);
lfp.fractionl = ntohl(lfp.fractionl);
/* see comment in ntp.h */
base = NTP_ERA;
if (lfp.int_partl <= INT32_MAX)
base++;
ret = base * SECS_IN_ERA;
ret += (double)(lfp.int_partl) + ((double)lfp.fractionl / L_DENOMINATOR);
return (ret);
}
struct l_fixedpt
d_to_lfp(double d)
{
struct l_fixedpt lfp;
while (d > SECS_IN_ERA)
d -= SECS_IN_ERA;
lfp.int_partl = htonl((u_int32_t)d);
lfp.fractionl = htonl((u_int32_t)((d - (u_int32_t)d) * L_DENOMINATOR));
return (lfp);
}
double
sfp_to_d(struct s_fixedpt sfp)
{
double ret;
sfp.int_parts = ntohs(sfp.int_parts);
sfp.fractions = ntohs(sfp.fractions);
ret = (double)(sfp.int_parts) + ((double)sfp.fractions / S_DENOMINATOR);
return (ret);
}
struct s_fixedpt
d_to_sfp(double d)
{
struct s_fixedpt sfp;
sfp.int_parts = htons((u_int16_t)d);
sfp.fractions = htons((u_int16_t)((d - (u_int16_t)d) * S_DENOMINATOR));
return (sfp);
}
char *
print_rtable(int r)
{
static char b[11];
b[0] = 0;
if (r > 0)
snprintf(b, sizeof(b), "rtable %d", r);
return (b);
}
const char *
log_sockaddr(struct sockaddr *sa)
{
static char buf[NI_MAXHOST];
if (getnameinfo(sa, SA_LEN(sa), buf, sizeof(buf), NULL, 0,
NI_NUMERICHOST))
return ("(unknown)");
else
return (buf);
}
const char *
log_ntp_addr(struct ntp_addr *addr)
{
if (addr == NULL)
return ("(unknown)");
return log_sockaddr((struct sockaddr *)&addr->ss);
}
pid_t
start_child(char *pname, int cfd, int argc, char **argv)
{
char **nargv;
int nargc, i;
pid_t pid;
/* Prepare the child process new argv. */
nargv = calloc(argc + 3, sizeof(char *));
if (nargv == NULL)
fatal("%s: calloc", __func__);
/* Copy the program name first. */
nargc = 0;
nargv[nargc++] = argv[0];
/* Set the process name and copy the original args. */
nargv[nargc++] = "-P";
nargv[nargc++] = pname;
for (i = 1; i < argc; i++)
nargv[nargc++] = argv[i];
nargv[nargc] = NULL;
switch (pid = fork()) {
case -1:
fatal("%s: fork", __func__);
break;
case 0:
/* Prepare the parent socket and execute. */
if (cfd != PARENT_SOCK_FILENO) {
if (dup2(cfd, PARENT_SOCK_FILENO) == -1)
fatal("dup2");
} else if (fcntl(cfd, F_SETFD, 0) == -1)
fatal("fcntl");
execvp(argv[0], nargv);
fatal("%s: execvp", __func__);
break;
default:
/* Close child's socket end. */
close(cfd);
break;
}
free(nargv);
return (pid);
}
int
sanitize_argv(int *argc, char ***argv)
{
char **nargv;
int nargc;
int i;
/*
* We need at least three arguments:
* Example: '/usr/sbin/ntpd' '-P' 'foobar'.
*/
if (*argc < 3)
return (-1);
*argc -= 2;
/* Allocate new arguments vector and copy pointers. */
nargv = calloc((*argc) + 1, sizeof(char *));
if (nargv == NULL)
return (-1);
nargc = 0;
nargv[nargc++] = (*argv)[0];
for (i = 1; i < *argc; i++)
nargv[nargc++] = (*argv)[i + 2];
nargv[nargc] = NULL;
*argv = nargv;
return (0);
}
``` |
Coralliophila persica is a species of sea snail, a marine gastropod mollusk, in the family Muricidae, the murex snails or rock snails.
References
persica
Gastropods described in 1897 |
Uniejów is a spa town in Poddębice County, Łódź Voivodeship in central Poland, with 2,957 inhabitants (2020). It is the seat of the local government of Gmina Uniejów.
The town lies in northwestern corner of Poddębice County, near the border with Greater Poland Voivodeship. Uniejów is known for its Thermal Park and the 14th-century castle with a landscape park (), regarded as one of the best preserved parks of central Poland.
History
The history of the town dates back to the early years of Polish statehood. Mentioned as Uneievo in a bull of Pope Innocent II (1136), Uniejów is one of the oldest towns of Poland. At that time it belonged to the Archbishops of Gniezno, and received its town charter most likely before 1290. The first Archbishop residing mainly in Uniejów in the city was Bogumilus in the 12th century. In the late 13th century, Archbishop Jakub Świnka founded Church of the Holy Spirit and a hospital, and in 1331, Uniejów was burned by the Teutonic Knights. The town was rebuilt, and in the late 14th-early 15th century, it was a local center of commerce and crafts. For centuries, Uniejów enjoyed several privileges, granted to it by the Archbishops of Gniezno. In 1360–1365, a defensive castle was built here. It became one of residences of the Archbishops, here several councils and meetings took place. The first synod of the Polish Catholic church was held in Uniejów in 1376. In 1520, Archbishop and Primate of Poland Jan Łaski merged the Old Town, New Town and suburbs into one entity. In the 16th century the town lost its importance after the Primates of Poland built new residences in Łowicz and Skierniewice.
Like many Polish cities, Uniejów declined after the mid-17th century Swedish invasion of Poland. The castle was ransacked, and the town itself was burned. There also were two dangerous fires, in 1736 and 1790, and after the Congress of Vienna (1815), the town became part of Russian-controlled Congress Poland, where it remained until World War I. In 1836, Uniejów was granted to a Tsarist General Karl Wilhelm von Toll. During the January Uprising, it was the site of a battle between Polish insurgents and Russian troops on October 12, 1863. As punishment for the unsuccessful uprising, Uniejów was one of many towns stripped of its town charter in 1870. In 1919 Uniejów again became a town after Poland regained independence in 1918.
In September 1939, during the German invasion of Poland, which started World War II, Polish units of Poznań Army resisted here the advancing Wehrmacht. During the heavy fighting, Uniejów was partially burned. In revenge for the Polish defense, the Germans carried out two massacres of Polish inhabitants, killing 36 and 14 people respectively on September 6 and 8. The Jewish population of Uniejów, numbering slightly over 1,000 was immediately brutalized by the invaders, kidnapped for forced labor, beaten, and robbed. In 1940, they were moved into a ghetto in the more decrepit part of town and the following year, the entire Jewish population of around 500 was forced to live in four buildings. Some able bodied men were sent to work camps near Poznań. In April 1940, the Germans arrested local Polish teachers. The local school principal and teachers were among Polish teachers murdered in the Mauthausen concentration camp. In June 1940, the Germans expelled 88 Poles, whose homes were handed over to German colonists as part of the Lebensraum policy. In October 1941, all the community's Jewish population was sent to a ghetto in Kowale Pańskie where in July 1942 most were sent to the Chełmno extermination camp where they were immediately gassed. A few were sent to the Łódź Ghetto. There were few survivors among Uniejów's Jewish population, perhaps around 20. Men of the nationalist Polish underground murdered one survivor in the Turek Forest in late 1945, months after the war ended.
Currently, Uniejów is a spa and tourist destination, due to its landscape park and geothermal waters. The town has several restaurants, hotel located in the castle, and other amenities. There also are walking and bicycle trails. Among sights are Gothic castle (built in 1360-1365 by Archbishop Jaroslaw of Bogoria and Skotnik, restored in 1956–67), collegiate with a 14th-century Gothic presbytery, neo-Baroque church tower (1901), Classicistic manor house (1845). The village of Spycimierz, with its ancient Slavic gord, lies away.
Thermal spa
Geothermal water exploited by Uniejów Municipality has been used in balneotherapy since the 1990s. Positive opinions of people using the thermal bath, the natural and landscape potential of the Municipality, its tourist and recreational values prompted the local authorities to apply for the status of a health resort. The milestones:
In 2008 the National Institute of Public Health -National Institute of Hygiene issued a certificate on the healing properties of water from the PIG / AGH-2 spring.
In the same year, a certificate was issued confirming the healing properties of the Uniejów climate together with an assessment of bioclimatic conditions, as well as a climatic survey, developed by Stanisław Leszczycki Institute of Geography and Spatial Management – Polish Academy of Sciences in Warsaw.
Based on these documents in 2011, a positive opinion for Uniejów resort was issued - the main document of the spa resort.
In the same year, the Minister of Health issued a decision confirming the possibility of spa treatment in the Municipality of Uniejów. The following diseases can be treated here: orthopedic and traumatic, nervous, rheumatological, peripheral nervous system, skin.
In 2012, the Prime Minister signed a regulation on granting the status of a health resort to the town of Uniejów together with the villages of: Spycimierz, Spycimierz-Kolonia, Zieleń and Człopy.
Due to the fact that the basis for spa treatment in Uniejów is geothermal water, the town of Uniejów has been given the status of a "thermal spa".
Places of interest
Uniejów Castle and castle park: the castle tower, the yard and the underground room are opened to visitors. Guided tours are available. The tower is accessible from April to the end of November. The visitors can take a walk through the 19th century English landscape garden with various nature monuments.
The 14th-century collegiate church located near the market square. The elements that are of the greatest historic importance include the 14th-century cross-ribbed vaulting, and the bronze sarcophagus, dating back to 1666, of St. Bogumił. The chapel and the sarcophagus have been renovated recently. The archbishop's relics are still kept in the collegiate. Near the church there is the 25-metre-high neo-Baroque bell tower.
Uniejów Thermal Park: consists of a number of both outdoor and indoor thermal pools. The water temperature is 33 °C in summer and 35 °C in winter. The buildings are entirely heated with geo-thermal energy. Uniejów Thermal Park was awarded in the prestigious “The Seven Wonders of Poland” competition which has been organized by the National Geographic Traveler (Polish edition). It is open to visitors 365 days in a year.
Gallery
References
External links
Official website of Uniejów municipality
Uniejów Thermal Spa
Cities and towns in Łódź Voivodeship
Poddębice County
Spa towns in Poland
Sieradz Voivodeship (1339–1793)
Kalisz Governorate
Łódź Voivodeship (1919–1939)
Poznań Voivodeship (1921–1939) |
```java
package com.yahoo.vespa.service.model;
import com.yahoo.jdisc.Metric;
import com.yahoo.jdisc.Timer;
import org.junit.Test;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
public class ServiceMonitorMetricsTest {
@Test
public void testTryWithResources() {
Metric metric = mock(Metric.class);
Timer timer = mock(Timer.class);
ServiceMonitorMetrics metrics = new ServiceMonitorMetrics(metric, timer);
when(timer.currentTimeMillis()).thenReturn(Long.valueOf(500), Long.valueOf(1000));
try (LatencyMeasurement measurement = metrics.startServiceModelSnapshotLatencyMeasurement()) {
measurement.hashCode();
}
verify(metric).set("serviceModel.snapshot.latency", 0.5, null);
}
}
``` |
Serhiy Larin () (born 11 January 1962, Khartsyzk) is a Ukrainian politician and electrical engineer.
Larin has been (except between April 2010 and November 2014) a member of the Ukrainian parliament since the 1998 Ukrainian parliamentary election for the People's Democratic Party, For United Ukraine! (2002 election), Party of Regions (2006 and 2007 election) and in the 2014 Ukrainian parliamentary election for the Opposition Bloc and in the 2019 Ukrainian parliamentary election for Opposition Platform — For Life. In April 2010 President Viktor Yanukovych appointed Larin Governor of Kirovohrad Oblast. Larin was appointed Deputy Head of Yanukovych's Presidential Administration of Ukraine on 9 January 2013 (the administration was led by Serhiy Lyovochkin). On 26 February 2014 a decree of acting President Oleksandr Turchynov dismissed Larin as Deputy Head of the Presidential Administration. On 21 April 2022 Larin joined the Platform for Life and Peace parliamentary group consisting of mostly former Opposition Platform — For Life deputies.
References
External links
Serhiy Larin at the Official Ukraine Today portal
1962 births
Living people
People from Khartsyzk
Governors of Kirovohrad Oblast
People's Democratic Party (Ukraine) politicians
Party of Regions politicians
Opposition Bloc politicians
Opposition Platform — For Life politicians
Ninth convocation members of the Verkhovna Rada
Eighth convocation members of the Verkhovna Rada
Sixth convocation members of the Verkhovna Rada
Fifth convocation members of the Verkhovna Rada
Fourth convocation members of the Verkhovna Rada
Third convocation members of the Verkhovna Rada |
The Shepherd's Life: A Tale of the Lake District is an autobiographical book by James Rebanks, a sheep farmer from Matterdale, Cumbria, England, published by Allen Lane in 2015.
Rebanks writes that he was moved and inspired by another book with almost the same title, A Shepherd's Life by W.H. Hudson, who wrote about sheep-farming in Wiltshire in the early years of the 20th century.
Rebanks describes the traditional way of life of shepherds on the Cumbrian fells and vales, and his determination to continue to farm where generations of his forebears had done. After an unsuccessful school education, he studied for A levels in evening classes and graduated from Magdalen College, Oxford University, with a double first in history before returning to farming.
Other editions
The book appeared in the United States as The Shepherd's Life: Modern Dispatches from an Ancient Landscape (Flatiron books, ). There is also a large print edition, with the same title, by Thorndike Press . A German translation Mein Leben als Schäfer was published in 2016 (Bertelsmann:
Critical reception
Rebanks' book was well-received and was the BBC Radio 4 Book of the Week in April 2015.
Theatrical adaptation
The book was adapted for the stage by Chris Monks and produced at Theatre by the Lake, Keswick, in March 2016. The theatrical production included life-sized puppet sheepdogs and sheep, with James being played by Kieran Hill.
References
External links
2015 non-fiction books
British memoirs
Agriculture books
Nature books
Books about the Lake District
Allen Lane (imprint) books
Memoirs adapted for other media
Books adapted into plays |
Yisrael Yeshayahu Sharabi (; 20 April 1908 – 20 June 1979) was an Israeli politician, minister and the fifth Speaker of the Knesset.
Biography
Born in Sadeh, Yemen, to a Jewish weaver by trade, he was sent to Sana'a at an early age where he studied under Rabbi Yihya Qafih (d. 1931). Yeshayahu soon became a member of the Dor Daim movement, before making aliyah in 1929. He became head of the Yemenite Immigrant and Eastern Jewry Department of the Histadrut in 1934, a position he retained until 1948 when he started organizing the immigration of Yemenite Jews, including Operation Magic Carpet.
A member of the Tel Aviv Workers Council, he was also a delegate to the Zionist Congress and the Assembly of Representatives. He served Deputy Secretary of Government and communications officer between the Government and the Knesset between 1948 and 1949.
He narrowly missed out on being elected to the first Knesset in 1949, but entered it in 1951 after the death of Knesset and Mapai party member Avraham Tabib, and was suddenly advanced from the seventy-seventh ranking member of the Mapai party to the twenty-ninth ranking member, displacing Aryeh Sheftel. Yeshayahu retained his seat in the Israeli Parliament (Knesset) in every election for the next twenty-six years, until 1977. He was appointed Minister of Postal Services in 1967, a role he retained until the 1969 elections. After serving as Secretary General of the Labour Party between 1971 and 1972, he was made Speaker of the Knesset in 1972, a role he retained until 1977.
At the age of twelve, he studied under the great Yemenite Rabbi and scholar, Yosef Qafih. In Yemen, he belonged to the Baladi-rite congregations of Yemenite Jews and active in the Dor Daim community, although he was originally from a community that embraced the Shami-rite. Yisrael Yeshayahu co-edited a book with Aharon Tzadok in 1945.
References
External links
1908 births
1979 deaths
Yemeni emigrants to Mandatory Palestine
Yemenite Jews
Israeli people of Yemeni-Jewish descent
Alignment (Israel) politicians
Israeli Labor Party politicians
Mapai politicians
Members of the Assembly of Representatives (Mandatory Palestine)
Members of the 1st Knesset (1949–1951)
Members of the 2nd Knesset (1951–1955)
Members of the 3rd Knesset (1955–1959)
Members of the 4th Knesset (1959–1961)
Members of the 5th Knesset (1961–1965)
Members of the 6th Knesset (1965–1969)
Members of the 7th Knesset (1969–1974)
Members of the 8th Knesset (1974–1977)
Speakers of the Knesset
Ministers of Communications of Israel |
Lipiany is a village in the administrative district of Gmina Bolesławiec, within Bolesławiec County, Lower Silesian Voivodeship, in south-western Poland.
It lies approximately north-east of Bolesławiec, and west of the regional capital Wrocław.
References
Lipiany |
Lionello is a given name. Notable people with the name include:
Given name:
Lionello Bononi, Italian of the Baroque period
Lionello Cecil (1893–1957), Australian operatic tenor
Lionello d'Este (1407–1450), marquis of Ferrara and Duke of Modena and Reggio Emilia from 1441 to 1450
Lionello Grifo (born 1934), Italian poet and writer
Lionello Levi Sandri (1910–1991), Italian politician and European Commissioner
Lionello Manfredonia (born 1956), Italian former footballer
Lionello Spada (1576–1622), Italian painter of the Baroque period
Surname:
Alberto Lionello (1930–1994), Italian film actor
Luca Lionello (born 1964), Italian actor
Oreste Lionello (1927–2009), Italian actor and voice dubbing artist
it:Lionello |
Den sommeren jeg fylte 15 () is a 1976 Norwegian drama film directed by Knut Andersen, starring Steffen Rothschild, and music composed by Eyvind Solås. The film is based on Knut Faldbakken's novel Insektsommer (Insect Summer). Peter (Rothschild), who was a teenager in the 1950s, is reminiscing about the days of his youth, and his awakening sexuality.
External links
Cellofan – med døden til følge at the Norwegian Film Institute
1976 films
1976 drama films
Films directed by Knut Andersen
Norwegian drama films
Teensploitation
1970s Norwegian-language films
no: |
The Microbotryomycetes are a class of fungi in the subdivision Pucciniomycotina of the Basidiomycota. The class currently contains eight orders, plus three additional, unassigned families (Chrysozymaceae, Colacogloeaceae, and Mycogloiocolacaceae), plus seven additional, unassigned genera (Oberwinklerozyma, Pseudohyphozyma, Reniforma, Spencerozyma, Trigonosporomyces, Vonarxula, and Yunzhangia). Many species are known only from their yeast states. Species with hyphal states typically produce auricularioid (laterally septate) basidia and are often parasitic on other fungi or plants. Several species in the genera Rhodotorula and Sporobolomyces are opportunistic human pathogens.
References
Basidiomycota classes
Pucciniomycotina
Taxa named by Franz Oberwinkler
Taxa described in 2006 |
Robert Joseph Weston (1 November 1947 – ) was a British rock guitarist, who was a member of Fleetwood Mac in the early 1970s. He also recorded and performed with a number of other musicians, including Graham Bond, Long John Baldry, Murray Head, Sandy Denny, and Danny Kirwan.
Early life and career
Weston was born in Plymouth in the county of Devon on 1 November 1947 to a Royal Navy service family. In his childhood he learned to play the violin, switching to the guitar at the age of 12, being influenced by the music of American blues artists such as John Lee Hooker and Muddy Waters.
Moving to London from Devon in the mid-1960s (he retained a soft West Country burr to his voice for the rest of his life), in 1967 he became the lead-guitarist with a mod-beat band called The Kinetic, which was based at the time in Paris, playing as a support act to Jimi Hendrix and Chuck Berry gigs in France. The band signed to the French label Disques Vogue and released into the French market a long-player entitled Live Your Life (1967), with Weston being the band's principal songwriter, and two EP's, Live Your Life (1967), and Suddenly Tomorrow (1967). The Suddenly Tomorrow EP drew notices in the British music press to the act as having commercial potential, but no more recordings appeared, and it disbanded within a couple of years of its formation.
After The Kinetic had broken up, having returned to London from Paris, in April 1968 Weston joined the British blues heavy rock band Black Cat Bones, replacing Paul Kossoff as its lead-guitarist, and played with it until quitting the act at the end of the year. In the late 1960s and early 1970s, Weston worked as a session musician, performing and recording with a number of acts of the then in vogue British blues movement, including Graham Bond and Long John Baldry, and touring in continental Europe and America. In 1971 he was performing with the Southern Rock act Ashman Reynolds as its lead guitarist and songwriter on its long-player release Stop Off (1972).
Fleetwood Mac
In 1972, Weston was a resident in Ealing in West London, when he joined the British blues rock band Fleetwood Mac as its co-lead guitarist alongside Bob Welch, as a replacement for the recently dropped Danny Kirwan. The band was aware of Weston's talent having seen him performing when Long John Baldry had regularly shared the same billing at venues with Fleetwood Mac, and when the guitar vacancy had arrived in Fleetwood Mac's line-up Weston was approached by the band with the offer of joining, which he agreed to in September.
In January 1973, Fleetwood Mac recorded the long-player Penguin. Weston played slide guitar on the song "Remember Me" and its harmonica and banjo tracks on "The Derelict". He also sang a duet with Christine McVie on the song "Did You Ever Love Me" and wrote the instrumental that closed the album, titled "Caught in the Rain". Later in 1973 the band recorded its next album titled Mystery to Me. Weston contributed more distinctive guitar work, such as the slide intro on the song "Why", and co-wrote the song "Forever" with Welch and John McVie. In retrospect, Weston felt that his contribution to the band's work in this period did not receive the formal recognition that it deserved.
During a tour of the United States in 1973 when the band were beginning to gel particularly well in its live performances, it emerged that Weston had started a clandestine romantic relationship with Mick Fleetwood's wife, Jenny Boyd. Fleetwood had got on well with Weston before this and tried to carry on with the arranged live performance schedule due to the legal and financial penalties that would be incurred by the band for a cancelled tour, but after a gig at Lincoln, Nebraska in October, he informed the band in Weston's absence that he was no longer willing to work with him. In consequence the band collectively agreed to drop Weston from the line-up, Weston being told about the decision by the act's tour manager, with the rest of the tour being abandoned by the remaining members. (It was this situation which gave rise to the "Bogus Fleetwood Mac" saga in which its manager Clifford Davis hired a new group of musicians, passed them off as Fleetwood Mac, and sent them out to complete the tour).
Weston's involvement in the band had an effect beyond purely the musical, as his relationship with Boyd had contributed to Bob Welch's departure from its line-up in 1974. This led to a vacancy filled by Lindsey Buckingham and Stevie Nicks, who brought to the band a more mainstream rock sound, which would in the late 1970s-1980s lead to its greater popularity and commercial success.
Later career
On his return to London in late 1973 from the aborted Fleetwood Mac tour, Weston was approached by George Harrison about a possible collaboration, but this did not develop into anything of a practical nature. Weston went on to record and tour in Europe and North America with Murray Head, playing on his second album Say It Ain't So (1975), for which he co-wrote the song "Silence Is a Strong Reply". In July 1975 he joined a newly formed band called the Steve Marriott All Stars, but when Marriott opted to play lead guitar himself, Weston departed in December of the same year, and for the remainder of his career worked primarily as a solo artist or as a session musician. In 1979 he played on Head's third album Between Us.
In 1979, Weston wrote and recorded a blues rock album titled Nightlight, which was produced by Alan Callan at Basing Street Studios and at Roundhouse Studio in London, and commercially released the following year through the French record label AZ International. However, with popular taste in music having moved on from the early 1970s, and British blues rock having become a small uncommercial niche market the record failed to enter the charts. A single, "Silver Arrow", was released, but also failed to sell well enough to chart.
In 1980, Weston recorded another blues rock album, Studio Picks, at Eel Pie Studios, produced again by Callan, featuring his own material and a cover of the Everly Brothers' "When Will I Be Loved". Mick Fleetwood played drums on one track, "Ford 44", the first time that he and Weston had worked together since the acrimony of 1973. The record was again released by AZ International in 1981, but like Nightlight it failed to enter the United Kingdom albums chart, and Weston's contract with the label was subsequently terminated. Also in 1981, Weston appeared as one of several guitarists in the music video for the Lindsey Buckingham solo hit "Trouble." He is seen in a line up of musicians, along with Bob Welch and Mick Fleetwood, accompanying Buckingham.
In 1985, Weston made a foray into mainstream pop music with a standalone single, "Desire", released by the French record company Underdog Records, but it also failed to chart and was his last solo commercial record.
With his career as a solo artist having failed to take off, Weston returned to working as a professional session musician in the 1980s, playing live on tour with a variety of acts, working in London studios, and intermittently in Europe and America. He played on Dick Morrissey's 1986 jazz album Souliloquy, writing one of its songs, and also worked in television music production. He was involved with the soundtrack for the French cinema film Diesel (1985), and acted as the musical director for the production of the British television film Palmer (1991).
In the 1990s, Weston retired from professional music for several years, returning to it at the end of the decade with a self-produced album called There's a Heaven (1999), which was engineered at Studio 125 in Burgess Hill and released independently.
In January 2008, Weston announced that he had started working on recording some new material at Markant Studios in the Netherlands. While working there he met Frank Baijens, a Dutch singer-songwriter who was recording his album Odd Man Out at the studio at the same time, and Weston played on one of the album's songs, "Where the Heart Belongs".
In his last years, Weston was resident in North West London, occasionally playing in impromptu sessions at The Duke of Hamilton public house and gigging with a local band called Mad Dog Bites.
Death
Weston, who lived alone in his final years, was found dead by police officers in his flat in Brent Cross in London on 3 January 2012. They had gained entry to the property after his friends had reported concerns over unexpectedly not hearing from him for several days. He was reported to have died on an unknown date from the effects of a gastrointestinal haemorrhage caused by cirrhosis. He was 64 years old.
Discography
Fleetwood Mac
Penguin (Reprise, 1973)
Mystery to Me (Reprise, 1973)
Solo albums
Night Light (AZ International, 1980)
Studio Picks (AZ International, 1981)
There's a Heaven (Private pressing, 1999)
Solo 7-inch singles
Silver Arrow (AZ International, 1980)
Desire (Underdog Records, 1985)
7" EPs with The Kinetic
Live Your Life (Disques Vogue, 1967)
Suddenly Tomorrow (Disques Vogue, 1967)
Appearances with other artists
The Kinetic – Live Your Life (1967)
Ashkan – In from the Cold (1969)
Chimera – Chimera (1970 – Re-released 2002)
Graham Bond – Bond in America (1971)
Ashman Reynolds – Stop Off (1972)
Long John Baldry – Everything Stops for Tea (1972)
Dana Gillespie – Ain't Gonna Play No Second Fiddle (1974)
Murray Head – Say It Ain't So (1975) (Co-wrote Silence Is a Strong Reply).
Sandy Denny – Rendezvous (1977)
Adrian Wagner – Instincts (1977)
Mark Ashton – Solo (1979)
Danny Kirwan – Hello There Big Boy! (1979)
Murray Head – Between Us (1979)
Robbie Patton – Distant Shores (1981)
Dick Morrissey – Souliloquy (1986)
Bob Welch and Friends – Live from the Roxy (2004)
Frank Baijens – Odd Man Out (2008)
References
External links
Bob Weston
Biography from The Fleetwood Mac Legacy
1947 births
2012 deaths
Musicians from Plymouth, Devon
English rock guitarists
Fleetwood Mac members
Deaths from gastrointestinal hemorrhage
British harmonica players
English male songwriters
English male singers
Lead guitarists
Slide guitarists
English banjoists
English male guitarists
English blues guitarists
English session musicians
Deaths from cirrhosis |
Honduras competed at the 2009 World Championships in Athletics from August 15-23 in Berlin.
Team selection
Track and road events
Results
Men
Women
References
External links
Official competition website
Nations at the 2009 World Championships in Athletics
World Championships in Athletics
Honduras at the World Athletics Championships |
```python
# your_sha256_hash___________
#
# Pyomo: Python Optimization Modeling Objects
# National Technology and Engineering Solutions of Sandia, LLC
# Under the terms of Contract DE-NA0003525 with National Technology and
# Engineering Solutions of Sandia, LLC, the U.S. Government retains certain
# rights in this software.
# your_sha256_hash___________
# ex1c.py
import pyomo.environ as pyo
from pyomo.mpec import ComplementarityList, complements
n = 5
model = pyo.ConcreteModel()
model.x = pyo.Var(range(1, n + 1))
model.f = pyo.Objective(expr=sum(i * (model.x[i] - 1) ** 2 for i in range(1, n + 1)))
def compl_(model):
yield complements(model.x[1] >= 0, model.x[2] >= 0)
yield complements(model.x[2] >= 0, model.x[3] >= 0)
yield complements(model.x[3] >= 0, model.x[4] >= 0)
yield complements(model.x[4] >= 0, model.x[5] >= 0)
model.compl = ComplementarityList(rule=compl_)
``` |
Pseudomonas alcaliphila is a psychrophilic, alkaliphilic, Gram-negative, aerobic straight rod bacterium with polar flagella isolated from sea water near Hokkaidō, Japan.
References
External links
Type strain of Pseudomonas alcaliphila at BacDive - the Bacterial Diversity Metadatabase
Pseudomonadales
Bacteria described in 2001 |
Joe Cameron Pritchard (born 10 September 1996) is an English professional footballer who plays as a midfielder for Accrington Stanley.
Career
Pritchard joined the Tottenham academy in July 2013 while there he suffered a knee injury that ruled him out for a year. He was released at the end of the 2017–18 season. Following his release from Spurs, Pritchard was signed on a free transfer by Bolton Wanderers in the EFL Championship. Pritchard made his debut on 9 February 2019 against Preston North End coming on in the 77th minute in place of Craig Noone.
On 30 May 2019, Pritchard joined Accrington Stanley on a two-year deal with the option of a further 12 months. Immediately after joining, Pritchard regularly featured in Accrington's starting lineup.
Career statistics
References
External links
1996 births
Tottenham Hotspur F.C. players
Bolton Wanderers F.C. players
Accrington Stanley F.C. players
Living people
Men's association football midfielders
English men's footballers
English Football League players
Footballers from Watford |
KJKE (93.3 FM, "93.3 Jake FM") is a radio station broadcasting a new country music format. Licensed to Newcastle, Oklahoma, the station serves the Oklahoma City metropolitan area. The station is owned by Tyler Media. The station's studios are located in Northeast Oklahoma City and a transmitter site is located in Newcastle.
History
KTEN-FM began broadcasting in Ada, Oklahoma, on April 12, 1971. The station became KTLS in 1984 and was acquired by the Post-Newsweek Cable division of The Washington Post Company in 1990 as part of a package deal with Ada's cable system.
Tyler Media acquired the then-adult contemporary outlet in 1995. Tyler moved the station into the Oklahoma City market and relaunched it as KKNG-FM, "King Country", in late 1997.
On March 14, 2010, the station debuted its present branding, "93.3 Jake FM". The call letters were also changed to the current KJKE to reflect the new brand.
References
External links
FCC History Cards for KJKE
JKE |
An analog board is a circuit board that contains the majority of analog circuitry in certain Apple Macintosh computers. The analog board was one of two circuit boards within many early Macintosh computers, including the Macintosh 128K/512K/Plus, Macintosh SE series, and Macintosh Classic series. The analog board contained several capacitors, a battery compartment, and some other analog circuitry. Some later all-in-one Macintosh computers also included analog boards, with the most recent being the iMac G3 and eMac. In these computers, the analog board functioned as the power supply to other parts within the system, and also functioned to control the CRT display within the computer. The other board was the logic board, which contained all of the computer's digital logic circuitry, such as the processor and memory.
See also
Logic board
Macintosh computers
Macintosh internals |
Pangborn Memorial Airport is in Douglas County, Washington, four miles east of Wenatchee, a city in Chelan County. The airport is owned by the Ports of Chelan and Douglas Counties.
The airport is used for general aviation and is served by one airline (Horizon Air), offering in-state service. SeaPort Airlines served the airport until winter 2012. As of September 28, 2006, Pangborn Memorial began supporting ILS (Instrument Landing System) approaches.
Pangborn Memorial Airport is named for Clyde Pangborn, who in 1931 was the first pilot to fly non-stop across the Pacific Ocean. Taking off from Misawa, Aomori, Japan with an intended destination of Seattle, he and his co-pilot, Hugh Herndon Jr., instead landed in Wenatchee.
Facilities
Pangborn Memorial Airport covers 665 acres (269 ha) at an elevation of 1,249 feet (381 m). It has two asphalt runways: 12/30, the only operational runway, is 7,000 by 150 feet (2,134 x 46 m). The former Runway 7/25 is closed; it was 4,460 by 75 feet (1,359 x 23 m).
History
In 2009, the FAA recommended and approved an expansion of the Pangborn runway to 7,000 feet.
Airline and destination
In the year ending December 31, 2017, the airport had 44,376 aircraft operations, average 121 per day: 89% general aviation, 5% air taxi, 5% airline and 1% military. 108 aircraft were then based at this airport: 82 single-engine, 7 multi-engine, 2 jet, 5 helicopter, 10 glider and 2 ultralight.
Passenger
In July 2018, Pangborn began working towards getting a direct flight to and from San Francisco.
Cargo
Statistics
Top destinations
References
External links
Pangborn Memorial Airport, official site
Pangborn Memorial Airport at WSDOT Aviation
Airports in Washington (state)
Transportation buildings and structures in Douglas County, Washington
Transportation in Chelan County, Washington
Buildings and structures in Wenatchee, Washington |
```powershell
Describe "Resolve types in additional referenced assemblies" -Tag CI {
It "Will resolve DirectoryServices type <name>" -TestCases @(
@{ typename = "[System.DirectoryServices.AccountManagement.AdvancedFilters]"; name = "AdvancedFilters" }
){
param ($typename, $name)
& "$PSHOME/pwsh" -noprofile -command "$typename.Name" | Should -BeExactly $name
}
}
``` |
```ruby
class MigrationHelper
class << self
def migrate(path)
ActiveRecord::MigrationContext.new(path, schema_migration).migrate
end
def rollback(path)
ActiveRecord::MigrationContext.new(path, schema_migration).rollback
end
private
def schema_migration
ActiveRecord::Base.connection.schema_migration
end
end
end
``` |
```java
/*
* 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.
*/
package org.apache.rocketmq.proxy.grpc.pipeline;
import com.google.protobuf.GeneratedMessageV3;
import io.grpc.Metadata;
import java.util.List;
import org.apache.rocketmq.auth.authentication.exception.AuthenticationException;
import org.apache.rocketmq.auth.authorization.AuthorizationEvaluator;
import org.apache.rocketmq.auth.authorization.context.AuthorizationContext;
import org.apache.rocketmq.auth.authorization.exception.AuthorizationException;
import org.apache.rocketmq.auth.authorization.factory.AuthorizationFactory;
import org.apache.rocketmq.auth.config.AuthConfig;
import org.apache.rocketmq.common.constant.LoggerName;
import org.apache.rocketmq.logging.org.slf4j.Logger;
import org.apache.rocketmq.logging.org.slf4j.LoggerFactory;
import org.apache.rocketmq.proxy.common.ProxyContext;
import org.apache.rocketmq.proxy.processor.MessagingProcessor;
public class AuthorizationPipeline implements RequestPipeline {
private static final Logger LOGGER = LoggerFactory.getLogger(LoggerName.PROXY_LOGGER_NAME);
private final AuthConfig authConfig;
private final AuthorizationEvaluator authorizationEvaluator;
public AuthorizationPipeline(AuthConfig authConfig, MessagingProcessor messagingProcessor) {
this.authConfig = authConfig;
this.authorizationEvaluator = AuthorizationFactory.getEvaluator(authConfig, messagingProcessor::getMetadataService);
}
@Override
public void execute(ProxyContext context, Metadata headers, GeneratedMessageV3 request) {
if (!authConfig.isAuthorizationEnabled()) {
return;
}
try {
List<AuthorizationContext> contexts = newContexts(context, headers, request);
authorizationEvaluator.evaluate(contexts);
} catch (AuthorizationException | AuthenticationException ex) {
throw ex;
} catch (Throwable ex) {
LOGGER.error("authorize failed, request:{}", request, ex);
throw ex;
}
}
protected List<AuthorizationContext> newContexts(ProxyContext context, Metadata headers, GeneratedMessageV3 request) {
return AuthorizationFactory.newContexts(authConfig, headers, request);
}
}
``` |
Human rights abuses in Assam have been compared to the situation of human rights abuses in other insurgency-affected areas of northeast India.
The Indian Army has conducted massive search operations in "thousands of villages in Assam" during which actions were taken against peoples that included civilians and young people of having militant sympathies. As per the Assamese villagers having sympathy for militants groups, has claimed that they have been threatened, harassed, raped, assaulted, and killed by soldiers who attempt to fright them into identifying "suspected militants. " Though proofs have been provided by the officials, the tribals claims that Arbitrary arrests and kidnappings by security forces are common in Assam. Deaths in custody have occurred due to torture as well as alleged encounters as per the allegations by locals many of whom are known to be supportive to Miitant organization and have supported violence by insurgents.
A Human Rights Watch report notes that journalists and human rights activists have been arrested for falsely reporting on human rights abuses. Assam continues to be one of the forefront states where the claims of human rights abuses have been committed by India. Resultant secessionist and pro-independence movements have intensified the political situation, with widespread allegations of human rights abuses being committed by Indian security forces yet without any concrete proofs for allegations. Freedom House stated in their 2013 report on India that journalists in rural areas and regions coping with insurgencies — including Assam — are vulnerable and face pressure from both sides of the conflicts.
Recruitment of child soldiers is common by separatists. It is estimated that 9-10% of insurgent soldiers are girls alone, numbering 3000-4000 with children as young as 12 years old.
It has also been established that separatist groups, including ULFA, from Assam have joined with dissidents from Bhutan; these links culminated in Blasts in Assam in October 2008 that killed 84 people.
See also
Indian general election, 2014 (Assam)
Insurgency in Northeast India
Human rights abuses in Kashmir
Human rights abuses in Jammu and Kashmir
Human rights abuses in Manipur
Human rights in India
References
Assam
Crime in Assam |
```python
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
'''Filter for error messages in test output:
- Receives merged stdout/stderr from test on stdin
- Finds patterns of known error messages for test name (first argument)
- Prints those error messages to stdout
'''
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import re
import sys
class ErrorParserBase(object):
def parse_error(self, line):
'''Parses a line of test output. If it contains an error, returns a
formatted message describing the error; otherwise, returns None.
Subclasses must override this method.
'''
raise NotImplementedError
class GTestErrorParser(ErrorParserBase):
'''A parser that remembers the last test that began running so it can print
that test's name upon detecting failure.
'''
_GTEST_NAME_PATTERN = re.compile(r'\[ RUN \] (\S+)$')
# format: '<filename or "unknown file">:<line #>: Failure'
_GTEST_FAIL_PATTERN = re.compile(r'(unknown file|\S+:\d+): Failure$')
def __init__(self):
self._last_gtest_name = 'Unknown test'
def parse_error(self, line):
gtest_name_match = self._GTEST_NAME_PATTERN.match(line)
if gtest_name_match:
self._last_gtest_name = gtest_name_match.group(1)
return None
gtest_fail_match = self._GTEST_FAIL_PATTERN.match(line)
if gtest_fail_match:
return '%s failed: %s' % (
self._last_gtest_name, gtest_fail_match.group(1))
return None
class MatchErrorParser(ErrorParserBase):
'''A simple parser that returns the whole line if it matches the pattern.
'''
def __init__(self, pattern):
self._pattern = re.compile(pattern)
def parse_error(self, line):
if self._pattern.match(line):
return line
return None
class CompilerErrorParser(MatchErrorParser):
def __init__(self):
# format: '<filename>:<line #>:<column #>: error: <error msg>'
super(CompilerErrorParser, self).__init__(r'\S+:\d+:\d+: error:')
class ScanBuildErrorParser(MatchErrorParser):
def __init__(self):
super(ScanBuildErrorParser, self).__init__(
r'scan-build: \d+ bugs found.$')
class DbCrashErrorParser(MatchErrorParser):
def __init__(self):
super(DbCrashErrorParser, self).__init__(r'\*\*\*.*\^$|TEST FAILED.')
class WriteStressErrorParser(MatchErrorParser):
def __init__(self):
super(WriteStressErrorParser, self).__init__(
r'ERROR: write_stress died with exitcode=\d+')
class AsanErrorParser(MatchErrorParser):
def __init__(self):
super(AsanErrorParser, self).__init__(
r'==\d+==ERROR: AddressSanitizer:')
class UbsanErrorParser(MatchErrorParser):
def __init__(self):
# format: '<filename>:<line #>:<column #>: runtime error: <error msg>'
super(UbsanErrorParser, self).__init__(r'\S+:\d+:\d+: runtime error:')
class ValgrindErrorParser(MatchErrorParser):
def __init__(self):
# just grab the summary, valgrind doesn't clearly distinguish errors
# from other log messages.
super(ValgrindErrorParser, self).__init__(r'==\d+== ERROR SUMMARY:')
class CompatErrorParser(MatchErrorParser):
def __init__(self):
super(CompatErrorParser, self).__init__(r'==== .*[Ee]rror.* ====$')
class TsanErrorParser(MatchErrorParser):
def __init__(self):
super(TsanErrorParser, self).__init__(r'WARNING: ThreadSanitizer:')
_TEST_NAME_TO_PARSERS = {
'punit': [CompilerErrorParser, GTestErrorParser],
'unit': [CompilerErrorParser, GTestErrorParser],
'release': [CompilerErrorParser, GTestErrorParser],
'unit_481': [CompilerErrorParser, GTestErrorParser],
'release_481': [CompilerErrorParser, GTestErrorParser],
'clang_unit': [CompilerErrorParser, GTestErrorParser],
'clang_release': [CompilerErrorParser, GTestErrorParser],
'clang_analyze': [CompilerErrorParser, ScanBuildErrorParser],
'code_cov': [CompilerErrorParser, GTestErrorParser],
'unity': [CompilerErrorParser, GTestErrorParser],
'lite': [CompilerErrorParser],
'lite_test': [CompilerErrorParser, GTestErrorParser],
'stress_crash': [CompilerErrorParser, DbCrashErrorParser],
'write_stress': [CompilerErrorParser, WriteStressErrorParser],
'asan': [CompilerErrorParser, GTestErrorParser, AsanErrorParser],
'asan_crash': [CompilerErrorParser, AsanErrorParser, DbCrashErrorParser],
'ubsan': [CompilerErrorParser, GTestErrorParser, UbsanErrorParser],
'ubsan_crash': [CompilerErrorParser, UbsanErrorParser, DbCrashErrorParser],
'valgrind': [CompilerErrorParser, GTestErrorParser, ValgrindErrorParser],
'tsan': [CompilerErrorParser, GTestErrorParser, TsanErrorParser],
'format_compatible': [CompilerErrorParser, CompatErrorParser],
'run_format_compatible': [CompilerErrorParser, CompatErrorParser],
'no_compression': [CompilerErrorParser, GTestErrorParser],
'run_no_compression': [CompilerErrorParser, GTestErrorParser],
'regression': [CompilerErrorParser],
'run_regression': [CompilerErrorParser],
}
def main():
if len(sys.argv) != 2:
return 'Usage: %s <test name>' % sys.argv[0]
test_name = sys.argv[1]
if test_name not in _TEST_NAME_TO_PARSERS:
return 'Unknown test name: %s' % test_name
error_parsers = []
for parser_cls in _TEST_NAME_TO_PARSERS[test_name]:
error_parsers.append(parser_cls())
for line in sys.stdin:
line = line.strip()
for error_parser in error_parsers:
error_msg = error_parser.parse_error(line)
if error_msg is not None:
print(error_msg)
if __name__ == '__main__':
sys.exit(main())
``` |
Edward Estis Holloway (June 12, 1908 – April 8, 1993) was a Philadelphia cardiologist who also served as the last elected city coroner.
Holloway was born in 1908 in Philadelphia, the son of Daniel Holloway and Margaret Estis Holloway. Daniel Holloway was a doctor, one of just a few African Americans practicing medicine at the time. As a boy, Holloway often accompanied his father as he made housecalls on horseback in Southwest Philadelphia. After graduating from Central High School and Howard University, the son followed his father into the medical profession. He interned at Freedman's Hospital in Washington, D.C., before returning to his hometown in 1937 and starting his own practice in North Philadelphia.
He married Mildred Brazington in 1938, but they divorced in the early 1940s. In 1944, he married again, to Ruth Smart, a social worker. Holloway quickly became recognized as one of the top men in his field; despite a lack of formal post-graduate training, he was certified by the American Board of Internal Medicine in 1946. In 1950, he became the second black doctor ever elected to the American College of Physicians. In 1955, he was the first ever elected to the American Board of Cardiovascular Diseases.
In 1953, Holloway married again, to Carmen Chisholm, with whom he later had two daughters, Michelle and Cheryl. That same year, he ran in the local election for Philadelphia city coroner as a Republican and won. He never took office, however, as the Democratic-majority City Council abolished several county offices, including coroner, and converted the jobs to civil service positions. Holloway and city treasurer Francis D. Pastorius filed suit to retain their offices, but were unsuccessful.
Meanwhile, Holloway's medical career progressed as he rose from an instructor at Women's Medical College to a clinical associate professor of medicine. He also gained a reputation as an engaging speaker at medical conferences. He served as the final chief of staff at Frederick Douglass Memorial Hospital and the only chief of staff at its successor, Mercy-Douglass Hospital.
Holloway and his wife divorced in 1977. He married for the last time soon thereafter to Agatha Lawson. He continued to practice medicine until 1991, when he retired. Two years later, Holloway died at the age of 84 at Philadelphia's Graduate Hospital and was buried at Mount Lawn Cemetery in Sharon Hill, Pennsylvania.
References
Sources
1908 births
1993 deaths
Politicians from Philadelphia
20th-century African-American physicians
20th-century American politicians
20th-century American physicians
Howard University alumni
Pennsylvania Republicans
Physicians from Philadelphia
Drexel University faculty
American coroners
20th-century African-American politicians |
TR-CERT (Computer Emergency Response Team of the Republic of Turkey, Turkish: Ulusal Siber Olaylara Müdahale Merkezi (USOM)) is an organization within the Information and Communication Technologies Authority (ICTA) which is the national regulatory authority of the Turkish electronic communication sector. It is responsible for the analysis and risk mitigation of large-scale cyber threats and vulnerabilities, communicating information regarding malicious cyber activities or possible vulnerabilities to computer security incident response teams (CSIRT) and the public.
Background
TR-CERT was established on 27 May 2013 within the ICTA, in accordance with the 4. clause "National Cybersecurity Strategy and 2013-2014 Action Plan" (Turkish: Ulusal Siber Güvenlik Stratejisi ve 2013-2014 Eylem Planı) issued by the Cabinet of Turkey and published in the Official Gazette of the Republic of Turkey.
Mission
The mission of TR-CERT is to protect the Turkish government's and its citizens' cyberspace, taking measures for the protection of critical infrastructures, both public and private, such as energy production and distribution, water management, and telecommunication institutions and facilities in Turkey. TR-CERT also takes both proactive and reactive actions toward cyber incidents that would affect the country as a whole, such as botnets, malware, and distributed denial-of-service (DDoS) attacks.
There are over 1300 CSIRTs and over 4000 cyber security professionals in nearly every sector in Turkey that coordinate with TR-CERT regarding cyber incidents. These CSIRTs are mostly institutional CSIRTs (such as the CSIRT of a bank), but there are also industry-specific CSIRTs that coordinate with TR-CERT (such as the CSIRT of the finance industry).
Activities
The Cyber Star (Turkish: Siber Yıldız), a 24-hour online capture-the-flag cybersecurity competition organized by TR-CERT, had over 20,000 contestants working either in teams or individually, during the latest competition held in February 2019. In the previous Cyber Star event held in January 2017, TR-CERT had nearly 15,000 contestants and some of the most successful contestants were hired by TR-CERT later on.
In December 2019, TR-CERT organized the "Cyber Shield 2019", an international cybersecurity exercise with simulated cyber attacks, malware, phishing, and industrial control systems (ICS). Held at the ICTA headquarters in Ankara, contestants from 17 countries competed to identify cybersecurity emergencies and take the necessary measures within the scenarios and technical infrastructure prepared by TR-CERT. The exercise was supported by the International Telecommunication Union (ITU) agency of the United Nations and the Cybersecurity Alliance for Mutual Progress (CAMP). International Cyber Shield 2019 was organized to increase preparedness to combat cybersecurity incidents and foster international cooperation in dealing with them.
On 10 February 2020, TR-CERT's security operations center (SOC) was officially opened, with the attendance of the President of Turkey, Recep Tayyip Erdoğan. Speaking at the opening ceremony, Recep Tayyip Erdoğan said"We aim for Turkey to not only be a consumer of technology, but also be a country that designs, develops, produces, and markets technologies to the world. The security dimension of digital transformation is at least as important as the physical defense of countries."Cooperating with "ICTA Academy" (Turkish: BTK Akademi), TR-CERT has given various cybersecurity trainings, ranging from web application security to computer forensics. Similarly, TR-CERT gives one-on-one, hands-on training to cybersecurity enthusiasts in the Fetih Cyber Drill Field
Some of the other events organized and/or attended by TR-CERT include:
TR-CERT - CSIRT Advisory Meetings
Energy Sector CSIRTs Meeting
NATO CMX-2017 and CMX-2019 Crisis Management Exercises
Due to TR-CERT's contribution to the cybersecurity ecosystem in Turkey, between the years 2017 and 2018, the ranking of Turkey on the Global Cybersecurity Index (GTI) published by ITU went up by 23 ranks, going from 43 to 20 within a year.
TR-CERT is accredited by Trusted Introducer and also is a member of the Forum of Incident Response and Security Teams (FIRST) and the Organisation of Islamic Cooperation's (OIC) computer emergency response team, OIC-CERT.
References
External links
Official Website
Official Twitter
TR-CERT on FIRST
TR-CERT on Trusted Introducer
Government agencies of Turkey
Computer emergency response teams
2013 establishments in Turkey
Government agencies established in 2013 |
William J. Murray III (born May 25, 1946) is an American author, Baptist minister, and social conservative lobbyist. Murray serves as the chairman of the Religious Freedom Coalition, a non-profit organization in Washington, D.C. that lobbies Congress on issues related to aiding Christians in Islamic and Communist countries.
Son of the late atheist activist Madalyn Murray O'Hair, Murray was named as the plaintiff in his mother's challenge to mandatory prayer and Bible reading in public schools. Consolidated and heard as Abington School District v. Schempp (1963), the US Supreme Court ruled that mandatory Bible reading was unconstitutional. After becoming a Christian in 1980, Murray published the memoir My Life Without God (1982), about his spiritual journey.
Biography
William J. Murray III (known as Bill) was born in Ohio in 1946, after his mother Madalyn Mays Roths had returned from service in Italy during World War II. His father was William J. Murray Jr., a married Catholic officer with whom Madalyn had an affair while they were both stationed in Italy. Though Murray refused to get a divorce and marry Madalyn, she divorced her husband, changed her surname to Murray, and named her newborn son William J. Murray, after his father.
Madalyn moved with the baby to Baltimore, where her mother and brother lived. In 1954, Bill's half-brother Jon Garth Murray was born. When Bill was still a child, Madalyn started hosting Socialist Labor party meetings and encouraged him to attend so he could "learn the 'truth' about capitalism." Madalyn became an atheist activist when the boys were still young and attending public school. In 1960, after returning with her two boys to the United States from a trip to Paris during which she unsuccessfully applied for immigration to the Soviet Union, she brought Bill to the local junior high to enroll him in classes and was incensed to see the students praying during class. After various attempts to prevent Bill's attendance during prayer and Bible reading time, Madalyn gained national attention when she filed a lawsuit challenging the practice of compulsory prayer and Bible reading in public schools as unconstitutional, naming Bill as plaintiff. The Murrays' case, Murray v. Curlett, was folded into Abington School District v. Schempp before the Supreme Court of the United States heard the issues. In 1963, it ruled that mandatory Bible reading in public schools was unconstitutional. The year before it had overturned the practice of mandatory prayers in public schools.
Murray later worked in various industries in the private sector, including the airline industry. He had a daughter, Robin, with his high school girlfriend, who stayed with his family after running away from home.
In 1980, Murray became a Christian. Learning of his conversion, his mother commented: "One could call this a postnatal abortion on the part of a mother, I guess; I repudiate him entirely and completely for now and all times. He is beyond human forgiveness." He became a Baptist minister. He and his mother Madalyn Murray O'Hair were estranged by his action, as he was from his daughter and brother, who shared his mother's household and were deeply involved with the American Atheists organization. O'Hair had legally adopted Robin.
In 1995, his mother, daughter Robin, and half-brother Jon disappeared from their home and office. It was learned that they were kidnapped, held for about a month, and subject to extortion of $600,000 before they were killed in a remote area outside Austin, Texas. Their bodies were not found until January 2001. The plot was led by David Roland Waters, an ex-convict and former employee of the American Atheists, who had been fired for theft of $54,000; and two accomplices.
Bibliography
My Life Without God. Harvest House Publishers, 1982 .
The Church Is Not for Perfect People Harvest House Publishers, 1987
Let Us Pray: A Plea for Prayer in Our Schools 1995
Stop the Y2K Madness! 1999
The Pledge: One Nation Under God. AMG 2007, , . Freeware written by Todd Akin
Utopian Road to Hell: Enslaving America and the World with Central Planning WND Books 2016 ,
References
External links
Religion Freedom Coalition - Official RFC website
Government is Not God - William J. Murray's blog
1946 births
Living people
Baptist ministers from the United States
Converts to Protestantism from atheism or agnosticism |
Tennis competitions at the 2022 South American Games in Asunción, Paraguay were held from 11 to 15 October 2022 at the Rakiura Resort cluster in Luque, a sub-venue outside Asunción.
Five medal events were scheduled to be contested; singles and doubles for both men and women and mixed doubles. A total of 54 athletes (26 men and 28 women) competed in the events. Participating players had to be at least 14 years old at the start of the competition.
Players who got the gold and silver medals in the singles events will qualified for the 2023 Pan American Games, with the qualification quotas going to the players and not their NOCs.
Chile were the South American Games tennis competitions defending champions having won them in the previous edition in Cochabamba 2018. Colombia won the tennis competitions with two gold medals and one bronze.
Participating nations
A total of 10 nations registered athletes for the tennis competitions. Each nation was able to enter a maximum of 6 players (3 per gender) and was able to participate with up to 3 players in the singles events and a pair of players in the doubles events. Each player can compete in a maximum of
two events.
(6 players)
(6)
(6)
(6)
(5)
(4)
(6)
(6)
(4)
(5)
Venue
The tennis competitions were scheduled to be held at the Rakiura Resort cluster in Luque.
Medal summary
Medal table
Medalists
References
External links
ASU2022 Tennis
2022 South American Games events
2022
South American Games
2022
Tennis at the 2022 South American Games |
```c
/* Test file for mpfr_rint, mpfr_trunc, mpfr_floor, mpfr_ceil, mpfr_round,
mpfr_rint_trunc, mpfr_rint_floor, mpfr_rint_ceil, mpfr_rint_round.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
The GNU MPFR Library is free software; you can redistribute it and/or modify
option) any later version.
The GNU MPFR Library 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 GNU Lesser General Public
along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
path_to_url or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
#include <stdlib.h>
#include "mpfr-test.h"
#if __MPFR_STDC (199901L)
# include <math.h>
#endif
static void
special (void)
{
mpfr_t x, y;
mpfr_exp_t emax;
mpfr_init (x);
mpfr_init (y);
mpfr_set_nan (x);
mpfr_rint (y, x, MPFR_RNDN);
MPFR_ASSERTN(mpfr_nan_p (y));
mpfr_set_inf (x, 1);
mpfr_rint (y, x, MPFR_RNDN);
MPFR_ASSERTN(mpfr_inf_p (y) && mpfr_sgn (y) > 0);
mpfr_set_inf (x, -1);
mpfr_rint (y, x, MPFR_RNDN);
MPFR_ASSERTN(mpfr_inf_p (y) && mpfr_sgn (y) < 0);
mpfr_set_ui (x, 0, MPFR_RNDN);
mpfr_rint (y, x, MPFR_RNDN);
MPFR_ASSERTN(mpfr_cmp_ui (y, 0) == 0 && MPFR_IS_POS(y));
mpfr_set_ui (x, 0, MPFR_RNDN);
mpfr_neg (x, x, MPFR_RNDN);
mpfr_rint (y, x, MPFR_RNDN);
MPFR_ASSERTN(mpfr_cmp_ui (y, 0) == 0 && MPFR_IS_NEG(y));
/* coverage test */
mpfr_set_prec (x, 2);
mpfr_set_ui (x, 1, MPFR_RNDN);
mpfr_mul_2exp (x, x, mp_bits_per_limb, MPFR_RNDN);
mpfr_rint (y, x, MPFR_RNDN);
MPFR_ASSERTN(mpfr_cmp (y, x) == 0);
/* another coverage test */
emax = mpfr_get_emax ();
set_emax (1);
mpfr_set_prec (x, 3);
mpfr_set_str_binary (x, "1.11E0");
mpfr_set_prec (y, 2);
mpfr_rint (y, x, MPFR_RNDU); /* x rounds to 1.0E1=0.1E2 which overflows */
MPFR_ASSERTN(mpfr_inf_p (y) && mpfr_sgn (y) > 0);
set_emax (emax);
/* yet another */
mpfr_set_prec (x, 97);
mpfr_set_prec (y, 96);
mpfr_set_str_binary (x, "-0.your_sha256_hash000101001111101010101011010111100E97");
mpfr_rint (y, x, MPFR_RNDN);
MPFR_ASSERTN(mpfr_cmp (y, x) == 0);
mpfr_set_prec (x, 53);
mpfr_set_prec (y, 53);
mpfr_set_str_binary (x, "0.10101100000000101001010101111111000000011111010000010E-1");
mpfr_rint (y, x, MPFR_RNDU);
MPFR_ASSERTN(mpfr_cmp_ui (y, 1) == 0);
mpfr_rint (y, x, MPFR_RNDD);
MPFR_ASSERTN(mpfr_cmp_ui (y, 0) == 0 && MPFR_IS_POS(y));
mpfr_set_prec (x, 36);
mpfr_set_prec (y, 2);
mpfr_set_str_binary (x, "-11000110101010111111110111001.0000100");
mpfr_rint (y, x, MPFR_RNDN);
mpfr_set_str_binary (x, "-11E27");
MPFR_ASSERTN(mpfr_cmp (y, x) == 0);
mpfr_set_prec (x, 39);
mpfr_set_prec (y, 29);
mpfr_set_str_binary (x, "-0.100010110100011010001111001001001100111E39");
mpfr_rint (y, x, MPFR_RNDN);
mpfr_set_str_binary (x, "-0.10001011010001101000111100101E39");
MPFR_ASSERTN(mpfr_cmp (y, x) == 0);
mpfr_set_prec (x, 46);
mpfr_set_prec (y, 32);
mpfr_set_str_binary (x, "-0.1011100110100101000001011111101011001001101001E32");
mpfr_rint (y, x, MPFR_RNDN);
mpfr_set_str_binary (x, "-0.10111001101001010000010111111011E32");
MPFR_ASSERTN(mpfr_cmp (y, x) == 0);
/* coverage test for mpfr_round */
mpfr_set_prec (x, 3);
mpfr_set_str_binary (x, "1.01E1"); /* 2.5 */
mpfr_set_prec (y, 2);
mpfr_round (y, x);
/* since mpfr_round breaks ties away, should give 3 and not 2 as with
the "round to even" rule */
MPFR_ASSERTN(mpfr_cmp_ui (y, 3) == 0);
/* same test for the function */
(mpfr_round) (y, x);
MPFR_ASSERTN(mpfr_cmp_ui (y, 3) == 0);
mpfr_set_prec (x, 6);
mpfr_set_prec (y, 3);
mpfr_set_str_binary (x, "110.111");
mpfr_round (y, x);
if (mpfr_cmp_ui (y, 7))
{
printf ("Error in round(110.111)\n");
exit (1);
}
/* Bug found by Mark J Watkins */
mpfr_set_prec (x, 84);
mpfr_set_str_binary (x,
"0.110011010010001000000111101101001111111100101110010000000000000" \
"000000000000000000000E32");
mpfr_round (x, x);
if (mpfr_cmp_str (x, "0.1100110100100010000001111011010100000000000000" \
"00000000000000000000000000000000000000E32", 2, MPFR_RNDN))
{
printf ("Rounding error when dest=src\n");
exit (1);
}
mpfr_clear (x);
mpfr_clear (y);
}
#define BASIC_TEST(F,J) \
do \
{ \
int red; \
for (red = 0; red <= 1; red++) \
{ \
int inex1, inex2; \
unsigned int ex_flags, flags; \
\
if (red) \
{ \
set_emin (e); \
set_emax (e); \
} \
\
mpfr_clear_flags (); \
inex1 = mpfr_set_si (y, J, (mpfr_rnd_t) r); \
ex_flags = __gmpfr_flags; \
mpfr_clear_flags (); \
inex2 = mpfr_rint_##F (z, x, (mpfr_rnd_t) r); \
flags = __gmpfr_flags; \
if (! (mpfr_equal_p (y, z) && \
SAME_SIGN (inex1, inex2) && \
flags == ex_flags)) \
{ \
printf ("Basic test failed on mpfr_rint_" #F \
", prec = %d, i = %d, %s\n", prec, s * i, \
mpfr_print_rnd_mode ((mpfr_rnd_t) r)); \
printf ("i.e. x = "); \
mpfr_dump (x); \
if (red) \
printf ("with emin = emax = %d\n", e); \
printf ("Expected "); \
mpfr_dump (y); \
printf ("with inex = %d (or equivalent)\n", inex1); \
printf (" flags:"); \
flags_out (ex_flags); \
printf ("Got "); \
mpfr_dump (z); \
printf ("with inex = %d (or equivalent)\n", inex2); \
printf (" flags:"); \
flags_out (flags); \
exit (1); \
} \
} \
set_emin (emin); \
set_emax (emax); \
} \
while (0)
#define BASIC_TEST2(F,J,INEX) \
do \
{ \
int red; \
for (red = 0; red <= 1; red++) \
{ \
int inex; \
unsigned int ex_flags, flags; \
\
if (red) \
{ \
set_emin (e); \
set_emax (e); \
} \
\
mpfr_clear_flags (); \
inex = mpfr_set_si (y, J, MPFR_RNDN); \
MPFR_ASSERTN (inex == 0 || mpfr_overflow_p ()); \
ex_flags = __gmpfr_flags; \
mpfr_clear_flags (); \
inex = mpfr_##F (z, x); \
if (inex != 0) \
ex_flags |= MPFR_FLAGS_INEXACT; \
flags = __gmpfr_flags; \
if (! (mpfr_equal_p (y, z) && \
inex == (INEX) && \
flags == ex_flags)) \
{ \
printf ("Basic test failed on mpfr_" #F \
", prec = %d, i = %d\n", prec, s * i); \
printf ("i.e. x = "); \
mpfr_dump (x); \
if (red) \
printf ("with emin = emax = %d\n", e); \
printf ("Expected "); \
mpfr_dump (y); \
printf ("with inex = %d\n", (INEX)); \
printf (" flags:"); \
flags_out (ex_flags); \
printf ("Got "); \
mpfr_dump (z); \
printf ("with inex = %d\n", inex); \
printf (" flags:"); \
flags_out (flags); \
exit (1); \
} \
} \
set_emin (emin); \
set_emax (emax); \
} \
while (0)
/* Test mpfr_rint_* on i/4 with |i| between 1 and 72. */
static void
basic_tests (void)
{
mpfr_t x, y, z;
int prec, s, i, r;
mpfr_exp_t emin, emax;
emin = mpfr_get_emin ();
emax = mpfr_get_emax ();
mpfr_init2 (x, 16);
for (prec = 2; prec <= 7; prec++)
{
mpfr_inits2 (prec, y, z, (mpfr_ptr) 0);
for (s = 1; s >= -1; s -= 2)
for (i = 1; i <= 72; i++)
{
int k, t, u, v, f, e;
for (t = i/4, k = 0; t >= 1 << prec; t >>= 1, k++)
;
t <<= k;
for (u = (i+3)/4, k = 0; u >= 1 << prec; u = (u+1)/2, k++)
;
u <<= k;
v = i < (t+u) << 1 ? t : u;
f = t == u ? 0 : i % 4 == 0 ? 1 : 2;
mpfr_set_si_2exp (x, s * i, -2, MPFR_RNDN);
e = mpfr_get_exp (x);
RND_LOOP(r)
{
BASIC_TEST (trunc, s * (i/4));
BASIC_TEST (floor, s > 0 ? i/4 : - ((i+3)/4));
BASIC_TEST (ceil, s > 0 ? (i+3)/4 : - (i/4));
BASIC_TEST (round, s * ((i+2)/4));
}
BASIC_TEST2 (trunc, s * t, - s * f);
BASIC_TEST2 (floor, s > 0 ? t : - u, - f);
BASIC_TEST2 (ceil, s > 0 ? u : - t, f);
BASIC_TEST2 (round, s * v, v == t ? - s * f : s * f);
}
mpfr_clears (y, z, (mpfr_ptr) 0);
}
mpfr_clear (x);
}
#if __MPFR_STDC (199901L)
static void
test_fct (double (*f)(double), int (*g)(), char *s, mpfr_rnd_t r)
{
double d, y;
mpfr_t dd, yy;
mpfr_init2 (dd, 53);
mpfr_init2 (yy, 53);
for (d = -5.0; d <= 5.0; d += 0.25)
{
mpfr_set_d (dd, d, r);
y = (*f)(d);
if (g == &mpfr_rint)
mpfr_rint (yy, dd, r);
else
(*g)(yy, dd);
mpfr_set_d (dd, y, r);
if (mpfr_cmp (yy, dd))
{
printf ("test_against_libc: incorrect result for %s, rnd = %s,"
" d = %g\ngot ", s, mpfr_print_rnd_mode (r), d);
mpfr_out_str (stdout, 10, 0, yy, MPFR_RNDN);
printf (" instead of %g\n", y);
exit (1);
}
}
mpfr_clear (dd);
mpfr_clear (yy);
}
#define TEST_FCT(F) test_fct (&F, &mpfr_##F, #F, r)
static void
test_against_libc (void)
{
mpfr_rnd_t r = MPFR_RNDN;
(void) r; /* avoid a warning by using r */
#if HAVE_ROUND
TEST_FCT (round);
#endif
#if HAVE_TRUNC
TEST_FCT (trunc);
#endif
#if HAVE_FLOOR
TEST_FCT (floor);
#endif
#if HAVE_CEIL
TEST_FCT (ceil);
#endif
#if HAVE_NEARBYINT
for (r = 0; r < MPFR_RND_MAX ; r++)
if (mpfr_set_machine_rnd_mode (r) == 0)
test_fct (&nearbyint, &mpfr_rint, "rint", r);
#endif
}
#endif
static void
err (const char *str, mp_size_t s, mpfr_t x, mpfr_t y, mpfr_prec_t p,
mpfr_rnd_t r, int trint, int inexact)
{
printf ("Error: %s\ns = %u, p = %u, r = %s, trint = %d, inexact = %d\nx = ",
str, (unsigned int) s, (unsigned int) p, mpfr_print_rnd_mode (r),
trint, inexact);
mpfr_print_binary (x);
printf ("\ny = ");
mpfr_print_binary (y);
printf ("\n");
exit (1);
}
static void
coverage_03032011 (void)
{
mpfr_t in, out, cmp;
int status;
int precIn;
char strData[(GMP_NUMB_BITS * 4)+256];
precIn = GMP_NUMB_BITS * 4;
mpfr_init2 (in, precIn);
mpfr_init2 (out, GMP_NUMB_BITS);
mpfr_init2 (cmp, GMP_NUMB_BITS);
/* cmp = "0.1EprecIn+2" */
/* The buffer size is sufficient, as precIn is small in practice. */
sprintf (strData, "0.1E%d", precIn+2);
mpfr_set_str_binary (cmp, strData);
/* in = "0.10...01EprecIn+2" use all (precIn) significand bits */
memset ((void *)strData, '0', precIn+2);
strData[1] = '.';
strData[2] = '1';
sprintf (&strData[precIn+1], "1E%d", precIn+2);
mpfr_set_str_binary (in, strData);
status = mpfr_rint (out, in, MPFR_RNDN);
if ((mpfr_cmp (out, cmp) != 0) || (status >= 0))
{
printf("mpfr_rint error :\n status is %d instead of 0\n", status);
printf(" out value is ");
mpfr_dump(out);
printf(" instead of ");
mpfr_dump(cmp);
exit (1);
}
mpfr_clear (cmp);
mpfr_clear (out);
mpfr_init2 (out, GMP_NUMB_BITS);
mpfr_init2 (cmp, GMP_NUMB_BITS);
/* cmp = "0.10...01EprecIn+2" use all (GMP_NUMB_BITS) significand bits */
strcpy (&strData[GMP_NUMB_BITS+1], &strData[precIn+1]);
mpfr_set_str_binary (cmp, strData);
(MPFR_MANT(in))[2] = MPFR_LIMB_HIGHBIT;
status = mpfr_rint (out, in, MPFR_RNDN);
if ((mpfr_cmp (out, cmp) != 0) || (status <= 0))
{
printf("mpfr_rint error :\n status is %d instead of 0\n", status);
printf(" out value is\n");
mpfr_dump(out);
printf(" instead of\n");
mpfr_dump(cmp);
exit (1);
}
mpfr_clear (cmp);
mpfr_clear (out);
mpfr_clear (in);
}
#define TEST_FUNCTION mpfr_rint_trunc
#define TEST_RANDOM_EMIN -20
#define TEST_RANDOM_ALWAYS_SCALE 1
#define test_generic test_generic_trunc
#include "tgeneric.c"
#define TEST_FUNCTION mpfr_rint_floor
#define TEST_RANDOM_EMIN -20
#define TEST_RANDOM_ALWAYS_SCALE 1
#define test_generic test_generic_floor
#include "tgeneric.c"
#define TEST_FUNCTION mpfr_rint_ceil
#define TEST_RANDOM_EMIN -20
#define TEST_RANDOM_ALWAYS_SCALE 1
#define test_generic test_generic_ceil
#include "tgeneric.c"
#define TEST_FUNCTION mpfr_rint_round
#define TEST_RANDOM_EMIN -20
#define TEST_RANDOM_ALWAYS_SCALE 1
#define test_generic test_generic_round
#include "tgeneric.c"
int
main (int argc, char *argv[])
{
mp_size_t s;
mpz_t z;
mpfr_prec_t p;
mpfr_t x, y, t, u, v;
int r;
int inexact, sign_t;
tests_start_mpfr ();
mpfr_init (x);
mpfr_init (y);
mpz_init (z);
mpfr_init (t);
mpfr_init (u);
mpfr_init (v);
mpz_set_ui (z, 1);
for (s = 2; s < 100; s++)
{
/* z has exactly s bits */
mpz_mul_2exp (z, z, 1);
if (randlimb () % 2)
mpz_add_ui (z, z, 1);
mpfr_set_prec (x, s);
mpfr_set_prec (t, s);
mpfr_set_prec (u, s);
if (mpfr_set_z (x, z, MPFR_RNDN))
{
printf ("Error: mpfr_set_z should be exact (s = %u)\n",
(unsigned int) s);
exit (1);
}
if (randlimb () % 2)
mpfr_neg (x, x, MPFR_RNDN);
if (randlimb () % 2)
mpfr_div_2ui (x, x, randlimb () % s, MPFR_RNDN);
for (p = 2; p < 100; p++)
{
int trint;
mpfr_set_prec (y, p);
mpfr_set_prec (v, p);
for (r = 0; r < MPFR_RND_MAX ; r++)
for (trint = 0; trint < 3; trint++)
{
if (trint == 2)
inexact = mpfr_rint (y, x, (mpfr_rnd_t) r);
else if (r == MPFR_RNDN)
inexact = mpfr_round (y, x);
else if (r == MPFR_RNDZ)
inexact = (trint ? mpfr_trunc (y, x) :
mpfr_rint_trunc (y, x, MPFR_RNDZ));
else if (r == MPFR_RNDU)
inexact = (trint ? mpfr_ceil (y, x) :
mpfr_rint_ceil (y, x, MPFR_RNDU));
else /* r = MPFR_RNDD */
inexact = (trint ? mpfr_floor (y, x) :
mpfr_rint_floor (y, x, MPFR_RNDD));
if (mpfr_sub (t, y, x, MPFR_RNDN))
err ("subtraction 1 should be exact",
s, x, y, p, (mpfr_rnd_t) r, trint, inexact);
sign_t = mpfr_cmp_ui (t, 0);
if (trint != 0 &&
(((inexact == 0) && (sign_t != 0)) ||
((inexact < 0) && (sign_t >= 0)) ||
((inexact > 0) && (sign_t <= 0))))
err ("wrong inexact flag", s, x, y, p, (mpfr_rnd_t) r, trint, inexact);
if (inexact == 0)
continue; /* end of the test for exact results */
if (((r == MPFR_RNDD || (r == MPFR_RNDZ && MPFR_SIGN (x) > 0))
&& inexact > 0) ||
((r == MPFR_RNDU || (r == MPFR_RNDZ && MPFR_SIGN (x) < 0))
&& inexact < 0))
err ("wrong rounding direction",
s, x, y, p, (mpfr_rnd_t) r, trint, inexact);
if (inexact < 0)
{
mpfr_add_ui (v, y, 1, MPFR_RNDU);
if (mpfr_cmp (v, x) <= 0)
err ("representable integer between x and its "
"rounded value", s, x, y, p, (mpfr_rnd_t) r, trint, inexact);
}
else
{
mpfr_sub_ui (v, y, 1, MPFR_RNDD);
if (mpfr_cmp (v, x) >= 0)
err ("representable integer between x and its "
"rounded value", s, x, y, p, (mpfr_rnd_t) r, trint, inexact);
}
if (r == MPFR_RNDN)
{
int cmp;
if (mpfr_sub (u, v, x, MPFR_RNDN))
err ("subtraction 2 should be exact",
s, x, y, p, (mpfr_rnd_t) r, trint, inexact);
cmp = mpfr_cmp_abs (t, u);
if (cmp > 0)
err ("faithful rounding, but not the nearest integer",
s, x, y, p, (mpfr_rnd_t) r, trint, inexact);
if (cmp < 0)
continue;
/* |t| = |u|: x is the middle of two consecutive
representable integers. */
if (trint == 2)
{
/* halfway case for mpfr_rint in MPFR_RNDN rounding
mode: round to an even integer or significand. */
mpfr_div_2ui (y, y, 1, MPFR_RNDZ);
if (!mpfr_integer_p (y))
err ("halfway case for mpfr_rint, result isn't an"
" even integer", s, x, y, p, (mpfr_rnd_t) r, trint, inexact);
/* If floor(x) and ceil(x) aren't both representable
integers, the significand must be even. */
mpfr_sub (v, v, y, MPFR_RNDN);
mpfr_abs (v, v, MPFR_RNDN);
if (mpfr_cmp_ui (v, 1) != 0)
{
mpfr_div_2si (y, y, MPFR_EXP (y) - MPFR_PREC (y)
+ 1, MPFR_RNDN);
if (!mpfr_integer_p (y))
err ("halfway case for mpfr_rint, significand isn't"
" even", s, x, y, p, (mpfr_rnd_t) r, trint, inexact);
}
}
else
{ /* halfway case for mpfr_round: x must have been
rounded away from zero. */
if ((MPFR_SIGN (x) > 0 && inexact < 0) ||
(MPFR_SIGN (x) < 0 && inexact > 0))
err ("halfway case for mpfr_round, bad rounding"
" direction", s, x, y, p, (mpfr_rnd_t) r, trint, inexact);
}
}
}
}
}
mpfr_clear (x);
mpfr_clear (y);
mpz_clear (z);
mpfr_clear (t);
mpfr_clear (u);
mpfr_clear (v);
special ();
basic_tests ();
coverage_03032011 ();
test_generic_trunc (2, 300, 20);
test_generic_floor (2, 300, 20);
test_generic_ceil (2, 300, 20);
test_generic_round (2, 300, 20);
#if __MPFR_STDC (199901L)
if (argc > 1 && strcmp (argv[1], "-s") == 0)
test_against_libc ();
#endif
tests_end_mpfr ();
return 0;
}
``` |
Thomas Taylour may refer to:
Thomas Taylour, 1st Earl of Bective (1724–1795), Irish MP for Kells 1747–1760
Thomas Taylour, 1st Marquess of Headfort (1757–1829), his son, Irish MP for Kells 1776–1790, Longford Borough and Meath
Thomas Taylour, 2nd Marquess of Headfort (1787–1870), his son, Lord-in-Waiting and Lord Lieutenant of Cavan
Thomas Taylour, 3rd Marquess of Headfort (1822–1894), British MP for Westmorland 1854–1870, Lord Lieutenant of Meath
Thomas Taylour, Earl of Bective (1894–1943), British MP for Westmorland 1871–1885 and Kendal
See also
Thomas Taylor (disambiguation)
Thomas le Tayleur, MP for Wycombe (UK Parliament constituency) |
Polzer is a surname. Notable people with the surname include:
Heinz Hermann Polzer (1919–2015), Swiss singer-songwriter, poet, and prose writer
Jeffrey T. Polzer, American academic
Leopold Innocenty Nepomucen Polzer (1697–1753), Polish lawyer
See also
Holzer
Pozzer |
The 1986–87 season of the European Cup Winners' Cup was won by Ajax in the final against Lokomotive Leipzig. The young Ajax side, which included the likes of Marco van Basten, Frank Rijkaard and Dennis Bergkamp, was guided to victory by its coach Johan Cruyff. It was Ajax's only title in the competition, and was added to a hat-trick of European Cup wins from 1971 to 1973. They also went on to win another European Cup and a UEFA Cup in the 1990s.
First round
|}
First leg
Second leg
2–2 on aggregate; Real Zaragoza won 4–3 on penalties.
Wrexham won 7–0 on aggregate.
Vitosha Sofia won 2–1 on aggregate.
Velež Mostar won 5–4 on aggregate.
17 Nëntori won 3–1 on aggregate.
Malmö FF won 7–2 on aggregate.
Ajax won 7–0 on aggregate.
Olympiacos won 6–0 on aggregate.
Benfica won 4–1 on aggregate.
Bordeaux won 6–1 on aggregate.
Torpedo Moscow won 5–3 on aggregate.
VfB Stuttgart won 1–0 on aggregate.
Rapid Wien won 7–6 on aggregate.
Lokomotive Leipzig won 3–1 on aggregate.
Katowice won 4–0 on aggregate.
Sion won 4–2 on aggregate.
Second round
|}
First leg
Second leg
2–2 on aggregate; Real Zaragoza won on away goals.
Vitosha Sofia won 5–4 on aggregate.
Malmö FF won 3–0 on aggregate.
Ajax won 5–1 on aggregate.
Bordeaux won 2–1 on aggregate.
Torpedo Moscow won 7–3 on aggregate.
Lokomotive Leipzig won 3–2 on aggregate.
Sion won 5–2 on aggregate.
Quarter-finals
|}
First leg
Second leg
Real Zaragoza won 4–0 on aggregate.
Ajax won 3–2 on aggregate.
3–3 on aggregate; Bordeaux won on away goals.
Lokomotive Leipzig won 2–0 on aggregate.
Semi-finals
|}
First leg
Second leg
Ajax won 6–2 on aggregate.
1–1 on aggregate; Lokomotive Leipzig won 6–5 on penalties.
Final
Top scorers
See also
1986–87 European Cup
1986–87 UEFA Cup
External links
1986–87 competition at UEFA website
Cup Winners' Cup results at Rec.Sport.Soccer Statistics Foundation
Cup Winners Cup Seasons 1986–87 – results, protocols
3
UEFA Cup Winners' Cup seasons |
```javascript
import { BenchmarkType } from '../app/Benchmark';
import { number, object } from 'prop-types';
import React from 'react';
import { interpolatePurples, interpolateBuPu, interpolateRdPu } from 'd3-scale-chromatic';
const targetSize = 10;
class SierpinskiTriangle extends React.Component {
static displayName = 'SierpinskiTriangle';
static benchmarkType = BenchmarkType.UPDATE;
static propTypes = {
components: object,
depth: number,
renderCount: number,
s: number,
x: number,
y: number
};
static defaultProps = {
depth: 0,
renderCount: 0
};
render() {
const { components, x, y, depth, renderCount } = this.props;
let { s } = this.props;
const { Dot } = components;
if (Dot) {
if (s <= targetSize) {
let fn;
switch (depth) {
case 1:
fn = interpolatePurples;
break;
case 2:
fn = interpolateBuPu;
break;
case 3:
default:
fn = interpolateRdPu;
}
// introduce randomness to ensure that repeated runs don't produce the same colors
const color = fn(renderCount * Math.random() / 20);
return (
<Dot color={color} size={targetSize} x={x - targetSize / 2} y={y - targetSize / 2} />
);
}
s /= 2;
return (
<React.Fragment>
<SierpinskiTriangle
components={components}
depth={1}
renderCount={renderCount}
s={s}
x={x}
y={y - s / 2}
/>
<SierpinskiTriangle
components={components}
depth={2}
renderCount={renderCount}
s={s}
x={x - s}
y={y + s / 2}
/>
<SierpinskiTriangle
components={components}
depth={3}
renderCount={renderCount}
s={s}
x={x + s}
y={y + s / 2}
/>
</React.Fragment>
);
} else {
return <span style={{ color: 'white' }}>No implementation available</span>;
}
}
}
export default SierpinskiTriangle;
``` |
Johann Strauss II (1825–1899) or Johann Strauss Jr. was an Austrian composer, known as the "Waltz King".
Johann Strauss may also refer to:
Johann Strauss I (1804–1849), or Johann Strauss Sr., Austrian composer, father of Johann Strauss II
Johann Strauss III (1866–1939), Austrian composer, son of Eduard Strauss and grandson of Johann I
Johan Strauss (rugby union) (born 1951), South African rugby union player
See also
John Strauss (1920–2011), American composer and music editor |
```php
<?php
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
*/
namespace Google\Service\Dataflow;
class WorkerDetails extends \Google\Collection
{
protected $collection_key = 'workItems';
protected $workItemsType = WorkItemDetails::class;
protected $workItemsDataType = 'array';
/**
* @var string
*/
public $workerName;
/**
* @param WorkItemDetails[]
*/
public function setWorkItems($workItems)
{
$this->workItems = $workItems;
}
/**
* @return WorkItemDetails[]
*/
public function getWorkItems()
{
return $this->workItems;
}
/**
* @param string
*/
public function setWorkerName($workerName)
{
$this->workerName = $workerName;
}
/**
* @return string
*/
public function getWorkerName()
{
return $this->workerName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WorkerDetails::class, 'Google_Service_Dataflow_WorkerDetails');
``` |
Syaiful Indra Cahya (born 28 May 1992) is an Indonesian professional footballer who plays as a full-back or centre-back for Liga 2 club Deltras.
Club career
Cahya played for various clubs in the top two divisions of Indonesia, most prominently Persija Jakarta and Arema, as well as in the breakaway Liga Primer Indonesia, which later became known as the Indonesian Premier League.
In 2021, while playing for PSG Pati, Cahya seriously injured Persiraja Banda Aceh midfielder Muhammad Nadhif through a kung fu kick. The story of the incident reached as far as Spain.
International career
Cahya represented Indonesia at the 2012 Hassanal Bolkiah Trophy and the 2014 Asian Games. He made his senior international debut on 6 February 2013 in a 2015 AFC Asian Cup qualification match against Iraq.
International goals
Syaiful Indra Cahya: International under-23 goals
Honours
Club
Arema
Indonesia President's Cup: 2017
International
Indonesia U-21
Hassanal Bolkiah Trophy runner-up: 2012
References
External links
Syaiful Cahya at Liga Indonesia
1992 births
Living people
Footballers from Malang
Footballers from East Java
Indonesian men's footballers
Indonesia men's international footballers
Indonesian Premier League players
Liga 1 (Indonesia) players
Liga 2 (Indonesia) players
Persik Kediri players
Persija Jakarta (IPL) players
Persema Malang players
Persija Jakarta players
Sriwijaya F.C. players
Arema F.C. players
Bali United F.C. players
Semen Padang F.C. players
PSIM Yogyakarta players
Muba Babel United F.C. players
F.C. Bekasi City players
PSMS Medan players
Persipura Jayapura players
Deltras F.C. players
Indonesia men's youth international footballers
Footballers at the 2014 Asian Games
Men's association football fullbacks
Asian Games competitors for Indonesia |
Mariano Rubbo Ferrari was born May 28, 1988, in Montevideo, and is an Uruguayan footballer currently playing for Colmenar Viejo in Spain.
Teams
Defensor Sporting 2008-2009
Tacuarembó 2010
Miramar Misiones 2011
Criciuma 2011
Paysandú 2011
Colmenar Viejo 2012
Wanderers de Santa Lucía 2013–present
External links
1988 births
Living people
Uruguayan men's footballers
Uruguayan expatriate men's footballers
Defensor Sporting players
Tacuarembó F.C. players
Miramar Misiones players
Paysandu Sport Club players
Criciúma Esporte Clube players
Expatriate men's footballers in Brazil
Expatriate men's footballers in Spain
Men's association football midfielders |
```java
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
package org.mybatis.dynamic.sql.where.render;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assertions.assertAll;
import org.junit.jupiter.api.Test;
import org.mybatis.dynamic.sql.util.FragmentAndParameters;
class RenderedCriterionTest {
@Test
void testSimpleCriteria() {
RenderedCriterion rc = new RenderedCriterion.Builder()
.withConnector("and")
.withFragmentAndParameters(FragmentAndParameters.withFragment("col1 = :p1").build())
.build();
FragmentAndParameters fp = rc.fragmentAndParametersWithConnector();
assertAll(
() -> assertThat(fp.fragment()).isEqualTo("and col1 = :p1"),
() -> assertThat(fp.parameters()).isEmpty()
);
}
}
``` |
Manta is a steel flying roller coaster at SeaWorld Orlando. The attraction allows guests to encounter numerous species of ray before boarding a manta ray-shaped train that takes them on a roller coaster ride above the park, reaching top speeds of . Designed by Swiss firm Bolliger & Mabillard, Manta restrains riders in the prone position and features four inversions. The well-received attraction officially opened to the public on May 22, 2009. Their slogan is "Dive deep, fly high…".
History
SeaWorld Orlando revealed the concept that was to become Manta to a gathering of travel industry representatives and community leaders on April 2, 2008, although it had been in the planning stages for years. The exact specifications were not immediately revealed, but the park said it would be their largest single investment in an attraction and that it would open sometime in 2009. The park also announced that the attraction would include a roller coaster, but that it would be more than just a roller coaster. Joseph Couceirovice president of sales and marketingdescribed the ride as "the next generation SeaWorld attraction" that would immerse guests in elements of marine life.
Artists' concepts of the new attraction were leaked onto the Internet in April 2008; however, SeaWorld officials would not confirm whether the images were accurate representations of the final design, but said that the roller coaster would have a gliding sensation. At that point, construction on a large site within the park had already begun. On May 29, 2008, park officials confirmed that the attraction would be named Manta, and announced additional details about the attraction.
Construction of the roller coaster track and attraction buildings began in September 2008. Superior Rigging & Erection built the supports and track. The ride's layout was completed in December 2008 and construction on other parts of the roller coaster continued into early 2009. SeaWorld began previewing the attraction in early May 2009, before it was officially opened on May 22.
Design
Theme and surrounding experience
Manta is an attraction which encompasses a themed queue and a roller coaster. The queue is designed to resemble a seaside village decorated with mosaics and artwork inspired by rays. Within the attraction's site are ten aquaria containing of water. Approximately 3,000 animals representing over 60 species are visibleincluding over 300 rays, such as cownose rays and spotted eagle rays. Other creatures on display include sea horses, leafy seadragons and tropical fish.
Portions of the aquarium exhibit can be viewed by guests who do not wish to ride the roller coaster. Non-riding guests can use a second entrance to the attraction area, which is separated from those waiting for the roller coaster. Guests in the ride's queue have access to special exhibit components, such as a Plexiglas "pop-up" window into the aquarium. Mantas rails, supports and track are filled with sand to reduce noise.
Trains and loading procedure
Manta is a flying roller coaster, which simulates the sensation of flight. It is designed to resemble the way rays—mantas in particular—appear to fly through seawater. Guests are initially seated upright on the trains in one of eight rows that hold four passengers each, accommodating up to 32 riders. Manta operates with three trains. Before departure, mechanisms in the station raise the cars up to the track, such that the riders' spines are parallel to the track. Guests are secured in their seats using a locking lap bar, a vest-like harness and flaps at the riders' ankles to hold their feet in place.
The cars are highly stylized. The lead car is shaped like a manta ray with a wingspan of . In the original plans, the wing of the car was intended to make contact with water at a certain point of the ride, but Bolliger & Mabillard said the idea would not work and a fountain was used instead. The roller coaster's wings appear to skim the water's surface. Water jets in the attraction's main lagoon create a splash effect as the train passes. SeaWorld can adjust several features of the splash effect, including its duration and the train's speed when it enters the area. The roller coaster's color scheme includes deep purple, ultramarine blue and cobalt.
Track
The steel track of Manta is long and lift hill is high. There are four inversions; a pretzel loop, two inline twists and one corkscrew. The track is dark blue and the supports are light blue. Sand is placed inside some sections of track to reduce the noise produced by the trains. Friction brakes are used to control the speed of the train. The track was fabricated at the Ohio-based Clermont Steel Fabricators. In 2015, a clone of Manta opened at Nagashima Spa Land under the name of Acrobat.
Ride experience
Manta features a dual station configuration, which allows two trains to be loaded at the same time, thus increasing the ride's capacity. After departing from the station, the train will make either a slight left or right turndepending on which station it leavesinto the chain lift hill. From the top of the lift hill, the train makes a downward right turn into a -tall pretzel loop, after which it turns left, leading into the first of two inline twists. The train then makes a right turn followed by a slight upward left turn into a corkscrew, before turning right into the mid-course brake run. The train then drops to a point just above a body of water, at the same time making a 270-degree right turn, where water jets spray up near the train to produce the effect of the train actually hitting the water. After exiting the turn, the train goes by a waterfall, goes through the second inline twist, makes a left turn into the final brake run, then makes a left turn into one of the two stations where the next riders board.
Reception
Manta has been lauded by the mainstream media and industry press since its debut in May 2009. Busch Entertainment Corporation, SeaWorld Orlando's parent company, credited Manta with improving park attendance. In July 2009, ThemeParkInsider.com named Manta "best new attraction". In September 2009, Manta placed third in Amusement Today magazine's poll for the Best New Ride of 2009.
See also
Manta (SeaWorld San Diego)
Texas Stingray (SeaWorld San Antonio)
References
External links
Official Manta website
SeaWorld Orlando
Roller coasters introduced in 2009
Roller coasters operated by SeaWorld Parks & Entertainment
2009 establishments in Florida
Roller coasters in Florida
Flying roller coasters manufactured by Bolliger & Mabillard |
The 11th Strategic Division (; Abbr.: 11 DIV STRAT), stylized XI Division, was a division-sized combat formation of the Malaysian Army.
The XI Division was the only division-sized combat formation made completely of army reserve officers and men from the Malaysian Armed Forces Reserve until it was transformed into a strategic division on 2 May 1984. On 31 December 1993, the division was disbanded. What remained of its headquarters, including personnel and facilities, was absorbed into the newly formed Malaysian Army Training and Doctrine Command.
History
Founded as an infantry combat formation
This combat formation was established in 1969 as the 11th Infantry Division at Damansara Camp in Kuala Lumpur as a combat formation for the Malaysian Army to defend Malay Peninsula in the event of an armed conflict. It was established as a result of a collaboration between the Ministry of Defense and the University of Malaya, which at the time wanted to build a garrison for the university's reserve army. As part of the agreement between the Ministry of Defense and the University of Malaya, the garrison was built by the federal government on the university's land, but the garrison must be shared with the headquarters of the 11th Infantry Division.
The division's headquarters remained in Damansara Camp until the year 1984, when it was relocated to Imphal Camp in Kuala Lumpur. The 8th Infantry Brigade is one of the formations under the command of the 11th Infantry Division.
Restructured to an army reserve combat formation
On 1 January 1980, the army command redesignated the 11th Infantry Division as the 11th Reserve Army Division, or Divisyen ke-11 Pasukan Simpanan Tentera Darat (: 11 DIV (PSTD)) in Malay. Its new role is to coordinate all reserve units under the Malaysian Army. Prior to this, the reserve army was not centralized, and its discipline was not as strict as that of the regular army. Many issues, especially logistics, were minimised under the command of the 11th Reserve Army Division.
Restructured to an experimental combat formation
On 2 May 1984, the 11th Reserve Army Division was restructured as the 11th Strategic Division, with the division's responsibilities including experimenting with military strategy and logistics so the Malaysian Army could have advantages in combat. On 1 March 1987, the 11 DIV STRAT chose the 8th Battalion of the Royal Ranger Regiment to be trained as an airborne unit in order to analyse its combat effectiveness. By July 1990, the efficiency of the airborne unit in combat had been recognised by higher command. As a result, two more battalions were selected to be converted to airborne roles at the end of 1990 and in 1992.
The units that were under the command of the 11th Strategic Division at the time included the 10th Strategic Brigade (now known as the 10th Parachute Brigade) and 8th Squadron, Royal Army Engineers Regiment.
Dissolved
The Malaysian Army dissolved the 11th Strategic Division on 31 December 1993. The personnel and facilities of the 11 DIV STRAT HQ were absorbed into the newly established Malaysian Army Training and Doctrine Command.
References
Malaysian Army
Formations of the Malaysian Army |
```javascript
ace.define("ace/mode/sh_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
var reservedKeywords = exports.reservedKeywords = (
'!|{|}|case|do|done|elif|else|'+
'esac|fi|for|if|in|then|until|while|'+
'&|;|export|local|read|typeset|unset|'+
'elif|select|set|function|declare|readonly'
);
var languageConstructs = exports.languageConstructs = (
'[|]|alias|bg|bind|break|builtin|'+
'cd|command|compgen|complete|continue|'+
'dirs|disown|echo|enable|eval|exec|'+
'exit|fc|fg|getopts|hash|help|history|'+
'jobs|kill|let|logout|popd|printf|pushd|'+
'pwd|return|set|shift|shopt|source|'+
'suspend|test|times|trap|type|ulimit|'+
'umask|unalias|wait'
);
var ShHighlightRules = function() {
var keywordMapper = this.createKeywordMapper({
"keyword": reservedKeywords,
"support.function.builtin": languageConstructs,
"invalid.deprecated": "debugger"
}, "identifier");
var integer = "(?:(?:[1-9]\\d*)|(?:0))";
var fraction = "(?:\\.\\d+)";
var intPart = "(?:\\d+)";
var pointFloat = "(?:(?:" + intPart + "?" + fraction + ")|(?:" + intPart + "\\.))";
var exponentFloat = "(?:(?:" + pointFloat + "|" + intPart + ")" + ")";
var floatNumber = "(?:" + exponentFloat + "|" + pointFloat + ")";
var fileDescriptor = "(?:&" + intPart + ")";
var variableName = "[a-zA-Z_][a-zA-Z0-9_]*";
var variable = "(?:" + variableName + "(?==))";
var builtinVariable = "(?:\\$(?:SHLVL|\\$|\\!|\\?))";
var func = "(?:" + variableName + "\\s*\\(\\))";
this.$rules = {
"start" : [{
token : "constant",
regex : /\\./
}, {
token : ["text", "comment"],
regex : /(^|\s)(#.*)$/
}, {
token : "string.start",
regex : '"',
push : [{
token : "constant.language.escape",
regex : /\\(?:[$`"\\]|$)/
}, {
include : "variables"
}, {
token : "keyword.operator",
regex : /`/ // TODO highlight `
}, {
token : "string.end",
regex : '"',
next: "pop"
}, {
defaultToken: "string"
}]
}, {
token : "string",
regex : "\\$'",
push : [{
token : "constant.language.escape",
regex : /\\(?:[abeEfnrtv\\'"]|x[a-fA-F\d]{1,2}|u[a-fA-F\d]{4}([a-fA-F\d]{4})?|c.|\d{1,3})/
}, {
token : "string",
regex : "'",
next: "pop"
}, {
defaultToken: "string"
}]
}, {
regex : "<<<",
token : "keyword.operator"
}, {
stateName: "heredoc",
regex : "(<<-?)(\\s*)(['\"`]?)([\\w\\-]+)(['\"`]?)",
onMatch : function(value, currentState, stack) {
var next = value[2] == '-' ? "indentedHeredoc" : "heredoc";
var tokens = value.split(this.splitRegex);
stack.push(next, tokens[4]);
return [
{type:"constant", value: tokens[1]},
{type:"text", value: tokens[2]},
{type:"string", value: tokens[3]},
{type:"support.class", value: tokens[4]},
{type:"string", value: tokens[5]}
];
},
rules: {
heredoc: [{
onMatch: function(value, currentState, stack) {
if (value === stack[1]) {
stack.shift();
stack.shift();
this.next = stack[0] || "start";
return "support.class";
}
this.next = "";
return "string";
},
regex: ".*$",
next: "start"
}],
indentedHeredoc: [{
token: "string",
regex: "^\t+"
}, {
onMatch: function(value, currentState, stack) {
if (value === stack[1]) {
stack.shift();
stack.shift();
this.next = stack[0] || "start";
return "support.class";
}
this.next = "";
return "string";
},
regex: ".*$",
next: "start"
}]
}
}, {
regex : "$",
token : "empty",
next : function(currentState, stack) {
if (stack[0] === "heredoc" || stack[0] === "indentedHeredoc")
return stack[0];
return currentState;
}
}, {
token : ["keyword", "text", "text", "text", "variable"],
regex : /(declare|local|readonly)(\s+)(?:(-[fixar]+)(\s+))?([a-zA-Z_][a-zA-Z0-9_]*\b)/
}, {
token : "variable.language",
regex : builtinVariable
}, {
token : "variable",
regex : variable
}, {
include : "variables"
}, {
token : "support.function",
regex : func
}, {
token : "support.function",
regex : fileDescriptor
}, {
token : "string", // ' string
start : "'", end : "'"
}, {
token : "constant.numeric", // float
regex : floatNumber
}, {
token : "constant.numeric", // integer
regex : integer + "\\b"
}, {
token : keywordMapper,
regex : "[a-zA-Z_][a-zA-Z0-9_]*\\b"
}, {
token : "keyword.operator",
regex : "\\+|\\-|\\*|\\*\\*|\\/|\\/\\/|~|<|>|<=|=>|=|!=|[%&|`]"
}, {
token : "punctuation.operator",
regex : ";"
}, {
token : "paren.lparen",
regex : "[\\[\\(\\{]"
}, {
token : "paren.rparen",
regex : "[\\]]"
}, {
token : "paren.rparen",
regex : "[\\)\\}]",
next : "pop"
}],
variables: [{
token : "variable",
regex : /(\$)(\w+)/
}, {
token : ["variable", "paren.lparen"],
regex : /(\$)(\()/,
push : "start"
}, {
token : ["variable", "paren.lparen", "keyword.operator", "variable", "keyword.operator"],
regex : /(\$)(\{)([#!]?)(\w+|[*@#?\-$!0_])(:[?+\-=]?|##?|%%?|,,?\/|\^\^?)?/,
push : "start"
}, {
token : "variable",
regex : /\$[*@#?\-$!0_]/
}, {
token : ["variable", "paren.lparen"],
regex : /(\$)(\{)/,
push : "start"
}]
};
this.normalizeRules();
};
oop.inherits(ShHighlightRules, TextHighlightRules);
exports.ShHighlightRules = ShHighlightRules;
});
ace.define("ace/mode/makefile_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules","ace/mode/sh_highlight_rules"], function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
var ShHighlightFile = require("./sh_highlight_rules");
var MakefileHighlightRules = function() {
var keywordMapper = this.createKeywordMapper({
"keyword": ShHighlightFile.reservedKeywords,
"support.function.builtin": ShHighlightFile.languageConstructs,
"invalid.deprecated": "debugger"
}, "string");
this.$rules =
{
"start": [
{
token: "string.interpolated.backtick.makefile",
regex: "`",
next: "shell-start"
},
{
token: "punctuation.definition.comment.makefile",
regex: /#(?=.)/,
next: "comment"
},
{
token: [ "keyword.control.makefile"],
regex: "^(?:\\s*\\b)(\\-??include|ifeq|ifneq|ifdef|ifndef|else|endif|vpath|export|unexport|define|endef|override)(?:\\b)"
},
{// ^([^\t ]+(\s[^\t ]+)*:(?!\=))\s*.*
token: ["entity.name.function.makefile", "text"],
regex: "^([^\\t ]+(?:\\s[^\\t ]+)*:)(\\s*.*)"
}
],
"comment": [
{
token : "punctuation.definition.comment.makefile",
regex : /.+\\/
},
{
token : "punctuation.definition.comment.makefile",
regex : ".+",
next : "start"
}
],
"shell-start": [
{
token: keywordMapper,
regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
},
{
token: "string",
regex : "\\w+"
},
{
token : "string.interpolated.backtick.makefile",
regex : "`",
next : "start"
}
]
};
};
oop.inherits(MakefileHighlightRules, TextHighlightRules);
exports.MakefileHighlightRules = MakefileHighlightRules;
});
ace.define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"], function(require, exports, module) {
"use strict";
var oop = require("../../lib/oop");
var BaseFoldMode = require("./fold_mode").FoldMode;
var Range = require("../../range").Range;
var FoldMode = exports.FoldMode = function() {};
oop.inherits(FoldMode, BaseFoldMode);
(function() {
this.getFoldWidgetRange = function(session, foldStyle, row) {
var range = this.indentationBlock(session, row);
if (range)
return range;
var re = /\S/;
var line = session.getLine(row);
var startLevel = line.search(re);
if (startLevel == -1 || line[startLevel] != "#")
return;
var startColumn = line.length;
var maxRow = session.getLength();
var startRow = row;
var endRow = row;
while (++row < maxRow) {
line = session.getLine(row);
var level = line.search(re);
if (level == -1)
continue;
if (line[level] != "#")
break;
endRow = row;
}
if (endRow > startRow) {
var endColumn = session.getLine(endRow).length;
return new Range(startRow, startColumn, endRow, endColumn);
}
};
this.getFoldWidget = function(session, foldStyle, row) {
var line = session.getLine(row);
var indent = line.search(/\S/);
var next = session.getLine(row + 1);
var prev = session.getLine(row - 1);
var prevIndent = prev.search(/\S/);
var nextIndent = next.search(/\S/);
if (indent == -1) {
session.foldWidgets[row - 1] = prevIndent!= -1 && prevIndent < nextIndent ? "start" : "";
return "";
}
if (prevIndent == -1) {
if (indent == nextIndent && line[indent] == "#" && next[indent] == "#") {
session.foldWidgets[row - 1] = "";
session.foldWidgets[row + 1] = "";
return "start";
}
} else if (prevIndent == indent && line[indent] == "#" && prev[indent] == "#") {
if (session.getLine(row - 2).search(/\S/) == -1) {
session.foldWidgets[row - 1] = "start";
session.foldWidgets[row + 1] = "";
return "";
}
}
if (prevIndent!= -1 && prevIndent < indent)
session.foldWidgets[row - 1] = "start";
else
session.foldWidgets[row - 1] = "";
if (indent < nextIndent)
return "start";
else
return "";
};
}).call(FoldMode.prototype);
});
ace.define("ace/mode/makefile",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/makefile_highlight_rules","ace/mode/folding/coffee"], function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var TextMode = require("./text").Mode;
var MakefileHighlightRules = require("./makefile_highlight_rules").MakefileHighlightRules;
var FoldMode = require("./folding/coffee").FoldMode;
var Mode = function() {
this.HighlightRules = MakefileHighlightRules;
this.foldingRules = new FoldMode();
this.$behaviour = this.$defaultBehaviour;
};
oop.inherits(Mode, TextMode);
(function() {
this.lineCommentStart = "#";
this.$indentWithTabs = true;
this.$id = "ace/mode/makefile";
}).call(Mode.prototype);
exports.Mode = Mode;
});
``` |
Foxtel is an Australian pay television company—operating in cable television, direct broadcast satellite television, and IPTV streaming services. It was formed in April 2018, superseding an earlier company from 1995. The service was established as a 50/50 joint venture between News Corporation (now the present day News Corp; through News Limited, now News Corp Australia) and Telstra, with News Corp and Telstra holding 65% and 35% ownership shares respectively.
It shares many features with the Sky service in the UK and Ireland — including the iQ box, the electronic programme guide, a similar remote control, and Red Button Active.
History
In 1995, a venture between News Corporation (in particular 20th Century Fox Media) and Telstra took place whereby Telstra would transmit a TV signal through its coaxial network and News Corporation would be the basis for offering channel negotiations and connections. Foxtel was formed ("Fox" representing News Corporation's Fox and "Tel" representing Telstra). On 23 October 1995, Foxtel commenced a 20 channel service, delivered over the Telstra Hybrid Fibre Coaxial network.
In May 1998, Australis Media, the owner of a satellite television service known as Galaxy, was declared insolvent. In June 1998, Foxtel was able to significantly boost its customer base by acquiring Galaxy subscribers from the liquidator of Australis Media and immediately commenced supplying programming to Galaxy's subscribers on an interim basis. In February 1999, Foxtel began offering its own satellite service to new customers.
Publishing and Broadcasting Limited bought half of News Corporation's shares in October 1998, giving each quarter ownership.
In 2002, a Content Sharing Agreement between Foxtel and Optus Television was approved by the Australian Competition & Consumer Commission (ACCC).
On 11 July 2011, Austar announced that "it had entered into definitive transaction agreements with Liberty Global, Inc. (LGI) and Foxtel Management Pty Limited (Foxtel) under which Foxtel would acquire Austar by a series of transactions including a scheme of arrangement (Scheme)." This takeover involved a minority shareholder approval on 30 March 2012, the approval of the ACCC on 10 April 2012, and has had approval from a Second Court Hearing. Austar shares were suspended from the ASX on 16 April 2012 and delisted on 27 April 2012. The takeover was completed on 24 May 2012.
News Corporation acquired Consolidated Media Holdings in November 2012, bringing its stake in Foxtel to 50%, up from 25%. On 15 June 2015, Foxtel officially agreed to buyout 15% shares in Ten Network Holdings, subject to approval from the ACCC. Prior to the acquisition, Discovery backed out from bidding partnership with Foxtel. Ten was later fully acquired by American media group CBS Corporation (now Paramount) in 2017.
In June 2017, Foxtel announced that it would be undergoing a major rebrand – the first in its 22-year history – as part of a move to convey an image that "Foxtel is for everyone". The former logo (inspired from the American Fox network's 1996–present logo), described by the company as "quite aggressive, quite arrogant, quite elitist", would be replaced with an all lowercase logo, and its Foxtel Play service would rebranded to Foxtel Now.
On 6 March 2018, News Corp Australia announced a merger of Fox Sports (Australia) with Foxtel (co-owned by News Corp Australia and Telstra). News Corp owns a 65 percent stake in the combined entity, with Telstra owning 35 percent. The combining of the two businesses places emphasis on live-streaming sports and entertainment.
On 4 May 2020, it was announced that Foxtel would be closing down its owned & operated music video networks and replacing them with a new suite of MTV, Nick and CMT-branded channels, as part of a wider deal with Paramount.
On 26 February 2022, Foxtel suspended broadcast distribution of the Russian television network RT in Australia.
In late September 2022, Foxtel extended their partnership with WWE to become Australia's exclusive home of WWE. Foxtel is to relocate WWE Network into Foxtel's Binge streaming service in January 2023, following the launch of its dedicated linear TV channel in December 2022.
Ratings
Foxtel grew rapidly in 2007, with most of Foxtel's highest-ever rating events being broadcast that year, including the 2007 AFC Asian Cup quarter-final between Australia and Japan, which drew an average of 419,000 viewers, an Australian pay television record at that time. This ratings record has since been eclipsed by the 2011 Rugby World Cup on Fox Sports 1 averaging around 500,000 viewers, which was smashed by the 2012 London Olympics Coverage, broadcast on 8 dedicated channels in both HD and SD formats, which saw an average of 946,432 viewers tuning in on the opening weekend, with around 600,000 to 700,000 viewers nightly thereafter.
As of 2012, Fox Sports channels, particularly Fox Footy, average between 90,000 and 300,000 + viewers for NRL/AFL matches throughout the week.
The highest-rated light entertainment shows are The Simpsons most weeknights on FOX8 with around 110,000 viewers, as well as Family Guy with around 70,000 viewers. A&E has also recorded healthy audience numbers for its TruTV & A&E US syndicated shows from the US – Pawn Stars (85,000), Hardcore Pawn (85,000), and Storage Wars (90,000). BBC UKTV also consistently rates well with British soaps EastEnders (80,000) and Coronation Street (65,000). The LifeStyle channel has experienced audiences in excess of 100,000 people for its Premiere shows Location Location Location Australia, Grand Designs Australia, Selling Houses Australia, Disney Channel (Australia) and The Real Housewives of Melbourne brings strong ratings.
Availability
Foxtel transmits its cable service via Telstra hybrid fibre-coaxial (HFC) cable into the Brisbane, Sydney, Melbourne, Adelaide and Perth metropolitan areas, along with the Gold Coast. Foxtel now also transmits its satellite service into these cities as well as all over Australia, including regional areas since the takeover of Austar. Previous Austar customers are now 100% Foxtel customers with the conversion from Austar to Foxtel in regional Australia now complete. Foxtel on Mobile launched on Telstra's Next G Network in late 2006 and is now available within Telstra Next G (HSDPA/850 MHz) coverage areas, which covers 99% of the population.
With the transfer in ownership of Telstra's HFC network to NBNCo for the provision of broadband services, Foxtel announced in 2022 that it would be abandoning HFC in favour of satellite services. The transition is scheduled to be completed in 2023, after which no Foxtel services will be provided on HFC.
Telstra's network and Foxtel were created to combat the threat posed to Telstra's local call business by the combination of Optus TV content bundling with Optus' local telephony services; Foxtel was the content arm of Telstra's defence strategy, while Telstra's multimedia broadband network was originally the sole delivery system.
In 2002, Foxtel and Optus Television agreed to a content-sharing arrangement. Programming competition between the two companies has now dissipated. Prior to its acquisition by Foxtel in 2011, Austar, a regional pay television operator, also carried most Foxtel programming.
, Foxtel is Australia's largest pay television operator, with programming available to over 70% of Australian homes, and delivered to over 1.65 million, either directly or by Foxtel's wholesale customers. In April 2008, Foxtel's penetration into Australian homes passed 30%. This penetration rate is significantly lower compared with market penetration rates in the US (over 85%) and in Western Europe (over 55%). This is due to the fact that Australian pay-TV fees are significantly more expensive and pay-TV began delivering its service much later in Australia than in the US.
Foxtel announced its maiden annual profit in 2006, more than 10 years after it commenced services. The installation and maintenance of Foxtel services is Telstra's responsibility. In many markets Telstra has outsourced installation and maintenance to large communications contractors, including ABB Communications and Siemens-Thiess Communications Joint Venture.
In 2007, Network 10 formed an agreement with Foxtel to allow them to carry a digital version of Ten's programming. Included in the deal is electronic program guide data, which allows Foxtel iQ users to schedule recordings on Ten. Before the agreement, Ten was carried in an analogue format on cable only.
In 2008, Seven Network finally entered an agreement to allow Foxtel to carry its SD signal.
In 2008, the first Pay TV package comparison site YouCompare was launched to allow Foxtel packages and pricing to be compared to SelecTV, however this service was ceased along with the ceasing of SelecTV's service in late 2010.
On 24 November 2009, Foxtel added 7two to the East Coast (satellite) and 7two and GO! to cable subscribers. ABC3 was recently introduced on 4 December 2009 to all Foxtel and Austar subscribers.
On 20 May 2010, Foxtel and Microsoft announced a new way of receiving Foxtel through Xbox 360's online service Xbox LIVE. The service launched November 2010 with 30+ channels and an additional 12 Video-on-demand channels. It also provided Foxtel's movie service, known as Foxtel On Demand, to non-subscribers for the first time on a pay-per-view basis. Further linear channels were added in April 2011 with the addition of 7 Telstra BigPond channels.
In June 2011, Foxtel launched an over-the-top service on Telstra's IPTV set top box called Foxtel on T-Box carrying the same services as the Foxtel on Xbox service. Also as of June 2011, Foxtel's subscribers numbered just over 1.65 million.
In November 2014, Foxtel added 2 new SD channels, 9 new HD channels and rebranded 2 sports channels to satellite and cable subscribers.
Channels
Foxtel defines a virtual channel order that groups channels by their content.
General entertainment channels are from 100 to 150 which includes metropolitan/state-based localised advertising primary channels the Nine Network, ABC TV, SBS TV, the Seven Network and Network 10, with general entertainment and informational channels Crime, Arena, LifeStyle, Fox8, Showcase, Foxtel One, WWE, Comedy, Sleuth, Comcast's Universal TV, BBC First, LifeStyle Food, LifeStyle Home, Sci-Fi, Docos, Discovery, History, A&E, CI, Warner Bros. Discovery's Animal Planet, Discovery Turbo, Investigation Discovery, TLC and BBC Earth.
Metropolitan/state-based localised advertising multichannels are from 152 to 172 for ABC TV Plus/ABC Kids, 7two, 7mate, 7Bravo, 7flix, 9Go!, 9Life, 9Gem, 9Rush, 10 Bold, 10 Peach, SBS Viceland, SBS Food and NITV.
Special interest channels are from 173 to 179 which includes Aurora, TVSN and Expo.
Religious channels are from 180 to 189 which includes Australian Christian Channel, TBN Inspire, Daystar and SBN.
High definition and Ultra High definition channels are from 200 to 299 which includes metropolitan/state-based localised advertising versions of the ABC HD, 7HD, 7mateHD, 9HD, 9Gem HD, 10 HD, SBS HD and SBS Viceland HD, as well as timeshifted versions of general entertainment and informational channels for a two-hour delay of Fox8, Fox Crime, Fox One, Fox Comedy, Arena, LifeStyle, LifeStyle Food, BBC UKTV, Showcase, Fox Sleuth, Fox Sci-Fi, Discovery and Discovery Turbo. As well as national channels A&E, Fox8 (native & SD upscaled), BBC First, Discovery and BBC Earth.
Movie packaged channels are from 400 to 499 which includes Foxtel Movies Hits (themed movies and pop-up events), Ultra HD, Premiere, Action, Comedy, Romance, Kids, Family, Thriller, Drama, Greats, LMN and SBS World Movies.
Metropolitan/state-based localised advertising Sports Channels packaged channels are from 500 to 599 which includes Fox Sports News 500, Fox Cricket 501, Fox League 502, Fox Sports 503, Fox Footy 504, Fox Sports 505, Fox Sports 506, Fox Sports Ultra HD 508, Disney's ESPN and ESPN 2, Main Event (pay-per-view), Sky Racing 1, Sky Racing 2, Sky Thoroughbred Central, Racing.com, Fox Sports News, Fox Cricket, Fox League, Fox Sports, Fox Footy, Fox Sports More, ESPN and ESPN2.
Metropolitan/state-based localised advertising News and Coverage channels are from 600 to 699 which includes Sky News Australia, Sky News Weather Channel, Sky News Extra, Sky News UK, Fox News (U.S sister channel of Sky News Australia), Warner Bros. Discovery's CNN International, NBCUniversal's MSNBC and CNBC, ABC News, SBS WorldWatch, BBC News, Bloomberg Television, Al Jazeera English, CGTN, CGTN Documentary and NHK World-Japan.
Pre-Teenage entertainment channels are from 700 to 799 which includes CBeebies, Warner Bros. Discovery's Cartoon Network and Boomerang, DreamWorks Channel and ABC Me.
Music video channels (operated by Paramount) are from 800 to 829 which includes MTV Hits, NickMusic, CMT, Club MTV and MTV 80s.
Audio only channels are from 830 to 899 which includes Foxtel Music (formerly known as Air Active), SBS AM, SBS FM and SBS Chill.
Foreign language channels are from 900 to 989 which includes Greek radio Ant1 Radio and Antenna, Italian radio Rai Radio 1 and Rai Italia.
Interactive services available are Foxtel Music and Modem Connection Test. Also available on iQ3, iQ4 and iQ5 set top boxes are ABC iView, ABC Kids, SBS On Demand, 9Now, 10 play, Netflix, Disney+, Paramount+, F1 TV, Optus Sport, YouTube, YouTube Kids, Vevo and Amazon Prime Video apps.
Defunct channels
Channels that were re-branded include: 13th Street (rebranded as Fox Sleuth), Syfy (rebranded as Fox Sci-Fi), 111 Funny (split and rebranded into Fox Hits and Fox Funny), W (renamed SoHo), Fashion TV (replaced by FX/Fashion TV moved to Fetch TV), BBC HD (replaced by BBC UKTV HD), Fox Kids Australia (shared with Fox Classics), Weather 21 (replaced by The Weather Channel), The Weather Channel (replaced by Sky News Weather), Encore (renamed to Showtime Greats) (replaced by Showtime Action, Showtime Comedy and Showtime Drama, both swallowed with Foxtel Movies), VH1 Australia (Replaced by MTV Classic), MTV Live HD, Air Active (which was replaced by Foxtel Music), KidsCo (Replaced by Discovery Kids), Fuel TV, Speed (both replaced by Fox Sports 505 & 506 respectively), SoHo (Replaced by Binge), Channel [V] (Replaced by [V] Hits, later renamed [V]), MTV Music and MTV Dance (relaunched as MTV Hits and Club MTV respectively), MTV Classic (replaced by MTV 80s).
HD multichannels that were replaced by other HD channels include 10 Bold (replaced by 10 HD, 10 Bold was reduced to SD) and 9Gem (replaced by 9HD, rebranded today as 9Gem and was reduced to SD). 9Gem later relaunched an HD simulcast.
Channels completely discontinued include the BeIN Sports channels, MTV, Nickelodeon and Nick Jr., Disney XD, Disney Channel, Disney Junior Binge, Discovery Science, Discovery Kids, Foxtel Movies Disney, Eurosport, Your Money, The Soundtrack Channel, Movie Network (replaced by Foxtel Movies), Showtime Network (replaced by Foxtel Movies), TechTV, Fashion TV (replaced by FX/Fashion moved to Fetch TV), Ovation, KidsCo, History+2, Starpics (replaced by Foxtel Movies), Gamesworld Interactive Games and the Interactive Sports Selector. Also discontinued in July 2020 were music channels [V], Max, Country Music Channel and Foxtel Smooth (replaced by NickMusic, MTV Classic and CMT respectively, with Foxtel Smooth closed down).
TV1 and SF ceased transmission at 11:59pm, 31 December 2013 after Foxtel chose not to renew their contracts as they wanted to bring as many channels in house as they did with their movie offerings.
STUDIO ceased transmission at 11:59pm, 27 March 2015 after choosing not to renew the contract with SBS Television. This was replaced by Foxtel Arts in both SD & HD on Channel 132.
Turner Classic Movies (TCM) was discontinued on 13 December 2016.
The Comedy Channel ceased transmission at 1 September 2020.
Disney Channel, Disney Junior and Disney XD ceased transmission at 13 February 2020.
Paramount channels MTV, Nickelodeon and Nick Jr. ceased transmission on 1 August 2023. The channels continue to operate on other providers in Australia and New Zealand, and Foxtel continues to carry Paramount's music video networks. By September 2023, all MTV music channels (except CMT) were switched from localised feeds to the global feed.
Audio only channels includes ABC NewsRadio, ABC Radio National, ABC Local Radio stations, ABC Classic FM, Triple J, Double J and ABC Jazz.
Current services
Although originally launching in 1995 with just a cable service, Foxtel has branched out into many new services since its inception including broadband and phone services in 2014.
Foxtel Go
Foxtel subscribers are able to access live and on-demand content within packages they are subscribed to through the internet via Foxtel Go.
Foxtel launched the Foxtel Go service on 7 November 2012. Originally, it was only available on iPad, but from 20 February 2013 it was also available on iPhone, and later on Mac, Windows PC and selected Android devices. Foxtel Go was launched after the success of its London 2012 app, which simulcast 8 live high definition channels that were also offered on the standard Foxtel service.
Access to the Foxtel Go app is free for residential customers with a set-top box and a Foxtel or Foxtel Now subscription, allowing access to any channel that they are subscribed to. Only five devices can be linked to an account during any given month with only two being able to view content at the same time.
Unlike Mobile Foxtel (provided by Telstra) – which only provides a loop of selected shows – Foxtel Go offers a live simulcast of a subset of channels available through the traditional cable and satellite services. The service also has no time limits; Mobile Foxtel offers only 15 minutes of programming per session, or a maximum 200 minutes per month.
The channels currently available to subscribers are:
Essentials – Fox Showcase; Fox Hits; Fox8; Fox Funny; BoxSets; Fox Arena; Lifestyle; MTV Hits; Club MTV; NickMusic; MTV 80s; Sky News; Sky News Weather; Sky News Extra; Sky News UK; Fox Sports News; CNN; Fox News; BBC News; CNBC; Bloomberg; NHK World-Japan; Fox Comedy; TLC; E!; Lifestyle Food; Lifestyle Home; Foxtel Arts.
Drama Plus – UKTV; Fox Crime; BBC First; Universal TV; Fox One; Fox Sci-Fi; Fox Sleuth.
Kids – Cartoon Network; CBeebies; Boomerang
Sport – Fox Sports, Fox Cricket; Fox League; Fox Footy; ESPN; ESPN 2
Movies – Premiere; Kids; Action; Comedy; Romance; Family; Drama; Hits; Thriller; Greats; LMN; SBS World Movies.
Docos – A&E; History; Discovery Channel; Discovery Turbo; Animal Planet; Investigation Discovery; Crime + Investigation; BBC Earth.
The Foxtel Go also offers an on demand service for most channels listed above including sports channels.
Foxtel Now
Foxtel Now (formerly Foxtel Play) is an internet television alternative to the traditional Foxtel subscription, offering customers a no lock in contract subscription starting at $10. The service offers over 50 live channels and hundreds of hours of video on-demand content across 6 subscription packages.
The service is available across a range of devices such as computers, TVs and video game consoles. In addition, subscribers have access to Foxtel's Foxtel Go app expanding access to smartphones and tablets.
On 4 October 2016, Foxtel announced that a new look Foxtel Play streaming service will roll out from December 2016 and that Foxtel Play will be a simpler, cheaper and more flexible IP-delivered product.
As part of a company wide rebrand in June 2017, Foxtel announced that from 7 June, Foxtel Play would be renamed Foxtel Now and would gain HD streaming and Chromecast support with a lower starting price of $10 per month (later increased to $25 per month).
Foxtel magazine
Foxtel's magazine is Australia's most-read paid-for monthly magazine, with a monthly reach of about 700,000. It is published for Foxtel by Medium Rare Content Agency, and distributed to Foxtel subscribers (who choose to pay for this service) by via post.
Streamotion
Streamotion Pty Ltd is a wholly owned subsidiary of Foxtel that develops and operates over-the-top subscription streaming services. Currently, the group operates Kayo, Binge and Flash, as well as WatchNRL and WatchAFL internationally.
Kayo Sports
Kayo Sports is Foxtel's subscription streaming service for its sports content. The service was launched in November 2018 and offers both live streams and highlights packages from Fox Sports as well as ESPN, beIN Sports and Racing.com. In addition to this, a multiscreen feature is also available, allowing subscribers to view multiple live events simultaneously.
Binge
Binge is Foxtel's entertainment focused streaming service that was launched on 25 May 2020. Set up to compete with the likes of Disney+, Netflix, Amazon Prime Video and Stan, the service features content from major networks and studios including HBO, Warner Bros, Paramount Global, Sony Pictures, Universal Pictures, FX (even though it has already begun losing its titles to Disney+) and the BBC. The service also features a selection of live streamed linear Foxtel cable networks including FOX One, LifeStyle, Fox Arena and BBC First.
Flash
Flash News is Foxtel's news aggregation OTT platform that was launched on 14 October 2021. The service offers live news coverage from major linear cable networks including Sky News Australia, Sky News UK, CNN, BBC News, and Fox News.
Past services
Foxtel Digital
Foxtel On-Demand
Foxtel HD
Foxtel announced their high definition service, originally called Foxtel HD+, on 30 January 2008. It became officially available on 19 May 2008 at a nominal price of $10 AUD despite similar "HD" resolution broadcast channels already available on free-to-air television. HD+ launched with four channels; BBC HD, ESPN HD, Fox Sports HD and a timeshared documentary channel for Discovery HD World and National Geographic HD programming. Foxtel Box Office also began simulcasting in high definition.
On 15 November 2009, another ten high definition channels were launched; Fox Sports 2 HD, Fox Sports 3 HD, Fox8 HD, Movie One HD, Showcase HD, Showtime Action HD, Showtime Premiere HD, Starpics 1 HD, Starpics 2 HD and W HD. BBC HD was relaunched as UKTV HD and the timeshared documentary channel was split into full-time versions of Discovery HD World and National Geographic HD. The pricing and packaging of the HD+ channels was also revised.
BBC Knowledge HD, MTVN Live HD, Nat Geo Wild HD and Speed HD launched almost a year later on 1 November 2010. ESPN 2 HD and Lifestyle HD launched on 1 March 2011. A&E HD, Fox Footy HD and FX HD launched in late February 2012. Eight new high definition channels for the London Olympics began broadcasting on 25 July 2012. Foxtel launched eight new high definition movie channels on 1 January 2013, replacing the five existing high definition movie channels from Showtime and The Movie Network. The new channels included Action/Adventure HD, Comedy HD, Drama/Romance HD, Family HD, Masterpiece HD, Premiere HD and Thriller/Crime HD. Main Event HD began broadcasting on 3 September 2013.
Syfy HD launched on 1 January 2014. Foxtel added Disney Movies HD on 10 April 2014. UKTV HD was replaced with BBC First HD on 3 August 2014. On 3 November 2014, nine new high definition channels were launched; 13th Street HD, Arena HD, BoxSets HD, Eurosport HD, Fox Sports 4 HD, Fox Sports News HD, History HD, Universal HD and World Movies HD. Speed HD was also relaunched as Fox Sports 5 HD at the same time. Binge HD launched on 5 October 2015. Sky News National HD began broadcasting on 1 December 2015, with Sky News Business HD beginning on 19 January 2016. Foxtel Arts HD began broadcasting in March 2016. On 1 April 2016, Sky Thoroughbred Central HD launched. Sky News Election Channel HD launched on 1 May 2016. Foxtel added another high definition movie channel with More Movies HD launching on 1 July 2016.
In response to Optus Sports winning the rights to the English Premier League, Foxtel launched six new high definition sports channels on 15 May 2016. These included beIN Sports 1 HD, beIN Sports 2 HD, beIN Sports 3 HD, Chelsea TV HD, LFCTV HD and MUTV HD. Sky News Election Channel HD was replaced with A-PAC HD in January 2017. Movie Greats HD was added on 23 March 2018. Sky News UK HD launched as a standalone channel on 27 May 2018 with A-PAC HD also rebranding to Sky News Extra HD. Fox News Channel HD launched in November 2018.
A retransmission of the free-to-air networks' high definition channels is also available to high definition cable subscribers and satellite subscribers with an iQ3 set-top box or later. These channels include ABC HD, SBS HD, SBS Viceland HD, SBS World Movies HD, 7HD, 7mateHD, 9HD, 9Gem HD and 10 HD.
Foxtel's high definition channels are broadcast in H.264 in both 720p and 1080i resolutions. As of 2011, almost a third of Foxtel's customers were receiving the HD service.
Foxtel Download
On 1 October 2009, Foxtel launched an online download service which allows all cable and satellite customers to access Foxtel content via their computer. The service were free for customers, who can download programmes from channels within their subscription package. There were one live streaming channel, ESPN3, while the remainder of the service provides episodes of programs from 38 channels. Then CEO, Kim Williams, highlighted that Foxtel planned to expand its live streaming channel range later in the year to coincide with the 2010 Vancouver Winter Olympics and the launch of thirty new channels for Foxtel Digital and HD. This service has been the source of great controversy as there was no support for Linux, Mac or any 64 bit Windows Operating Systems, leaving many users unable to install the client.
Foxtel Download was discontinued in September 2012, with the service no longer being available to subscribers.
Mobile Foxtel
Launched in late 2006 to coincide with Telstra's NextG 3G Mobile phone network, Mobile Foxtel (previously Foxtel By Mobile) offers 33 standard channels of programming for a small subscription fee, optimised for mobile devices. the channels on the service were: Sky News National, Your Money, CNN, Fox Sports News, Fox8, The Comedy Channel, MTV, E! Entertainment, Fashion TV, Discovery Mobile, Disney Channel, Eurosport, Union Extreme Sports, Cartoon Network, TV1, National Geographic, ABC, SBS One and Eurosportnews.
With the exception of CNN, Fashion TV, Eurosportsnews, Eurosport, Fox News, BBC World News and Fox Sports News, which were direct simulcasts of the actual channel and Sky News channels which are taken from the Sky News Active service, all channels are pre-produced loops that do not directly correlate to the full scale satellite/cable channel. There were a limit of 200 minutes per month, with 15 minutes per session, may apply to the service, although this has not been strictly enforced.
The service was discontinued on 27 July 2016.
Foxtel on Xbox 360 and Internet TV
Foxtel launched in November 2010 for the Xbox 360 games console, offering 38 channels, catch-up television and on-demand movie streaming. It requires both an Xbox Live Gold subscription and a Foxtel subscription. Samsung Smart TVs received the same service at no additional cost in July 2012. This has been replaced with Foxtel Now.
Presto
In 2014, Foxtel launched a movie streaming operation Presto, which was initially priced at $19.99, but was halved a few months later. Presto was spin-off a television streaming service with Seven West Media in early 2015.
Foxtel announced the Presto service will be closed in January 2017, and customers moved to a Foxtel Now service.
Fox Movies
In August 2018, Foxtel launched a streaming VOD (video on demand) movie service called FoxFlicks. This service is available to subscribers who have either the movie pack or platinum pack with the new iQ4 set-top-box. It has since been rebranded as Foxtel Movies.
Live2Air
In December 2006, airline Virgin Australia (then known as Virgin Blue) announced a partnership with Foxtel and Austar to introduce a "Live2Air" service on most flights by mid-2007, providing live satellite TV to passengers via the in-flight entertainment system. The Live2Air system offered 24 Foxtel channels and was only available on selected Boeing 737 aircraft, and was phased out beginning in 2012.
Devices
Foxtel devices are manufactured by Pace plc on behalf of Foxtel - they have manufactured a variety of devices including:
Foxtel Standard
There is a variety of Foxtel standard units. These lack the recording features of the iQ models, but can be connected to a VCR or DVR. Foxtel has phased out the standard boxes for all new installations and provides the iQ3, iQ4 or iQ5 instead. The additional features of the iQ models (such as recording) can be deactivated if the customer does not wish to pay for them, in effect making them operate as if they were a legacy model.
Foxtel iQ
Foxtel launched Foxtel iQ in early 2005. It is a timeshifting personal digital recorder in which subscribers are able to record programmes onto a 160 GB hard drive inside the set-top unit for later viewing. Foxtel iQ includes a feature called Series Link, which lets the viewer choose to record all future episodes in a given television series (availability is limited to certain programmes). Foxtel iQ also allows viewers to use live rewind and pause features during television programmes. Two new services, On Demand and Remote Record, launched in 2007. Remote Record was launched on 1 January 2007 and allows users to log into the interactive TV guide on the Foxtel website and then command their iQ at home to record shows, while On-Demand was launched on 8 February 2007. This service is based on Sky+, which was launched on News Corporation's UK television platform Sky in 2001.
There are currently two models of Foxtel iQ, with identical functionality to the user but different audio-visual output abilities. Both models have two tuners, allowing users to record two programmes (or record one and watch one) simultaneously.
Pace plc are the set top box provider for iQ, of which they claim that the cable version of iQ is the first DVB-based cable digital video recorder.
The updated version of the original iQ unit is physically smaller, however allows for better quality recordings and HDMI up-scaling as well as an Ethernet Port to allow Box Office downloads. It can also order On-Demand titles without the need of the phone line connected to the model. These boxes are referred to as the iQ1.5, to differentiate them from the original iQ boxes. As of 1 March 2017, these boxes are no longer available to new customers.
Foxtel iQ2
The second-generation iQ2 box was launched alongside the Foxtel HD+ service in mid-2008. Equipped with a 320GB HDD, iQ2 is capable of recording 30 hours of HD and 90 hours of SD content and offers, double that of the original iQ. The unit also offers HDMI connectivity.
The iQ2 is equipped with four tuners, of which one is reserved for on demand content. This allows users to record two programs at once while watching a third live.
As of 2011, 75 per cent of Foxtel subscribers are using an iQ series unit, 40 per cent are using Multi-Room, and 40 per cent are using iQ2 (and therefore, HD).
On 2 November 2011, Foxtel started notifying subscribers of the option to upgrade (at an additional one-off $200 upgrade fee) to a 1TB model with 4 times the recording capacity. As of 17 August 2020, these boxes are no longer available to new customers.
Foxtel iQ3
Foxtel's third-generation model, iQ3, was first referenced by CEO Richard Freudenstein in March 2012, and was released to customers on 23 March 2015. The iQ3 contains increased internet connectivity with the inclusion of Wi-Fi and the ability to re-watch certain broadcast programmes to the start using on-demand technology. The iQ3 includes a 1TB HDD (3x the capacity of the previous iQHD) and a bluetooth remote. After the release, many customers had complaints due to the unstable nature of the iQ3 graphical user interface and additionally accused Foxtel of releasing an 'unfinished product'. Foxtel denied such claims along with rumours that up to 2,000 iQ3 boxes were quickly launched in response to market rival Netflix launching in Australia in April 2015. As of November 2015, instability issues are yet to be resolved. However, an iQ3 software update in late 2019 allows integration with Netflix titles when connected to a television unit with an application for the service.
Foxtel iQ4
Foxtel's fourth-generation model, iQ4 was launched in August 2018 and is 4K compatible. Foxtel launched Foxtel 4K—a dedicated 4K channel on 7 October 2018, with the broadcast of the Supercheap Auto Bathurst 1000.
Foxtel iQ5
The iQ5 is Foxtel's latest set top box which came out in September 2021 and can operate in two different modes depending on what service is available at customer's premises. It can be connected to an existing Satellite service, where a dish is already installed and working, or connected to the internet to stream Foxtel content in internet-only mode.
Advertising on Foxtel
When Foxtel was launched in 1995, advertising during programmes was banned under Australian Government legislation for the first two years. Foxtel has since significantly increased advertising across its platform, although still today legislation prevents Foxtel and other pay TV businesses from earning more than 50 per cent of their revenue from advertising. Sometimes, viewers are exposed to up to 5 minutes worth of adverts for every 8 minutes of programming. Certain programming on select channels are ad-free such as films or live games on Fox Sports, as well as select premium networks such as Fox Showcase.
Legislation affecting Foxtel
Anti-siphoning
The Australian anti-siphoning laws also prevent Foxtel and other pay TV suppliers from acquiring exclusive rights to specific sporting events such as cricket, golf, tennis and the football codes. Under the legislation pay TV licensees are prevented from bidding for major sporting events until a right is acquired by the ABC, SBS, Seven, Nine and Ten networks. In 2009, the Minister for Communications announced a review of the legislation. In an Olympics year, the Australian anti-siphoning list runs to over 1300 events and is one of the longest in the world.
Third party access
Foxtel prevents users from using their subscription card in a third-party decoder, and requires all users to watch the service on a supplied set-top box, included with the subscription, however some users have reported being able to watch certain channels on a computer with a DVB-C card and using sasc-ng to decrypt the video content using card readers to read the decoding keys stored on the card used in Foxtel's iQ.
Foxtel Networks
On 24 May 2012, Foxtel merged with Austar, resulting in Foxtel gaining Austar's shares in XYZnetworks (which Foxtel closed and created Foxtel Networks), as well as their shares in Main Event.
The channels owned by Foxtel include:
Former channels
Logo history
See also
Fox Broadcasting Company
Subscription television in Australia
Notes
References
External links
Direct broadcast satellite services
Australian companies established in 1995
Australian subscription television services
Australian brands
Companies based in Sydney
Telecommunications companies established in 1995
Mass media companies established in 1995
Joint ventures
Telecommunications companies of Australia
News Corp Australia
Telstra |
Nannbenda () is a 2015 Indian Tamil-language romantic comedy film written and directed by Jagadish and produced by Udhayanidhi Stalin starring Stalin himself, Nayanthara, and Santhanam. The music was composed by Harris Jayaraj with cinematography by Balasubramaniem and editing by Vivek Harshan. The movie was released on 2 April 2015.
Plot
Sathya is an unemployed youth from Thanjavur who goes to Trichy every month to meet his old childhood friend Sivakozhundhu, who is a hotel manager, and spend his day with the latter's salary. One such time, he meets Ramya, a bank manager, and falls in love with her. He believes that if he sees a girl three times a day casually, she will be his lucky lady. Sathya meets Ramya twice and goes all over Trichy with Sivakozhundhu in search of her. He decides to stay there that night. Just before 12:00, he sees Ramya celebrating her birthday in the hostel opposite to Sivakozhundhu's room. The next day, he proposes to her in her bank.
Meanwhile, Sivakozhundhu decides to send Sathya off by all means. However, Sathya is in turn appointed as Sivakozhundhu's assistant in a 2.5 star hotel, where Sivakozhundhu worked as a manager earlier. To improve their hotel's condition, he asks for a loan from Ramya's bank. Ramya refused to give them loan instead she gives an idea to Sathya that he can call actress and celebrity Tamannaah to the hotel.The hotel is developed. One day, Sathya and Ramya are chased by thugs, who are the henchmen of a lady whom Ramya chucked out of the hostel as she had stolen other people's valuables. Sathya saves Ramya from the thugs. The next day, Ramya tells him that she had once committed a murder and has gone to prison for the offense. This frightens Sathya, but Ramya says that once in Chennai, she was chased by a dog, whose owner is her former boss. She kicks the dog and it dies, but the Blue Cross members see this and take Ramya to court, where she is imprisoned for 10 days and fined Rs.5000 for killing the dog. Sathya laughs at this. Ramya is hurt and asks him to get out of the station or else she would go out of town. That night, Sathya and Sivakozhundhu decide to commit a crime and go to prison so that they could understand the pain of being in prison. They get heavily drunk and beat up "Scorpio" Shankar, a local don.
The next day, Shankar confronts them, while they were going to the bus stand to send Sathya to Thanjavur. He says that Ramya had seized his beloved Scorpio car, as he had not paid his installments to the bank, so he had planned to assassinate Ramya that night. Shankar thinks that Sathya and Sivakozhundhu had known his plans, knowingly hit him, and sent him in a lorry. Shankar chases the two to a local park. When he comes to kill them, Sathya and Sivakozhundhu punch him, and he falls upside down. When they rotate him, they are shocked to see a knife in his heart and that he had died. The public witnesses this and complains to the police that Sathya and Sivakozhundhu had killed Shankar.
The inspector in-charge of this case is Sathya's and Sivakozhundhu's old childhood friend Thangadurai, who unfortunately does not help them. He wants to seek revenge against them as they had humiliated him when the three of them were in school. He comes to them in prison and informs them that he had found the real murderer but will not say it to the judge, until they sentence the two of them to life imprisonment or death. That night, Sathya and Sivakozhundhu escape prison so that they could murder Thangadurai for doing this to them. On their way, Sathya goes to Ramya's hostel to meet her for one last time. Ramya says that she had used the surveillance camera in the park and given it to Thangadurai, who found out that "Baby" Kumar, Shankar's enemy, had thrown the knife from a distance when he was falling down. Thangadurai thanked Ramya and had said that whatever it might be, but Sathya and Sivakozhundhu are his friends and he would release them as soon as possible. However, Thangadurai had mockingly cheated the two so that they would be restless that whole night.
Afraid of what would happen if they are not in prison that morning, Sathya and Sivakozhundhu search the outlet from where they had escaped, but they could not find it. After losing hopes, they find two other prisoners escaping from that route. Instead of going inside the tunnel that they had come from, the two chase the other two prisoners and hand them over to the police, excusing themselves, saying that they had gone through the tunnel only to catch those two prisoners. They are then successfully released from prison the next morning, and Kumar is arrested for murdering Shankar.
Cast
Production
In July 2013, Udhayanidhi Stalin revealed that he would produce and appear in a venture titled Nannbenda alongside Santhanam and that the project would be directed by Jagadish, an assistant to director M. Rajesh. Nazriya Nazim was initially approached to play the female lead role but she turned down the offer. Kajal Aggarwal subsequently agreed terms and signed on to star in the film.
The first look of the film was released in January 2014, with confirmation that the cinematography would be handled by Balasubramaniem and music composed by Harris Jayaraj, both collaborating with Stalin for his third successive venture as an actor. Later that month, it was announced that Nayanthara had replaced Kajal Aggarwal and would collaborate with Stalin for the second time after Idhu Kathirvelan Kadhal. Tamannaah agreed to appear in a cameo role as herself and shot for an entire day for the film in Chennai in April 2014. Sherin was reported to be playing a crucial role, returning to Tamil films after nearly four years.
Dubbed Version
Nannbenda was dubbed in Telugu as Good Evening and was released on November 20, 2015.
Music
The film's soundtrack album and background score was composed by Harris Jayaraj. The soundtrack album consists of six tracks. Harris is collaborating with Udhayanidhi Stalin for the third time in this project. The music rights were purchased by Sony Music India. The track list of the soundtrack was released by Sony Music on 19 December 2014. A video teaser of the "Nee Sunno New Moono" song was released by Udhayanidhi on his YouTube production page on 21 December 2014. The album was released on 23 December 2014. Actors Suriya and Arya attended the audio launch as chief guests. The soundtrack received positive reviews from critics, who felt that it was 'pleasant' with 'freshness in sound quality'.
Release
The satellite rights of the film were sold to Sun TV.
Critical response
M.Suganth of The Times of India rated the film 3 out of 5 and wrote"... it exploits formula to the hilt and like a well-oiled machine, does what it set out to be". Nicy V.P of The International Business Times gave 2 stars out of 5 and wrote "To conclude 'Nannbenda' is a forgettable movie and is meant for only for those people who badly crave to see Nayanthara onscreen". Gautaman Bhaskaran of The Hindustan Times rated 1 out of 5 and wrote "Honestly, Nannbenda is a 151-minute of sheer boredom, liberally peppered with juvenile jokes and intolerably silly situations". Sudhir Srinivasan of The Hindu wrote "Nanbenda: A comedy that isn’t funny". Anupama Subramanian of Deccan Chronicle rated the film 2 stars and wrote that "the film falls prey to a weak script". Sify criticised the script citing that " the screenplay is painfully predictable and you will find yourself chuckling and cringing alternately while watching the film".
References
External links
2010s Tamil-language films
2015 directorial debut films
2015 films
2015 romantic comedy films
Indian romantic comedy films
Films scored by Harris Jayaraj
Films set in Tiruchirappalli
Films shot in Tiruchirappalli |
Viktor Naslund (born July 1, 1992) is a Swedish professional ice hockey player who currently plays for HV71 in the Swedish Elitserien.
References
External links
1992 births
Living people
HV71 players
Swedish ice hockey defencemen
Sportspeople from Jönköping
Ice hockey people from Jönköping County |
```shell
Pushing to a remote branch
Tracking shorthands
Pulling a remote branch
Merging branches
Cherry-pick a commit
``` |
The Portland Pilots women's soccer team represents the University of Portland in National Collegiate Athletic Association Division I women's soccer. The team competes in the West Coast Conference and is currently coached by Michelle French. The Pilots won national championships in 2002 and 2005.
All-Time Coaching Records
Year-by-year statistical leaders
References
External links
Official website
women's
Pilots
1980 establishments in Oregon
Association football clubs established in 1980 |
```python
"""Determination of spline kernel weights (adapted from SciPy)
See more verbose comments for each case there:
path_to_url#L7 # NOQA
``spline_weights_inline`` is a dict where the key is the spline order and the
value is the spline weight initialization code.
"""
spline_weights_inline = {}
# Note: This order = 1 case is currently unused (order = 1 has a different code
# path in _interp_kernels.py). I think that existing code is a bit more
# efficient.
spline_weights_inline[1] = '''
wx = c_{j} - floor({order} & 1 ? c_{j} : c_{j} + 0.5);
weights_{j}[0] = 1.0 - wx;
weights_{j}[1] = wx;
'''
spline_weights_inline[2] = '''
wx = c_{j} - floor({order} & 1 ? c_{j} : c_{j} + 0.5);
weights_{j}[1] = 0.75 - wx * wx;
wy = 0.5 - wx;
weights_{j}[0] = 0.5 * wy * wy;
weights_{j}[2] = 1.0 - weights_{j}[0] - weights_{j}[1];
'''
spline_weights_inline[3] = '''
wx = c_{j} - floor({order} & 1 ? c_{j} : c_{j} + 0.5);
wy = 1.0 - wx;
weights_{j}[1] = (wx * wx * (wx - 2.0) * 3.0 + 4.0) / 6.0;
weights_{j}[2] = (wy * wy * (wy - 2.0) * 3.0 + 4.0) / 6.0;
weights_{j}[0] = wy * wy * wy / 6.0;
weights_{j}[3] = 1.0 - weights_{j}[0] - weights_{j}[1] - weights_{j}[2];
'''
spline_weights_inline[4] = '''
wx = c_{j} - floor({order} & 1 ? c_{j} : c_{j} + 0.5);
wy = wx * wx;
weights_{j}[2] = wy * (wy * 0.25 - 0.625) + 115.0 / 192.0;
wy = 1.0 + wx;
weights_{j}[1] = wy * (wy * (wy * (5.0 - wy) / 6.0 - 1.25) + 5.0 / 24.0) +
55.0 / 96.0;
wy = 1.0 - wx;
weights_{j}[3] = wy * (wy * (wy * (5.0 - wy) / 6.0 - 1.25) + 5.0 / 24.0) +
55.0 / 96.0;
wy = 0.5 - wx;
wy = wy * wy;
weights_{j}[0] = wy * wy / 24.0;
weights_{j}[4] = 1.0 - weights_{j}[0] - weights_{j}[1]
- weights_{j}[2] - weights_{j}[3];
'''
spline_weights_inline[5] = '''
wx = c_{j} - floor({order} & 1 ? c_{j} : c_{j} + 0.5);
wy = wx * wx;
weights_{j}[2] = wy * (wy * (0.25 - wx / 12.0) - 0.5) + 0.55;
wy = 1.0 - wx;
wy = wy * wy;
weights_{j}[3] = wy * (wy * (0.25 - (1.0 - wx) / 12.0) - 0.5) + 0.55;
wy = wx + 1.0;
weights_{j}[1] = wy * (wy * (wy * (wy * (wy / 24.0 - 0.375) + 1.25) - 1.75)
+ 0.625) + 0.425;
wy = 2.0 - wx;
weights_{j}[4] = wy * (wy * (wy * (wy * (wy / 24.0 - 0.375) + 1.25) - 1.75)
+ 0.625) + 0.425;
wy = 1.0 - wx;
wy = wy * wy;
weights_{j}[0] = (1.0 - wx) * wy * wy / 120.0;
weights_{j}[5] = 1.0 - weights_{j}[0] - weights_{j}[1] - weights_{j}[2]
- weights_{j}[3] - weights_{j}[4];
'''
``` |
Romantisísmico (Romanticeismic) is the eleventh studio album by Argentine rock band Babasónicos, released in September 2013.
Track listing
"La lanza" [The spear] (A.Rodríguez, D.Rodríguez)
"Aduana de palabras" [Words Customs] (A.Rodríguez, D.Rodríguez)
"El baile del Odín" [The dance of Odin] (A.Rodríguez, D.Rodríguez, D.Tuñón, M.Dominguez)
"Run Run" (A.Rodríguez, D.Rodríguez, D.Tuñón)
"Los Burócratas del Amor" [The Bureaucrats of Love] (A.Rodríguez, M.Dominguez)
"Negrita" [Bold] (A.Rodríguez, D.Rodríguez, D.Tuñón)
"Uso" [Use] (A.Rodríguez, D.Rodríguez, D.Tuñón)
"Humo" [Smoke] (A.Rodríguez, M.Dominguez)
"Casi" [Nearly] (A.Rodríguez, M.Dominguez)
"Uno tres dos" [One three two] (A.Rodríguez, M.Dominguez)
"Paisano" (A.Rodríguez, D.Rodríguez)
"Celofán" [Cellophane] (A.Rodríguez, D.Rodríguez)
Singles
"La lanza"
"Los Burócratas del Amor"
"Aduana de palabras"
References
2013 albums
Babasónicos albums |
Harry Verney may refer to:
Sir Harry Verney, 2nd Baronet (1801–1894), British politician, MP for Buckingham three times between 1832 and 1885
Sir Harry Verney, 4th Baronet (1881–1974), British politician, MP for Buckingham 1910–1918
Harry Lloyd Verney (1872–1950), British courtier
See also
Verney baronets |
```java
package core.webui.server.handlers.internals.menu;
import java.io.IOException;
import java.util.logging.Logger;
import org.apache.http.HttpException;
import org.apache.http.HttpRequest;
import org.apache.http.nio.protocol.HttpAsyncExchange;
import org.apache.http.protocol.HttpContext;
import core.webui.server.handlers.AbstractSingleMethodHttpHandler;
import core.webui.webcommon.HttpServerUtilities;
public class MenuGetCompilerPathActionHandler extends AbstractSingleMethodHttpHandler {
private static final Logger LOGGER = Logger.getLogger(MenuGetCompilerPathActionHandler.class.getName());
public MenuGetCompilerPathActionHandler() {
super(AbstractSingleMethodHttpHandler.GET_METHOD);
}
@Override
protected Void handleAllowedRequestWithBackend(HttpRequest request, HttpAsyncExchange exchange, HttpContext context) throws HttpException, IOException {
if (!backEndHolder.getCompiler().canSetPath()) {
LOGGER.info("Current compiler does not support getting/setting path.");
return HttpServerUtilities.prepareHttpResponse(exchange, 400, "Current compiler does not support getting/setting path.");
}
String result = backEndHolder.getCompiler().getPath().getAbsolutePath();
return HttpServerUtilities.prepareTextResponse(exchange, 200, result);
}
}
``` |
A laptop orchestra (lork or LO) or laptop ensemble (LE) is a chamber music ensemble consisting primarily of laptops. Education based laptop orchestras include SCLOrk (Santa Clara University Laptop Orchestra), BLOrk (University of Colorado Boulder Laptop Orchestra), CLOrk (Concordia Laptop Orchestra), CMLO (CMU Laptop Orchestra, Carnegie Mellon), HELO (Huddersfield Experimental Laptop Orchestra), L2Ork (Virginia Tech Linux Laptop Orchestra) OLO (Oslo Laptop Orchestra), PLOrk (Princeton Laptop Orchestra), SLOrk (Stanford Laptop Orchestra), SAMPLE (Portland State University Sonic Arts and Music Production Laptop Ensemble), and ELUNM (Ensamble de Laptops de la Universidad Nacional de Música in Peru. City based laptop orchestras include BiLE (Birmingham Laptop Ensemble), MiLO (Milwaukee Laptop Orchestra), and BSBLOrk (The Brasília Laptop Orchestra).
CLOrk
Concordia Laptop Orchestra (CLOrk) is an ensemble of laptop performers, consisting of up to 25 members, based at Concordia University's Music Department in Montreal, Quebec, Canada. Founded and directed by professor Eldad Tsabary, CLOrk specializes in networked and multidisciplinary performances and collaborations, such as with dance and video.
CLOrk's first performance (January 2011) was a telematic collaboration with other laptop ensembles across Canada as part of the University of Calgary Happening Festival. Since that performance, CLOrk has performed telematically on several occasions with other laptop ensembles (such as McMaster's Cybernetic Orchestra) and acoustic ensembles at New York University, University of California, San Diego, Queen's University Belfast, Hamburg Hochschule of Music, University of California, Irvine, and Mustek duo (Edinburgh), among others, at international events such as Birmingham Network Music Festival, ToBeContinued, and Penta Locus.
The laptop orchestra trend began with the Princeton Laptop Orchestra (PLOrk) in 2005 and continued with the emergence of many laptop orchestras and ensembles around the world, each characterized by certain technological traits and artistic approaches. CLOrk is characterized by a non-uniform technological approach, based on the idea of "music first; technology follows," by its network music activities, by its collaboration with acoustic ensembles, and by its use of soundpainting conduction.
Electro-Acoustic Ensemble
The Electro-Acoustic Ensemble is a laptop-based ensemble at Loyola University New Orleans. The ensemble was formed in January 2009 by Professor Paul J. Botelho and is composed of thirteen performers. Custom software instruments are developed for the ensemble primarily using the ChucK and Java programming languages. The ensemble focuses on contemporary and classical electro-acoustic works and performs in a variety of situations with a special focus on guerrilla performance.
Notable performances
Futurist Manifesto was premiered at a guest lecture by philosopher Slavoj Žižek at Loyola University New Orleans on November 17, 2009. The work was based on the manifesto of the Italian Futurists and included live recitation of the manifesto with computer manipulation. This work was also performed at the New Orleans Museum of Art on April 1, 2011 as a part of the museum's Where Y'Art? series.
On December 4, 2009, the ensemble performed a twenty-four-hour meta-performance of Erik Satie's Vexations at Loyola University New Orleans. Notably, one audience member, pianist Michael Bennett, remained for the entire twenty-four-hour performance.
The ensemble performed a concert at McKeown's Books and Difficult Music, New Orleans, LA on March 26, 2011.
PLOrk
The Princeton Laptop Orchestra (abbreviated PLOrk) is an ensemble of computer-based meta-instruments at Princeton University.
PLOrk is part of research at Princeton University that investigates ways in which the computer can be integrated into conventional music-making contexts while also radically transforming those contexts. The Princeton Laptop Orchestra is a group of 12–15 persons and uses the “orchestra” (in a very general sense) as a model.
Each PLOrk “instrument” consists of a laptop, a multi-channel hemispherical speaker, and a variety of “control” devices (keyboards, graphics tablets, sensors). The members of this ensemble act as performers, researchers, composers, and software developers.
History
PLOrk was co-founded in 2005 by professors Perry Cook and Dan Trueman, with graduate students Scott Smallwood and Ge Wang, and funding and support from many Princeton University departments, organizations, and industrial affiliations. Composers and performers from Princeton and elsewhere developed new pieces for the ensemble, including Paul Lansky (Professor of Music at Princeton), Brad Garton (Director of the Columbia Computer Music Center), Pauline Oliveros, PLOrk co-founders Dan Trueman and Perry Cook, Scott Smallwood, Ge Wang, and others. The new PLOrk gave its first performance on April 4, 2006, in Richardson Auditorium, Princeton University. Grammy-winning tabla player Zakir Hussain, renowned accordionist Pauline Oliveros, and So Percussion also performed with the group. PLOrk has since performed at Dartmouth College, the Ear to the Earth festival (produced by the Electronic Music Foundation), ffmup, and elsewhere. Several scholarly articles describing the motivations for establishing such an ensemble, the issues involved in composing for a laptop orchestra, and pedagogical concerns, are currently in press. PLOrk was first presented academically at the 2006 International Computer Music Conference in New Orleans. The guest director of the PLOrk for 2007 was R. Luke DuBois. The group is currently directed by composer and instrument designer Jeff Snyder, who is the Director of Electronic Music at Princeton.
Since the beginning, PLOrk has made extensive use of ChucK, a new music programming language created by Ge Wang and Perry Cook which allows the performers to develop new code both in preparation and in performance, and which serves as a primary teaching tool.
A number of composers from Princeton and elsewhere have been developing pieces for PLOrk that address the unconventional composition of the group. PLOrk works closely with these composers on their pieces with the aim of developing them further and further exploring a new branch of computer music and new media musical composition and performance.
Technology
Originally, there were 15 PLOrk stations. Each station consists of a laptop with audio software; a rack containing an 8-channel audio amplifier, a power conditioner, and other electronic components; and a custom-made 6-channel hemispherical speaker. In April 2008, PLOrk began using a new hemispherical unit that combined the functionality of the old rack and speakers into one more portable device. The laptops are Apple 12" power books, or more recently, 14" Macbooks. HCI devices include keyboard controllers, TriggerFinger interfaces, graphics tablets, Nintendo Wii remotes, and infrared, light, pressure, and tilt sensors. Additional gear included floor pillows, laptop lapdesk, and gear for transportation.
The PLOrk ensemble uses a variety of commercial and open-source software. Two audio programming languages, ChucK and Max/MSP are primarily used for pedagogy and performance.
BSBLOrk
The Brasília Laptop Orchestra (abbreviated to BSBLOrk) is an ensemble of laptop performers based at Universidade de Brasília, Brasília, Brazil. It was founded by Eufrasio Prates and Eduardo Kolody in 2012, in collaboration with Conrado Silva. It has done many different and multidisciplinary performances and collaborations with dance and video artists.
The Brasília Laptop Orchestra is a group of 5-15 persons and uses the idea of “Orchestra” as a model, with the laptop as main instrument. The members of this ensemble act as performers, researchers, composers. It uses a variety of commercial and open-source software, including HITS, developed by Eufrasio Prates. Its main audio programming language is Max/MSP, but the musicians often use other software and even common instruments in some compositions. BSBLOrks's performances focus on an improvisatory aesthetic, based on the belief that contemporary music should be unpredictable, non-linear and interactive.
It uses hemispherical speakers commissioned by its founders, similar to those used by PLOrk.
History
BSBLOrk's first performance (August 2012) occurred during one of the city's "Tubo de Ensaios" ("test-tube") experimental performance festivals, and was also the last live performance of Conrado Silva.
BSBLOrk has recently celebrated its 10th year by releasing an album and making a series of online performances.
Throughout the years, BSBLOrk has adopted a critical approach on social and political issues, using samples of political speeches as source.
Notable performances
BSBLOrk has played in Juca Ferreira nomination, in 2014.
BSBLOrk played at NMF2020, Network Music Festival
See also
Computer music
Electronic music
The Hub (band)
Laptronica
Laptop battle
References
Bibliography
Tsabary Eldad and Woollard Jamie. “Whatever Works”: an Action-Centered Approach to Creation and Mediation in Designing Laptop Orchestra Performances, Gli spazi della musica 3, 2 (2014): 54-70, accessed Jan. 12, 2014 http://www.ojs.unito.it/index.php/spazidellamusica/article/view/818
External links
BiLE homepage
BSBLOrk
CLOrk homepage
CMLO homepage
HELO homepage
MiLO homepage
OLO homepage
PLOrk homepage
ChucK and Max/MSP
Debut Concert sounds and images
SLOrk homepage
Experimental musical instruments
Music education
Orchestras
Orchestra |
```c++
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: path_to_url
// ******************************************************************
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// *
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2019 Luke Usher <luke.usher@outlook.com>
// *
// * All rights reserved
// *
// ******************************************************************
#define _XBOXKRNL_DEFEXTRN_
#define LOG_PREFIX CXBXR_MODULE::JVS
#undef FIELD_OFFSET // prevent macro redefinition warnings
#include "EmuShared.h"
#include "common\Logging.h"
#include "common\FilePaths.hpp"
#include "core\kernel\init\CxbxKrnl.h"
#include "core\kernel\support\Emu.h"
#include "core\hle\JVS\JVS.h"
#include "core\hle\Intercept.hpp"
#include "devices\chihiro\JvsIo.h"
#include "devices\Xbox.h"
#include <thread>
#pragma warning(disable:4244) // Silence mio compiler warnings
#include <mio/mmap.hpp>
#pragma warning(default:4244)
// Global variables used to store JVS related firmware/eeproms
mio::mmap_sink g_BaseBoardQcFirmware; // QC Microcontroller firmware
mio::mmap_sink g_BaseBoardScFirmware; // SC Microcontroller firmware
mio::mmap_sink g_BaseBoardEeprom; // Config EEPROM
mio::mmap_sink g_BaseBoardBackupMemory; // Backup Memory (high-scores, etc)
typedef struct _baseboard_state_t {
// Switch 1: Horizontal Display, On = Vertical Display
// Switch 2-3: D3D Resolution Configuraton
// Switch 4: 0 = Hardware Vertex Processing, 1 = Software Vertex processing (Causes D3D to fail).. Horizontal frequency?
// Switch 5: Unknown
// Switch 6-8: Connected AV Pack flag
bool DipSwitch[8];
bool TestButton;
bool ServiceButton;
uint8_t JvsSense;
void Reset()
{
// TODO: Make this configurable
DipSwitch[0] = false;
DipSwitch[1] = false;
DipSwitch[2] = true;
DipSwitch[3] = true;
DipSwitch[4] = false;
DipSwitch[5] = true;
DipSwitch[6] = true;
DipSwitch[7] = true;
TestButton = false;
ServiceButton = false;
JvsSense = 0;
}
uint8_t GetAvPack()
{
uint8_t avpack = 0;
// Dip Switches 6,7,8 combine to form the Av Pack ID
// TODO: Verify the order, these might need to be reversed
avpack &= ~((DipSwitch[5] ? 1 : 0) << 2);
avpack &= ~((DipSwitch[6] ? 1 : 0) << 1);
avpack &= ~ (DipSwitch[7] ? 1 : 0);
return avpack;
}
uint8_t GetPINSA()
{
uint8_t PINSA = 0b11101111; // 1 = Off, 0 = On
// Dip Switches 1-3 are set on PINSA bits 0-2
PINSA &= ~ (DipSwitch[0] ? 1 : 0);
PINSA &= ~((DipSwitch[1] ? 1 : 0) << 1);
PINSA &= ~((DipSwitch[2] ? 1 : 0) << 2);
// Bit 3 is currently unknown, so we don't modify that bit
// Dip Switches 4,5 are set on bits 4,5
PINSA &= ~((DipSwitch[3] ? 1 : 0) << 4);
PINSA &= ~((DipSwitch[4] ? 1 : 0) << 5);
// Bit 6 = Test, Bit 7 = Service
PINSA &= ~((TestButton ? 1 : 0) << 6);
PINSA &= ~((ServiceButton ? 1 : 0) << 7);
return PINSA;
}
uint8_t GetPINSB()
{
// PINSB bits 0-1 represent the JVS Sense line
return JvsSense;
}
} baseboard_state_t;
baseboard_state_t ChihiroBaseBoardState = {};
DWORD* g_pPINSA = nullptr; // Qc PINSA Register: Contains Filter Board DIP Switches + Test/Service buttons
DWORD* g_pPINSB = nullptr; // Qc PINSB Register: Contains JVS Sense Pin state
bool JVS_LoadFile(std::string path, mio::mmap_sink& data)
{
FILE* fp = fopen(path.c_str(), "rb");
if (fp == nullptr) {
return false;
}
std::error_code error;
data = mio::make_mmap_sink(path, error);
if (error) {
return false;
}
return true;
}
void JvsInputThread()
{
g_AffinityPolicy->SetAffinityOther(GetCurrentThread());
while (true) {
// This thread is responsible for reading the emulated Baseboard state
// and setting the correct internal variables
ChihiroBaseBoardState.TestButton = GetAsyncKeyState(VK_F1);
ChihiroBaseBoardState.ServiceButton = GetAsyncKeyState(VK_F2);
// Call into the Jvs I/O board update function
g_pJvsIo->Update();
if (g_pPINSA != nullptr) {
*g_pPINSA = ChihiroBaseBoardState.GetPINSA();
}
if (g_pPINSB != nullptr) {
*g_pPINSB = ChihiroBaseBoardState.GetPINSB();
}
}
}
void JVS_Init()
{
// Init Jvs IO board
g_pJvsIo = new JvsIo(&ChihiroBaseBoardState.JvsSense);
std::string romPath = g_DataFilePath + std::string("\\EmuDisk\\Chihiro");
std::string baseBoardQcFirmwarePath = "ic10_g24lc64.bin";
std::string baseBoardScFirmwarePath = "pc20_g24lc64.bin";
std::string baseBoardEepromPath = "ic11_24lc024.bin";
std::string baseBoardBackupRamPath = "backup_ram.bin";
if (!JVS_LoadFile((romPath + "\\" + baseBoardQcFirmwarePath).c_str(), g_BaseBoardQcFirmware)) {
CxbxrAbort("Failed to load base board firmware: %s", baseBoardQcFirmwarePath.c_str());
}
if (!JVS_LoadFile((romPath + "\\" + baseBoardScFirmwarePath).c_str(), g_BaseBoardScFirmware)) {
CxbxrAbort("Failed to load base board qc firmware: %s", baseBoardScFirmwarePath.c_str());
}
if (!JVS_LoadFile((romPath + "\\" + baseBoardEepromPath).c_str(), g_BaseBoardEeprom)) {
CxbxrAbort("Failed to load base board EEPROM: %s", baseBoardEepromPath.c_str());
}
// backup ram is a special case, we can create it automatically if it doesn't exist
if (!std::filesystem::exists(romPath + "\\" + baseBoardBackupRamPath)) {
FILE *fp = fopen((romPath + "\\" + baseBoardBackupRamPath).c_str(), "w");
if (fp == nullptr) {
CxbxrAbort("Could not create Backup File: %s", baseBoardBackupRamPath.c_str());
}
// Create 128kb empty file for backup ram
fseek(fp, (128 * 1024) - 1, SEEK_SET);
fputc('\0', fp);
fclose(fp);
}
if (!JVS_LoadFile((romPath + "\\" + baseBoardBackupRamPath).c_str(), g_BaseBoardBackupMemory)) {
CxbxrAbort("Failed to load base board BACKUP RAM: %s", baseBoardBackupRamPath.c_str());
}
// Determine which version of JVS_SendCommand this title is using and derive the offset
// TODO: Extract this into a function and also locate PINSB
static int JvsSendCommandVersion = -1;
g_pPINSA = nullptr;
g_pPINSB = nullptr;
auto JvsSendCommandOffset1 = (uintptr_t)GetXboxSymbolPointer("JVS_SendCommand");
auto JvsSendCommandOffset2 = (uintptr_t)GetXboxSymbolPointer("JVS_SendCommand2");
auto JvsSendCommandOffset3 = (uintptr_t)GetXboxSymbolPointer("JVS_SendCommand3");
if (JvsSendCommandOffset1) {
JvsSendCommandVersion = 1;
g_pPINSA = *(DWORD**)(JvsSendCommandOffset1 + 0x2A0);
g_pPINSB = (DWORD*)((DWORD)g_pPINSA - 8);
}
if (JvsSendCommandOffset2) {
JvsSendCommandVersion = 2;
g_pPINSA = *(DWORD**)(JvsSendCommandOffset2 + 0x312);
g_pPINSB = (DWORD*)((DWORD)g_pPINSA - 8);
}
if (JvsSendCommandOffset3) {
JvsSendCommandVersion = 3;
g_pPINSA = *(DWORD**)(JvsSendCommandOffset3 + 0x307);
g_pPINSB = (DWORD*)((DWORD)g_pPINSA - 8);
if ((DWORD)g_pPINSA > XBE_MAX_VA) {
// This was invalid, we must have the other varient of SendCommand3 (SEGABOOT)
g_pPINSA = *(DWORD**)(JvsSendCommandOffset3 + 0x302);
g_pPINSB = (DWORD*)((DWORD)g_pPINSA - 8);
}
}
// Set state to a sane initial default
ChihiroBaseBoardState.Reset();
// Auto-Patch Chihiro Region Flag to match the desired game
uint8_t ®ion = (uint8_t &)g_BaseBoardQcFirmware[0x1F00];
auto regionFlags = g_MediaBoard->GetBootId().regionFlags;
// The region of the system can be converted to a game region flag by doing 1 << region
// This gives a bitmask that can be ANDed with the BootID region flags to check the games support
if ((regionFlags & (1 << region)) == 0) {
// The region was not compatible, so we need to patch the region flag
// This avoids "Error 05: This game is not acceptable by main board."
// We use USA,EXPORT,JAPAN to make sure mutiple-language games default to English first
if (regionFlags & MB_CHIHIRO_REGION_FLAG_USA) {
region = 2;
}
else if (regionFlags & MB_CHIHIRO_REGION_FLAG_EXPORT) {
region = 3;
}
else if (regionFlags & MB_CHIHIRO_REGION_FLAG_JAPAN) {
region = 1;
}
}
// Spawn the Chihiro/JVS Input Thread
std::thread(JvsInputThread).detach();
}
DWORD WINAPI xbox::EMUPATCH(JVS_SendCommand)
(
DWORD a1,
DWORD Command,
DWORD a3,
DWORD Length,
DWORD a5,
DWORD a6,
DWORD a7,
DWORD a8
)
{
LOG_FUNC_BEGIN
LOG_FUNC_ARG(a1)
LOG_FUNC_ARG(Command)
LOG_FUNC_ARG(a3)
LOG_FUNC_ARG(Length)
LOG_FUNC_ARG(a5)
LOG_FUNC_ARG(a6)
LOG_FUNC_ARG(a7)
LOG_FUNC_ARG(a8)
LOG_FUNC_END;
LOG_UNIMPLEMENTED();
RETURN(0);
}
DWORD WINAPI xbox::EMUPATCH(JvsBACKUP_Read)
(
DWORD Offset,
DWORD Length,
PUCHAR Buffer,
DWORD a4
)
{
LOG_FUNC_BEGIN
LOG_FUNC_ARG(Offset)
LOG_FUNC_ARG(Length)
LOG_FUNC_ARG(Buffer)
LOG_FUNC_ARG(a4)
LOG_FUNC_END
memcpy((void*)Buffer, &g_BaseBoardBackupMemory[Offset], Length);
RETURN(0);
}
DWORD WINAPI xbox::EMUPATCH(JvsBACKUP_Write)
(
DWORD Offset,
DWORD Length,
PUCHAR Buffer,
DWORD a4
)
{
LOG_FUNC_BEGIN
LOG_FUNC_ARG(Offset)
LOG_FUNC_ARG(Length)
LOG_FUNC_ARG(Buffer)
LOG_FUNC_ARG(a4)
LOG_FUNC_END
memcpy(&g_BaseBoardBackupMemory[Offset], (void*)Buffer, Length);
RETURN(0);
}
DWORD WINAPI xbox::EMUPATCH(JvsEEPROM_Read)
(
DWORD Offset,
DWORD Length,
PUCHAR Buffer,
DWORD a4
)
{
LOG_FUNC_BEGIN
LOG_FUNC_ARG(Offset)
LOG_FUNC_ARG(Length)
LOG_FUNC_ARG_OUT(Buffer)
LOG_FUNC_ARG(a4)
LOG_FUNC_END
memcpy((void*)Buffer, &g_BaseBoardEeprom[Offset], Length);
RETURN(0);
}
DWORD WINAPI xbox::EMUPATCH(JvsEEPROM_Write)
(
DWORD Offset,
DWORD Length,
PUCHAR Buffer,
DWORD a4
)
{
LOG_FUNC_BEGIN
LOG_FUNC_ARG(Offset)
LOG_FUNC_ARG(Length)
LOG_FUNC_ARG_OUT(Buffer)
LOG_FUNC_ARG(a4)
LOG_FUNC_END
memcpy(&g_BaseBoardEeprom[Offset], (void*)Buffer, Length);
std::error_code error;
g_BaseBoardEeprom.sync(error);
if (error) {
EmuLog(LOG_LEVEL::WARNING, "Couldn't sync EEPROM to disk");
}
RETURN(0);
}
DWORD WINAPI xbox::EMUPATCH(JvsFirmwareDownload)
(
DWORD Offset,
DWORD Length,
PUCHAR Buffer,
DWORD a4
)
{
LOG_FUNC_BEGIN
LOG_FUNC_ARG(Offset)
LOG_FUNC_ARG(Length)
LOG_FUNC_ARG_OUT(Buffer)
LOG_FUNC_ARG(a4)
LOG_FUNC_END
memcpy((void*)Buffer, &g_BaseBoardQcFirmware[Offset], Length);
RETURN(0);
}
DWORD WINAPI xbox::EMUPATCH(JvsFirmwareUpload)
(
DWORD Offset,
DWORD Length,
PUCHAR Buffer,
DWORD a4
)
{
LOG_FUNC_BEGIN
LOG_FUNC_ARG(Offset)
LOG_FUNC_ARG(Length)
LOG_FUNC_ARG(Buffer)
LOG_FUNC_ARG(a4)
LOG_FUNC_END
memcpy(&g_BaseBoardQcFirmware[Offset], (void*)Buffer, Length);
RETURN(0);
}
DWORD WINAPI xbox::EMUPATCH(JvsNodeReceivePacket)
(
PUCHAR Buffer,
PDWORD Length,
DWORD a3
)
{
LOG_FUNC_BEGIN
LOG_FUNC_ARG_OUT(Buffer)
LOG_FUNC_ARG_OUT(Length)
LOG_FUNC_ARG(a3)
LOG_FUNC_END
// Receive the packet from the connected IO board
uint8_t DeviceId = g_pJvsIo->GetDeviceId();
// TODO : "Number of packets received" below might imply multiple packets might need receiving here...
uint16_t payloadSize = (uint16_t)g_pJvsIo->ReceivePacket(&Buffer[6]);
if (payloadSize > 0) {
Buffer[0] = 0; // Empty header byte, ignored
Buffer[1] = 1; // Number of packets received
Buffer[2] = DeviceId;
Buffer[3] = 0; // Unused
*Length = payloadSize + 6;
// Write the payload size header field
*((uint16_t*)&Buffer[4]) = payloadSize; // Packet Length (bytes 4-5)
// TODO : Prevent little/big endian issues here by explicitly setting Buffer[4] and Buffer[5]
}
RETURN(0);
}
DWORD WINAPI xbox::EMUPATCH(JvsNodeSendPacket)
(
PUCHAR Buffer,
DWORD Length,
DWORD a3
)
{
LOG_FUNC_BEGIN
LOG_FUNC_ARG(Buffer)
LOG_FUNC_ARG(Length)
LOG_FUNC_ARG(a3)
LOG_FUNC_END
// Buffer contains two opening bytes, '00' and 'XX', where XX is the number of JVS packets to send
// Each JVS packet is prepended with a '00' byte, the rest of the packet is as-per the JVS I/O standard.
// Ignore Buffer[0] (should be 0x00)
unsigned packetCount = Buffer[1];
uint8_t* packetPtr = &Buffer[2]; // First JVS packet starts at offset 2;
for (unsigned i = 0; i < packetCount; i++) {
// Skip the separator byte (should be 0x00)
packetPtr++;
// Send the packet to the connected I/O board
size_t bytes = g_pJvsIo->SendPacket(packetPtr);
// Set packetPtr to the next packet
packetPtr += bytes;
}
RETURN(0);
}
// Binary Coded Decimal to Decimal conversion
uint8_t BcdToUint8(uint8_t value)
{
return value - 6 * (value >> 4);
}
uint8_t Uint8ToBcd(uint8_t value)
{
return value + 6 * (value / 10);
}
DWORD WINAPI xbox::EMUPATCH(JvsRTC_Read)
(
DWORD a1,
DWORD a2,
JvsRTCTime* pTime,
DWORD a4
)
{
LOG_FUNC_BEGIN
LOG_FUNC_ARG(a1)
LOG_FUNC_ARG(a2)
LOG_FUNC_ARG_OUT(time)
LOG_FUNC_ARG(a4)
LOG_FUNC_END
time_t hostTime;
struct tm* hostTimeInfo;
time(&hostTime);
hostTimeInfo = localtime(&hostTime);
memset(pTime, 0, sizeof(JvsRTCTime));
pTime->day = Uint8ToBcd(hostTimeInfo->tm_mday);
pTime->month = Uint8ToBcd(hostTimeInfo->tm_mon + 1); // Chihiro month counter stats at 1
pTime->year = Uint8ToBcd(hostTimeInfo->tm_year - 100); // Chihiro starts counting from year 2000
pTime->hour = Uint8ToBcd(hostTimeInfo->tm_hour);
pTime->minute = Uint8ToBcd(hostTimeInfo->tm_min);
pTime->second = Uint8ToBcd(hostTimeInfo->tm_sec);
RETURN(0);
}
DWORD WINAPI xbox::EMUPATCH(JvsRTC_Write)
(
DWORD a1,
DWORD a2,
JvsRTCTime* pTime,
DWORD a4
)
{
LOG_FUNC_BEGIN
LOG_FUNC_ARG(a1)
LOG_FUNC_ARG(a2)
LOG_FUNC_ARG_OUT(time)
LOG_FUNC_ARG(a4)
LOG_FUNC_END
LOG_UNIMPLEMENTED();
RETURN(0);
}
DWORD WINAPI xbox::EMUPATCH(JvsScFirmwareDownload)
(
DWORD Offset,
DWORD Length,
PUCHAR Buffer,
DWORD a4
)
{
LOG_FUNC_BEGIN
LOG_FUNC_ARG(Offset)
LOG_FUNC_ARG(Length)
LOG_FUNC_ARG_OUT(Buffer)
LOG_FUNC_ARG(a4)
LOG_FUNC_END
memcpy((void*)Buffer, &g_BaseBoardScFirmware[Offset], Length);
RETURN(0);
}
DWORD WINAPI xbox::EMUPATCH(JvsScFirmwareUpload)
(
DWORD Offset,
DWORD Length,
PUCHAR Buffer,
DWORD a4
)
{
LOG_FUNC_BEGIN
LOG_FUNC_ARG(Offset)
LOG_FUNC_ARG(Length)
LOG_FUNC_ARG(Buffer)
LOG_FUNC_ARG(a4)
LOG_FUNC_END
memcpy(&g_BaseBoardScFirmware[Offset], (void*)Buffer, Length);
RETURN(0);
}
DWORD WINAPI xbox::EMUPATCH(JvsScReceiveMidi)
(
DWORD a1,
DWORD a2,
DWORD a3
)
{
LOG_FUNC_BEGIN
LOG_FUNC_ARG(a1)
LOG_FUNC_ARG(a2)
LOG_FUNC_ARG(a3)
LOG_FUNC_END
LOG_UNIMPLEMENTED();
RETURN(0);
}
DWORD WINAPI xbox::EMUPATCH(JvsScSendMidi)
(
DWORD a1,
DWORD a2,
DWORD a3
)
{
LOG_FUNC_BEGIN
LOG_FUNC_ARG(a1)
LOG_FUNC_ARG(a2)
LOG_FUNC_ARG(a3)
LOG_FUNC_END
LOG_UNIMPLEMENTED();
RETURN(0);
}
DWORD WINAPI xbox::EMUPATCH(JvsScReceiveRs323c)
(
PUCHAR Buffer,
DWORD Length,
DWORD a3
)
{
LOG_FUNC_BEGIN
LOG_FUNC_ARG(Buffer)
LOG_FUNC_ARG(Length)
LOG_FUNC_ARG(a3)
LOG_FUNC_END
LOG_UNIMPLEMENTED();
RETURN(0);
}
DWORD WINAPI xbox::EMUPATCH(JvsScSendRs323c)
(
PUCHAR Buffer,
DWORD Length,
DWORD a3
)
{
LOG_FUNC_BEGIN
LOG_FUNC_ARG(Buffer)
LOG_FUNC_ARG(Length)
LOG_FUNC_ARG(a3)
LOG_FUNC_END
LOG_UNIMPLEMENTED();
RETURN(0);
}
``` |
DIN 1025 is a DIN standard which defines the dimensions, masses and sectional properties of hot rolled I-beams.
The standard is divided in 5 parts:
DIN 1025-1: Hot rolled I-sections - Part 1: Narrow flange I-sections, I-serie - Dimensions, masses, sectional properties
DIN 1025-2: Hot rolled I-beams - Part 2: Wide flange I-beams, IPB-serie; dimensions, masses, sectional properties
DIN 1025-3: Hot rolled I-beams; wide flange I-beams, light pattern, IPBl-serie; dimensions, masses, sectional properties
DIN 1025-4: Hot rolled I-beams; wide flange I-beams heavy pattern, IPBv-serie; dimensions, masses, sectional properties
DIN 1025-5: Hot rolled I-beams; medium flange I-beams, IPE-serie; dimensions, masses, sectional properties
See also
EN 1993
1025
Structural engineering standards
Structural steel |
The United States national rugby union team has played in all but two Rugby World Cups since the inaugural tournament in 1987.
The USA is the second strongest national rugby side in North America, and the third strongest in the Americas after Argentina and Canada.
The U.S. has played in eight World Cups from the inaugural 1987 tournament to the 2019 tournament—all but the 1995 and 2023 World Cups. The team's best result so far has been to win one game—which they accomplished in 1987, 2003, and 2011.
Summary of results by tournament
Summary of results by opponent
Notes:
Results current through end of 2019 Rugby World Cup.
The US has never played Wales or Canada in a RWC, even though those two teams have played in every RWC.
Ivory Coast, Zimbabwe, Namibia, Georgia, Uruguay, Spain, and Portugal are the other seven nations that have yet to play the USA at the Rugby World Cup that have previously qualified.
Qualifying
The U.S. has qualified for every World Cup, except for the 1995 and 2023 tournaments.
Notes
Rugby World Cup hosting
So far the USA has not hosted any Rugby World Cup games, and no Rugby World Cups have been held in the Americas. The United States is, however, interested in pursuing a bid, possibly a joint bid with Canada, to host the 2027 Rugby World Cup.
Team RWC records
Most points scored in a single tournament: 86 (2003)
Most points scored in a single match: 39 (39–26 vs. Japan in 2003)
Largest margin of victory: 13 (39–26 vs. Japan in 2003)
Player RWC records
Career
Updated: October 12, 2015.
Updated: October 12, 2015.
Updated: October 12, 2015.
Tries scored
The following table shows all U.S. players that have scored two or more tries in their World Cup career, plus all active players who have scored at least one World Cup try.
Note: The U.S. failed to qualify for the 1995 Rugby World Cup.
Most penalties scored: Mike Hercus, 15 (2003 & 2007)
Single tournament
Most points in a single tournament: Mike Hercus, 51 (2003)
Most tries in a single tournament: Kort Schubert, 3 (2003)
Individual tournaments: 1987 to present
1987 Rugby World Cup
Pool 1 games
1991 Rugby World Cup
Pool 1 games
1995 Rugby World Cup
Did not qualify.
The Americas were allotted only two teams for the 1995 tournament. Canada automatically qualified, by virtue of reaching the quarterfinals of the 1991 tournament. Only 1 place remained for the Americas qualifying, to be decided by the winner of the home-and-away series between the US and Argentina (the winner of the Americas South bracket) in 1994. In that series, the US lost their home match 22-28, and also lost their away match 11-16. With the 2-0 record and 44-33 aggregate score, Argentina secured the final qualifying spot for the Americas.
1999 Rugby World Cup
Pool E games
2003 Rugby World Cup
Mike Hercus was the leading points scorer for the United States - and 7th leading scorer among all players - with 51 points (2 tries, 9 penalties, 7 conversions).
2007 Rugby World Cup
2007 Squad:
Forwards: Blake Burdette, Owen Lentz, Mike MacDonald, Matekitonga Moeakiola, Chris Osentowski, Jonathan Vitale, Luke Gross, Mike Mangan, Hayden Mexted, Alec Parker, Mark Aylor, Inaki Basauri, Todd Clever, Fifita Mounga, Louis Stanfill, Henry Bloomfield, Dan Payne
Backs: Chad Erskine, Mike Petri, Mike Hercus (C), Nese Malifa, Philip Eloff, Vahafolau Esikia, Thretton Palamo, Albert Tuipulotu, Paul Emerick, Takudzwa Ngwenya, Salesi Sika, Francois Viljoen, Chris Wyles
Head Coach:
Peter Thorburn
In the 2007 Rugby World Cup, the US joined England, Samoa, South Africa and Tonga in Pool A. The Eagles, ranked 13th in the world standings, lost all 4 games in Pool A, scoring 1 bonus point in the game against Samoa. Coached by New Zealander Peter Thorburn, the Eagles started off with tough match against the defending world champions England, losing 28–10. The US was then beaten by Tonga 25–15, lost to Samoa 25 – 21, and lost their final match to highly favored South Africa 64 – 15. The Eagles, however, had a major highlight in the South Africa match. After an interception and a pair of passes, Takudzwa Ngwenya sped down the sideline and outran Bryan Habana, arguably the fastest man in world rugby, to score a try that received Try of the Year honors at the 2007 IRB Awards.
2011 Rugby World Cup
Chris Wyles was the USA's leading scorer of the 2011 tournament with 18 points (1 try, 3 penalties, 2 conversions).
Mike Petri, Paul Emerick, and JJ Gagiano each scored 5 points (1 try) for the US.
30 Man Squad:
Hooker: Chris Biller, Phil Thiel, Brian McClenahan
Prop: Mike MacDonald, Mate Moeakiola, Shawn Pittman, Eric Fry
Lock: Hayden Smith, John van der Giessen
Loose: Todd Clever (c), Louis Stanfill, Nic Johnson, Scott LaValla, Patrick Danahy, JJ Gagiano, Inaki Basauri
Scrumhalf: Mike Petri, Tim Usasz
Flyhalf: Roland Suniula, Nese Malifa
Center: Andrew Suniula, Paul Emerick, Tai Enosa, Junior Sifa
Wing: Takudzwa Ngwyenya, James Paterson, Kevin Swiryn, Colin Hawley
Fullback: Chris Wyles, Blaine Scully
The Eagles showed tremendous fight and power in their World Cup opening match against Ireland emotionally charged as the game coincided with the 10th anniversary of the September 11 attacks. The Irish came out strong but the Eagles were stiff in defense. The Irish suffered from poor goal kicking and were only able to gain a 3–0 lead before finally scoring their first try at the 39' mark to take a 10-0 half-time lead. The Irish came out more ready to play in the second half but still ran into stiff Eagles defense. Ultimately the Irish scored two more tries to give a final tally of 22 points. The Eagles succeeded in frustrating Irish expectations to gain a bonus point with a full strength squad and managed to post 10 points led by an interception try on full-time by Paul Emerick.
The Eagles came into the World Cup with their measuring mark for success as being a win over Russia. The Eagles did not disappoint. Russia leaped out to an early 3–0 lead after a penalty goal from inside the 22 set up by a block on a Mike Petri box kick. The Americans took a 10–3 lead into the half after a break by Andrew Suniula set up a try for Mike Petri. The kicking duty fell upon Chris Wyles who capitalized on his first kick, a deep strike in poor conditions from the 10 meter line. Wyles was also successful on a conversion and with his last attempt at goal. He did, however, miss 3 kicks at goal and a drop goal. Russia would land once more on the board to snatch a bonus point from the match but fell to the final tally of USA 13–6 Russia. Both Wyles and Mike MacDonald had amazing matches as McDonald scooped up the man of the match accolades. The Eagles were absolutely dominant at the lineout winning 7 of Russia's 13 throws and winning all 12 of their own throws. The win elevated the Eagles back up to 17th in the IRB rankings and dropped Russia one spot to 21st.
For their third match the Eagles trotted out a squad with 14 changes from the one that met Russia, ensuring that each player on the roster received a cap in the tournament. Australia got on the board early with tries at the 7- and 10-minute marks, but the Eagles answered with a JJ Gagiano try at the 22nd minute that cut the deficit to 10–5. Australia quickly responded with two more tries to take a 22–5 lead into the half along with clinching a bonus point. In the second half the Wallabies jumped on the Eagles leading to the final result of 67–5. This was the worst defeat a US team has ever suffered to Australia.
The final match saw the Eagles playing for a 3rd-place finish in Pool C and an automatic qualification into the 2015 Rugby World Cup. The Eagles faced Italy (the Azzurri) and the scoring began early by the Azzurri, but the Eagles struck back with a Chris Wyles try and conversion to level the match 7-7. The Italians struck quickly with their second try, and scored their third try on the stroke of halftime to lead 20-10 at the half. Italy focused their second-half efforts on scoring a fourth try and the bonus point. The US second-half defense held for 25 minutes, but after tremendous pressure by the Italian scrum - which Italy dominated all match - the Azzurri got their fourth try and the bonus point in the 65th minute. That try and conversion were the only points for the Azzurri in the second half. The defeat marked the end of the 2011 Rugby World Cup and the 2011 season for the Eagles.
2015 Rugby World Cup
U.S. summer preparations for the World Cup included four matches at the 2015 Pacific Nations Cup plus two additional World Cup warm-up matches. The U.S. earned three wins and three losses over these matches, with wins against Canada (twice) and Japan.
At the World Cup, the U.S. lost its first match against Samoa 16–25. The Eagles suffered from ill discipline, committing 14 penalties (compared to 7 for Samoa); and from poor tackling, with a 79% tackle success rate and 29 missed tackles, (compared to Samoa's 86% tackle rate and 19 missed tackles).
The team entered World Cup play with the highest hopes in years. The pool draw placed the Eagles alongside Japan, a team they had beaten earlier in the summer, Samoa, a team they've played well in the past, and Scotland. Scotland, though a tier 1 nation, had struggled in recent years. The last team was South Africa, a team that lost its first match of the World Cup to Japan.
In their opening match against Samoa, the United States trailed 14–8 at the half, and ultimately fell 25–16, after finding tremendous difficulties at the lineout and in the scrum.
Carrying a tough 0–1 start into the team's second match, the Eagles made history by claiming a first ever halftime lead over a tier 1 nation (13–6), on the back of a strong showing in the scrum. The second half was less kind, as Scotland quickly overcame the deficit and pushed the final score well out of reach: Scotland 39, USA 16.
With a winless campaign becoming a real possibility, the coaching staff chose a roster that drastically differed from the starters in the first two matches. Against South Africa, the Eagles struggled early and were dominated in the scrum, but kept the match close at the break with South Africa holding a 14-point lead. In the second half, the Springboks blew the match open, running the match to 64–0. The defeat is the fifth largest in USA Rugby history and the largest in a World Cup.
Source: World Rugby
Rank is as of the end of the pool stages, and does not include the knockout rounds.
2019 Rugby World Cup
2023 Rugby World Cup
Did not qualify.
Finished second to Portugal in the cross-regional playoff.
See also
Davies, Gerald (2004) The History of the Rugby World Cup, Sanctuary Publishing Ltd, ()
Farr-Jones, Nick, (2003). Story of the Rugby World Cup, Australian Post Corporation, ()
References
World Cup
Rugby World Cup by nation |
Civilians is the eleventh studio album by Joe Henry, released on August 18, 2007. It was his first album of new material since his 2003 album Tiny Voices. Henry recorded the album at The Garfield House in South Pasadena, California between January 9–12 and February 22, 2007. The album also includes guest musicians Loudon Wainwright III, Bill Frisell, Greg Leisz, and Van Dyke Parks.
The photograph on the album's cover is by John Cohen and shows visual artist Mary Frank (spouse of Robert Frank), circa 1960. The back cover's photograph features artist Red Grooms crossing Third Avenue in 1960.
Concept
In an interview with Impose Magazine, Henry stated that he wanted the album to be less about the production, and geared more toward the feel of "a band playing in a room." This approach is evident from the more stripped-back and raw feel of the album compared to the polish and sophistication heard on his previous three albums. Civilians is less upbeat and more influenced toward jazz and folk, which have melancholy undertones.
Reception
The album received generally strong praise across the board, achieving an average score of 77 on Metacritic. Thom Jurek of AllMusic praised the album for its straightforward sound, and that Civilians is "the evidence of what pop music can and should be, profound without being self conscious, elegant while wearing its seams in plain view, and full of speech both lyrically and musically that invites the listener in for a real conversation." Dan Ouellette of Billboard was impressed with the anecdotal qualities of the album, especially on the track "Our Song". Meanwhile, Joshua Klein of Pitchfork Media criticized the album for its sound, describing the tempo as "dour", and expressed some dissatisfaction for the album's social commentary on American life.
Track listing
All songs written by Joe Henry, except where noted.
"Civilians" – 4:36
"Parker's Mood" – 4:16
"Civil War" – 4:42
"Time Is a Lion" – 3:55
"You Can't Fail Me Now" (Henry, Loudon Wainwright III) – 4:13
"Scare Me to Death" – 4:54
"Our Song" – 6:20
"Wave" – 4:30
"Love Is Enough" – 4:49
"I Will Write My Book" – 4:12
"Shut Me Up" – 6:16
"God Only Knows" – 5:03
Personnel
Joe Henry – vocals, acoustic guitar, handclaps, knee slaps, and corduroy
Bill Frisell – electric and acoustic guitar
Greg Leisz – acoustic guitar, lap steel guitar, Weissenborn slide guitar, mandolin
Patrick Warren – piano, Chamberlin, pump organ
David Piltch – double bass, bass guitar
Jay Bellerose – drums and percussion
Loudon Wainwright III – backing vocals
Van Dyke Parks – piano on "Civil War" and "I Will Write My Book"
Chris Hickey – additional backing vocals on "Civilians" and "Time Is a Lion"
The Section Quartet on "Our Song": Eric Gorfain – first violin; Daphne Chen – second violin; Leah Katz – viola; Richard Dodd – cello
Production
Joe Henry – producer
Ryan Freeland – recording, mixing
Gavin Lurssen – mastering
References
Joe Henry albums
2007 albums
Albums produced by Joe Henry
Anti- (record label) albums |
Minister of Families () of Quebec is responsible for families and seniors in the province.
The office is currently held by Suzanne Roy.
References
External links
Official site
Families, Seniors and the Status of Women
Quebec Ministry_of_Families
Quebec, Families, Seniors and the Status of Women
Women in Quebec |
The Saskatchewan Bill of Rights is a statute of the Canadian Province of Saskatchewan, first enacted by the provincial Legislature in 1947 and "Assented To" on April 1, 1947 and then "In Force" on May 1, 1947. It was the first bill of rights enacted in the Commonwealth of Nations since the original Bill of Rights enacted by the English Parliament in 1689. It was also the forerunner of modern human rights legislation in Canada.
The Bill of Rights continues to be in force, through incorporation into The Saskatchewan Human Rights Code, the current provincial statute protecting human rights.
Provisions of the Saskatchewan Bill of Rights
Fundamental rights and freedoms
The first part of the Saskatchewan Bill of Rights set out fundamental rights and freedoms:
right to freedom of conscience and religion (s. 3);
right to free expression (s. 4);
right to peaceable assembly and association (s. 5);
right to freedom from arbitrary imprisonment and right to immediate judicial determination of a detention (s. 6);
right to vote in provincial elections (s. 7).
Prohibitions on discrimination
The Bill of Rights also prohibited various types of discrimination, on the grounds of race, creed, religion, colour, or ethnic or national origin:
right to employment without discrimination (s. 8);
right to engage in occupations without discrimination (s. 9);
right to own and occupy property without discrimination (s. 10);
right of access to public places and facilities without discrimination (s. 11);
right to membership in professional and trade associations without discrimination (s. 12);
right to education without discrimination (s. 13).
Enforcement provisions
The Bill of Rights also contained enforcement provisions:
advertisements indicating an intention to discriminate (e.g. a job advertisement which stated that members of a particular race or religion could not apply for a position) were prohibited (s. 14);
refusal to comply with the rights and freedoms under the Bill (e.g. denying service to a person because of the person's race) was an offence, carrying a fine of between $25 and $50 for a first offence, and a fine of between $50 and $200 for subsequent offences, with the possibility of imprisonment for default in paying the fine (s. 15);
injunctions could be obtained from the Court of King's Bench against anyone who attempted to deprive a person of rights under the Bill (s. 16);
the provincial government was bound by the Bill, which could be enforced directly against the government in court (s. 17).
The Bill also stated that except as provided in the Bill itself, the enumeration of rights and freedoms in the Bill did not derogate from any rights, freedoms or liberties which anyone enjoyed by law (s. 18).
The Bill came into force on May 1, 1947 (s. 19).
Incorporation into The Saskatchewan Human Rights Code
In 1979, Saskatchewan enacted The Saskatchewan Human Rights Code, which amalgamated several different statutes into one code, and provided a uniform enforcement process, through the Saskatchewan Human Rights Commission. The portion of the Saskatchewan Bill of Rights dealing with fundamental rights and freedoms was incorporated as the first part of the Code and continues in force. The provisions barring discrimination were incorporated into the Code as well.
References
Saskatchewan law
Saskatchewan provincial legislation
Human rights legislation in Canada
1947 establishments in Saskatchewan |
```yaml
hello: goodbye
foo:
version: baz
merge:
hello: goodbye
``` |
Egle Becchi (21 May 1930 – 3 January 2022) was an Italian pedagogist, historian and academic. She was professor emeritus of philosophy at the University of Pavia.
Life and career
After graduating in philosophy at the University of Milan, and after a few years teaching in her alma mater and at the University of Ferrara, she was professor of General Pedagogy and History of Education at the University of Pavia from 1976 to 2005.
Her early interests were towards psychopedagogy and later on experimentalist themes, then from the early seventies she mainly focused her work on the history of infancy, conducting researches on the condition and image of childhood in the past, even through the collection and analysis of childhood diaries. Among her major works there was the book Storia dell'infanzia, that she wrote in collaboration with the French historian Dominique Julia.
Becchi died on 3 January 2022, at the age of 91.
Publications
La pedagogia della ‘Gestalt’, La Nuova Italia, 1961
Il bambino sociale. Privatizzazione e deprivatizzazione dell’infanzia, Feltrinelli, 1979
(with B. Vertecchi, cured by), Manuale critico della sperimentazione e della ricerca educativa, FrancoAngeli, 1983
Storia dell’educazione, La Nuova Italia, 1987
I bambini nella storia, Laterza, 1994
Manuale della scuola del bambino dai tre ai sei anni, FrancoAngeli, 1995
(with D. Julia, cured by), Storia dell’infanzia, Laterza, 1996)
Sperimentare nella scuola. Storia, problemi, prospettive, La Nuova Italia, 1997
(with A. Bondioli, cured by), Valutare e valutarsi nelle scuole dell’infanzia del Comune di Pistoia. Un modello di formazione degli insegnanti, Edizioni Junior, 1997
(with A. Semeraro, cured by), Archivi d’infanzia. Per una storiografia della prima età, La Nuova Italia, 2001
Una pedagogia del buon gusto. Esperienze e progetti dei servizi per l’infanzia del comune di Pistoia, FrancoAngeli, 2010
Maschietti e bambine. Tre storie con figure, ETS, 2011
References
1930 births
2022 deaths
Italian educational theorists
Academic staff of the University of Pavia
People from Trieste
20th-century Italian historians
21st-century Italian historians |
Christian Ludger Ohiri (19 June 1938 – 7 November 1966) was a Nigerian athlete. He competed in the men's triple jump at the 1964 Summer Olympics. He died of leukaemia in 1966. He graduated from Harvard College.
References
External links
1938 births
1966 deaths
Athletes (track and field) at the 1964 Summer Olympics
Nigerian male triple jumpers
Olympic athletes for Nigeria
Deaths from leukemia
Harvard College alumni
20th-century Nigerian people
Sportspeople from Owerri |
The 1936 Italian Grand Prix was a Grand Prix motor race held at Monza on 13 September 1936. The 72 lap event was won by Bernd Rosemeyer.
Classification
References
Italian Grand Prix
Italian Grand Prix
Grand Prix |
Dimitrios Kotsonis (; born 25 January 1989) is a Greek professional footballer who plays as a centre back for Super League 2 club Anagennisi Karditsa.
References
External links
Myplayer.gr Profile
Onsports.gr Profile
1989 births
Living people
Greek expatriate men's footballers
Paniliakos F.C. players
Aris Thessaloniki F.C. players
Ergotelis F.C. players
Apollon Smyrnis F.C. players
PAS Lamia 1964 players
Trikala F.C. players
Panachaiki F.C. players
KF Luftëtari players
Kategoria Superiore players
Men's association football central defenders
Footballers from Athens
Greek men's footballers
Greek expatriate sportspeople in Albania
Expatriate men's footballers in Albania |
```javascript
import * as collections from '/lib/imports/collections';
const Database = function Database() {
this.types = {
Actions: collections.Actions,
Connections: collections.Connections,
Dumps: collections.Dumps,
QueryHistory: collections.QueryHistory,
SchemaAnalyzeResult: collections.SchemaAnalyzeResult,
Settings: collections.Settings,
ShellCommands: collections.ShellCommands
};
};
const resolveType = function (type) {
if (Object.prototype.toString.call(type) === '[object String]') return this.types[type];
return type;
};
Database.prototype = {
create({ type, document }) {
return resolveType(type).insert(document);
},
read({ type, query, queryOptions = {} }) {
return resolveType(type).find(query, queryOptions).fetch();
},
readOne({ type, query, queryOptions = {} }) {
return resolveType(type).findOne(query, queryOptions);
},
count({ type, query, queryOptions = {} }) {
return resolveType(type).find(query, queryOptions).count();
},
update({ type, selector, modifier, options = {} }) {
return resolveType(type).update(selector, modifier, options);
},
remove({ type, selector }) {
return resolveType(type).remove(selector);
},
// aliases
insert({ type, document }) {
return this.create({ type, document });
},
find({ type, query, isSingle = false, queryOptions = {} }) {
return this.read({ type, queryOptions, isSingle, query });
}
};
export default new Database();
``` |
```c
/*
* The copyright in this software is being made available under the 2-clauses
* party and contributor rights, including patent rights, and no such rights
* are granted under this license.
*
* All rights 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.
*
* 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.
*/
#include "opj_includes.h"
#include "opj_common.h"
/* your_sha256_hash------- */
/* TODO MSD: */
#ifdef TODO_MSD
void tcd_dump(FILE *fd, opj_tcd_t *tcd, opj_tcd_image_t * img)
{
int tileno, compno, resno, bandno, precno;/*, cblkno;*/
fprintf(fd, "image {\n");
fprintf(fd, " tw=%d, th=%d x0=%d x1=%d y0=%d y1=%d\n",
img->tw, img->th, tcd->image->x0, tcd->image->x1, tcd->image->y0,
tcd->image->y1);
for (tileno = 0; tileno < img->th * img->tw; tileno++) {
opj_tcd_tile_t *tile = &tcd->tcd_image->tiles[tileno];
fprintf(fd, " tile {\n");
fprintf(fd, " x0=%d, y0=%d, x1=%d, y1=%d, numcomps=%d\n",
tile->x0, tile->y0, tile->x1, tile->y1, tile->numcomps);
for (compno = 0; compno < tile->numcomps; compno++) {
opj_tcd_tilecomp_t *tilec = &tile->comps[compno];
fprintf(fd, " tilec {\n");
fprintf(fd,
" x0=%d, y0=%d, x1=%d, y1=%d, numresolutions=%d\n",
tilec->x0, tilec->y0, tilec->x1, tilec->y1, tilec->numresolutions);
for (resno = 0; resno < tilec->numresolutions; resno++) {
opj_tcd_resolution_t *res = &tilec->resolutions[resno];
fprintf(fd, "\n res {\n");
fprintf(fd,
" x0=%d, y0=%d, x1=%d, y1=%d, pw=%d, ph=%d, numbands=%d\n",
res->x0, res->y0, res->x1, res->y1, res->pw, res->ph, res->numbands);
for (bandno = 0; bandno < res->numbands; bandno++) {
opj_tcd_band_t *band = &res->bands[bandno];
fprintf(fd, " band {\n");
fprintf(fd,
" x0=%d, y0=%d, x1=%d, y1=%d, stepsize=%f, numbps=%d\n",
band->x0, band->y0, band->x1, band->y1, band->stepsize, band->numbps);
for (precno = 0; precno < res->pw * res->ph; precno++) {
opj_tcd_precinct_t *prec = &band->precincts[precno];
fprintf(fd, " prec {\n");
fprintf(fd,
" x0=%d, y0=%d, x1=%d, y1=%d, cw=%d, ch=%d\n",
prec->x0, prec->y0, prec->x1, prec->y1, prec->cw, prec->ch);
/*
for (cblkno = 0; cblkno < prec->cw * prec->ch; cblkno++) {
opj_tcd_cblk_t *cblk = &prec->cblks[cblkno];
fprintf(fd, " cblk {\n");
fprintf(fd,
" x0=%d, y0=%d, x1=%d, y1=%d\n",
cblk->x0, cblk->y0, cblk->x1, cblk->y1);
fprintf(fd, " }\n");
}
*/
fprintf(fd, " }\n");
}
fprintf(fd, " }\n");
}
fprintf(fd, " }\n");
}
fprintf(fd, " }\n");
}
fprintf(fd, " }\n");
}
fprintf(fd, "}\n");
}
#endif
/**
* Initializes tile coding/decoding
*/
static INLINE OPJ_BOOL opj_tcd_init_tile(opj_tcd_t *p_tcd, OPJ_UINT32 p_tile_no,
OPJ_BOOL isEncoder, OPJ_FLOAT32 fraction, OPJ_SIZE_T sizeof_block,
opj_event_mgr_t* manager);
/**
* Allocates memory for a decoding code block.
*/
static OPJ_BOOL opj_tcd_code_block_dec_allocate(opj_tcd_cblk_dec_t *
p_code_block);
/**
* Deallocates the decoding data of the given precinct.
*/
static void opj_tcd_code_block_dec_deallocate(opj_tcd_precinct_t * p_precinct);
/**
* Allocates memory for an encoding code block (but not data).
*/
static OPJ_BOOL opj_tcd_code_block_enc_allocate(opj_tcd_cblk_enc_t *
p_code_block);
/**
* Allocates data for an encoding code block
*/
static OPJ_BOOL opj_tcd_code_block_enc_allocate_data(opj_tcd_cblk_enc_t *
p_code_block);
/**
* Deallocates the encoding data of the given precinct.
*/
static void opj_tcd_code_block_enc_deallocate(opj_tcd_precinct_t * p_precinct);
/**
Free the memory allocated for encoding
@param tcd TCD handle
*/
static void opj_tcd_free_tile(opj_tcd_t *tcd);
static OPJ_BOOL opj_tcd_t2_decode(opj_tcd_t *p_tcd,
OPJ_BYTE * p_src_data,
OPJ_UINT32 * p_data_read,
OPJ_UINT32 p_max_src_size,
opj_codestream_index_t *p_cstr_index,
opj_event_mgr_t *p_manager);
static OPJ_BOOL opj_tcd_t1_decode(opj_tcd_t *p_tcd,
opj_event_mgr_t *p_manager);
static OPJ_BOOL opj_tcd_dwt_decode(opj_tcd_t *p_tcd);
static OPJ_BOOL opj_tcd_mct_decode(opj_tcd_t *p_tcd,
opj_event_mgr_t *p_manager);
static OPJ_BOOL opj_tcd_dc_level_shift_decode(opj_tcd_t *p_tcd);
static OPJ_BOOL opj_tcd_dc_level_shift_encode(opj_tcd_t *p_tcd);
static OPJ_BOOL opj_tcd_mct_encode(opj_tcd_t *p_tcd);
static OPJ_BOOL opj_tcd_dwt_encode(opj_tcd_t *p_tcd);
static OPJ_BOOL opj_tcd_t1_encode(opj_tcd_t *p_tcd);
static OPJ_BOOL opj_tcd_t2_encode(opj_tcd_t *p_tcd,
OPJ_BYTE * p_dest_data,
OPJ_UINT32 * p_data_written,
OPJ_UINT32 p_max_dest_size,
opj_codestream_info_t *p_cstr_info,
opj_event_mgr_t *p_manager);
static OPJ_BOOL opj_tcd_rate_allocate_encode(opj_tcd_t *p_tcd,
OPJ_BYTE * p_dest_data,
OPJ_UINT32 p_max_dest_size,
opj_codestream_info_t *p_cstr_info,
opj_event_mgr_t *p_manager);
static OPJ_BOOL opj_tcd_is_whole_tilecomp_decoding(opj_tcd_t *tcd,
OPJ_UINT32 compno);
/* your_sha256_hash------- */
/**
Create a new TCD handle
*/
opj_tcd_t* opj_tcd_create(OPJ_BOOL p_is_decoder)
{
opj_tcd_t *l_tcd = 00;
/* create the tcd structure */
l_tcd = (opj_tcd_t*) opj_calloc(1, sizeof(opj_tcd_t));
if (!l_tcd) {
return 00;
}
l_tcd->m_is_decoder = p_is_decoder ? 1 : 0;
l_tcd->tcd_image = (opj_tcd_image_t*)opj_calloc(1, sizeof(opj_tcd_image_t));
if (!l_tcd->tcd_image) {
opj_free(l_tcd);
return 00;
}
return l_tcd;
}
/* your_sha256_hash------- */
void opj_tcd_rateallocate_fixed(opj_tcd_t *tcd)
{
OPJ_UINT32 layno;
for (layno = 0; layno < tcd->tcp->numlayers; layno++) {
opj_tcd_makelayer_fixed(tcd, layno, 1);
}
}
void opj_tcd_makelayer(opj_tcd_t *tcd,
OPJ_UINT32 layno,
OPJ_FLOAT64 thresh,
OPJ_UINT32 final)
{
OPJ_UINT32 compno, resno, bandno, precno, cblkno;
OPJ_UINT32 passno;
opj_tcd_tile_t *tcd_tile = tcd->tcd_image->tiles;
tcd_tile->distolayer[layno] = 0; /* fixed_quality */
for (compno = 0; compno < tcd_tile->numcomps; compno++) {
opj_tcd_tilecomp_t *tilec = &tcd_tile->comps[compno];
for (resno = 0; resno < tilec->numresolutions; resno++) {
opj_tcd_resolution_t *res = &tilec->resolutions[resno];
for (bandno = 0; bandno < res->numbands; bandno++) {
opj_tcd_band_t *band = &res->bands[bandno];
/* Skip empty bands */
if (opj_tcd_is_band_empty(band)) {
continue;
}
for (precno = 0; precno < res->pw * res->ph; precno++) {
opj_tcd_precinct_t *prc = &band->precincts[precno];
for (cblkno = 0; cblkno < prc->cw * prc->ch; cblkno++) {
opj_tcd_cblk_enc_t *cblk = &prc->cblks.enc[cblkno];
opj_tcd_layer_t *layer = &cblk->layers[layno];
OPJ_UINT32 n;
if (layno == 0) {
cblk->numpassesinlayers = 0;
}
n = cblk->numpassesinlayers;
if (thresh < 0) {
/* Special value to indicate to use all passes */
n = cblk->totalpasses;
} else {
for (passno = cblk->numpassesinlayers; passno < cblk->totalpasses; passno++) {
OPJ_UINT32 dr;
OPJ_FLOAT64 dd;
opj_tcd_pass_t *pass = &cblk->passes[passno];
if (n == 0) {
dr = pass->rate;
dd = pass->distortiondec;
} else {
dr = pass->rate - cblk->passes[n - 1].rate;
dd = pass->distortiondec - cblk->passes[n - 1].distortiondec;
}
if (!dr) {
if (dd != 0) {
n = passno + 1;
}
continue;
}
if (thresh - (dd / dr) <
DBL_EPSILON) { /* do not rely on float equality, check with DBL_EPSILON margin */
n = passno + 1;
}
}
}
layer->numpasses = n - cblk->numpassesinlayers;
if (!layer->numpasses) {
layer->disto = 0;
continue;
}
if (cblk->numpassesinlayers == 0) {
layer->len = cblk->passes[n - 1].rate;
layer->data = cblk->data;
layer->disto = cblk->passes[n - 1].distortiondec;
} else {
layer->len = cblk->passes[n - 1].rate - cblk->passes[cblk->numpassesinlayers -
1].rate;
layer->data = cblk->data + cblk->passes[cblk->numpassesinlayers - 1].rate;
layer->disto = cblk->passes[n - 1].distortiondec -
cblk->passes[cblk->numpassesinlayers - 1].distortiondec;
}
tcd_tile->distolayer[layno] += layer->disto; /* fixed_quality */
if (final) {
cblk->numpassesinlayers = n;
}
}
}
}
}
}
}
void opj_tcd_makelayer_fixed(opj_tcd_t *tcd, OPJ_UINT32 layno,
OPJ_UINT32 final)
{
OPJ_UINT32 compno, resno, bandno, precno, cblkno;
OPJ_INT32 value; /*, matrice[tcd_tcp->numlayers][tcd_tile->comps[0].numresolutions][3]; */
OPJ_INT32 matrice[10][10][3];
OPJ_UINT32 i, j, k;
opj_cp_t *cp = tcd->cp;
opj_tcd_tile_t *tcd_tile = tcd->tcd_image->tiles;
opj_tcp_t *tcd_tcp = tcd->tcp;
for (compno = 0; compno < tcd_tile->numcomps; compno++) {
opj_tcd_tilecomp_t *tilec = &tcd_tile->comps[compno];
for (i = 0; i < tcd_tcp->numlayers; i++) {
for (j = 0; j < tilec->numresolutions; j++) {
for (k = 0; k < 3; k++) {
matrice[i][j][k] =
(OPJ_INT32)((OPJ_FLOAT32)cp->m_specific_param.m_enc.m_matrice[i *
tilec->numresolutions * 3 + j * 3 + k]
* (OPJ_FLOAT32)(tcd->image->comps[compno].prec / 16.0));
}
}
}
for (resno = 0; resno < tilec->numresolutions; resno++) {
opj_tcd_resolution_t *res = &tilec->resolutions[resno];
for (bandno = 0; bandno < res->numbands; bandno++) {
opj_tcd_band_t *band = &res->bands[bandno];
/* Skip empty bands */
if (opj_tcd_is_band_empty(band)) {
continue;
}
for (precno = 0; precno < res->pw * res->ph; precno++) {
opj_tcd_precinct_t *prc = &band->precincts[precno];
for (cblkno = 0; cblkno < prc->cw * prc->ch; cblkno++) {
opj_tcd_cblk_enc_t *cblk = &prc->cblks.enc[cblkno];
opj_tcd_layer_t *layer = &cblk->layers[layno];
OPJ_UINT32 n;
OPJ_INT32 imsb = (OPJ_INT32)(tcd->image->comps[compno].prec -
cblk->numbps); /* number of bit-plan equal to zero */
/* Correction of the matrix of coefficient to include the IMSB information */
if (layno == 0) {
value = matrice[layno][resno][bandno];
if (imsb >= value) {
value = 0;
} else {
value -= imsb;
}
} else {
value = matrice[layno][resno][bandno] - matrice[layno - 1][resno][bandno];
if (imsb >= matrice[layno - 1][resno][bandno]) {
value -= (imsb - matrice[layno - 1][resno][bandno]);
if (value < 0) {
value = 0;
}
}
}
if (layno == 0) {
cblk->numpassesinlayers = 0;
}
n = cblk->numpassesinlayers;
if (cblk->numpassesinlayers == 0) {
if (value != 0) {
n = 3 * (OPJ_UINT32)value - 2 + cblk->numpassesinlayers;
} else {
n = cblk->numpassesinlayers;
}
} else {
n = 3 * (OPJ_UINT32)value + cblk->numpassesinlayers;
}
layer->numpasses = n - cblk->numpassesinlayers;
if (!layer->numpasses) {
continue;
}
if (cblk->numpassesinlayers == 0) {
layer->len = cblk->passes[n - 1].rate;
layer->data = cblk->data;
} else {
layer->len = cblk->passes[n - 1].rate - cblk->passes[cblk->numpassesinlayers -
1].rate;
layer->data = cblk->data + cblk->passes[cblk->numpassesinlayers - 1].rate;
}
if (final) {
cblk->numpassesinlayers = n;
}
}
}
}
}
}
}
OPJ_BOOL opj_tcd_rateallocate(opj_tcd_t *tcd,
OPJ_BYTE *dest,
OPJ_UINT32 * p_data_written,
OPJ_UINT32 len,
opj_codestream_info_t *cstr_info,
opj_event_mgr_t *p_manager)
{
OPJ_UINT32 compno, resno, bandno, precno, cblkno, layno;
OPJ_UINT32 passno;
OPJ_FLOAT64 min, max;
OPJ_FLOAT64 cumdisto[100]; /* fixed_quality */
const OPJ_FLOAT64 K = 1; /* 1.1; fixed_quality */
OPJ_FLOAT64 maxSE = 0;
opj_cp_t *cp = tcd->cp;
opj_tcd_tile_t *tcd_tile = tcd->tcd_image->tiles;
opj_tcp_t *tcd_tcp = tcd->tcp;
min = DBL_MAX;
max = 0;
tcd_tile->numpix = 0; /* fixed_quality */
for (compno = 0; compno < tcd_tile->numcomps; compno++) {
opj_tcd_tilecomp_t *tilec = &tcd_tile->comps[compno];
tilec->numpix = 0;
for (resno = 0; resno < tilec->numresolutions; resno++) {
opj_tcd_resolution_t *res = &tilec->resolutions[resno];
for (bandno = 0; bandno < res->numbands; bandno++) {
opj_tcd_band_t *band = &res->bands[bandno];
/* Skip empty bands */
if (opj_tcd_is_band_empty(band)) {
continue;
}
for (precno = 0; precno < res->pw * res->ph; precno++) {
opj_tcd_precinct_t *prc = &band->precincts[precno];
for (cblkno = 0; cblkno < prc->cw * prc->ch; cblkno++) {
opj_tcd_cblk_enc_t *cblk = &prc->cblks.enc[cblkno];
for (passno = 0; passno < cblk->totalpasses; passno++) {
opj_tcd_pass_t *pass = &cblk->passes[passno];
OPJ_INT32 dr;
OPJ_FLOAT64 dd, rdslope;
if (passno == 0) {
dr = (OPJ_INT32)pass->rate;
dd = pass->distortiondec;
} else {
dr = (OPJ_INT32)(pass->rate - cblk->passes[passno - 1].rate);
dd = pass->distortiondec - cblk->passes[passno - 1].distortiondec;
}
if (dr == 0) {
continue;
}
rdslope = dd / dr;
if (rdslope < min) {
min = rdslope;
}
if (rdslope > max) {
max = rdslope;
}
} /* passno */
/* fixed_quality */
tcd_tile->numpix += ((cblk->x1 - cblk->x0) * (cblk->y1 - cblk->y0));
tilec->numpix += ((cblk->x1 - cblk->x0) * (cblk->y1 - cblk->y0));
} /* cbklno */
} /* precno */
} /* bandno */
} /* resno */
maxSE += (((OPJ_FLOAT64)(1 << tcd->image->comps[compno].prec) - 1.0)
* ((OPJ_FLOAT64)(1 << tcd->image->comps[compno].prec) - 1.0))
* ((OPJ_FLOAT64)(tilec->numpix));
} /* compno */
/* index file */
if (cstr_info) {
opj_tile_info_t *tile_info = &cstr_info->tile[tcd->tcd_tileno];
tile_info->numpix = tcd_tile->numpix;
tile_info->distotile = tcd_tile->distotile;
tile_info->thresh = (OPJ_FLOAT64 *) opj_malloc(tcd_tcp->numlayers * sizeof(
OPJ_FLOAT64));
if (!tile_info->thresh) {
/* FIXME event manager error callback */
return OPJ_FALSE;
}
}
for (layno = 0; layno < tcd_tcp->numlayers; layno++) {
OPJ_FLOAT64 lo = min;
OPJ_FLOAT64 hi = max;
OPJ_UINT32 maxlen = tcd_tcp->rates[layno] > 0.0f ? opj_uint_min(((
OPJ_UINT32) ceil(tcd_tcp->rates[layno])), len) : len;
OPJ_FLOAT64 goodthresh = 0;
OPJ_FLOAT64 stable_thresh = 0;
OPJ_UINT32 i;
OPJ_FLOAT64 distotarget; /* fixed_quality */
/* fixed_quality */
distotarget = tcd_tile->distotile - ((K * maxSE) / pow((OPJ_FLOAT32)10,
tcd_tcp->distoratio[layno] / 10));
/* Don't try to find an optimal threshold but rather take everything not included yet, if
-r xx,yy,zz,0 (disto_alloc == 1 and rates == 0)
-q xx,yy,zz,0 (fixed_quality == 1 and distoratio == 0)
==> possible to have some lossy layers and the last layer for sure lossless */
if (((cp->m_specific_param.m_enc.m_disto_alloc == 1) &&
(tcd_tcp->rates[layno] > 0.0f)) ||
((cp->m_specific_param.m_enc.m_fixed_quality == 1) &&
(tcd_tcp->distoratio[layno] > 0.0))) {
opj_t2_t*t2 = opj_t2_create(tcd->image, cp);
OPJ_FLOAT64 thresh = 0;
if (t2 == 00) {
return OPJ_FALSE;
}
for (i = 0; i < 128; ++i) {
OPJ_FLOAT64 distoachieved = 0; /* fixed_quality */
thresh = (lo + hi) / 2;
opj_tcd_makelayer(tcd, layno, thresh, 0);
if (cp->m_specific_param.m_enc.m_fixed_quality) { /* fixed_quality */
if (OPJ_IS_CINEMA(cp->rsiz)) {
if (! opj_t2_encode_packets(t2, tcd->tcd_tileno, tcd_tile, layno + 1, dest,
p_data_written, maxlen, cstr_info, tcd->cur_tp_num, tcd->tp_pos, tcd->cur_pino,
THRESH_CALC, p_manager)) {
lo = thresh;
continue;
} else {
distoachieved = layno == 0 ?
tcd_tile->distolayer[0] : cumdisto[layno - 1] + tcd_tile->distolayer[layno];
if (distoachieved < distotarget) {
hi = thresh;
stable_thresh = thresh;
continue;
} else {
lo = thresh;
}
}
} else {
distoachieved = (layno == 0) ?
tcd_tile->distolayer[0] : (cumdisto[layno - 1] + tcd_tile->distolayer[layno]);
if (distoachieved < distotarget) {
hi = thresh;
stable_thresh = thresh;
continue;
}
lo = thresh;
}
} else {
if (! opj_t2_encode_packets(t2, tcd->tcd_tileno, tcd_tile, layno + 1, dest,
p_data_written, maxlen, cstr_info, tcd->cur_tp_num, tcd->tp_pos, tcd->cur_pino,
THRESH_CALC, p_manager)) {
/* TODO: what to do with l ??? seek / tell ??? */
/* opj_event_msg(tcd->cinfo, EVT_INFO, "rate alloc: len=%d, max=%d\n", l, maxlen); */
lo = thresh;
continue;
}
hi = thresh;
stable_thresh = thresh;
}
}
goodthresh = stable_thresh == 0 ? thresh : stable_thresh;
opj_t2_destroy(t2);
} else {
/* Special value to indicate to use all passes */
goodthresh = -1;
}
if (cstr_info) { /* Threshold for Marcela Index */
cstr_info->tile[tcd->tcd_tileno].thresh[layno] = goodthresh;
}
opj_tcd_makelayer(tcd, layno, goodthresh, 1);
/* fixed_quality */
cumdisto[layno] = (layno == 0) ? tcd_tile->distolayer[0] :
(cumdisto[layno - 1] + tcd_tile->distolayer[layno]);
}
return OPJ_TRUE;
}
OPJ_BOOL opj_tcd_init(opj_tcd_t *p_tcd,
opj_image_t * p_image,
opj_cp_t * p_cp,
opj_thread_pool_t* p_tp)
{
p_tcd->image = p_image;
p_tcd->cp = p_cp;
p_tcd->tcd_image->tiles = (opj_tcd_tile_t *) opj_calloc(1,
sizeof(opj_tcd_tile_t));
if (! p_tcd->tcd_image->tiles) {
return OPJ_FALSE;
}
p_tcd->tcd_image->tiles->comps = (opj_tcd_tilecomp_t *) opj_calloc(
p_image->numcomps, sizeof(opj_tcd_tilecomp_t));
if (! p_tcd->tcd_image->tiles->comps) {
return OPJ_FALSE;
}
p_tcd->tcd_image->tiles->numcomps = p_image->numcomps;
p_tcd->tp_pos = p_cp->m_specific_param.m_enc.m_tp_pos;
p_tcd->thread_pool = p_tp;
return OPJ_TRUE;
}
/**
Destroy a previously created TCD handle
*/
void opj_tcd_destroy(opj_tcd_t *tcd)
{
if (tcd) {
opj_tcd_free_tile(tcd);
if (tcd->tcd_image) {
opj_free(tcd->tcd_image);
tcd->tcd_image = 00;
}
opj_free(tcd->used_component);
opj_free(tcd);
}
}
OPJ_BOOL opj_alloc_tile_component_data(opj_tcd_tilecomp_t *l_tilec)
{
if ((l_tilec->data == 00) ||
((l_tilec->data_size_needed > l_tilec->data_size) &&
(l_tilec->ownsData == OPJ_FALSE))) {
l_tilec->data = (OPJ_INT32 *) opj_image_data_alloc(l_tilec->data_size_needed);
if (!l_tilec->data && l_tilec->data_size_needed != 0) {
return OPJ_FALSE;
}
/*fprintf(stderr, "tAllocate data of tilec (int): %d x OPJ_UINT32n",l_data_size);*/
l_tilec->data_size = l_tilec->data_size_needed;
l_tilec->ownsData = OPJ_TRUE;
} else if (l_tilec->data_size_needed > l_tilec->data_size) {
/* We don't need to keep old data */
opj_image_data_free(l_tilec->data);
l_tilec->data = (OPJ_INT32 *) opj_image_data_alloc(l_tilec->data_size_needed);
if (! l_tilec->data) {
l_tilec->data_size = 0;
l_tilec->data_size_needed = 0;
l_tilec->ownsData = OPJ_FALSE;
return OPJ_FALSE;
}
/*fprintf(stderr, "tReallocate data of tilec (int): from %d to %d x OPJ_UINT32n", l_tilec->data_size, l_data_size);*/
l_tilec->data_size = l_tilec->data_size_needed;
l_tilec->ownsData = OPJ_TRUE;
}
return OPJ_TRUE;
}
/* your_sha256_hash------- */
static INLINE OPJ_BOOL opj_tcd_init_tile(opj_tcd_t *p_tcd, OPJ_UINT32 p_tile_no,
OPJ_BOOL isEncoder, OPJ_FLOAT32 fraction, OPJ_SIZE_T sizeof_block,
opj_event_mgr_t* manager)
{
OPJ_UINT32(*l_gain_ptr)(OPJ_UINT32) = 00;
OPJ_UINT32 compno, resno, bandno, precno, cblkno;
opj_tcp_t * l_tcp = 00;
opj_cp_t * l_cp = 00;
opj_tcd_tile_t * l_tile = 00;
opj_tccp_t *l_tccp = 00;
opj_tcd_tilecomp_t *l_tilec = 00;
opj_image_comp_t * l_image_comp = 00;
opj_tcd_resolution_t *l_res = 00;
opj_tcd_band_t *l_band = 00;
opj_stepsize_t * l_step_size = 00;
opj_tcd_precinct_t *l_current_precinct = 00;
opj_image_t *l_image = 00;
OPJ_UINT32 p, q;
OPJ_UINT32 l_level_no;
OPJ_UINT32 l_pdx, l_pdy;
OPJ_UINT32 l_gain;
OPJ_INT32 l_x0b, l_y0b;
OPJ_UINT32 l_tx0, l_ty0;
/* extent of precincts , top left, bottom right**/
OPJ_INT32 l_tl_prc_x_start, l_tl_prc_y_start, l_br_prc_x_end, l_br_prc_y_end;
/* number of precinct for a resolution */
OPJ_UINT32 l_nb_precincts;
/* room needed to store l_nb_precinct precinct for a resolution */
OPJ_UINT32 l_nb_precinct_size;
/* number of code blocks for a precinct*/
OPJ_UINT32 l_nb_code_blocks;
/* room needed to store l_nb_code_blocks code blocks for a precinct*/
OPJ_UINT32 l_nb_code_blocks_size;
/* size of data for a tile */
OPJ_UINT32 l_data_size;
l_cp = p_tcd->cp;
l_tcp = &(l_cp->tcps[p_tile_no]);
l_tile = p_tcd->tcd_image->tiles;
l_tccp = l_tcp->tccps;
l_tilec = l_tile->comps;
l_image = p_tcd->image;
l_image_comp = p_tcd->image->comps;
p = p_tile_no % l_cp->tw; /* tile coordinates */
q = p_tile_no / l_cp->tw;
/*fprintf(stderr, "Tile coordinate = %d,%d\n", p, q);*/
/* 4 borders of the tile rescale on the image if necessary */
l_tx0 = l_cp->tx0 + p *
l_cp->tdx; /* can't be greater than l_image->x1 so won't overflow */
l_tile->x0 = (OPJ_INT32)opj_uint_max(l_tx0, l_image->x0);
l_tile->x1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_tx0, l_cp->tdx),
l_image->x1);
/* all those OPJ_UINT32 are casted to OPJ_INT32, let's do some sanity check */
if ((l_tile->x0 < 0) || (l_tile->x1 <= l_tile->x0)) {
opj_event_msg(manager, EVT_ERROR, "Tile X coordinates are not supported\n");
return OPJ_FALSE;
}
l_ty0 = l_cp->ty0 + q *
l_cp->tdy; /* can't be greater than l_image->y1 so won't overflow */
l_tile->y0 = (OPJ_INT32)opj_uint_max(l_ty0, l_image->y0);
l_tile->y1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_ty0, l_cp->tdy),
l_image->y1);
/* all those OPJ_UINT32 are casted to OPJ_INT32, let's do some sanity check */
if ((l_tile->y0 < 0) || (l_tile->y1 <= l_tile->y0)) {
opj_event_msg(manager, EVT_ERROR, "Tile Y coordinates are not supported\n");
return OPJ_FALSE;
}
/* testcase 1888.pdf.asan.35.988 */
if (l_tccp->numresolutions == 0) {
opj_event_msg(manager, EVT_ERROR, "tiles require at least one resolution\n");
return OPJ_FALSE;
}
/*fprintf(stderr, "Tile border = %d,%d,%d,%d\n", l_tile->x0, l_tile->y0,l_tile->x1,l_tile->y1);*/
/*tile->numcomps = image->numcomps; */
for (compno = 0; compno < l_tile->numcomps; ++compno) {
/*fprintf(stderr, "compno = %d/%d\n", compno, l_tile->numcomps);*/
l_image_comp->resno_decoded = 0;
/* border of each l_tile component (global) */
l_tilec->x0 = opj_int_ceildiv(l_tile->x0, (OPJ_INT32)l_image_comp->dx);
l_tilec->y0 = opj_int_ceildiv(l_tile->y0, (OPJ_INT32)l_image_comp->dy);
l_tilec->x1 = opj_int_ceildiv(l_tile->x1, (OPJ_INT32)l_image_comp->dx);
l_tilec->y1 = opj_int_ceildiv(l_tile->y1, (OPJ_INT32)l_image_comp->dy);
l_tilec->compno = compno;
/*fprintf(stderr, "\tTile compo border = %d,%d,%d,%d\n", l_tilec->x0, l_tilec->y0,l_tilec->x1,l_tilec->y1);*/
l_tilec->numresolutions = l_tccp->numresolutions;
if (l_tccp->numresolutions < l_cp->m_specific_param.m_dec.m_reduce) {
l_tilec->minimum_num_resolutions = 1;
} else {
l_tilec->minimum_num_resolutions = l_tccp->numresolutions -
l_cp->m_specific_param.m_dec.m_reduce;
}
if (isEncoder) {
OPJ_SIZE_T l_tile_data_size;
if (l_tilec->x0 >= l_tilec->x1 || l_tilec->y0 >= l_tilec->y1) {
opj_event_msg(manager, EVT_ERROR, "Invalid tile data\n");
return OPJ_FALSE;
}
/* compute l_data_size with overflow check */
OPJ_SIZE_T w = (OPJ_SIZE_T)(l_tilec->x1 - l_tilec->x0);
OPJ_SIZE_T h = (OPJ_SIZE_T)(l_tilec->y1 - l_tilec->y0);
/* issue 733, l_data_size == 0U, probably something wrong should be checked before getting here */
if (h > 0 && w > SIZE_MAX / h) {
opj_event_msg(manager, EVT_ERROR, "Size of tile data exceeds system limits\n");
return OPJ_FALSE;
}
l_tile_data_size = w * h;
if (SIZE_MAX / sizeof(OPJ_UINT32) < l_tile_data_size) {
opj_event_msg(manager, EVT_ERROR, "Size of tile data exceeds system limits\n");
return OPJ_FALSE;
}
l_tile_data_size = l_tile_data_size * sizeof(OPJ_UINT32);
l_tilec->data_size_needed = l_tile_data_size;
}
l_data_size = l_tilec->numresolutions * (OPJ_UINT32)sizeof(
opj_tcd_resolution_t);
opj_image_data_free(l_tilec->data_win);
l_tilec->data_win = NULL;
l_tilec->win_x0 = 0;
l_tilec->win_y0 = 0;
l_tilec->win_x1 = 0;
l_tilec->win_y1 = 0;
if (l_tilec->resolutions == 00) {
l_tilec->resolutions = (opj_tcd_resolution_t *) opj_malloc(l_data_size);
if (! l_tilec->resolutions) {
return OPJ_FALSE;
}
/*fprintf(stderr, "\tAllocate resolutions of tilec (opj_tcd_resolution_t): %d\n",l_data_size);*/
l_tilec->resolutions_size = l_data_size;
memset(l_tilec->resolutions, 0, l_data_size);
} else if (l_data_size > l_tilec->resolutions_size) {
opj_tcd_resolution_t* new_resolutions = (opj_tcd_resolution_t *) opj_realloc(
l_tilec->resolutions, l_data_size);
if (! new_resolutions) {
opj_event_msg(manager, EVT_ERROR, "Not enough memory for tile resolutions\n");
opj_free(l_tilec->resolutions);
l_tilec->resolutions = NULL;
l_tilec->resolutions_size = 0;
return OPJ_FALSE;
}
l_tilec->resolutions = new_resolutions;
/*fprintf(stderr, "\tReallocate data of tilec (int): from %d to %d x OPJ_UINT32\n", l_tilec->resolutions_size, l_data_size);*/
memset(((OPJ_BYTE*) l_tilec->resolutions) + l_tilec->resolutions_size, 0,
l_data_size - l_tilec->resolutions_size);
l_tilec->resolutions_size = l_data_size;
}
l_level_no = l_tilec->numresolutions;
l_res = l_tilec->resolutions;
l_step_size = l_tccp->stepsizes;
if (l_tccp->qmfbid == 0) {
l_gain_ptr = &opj_dwt_getgain_real;
} else {
l_gain_ptr = &opj_dwt_getgain;
}
/*fprintf(stderr, "\tlevel_no=%d\n",l_level_no);*/
for (resno = 0; resno < l_tilec->numresolutions; ++resno) {
/*fprintf(stderr, "\t\tresno = %d/%d\n", resno, l_tilec->numresolutions);*/
OPJ_INT32 tlcbgxstart, tlcbgystart /*, brcbgxend, brcbgyend*/;
OPJ_UINT32 cbgwidthexpn, cbgheightexpn;
OPJ_UINT32 cblkwidthexpn, cblkheightexpn;
--l_level_no;
/* border for each resolution level (global) */
l_res->x0 = opj_int_ceildivpow2(l_tilec->x0, (OPJ_INT32)l_level_no);
l_res->y0 = opj_int_ceildivpow2(l_tilec->y0, (OPJ_INT32)l_level_no);
l_res->x1 = opj_int_ceildivpow2(l_tilec->x1, (OPJ_INT32)l_level_no);
l_res->y1 = opj_int_ceildivpow2(l_tilec->y1, (OPJ_INT32)l_level_no);
/*fprintf(stderr, "\t\t\tres_x0= %d, res_y0 =%d, res_x1=%d, res_y1=%d\n", l_res->x0, l_res->y0, l_res->x1, l_res->y1);*/
/* p. 35, table A-23, ISO/IEC FDIS154444-1 : 2000 (18 august 2000) */
l_pdx = l_tccp->prcw[resno];
l_pdy = l_tccp->prch[resno];
/*fprintf(stderr, "\t\t\tpdx=%d, pdy=%d\n", l_pdx, l_pdy);*/
/* p. 64, B.6, ISO/IEC FDIS15444-1 : 2000 (18 august 2000) */
l_tl_prc_x_start = opj_int_floordivpow2(l_res->x0, (OPJ_INT32)l_pdx) << l_pdx;
l_tl_prc_y_start = opj_int_floordivpow2(l_res->y0, (OPJ_INT32)l_pdy) << l_pdy;
l_br_prc_x_end = opj_int_ceildivpow2(l_res->x1, (OPJ_INT32)l_pdx) << l_pdx;
l_br_prc_y_end = opj_int_ceildivpow2(l_res->y1, (OPJ_INT32)l_pdy) << l_pdy;
/*fprintf(stderr, "\t\t\tprc_x_start=%d, prc_y_start=%d, br_prc_x_end=%d, br_prc_y_end=%d \n", l_tl_prc_x_start, l_tl_prc_y_start, l_br_prc_x_end ,l_br_prc_y_end );*/
l_res->pw = (l_res->x0 == l_res->x1) ? 0U : (OPJ_UINT32)((
l_br_prc_x_end - l_tl_prc_x_start) >> l_pdx);
l_res->ph = (l_res->y0 == l_res->y1) ? 0U : (OPJ_UINT32)((
l_br_prc_y_end - l_tl_prc_y_start) >> l_pdy);
/*fprintf(stderr, "\t\t\tres_pw=%d, res_ph=%d\n", l_res->pw, l_res->ph );*/
if ((l_res->pw != 0U) && ((((OPJ_UINT32) - 1) / l_res->pw) < l_res->ph)) {
opj_event_msg(manager, EVT_ERROR, "Size of tile data exceeds system limits\n");
return OPJ_FALSE;
}
l_nb_precincts = l_res->pw * l_res->ph;
if ((((OPJ_UINT32) - 1) / (OPJ_UINT32)sizeof(opj_tcd_precinct_t)) <
l_nb_precincts) {
opj_event_msg(manager, EVT_ERROR, "Size of tile data exceeds system limits\n");
return OPJ_FALSE;
}
l_nb_precinct_size = l_nb_precincts * (OPJ_UINT32)sizeof(opj_tcd_precinct_t);
if (resno == 0) {
tlcbgxstart = l_tl_prc_x_start;
tlcbgystart = l_tl_prc_y_start;
/*brcbgxend = l_br_prc_x_end;*/
/* brcbgyend = l_br_prc_y_end;*/
cbgwidthexpn = l_pdx;
cbgheightexpn = l_pdy;
l_res->numbands = 1;
} else {
tlcbgxstart = opj_int_ceildivpow2(l_tl_prc_x_start, 1);
tlcbgystart = opj_int_ceildivpow2(l_tl_prc_y_start, 1);
/*brcbgxend = opj_int_ceildivpow2(l_br_prc_x_end, 1);*/
/*brcbgyend = opj_int_ceildivpow2(l_br_prc_y_end, 1);*/
cbgwidthexpn = l_pdx - 1;
cbgheightexpn = l_pdy - 1;
l_res->numbands = 3;
}
cblkwidthexpn = opj_uint_min(l_tccp->cblkw, cbgwidthexpn);
cblkheightexpn = opj_uint_min(l_tccp->cblkh, cbgheightexpn);
l_band = l_res->bands;
for (bandno = 0; bandno < l_res->numbands; ++bandno, ++l_band, ++l_step_size) {
OPJ_INT32 numbps;
/*fprintf(stderr, "\t\t\tband_no=%d/%d\n", bandno, l_res->numbands );*/
if (resno == 0) {
l_band->bandno = 0 ;
l_band->x0 = opj_int_ceildivpow2(l_tilec->x0, (OPJ_INT32)l_level_no);
l_band->y0 = opj_int_ceildivpow2(l_tilec->y0, (OPJ_INT32)l_level_no);
l_band->x1 = opj_int_ceildivpow2(l_tilec->x1, (OPJ_INT32)l_level_no);
l_band->y1 = opj_int_ceildivpow2(l_tilec->y1, (OPJ_INT32)l_level_no);
} else {
l_band->bandno = bandno + 1;
/* x0b = 1 if bandno = 1 or 3 */
l_x0b = l_band->bandno & 1;
/* y0b = 1 if bandno = 2 or 3 */
l_y0b = (OPJ_INT32)((l_band->bandno) >> 1);
/* l_band border (global) */
l_band->x0 = opj_int64_ceildivpow2(l_tilec->x0 - ((OPJ_INT64)l_x0b <<
l_level_no), (OPJ_INT32)(l_level_no + 1));
l_band->y0 = opj_int64_ceildivpow2(l_tilec->y0 - ((OPJ_INT64)l_y0b <<
l_level_no), (OPJ_INT32)(l_level_no + 1));
l_band->x1 = opj_int64_ceildivpow2(l_tilec->x1 - ((OPJ_INT64)l_x0b <<
l_level_no), (OPJ_INT32)(l_level_no + 1));
l_band->y1 = opj_int64_ceildivpow2(l_tilec->y1 - ((OPJ_INT64)l_y0b <<
l_level_no), (OPJ_INT32)(l_level_no + 1));
}
if (isEncoder) {
/* Skip empty bands */
if (opj_tcd_is_band_empty(l_band)) {
/* Do not zero l_band->precints to avoid leaks */
/* but make sure we don't use it later, since */
/* it will point to precincts of previous bands... */
continue;
}
}
/** avoid an if with storing function pointer */
l_gain = (*l_gain_ptr)(l_band->bandno);
numbps = (OPJ_INT32)(l_image_comp->prec + l_gain);
l_band->stepsize = (OPJ_FLOAT32)(((1.0 + l_step_size->mant / 2048.0) * pow(2.0,
(OPJ_INT32)(numbps - l_step_size->expn)))) * fraction;
/* Mb value of Equation E-2 in "E.1 Inverse quantization
* procedure" of the standard */
l_band->numbps = l_step_size->expn + (OPJ_INT32)l_tccp->numgbits -
1;
if (!l_band->precincts && (l_nb_precincts > 0U)) {
l_band->precincts = (opj_tcd_precinct_t *) opj_malloc(/*3 * */
l_nb_precinct_size);
if (! l_band->precincts) {
opj_event_msg(manager, EVT_ERROR,
"Not enough memory to handle band precints\n");
return OPJ_FALSE;
}
/*fprintf(stderr, "\t\t\t\tAllocate precincts of a band (opj_tcd_precinct_t): %d\n",l_nb_precinct_size); */
memset(l_band->precincts, 0, l_nb_precinct_size);
l_band->precincts_data_size = l_nb_precinct_size;
} else if (l_band->precincts_data_size < l_nb_precinct_size) {
opj_tcd_precinct_t * new_precincts = (opj_tcd_precinct_t *) opj_realloc(
l_band->precincts,/*3 * */ l_nb_precinct_size);
if (! new_precincts) {
opj_event_msg(manager, EVT_ERROR,
"Not enough memory to handle band precints\n");
opj_free(l_band->precincts);
l_band->precincts = NULL;
l_band->precincts_data_size = 0;
return OPJ_FALSE;
}
l_band->precincts = new_precincts;
/*fprintf(stderr, "\t\t\t\tReallocate precincts of a band (opj_tcd_precinct_t): from %d to %d\n",l_band->precincts_data_size, l_nb_precinct_size);*/
memset(((OPJ_BYTE *) l_band->precincts) + l_band->precincts_data_size, 0,
l_nb_precinct_size - l_band->precincts_data_size);
l_band->precincts_data_size = l_nb_precinct_size;
}
l_current_precinct = l_band->precincts;
for (precno = 0; precno < l_nb_precincts; ++precno) {
OPJ_INT32 tlcblkxstart, tlcblkystart, brcblkxend, brcblkyend;
OPJ_INT32 cbgxstart = tlcbgxstart + (OPJ_INT32)(precno % l_res->pw) *
(1 << cbgwidthexpn);
OPJ_INT32 cbgystart = tlcbgystart + (OPJ_INT32)(precno / l_res->pw) *
(1 << cbgheightexpn);
OPJ_INT32 cbgxend = cbgxstart + (1 << cbgwidthexpn);
OPJ_INT32 cbgyend = cbgystart + (1 << cbgheightexpn);
/*fprintf(stderr, "\t precno=%d; bandno=%d, resno=%d; compno=%d\n", precno, bandno , resno, compno);*/
/*fprintf(stderr, "\t tlcbgxstart(=%d) + (precno(=%d) percent res->pw(=%d)) * (1 << cbgwidthexpn(=%d)) \n",tlcbgxstart,precno,l_res->pw,cbgwidthexpn);*/
/* precinct size (global) */
/*fprintf(stderr, "\t cbgxstart=%d, l_band->x0 = %d \n",cbgxstart, l_band->x0);*/
l_current_precinct->x0 = opj_int_max(cbgxstart, l_band->x0);
l_current_precinct->y0 = opj_int_max(cbgystart, l_band->y0);
l_current_precinct->x1 = opj_int_min(cbgxend, l_band->x1);
l_current_precinct->y1 = opj_int_min(cbgyend, l_band->y1);
/*fprintf(stderr, "\t prc_x0=%d; prc_y0=%d, prc_x1=%d; prc_y1=%d\n",l_current_precinct->x0, l_current_precinct->y0 ,l_current_precinct->x1, l_current_precinct->y1);*/
tlcblkxstart = opj_int_floordivpow2(l_current_precinct->x0,
(OPJ_INT32)cblkwidthexpn) << cblkwidthexpn;
/*fprintf(stderr, "\t tlcblkxstart =%d\n",tlcblkxstart );*/
tlcblkystart = opj_int_floordivpow2(l_current_precinct->y0,
(OPJ_INT32)cblkheightexpn) << cblkheightexpn;
/*fprintf(stderr, "\t tlcblkystart =%d\n",tlcblkystart );*/
brcblkxend = opj_int_ceildivpow2(l_current_precinct->x1,
(OPJ_INT32)cblkwidthexpn) << cblkwidthexpn;
/*fprintf(stderr, "\t brcblkxend =%d\n",brcblkxend );*/
brcblkyend = opj_int_ceildivpow2(l_current_precinct->y1,
(OPJ_INT32)cblkheightexpn) << cblkheightexpn;
/*fprintf(stderr, "\t brcblkyend =%d\n",brcblkyend );*/
l_current_precinct->cw = (OPJ_UINT32)((brcblkxend - tlcblkxstart) >>
cblkwidthexpn);
l_current_precinct->ch = (OPJ_UINT32)((brcblkyend - tlcblkystart) >>
cblkheightexpn);
if (l_current_precinct->cw && ((OPJ_UINT32)-1) / l_current_precinct->cw < l_current_precinct->ch) {
return OPJ_FALSE;
}
l_nb_code_blocks = l_current_precinct->cw * l_current_precinct->ch;
/*fprintf(stderr, "\t\t\t\t precinct_cw = %d x recinct_ch = %d\n",l_current_precinct->cw, l_current_precinct->ch); */
if (((OPJ_UINT32)-1) / (OPJ_UINT32)sizeof_block < l_nb_code_blocks) {
return OPJ_FALSE;
}
l_nb_code_blocks_size = l_nb_code_blocks * (OPJ_UINT32)sizeof_block;
if (!l_current_precinct->cblks.blocks && (l_nb_code_blocks > 0U)) {
l_current_precinct->cblks.blocks = opj_malloc(l_nb_code_blocks_size);
if (! l_current_precinct->cblks.blocks) {
return OPJ_FALSE;
}
/*fprintf(stderr, "\t\t\t\tAllocate cblks of a precinct (opj_tcd_cblk_dec_t): %d\n",l_nb_code_blocks_size);*/
memset(l_current_precinct->cblks.blocks, 0, l_nb_code_blocks_size);
l_current_precinct->block_size = l_nb_code_blocks_size;
} else if (l_nb_code_blocks_size > l_current_precinct->block_size) {
void *new_blocks = opj_realloc(l_current_precinct->cblks.blocks,
l_nb_code_blocks_size);
if (! new_blocks) {
opj_free(l_current_precinct->cblks.blocks);
l_current_precinct->cblks.blocks = NULL;
l_current_precinct->block_size = 0;
opj_event_msg(manager, EVT_ERROR,
"Not enough memory for current precinct codeblock element\n");
return OPJ_FALSE;
}
l_current_precinct->cblks.blocks = new_blocks;
/*fprintf(stderr, "\t\t\t\tReallocate cblks of a precinct (opj_tcd_cblk_dec_t): from %d to %d\n",l_current_precinct->block_size, l_nb_code_blocks_size); */
memset(((OPJ_BYTE *) l_current_precinct->cblks.blocks) +
l_current_precinct->block_size
, 0
, l_nb_code_blocks_size - l_current_precinct->block_size);
l_current_precinct->block_size = l_nb_code_blocks_size;
}
if (! l_current_precinct->incltree) {
l_current_precinct->incltree = opj_tgt_create(l_current_precinct->cw,
l_current_precinct->ch, manager);
} else {
l_current_precinct->incltree = opj_tgt_init(l_current_precinct->incltree,
l_current_precinct->cw, l_current_precinct->ch, manager);
}
if (! l_current_precinct->imsbtree) {
l_current_precinct->imsbtree = opj_tgt_create(l_current_precinct->cw,
l_current_precinct->ch, manager);
} else {
l_current_precinct->imsbtree = opj_tgt_init(l_current_precinct->imsbtree,
l_current_precinct->cw, l_current_precinct->ch, manager);
}
for (cblkno = 0; cblkno < l_nb_code_blocks; ++cblkno) {
OPJ_INT32 cblkxstart = tlcblkxstart + (OPJ_INT32)(cblkno %
l_current_precinct->cw) * (1 << cblkwidthexpn);
OPJ_INT32 cblkystart = tlcblkystart + (OPJ_INT32)(cblkno /
l_current_precinct->cw) * (1 << cblkheightexpn);
OPJ_INT32 cblkxend = cblkxstart + (1 << cblkwidthexpn);
OPJ_INT32 cblkyend = cblkystart + (1 << cblkheightexpn);
if (isEncoder) {
opj_tcd_cblk_enc_t* l_code_block = l_current_precinct->cblks.enc + cblkno;
if (! opj_tcd_code_block_enc_allocate(l_code_block)) {
return OPJ_FALSE;
}
/* code-block size (global) */
l_code_block->x0 = opj_int_max(cblkxstart, l_current_precinct->x0);
l_code_block->y0 = opj_int_max(cblkystart, l_current_precinct->y0);
l_code_block->x1 = opj_int_min(cblkxend, l_current_precinct->x1);
l_code_block->y1 = opj_int_min(cblkyend, l_current_precinct->y1);
if (! opj_tcd_code_block_enc_allocate_data(l_code_block)) {
return OPJ_FALSE;
}
} else {
opj_tcd_cblk_dec_t* l_code_block = l_current_precinct->cblks.dec + cblkno;
if (! opj_tcd_code_block_dec_allocate(l_code_block)) {
return OPJ_FALSE;
}
/* code-block size (global) */
l_code_block->x0 = opj_int_max(cblkxstart, l_current_precinct->x0);
l_code_block->y0 = opj_int_max(cblkystart, l_current_precinct->y0);
l_code_block->x1 = opj_int_min(cblkxend, l_current_precinct->x1);
l_code_block->y1 = opj_int_min(cblkyend, l_current_precinct->y1);
}
}
++l_current_precinct;
} /* precno */
} /* bandno */
++l_res;
} /* resno */
++l_tccp;
++l_tilec;
++l_image_comp;
} /* compno */
return OPJ_TRUE;
}
OPJ_BOOL opj_tcd_init_encode_tile(opj_tcd_t *p_tcd, OPJ_UINT32 p_tile_no,
opj_event_mgr_t* p_manager)
{
return opj_tcd_init_tile(p_tcd, p_tile_no, OPJ_TRUE, 1.0F,
sizeof(opj_tcd_cblk_enc_t), p_manager);
}
OPJ_BOOL opj_tcd_init_decode_tile(opj_tcd_t *p_tcd, OPJ_UINT32 p_tile_no,
opj_event_mgr_t* p_manager)
{
return opj_tcd_init_tile(p_tcd, p_tile_no, OPJ_FALSE, 0.5F,
sizeof(opj_tcd_cblk_dec_t), p_manager);
}
/**
* Allocates memory for an encoding code block (but not data memory).
*/
static OPJ_BOOL opj_tcd_code_block_enc_allocate(opj_tcd_cblk_enc_t *
p_code_block)
{
if (! p_code_block->layers) {
/* no memset since data */
p_code_block->layers = (opj_tcd_layer_t*) opj_calloc(100,
sizeof(opj_tcd_layer_t));
if (! p_code_block->layers) {
return OPJ_FALSE;
}
}
if (! p_code_block->passes) {
p_code_block->passes = (opj_tcd_pass_t*) opj_calloc(100,
sizeof(opj_tcd_pass_t));
if (! p_code_block->passes) {
return OPJ_FALSE;
}
}
return OPJ_TRUE;
}
/**
* Allocates data memory for an encoding code block.
*/
static OPJ_BOOL opj_tcd_code_block_enc_allocate_data(opj_tcd_cblk_enc_t *
p_code_block)
{
OPJ_UINT32 l_data_size;
/* +1 is needed for path_to_url */
/* and actually +2 required for path_to_url */
/* TODO: is there a theoretical upper-bound for the compressed code */
/* block size ? */
l_data_size = 2 + (OPJ_UINT32)((p_code_block->x1 - p_code_block->x0) *
(p_code_block->y1 - p_code_block->y0) * (OPJ_INT32)sizeof(OPJ_UINT32));
if (l_data_size > p_code_block->data_size) {
if (p_code_block->data) {
/* We refer to data - 1 since below we incremented it */
opj_free(p_code_block->data - 1);
}
p_code_block->data = (OPJ_BYTE*) opj_malloc(l_data_size + 1);
if (! p_code_block->data) {
p_code_block->data_size = 0U;
return OPJ_FALSE;
}
p_code_block->data_size = l_data_size;
/* We reserve the initial byte as a fake byte to a non-FF value */
/* and increment the data pointer, so that opj_mqc_init_enc() */
/* can do bp = data - 1, and opj_mqc_byteout() can safely dereference */
/* it. */
p_code_block->data[0] = 0;
p_code_block->data += 1; /*why +1 ?*/
}
return OPJ_TRUE;
}
void opj_tcd_reinit_segment(opj_tcd_seg_t* seg)
{
memset(seg, 0, sizeof(opj_tcd_seg_t));
}
/**
* Allocates memory for a decoding code block.
*/
static OPJ_BOOL opj_tcd_code_block_dec_allocate(opj_tcd_cblk_dec_t *
p_code_block)
{
if (! p_code_block->segs) {
p_code_block->segs = (opj_tcd_seg_t *) opj_calloc(OPJ_J2K_DEFAULT_NB_SEGS,
sizeof(opj_tcd_seg_t));
if (! p_code_block->segs) {
return OPJ_FALSE;
}
/*fprintf(stderr, "Allocate %d elements of code_block->data\n", OPJ_J2K_DEFAULT_NB_SEGS * sizeof(opj_tcd_seg_t));*/
p_code_block->m_current_max_segs = OPJ_J2K_DEFAULT_NB_SEGS;
/*fprintf(stderr, "m_current_max_segs of code_block->data = %d\n", p_code_block->m_current_max_segs);*/
} else {
/* sanitize */
opj_tcd_seg_t * l_segs = p_code_block->segs;
OPJ_UINT32 l_current_max_segs = p_code_block->m_current_max_segs;
opj_tcd_seg_data_chunk_t* l_chunks = p_code_block->chunks;
OPJ_UINT32 l_numchunksalloc = p_code_block->numchunksalloc;
OPJ_UINT32 i;
opj_aligned_free(p_code_block->decoded_data);
p_code_block->decoded_data = 00;
memset(p_code_block, 0, sizeof(opj_tcd_cblk_dec_t));
p_code_block->segs = l_segs;
p_code_block->m_current_max_segs = l_current_max_segs;
for (i = 0; i < l_current_max_segs; ++i) {
opj_tcd_reinit_segment(&l_segs[i]);
}
p_code_block->chunks = l_chunks;
p_code_block->numchunksalloc = l_numchunksalloc;
}
return OPJ_TRUE;
}
OPJ_UINT32 opj_tcd_get_decoded_tile_size(opj_tcd_t *p_tcd,
OPJ_BOOL take_into_account_partial_decoding)
{
OPJ_UINT32 i;
OPJ_UINT32 l_data_size = 0;
opj_image_comp_t * l_img_comp = 00;
opj_tcd_tilecomp_t * l_tile_comp = 00;
opj_tcd_resolution_t * l_res = 00;
OPJ_UINT32 l_size_comp, l_remaining;
OPJ_UINT32 l_temp;
l_tile_comp = p_tcd->tcd_image->tiles->comps;
l_img_comp = p_tcd->image->comps;
for (i = 0; i < p_tcd->image->numcomps; ++i) {
OPJ_UINT32 w, h;
l_size_comp = l_img_comp->prec >> 3; /*(/ 8)*/
l_remaining = l_img_comp->prec & 7; /* (%8) */
if (l_remaining) {
++l_size_comp;
}
if (l_size_comp == 3) {
l_size_comp = 4;
}
l_res = l_tile_comp->resolutions + l_tile_comp->minimum_num_resolutions - 1;
if (take_into_account_partial_decoding && !p_tcd->whole_tile_decoding) {
w = l_res->win_x1 - l_res->win_x0;
h = l_res->win_y1 - l_res->win_y0;
} else {
w = (OPJ_UINT32)(l_res->x1 - l_res->x0);
h = (OPJ_UINT32)(l_res->y1 - l_res->y0);
}
if (h > 0 && UINT_MAX / w < h) {
return UINT_MAX;
}
l_temp = w * h;
if (l_size_comp && UINT_MAX / l_size_comp < l_temp) {
return UINT_MAX;
}
l_temp *= l_size_comp;
if (l_temp > UINT_MAX - l_data_size) {
return UINT_MAX;
}
l_data_size += l_temp;
++l_img_comp;
++l_tile_comp;
}
return l_data_size;
}
OPJ_BOOL opj_tcd_encode_tile(opj_tcd_t *p_tcd,
OPJ_UINT32 p_tile_no,
OPJ_BYTE *p_dest,
OPJ_UINT32 * p_data_written,
OPJ_UINT32 p_max_length,
opj_codestream_info_t *p_cstr_info,
opj_event_mgr_t *p_manager)
{
if (p_tcd->cur_tp_num == 0) {
p_tcd->tcd_tileno = p_tile_no;
p_tcd->tcp = &p_tcd->cp->tcps[p_tile_no];
/* INDEX >> "Precinct_nb_X et Precinct_nb_Y" */
if (p_cstr_info) {
OPJ_UINT32 l_num_packs = 0;
OPJ_UINT32 i;
opj_tcd_tilecomp_t *l_tilec_idx =
&p_tcd->tcd_image->tiles->comps[0]; /* based on component 0 */
opj_tccp_t *l_tccp = p_tcd->tcp->tccps; /* based on component 0 */
for (i = 0; i < l_tilec_idx->numresolutions; i++) {
opj_tcd_resolution_t *l_res_idx = &l_tilec_idx->resolutions[i];
p_cstr_info->tile[p_tile_no].pw[i] = (int)l_res_idx->pw;
p_cstr_info->tile[p_tile_no].ph[i] = (int)l_res_idx->ph;
l_num_packs += l_res_idx->pw * l_res_idx->ph;
p_cstr_info->tile[p_tile_no].pdx[i] = (int)l_tccp->prcw[i];
p_cstr_info->tile[p_tile_no].pdy[i] = (int)l_tccp->prch[i];
}
p_cstr_info->tile[p_tile_no].packet = (opj_packet_info_t*) opj_calloc((
OPJ_SIZE_T)p_cstr_info->numcomps * (OPJ_SIZE_T)p_cstr_info->numlayers *
l_num_packs,
sizeof(opj_packet_info_t));
if (!p_cstr_info->tile[p_tile_no].packet) {
/* FIXME event manager error callback */
return OPJ_FALSE;
}
}
/* << INDEX */
/* FIXME _ProfStart(PGROUP_DC_SHIFT); */
/*---------------TILE-------------------*/
if (! opj_tcd_dc_level_shift_encode(p_tcd)) {
return OPJ_FALSE;
}
/* FIXME _ProfStop(PGROUP_DC_SHIFT); */
/* FIXME _ProfStart(PGROUP_MCT); */
if (! opj_tcd_mct_encode(p_tcd)) {
return OPJ_FALSE;
}
/* FIXME _ProfStop(PGROUP_MCT); */
/* FIXME _ProfStart(PGROUP_DWT); */
if (! opj_tcd_dwt_encode(p_tcd)) {
return OPJ_FALSE;
}
/* FIXME _ProfStop(PGROUP_DWT); */
/* FIXME _ProfStart(PGROUP_T1); */
if (! opj_tcd_t1_encode(p_tcd)) {
return OPJ_FALSE;
}
/* FIXME _ProfStop(PGROUP_T1); */
/* FIXME _ProfStart(PGROUP_RATE); */
if (! opj_tcd_rate_allocate_encode(p_tcd, p_dest, p_max_length,
p_cstr_info, p_manager)) {
return OPJ_FALSE;
}
/* FIXME _ProfStop(PGROUP_RATE); */
}
/*--------------TIER2------------------*/
/* INDEX */
if (p_cstr_info) {
p_cstr_info->index_write = 1;
}
/* FIXME _ProfStart(PGROUP_T2); */
if (! opj_tcd_t2_encode(p_tcd, p_dest, p_data_written, p_max_length,
p_cstr_info, p_manager)) {
return OPJ_FALSE;
}
/* FIXME _ProfStop(PGROUP_T2); */
/*---------------CLEAN-------------------*/
return OPJ_TRUE;
}
OPJ_BOOL opj_tcd_decode_tile(opj_tcd_t *p_tcd,
OPJ_UINT32 win_x0,
OPJ_UINT32 win_y0,
OPJ_UINT32 win_x1,
OPJ_UINT32 win_y1,
OPJ_UINT32 numcomps_to_decode,
const OPJ_UINT32 *comps_indices,
OPJ_BYTE *p_src,
OPJ_UINT32 p_max_length,
OPJ_UINT32 p_tile_no,
opj_codestream_index_t *p_cstr_index,
opj_event_mgr_t *p_manager
)
{
OPJ_UINT32 l_data_read;
OPJ_UINT32 compno;
p_tcd->tcd_tileno = p_tile_no;
p_tcd->tcp = &(p_tcd->cp->tcps[p_tile_no]);
p_tcd->win_x0 = win_x0;
p_tcd->win_y0 = win_y0;
p_tcd->win_x1 = win_x1;
p_tcd->win_y1 = win_y1;
p_tcd->whole_tile_decoding = OPJ_TRUE;
opj_free(p_tcd->used_component);
p_tcd->used_component = NULL;
if (numcomps_to_decode) {
OPJ_BOOL* used_component = (OPJ_BOOL*) opj_calloc(sizeof(OPJ_BOOL),
p_tcd->image->numcomps);
if (used_component == NULL) {
return OPJ_FALSE;
}
for (compno = 0; compno < numcomps_to_decode; compno++) {
used_component[ comps_indices[compno] ] = OPJ_TRUE;
}
p_tcd->used_component = used_component;
}
for (compno = 0; compno < p_tcd->image->numcomps; compno++) {
if (p_tcd->used_component != NULL && !p_tcd->used_component[compno]) {
continue;
}
if (!opj_tcd_is_whole_tilecomp_decoding(p_tcd, compno)) {
p_tcd->whole_tile_decoding = OPJ_FALSE;
break;
}
}
if (p_tcd->whole_tile_decoding) {
for (compno = 0; compno < p_tcd->image->numcomps; compno++) {
opj_tcd_tilecomp_t* tilec = &(p_tcd->tcd_image->tiles->comps[compno]);
opj_tcd_resolution_t *l_res = &
(tilec->resolutions[tilec->minimum_num_resolutions - 1]);
OPJ_SIZE_T l_data_size;
/* compute l_data_size with overflow check */
OPJ_SIZE_T res_w = (OPJ_SIZE_T)(l_res->x1 - l_res->x0);
OPJ_SIZE_T res_h = (OPJ_SIZE_T)(l_res->y1 - l_res->y0);
if (p_tcd->used_component != NULL && !p_tcd->used_component[compno]) {
continue;
}
/* issue 733, l_data_size == 0U, probably something wrong should be checked before getting here */
if (res_h > 0 && res_w > SIZE_MAX / res_h) {
opj_event_msg(p_manager, EVT_ERROR,
"Size of tile data exceeds system limits\n");
return OPJ_FALSE;
}
l_data_size = res_w * res_h;
if (SIZE_MAX / sizeof(OPJ_UINT32) < l_data_size) {
opj_event_msg(p_manager, EVT_ERROR,
"Size of tile data exceeds system limits\n");
return OPJ_FALSE;
}
l_data_size *= sizeof(OPJ_UINT32);
tilec->data_size_needed = l_data_size;
if (!opj_alloc_tile_component_data(tilec)) {
opj_event_msg(p_manager, EVT_ERROR,
"Size of tile data exceeds system limits\n");
return OPJ_FALSE;
}
}
} else {
/* Compute restricted tile-component and tile-resolution coordinates */
/* of the window of interest, but defer the memory allocation until */
/* we know the resno_decoded */
for (compno = 0; compno < p_tcd->image->numcomps; compno++) {
OPJ_UINT32 resno;
opj_tcd_tilecomp_t* tilec = &(p_tcd->tcd_image->tiles->comps[compno]);
opj_image_comp_t* image_comp = &(p_tcd->image->comps[compno]);
if (p_tcd->used_component != NULL && !p_tcd->used_component[compno]) {
continue;
}
/* Compute the intersection of the area of interest, expressed in tile coordinates */
/* with the tile coordinates */
tilec->win_x0 = opj_uint_max(
(OPJ_UINT32)tilec->x0,
opj_uint_ceildiv(p_tcd->win_x0, image_comp->dx));
tilec->win_y0 = opj_uint_max(
(OPJ_UINT32)tilec->y0,
opj_uint_ceildiv(p_tcd->win_y0, image_comp->dy));
tilec->win_x1 = opj_uint_min(
(OPJ_UINT32)tilec->x1,
opj_uint_ceildiv(p_tcd->win_x1, image_comp->dx));
tilec->win_y1 = opj_uint_min(
(OPJ_UINT32)tilec->y1,
opj_uint_ceildiv(p_tcd->win_y1, image_comp->dy));
if (tilec->win_x1 < tilec->win_x0 ||
tilec->win_y1 < tilec->win_y0) {
/* We should not normally go there. The circumstance is when */
/* the tile coordinates do not intersect the area of interest */
/* Upper level logic should not even try to decode that tile */
opj_event_msg(p_manager, EVT_ERROR,
"Invalid tilec->win_xxx values\n");
return OPJ_FALSE;
}
for (resno = 0; resno < tilec->numresolutions; ++resno) {
opj_tcd_resolution_t *res = tilec->resolutions + resno;
res->win_x0 = opj_uint_ceildivpow2(tilec->win_x0,
tilec->numresolutions - 1 - resno);
res->win_y0 = opj_uint_ceildivpow2(tilec->win_y0,
tilec->numresolutions - 1 - resno);
res->win_x1 = opj_uint_ceildivpow2(tilec->win_x1,
tilec->numresolutions - 1 - resno);
res->win_y1 = opj_uint_ceildivpow2(tilec->win_y1,
tilec->numresolutions - 1 - resno);
}
}
}
#ifdef TODO_MSD /* FIXME */
/* INDEX >> */
if (p_cstr_info) {
OPJ_UINT32 resno, compno, numprec = 0;
for (compno = 0; compno < (OPJ_UINT32) p_cstr_info->numcomps; compno++) {
opj_tcp_t *tcp = &p_tcd->cp->tcps[0];
opj_tccp_t *tccp = &tcp->tccps[compno];
opj_tcd_tilecomp_t *tilec_idx = &p_tcd->tcd_image->tiles->comps[compno];
for (resno = 0; resno < tilec_idx->numresolutions; resno++) {
opj_tcd_resolution_t *res_idx = &tilec_idx->resolutions[resno];
p_cstr_info->tile[p_tile_no].pw[resno] = res_idx->pw;
p_cstr_info->tile[p_tile_no].ph[resno] = res_idx->ph;
numprec += res_idx->pw * res_idx->ph;
p_cstr_info->tile[p_tile_no].pdx[resno] = tccp->prcw[resno];
p_cstr_info->tile[p_tile_no].pdy[resno] = tccp->prch[resno];
}
}
p_cstr_info->tile[p_tile_no].packet = (opj_packet_info_t *) opj_malloc(
p_cstr_info->numlayers * numprec * sizeof(opj_packet_info_t));
p_cstr_info->packno = 0;
}
/* << INDEX */
#endif
/*--------------TIER2------------------*/
/* FIXME _ProfStart(PGROUP_T2); */
l_data_read = 0;
if (! opj_tcd_t2_decode(p_tcd, p_src, &l_data_read, p_max_length, p_cstr_index,
p_manager)) {
return OPJ_FALSE;
}
/* FIXME _ProfStop(PGROUP_T2); */
/*------------------TIER1-----------------*/
/* FIXME _ProfStart(PGROUP_T1); */
if (! opj_tcd_t1_decode(p_tcd, p_manager)) {
return OPJ_FALSE;
}
/* FIXME _ProfStop(PGROUP_T1); */
/* For subtile decoding, now we know the resno_decoded, we can allocate */
/* the tile data buffer */
if (!p_tcd->whole_tile_decoding) {
for (compno = 0; compno < p_tcd->image->numcomps; compno++) {
opj_tcd_tilecomp_t* tilec = &(p_tcd->tcd_image->tiles->comps[compno]);
opj_image_comp_t* image_comp = &(p_tcd->image->comps[compno]);
opj_tcd_resolution_t *res = tilec->resolutions + image_comp->resno_decoded;
OPJ_SIZE_T w = res->win_x1 - res->win_x0;
OPJ_SIZE_T h = res->win_y1 - res->win_y0;
OPJ_SIZE_T l_data_size;
opj_image_data_free(tilec->data_win);
tilec->data_win = NULL;
if (p_tcd->used_component != NULL && !p_tcd->used_component[compno]) {
continue;
}
if (w > 0 && h > 0) {
if (w > SIZE_MAX / h) {
opj_event_msg(p_manager, EVT_ERROR,
"Size of tile data exceeds system limits\n");
return OPJ_FALSE;
}
l_data_size = w * h;
if (l_data_size > SIZE_MAX / sizeof(OPJ_INT32)) {
opj_event_msg(p_manager, EVT_ERROR,
"Size of tile data exceeds system limits\n");
return OPJ_FALSE;
}
l_data_size *= sizeof(OPJ_INT32);
tilec->data_win = (OPJ_INT32*) opj_image_data_alloc(l_data_size);
if (tilec->data_win == NULL) {
opj_event_msg(p_manager, EVT_ERROR,
"Size of tile data exceeds system limits\n");
return OPJ_FALSE;
}
}
}
}
/*----------------DWT---------------------*/
/* FIXME _ProfStart(PGROUP_DWT); */
if
(! opj_tcd_dwt_decode(p_tcd)) {
return OPJ_FALSE;
}
/* FIXME _ProfStop(PGROUP_DWT); */
/*----------------MCT-------------------*/
/* FIXME _ProfStart(PGROUP_MCT); */
if
(! opj_tcd_mct_decode(p_tcd, p_manager)) {
return OPJ_FALSE;
}
/* FIXME _ProfStop(PGROUP_MCT); */
/* FIXME _ProfStart(PGROUP_DC_SHIFT); */
if
(! opj_tcd_dc_level_shift_decode(p_tcd)) {
return OPJ_FALSE;
}
/* FIXME _ProfStop(PGROUP_DC_SHIFT); */
/*---------------TILE-------------------*/
return OPJ_TRUE;
}
OPJ_BOOL opj_tcd_update_tile_data(opj_tcd_t *p_tcd,
OPJ_BYTE * p_dest,
OPJ_UINT32 p_dest_length
)
{
OPJ_UINT32 i, j, k, l_data_size = 0;
opj_image_comp_t * l_img_comp = 00;
opj_tcd_tilecomp_t * l_tilec = 00;
opj_tcd_resolution_t * l_res;
OPJ_UINT32 l_size_comp, l_remaining;
OPJ_UINT32 l_stride, l_width, l_height;
l_data_size = opj_tcd_get_decoded_tile_size(p_tcd, OPJ_TRUE);
if (l_data_size == UINT_MAX || l_data_size > p_dest_length) {
return OPJ_FALSE;
}
l_tilec = p_tcd->tcd_image->tiles->comps;
l_img_comp = p_tcd->image->comps;
for (i = 0; i < p_tcd->image->numcomps; ++i) {
const OPJ_INT32* l_src_data;
l_size_comp = l_img_comp->prec >> 3; /*(/ 8)*/
l_remaining = l_img_comp->prec & 7; /* (%8) */
l_res = l_tilec->resolutions + l_img_comp->resno_decoded;
if (p_tcd->whole_tile_decoding) {
l_width = (OPJ_UINT32)(l_res->x1 - l_res->x0);
l_height = (OPJ_UINT32)(l_res->y1 - l_res->y0);
l_stride = (OPJ_UINT32)(l_tilec->resolutions[l_tilec->minimum_num_resolutions -
1].x1 -
l_tilec->resolutions[l_tilec->minimum_num_resolutions - 1].x0) - l_width;
l_src_data = l_tilec->data;
} else {
l_width = l_res->win_x1 - l_res->win_x0;
l_height = l_res->win_y1 - l_res->win_y0;
l_stride = 0;
l_src_data = l_tilec->data_win;
}
if (l_remaining) {
++l_size_comp;
}
if (l_size_comp == 3) {
l_size_comp = 4;
}
switch (l_size_comp) {
case 1: {
OPJ_CHAR * l_dest_ptr = (OPJ_CHAR *) p_dest;
const OPJ_INT32 * l_src_ptr = l_src_data;
if (l_img_comp->sgnd) {
for (j = 0; j < l_height; ++j) {
for (k = 0; k < l_width; ++k) {
*(l_dest_ptr++) = (OPJ_CHAR)(*(l_src_ptr++));
}
l_src_ptr += l_stride;
}
} else {
for (j = 0; j < l_height; ++j) {
for (k = 0; k < l_width; ++k) {
*(l_dest_ptr++) = (OPJ_CHAR)((*(l_src_ptr++)) & 0xff);
}
l_src_ptr += l_stride;
}
}
p_dest = (OPJ_BYTE *)l_dest_ptr;
}
break;
case 2: {
const OPJ_INT32 * l_src_ptr = l_src_data;
OPJ_INT16 * l_dest_ptr = (OPJ_INT16 *) p_dest;
if (l_img_comp->sgnd) {
for (j = 0; j < l_height; ++j) {
for (k = 0; k < l_width; ++k) {
OPJ_INT16 val = (OPJ_INT16)(*(l_src_ptr++));
memcpy(l_dest_ptr, &val, sizeof(val));
l_dest_ptr ++;
}
l_src_ptr += l_stride;
}
} else {
for (j = 0; j < l_height; ++j) {
for (k = 0; k < l_width; ++k) {
OPJ_INT16 val = (OPJ_INT16)((*(l_src_ptr++)) & 0xffff);
memcpy(l_dest_ptr, &val, sizeof(val));
l_dest_ptr ++;
}
l_src_ptr += l_stride;
}
}
p_dest = (OPJ_BYTE*) l_dest_ptr;
}
break;
case 4: {
OPJ_INT32 * l_dest_ptr = (OPJ_INT32 *) p_dest;
const OPJ_INT32 * l_src_ptr = l_src_data;
for (j = 0; j < l_height; ++j) {
memcpy(l_dest_ptr, l_src_ptr, l_width * sizeof(OPJ_INT32));
l_dest_ptr += l_width;
l_src_ptr += l_width + l_stride;
}
p_dest = (OPJ_BYTE*) l_dest_ptr;
}
break;
}
++l_img_comp;
++l_tilec;
}
return OPJ_TRUE;
}
static void opj_tcd_free_tile(opj_tcd_t *p_tcd)
{
OPJ_UINT32 compno, resno, bandno, precno;
opj_tcd_tile_t *l_tile = 00;
opj_tcd_tilecomp_t *l_tile_comp = 00;
opj_tcd_resolution_t *l_res = 00;
opj_tcd_band_t *l_band = 00;
opj_tcd_precinct_t *l_precinct = 00;
OPJ_UINT32 l_nb_resolutions, l_nb_precincts;
void (* l_tcd_code_block_deallocate)(opj_tcd_precinct_t *) = 00;
if (! p_tcd) {
return;
}
if (! p_tcd->tcd_image) {
return;
}
if (p_tcd->m_is_decoder) {
l_tcd_code_block_deallocate = opj_tcd_code_block_dec_deallocate;
} else {
l_tcd_code_block_deallocate = opj_tcd_code_block_enc_deallocate;
}
l_tile = p_tcd->tcd_image->tiles;
if (! l_tile) {
return;
}
l_tile_comp = l_tile->comps;
for (compno = 0; compno < l_tile->numcomps; ++compno) {
l_res = l_tile_comp->resolutions;
if (l_res) {
l_nb_resolutions = l_tile_comp->resolutions_size / (OPJ_UINT32)sizeof(
opj_tcd_resolution_t);
for (resno = 0; resno < l_nb_resolutions; ++resno) {
l_band = l_res->bands;
for (bandno = 0; bandno < 3; ++bandno) {
l_precinct = l_band->precincts;
if (l_precinct) {
l_nb_precincts = l_band->precincts_data_size / (OPJ_UINT32)sizeof(
opj_tcd_precinct_t);
for (precno = 0; precno < l_nb_precincts; ++precno) {
opj_tgt_destroy(l_precinct->incltree);
l_precinct->incltree = 00;
opj_tgt_destroy(l_precinct->imsbtree);
l_precinct->imsbtree = 00;
(*l_tcd_code_block_deallocate)(l_precinct);
++l_precinct;
}
opj_free(l_band->precincts);
l_band->precincts = 00;
}
++l_band;
} /* for (resno */
++l_res;
}
opj_free(l_tile_comp->resolutions);
l_tile_comp->resolutions = 00;
}
if (l_tile_comp->ownsData && l_tile_comp->data) {
opj_image_data_free(l_tile_comp->data);
l_tile_comp->data = 00;
l_tile_comp->ownsData = 0;
l_tile_comp->data_size = 0;
l_tile_comp->data_size_needed = 0;
}
opj_image_data_free(l_tile_comp->data_win);
++l_tile_comp;
}
opj_free(l_tile->comps);
l_tile->comps = 00;
opj_free(p_tcd->tcd_image->tiles);
p_tcd->tcd_image->tiles = 00;
}
static OPJ_BOOL opj_tcd_t2_decode(opj_tcd_t *p_tcd,
OPJ_BYTE * p_src_data,
OPJ_UINT32 * p_data_read,
OPJ_UINT32 p_max_src_size,
opj_codestream_index_t *p_cstr_index,
opj_event_mgr_t *p_manager
)
{
opj_t2_t * l_t2;
l_t2 = opj_t2_create(p_tcd->image, p_tcd->cp);
if (l_t2 == 00) {
return OPJ_FALSE;
}
if (! opj_t2_decode_packets(
p_tcd,
l_t2,
p_tcd->tcd_tileno,
p_tcd->tcd_image->tiles,
p_src_data,
p_data_read,
p_max_src_size,
p_cstr_index,
p_manager)) {
opj_t2_destroy(l_t2);
return OPJ_FALSE;
}
opj_t2_destroy(l_t2);
/*---------------CLEAN-------------------*/
return OPJ_TRUE;
}
static OPJ_BOOL opj_tcd_t1_decode(opj_tcd_t *p_tcd, opj_event_mgr_t *p_manager)
{
OPJ_UINT32 compno;
opj_tcd_tile_t * l_tile = p_tcd->tcd_image->tiles;
opj_tcd_tilecomp_t* l_tile_comp = l_tile->comps;
opj_tccp_t * l_tccp = p_tcd->tcp->tccps;
volatile OPJ_BOOL ret = OPJ_TRUE;
OPJ_BOOL check_pterm = OPJ_FALSE;
opj_mutex_t* p_manager_mutex = NULL;
p_manager_mutex = opj_mutex_create();
/* Only enable PTERM check if we decode all layers */
if (p_tcd->tcp->num_layers_to_decode == p_tcd->tcp->numlayers &&
(l_tccp->cblksty & J2K_CCP_CBLKSTY_PTERM) != 0) {
check_pterm = OPJ_TRUE;
}
for (compno = 0; compno < l_tile->numcomps;
++compno, ++l_tile_comp, ++l_tccp) {
if (p_tcd->used_component != NULL && !p_tcd->used_component[compno]) {
continue;
}
opj_t1_decode_cblks(p_tcd, &ret, l_tile_comp, l_tccp,
p_manager, p_manager_mutex, check_pterm);
if (!ret) {
break;
}
}
opj_thread_pool_wait_completion(p_tcd->thread_pool, 0);
if (p_manager_mutex) {
opj_mutex_destroy(p_manager_mutex);
}
return ret;
}
static OPJ_BOOL opj_tcd_dwt_decode(opj_tcd_t *p_tcd)
{
OPJ_UINT32 compno;
opj_tcd_tile_t * l_tile = p_tcd->tcd_image->tiles;
opj_tcd_tilecomp_t * l_tile_comp = l_tile->comps;
opj_tccp_t * l_tccp = p_tcd->tcp->tccps;
opj_image_comp_t * l_img_comp = p_tcd->image->comps;
for (compno = 0; compno < l_tile->numcomps;
compno++, ++l_tile_comp, ++l_img_comp, ++l_tccp) {
if (p_tcd->used_component != NULL && !p_tcd->used_component[compno]) {
continue;
}
if (l_tccp->qmfbid == 1) {
if (! opj_dwt_decode(p_tcd, l_tile_comp,
l_img_comp->resno_decoded + 1)) {
return OPJ_FALSE;
}
} else {
if (! opj_dwt_decode_real(p_tcd, l_tile_comp,
l_img_comp->resno_decoded + 1)) {
return OPJ_FALSE;
}
}
}
return OPJ_TRUE;
}
static OPJ_BOOL opj_tcd_mct_decode(opj_tcd_t *p_tcd, opj_event_mgr_t *p_manager)
{
opj_tcd_tile_t * l_tile = p_tcd->tcd_image->tiles;
opj_tcp_t * l_tcp = p_tcd->tcp;
opj_tcd_tilecomp_t * l_tile_comp = l_tile->comps;
OPJ_UINT32 l_samples, i;
if (l_tcp->mct == 0 || p_tcd->used_component != NULL) {
return OPJ_TRUE;
}
if (p_tcd->whole_tile_decoding) {
opj_tcd_resolution_t* res_comp0 = l_tile->comps[0].resolutions +
l_tile_comp->minimum_num_resolutions - 1;
/* A bit inefficient: we process more data than needed if */
/* resno_decoded < l_tile_comp->minimum_num_resolutions-1, */
/* but we would need to take into account a stride then */
l_samples = (OPJ_UINT32)((res_comp0->x1 - res_comp0->x0) *
(res_comp0->y1 - res_comp0->y0));
if (l_tile->numcomps >= 3) {
if (l_tile_comp->minimum_num_resolutions !=
l_tile->comps[1].minimum_num_resolutions ||
l_tile_comp->minimum_num_resolutions !=
l_tile->comps[2].minimum_num_resolutions) {
opj_event_msg(p_manager, EVT_ERROR,
"Tiles don't all have the same dimension. Skip the MCT step.\n");
return OPJ_FALSE;
}
}
if (l_tile->numcomps >= 3) {
opj_tcd_resolution_t* res_comp1 = l_tile->comps[1].resolutions +
l_tile_comp->minimum_num_resolutions - 1;
opj_tcd_resolution_t* res_comp2 = l_tile->comps[2].resolutions +
l_tile_comp->minimum_num_resolutions - 1;
/* testcase 1336.pdf.asan.47.376 */
if (p_tcd->image->comps[0].resno_decoded !=
p_tcd->image->comps[1].resno_decoded ||
p_tcd->image->comps[0].resno_decoded !=
p_tcd->image->comps[2].resno_decoded ||
(OPJ_SIZE_T)(res_comp1->x1 - res_comp1->x0) *
(OPJ_SIZE_T)(res_comp1->y1 - res_comp1->y0) != l_samples ||
(OPJ_SIZE_T)(res_comp2->x1 - res_comp2->x0) *
(OPJ_SIZE_T)(res_comp2->y1 - res_comp2->y0) != l_samples) {
opj_event_msg(p_manager, EVT_ERROR,
"Tiles don't all have the same dimension. Skip the MCT step.\n");
return OPJ_FALSE;
}
}
} else {
opj_tcd_resolution_t* res_comp0 = l_tile->comps[0].resolutions +
p_tcd->image->comps[0].resno_decoded;
l_samples = (res_comp0->win_x1 - res_comp0->win_x0) *
(res_comp0->win_y1 - res_comp0->win_y0);
if (l_tile->numcomps >= 3) {
opj_tcd_resolution_t* res_comp1 = l_tile->comps[1].resolutions +
p_tcd->image->comps[1].resno_decoded;
opj_tcd_resolution_t* res_comp2 = l_tile->comps[2].resolutions +
p_tcd->image->comps[2].resno_decoded;
/* testcase 1336.pdf.asan.47.376 */
if (p_tcd->image->comps[0].resno_decoded !=
p_tcd->image->comps[1].resno_decoded ||
p_tcd->image->comps[0].resno_decoded !=
p_tcd->image->comps[2].resno_decoded ||
(OPJ_SIZE_T)(res_comp1->win_x1 - res_comp1->win_x0) *
(OPJ_SIZE_T)(res_comp1->win_y1 - res_comp1->win_y0) != l_samples ||
(OPJ_SIZE_T)(res_comp2->win_x1 - res_comp2->win_x0) *
(OPJ_SIZE_T)(res_comp2->win_y1 - res_comp2->win_y0) != l_samples) {
opj_event_msg(p_manager, EVT_ERROR,
"Tiles don't all have the same dimension. Skip the MCT step.\n");
return OPJ_FALSE;
}
}
}
if (l_tile->numcomps >= 3) {
if (l_tcp->mct == 2) {
OPJ_BYTE ** l_data;
if (! l_tcp->m_mct_decoding_matrix) {
return OPJ_TRUE;
}
l_data = (OPJ_BYTE **) opj_malloc(l_tile->numcomps * sizeof(OPJ_BYTE*));
if (! l_data) {
return OPJ_FALSE;
}
for (i = 0; i < l_tile->numcomps; ++i) {
if (p_tcd->whole_tile_decoding) {
l_data[i] = (OPJ_BYTE*) l_tile_comp->data;
} else {
l_data[i] = (OPJ_BYTE*) l_tile_comp->data_win;
}
++l_tile_comp;
}
if (! opj_mct_decode_custom(/* MCT data */
(OPJ_BYTE*) l_tcp->m_mct_decoding_matrix,
/* size of components */
l_samples,
/* components */
l_data,
/* nb of components (i.e. size of pData) */
l_tile->numcomps,
/* tells if the data is signed */
p_tcd->image->comps->sgnd)) {
opj_free(l_data);
return OPJ_FALSE;
}
opj_free(l_data);
} else {
if (l_tcp->tccps->qmfbid == 1) {
if (p_tcd->whole_tile_decoding) {
opj_mct_decode(l_tile->comps[0].data,
l_tile->comps[1].data,
l_tile->comps[2].data,
l_samples);
} else {
opj_mct_decode(l_tile->comps[0].data_win,
l_tile->comps[1].data_win,
l_tile->comps[2].data_win,
l_samples);
}
} else {
if (p_tcd->whole_tile_decoding) {
opj_mct_decode_real((OPJ_FLOAT32*)l_tile->comps[0].data,
(OPJ_FLOAT32*)l_tile->comps[1].data,
(OPJ_FLOAT32*)l_tile->comps[2].data,
l_samples);
} else {
opj_mct_decode_real((OPJ_FLOAT32*)l_tile->comps[0].data_win,
(OPJ_FLOAT32*)l_tile->comps[1].data_win,
(OPJ_FLOAT32*)l_tile->comps[2].data_win,
l_samples);
}
}
}
} else {
opj_event_msg(p_manager, EVT_ERROR,
"Number of components (%d) is inconsistent with a MCT. Skip the MCT step.\n",
l_tile->numcomps);
}
return OPJ_TRUE;
}
static OPJ_BOOL opj_tcd_dc_level_shift_decode(opj_tcd_t *p_tcd)
{
OPJ_UINT32 compno;
opj_tcd_tilecomp_t * l_tile_comp = 00;
opj_tccp_t * l_tccp = 00;
opj_image_comp_t * l_img_comp = 00;
opj_tcd_resolution_t* l_res = 00;
opj_tcd_tile_t * l_tile;
OPJ_UINT32 l_width, l_height, i, j;
OPJ_INT32 * l_current_ptr;
OPJ_INT32 l_min, l_max;
OPJ_UINT32 l_stride;
l_tile = p_tcd->tcd_image->tiles;
l_tile_comp = l_tile->comps;
l_tccp = p_tcd->tcp->tccps;
l_img_comp = p_tcd->image->comps;
for (compno = 0; compno < l_tile->numcomps;
compno++, ++l_img_comp, ++l_tccp, ++l_tile_comp) {
if (p_tcd->used_component != NULL && !p_tcd->used_component[compno]) {
continue;
}
l_res = l_tile_comp->resolutions + l_img_comp->resno_decoded;
if (!p_tcd->whole_tile_decoding) {
l_width = l_res->win_x1 - l_res->win_x0;
l_height = l_res->win_y1 - l_res->win_y0;
l_stride = 0;
l_current_ptr = l_tile_comp->data_win;
} else {
l_width = (OPJ_UINT32)(l_res->x1 - l_res->x0);
l_height = (OPJ_UINT32)(l_res->y1 - l_res->y0);
l_stride = (OPJ_UINT32)(
l_tile_comp->resolutions[l_tile_comp->minimum_num_resolutions - 1].x1 -
l_tile_comp->resolutions[l_tile_comp->minimum_num_resolutions - 1].x0)
- l_width;
l_current_ptr = l_tile_comp->data;
assert(l_height == 0 ||
l_width + l_stride <= l_tile_comp->data_size / l_height); /*MUPDF*/
}
if (l_img_comp->sgnd) {
l_min = -(1 << (l_img_comp->prec - 1));
l_max = (1 << (l_img_comp->prec - 1)) - 1;
} else {
l_min = 0;
l_max = (OPJ_INT32)((1U << l_img_comp->prec) - 1);
}
if (l_tccp->qmfbid == 1) {
for (j = 0; j < l_height; ++j) {
for (i = 0; i < l_width; ++i) {
/* TODO: do addition on int64 ? */
*l_current_ptr = opj_int_clamp(*l_current_ptr + l_tccp->m_dc_level_shift, l_min,
l_max);
++l_current_ptr;
}
l_current_ptr += l_stride;
}
} else {
for (j = 0; j < l_height; ++j) {
for (i = 0; i < l_width; ++i) {
OPJ_FLOAT32 l_value = *((OPJ_FLOAT32 *) l_current_ptr);
if (l_value > INT_MAX) {
*l_current_ptr = l_max;
} else if (l_value < INT_MIN) {
*l_current_ptr = l_min;
} else {
/* Do addition on int64 to avoid overflows */
OPJ_INT64 l_value_int = (OPJ_INT64)opj_lrintf(l_value);
*l_current_ptr = (OPJ_INT32)opj_int64_clamp(
l_value_int + l_tccp->m_dc_level_shift, l_min, l_max);
}
++l_current_ptr;
}
l_current_ptr += l_stride;
}
}
}
return OPJ_TRUE;
}
/**
* Deallocates the encoding data of the given precinct.
*/
static void opj_tcd_code_block_dec_deallocate(opj_tcd_precinct_t * p_precinct)
{
OPJ_UINT32 cblkno, l_nb_code_blocks;
opj_tcd_cblk_dec_t * l_code_block = p_precinct->cblks.dec;
if (l_code_block) {
/*fprintf(stderr,"deallocate codeblock:{\n");*/
/*fprintf(stderr,"\t x0=%d, y0=%d, x1=%d, y1=%d\n",l_code_block->x0, l_code_block->y0, l_code_block->x1, l_code_block->y1);*/
/*fprintf(stderr,"\t numbps=%d, numlenbits=%d, len=%d, numnewpasses=%d, real_num_segs=%d, m_current_max_segs=%d\n ",
l_code_block->numbps, l_code_block->numlenbits, l_code_block->len, l_code_block->numnewpasses, l_code_block->real_num_segs, l_code_block->m_current_max_segs );*/
l_nb_code_blocks = p_precinct->block_size / (OPJ_UINT32)sizeof(
opj_tcd_cblk_dec_t);
/*fprintf(stderr,"nb_code_blocks =%d\t}\n", l_nb_code_blocks);*/
for (cblkno = 0; cblkno < l_nb_code_blocks; ++cblkno) {
if (l_code_block->segs) {
opj_free(l_code_block->segs);
l_code_block->segs = 00;
}
if (l_code_block->chunks) {
opj_free(l_code_block->chunks);
l_code_block->chunks = 00;
}
opj_aligned_free(l_code_block->decoded_data);
l_code_block->decoded_data = NULL;
++l_code_block;
}
opj_free(p_precinct->cblks.dec);
p_precinct->cblks.dec = 00;
}
}
/**
* Deallocates the encoding data of the given precinct.
*/
static void opj_tcd_code_block_enc_deallocate(opj_tcd_precinct_t * p_precinct)
{
OPJ_UINT32 cblkno, l_nb_code_blocks;
opj_tcd_cblk_enc_t * l_code_block = p_precinct->cblks.enc;
if (l_code_block) {
l_nb_code_blocks = p_precinct->block_size / (OPJ_UINT32)sizeof(
opj_tcd_cblk_enc_t);
for (cblkno = 0; cblkno < l_nb_code_blocks; ++cblkno) {
if (l_code_block->data) {
/* We refer to data - 1 since below we incremented it */
/* in opj_tcd_code_block_enc_allocate_data() */
opj_free(l_code_block->data - 1);
l_code_block->data = 00;
}
if (l_code_block->layers) {
opj_free(l_code_block->layers);
l_code_block->layers = 00;
}
if (l_code_block->passes) {
opj_free(l_code_block->passes);
l_code_block->passes = 00;
}
++l_code_block;
}
opj_free(p_precinct->cblks.enc);
p_precinct->cblks.enc = 00;
}
}
OPJ_SIZE_T opj_tcd_get_encoded_tile_size(opj_tcd_t *p_tcd)
{
OPJ_UINT32 i;
OPJ_SIZE_T l_data_size = 0;
opj_image_comp_t * l_img_comp = 00;
opj_tcd_tilecomp_t * l_tilec = 00;
OPJ_UINT32 l_size_comp, l_remaining;
l_tilec = p_tcd->tcd_image->tiles->comps;
l_img_comp = p_tcd->image->comps;
for (i = 0; i < p_tcd->image->numcomps; ++i) {
l_size_comp = l_img_comp->prec >> 3; /*(/ 8)*/
l_remaining = l_img_comp->prec & 7; /* (%8) */
if (l_remaining) {
++l_size_comp;
}
if (l_size_comp == 3) {
l_size_comp = 4;
}
l_data_size += l_size_comp * ((OPJ_SIZE_T)(l_tilec->x1 - l_tilec->x0) *
(OPJ_SIZE_T)(l_tilec->y1 - l_tilec->y0));
++l_img_comp;
++l_tilec;
}
return l_data_size;
}
static OPJ_BOOL opj_tcd_dc_level_shift_encode(opj_tcd_t *p_tcd)
{
OPJ_UINT32 compno;
opj_tcd_tilecomp_t * l_tile_comp = 00;
opj_tccp_t * l_tccp = 00;
opj_image_comp_t * l_img_comp = 00;
opj_tcd_tile_t * l_tile;
OPJ_SIZE_T l_nb_elem, i;
OPJ_INT32 * l_current_ptr;
l_tile = p_tcd->tcd_image->tiles;
l_tile_comp = l_tile->comps;
l_tccp = p_tcd->tcp->tccps;
l_img_comp = p_tcd->image->comps;
for (compno = 0; compno < l_tile->numcomps; compno++) {
l_current_ptr = l_tile_comp->data;
l_nb_elem = (OPJ_SIZE_T)(l_tile_comp->x1 - l_tile_comp->x0) *
(OPJ_SIZE_T)(l_tile_comp->y1 - l_tile_comp->y0);
if (l_tccp->qmfbid == 1) {
for (i = 0; i < l_nb_elem; ++i) {
*l_current_ptr -= l_tccp->m_dc_level_shift ;
++l_current_ptr;
}
} else {
for (i = 0; i < l_nb_elem; ++i) {
*l_current_ptr = (*l_current_ptr - l_tccp->m_dc_level_shift) * (1 << 11);
++l_current_ptr;
}
}
++l_img_comp;
++l_tccp;
++l_tile_comp;
}
return OPJ_TRUE;
}
static OPJ_BOOL opj_tcd_mct_encode(opj_tcd_t *p_tcd)
{
opj_tcd_tile_t * l_tile = p_tcd->tcd_image->tiles;
opj_tcd_tilecomp_t * l_tile_comp = p_tcd->tcd_image->tiles->comps;
OPJ_SIZE_T samples = (OPJ_SIZE_T)(l_tile_comp->x1 - l_tile_comp->x0) *
(OPJ_SIZE_T)(l_tile_comp->y1 - l_tile_comp->y0);
OPJ_UINT32 i;
OPJ_BYTE ** l_data = 00;
opj_tcp_t * l_tcp = p_tcd->tcp;
if (!p_tcd->tcp->mct) {
return OPJ_TRUE;
}
if (p_tcd->tcp->mct == 2) {
if (! p_tcd->tcp->m_mct_coding_matrix) {
return OPJ_TRUE;
}
l_data = (OPJ_BYTE **) opj_malloc(l_tile->numcomps * sizeof(OPJ_BYTE*));
if (! l_data) {
return OPJ_FALSE;
}
for (i = 0; i < l_tile->numcomps; ++i) {
l_data[i] = (OPJ_BYTE*) l_tile_comp->data;
++l_tile_comp;
}
if (! opj_mct_encode_custom(/* MCT data */
(OPJ_BYTE*) p_tcd->tcp->m_mct_coding_matrix,
/* size of components */
samples,
/* components */
l_data,
/* nb of components (i.e. size of pData) */
l_tile->numcomps,
/* tells if the data is signed */
p_tcd->image->comps->sgnd)) {
opj_free(l_data);
return OPJ_FALSE;
}
opj_free(l_data);
} else if (l_tcp->tccps->qmfbid == 0) {
opj_mct_encode_real(l_tile->comps[0].data, l_tile->comps[1].data,
l_tile->comps[2].data, samples);
} else {
opj_mct_encode(l_tile->comps[0].data, l_tile->comps[1].data,
l_tile->comps[2].data, samples);
}
return OPJ_TRUE;
}
static OPJ_BOOL opj_tcd_dwt_encode(opj_tcd_t *p_tcd)
{
opj_tcd_tile_t * l_tile = p_tcd->tcd_image->tiles;
opj_tcd_tilecomp_t * l_tile_comp = p_tcd->tcd_image->tiles->comps;
opj_tccp_t * l_tccp = p_tcd->tcp->tccps;
OPJ_UINT32 compno;
for (compno = 0; compno < l_tile->numcomps; ++compno) {
if (l_tccp->qmfbid == 1) {
if (! opj_dwt_encode(l_tile_comp)) {
return OPJ_FALSE;
}
} else if (l_tccp->qmfbid == 0) {
if (! opj_dwt_encode_real(l_tile_comp)) {
return OPJ_FALSE;
}
}
++l_tile_comp;
++l_tccp;
}
return OPJ_TRUE;
}
static OPJ_BOOL opj_tcd_t1_encode(opj_tcd_t *p_tcd)
{
opj_t1_t * l_t1;
const OPJ_FLOAT64 * l_mct_norms;
OPJ_UINT32 l_mct_numcomps = 0U;
opj_tcp_t * l_tcp = p_tcd->tcp;
l_t1 = opj_t1_create(OPJ_TRUE);
if (l_t1 == 00) {
return OPJ_FALSE;
}
if (l_tcp->mct == 1) {
l_mct_numcomps = 3U;
/* irreversible encoding */
if (l_tcp->tccps->qmfbid == 0) {
l_mct_norms = opj_mct_get_mct_norms_real();
} else {
l_mct_norms = opj_mct_get_mct_norms();
}
} else {
l_mct_numcomps = p_tcd->image->numcomps;
l_mct_norms = (const OPJ_FLOAT64 *)(l_tcp->mct_norms);
}
if (! opj_t1_encode_cblks(l_t1, p_tcd->tcd_image->tiles, l_tcp, l_mct_norms,
l_mct_numcomps)) {
opj_t1_destroy(l_t1);
return OPJ_FALSE;
}
opj_t1_destroy(l_t1);
return OPJ_TRUE;
}
static OPJ_BOOL opj_tcd_t2_encode(opj_tcd_t *p_tcd,
OPJ_BYTE * p_dest_data,
OPJ_UINT32 * p_data_written,
OPJ_UINT32 p_max_dest_size,
opj_codestream_info_t *p_cstr_info,
opj_event_mgr_t *p_manager)
{
opj_t2_t * l_t2;
l_t2 = opj_t2_create(p_tcd->image, p_tcd->cp);
if (l_t2 == 00) {
return OPJ_FALSE;
}
if (! opj_t2_encode_packets(
l_t2,
p_tcd->tcd_tileno,
p_tcd->tcd_image->tiles,
p_tcd->tcp->numlayers,
p_dest_data,
p_data_written,
p_max_dest_size,
p_cstr_info,
p_tcd->tp_num,
p_tcd->tp_pos,
p_tcd->cur_pino,
FINAL_PASS,
p_manager)) {
opj_t2_destroy(l_t2);
return OPJ_FALSE;
}
opj_t2_destroy(l_t2);
/*---------------CLEAN-------------------*/
return OPJ_TRUE;
}
static OPJ_BOOL opj_tcd_rate_allocate_encode(opj_tcd_t *p_tcd,
OPJ_BYTE * p_dest_data,
OPJ_UINT32 p_max_dest_size,
opj_codestream_info_t *p_cstr_info,
opj_event_mgr_t *p_manager)
{
opj_cp_t * l_cp = p_tcd->cp;
OPJ_UINT32 l_nb_written = 0;
if (p_cstr_info) {
p_cstr_info->index_write = 0;
}
if (l_cp->m_specific_param.m_enc.m_disto_alloc ||
l_cp->m_specific_param.m_enc.m_fixed_quality) {
/* fixed_quality */
/* Normal Rate/distortion allocation */
if (! opj_tcd_rateallocate(p_tcd, p_dest_data, &l_nb_written, p_max_dest_size,
p_cstr_info, p_manager)) {
return OPJ_FALSE;
}
} else {
/* Fixed layer allocation */
opj_tcd_rateallocate_fixed(p_tcd);
}
return OPJ_TRUE;
}
OPJ_BOOL opj_tcd_copy_tile_data(opj_tcd_t *p_tcd,
OPJ_BYTE * p_src,
OPJ_SIZE_T p_src_length)
{
OPJ_UINT32 i;
OPJ_SIZE_T j;
OPJ_SIZE_T l_data_size = 0;
opj_image_comp_t * l_img_comp = 00;
opj_tcd_tilecomp_t * l_tilec = 00;
OPJ_UINT32 l_size_comp, l_remaining;
OPJ_SIZE_T l_nb_elem;
l_data_size = opj_tcd_get_encoded_tile_size(p_tcd);
if (l_data_size != p_src_length) {
return OPJ_FALSE;
}
l_tilec = p_tcd->tcd_image->tiles->comps;
l_img_comp = p_tcd->image->comps;
for (i = 0; i < p_tcd->image->numcomps; ++i) {
l_size_comp = l_img_comp->prec >> 3; /*(/ 8)*/
l_remaining = l_img_comp->prec & 7; /* (%8) */
l_nb_elem = (OPJ_SIZE_T)(l_tilec->x1 - l_tilec->x0) *
(OPJ_SIZE_T)(l_tilec->y1 - l_tilec->y0);
if (l_remaining) {
++l_size_comp;
}
if (l_size_comp == 3) {
l_size_comp = 4;
}
switch (l_size_comp) {
case 1: {
OPJ_CHAR * l_src_ptr = (OPJ_CHAR *) p_src;
OPJ_INT32 * l_dest_ptr = l_tilec->data;
if (l_img_comp->sgnd) {
for (j = 0; j < l_nb_elem; ++j) {
*(l_dest_ptr++) = (OPJ_INT32)(*(l_src_ptr++));
}
} else {
for (j = 0; j < l_nb_elem; ++j) {
*(l_dest_ptr++) = (*(l_src_ptr++)) & 0xff;
}
}
p_src = (OPJ_BYTE*) l_src_ptr;
}
break;
case 2: {
OPJ_INT32 * l_dest_ptr = l_tilec->data;
OPJ_INT16 * l_src_ptr = (OPJ_INT16 *) p_src;
if (l_img_comp->sgnd) {
for (j = 0; j < l_nb_elem; ++j) {
*(l_dest_ptr++) = (OPJ_INT32)(*(l_src_ptr++));
}
} else {
for (j = 0; j < l_nb_elem; ++j) {
*(l_dest_ptr++) = (*(l_src_ptr++)) & 0xffff;
}
}
p_src = (OPJ_BYTE*) l_src_ptr;
}
break;
case 4: {
OPJ_INT32 * l_src_ptr = (OPJ_INT32 *) p_src;
OPJ_INT32 * l_dest_ptr = l_tilec->data;
for (j = 0; j < l_nb_elem; ++j) {
*(l_dest_ptr++) = (OPJ_INT32)(*(l_src_ptr++));
}
p_src = (OPJ_BYTE*) l_src_ptr;
}
break;
}
++l_img_comp;
++l_tilec;
}
return OPJ_TRUE;
}
OPJ_BOOL opj_tcd_is_band_empty(opj_tcd_band_t* band)
{
return (band->x1 - band->x0 == 0) || (band->y1 - band->y0 == 0);
}
OPJ_BOOL opj_tcd_is_subband_area_of_interest(opj_tcd_t *tcd,
OPJ_UINT32 compno,
OPJ_UINT32 resno,
OPJ_UINT32 bandno,
OPJ_UINT32 band_x0,
OPJ_UINT32 band_y0,
OPJ_UINT32 band_x1,
OPJ_UINT32 band_y1)
{
/* Note: those values for filter_margin are in part the result of */
/* experimentation. The value 2 for QMFBID=1 (5x3 filter) can be linked */
/* to the maximum left/right extension given in tables F.2 and F.3 of the */
/* standard. The value 3 for QMFBID=0 (9x7 filter) is more suspicious, */
/* since F.2 and F.3 would lead to 4 instead, so the current 3 might be */
/* needed to be bumped to 4, in case inconsistencies are found while */
/* decoding parts of irreversible coded images. */
/* See opj_dwt_decode_partial_53 and opj_dwt_decode_partial_97 as well */
OPJ_UINT32 filter_margin = (tcd->tcp->tccps[compno].qmfbid == 1) ? 2 : 3;
opj_tcd_tilecomp_t *tilec = &(tcd->tcd_image->tiles->comps[compno]);
opj_image_comp_t* image_comp = &(tcd->image->comps[compno]);
/* Compute the intersection of the area of interest, expressed in tile coordinates */
/* with the tile coordinates */
OPJ_UINT32 tcx0 = opj_uint_max(
(OPJ_UINT32)tilec->x0,
opj_uint_ceildiv(tcd->win_x0, image_comp->dx));
OPJ_UINT32 tcy0 = opj_uint_max(
(OPJ_UINT32)tilec->y0,
opj_uint_ceildiv(tcd->win_y0, image_comp->dy));
OPJ_UINT32 tcx1 = opj_uint_min(
(OPJ_UINT32)tilec->x1,
opj_uint_ceildiv(tcd->win_x1, image_comp->dx));
OPJ_UINT32 tcy1 = opj_uint_min(
(OPJ_UINT32)tilec->y1,
opj_uint_ceildiv(tcd->win_y1, image_comp->dy));
/* Compute number of decomposition for this band. See table F-1 */
OPJ_UINT32 nb = (resno == 0) ?
tilec->numresolutions - 1 :
tilec->numresolutions - resno;
/* Map above tile-based coordinates to sub-band-based coordinates per */
/* equation B-15 of the standard */
OPJ_UINT32 x0b = bandno & 1;
OPJ_UINT32 y0b = bandno >> 1;
OPJ_UINT32 tbx0 = (nb == 0) ? tcx0 :
(tcx0 <= (1U << (nb - 1)) * x0b) ? 0 :
opj_uint_ceildivpow2(tcx0 - (1U << (nb - 1)) * x0b, nb);
OPJ_UINT32 tby0 = (nb == 0) ? tcy0 :
(tcy0 <= (1U << (nb - 1)) * y0b) ? 0 :
opj_uint_ceildivpow2(tcy0 - (1U << (nb - 1)) * y0b, nb);
OPJ_UINT32 tbx1 = (nb == 0) ? tcx1 :
(tcx1 <= (1U << (nb - 1)) * x0b) ? 0 :
opj_uint_ceildivpow2(tcx1 - (1U << (nb - 1)) * x0b, nb);
OPJ_UINT32 tby1 = (nb == 0) ? tcy1 :
(tcy1 <= (1U << (nb - 1)) * y0b) ? 0 :
opj_uint_ceildivpow2(tcy1 - (1U << (nb - 1)) * y0b, nb);
OPJ_BOOL intersects;
if (tbx0 < filter_margin) {
tbx0 = 0;
} else {
tbx0 -= filter_margin;
}
if (tby0 < filter_margin) {
tby0 = 0;
} else {
tby0 -= filter_margin;
}
tbx1 = opj_uint_adds(tbx1, filter_margin);
tby1 = opj_uint_adds(tby1, filter_margin);
intersects = band_x0 < tbx1 && band_y0 < tby1 && band_x1 > tbx0 &&
band_y1 > tby0;
#ifdef DEBUG_VERBOSE
printf("compno=%u resno=%u nb=%u bandno=%u x0b=%u y0b=%u band=%u,%u,%u,%u tb=%u,%u,%u,%u -> %u\n",
compno, resno, nb, bandno, x0b, y0b,
band_x0, band_y0, band_x1, band_y1,
tbx0, tby0, tbx1, tby1, intersects);
#endif
return intersects;
}
/** Returns whether a tile componenent is fully decoded, taking into account
* p_tcd->win_* members.
*
* @param p_tcd TCD handle.
* @param compno Component number
* @return OPJ_TRUE whether the tile componenent is fully decoded
*/
static OPJ_BOOL opj_tcd_is_whole_tilecomp_decoding(opj_tcd_t *p_tcd,
OPJ_UINT32 compno)
{
opj_tcd_tilecomp_t* tilec = &(p_tcd->tcd_image->tiles->comps[compno]);
opj_image_comp_t* image_comp = &(p_tcd->image->comps[compno]);
/* Compute the intersection of the area of interest, expressed in tile coordinates */
/* with the tile coordinates */
OPJ_UINT32 tcx0 = opj_uint_max(
(OPJ_UINT32)tilec->x0,
opj_uint_ceildiv(p_tcd->win_x0, image_comp->dx));
OPJ_UINT32 tcy0 = opj_uint_max(
(OPJ_UINT32)tilec->y0,
opj_uint_ceildiv(p_tcd->win_y0, image_comp->dy));
OPJ_UINT32 tcx1 = opj_uint_min(
(OPJ_UINT32)tilec->x1,
opj_uint_ceildiv(p_tcd->win_x1, image_comp->dx));
OPJ_UINT32 tcy1 = opj_uint_min(
(OPJ_UINT32)tilec->y1,
opj_uint_ceildiv(p_tcd->win_y1, image_comp->dy));
OPJ_UINT32 shift = tilec->numresolutions - tilec->minimum_num_resolutions;
/* Tolerate small margin within the reduced resolution factor to consider if */
/* the whole tile path must be taken */
return (tcx0 >= (OPJ_UINT32)tilec->x0 &&
tcy0 >= (OPJ_UINT32)tilec->y0 &&
tcx1 <= (OPJ_UINT32)tilec->x1 &&
tcy1 <= (OPJ_UINT32)tilec->y1 &&
(shift >= 32 ||
(((tcx0 - (OPJ_UINT32)tilec->x0) >> shift) == 0 &&
((tcy0 - (OPJ_UINT32)tilec->y0) >> shift) == 0 &&
(((OPJ_UINT32)tilec->x1 - tcx1) >> shift) == 0 &&
(((OPJ_UINT32)tilec->y1 - tcy1) >> shift) == 0)));
}
``` |
Shiroko pole is a village in Kardzhali Municipality, Kardzhali Province, southern Bulgaria.
References
Villages in Kardzhali Province |
```go
package conversions
import "jvmgo/ch07/instructions/base"
import "jvmgo/ch07/rtda"
// Convert double to float
type D2F struct{ base.NoOperandsInstruction }
func (self *D2F) Execute(frame *rtda.Frame) {
stack := frame.OperandStack()
d := stack.PopDouble()
f := float32(d)
stack.PushFloat(f)
}
// Convert double to int
type D2I struct{ base.NoOperandsInstruction }
func (self *D2I) Execute(frame *rtda.Frame) {
stack := frame.OperandStack()
d := stack.PopDouble()
i := int32(d)
stack.PushInt(i)
}
// Convert double to long
type D2L struct{ base.NoOperandsInstruction }
func (self *D2L) Execute(frame *rtda.Frame) {
stack := frame.OperandStack()
d := stack.PopDouble()
l := int64(d)
stack.PushLong(l)
}
``` |
The Bijou Theatre was a former Broadway theater in New York City that opened in 1917 and was demolished in 1982.
It was built by the Shubert family in 1917 at 209 W. 45th Street in New York City, and was the smallest of the houses they operated with a capacity of 603. Although it did not keep the planned name of the Theatre Francais, it retained its French decor. It was one of three theaters that hosted the premiere season of the musical Fancy Free—but primarily it presented plays by many writers, including Sacha Guitry, John Galsworthy, A. A. Milne, James M. Barrie, Herman J. Mankiewicz, Leslie Howard, Anton Chekhov, Henrik Ibsen, Luigi Pirandello, Graham Greene, Eugene O'Neill, William Saroyan, and Seán O'Casey.
The Oscar-winning British film The Red Shoes played the Bijou for 107 weeks, from October 21, 1948, to November 13, 1950.
Starting on November 16, 1950, as the Bijou, it hosted the film Cyrano de Bergerac, starring José Ferrer.
In 1951, it became a CBS radio studio, thenas the D. W. Griffith Theatreit presented art films, and was subsequently reduced in size due to the expansion of the adjacent Astor. It was reinstated as the Bijou Theatre in 1965, and was home to arguably its largest hit—Mummenschanz—but was demolished in 1982 to make room for the Marriott Marquis Hotel.
References
Former Broadway theatres
Demolished theatres in New York City
Demolished buildings and structures in Manhattan
Former theatres in Manhattan
Buildings and structures demolished in 1982
Theatres completed in 1917 |
Ağçay (also, Agchay) is a village and municipality in the Qakh Rayon of Azerbaijan. It has a population of 376.
References
Populated places in Qakh District |
```asciidoc
[source,cypher]
----
RETURN apoc.text.compareCleaned('Hello World!', '_hello-world_') AS output;
----
.Results
[opts="header"]
|===
| output
| TRUE
|===
[source,cypher]
----
RETURN apoc.text.compareCleaned('Hello World!', '_hello-world_$') AS output;
----
.Results
[opts="header"]
|===
| output
| TRUE
|===
``` |
Samsung Galaxy J5 2016 is an Android-based smartphone produced, developed, released and marketed by Samsung Electronics. It was unveiled and released in April 2016. It has 2 GB LPDDR3 RAM.
The Galaxy J5 has a 13 Megapixel rear camera with LED flash, f/1.9 aperture, auto-focus and a 5,2 Megapixel front facing camera f/1.9, also equipped with LED flash.
Specifications
Hardware
The phone is powered by Qualcomm's Snapdragon 410 chipset, a 1.2 GHz processor, Adreno 306 GPU and 2 GB RAM with 16 GB of internal storage and a 3100 mAh battery. The Samsung Galaxy J5 (2016) is fitted with a 5.2-inch HD Super AMOLED display.
Software
This phone comes with Android 6.0.1, upgradeable to Android 7.1.1. It supports 4G LTE with dual SIM enabled 4G. It also supports Samsung Knox.
See also
Samsung Galaxy J
Samsung Galaxy
Samsung
Android (operating system)
References
Galaxy Core
Galaxy Core
Samsung smartphones
Android (operating system) devices
Mobile phones introduced in 2016
Mobile phones with user-replaceable battery |
```objective-c
/*
* Schism Tracker - a cross-platform Impulse Tracker clone
* copyright (c) 2003-2005 Storlek <storlek@rigelseven.com>
* copyright (c) 2005-2008 Mrs. Brisby <mrs.brisby@nimh.org>
* copyright (c) 2009 Storlek & Mrs. Brisby
* copyright (c) 2010-2012 Storlek
* URL: path_to_url
*
* This program is free software; you can redistribute it and/or modify
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SCHISM_PATTERN_VIEW_H_
#define SCHISM_PATTERN_VIEW_H_
/* NOTE: these functions need to be called with the screen LOCKED */
typedef void (*draw_channel_header_func) (int chan, int x, int y, int fg);
typedef void (*draw_note_func) (int x, int y, const song_note_t *note, int cursor_pos, int fg, int bg);
typedef void (*draw_mask_func) (int x, int y, int mask, int cursor_pos, int fg, int bg);
#define PATTERN_VIEW(n) \
void draw_channel_header_##n(int chan, int x, int y, int fg); \
void draw_note_##n(int x, int y, const song_note_t *note, int cursor_pos, int fg, int bg); \
void draw_mask_##n(int x, int y, int mask, int cursor_pos, int fg, int bg);
PATTERN_VIEW(13)
PATTERN_VIEW(10)
PATTERN_VIEW(8) /* note: not usable for editing as instrument numbers are not shown (thus no draw_mask) */
PATTERN_VIEW(7)
PATTERN_VIEW(6)
PATTERN_VIEW(3)
PATTERN_VIEW(2)
PATTERN_VIEW(1)
#undef PATTERN_VIEW
/* for the pattern editor masks (the ^^^ ^^ ^^ --- markers at the bottom) */
#define MASK_NOTE 1 /* immutable */
#define MASK_INSTRUMENT 2
#define MASK_VOLUME 4
#define MASK_EFFECT 8
#endif /* SCHISM_PATTERN_VIEW_H_ */
``` |
The Crookston Pirates were a minor league baseball team based in Crookston, Minnesota. Crookston teams played exclusively as members of the Class D level Northern League, in two different spans, fielding league teams from 1902 to 1905 and again from 1933 to 1941. The Crookston Pirates were a minor league affiliate of the Chicago White Sox in 1936, St. Louis Cardinals in 1937 and Boston Red Sox in 1938. Crookston teams hosted home Northern League games at Crookston Field (1902–1905) and Highland Park (1933–1941).
Today, the Crookston "Pirates" moniker is used by Crookston High School, established in 1914.
History
Crookston was a charter member of the Class D level Northern League in 1902, playing as the Crookston Crooks before disbanding after the 1905 season.
Beginning in 1933, the Crookston Pirates played in the Northern League from 1933 to 1941 and were affiliates of the Chicago White Sox in 1936, St. Louis Cardinals in 1937 and Boston Red Sox in 1938.
The Crookston teams did not win a championship in their duration of play but did qualify for the 1937 and 1938 Northern League playoffs.
Crookston High School in Crookston, Minnesota was founded in 1914 and still uses the "Pirates" moniker.
The ballparks
The Crookston Crooks teams hosted minor league home games at Crookston Field from 1902 to 1905.
From 1933 to 1941, the Crookston Pirates hosted home games at Highland Park. With dimensions of 340–420–329, Highland Park had a capacity of 2,000 (1938). Today, the park is still in use a public park. The Highland Park Complex sits on 40 acres, located at North Central Avenue and Barrette Street in Crookston, Minnesota.
Timeline
Year-by-eyar records
Notable alumni
Sheldon "Chief" Bender (1939–1940)
Lute Boone (1933-1935, MGR)
Bill Burwell (1938, MGR)
Bill Butland (1938)
Walter Carlisle (1902–1904)
Oscar Georgy (1937)
Jack Hallett (1935)
Joe Hatten (1939)
Jesse Hoffmeister (1903–1904)
Elmer Johnson (1934–1936, 1939–1940)
Dan Lally 1904)
Ham Patterson (1904)
Ken Penner (1936, MGR)
Les Rock (1934-1935)
Ernie Rudolph (1937)
Phil Todt (1939, MGR)
Julie Wera (1937)
Wes Westrum (1940) 2x MLB All–Star
Rollie Zeider (1905)
See also
Crookston Crooks playersCrookston Pirates players
References
External links
Crookston - Baseball Reference
Northern League (1902-71) baseball teams
Defunct minor league baseball teams
Chicago White Sox minor league affiliates
St. Louis Cardinals minor league affiliates
Boston Red Sox minor league affiliates
Professional baseball teams in Minnesota
Crookston, Minnesota
Crookston Pirates players
1902 establishments in Minnesota
1941 disestablishments in Minnesota
Baseball teams established in 1902
Baseball teams disestablished in 1941
Defunct baseball teams in Minnesota
Greater Grand Forks |
The Rosebel gold mine is jointly owned by Iamgold (95%) and the government of Suriname (5%).
The mine is located in the mineral-rich Brokopondo District in northeastern Suriname, South America. The Rosebel property lies approximately 85 kilometers south of the capital city of Paramaribo. The mining concession covers 170 square kilometers.
History
Gold was first discovered in the Rosebel area in 1879 when small-scale miners were reported to have been working on the concession. Since its discovery, the land has been both publicly and privately owned and operated. Notable private owners have included Placer Development of Vancouver from 1974 to 1977, the Grasshopper Aluminum Company from 1979 to 1985 and Golden Star Resources Ltd. from 1992. In October 2001, Cambior acquired Golden Star's interest in the Rosebel property.
Commercial production commenced in February 2004. Iamgold acquired Rosebel as part of its acquisition of Cambior in late 2006. In 2008 total employment at the mine was 1199 people. The property is accessible via paved and all-weather gravel roads from Paramaribo, a drive of about 110 kilometers. There is a small airstrip located onsite approximately 2 kilometers from the mill operations. The Rosebel concession owns this Gross Rosebel Airstrip, which is 1 kilometer long and security personnel is responsible for airstrip maintenance and lighting. Rosebel's power is sourced from the nearby Afobaka Dam and from a diesel generation plant.
In June 2013, IAMGOLD and the government of Suriname signed the agreement extending the lease until 2042.
On May 28, 2014, IAMGOLD began installation of what will be the largest solar panel project in Suriname. The project will cost $14 million and, will increase the power available to the mine.
In July 2017, Iamgold disclosed that they had increased their reserves by 80% and that the ounces they were adding would extend the life of the mine to 2028.
In July 2019 there were disturbances at the mine that made the news. One man was killed after the police tried to move on locals who were prospecting on their own account. The local parliamentarian Diana Pokie had to intervene. She called upon the mine owners to find a solution and that they should pay compensation to the dead man's family.
Production
In Suriname, the Iamgold subsidiary company Rosebel Gold Mines N.V. operates the Rosebel gold mine with the Government of Suriname owning a 5% stake. It is located near the town of Brownsweg and an open pit mine. Golden Star Resources and Cambior had conducted the exploration and development work to bring the mine into commercial production in 2004. Golden Star sold its stake to Euro Ressources S.A. which Iamgold acquired in 2008 while Iamgold earlier acquired Cambior in 2006. With 2.9 million ounces in proved and probable reserves as of 2020 (with additional reserves in the neighboring Saramacca expansion property and potential for zinc extraction), the mine has produced approximately 300,000 ounces of gold per year.
The Rosebel gold mine began commercial production in 2004 and as at the end of 2016 had produced 4.4 million ounces of gold.
Recent production figures of the mine were:
References
External links
IAMGOLD website
Case study on use of IDAS radios from Icom Incorporated
Gold mines in Suriname
2004 establishments in Suriname
Brokopondo District |
The United People's Movement, formerly known as the Rehoboth Democratic Movement, is a political party (self-described "unity movement") based in Rehoboth, Namibia. It formed in March 2010 and is headed by Willem Bismark van Wyk (President) and former leading Democratic Turnhalle Alliance member Piet Junius (Vice President). The party changed names in August 2010 to the United People's Movement. The party officially registered with the Electoral Commission in July 2010 and contested the November 2010 local and regional elections, where it won 2 seats in the Rehoboth local council and 1 seat on the Okahandja Municipality.
The UPM is currently represented on the Rehoboth Local Authority Council by its secretary-general Martin G. Dentlinger and Chairperson Jan J. van Wyk. The UPM also has a seat on the Okahandja municipality, where it is represented by Mr. Andries Bezuidenhout.
The United People's Movement, despite the financial difficulties and other challenges, gained one seat in parliament in the 2014 Namibian general election after gaining 6,353 votes (0.71%). National chairperson Jan van Wyk, who has served the party for four years in the Rehoboth Town Council, represented the UPM in Parliament. The party did not contest the subsequent elections in 2019.
References
Political parties established in 2010
2010 establishments in Namibia
Rehoboth, Namibia
Political parties in Namibia |
Orvil Eugene Dryfoos (November 8, 1912 – May 25, 1963) was the publisher of The New York Times from 1961 to his death. He entered the Times family via his marriage to Marian Sulzberger, daughter of then-publisher Arthur Hays Sulzberger.
Early life
Dryfoos was born to Jack A. Dryfoos and the former Florence Levi. The elder Dryfoos was a wealthy hosiery manufacturer who was also the treasurer of a paper novelty manufacturing company. Orvil Dryfoos attended the Horace Mann School in New York City and Dartmouth College. He majored in sociology and graduated with a Bachelor of Arts degree in 1934.
Upon graduation he began work as a runner on Wall Street at the firm Asiel & Co. In 1937 he moved to the firm Sydney Lewinson & Co. as a partner and purchased a seat on the New York Stock Exchange. Dryfoos belonged to Congregation Emanu-El of New York. Dryfoos was prevented from serving in World War II due to a diagnosis of rheumatic heart disease. He worked instead for the New York Red Cross Chapter's blood donor committee through the war.
The New York Times
On July 8, 1941, he married Marian Sulzberger, daughter of New York Times publisher Arthur Hays Sulzberger. His father-in-law had also married into the Ochs family who owned the paper. He was the husband of Adolph Ochs's only child, Iphigene Ochs. "I was sensible enough to marry the boss's daughter," Sulzberger told Dryfoos, "and you were too."
In 1942, Dryfoos left Wall Street to be groomed to lead The New York Times and he became a reporter on the local staff. Though he worked numerous assignments, he never earned a byline during his year on the writing staff. The next year he became assistant to the publisher. He had three children: Jacqueline Hays, (born May 8, 1943), Robert Ochs (November 4, 1944) and Susan Warms (November 5, 1946).
Dryfoos became a trustee of his alma mater Dartmouth, a lay trustee of Fordham University, and trustee and executive committee member of the Rockefeller Foundation, a director of the New York Convention and Visitors Bureau, a director of the Fifth Avenue Association, a director of the 1964 New York World's Fair, and president of the company charity, The New York Times Foundation. He was awarded an honorary Master of Arts in 1957 from Dartmouth and an honorary Doctor of Laws in 1962 from Oberlin College.
In 1954 Dryfoos became a vice-president and director of the company. In 1957 he became Times president and after Sulzberger suffered a stroke in 1958, Dryfoos became responsible for most of the paper's day-to-day operations. He officially became publisher on April 25, 1961, when Sulzberger stepped down.
Dryfoos immediately appointed veteran editorial board member, writer, and iconoclast John Bertram Oakes editorial page editor. Another of Dryfoos's first orders of business was launching the Western Edition of The New York Times, which was announced on October 31, 1961.
Newspaper strike
The defining struggle of Dryfoos' tenure at The Times was a lengthy a massive newspaper strike, which began in late 1962 and brought the publishing industry of New York to its knees. The staff of The Times dropped from 5,000 working personnel to only 900.
The stress of negotiations and continuing to produce as much of a paper as possible adversely affected Dryfoos's health, as he worked to resolve the strike.
The strike lasted for 114 days and at the time was identified as the costliest in Times history. On March 31, 1963, the strikers returned to work. Dryfoos maintained cordial relations with strikers throughout the stoppage and greeted the staff with a letter stating, "It's good to see you back at work!"
Personal life
Dryfoos and his wife, the former Marian Sulzberger, had three children: Jacqueline Hays Dryfoos (born 1943), a psychotherapist divorced from Stuart Greenspon; Robert Ochs Dryfoos (born 1944), divorced from Katie Thomas; and Susan Warms Dryfoos (born 1946), married to Daniel Selznick, son of film producer David O. Selznick and Irene Mayer Selznick.
Death
Following the protracted, and draining, 112-day newspaper strike of 1962-63, Dryfoos went to Puerto Rico to recover, but while there he checked into a hospital. He returned to New York and immediately went to Columbia Presbyterian Medical Center. He died there on May 25, 1963, from heart failure at the age of 50.
Dryfoos's funeral at Congregation Emanu-El of New York was attended by many notable residents of New York City, including New York City mayor Robert F. Wagner, Jr., Columbia University president Grayson L. Kirk and later long-time New York District Attorney Robert M. Morgenthau. Many members of the Rockefeller family were there, including New York Governor Nelson Rockefeller, Lincoln Center chairman John D. Rockefeller III, and Chase Manhattan Bank president David Rockefeller. Many of his rival publishers attended: Hearst Newspapers editor in chief William Randolph Hearst, Jr., Newhouse publisher Samuel Irving Newhouse, Sr., New York Post publisher Dorothy Schiff, CBS president Frank Stanton, and Time Inc. chairman Andrew Heiskell (in 1965, Heiskell married Dryfoos's widow, Marian). James Reston, the Washington correspondent and future executive editor of The New York Times who was also a close friend of Dryfoos, gave the eulogy. Reston said that Dryfoos "wore his life away" during the strike and "when the strike was over he finally slipped away to the hospital and never came back."
He was succeeded as publisher by Arthur Ochs "Punch" Sulzberger, the son of Arthur Hays Sulzberger, and younger brother of Marian Sulzberger Dryfoos.
References
The New York Times publishers
The New York Times corporate staff
American newspaper publishers (people)
1912 births
1963 deaths
20th-century American Jews
Sulzberger family
Dartmouth College alumni
Burials in New York (state) |
Yolanda is a female given name, of Greek origin, meaning "Violet". The form of the name in Greek is Iolanthe. In German and Dutch the name is spelled Jolanda, in Czech and Slovak Jolantha, in Polish Jolanta, in Italian, Portuguese and Romanian Iolanda. People with those names include:
Yolanda of Flanders (1175–1219), ruler of the Latin Empire in Constantinople
Yolanda of Vianden (1231–1283), 13th-century prioress of Marienthal, Luxembourg, granddaughter of the former
Yolanda (or Violant) of Hungary (1215–1253), Queen consort of James I of Aragon
Yolanda of Hungary, daughter of Béla IV of Hungary, niece of the former
Yolanda of Savoy (1 June 1901 – 16 October 1986), Italian princess
Yolanda, an alias of Symbionese Liberation Army member Emily Harris
Yolanda Adams (born 1961), American gospel singer
Yolanda Andrade (born 1970), Mexican television personality
Yolanda Bako (born 1946), activist against domestic violence
YolanDa Brown (born 1982), British saxophonist
Yolanda Bonnell, Canadian actress and playwright
Yolanda Cabrera, Mexican artist
Yolanda Caballero (born 1982), Colombian long-distance runner
Yolanda Carenzo (1902–1968), Argentinian pianist
Yolanda Casazza (1908–1995), American dancer of the Veloz and Yolanda ballroom dancing team
Yolanda Chen (born 1961), Russian athlete
Yolanda Foster, Dutch American television personality
Yolanda Griffith (born 1970), American basketballer
Yolanda Hadid (born 1964), American television personality and model
Yolanda Hamilton (footballer) (born 1987), Jamaican footballer
Yolanda van Heezik, New Zealand professor of zoology
Yolanda Henry (born 1964), American track and field athlete who specialized in the high jump
Yolanda Jones (born 1984), Puerto Rican basketballer
Yolanda King (1955–2007), oldest child of Martin Luther King Jr. and Coretta Scott King
Yolanda Klug (born 1995/1996), missing German who disappeared in 2019
Yolanda Kondonassis (born 1963), American classical harpist
Yolanda Mero-Irion, pianist, opera and theatre impresario, and philanthropist
Yolanda Mohalyi (1909–1978), Hungarian-born Brazilian painter and stained glass artist
Yolanda Moore (born 1974), American basketballer and post-game radio analyst
Yolanda Murphy (1925–2016), cultural anthropologist, co-author of Women of the Forest
Yolanda Ortíz (diver) (born 1978), Cuban diver
Yolanda Panek (1974 – disappeared 1995), American female murder victim
Yolanda Pantin (born 1954), Venezuelan poet and children's writer
Yolanda Quijano, Mexican painter and sculptor
Yolanda Saldívar (born 1960), American convicted murderer
Yolanda Soares, Portuguese singer and songwriter
Yolanda Sonnabend (1935–2015), British theatre and ballet designer and painter
Yolanda Tortolero (died 2021), Venezuelan politician
Yolanda Toussieng (born 1949), makeup artist
Fictional
Yolanda (Black Lagoon)
Yolanda Hamilton (The Young and the Restless)
Yolanda Montez, DC Comics' Wildcat
See also
Yolanda (disambiguation)
Feminine given names
Given names derived from plants or flowers |
The 2008 Super 14 season started in February 2008 with pre-season matches held from mid-January. It finished on 31 May, when the Crusaders won their seventh Super Rugby title with a 20–12 victory over the Waratahs in front of the Crusaders' home fans at AMI Stadium. The 2008 season was the third of the expansion, which led to the name change to the Super 14. The schedule, which covered 3½ months, featured a total of 94 matches, with each team playing one full round robin against the 13 other teams, two semi-finals and a final. Every team received one bye over the 14 rounds.
Introduction of Experimental law variations
The 2008 competition is currently the highest level competition to trial any of the International Rugby Board's (IRB) Experimental law variations (ELVs). The laws had been trialled in various competitions in both the Northern and Southern Hemisphere. The highest level competition the laws had previously been introduced to was the 2007 Australian Rugby Championship. The introduction of the laws for the 2008 season was approved by the competition's governing body, SANZAR, at a meeting on 4 December 2007.
SANZAR decided not to adopt all the ELVs, and decided to adopt the following:
The corner posts are moved so that they are outside the junction of the touchline and goal-line. A player will also not be in touch if they are touching the corner post unless they are also touching either the touchline, or ground over the touchline.
A ball can be thrown backwards on a quick throw-in rather than having to be thrown straight.
The offside line will now occur immediately once a tackle is made.
At the breakdown the Scrum-half (half-back) cannot be touched unless they are touching the ball.
During a scrum, with the exception of forwards in the scrum, and each team's scrum-half, the offside line will now be 5 metres behind the hindmost foot of a scrum.
With the exception of offside, not entering the breakdown through the gate, and foul-play, the punishment will be a free kick.
Table
Results
Round 1
Round 2
Round 3
Round 4
Round 5
Round 6
Round 7
Round 8
Round 9
Round 10
Round 11
Round 12
Round 13
Round 14
Finals
Semi finals
Grand final
The final of the 2008 Super 14 season took place on 31 May 2008 at AMI Stadium in Christchurch, New Zealand. The match was hosted by the Crusaders who defeated the New South Wales Waratahs by 20 points to 12.
The match
First half
The Crusaders scored the first points of the game when fly-half Dan Carter kicked a penalty in the fourth minute, giving the Crusaders a 3–0 lead. The Waratahs scored their first points of the match when Kurtley Beale kicked the ball across field, and Waratah's winger Lachlan Turner caught the ball to score a try. The attempted conversion by Beale was unsuccessful, leaving the Waratahs with a 5-3 lead.
The next score occurred in the 25th minute when Waratahs flanker Phil Waugh intercepted a pass from Dan Carter. Waugh passed to Turner who chipped the ball and then collected to score his second try. Beale's conversion was successful and the Waratahs extended their lead to 12–3. Carter kicked a penalty in the 32nd minute to reduce the Waratahs lead to 12–6. The final score before half time came in the 38th minute when Crusaders No. 8 Mose Tuiali'i scored in the right hand corner. Carter's conversion was unsuccessful, and the half ended with the Waratahs leading by 12 points to 11.
Second half
In the 46th minute the Crusaders took the lead again by 14 points to 12 via a Dan Carter penalty. The Crusaders looked to have scored their second try in the 56th minute when prop Wyatt Crockett landed on a loose ball in the Waratahs in-goal area, but play was taken back 60 metres after touch judge Cobus Wessels reported that Crusaders lock Brad Thorn had thrown a punch. The try was disallowed and the Crusaders penalised. Thorn was given a yellow card and sent to the sin bin for ten minutes.
Despite having an extra man for the next ten minutes, the Waratahs were unable to score, and were further hampered by the loss of Kurtley Beale to injury. In the 70th minute Carter kicked a drop-goal to take the Crusaders lead to 17–12, and four minutes later kicked a penalty to further extend the lead to 20–12. With only minutes remaining Crusaders winger Scott Hamilton dropped the ball only metres from the Waratahs try-line. The score remained at 20-12, and the Crusaders won their seventh Super rugby title.
Match details
Player statistics
Leading try scorers
Leading point scorers
Attendances
References
External links
2008
2008 rugby union tournaments for clubs |
Doazon (; ) is a commune located in the Pyrénées-Atlantiques department in south-western France.
See also
Communes of the Pyrénées-Atlantiques department
References
Communes of Pyrénées-Atlantiques |
Michael Prevost (born June 5, 1953 on a Canadian military base in Hameln, Germany) is a retired amateur boxer, who represented Canada at the 1976 Summer Olympics. There he was disqualified (for holding while looking at the clock to determine how much time remained) in his first fight against Vasile Didea of Romania by an Australian referee. On being disqualified, he stomped around the ring for several minutes and would not leave. The referee was also later disqualified when he was found with a suspicious amount of money, that was not in his possession when entering Canada. Prevost won the silver medal at the 1975 Pan American Games.
1976 Olympic results
Below is the Olympic record of Michael Prevost, a Canadian light middleweight boxer who competed at the 1976 Montreal Olympics:
Round of 32: lost to Vasile Didea (Romania) on a third-round disqualification
He was also Canadian champion seven times and had been boxing since the age of five.
Although the Canadian Boxing Association asked him to represent Canada in the following commonwealth games, he declined on the grounds that he had not been fully supported in rectifying the situation during the 1976 Olympics.
References
Canadian Olympic Committee
1953 births
Living people
Boxers at the 1974 British Commonwealth Games
Commonwealth Games competitors for Canada
Boxers at the 1976 Summer Olympics
Olympic boxers for Canada
Canadian male boxers
Boxers at the 1975 Pan American Games
Pan American Games silver medalists for Canada
Pan American Games medalists in boxing
Light-middleweight boxers
Medalists at the 1975 Pan American Games |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.