text
stringlengths
1
22.8M
Tyler Parsons (born September 18, 1997) is an American professional ice hockey goaltender who is currently an unrestricted free agent. Parsons most recently played for the Stockton Heat in the American Hockey League (AHL) as a prospect to the Calgary Flames of the National Hockey League (NHL). Playing career Junior Parsons spent his junior career with the London Knights of the OHL, playing three seasons with the team, including winning seventeen straight games en route to winning the 2016 Memorial Cup. During the 2016-17 season, Parsons was one of the top goaltenders in the league; leading the league in save percentage for starting goaltenders. Professional After his impressive performance leading up to his Memorial Cup championship, Parsons was drafted by the Calgary Flames in the 2nd round of the 2016 NHL draft, 54th overall. Parsons signed his entry level contract with the Flames on March 19, 2017. On October 13, 2017, Parsons made his professional debut for the Kansas City Mavericks of the ECHL, a 5–3 victory against the Tulsa Oilers. Parsons would spend most of his professional rookie season with the Mavericks, with the remainder played with the Flames top affiliate, the Stockton Heat of the AHL. Despite being regarded as the Flames top goaltending prospect, Parsons would play the entirety of his career in the Flames minor league system, never being called up due to struggles with injury and mental health. International play On December 24, 2016, Parsons was named to the final roster to represent the United States during the 2017 World Junior Ice Hockey Championships. Parsons would go on to shine in the tournament; not being credited with a loss, and winning the gold medal game in exciting fashion, beating host team Canada in the shootout. Career statistics Regular season and playoffs International References External links 1997 births Living people American men's ice hockey goaltenders Sportspeople from Macomb County, Michigan Ice hockey players from Michigan Calgary Flames draft picks London Knights players Stockton Heat players
```javascript // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. 'use strict'; const common = require('../common'); const assert = require('assert'); const net = require('net'); const msg = 'test'; let stopped = true; let server1Sock; const server1ConnHandler = (socket) => { socket.on('data', function(data) { if (stopped) { assert.fail('data event should not have happened yet'); } assert.strictEqual(data.toString(), msg); socket.end(); server1.close(); }); server1Sock = socket; }; const server1 = net.createServer({ pauseOnConnect: true }, server1ConnHandler); const server2ConnHandler = (socket) => { socket.on('data', function(data) { assert.strictEqual(data.toString(), msg); socket.end(); server2.close(); assert.strictEqual(server1Sock.bytesRead, 0); server1Sock.resume(); stopped = false; }); }; const server2 = net.createServer({ pauseOnConnect: false }, server2ConnHandler); server1.listen(0, function() { const clientHandler = common.mustCall(function() { server2.listen(0, function() { net.createConnection({ port: this.address().port }).write(msg); }); }); net.createConnection({ port: this.address().port }).write(msg, clientHandler); }); process.on('exit', function() { assert.strictEqual(stopped, false); }); ```
Slave Tribes is an accessory for the 2nd edition of the Advanced Dungeons & Dragons fantasy role-playing game, published in 1992. Contents Publication history Slave Tribes was published by TSR, Inc. in 1992. Reception Reviews White Wolf #35 Casus Belli #80 References Dark Sun supplements Role-playing game supplements introduced in 1992
```javascript "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.respond = exports.convertRequest = exports.convertHeaders = exports.createRequestHandler = void 0; const stream_1 = require("@remix-run/node/dist/stream"); const __1 = require(".."); /** * Returns a request handler for Express that serves the response using Remix. */ function createRequestHandler({ build }, setup) { const handleRequest = (0, __1.createRequestHandler)(build, setup); return async (req, res, next) => { if (!req?.url || !req.method) { return next(); } try { const request = convertRequest(req, res); const response = await handleRequest(request); await respond(res, response); } catch (error) { // Express doesn't support async functions, so we have to pass along the // error manually using next(). next(error); } }; } exports.createRequestHandler = createRequestHandler; function convertHeaders(requestHeaders) { const headers = new Headers(); for (const [key, values] of Object.entries(requestHeaders)) { if (values) { if (Array.isArray(values)) { for (const value of values) { headers.append(key, value); } } else { headers.set(key, values); } } } return headers; } exports.convertHeaders = convertHeaders; function convertRequest(req, res) { const url = new URL(`${req.protocol}://${req.get('host')}${req.url}`); // Abort action/loaders once we can no longer write a response const controller = new AbortController(); res.on('close', () => controller.abort()); const init = { method: req.method, headers: convertHeaders(req.headers), // Cast until reason/throwIfAborted added // path_to_url signal: controller.signal, }; if (req.method !== 'GET' && req.method !== 'HEAD') { init.body = (0, stream_1.createReadableStreamFromReadable)(req); init.duplex = 'half'; } return new Request(url.href, init); } exports.convertRequest = convertRequest; async function respond(res, expoRes) { res.statusMessage = expoRes.statusText; res.status(expoRes.status); for (const [key, value] of expoRes.headers.entries()) { res.append(key, value); } if (expoRes.body) { await (0, stream_1.writeReadableStreamToWritable)(expoRes.body, res); } else { res.end(); } } exports.respond = respond; //# sourceMappingURL=express.js.map ```
Marc Riboud (; 24 June 1923 – 30 August 2016) was a French photographer, best known for his extensive reports on the Far East: The Three Banners of China, Face of North Vietnam, Visions of China, and In China. Early life and education Riboud was born in Saint-Genis-Laval and went to the lycée in Lyon. He photographed his first picture in 1937, using his father's Vest Pocket Kodak camera. As a young man during World War II, he was active in the French Resistance, from 1943 to 1945. After the war, he studied engineering at the École Centrale de Lyon from 1945 to 1948. Career Until 1951 Riboud worked as an engineer in Lyon factories, but took a week-long picture-taking vacation, inspiring him to become a photographer. He moved to Paris where he met Henri Cartier-Bresson, Robert Capa, and David Seymour, the founders of Magnum Photos. By 1953 he was a member of the organization. His ability to capture fleeting moments in life through powerful compositions was already apparent, and this skill was to serve him well for decades to come. Over the next several decades, Riboud traveled around the world. In 1957, he was one of the first European photographers to go to China, and in 1968, 1972, and 1976, Riboud made several reportages on North Vietnam. Later he traveled all over the world, but mostly in Asia, Africa, the U.S. and Japan. Riboud has been witness to the atrocities of war (photographing from both the Vietnam and the American sides of the Vietnam War), and the apparent degradation of a culture repressed from within (China during the years of chairman Mao Zedong's Cultural Revolution). In contrast, he has captured the graces of daily life, set in sun-drenched facets of the globe (Fès, Angkor, Acapulco, Niger, Bénarès, Shaanxi), and the lyricism of child's play in everyday Paris. In 1979 Riboud left the Magnum agency. Riboud's photographs have appeared in numerous magazines, including Life, Géo, National Geographic, Paris Match, and Stern. He twice won the Overseas Press Club Award, received the Lifetime Achievement Award at the 2009 Sony World Photography Awards and has had major retrospective exhibitions at the Musée d'Art Moderne de la Ville de Paris and the International Center of Photography in New York. Riboud was made an Honorary Fellow of the Royal Photographic Society in 1998. Photography One of Riboud's best known images is Eiffel Tower Painter, taken in Paris in 1953. It depicts a man painting the tower, posed like a dancer, perched between the metal armature of the tower. Below him, Paris emerges from the photographic haze. Lone figures appear frequently in Riboud's images. In Ankara, a central figure is silhouetted against an industrial background, whereas in France, a man lies in a field. The vertical composition emphasizes the landscape, the trees, sky, water and blowing grass, all of which surround but do not overpower the human element. An image taken by Riboud on 21 October 1967, entitled "The Ultimate Confrontation: The Flower and the Bayonet," is among the most celebrated anti-war pictures. Shot in Washington, D.C. where thousands of anti-war activists had gathered in front of the Pentagon to protest against America's involvement in Vietnam, the picture shows a young girl, Jan Rose Kasmir, with a flower in her hands and a kindly gaze in her eyes, standing in front of several rifle-wielding soldiers stationed to block the protesters. Riboud said of the photo, "She was just talking, trying to catch the eye of the soldiers, maybe trying to have a dialogue with them. I had the feeling the soldiers were more afraid of her than she was of the bayonets." In contrast to the images in his photo essay, A Journey to North Vietnam (1969), Riboud says in the accompanying interview: "My impression is that the country's leaders will not allow the slightest relaxation of the population at large [...] it is almost as if [...] they are anxious to forestall the great unknown – peace." In the same Newsweek article, he expanded further in his observations on life in North Vietnam: I was astonished, for example, at the decidedly gay atmosphere in Hanoi's Reunification Park on a Sunday afternoon [...] I honestly did not have the impression they were discussing socialism or the 'American aggressors' [...] I saw quite a few patriotic posters crudely 'improved' with erotic graffiti and sketches. There is a divide between what is photographed (or published) and what Riboud had to say by way of his interview. Commenting on this in 1970, the author Geoffrey Wolff wrote: Riboud's photographs illustrate the proposition. The French photographer has been to North Vietnam twice [...] and he is most friendly, on the evidence of his pictures, to the people and the institutions he found there. His photographs are of happy faces,[...] An Air Force ace illustrates how he shot the American "air pirates" from the sky [...] Who knows the truth about these places? American, revolutionary political Rap Metal band, Rage Against the Machine used two of Riboud's photographs for their second single "Bullet in the Head". Both photographs carry strong political and social messages, but are very different. The front cover is a picture of American school children pledging allegiance to the 'flag' (Stars and Stripes) in a classroom; the back cover picture, is of a young (probably Vietnamese) boy, who is pointing a pistol, while soldiers stand on parade in the background. It is unclear who or what the boy is aiming at and whether the gun is real or a toy. Marriage and family In 1961 Riboud married the American sculptor Barbara Chase, who was living in Paris. They had two children. She became well known for her novel, Sally Hemings (1979), which earned critical acclaim and became a bestseller. They divorced before 1981. He later married Catherine Chaine, a journalist and author. Riboud died in Paris on 30 August 2016, at the age of 93. Publications Women of Japan. Andre Deutch, 1959. Visions of China, Photographs 1957–1980. Pantheon Books, 1981. Three Banners of China. Macmillan, 1966. Photographs at Home and Abroad. Abrams, 2000. Photo Poche 37: Marc Riboud Marc Riboud: photos choisies 1953–1985. Paris: Musee d'art moderne de la ville de Paris, 1985. Marc Riboud: l'embarras du choix Marc Riboud: Journal. by Claude Roy. New York: Harry N. Abrams, 1988. Marc Riboud in China: Forty Years of Photography New York: Harry N. Abrams, 1997. Marc Riboud: 50 Years of Photography by Annick Cojean. Flammarion, 2004. Grands Travaux à Paris: 1981–1995 with Seloua Luste Boulbina and Alexis Riboud. France: La Dispute, 2007. Le Bon Usage du monde by Claude Roy. France: Éditions Rencontre, 1963. Istanbul, 1950–2000. With Jean-Claude Guillebaut. France: Imprimerie Nationale, 2003. Huang Shan The Face of North Vietnam. With Philippe Devilliers. Holt, Rinehart, and Winston, 1970. Chine: Instantanés de Voyage. France: Arthaud, 1980. Bangkok with William Warren. Weatherhill/Serasia, 1976. Angkor: The Serenity of Buddhism. London: Thames and Hudson, 1993. Angkor: Sérénité bouddhique. France: Institut Geographique National, 1998. Exhibitions 1958 Photographs From The Museum Collection (Museum of Modern Art, New York) 1959 30th Anniversary Special Installation – Towards the "New" Museum (Museum of Modern Art, New York) 1960 Photographs for Collectors (Museum of Modern Art, New York) 1963 Marc Riboud (The Art Institute, Chicago) 1964 Edward Steichen Photography Center (Museum of Modern Art, New York) 1966 China (Institute of Contemporary Art, London) 1967 China (The Photographers Gallery, London) 1974 Marc Riboud (The Photographers Gallery, London) 1975 Nord Vietnam (Rote Fabrik, Zurich) 1975 Against the Odds by Marc Riboud (International Center of Photography, NY) 1977 Marc Riboud (Galerie Municipale, Toulouse) 1978 Marc Riboud (Galerie Agathe Gaillard, Paris) 1981 From China & Elsewhere (Gallery Photograph, NY) 1981 China (The Photographers Gallery, London) 1982 China (Galerie Photo, Geneva) 1984 Hommage à Marc Riboud (Centre d'action culturelle and 'China' Galerie ACPA, Bordeaux) 1985 Rétrospective (Musée d'Art moderne de la Ville, Paris) 1988 Marc Riboud (Galerie Agathe Gaillard, Paris) 1988 Marc Riboud (International Center of Photography, NY) 1996 China, Travelling Exhibition (Centre National de Photographie, Paris – Barbican, London – International Center of Photography, NY) 2004 Rétrospective (Maison européenne de la Photographie, Paris) 2008 Les Inédits de Marc Riboud (Atelier Publimod, Paris) 2008 Home on the Road (Howard Greenburg, New York) 2009 Marc Riboud. L'Instinct de l'instant. 50 Years of Photography (Musée de la Vie romantique, Paris) 2009 China 1954–2004 (Month of Photography Asia, Singapore) 2010 Krishna Riboud's Garden (Musée des Arts asiatiques—Guimet, Paris) 2014 Portraits of the 20th Century (Peter Fetterman Gallery, Santa Monica) 2015 Marc Riboud (Salon Galic Croatian Association of Visual Artists, Croatia) 2018 The World of Marc Riboud (Leica Gallery Tokyo, Tokyo) References Sources External links Magnum Photos portfolio Audio interview with Don Swaim, 1988 1923 births 2016 deaths People from Saint-Genis-Laval Magnum photographers French photojournalists Photography in China Photography in Japan Vietnam War photographers French Resistance members École Centrale de Lyon alumni
The Man-Beast is a fictional character appearing in American comic books published by Marvel Comics. Publication history Man-Beast first appears in Thor #134 (Nov. 1966) and was created by Stan Lee and Jack Kirby. He is first referred to as "Man-Beast" in issue #135. Fictional character biography The Man-Beast was once an ordinary red wolf that is captured and mutated on Mount Wundagore by the High Evolutionary - a being intent on creating an army of New Men from animals. While the wolf was mutated by "Isotope C" and the Evolutionary's genetic accelerator, the High Evolutionary is attacked by the Thunder God Thor, who was attempting to find his mortal love, Jane Foster who had been taken to teach other New-Men. The delay is costly, as the wolf is overexposed to the isotope and pushed to physical and mental perfection. The process also instills the creature with an utter hatred of all other forms of life. The High Evolutionary called his creation a "Super-Beast" - which promptly escapes and uses the High Evolutionary's genetic accelerator equipment to create an army of followers though none were as evolved as him. The Evolutionary lures him out with a sonic device, and the Super-Beast comes with the High Evolutionary's army, that attack its creator's own New Men while the Super-Beast attacks Thor and the High Evolutionary. The Super-Beast is defeated by Thor as he attacks the High Evolutionary, with the High Evolutionary then placing the unconscious Super-Beast and his defeated army of New Men in a rocket. The rocket is then launched into deep space, in the hope that the Super-Beast would never be seen again. The High Evolutionary then travels into space as well with all of his creatures and his Wundagore citadel. The creature, now calling itself the Man-Beast, lands with its army on Counter-Earth - a planet located on the other side of the Sun and also created by the High Evolutionary. The Man-Beast, seeking to become a conqueror, poses as Counter-Earth's United States President Rex Carpenter. He and his army begin to corrupt Counter-Earth by introducing evil, attempting to destroy Counter-Earth. The High Evolutionary sends Adam Warlock, who after a lengthy war defeats the Man-Beast and his followers with help from the High Evolutionary. The Hulk is also present on Counter-Earth at one point. The Man-Beast battles the Hulk and Adam Warlock on Counter-Earth, and executed Adam Warlock. However, the Man-Beast is then devolved into his animal form by a resurrected Adam Warlock. The Man-Beast is restored to humanoid form and manages to escape Counter-Earth and eventually finds his way to the true Earth. Disguised as the second Hate-Monger, he sponsored the Legion of Light cult headed by Brother Power and Sister Sun. He is thwarted by Spider-Man, Razorback, and Flash Thompson. Caught in an explosion and buried under tons of debris, the Man-Beast is almost killed, and takes many years to regenerate. The Man-Beast eventually re-emerges and allying himself with the Bi-Beast comes into conflict with Thor once more, this time aided by Avengers teammate Iron Man. Defeated again, the Man-Beast later discovers the existence of the Infinity Gems and manages to steal four of the gems from his old foe, Adam Warlock. Warlock eventually stops the Man-Beast and is only prevented from killing him by Captain America. The Man-Beast is finally stopped when the High Evolutionary, with the aid of Quicksilver, reverts the creature back into a red wolf. Powers and abilities The Man-Beast is a red wolf evolved to the peak of lupine and human physical and mental potential possessing superhuman strength, speed and durability, acute senses of hearing, smell, and taste, and can also see into the infrared and ultraviolet range of the light spectrum. He is a superior hand-to-hand combatant and also a powerful psychic capable of emotional manipulation, energy projection, erecting force fields strong enough to repel Thor's hammer, Mjolnir, and anti-matter fields capable of disintegrating positive matter. The Man-Beast also uses other technological aids such as a personal teleportation device and a Hate Ray. References External links Man-Beast at Marvel.com Man-Beast at Marvel Wiki Man-Beast at Comic Vine Comics characters introduced in 1966 Characters created by Jack Kirby Characters created by Stan Lee Fictional wolves Marvel Comics characters who can move at superhuman speeds Marvel Comics characters with superhuman durability or invulnerability Marvel Comics characters with superhuman senses Marvel Comics characters with superhuman strength Marvel Comics supervillains Thor (Marvel Comics) Transians
The Catholic Church in East Timor, based only from Latin rites, currently consists of one archdiocese and two dioceses forming an ecclesiastical province. Previously, it only comprised three exempt dioceses, all immediately subjecting to the Holy See and depending on the Roman Congregation for the Evangelization of Peoples. On September 11, 2019, Pope Francis elevated the Diocese of Dili to the rank of a metropolitan archdiocese and, at the same time, formed the Ecclesiastical Province of Dili. He also raised Bishop Virgílio do Carmo da Silva to the rank of an archbishop. All of the dioceses in East Timor joint in a national Episcopal conference of Timor (Conferência Episcopal Timorense). There is an Apostolic Nunciature as papal diplomatic representation (embassy-level) to Timor-Leste (East Timor), but it is located in giant neighbor Indonesia's capital Jakarta, at the same address as the Apostolic Nunciature to Indonesia, which however has another incumbent. There are no Eastern Catholic, pre-diocesan or defunct jurisdictions. List of dioceses Ecclesiastical Province of Dili Roman Catholic Archdiocese of Díli: Mgr. Virgílio do Carmo da Silva, S.D.B. Roman Catholic Diocese of Baucau: Mgr. D. Basílio do Nascimento Roman Catholic Diocese of Maliana: Mgr. Norberto do Amaral See also List of Catholic dioceses (structured view) Catholic Church in East Timor References Sources and external links GCatholic.org - data for all sections. Catholic-Hierarchy. East Timor East Timor religion-related lists
Susannah Elizabeth Joy Rodgers, (born 9 August 1983) is a British Paralympic swimmer. She competes in S7 classification events and won three bronze medals at the 2012 Summer Paralympics and a gold at the 2016 Summer Paralympics. Personal life Rodgers was born on 9 August 1983 in Stockton-on-Tees, England. She was born without a fully formed arm or leg on the left side of her body. Susie was announced as a Young Global Leader by the World Economic Forum in 2018, a year after her retirement from professional sport in 2017. She graduated with a Bachelor of Arts (BA) degree in modern languages from the University of Newcastle, and is able to speak Catalan, French, German, Italian and Spanish. She combined her swimming career with a job as a Project Manager for the British Council. She is a qualified Non Executive Director through The Financial Times NED programme, amongst other roles. Swimming Rodgers first learned to swim when living in Egypt as a child but did not take up competitive swimming until she was inspired by watching the British team at the 2008 Summer Paralympics. She competes in the S7 Paralympic classification for swimmers with a physical impairment. Her first appearance at an international event came at the 2011 IPC European Championships held in Berlin, Germany. At the meet Rodgers won six medals, five gold and one silver. She won individual gold in the 400 metres freestyle, in a new European record time, and relay gold in the 34pt 4×100 m freestyle alongside Louise Watkin, Lauren Steadman and Claire Cashmore. Her second individual gold medal came in the 100 metres backstroke as she set a time of 1:26.09, a new British record, to beat German world record holder Kirsten Bruhn into second place. She won her fourth gold medal by setting a new European record time of 36.74 seconds in the 50 metres butterfly, and followed it with her fifth in the 100 metres freestyle. She also won a silver medal in the 50 metres freestyle. She was selected to compete for Great Britain at the 2012 Summer Paralympics in London, United Kingdom, as part of a 44-swimmer squad. At the Games she competed in the 50, 100 and 400 freestyle, the 50 meters butterfly, the 100 metres backstroke and the 4×100 m freestyle relay. Rodgers won bronze medals in the 100 metres freestyle and the relay, alongside Cashmore, Watkin and Stephanie Millward. She completed a hat trick of bronze medals by finishing third in the 400 metres freestyle, setting new European records in both the heats and the final, to win Great Britain's one hundredth medal of the Games. She also achieved finishes of fourth in the butterfly and sixth in the backstroke. In 2013 Rodgers was selected to represent Great Britain again, this time at the IPC Swimming World Championships in Montreal. In her three individual freestyle events; the 50 m S7, 100 m S7 and the 400 m S7 she was beaten into silver on each occasion by American Cortney Jordan. In her only butterfly event, the 50 m S7, she again took second place, this time losing the top podium place to Canada's Brianna Nelson. Rodgers left Canada with one more medal, taking the gold in the 4x100 m freestyle relay (34 points) alongside Stephanie Millward, Claire Cashmore and Amy Marren. The second and third places in the 100m relay went to Canada and the US, those teams contained both Nelson and Jordan. At the 2016 Rio Paralympics, Rodgers won gold in the women's 50m butterfly S7, and a bronze in both the women's 400m freestyle S7 and women's 50m freestyle S7 She was appointed Member of the Order of the British Empire (MBE) in the 2017 New Year Honours for services to swimming. References External links 1983 births Living people Sportspeople from Stockton-on-Tees English female freestyle swimmers Paralympic swimmers for Great Britain Paralympic gold medalists for Great Britain Paralympic bronze medalists for Great Britain Swimmers at the 2012 Summer Paralympics Swimmers at the 2016 Summer Paralympics Medalists at the 2012 Summer Paralympics Medalists at the 2016 Summer Paralympics S7-classified para swimmers Members of the Order of the British Empire Medalists at the World Para Swimming Championships Medalists at the World Para Swimming European Championships Paralympic medalists in swimming British female butterfly swimmers 20th-century English women 21st-century English women
Uamh Bheag is a hill in the Glen Artney Hills range immediately south of the Highland Boundary Fault, part of the Central Lowlands of Scotland. The highest hill of the range, the summit is twin-topped; the lower east top has a trig point. Until 2017, it was not certain which hill was higher, and subsequently which was the Donald and Graham. That year, a survey was conducted which proved the west top to be approximately 2.4m higher. The true summit is currently marked with a cairn and a face carved out of a wooden fencepost, extending from it. It is normally ascended with neighbouring Beinn nan Eun from Glen Artney itself. Subsidiary SMC Summits References Mountains and hills of Perth and Kinross Mountains and hills of Stirling (council area) Marilyns of Scotland Grahams Donald mountains Kilmadock
Multiculti is the second album by the Cameroonian musician Sally Nyolo, released in 1998. The title track was a hit in France. Nyolo supported the album with a North American tour. Production The album was produced by Nyolo, who also wrote and arranged the songs. She sang in Eton, Arabic, French, Spanish, and English. Many of the songs are about growing up in the Cameroonian forest; others were inspired by living near a school, in Paris . It was Nyolo's intention to promote to a wide audience the bikutsi style of her homeland. Multiculti was recorded with help from Nyolo's former bandmates in Zap Mama, as well as Afro-French studio musicians. Critical reception JazzTimes called the album "suave and funk-lined, urbane and rootsy all at once," writing that "hybridizing is the operative process and philosophy on the album, including the title cut’s seductive Afro-Parisian-hip-hop feel." The Los Angeles Times deemed it "a delightful collection of acoustic music surging with the body-bending bikutsi rhythms of Cameroon, topped by Nyolo's crisp, melodic vocal harmonies." The San Diego Union-Tribune wrote: "Subtle yet rhythmic, her multilayered music boasts buoyant melodies, darting talking-drum accents and intricate call-and-response vocal exchanges." The Edmonton Journal stated: "Heavy with hand percussion, bass and click guitar lines, it's spritely, uptempo music with choppy rhythms, thicker and less obviously influenced by western pop than say, Angelique Kidjo, but entirely entrancing either way." Rolling Stone praised the combination of "energized bikutsi dance rhythms with poetic storytelling." The Times noted that Nyolo "creates a rich African tapestry drawing on tribal chants and ambient sounds." Track listing References 1998 albums Albums by Cameroonian artists
Roccatederighi is a village in Tuscany, central Italy, administratively a frazione of the comune of Roccastrada, province of Grosseto. At the time of the 2001 census its population amounted to 846. Roccatederighi is a hilly medieval village situated about 35 km from Grosseto and 11 km from Roccastrada. Main sights Church of San Martino (10th century), main parish church of the village Church of San Sebastiano (16th century), with a neo-classical facade of 1860. Walls of Roccatederighi, old fortifications which surround the village since 11th century Castle with clock tower, a 13th-century fortress References Bibliography Aldo Mazzolai, Guida della Maremma. Percorsi tra arte e natura, Le Lettere, Florence, 1997. Giuseppe Guerrini, Torri e castelli della Provincia di Grosseto, Nuova Immagine Editrice, Siena, 1999. See also Montemassi Piloni Ribolla Sassofortino Sticciano Torniella Frazioni of Roccastrada
Historical earthquakes is a list of significant earthquakes known to have occurred prior to the beginning of the 20th century. As the events listed here occurred before routine instrumental recordings, they rely mainly on the analysis of written sources or using stone/wooden poles or vessels filled with water. There is often significant uncertainty in location and magnitude and sometimes date for each earthquake. The number of fatalities is also often highly uncertain, particularly for the older events. Pre-11th century 11th–17th centuries 18th century 19th century Source for all events with 'USGS' labelled as the source United States Geological Survey (USGS) Note: Magnitudes are generally estimations from intensity data. When no magnitude was available, the maximum intensity, written as a Roman numeral from I to XII, is given. See also :Category:Articles on pre-1900 earthquakes Lists of 20th-century earthquakes Lists of 21st-century earthquakes List of tsunamis Lists of earthquakes List of megathrust earthquakes References External links Southern California Earthquake Center (SCEC) Earthquakes Canada Historical earthquakes in Europe IRIS Seismic Monitor, Recent earthquakes around the world Recent New Zealand earthquakes SeismoArchives, Seismogram Archives of Significant Earthquakes of the World USGS list of current earthquakes USGS list of earthquakes magnitude 6.0 and greater sorted by magnitude Global Significant Earthquake Database, 2150 BC to present – National Geophysical Data Center Database for the damage of world earthquake, ancient period (3000 BC) to year of 2006 – Building Research Institute (Japan) Historical earthquakes Seismic history
```yaml # A config that demonstrates various load balancer options. namers: - kind: io.l5d.fs rootDir: linkerd/examples/io.l5d.fs routers: - protocol: http dtab: | /svc => /#/io.l5d.fs servers: - port: 4140 maxConcurrentRequests: 10000 client: loadBalancer: kind: p2c maxEffort: 10 hostConnectionPool: minSize: 0 maxSize: 1000 idleTimeMs: 10000 maxWaiters: 5000 failureAccrual: kind: io.l5d.successRate successRate: 0.9 requests: 1000 backoff: kind: jittered minMs: 5000 maxMs: 300000 ```
Puppetoons is a series of animated puppet films made in Europe (1930s) and in the United States (1940s) by George Pal. They were made using replacement animation: using a series of different hand-carved wooden puppets (or puppet heads or limbs) for each frame in which the puppet moves or changes expression, rather than moving a single puppet, as is the case with most stop motion puppet animation. They were particuarly made from 1932-1948, in both Europe and the US. History The Puppetoons series of animated puppet films were made in Europe in the 1930s and in the United States in the 1940s. The series began when George Pal made an advertising film using "dancing" cigarettes in 1932, which led to a series of theatrical advertising shorts for Philips Radio in the Netherlands. This was followed by a series for Horlicks Malted Milk in England. These shorts have an art deco design, often reducing characters to simple geometric shapes. Pal arrived in the U.S. in 1940, and produced more than 40 Puppetoons for Paramount Pictures between 1941 and 1947. Seven Puppetoons received Academy Award nominations, including Rhythm in the Ranks (for the year 1941), Tulips Shall Grow (1942), The 500 Hats of Bartholomew Cubbins (1943), And To Think I Saw it On Mulberry Street (1944), Jasper and the Beanstalk (1945), John Henry and the Inky-Poo (1946) and Tubby the Tuba (1947). The series ended due to rising production costs which had increased from US$18,000 per short in 1939 () to almost US$50,000 following World War II (). Paramount Pictures—Pal's distributor—objected to the cost. Per their suggestion, Pal went to produce sequences for feature films. In 1956, the Puppetoons as well as most of Paramount's shorts, were sold to television distributor U.M. & M. TV Corporation. National Telefilm Associates bought out U.M. & M. and continued to syndicate them in the 1950s and 1960s as "Madcap Models". Pal also used the Puppetoon name and the general Puppetoon technique for miniature puppet characters in some of his live-action feature films, including The Great Rupert (1949), Tom Thumb (1958), and The Wonderful World of the Brothers Grimm (1963). In these films, the individual wooden figures were billed as The Puppetoons. Technique Puppetoon films used replacement animation with puppets. Using a series of different hand-carved wooden puppets (or puppet heads or limbs) for each frame in which the puppet moves or changes expression, rather than moving a single puppet. A typical Puppetoon required 9,000 individually carved and machined wooden figures or parts. Puppetoon animation is a type of replacement animation, which is itself a type of stop-motion animation. The puppets are rigid and static pieces; each is typically used in a single frame and then switched with a separate, near-duplicate puppet for the next frame. Thus puppetoon animation requires many separate figures. It is thus more analogous in a certain sense to cel animation than is traditional stop-motion: the characters are created from scratch for each frame (though in cel animation the creation process is simpler since the characters are drawn and painted, not sculpted). Jasper Some controversy exists in modern times, as the black character, Jasper, star of several Puppetoons in the 1940s is considered a stereotype today. The Jasper series of shorts relied on a small, consistent cast. The titular character was a playful pickaninny, his mother a protective mammy, Professor Scarecrow being a black scam artist, and the Blackbird serving as his fast-talking partner-in-crime. Pal described Jasper as the Huckleberry Finn of American folklore. Already in 1946, an article of the Hollywood Quarterly protested that the Jasper shorts presented a "razor-totin', ghost-haunted, chicken-stealin' concept of the American Negro". A 1947 article in Ebony pointed out that George Pal was a European and not raised on racial prejudice: "To him there is nothing abusive about a Negro boy who likes to eat watermelons or gets scared when he goes past a haunted house". The article, though, pointed that this depiction touched on the stereotypes of Negroes being childish, eating nothing but molasses and watermelons, and being afraid of their own shadows. Jasper's full name is Jasper Jefferson Lincoln Washington Hawkins. At one point, Jasper's popularity was on par with Mickey Mouse's and Donald Duck's. Legacy and preservation In 1987, film producer-director-archivist Arnold Leibovit, a friend of George Pal, collected several Puppetoons and released them theatrically and to video as The Puppetoon Movie reintroducing them to contemporary audiences. A feature-length documentary on the life and films of George Pal followed. In 2020, The Puppetoon Movie Volume 2 was released on Blu-ray and DVD, featuring 17 shorts not included on any of the Puppetoon Movie releases and The Ship of the Ether. The Academy Film Archive preserved several of the Puppetoons in 2009, including Jasper and the Beanstalk, John Henry and the Inky Poo, and Rhythm In the Ranks. Filmography European shorts 1932 Midnight 1934 Radio Röhren (Valve) Revolution, a hand-drawn cel-animation advertising short for Philips The Ship of the Ether A Fairy Tale About a Melancholic King 1935 The Magic Atlas World's Greatest Show In Lamp Light Land Ali Baba and The Forty Thieves 1936 Ether Symphony Charlie's World Cruise On Parade! 1937 What Ho, She Bumps (March 11, 1937) The Reddingsbrigade (a.k.a. Rescue Brigade) (May 11, 1937) Philips Broadcast of 1938 (October 20, 1937) 1938 South Seas Sweethearts (April 21, 1938) The Ballet of Red Radio Valves (June 5, 1938) Sky Pirates (August 7, 1938) How An Advertising Poster Came About (October 16, 1938) 1939 Aladdin and the Magic Lamp The Sleeping Beauty Love on the Range Philips Cavalcade (a.k.a. Cavalcade of Music) The Queen Was In The Parlour 1940 Friend in Need The Good Bear and The Bad Bear The Old Woman Who Lived in A Shoe American shorts 1940 Western Daze Dipsy Gypsy 1941 Hoola Boola The Gay Knighties Rhythm in the Ranks The Sky Princess 1942 Jasper and the Watermelons Mr. Strauss Takes a Walk Tulips Shall Grow Jasper and the Haunted House 1943 Jasper and the Choo-Choo Bravo, Mr. Strauss The 500 Hats of Bartholomew Cubbins Jasper's Music Lesson The Truck That Flew The Little Broadcast Jasper Goes Fishing Goodnight Rusty 1944 Package for Jasper A Hatful of Dreams Say Ah, Jasper Jasper Goes Hunting And to Think That I Saw It on Mulberry Street Jasper's Paradise Two-Gun Rusty 1945 Jasper's Booby Traps Hotlip Jasper Jasper Tell Jasper's Minstrels Jasper's Close Shave Jasper and the Beanstalk My Man Jasper 1946 Jasper's Derby Jasper in a Jam Olio for Jasper Together in the Weather John Henry and the Inky-Poo Wilbur the Lion 1947 Shoe Shine Jasper Date with Duke (featuring Duke Ellington) - October 31, 1947 Rhapsody in Wood (featuring Woody Herman) Tubby the Tuba Romeow and Julicat (shown in the film Variety Girl) 1948 Sweet Pacific 1971 The Tool Box (broadcast on Curiosity Shop) - September 2, 1971 Cancelled projects Sinbad Three Little Princes Gulliver's Travels Casey Jones Davy Crockett Johnny Appleseed See also The Puppetoon Movie Sources References External links Puppetoons at Internet Animation Database Animated film series American film series Short film series Film series introduced in 1932 Film series introduced in 1940 Puppet films 1930s stop-motion animated films 1940s stop-motion animated films
The final of the men's 100 metre backstroke event at the 1984 Summer Olympics was held in the McDonald's Olympic Swim Stadium in Los Angeles, California, on August 3, 1984. Records Prior to this competition, the existing world and Olympic records were as follows. Results Heats Rule: The eight fastest swimmers advance to final A (Q), while the next eight to final B (q). Finals Final B Final A References External links Official Report USA Swimming B Men's events at the 1984 Summer Olympics
Witold Zacharewicz (26 August 1914 – 16 February 1943) was a Polish film actor of the 1930s. During the German occupation of Poland he was arrested and murdered at Auschwitz. Life In 1938 Witold Zacharewicz got an offer to sign a deal with the Hollywood studio United Artists. He was fluent in several languages, including English, French and German. Zacharewicz was starring in what became his last film, Gehenna. He tried to defer his military service in order to go to Hollywood, but on September 1, 1938, Zacharewicz enlisted in the Polish Army. On October 1, 1942, Zacharewicz was arrested by the Gestapo, the secret police of Nazi Germany, for aiding Jews. With ten other people, including his mother, he had been involved in the production of false documents for Jews hiding in Warsaw. In November 1942, he was deported to Auschwitz-Birkenau, where he was murdered on February 16, 1943. There are two accounts of his death: two eyewitnesses stated that he was murdered with an injection of phenol to the heart, but other former inmates have claimed that he was executed. Filmography Pod Twoją obronę (1933) Młody las (1934) Granny Had No Worries (1935) Kochaj tylko mnie (1935) Róża (1936) Barbara Radziwillówna (1936) Znachor (1937) Halka (1937) Profesor Wilczur (1938) Kościuszko pod Racławicami (1938) Gehenna (1938) Second Youth (1938) Bibliography Skaff, Sheila. The Law of the Looking Glass: Cinema in Poland, 1896-1939. Ohio University Press, 2008. References External links 1914 births 1943 deaths Actors from Płock People from Płock Governorate Polish male film actors Polish male stage actors Polish people who died in Auschwitz concentration camp 20th-century Polish male actors Polish civilians killed in World War II
```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 WorkerMessage extends \Google\Model { protected $dataSamplingReportType = DataSamplingReport::class; protected $dataSamplingReportDataType = ''; /** * @var string[] */ public $labels; protected $perWorkerMetricsType = PerWorkerMetrics::class; protected $perWorkerMetricsDataType = ''; protected $streamingScalingReportType = StreamingScalingReport::class; protected $streamingScalingReportDataType = ''; /** * @var string */ public $time; protected $workerHealthReportType = WorkerHealthReport::class; protected $workerHealthReportDataType = ''; protected $workerLifecycleEventType = WorkerLifecycleEvent::class; protected $workerLifecycleEventDataType = ''; protected $workerMessageCodeType = WorkerMessageCode::class; protected $workerMessageCodeDataType = ''; protected $workerMetricsType = ResourceUtilizationReport::class; protected $workerMetricsDataType = ''; protected $workerShutdownNoticeType = WorkerShutdownNotice::class; protected $workerShutdownNoticeDataType = ''; protected $workerThreadScalingReportType = WorkerThreadScalingReport::class; protected $workerThreadScalingReportDataType = ''; /** * @param DataSamplingReport */ public function setDataSamplingReport(DataSamplingReport $dataSamplingReport) { $this->dataSamplingReport = $dataSamplingReport; } /** * @return DataSamplingReport */ public function getDataSamplingReport() { return $this->dataSamplingReport; } /** * @param string[] */ public function setLabels($labels) { $this->labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * @param PerWorkerMetrics */ public function setPerWorkerMetrics(PerWorkerMetrics $perWorkerMetrics) { $this->perWorkerMetrics = $perWorkerMetrics; } /** * @return PerWorkerMetrics */ public function getPerWorkerMetrics() { return $this->perWorkerMetrics; } /** * @param StreamingScalingReport */ public function setStreamingScalingReport(StreamingScalingReport $streamingScalingReport) { $this->streamingScalingReport = $streamingScalingReport; } /** * @return StreamingScalingReport */ public function getStreamingScalingReport() { return $this->streamingScalingReport; } /** * @param string */ public function setTime($time) { $this->time = $time; } /** * @return string */ public function getTime() { return $this->time; } /** * @param WorkerHealthReport */ public function setWorkerHealthReport(WorkerHealthReport $workerHealthReport) { $this->workerHealthReport = $workerHealthReport; } /** * @return WorkerHealthReport */ public function getWorkerHealthReport() { return $this->workerHealthReport; } /** * @param WorkerLifecycleEvent */ public function setWorkerLifecycleEvent(WorkerLifecycleEvent $workerLifecycleEvent) { $this->workerLifecycleEvent = $workerLifecycleEvent; } /** * @return WorkerLifecycleEvent */ public function getWorkerLifecycleEvent() { return $this->workerLifecycleEvent; } /** * @param WorkerMessageCode */ public function setWorkerMessageCode(WorkerMessageCode $workerMessageCode) { $this->workerMessageCode = $workerMessageCode; } /** * @return WorkerMessageCode */ public function getWorkerMessageCode() { return $this->workerMessageCode; } /** * @param ResourceUtilizationReport */ public function setWorkerMetrics(ResourceUtilizationReport $workerMetrics) { $this->workerMetrics = $workerMetrics; } /** * @return ResourceUtilizationReport */ public function getWorkerMetrics() { return $this->workerMetrics; } /** * @param WorkerShutdownNotice */ public function setWorkerShutdownNotice(WorkerShutdownNotice $workerShutdownNotice) { $this->workerShutdownNotice = $workerShutdownNotice; } /** * @return WorkerShutdownNotice */ public function getWorkerShutdownNotice() { return $this->workerShutdownNotice; } /** * @param WorkerThreadScalingReport */ public function setWorkerThreadScalingReport(WorkerThreadScalingReport $workerThreadScalingReport) { $this->workerThreadScalingReport = $workerThreadScalingReport; } /** * @return WorkerThreadScalingReport */ public function getWorkerThreadScalingReport() { return $this->workerThreadScalingReport; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(WorkerMessage::class, 'Google_Service_Dataflow_WorkerMessage'); ```
Nikolay Andreyevich Cherkasov (; born 26 September 1996 in Omsk) is a Russian cyclist, who last rode for UCI ProTeam . Major results 2013 1st Time trial, UEC European Junior Road Championships 1st Time trial, National Junior Road Championships 1st Stage 3 Tour du Valromey 1st Stage 2 Aubel-Thimister-La Gleize 2017 7th Overall Giro della Valle d'Aosta 9th Overall Giro Ciclistico d'Italia 2019 3rd Coppa Agostoni 3rd Giro della Toscana 4th Overall Tour of Almaty 6th Overall Tour de Langkawi References External links 1996 births Living people Russian male cyclists Sportspeople from Omsk
```yaml # # Starter pipeline # Minimal pipeline to deploy a basic assistant bot that you can customize to build and deploy your code. # Add steps that build, run tests, deploy, and more: # path_to_url # trigger: - none pool: vmImage: ubuntu-latest # Parameters with defaults formatted as $(name) get their values # from variables of that name defined in the Azure DevOps pipeline UI. parameters: - name: azureServiceConnection displayName: Azure service connection type: string default: $(AZURESERVICECONNECTION) - name: botName displayName: Bot name type: string default: $(BOTNAME) - name: microsoftAppId displayName: Bot"s Microsoft app ID type: string default: $(MICROSOFTAPPID) - name: microsoftAppPassword displayName: Bot"s Microsoft app password type: string default: $(MICROSOFTAPPPASSWORD) - name: resourceGroupName displayName: Azure resource group type: string default: $(RESOURCEGROUPNAME) - name: webAppName displayName: Azure web app name type: string default: $(WEBAPPNAME) - name: botProjectDirectory displayName: Relative path to the bot's csproj file (e.g. BasicAssistantCLU/BasicAssistantCLU) type: string default: $(BOTPROJECTDIRECTORY) - name: botProjectName displayName: Bot"s project name (csproj) type: string default: $(BOTPROJECTNAME) - name: buildYamlDirectory displayName: Relative path to the pipeline's .yaml folder (e.g. build/yaml) type: string default: $(BUILDYAMLDIRECTORY) # CLU parameters - name: cluProjectName displayName: CLU Project name type: string default: $(CLUPROJECTNAME) - name: cluEndpoint displayName: CLU Endpoint type: string default: $(CLUENDPOINT) - name: cluEndpointKey displayName: CLU Endpoint key type: string default: $(CLUENDPOINTKEY) - name: cluDeploymentName displayName: CLU Deployment name type: string default: $(CLUDEPLOYMENTNAME) # QnAMaker parameters - name: qnaSubscriptionKey displayName: QnA Maker subscription key type: string default: $(QNASUBSCRIPTIONKEY) - name: qnaEndpointKey displayName: QnA Maker endpoint key type: string default: $(QNAENDPOINTKEY) - name: qnaHostName displayName: QnA Maker host name type: string default: $(QNAHOSTNAME) - name: qnaKnowledgebaseId displayName: QnA Maker knowledgebase ID type: string default: $(QNAKNOWLEDGEBASEID) - name: qnaRegion displayName: QnA Maker region type: string default: $(QNAREGION) steps: # Install prerequisites - template: templates/installPrerequisites.yaml # Build and deploy QnAMaker models - template: templates/buildAndDeployModels.yaml parameters: sourceDirectory: "$(System.DefaultWorkingDirectory)/${{ parameters.botProjectDirectory }}" yamlDirectory: "$(System.DefaultWorkingDirectory)/${{ parameters.buildYamlDirectory }}" botName: "${{ parameters.botName }}" qnaSubscriptionKey: "${{ parameters.qnaSubscriptionKey }}" # Deploy and configure web app - template: templates/buildAndDeployDotNetWebApp.yaml parameters: azureServiceConnection: "${{ parameters.azureServiceConnection }}" webAppName: "${{ parameters.webAppName }}" resourceGroupName: "${{ parameters.resourceGroupName }}" botProjectFile: "$(System.DefaultWorkingDirectory)/${{ parameters.botProjectDirectory }}/${{ parameters.botProjectName }}" botName: "${{ parameters.botName }}" microsoftAppId: "${{ parameters.microsoftAppId }}" microsoftAppPassword: "${{ parameters.microsoftAppPassword }}" cluProjectName: "${{ parameters.cluProjectName }}" cluEndpoint: "${{ parameters.cluEndpoint }}" cluEndpointKey: "${{ parameters.cluEndpointKey }}" cluDeploymentName: "${{ parameters.cluDeploymentName }}" qnaSubscriptionKey: "${{ parameters.qnaSubscriptionKey }}" qnaEndpointKey: "${{ parameters.qnaEndpointKey }}" qnaHostName: "${{ parameters.qnaHostName }}" qnaKnowledgebaseId: "${{ parameters.qnaKnowledgebaseId }}" qnaRegion: "${{ parameters.qnaRegion }}" # Helper to output the working folder directory contents for diagnostics - task: PowerShell@2 displayName: "Dir workspace" continueOnError: true condition: succeededOrFailed() inputs: targetType: "inline" script: | cd .. ls -R ```
Janet Wu is an American TV presenter, journalist and teacher. Until November 2015, she had been a general assignment reporter and fill-in presenter for WHDH-TV (Channel 7), NBC's Boston affiliate, and had worked for them for 17 years. In 2018 she became an anchor/reporter for Bloomberg News. Early life and education Wu, who was born in Texas and raised in Miami, Florida, received her bachelor's degree in psychology and philosophy from Yale University. She earned a master's degree at Columbia University in Journalism and International Affairs. Career Before joining WHDH-TV in 1996, Wu was the weekday morning presenter for KIRO-TV in Seattle. Before that, she was the weekend presenter and reporter at KGMB in Honolulu, Hawaii. She also made a cameo appearance in the film Free Willy 2: The Adventure Home. During college, she had worked for WFSB in Hartford, Connecticut. A published essayist and op-ed contributor, Wu speaks English, Mandarin Chinese and Spanish. Her essay "Homeward Bound" was published in The New York Times and appears in expository writing texts including The Norton Sampler and Evergreen: A Guide to Writing with Readings. In June 2012, she wrote an essay which was published in The Boston Globe entitled "Marina Keegan and the gift of time" reflecting on the tragic untimely death of 2012 Yale graduate Marina Keegan. In November 2015, she left WHDH-TV to continue her charity work and to teach at Emerson College. In April 2018, she took a job with Bloomberg as an anchor/reporter. For Bloomberg, Wu primarily interviews entrepreneurs, investors, and business leaders, primarily for “Bloomberg Baystate Business.” Wu was named in 2022 as a member of the Council on Strategic Risks. She also regularly hosts events with the Boston Symphony; Wu is an accomplished cellist and pianist. Publications Fawcett, Susan. Evergreen: A Guide to Writing with Readings, 8th Edition. CENGAGE Learning, 2007. (Janet Wu essay, "Homeward Bound") Cooley, Thomas (Editor). The Norton Sampler: Short Essays for Composition. W. W. Norton & Company, 2010. (Janet Wu essay, "Homeward Bound") Wu, Janet. "Homeward Bound", The New York Times, September 5, 1999. Wu, Janet. "Identity Crisis", Charles River Review, Harvard University, Fall 1999. Wu, Janet; Tarsy, Andrew. "Dith Pran: Two views of a legend", The Boston Globe, March 23, 2008. Wu, Janet, "Marina Keegan and the gift of time", The Boston Globe, June 1, 2012 References External links Foundation Gala, November 6, 2009, Janet Wu, Emcee (archived 2011) American television reporters and correspondents Living people Yale College alumni Columbia University Graduate School of Journalism alumni Year of birth missing (living people) Harvard Extension School alumni School of International and Public Affairs, Columbia University alumni
"Love Stinks" is a song written by Peter Wolf and Seth Justman that was the title track of the J. Geils Band's 1980 album Love Stinks. The song was released as a single and peaked in the US at #38, spending three weeks in the Top 40. In Canada, the song reached number 15, as it did on WLS-AM in Chicago. Background The lyrics describe a love triangle in which two participants experience unrequited love, before segueing into a description of love gone sour in general. The lyrics may have been inspired by J. Geils Band lead singer Peter Wolf's marriage to actress Faye Dunaway, which ended in a 1979 divorce. Author Maury Dean describes the opening of the song as "ponderous Power Metal." Dean describes the band's playing in the refrain as generating "wild waves of flame," the guitars as "fire-breathing" and Wolf's vocals in the "yeah yeah" portion of the chorus as snarling with "heavy metal glee." Justman provides extensive keyboards, which Associated Press critic James Simon feels gives the song "a little extra zing." Viglione describes the riff as "Lou Reed's 'Vicious' as performed by his Rock & Roll Animal band on Lou Reed Live at half-speed," also noting that it is a hard rock version of the riff from "Louie Louie". Rolling Stone critic Rob Sheffield notes that the riff was later used by Nirvana in the song "Smells Like Teen Spirit". Reception Viglione finds such a "simple riff rocker" a departure for the J. Geils Band who were then known for blues and R&B, but admits the results are fun to listen to and acknowledges that it and other songs from the Love Stinks album pointed the way toward their pop-oriented 1981 platinum hit album Freeze Frame. AllMusic critic John Franck describes the song as "infectious", noting that it was "one of the band's most recognizable FM songs ever." Music critic Robert Christgau describes the song as "broad" and "uproarious". Rolling Stone critic Dave Marsh considers it one of the J. Geils Band's greatest songs, considering its lyrics to be "a hilarious spoof on new-wave nihilism as well as soul cliche." Rolling Stone critic Rob Sheffield calls it "one of the great trash-rock singles of the '80's." Cash Box said that the "playfully virulent lyric...mixed with Seth Justman’s whirling keyboards, creates an exciting march-like rhythm." Ultimate Classic Rock critic Michael Gallucci rated it to be the band's 3rd greatest song, saying that it incorporates "'60s garage-rock guitar," "late-'70s New Wave synths," and "a singalong chorus straight outta the era's arena rock" that "meet for a glorious collision that results in one of the group's heaviest, and best-loved, songs." The song is mentioned in an episode of Full House where Jesse (John Stamos) and his best friend Pete (Scott Baio) reminisce about once taking over a cantina in Mexico and performing a mariachi version of the song. "Till the Walls Come Tumblin' Down" The B-side of "Love Stinks" was "Till the Walls Come Tumblin' Down", also a track from Love Stinks. Rolling Stone critic Rob Sheffield praised the song, describing it as "rollicking". Cover versions Joan Jett covered the song for the soundtrack of the 1996 movie Mr. Wrong. The song was also featured in the film Opie Gets Laid. It was also covered by Adam Sandler in the movie The Wedding Singer and by Himalayaz with Ms. Toi for the movie Love Stinks. References 1980 singles EMI Records singles Joan Jett songs The J. Geils Band songs Song recordings produced by Seth Justman Songs written by Seth Justman Songs written by Peter Wolf 1980 songs
Douglas Smith (born 1884, date of death unknown) was a Guyanese cricketer. He played in two first-class matches for British Guiana in 1912/13. See also List of Guyanese representative cricketers References External links 1884 births Year of death missing Guyanese cricketers Guyana cricketers Place of birth missing
Johann Christian Heinrich Metzig (20 May 1804 – 1 October 1868) was a German physician born in Schwerin an der Warthe. He was a notable figure of Polish independence efforts in the nineteenth century. He studied medicine in Berlin, and following graduation remained in the city as a military doctor (1826–1831). After a stint as a garrison doctor at Strzalkow, near Wreschen, he was transferred to Lissa, where he served as a military physician. At Lissa he distinguished himself in his skillful work dealing with the severely wounded. In 1848 Metzig began openly working for greater autonomy for the Polish people, proposing the creation of an independent state with its own parliament, constitution and university. His efforts in this cause did not sit well with German authorities. When the military decided to transfer him to Glogau, Metzig refused the move, choosing to stay in Lissa, where he opened a private medical practice. Here he worked tirelessly for the cause of Polish independence until his death in 1868. Published works 1835 "Das Kleid des Soldaten" 1845 "Reform des preußischen Militär-Medizinalwesens" 1848 1. Politische Schrift als Polenfreund nach Niederwerfung des poln. Aufstandes "Friede sei mit euch, liebet einander! Worte der Versöhnung an die Bewohner des Großherzogtums Posen". 1856 Suum cuique (in Polish - Kazdemu swoje) 1862 Die Wiederherstelung Polens (in Polish - Ponowne Powstanie Polski); (Re-establishment of the Polish). 1863 " Die wahre Lösung der preußischen Verfassungswirren" 1863 " Die Polenfrage" 1867 Vive la Pologne! Ein Weckeruf an das traumbefangene Europa (in Polish - Niech zyje Polska! Odezwa w celu zbudzenia uspionej Europy); (Long live Poland!, manifesto for awakening dormant Europe). References Stanisław Jędraś, Przyjaciel Polaków, Przyjaciel Ludu I(XXV) 1990 1804 births 1868 deaths People from Skwierzyna 19th-century German physicians
Aretha Franklin Sings the Great Diva Classics is the thirty-eighth and final studio album by American recording artist Aretha Franklin and was released on October 17, 2014. It features ten covers of songs made famous by female recording artists. This was Aretha's first and only recording for RCA Records, her first studio album to be released under a major label in 11 years (since the release of her 2003 studio album, So Damn Happy), and her first album since 1998 to be executive produced by Clive Davis, her boss at Arista Records, which has since folded into RCA. It is also her last studio album of entirely new and original recordings created prior to her death in 2018; the 2017 album A Brand New Me features vintage vocal performances from the 1960s and 1970s paired with newer orchestral arrangements. Clive Davis called the album "purely and simply sensational" and said of Aretha Franklin, "She's on fire and vocally in absolutely peak form. What a thrill to see this peerless artist still showing the way, still sending shivers up your spine, still demonstrating that all contemporary music needs right now is the voice. What a voice." Production on the album includes R&B producers Kenny "Babyface" Edmonds and Harvey Mason, Jr., hip-hop musician André 3000, and house producers Terry Hunter and Eric Kupper among others. Critical reception At Metacritic, which assigns a normalized rating out of 100 to reviews from mainstream critics, Aretha Franklin Sings the Great Diva Classics has an average score of 66 based on nine reviews, indicating "generally favorable reviews." Rolling Stone journalist Will Hermes called the album a "delightful covers set" that showed that "Aretha can still step into the pop world at whim with total authority." Steve Morse, writing for The Boston Globe, noted that "Divas are everywhere these days, but there’s still only one Aretha. At age 72, Franklin can still shut down the competition with a breathtaking, gospel-trained grace and power." Entertainment Weekly critic Tim Stack found that while Franklin "delivers a rollicking take on Adele's 'Rolling in the Deep'," the "covers of other lady icons — Chaka, Barbra, Etta — feel dated or ill-conceived. It all plays like the official soundtrack to Gay Pride 1977." Allmusic editor Andy Kellman wrote that "if there's one positive thing that can be said about the results, it's that Aretha sounds like she had a ball. The energy she put into these versions helps make up for the vocal shortcomings and audible use of Auto-Tune. She could have played it simple and straight, yet she clearly enjoyed the recording process, from melismatic accents to an abundance of personalized touches [...] Some of the creative moves are very questionable." Commercial performance Aretha Franklin Sings the Great Diva Classics debuted at number 13 on the Billboard 200 in the United States, selling 23,000 copies in its first week. The album is her 38th top 20 album. The album also debuted at number 3 on Billboards Top R&B/Hip-Hop Albums chart. and one on Billboard's R&B albums charts. The first single released from the album was a cover of singer Adele's "Rolling in the Deep", subtitled as "The Aretha Version", which also includes an interpolation of the Marvin Gaye and Tammi Terrell hit, "Ain't No Mountain High Enough". The single debuted at number 47 on the Billboard Hot R&B/Hip-Hop Songs chart. Aretha Franklin thus became the first woman, and fourth artist overall (following Lil Wayne, Jay-Z and James Brown), to place 100 songs on the chart (with her first entry on the chart being "Today I Sing the Blues" in 1960). Track listing Notes signifies a vocal producer "Rolling in the Deep (The Aretha Version)" contains an interpolation of "Ain't No Mountain High Enough" by Marvin Gaye & Tammi Terrell. "I Will Survive (The Aretha Version)" contains an interpolation of "Survivor" by Destiny's Child. Charts Weekly charts Year-end charts Notes Aretha Franklin albums 2014 albums RCA Records albums Disco albums by American artists Covers albums Albums produced by Babyface (musician) Albums produced by André 3000 Albums produced by Clive Davis
Richard John Fowler (March 30, 1921 – May 22, 1972) was a Canadian professional baseball player. Born in Toronto, Fowler was a starting pitcher in Major League Baseball who appeared in 221 total games pitched—170 of them starts (77 percent)—for the Philadelphia Athletics (– and –). He batted and threw right-handed was listed as tall and (15 stone, 5 pounds). Career In his ten-season career, Fowler posted a 66–79 record with 11 shutouts, 75 complete games, 382 strikeouts, and a 4.11 ERA in 1,303 innings pitched, allowing 1,367 hits and 578 bases on balls. He pitched over 200 innings each year from 1946 to 1949, and pitched all 16 innings of a 1–0 loss to the St. Louis Browns in 1942. During World War II, Fowler served with the 48th Highlanders of Canada regiment in the Canadian Army, whose members wear kilts as part of their ceremonial dress. Fowler threw a nine-inning, 1–0 no-hitter against the St. Louis Browns at Shibe Park on September 9, 1945, in his first start in three years and his first major league shutout. Fowler allowed four bases on balls and faced 29 batters, two over the minimum. He was aided by two double plays. Dick Fowler died from kidney and liver ailments at the age of 51 in Oneonta, New York, on May 22, 1972, and last worked as a hotel clerk. Fowler was posthumously named to the Canadian Baseball Hall of Fame in the Class of 1985. See also List of Major League Baseball players from Canada List of Major League Baseball no-hitters List of Major League Baseball players who spent their entire career with one franchise References External links Dick Fowler - Baseballbiography.com Philadelphia Athletics Historical Society The Deadball Era 1921 births 1972 deaths Baseball pitchers Baseball players from Toronto Batavia Clippers players Canadian expatriate baseball players in the United States Charleston Senators players Cornwall Maple Leafs players Major League Baseball pitchers Major League Baseball players from Canada Oneonta Indians players People from Oneonta, New York Philadelphia Athletics players Toronto Maple Leafs (International League) players Canadian Baseball Hall of Fame inductees
```c #define UNW_LOCAL_ONLY #include <libunwind.h> #if !defined(UNW_REMOTE_ONLY) #include "Gia64-test-nat.c" #endif ```
"The Imposter" is a short story written by Nathanael West in the early 1930s; it was not published in West's lifetime and first appeared in The New Yorker on June 2, 1997, and in the Library of America edition of West's collected work: Novels & Other Writings. The story, told by a struggling writer and set among the expatriate community in 1920s Paris, deals with a failed sculptor named Beano Walsh, who claims he cannot create his art since the anatomy books are all wrong. Plot summary The narrator, a struggling writer, knows that to be accepted among American expatriates in Paris in the 1920s, he has to exhibit a certain madness. Since all the obvious forms of craziness have become passé, he decides to exaggerate normality: He is an instant hit and gets invited to all the parties. At one event he meets Beano Walsh, who worked on a coal barge in the East River before he got a scholarship from Oscar Hahn to study sculpture in Paris. Since the narrator is broke, Beano invites him to live in his studio, which he shares with a Belgian prostitute who the previous tenant left. Beano constantly fails at drawing, which sends him into a rage, until he decides to work straight from marble. He fails at that too, smashing a whole truckload in frustration. He studies many anatomy books, but cannot replicate the images, so he destroys them binges. An impending visit by one of Hahn's scouts to check on Beano's progress troubles him and he resolves to present an explanation for his inability to create: he argues all the anatomy books are wrong because they all used models that were five foot ten or less, while the ideal modern man is six feet tall. Beano's solution is to create a new book, and he begins frequenting the morgue in search of a perfect model. One night, as the narrator and three friends sit among the Americans at the Dome, Beano pulls up in a cab and excitedly tells them he has found his perfect specimen, the corpse of a sailor, which he has brought with him, wrapped in brown paper. The group goes up to the cab to look and are repulsed while Beano boasts loudly, causing a crowd to gather, and tears at the paper until the body is naked. A woman trying to get into the cab sees the corpse and screams, causing policemen to come over. Beano knocks one of the policemen into the gutter and is taken away with the corpse, with the narrator and their friends in tow. At the station Beano is brought before a magistrate and claims he was defending his property, refusing to be separated from the corpse and claiming that to do so would impede the progress of art. The magistrate is amused and says that he, like all the French, loves art and would not stand in its way, and sends Beano to his cell with the corpse. He also instructs the narrator to inform Hahn's agent, and send drawing paper. The narrator calls the agent who promises to bring a French lawyer to the trial. A crowd gathers for the trial, and the narrator accompanies the turnkey and a few others to fetch Beano. At first they don't see anyone in the cell, and the turnkey sounds the alarm. They find the corpse torn and broken, with one arm skinned, lying on a bench and the floor covered with Beano's crude drawings of the arm. They finally find Beano huddled under the bench with his face to the wall. He won't move or speak and the turnkey and cops have to drag him out. The narrator thinks Beano winks at him, but isn't sure. Beano isn't arraigned and sent to a hospital in the country by Hahn's agent. The narrator visits him a week later, but can't get him to speak, and goes to the doctor in charge to tell him that Beano is only pretending to be crazy to fool the police. The doctor says that he thought so at first too, but later decided that Beano is truly insane, but since he knew it all along he was able to control what he showed the outside world, until he finally went too far. On the train back to Paris, the narrator suspects that the doctor himself might be crazy, but later decides he must have been right since Beano is still in an asylum. Early versions The story was discovered among West's papers after his death in two typescript versions. The first is 22 pages long and was originally titled "The Fake," then retitled "L'Affaire Beano"; the second, an incomplete revision of the first version, is 14 pages long and was titled "L'Affaire Beano" before being retitled "The Imposter." The published version is made up of the revised second typescript, with the conclusion from the original typescript. Links to West's life and other works Though West spent a few weeks in Paris in 1926 and met various artists and writers including Max Ernst and Henry Miller, he would later claim that he had in fact lived in poverty there for several years, much like the narrator of this story. The specific "madness" the narrator tries to feign by exaggerating normality is also similar to West's perceived persona while he was a student at Brown University, where he often wore Brooks Brothers suits and was considered a "dandy" by his schoolmates. The theme of failure, which appears in all of West's novels and seems to infect all of his protagonists, occurs here as well. All of West's characters, including Beano Walsh, fail consistently and regularly, as in the short story "Western Union Boy", where the title implies a certain class of people who cannot help but fail: "What they are doing is failing, mechanically, yet desperately and seriously, they are failing. The mechanical part of it is very important." The twin themes of art and the deception which may lay at its core link this story to The Dream Life of Balso Snell, where the title character comes across countless artists and writers, who try to present themselves a certain way but may all be charlatans. Footnotes 1997 short stories Short stories by Nathanael West Short stories set in Paris Works originally published in The New Yorker Short stories published posthumously
Högstadium ("high-stadium" or "upper stage") is a Swedish former term for the seventh to ninth grade (grundskola) of the Swedish school system. Since 1994, it is no longer in official use, but the term is still used informally. After högstadiet ("the high-stadium"), there is no compulsory school attendance; however, most Swedish students go on to the gymnasium for three more years of studies. The term was also used for grades 7–9 in Finland from the 1970s and up to 1999. The Norwegian equivalent is known as "Ungdomsskolen", covering grades 8th–10th. References Education in Sweden Education in Finland 1994 disestablishments in Sweden 1999 disestablishments in Finland fi:Peruskoulu#Opettajat ja koulutilat
The Singapore Cancer Society (SCS), founded in 1964, is the largest cancer advocacy and support organisation in Singapore. History Established in 1964, Singapore Cancer Society is a self-funded voluntary welfare organisation which is dedicated to minimize the impact of cancer in Singapore through the provision of cancer treatment subsidies, financial and welfare aid to needy cancer patients, home hospice care services for terminally-ill cancer patients, as well as rehabilitation support programs for recovering cancer patients and cancer survivors. The organization was formed by the members of the Lions Club, the Jaycees and the Rotary Club of Singapore West. In addition, the Society also provides free cancer screening services and promotes cancer awareness and prevention through its public education and community outreach programmes. Annually, the SCS helps more than 2,000 needy cancer patients and reaches out to more than 100,000 individuals through its cancer screening, public educational and community outreach programmes. See also List of voluntary welfare organisations in Singapore Norwegian Cancer Society Sources Cancer in Asia: Opportunities for Prevention, Detection, and Treatment. (1976). Japan: University Park Press. The SAGE Encyclopedia of Cancer and Society. (2015). United States: SAGE Publications. Cancer Education in Schools: A Guidebook for Teachers. (1978). Germany: International Union Against Cancer. References Cancer organizations Medical and health organisations based in Singapore
is a Japanese professional Nippon Professional Baseball player. He is currently with the Saitama Seibu Lions in Japan's Pacific League. External links 1981 births Living people Baseball people from Gunma Prefecture North Shore Honu players Japanese expatriate baseball players in the United States Nippon Professional Baseball pitchers Seibu Lions players Saitama Seibu Lions players
The Strand Hotel is a historic apartment hotel at 6315-6323 S. Cottage Grove Avenue in the Woodlawn neighborhood of Chicago, Illinois. Opened in 1915, the hotel offered both traditional guest rooms and long-term residences for customers who sought luxury amenities in apartment-style housing. Architects Davis & Davis designed the Classical Revival building, which has a red brick exterior with a terra cotta clad first floor, piers outlined in terra cotta, and an entablature and cornice at its roof. The hotel included a restaurant and banquet hall, the latter of which was used as a live music venue for many years. Once part of a major commercial district in Woodlawn, the hotel is now one of its few remnants and the only surviving apartment hotel building in the neighborhood. The hotel was added to the National Register of Historic Places on January 29, 2013. References External links Hotel buildings on the National Register of Historic Places in Chicago Neoclassical architecture in Illinois Hotel buildings completed in 1915
Sacy () is a former commune in the Yonne department in Bourgogne-Franche-Comté in north-central France. On 1 January 2016, it was merged into the commune of Vermenton. See also Communes of the Yonne department References Former communes of Yonne
Christian Life College (CLC) is a private, non-profit four-year undergraduate college located in Stockton, California. The college was formerly known as Western Apostolic Bible College until 1980. As of the 2018–2019 school year, the college had 166 students with 52% female and 48% male. The college is the first college endorsed by the UPCI to achieve regional accreditation; it is accredited by the Western Association of Schools and Colleges (WASC). The college has a close relationship with Christian Life Center; a megachurch in San Joaquin County, California. History Christian Life College was first established as Western Apostolic Bible College (WABC) by Clyde J. Haney after seeing the need for ministerial training in the Oneness Pentecostal Movement. The beginnings of the college began with a series of short-term institutes in 1949. Clyde J. Haney went on to officially incorporate WABC in 1956. After Clyde Haney was killed in an automobile accident. his son, Kenneth F. Haney became the Senior pastor of Stockton's First United Pentecostal Church (later to be known as Christian Life Center in 1978), and President of WABC. In 1980, Haney changed the name of Western Apostolic Bible College to Christian Life College. In 1994, CLC was granted approval by the State of California's Bureau for Private Postsecondary Education as a degree-granting institution. In 2001 he was elected as the General Superintendent of the United Pentecostal Church International. Kenneth Haney subsequently moved to the UPCI headquarters in St. Louis, Mo. Upon Kenneth Haney's departure, his son, Nathaniel Haney was elected as the Senior Pastor of Christian Life Center and chairman of the Board of Directors of Christian Life College, while Daniel Segraves served as president of the college. Segraves served as president for five years before moving to St. Louis, Mo. Nathaniel Haney filled the role of both chairman of the board and President until Rev. Eli M. Lopez was elected as president in 2015. Lopez has served in that capacity until present. CLC/WABC has over 6,000 alumni. In July 2019, CLC received regional accreditation from the Western Association of Schools and Colleges, making it the first UPCI endorsed accredited college. Academics Overview Christian Life College follows a semester academic term with Fall semester typically starting in mid-August and Spring semester ending in mid-May. The awarding of a bachelor's degree at Christian Life College requires at least 120 semester credits consisting of 60 credits in the degree and concentration, 50 credits in General Education and College Core, and 10 in open electives. Including the various concentrations offered, CLC currently offers a total of six undergraduate degree programs. Requirements for the Bachelor of Arts degree include fulfilling the lower division requirements found in the Associate of Arts degree in the same discipline. Students are granted access to over 18,000 volumes in the Hogue Library, including a collection of classic academic works, a collection of reference books for theological research and exegesis, and an extensive holding of Oneness Pentecostal theological, ministerial and biographical works, along with materials on a variety of other subjects pertinent to the college's programs. Programs Bible and Theology CLC's Bible and Theology program provides students with an exposure to Oneness Pentecostal Theology, instruction to develop skills for preaching and teaching, and a pathway to contribute to scholarly research through theological writing. Topics covered within the program include Christian Apologetics, outreach, Oneness Pentecostal theology, biblical Hebrew and Greek languages for exegesis, ministerial leadership, history of the church, and eschatology. General Ministry The General Ministry program is designed to give students a broad understanding of the bible and an understanding of contemporary ministry expression. The program offers students various concentration tracks that can be coupled with the General Ministry degree including Christian Music, Missiology, Media and Communications, Leadership, and Deaf Ministry. Business Administration The Business Administration program is designed to train individuals who wish to develop a professional discipline with a Christian worldview. Topics covered within the program include leadership, marketing promotions, non-profit management, financial accounting for management, human resources, business ethics, project management, and business and non-profit law. Learning Resource Center The Learning Resource Center (LRC) is designed as an extension of Christian Life College education. The center was established to meet the academic needs of the student body. The LRC comprises the Reading and Writing Center, tutoring services, and the Hogue Library. The Reading and Writing Center offers students guidance in academic writing and reading comprehension, while the tutoring services provide academic support for other areas concerning course materials. Student life Student Senate The Student Senate is composed of elected leaders within the class cohorts and elected student association team leaders. Class cohorts and student association teams elect a president, vice president, and secretary on a yearly basis. The Student Senate in turn is led by a president, vice president, and secretary also elected on a yearly basis. Campus and facilities Overview Christian Life College is located on a gated campus of almost 20 acres in Stockton, CA. Of the seven buildings on the campus, five are used almost exclusively by the college. The buildings used predominantly by the college are the Darryl L. Siebold Communications Center, Hogue Library, Student Center, Christian Life Center, and the student dormitories. The campus also includes a large outside pavilion and fireplace and a baseball diamond for student recreation. Darryl L. Siebold Communications Center The 10,000 square foot Darryl L. Siebold Communications Center houses the college's main business office, college bookstore, and KYCC radio network which broadcasts 24 hours a day throughout the Northern and Central San Joaquin Valley and online. As part of the dream of Christian Life College's second president, Kenneth Haney, the radio station's first call letters were “KCJH” in honor of his late father, Clyde J. Haney. In 1997, KCJH added a second station to its network that eventually led to a change in the radio stations call letters to “YCC” meaning “Your Christian Companion”. Though KYCC is a hallmark of the 20 acre campus, it operates independently of Christian Life College. Bookstore The Christian Life College Bookstore is a public Christian bookstore offering a variety of theological works by Oneness Pentecostal authors along with other theological works required for the academic programs. Hogue Library The 12,000 square foot Hogue Library features the college library and the Learning Resource Center. The Hogue Library contains over 18,000 volumes, a computer laboratory, faculty and staff offices, a keyboard lab for music students, and classrooms. Student Center The 10,000 square foot Student Center houses a dining room capable of seating 300 people along with a furnished student lounge. The Student Center also includes an executive dining room capable of seating 35 people, a modern commercial kitchen, and two 1,200 square foot apartments occupied by college staff families. Christian Life Center The 25,000 square foot auditorium includes seating for 2,100 people. Although the facility is shared with the Christian Life Center church, the facility is used by the college for chapel worship services, classrooms, and offices throughout the week. Dormitories Dormitories consist of two identical facilities of 32 rooms each. Each room includes a private full bath, custom made furniture, and twin size bed. Each facility also includes washing machines and dryers for student use. See also United Pentecostal Church International Western Association of Schools and Colleges References Pentecostalism in California Universities and colleges affiliated with the United Pentecostal Church International Schools accredited by the Western Association of Schools and Colleges Universities and colleges in San Joaquin County, California Education in Stockton, California
Asia Pacific Harmonica Festival (APHF, Chinese:亞太口琴節, Japanese:アジア太平洋ハーモニカ大会) is one of the world's largest harmonica events. It is held every two years. The first APHF was held in Taipei in 1996. List of APHF Events External links 5th APHF 2004 Official Homepage 7th APHF 2008 Official Homepage 9th Asia Pacific Harmonica Festival Memorial Official Website 10th Asia Pacific Harmonica Festive Official Website A Music festivals in Asia Music festivals in Oceania
Simon Tüting (born 7 September 1986) is a German former professional footballer who played as a midfielder. Club career Tüting was born in Bramsche, Lower Saxony. In 2007, he left VfL Osnabrück for then Bundesliga side Hansa Rostock. For Rostock he made one Bundesliga appearance and another five in the 2. Bundesliga after the club was relegated. On 8 July 2009, 1. FC Magdeburg announced they had signed Tüting on a one-year contract, and he joined Chemnitz eighteen months later. In early February 2015, he returned to VfL Osnabrück after seven and a half years. He joined the club from 2. Bundesliga side SV Sandhausen and signed a contract until 2017. References External links Simon Tüting Interview 1986 births Living people People from Bramsche Footballers from Lower Saxony Men's association football midfielders German men's footballers VfL Osnabrück players FC Hansa Rostock players 1. FC Magdeburg players Chemnitzer FC players SV Sandhausen players Bundesliga players 2. Bundesliga players 3. Liga players
```python import os import hou import unittest local_dir = os.path.dirname(__file__) class TestStringMethods(unittest.TestCase): @classmethod def setUpClass(cls): pass def test_1_test_demoscenes(self): demo_files = os.listdir(os.path.dirname(local_dir) + "/hip") for demo_file in demo_files: if demo_file.endswith(".hip"): print "opening", demo_file try: hou.hipFile.load(os.path.join(os.path.dirname(local_dir), "hip", demo_file).replace("\\", "/")) GameDevNodeInstances = [x for x in hou.node("/").allSubChildren() if x.type().nameComponents()[1] == "gamedev"] for node in GameDevNodeInstances: if node.type().definition().nodeType().name() != hou.nodeType(node.type().definition().nodeTypeCategory(), node.type().definition().nodeTypeName()).namespaceOrder()[0]: print "Warning... Node instance is using older definition:", node.path() except Exception, e: print str(e) pass if __name__ == '__main__': unittest.main() ```
Chavadipalayam railway station is a station near Erode in Tamil Nadu, India. It is located along the Erode–Tiruchirappalli line between and . Goods terminal A goods terminal has been developed by a private sector company in this station. It has a facility to serve goods traffic of half rake/full rake inward and outward goods from locals through booking. References Railway stations in Erode district Salem railway division
```turing # # This software may be used and distributed according to the terms of the # directory of this source tree. $ . "${TEST_FIXTURES}/library.sh" $ hook_test_setup \ > block_commit_message_pattern <( > cat <<CONF > log_only=true > config_json='''{ > "pattern": "([@]nocommit)", > "message": "Message contains nocommit marker" > }''' > CONF > ) $ hg up -q tip Push a commit that fails the hook, it is still allowed as the hook is log-only. $ echo "foo" >> foo $ hg ci -Aqm $"Contains @""nocommit" $ hgmn push -r . --to master_bookmark pushing rev d379d7937ea5 to destination mononoke://$LOCALIP:$LOCAL_PORT/repo bookmark master_bookmark searching for changes adding changesets adding manifests adding file changes updating bookmark master_bookmark $ jq < $TESTTMP/hooks-scuba.json -c '[.normal.hook, .int.failed_hooks, .normal.log_only_rejection]' ["block_commit_message_pattern",0,"Message contains nocommit marker"] ```
```scss @import "common.scss"; html { position: relative; min-width: 320px; } html, body { min-height: 100%; height: 100%; } body { font: 12px/16px $font-family; color: $default-text; @include main-background(); display: flex; align-items: center; } .page-not-found-modal { width: 638px; margin: 0 auto; @include bg-translucent-dark(0.5); border-radius: 5px; font-weight: $font-light; color: #ffffff; padding: 32px; text-align: center; h1 { font-weight: $font-light; margin-bottom: 32px; } p { font-size: 16px; line-height: 24px; } a { text-decoration: none; outline: none; transition: all 0.2s ease; color: $primary; display: inline-block; &:hover { color: $primary-dark; } } } ```
Kevin Hart: Laugh at My Pain is a 2011 stand-up comedy documentary film, starring comedian Kevin Hart. It features Hart performing a stand-up special at the Nokia Theater at L.A. Live in Downtown Los Angeles, among other material. Taraji P. Henson and RuPaul appear, among others. References External links 2011 films 2011 documentary films Stand-up comedy concert films Comedy Central films Films directed by Leslie Small Films directed by Tim Story 2010s English-language films
Regulatory technology, Abrv: RegTech, is the use of information technology to enhance regulatory and compliance processes. RegTech is most usefully applied to heavily regulated industries and activities such as financial services, gaming, healthcare, pharmaceutical, energy and aviation. RegTech puts a particular emphasis on regulatory monitoring, reporting and compliance and aims to enhance transparency as well as consistency and to standardize regulatory processes, to remove ambiguity from regulations and provide higher quality outcomes at a lower cost. RegTech to date has been focused on the digitization of manual reporting and compliance processes in the financial services industry, for example in the context of know your customer requirements, and is often mis-attributed as a subset of FinTech. Its application to wider industries, such as energy, confirm that RegTech is a subset of GovTech. RegTech offers significant cost savings to industry and regulators and a 2016 academic paper suggested that the potential of RegTech is far greater stating that "it has the potential to enable a close to real-time and proportionate regulatory regime that identifies and addresses risk while also facilitating far more efficient regulatory compliance". The report goes on to suggest that RegTech's transformative potential will only be fully captured by a new and different regulatory framework situated at the nexus of data and digital identity. The developments in FinTech, the tremendous changes in emerging markets, and the recent pro-active stance of regulators (for instance with the development of regulatory sandboxes), may potentially combine to facilitate a transition from one regulatory model to another. Origin At a governmental level, the FCA was the first governmental body to establish and promote the term RegTech, defining this as: "RegTech is a sub-set of FinTech that focuses on technologies that may facilitate the delivery of regulatory requirements more efficiently and effectively than existing capabilities". In March 2015, a report by the UK Government Chief Scientific Adviser, stated that "FinTech has the potential to be applied to regulation and compliance to make financial regulation and reporting more transparent, efficient and effective – creating new mechanisms for regulatory technology, RegTech". Yet the vision of a technology led regime has already been proposed as early as 2014, by Andy Haldane, during a keynote address at Birmingham University I have a dream. It is futuristic, but realistic. It involves a Star Trek chair and a bank of monitors. It would involve tracking the global flow of funds in close to real time (from a Star Trek chair using a bank of monitors), in much the same way as happens with global weather systems and global internet traffic. Its centerpiece would be a global map of financial flows, charting spill-overs and correlations. On the private sector side, two pressure points have facilitated the development of RegTech. On the expense side, post-crisis fines have exceeded US$200 billion, and the ongoing cost of regulation and compliance has become a primary concern industry-wide. On the revenue side, competition from FinTech companies is expected to put US$4.7 trillion of revenues at risk. These expense and revenue factors are driving the development of RegTech. As with FinTech, the 2008 GFC represented a turning point in the development of RegTech. However, the factors underlying, and the beneficiaries of, RegTech are quite different. FinTech growth has been led by start-ups (now increasingly partnering with, or being acquired by, banks and other traditional financial institutions), whilst RegTech developments to date are primarily a response to the huge costs of complying with new institutional demands by regulators and policy-makers. For the financial services industry, the cost of regulatory obligations has dramatically increased, such that 87% of banking CEOs in one survey consider these costs as a source of disruption. This provides a strong economic incentive for more efficient reporting and compliance systems to better control risks and reduce compliance costs. Furthermore, the massive increases in the volume and types of data that have to be reported to regulatory authorities represent a major opportunity for the automation of compliance and monitoring processes. For the financial services industry, the application of technology to regulation and compliance has the scope to massively increase efficiency and achieve better outcomes. References Financial regulation
```xml /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; import { Observable } from 'rxjs'; import { Message } from '../entity/Message'; import { Users } from '../entity/Users'; import { BaseService } from './base.service'; @Injectable({ providedIn: 'root' }) export class UsersService extends BaseService<Users> { constructor(private _httpClient: HttpClient) { super(_httpClient, '/users'); } generatePassword(params: NzSafeAny): Observable<Message<Users>> { return this.http.get<Message<Users>>(`${this.server.urls.base}/randomPassword`, { params: this.parseParams(params) }); } getProfile(): Observable<Message<Users>> { return this.http.get<Message<Users>>('/users/profile/get', {}); } updateProfile(body: any): Observable<Message<Users>> { return this.http.put<Message<Users>>('/users/profile/update', body); } } ```
is a Japanese voice actress and singer from Osaka Prefecture, Japan. In December 2017, she put her singing career on hold to focus on her voice acting career. She announced her marriage on September 26, 2019. On July 17, 2020, she announced that she had given birth to a baby boy. Filmography Anime 2011 Infinite Stratos, Kagura Shijūin The Idolmaster, Takane Shijō Sket Dance, Sawa Yamauchi 2012 Dusk Maiden of Amnesia, Yūko Kanoe Ginga e Kickoff!!, Mrs. Mochizuki Lagrange: The Flower of Rin-ne, Inaho Yukawa 2013 Log Horizon, Marielle Ro-Kyu-Bu! SS, Aya Miyakōji 2014 Trinity Seven, Lilith Asami Log Horizon 2, Marielle 2015 Overlord, Albedo Mysterious Joker, Ai Shomin Sample, Eri Hanae, Marika (Ep. 5), Fortuneteller Moon (Ep. 8) Utawarerumono: Itsuwari no Kamen, Atui 2016 Anne Happy, Kodaira Ange Vierge, Almaria Brave Witches, Aleksandra I. "Sasha" Pokryshkin Hitori no Shita: The Outcast, Fuusaen The Ancient Magus' Bride: Those Awaiting a Star, Niikura, Mayumi + Maho 2017 Chaos;Child, Yui Tachibana Ren'ai Bōkun, Shikimi Shiramine Tales of Zestiria the X, Muse 2018 A Certain Magical Index III, Oyafune Suama Ms. Koizumi Loves Ramen Noodles, Jun Takahashi Overlord (Season 2 and 3), Albedo Magical Girl Site, Kosame Amagai How Not to Summon a Demon Lord, Alicia Cristela 2019 Isekai Quartet, Albedo Val × Love, Futaba Saotome 2020 Isekai Quartet 2, Albedo Kakushigoto, Kumi Jouro 2021 Log Horizon: Destruction of the Round Table, Marielle Heaven's Design Team, Ueda How Not to Summon a Demon Lord Ω, Alicia Cristela Scarlet Nexus, Kyoka Eden 2022 Life with an Ordinary Guy Who Reincarnated into a Total Fantasy Knockout (Episode 8), Priestess Overlord (Season 4), Albedo Utawarerumono: Mask of Truth, Atui Original video animation (OVA) Senran Kagura: Estival Versus – Festival Eve Full of Swimsuits (2015), Yumi Strike Witches: Operation Victory Arrow (2015), Aleksandra I. "Sasha" Pokryshkin Bikini Warriors (2016), Kunoichi Girls und Panzer: Das Finale (2017), Marie Theatrical animation Strike Witches: The Movie (2012), Aleksandra I. "Sasha" Pokryshkin The Idolmaster Movie: Beyond the Brilliant Future! (2013), Takane Shijō Accel World: Infinite Burst (2016), Utai Shinomiya/Ardor Maiden New Initial D the Movie Legend 3: Dream (2016), Mako Sato Trinity Seven the Movie: The Eternal Library and the Alchemist Girl (2017), Lilith Asami Trinity Seven: Heavens Library & Crimson Lord (2019), Lilith Asami Original net animation (ONA) Puchimas! Petit Idolmaster (2014), Takane Shijō; Takanya Video games Criminal Girls (2010), Tomoe Harukawa Senran Kagura Shinovi Versus (2013), Yumi Akiba's Trip (2013), Sara Criminal Girls: Invitation (2013), Tomoe Harukawa Omega Quintet (2014), Shiori Atelier Shallie: Alchemists of the Dusk Sea (2014), Rosemia Granblue Fantasy (2014), Zalhamelina Mobius Final Fantasy (2015), Sarah Senran Kagura Estival Versus (2015), Yumi Tales of Zestiria (2015), Muse Tekken 7 (2015), Kazumi Mishima Utawarerumono: Itsuwari no Kamen (2015), Atui Utawarerumono: Futari no Hakuoro (2016), Atui Drive Girls (2017), Regalith Accel World vs. Sword Art Online: Millennium Twilight (2017), Utai Shinomiya/Ardor Maiden Senran Kagura: Peach Beach Splash (2017), Yumi Fate/Grand Order (2018), Anastasia Nikolaevna Romanova Brown Dust (2018), Celia BlazBlue: Cross Tag Battle (2019), Yumi (Senran Kagura) Azur Lane (2020), Peter Strasser The Legend of Heroes: Trails Through Daybreak II (2022), Naje Berca The Idolmaster series – Takane Shijō Corpse Party series – Satsuki Mizuhara Mugen Souls series – Dees Vanguard Valkyrie Drive: Bhikkhuni series – Mana Inagawa Nier Reincarnation - Mama Counterside - Carmen Freaked Fleapit - Sally Discography Singles "Hanabi" (August 22, 2012) "Hotarubi" (March 27, 2013) "intention" (July 24, 2013) "Rose on the breast" (June 25, 2014) "Crossover" (October 29, 2014) "improvisation" (May 27, 2015) "Twilight ni Kienaide" (November 25, 2015) "Prism Rain" (June 22, 2016) "If you..." (January 25, 2017) Albums Place of my life (December 25, 2013) Kokoro ni Saku Hana (September 25, 2015) YOU&ME (March 14, 2018) Music videos Catch my voices (January 28, 2015) References External links Official profile Personal blog 1985 births Voice actresses from Osaka Prefecture Living people Japanese video game actresses Japanese voice actresses Japanese women pop singers Singers from Osaka Prefecture 21st-century Japanese actresses 21st-century Japanese women singers 21st-century Japanese singers Arts Vision voice actors
```javascript 'use strict'; require('../common'); const fixtures = require('../common/fixtures'); const { execFileSync } = require('child_process'); const cjsModuleWrapTest = fixtures.path('cjs-module-wrapper.js'); const node = process.execPath; execFileSync(node, [cjsModuleWrapTest], { stdio: 'pipe' }); ```
Michael or Mike Barnard may refer to: Mike Barnard (sportsman, born 1933) (1933–2018), English cricketer and footballer Mike Barnard (cricketer, born 1990), English cricketer Michael Barnard (darts player) (born 1976), English darts player Michael Barnard (politician) (1942–1999), Australian politician
Big Ballet is a 2014 British documentary program that follows Wayne Sleep and prima ballerina Monica Loughman as they help a troupe of amateur plus-size dancers realize their dream of dancing Swan Lake. The three-episode series, produced by Rare Day and broadcast on Channel 4, premiered on February 6, 2014. The dancers, referred to in the show as "fat" or "real women", range from UK size 12 to 24 – significantly larger than the norm in classical ballet. Eighteen dancers were selected from a pool of more than 500 applicants to participate in the series. Cast Big Ballet features Matthew Bourne, Derek Deane, Patricia Doyle, David Plumpton, Tamara Rojo, David Nixon and the English National Ballet. Set It was predominantly filmed at the Northern Ballet; its final performance was staged at St George's Hall, Bradford in front of 1,500 people. Episodes Adaptation In 2021, an American series based on Big Ballet premiered on Fox called The Big Leap, which ran for one season. The show adapted the premise of Big Ballet into a fictional comedy-drama. References External links Big Ballet at Channel 4 Big Ballet at YouTube 2014 British television series debuts 2014 British television series endings Channel 4 documentaries 2010s British documentary television series Television shows set in Yorkshire English-language television shows Dance television shows
Deighton may refer to: People Ernest Deighton (1889–1957), flying ace Jack Deighton, English footballer Jeremy Deighton (born 1988), American soccer player John Deighton (1830–1875), bar owner Len Deighton (born 1929), author Matt Deighton, singer-songwriter, member of Mother Earth Michelle Deighton, model Places Deighton, Hambleton, a village and civil parish in the Hambleton district of North Yorkshire Deighton, Huddersfield, a district of Huddersfield, West Yorkshire Deighton railway station Deighton, York, a village and civil parish in the unitary authority of the City of York, North Yorkshire Kirk Deighton, a village and civil parish in Leeds metropolitan District, West Yorkshire North Deighton, a village and civil parish in the Harrogate district of North Yorkshire, England See also Dighton (disambiguation)
Gina Philips (née Consolo; born May 10, 1970) is an American actress. She had recurring roles on David E. Kelley's Ally McBeal, as Sandy Hingle, and Boston Public, as Jenna Miller. She is perhaps best known as Trish Jenner in the horror film Jeepers Creepers (2001). She reprised her role in a cameo in Jeepers Creepers 3 (2017). Early life and education Philips was born in Miami Beach, Florida, to an Italian father and an Ashkenazi Jewish mother. She attended the University of Pennsylvania but dropped out halfway through her senior year, in order to pursue acting. However, they allowed her to walk through graduation with the rest of her graduating class since she was only one class shy. Philips is known for her recurring roles on David E. Kelley's Ally McBeal as Sandy Hingle and Boston Public as Jenna Miller. She has also made guest appearances on Star Trek: DS9, Sliders, ER, CSI, Medium and Monk. Career Philips landed her first supporting film role in Deadly Invasion: The Killer Bee Nightmare. It aired on the Fox Network on March 7, 1995. In 1996, Philips had a small role in Unforgivable as Tammy, the daughter of an abusive father. The film premiered on April 30, 1996, on CBS, and received little to no critical acclaim. In 1997, Philips played her first lead role in Born Into Exile as Holly, a 14-year-old runaway. In 2001, Philips was cast as a lead in the 2001 horror film Jeepers Creepers. The film received mixed reviews from critics. In 2003, Philips was originally going to appear again as Trish Jenner in Jeepers Creepers 2, as the plot was about her character and Patricia Belcher's character hunting down The Creeper, but the plot changed considerably during script rewrites, with Philips turning down what had become a minor role. Her next film was the American comedy drama The Anarchist Cookbook, which received mostly negative reviews. In 2004, she starred in the low budget horror films Dead & Breakfast and Jennifer's Shadow. In 2006, Philips again played a lead in a low-budget horror film, Ring Around the Rosie as a young woman plagued by horrible visions and dreams of tragic past events while spending time at her grandparents' secluded summerhouse. The next year she starred in the horror film The Sickhouse and the Lifetime television film My Baby Is Missing. The film was released as a DVD under the title Stolen Innocence on 7 January 2010. In 2011, she began work on the Jennifer Lynch film Chained (previously titled Rabbit) a Canadian psychological thriller filmed in Regina, Saskatchewan and released in 2012. She reprised her previous role, in a brief cameo, in the third Jeepers Creepers film, Jeepers Creepers 3. Shooting began in Louisiana in February 2017, and the film was released in September of that year. Filmography Films TV series References External links American film actresses American television actresses American people of Italian descent American people of Jewish descent Actresses from Florida Living people 20th-century American actresses 21st-century American actresses People from Miami Beach, Florida 1970 births
The are a baseball team in the Shikoku Island League Plus of Japan. Established in 2005, the Fighting Dogs play their home games mainly at Kōchi Stadium in Kōchi city of Kōchi Prefecture. The Dogs were the winners of the League's inaugural 2005 season. They won the 2009 season title by beating Nagasaki Saints in the Island League playoff. Notable players Manny Ramirez Lars Anderson Hideki Irabu Frédéric Hanvi Dioni Soriano Katsuya Kakunaka Takeshi Yamamoto External links Kōchi Fighting Dogs (in Japanese) Baseball teams in Japan Baseball teams established in 2005 Sports teams in Kōchi Prefecture 2005 establishments in Japan
```objective-c /******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 * * by the Xiph.Org Foundation path_to_url * * * ******************************************************************** function: LSP (also called LSF) conversion routines last mod: $Id: lsp.h 16227 2009-07-08 06:58:46Z xiphmont $ ********************************************************************/ #ifndef _V_LSP_H_ #define _V_LSP_H_ extern int vorbis_lpc_to_lsp(float *lpc,float *lsp,int m); extern void vorbis_lsp_to_curve(float *curve,int *map,int n,int ln, float *lsp,int m, float amp,float ampoffset); #endif ```
Isak Doera (September 29, 1931 – May 19, 2012) was an Indonesian Roman Catholic bishop. Ordained in 1959, Doera was named a bishop of the Roman Catholic Diocese of Sintang, Indonesia in 1976. He resigned in 1996. He died on May 19, 2012, in Jakarta due to complications of his diseases and nervous problems. Notes 1931 births 2012 deaths 20th-century Roman Catholic bishops in Indonesia People from Ende Regency
Port of Brisbane Motorway is a motorway which connects the Port of Brisbane to the Gateway Motorway. Stage 1 was opened in December 2002. The motorway was built to take freight traffic off Lytton Road, with about 4,000 vehicles travelling to the Port of Brisbane in 2002. Stage 1 cost A$196 million and was finished six months ahead of schedule and A$20 million under budget. The Port of Brisbane Motorway holds the M4 motorway designation. Stage 2 includes a three kilometre extension of the existing motorway through to Pritchard Street. Construction commenced in April 2011 with completion in February 2013. The project was named Port Connect, an A$385 million upgrade. A further stage of upgrade was completed on the connecting roads to the port. The project was named Port Drive Upgrade, an A$110 million upgrade from the eastern end of the Port of Brisbane Motorway through to Port Gate. Construction commenced in Q3 2016 and completed mid 2018. It included duplication of Port Drive, an overpass at Kite Street intersection and duplication of Lucinda Drive. Interchanges The entire motorway is in the City of Brisbane local government area. Road diagram The accompanying diagram shows the interchanges with and overpasses of the Port of Brisbane Motorway. Gallery See also Freeways in Australia Freeways in Brisbane References Highways in Queensland Roads in Brisbane Transport infrastructure completed in 2002 2002 establishments in Australia
Socka (; ) is a settlement in the Municipality of Vojnik in eastern Slovenia. It lies on the road north of Nova Cerkev towards Vitanje. The area is part of the traditional region of Styria. It is now included with the rest of the municipality in the Savinja Statistical Region. Name Socka was attested in written sources in 1173 as Ainoht (and as Aynat in 1403–04 and Ainedt in 1441). The Slovene name Socka is derived through vowel reduction from *Sǫtěska, literally 'gorge'. The settlement was named for the Socka Gorge on the Hudinja River between Zavrh Hill (907 m) and Kozjek Hill (748 m) north of the settlement. The name of the gorge is also a reduced form derived from the common noun *sǫtěska 'gorge'. The settlement was known as Einödt in German. References External links Socka on Geopedia Populated places in the Municipality of Vojnik
German Caribbeans are people who live in the Caribbean, but come from Germany, or are descended from Germans. German Caribbeans include: German Haitians Germans in Jamaica German immigration to Puerto Rico See also German interest in the Caribbean for German government policies Ernst Thälmann Island for a presumable German possession in the Caribbean Ethnic groups in the Caribbean
Carol Anmuth Nemeyer (January 29, 1929 – June 30, 2008) was an American librarian and a president of the American Library Association from 1982 to 1983. she married Lieutenant Commander Sheldon Nemeyer on September 23, 1950. As ALA president, Nemeyer set up a commission to "call national attention to problems threatening broad and equal opportunities for public access to information, including obvious questions of library support." The Commission on Freedom and Equality of Access to Information was chaired by Dan Lacy of McGraw-Hill. Nemeyer graduated from Berea College and Columbia University's School of Library Service. She worked as the librarian at the McGraw-Hill Publishing Company before she joined the staff of the Association of American Publishers in the early 1970s. In 1977, she joined the Library of Congress as the associate librarian for national programs. Carol and her husband Sheldon Nemeyer retired in 1986 and lived on a boat, sailing the Caribbean from Fort Lauderdale, Florida. References 1929 births 2008 deaths American librarians American women librarians Presidents of the American Library Association Librarians at the Library of Congress Berea College alumni Columbia University School of Library Service alumni 20th-century American women 20th-century American people 21st-century American women
Leith Stevens (September 13, 1909 – July 23, 1970) was an American music composer and conductor of radio and film scores. Early life and education Leith Stevens was born in Mount Moriah, Missouri, He was a child prodigy pianist who accompanied operatic vocalist and early audio recording artist Madame Schumann-Heink. During World War II Stevens worked as radio director for the Southwest Pacific Area for the U.S. Office of War Information. He was musical director of the War Production Board (WPB) series Three Thirds of a Nation presented on Wednesdays on the NBC Blue Network. Career As early as 1934, Stevens was active in radio broadcasting. Radio highlights in an April 28, 1934, newspaper listed "Romantic songs have been chosen by Charles Carlile, tenor, for his broadcast with Leith Stevens' orchestra over WBBM at 5:45." Stevens worked as an arranger for CBS radio, and his numerous radio credits over several decades include The Abbott and Costello Show, Academy Award Theater, Action Eighty, American School for the Air, Arch Oboler's Plays, Big Town, The Black Book, CBS Radio Workshop (later called Columbia Workshop), The Doctor Fights, Encore Theater, Escape, The Free Company Rogue's Gallery, The Burns and Allen Show, The Judge, Lights Out, Men Against Death, The Miracle of America, No Help Wanted, Request Performance, Saturday Night Swing Club, Suspense and radio crime melodrama Yours Truly, Johnny Dollar. Films Stevens' piano concerto in C minor was his first work to be used in cinema, for the 1947 Hollywood film [[Night Song (1948 film)|Night Song]]. In the film's plot, the concerto was the work of a fictional composer played by Dana Andrews. Arthur Rubinstein played the concerto on the piano, accompanied by the New York Philharmonic, conducted by Eugene Ormandy. The music is tonal, with a horizontal (as distinct from vertical) compositional approach, with sophisticated harmonies and challenging virtuoso passages for the piano. The work is influenced by Delius, Rachmaninov, and Gershwin, and is both impressionist and romantic. He also co-wrote the Oscar-nominated title song from the 1956 movie Julie starring Doris Day. His other film scores included the following: Syncopation (1942) Night Song (1948) All My Sons (1948) Feudin', Fussin' and A-Fightin' (1948) Larceny (1948) Not Wanted (1949) The Great Rupert (1950) Destination Moon (1950) The Sun Sets at Dawn (1950) No Questions Asked (1951) When Worlds Collide (1951) The Atomic City (1952) Storm Over Tibet (1952) Beware, My Lovely (1952) Eight Iron Men (1952) The Hitch-Hiker (1953) The Glass Wall (1953) The War of the Worlds (1953) The Bigamist (1953) The Wild One (1953) Private Hell 36 (1954) Crashout (1955) The Treasure of Pancho Villa (1955) The Scarlet Hour (1956) World Without End (1956) Julie (1956) The Garment Jungle (1957) Lizzie (1957) Ride Out for Revenge (1957) Eighteen and Anxious (1957) The Green-Eyed Blonde (1957) Seven Guns to Mesa (1958) Violent Road (1958) Bullwhip (1958) The Gun Runners (1958) But Not for Me (1959) The Gene Krupa Story (1959) Hell to Eternity (1960) The Interns (1962) A New Kind of Love (1963) The Night of the Grizzly (1966) Smoky (1966) Chuka (1967) Assault on the Wayne (1971) He also provided uncredited contributions to the Frank Capra film classic It's a Wonderful Life. The James Dean Story Stevens composed and conducted the music accompanying the film The James Dean Story. In 1957, Capitol Records released the eponymous album containing this music, and its anonymous sleeve notes state, "Here is the music direct from the soundtrack of The James Dean Story, a different kind of motion picture. This is a film in which there are no actors, there is no fiction. It is, instead, the story of a young man in search of himself - a story of a lonely boy growing into a lonely manhood, of a quest for discovery and meaning, of a great talent and zest for creative expression, and of a tragic end which brought more questions than answers." The sleeve notes continue, "The life of James Dean is presented on the screen through the means of a new technique - dramatic exploration of a still photograph. Together with tape recordings, existing motion picture material, and the people with whom he lived and worked, these photographs create the presence of the living character. If there are supporting roles in this picture, the parts must be credited to the people of Fairmount, Indiana, where Dean lived as a boy; to the nine million faces of New York City, where he struggled for recognition as an artist and as an individual; and to the men and women of Hollywood who shared in the development of his career." The sleeve notes describe the music as "...unusual and exciting as the motion picture itself. Leith Stevens, the composer, captures a haunting reflection of the violent yet strangely understandable uncertainties of modern youth. Stevens, whose musical scores have distinguished such films as The Wild One, Private Hell 36, Destination Moon and Julie, describes the loneliness and frustrations, the fury and tenderness of James Dean's life and the world in which he moved. With his use of such instruments as the recorder, harmonica and bongo drums, and in his unique utilization of the jazz idiom, Leith Stevens produces music with dynamic personal identification, not only for James Dean, but for every boy who's ever worn a leather jacket and for every girl who's ever danced without her shoes. Stevens traces the development of Dean throughout his boyhood, his early rebellion against conventions, the discovery of his artistic abilities, and his failure to resolve his personal problems. “Who Am I?” depicts the young Dean groping for self-identification; “Lost Love” is a painful portrayal of a romance without a happy ending; and “Testing The Limits of Time” is a brilliant montage of the moods and actions which Dean experienced in his last few months. Tommy Sands, the nation's newest singing sensation, sings the theme song “Let Me Be Loved” by Jay Livingston and Ray Evans." Television Stevens' television work was extensive, including composing, arranging and conducting music for 36 television series, nearly two dozen from the 1950s through the late 1960s, including the haunting theme song for the CBS television show Climax!.. He was the Music Supervisor for six popular television series, including Mannix, Mission: Impossible, "Mr. Novak," (TV series), The Odd Couple, The Brady Bunch, The Immortal, and Love, American Style. Stevens scored episodes for: Personal life and death Stevens died at the age of 60 years due to a heart attack after learning that his wife had died in a car accident. Discography With Chet Baker and Bud Shank Theme Music from "The James Dean Story" (World Pacific, 1956) References Terrace, Vincent. Radio Programs, 1924-1984. Jefferson, North Carolina: McFarland, 1999. External links 1909 births 1970 deaths Accompanists American film score composers American male film score composers People from Harrison County, Missouri Musicians from Missouri 20th-century classical musicians 20th-century American composers 20th-century American pianists American male pianists 20th-century American male musicians People of the United States Office of War Information
```javascript // // 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. const config = require('../config'); const Pubsub = require('@google-cloud/pubsub'); const pubsub = Pubsub({ projectId: config.get('GCLOUD_PROJECT') }); const feedbackTopic = pubsub.topic('feedback'); const answersTopic = pubsub.topic('answers'); function publishFeedback(feedback) { return feedbackTopic.publish({ data: feedback }); } function registerFeedbackNotification(cb) { feedbackTopic.subscribe('feedback-subscription', { autoAck: true }) .then(results => { const subscription = results[0]; subscription.on('message', message => { cb(message.data); }); subscription.on('error', err => { console.error(err); }); }); } function registerAnswerNotification(cb) { answersTopic.subscribe('answer-subscription', { autoAck: true }) .then(results => { const subscription = results[0]; subscription.on('message', message => { cb(message.data); }); subscription.on('error', err => { console.error(err); }); }); } function publishAnswer(answer) { return answersTopic.publish({ data: answer }); } // [START exports] module.exports = { publishAnswer, publishFeedback, registerFeedbackNotification, registerAnswerNotification }; // [END exports] ```
Friedrich Wilhelm Franz Nippold (15 September 1838 – 4 August 1918) was a German Protestant theologian born in Emmerich am Rhein. In 1865 he received his habilitation at the University of Heidelberg, where in 1867 he became an associate professor. From 1871 to 1884, he was a professor of church history at the University of Bern, afterwards moving to Jena, as a successor to Karl von Hase. In 1907 he took his retirement in Oberursel, where he died on 4 August 1918. Nippold's primary interest involved modern church history, and he was associated with a number of current church policy concerns. He was co-founder of the Evangelischer Bund (Protestant Federation), a movement for preservation of German Protestant interests. Written works He was a prolific author, his best work being the highly acclaimed, multi-volume "Handbuch der neuesten Kirchengeschichte" (Textbook of the latest church history). He also published a collection of his lectures, sermons and essays called "Zur geschichtlichen Würdigung der Religion Jesu" (The historical assessment of the religion of Jesus), and a new edition of Karl Rudolf Hagenbach's "Vorlesungen über die Kirchengeschichte des Mittelalters" (Lectures on church history of the Middle Ages). Other publications of Nippold include: Welche Wege führen nach Rom? (Which road leads to Rome?), 1870. Die altkatholische Kirche des Erzbistums Utrecht (The Old Catholic Church of the Archdiocese of Utrecht), 1872. Richard Rothe, ein christliches Lebensbild (Richard Rothe, a Christian biography), 1872–73, two volumes. Die römisch-katholische Kirche im Königreich der Niederlande (The Roman Catholic Church in the Kingdom of the Netherlands), 1877. Die Theorie der Trennung von Kirche und Staat (The theory of separation of church and state) 1881. Der Entwickelungsgang des Lebens Jesu im Wortlaut der drei ersten Evangelien (The history of the life of Jesus in the text of the first three Gospels), 1895. References English translation Wikisource biography of Karl Rudolf Hagenbach @ Allgemeine Deutsche Biographie 1838 births 1918 deaths People from Emmerich am Rhein 19th-century German Protestant theologians German historians of religion Academic staff of the University of Bern Academic staff of Heidelberg University Academic staff of the University of Jena 19th-century German male writers 19th-century German writers German male non-fiction writers
Mystic Mile is an electric blues album by Robben Ford and the Blue Line that was released in 1993. In this second album for Stretch, Ford shows growth as songwriter besides his virtuosity as a guitarist. The album featured the collaboration of Chick Corea as executive producer. Track listing All tracks composed by Robben Ford except where indicated "He Don't Play Nothin' But the Blues" "Busted Up" "Politician" (Jack Bruce, Pete Brown) "Worried Life Blues" (Big Maceo Merriweather) "Misdirected Life Blues" "Moth to a Flame" "Trying to Do the Right Thing (For Anne)" "Say What's on Your Mind" (Roscoe Beck) "The Plunge" "I Don't Play" (Willie Dixon) "Mystic Mile" Personnel Robben Ford – acoustic and electric guitar, vocals, backing vocals Roscoe Beck – arranger, bass guitar, double bass, vocals Tom Brechtlein – drums, backing vocals Additional musicians Dan Fornero – flugelhorn, trumpet Bob Malach – saxophone David Grissom – rhythm guitar, lead guitar References 1993 albums Robben Ford albums Albums recorded at Sound City Studios
```python # # This file made available under CC0 1.0 Universal (path_to_url # # Created with the Rule Development Kit: path_to_url # Can be used stand-alone or with the Rule Compliance Engine: path_to_url # ''' #################################### # Gherkin ## #################################### Rule Name: root-no-access-key Description: Ensure no root user access key exists Trigger: Periodic Reports on: AWS::::Account Rule Parameters: None Feature: In order to: restrict privileged user As: a Security Officer I want: to ensure that no access key for the root user exists Scenarios: Scenario 1: Given: Access key for root user present And: Access key is active Then: return NON_COMPLIANT Scenario 2: Given: Access key for root user present And: Access key is inactive Then: return NON_COMPLIANT Scenario 3: Given: Access Key for root user is not present Then: COMPLIANT ''' import json import datetime import boto3 import botocore ############## # Parameters # ############## # Define the default resource to report to Config Rules DEFAULT_RESOURCE_TYPE = 'AWS::::Account' # Set to True to get the lambda to assume the Role attached on the Config Service (useful for cross-account). ASSUME_ROLE_MODE = False ############# # Main Code # ############# def evaluate_compliance(event, configuration_item, valid_rule_parameters): """Form the evaluation(s) to be return to Config Rules Return either: None -- when no result needs to be displayed a string -- either COMPLIANT, NON_COMPLIANT or NOT_APPLICABLE a dictionary -- the evaluation dictionary, usually built by build_evaluation_from_config_item() a list of dictionary -- a list of evaluation dictionary , usually built by build_evaluation() Keyword arguments: event -- the event variable given in the lambda handler configuration_item -- the configurationItem dictionary in the invokingEvent valid_rule_parameters -- the output of the evaluate_parameters() representing validated parameters of the Config Rule Advanced Notes: 1 -- if a resource is deleted and generate a configuration change with ResourceDeleted status, the Boilerplate code will put a NOT_APPLICABLE on this resource automatically. 2 -- if a None or a list of dictionary is returned, the old evaluation(s) which are not returned in the new evaluation list are returned as NOT_APPLICABLE by the Boilerplate code 3 -- if None or an empty string, list or dict is returned, the Boilerplate code will put a "shadow" evaluation to feedback that the evaluation took place properly """ iam_client = get_client('iam', event) acc_summary = iam_client.get_account_summary() if acc_summary['SummaryMap']['AccountAccessKeysPresent'] == 0: return build_evaluation(event['accountId'], 'COMPLIANT', event) return build_evaluation(event['accountId'], 'NON_COMPLIANT', event, annotation='The root user has access key(s).') def evaluate_parameters(rule_parameters): """Evaluate the rule parameters dictionary validity. Raise a ValueError for invalid parameters. Return: anything suitable for the evaluate_compliance() Keyword arguments: rule_parameters -- the Key/Value dictionary of the Config Rules parameters """ valid_rule_parameters = rule_parameters return valid_rule_parameters #################### # Helper Functions # #################### # Build an error to be displayed in the logs when the parameter is invalid. def build_parameters_value_error_response(ex): """Return an error dictionary when the evaluate_parameters() raises a ValueError. Keyword arguments: ex -- Exception text """ return build_error_response(internalErrorMessage="Parameter value is invalid", internalErrorDetails="An ValueError was raised during the validation of the Parameter value", customerErrorCode="InvalidParameterValueException", customerErrorMessage=str(ex)) # This gets the client after assuming the Config service role # either in the same AWS account or cross-account. def get_client(service, event): """Return the service boto client. It should be used instead of directly calling the client. Keyword arguments: service -- the service name used for calling the boto.client() event -- the event variable given in the lambda handler """ if not ASSUME_ROLE_MODE: return boto3.client(service) credentials = get_assume_role_credentials(event["executionRoleArn"]) return boto3.client(service, aws_access_key_id=credentials['AccessKeyId'], aws_secret_access_key=credentials['SecretAccessKey'], aws_session_token=credentials['SessionToken'] ) # This generate an evaluation for config def build_evaluation(resource_id, compliance_type, event, resource_type=DEFAULT_RESOURCE_TYPE, annotation=None): """Form an evaluation as a dictionary. Usually suited to report on scheduled rules. Keyword arguments: resource_id -- the unique id of the resource to report compliance_type -- either COMPLIANT, NON_COMPLIANT or NOT_APPLICABLE event -- the event variable given in the lambda handler resource_type -- the CloudFormation resource type (or AWS::::Account) to report on the rule (default DEFAULT_RESOURCE_TYPE) annotation -- an annotation to be added to the evaluation (default None) """ eval_cc = {} if annotation: eval_cc['Annotation'] = annotation eval_cc['ComplianceResourceType'] = resource_type eval_cc['ComplianceResourceId'] = resource_id eval_cc['ComplianceType'] = compliance_type eval_cc['OrderingTimestamp'] = str(json.loads(event['invokingEvent'])['notificationCreationTime']) return eval_cc def build_evaluation_from_config_item(configuration_item, compliance_type, annotation=None): """Form an evaluation as a dictionary. Usually suited to report on configuration change rules. Keyword arguments: configuration_item -- the configurationItem dictionary in the invokingEvent compliance_type -- either COMPLIANT, NON_COMPLIANT or NOT_APPLICABLE annotation -- an annotation to be added to the evaluation (default None) """ eval_ci = {} if annotation: eval_ci['Annotation'] = annotation eval_ci['ComplianceResourceType'] = configuration_item['resourceType'] eval_ci['ComplianceResourceId'] = configuration_item['resourceId'] eval_ci['ComplianceType'] = compliance_type eval_ci['OrderingTimestamp'] = configuration_item['configurationItemCaptureTime'] return eval_ci #################### # Boilerplate Code # #################### # Helper function used to validate input def check_defined(reference, reference_name): if not reference: raise Exception('Error: ', reference_name, 'is not defined') return reference # Check whether the message is OversizedConfigurationItemChangeNotification or not def is_oversized_changed_notification(message_type): check_defined(message_type, 'messageType') return message_type == 'OversizedConfigurationItemChangeNotification' # Check whether the message is a ScheduledNotification or not. def is_scheduled_notification(message_type): check_defined(message_type, 'messageType') return message_type == 'ScheduledNotification' # Get configurationItem using getResourceConfigHistory API # in case of OversizedConfigurationItemChangeNotification def get_configuration(resource_type, resource_id, configuration_capture_time): result = AWS_CONFIG_CLIENT.get_resource_config_history( resourceType=resource_type, resourceId=resource_id, laterTime=configuration_capture_time, limit=1) configurationItem = result['configurationItems'][0] return convert_api_configuration(configurationItem) # Convert from the API model to the original invocation model def convert_api_configuration(configurationItem): for k, v in configurationItem.items(): if isinstance(v, datetime.datetime): configurationItem[k] = str(v) configurationItem['awsAccountId'] = configurationItem['accountId'] configurationItem['ARN'] = configurationItem['arn'] configurationItem['configurationStateMd5Hash'] = configurationItem['configurationItemMD5Hash'] configurationItem['configurationItemVersion'] = configurationItem['version'] configurationItem['configuration'] = json.loads(configurationItem['configuration']) if 'relationships' in configurationItem: for i in range(len(configurationItem['relationships'])): configurationItem['relationships'][i]['name'] = configurationItem['relationships'][i]['relationshipName'] return configurationItem # Based on the type of message get the configuration item # either from configurationItem in the invoking event # or using the getResourceConfigHistiry API in getConfiguration function. def get_configuration_item(invokingEvent): check_defined(invokingEvent, 'invokingEvent') if is_oversized_changed_notification(invokingEvent['messageType']): configurationItemSummary = check_defined(invokingEvent['configurationItemSummary'], 'configurationItemSummary') return get_configuration(configurationItemSummary['resourceType'], configurationItemSummary['resourceId'], configurationItemSummary['configurationItemCaptureTime']) elif is_scheduled_notification(invokingEvent['messageType']): return None return check_defined(invokingEvent['configurationItem'], 'configurationItem') # Check whether the resource has been deleted. If it has, then the evaluation is unnecessary. def is_applicable(configurationItem, event): try: check_defined(configurationItem, 'configurationItem') check_defined(event, 'event') except: return True status = configurationItem['configurationItemStatus'] eventLeftScope = event['eventLeftScope'] if status == 'ResourceDeleted': print("Resource Deleted, setting Compliance Status to NOT_APPLICABLE.") return (status == 'OK' or status == 'ResourceDiscovered') and not eventLeftScope def get_assume_role_credentials(role_arn): sts_client = boto3.client('sts') try: assume_role_response = sts_client.assume_role(RoleArn=role_arn, RoleSessionName="configLambdaExecution") return assume_role_response['Credentials'] except botocore.exceptions.ClientError as ex: # Scrub error message for any internal account info leaks print(str(ex)) if 'AccessDenied' in ex.response['Error']['Code']: ex.response['Error']['Message'] = "AWS Config does not have permission to assume the IAM role." else: ex.response['Error']['Message'] = "InternalError" ex.response['Error']['Code'] = "InternalError" raise ex # This removes older evaluation (usually useful for periodic rule not reporting on AWS::::Account). def clean_up_old_evaluations(latest_evaluations, event): cleaned_evaluations = [] old_eval = AWS_CONFIG_CLIENT.get_compliance_details_by_config_rule( ConfigRuleName=event['configRuleName'], ComplianceTypes=['COMPLIANT', 'NON_COMPLIANT'], Limit=100) old_eval_list = [] while True: for old_result in old_eval['EvaluationResults']: old_eval_list.append(old_result) if 'NextToken' in old_eval: next_token = old_eval['NextToken'] old_eval = AWS_CONFIG_CLIENT.get_compliance_details_by_config_rule( ConfigRuleName=event['configRuleName'], ComplianceTypes=['COMPLIANT', 'NON_COMPLIANT'], Limit=100, NextToken=next_token) else: break for old_eval in old_eval_list: old_resource_id = old_eval['EvaluationResultIdentifier']['EvaluationResultQualifier']['ResourceId'] newer_founded = False for latest_eval in latest_evaluations: if old_resource_id == latest_eval['ComplianceResourceId']: newer_founded = True if not newer_founded: cleaned_evaluations.append(build_evaluation(old_resource_id, "NOT_APPLICABLE", event)) return cleaned_evaluations + latest_evaluations # This decorates the lambda_handler in rule_code with the actual PutEvaluation call def lambda_handler(event, context): global AWS_CONFIG_CLIENT #print(event) check_defined(event, 'event') invoking_event = json.loads(event['invokingEvent']) rule_parameters = {} if 'ruleParameters' in event: rule_parameters = json.loads(event['ruleParameters']) try: valid_rule_parameters = evaluate_parameters(rule_parameters) except ValueError as ex: return build_parameters_value_error_response(ex) try: AWS_CONFIG_CLIENT = get_client('config', event) if invoking_event['messageType'] in ['ConfigurationItemChangeNotification', 'ScheduledNotification', 'OversizedConfigurationItemChangeNotification']: configuration_item = get_configuration_item(invoking_event) if is_applicable(configuration_item, event): compliance_result = evaluate_compliance(event, configuration_item, valid_rule_parameters) else: compliance_result = "NOT_APPLICABLE" else: return build_internal_error_response('Unexpected message type', str(invoking_event)) except botocore.exceptions.ClientError as ex: if is_internal_error(ex): return build_internal_error_response("Unexpected error while completing API request", str(ex)) return build_error_response("Customer error while making API request", str(ex), ex.response['Error']['Code'], ex.response['Error']['Message']) except ValueError as ex: return build_internal_error_response(str(ex), str(ex)) evaluations = [] latest_evaluations = [] if not compliance_result: latest_evaluations.append(build_evaluation(event['accountId'], "NOT_APPLICABLE", event, resource_type='AWS::::Account')) evaluations = clean_up_old_evaluations(latest_evaluations, event) elif isinstance(compliance_result, str): evaluations.append(build_evaluation_from_config_item(configuration_item, compliance_result)) elif isinstance(compliance_result, list): for evaluation in compliance_result: missing_fields = False for field in ('ComplianceResourceType', 'ComplianceResourceId', 'ComplianceType', 'OrderingTimestamp'): if field not in evaluation: print("Missing " + field + " from custom evaluation.") missing_fields = True if not missing_fields: latest_evaluations.append(evaluation) evaluations = clean_up_old_evaluations(latest_evaluations, event) elif isinstance(compliance_result, dict): missing_fields = False for field in ('ComplianceResourceType', 'ComplianceResourceId', 'ComplianceType', 'OrderingTimestamp'): if field not in compliance_result: print("Missing " + field + " from custom evaluation.") missing_fields = True if not missing_fields: evaluations.append(compliance_result) else: evaluations.append(build_evaluation_from_config_item(configuration_item, 'NOT_APPLICABLE')) # Put together the request that reports the evaluation status resultToken = event['resultToken'] testMode = False if resultToken == 'TESTMODE': # Used solely for RDK test to skip actual put_evaluation API call testMode = True # Invoke the Config API to report the result of the evaluation AWS_CONFIG_CLIENT.put_evaluations(Evaluations=evaluations, ResultToken=resultToken, TestMode=testMode) # Used solely for RDK test to be able to test Lambda function return evaluations def is_internal_error(exception): return ((not isinstance(exception, botocore.exceptions.ClientError)) or exception.response['Error']['Code'].startswith('5') or 'InternalError' in exception.response['Error']['Code'] or 'ServiceError' in exception.response['Error']['Code']) def build_internal_error_response(internalErrorMessage, internalErrorDetails=None): return build_error_response(internalErrorMessage, internalErrorDetails, 'InternalError', 'InternalError') def build_error_response(internalErrorMessage, internalErrorDetails=None, customerErrorCode=None, customerErrorMessage=None): error_response = { 'internalErrorMessage': internalErrorMessage, 'internalErrorDetails': internalErrorDetails, 'customerErrorMessage': customerErrorMessage, 'customerErrorCode': customerErrorCode } print(error_response) return error_response ```
```objective-c /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * file, You can obtain one at path_to_url */ /* Memory reporting infrastructure. */ #ifndef mozilla_MemoryReporting_h #define mozilla_MemoryReporting_h #include <stddef.h> #ifdef __cplusplus namespace mozilla { /* * This is for functions that are like malloc_usable_size. Such functions are * used for measuring the size of data structures. */ typedef size_t (*MallocSizeOf)(const void* p); } /* namespace mozilla */ #endif /* __cplusplus */ typedef size_t (*MozMallocSizeOf)(const void* p); #endif /* mozilla_MemoryReporting_h */ ```
The Solo Album is a live album featuring a solo performance by jazz saxophonist Sonny Rollins recorded at the Sculpture Garden of the Museum of Modern Art in New York City and released on the Milestone label in 1985. Critical reception Calling it "a major disappointment" and "[o]ne of the few complete duds of Sonny Rollins' career," AllMusic reviewer Scott Yanow describes the album as a "rambling live session" that "sounds as if Rollins were merely warming up, playing whatever came into his mind without any thought of developing a coherent statement". While Yanow's retrospective view differs dramatically from the generally favorable critical reaction accorded the album's release, one contemporary reviewer, jazz historian and Los Angeles Times critic Leonard Feather, foreshadowed Yanow precisely and passionately. Stating that the album, "complete with fleeting quotes from 'Pop Goes the Weasel', 'Jim', 'Mairzy Doats' and a dozen other sources, suggests what one might hear if any Rollins-like saxophonist were caught warming up in the dressing room," Feather went further, taking some of his colleagues to task: It is alarming that a genuine colossus of jazz, rightly hailed 25 years ago as an emperor, can remove his raiments and be seen by responsible critics as fully clothed. What is happening to critical responsibility? To Sonny Rollins? To jazz? One star. Feather was not entirely alone; High Fidelity cited "Rollins' obvious discomfort and nervous flitting about," which "ultimately grinds The Solo Album down to the level of a hip parlor game." Still, theirs was decidedly the minority view. The New York Times critic Jon Pareles, writing shortly after the album's release, described it as "one of Mr. Rollins's most illuminating albums," adding that it "may be as close as we can get to a great jazz musician's stream of consciousness." Others sounded a similar theme, including Saturday Review's John Swenson, who described the album as "nearly an hour [of] Rollins develop[ing] stunning solo ideas that rank with some of the best playing of his career," The Providence Journal's Jim MacNie, who called it "an amazing tour de force," and The Boston Phoenix, which named it one of the top 10 jazz albums of 1985. The reviewer for The Saxophone Symposium, a periodical of the North American Saxophone Alliance, described his "considerable time spent" with Rollins' album as "[p]robably one of my most intense recent listening experiences," while Musician's Chip Stern called the album "a wondrous thing, like the peak of some inscrutable mountain parting through the clouds for the first time," noting its emphasis of "melodic rhythmic development over the harmonic," and ascribing to Rollins' improvisation "a stately thematic inevitability that would do Mozart proud." Track listing All compositions by Sonny Rollins "Soloscope, Part 1" - 28:15 "Soloscope, Part 2" - 27:55 Recorded at the Sculpture Garden of the Museum Of Modern Art, NYC on July 19, 1985 Personnel Sonny Rollins - tenor saxophone References 1985 live albums Sonny Rollins live albums Milestone Records live albums Albums recorded at the Museum of Modern Art
Elizabeth Arnold is a retired classical singer and member of the artistic community in Yorkshire, England. Along with her husband, retired Leeds businessman Olav Arnold, she has made many generous financial contributions to a number of arts organisations in northern England and sits on several boards of trustees. Career Arnold is listed as an Honorary Patron of the "Northern Aldborough Festival"; she and her husband are also significant contributors to Opera North. The founding of the Leeds Lieder Festival would not have been possible without her initial contribution. She also worked for several decades as an administrator for the Leeds Piano Competition, one of the most prestigious piano competitions in the world, which was started in 1961 by Dame Fanny Waterman and the late Countess of Harewood. For many years she served as the supervisor of Tetley Hall, formerly the residence for competitors. The 2006 competition was Arnold's last as controller; her duties were assumed at the 2009 competition by Telsa Woolman. References External links Leeds International Pianoforte Competition official site Leeds Lieder official site Year of birth missing (living people) Living people British women singers
In My World is the second studio album by Matthewdavid. It was released on Brainfeeder on June 30, 2014. Critical reception At Metacritic, which assigns a weighted average score out of 100 to reviews from mainstream critics, the album received an average score of 66, based on 10 reviews, indicating "generally favorable reviews". Dylan Kilby of MusicOMH gave the album 4 out of 5 stars, describing it as "a cluster of deep house grooves, chopped and screwed R&B vocals, and sub-bass that would be played at a futuristic Stonewall Inn." Matt Bauer of Exclaim! gave the album an 8 out of 10, writing, "it jettisons its predecessor's more experimental tendencies in favour of psychedelic, neo-soul-pop filtered through Brainfeeder's expected eccentricity." Larry Fitzmaurice of Pitchfork gave the album a 5.4 out of 10, commenting that "his choice to sing, rap, and sing-rap throughout In My World is obviously risky; his vocals tend to distract from what surrounds them, and his skill on the mic is, at best, rudimentary." Track listing Personnel Credits adapted from liner notes. Matthewdavid – production, recording, mixing, mastering D/P/I – co-production (3) The Light of Love Children's Choir – guest appearance (10) Logan White – photography Seth Ferris – design References External links 2014 albums Brainfeeder albums
Bagdahari (also known as Bagdehri) is a village in Kundhit CD block in the Jamtara Sadar subdivision of the Jamtara district in the Indian state of Jharkhand. Geography Location Bagdahari is located at . Overview The map shows a large area, which is a plateau with low hills, except in the eastern portion where the Rajmahal hills intrude into this area and the Ramgarh hills are there. The south-western portion is just a rolling upland. The entire area is overwhelmingly rural with only small pockets of urbanisation. Note: The full screen map is interesting. All places marked on the map are linked in the full screen map and one can easily move on to another page of his/her choice. Enlarge the full screen map to see what else is there – one gets railway connections, many more road connections and so on. Area Bagdahari has an area of . Demographics According to the 2011 Census of India, Bagdahari had a total population of 2,451, of which 1,257 (51%) were males and 1,194 (49%) were females. Population in the age range 0–6 years was 296. The total number of literate persons in Bagdahari was 2,155 (73.32% of the population over 6 years). Civic administration Police station There is a police station at Bagdehri. Education Rajkiyakrit High School Bagdahari is a Hindi-medium coeducational institution established in 1954. It has facilities for teaching in classes IX and X. References Villages in Jamtara district
Swift's silver mine is an alleged silver mine whose existence is part of the folklore of the Appalachian Mountains. The mine was supposedly discovered in 1760 by an Englishman named Jonathan Swift. The uncertainty of its location is part of the folklore of its existence, with locations ascribed to eastern Kentucky, southwest Virginia or eastern Tennessee. Legend The legend of Swift's silver mine is based on accounts given in the journal of an Englishman named Jonathan Swift. Swift claimed to have preceded Daniel Boone into Kentucky, coming to the region in 1760 on a series of mining expeditions. The journal recounts how a wounded bear led Swift to a vein of silver ore in a cave, and how that for the next nine years, he made annual treks back to the site of the mine, carrying out "silver bars and minted coins." An article in an 1886 edition of Harper's Magazine tells how Swift supposedly buried a good deal of the treasure at various locations: Later, amid numerous obstacles that included Indian attacks, and a mutiny by his crew, Swift walled up the cave and discontinued his mining operation. He left his journal in the possession of a Mrs. Renfro, the widow of one Joseph Renfro of Bean's Station, Tennessee, in whom he was purported to have a romantic interest. Before Swift could return to the mine, he was stricken blind and was unable to locate it again. Variations Settlers in Wise County, Virginia, believed that the mine was located on or around Stone Mountain, and that local Indians knew the location of the mine. According to the settlers, an Indian chief named Benge once said that "if the pale face knew what he knew they could shoe their horses cheaper with silver than with iron." They maintain that a captured settler named Hans G. Frenchman was taken to the mine by the Indians. He marked its location, and later escaped his captors and revealed the location of the mine to Swift. In this version of the story, Swift and Frenchman took only enough silver to buy two horses, and on a return trip, were unable to locate the mine. Another variation along these lines holds that Swift was taken to the mine by a Frenchman named "Monday" or "Monde". In this version, Swift and Monde are driven from the mine by an Indian attack, and Swift kills Monde for fear that he will reveal the location of the mine to others. Later, when Swift attempts to return to the mine, Monde's hand covers the compass so he cannot tell which direction to proceed. Solomon Mullins, or "Money-making Sol" (born 1782, died 1858) was rumored to have discovered Swift's mines near Pine Mountain in Southwest Virginia. Solomon lived in what was then known as Holly Creek, but is now Clintwood, Virginia. Solomon melted the silver down and used one of his slaves to "strike" for him (striking: the head of a hammer is heated until it is a plastic state and struck over a good coin. The coin, being harder than the softened head of the hammer is, therefore, imprinted. The hammer is then allowed to cool thus producing the die). To finish the process, or to imprint the counterfeit coins with official markings, Sol and his slave would relocate to the privacy afforded by caves located on cliffs adjacent Sol's farm. To this day, the cliffs are known as "Sol's Cliffs". According to local legend, Solomon's "counterfeit" money used more silver, and was worth more, than the official currency at the time. Apparently, Sol mixed the pure silver with other lesser metals to make his money. Solomon never disclosed where he obtained the pure silver, but many people speculated that he found the silver in one of the many caves on Pine Mountain close to his farm. Once, Solomon was caught by a U.S. detective while at work in the cliffs. Reportedly, realizing his predicament, he ordered the man to help with his work, saying "Grab a hammer and strike this." He hoped the action, if taken, would make the detective complicit; regardless of the story's veracity, it did not do Sol any good. In early 1837, Solomon and two of his 10 children, Peter and Spencer, were brought to trial and were charged with making counterfeit coins. Solomon was found guilty, but fled Virginia before being sentenced. He reportedly died in 1858 and never revealed the location of his source of silver. Each year in Wolfe County, Kentucky, there is a Swift Silver mine festival in the county seat of Campton, where locals believe the mine may be located near Swift Creek. Expeditions John Filson is the first person known to have referenced the mine following Swift's death. In 1788, Filson claimed a tract of land supposed to have included a silver mine worked by "a certain man named Swift." Filson disappeared, taking with him any knowledge he may have had as to the mine's location. Kentucky pioneer James Harrod may also have believed in Swift's silver mine. According to Harrod's wife, a man named Bridges said he had found the mine, and asked Harrod for his help in developing it. Despite the fact that Harrod and Bridges had a dispute over land some years previous, these two and another man entered the wilderness of Kentucky in 1792, purportedly in search of the mine. Harrod did not return from the trip, and although his body was never found, his wife maintained that Bridges had used the story of the mine to lure him into the woods to murder him. When Judge John Haywood was working on a history of the area around Clear Creek in Kentucky, he observed two "ancient" furnaces that he believed may have been used by Swift. In 1854, Professor David Dale Owen was dispatched to Bell County, Kentucky, as part of a geological survey of the state. As part of the survey, Owen examined a location reputed by the locals to be the site of Swift's silver mine. Guided by an explorer named Benjamin Herndon, Owen examined the area and found that it contained "some accidental minerals sparingly disseminated, such as sulphuret of zinc and lead – which proved on examination to be hydrated silicate of alumina." Owen's survey did not find any significant deposits of silver ore in the area. Skepticism Geological evidence casts doubt on the existence of Swift's silver mine. In two centuries, subsequent mining and excavation of the area said to have contained the mine have not yielded a single vein of silver ore. Regarding the journal Skeptical writer Joe Nickell pointed out that there are numerous versions of the journal upon which the legend of Swift's Silver Mine is based. The best known and most complete of these contains portions plagiarized from a history of Kentucky dating later than the supposed time frame of the journal itself. Because this version is filled with references to Freemasonry and moral allusions, some historians dismiss the entire tale as an allegory. Regarding Swift There is the question of Swift himself. No proof exists that there ever was a John or Jonathan Swift who mined silver in Kentucky. (James Dougherty gives alternative first names of "George", "William", and "Tom".) The man many considered to be the Jonathan Swift of legend is known to have been alive many years after the purported death of the fabled miner. Nothing is known of this man's ancestry, and what little is known about him personally has been handed down through tradition. If the birth date given in Swift's journal is to be believed, the known Swift would have been an incredible 112 years old at the time of his death. If there was an actual Jonathan Swift, there is some disagreement as to his character. Tradition holds that he was an established Indian trader, but some historians came to believe he was a pirate who preyed on Spanish merchants and made his frequent trips into the wilderness not to retrieve his treasure, but to hide and coin it. A resident of Laurel County, Kentucky, named William Reams held that following Swift's visit to the mine in 1769 – the last trip recorded in the journal – he and his accomplices agreed not to claim any of the treasure they had hidden in the area until 1790. When they did return, Swift was overcome by the sight of the wealth and killed the other members of the party while they slept. Following this action, he was struck blind and unable to recover the treasure. Nickell contends that the pirate theory raises more questions than it answers. He contends that a journey into Kentucky was a dangerous undertaking, and that Swift could just as easily set up a clandestine coining operation in the backwoods of Virginia or aboard his ship. He also questions why Swift would take the time to produce such a detailed journal to cover his story. See also Lost mines Notes References Further reading Swift's Silver Mine References from RootsWeb Appalachia Lost mines Silver mines in the United States
Wat Chang Kham (; "Elephant-Propped Temple"), formerly known as Wat Kan Thom (; "Kan Thom's Temple") after the name of its builder, is a ruined temple that is part of the Wiang Kum Kam archaeological area, outside of Chiang Mai in northern Thailand. The present name of the temple is derived from elephant figures supporting one of the structures. The modern site is within the grounds of a working temple and is adjacent to Wat That Noi, one of the smallest sites in the Wiang Kum Kam archaeological group. References Oliver Hargreave: Exploring Chiang Mai, City, Valley & Mountains. Within Books, 4th Edition, 2013. Chang Kham History of Chiang Mai
Le Nationaliste was a weekly newspaper (published on Sundays) and an organ of the Ligue nationaliste, an anti-imperialist and nationalist movement in Quebec, Canada. The paper was founded by journalist Olivar Asselin, journalist and politician Henri Bourassa and others. Although Bourassa owned shares in the newspaper, he refrained from becoming active in its administration and, fearing his byline would imply his tacit approval of all its positions, quickly stopped contributing articles to it. The first issue was published on March 6, 1904, and Asselin assumed the presidency of the newspaper until 1908. It was an important part of the political debates in Quebec until the foundation in 1910 of Bourassa's Le Devoir newspaper, to which Asselin contributed for two months before tendering his resignation. In September 1922, Le Nationaliste merged with Le Devoir to become the later's Saturday edition, titled Le Nationaliste et le Devoir. See also List of Quebec historical newspapers List of Quebec media Quebec nationalism History of Quebec List of newspapers in Canada References "6 mars 1904 - Parution du premier numéro du journal «Le Nationaliste»" at Bilan du Siècle Hélène Pelletier-Baillargeon, Olivar Asselin et son temps, Vol. 1. External links Picture of the headline of the newspaper at the Montreal city archives Newspapers established in 1904 Publications disestablished in 1922 Defunct newspapers published in Quebec Defunct weekly newspapers French-language newspapers published in Quebec Weekly newspapers published in Quebec 1904 establishments in Quebec
The 2003 AFL draft was the 2003 instance of the AFL draft, the annual draft of talented players by Australian rules football teams that participate in the main competition of that sport, the Australian Football League. The 2003 draft consisted of a trade period, the national, pre-season and rookie drafts and the elevation of previously drafted rookies to the senior list. There were 83 draft selections between the 16 teams in the national draft. The Western Bulldogs received the first pick in the national draft after finishing on the bottom of the ladder during the 2003 AFL season. The Bulldogs and Melbourne both received a priority selection for having earned 20 premiership points of less during the preceding season. Carlton also received a priority selection, despite being banned from the first two rounds of this year's draft, owing to salary cap breaches discovered the previous year. This draft is considered one of the weaker drafts, with almost half of the 16 club's first picks delisted within the following 4 years. It has produced one Brownlow Medallist, Adam Cooney, who is the first and, as of 2021, only number-one draft pick to win the award. The main trades that occurred involved Nathan Brown switching from the Bulldogs to Richmond and Trent Croad returning to Hawthorn after spending two years with Fremantle. The trading period also contained The Veale Deal, where unknown youngster Lochlan Veale was traded by Hawthorn to the Western Bulldogs in a lopsided three-way deal involving Essendon. In the deal Hawthorn gained Danny Jacobs, Essendon gained Mark Alvey and the number six selection in the draft and the Bulldogs officially only received Veale, and had an understanding Hawthorn that they would not trade Jade Rawlings to any other club, allowing the Bulldogs to select him with the first selection in the pre-season draft. Trades 2003 national draft 2004 pre-season draft 2004 rookie draft Rookie elevation In alphabetical order of professional clubs. This list details 2003-listed rookies who were elevated to the senior list; it does not list players taken as rookies in the rookie draft which occurred during the 2003/04 off-season. References 2003 National draft list 2004 Pre-season draft list 2004 Rookie draft list AFL Draft Australian Football League draft VFL Draft
Lattin–Cullen GAA is a Gaelic Athletic Association club which represents the parish villages of Lattin and Cullen in Ireland. The club plays at Hannon GAA Park (opened 2009) which is situated in the village of Lattin, and is an affiliate club of the West Tipperary GAA division. The club has traditionally has been one of the top three senior football clubs in the West Tipperary GAA Division. The club also plays hurling up to the Intermediate grade. They usually hammer Aravale Rovers every time they play with Jamie Cotter usually being on the bench Honours Tipperary Intermediate Hurling Championship – 1996 West Tipperary Senior Hurling Champions – 1963 (as St Patrick's with Solohead) West Tipperary Intermediate Hurling Champions – 1983, 1996, 1999, 2014 (as Lattin–Cullen Gaels) Tipperary Intermediate Football Championship – 1989 West Tipperary Senior Football Champions – 1958, 1961, 1964, 1965, 1966, 1967, 1969, 1971, 1982, 1994 West Tipperary Intermediate Football Championship (2) 1989, 2003 West Tipperary Junior A Football Championship (1) 1957 Tipperary Junior A Hurling Championship (1) 1992 West Tipperary Junior A Hurling Championship (7) 1952, 1963, 1968, 1979, 1989, 1992, 2007 Tipperary Under-21 A Football Championship (2) 1982 (with Emly), 1985 (with Emly) West Tipperary Under-21 A Football Championship (11) 1961 (with Solohead), 1962 (with Solohead), 1963 (with Solohead), 1964 (with Solohead), 1967, 1982 (with Emly), 1983 (with Emly), 1984 (with Emly), 1985 (with Emly), 1986 (with Emly), 2014 (with Aherlow) West Tipperary Under-21 B Football Championship (2) 1992, 2003 West Tipperary Under-21 C Football Championship (1) 2000 West Tipperary Under-21 B Hurling Championship (2) 2002, 2015 (as Lattin–Cullen Gaels) Tipperary Under-21 C Hurling Championship (1) 2009 West Tipperary Under-21 C Hurling Championship (2) 2000, 2006 Tipperary Minor A Football Championship (3) 1963 (with Solohead) as St Patrick's), 1982 (with Emly), 1983 (with Emly) West Tipperary Minor A Football Championship (11) 1951 (with Emly), 1956 (with Emly), 1963 (with Solohead) as St Patrick's), 1968 (with Solohead) as St Patrick's), 1975 (with Emly), 1977 (with Emly), 1981 (with Emly), 1982 (with Emly), 1983 (with Emly), 1987 (with Emly), 2012 (with Aherlow) West Tipperary Minor B Football Championship (2) 1995, 2001 West Tipperary Minor C Football Championship (3) 2003, 2006, 2007 West Tipperary Minor A Hurling Championship (3) 1954 (with Emly), 1963 (with Solohead), 1983 (with Emly) West Tipperary Minor B Hurling Championship (1) 2000 Tipperary Minor C Hurling Championship (1) 2008 West Tipperary Minor C Hurling Championship (2) 2007, 2008 Famous players Nicky English Ger Maguire Mark Russell References External links West Tipperary GAA site Gaelic games clubs in County Tipperary Hurling clubs in County Tipperary Gaelic football clubs in County Tipperary
```kotlin /* * * * 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.springframework.cloud.gateway.route.builder import org.junit.jupiter.api.Test import org.springframework.beans.factory.annotation.Autowired import org.springframework.boot.autoconfigure.EnableAutoConfiguration import org.springframework.boot.test.context.SpringBootTest import org.springframework.cloud.gateway.support.ServerWebExchangeUtils import org.springframework.context.annotation.Configuration import org.springframework.mock.http.server.reactive.MockServerHttpRequest import org.springframework.mock.web.server.MockServerWebExchange import org.springframework.web.server.ServerWebExchange import reactor.kotlin.core.publisher.toMono import reactor.test.StepVerifier import java.net.URI @SpringBootTest(classes = [Config::class]) class RouteDslTests { @Autowired lateinit var builder: RouteLocatorBuilder @Test fun sampleRouteDsl() { val routeLocator = builder.routes { route(id = "test") { host("**.abc.org") and path("/image/png") filters { addResponseHeader("X-TestHeader", "foobar") } uri("path_to_url") } route(id = "test2") { path("/image/webp") or path("/image/anotherone") filters { addResponseHeader("X-AnotherHeader", "baz") addResponseHeader("X-AnotherHeader-2", "baz-2") } uri("path_to_url") } } StepVerifier .create(routeLocator.routes) .expectNextMatches({ it.id == "test" && it.filters.size == 1 && it.uri == URI.create("path_to_url") }) .expectNextMatches({ it.id == "test2" && it.filters.size == 2 && it.uri == URI.create("path_to_url") }) .expectComplete() .verify() val sampleExchange: ServerWebExchange = MockServerWebExchange.from(MockServerHttpRequest.get("/image/webp") .header("Host", "test.abc.org").build()) val filteredRoutes = routeLocator.routes.filter({ sampleExchange.attributes.put(ServerWebExchangeUtils.GATEWAY_PREDICATE_ROUTE_ATTR, it.id) it.predicate.apply(sampleExchange).toMono().block() }) StepVerifier.create(filteredRoutes) .expectNextMatches({ it.id == "test2" && it.filters.size == 2 && it.uri == URI.create("path_to_url") }) .expectComplete() .verify() } @Test fun dslWithFunctionParameters() { val routerLocator = builder.routes { route(id = "test1", order = 10, uri = "path_to_url") { host("**.abc.org") } route(id = "test2", order = 10, uri = "path_to_url") { host("**.abc.org") uri("path_to_url") } } StepVerifier.create(routerLocator.routes) .expectNextMatches({ it.id == "test1" && it.uri == URI.create("path_to_url") && it.order == 10 && it.predicate.apply(MockServerWebExchange .from(MockServerHttpRequest .get("/someuri").header("Host", "test.abc.org"))) .toMono().block() }) .expectNextMatches({ it.id == "test2" && it.uri == URI.create("path_to_url") && it.order == 10 && it.predicate.apply(MockServerWebExchange .from(MockServerHttpRequest .get("/someuri").header("Host", "test.abc.org"))) .toMono().block() }) .expectComplete() .verify() } } @Configuration(proxyBeanMethods = false) @EnableAutoConfiguration open class Config {} ```
Portals is a global public art initiative that connects people around the globe through real-time video audiovisual technology housed inside a gold-painted, converted shipping container or other structure. Individuals and groups enter local Portals and engage with individuals or groups in distant Portals through live, full-body video conferencing. The experience has been described as "breathing the same air." Portals are placed in public spaces such as public squares, museums, university campuses, high-level summits, and refugee camps. Participation is free, and the spaces are maintained by staff called Portal_Curators. History The project was started in 2014 by artist Amar Bakshi, and initially connected the cities of New York and Tehran. According to Bakshi, he started the project "to connect people who wouldn't otherwise meet.” He had the idea to start the project after his days as a foreign journalist, where he launched How the World Sees America for The Washington Post. After returning from his time reporting, he realized he missed the conversations he had had with strangers he met around the world. Bakshi, along with his art collective Shared Studios, has operated the project in nearly 50 cities around the world. Notable project participants have included U.S. president Barack Obama, UN Secretary General Ban Ki-moon, and Google founder Sergey Brin. Artist Amar Bakshi built the first Portal in 2014. He launched Portals in collaboration with fellow journalist Michelle Moghtader and Iranian artist Sohrab Kashani. Bakshi began construction of the first Portal in his parents’ backyard in Washington, D.C. The first project connected participants in Lu Magnus art gallery in New York City, USA and Sazmanab Center for Contemporary Art in Tehran, Iran, and was in place for two weeks. Computer science professor Omid Habibi then became interested in the project and decided to create a Portal at Hariwa University in Herat, Afghanistan, which then launched in March 2015. The project has since expanded to over 40 cities around the world. Structure The videoconferencing has been done through different platforms, including Zoom. According to Bakshi, he originally had wanted to strip the shipping containers of paint, buff them, and repaint them, but this process proved to be too expensive and bad for the environment. The decision to paint the shipping containers gold emerged through trial and error. He previously experimented with painting the container black, white, and silver, but he decided on the color gold because he felt it conveyed “sacredness.” In some locations the video conferencing equipment is housed inside an existing building rather than a shipping container. In other locations the project operates inside a gold, inflatable portal. Participation in the project is free, and those who wish to participate can often make appointments prior to arrival. The sessions typically last 20 minutes, and participants are asked an open-ended questions such as “What would make today a good day for you?” to get the conversation going. Interactions are sometimes aided by text translations or in-person translators. Notable Portal locations Portals have been placed at the following locations: Amman, Jordan, at Fablab Aspen, USA at the 2016 Aspen Ideas Festival Austin, Texas at St. Edward's University and 2017 SXSW Baltimore, USA at Lexington Market Berlin, Germany at Tempelhof Airport Boulder, Colorado at University of Colorado Boulder Brooklyn, USA at the New Lab Chicago, USA at Chicago Ideas Week 2016 College Park, USA at the University of Maryland El Progreso, Honduras with Organization for Youth Empowerment Erbil, Iraq at the Harsham IDP Camp with UNICEF Gaza City, Palestine at Gaza Sky Geeks Greenwich, USA at Greenwich Academy Havana, Cuba with Vistar Magazine Herat, Afghanistan at Hariwa University Isfahan, Iran Kigali, Rwanda at Impact Hub Kigali with Kurema Kureba Kwiga Los Angeles, USA at Grand Park London, UK at Campus London Mission, USA with Mission Economic Development District Mexico City, Mexico at Museo Tamayo and Center for Digital Culture Mumbai, India at the 2017 Mumbai Marathon Newark, USA at Military Park New York City, USA at the United Nations Headquarters, UNGA 2015 and UNGA 2016, Lu Magnus Gallery and Danese/Corey Gallery Oxford, UK at 2017 Skoll World Forum Park City, USA at the 2015 Sundance Film Festival with Airbnb Palo Alto, USA at Stanford University and the 2016 Global Entrepreneurship Summit with Google for Entrepreneurs Rye, USA at Rye Arts Center San Francisco, USA at ProxySF Seoul, South Korea at Campus Seoul Tehran, Iran at the Sazmanab Center for Contemporary Art</ref> Washington, DC at the U.S. Holocaust Memorial Museum, the U.S. Capitol, the Woodrow Wilson Plaza, and Georgetown University Yangon, Myanmar Za'atari, Jordan Davos, Switzerland (for the World Economic Forum) Notable guests Portal participants include: Barack Obama Ban Ki-moon Haider Al-Abadi Samantha Power Ewan McGregor Fareed Zakaria Doug Liman Morgan Spurlock Amy Chua Robert Post Vint Cerf Tom Friedman Samantha Power References External links Official website 2014 in art Public art Visual arts
```smalltalk // // NSUrlSessionHandler.cs: // // Authors: // Ani Betts <anais@anaisbetts.org> // Nick Berardi <nick@nickberardi.com> // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; using System.IO; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Net.Security; using System.Runtime.InteropServices; using System.Security.Authentication; using System.Security.Cryptography.X509Certificates; using System.Threading; using System.Threading.Tasks; using System.Text; using System.Diagnostics.CodeAnalysis; using CoreFoundation; using Foundation; using Security; #if !MONOMAC using UIKit; #endif #nullable enable #if !MONOMAC && !XAMCORE_5_0 namespace System.Net.Http { #else namespace Foundation { #endif #if !NET public delegate bool NSUrlSessionHandlerTrustOverrideCallback (NSUrlSessionHandler sender, SecTrust trust); #endif public delegate bool NSUrlSessionHandlerTrustOverrideForUrlCallback (NSUrlSessionHandler sender, string url, SecTrust trust); // useful extensions for the class in order to set it in a header static class NSHttpCookieExtensions { static void AppendSegment (StringBuilder builder, string name, string? value) { if (builder.Length > 0) builder.Append ("; "); builder.Append (name); if (value is not null) builder.Append ("=").Append (value); } // returns the header for a cookie public static string GetHeaderValue (this NSHttpCookie cookie) { var header = new StringBuilder (); AppendSegment (header, cookie.Name, cookie.Value); AppendSegment (header, NSHttpCookie.KeyPath.ToString (), cookie.Path.ToString ()); AppendSegment (header, NSHttpCookie.KeyDomain.ToString (), cookie.Domain.ToString ()); AppendSegment (header, NSHttpCookie.KeyVersion.ToString (), cookie.Version.ToString ()); if (cookie.Comment is not null) AppendSegment (header, NSHttpCookie.KeyComment.ToString (), cookie.Comment.ToString ()); if (cookie.CommentUrl is not null) AppendSegment (header, NSHttpCookie.KeyCommentUrl.ToString (), cookie.CommentUrl.ToString ()); if (cookie.Properties.ContainsKey (NSHttpCookie.KeyDiscard)) AppendSegment (header, NSHttpCookie.KeyDiscard.ToString (), null); if (cookie.ExpiresDate is not null) { // Format according to RFC1123; 'r' uses invariant info (DateTimeFormatInfo.InvariantInfo) var dateStr = ((DateTime) cookie.ExpiresDate).ToUniversalTime ().ToString ("r", CultureInfo.InvariantCulture); AppendSegment (header, NSHttpCookie.KeyExpires.ToString (), dateStr); } if (cookie.Properties.ContainsKey (NSHttpCookie.KeyMaximumAge)) { var timeStampString = (NSString) cookie.Properties [NSHttpCookie.KeyMaximumAge]; AppendSegment (header, NSHttpCookie.KeyMaximumAge.ToString (), timeStampString); } if (cookie.IsSecure) AppendSegment (header, NSHttpCookie.KeySecure.ToString (), null); if (cookie.IsHttpOnly) AppendSegment (header, "httponly", null); // Apple does not show the key for the httponly return header.ToString (); } } public partial class NSUrlSessionHandler : HttpMessageHandler { private const string SetCookie = "Set-Cookie"; private const string Cookie = "Cookie"; private CookieContainer? cookieContainer; readonly Dictionary<string, string> headerSeparators = new Dictionary<string, string> { ["User-Agent"] = " ", ["Server"] = " " }; NSUrlSession session; readonly Dictionary<NSUrlSessionTask, InflightData> inflightRequests; readonly object inflightRequestsLock = new object (); readonly NSUrlSessionConfiguration.SessionConfigurationType sessionType; #if !MONOMAC && !__WATCHOS__ NSObject? notificationToken; // needed to make sure we do not hang if not using a background session readonly object notificationTokenLock = new object (); // need to make sure that threads do no step on each other with a dispose and a remove inflight data #endif static NSUrlSessionConfiguration CreateConfig () { // modifying the configuration does not affect future calls var config = NSUrlSessionConfiguration.DefaultSessionConfiguration; // but we want, by default, the timeout from HttpClient to have precedence over the one from NSUrlSession // Double.MaxValue does not work, so default to 24 hours config.TimeoutIntervalForRequest = 24 * 60 * 60; config.TimeoutIntervalForResource = 24 * 60 * 60; return config; } public NSUrlSessionHandler () : this (CreateConfig ()) { } [CLSCompliant (false)] public NSUrlSessionHandler (NSUrlSessionConfiguration configuration) { if (configuration is null) ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (configuration)); // HACK: we need to store the following because session.Configuration gets a copy of the object and the value gets lost sessionType = configuration.SessionType; allowsCellularAccess = configuration.AllowsCellularAccess; AllowAutoRedirect = true; var sp = ServicePointManager.SecurityProtocol; if ((sp & SecurityProtocolType.Ssl3) != 0) configuration.TLSMinimumSupportedProtocol = SslProtocol.Ssl_3_0; else if ((sp & SecurityProtocolType.Tls) != 0) configuration.TLSMinimumSupportedProtocol = SslProtocol.Tls_1_0; else if ((sp & SecurityProtocolType.Tls11) != 0) configuration.TLSMinimumSupportedProtocol = SslProtocol.Tls_1_1; else if ((sp & SecurityProtocolType.Tls12) != 0) configuration.TLSMinimumSupportedProtocol = SslProtocol.Tls_1_2; else if ((sp & (SecurityProtocolType) 12288) != 0) // Tls13 value not yet in monno configuration.TLSMinimumSupportedProtocol = SslProtocol.Tls_1_3; session = NSUrlSession.FromConfiguration (configuration, (INSUrlSessionDelegate) new NSUrlSessionHandlerDelegate (this), null); inflightRequests = new Dictionary<NSUrlSessionTask, InflightData> (); } #if !MONOMAC && !__WATCHOS__ && !NET8_0 void AddNotification () { lock (notificationTokenLock) { if (!bypassBackgroundCheck && sessionType != NSUrlSessionConfiguration.SessionConfigurationType.Background && notificationToken is null) notificationToken = NSNotificationCenter.DefaultCenter.AddObserver (UIApplication.WillResignActiveNotification, BackgroundNotificationCb); } // lock } void RemoveNotification () { NSObject? localNotificationToken; lock (notificationTokenLock) { localNotificationToken = notificationToken; notificationToken = null; } if (localNotificationToken is not null) NSNotificationCenter.DefaultCenter.RemoveObserver (localNotificationToken); } void BackgroundNotificationCb (NSNotification obj) { // the cancelation task of each of the sources will clean the different resources. Each removal is done // inside a lock, but of course, the .Values collection will not like that because it is modified during the // iteration. We split the operation in two, get all the diff cancelation sources, then try to cancel each of them // which will do the correct lock dance. Note that we could be tempted to do a RemoveAll, that will yield the same // runtime issue, this is dull but safe. List<TaskCompletionSource<HttpResponseMessage>> sources; lock (inflightRequestsLock) { // just lock when we iterate sources = new List<TaskCompletionSource<HttpResponseMessage>> (inflightRequests.Count); foreach (var r in inflightRequests.Values) { sources.Add (r.CompletionSource); } } sources.ForEach (source => { source.TrySetCanceled (); }); } #endif public long MaxInputInMemory { get; set; } = long.MaxValue; void RemoveInflightData (NSUrlSessionTask task, bool cancel = true) { lock (inflightRequestsLock) { if (inflightRequests.TryGetValue (task, out var data)) { if (cancel) data.CancellationTokenSource.Cancel (); inflightRequests.Remove (task); } #if !MONOMAC && !__WATCHOS__ && !NET8_0 // do we need to be notified? If we have not inflightData, we do not if (inflightRequests.Count == 0) RemoveNotification (); #endif } if (cancel) task?.Cancel (); task?.Dispose (); } protected override void Dispose (bool disposing) { lock (inflightRequestsLock) { #if !MONOMAC && !__WATCHOS__ && !NET8_0 // remove the notification if present, method checks against null RemoveNotification (); #endif foreach (var pair in inflightRequests) { pair.Key?.Cancel (); pair.Key?.Dispose (); } inflightRequests.Clear (); } base.Dispose (disposing); } bool disableCaching; public bool DisableCaching { get { return disableCaching; } set { EnsureModifiability (); disableCaching = value; } } bool allowAutoRedirect; public bool AllowAutoRedirect { get { return allowAutoRedirect; } set { EnsureModifiability (); allowAutoRedirect = value; } } bool allowsCellularAccess = true; public bool AllowsCellularAccess { get { return allowsCellularAccess; } set { EnsureModifiability (); allowsCellularAccess = value; } } ICredentials? credentials; public ICredentials? Credentials { get { return credentials; } set { EnsureModifiability (); credentials = value; } } #if !NET NSUrlSessionHandlerTrustOverrideCallback? trustOverride; [Obsolete ("Use the 'TrustOverrideForUrl' property instead.")] public NSUrlSessionHandlerTrustOverrideCallback? TrustOverride { get { return trustOverride; } set { EnsureModifiability (); trustOverride = value; } } #endif NSUrlSessionHandlerTrustOverrideForUrlCallback? trustOverrideForUrl; public NSUrlSessionHandlerTrustOverrideForUrlCallback? TrustOverrideForUrl { get { return trustOverrideForUrl; } set { EnsureModifiability (); trustOverrideForUrl = value; } } #if !NET8_0 // we do check if a user does a request and the application goes to the background, but // in certain cases the user does that on purpose (BeingBackgroundTask) and wants to be able // to use the network. In those cases, which are few, we want the developer to explicitly // bypass the check when there are not request in flight bool bypassBackgroundCheck = true; #endif #if !XAMCORE_5_0 [EditorBrowsable (EditorBrowsableState.Never)] #if NET8_0 [Obsolete ("This property is ignored.")] #else [Obsolete ("This property will be ignored in .NET 8.")] #endif public bool BypassBackgroundSessionCheck { get { #if NET8_0 return true; #else return bypassBackgroundCheck; #endif } set { #if !NET8_0 EnsureModifiability (); bypassBackgroundCheck = value; #endif } } #endif // !XAMCORE_5_0 public CookieContainer? CookieContainer { get { return cookieContainer; } set { EnsureModifiability (); cookieContainer = value; } } public bool UseCookies { get { return session.Configuration.HttpCookieStorage is not null; } set { EnsureModifiability (); if (sessionType == NSUrlSessionConfiguration.SessionConfigurationType.Ephemeral) throw new InvalidOperationException ("Cannot set the use of cookies in Ephemeral sessions."); // we have to consider the following table of cases: // 1. Value is set to true and cookie storage is not null -> we do nothing // 2. Value is set to true and cookie storage is null -> we create/set the storage. // 3. Value is false and cookie container is not null -> we clear the cookie storage // 4. Value is false and cookie container is null -> we do nothing var oldSession = session; var configuration = session.Configuration; if (value && configuration.HttpCookieStorage is null) { // create storage because the user wants to use it. Things are not that easy, we have to // consider the following: // 1. Default Session -> uses sharedHTTPCookieStorage // 2. Background Session -> uses sharedHTTPCookieStorage // 3. Ephemeral Session -> no allowed. apple does not provide a way to access to the private implementation of the storage class :/ configuration.HttpCookieStorage = NSHttpCookieStorage.SharedStorage; } if (!value && configuration.HttpCookieStorage is not null) { // remove storage so that it is not used in any of the requests configuration.HttpCookieStorage = null; } session = NSUrlSession.FromConfiguration (configuration, (INSUrlSessionDelegate) new NSUrlSessionHandlerDelegate (this), null); oldSession.Dispose (); } } bool sentRequest; internal void EnsureModifiability () { if (sentRequest) throw new InvalidOperationException ( "This instance has already started one or more requests. " + "Properties can only be modified before sending the first request."); } static Exception createExceptionForNSError (NSError error) { var innerException = new NSErrorException (error); // errors that exists in both share the same error code, so we can use a single switch/case // this also ease watchOS integration as if does not expose CFNetwork but (I would not be // surprised if it)could return some of it's error codes #if __WATCHOS__ if (error.Domain == NSError.NSUrlErrorDomain) { #else if ((error.Domain == NSError.NSUrlErrorDomain) || (error.Domain == NSError.CFNetworkErrorDomain)) { #endif // Apple docs: path_to_url#//apple_ref/doc/constant_group/URL_Loading_System_Error_Codes // .NET docs: path_to_url switch ((NSUrlError) (long) error.Code) { case NSUrlError.Cancelled: case NSUrlError.UserCancelledAuthentication: #if !__WATCHOS__ case (NSUrlError) NSNetServicesStatus.CancelledError: #endif // No more processing is required so just return. return new OperationCanceledException (error.LocalizedDescription, innerException); } } return new HttpRequestException (error.LocalizedDescription, innerException); } string GetHeaderSeparator (string name) { if (!headerSeparators.TryGetValue (name, out var value)) value = ","; return value; } void AddManagedHeaders (NSMutableDictionary nativeHeaders, IEnumerable<KeyValuePair<string, IEnumerable<string>>> managedHeaders) { foreach (var keyValuePair in managedHeaders) { var keyPtr = NSString.CreateNative (keyValuePair.Key); var valuePtr = NSString.CreateNative (string.Join (GetHeaderSeparator (keyValuePair.Key), keyValuePair.Value)); nativeHeaders.LowlevelSetObject (valuePtr, keyPtr); NSString.ReleaseNative (keyPtr); NSString.ReleaseNative (valuePtr); } } async Task<NSUrlRequest> CreateRequest (HttpRequestMessage request) { var stream = Stream.Null; var nativeHeaders = new NSMutableDictionary (); // set header cookies if needed from the managed cookie container if we do use Cookies if (session.Configuration.HttpCookieStorage is not null) { var cookies = cookieContainer?.GetCookieHeader (request.RequestUri!); // as per docs: An HTTP cookie header, with strings representing Cookie instances delimited by semicolons. if (!string.IsNullOrEmpty (cookies)) { var cookiePtr = NSString.CreateNative (Cookie); var cookiesPtr = NSString.CreateNative (cookies); nativeHeaders.LowlevelSetObject (cookiesPtr, cookiePtr); NSString.ReleaseNative (cookiePtr); NSString.ReleaseNative (cookiesPtr); } } AddManagedHeaders (nativeHeaders, request.Headers); if (request.Content is not null) { stream = await request.Content.ReadAsStreamAsync ().ConfigureAwait (false); AddManagedHeaders (nativeHeaders, request.Content.Headers); } var nsrequest = new NSMutableUrlRequest { AllowsCellularAccess = allowsCellularAccess, CachePolicy = DisableCaching ? NSUrlRequestCachePolicy.ReloadIgnoringCacheData : NSUrlRequestCachePolicy.UseProtocolCachePolicy, HttpMethod = request.Method.ToString ().ToUpperInvariant (), Url = NSUrl.FromString (request.RequestUri?.AbsoluteUri), Headers = nativeHeaders, }; if (stream != Stream.Null) { // Rewind the stream to the beginning in case the HttpContent implementation // will be accessed again (e.g. for retry/redirect) and it keeps its stream open behind the scenes. if (stream.CanSeek) stream.Seek (0, SeekOrigin.Begin); // HttpContent.TryComputeLength is `protected internal` :-( but it's indirectly called by headers var length = request.Content?.Headers?.ContentLength; if (length.HasValue && (length <= MaxInputInMemory)) nsrequest.Body = NSData.FromStream (stream); else nsrequest.BodyStream = new WrappedNSInputStream (stream); } return nsrequest; } #if (SYSTEM_NET_HTTP || MONOMAC) && !NET internal #endif protected override async Task<HttpResponseMessage> SendAsync (HttpRequestMessage request, CancellationToken cancellationToken) { Volatile.Write (ref sentRequest, true); var nsrequest = await CreateRequest (request).ConfigureAwait (false); var dataTask = session.CreateDataTask (nsrequest); var inflightData = new InflightData (request.RequestUri?.AbsoluteUri!, cancellationToken, request); lock (inflightRequestsLock) { #if !MONOMAC && !__WATCHOS__ && !NET8_0 // Add the notification whenever needed AddNotification (); #endif inflightRequests.Add (dataTask, inflightData); } if (dataTask.State == NSUrlSessionTaskState.Suspended) dataTask.Resume (); // as per documentation: // If this token is already in the canceled state, the // delegate will be run immediately and synchronously. // Any exception the delegate generates will be // propagated out of this method call. // // The execution of the register ensures that if we // receive a already cancelled token or it is cancelled // just before this call, we will cancel the task. // Other approaches are harder, since querying the state // of the token does not guarantee that in the next // execution a threads cancels it. cancellationToken.Register (() => { RemoveInflightData (dataTask); inflightData.CompletionSource.TrySetCanceled (); }); return await inflightData.CompletionSource.Task.ConfigureAwait (false); } #if NET // Properties that will be called by the default HttpClientHandler // NSUrlSession handler automatically handles decompression, and there doesn't seem to be a way to turn it off. // The available decompression algorithms depend on the OS version we're running on, and maybe the target OS version as well, // so just say we're doing them all, and not do anything in the setter (it doesn't seem to be configurable in NSUrlSession anyways). public DecompressionMethods AutomaticDecompression { get => DecompressionMethods.All; set { } } // We're ignoring this property, just like Xamarin.Android does: // path_to_url#L158 [UnsupportedOSPlatform ("ios")] [UnsupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("macos")] [EditorBrowsable (EditorBrowsableState.Never)] public bool CheckCertificateRevocationList { get; set; } = false; // We're ignoring this property, just like Xamarin.Android does: // path_to_url#L150 // Note: we can't return null (like Xamarin.Android does), because the return type isn't nullable. [UnsupportedOSPlatform ("ios")] [UnsupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("macos")] [EditorBrowsable (EditorBrowsableState.Never)] public X509CertificateCollection ClientCertificates { get { return new X509CertificateCollection (); } } // We're ignoring this property, just like Xamarin.Android does: // path_to_url#L148 [UnsupportedOSPlatform ("ios")] [UnsupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("macos")] [EditorBrowsable (EditorBrowsableState.Never)] public ClientCertificateOption ClientCertificateOptions { get; set; } // We're ignoring this property, just like Xamarin.Android does: // path_to_url#L152 [UnsupportedOSPlatform ("ios")] [UnsupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("macos")] [EditorBrowsable (EditorBrowsableState.Never)] public ICredentials? DefaultProxyCredentials { get; set; } public int MaxAutomaticRedirections { get => int.MaxValue; set { // I believe it's possible to implement support for MaxAutomaticRedirections (it just has to be done) if (value != int.MaxValue) ObjCRuntime.ThrowHelper.ThrowArgumentOutOfRangeException (nameof (value), value, "It's not possible to lower the max number of automatic redirections.");; } } // We're ignoring this property, just like Xamarin.Android does: // path_to_url#L154 [UnsupportedOSPlatform ("ios")] [UnsupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("macos")] [EditorBrowsable (EditorBrowsableState.Never)] public int MaxConnectionsPerServer { get; set; } = int.MaxValue; // We're ignoring this property, just like Xamarin.Android does: // path_to_url#L156 [UnsupportedOSPlatform ("ios")] [UnsupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("macos")] [EditorBrowsable (EditorBrowsableState.Never)] public int MaxResponseHeadersLength { get; set; } = 64; // Units in K (1024) bytes. // We don't support PreAuthenticate, so always return false, and ignore any attempts to change it. [UnsupportedOSPlatform ("ios")] [UnsupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("macos")] [EditorBrowsable (EditorBrowsableState.Never)] public bool PreAuthenticate { get => false; set { } } // We're ignoring this property, just like Xamarin.Android does: // path_to_url#L167 [UnsupportedOSPlatform ("ios")] [UnsupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("macos")] [EditorBrowsable (EditorBrowsableState.Never)] public IDictionary<string, object>? Properties { get { return null; } } // We dont support any custom proxies, and don't let anybody wonder why their proxy isn't // being used if they try to assign one (in any case we also return false from 'SupportsProxy'). [UnsupportedOSPlatform ("ios")] [UnsupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("macos")] [EditorBrowsable (EditorBrowsableState.Never)] public IWebProxy? Proxy { get => null; set => throw new PlatformNotSupportedException (); } // There doesn't seem to be a trivial way to specify the protocols to accept (or not) // It might be possible to reject some protocols in code during the challenge phase, // but accepting earlier (unsafe) protocols requires adding entires to the Info.plist, // which means it's not trivial to detect/accept/reject from code here. // Currently the default for Apple platforms is to accept TLS v1.2 and v1.3, so default // to that value, and ignore any changes to it. [UnsupportedOSPlatform ("ios")] [UnsupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("macos")] [EditorBrowsable (EditorBrowsableState.Never)] public SslProtocols SslProtocols { get; set; } = SslProtocols.Tls12 | SslProtocols.Tls13; private ServerCertificateCustomValidationCallbackHelper? _serverCertificateCustomValidationCallbackHelper; public Func<HttpRequestMessage, X509Certificate2?, X509Chain?, SslPolicyErrors, bool>? ServerCertificateCustomValidationCallback { get => _serverCertificateCustomValidationCallbackHelper?.Callback; set { if (value is null) { _serverCertificateCustomValidationCallbackHelper = null; } else { _serverCertificateCustomValidationCallbackHelper = new ServerCertificateCustomValidationCallbackHelper (value); } } } // returns false if there's no callback internal bool TryInvokeServerCertificateCustomValidationCallback (HttpRequestMessage request, SecTrust secTrust, out bool trusted) { trusted = false; var helper = _serverCertificateCustomValidationCallbackHelper; if (helper is null) return false; trusted = helper.Invoke (request, secTrust); return true; } sealed class ServerCertificateCustomValidationCallbackHelper { public Func<HttpRequestMessage, X509Certificate2?, X509Chain?, SslPolicyErrors, bool> Callback { get; private set; } public ServerCertificateCustomValidationCallbackHelper (Func<HttpRequestMessage, X509Certificate2?, X509Chain?, SslPolicyErrors, bool> callback) { Callback = callback; } public bool Invoke (HttpRequestMessage request, SecTrust secTrust) { X509Certificate2[] certificates = ConvertCertificates (secTrust); X509Certificate2? certificate = certificates.Length > 0 ? certificates [0] : null; using X509Chain chain = CreateChain (certificates); SslPolicyErrors sslPolicyErrors = EvaluateSslPolicyErrors (certificate, chain, secTrust); return Callback (request, certificate, chain, sslPolicyErrors); } X509Certificate2[] ConvertCertificates (SecTrust secTrust) { var certificates = new X509Certificate2 [secTrust.Count]; if (IsSecTrustGetCertificateChainSupported) { var originalChain = secTrust.GetCertificateChain (); for (int i = 0; i < originalChain.Length; i++) certificates [i] = originalChain [i].ToX509Certificate2 (); } else { for (int i = 0; i < secTrust.Count; i++) certificates [i] = secTrust [i].ToX509Certificate2 (); } return certificates; } static bool? isSecTrustGetCertificateChainSupported = null; static bool IsSecTrustGetCertificateChainSupported { get { if (!isSecTrustGetCertificateChainSupported.HasValue) { #if MONOMAC isSecTrustGetCertificateChainSupported = ObjCRuntime.SystemVersion.CheckmacOS (12, 0); #elif WATCH isSecTrustGetCertificateChainSupported = ObjCRuntime.SystemVersion.CheckWatchOS (8, 0); #elif IOS || TVOS || MACCATALYST isSecTrustGetCertificateChainSupported = ObjCRuntime.SystemVersion.CheckiOS (15, 0); #else #error Unknown platform #endif } return isSecTrustGetCertificateChainSupported.Value; } } X509Chain CreateChain (X509Certificate2[] certificates) { // inspired by path_to_url#L691-L696 var chain = new X509Chain (); chain.ChainPolicy.RevocationMode = X509RevocationMode.Online; chain.ChainPolicy.RevocationFlag = X509RevocationFlag.ExcludeRoot; chain.ChainPolicy.ExtraStore.AddRange (certificates); return chain; } SslPolicyErrors EvaluateSslPolicyErrors (X509Certificate2? certificate, X509Chain chain, SecTrust secTrust) { var sslPolicyErrors = SslPolicyErrors.None; try { if (certificate is null) { sslPolicyErrors |= SslPolicyErrors.RemoteCertificateNotAvailable; } else if (!chain.Build (certificate)) { sslPolicyErrors |= SslPolicyErrors.RemoteCertificateChainErrors; } } catch (ArgumentException) { sslPolicyErrors |= SslPolicyErrors.RemoteCertificateChainErrors; } if (!secTrust.Evaluate (out _)) { sslPolicyErrors |= SslPolicyErrors.RemoteCertificateChainErrors; } return sslPolicyErrors; } } // There's no way to turn off automatic decompression, so yes, we support it public bool SupportsAutomaticDecompression { get => true; } // We don't support using custom proxies, but NSUrlSession will automatically use any proxies configured in the OS. public bool SupportsProxy { get => false; } // We support the AllowAutoRedirect property, but we don't support changing the MaxAutomaticRedirections value, // so be safe here and say we don't support redirect configuration. public bool SupportsRedirectConfiguration { get => false; } // NSUrlSession will automatically use any proxies configured in the OS (so always return true in the getter). // There doesn't seem to be a way to turn this off, so throw if someone attempts to disable this. public bool UseProxy { get => true; set { if (!value) ObjCRuntime.ThrowHelper.ThrowArgumentOutOfRangeException (nameof (value), value, "It's not possible to disable the use of system proxies.");; } } #endif // NET partial class NSUrlSessionHandlerDelegate : NSUrlSessionDataDelegate { readonly NSUrlSessionHandler sessionHandler; public NSUrlSessionHandlerDelegate (NSUrlSessionHandler handler) { sessionHandler = handler; } InflightData? GetInflightData (NSUrlSessionTask task) { var inflight = default (InflightData); lock (sessionHandler.inflightRequestsLock) if (sessionHandler.inflightRequests.TryGetValue (task, out inflight)) { // ensure that we did not cancel the request, if we did, do cancel the task, if we // cancel the task it means that we are not interested in any of the delegate methods: // // DidReceiveResponse We might have received a response, but either the user cancelled or a // timeout did, if that is the case, we do not care about the response. // DidReceiveData Of buffer has a partial response ergo garbage and there is not real // reason we would like to add more data. // DidCompleteWithError - We are not changing a behaviour compared to the case in which // we did not find the data. if (inflight.CancellationToken.IsCancellationRequested) { task?.Cancel (); // return null so that we break out of any delegate method. return null; } return inflight; } // if we did not manage to get the inflight data, we either got an error or have been canceled, lets cancel the task, that will execute DidCompleteWithError task?.Cancel (); return null; } void UpdateManagedCookieContainer (Uri absoluteUri, NSHttpCookie [] cookies) { if (sessionHandler.cookieContainer is not null && cookies.Length > 0) lock (sessionHandler.inflightRequestsLock) { // ensure we lock when writing to the collection var cookiesContents = Array.ConvertAll (cookies, static cookie => cookie.GetHeaderValue ()); sessionHandler.cookieContainer.SetCookies (absoluteUri, string.Join (',', cookiesContents)); // as per docs: The contents of an HTTP set-cookie header as returned by a HTTP server, with Cookie instances delimited by commas. } } [Preserve (Conditional = true)] public override void DidReceiveResponse (NSUrlSession session, NSUrlSessionDataTask dataTask, NSUrlResponse response, Action<NSUrlSessionResponseDisposition> completionHandler) { try { DidReceiveResponseImpl (session, dataTask, response, completionHandler); } catch { completionHandler (NSUrlSessionResponseDisposition.Cancel); throw; } } void DidReceiveResponseImpl (NSUrlSession session, NSUrlSessionDataTask dataTask, NSUrlResponse response, Action<NSUrlSessionResponseDisposition> completionHandler) { var inflight = GetInflightData (dataTask); if (inflight is null) { completionHandler (NSUrlSessionResponseDisposition.Cancel); return; } try { var urlResponse = (NSHttpUrlResponse) response; var status = (int) urlResponse.StatusCode; var absoluteUri = new Uri (urlResponse.Url.AbsoluteString!); var content = new NSUrlSessionDataTaskStreamContent (inflight.Stream, () => { if (!inflight.Completed) { dataTask.Cancel (); } inflight.Disposed = true; inflight.Stream.TrySetException (new ObjectDisposedException ("The content stream was disposed.")); sessionHandler.RemoveInflightData (dataTask); }, inflight.CancellationTokenSource.Token); // NB: The double cast is because of a Xamarin compiler bug var httpResponse = new HttpResponseMessage ((HttpStatusCode) status) { Content = content, RequestMessage = inflight.Request }; var wasRedirected = dataTask.CurrentRequest?.Url?.AbsoluteString != dataTask.OriginalRequest?.Url?.AbsoluteString; if (wasRedirected) httpResponse.RequestMessage.RequestUri = absoluteUri; foreach (var v in urlResponse.AllHeaderFields) { // NB: Cocoa trolling us so hard by giving us back dummy dictionary entries if (v.Key is null || v.Value is null) continue; // NSUrlSession tries to be smart with cookies, we will not use the raw value but the ones provided by the cookie storage if (v.Key.ToString () == SetCookie) continue; httpResponse.Headers.TryAddWithoutValidation (v.Key.ToString (), v.Value.ToString ()); httpResponse.Content.Headers.TryAddWithoutValidation (v.Key.ToString (), v.Value.ToString ()); } // it might be confusing that we are not using the managed CookieStore here, this is ONLY for those cookies that have been retrieved from // the server via a Set-Cookie header, the managed container does not know a thing about this and apple is storing them in the native // cookie container. Once we have the cookies from the response, we need to update the managed cookie container if (session.Configuration.HttpCookieStorage is not null) { var cookies = session.Configuration.HttpCookieStorage.CookiesForUrl (response.Url); UpdateManagedCookieContainer (absoluteUri, cookies); for (var index = 0; index < cookies.Length; index++) { httpResponse.Headers.TryAddWithoutValidation (SetCookie, cookies [index].GetHeaderValue ()); } } inflight.Response = httpResponse; // We don't want to send the response back to the task just yet. Because we want to mimic .NET behavior // as much as possible. When the response is sent back in .NET, the content stream is ready to read or the // request has completed, because of this we want to send back the response in DidReceiveData or DidCompleteWithError if (dataTask.State == NSUrlSessionTaskState.Suspended) dataTask.Resume (); } catch (Exception ex) { inflight.CompletionSource.TrySetException (ex); inflight.Stream.TrySetException (ex); sessionHandler.RemoveInflightData (dataTask); } completionHandler (NSUrlSessionResponseDisposition.Allow); } [Preserve (Conditional = true)] public override void DidReceiveData (NSUrlSession session, NSUrlSessionDataTask dataTask, NSData data) { var inflight = GetInflightData (dataTask); if (inflight is null) return; inflight.Stream.Add (data); SetResponse (inflight); } [Preserve (Conditional = true)] public override void DidCompleteWithError (NSUrlSession session, NSUrlSessionTask task, NSError? error) { var inflight = GetInflightData (task); var serverError = task.Error; // this can happen if the HTTP request times out and it is removed as part of the cancellation process if (inflight is not null) { // send the error or send the response back if (error is not null || serverError is not null) { // got an error, cancel the stream operatios before we do anything inflight.CancellationTokenSource.Cancel (); inflight.Errored = true; var exc = inflight.Exception ?? createExceptionForNSError (error ?? serverError!); // client errors wont happen if we get server errors inflight.CompletionSource.TrySetException (exc); inflight.Stream.TrySetException (exc); } else { // set the stream as finished inflight.Stream.TrySetReceivedAllData (); inflight.Completed = true; SetResponse (inflight); } sessionHandler.RemoveInflightData (task, cancel: false); } } void SetResponse (InflightData inflight) { lock (inflight.Lock) { if (inflight.ResponseSent) return; if (inflight.CancellationTokenSource.Token.IsCancellationRequested) return; if (inflight.CompletionSource.Task.IsCompleted) return; var httpResponse = inflight.Response; inflight.ResponseSent = true; inflight.CompletionSource.TrySetResult (httpResponse!); } } [Preserve (Conditional = true)] public override void WillCacheResponse (NSUrlSession session, NSUrlSessionDataTask dataTask, NSCachedUrlResponse proposedResponse, Action<NSCachedUrlResponse> completionHandler) { try { WillCacheResponseImpl (session, dataTask, proposedResponse, completionHandler); } catch { completionHandler (null!); throw; } } void WillCacheResponseImpl (NSUrlSession session, NSUrlSessionDataTask dataTask, NSCachedUrlResponse proposedResponse, Action<NSCachedUrlResponse> completionHandler) { var inflight = GetInflightData (dataTask); if (inflight is null) { completionHandler (null!); return; } // apple caches post request with a body, which should not happen. path_to_url var disableCache = sessionHandler.DisableCaching || (inflight.Request.Method == HttpMethod.Post && inflight.Request.Content is not null); completionHandler (disableCache ? null! : proposedResponse); } [Preserve (Conditional = true)] public override void WillPerformHttpRedirection (NSUrlSession session, NSUrlSessionTask task, NSHttpUrlResponse response, NSUrlRequest newRequest, Action<NSUrlRequest> completionHandler) { completionHandler (sessionHandler.AllowAutoRedirect ? newRequest : null!); } [Preserve (Conditional = true)] public override void DidReceiveChallenge (NSUrlSession session, NSUrlSessionTask task, NSUrlAuthenticationChallenge challenge, Action<NSUrlSessionAuthChallengeDisposition, NSUrlCredential> completionHandler) { try { DidReceiveChallengeImpl (session, task, challenge, completionHandler); } catch { completionHandler (NSUrlSessionAuthChallengeDisposition.CancelAuthenticationChallenge, null!); throw; } } void DidReceiveChallengeImpl (NSUrlSession session, NSUrlSessionTask task, NSUrlAuthenticationChallenge challenge, Action<NSUrlSessionAuthChallengeDisposition, NSUrlCredential> completionHandler) { var inflight = GetInflightData (task); if (inflight is null) { // Request was probably cancelled completionHandler (NSUrlSessionAuthChallengeDisposition.CancelAuthenticationChallenge, null!); return; } // ToCToU for the callback var trustCallbackForUrl = sessionHandler.TrustOverrideForUrl; var trustSec = false; var usedCallback = false; #if !NET var trustCallback = sessionHandler.TrustOverride; var hasCallBack = trustCallback is not null || trustCallbackForUrl is not null; if (hasCallBack && challenge.ProtectionSpace.AuthenticationMethod == NSUrlProtectionSpace.AuthenticationMethodServerTrust) { // if one of the delegates allows to ignore the cert, do it. We check first the one that takes the url because is more precisse, later the // more general one. Since we are using nullables, if the delegate is not present, by default is false trustSec = (trustCallbackForUrl?.Invoke (sessionHandler, inflight.RequestUrl, challenge.ProtectionSpace.ServerSecTrust) ?? false) || (trustCallback?.Invoke (sessionHandler, challenge.ProtectionSpace.ServerSecTrust) ?? false); usedCallback = true; } #else if (challenge.ProtectionSpace.AuthenticationMethod == NSUrlProtectionSpace.AuthenticationMethodServerTrust) { // if the trust delegate allows to ignore the cert, do it. Since we are using nullables, if the delegate is not present, by default is false if (trustCallbackForUrl is not null) { trustSec = trustCallbackForUrl (sessionHandler, inflight.RequestUrl, challenge.ProtectionSpace.ServerSecTrust); usedCallback = true; } else if (sessionHandler.TryInvokeServerCertificateCustomValidationCallback (inflight.Request, challenge.ProtectionSpace.ServerSecTrust, out trustSec)) { usedCallback = true; } } #endif if (usedCallback) { if (trustSec) { var credential = new NSUrlCredential (challenge.ProtectionSpace.ServerSecTrust); completionHandler (NSUrlSessionAuthChallengeDisposition.UseCredential, credential); } else { // user callback rejected the certificate, we want to set the exception, else the user will // see as if the request was cancelled. lock (inflight.Lock) { inflight.Exception = new HttpRequestException ("An error occurred while sending the request.", new WebException ("Error: TrustFailure")); } completionHandler (NSUrlSessionAuthChallengeDisposition.CancelAuthenticationChallenge, null!); } return; } // case for the basic auth failing up front. As per apple documentation: // The URL Loading System is designed to handle various aspects of the HTTP protocol for you. As a result, you should not modify the following headers using // the addValue(_:forHTTPHeaderField:) or setValue(_:forHTTPHeaderField:) methods: // Authorization // Connection // Host // Proxy-Authenticate // Proxy-Authorization // WWW-Authenticate // but we are hiding such a situation from our users, we can nevertheless know if the header was added and deal with it. The idea is as follows, // check if we are in the first attempt, if we are (PreviousFailureCount == 0), we check the headers of the request and if we do have the Auth // header, it means that we do not have the correct credentials, in any other case just do what it is expected. if (challenge.PreviousFailureCount == 0) { var authHeader = inflight.Request.Headers?.Authorization; if (!(string.IsNullOrEmpty (authHeader?.Scheme) && string.IsNullOrEmpty (authHeader?.Parameter))) { completionHandler (NSUrlSessionAuthChallengeDisposition.RejectProtectionSpace, null!); return; } } if (sessionHandler.Credentials is not null && TryGetAuthenticationType (challenge.ProtectionSpace, out var authType)) { NetworkCredential? credentialsToUse = null; if (authType != RejectProtectionSpaceAuthType) { // interesting situation, when we use a credential that we created that is empty, we are not getting the RejectProtectionSpaceAuthType, // nevertheless, we need to check is not the first challenge we will continue trusting the // TryGetAuthenticationType method, but we will also check that the status response in not a 401 // look like we do get an exception from the credentials db: // TestiOSHttpClient[28769:26371051] CredStore - performQuery - Error copying matching creds. Error=-25300, query={ // class = inet; // "m_Limit" = "m_LimitAll"; // ptcl = htps; // "r_Attributes" = 1; // sdmn = test; // srvr = "jigsaw.w3.org"; // sync = syna; // } // do remember that we ALWAYS get a challenge, so the failure count has to be 1 or more for this check, 1 would be the first time var nsurlRespose = challenge.FailureResponse as NSHttpUrlResponse; var responseIsUnauthorized = (nsurlRespose is null) ? false : nsurlRespose.StatusCode == (int) HttpStatusCode.Unauthorized && challenge.PreviousFailureCount > 0; if (!responseIsUnauthorized) { var uri = inflight.Request.RequestUri!; credentialsToUse = sessionHandler.Credentials.GetCredential (uri, authType); } } if (credentialsToUse is not null) { var credential = new NSUrlCredential (credentialsToUse.UserName, credentialsToUse.Password, NSUrlCredentialPersistence.ForSession); completionHandler (NSUrlSessionAuthChallengeDisposition.UseCredential, credential); } else { // Rejecting the challenge allows the next authentication method in the request to be delivered to // the DidReceiveChallenge method. Another authentication method may have credentials available. completionHandler (NSUrlSessionAuthChallengeDisposition.RejectProtectionSpace, null!); } } else { completionHandler (NSUrlSessionAuthChallengeDisposition.PerformDefaultHandling, challenge.ProposedCredential); } } static readonly string RejectProtectionSpaceAuthType = "reject"; static bool TryGetAuthenticationType (NSUrlProtectionSpace protectionSpace, [NotNullWhen (true)] out string? authenticationType) { if (protectionSpace.AuthenticationMethod == NSUrlProtectionSpace.AuthenticationMethodNTLM) { authenticationType = "NTLM"; } else if (protectionSpace.AuthenticationMethod == NSUrlProtectionSpace.AuthenticationMethodHTTPBasic) { authenticationType = "basic"; } else if (protectionSpace.AuthenticationMethod == NSUrlProtectionSpace.AuthenticationMethodNegotiate || protectionSpace.AuthenticationMethod == NSUrlProtectionSpace.AuthenticationMethodHTMLForm || protectionSpace.AuthenticationMethod == NSUrlProtectionSpace.AuthenticationMethodHTTPDigest) { // Want to reject this authentication type to allow the next authentication method in the request to // be used. authenticationType = RejectProtectionSpaceAuthType; } else { // ServerTrust, ClientCertificate or Default. authenticationType = null; return false; } return true; } } class InflightData { public readonly object Lock = new object (); public string RequestUrl { get; set; } public TaskCompletionSource<HttpResponseMessage> CompletionSource { get; } = new TaskCompletionSource<HttpResponseMessage> (TaskCreationOptions.RunContinuationsAsynchronously); public CancellationToken CancellationToken { get; set; } public CancellationTokenSource CancellationTokenSource { get; } = new CancellationTokenSource (); public NSUrlSessionDataTaskStream Stream { get; } = new NSUrlSessionDataTaskStream (); public HttpRequestMessage Request { get; set; } public HttpResponseMessage? Response { get; set; } public Exception? Exception { get; set; } public bool ResponseSent { get; set; } public bool Errored { get; set; } public bool Disposed { get; set; } public bool Completed { get; set; } public bool Done { get { return Errored || Disposed || Completed || CancellationToken.IsCancellationRequested; } } public InflightData (string requestUrl, CancellationToken cancellationToken, HttpRequestMessage request) { RequestUrl = requestUrl; CancellationToken = cancellationToken; Request = request; } } class NSUrlSessionDataTaskStreamContent : MonoStreamContent { Action? disposed; public NSUrlSessionDataTaskStreamContent (NSUrlSessionDataTaskStream source, Action onDisposed, CancellationToken token) : base (source, token) { disposed = onDisposed; } protected override void Dispose (bool disposing) { var action = Interlocked.Exchange (ref disposed, null); action?.Invoke (); base.Dispose (disposing); } } // // Copied from path_to_url // // This is not a perfect solution, but the most robust and risk-free approach. // // The implementation depends on Mono-specific behavior, which makes SerializeToStreamAsync() cancellable. // Unfortunately, the CoreFX implementation of HttpClient does not support this. // // By copying Mono's old implementation here, we ensure that we're compatible with both HttpClient implementations, // so when we eventually adopt the CoreFX version in all of Mono's profiles, we don't regress here. // class MonoStreamContent : HttpContent { readonly Stream content; readonly int bufferSize; readonly CancellationToken cancellationToken; readonly long startPosition; bool contentCopied; public MonoStreamContent (Stream content) : this (content, 16 * 1024) { } public MonoStreamContent (Stream content, int bufferSize) { if (content is null) ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (content)); if (bufferSize <= 0) ObjCRuntime.ThrowHelper.ThrowArgumentOutOfRangeException (nameof (bufferSize), bufferSize, "Buffer size must be >0"); this.content = content; this.bufferSize = bufferSize; if (content.CanSeek) { startPosition = content.Position; } } // // Workarounds for poor .NET API // Instead of having SerializeToStreamAsync with CancellationToken as public API. Only LoadIntoBufferAsync // called internally from the send worker can be cancelled and user cannot see/do it // internal MonoStreamContent (Stream content, CancellationToken cancellationToken) : this (content) { // We don't own the token so don't worry about disposing it this.cancellationToken = cancellationToken; } protected override Task<Stream> CreateContentReadStreamAsync () { return Task.FromResult (content); } protected override void Dispose (bool disposing) { if (disposing) { content.Dispose (); } base.Dispose (disposing); } protected override Task SerializeToStreamAsync (Stream stream, TransportContext? context) { if (contentCopied) { if (!content.CanSeek) { throw new InvalidOperationException ("The stream was already consumed. It cannot be read again."); } content.Seek (startPosition, SeekOrigin.Begin); } else { contentCopied = true; } return content.CopyToAsync (stream, bufferSize, cancellationToken); } #if !NET internal #endif protected override bool TryComputeLength (out long length) { if (!content.CanSeek) { length = 0; return false; } length = content.Length - startPosition; return true; } } class NSUrlSessionDataTaskStream : Stream { readonly Queue<NSData> data; readonly object dataLock = new object (); long position; long length; bool receivedAllData; Exception? exc; NSData? current; Stream? currentStream; public NSUrlSessionDataTaskStream () { data = new Queue<NSData> (); } public void Add (NSData d) { lock (dataLock) { data.Enqueue (d); length += (int) d.Length; } } public void TrySetReceivedAllData () { receivedAllData = true; } public void TrySetException (Exception e) { exc = e; TrySetReceivedAllData (); } void ThrowIfNeeded (CancellationToken cancellationToken) { if (exc is not null) throw exc; cancellationToken.ThrowIfCancellationRequested (); } public override int Read (byte [] buffer, int offset, int count) { return ReadAsync (buffer, offset, count).Result; } public override async Task<int> ReadAsync (byte [] buffer, int offset, int count, CancellationToken cancellationToken) { // try to throw on enter ThrowIfNeeded (cancellationToken); while (current is null) { lock (dataLock) { if (data.Count == 0 && receivedAllData && position == length) { ThrowIfNeeded (cancellationToken); return 0; } if (data.Count > 0 && current is null) { current = data.Peek (); currentStream = current.AsStream (); break; } } try { await Task.Delay (50, cancellationToken).ConfigureAwait (false); } catch (TaskCanceledException ex) { // add a nicer exception for the user to catch, add the cancelation exception // to have a decent stack throw new TimeoutException ("The request timed out.", ex); } } // try to throw again before read ThrowIfNeeded (cancellationToken); var d = currentStream!; var bufferCount = Math.Min (count, (int) (d.Length - d.Position)); var bytesRead = await d.ReadAsync (buffer, offset, bufferCount, cancellationToken).ConfigureAwait (false); // add the bytes read from the pointer to the position position += bytesRead; // remove the current primary reference if the current position has reached the end of the bytes if (d.Position == d.Length) { lock (dataLock) { // this is the same object, it was done to make the cleanup data.Dequeue (); currentStream?.Dispose (); // We cannot use current?.Dispose. The reason is the following one: // In the DidReceiveResponse, if iOS realizes that a buffer can be reused, // because the data is the same, it will do so. Such a situation does happen // between requests, that is, request A and request B will get the same NSData // (buffer) in the delegate. In this case, we cannot dispose the NSData because // it might be that a different request received it and it is present in // its NSUrlSessionDataTaskStream stream. We can only trust the gc to do the job // which is better than copying the data over. current = null; currentStream = null; } } return bytesRead; } public override bool CanRead => true; public override bool CanSeek => false; public override bool CanWrite => false; public override bool CanTimeout => false; public override long Length => length; public override void SetLength (long value) { throw new InvalidOperationException (); } public override long Position { get { return position; } set { throw new InvalidOperationException (); } } public override long Seek (long offset, SeekOrigin origin) { throw new InvalidOperationException (); } public override void Flush () { throw new InvalidOperationException (); } public override void Write (byte [] buffer, int offset, int count) { throw new InvalidOperationException (); } } class WrappedNSInputStream : NSInputStream { NSStreamStatus status; CFRunLoopSource source; readonly Stream stream; bool notifying; NSError? error; public WrappedNSInputStream (Stream inputStream) { status = NSStreamStatus.NotOpen; stream = inputStream; source = new CFRunLoopSource (Handle, false); IsDirectBinding = false; } [Preserve (Conditional = true)] public override NSStreamStatus Status => status; [Preserve (Conditional = true)] public override void Open () { status = NSStreamStatus.Open; Notify (CFStreamEventType.OpenCompleted); } [Preserve (Conditional = true)] public override void Close () { status = NSStreamStatus.Closed; } [Preserve (Conditional = true)] public override nint Read (IntPtr buffer, nuint len) { try { var sourceBytes = new byte [len]; var read = stream.Read (sourceBytes, 0, (int) len); Marshal.Copy (sourceBytes, 0, buffer, (int) len); if (notifying) return read; notifying = true; if (stream.CanSeek && stream.Position == stream.Length) { Notify (CFStreamEventType.EndEncountered); status = NSStreamStatus.AtEnd; } notifying = false; return read; } catch (Exception e) { // -1 means that the operation failed; more information about the error can be obtained with streamError. error = new NSExceptionError (e); return -1; } } [Preserve (Conditional = true)] public override NSError Error { get { return error ?? base.Error; } } [Preserve (Conditional = true)] public override bool HasBytesAvailable () { return true; } [Preserve (Conditional = true)] protected override bool GetBuffer (out IntPtr buffer, out nuint len) { // Just call the base implemention (which will return false) return base.GetBuffer (out buffer, out len); } // NSInvalidArgumentException Reason: *** -propertyForKey: only defined for abstract class. Define -[System_Net_Http_NSUrlSessionHandler_WrappedNSInputStream propertyForKey:]! [Preserve (Conditional = true)] protected override NSObject? GetProperty (NSString key) { return null; } [Preserve (Conditional = true)] protected override bool SetProperty (NSObject? property, NSString key) { return false; } [Preserve (Conditional = true)] protected override bool SetCFClientFlags (CFStreamEventType inFlags, IntPtr inCallback, IntPtr inContextPtr) { // Just call the base implementation, which knows how to handle everything. return base.SetCFClientFlags (inFlags, inCallback, inContextPtr); } [Preserve (Conditional = true)] #if NET public override void Schedule (NSRunLoop aRunLoop, NSString nsMode) #else public override void Schedule (NSRunLoop aRunLoop, string mode) #endif { var cfRunLoop = aRunLoop.GetCFRunLoop (); #if !NET var nsMode = new NSString (mode); #endif cfRunLoop.AddSource (source, nsMode); if (notifying) return; notifying = true; Notify (CFStreamEventType.HasBytesAvailable); notifying = false; } [Preserve (Conditional = true)] #if NET public override void Unschedule (NSRunLoop aRunLoop, NSString nsMode) #else public override void Unschedule (NSRunLoop aRunLoop, string mode) #endif { var cfRunLoop = aRunLoop.GetCFRunLoop (); #if !NET var nsMode = new NSString (mode); #endif cfRunLoop.RemoveSource (source, nsMode); } protected override void Dispose (bool disposing) { stream?.Dispose (); } } } } ```
Lupe o le Soaga Soccer Club is a Samoan professional football club based in Tuanaimato. It currently plays in the Samoa National League. History Lupe o le Soaga was founded in 2011. The team played in the First Division, the second tier of the Samoa National League during the 2011–12 season where they finished runners-up to Vaimoso. They were promoted to the national league in 2012, and won the 2012-13 Samoa National League, losing only once throughout the whole season. They also won the Samoa Cup, defeating Kiwi 2–1 in the final. Kiwi took the lead, but Lupe equalised with a penalty. An additional twenty minutes extra time was played and in the second half of extra time Lupe scored the winner. The Lupe ole Soaga women's team were runner's-up in the 2012–13 women's cup final. In the 2020 edition of the OFC Champions League they became the first team coming from the qualifying stage to win a group stage match. In 2020 it was the top-ranked team in the national league. The team won all three of its matches in the 2023 OFC Champions League qualifying stage, qualifying for the 2023 OFC Champions League. Injuries caused the cancellation of their last pool game, and they were withdrawn from the competition. Titles Samoa National League: 7 2012–13 2014–15 2016 2017 2019 2020 2021 Samoa Cup: 1 2012-13 Current technical staff Current squad Squad for the 2020 OFC Champions League Premiliminary Stage References Football clubs in Samoa
Rick Hillis was a Canadian poet and short story writer. Life He graduated from the University of Saskatchewan and the Iowa Writers Workshop, with an MFA. He attended Stanford University as a Stegner Fellow and Jones Lecturer in fiction writing, and was also a Chesterfield Film Writers’ Fellow at Universal Studios. He taught creative writing at a number of institutions, including Reed College, Stanford University, Lewis & Clark College, and the University of Oregon. As well, he was on faculty at the University of Iowa’s Summer Writers’ Festival. He began teaching at DePauw University in 2002. Awards 1990 Drue Heinz Literature Prize, for Limbo River Gerald Lampert Award finalist Works Short stories Poetry Death Rick Hillis died on October 6, 2014. References Year of birth missing (living people) Living people 20th-century Canadian poets Canadian male poets Canadian male short story writers Reed College faculty Lewis & Clark College faculty DePauw University faculty Iowa Writers' Workshop alumni Stegner Fellows University of Oregon faculty 20th-century Canadian short story writers 20th-century Canadian male writers
```objective-c /* -*-objc-*- GSStreamContext - Drawing context to a stream. Written by: Adam Fedor <fedor@gnu.org> Date: Nov 1995 This file is part of the GNU Objective C User Interface Library. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public This 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 You should have received a copy of the GNU Lesser General Public If not, see <path_to_url or write to the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "config.h" #include "gsc/GSContext.h" #include "gsc/GSStreamContext.h" #include "gsc/GSStreamGState.h" #include <GNUstepGUI/GSFontInfo.h> #include <AppKit/NSAffineTransform.h> #include <AppKit/NSBezierPath.h> #include <AppKit/NSView.h> #include <AppKit/NSBitmapImageRep.h> #import <AppKit/NSFontDescriptor.h> #include <Foundation/NSArray.h> #include <Foundation/NSData.h> #include <Foundation/NSDebug.h> #include <Foundation/NSDictionary.h> #include <Foundation/NSString.h> #include <Foundation/NSUserDefaults.h> #include <Foundation/NSValue.h> #include <string.h> @interface GSFontInfo (experimental_glyph_printing_extension) // This method is currently only present in the libart backend -(const char *) nameOfGlyph: (NSGlyph)g; @end /* Print a floating point number regardless of localization */ static void fpfloat(FILE *stream, float f) { char buffer[80], *p; sprintf(buffer, "%g ", f); p = buffer; while (*p) { if (*p == ',') *p = '.'; p++; } fprintf(stream, "%s", buffer); } @interface GSStreamContext (Private) - (void) output: (const char*)s length: (size_t)length; - (void) output: (const char*)s; @end @implementation GSStreamContext + (Class) GStateClass { return [GSStreamGState class]; } + (BOOL) handlesPS { return YES; } - (void) dealloc { if (gstream) fclose(gstream); [super dealloc]; } - initWithContextInfo: (NSDictionary *)info { self = [super initWithContextInfo: info]; if (!self) return nil; if (info && [info objectForKey: @"NSOutputFile"]) { NSString *path = [info objectForKey: @"NSOutputFile"]; NSDebugLLog(@"GSContext", @"Printing to %@", path); #if defined(__MINGW32__) gstream = _wfopen([path fileSystemRepresentation], L"wb"); #else gstream = fopen([path fileSystemRepresentation], "w"); #endif if (!gstream) { NSDebugLLog(@"GSContext", @"%@: Could not open printer file %@", DPSinvalidfileaccess, path); return nil; } } else { NSDebugLLog(@"GSContext", @"%@: No stream file specified", DPSconfigurationerror); DESTROY(self); return nil; } return self; } - (BOOL)isDrawingToScreen { return NO; } @end @implementation GSStreamContext (Ops) /* your_sha256_hash------- */ /* Color operations */ /* your_sha256_hash------- */ - (void) DPSsetalpha: (CGFloat)a { [super DPSsetalpha: a]; /* This needs to be defined base on the the language level, etc. in the Prolog section. */ fpfloat(gstream, a); fprintf(gstream, "GSsetalpha\n"); } - (void) DPSsetcmykcolor: (CGFloat)c : (CGFloat)m : (CGFloat)y : (CGFloat)k { [super DPSsetcmykcolor: c : m : y : k]; fpfloat(gstream, c); fpfloat(gstream, m); fpfloat(gstream, y); fpfloat(gstream, k); fprintf(gstream, "setcmykcolor\n"); } - (void) DPSsetgray: (CGFloat)gray { [super DPSsetgray: gray]; fpfloat(gstream, gray); fprintf(gstream, "setgray\n"); } - (void) DPSsethsbcolor: (CGFloat)h : (CGFloat)s : (CGFloat)b { [super DPSsethsbcolor: h : s : b]; fpfloat(gstream, h); fpfloat(gstream, s); fpfloat(gstream, b); fprintf(gstream, "sethsbcolor\n"); } - (void) DPSsetrgbcolor: (CGFloat)r : (CGFloat)g : (CGFloat)b { [super DPSsetrgbcolor: r : g : b]; fpfloat(gstream, r); fpfloat(gstream, g); fpfloat(gstream, b); fprintf(gstream, "setrgbcolor\n"); } - (void) GSSetFillColor: (const CGFloat *)values { [self notImplemented: _cmd]; } - (void) GSSetStrokeColor: (const CGFloat *)values { [self notImplemented: _cmd]; } - (void) GSSetPatterColor: (NSImage*)image { [self notImplemented: _cmd]; } /* your_sha256_hash------- */ /* Text operations */ /* your_sha256_hash------- */ - (void) DPSashow: (CGFloat)x : (CGFloat)y : (const char*)s { fpfloat(gstream, x); fpfloat(gstream, y); fprintf(gstream, "("); [self output:s]; fprintf(gstream, ") ashow\n"); } - (void) DPSawidthshow: (CGFloat)cx : (CGFloat)cy : (int)c : (CGFloat)ax : (CGFloat)ay : (const char*)s { fpfloat(gstream, cx); fpfloat(gstream, cy); fprintf(gstream, "%d ", c); fpfloat(gstream, ax); fpfloat(gstream, ay); fprintf(gstream, "("); [self output:s]; fprintf(gstream, ") awidthshow\n"); } - (void) DPScharpath: (const char*)s : (int)b { fprintf(gstream, "("); [self output:s]; fprintf(gstream, ") %d charpath\n", b); } - (void) DPSshow: (const char*)s { fprintf(gstream, "("); [self output:s]; fprintf(gstream, ") show\n"); } - (void) DPSwidthshow: (CGFloat)x : (CGFloat)y : (int)c : (const char*)s { fpfloat(gstream, x); fpfloat(gstream, y); fprintf(gstream, "%d (", c); [self output:s]; fprintf(gstream, ") widthshow\n"); } - (void) DPSxshow: (const char*)s : (const CGFloat*)numarray : (int)size { [self notImplemented: _cmd]; } - (void) DPSxyshow: (const char*)s : (const CGFloat*)numarray : (int)size { [self notImplemented: _cmd]; } - (void) DPSyshow: (const char*)s : (const CGFloat*)numarray : (int)size { [self notImplemented: _cmd]; } - (void) GSSetCharacterSpacing: (CGFloat)extra { [self notImplemented: _cmd]; } - (void) GSSetFont: (void *)fontref { const CGFloat *m = [(GSFontInfo *)fontref matrix]; NSString *postscriptName; postscriptName = [[(GSFontInfo *)fontref fontDescriptor] postscriptName]; if (nil == postscriptName) { postscriptName = [(GSFontInfo *)fontref fontName]; } fprintf(gstream, "/%s findfont ", [postscriptName cString]); fprintf(gstream, "["); fpfloat(gstream, m[0]); fpfloat(gstream, m[1]); fpfloat(gstream, m[2]); fpfloat(gstream, m[3]); fpfloat(gstream, m[4]); fpfloat(gstream, m[5]); fprintf(gstream, "] "); fprintf(gstream, " makefont setfont\n"); [super GSSetFont: fontref]; } - (void) GSSetFontSize: (CGFloat)size { [self notImplemented: _cmd]; } - (void) GSShowText: (const char *)string : (size_t)length { fprintf(gstream, "("); [self output:string length: length]; fprintf(gstream, ") show\n"); } - (void) GSShowGlyphs: (const NSGlyph *)glyphs : (size_t)length { GSFontInfo *font = gstate->font; if ([font respondsToSelector: @selector(nameOfGlyph:)]) { unsigned int i; for (i = 0; i < length; i++) { fprintf(gstream, "/%s glyphshow\n", [font nameOfGlyph: glyphs[i]]); } } else { /* If backend doesn't handle nameOfGlyph, assume the glyphs are just mapped to characters. This is the case for the xlib backend (at least for now). */ char string[length + 1]; unsigned int i; for (i = 0; i < length; i++) { string[i] = glyphs[i]; } string[length] = 0; [self DPSshow: string]; } } - (void) GSShowGlyphsWithAdvances: (const NSGlyph *)glyphs : (const NSSize *)advances : (size_t)length { // FIXME: Currently advances is ignored [self GSShowGlyphs: glyphs : length]; } /* your_sha256_hash------- */ /* Gstate Handling */ /* your_sha256_hash------- */ - (void) DPSgrestore { [super DPSgrestore]; fprintf(gstream, "grestore\n"); } - (void) DPSgsave { [super DPSgsave]; fprintf(gstream, "gsave\n"); } - (void) DPSgstate { [super DPSgsave]; fprintf(gstream, "gstaten"); } - (void) DPSinitgraphics { [super DPSinitgraphics]; fprintf(gstream, "initgraphics\n"); } - (void) DPSsetgstate: (int)gst { [self notImplemented: _cmd]; } - (int) GSDefineGState { [self notImplemented: _cmd]; return 0; } - (void) GSUndefineGState: (int)gst { [self notImplemented: _cmd]; } - (void) GSReplaceGState: (int)gst { [self notImplemented: _cmd]; } /* your_sha256_hash------- */ /* Gstate operations */ /* your_sha256_hash------- */ - (void) DPSsetdash: (const CGFloat*)pat : (NSInteger)size : (CGFloat)offset { int i; fprintf(gstream, "["); for (i = 0; i < size; i++) fpfloat(gstream, pat[i]); fprintf(gstream, "] "); fpfloat(gstream, offset); fprintf(gstream, "setdash\n"); } - (void) DPSsetflat: (CGFloat)flatness { [super DPSsetflat: flatness]; fpfloat(gstream, flatness); fprintf(gstream, "setflat\n"); } - (void) DPSsethalftonephase: (CGFloat)x : (CGFloat)y { [super DPSsethalftonephase: x : y]; fpfloat(gstream, x); fpfloat(gstream, y); fprintf(gstream, "sethalftonephase\n"); } - (void) DPSsetlinecap: (int)linecap { [super DPSsetlinecap: linecap]; fprintf(gstream, "%d setlinecap\n", linecap); } - (void) DPSsetlinejoin: (int)linejoin { [super DPSsetlinejoin: linejoin]; fprintf(gstream, "%d setlinejoin\n", linejoin); } - (void) DPSsetlinewidth: (CGFloat)width { [super DPSsetlinewidth: width]; fpfloat(gstream, width); fprintf(gstream, "setlinewidth\n"); } - (void) DPSsetmiterlimit: (CGFloat)limit { [super DPSsetmiterlimit: limit]; fpfloat(gstream, limit); fprintf(gstream, "setmiterlimit\n"); } - (void) DPSsetstrokeadjust: (int)b { [super DPSsetstrokeadjust: b]; fprintf(gstream, "%s setstrokeadjust\n", b? "true" : "false"); } /* your_sha256_hash------- */ /* Matrix operations */ /* your_sha256_hash------- */ - (void) DPSconcat: (const CGFloat*)m { [super DPSconcat: m]; if ((m[0] == 1.0) && (m[1] == 0.0) && (m[2] == 0.0) && (m[3] == 1.0)) { if ((m[4] != 0.0) || (m[5] != 0.0)) { fpfloat(gstream, m[4]); fpfloat(gstream, m[5]); fprintf(gstream, "translate\n"); } } else { fprintf(gstream, "["); fpfloat(gstream, m[0]); fpfloat(gstream, m[1]); fpfloat(gstream, m[2]); fpfloat(gstream, m[3]); fpfloat(gstream, m[4]); fpfloat(gstream, m[5]); fprintf(gstream, "] concat\n"); } } - (void) DPSinitmatrix { [super DPSinitmatrix]; fprintf(gstream, "initmatrix\n"); } - (void) DPSrotate: (CGFloat)angle { [super DPSrotate: angle]; fpfloat(gstream, angle); fprintf(gstream, "rotate\n"); } - (void) DPSscale: (CGFloat)x : (CGFloat)y { [super DPSscale: x : y]; fpfloat(gstream, x); fpfloat(gstream, y); fprintf(gstream, "scale\n"); } - (void) DPStranslate: (CGFloat)x : (CGFloat)y { [super DPStranslate: x : y]; fpfloat(gstream, x); fpfloat(gstream, y); fprintf(gstream, "translate\n"); } - (void) GSSetCTM: (NSAffineTransform *)ctm { NSAffineTransformStruct matrix = [ctm transformStruct]; fprintf(gstream, "["); fpfloat(gstream, matrix.m11); fpfloat(gstream, matrix.m12); fpfloat(gstream, matrix.m21); fpfloat(gstream, matrix.m22); fpfloat(gstream, matrix.tX); fpfloat(gstream, matrix.tY); fprintf(gstream, "] setmatrix\n"); } - (void) GSConcatCTM: (NSAffineTransform *)ctm { NSAffineTransformStruct matrix = [ctm transformStruct]; fprintf(gstream, "["); fpfloat(gstream, matrix.m11); fpfloat(gstream, matrix.m12); fpfloat(gstream, matrix.m21); fpfloat(gstream, matrix.m22); fpfloat(gstream, matrix.tX); fpfloat(gstream, matrix.tY); fprintf(gstream, "] concat\n"); } /* your_sha256_hash------- */ /* Paint operations */ /* your_sha256_hash------- */ - (void) DPSarc: (CGFloat)x : (CGFloat)y : (CGFloat)r : (CGFloat)angle1 : (CGFloat)angle2 { fpfloat(gstream, x); fpfloat(gstream, y); fpfloat(gstream, r); fpfloat(gstream, angle1); fpfloat(gstream, angle2); fprintf(gstream, "arc\n"); } - (void) DPSarcn: (CGFloat)x : (CGFloat)y : (CGFloat)r : (CGFloat)angle1 : (CGFloat)angle2 { fpfloat(gstream, x); fpfloat(gstream, y); fpfloat(gstream, r); fpfloat(gstream, angle1); fpfloat(gstream, angle2); fprintf(gstream, "arcn\n"); } - (void) DPSarct: (CGFloat)x1 : (CGFloat)y1 : (CGFloat)x2 : (CGFloat)y2 : (CGFloat)r { fpfloat(gstream, x1); fpfloat(gstream, y1); fpfloat(gstream, x2); fpfloat(gstream, y2); fpfloat(gstream, r); fprintf(gstream, "arct\n"); } - (void) DPSclip { fprintf(gstream, "clip\n"); } - (void) DPSclosepath { fprintf(gstream, "closepath\n"); } - (void)DPScurveto: (CGFloat)x1 : (CGFloat)y1 : (CGFloat)x2 : (CGFloat)y2 : (CGFloat)x3 : (CGFloat)y3 { fpfloat(gstream, x1); fpfloat(gstream, y1); fpfloat(gstream, x2); fpfloat(gstream, y2); fpfloat(gstream, x3); fpfloat(gstream, y3); fprintf(gstream, "curveto\n"); } - (void) DPSeoclip { fprintf(gstream, "eoclip\n"); } - (void) DPSeofill { fprintf(gstream, "eofill\n"); } - (void) DPSfill { fprintf(gstream, "fill\n"); } - (void) DPSflattenpath { fprintf(gstream, "flattenpath\n"); } - (void) DPSinitclip { fprintf(gstream, "initclip\n"); } - (void) DPSlineto: (CGFloat)x : (CGFloat)y { fpfloat(gstream, x); fpfloat(gstream, y); fprintf(gstream, "lineto\n"); } - (void) DPSmoveto: (CGFloat)x : (CGFloat)y { fpfloat(gstream, x); fpfloat(gstream, y); fprintf(gstream, "moveto\n"); } - (void) DPSnewpath { fprintf(gstream, "newpath\n"); } - (void) DPSpathbbox: (CGFloat*)llx : (CGFloat*)lly : (CGFloat*)urx : (CGFloat*)ury { } - (void) DPSrcurveto: (CGFloat)x1 : (CGFloat)y1 : (CGFloat)x2 : (CGFloat)y2 : (CGFloat)x3 : (CGFloat)y3 { fpfloat(gstream, x1); fpfloat(gstream, y1); fpfloat(gstream, x2); fpfloat(gstream, y2); fpfloat(gstream, x3); fpfloat(gstream, y3); fprintf(gstream, "rcurveto\n"); } - (void) DPSrectclip: (CGFloat)x : (CGFloat)y : (CGFloat)w : (CGFloat)h { fpfloat(gstream, x); fpfloat(gstream, y); fpfloat(gstream, w); fpfloat(gstream, h); fprintf(gstream, "rectclip\n"); } - (void) DPSrectfill: (CGFloat)x : (CGFloat)y : (CGFloat)w : (CGFloat)h { fpfloat(gstream, x); fpfloat(gstream, y); fpfloat(gstream, w); fpfloat(gstream, h); fprintf(gstream, "rectfill\n"); } - (void) DPSrectstroke: (CGFloat)x : (CGFloat)y : (CGFloat)w : (CGFloat)h { fpfloat(gstream, x); fpfloat(gstream, y); fpfloat(gstream, w); fpfloat(gstream, h); fprintf(gstream, "rectstroke\n"); } - (void) DPSreversepath { fprintf(gstream, "reversepath\n"); } - (void) DPSrlineto: (CGFloat)x : (CGFloat)y { fpfloat(gstream, x); fpfloat(gstream, y); fprintf(gstream, "rlineto\n"); } - (void) DPSrmoveto: (CGFloat)x : (CGFloat)y { fpfloat(gstream, x); fpfloat(gstream, y); fprintf(gstream, "rmoveto\n"); } - (void) DPSstroke { fprintf(gstream, "stroke\n"); } - (void) GSSendBezierPath: (NSBezierPath *)path { NSBezierPathElement type; NSPoint pts[3]; NSInteger i, count = 10; CGFloat pattern[10]; CGFloat phase = 0.0; [self DPSnewpath]; [self DPSsetlinewidth: [path lineWidth]]; [self DPSsetlinejoin: [path lineJoinStyle]]; [self DPSsetlinecap: [path lineCapStyle]]; [self DPSsetmiterlimit: [path miterLimit]]; [self DPSsetflat: [path flatness]]; [path getLineDash: pattern count: &count phase: &phase]; // Always sent the dash pattern. When NULL this will reset to a solid line. [self DPSsetdash: pattern : count : phase]; count = [path elementCount]; for (i = 0; i < count; i++) { type = [path elementAtIndex: i associatedPoints: pts]; switch (type) { case NSMoveToBezierPathElement: [self DPSmoveto: pts[0].x : pts[0].y]; break; case NSLineToBezierPathElement: [self DPSlineto: pts[0].x : pts[0].y]; break; case NSCurveToBezierPathElement: [self DPScurveto: pts[0].x : pts[0].y : pts[1].x : pts[1].y : pts[2].x : pts[2].y]; break; case NSClosePathBezierPathElement: [self DPSclosepath]; break; default: break; } } } - (void) GSRectClipList: (const NSRect *)rects : (int)count { int i; NSRect union_rect; if (count == 0) return; /* The specification is not clear if the union of the rects should produce the new clip rect or if the outline of all rects should be used as clip path. */ union_rect = rects[0]; for (i = 1; i < count; i++) union_rect = NSUnionRect(union_rect, rects[i]); [self DPSrectclip: NSMinX(union_rect) : NSMinY(union_rect) : NSWidth(union_rect) : NSHeight(union_rect)]; } - (void) GSRectFillList: (const NSRect *)rects : (int)count { int i; for (i = 0; i < count; i++) [self DPSrectfill: NSMinX(rects[i]) : NSMinY(rects[i]) : NSWidth(rects[i]) : NSHeight(rects[i])]; } /* your_sha256_hash------- */ /* Window system ops */ /* your_sha256_hash------- */ - (void) DPScurrentgcdrawable: (void**)gc : (void**)draw : (int*)x : (int*)y { NSLog(@"DPSinvalidcontext: getting gcdrawable from stream context"); } - (void) DPScurrentoffset: (int*)x : (int*)y { NSLog(@"DPSinvalidcontext: getting drawable offset from stream context"); } - (void) DPSsetgcdrawable: (void*)gc : (void*)draw : (int)x : (int)y { NSLog(@"DPSinvalidcontext: setting gcdrawable from stream context"); } - (void) DPSsetoffset: (short int)x : (short int)y { NSLog(@"DPSinvalidcontext: setting drawable offset from stream context"); } /*your_sha256_hash---------*/ /* Graphics Extensions Ops */ /*your_sha256_hash---------*/ - (void) DPScomposite: (CGFloat)x : (CGFloat)y : (CGFloat)w : (CGFloat)h : (NSInteger)gstateNum : (CGFloat)dx : (CGFloat)dy : (NSCompositingOperation)op { fpfloat(gstream, x); fpfloat(gstream, y); fpfloat(gstream, w); fpfloat(gstream, h); fprintf(gstream, "%d ", (int)gstateNum); fpfloat(gstream, dx); fpfloat(gstream, dy); fprintf(gstream, "%d composite\n", (int)op); } - (void) DPScompositerect: (CGFloat)x : (CGFloat)y : (CGFloat)w : (CGFloat)h : (NSCompositingOperation)op { fpfloat(gstream, x); fpfloat(gstream, y); fpfloat(gstream, w); fpfloat(gstream, h); fprintf(gstream, "%d compositerect\n", (int)op); } - (void) DPSdissolve: (CGFloat)x : (CGFloat)y : (CGFloat)w : (CGFloat)h : (NSInteger)gstateNum : (CGFloat)dx : (CGFloat)dy : (CGFloat)delta { NSLog(@"DPSinvalidcontext: dissolve in a stream context"); } - (void) GScomposite: (NSInteger)gstateNum toPoint: (NSPoint)aPoint fromRect: (NSRect)srcRect operation: (NSCompositingOperation)op fraction: (CGFloat)delta { [self DPScomposite: NSMinX(srcRect) : NSMinY(srcRect) : NSWidth(srcRect) : NSHeight(srcRect) : gstateNum : aPoint.x : aPoint.y : op]; } - (void) GSDrawImage: (NSRect)rect : (void *)imageref { id image = (id)imageref; unsigned char *imagePlanes[5]; if([image isKindOfClass: [NSBitmapImageRep class]]) { fprintf(gstream,"%%%% BeginImage\n"); [image getBitmapDataPlanes: imagePlanes]; [self NSDrawBitmap: rect : [image pixelsWide] : [image pixelsHigh] : [image bitsPerSample] : [image samplesPerPixel] : [image bitsPerPixel] : [image bytesPerRow] : [image isPlanar] : [image hasAlpha] : [image colorSpaceName] : (const unsigned char **)imagePlanes]; fprintf(gstream,"%%%% EndImage\n"); } } /* your_sha256_hash------- */ /* Client functions */ /* your_sha256_hash------- */ - (void) DPSPrintf: (const char *)fmt : (va_list)args { vfprintf(gstream, fmt, args); } - (void) DPSWriteData: (const char *)buf : (unsigned int)count { /* Not sure here. Should we translate to ASCII if it's not already? */ } @end static void writeHex(FILE *gstream, const unsigned char *data, int count) { static const char *hexdigits = "0123456789abcdef"; int i; for (i = 0; i < count; i++) { fputc(hexdigits[(int)(data[i] / 16)], gstream); fputc(hexdigits[(int)(data[i] % 16)], gstream); if (i && i % 40 == 0) fprintf(gstream, "\n"); } } @implementation GSStreamContext (Graphics) - (void) NSDrawBitmap: (NSRect)rect : (NSInteger)pixelsWide : (NSInteger)pixelsHigh : (NSInteger)bitsPerSample : (NSInteger)samplesPerPixel : (NSInteger)bitsPerPixel : (NSInteger)bytesPerRow : (BOOL)isPlanar : (BOOL)hasAlpha : (NSString *)colorSpaceName : (const unsigned char *const [5])data { NSInteger bytes, spp; CGFloat y; BOOL flipped = NO; /* In a flipped view, we don't want to flip the image again, which would make it come out upsidedown. FIXME: This can't be right, can it? */ if ([[NSView focusView] isFlipped]) flipped = YES; /* Save scaling */ fprintf(gstream, "matrix\ncurrentmatrix\n"); y = NSMinY(rect); if (flipped) y += NSHeight(rect); fpfloat(gstream, NSMinX(rect)); fpfloat(gstream, y); fprintf(gstream, "translate "); fpfloat(gstream, NSWidth(rect)); fpfloat(gstream, NSHeight(rect)); fprintf(gstream, "scale\n"); if (bitsPerSample == 0) bitsPerSample = 8; bytes = (bitsPerSample * pixelsWide * pixelsHigh + 7) / 8; if (bytes * samplesPerPixel != bytesPerRow * pixelsHigh) { NSLog(@"Image Rendering Error: Dodgy bytesPerRow value %d", (int)bytesPerRow); NSLog(@" pixelsHigh=%d, bytes=%d, samplesPerPixel=%d", (int)bytesPerRow, (int)pixelsHigh, (int)bytes); return; } if (hasAlpha) spp = samplesPerPixel - 1; else spp = samplesPerPixel; if (samplesPerPixel > 1) { if (isPlanar || hasAlpha) { if (bitsPerSample != 8) { NSLog(@"Image format conversion not supported for bps!=8"); return; } } fprintf(gstream, "%d %d %d [%d 0 0 %d 0 %d]\n", (int)pixelsWide, (int)pixelsHigh, (int)bitsPerSample, (int)pixelsWide, (flipped) ? (int)pixelsHigh : (int)-pixelsHigh, (int)pixelsHigh); fprintf(gstream, "{currentfile %d string readhexstring pop}\n", (int)(pixelsWide * spp)); fprintf(gstream, "false %d colorimage\n", (int)spp); } else { fprintf(gstream, "%d %d %d [%d 0 0 %d 0 %d]\n", (int)pixelsWide, (int)pixelsHigh, (int)bitsPerSample, (int)pixelsWide, (flipped) ? (int)pixelsHigh : (int)-pixelsHigh, (int)pixelsHigh); fprintf(gstream, "currentfile image\n"); } // The context is now waiting for data on its standard input if (isPlanar || hasAlpha) { // We need to do a format conversion. // We do this on the fly, sending data to the context as soon as // it is computed. int i, j; // Preset this variable to keep compiler happy. int alpha = 0; unsigned char val; for (j = 0; j < bytes; j++) { if (hasAlpha) { if (isPlanar) alpha = data[spp][j]; else alpha = data[0][spp + j * samplesPerPixel]; } for (i = 0; i < spp; i++) { if (isPlanar) val = data[i][j]; else val = data[0][i + j * samplesPerPixel]; if (hasAlpha) val = 255 - ((255 - val) * (long)alpha) / 255; writeHex(gstream, &val, 1); } if (j && j % 40 == 0) fprintf(gstream, "\n"); } fprintf(gstream, "\n"); } else { // The data is already in the format the context expects it in writeHex(gstream, data[0], bytes * samplesPerPixel); } /* Restore original scaling */ fprintf(gstream, "setmatrix\n"); } @end @implementation GSStreamContext (Private) - (void) output: (const char*)s length: (size_t)length { unsigned int i; for (i = 0; i < length; i++) { switch (s[i]) { case '(': fputs("\\(", gstream); break; case ')': fputs("\\)", gstream); break; default: fputc(s[i], gstream); break; } } } - (void) output: (const char*)s { [self output: s length: strlen(s)]; } @end ```
```sqlpl # Header section # Define incrementing schema version number SET @schema_version = '26'; # Add field ALTER TABLE `lists` ADD COLUMN `public_subscribe` tinyint(1) unsigned DEFAULT 1 NOT NULL AFTER `created`; # Footer section LOCK TABLES `settings` WRITE; INSERT INTO `settings` (`key`, `value`) VALUES('db_schema_version', @schema_version) ON DUPLICATE KEY UPDATE `value`=@schema_version; UNLOCK TABLES; ```
```swift import UIKit import SwiftUI @available(iOS 14.0, *) struct PageContentConfiguration<Content: View>: UIContentConfiguration { let content: Content var margins: NSDirectionalEdgeInsets init(@ViewBuilder content: () -> Content) { self.content = content() self.margins = .zero } func makeContentView() -> UIView & UIContentView { return PageContentView(configuration: self) } func updated(for state: UIConfigurationState) -> PageContentConfiguration<Content> { return self } func margins(_ edges: SwiftUI.Edge.Set = .all, _ length: CGFloat) -> PageContentConfiguration<Content> { var configuration = self configuration.margins = NSDirectionalEdgeInsets( top: edges.contains(.top) ? length : margins.top, leading: edges.contains(.leading) ? length : margins.leading, bottom: edges.contains(.bottom) ? length : margins.bottom, trailing: edges.contains(.trailing) ? length : margins.trailing ) return configuration } } @available(iOS 14.0, *) final class PageContentView<Content: View>: UIView, UIContentView { var configuration: UIContentConfiguration { didSet { if let configuration = configuration as? PageContentConfiguration<Content> { margins = configuration.margins hostingController.rootView = configuration.content directionalLayoutMargins = configuration.margins } } } override var intrinsicContentSize: CGSize { return sizeThatFits(UIView.layoutFittingCompressedSize) } override func sizeThatFits(_ size: CGSize) -> CGSize { let size = hostingController.sizeThatFits(in: size) return CGSize( width: size.width + margins.leading + margins.trailing, height: size.height + margins.top + margins.bottom ) } private var margins: NSDirectionalEdgeInsets private let hostingController: UIHostingController<Content> init(configuration: PageContentConfiguration<Content>) { self.configuration = configuration self.hostingController = UIHostingController(rootView: configuration.content) self.margins = configuration.margins super.init(frame: .zero) configure() } required init?(coder: NSCoder) { fatalError("init(coder:) has not been implemented") } override func didMoveToWindow() { super.didMoveToWindow() if window == nil { hostingController.willMove(toParent: nil) hostingController.removeFromParent() hostingController.didMove(toParent: nil) } else if let parent = parentViewController() { hostingController.willMove(toParent: parent) parent.addChild(hostingController) hostingController.didMove(toParent: parent) } } private func configure() { hostingController.view.backgroundColor = .clear addSubview(hostingController.view) hostingController.view.translatesAutoresizingMaskIntoConstraints = false NSLayoutConstraint.activate([ hostingController.view.topAnchor.constraint(equalTo: layoutMarginsGuide.topAnchor), hostingController.view.leadingAnchor.constraint(equalTo: layoutMarginsGuide.leadingAnchor), hostingController.view.trailingAnchor.constraint(equalTo: layoutMarginsGuide.trailingAnchor), hostingController.view.bottomAnchor.constraint(equalTo: layoutMarginsGuide.bottomAnchor) ]) } private func parentViewController() -> UIViewController? { var responder: UIResponder? = self while let nextResponder = responder?.next { if let viewController = nextResponder as? UIViewController { return viewController } responder = nextResponder } return nil } } ```
The Heyne Verlag (formerly Wilhelm Heyne Verlag) is a German publisher based in Munich, which was founded in Dresden in 1934 and sold to Axel Springer in 2000. In 2004 it became part of Random House. Heyne was one of the largest publishing houses in Germany in 1999. History Wilhelm Heyne Era: 1934-1960 Wilhelm Heyne founded the publisher, named after him, on 15 February 1934 in Dresden. The first authors included Reinhold Conrad Muschler ("Die Unbekannte"), Werner Bergengruen ("Die drei Falken"), Ernst Moritz Mungenast ("Christop Gadar"), and Arthur-Heinz Lehmann ("Rauhbautz will auch leben!"), as well as the US-American writer Gwen Bristow with "Tiefer Süden". In 1940, Franz Schneekluth acquired minority shares in the Wilhelm Heyne Verlag, after he became director of the publishing house in 1935. During the air raids on Dresden the publishing house in Reichsstrasse was completely destroyed. After the war, the activities in Munich were resumed in 1948, with Wilhelm Heyne holding only 40 percent of the shares in the publishing house. Rolf Heyne Era: 1960-2000 In 1951, Rolf Heyne joined the Wilhelm Heyne Verlag, where he took over the management at the beginning of the 1960s. Under his leadership, the publisher's paperback program was created. It was expanded in 1966 by the works of Georges Simenon, which was given to the Wilhelm Heyne Verlag by Kiepenheuer & Witsch. In addition, the paperbacks of the Kindler Verlag were taken over. The 1950s and '60s were also characterized by the introduction of various series in addition to the regular program (General Series). These included Heyne Paperbacks for world literary works as well as Heyne Science Fiction and Heyne Trade books. The latter started with "Profiles in Courage" by John F. Kennedy, for which the author received the Pulitzer Prize. In 1970, the Moewig Verlag, which the Heyne family had bought before the Second World War, was sold to Bauer Media Group. In 1974, Wilhelm Heyne Verlag co-operated with the publishing group Bertelsmann, with the intentions to better cover the market for paperbacks. At the same time, Heyne should be facilitated access to youth, trade and specialist titles. They also worked with Hestia Verlag from Bayreuth. At the end of the 1970s, a number of licenses from the publisher Fritz Molden was also purchased to expand Heyne's program. At that time, the Heyne paperbacks had a total circulation of over 100 million copies. The Karl May series began with "Winnetou I" in 1976, and other specialized programs such as Heyne Geschichte and Heyne Lyrik In 1982 the Wilhelm Heyne Verlag was finally transformed into a GmbH & Co. KG under the direction of Hans-Joachim Brede and Friedhelm Koch. Rolf Heyne was a limited partner with a contribution of eight million Deutsche Mark. In the early 1990s, the publisher bought the majority of Zabert Sandmann and worked together with publishers Haffmans and Beltz-Quadriga in the areas of various Imprints. By the end of 1993, Heyne Verlag had published a total of 16,000 titles in an edition of 500 million copies. Axel Springer and Random House At the end of the 1990s, the media reported about interests from several major publishers wanting to takeover Wilhelm Heyne, including Bertelsmann and the publishing group Holtzbrinck. According to media reports, Bertelsmann was given the best chances, but Axel Springer stepped up in December 2000. Rolf Heyne was to join the supervisory board of the new publishing group Heyne Ullstein, but died shortly after the acquisition. In February 2003 the publishing group Random House wanted to take over the publishers Ullstein Heyne List from Axel Springer. The Federal Cartel Office, however, did not approve the acquisition, as a dominant market position of German-language paperbacks was feared. The acquisition was limited to the Wilhelm Heyne Verlag, while the remaining publishers including the Heyne programs for esoterism and fantasy were distributed to the Swedish Bonnier Group. The guidebooks and audiobook publishers were part of the transaction, to which the Federal Cartel Office finally agreed to in November of that year. Wilhelm Heyne was merged with Random House during the takeover. Since then, the Heyne Verlag has been a part of the Random House publishing group, but is treated as a separate publisher in bookstores. Program Previously, the Heyne Verlag organized its program in so-called series, of which a total of more than 50 pieces existed. The subject of a series were either certain subjects (e.g., Heyne Film Library) or events (e.g., the Heyne Jubilee Series since 1993). In 2014, all available works were divided into the following categories: Suspense, Entertainment for Women, Historical Programs, Young Program, Fantasy & Science Fiction, Hardcover, Nonfiction and Guidebooks. Heyne published both hardcover and paperbacks, including Authors such as Nicholas Sparks, Robert Harris, Amelie Fried, Sabine Thiesler, John Grisham and Stephen King. In the mid-1980s, the publisher launched the Rolf Heyne Collection for the first time to expand the hardcover program. The aim of the imprint was, according to various statements of the publication of high-quality illustrated volumes, to meet the "aesthetic requirements" of the publisher. A central theme of the series was, for example, the French cuisine, but also baby photos by Anne Geddes. With the takeover of the Wilhelm Heyne Verlag by Axel Springer in the year 2000, the program of the Rolf Heyne CollectionGmbH was continued as an independent publisher. At the end of 2014, Rolf Heynes' widow Anja closed business of the Rolf Heyne Collection. References Further reading Günther Fetzer, ed., 30 Jahre Heyne-Taschenbücher. 1958-1988, Munich: Heyne, 1988, . Günther Fetzer, ed., Wilhelm-Heyne-Bibliographie 1934-1994, Munich: Heyne, 1994, . External links Official Website Mass media in Munich 1934 establishments in Germany Book publishing companies of Germany Random House
```javascript // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. // Note: In 0.8 and before, crypto functions all defaulted to using // binary-encoded strings rather than buffers. 'use strict'; const { assertCrypto, deprecate } = require('internal/util'); assertCrypto(); const { ERR_CRYPTO_FIPS_FORCED, ERR_CRYPTO_FIPS_UNAVAILABLE } = require('internal/errors').codes; const constants = internalBinding('constants').crypto; const { fipsMode, fipsForced } = process.binding('config'); const { getFipsCrypto, setFipsCrypto, } = process.binding('crypto'); const { randomBytes, randomFill, randomFillSync } = require('internal/crypto/random'); const { pbkdf2, pbkdf2Sync } = require('internal/crypto/pbkdf2'); const { scrypt, scryptSync } = require('internal/crypto/scrypt'); const { generateKeyPair, generateKeyPairSync } = require('internal/crypto/keygen'); const { DiffieHellman, DiffieHellmanGroup, ECDH } = require('internal/crypto/diffiehellman'); const { Cipher, Cipheriv, Decipher, Decipheriv, privateDecrypt, privateEncrypt, publicDecrypt, publicEncrypt } = require('internal/crypto/cipher'); const { Sign, Verify } = require('internal/crypto/sig'); const { Hash, Hmac } = require('internal/crypto/hash'); const { getCiphers, getCurves, getDefaultEncoding, getHashes, setDefaultEncoding, setEngine, timingSafeEqual, toBuf } = require('internal/crypto/util'); const Certificate = require('internal/crypto/certificate'); // These helper functions are needed because the constructors can // use new, in which case V8 cannot inline the recursive constructor call function createHash(algorithm, options) { return new Hash(algorithm, options); } function createCipher(cipher, password, options) { return new Cipher(cipher, password, options); } function createCipheriv(cipher, key, iv, options) { return new Cipheriv(cipher, key, iv, options); } function createDecipher(cipher, password, options) { return new Decipher(cipher, password, options); } function createDecipheriv(cipher, key, iv, options) { return new Decipheriv(cipher, key, iv, options); } function createDiffieHellman(sizeOrKey, keyEncoding, generator, genEncoding) { return new DiffieHellman(sizeOrKey, keyEncoding, generator, genEncoding); } function createDiffieHellmanGroup(name) { return new DiffieHellmanGroup(name); } function createECDH(curve) { return new ECDH(curve); } function createHmac(hmac, key, options) { return new Hmac(hmac, key, options); } function createSign(algorithm, options) { return new Sign(algorithm, options); } function createVerify(algorithm, options) { return new Verify(algorithm, options); } module.exports = exports = { // Methods _toBuf: toBuf, createCipher, createCipheriv, createDecipher, createDecipheriv, createDiffieHellman, createDiffieHellmanGroup, createECDH, createHash, createHmac, createSign, createVerify, getCiphers, getCurves, getDiffieHellman: createDiffieHellmanGroup, getHashes, pbkdf2, pbkdf2Sync, generateKeyPair, generateKeyPairSync, privateDecrypt, privateEncrypt, prng: randomBytes, pseudoRandomBytes: randomBytes, publicDecrypt, publicEncrypt, randomBytes, randomFill, randomFillSync, rng: randomBytes, scrypt, scryptSync, setEngine, timingSafeEqual, getFips: !fipsMode ? getFipsDisabled : fipsForced ? getFipsForced : getFipsCrypto, setFips: !fipsMode ? setFipsDisabled : fipsForced ? setFipsForced : setFipsCrypto, // Classes Certificate, Cipher, Cipheriv, Decipher, Decipheriv, DiffieHellman, DiffieHellmanGroup, ECDH, Hash, Hmac, Sign, Verify }; function setFipsDisabled() { throw new ERR_CRYPTO_FIPS_UNAVAILABLE(); } function setFipsForced(val) { if (val) return; throw new ERR_CRYPTO_FIPS_FORCED(); } function getFipsDisabled() { return 0; } function getFipsForced() { return 1; } Object.defineProperties(exports, { // crypto.fips is deprecated. DEP0093. Use crypto.getFips()/crypto.setFips() fips: { get: !fipsMode ? getFipsDisabled : fipsForced ? getFipsForced : getFipsCrypto, set: !fipsMode ? setFipsDisabled : fipsForced ? setFipsForced : setFipsCrypto }, DEFAULT_ENCODING: { enumerable: true, configurable: true, get: deprecate(getDefaultEncoding, 'crypto.DEFAULT_ENCODING is deprecated.', 'DEP0091'), set: deprecate(setDefaultEncoding, 'crypto.DEFAULT_ENCODING is deprecated.', 'DEP0091') }, constants: { configurable: false, enumerable: true, value: constants }, // Legacy API createCredentials: { configurable: true, enumerable: true, get: deprecate(() => { return require('tls').createSecureContext; }, 'crypto.createCredentials is deprecated. ' + 'Use tls.createSecureContext instead.', 'DEP0010') }, Credentials: { configurable: true, enumerable: true, get: deprecate(function() { return require('tls').SecureContext; }, 'crypto.Credentials is deprecated. ' + 'Use tls.SecureContext instead.', 'DEP0011') } }); ```
```xml import * as tool from '../lib/tool'; import type { IVConsoleLog, IVConsoleLogData } from './log.model'; const getPreviewText = (val: any) => { const json = tool.safeJSONStringify(val, { maxDepth: 0 }); let preview = json.substring(0, 36); let ret = tool.getObjName(val); if (json.length > 36) { preview += '...'; } // ret = tool.getVisibleText(tool.htmlEncode(ret + ' ' + preview)); ret = tool.getVisibleText(ret + ' ' + preview); return ret; }; /** * Get a value's text content and its type. */ export const getValueTextAndType = (val: any, wrapString = true) => { let valueType = 'undefined'; let text = val; if (val instanceof VConsoleUninvocatableObject) { valueType = 'uninvocatable'; text = '(...)'; } else if (tool.isArray(val)) { valueType = 'array'; text = getPreviewText(val); } else if (tool.isObject(val)) { valueType = 'object'; text = getPreviewText(val); } else if (tool.isString(val)) { valueType = 'string'; text = tool.getVisibleText(val); if (wrapString) { text = '"' + text + '"'; } } else if (tool.isNumber(val)) { valueType = 'number'; text = String(val); } else if (tool.isBigInt(val)) { valueType = 'bigint'; text = String(val) + 'n'; } else if (tool.isBoolean(val)) { valueType = 'boolean'; text = String(val); } else if (tool.isNull(val)) { valueType = 'null'; text = 'null'; } else if (tool.isUndefined(val)) { valueType = 'undefined'; text = 'undefined'; } else if (tool.isFunction(val)) { valueType = 'function'; text = (val.name || 'function') + '()'; } else if (tool.isSymbol(val)) { valueType = 'symbol'; text = String(val); } return { text, valueType }; } const frontIdentifierList = ['.', '[', '(', '{', '}']; const backIdentifierList = [']', ')', '}']; const _getIdentifier = (text: string, identifierList: string[], startPos = 0) => { // for case 'aa.bb.cc' const ret = { text: '', // '.' pos: -1, // 5 before: '', // 'aa.bb' after: '', // 'cc' }; for (let i = text.length - 1; i >= startPos; i--) { const idx = identifierList.indexOf(text[i]); if (idx > -1) { ret.text = identifierList[idx]; ret.pos = i; ret.before = text.substring(startPos, i); ret.after = text.substring(i + 1, text.length); break; } } return ret; }; /** * A simple parser to get `[` or `]` information. */ export const getLastIdentifier = (text: string) => { const front = _getIdentifier(text, frontIdentifierList, 0); const back = _getIdentifier(text, backIdentifierList, front.pos + 1); return { front, back, }; }; export const isMatchedFilterText = (log: IVConsoleLog, filterText: string) => { if (filterText === '') { return true; } for (let i = 0; i < log.data.length; i++) { const type = typeof log.data[i].origData; if (type === 'string') { if (log.data[i].origData.indexOf(filterText) > -1) { return true; } } } return false; }; // keywords: `%c | %s | %d | %o`, must starts or ends with a blank const logFormattingPattern = /(\%[csdo] )|( \%[csdo])/g; /** * Styling log output (`%c`), or string substitutions (`%s`, `%d`, `%o`). * Apply to the first log only. */ export const getLogDatasWithFormatting = (origDatas: any[]) => { // reset RegExp.lastIndex to ensure search starts from beginning logFormattingPattern.lastIndex = 0; if (tool.isString(origDatas[0]) && logFormattingPattern.test(origDatas[0])) { const rawDatas = [...origDatas]; const firstData: string = rawDatas.shift(); // use firstData as display logs const mainLogs = firstData.split(logFormattingPattern).filter((val) => { return val !== undefined && val !== ''; }); // use remain logs as replace item const subLogs = rawDatas; const logDataList: IVConsoleLogData[] = []; let isSetOrigData = false; let origData: any; let style = ''; while (mainLogs.length > 0) { const mainText = mainLogs.shift(); if (/ ?\%c ?/.test(mainText)) { // Use subLogs[0] as CSS style. // If subLogs[0] is not set, use original mainText as origData. // If subLogs[0] is not a string, then leave style empty. if (subLogs.length > 0) { style = subLogs.shift(); if (typeof style !== 'string') { style = ''; } } else { origData = mainText; style = ''; isSetOrigData = true; } } else if (/ ?\%[sd] ?/.test(mainText)) { // Use subLogs[0] as origData (as String). // If subLogs[0] is not set, use original mainText as origData. // If subLogs[0] is not a string, convert it to a string. if (subLogs.length > 0) { origData = tool.isObject(subLogs[0]) ? tool.getObjName(subLogs.shift()) : String(subLogs.shift()); } else { origData = mainText; } isSetOrigData = true; } else if (/ ?\%o ?/.test(mainText)) { // Use subLogs[0] as origData (as original Object value). // If subLogs[0] is not set, use original mainText as origData. origData = subLogs.length > 0 ? subLogs.shift() : mainText; isSetOrigData = true; } else { origData = mainText; isSetOrigData = true; } if (isSetOrigData) { const log: IVConsoleLogData = { origData }; if (style) { log.style = style; } logDataList.push(log); // reset isSetOrigData = false; origData = undefined; style = ''; } } // If there are remaining subLogs, add them to logs. for (let i = 0; i < subLogs.length; i++) { logDataList.push({ origData: subLogs[i], }); } // (window as any)._vcOrigConsole.log('getLogDataWithSubstitutions format', logDataList); return logDataList; } else { const logDataList: IVConsoleLogData[] = []; for (let i = 0; i < origDatas.length; i++) { logDataList.push({ origData: origDatas[i], }); } // (window as any)._vcOrigConsole.log('getLogDataWithSubstitutions normal', logDataList); return logDataList; } }; /** * An empty class for rendering views. */ export class VConsoleUninvocatableObject { } ```
The Denbigh Arms is a former pub at 3 Denbigh Place, Pimlico, London, England, SW1. It is a Grade II listed building, built in the mid 19th century. The pub closed in 1998 and the building is now a private house. References External links Grade II listed pubs in the City of Westminster Former pubs in London Pimlico
Walter Merlioun, was a Scottish master mason based in Edinburgh. Working for James IV Merlioun worked on a number of buildings in Scotland including castles and churches for James IV of Scotland. Henry Merlioun, who built Ravenscraig Castle for Mary of Gueldres was probably his father. The family had a property in Edinburgh on the south side of the High Street, which gave their name to a close, "Merlin's Wynd". Walter and his brother John Merlioun are recorded as the builders of the lodging or king's house at Stirling Castle, now known as the "King's Old Building". The work commenced in June 1496. A large amount of timber was bought and shipped from Leith. The overall supervisor of building at Stirling was a priest, Thomas Smyth, and after 1497, Andrew Aytoun, captain of the castle. Advice on the building was taken from the master master of Linlithgow, who visited and gave his "device". Andrew Sclatare, who was a slater, was working on the roof in November 1496, and the Merlioun brothers had a final payment for the "hous bigging", building the house in January 1497. The lodging was damaged by a fire in 1855, and rebuilt to designs by Robert Billings, but some original masonry survives. The original entrance stair in a hexagonal pepperpot turret resembles the great hall at Castle Campbell. Walter Merlioun worked on the church of St John at Perth in 1496. In April 1497 he was at Dunbar Castle and was paid £10 Scots as an installment for his work on the gatehouse or "fore work". In June he completed the "pending", perhaps the vaulting, of the hall at Dunbar, and the masonry of the "Hannis tower", which was roofed by William Young and Tom Mackachane. Walter Merlioun was granted a pension for life of £40 in June 1499. In 1500 he was working at Holyrood Palace. In 1501 John Merlioun and two workmen were sent north to Darnaway Castle where the famous hall had recently been repaired, and James IV set up a household for his mistress Janet Kennedy. In October 1502 Walter Merlioun began work on a new chapel and "foirwerk" at Holyrood Palace. He was given a symbolic payment of 14 shillings called "God's penny". The fore work was a vaulted passageway serving as the entrance to the palace yard, and its remains can still be at Abbey Strand at the gate of the palace. The glazier Thomas Peebles worked in the upper floor of this building until 1537. In November 1505 Merlioun was paid 200 merks for his part of building a new tower at Holyrood Palace. Walter Merlioun was said to have paved Edinburgh's High Street. He became a semi-legendary figure in Edinburgh history, conflated with later stories, and said to have been a Frenchman. An arrangement of stones near the site of his house at Merlin's or Marlin's wynd was said to represent his coffin, visible before the area was cleared in 1785 for the building of South Bridge. Marlin's wynd is the close or street revealed by archaeologists under the floor of the Tron Kirk in 1974. Walter Merlioun was dead by 1521 and his widow Margaret Robisoun sold her property situated in the Lauder tenement in 1527. Properties records indicate the building was damaged in May 1544 when an English army burnt Edinburgh, an action in the war known as the Rough Wooing. The Craft's altar in St Giles On 3 March and 19 June 1506 Walter Merlioun took the king's offering of 14 shillings for the light or lamp of St John's altar in St Giles' Kirk, the altar of the mason craft. On 8 May 1508 Walter Merlioun and his wife Margaret Robisoun made over a rental or income from a property on the south side of Edinburgh's High Street, situated within a tenement belonging to Robert Lauder, for the benefit of the altars of St John the Baptist and St John the Evangelist in St Giles, which were maintained by the Edinburgh Craft of Masons and Wrights. Reign of James V Walter and John Merlioun, of the next generation, probably their namesake sons, were involved in building work at Falkland Palace and Holyrood Palace for James V in the 1530s. In 1538 "Johne Merilyone" was paid for significant works at Falkland, on the now ruined quarter "East Quarter". This was the conversion and extension of an older building. He inserted chimneys, and new dividing walls, and built vaults. The refurbishment included seven chambers, the royal wardrobe and the kitchens, with the food "dressory" and cup house. The new spaces were cleaned by the "barrow men" and site labourers and the seven chambers were lime plastered by John Malcolm alias Callum, whose craft was known as "perjoning". John Merlioun was also paid for building a new Register House in Edinburgh Castle to house the Scottish exchequer archives in 1540. References External links Description of the Abbey Strand Pend or Gatehouse, Holyrood Palace, HES/RCAHMS Canmore Morag Cross, 'Documentary Evidence', in Marlin's Wynd: new archaeological and documentary research on Post-medieval settlement below the Tron Kirk, Edinburgh: SAIR, 55 (2013) Court of James IV of Scotland 15th-century Scottish people 16th-century Scottish people Scottish architects Businesspeople from Edinburgh People of Stirling Castle
```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.wso2.ballerinalang.compiler.desugar; import io.ballerina.tools.diagnostics.Location; import org.ballerinalang.model.TreeBuilder; import org.ballerinalang.model.elements.PackageID; import org.ballerinalang.model.tree.OperatorKind; import org.ballerinalang.model.types.TypeKind; import org.wso2.ballerinalang.compiler.PackageCache; import org.wso2.ballerinalang.compiler.semantics.analyzer.SymbolResolver; import org.wso2.ballerinalang.compiler.semantics.analyzer.Types; import org.wso2.ballerinalang.compiler.semantics.model.SymbolEnv; import org.wso2.ballerinalang.compiler.semantics.model.SymbolTable; import org.wso2.ballerinalang.compiler.semantics.model.symbols.BInvokableSymbol; import org.wso2.ballerinalang.compiler.semantics.model.symbols.BOperatorSymbol; import org.wso2.ballerinalang.compiler.semantics.model.symbols.BSymbol; import org.wso2.ballerinalang.compiler.semantics.model.symbols.BVarSymbol; import org.wso2.ballerinalang.compiler.semantics.model.types.BInvokableType; import org.wso2.ballerinalang.compiler.semantics.model.types.BType; import org.wso2.ballerinalang.compiler.semantics.model.types.BUnionType; import org.wso2.ballerinalang.compiler.tree.BLangBlockFunctionBody; import org.wso2.ballerinalang.compiler.tree.BLangNode; import org.wso2.ballerinalang.compiler.tree.BLangNodeVisitor; import org.wso2.ballerinalang.compiler.tree.BLangSimpleVariable; import org.wso2.ballerinalang.compiler.tree.expressions.BLangBinaryExpr; import org.wso2.ballerinalang.compiler.tree.expressions.BLangCheckedExpr; import org.wso2.ballerinalang.compiler.tree.expressions.BLangCommitExpr; import org.wso2.ballerinalang.compiler.tree.expressions.BLangExpression; import org.wso2.ballerinalang.compiler.tree.expressions.BLangGroupExpr; import org.wso2.ballerinalang.compiler.tree.expressions.BLangInvocation; import org.wso2.ballerinalang.compiler.tree.expressions.BLangLiteral; import org.wso2.ballerinalang.compiler.tree.expressions.BLangNamedArgsExpression; import org.wso2.ballerinalang.compiler.tree.expressions.BLangSimpleVarRef; import org.wso2.ballerinalang.compiler.tree.expressions.BLangStatementExpression; import org.wso2.ballerinalang.compiler.tree.expressions.BLangTransactionalExpr; import org.wso2.ballerinalang.compiler.tree.expressions.BLangTrapExpr; import org.wso2.ballerinalang.compiler.tree.expressions.BLangTypeTestExpr; import org.wso2.ballerinalang.compiler.tree.statements.BLangAssignment; import org.wso2.ballerinalang.compiler.tree.statements.BLangBlockStmt; import org.wso2.ballerinalang.compiler.tree.statements.BLangExpressionStmt; import org.wso2.ballerinalang.compiler.tree.statements.BLangFail; import org.wso2.ballerinalang.compiler.tree.statements.BLangIf; import org.wso2.ballerinalang.compiler.tree.statements.BLangPanic; import org.wso2.ballerinalang.compiler.tree.statements.BLangRollback; import org.wso2.ballerinalang.compiler.tree.statements.BLangSimpleVariableDef; import org.wso2.ballerinalang.compiler.tree.statements.BLangStatement; import org.wso2.ballerinalang.compiler.tree.statements.BLangTransaction; import org.wso2.ballerinalang.compiler.tree.types.BLangErrorType; import org.wso2.ballerinalang.compiler.tree.types.BLangValueType; import org.wso2.ballerinalang.compiler.util.CompilerContext; import org.wso2.ballerinalang.compiler.util.Name; import org.wso2.ballerinalang.compiler.util.Names; import java.util.ArrayList; import java.util.List; import static io.ballerina.runtime.api.constants.RuntimeConstants.UNDERSCORE; import static org.ballerinalang.model.symbols.SymbolOrigin.VIRTUAL; import static org.wso2.ballerinalang.compiler.desugar.ASTBuilderUtil.createStatementExpression; import static org.wso2.ballerinalang.compiler.util.Names.BEGIN_REMOTE_PARTICIPANT; import static org.wso2.ballerinalang.compiler.util.Names.CLEAN_UP_TRANSACTION; import static org.wso2.ballerinalang.compiler.util.Names.CURRENT_TRANSACTION_INFO; import static org.wso2.ballerinalang.compiler.util.Names.END_TRANSACTION; import static org.wso2.ballerinalang.compiler.util.Names.GET_AND_CLEAR_FAILURE_TRANSACTION; import static org.wso2.ballerinalang.compiler.util.Names.ROLLBACK_TRANSACTION; import static org.wso2.ballerinalang.compiler.util.Names.START_TRANSACTION; import static org.wso2.ballerinalang.compiler.util.Names.START_TRANSACTION_COORDINATOR; import static org.wso2.ballerinalang.compiler.util.Names.TRANSACTION_INFO_RECORD; /** * Class responsible for desugar transaction statements into actual Ballerina code. * * @since 2.0.0-preview1 */ public class TransactionDesugar extends BLangNodeVisitor { private static final CompilerContext.Key<TransactionDesugar> TRANSACTION_DESUGAR_KEY = new CompilerContext.Key<>(); private static final String SHOULD_CLEANUP_SYMBOL = "$shouldCleanUp$"; private final Desugar desugar; private final SymbolTable symTable; private final SymbolResolver symResolver; private final Names names; private final PackageCache packageCache; private BSymbol transactionError; private BLangExpression retryStmt; private SymbolEnv env; private BLangBlockStmt result; private BLangSimpleVarRef prevAttemptInfoRef; private BLangSimpleVarRef shouldCleanUpVariableRef; private BLangExpression transactionID; private String uniqueId; private BLangLiteral trxBlockId; private boolean transactionInternalModuleIncluded = false; private boolean trxCoordinatorServiceStarted = false; private int trxResourceCount; private final Types types; private TransactionDesugar(CompilerContext context) { context.put(TRANSACTION_DESUGAR_KEY, this); this.symTable = SymbolTable.getInstance(context); this.symResolver = SymbolResolver.getInstance(context); this.names = Names.getInstance(context); this.desugar = Desugar.getInstance(context); this.packageCache = PackageCache.getInstance(context); this.types = Types.getInstance(context); // if (this.symTable.internalTransactionModuleSymbol == null) { // this.symTable.internalTransactionModuleSymbol = // pkgLoader.loadPackageSymbol(PackageID.TRANSACTION_INTERNAL, null, null); // } } public static TransactionDesugar getInstance(CompilerContext context) { TransactionDesugar desugar = context.get(TRANSACTION_DESUGAR_KEY); if (desugar == null) { desugar = new TransactionDesugar(context); } return desugar; } public BLangBlockStmt rewrite (BLangNode node, BLangLiteral trxBlockIdDef, SymbolEnv env, String uniqueId) { BLangLiteral currentTrxBlockIdDef = this.trxBlockId; this.trxBlockId = trxBlockIdDef; String id = this.uniqueId; this.uniqueId = uniqueId; BLangExpression trxId = this.transactionID; BLangSimpleVarRef attemptVarRef = this.prevAttemptInfoRef; BLangSimpleVarRef prevShouldCleanUp = shouldCleanUpVariableRef; SymbolEnv symbolEnv = this.env; this.env = env; node.accept(this); this.uniqueId = id; this.transactionID = trxId; this.prevAttemptInfoRef = attemptVarRef; this.shouldCleanUpVariableRef = prevShouldCleanUp; this.env = symbolEnv; this.trxBlockId = currentTrxBlockIdDef; return result; } @Override public void visit(BLangTransaction transactionNode) { result = desugarTransactionBody(transactionNode, env, transactionNode.pos); } // Transaction statement desugar implementation code. private BLangBlockStmt desugarTransactionBody(BLangTransaction transactionNode, SymbolEnv env, Location pos) { BLangBlockStmt transactionBlockStmt = ASTBuilderUtil.createBlockStmt(pos); transactionBlockStmt.scope = transactionNode.transactionBody.scope; //boolean $shouldCleanUp$ = false; BVarSymbol shouldCleanUpSymbol = new BVarSymbol(0, new Name(SHOULD_CLEANUP_SYMBOL + UNDERSCORE + uniqueId), env.scope.owner.pkgID, symTable.booleanType, env.scope.owner, pos, VIRTUAL); BLangSimpleVariable shouldCleanUpVariable = ASTBuilderUtil.createVariable(pos, SHOULD_CLEANUP_SYMBOL + UNDERSCORE + uniqueId, symTable.booleanType, ASTBuilderUtil.createLiteral(pos, symTable.booleanType, false), shouldCleanUpSymbol); shouldCleanUpVariable.symbol.closure = true; BLangSimpleVariableDef shouldCleanUpVariableDef = ASTBuilderUtil.createVariableDef(pos, shouldCleanUpVariable); transactionBlockStmt.stmts.add(shouldCleanUpVariableDef); shouldCleanUpVariableRef = ASTBuilderUtil.createVariableRef(pos, shouldCleanUpVariable.symbol); if (transactionNode.prevAttemptInfo == null) { //transactions:Info? prevAttempt = (); BLangSimpleVariableDef prevAttemptVarDef = createPrevAttemptInfoVarDef(env, pos); transactionBlockStmt.stmts.add(prevAttemptVarDef); transactionBlockStmt.scope.define(prevAttemptVarDef.var.symbol.name, prevAttemptVarDef.var.symbol); this.prevAttemptInfoRef = ASTBuilderUtil.createVariableRef(pos, prevAttemptVarDef.var.symbol); } else { this.prevAttemptInfoRef = (BLangSimpleVarRef) transactionNode.prevAttemptInfo; } // Invoke startTransaction method and get a transaction id //string transactionId = ""; BType transactionIDType = symTable.stringType; BVarSymbol transactionIDVarSymbol = new BVarSymbol(0, new Name("transactionId" + uniqueId), env.scope.owner.pkgID, transactionIDType, env.scope.owner, pos, VIRTUAL); BLangSimpleVariable transactionIDVariable = ASTBuilderUtil.createVariable(pos, "transactionId" + uniqueId, transactionIDType, ASTBuilderUtil.createLiteral(pos, symTable.stringType, ""), transactionIDVarSymbol); BLangSimpleVariableDef transactionIDVariableDef = ASTBuilderUtil.createVariableDef(pos, transactionIDVariable); transactionBlockStmt.stmts.add(transactionIDVariableDef); this.transactionID = ASTBuilderUtil.createVariableRef(pos, transactionIDVariable.symbol); transactionIDVariable.symbol.closure = true; transactionBlockStmt.scope.define(transactionIDVarSymbol.name, transactionIDVarSymbol); transactionBlockStmt.scope.define(shouldCleanUpVariable.symbol.name, shouldCleanUpVariable.symbol); BType transactionReturnType = symTable.errorOrNilType; // wraps content within transaction body inside a statement expression BLangLiteral nilLiteral = ASTBuilderUtil.createLiteral(pos, symTable.nilType, Names.NIL_VALUE); BLangStatementExpression statementExpression = createStatementExpression(transactionNode.transactionBody, nilLiteral); statementExpression.setBType(symTable.nilType); BLangTrapExpr trapExpr = (BLangTrapExpr) TreeBuilder.createTrapExpressionNode(); trapExpr.setBType(transactionReturnType); trapExpr.expr = statementExpression; //error? $trapResult = trap <Transaction Body> BVarSymbol nillableErrorVarSymbol = new BVarSymbol(0, Names.fromString("$trapResult"), this.env.scope.owner.pkgID, transactionReturnType, this.env.scope.owner, pos, VIRTUAL); BLangSimpleVariable trapResultVariable = ASTBuilderUtil.createVariable(pos, "$trapResult", transactionReturnType, trapExpr, nillableErrorVarSymbol); BLangSimpleVariableDef trapResultVariableDef = ASTBuilderUtil.createVariableDef(pos, trapResultVariable); transactionBlockStmt.addStatement(trapResultVariableDef); BLangSimpleVarRef trapResultRef = ASTBuilderUtil.createVariableRef(pos, nillableErrorVarSymbol); BLangFail failStmt = (BLangFail) TreeBuilder.createFailNode(); failStmt.pos = pos; failStmt.expr = types.addConversionExprIfRequired(trapResultRef, symTable.errorType); BLangPanic panicNode = (BLangPanic) TreeBuilder.createPanicNode(); panicNode.pos = pos; panicNode.expr = failStmt.expr; failStmt.exprStmt = panicNode; BLangBlockStmt ifErrorBlock = ASTBuilderUtil.createBlockStmt(pos); ifErrorBlock.addStatement(failStmt); BLangTypeTestExpr isErrorTest = ASTBuilderUtil.createTypeTestExpr(pos, trapResultRef, desugar.getErrorTypeNode()); isErrorTest.setBType(symTable.booleanType); //if($trapResult$ is error) { // fail $trapResult$; // } BLangIf ifTrapResIsError = ASTBuilderUtil.createIfElseStmt(pos, isErrorTest, ifErrorBlock, null); transactionBlockStmt.addStatement(ifTrapResIsError); // transactionId = startTransaction(1, prevAttempt) BLangInvocation startTransactionInvocation = createStartTransactionInvocation(pos, ASTBuilderUtil.createLiteral(pos, symTable.stringType, uniqueId), prevAttemptInfoRef); BLangAssignment startTrxAssignment = ASTBuilderUtil.createAssignmentStmt(pos, ASTBuilderUtil.createVariableRef(pos, transactionIDVarSymbol), startTransactionInvocation); //prevAttempt = info(); BLangAssignment infoAssignment = createPrevAttemptInfoInvocation(pos); transactionNode.transactionBody.stmts.add(0, startTrxAssignment); transactionNode.transactionBody.stmts.add(1, infoAssignment); // if ($shouldCleanUp$) { // cleanupTransactionContext(); // } BLangIf cleanValidationIf = ASTBuilderUtil.createIfStmt(pos, transactionBlockStmt); BLangGroupExpr cleanValidationGroupExpr = new BLangGroupExpr(); cleanValidationGroupExpr.expression = ASTBuilderUtil.createVariableRef(pos, shouldCleanUpVariable.symbol); cleanValidationIf.expr = cleanValidationGroupExpr; cleanValidationIf.body = ASTBuilderUtil.createBlockStmt(pos); BLangExpressionStmt stmt = ASTBuilderUtil.createExpressionStmt(pos, cleanValidationIf.body); stmt.expr = createCleanupTrxStmt(pos, this.trxBlockId); // at this point ; // boolean $shouldCleanUp$ = false; // transactions:Info? prevAttempt = (); // string transactionId = ""; // error? $trapResult = trap { // transactionId = startTransaction(1, prevAttempt) // prevAttempt = info(); // // <Transaction Body> // } // if($trapResult$ is error) { // panic $trapResult$; // } // if ($shouldCleanUp$) { // cleanupTransactionContext(1); // } return desugar.rewrite(transactionBlockStmt, env); } private BLangAssignment createPrevAttemptInfoInvocation(Location pos) { BInvokableSymbol transactionInfoInvokableSymbol = (BInvokableSymbol) getTransactionLibInvokableSymbol(CURRENT_TRANSACTION_INFO); BLangInvocation infoInvocation = ASTBuilderUtil.createInvocationExprForMethod(pos, transactionInfoInvokableSymbol, new ArrayList<>(), symResolver); infoInvocation.argExprs = infoInvocation.requiredArgs; return ASTBuilderUtil.createAssignmentStmt(pos, prevAttemptInfoRef, infoInvocation); } private BLangInvocation createStartTransactionInvocation(Location location, BLangLiteral transactionBlockIDLiteral, BLangSimpleVarRef prevAttempt) { BInvokableSymbol startTransactionInvokableSymbol = (BInvokableSymbol) getInternalTransactionModuleInvokableSymbol(START_TRANSACTION); // Include transaction-internal module as an import if not included if (!transactionInternalModuleIncluded) { desugar.addTransactionInternalModuleImport(); transactionInternalModuleIncluded = true; } List<BLangExpression> args = new ArrayList<>(); args.add(transactionBlockIDLiteral); args.add(prevAttempt); BLangInvocation startTransactionInvocation = ASTBuilderUtil. createInvocationExprForMethod(location, startTransactionInvokableSymbol, args, symResolver); startTransactionInvocation.argExprs = args; return startTransactionInvocation; } public BLangInvocation createBeginParticipantInvocation(Location pos) { BInvokableSymbol beginParticipantInvokableSymbol = (BInvokableSymbol) getInternalTransactionModuleInvokableSymbol(BEGIN_REMOTE_PARTICIPANT); // Include transaction-internal module as an import if not included if (!transactionInternalModuleIncluded) { desugar.addTransactionInternalModuleImport(); transactionInternalModuleIncluded = true; } List<BLangExpression> args = new ArrayList<>(); args.add(ASTBuilderUtil.createLiteral(pos, symTable.stringType, String.valueOf(++trxResourceCount))); BLangInvocation startTransactionInvocation = ASTBuilderUtil. createInvocationExprForMethod(pos, beginParticipantInvokableSymbol, args, symResolver); startTransactionInvocation.argExprs = args; return startTransactionInvocation; } private BLangInvocation createStartTransactionCoordinatorInvocation(Location pos) { BInvokableSymbol startTransactionInvokableSymbol = (BInvokableSymbol) getInternalTransactionModuleInvokableSymbol(START_TRANSACTION_COORDINATOR); // Include transaction-internal module as an import if not included if (!transactionInternalModuleIncluded) { desugar.addTransactionInternalModuleImport(); transactionInternalModuleIncluded = true; } List<BLangExpression> args = new ArrayList<>(); BLangInvocation startTransactionCoordinatorInvocation = ASTBuilderUtil. createInvocationExprForMethod(pos, startTransactionInvokableSymbol, args, symResolver); startTransactionCoordinatorInvocation.argExprs = args; return startTransactionCoordinatorInvocation; } private BLangSimpleVariableDef createVarDefForCoordinator(SymbolEnv env, Location pos) { BLangExpression invocation = createStartTransactionCoordinatorInvocation(pos); BVarSymbol outputVarSymbol = new BVarSymbol(0, new Name("$trxCoordinatorErr$"), env.scope.owner.pkgID, symTable.errorOrNilType, env.scope.owner, pos, VIRTUAL); BLangSimpleVariable outputVariable = ASTBuilderUtil.createVariable(pos, "$trxCoordinatorErr$", symTable.errorOrNilType, invocation, outputVarSymbol); return ASTBuilderUtil.createVariableDef(pos, outputVariable); } public void startTransactionCoordinatorOnce(SymbolEnv env, Location pos) { if (!trxCoordinatorServiceStarted) { BLangBlockFunctionBody funcBody = (BLangBlockFunctionBody) env.enclPkg.initFunction.body; funcBody.stmts.add(0, createVarDefForCoordinator(env, pos)); trxCoordinatorServiceStarted = true; } } BLangSimpleVariableDef createPrevAttemptInfoVarDef(SymbolEnv env, Location pos) { BLangLiteral nilLiteral = ASTBuilderUtil.createLiteral(pos, symTable.nilType, Names.NIL_VALUE); BLangSimpleVariable prevAttemptVariable = createPrevAttemptVariable(env, pos); prevAttemptVariable.expr = nilLiteral; return ASTBuilderUtil.createVariableDef(pos, prevAttemptVariable); } private BLangSimpleVariable createPrevAttemptVariable(SymbolEnv env, Location pos) { // transactions:Info? prevAttempt = (); BSymbol infoRecordSymbol = symResolver. lookupSymbolInMainSpace(symTable.pkgEnvMap.get(symTable.langTransactionModuleSymbol), TRANSACTION_INFO_RECORD); BType infoRecordType = BUnionType.create(null, infoRecordSymbol.type, symTable.nilType); BVarSymbol prevAttemptVarSymbol = new BVarSymbol(0, new Name("prevAttempt" + uniqueId), env.scope.owner.pkgID, infoRecordType, env.scope.owner, pos, VIRTUAL); prevAttemptVarSymbol.closure = true; return ASTBuilderUtil.createVariable(pos, "prevAttempt" + uniqueId, infoRecordType, null, prevAttemptVarSymbol); } BLangBlockStmt desugar(BLangRollback rollbackNode, BLangLiteral transactionBlockID, BLangSimpleVarRef shouldRetryRef) { // Rollback desugar implementation BLangBlockStmt rollbackBlockStmt = ASTBuilderUtil.createBlockStmt(rollbackNode.pos); BLangStatementExpression rollbackExpr = invokeRollbackFunc(rollbackNode.pos, rollbackNode.expr, transactionBlockID, shouldRetryRef); BLangExpressionStmt rollbackStmt = ASTBuilderUtil.createExpressionStmt(rollbackNode.pos, rollbackBlockStmt); rollbackStmt.expr = rollbackExpr; return rollbackBlockStmt; } // commit or rollback was not executed and fail(e) or panic(e) returned, so rollback // if (($trxError$ is error) && !($trxError$ is TransactionError) && transactional) { // $shouldCleanUp$ = true; // check panic rollback $trxError$; // } void createRollbackIfFailed(Location pos, BLangBlockStmt onFailBodyBlock, BSymbol trxFuncResultSymbol, BLangLiteral trxBlockId, BLangSimpleVarRef shouldRetryRef) { BLangIf rollbackCheck = (BLangIf) TreeBuilder.createIfElseStatementNode(); rollbackCheck.pos = pos; int stmtIndex = onFailBodyBlock.stmts.isEmpty() ? 0 : 1; onFailBodyBlock.stmts.add(stmtIndex, rollbackCheck); BSymbol transactionErrorSymbol = symTable.langTransactionModuleSymbol .scope.lookup(Names.fromString("Error")).symbol; BType errorType = transactionErrorSymbol.type; BLangErrorType trxErrorTypeNode = (BLangErrorType) TreeBuilder.createErrorTypeNode(); trxErrorTypeNode.setBType(errorType); BLangSimpleVarRef trxResultRef = ASTBuilderUtil.createVariableRef(pos, trxFuncResultSymbol); // $trxError$ is TransactionError BLangTypeTestExpr testExpr = ASTBuilderUtil.createTypeTestExpr(pos, trxResultRef, trxErrorTypeNode); testExpr.setBType(symTable.booleanType); BLangGroupExpr transactionErrorCheckGroupExpr = new BLangGroupExpr(); transactionErrorCheckGroupExpr.setBType(symTable.booleanType); // !($trxError$ is TransactionError) transactionErrorCheckGroupExpr.expression = desugar.createNotBinaryExpression(pos, testExpr); // ($trxError$ is error) BLangTypeTestExpr errorCheck = desugar.createTypeCheckExpr(pos, trxResultRef, desugar.getErrorOrNillTypeNode()); // ($trxError$ is error) && !($trxError$ is TransactionError) BLangBinaryExpr isErrorCheck = ASTBuilderUtil.createBinaryExpr(pos, errorCheck, transactionErrorCheckGroupExpr, symTable.booleanType, OperatorKind.AND, null); // transactional BLangTransactionalExpr isTransactionalCheck = TreeBuilder.createTransactionalExpressionNode(); isTransactionalCheck.setBType(symTable.booleanType); isTransactionalCheck.pos = pos; // if(($trxError$ is error) && !($trxError$ is TransactionError) && transactional) rollbackCheck.expr = ASTBuilderUtil.createBinaryExpr(pos, isErrorCheck, isTransactionalCheck, symTable.booleanType, OperatorKind.AND, null); rollbackCheck.body = ASTBuilderUtil.createBlockStmt(pos); // rollbackTransaction(transactionBlockID, retryManager); BLangStatementExpression rollbackInvocation = invokeRollbackFunc(pos, types.addConversionExprIfRequired(trxResultRef, symTable.errorOrNilType), trxBlockId, shouldRetryRef); BLangCheckedExpr checkedExpr = ASTBuilderUtil.createCheckPanickedExpr(pos, rollbackInvocation, symTable.nilType); checkedExpr.equivalentErrorTypeList.add(symTable.errorType); BLangExpressionStmt transactionExprStmt = (BLangExpressionStmt) TreeBuilder.createExpressionStatementNode(); transactionExprStmt.pos = pos; transactionExprStmt.expr = checkedExpr; transactionExprStmt.setBType(symTable.nilType); rollbackCheck.body.stmts.add(transactionExprStmt); // at this point; // if (($trxError$ is error) && !($trxError$ is TransactionError) && transactional) { // $shouldCleanUp$ = true; // check panic rollback $trxError$; // } } private BLangInvocation createCleanupTrxStmt(Location pos, BLangLiteral trxBlockId) { List<BLangExpression> args; BInvokableSymbol cleanupTrxInvokableSymbol = (BInvokableSymbol) getInternalTransactionModuleInvokableSymbol(CLEAN_UP_TRANSACTION); args = new ArrayList<>(); args.add(trxBlockId); BLangInvocation cleanupTrxInvocation = ASTBuilderUtil. createInvocationExprForMethod(pos, cleanupTrxInvokableSymbol, args, symResolver); cleanupTrxInvocation.argExprs = args; return cleanupTrxInvocation; } BLangStatementExpression invokeRollbackFunc(Location pos, BLangExpression rollbackExpr, BLangLiteral trxBlockId, BLangSimpleVarRef shouldRetryRef) { // Rollback desugar implementation BLangBlockStmt rollbackBlockStmt = ASTBuilderUtil.createBlockStmt(pos); // rollbackTransaction(transactionBlockID); BInvokableSymbol rollbackTransactionInvokableSymbol = (BInvokableSymbol) getInternalTransactionModuleInvokableSymbol(ROLLBACK_TRANSACTION); List<BLangExpression> args = new ArrayList<>(); args.add(trxBlockId); if (shouldRetryRef != null) { BLangNamedArgsExpression shouldRetry = new BLangNamedArgsExpression(); shouldRetry.name = ASTBuilderUtil.createIdentifier(pos, "shouldRetry"); shouldRetry.expr = shouldRetryRef; args.add(shouldRetry); } if (rollbackExpr != null) { BLangNamedArgsExpression rollbackErr = new BLangNamedArgsExpression(); rollbackErr.name = ASTBuilderUtil.createIdentifier(pos, "err"); rollbackErr.expr = rollbackExpr; args.add(rollbackErr); } BLangInvocation rollbackTransactionInvocation = ASTBuilderUtil. createInvocationExprForMethod(pos, rollbackTransactionInvokableSymbol, args, symResolver); rollbackTransactionInvocation.argExprs = args; BLangExpressionStmt rollbackStmt = ASTBuilderUtil.createExpressionStmt(pos, rollbackBlockStmt); rollbackStmt.expr = rollbackTransactionInvocation; BLangExpressionStmt cleanUpTrx = ASTBuilderUtil.createExpressionStmt(pos, rollbackBlockStmt); cleanUpTrx.expr = createCleanupTrxStmt(pos, trxBlockId); BLangStatementExpression rollbackStmtExpr = createStatementExpression(rollbackBlockStmt, ASTBuilderUtil.createLiteral(pos, symTable.nilType, Names.NIL_VALUE)); rollbackStmtExpr.setBType(symTable.nilType); //at this point, // // rollbackTransaction(transactionBlockID); // $shouldCleanUp$ = true; return rollbackStmtExpr; } BLangStatementExpression desugar(BLangCommitExpr commitExpr, SymbolEnv env) { Location pos = commitExpr.pos; BLangBlockStmt commitBlockStatement = ASTBuilderUtil.createBlockStmt(pos); // Create temp output variable // error? $outputVar$ = (); BLangSimpleVariableDef outputVariableDef = createCommitResultVarDef(env, pos); BLangSimpleVarRef outputVarRef = ASTBuilderUtil.createVariableRef(pos, outputVariableDef.var.symbol); commitBlockStatement.addStatement(outputVariableDef); // Clear failures // boolean isFailed = getAndClearFailure(); BInvokableSymbol transactionCleanerInvokableSymbol = (BInvokableSymbol) getInternalTransactionModuleInvokableSymbol(GET_AND_CLEAR_FAILURE_TRANSACTION); BLangInvocation transactionCleanerInvocation = ASTBuilderUtil. createInvocationExprForMethod(pos, transactionCleanerInvokableSymbol, new ArrayList<>(), symResolver); transactionCleanerInvocation.argExprs = new ArrayList<>(); BVarSymbol isTransactionFailedVarSymbol = new BVarSymbol(0, new Name("isFailed"), env.scope.owner.pkgID, symTable.booleanType, env.scope.owner, pos, VIRTUAL); BLangSimpleVariable isTransactionFailedVariable = ASTBuilderUtil.createVariable(pos, "isFailed", symTable.booleanType, transactionCleanerInvocation, isTransactionFailedVarSymbol); BLangSimpleVariableDef isTransactionFailedVariableDef = ASTBuilderUtil.createVariableDef(pos, isTransactionFailedVariable); commitBlockStatement.addStatement(isTransactionFailedVariableDef); BLangBlockStmt failureHandlerBlockStatement = ASTBuilderUtil.createBlockStmt(pos); // Commit expr desugar implementation //string|error commitResult = endTransaction(transactionID, transactionBlockID); BInvokableSymbol commitTransactionInvokableSymbol = (BInvokableSymbol) getInternalTransactionModuleInvokableSymbol(END_TRANSACTION); List<BLangExpression> args = new ArrayList<>(); args.add(transactionID); args.add(trxBlockId); BLangInvocation commitTransactionInvocation = ASTBuilderUtil. createInvocationExprForMethod(pos, commitTransactionInvokableSymbol, args, symResolver); commitTransactionInvocation.argExprs = args; BType commitReturnType = BUnionType.create(null, symTable.stringType, symTable.errorType); BVarSymbol commitTransactionVarSymbol = new BVarSymbol(0, new Name("commitResult"), env.scope.owner.pkgID, commitReturnType, env.scope.owner, pos, VIRTUAL); BLangSimpleVariable commitResultVariable = ASTBuilderUtil.createVariable(pos, "commitResult", commitReturnType, commitTransactionInvocation, commitTransactionVarSymbol); BLangSimpleVariableDef commitResultVariableDef = ASTBuilderUtil.createVariableDef(pos, commitResultVariable); BLangSimpleVarRef commitResultVarRef = ASTBuilderUtil.createVariableRef(pos, commitResultVariable.symbol); failureHandlerBlockStatement.addStatement(commitResultVariableDef); // Successful commit operation // if(commitResult is string) { // $shouldCleanUp$ = true; // } else { // $outputVar$ = commitResult; // } BLangIf commitResultValidationIf = ASTBuilderUtil.createIfStmt(pos, failureHandlerBlockStatement); BLangGroupExpr commitResultValidationGroupExpr = new BLangGroupExpr(); commitResultValidationGroupExpr.setBType(symTable.booleanType); BLangValueType stringType = (BLangValueType) TreeBuilder.createValueTypeNode(); stringType.setBType(symTable.stringType); stringType.typeKind = TypeKind.STRING; commitResultValidationGroupExpr.expression = ASTBuilderUtil.createTypeTestExpr(pos, commitResultVarRef, stringType); commitResultValidationIf.expr = commitResultValidationGroupExpr; commitResultValidationIf.body = ASTBuilderUtil.createBlockStmt(pos); BLangStatement shouldCleanUpStmt = ASTBuilderUtil.createAssignmentStmt(pos, shouldCleanUpVariableRef, ASTBuilderUtil.createLiteral(pos, symTable.booleanType, true)); commitResultValidationIf.body.addStatement(shouldCleanUpStmt); commitResultValidationIf.elseStmt = ASTBuilderUtil.createAssignmentStmt(pos, outputVarRef, commitResultVarRef); // Create failure validation //if(!isFailed) { // string|error commitResult = endTransaction(transactionID, transactionBlockID); // if(commitResult is string) { // $shouldCleanUp$ = true; // } else { // $outputVar$ = commitResult; // } //} BLangIf failureValidationIf = ASTBuilderUtil.createIfStmt(pos, commitBlockStatement); BLangGroupExpr failureValidationGroupExpr = new BLangGroupExpr(); failureValidationGroupExpr.setBType(symTable.booleanType); BLangSimpleVarRef failureValidationExprVarRef = ASTBuilderUtil.createVariableRef(pos, isTransactionFailedVariable.symbol); List<BType> paramTypes = new ArrayList<>(); paramTypes.add(symTable.booleanType); BInvokableType type = new BInvokableType(paramTypes, symTable.booleanType, null); BOperatorSymbol notOperatorSymbol = new BOperatorSymbol( Names.fromString(OperatorKind.NOT.value()), symTable.rootPkgSymbol.pkgID, type, symTable.rootPkgSymbol, symTable.builtinPos, VIRTUAL); failureValidationGroupExpr.expression = ASTBuilderUtil.createUnaryExpr(pos, failureValidationExprVarRef, symTable.booleanType, OperatorKind.NOT, notOperatorSymbol); failureValidationIf.expr = failureValidationGroupExpr; failureValidationIf.body = failureHandlerBlockStatement; // at this point; // // error? $outputVar$ = (); // boolean isFailed = getAndClearFailure(); // if(!isFailed) { // string|error commitResult = endTransaction(transactionID, transactionBlockID); // if(commitResult is string) { // $shouldCleanUp$ = true; // } else { // $outputVar$ = commitResult; // } // } BLangStatementExpression stmtExpr = createStatementExpression(commitBlockStatement, outputVarRef); stmtExpr.setBType(symTable.errorOrNilType); return stmtExpr; } private BLangSimpleVariableDef createCommitResultVarDef(SymbolEnv env, Location pos) { BLangExpression nilLiteral = ASTBuilderUtil.createLiteral(pos, symTable.nilType, Names.NIL_VALUE); BVarSymbol outputVarSymbol = new BVarSymbol(0, new Name("$outputVar$"), env.scope.owner.pkgID, symTable.errorOrNilType, env.scope.owner, pos, VIRTUAL); BLangSimpleVariable outputVariable = ASTBuilderUtil.createVariable(pos, "$outputVar$", symTable.errorOrNilType, nilLiteral, outputVarSymbol); return ASTBuilderUtil.createVariableDef(pos, outputVariable); } /** * Load and return symbol for given name in transaction lib. * * @param name of the symbol. * @return symbol for the function. */ public BSymbol getTransactionLibInvokableSymbol(Name name) { return symTable.langTransactionModuleSymbol.scope.lookup(name).symbol; } /** * Load and return symbol for given name in transaction internal module. * * @param name of the symbol. * @return symbol for the function. */ public BSymbol getInternalTransactionModuleInvokableSymbol(Name name) { if (symTable.internalTransactionModuleSymbol == null) { symTable.internalTransactionModuleSymbol = packageCache.getSymbol(PackageID.TRANSACTION_INTERNAL); } return symTable.internalTransactionModuleSymbol.scope.lookup(name).symbol; } } ```
```python class InvalidCacheType(Exception): pass ```
Krzemień is a village in the administrative district of Gmina Stromiec, within Białobrzegi County, Masovian Voivodeship, in east-central Poland. It lies approximately north of Stromiec, north-east of Białobrzegi, and south of Warsaw. References Villages in Białobrzegi County
Helix was a short-lived science fiction and science fantasy imprint of DC Comics, launched in 1996 and discontinued in 1998. In early promotional materials prior to the release of the first title, the imprint was called Matrix instead of Helix. It was renamed because of the then-upcoming film, The Matrix. It featured a handful of ongoing monthly series, several limited series, and one short graphic novel. Despite the involvement of successful science fiction/fantasy novelists Michael Moorcock, Lucius Shepard and Christopher Hinz, and established comics creators Howard Chaykin, Elaine Lee, Matt Howarth, Warren Ellis, Walt Simonson, and Garth Ennis, sales of the comic books were low, and most of the ongoing titles were cancelled after 12 or fewer issues. Ellis' Transmetropolitan was switched to the Vertigo imprint, where it continued for several more years before reaching its planned conclusion. Ennis' Bloody Mary miniseries and Michael Moorcock's Multiverse were later collected in Vertigo-label paperbacks and Moeller's Sheva's War was released as a graphic novel paperback by Dark Horse. Limited availability of the books in bookstores that already sold science fiction, resistance among science-fiction readers to serialized monthly publication, the lower visibility of the line's deliberately muted cover color palette, and the lack of interest in genre SF among regular patrons of comic-book stores were all cited by industry observers as factors in the imprint's demise. Helix titles Notes References DC Comics imprints Defunct comics and manga publishing companies Helix (comics) titles Science fiction comics
```c++ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <string> #include "libplatform/libplatform.h" #include "v8.h" using namespace v8; int age = 41; void doit(const FunctionCallbackInfo<Value>& args) { String::Utf8Value str(args.GetIsolate(), args[0]); printf("doit argument = %s...\n", *str); args.GetReturnValue().Set(String::NewFromUtf8(args.GetIsolate(), "doit...done", NewStringType::kNormal).ToLocalChecked()); } void age_getter(Local<String> property, const PropertyCallbackInfo<Value>& info) { printf("age_getter...\n"); info.GetReturnValue().Set(age); } void age_setter(Local<String> property, Local<Value> value, const PropertyCallbackInfo<void>& info) { printf("age_setter...\n"); age = value->Int32Value(info.GetIsolate()->GetCurrentContext()).FromJust(); } void property_listener(Local<String> name, const PropertyCallbackInfo<Value>& info) { String::Utf8Value utf8_value(info.GetIsolate(), name); std::string key = std::string(*utf8_value); printf("ageListener called for nam %s.\n", key.c_str()); } int main(int argc, char* argv[]) { std::unique_ptr<Platform> platform = platform::NewDefaultPlatform(); // Just sets the platform created above. V8::InitializePlatform(platform.get()); V8::Initialize(); Isolate::CreateParams create_params; create_params.array_buffer_allocator = v8::ArrayBuffer::Allocator::NewDefaultAllocator(); // An Isolate is an independant copy of the V8 runtime which includes its own heap. // Two different Isolates can run in parallel and can be seen as entierly different // sandboxed instances of a V8 runtime. Isolate* isolate = Isolate::New(create_params); { // Will set the scope using Isolate::Scope whose constructor will call // isolate->Enter() and its destructor isolate->Exit() // I think this pattern is called "Resource Acquisition Is Initialisation" (RAII), // The resouce allocation is done by the constructor, // and the release by the descructor when this instance goes out of scope. Isolate::Scope isolate_scope(isolate); // Create a stack-allocated handle scope. // A container for handles. Instead of having to manage individual handles (like deleting) them // you can simply delete the handle scope. HandleScope handle_scope(isolate); // Create a JavaScript template object allowing the object (in this case a function which is // also an object in JavaScript remember). Local<ObjectTemplate> global = ObjectTemplate::New(isolate); // associate 'doit' with the doit function, allowing JavaScript to call it. global->Set(String::NewFromUtf8(isolate, "doit", NewStringType::kNormal).ToLocalChecked(), FunctionTemplate::New(isolate, doit)); // make 'age' available to JavaScript global->SetAccessor(String::NewFromUtf8(isolate, "age", NewStringType::kNormal).ToLocalChecked(), age_getter, age_setter); // set a named property interceptor //global->SetNamedPropertyHandler(property_listener); // Inside an instance of V8 (an Isolate) you can have multiple unrelated JavaScript applications // running. JavaScript has global level stuff, and one application should not mess things up for // another running application. Context allow for each application not step on each others toes. Local<Context> context = Context::New(isolate, nullptr, global); // a Local<SomeType> is held on the stack, and accociated with a handle scope. When the handle // scope is deleted the GC can deallocate the objects. // Enter the context for compiling and running the script. Context::Scope context_scope(context); // Create a string containing the JavaScript source code. const char* js = "age = 40; doit(age);"; printf("js: %s\n", js); Local<String> source = String::NewFromUtf8(isolate, js, NewStringType::kNormal).ToLocalChecked(); // Compile the source code. Local<Script> script = Script::Compile(context, source).ToLocalChecked(); // Run the script to get the result. Local<Value> result = script->Run(context).ToLocalChecked(); // Convert the result to an UTF8 string and print it. String::Utf8Value utf8(isolate, result); printf("%s\n", *utf8); } // Dispose the isolate and tear down V8. isolate->Dispose(); V8::Dispose(); V8::ShutdownPlatform(); return 0; } ```
```php <?php /** */ namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; use Sabre\DAV\Auth\Backend\BackendInterface; use Sabre\HTTP\RequestInterface; use Sabre\HTTP\ResponseInterface; class Auth implements BackendInterface { /** * @var string */ private $user; /** * @var string */ private $password; /** * Auth constructor. * * @param string $user * @param string $password */ public function __construct($user, $password) { $this->user = $user; $this->password = $password; } /** * When this method is called, the backend must check if authentication was * successful. * * The returned value must be one of the following * * [true, "principals/username"] * [false, "reason for failure"] * * If authentication was successful, it's expected that the authentication * backend returns a so-called principal url. * * Examples of a principal url: * * principals/admin * principals/user1 * principals/users/joe * principals/uid/123457 * * If you don't use WebDAV ACL (RFC3744) we recommend that you simply * return a string such as: * * principals/users/[username] * * @param RequestInterface $request * @param ResponseInterface $response * @return array */ public function check(RequestInterface $request, ResponseInterface $response) { $userSession = \OC::$server->getUserSession(); $result = $userSession->login($this->user, $this->password); if ($result) { //we need to pass the user name, which may differ from login name $user = $userSession->getUser()->getUID(); \OC_Util::setupFS($user); //trigger creation of user home and /files folder \OC::$server->getUserFolder($user); return [true, "principals/$user"]; } return [false, "login failed"]; } /** * This method is called when a user could not be authenticated, and * authentication was required for the current request. * * This gives you the opportunity to set authentication headers. The 401 * status code will already be set. * * In this case of Basic Auth, this would for example mean that the * following header needs to be set: * * $response->addHeader('WWW-Authenticate', 'Basic realm=SabreDAV'); * * Keep in mind that in the case of multiple authentication backends, other * WWW-Authenticate headers may already have been set, and you'll want to * append your own WWW-Authenticate header instead of overwriting the * existing one. * * @param RequestInterface $request * @param ResponseInterface $response * @return void */ public function challenge(RequestInterface $request, ResponseInterface $response): void { // TODO: Implement challenge() method. } } ```
Herbie Mann Returns to the Village Gate is a live album by American jazz flautist Herbie Mann recorded in 1961 for the Atlantic label but not released until 1963. Reception AllMusic awarded the album 3 stars with its review by Scott Yanow stating "This release, a follow-up to his hit At the Village Gate (two songs are from the same gig while three others actually date from seven months earlier), features Mann in an ideal group ...blending in the influence of African, Afro-Cuban and even Brazilian jazz. Worth searching for". Track listing All compositions by Herbie Mann except as indicated "Bags' Groove" (Milt Jackson) - 8:34 "New York Is a Jungle Festival" - 9:53 "Candle Dance" - 5:30 "Bedouin" - 7:48 "Ekunda" - 4:43 Recorded at the Village Gate in NYC on April 26 (tracks 3-5) and November 17 (tracks 1 & 2), 1961 Personnel Herbie Mann - flute Dave Pike - vibraphone, marimba (tracks 3-5) Hagood Hardy - vibraphone (tracks 1 & 2) Ahmed Abdul-Malik (tracks 1 & 2), Knobby Totah (tracks 3-5)- bass Rudy Collins - drums Chief Bey (tracks 1 & 2), Ray Mantilla, Ray Barretto (tracks 3-5) - percussion References 1963 live albums Herbie Mann live albums Albums produced by Nesuhi Ertegun Atlantic Records live albums Albums recorded at the Village Gate
Neocollyris sichuanensis is a species in the tiger beetle family Cicindelidae. It was described by Naviaux in 1994. References Sichuanensis, Neocollyris Beetles described in 1994
```shell #!/usr/bin/env bash # # Analyze history # # Usage: # soil/history.sh <function name> set -o nounset set -o pipefail set -o errexit REPO_ROOT=$(cd $(dirname $0)/.. && pwd) #source $REPO_ROOT/soil/common.sh readonly BASE_DIR=_tmp/soil-history readonly HOST=travis-ci.oilshell.org list() { ### Used the sync'd testdata local dir=${1:-_tmp/github-jobs} # 4 digits ssh travis-ci.oilshell.org 'ls travis-ci.oilshell.org/github-jobs/' } find-wwz() { ### Used the sync'd testdata local dir=${1:-_tmp/github-jobs} mkdir -p $BASE_DIR # 4 digits ssh $HOST \ 'cd travis-ci.oilshell.org && find github-jobs/48?? -name benchmarks2.wwz' \ | tee $BASE_DIR/listing.txt } sync() { local dir=$HOST rsync \ --archive --verbose \ --files-from $BASE_DIR/listing.txt \ $HOST:$dir/ $BASE_DIR/ } list-zip() { unzip -l $BASE_DIR/github-jobs/5000/*.wwz } extract-one() { local id=$1 local dir=$BASE_DIR/github-jobs/$id pushd $dir # commit-hash.txt unzip benchmarks2.wwz '_tmp/gc-cachegrind/stage2/*' '_tmp/soil/*' || true popd } extract-all() { for dir in $BASE_DIR/github-jobs/48??; do local id=$(basename $dir) extract-one $id done } show-all() { #local pat='mut+alloc+free+gc' local pat='bumpleak' grep "$pat" \ $BASE_DIR/github-jobs/????/_tmp/gc-cachegrind/stage2/ex.compute-fib.tsv } "$@" ```
Royal is a village in Champaign County, Illinois, United States. The population was 293 at the 2020 census. Geography Royal is located at (40.193408, -87.973189). According to the 2021 census gazetteer files, Royal has a total area of , all land. Demographics As of the 2020 census there were 293 people, 149 households, and 101 families residing in the village. The population density was . There were 143 housing units at an average density of . The racial makeup of the village was 95.56% White, 0.34% African American, 0.68% Asian, 0.68% from other races, and 2.73% from two or more races. Hispanic or Latino of any race were 0.68% of the population. There were 149 households, out of which 28.2% had children under the age of 18 living with them, 57.05% were married couples living together, 10.07% had a female householder with no husband present, and 32.21% were non-families. 29.53% of all households were made up of individuals, and 18.79% had someone living alone who was 65 years of age or older. The average household size was 3.04 and the average family size was 2.48. The village's age distribution consisted of 21.9% under the age of 18, 8.9% from 18 to 24, 23.7% from 25 to 44, 22.1% from 45 to 64, and 23.2% who were 65 years of age or older. The median age was 40.4 years. For every 100 females, there were 94.7 males. For every 100 females age 18 and over, there were 81.8 males. The median income for a household in the village was $75,750, and the median income for a family was $91,750. Males had a median income of $46,250 versus $32,188 for females. The per capita income for the village was $35,455. About 4.0% of families and 5.7% of the population were below the poverty line, including 14.8% of those under age 18 and 1.2% of those age 65 or over. History Royal, Illinois is a small village that in part consists of grain elevators at the intersection of a railroad and County Road 20. Nearly a hundred years ago, the people of St. John Lutheran Church decided to move their church building into town, to better serve current and future generations of people in the village of Royal. Not everyone initially wanted to move the church building; the vote to move was narrowly split. Nonetheless, having made the decision, the congregation came together and embraced the vision for a ministry within the village of Royal. The people worked together for many hours to move their church home. The men and boys of the congregation carefully deconstructed the church, brick by brick, and transported the bricks from out in the country into the village of Royal. There, the congregation's women and older men painstakingly cleaned the mortar from the bricks to provide the building blocks for a new St. John Lutheran Church to serve the people of Royal. The church still stands today, with 831 members and an average attendance of 200 people. In 1982, around the time of the town's centennial anniversary, people began to talk to one another about constructing a shared Community Building to benefit the current and future people of Royal. Hearkening back to the example of the members of St. John's, the wider community came together around the shared vision of a community of people living together. This vision was embodied in the concept of a Community Building. An apartment building in Champaign, Illinois needed to be demolished. Hearkening back to the example of the people of St. John Lutheran, the people gathered the bricks and worked together to clean the mortar from each brick. The people then built the new Community Building with these bricks, and it was completed the year after the centennial. The building still stands today and is used by the people of Royal for personal and public events for as little as $85.00 for a small group. References External links Government ChampaignCountyClerk.com. Village of Royal elected officials. DexKnows. Location of election polling place. United States Postal Service. Location of post office. Demographics ZipAtlas. Cities with the highest percentage of Germans in Illinois. CityData.com. Demographic statistics for Royal. Education Prairieview-Ogden Schools. Home webpage for the elementary and junior high school. Houses of Worship St. John Lutheran Church. Seniors FamilyService.org. Royal Senior Citizen Social Group information page. Villages in Champaign County, Illinois Villages in Illinois
```c++ /* * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS 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 APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "config.h" #include "modules/webdatabase/InspectorDatabaseAgent.h" #include "bindings/core/v8/ExceptionStatePlaceholder.h" #include "core/frame/LocalFrame.h" #include "core/html/VoidCallback.h" #include "core/inspector/InspectorState.h" #include "core/loader/DocumentLoader.h" #include "core/page/Page.h" #include "modules/webdatabase/Database.h" #include "modules/webdatabase/DatabaseClient.h" #include "modules/webdatabase/InspectorDatabaseResource.h" #include "modules/webdatabase/SQLError.h" #include "modules/webdatabase/SQLResultSet.h" #include "modules/webdatabase/SQLResultSetRowList.h" #include "modules/webdatabase/SQLStatementCallback.h" #include "modules/webdatabase/SQLStatementErrorCallback.h" #include "modules/webdatabase/SQLTransaction.h" #include "modules/webdatabase/SQLTransactionCallback.h" #include "modules/webdatabase/SQLTransactionErrorCallback.h" #include "modules/webdatabase/sqlite/SQLValue.h" #include "platform/JSONValues.h" #include "wtf/Vector.h" typedef blink::InspectorBackendDispatcher::DatabaseCommandHandler::ExecuteSQLCallback ExecuteSQLCallback; namespace blink { namespace DatabaseAgentState { static const char databaseAgentEnabled[] = "databaseAgentEnabled"; }; namespace { void reportTransactionFailed(ExecuteSQLCallback* requestCallback, SQLError* error) { RefPtr<TypeBuilder::Database::Error> errorObject = TypeBuilder::Database::Error::create() .setMessage(error->message()) .setCode(error->code()); requestCallback->sendSuccess(nullptr, nullptr, errorObject.release()); } class StatementCallback final : public SQLStatementCallback { public: static StatementCallback* create(PassRefPtrWillBeRawPtr<ExecuteSQLCallback> requestCallback) { return new StatementCallback(requestCallback); } ~StatementCallback() override { } DEFINE_INLINE_VIRTUAL_TRACE() { visitor->trace(m_requestCallback); SQLStatementCallback::trace(visitor); } bool handleEvent(SQLTransaction*, SQLResultSet* resultSet) override { SQLResultSetRowList* rowList = resultSet->rows(); RefPtr<TypeBuilder::Array<String>> columnNames = TypeBuilder::Array<String>::create(); const Vector<String>& columns = rowList->columnNames(); for (size_t i = 0; i < columns.size(); ++i) columnNames->addItem(columns[i]); RefPtr<TypeBuilder::Array<JSONValue>> values = TypeBuilder::Array<JSONValue>::create(); const Vector<SQLValue>& data = rowList->values(); for (size_t i = 0; i < data.size(); ++i) { const SQLValue& value = rowList->values()[i]; switch (value.type()) { case SQLValue::StringValue: values->addItem(JSONString::create(value.string())); break; case SQLValue::NumberValue: values->addItem(JSONBasicValue::create(value.number())); break; case SQLValue::NullValue: values->addItem(JSONValue::null()); break; } } m_requestCallback->sendSuccess(columnNames.release(), values.release(), nullptr); return true; } private: StatementCallback(PassRefPtrWillBeRawPtr<ExecuteSQLCallback> requestCallback) : m_requestCallback(requestCallback) { } RefPtrWillBeMember<ExecuteSQLCallback> m_requestCallback; }; class StatementErrorCallback final : public SQLStatementErrorCallback { public: static StatementErrorCallback* create(PassRefPtrWillBeRawPtr<ExecuteSQLCallback> requestCallback) { return new StatementErrorCallback(requestCallback); } ~StatementErrorCallback() override { } DEFINE_INLINE_VIRTUAL_TRACE() { visitor->trace(m_requestCallback); SQLStatementErrorCallback::trace(visitor); } bool handleEvent(SQLTransaction*, SQLError* error) override { reportTransactionFailed(m_requestCallback.get(), error); return true; } private: StatementErrorCallback(PassRefPtrWillBeRawPtr<ExecuteSQLCallback> requestCallback) : m_requestCallback(requestCallback) { } RefPtrWillBeMember<ExecuteSQLCallback> m_requestCallback; }; class TransactionCallback final : public SQLTransactionCallback { public: static TransactionCallback* create(const String& sqlStatement, PassRefPtrWillBeRawPtr<ExecuteSQLCallback> requestCallback) { return new TransactionCallback(sqlStatement, requestCallback); } ~TransactionCallback() override { } DEFINE_INLINE_VIRTUAL_TRACE() { visitor->trace(m_requestCallback); SQLTransactionCallback::trace(visitor); } bool handleEvent(SQLTransaction* transaction) override { if (!m_requestCallback->isActive()) return true; Vector<SQLValue> sqlValues; SQLStatementCallback* callback = StatementCallback::create(m_requestCallback.get()); SQLStatementErrorCallback* errorCallback = StatementErrorCallback::create(m_requestCallback.get()); transaction->executeSQL(m_sqlStatement, sqlValues, callback, errorCallback, IGNORE_EXCEPTION); return true; } private: TransactionCallback(const String& sqlStatement, PassRefPtrWillBeRawPtr<ExecuteSQLCallback> requestCallback) : m_sqlStatement(sqlStatement) , m_requestCallback(requestCallback) { } String m_sqlStatement; RefPtrWillBeMember<ExecuteSQLCallback> m_requestCallback; }; class TransactionErrorCallback final : public SQLTransactionErrorCallback { public: static TransactionErrorCallback* create(PassRefPtrWillBeRawPtr<ExecuteSQLCallback> requestCallback) { return new TransactionErrorCallback(requestCallback); } ~TransactionErrorCallback() override { } DEFINE_INLINE_VIRTUAL_TRACE() { visitor->trace(m_requestCallback); SQLTransactionErrorCallback::trace(visitor); } bool handleEvent(SQLError* error) override { reportTransactionFailed(m_requestCallback.get(), error); return true; } private: TransactionErrorCallback(PassRefPtrWillBeRawPtr<ExecuteSQLCallback> requestCallback) : m_requestCallback(requestCallback) { } RefPtrWillBeMember<ExecuteSQLCallback> m_requestCallback; }; class TransactionSuccessCallback final : public VoidCallback { public: static TransactionSuccessCallback* create() { return new TransactionSuccessCallback(); } ~TransactionSuccessCallback() override { } void handleEvent() override { } private: TransactionSuccessCallback() { } }; } // namespace void InspectorDatabaseAgent::didOpenDatabase(Database* database, const String& domain, const String& name, const String& version) { if (InspectorDatabaseResource* resource = findByFileName(database->fileName())) { resource->setDatabase(database); return; } InspectorDatabaseResource* resource = InspectorDatabaseResource::create(database, domain, name, version); m_resources.set(resource->id(), resource); // Resources are only bound while visible. if (frontend() && m_enabled) resource->bind(frontend()); } void InspectorDatabaseAgent::didCommitLoadForLocalFrame(LocalFrame* frame) { // FIXME(dgozman): adapt this for out-of-process iframes. if (frame != m_page->mainFrame()) return; m_resources.clear(); } InspectorDatabaseAgent::InspectorDatabaseAgent(Page* page) : InspectorBaseAgent<InspectorDatabaseAgent, InspectorFrontend::Database>("Database") , m_page(page) , m_enabled(false) { DatabaseClient::fromPage(page)->setInspectorAgent(this); } InspectorDatabaseAgent::~InspectorDatabaseAgent() { } void InspectorDatabaseAgent::enable(ErrorString*) { if (m_enabled) return; m_enabled = true; m_state->setBoolean(DatabaseAgentState::databaseAgentEnabled, m_enabled); DatabaseResourcesHeapMap::iterator databasesEnd = m_resources.end(); for (DatabaseResourcesHeapMap::iterator it = m_resources.begin(); it != databasesEnd; ++it) it->value->bind(frontend()); } void InspectorDatabaseAgent::disable(ErrorString*) { if (!m_enabled) return; m_enabled = false; m_state->setBoolean(DatabaseAgentState::databaseAgentEnabled, m_enabled); } void InspectorDatabaseAgent::restore() { m_enabled = m_state->getBoolean(DatabaseAgentState::databaseAgentEnabled); } void InspectorDatabaseAgent::getDatabaseTableNames(ErrorString* error, const String& databaseId, RefPtr<TypeBuilder::Array<String>>& names) { if (!m_enabled) { *error = "Database agent is not enabled"; return; } names = TypeBuilder::Array<String>::create(); Database* database = databaseForId(databaseId); if (database) { Vector<String> tableNames = database->tableNames(); unsigned length = tableNames.size(); for (unsigned i = 0; i < length; ++i) names->addItem(tableNames[i]); } } void InspectorDatabaseAgent::executeSQL(ErrorString*, const String& databaseId, const String& query, PassRefPtrWillBeRawPtr<ExecuteSQLCallback> prpRequestCallback) { RefPtrWillBeRawPtr<ExecuteSQLCallback> requestCallback = prpRequestCallback; if (!m_enabled) { requestCallback->sendFailure("Database agent is not enabled"); return; } Database* database = databaseForId(databaseId); if (!database) { requestCallback->sendFailure("Database not found"); return; } SQLTransactionCallback* callback = TransactionCallback::create(query, requestCallback.get()); SQLTransactionErrorCallback* errorCallback = TransactionErrorCallback::create(requestCallback.get()); VoidCallback* successCallback = TransactionSuccessCallback::create(); database->transaction(callback, errorCallback, successCallback); } InspectorDatabaseResource* InspectorDatabaseAgent::findByFileName(const String& fileName) { for (DatabaseResourcesHeapMap::iterator it = m_resources.begin(); it != m_resources.end(); ++it) { if (it->value->database()->fileName() == fileName) return it->value.get(); } return 0; } Database* InspectorDatabaseAgent::databaseForId(const String& databaseId) { DatabaseResourcesHeapMap::iterator it = m_resources.find(databaseId); if (it == m_resources.end()) return 0; return it->value->database(); } DEFINE_TRACE(InspectorDatabaseAgent) { #if ENABLE(OILPAN) visitor->trace(m_resources); #endif InspectorBaseAgent::trace(visitor); } } // namespace blink ```
```go package keystone // For Keystone Engine. AUTO-GENERATED FILE, DO NOT EDIT [ppc_const.go] const ( ERR_ASM_PPC_INVALIDOPERAND Error = 512 ERR_ASM_PPC_MISSINGFEATURE Error = 513 ERR_ASM_PPC_MNEMONICFAIL Error = 514 ) ```
The Battle of Ozerna was fought on 20–22 November (O.S. 10–12 November) 1655 near Ozerna (then in Ruthenian Voivodeship of the Crown of Poland, now part of Ukraine) between the forces of the Polish-Tatar coalition and Ukrainian-Russian troops. The battle ended with a success for Ukrainian Cossacks and their Russian allies. According to the subsequent Treaty of Ozerna, the Crimean List of Khans of Crimea pledged not to attack Ukrainian lands and the Tsardom of Russia, while hetman Bohdan Khmelnytskyi promised not to attack Crimea and the Porte and restrain the Don Cossacks from attacking their Tatar and Turkish neighbours. Both sides also exchanged prisoners. References External sources Грушевський М. Історія України-Руси. — Том IX. — Розділ X. — С. 9–11. Гуцал П. Озернянська угода / Тернопільський енциклопедичний словник : у 4 т. / редкол.: Г. Яворський та ін. — Тернопіль : Видавничо-поліграфічний комбінат «Збруч», 2005. — Т. 2 : К — О. — С. 658. — ISBN 966-528-199-2. Мицик Ю. А., Бажан О. Г., Власов В. С. Перебіг воєнних дій проти Речі Посполитої в 1654—1655 pp. [Архівовано 8 травня 2013 у Wayback Machine.] // Історія України. Навчальний посібник. — К. : ВД «Києво-Могилянська академія», 2008. Podhorodecki L. Chanat Krymski w XV—XVIII wieku. — Warszawa, 1987. — S. 192–193. Conflicts in 1655 1655 in the Polish–Lithuanian Commonwealth Battles involving Ukraine Battles involving Russia Battles involving Poland 17th century in Ukraine
Robert Glendenning (6 June 1888 – 19 November 1940) was an English professional footballer, who played as a wing half for several English clubs prior to and just after the First World War. He later went on to coach in the Netherlands, including coaching the Dutch national side. Club career He started his career at hometown club Washington United before transferring to Barnsley sometime prior to 1910. He played in both FA Cup finals that Barnsley reached, in 1910 and 1912. In the first Barnsley lost in the replay to Newcastle United. The second also went to a replay but Barnsley won, defeating West Bromwich Albion by one goal in extra time. The Manchester Guardian praised his play in the first ma tch, and in the replay Glendenning won the ball from a West Brom player and passed it to Harry Tufnell to score in the last minutes of extra time. In. R I to Bolton Wanderers, for whom he played a total of 83 games as club captain. Bolton reached the FA Cup semi-finals in 1915, in which they were defeated by Sheffield United captained by George Utley, Glendenning's fellow wing half from Barnsley. In the 1916–17 season, Glendinning appeared as a wartime guest player with Burnley. After the war he played for Accrington Stanley. Coaching career After the end of his playing career he took up coaching and moved to the Netherlands. He had a short spell, only one game, a 4–1 victory over Switzerland, as coach of the national side in 1923. He then coached Koninklijke HFC until 1928. He was made the permanent coach of the Netherlands in 1925, holding both coaching positions until the 1928 Summer Olympics when he chose to focus on the national team. He remained the manager of the Oranje until 1940, leading them to the World Cup finals in 1934 and 1938. The tournaments would be disappointments, exiting in the first round on both occasions, to Switzerland by a score of 3–2, in 1934, and then to Czechoslovakia by 3–0, in 1938. Glendenning managed the Oranje through 87 games, with 36 wins, 36 losses and 15 draws. Up until October 2017, he remained the Dutch national coach with the most victories. By comparison, the only Dutch coach Rinus Michels to win a major trophy, Euro 1988, had 30 victories from 53 games, over an 18-year (1974 to 1992) on again off again association with the national team. Marco van Basten had 35 wins from 48 games before being knocked out at the quarter-final stage of Euro 2008. However, as of his 3rd spell in charge, Dick Advocaat has now managed 37 victories from 62 games. Glendenning's last game as a manager was the 4–2 victory over Belgium played on 21 April 1940; the game was also Abe Lenstra's second international cap. Three weeks later the Dutch national side were in Luxembourg to play their next international match, but the game was never played because of the German invasion of the Netherlands. He died on 19 November of that same year. He is buried in Bolton (England) where the KNVB has maintained and replaced his headstone. Honours Barnsley FA Cup winner: 1912 FA Cup runner-up: 1910 References In some references he is referred to as Bob Glendinning 1888 births 1940 deaths Sportspeople from Washington, Tyne and Wear Footballers from Tyne and Wear English men's footballers Men's association football wing halves Washington United F.C. players Barnsley F.C. players Bolton Wanderers F.C. players Accrington Stanley F.C. (1891) players English Football League players Burnley F.C. wartime guest players English football managers Netherlands national football team managers 1934 FIFA World Cup managers 1938 FIFA World Cup managers English expatriate football managers Expatriate football managers in the Netherlands English expatriate sportspeople in the Netherlands
```jsx /* * This is a demo component the Eletrode app generator included * to show using Milligram CSS lib and Redux * store for display HTML elements and managing states. * * To start your own app, please replace or remove these files: * * - this file (home.jsx) * - demo-buttons.jsx * - demo-pure-states.jsx * - demo-states.jsx * - reducers/index.jsx * - styles/*.css * */ import React from "react"; import { connect } from "react-redux"; import "../styles/raleway.css"; import custom from "../styles/custom.css"; // eslint-disable-line no-unused-vars import electrodePng from "../images/electrode.png"; import DemoStates from "./demo-states"; import DemoPureStates from "./demo-pure-states"; import { DemoButtons } from "./demo-buttons"; import DemoDynamicImport from "./demo-dynamic-import"; import { Nav } from "./nav"; // import DemoCookies from "./demo-cookies"; // // import config from "electrode-ui-config"; // // class Home extends React.Component { constructor(props) { super(props); } render() { return ( <div styleName="custom.container"> <Nav {...this.props} /> {/**/} <section styleName="custom.header"> <h2> <span>Hello from </span> <a href="path_to_url"> {"Electrode"} <img src={electrodePng} /> </a> </h2> </section> <div styleName="custom.docs-section"> <DemoStates /> </div> <div styleName="custom.docs-section"> <DemoPureStates /> </div> {/**/} <div styleName="custom.docs-section"> <DemoCookies /> </div> {/**/} {/**/} <div styleName="custom.docs-section"> <h6 styleName="custom.docs-header">Demo Isomorphic UI Config</h6> <div>config.ui.demo: "{config.ui.demo}"</div> </div> {/**/} <div styleName="custom.docs-section"> <DemoButtons /> </div> <div styleName="custom.docs-section"> <DemoDynamicImport/> </div> </div> ); } } Home.propTypes = {}; const mapStateToProps = state => state; export default connect( mapStateToProps, dispatch => ({ dispatch }) )(Home); ```
The first principal meridian is a meridian that began at the junction of the Ohio River and Great Miami River. It extends north on the boundary line between the states of Ohio and Indiana, and roughly approximates to the meridian of longitude 84° 48′ 50″ west from Greenwich. The ranges of the public surveys in the state of Ohio, west of the Scioto River, are (in part) numbered from this meridian. See also List of principal and guide meridians and base lines of the United States References External links 1 Meridians (geography) Borders of Indiana Borders of Ohio
```java package sfBugs; import edu.umd.cs.findbugs.annotations.NoWarning; public class Bug3056289 { private static Bug3056289 instance; @NoWarning("UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR,ST_WRITE_TO_STATIC_FROM_INSTANCE") public Bug3056289() { if (instance != null) { throw new IllegalStateException("I'm a singleton!"); } instance = this; // ST_WRITE_TO_STATIC_FROM_INSTANCE is reported here! } } ```