text
stringlengths
14
6.38M
meta
dict
CBA legal challenge heads to B.C. Court of Appeal By David Weir|June 26th, 2020|Advocacy, Community Benefits Agreement| The construction industry partners challenging B.C.'s Community Benefits Agreement (CBA) will be in court July 16 and 17 to appeal the B.C. Supreme Court ruling that stalled the judicial review last February. The B.C. Court of Appeal will be asked to overturn Supreme Court Justice Christopher Giaschi's decision striking portions of the petition for [...] CBA update – BCIB publishes updated FAQ By David Weir|March 2nd, 2020|Advocacy, Community Benefits Agreement, In The News| Contractors wanting to understand how B.C.'s Community Benefit Agreement (CBA) will be applied may find the answers they need in an updated Contractor & Subcontractor Q and A document produced by B.C. Infrastructure Benefits Inc. (BCIB). The updated Q&A, which was posted recently to a redesigned BCIB website, provides answers to several questions VRCA [...] VRCA attends rally demanding government stops the CBA roll-out By David Weir|November 22nd, 2019|Advocacy, Community Benefits Agreement, In The News| The Vancouver Regional Construction Association (VRCA) joined industry representatives and progressive labour unions at the B.C. legislature on November 19 to demand the provincial government stop the roll-out of its prescriptive and regressive Community Benefits Agreement (CBA), introduced in July 2018. "Our industry is deeply offended at the lack of industry engagement that took [...] Community Benefits Agreement and regional advocacy the focus at November Division meetings By David Weir|October 21st, 2019|Advocacy, Community Benefits Agreement, General Contractors, Manufacturers & Suppliers, Trade Contractors| The provincial government policy requiring key infrastructure projects to be built using the Community Benefits Agreement (CBA) framework continues to be one of the top issues worrying B.C.'s construction industry. Join us at Division meetings in November to get an update on: The legal challenge to the CBA brought by VRCA and its industry [...] Separating fact from fake on the B.C government's infrastructure deal By David Weir|January 21st, 2019|Advocacy, Community Benefits Agreement, In The News| Do you support forcing the Canucks to play with half of their own players while having the other half assigned to them at game time? We suspect few would agree to such a proposal, yet that's exactly what the B.C. Government is asking construction companies to do under its Community Benefits Agreement (CBA). Paul [...] BCCA shares BCIB's responses regarding the Community Benefits Agreement By David Weir|November 19th, 2018|Advocacy, Community Benefits Agreement| There are many questions about the Community Benefits Agreement that can't be answered by reading the agreement itself. Some, but not all, of the questions were answered during a recent meeting between the B.C. Construction Association (BCCA) and BC Infrastructure Benefits (BCIB). Based on member feedback at the Oct. 17 Division meeting, VRCA compiled [...] Who really benefits from community benefits agreements? By David Weir|October 22nd, 2018|Advocacy, Community Benefits Agreement, Events, In The News| VRCA and Mierau Contractors Ltd. are co-sponsoring the Abbotsford Chamber of Commerce November luncheon Nov. 1. The topic is: "Who really benefits from community benefits agreements?" The guest speaker will be Ken Baerg, executive director of Canada Works. Baerg is a seasoned labour relations strategist and practitioner who is passionate about supporting sustainable and [...] VRCA launches advocacy section on its website By David Weir|October 1st, 2018|Advocacy, Community Benefits Agreement, In The News| As British Columbia's oldest and largest regional construction association, the Vancouver Regional Construction Association (VRCA) represents the general and trade contractors, manufacturers, suppliers and various professional services providers who operate in the industrial, commercial and institutional construction industry in the Lower Mainland. As such, VRCA publicly takes positions and speaks out on business issues [...] Community Benefits Town Hall Meeting By Fiona Famulak|September 17th, 2018|Advocacy, Community Benefits Agreement, In The News| Dear member, Please join us for an important members-only town hall meeting to discuss industry's response to the new Community Benefits Agreement (CBA) that: forces construction workers to join and pay dues to the Building Trades Unions as a condition of working on certain public construction projects where the CBA will be used, which [...] BCCA launches letter campaign to fight Community Benefits Agreement By David Weir|August 13th, 2018|Advocacy, Community Benefits Agreement, In The News| The BC Construction Association (BCCA), on behalf of the four regional construction associations, has launched a letter-writing campaign against the Community Benefits Agreement for key infrastructure projects in B.C. Trades people and owners of construction companies are encouraged to sign a pre-drafted letter that will be sent to B.C. Premier John Horgan explaining why [...]
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
A Tribute to Late Professor Mahlagha Ghorbanli This edition of IJPP celebrates ten years of steady publication of Iranian Journal of Plant Physiology. The story of IJPP is that of a journey that started from a local forum where the researchers and scholars mainly from the Islamic Azad University could share findings of their studies, gradually developing into an international peer-reviewed journal indexed by Islamic World Science Citation Center (https://isc.gov.ir/en) and SCImago Journal & Country Rank (www.scimagojr.com). We heartily appreciate numerous authors, both local and international, whose contributions have led us reach this far and look forward to more original research reports to move even further. This edition is dedicated to late Mahlagha Ghorbanli, the emerita full professor of plant physiology in Kharazmi University, the first institution for teacher education in Iran. With her broad range of expertise and comprehensive knowledge of various research avenues in the field of plant physiology combined with a warm, caring, and supportive personality, professor Ghorbanli was the first Editor-in-Chief of IJPP, a prominent figure who was able to lead the editorial board of IJPP through the challenges inherent in starting a scientific journal. We owe much of what we have achieved to her scholarship and visions. May her soul rest in peace! Iranian Journal of Plant Physiology (2020). A Tribute to Late Professor Mahlagha Ghorbanli. Iranian Journal of Plant Physiology, 11(1), -. . "A Tribute to Late Professor Mahlagha Ghorbanli". Iranian Journal of Plant Physiology, 11, 1, 2020, -. (2020). 'A Tribute to Late Professor Mahlagha Ghorbanli', Iranian Journal of Plant Physiology, 11(1), pp. -. A Tribute to Late Professor Mahlagha Ghorbanli. Iranian Journal of Plant Physiology, 2020; 11(1): -.
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
Calciatore dell'anno (Futbollisti Shqiptar i Vitit) – premio calcistico dell'Albania, assegnato dalla Federazione calcistica dell'Albania Calciatore dell'anno (Futbolista Argentino del Año) – premio calcistico dell'Argentina, organizzato dall'Associazione dei Giornalisti Sportivi argentini (Círculo de Periodistas Deportivos, CPD) Calciatore dell'anno – premio calcistico dell'Armenia, assegnato dalla Federazione calcistica dell'Armenia Calciatore dell'anno (APA-Fußballerwahl) – premio calcistico dell'Austria, assegnato dagli allenatori della Bundesliga austriaca Calciatore dell'anno – premio calcistico del Belgio, assegnato dal quotidiano Het Laatste Nieuws Calciatore dell'anno (футбаліст года Беларусі) – premio calcistico della Bielorussia, assegnato dal quotidiano Прессбол (Pressbol) Calciatore dell'anno (Футболист №1 на България) – premio calcistico della Bulgaria, assegnato congiuntamente da vari giornali Calciatore dell'anno – premio calcistico della Cecoslovacchia, assegnato dal giornale sportivo Stadion fino al 1992 Calciatore dell'anno – premio calcistico del Cile, assegnato dal Círculo de Periodistas de Chile Calciatore dell'anno – premio calcistico della Croazia, assegnato dalla Federazione calcistica croata Calciatore dell'anno (Årets Fodboldspiller i Danmark) – premio calcistico della Danimarca assegnato dalla Spillerforeningen, l'associazione dei calciatori danesi Calciatore dell'anno (Aasta parim jalgpallur) – premio calcistico dell'Estonia Calciatore dell'anno – premio calcistico delle Fær Øer Calciatore dell'anno (Vuoden jalkapalloilija) – premio calcistico della Finlandia, assegnato dalla Federazione finlandese Calciatore dell'anno (Joueur français de l'année) – premio calcistico della Francia, assegnato dal quotidiano France Football Calciatore dell'anno – premio calcistico della Georgia Calciatore dell'anno – premio calcistico della Germania, assegnato dal quotidiano sportivo Kicker e dall'Associazione dei giornalisti sportivi tedeschi (Verband der Deutschen Sportjournalisten) Calciatore dell'anno – premio calcistico della Ghana, assegnato dalla Federazione calcistica del Ghana Calciatore dell'anno – premio calcistico della Grecia Calciatore dell'anno (Ireland of North Football Writers' Association Player of the Year) – premio calcistico dell'Irlanda del Nord, assegnato dalla Federcalcio dell'Irlanda del Nord Calciatore dell'anno – premio calcistico dell'Islanda, assegnato dalla Federazione calcistica islandese Calciatore dell'anno – premio calcistico di Israele, assegnato dal quotidiano israeliano Maariv Calciatore dell'anno – premio calcistico della Jugoslavia Calciatore dell'anno – premio calcistico del Kazakistan Calciatore dell'anno – premio calcistico della Lettonia, assegnato a partire dalla Federazione calcistica della Lettonia Calciatore dell'anno – premio calcistico della Lituania Calciatore dell'anno – premio calcistico del Lussemburgo, assegnato dal giornale Luxemburger Wort Calciatore dell'anno – premio calcistico della Macedonia del Nord, assegnato dalla Federazione calcistica della Macedonia del Nord Calciatore dell'anno – premio calcistico di Malta, assegnato dalla Federazione calcistica di Malta Calciatore dell'anno – premio calcistico della Moldavia, assegnato dalla Federazione calcistica della Moldavia Calciatore dell'anno – premio calcistico del Montenegro, assegnato dalla Federazione calcistica del Montenegro Calciatore dell'anno – premio calcistico dei Paesi Bassi, assegnato dai calciatori che militano in Eredivisie e Eerste Divisie Calciatore dell'anno – premio calcistico del Paraguay, assegnato dal giornale ABC Color Calciatore dell'anno (PFA Players' Player of the Year) – premio calcistico assegnato da giocatori della Premier League Calciatore dell'anno (PFAI Players' Player of the Year) – premio calcistico assegnato dai membri della Professional Footballers' Association of Ireland Calciatore dell'anno (Plebiscyt Piłki Nożnej) – premio calcistico della Polonia, assegnato dal quotidiano Piłka Nożna Calciatore dell'anno (Futebolista do Ano em Portugal) – premio calcistico del Portogallo, assegnato da vari giornali Calciatore dell'anno (FWA Footballer of the Year) – premio calcistico del Regno Unito, assegnato dai membri della Football Writers' Association Calciatore dell'anno – premio calcistico della Repubblica Ceca, assegnato dalla Federcalcio ceca Calciatore dell'anno (Fotbalistul român al anului) – premio calcistico della Romania, assegnato dal quotidiano Gazeta Sporturilor Calciatore dell'anno – premio calcistico della Russia, assegnato dal quotidiano russo Sport-Express Calciatore dell'anno (SPFA Players' Player of the Year) – premio calcistico della Scozia, assegnato dai giocatori della Scottish Premier League Calciatore dell'anno (SFWA Footballer of the Year) – premio calcistico della Scozia, assegnato dai membri della Scottish Football Writers' Association Calciatore dell'anno – premio calcistico della Serbia, assegnato dalla Federazione calcistica della Serbia Calciatore dell'anno – premio calcistico della Slovacchia Calciatore dell'anno – premio calcistico della Slovenia, assegnato dalla Federazione calcistica della Slovenia Calciatore dell'anno – premio calcistico della Svizzera, assegnato dal quotidiano Sport e poi dalla federazione calcistica della Svizzera Calciatore dell'anno – premio calcistico della Svizzera, assegnato dalla federazione calcistica della Svizzera Calciatore dell'anno – premio calcistico della Ucraina, assegnato da diversi giornali sportivi Calciatore dell'anno (Magyar Aranylabda) – premio calcistico della Ungheria, assegnato dalla Federazione calcistica dell'Ungheria Calciatore dell'anno – premio calcistico della Unione Sovietica, assegnato dal giornale sportivo Futbol. Chokkej Pagine correlate Calciatrice dell'anno
{ "redpajama_set_name": "RedPajamaWikipedia" }
Q: Limit on symbol table? I've been looking into some corner cases for loading python (2.7 on osx) files as configuration files. I wanted to see what the behavior was if I circularly ran execfile. I expected a out of memory error or a lot of swapping to occur, but I was rather surprised when I got a different result. I setup a test scenario as follows: 'd' python script with: #!/usr/bin/python x = 0 execfile("d1") 'd1' python script with: #!/usr/bin/python x += 1 print "x = %d" % x execfile("d2") 'd2' python script with: #!/usr/bin/python x += 1 print "x = %d" % x execfile("d1") The result: $ ./d x = 1 x = 2 x = 3 ... removed for brevity ... x = 997 x = 998 x = 999 Traceback (most recent call last): File "./d", line 5, in <module> execfile("d1") File "d1", line 5, in <module> execfile("d2") File "d2", line 5, in <module> execfile("d1") ... removed for brevity ... File "d1", line 5, in <module> execfile("d2") File "d2", line 5, in <module> execfile("d1") File "d1", line 5, in <module> execfile("d2") KeyError: 'unknown symbol table entry' I was just curious if there was someone who could explain what is happening here? Why does it stop after executing execfile ~1000 times? A: From the Python source code, Objects/dictobject.c: /* Note that, for historical reasons, PyDict_GetItem() suppresses all errors * that may occur (originally dicts supported only string keys, and exceptions * weren't possible). So, while the original intent was that a NULL return * meant the key wasn't present, in reality it can mean that, or that an error * (suppressed) occurred while computing the key's hash, or that some error * (suppressed) occurred when comparing keys in the dict's internal probe * sequence. A nasty example of the latter is when a Python-coded comparison * function hits a stack-depth error, which can cause this to return NULL * even if the key is present. */ So, PyDict_GetItem() does not always report errors correctly. Interesting... so in the following code in Python/symtable.c, v = PyDict_GetItem(st->st_blocks, k); if (v) { assert(PySTEntry_Check(v)); Py_INCREF(v); } else { PyErr_SetString(PyExc_KeyError, "unknown symbol table entry"); } Any error that occurs when looking up a symbol (including out-of-memory errors) will be turned into a KeyError. This is probably a bug.
{ "redpajama_set_name": "RedPajamaStackExchange" }
Niels Jacobsen (14 September 1865 - 31 January 1935) was a Danish architect and politician who worked primarily in Odense. He was also the Chairman of The Lego Group until his death. Biography Born in Aabenraa, Jacobsen was the son of shipbuilder Niels Jacobsen and Marie Kjaer. Jacobsen initially trained as a bricklayer. In September 1884, he began his studies at the Royal Danish Academy of Fine Arts in Copenhagen, where he studied under Hans Jørgen Holm. Graduating in 1890, he was subsequently employed by Johan Daniel Herholdt, Ferdinand Meldahl, and Martin Nyrop. He opened his own design studio in Odense in 1893. From 1894 to 1908, he taught at Odense Technical College, served on the Board of Directors 1909-25, and participated in architectural competitions as a judge. Jacobsen was a member of the Odense City Council 1909-25, and chairman from 1911. He was honored as a Knight of the Dannebrog. Jacobsen was in Italy in 1891. He exhibited at Charlottenborg Spring Exhibition in 1898, the World Exhibition in Paris in 1900, the City Hall exhibition in Copenhagen in 1901, as well as the Kunstgewerbemuseum Berlin in 1910. On August 11, 1893, he married Christiane Sophie Magdalene Bertram Petersen Møller (born 1872, Gråsten). He died in 1935 and is buried in Odense. Selected works Odense Grand Hotel, Jernbanegade 18 (1896–97, extended 1911 by Jacobsen) Telephone exchange, Jernbanegade 16 (1897) Extension of Funen Art Museum, Jernbanegade 13 (1897–98) Odense Technical College, Hunderupvej 15 (1898, 1921) Fyens Forsamlinghus, Kongensgade 64-68 (1900, 1910) Handelsbanken, Vestergade 12-14 (1900, partially preserved) Ansgars Church (1902) Restoration of Sankt Hans Rectory, Odense (1906) Fyns Tidenes building, Fisketorvet (1907) Electricity Power Station, Klosterbakken (the original part 1908) University Society Building, Slotsvæget (1909) Gråbrødreplads 6-7 (1910–11) Odense Vinkompagni, Klostervej 5-13 (1911–12, 1917) Odense Theatre, Jernbanegade 21 (1913–14) PC Rasmussen's Department Store, Vestergade 16 (1914) Bispegården, Klaregade 17 (1916) Det Borgerlige Byggeselskab, tradesman field (1917) Foundation Eilschous Boliger, Lahnsgade (1919–20) Odense Courthouse, Albanigade 28 (1919–21) Expansion of the Odense County and City Hospotal (1926–28); Hans Christian Andersen Museum (1929–30) Elsewhere Ommel Church, Æro (1892–94) Chapel in Glorup Park (limestone, 1898) St. George Church near Aabenraa (1903–04) Nordslesvigske Folkebank, Aabenraa (1911–12) Tower of Marstal Church (1920) References External links Niels Jacobsen at Kunstindeks Danmark/Weilbachs Kunstnerleksikon 1865 births 1935 deaths People from Aabenraa Municipality People from Odense Danish architects
{ "redpajama_set_name": "RedPajamaWikipedia" }
Cookies are small files placed on your device or held in your browser memory, when you visit our website. The cookies that we use do not store any personal or confidential information about you. Disabling these cookies may prevent you from using certain parts of this website.
{ "redpajama_set_name": "RedPajamaC4" }
The Steel City Cup is a greyhound racing competition held annually at Owlerton Stadium in Sheffield. It was inaugurated in 1970. Past winners Venues & Distances 1970-present (Sheffield 500m) Sponsors 1994–2009 (William Hill) 2010–2010 (Betfair) 2011–2017 (Betfred) 2018–2018 (Greyhound Media Group) 2019–2019 (Racing Post Greyhound TV) 2021–2022 (BresBet) References Greyhound racing competitions in the United Kingdom Sports competitions in Sheffield Sport in Sheffield Recurring sporting events established in 1970
{ "redpajama_set_name": "RedPajamaWikipedia" }
package com.basho.riak.client.itest; import static org.junit.Assert.*; import org.apache.commons.httpclient.URIException; import com.basho.riak.client.request.RequestMeta; import com.basho.riak.client.response.HttpResponse; public class Utils { public static RequestMeta WRITE_3_REPLICAS() { return RequestMeta.writeParams(3, 3); } public static void assertSuccess(HttpResponse response) { if (!response.isSuccess()) { StringBuilder msg = new StringBuilder("Failed "); msg.append(response.getHttpMethod().getName()).append(" "); try { msg.append(response.getHttpMethod().getURI().toString()); } catch (URIException e) { msg.append(response.getHttpMethod().getPath()); } msg.append(" -- ") .append(response.getHttpMethod().getStatusLine()).append("; ") .append("Response headers: ").append(response.getHttpHeaders().toString()).append("; ") .append("Response body: ").append(response.getBody()); fail(msg.toString()); } } }
{ "redpajama_set_name": "RedPajamaGithub" }
Q: Execute shell script on cygwin from Python I want to execute a shell script, on cygwin from Python. The shell script is creating a file as an output. I tried import os import subprocess os.chdir(r"C:\\cygwin64\\bin\\ ") cmd = ["bash", "-c", 'cd /<path for the script>; ./test.sh'] subprocess.call(cmd) A: This works: import os, subprocess os.chdir(r"C:\cygwin64\bin") cmd = ["bash", "-c", "cd $HOME; pwd; exit"] ret = subprocess.call(cmd)
{ "redpajama_set_name": "RedPajamaStackExchange" }
Q: cannot resolve method getText() I'm new to Android developing and I'm trying to create a TODO list similar to an online tutorial I'm following. Everything but "todoText.setText(todoList.get(position).getText());" compiles correctly. With that line, I get the following error message: "cannot resolve method getText()." This is part of a class responsible for displaying each list row in a TODO checklist: @Override public View getView(int position, View convertView, ViewGroup parent) { LayoutInflater inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); View rowView = inflater.inflate(R.layout.activity_main, parent, false); TextView todoText = (TextView) rowView.findViewById(R.id.todoText); todoText.setText(todoList.get(position).getText()); return rowView; } I have no idea how to fix this. Any help would be greatly appreciated. Thank you. A: Hard to say without seeing todoList declaration, but chances are that todoList is a List of Strings (or something else but a TextView). If that's the case, you may just need to do.- todoText.setText(todoList.get(position)); A: I have no idea about the contents of your todoList but you can do a workaround if the content is not a String by using .toString() Try to change the code into - todoText.setText(todoList.get(position).toString()); hope it works.
{ "redpajama_set_name": "RedPajamaStackExchange" }
IBM Retirement Fund decreased its holdings in shares of IAC/InterActiveCorp (NASDAQ:IAC) by 7.8% during the 4th quarter, according to its most recent 13F filing with the Securities and Exchange Commission. The firm owned 1,119 shares of the company's stock after selling 95 shares during the period. IBM Retirement Fund's holdings in IAC/InterActiveCorp were worth $205,000 at the end of the most recent reporting period. Other hedge funds and other institutional investors have also added to or reduced their stakes in the company. Toronto Dominion Bank increased its position in IAC/InterActiveCorp by 23.2% during the 4th quarter. Toronto Dominion Bank now owns 10,427 shares of the company's stock worth $1,908,000 after purchasing an additional 1,965 shares during the period. Nordea Investment Management AB increased its position in IAC/InterActiveCorp by 29.0% during the 3rd quarter. Nordea Investment Management AB now owns 3,014 shares of the company's stock worth $653,000 after purchasing an additional 678 shares during the period. Westpac Banking Corp increased its position in IAC/InterActiveCorp by 51.0% during the 4th quarter. Westpac Banking Corp now owns 12,652 shares of the company's stock worth $2,316,000 after purchasing an additional 4,272 shares during the period. Morgan Stanley increased its position in IAC/InterActiveCorp by 153.4% during the 3rd quarter. Morgan Stanley now owns 1,471,397 shares of the company's stock worth $318,880,000 after purchasing an additional 890,730 shares during the period. Finally, DekaBank Deutsche Girozentrale boosted its stake in shares of IAC/InterActiveCorp by 9.3% during the 3rd quarter. DekaBank Deutsche Girozentrale now owns 4,103 shares of the company's stock worth $879,000 after acquiring an additional 350 shares in the last quarter. Institutional investors own 88.19% of the company's stock. Shares of IAC/InterActiveCorp stock opened at $224.00 on Friday. IAC/InterActiveCorp has a fifty-two week low of $128.80 and a fifty-two week high of $224.40. The firm has a market cap of $18.34 billion, a price-to-earnings ratio of 40.07, a price-to-earnings-growth ratio of 2.38 and a beta of 1.09. The company has a debt-to-equity ratio of 0.63, a quick ratio of 3.13 and a current ratio of 3.13. IAC/InterActiveCorp (NASDAQ:IAC) last issued its quarterly earnings results on Thursday, February 7th. The company reported $2.04 earnings per share for the quarter, topping analysts' consensus estimates of $0.99 by $1.05. IAC/InterActiveCorp had a return on equity of 16.11% and a net margin of 14.71%. The company had revenue of $1.10 billion for the quarter, compared to analyst estimates of $1.07 billion. During the same quarter in the prior year, the company posted $0.37 EPS. The business's revenue for the quarter was up 16.1% compared to the same quarter last year. Analysts expect that IAC/InterActiveCorp will post 4.5 earnings per share for the current fiscal year. In related news, CFO Glenn Schiffman sold 2,000 shares of the stock in a transaction on Friday, March 1st. The stock was sold at an average price of $213.68, for a total value of $427,360.00. The sale was disclosed in a filing with the Securities & Exchange Commission, which is available through this link. Also, Director David S. Rosenblatt sold 4,528 shares of the stock in a transaction on Tuesday, February 12th. The shares were sold at an average price of $220.64, for a total value of $999,057.92. The disclosure for this sale can be found here. Over the last 90 days, insiders have sold 10,528 shares of company stock valued at $2,222,948. Insiders own 10.90% of the company's stock. Several equities research analysts have recently commented on IAC shares. Zacks Investment Research raised IAC/InterActiveCorp from a "sell" rating to a "hold" rating in a research note on Thursday, February 14th. BidaskClub lowered IAC/InterActiveCorp from a "buy" rating to a "hold" rating in a research note on Thursday, February 28th. ValuEngine raised IAC/InterActiveCorp from a "buy" rating to a "strong-buy" rating in a research note on Tuesday, January 29th. Goldman Sachs Group started coverage on IAC/InterActiveCorp in a research note on Monday, February 4th. They issued a "neutral" rating and a $226.00 target price on the stock. Finally, Aegis reaffirmed a "buy" rating and issued a $250.00 target price on shares of IAC/InterActiveCorp in a research note on Thursday, November 22nd. One investment analyst has rated the stock with a sell rating, three have given a hold rating, eighteen have given a buy rating and one has issued a strong buy rating to the company. IAC/InterActiveCorp currently has a consensus rating of "Buy" and a consensus price target of $240.83. TRADEMARK VIOLATION WARNING: This report was originally published by Highlight Press and is owned by of Highlight Press. If you are reading this report on another site, it was illegally stolen and republished in violation of United States and international copyright laws. The original version of this report can be read at https://highlightpress.com/2019/03/22/iac-interactivecorp-iac-holdings-cut-by-ibm-retirement-fund.html. Want to see what other hedge funds are holding IAC? Visit HoldingsChannel.com to get the latest 13F filings and insider trades for IAC/InterActiveCorp (NASDAQ:IAC).
{ "redpajama_set_name": "RedPajamaC4" }
Planet of Birds Source to all birds on the Planet Folklore Tales New Species Greater Yellow-headed Vulture (Cathartes melambrotus) Cathartidae, Falconiformes, South America [order] FALCONIFORMES | [family] Cathartidae | [latin] Cathartes melambrotus | [authority] Wetmore, 1964 | [UK] Greater Yellow-headed Vulture | [FR] Grand Urubu | [DE] Grosser Gelbkopfgeier | [ES] Aura Selvatica | [NL] Grote Geelkopgier Monotypic species The genus Cathartes includes medium-sized to large carrion-feeding birds in the New World vulture (Cathartidae) family. The three species currently classified in this genus occur widely in the Americas. Physical charateristics The adult is a very deep black overall, with green and purple sheen. Its eyes are red, its feet black and its beak id flesh coloured. The throat and the sides of the head vary from deep yellow to pale orange, with a blue crown and a blue spot in front of the eyes. wingspan min.: 165 cm wingspan max.: 178 cm size min.: 74 cm size max.: 81 cm incubation min.: 32 days incubation max.: 40 days fledging min.: 70 days fledging max.: 85 days broods: 1 eggs min.: 1 eggs max.: 3 South America : Amazonia Typically low tropical forest and less inclined to use open or disturbed forest. The Greater Yellow-headed Vulture roosts on high, exposed dead trees to observe surrounding terrain. When flying, it travels in pairs or alone and is rarely found in groups. Flight is heavy and steady. It flies with its wings held flat or very slightly above horizontal, in what is called the dihedral position. The flight of the Greater Yellow-Headed is an example of static soaring flight, which uses thermals to maintain altitude without the need to flap its wings. The Greater Yellow-headed Vulture also has the unusual habit of urohydrosis, in which it urinates or defecates on its legs to cool them evaporatively. This behavior is exhibited by storks and New World vultures. Greater Yellow-headed Vultures do not build nests, but rather lay their eggs directly on cliffs, the floors of caves, the ground, or in the hollows of stumps. Eggs are cream-colored and blotched with brown spots, particularly around the larger end. Clutch size ranges from one to three, though two is the norm. The chicks are altricial?blind, naked and relatively immobile upon hatching, and grow down feathers later. The parents feed their young by regurgitating pre-digested food into their beak, where the chicks then drink it. Young fledge after two to three months; eggs are incuated for about five to seven weeks. Feeding habits The primary staple of this vulture's diet is carrion, though it is very fond of fish, and may occasionally take them alive. Relies heavily on olfactoin (smell) to detect prey. The Greater Yellow-headed Vulture is a scavenger and subsists entirely on carrion. It will eat roadkill or other animal carcasses. It prefers fresh meat, but often cannot make the first cut into the carcass of a larger animal as its beak is not strong enough to tear into the tough hide. After a few days, the Greater Yellow-headed Vulture will no longer feed on a piece of carrion, as the meat will begin to decay and become contaminated with microbial toxins. It will drink water from a pool, pond, or any receptacle provided. Like other vultures, they play an important role in the ecosystem by disposing off carrion which could otherwise be a breeding ground for disease. The Greater Yellow-headed Vulture forages using its keen eyesight to locate carrion on the ground, but also uses its sense of smell, an ability which is uncommon in the avian world. It locates carrion by detecting the scent of ethyl mercaptan, a gas produced by the beginnings of decay in dead animals. The olfactory lobe of its brain responsible for processing smells is particularly large compared to other animals. This characteristic of New World Vultures has been used by humans: ethyl mercaptan is injected into pipelines, and engineers looking for leaks then follow the vultures. King Vultures, which lack the ability to smell carrion, follow the Greater Yellow-headed Vultures to carcasses, where the King Vulture tears open the skin of the dead animal. This allows the smaller Greater Yellow-headed Vulture access to food, as it does not have a bill strong enough to tear the hide of larger animals. This is an example of mutual dependence between species. It is generally displaced from carcasses by both Turkey Vultures and King Vultures, due to their larger size. Video Greater Yellow-headed Vulture httpv://www.youtube.com/watch?v=QTrjd1H-Zao copyright: J. del Hoyo This species has an extremely large range, and hence does not approach the thresholds for Vulnerable under the range size criterion (Extent of Occurrence <20,000 km2 combined with a declining or fluctuating range size, habitat extent/quality, or population size and a small number of locations or severe fragmentation). Despite the fact that the population trend appears to be decreasing, the decline is not believed to be sufficiently rapid to approach the thresholds for Vulnerable under the population trend criterion (>30% decline over ten years or three generations). The population size is very large, and hence does not approach the thresholds for Vulnerable under the population size criterion (<10,000 mature individuals with a continuing decline estimated to be >10% in ten years or three generations, or with a specified population structure). For these reasons the species is evaluated as Least Concern. The Greater Yellow-Headed Vulture inhabits savannas, Grasslands, and Marshes in South America. It ranges from Argentina and Urugay, as far north as Mexico. In Surinam widely spread in the interior, much less common in the coastal planes. Identification of species uncertain due to overlapping range with Lesser Yellow-headed Vulture. Irruptive or local migrant Tags: all of Cathartes, Cathartes melambrotus, Greater Yellow-headed Vulture, New World vultures Planet of Birds © 2020 Frontier Theme
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
Stardrifter is a novel by Dale Aycock published in 1981. Plot summary Stardrifter is a novel in which the owner of an interstellar trading company gets caught up in a conspiracy that is looking to rule the galaxy. Reception Greg Costikyan reviewed Star Drifter in Ares Magazine #10 and commented that "The importance is not the plot, which is typical space opera, but Aycock's ability to flesh out characters despite slam-bang action and to turn a pretty phrase or two. Star Drifter is fun reading." The book also received reviews from Voice of Youth Advocates and Gene DeWeese of Science Fiction Review. Reviews Review by Gene DeWeese (1981) in Science Fiction Review, Winter 1981 References 1981 novels
{ "redpajama_set_name": "RedPajamaWikipedia" }
לצפייה: הרצאות שניתנו ביום עיון ב-10 בפברואר 2019, בנושא "הרפובליקה האסלאמית בפרספקטיבה של ארבעה עשורים". On September 3, 2018, the Begin-Sadat Center for Strategic Studies convened a conference on "The Oslo Process 25 Years On". Videos from the February 22 international conference on Strategic Challenges in Saudi Arabia, Iran, and the Gulf, convened by the BESA Center and B'nai B'rith International. On November 1, 2017, the Begin-Sadat Center for Strategic Studies, the Australian Strategic Policy Institute and Bar-Ilan Univeristy co-hosted the "Be'er Sheva Dialogue" at the Renaissance Tel Aviv Hotel. The Hon Malcolm Turnbull MP, Prime Minister of Australia, was in attendance. On June 26, 2017, Minister Zeev Elkin, Dr. Yossi Beilin, and Prof. Ruth Gavison debated Maj. Gen. (res.) Yaakov Amidror's new study, which takes a fresh look at Israel's options in Judea and Samaria and seeks to chart a path forward that will secure its national security while leaving the door open to peace. לצפייה: נאומים שניתנו בכנס מרכז בגין-סאדאת למחקרים אסטרטגיים ומרכז מורשת מנחם בגין בנושא "ארבעים שנה למהפך 1977". הכנס התקיים ביום חמישי, ח' באייר תשע"ז, 4 במאי 2017. On February 21, 2017, for the second consecutive year, the Begin-Sadat Center for Strategic Studies and B'nai B'rith International jointly held an international conference on Strategic Challenges in the Eastern Mediterranean. The event, which took place at the Begin-Sadat Center, involved the participation of experts from Greece, Russia, Britain, Turkey, Albania, the US, and Israel. Shortly after the US presidential election in November, experts met the BESA Center to analyze the reasons for, and international implications of, Donald Trump's triumph, and to dissect the "Yom Kippur" of the liberal elite and media. In June, experts from Belgium, Bahrain, France, Germany, India, the UK, US and Israel convened at the BESA Center and at Haifa's National Security Studies Center for a two-day international conference to study developments in Saudi Arabia and the Gulf.
{ "redpajama_set_name": "RedPajamaC4" }
Q: If $\sum_{n=1}^\infty E(X_n-X_{n-1})^2/b_n^2 < \infty$, then $X_n/b_n \rightarrow 0$ a.s. This is Durrett Exercise 5.4.9. I'm trying to show that if $X_n$ is a martingale, and $b_m \uparrow \infty$, $\sum_{n=1}^\infty E(X_n-X_{n-1})^2/b_n^2 < \infty$, then $X_n/b_n \rightarrow 0$ a.s.. If $X_n \in L^2$, I can show that this reduces to Durrett Exercise 5.4.8, which I have solved, since the above also gives us that the the sum of $\sum_{n=1}^\infty E\left(\frac{X_n}{b_n}-\frac{X_{n-1}}{b_{n-1}}\right)^2<\infty$, and then I can use orthogonality of martingale increments, and $L^p$ convergence theorem to conclude that it converges in almost surely and in $L^2$, although I'm not sure that I can show it converges to 0. But, in this case, I am stuck and unable to proceed A: Hints: Since $b_n \uparrow \infty$ we may assume without loss of generality that $b_n>1$ for all $n \geq 1$. Let's first assume additionally that $(X_n)_{n \in \mathbb{N}}$ is square integrable and $X_0 = 0$. * *Set $$Y_n := \sum_{i=1}^n \frac{X_i-X_{i-1}}{b_i}.$$ Show that $(Y_n)_{n \in \mathbb{N}}$ is a squre-integrable martingale with $$\mathbb{E}(Y_n^2) = \sum_{i=1}^n \frac{\mathbb{E}((X_i-X_{i-1})^2)}{b_i^2}.$$ *It follows from Step 1 and the assumptions on $(X_n)_{n \in \mathbb{N}}$ that $(Y_n)_{n \in \mathbb{N}}$ is an $L^2$-bounded martingale. The martingale convergence thorem yields that $Y_n$ converges almost surely, i.e. $$\sum_{i=1}^{\infty} \frac{X_i-X_{i-1}}{b_i}$$ converges with probability $1$. *Apply Kronecker's lemma to deduce that $$\lim_{n \to \infty} \frac{X_n}{b_n} = 0 \quad \text{a.s.}$$ For the general case: Define $\tilde{X}_n := X_n-X_0$. * *Check that $\sum_n \mathbb{E}((X_n-X_{n-1})^2)/b_n^2 < \infty$ implies $\sum_n \mathbb{E}((\tilde{X}_n-\tilde{X}_{n-1})^2)/b_n^2 < \infty$. *Deduce from $\mathbb{E}((\tilde{X}_n-\tilde{X}_{n-1})^2)< \infty$, $n \in \mathbb{N}$, and $\tilde{X}_0 =0 \in L^2(\mathbb{P})$ that $\tilde{X}_n \in L^2(\mathbb{P})$ for all $n \geq 1$. *Apply the first part of this answer to $\tilde{X}_n$.
{ "redpajama_set_name": "RedPajamaStackExchange" }
Q: How to correct the parse error for the below code Html code is: <div ng-controller="myController"> <input type="input" ng-model="title" /> <br/> <p class="jm-find" title1="title" title2="spell('fe')"></p> </div> Javascript code: var app = angular.module('app', []); app.controller("myController", function ($scope) { $scope.title = "binding"; $scope.spell = function(ele){ console.log("me "+ele); } }); app.directive("jmFind", function () { return { replace: true, restrict: 'C', transclue: true, scope: { title1: "=", title2: "&" }, template: "<div><button ng-click={{title2}}>{{title1}}</button></div>" }; }); I am trying to understand "&" usage in Angularjs custom directive. I have followed few examples but missing on proper syntax to call the spell function. JSFiddle Link: http://jsfiddle.net/k03ozLts/ A: Invoke AngularJS expressions bound with expression (&) binding: app.directive("jmFind", function () { return { scope: { title1: "=", title2: "&" }, ̶t̶e̶m̶p̶l̶a̶t̶e̶:̶ ̶"̶<̶d̶i̶v̶>̶<̶b̶u̶t̶t̶o̶n̶ ̶n̶g̶-̶c̶l̶i̶c̶k̶=̶{̶{̶t̶i̶t̶l̶e̶2̶}̶}̶>̶{̶{̶t̶i̶t̶l̶e̶1̶}̶}̶<̶/̶b̶u̶t̶t̶o̶n̶>̶<̶/̶d̶i̶v̶>̶"̶ template: "<div><button ng-click='title2()'>{{title1}}</button></div>" }; });
{ "redpajama_set_name": "RedPajamaStackExchange" }
This is a placeholder page for Elva Manfredi, which means this person is not currently on this site. We do suggest using the tools below to find Elva Manfredi. You are visiting the placeholder page for Elva Manfredi. This page is here because someone used our placeholder utility to look for Elva Manfredi. We created this page automatically in hopes Elva Manfredi would find it. If you are not Elva Manfredi, but are an alumni of Ogden High School Ogden, UT, register on this site for free now.
{ "redpajama_set_name": "RedPajamaC4" }
// File Name: createEventMessage.c // // Written By: Danny Kent (jaus AT dannykent DOT com), Tom Galluzzo (galluzzo AT gmail DOT com) // // Version: 3.3.0b // // Date: 09/08/09 // // Description: This file defines the functionality of a CreateEventMessage #include <stdio.h> #include <stdlib.h> #include <string.h> #include "jaus.h" static const int commandCode = JAUS_CREATE_EVENT; static const int maxDataSizeBytes = 512000; // Max Message size: 500K static JausBoolean headerFromBuffer(CreateEventMessage message, unsigned char *buffer, unsigned int bufferSizeBytes); static JausBoolean headerToBuffer(CreateEventMessage message, unsigned char *buffer, unsigned int bufferSizeBytes); static int headerToString(CreateEventMessage message, char **buf); static JausBoolean dataFromBuffer(CreateEventMessage message, unsigned char *buffer, unsigned int bufferSizeBytes); static int dataToBuffer(CreateEventMessage message, unsigned char *buffer, unsigned int bufferSizeBytes); static void dataInitialize(CreateEventMessage message); static void dataDestroy(CreateEventMessage message); static unsigned int dataSize(CreateEventMessage message); // ************************************************************************************************************** // // USER CONFIGURED FUNCTIONS // ************************************************************************************************************** // // Initializes the message-specific fields static void dataInitialize(CreateEventMessage message) { // Set initial values of message fields message->presenceVector = newJausByte(JAUS_BYTE_PRESENCE_VECTOR_ALL_ON); // 1: Presence Vector message->requestId = newJausByte(0); // Local request ID for use in confirm event message->reportMessageCode = newJausUnsignedShort(0); // Command Code of the resulting report message->eventType = newJausByte(0); // Enumeration of Event types message->eventBoundary = newJausByte(0); // Enumeration of Event Boundary Conditions message->limitDataField = newJausByte(0); // Field from Report for Limit Trigger message->lowerLimit = jausEventLimitCreate(); // Lower Event Limit message->lowerLimit->dataType = EVENT_LIMIT_BYTE_TYPE; message->upperLimit = jausEventLimitCreate(); // Upper Event Limit message->upperLimit->dataType = EVENT_LIMIT_BYTE_TYPE; message->stateLimit = jausEventLimitCreate(); // State Event Limit used for Equal Boundary message->stateLimit->dataType = EVENT_LIMIT_BYTE_TYPE; message->requestedMinimumRate = newJausDouble(0.0); // For Periodic Events for unchanging value, Scaled UnsignedShort (0, 1092) message->requestedUpdateRate = newJausDouble(0.0); // For Periodic Events, Scaled UnsignedShort (0, 1092) message->queryMessage = NULL; // Query Message (not including header) to use for response } // Destructs the message-specific fields static void dataDestroy(CreateEventMessage message) { // Free message fields if(message->queryMessage) jausMessageDestroy(message->queryMessage); if(message->lowerLimit) jausEventLimitDestroy(message->lowerLimit); if(message->upperLimit) jausEventLimitDestroy(message->upperLimit); if(message->stateLimit) jausEventLimitDestroy(message->stateLimit); } // Return boolean of success static JausBoolean dataFromBuffer(CreateEventMessage message, unsigned char *buffer, unsigned int bufferSizeBytes) { int index = 0; JausUnsignedShort tempUShort; JausUnsignedInteger queryMessageSize; if(bufferSizeBytes == message->dataSize) { // Unpack Message Fields from Buffer // Presence Vector if(!jausByteFromBuffer(&message->presenceVector, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += JAUS_BYTE_SIZE_BYTES; // Request ID if(!jausByteFromBuffer(&message->requestId, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += JAUS_BYTE_SIZE_BYTES; // Report Message Code if(!jausUnsignedShortFromBuffer(&message->reportMessageCode, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += JAUS_UNSIGNED_SHORT_SIZE_BYTES; // Event Type if(!jausByteFromBuffer(&message->eventType, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += JAUS_BYTE_SIZE_BYTES; if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_BOUNDARY_BIT)) { // Event Boundary if(!jausByteFromBuffer(&message->eventBoundary, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += JAUS_BYTE_SIZE_BYTES; } if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_DATA_FIELD_BIT)) { // Limit Data Field if(!jausByteFromBuffer(&message->limitDataField, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += JAUS_BYTE_SIZE_BYTES; } if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_LOWER_LIMIT_BIT)) { // Lower Limit if(!jausEventLimitFromBuffer(&message->lowerLimit, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += jausEventLimitSize(message->lowerLimit); } else { message->lowerLimit = NULL; } if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_UPPER_LIMIT_BIT)) { // Upper Limit if(!jausEventLimitFromBuffer(&message->upperLimit, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += jausEventLimitSize(message->upperLimit); } else { message->upperLimit = NULL; } if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_STATE_LIMIT_BIT)) { // State Limit if(!jausEventLimitFromBuffer(&message->stateLimit, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += jausEventLimitSize(message->stateLimit); } else { message->stateLimit = NULL; } if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_MINIMUM_RATE_BIT)) { // Minimum Periodic Rate if(!jausUnsignedShortFromBuffer(&tempUShort, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += JAUS_UNSIGNED_SHORT_SIZE_BYTES; // Scaled Int (0, 1092); message->requestedMinimumRate = jausUnsignedShortToDouble(tempUShort, 0, 1092); } if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_REQUESTED_RATE_BIT)) { // Periodic Rate if(!jausUnsignedShortFromBuffer(&tempUShort, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += JAUS_UNSIGNED_SHORT_SIZE_BYTES; // Scaled Int (0, 1092); message->requestedUpdateRate = jausUnsignedShortToDouble(tempUShort, 0, 1092); } if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_QUERY_MESSAGE_BIT)) { // Query Message Size if(!jausUnsignedIntegerFromBuffer(&queryMessageSize, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += JAUS_UNSIGNED_INTEGER_SIZE_BYTES; // Query Message Body if(bufferSizeBytes-index < queryMessageSize) return JAUS_FALSE; // Setup our Query Message message->queryMessage = jausMessageCreate(); if(!message->queryMessage) return JAUS_FALSE; message->queryMessage->dataSize = queryMessageSize; jausAddressCopy(message->queryMessage->source, message->source); jausAddressCopy(message->queryMessage->destination, message->destination); message->queryMessage->commandCode = jausMessageGetComplementaryCommandCode(message->reportMessageCode); // Allocate Memory message->queryMessage->data = (unsigned char *) malloc(queryMessageSize); // Copy query message body to the data member memcpy(message->queryMessage->data, buffer+index, queryMessageSize); index += queryMessageSize; } return JAUS_TRUE; } else { return JAUS_FALSE; } } // Returns number of bytes put into the buffer static int dataToBuffer(CreateEventMessage message, unsigned char *buffer, unsigned int bufferSizeBytes) { int index = 0; JausUnsignedShort tempUShort; if(bufferSizeBytes >= dataSize(message)) { // Unpack Message Fields from Buffer // Presence Vector if(!jausByteToBuffer(message->presenceVector, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += JAUS_BYTE_SIZE_BYTES; // Request Id if(!jausByteToBuffer(message->requestId, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += JAUS_BYTE_SIZE_BYTES; // Message Code if(!jausUnsignedShortToBuffer(message->reportMessageCode, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += JAUS_UNSIGNED_SHORT_SIZE_BYTES; // Event Type if(!jausByteToBuffer(message->eventType, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += JAUS_BYTE_SIZE_BYTES; if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_BOUNDARY_BIT)) { // Event Boundary if(!jausByteToBuffer(message->eventBoundary, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += JAUS_BYTE_SIZE_BYTES; } if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_DATA_FIELD_BIT)) { // Data Field if(!jausByteToBuffer(message->limitDataField, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += JAUS_BYTE_SIZE_BYTES; } if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_LOWER_LIMIT_BIT)) { // Lower Limit if(!jausEventLimitToBuffer(message->lowerLimit, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += jausEventLimitSize(message->lowerLimit); } if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_UPPER_LIMIT_BIT)) { // Upper Limit if(!jausEventLimitToBuffer(message->upperLimit, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += jausEventLimitSize(message->upperLimit); } if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_STATE_LIMIT_BIT)) { // State Limit if(!jausEventLimitToBuffer(message->stateLimit, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += jausEventLimitSize(message->stateLimit); } if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_MINIMUM_RATE_BIT)) { // Scaled Int (0, 1092); tempUShort = jausUnsignedShortFromDouble(message->requestedMinimumRate, 0, 1092); // Minimum Periodic Rate if(!jausUnsignedShortToBuffer(tempUShort, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += JAUS_UNSIGNED_SHORT_SIZE_BYTES; } if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_REQUESTED_RATE_BIT)) { // Scaled Int (0, 1092); tempUShort = jausUnsignedShortFromDouble(message->requestedUpdateRate, 0, 1092); // Minimum Periodic Rate if(!jausUnsignedShortToBuffer(tempUShort, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += JAUS_UNSIGNED_SHORT_SIZE_BYTES; } if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_QUERY_MESSAGE_BIT)) { //Query Message Size if(message->queryMessage) { if(!jausUnsignedIntegerToBuffer(message->queryMessage->dataSize, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += JAUS_UNSIGNED_INTEGER_SIZE_BYTES; // Query Message Body if(bufferSizeBytes-index < message->queryMessage->dataSize) return JAUS_FALSE; memcpy(buffer+index, message->queryMessage->data, message->queryMessage->dataSize); index += message->queryMessage->dataSize; } else { if(!jausUnsignedIntegerToBuffer(0, buffer+index, bufferSizeBytes-index)) return JAUS_FALSE; index += JAUS_UNSIGNED_INTEGER_SIZE_BYTES; } } } return index; } static int dataToString(CreateEventMessage message, char **buf) { //message already verified //Setup temporary string buffer unsigned int bufSize = 1000; char* lowerLimitStr = NULL; char* upperLimitStr = NULL; char* stateLimitStr = NULL; char* msgString = NULL; (*buf) = (char*)malloc(sizeof(char)*bufSize); strcpy((*buf), "\nPresence Vector: " ); jausByteToHexString(message->presenceVector, (*buf)+strlen(*buf)); strcat((*buf), "\nRequest Id: " ); jausByteToString(message->requestId, (*buf)+strlen(*buf)); strcat((*buf), "\nMessage Code: " ); jausUnsignedShortToString(message->reportMessageCode, (*buf)+strlen(*buf)); strcat((*buf), "\nEvent Type: " ); jausByteToString(message->eventType, (*buf)+strlen(*buf)); switch(message->eventType) { case EVENT_PERIODIC_TYPE: strcat((*buf), " Periodic(SC)"); break; case EVENT_EVERY_CHANGE_TYPE: strcat((*buf), " Every Change"); break; case EVENT_FIRST_CHANGE_TYPE: strcat((*buf), " First Change"); break; case EVENT_FIRST_CHANGE_IN_AND_OUT_TYPE: strcat((*buf), " First change in and out of boundary"); break; case EVENT_PERIODIC_NO_REPEAT_TYPE: strcat((*buf), " Periodic w/o replacement"); break; case EVENT_ONE_TIME_ON_DEMAND_TYPE: strcat((*buf), " One time, on demand"); break; } if(jausByteIsBitSet(message->presenceVector, UPDATE_EVENT_PV_BOUNDARY_BIT)) { strcat((*buf), "\nEvent Boundary: " ); jausByteToString(message->eventBoundary, (*buf)+strlen(*buf)); switch(message->eventBoundary) { case EQUAL_BOUNDARY: strcat((*buf), " Equal"); break; case NOT_EQUAL_BOUNDARY: strcat((*buf), " Not Equal"); break; case INSIDE_INCLUSIVE_BOUNDARY: strcat((*buf), " Inside Inclusive"); break; case INSIDE_EXCLUSIVE_BOUNDARY: strcat((*buf), " Inside Exclusive"); break; case OUTSIDE_INCLUSIVE_BOUNDARY: strcat((*buf), " Outside Inclusive"); break; case OUTSIDE_EXCLUSIVE_BOUNDARY: strcat((*buf), " Outside Exclusive"); break; case GREATER_THAN_OR_EQUAL_BOUNDARY: strcat((*buf), " Greater than or Equal"); break; case GREATER_THAN_BOUNDARY: strcat((*buf), " Strictly Greater than"); break; case LESS_THAN_OR_EQUAL_BOUNDARY: strcat((*buf), " Less than or Equal"); break; case LESS_THAN_BOUNDARY: strcat((*buf), " Strictly Less than"); break; } } if(jausByteIsBitSet(message->presenceVector, UPDATE_EVENT_PV_DATA_FIELD_BIT)) { strcat((*buf), "\nLimit Data Field: " ); jausByteToString(message->limitDataField, (*buf)+strlen(*buf)); } if(jausByteIsBitSet(message->presenceVector, UPDATE_EVENT_PV_LOWER_LIMIT_BIT)) { strcat((*buf), "\nLower Limit\n" ); lowerLimitStr = jausEventLimitToString(message->lowerLimit); strcat((*buf), lowerLimitStr); free(lowerLimitStr); } if(jausByteIsBitSet(message->presenceVector, UPDATE_EVENT_PV_UPPER_LIMIT_BIT)) { strcat((*buf), "\nUpper Limit\n" ); upperLimitStr = jausEventLimitToString(message->upperLimit); strcat((*buf), upperLimitStr); free(upperLimitStr); } if(jausByteIsBitSet(message->presenceVector, UPDATE_EVENT_PV_STATE_LIMIT_BIT)) { strcat((*buf), "\nState Limit\n" ); stateLimitStr = jausEventLimitToString(message->stateLimit); strcat((*buf), stateLimitStr); free(stateLimitStr); } if(jausByteIsBitSet(message->presenceVector, UPDATE_EVENT_PV_MINIMUM_RATE_BIT)) { strcat((*buf), "\nRequested Minimum Periodic Rate(Hz): " ); jausDoubleToString(message->requestedMinimumRate, (*buf)+strlen(*buf)); } if(jausByteIsBitSet(message->presenceVector, UPDATE_EVENT_PV_REQUESTED_RATE_BIT)) { strcat((*buf), "\nRequested Periodic Update Rate(Hz): " ); jausDoubleToString(message->requestedUpdateRate, (*buf)+strlen(*buf)); } if(jausByteIsBitSet(message->presenceVector, UPDATE_EVENT_PV_QUERY_MESSAGE_BIT)) { strcat((*buf), "\nQuery Message" ); msgString = jausMessageToString(message->queryMessage); strcat((*buf), msgString); free(msgString); } return (int)strlen(*buf); } // Returns number of bytes put into the buffer static unsigned int dataSize(CreateEventMessage message) { int index = 0; // Presence Vector index += JAUS_BYTE_SIZE_BYTES; // Request ID index += JAUS_BYTE_SIZE_BYTES; // Message Code index += JAUS_UNSIGNED_SHORT_SIZE_BYTES; // Event Type index += JAUS_BYTE_SIZE_BYTES; if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_BOUNDARY_BIT)) { index += JAUS_BYTE_SIZE_BYTES; } if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_DATA_FIELD_BIT)) { index += JAUS_BYTE_SIZE_BYTES; } if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_LOWER_LIMIT_BIT)) { index += jausEventLimitSize(message->lowerLimit); } if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_UPPER_LIMIT_BIT)) { index += jausEventLimitSize(message->upperLimit); } if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_STATE_LIMIT_BIT)) { index += jausEventLimitSize(message->stateLimit); } if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_MINIMUM_RATE_BIT)) { index += JAUS_UNSIGNED_SHORT_SIZE_BYTES; } if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_REQUESTED_RATE_BIT)) { index += JAUS_UNSIGNED_SHORT_SIZE_BYTES; } if(jausByteIsBitSet(message->presenceVector, CREATE_EVENT_PV_QUERY_MESSAGE_BIT)) { index += JAUS_UNSIGNED_INTEGER_SIZE_BYTES; // Jaus Message if(message->queryMessage) index += message->queryMessage->dataSize; } return index; } // ************************************************************************************************************** // // NON-USER CONFIGURED FUNCTIONS // ************************************************************************************************************** // CreateEventMessage createEventMessageCreate(void) { CreateEventMessage message; message = (CreateEventMessage)malloc( sizeof(CreateEventMessageStruct) ); if(message == NULL) { return NULL; } // Initialize Values message->properties.priority = JAUS_DEFAULT_PRIORITY; message->properties.ackNak = JAUS_ACK_NAK_NOT_REQUIRED; message->properties.scFlag = JAUS_NOT_SERVICE_CONNECTION_MESSAGE; message->properties.expFlag = JAUS_NOT_EXPERIMENTAL_MESSAGE; message->properties.version = JAUS_VERSION_3_3; message->properties.reserved = 0; message->commandCode = commandCode; message->destination = jausAddressCreate(); message->source = jausAddressCreate(); message->dataFlag = JAUS_SINGLE_DATA_PACKET; message->dataSize = maxDataSizeBytes; message->sequenceNumber = 0; dataInitialize(message); message->dataSize = dataSize(message); return message; } void createEventMessageDestroy(CreateEventMessage message) { dataDestroy(message); jausAddressDestroy(message->source); jausAddressDestroy(message->destination); free(message); message = NULL; } JausBoolean createEventMessageFromBuffer(CreateEventMessage message, unsigned char* buffer, unsigned int bufferSizeBytes) { int index = 0; if(headerFromBuffer(message, buffer+index, bufferSizeBytes-index)) { index += JAUS_HEADER_SIZE_BYTES; if(dataFromBuffer(message, buffer+index, bufferSizeBytes-index)) { return JAUS_TRUE; } else { return JAUS_FALSE; } } else { return JAUS_FALSE; } } JausBoolean createEventMessageToBuffer(CreateEventMessage message, unsigned char *buffer, unsigned int bufferSizeBytes) { if(bufferSizeBytes < createEventMessageSize(message)) { return JAUS_FALSE; //improper size } else { message->dataSize = dataToBuffer(message, buffer+JAUS_HEADER_SIZE_BYTES, bufferSizeBytes - JAUS_HEADER_SIZE_BYTES); if(headerToBuffer(message, buffer, bufferSizeBytes)) { return JAUS_TRUE; } else { return JAUS_FALSE; // headerToCreateEventBuffer failed } } } CreateEventMessage createEventMessageFromJausMessage(JausMessage jausMessage) { CreateEventMessage message; if(jausMessage->commandCode != commandCode) { return NULL; // Wrong message type } else { message = (CreateEventMessage)malloc( sizeof(CreateEventMessageStruct) ); if(message == NULL) { return NULL; } message->properties.priority = jausMessage->properties.priority; message->properties.ackNak = jausMessage->properties.ackNak; message->properties.scFlag = jausMessage->properties.scFlag; message->properties.expFlag = jausMessage->properties.expFlag; message->properties.version = jausMessage->properties.version; message->properties.reserved = jausMessage->properties.reserved; message->commandCode = jausMessage->commandCode; message->destination = jausAddressCreate(); *message->destination = *jausMessage->destination; message->source = jausAddressCreate(); *message->source = *jausMessage->source; message->dataSize = jausMessage->dataSize; message->dataFlag = jausMessage->dataFlag; message->sequenceNumber = jausMessage->sequenceNumber; // Unpack jausMessage->data if(dataFromBuffer(message, jausMessage->data, jausMessage->dataSize)) { return message; } else { return NULL; } } } JausMessage createEventMessageToJausMessage(CreateEventMessage message) { JausMessage jausMessage; jausMessage = (JausMessage)malloc( sizeof(struct JausMessageStruct) ); if(jausMessage == NULL) { return NULL; } jausMessage->properties.priority = message->properties.priority; jausMessage->properties.ackNak = message->properties.ackNak; jausMessage->properties.scFlag = message->properties.scFlag; jausMessage->properties.expFlag = message->properties.expFlag; jausMessage->properties.version = message->properties.version; jausMessage->properties.reserved = message->properties.reserved; jausMessage->commandCode = message->commandCode; jausMessage->destination = jausAddressCreate(); *jausMessage->destination = *message->destination; jausMessage->source = jausAddressCreate(); *jausMessage->source = *message->source; jausMessage->dataSize = dataSize(message); jausMessage->dataFlag = message->dataFlag; jausMessage->sequenceNumber = message->sequenceNumber; jausMessage->data = (unsigned char *)malloc(jausMessage->dataSize); jausMessage->dataSize = dataToBuffer(message, jausMessage->data, jausMessage->dataSize); return jausMessage; } unsigned int createEventMessageSize(CreateEventMessage message) { return (unsigned int)(dataSize(message) + JAUS_HEADER_SIZE_BYTES); } char* createEventMessageToString(CreateEventMessage message) { if(message) { char* buf1 = NULL; char* buf2 = NULL; char* buf = NULL; int returnVal; //Print the message header to the string buffer returnVal = headerToString(message, &buf1); //Print the message data fields to the string buffer returnVal += dataToString(message, &buf2); buf = (char*)malloc(strlen(buf1)+strlen(buf2)+1); strcpy(buf, buf1); strcat(buf, buf2); free(buf1); free(buf2); return buf; } else { char* buf = "Invalid CreateEvent Message"; char* msg = (char*)malloc(strlen(buf)+1); strcpy(msg, buf); return msg; } } //********************* PRIVATE HEADER FUNCTIONS **********************// static JausBoolean headerFromBuffer(CreateEventMessage message, unsigned char *buffer, unsigned int bufferSizeBytes) { if(bufferSizeBytes < JAUS_HEADER_SIZE_BYTES) { return JAUS_FALSE; } else { // unpack header message->properties.priority = (buffer[0] & 0x0F); message->properties.ackNak = ((buffer[0] >> 4) & 0x03); message->properties.scFlag = ((buffer[0] >> 6) & 0x01); message->properties.expFlag = ((buffer[0] >> 7) & 0x01); message->properties.version = (buffer[1] & 0x3F); message->properties.reserved = ((buffer[1] >> 6) & 0x03); message->commandCode = buffer[2] + (buffer[3] << 8); message->destination->instance = buffer[4]; message->destination->component = buffer[5]; message->destination->node = buffer[6]; message->destination->subsystem = buffer[7]; message->source->instance = buffer[8]; message->source->component = buffer[9]; message->source->node = buffer[10]; message->source->subsystem = buffer[11]; message->dataSize = buffer[12] + ((buffer[13] & 0x0F) << 8); message->dataFlag = ((buffer[13] >> 4) & 0x0F); message->sequenceNumber = buffer[14] + (buffer[15] << 8); return JAUS_TRUE; } } static JausBoolean headerToBuffer(CreateEventMessage message, unsigned char *buffer, unsigned int bufferSizeBytes) { JausUnsignedShort *propertiesPtr = (JausUnsignedShort*)&message->properties; if(bufferSizeBytes < JAUS_HEADER_SIZE_BYTES) { return JAUS_FALSE; } else { buffer[0] = (unsigned char)(*propertiesPtr & 0xFF); buffer[1] = (unsigned char)((*propertiesPtr & 0xFF00) >> 8); buffer[2] = (unsigned char)(message->commandCode & 0xFF); buffer[3] = (unsigned char)((message->commandCode & 0xFF00) >> 8); buffer[4] = (unsigned char)(message->destination->instance & 0xFF); buffer[5] = (unsigned char)(message->destination->component & 0xFF); buffer[6] = (unsigned char)(message->destination->node & 0xFF); buffer[7] = (unsigned char)(message->destination->subsystem & 0xFF); buffer[8] = (unsigned char)(message->source->instance & 0xFF); buffer[9] = (unsigned char)(message->source->component & 0xFF); buffer[10] = (unsigned char)(message->source->node & 0xFF); buffer[11] = (unsigned char)(message->source->subsystem & 0xFF); buffer[12] = (unsigned char)(message->dataSize & 0xFF); buffer[13] = (unsigned char)((message->dataFlag & 0xFF) << 4) | (unsigned char)((message->dataSize & 0x0F00) >> 8); buffer[14] = (unsigned char)(message->sequenceNumber & 0xFF); buffer[15] = (unsigned char)((message->sequenceNumber & 0xFF00) >> 8); return JAUS_TRUE; } } static int headerToString(CreateEventMessage message, char **buf) { //message existance already verified //Setup temporary string buffer unsigned int bufSize = 500; (*buf) = (char*)malloc(sizeof(char)*bufSize); strcpy((*buf), jausCommandCodeString(message->commandCode) ); strcat((*buf), " (0x"); sprintf((*buf)+strlen(*buf), "%04X", message->commandCode); strcat((*buf), ")\nReserved: "); jausUnsignedShortToString(message->properties.reserved, (*buf)+strlen(*buf)); strcat((*buf), "\nVersion: "); switch(message->properties.version) { case 0: strcat((*buf), "2.0 and 2.1 compatible"); break; case 1: strcat((*buf), "3.0 through 3.1 compatible"); break; case 2: strcat((*buf), "3.2 and 3.3 compatible"); break; default: strcat((*buf), "Reserved for Future: "); jausUnsignedShortToString(message->properties.version, (*buf)+strlen(*buf)); break; } strcat((*buf), "\nExp. Flag: "); if(message->properties.expFlag == 0) strcat((*buf), "Not Experimental"); else strcat((*buf), "Experimental"); strcat((*buf), "\nSC Flag: "); if(message->properties.scFlag == 1) strcat((*buf), "Service Connection"); else strcat((*buf), "Not Service Connection"); strcat((*buf), "\nACK/NAK: "); switch(message->properties.ackNak) { case 0: strcat((*buf), "None"); break; case 1: strcat((*buf), "Request ack/nak"); break; case 2: strcat((*buf), "nak response"); break; case 3: strcat((*buf), "ack response"); break; default: break; } strcat((*buf), "\nPriority: "); if(message->properties.priority < 12) { strcat((*buf), "Normal Priority "); jausUnsignedShortToString(message->properties.priority, (*buf)+strlen(*buf)); } else { strcat((*buf), "Safety Critical Priority "); jausUnsignedShortToString(message->properties.priority, (*buf)+strlen(*buf)); } strcat((*buf), "\nSource: "); jausAddressToString(message->source, (*buf)+strlen(*buf)); strcat((*buf), "\nDestination: "); jausAddressToString(message->destination, (*buf)+strlen(*buf)); strcat((*buf), "\nData Size: "); jausUnsignedIntegerToString(message->dataSize, (*buf)+strlen(*buf)); strcat((*buf), "\nData Flag: "); jausUnsignedIntegerToString(message->dataFlag, (*buf)+strlen(*buf)); switch(message->dataFlag) { case 0: strcat((*buf), " Only data packet in single-packet stream"); break; case 1: strcat((*buf), " First data packet in muti-packet stream"); break; case 2: strcat((*buf), " Normal data packet"); break; case 4: strcat((*buf), " Retransmitted data packet"); break; case 8: strcat((*buf), " Last data packet in stream"); break; default: strcat((*buf), " Unrecognized data flag code"); break; } strcat((*buf), "\nSequence Number: "); jausUnsignedShortToString(message->sequenceNumber, (*buf)+strlen(*buf)); return (int)strlen(*buf); }
{ "redpajama_set_name": "RedPajamaGithub" }
Johnson Controls, Inc. (JCI) Is Going Nowhere. Here's Why. Sales at America's automakers have been going great guns these past few quarters, and you'd think that would be great news for the companies that make parts for all these shiny new autos. In some cases, you'd be right to think that. But in at least one case — the case of Johnson Controls, Inc. (NYSE:JCI) stock — you'd be very, very wrong. Shares of auto-parts makers such as Lear (NYSE:LEA) and Magna International (NYSE:MGA) have rocketed this past year, outperforming the S&P 500 with 46% and 56% returns, respectively. Yet Johnson Controls, Inc. (NYSE:JCI) stock has lagged the market average by more than five points. Why? Three reasons. Johnson Controls stock is worse than average Turns out that when you stack up Johnson Controls, Inc. (NYSE:JCI) stock against its two smaller rivals, there's precious little to recommend it. Johnson Controls' P/E ratio of 27.8 is no bargain. It's more than twice the cost of a share of Magna (which costs 10.5 times earnings), and nearly six times the cost of Lear, which sells for only 4.7 times earnings. Worse, when you lay the three companies side-by-side, you can plainly see that Johnson Controls, Inc. (NYSE:JCI) generates far less real cash profit than its rivals do. Its free cash flow yield is the worst of the bunch: JCI Free Cash Flow Yield data by YCharts Johnson Controls grows too slow Johnson Controls, Inc. (NYSE:JCI) stock is no great shakes when valued on more traditional "GAAP" earnings, either. Fact is, over the past five years Johnson Controls stock is the only one of the three that has seen earnings actually decline: Johnson Controls stock is going nowhere Of course, there's still the old investing truism to consider — that investing isn't about what a stock has done in the past, but what it might do in the future. Problem is, despite the shrinking earnings that are giving it a smaller earnings base to grow from in the future, Johnson Controls stock is still expected to be the slowest grower of the group: So once again, we find Johnson Controls, Inc. (NYSE:JCI) stock occupying last place in a losing race. Johnson Controls Inc (JCI)Lear Corp (LEA)Magna International Inc (MGA)NYSE:JCINYSE:LEANYSE:MGAShow more...Show less Johnson Controls, Inc. (JCI), Duke Energy Corp (DUK): Who Benefits From a Better... Lear Corporation (LEA), Corrections Corp Of America (CXW): Shorts Are Piling... Delphi Automotive PLC (DLPH): Are Hedge Funds Right About This Stock? This Metric Says You Are Smart to Sell Lear Corporation (LEA) American Axle & Manufact. Holdings, Inc. (AXL), General Motors Company... Ameresco Inc (AMRC), Johnson Controls, Inc. (JCI): The Cheapest Megawatt
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
Reflexology is based on the principle that reflex points on the soles, tops, and sides of the feet correspond to different areas of the body. In this way, the feet can be seen as a 'map' of the body. By applying specialised massage techniques to specific reflex points – using the thumbs, fingers and knuckles – the aim of a reflexology treatment is to help restore balance to the body naturally, and improve the client's general well-being. We start with a full consultation, asking various questions about your health and lifestyle, to ensure reflexology is right for you. For the treatment itself you will remain fully clothed, simply removing your shoes and socks. You'll be invited to relax on a reclining chair or treatment couch, or to put your feet up on a footstool. We will gently clean your feet before applying a fine powder, cream of oil, to help provide a free-flowing treatment, and then start gently massaging and stretching your feet and ankles. As the treatment progresses, a variety of different reflexology techniques will be used to 'work' the reflex points on each foot, including a caterpillar-like movement called 'thumb walking'. The areas treated and pressure applied will be adapted to suit your individual needs. Treatment generally lasts for 45 minutes to an hour, though shorter reflexology sessions may be more appropriate in some instances.
{ "redpajama_set_name": "RedPajamaC4" }
In a few days, US President Donald J. Trump will meet with his fellow heads of state and government from across the NATO alliance in Brussels, Belgium, and there is widespread concern that it will once again be a meeting where the United States is scornful of its allies and partners. Some even fear that this may be the beginning of the end of NATO and the bond between the United States and Europe. The flames have been fanned further by the recent G-7 meeting which ended in acrimony between the US president and the other leaders, the announced Trump-Putin summit in Helsinki a few days after the NATO summit, and whispers that the United States may pull its troops out of Germany in the coming years. Trump has, going back to when he was a Republican primary candidate, criticized NATO's members for not doing their fair share in terms of spending on defense, and stated that the Europeans get more out of NATO than the United States does. The president does indeed have a point when it comes to European defense spending, which has been in decline since the early 1990s, although it is again on the rise since 2014. And the uptick in European defense spending is something that the president could arguably take partial credit for, if he wished. But NATO is not about the United States doing Europe favors. It is an alliance created by the United States, and which has proven remarkably effective in transforming to, in great part, advancing American national security objectives. During the Cold War NATO stood as the bulwark against the Soviet Union in Europe during the multi-decade struggle between communism and the free world led by the United States. After the Cold War, NATO helped advance the vision set out by US President George H.W. Bush of a Europe whole, free, and at peace by inviting newly free countries of Eastern Europe to join the Alliance. And after the 9/11 attacks in the United States, NATO transformed again to take on the tough mission in Afghanistan alongside the United States. Well over a thousand non-US NATO soldiers lost their lives in that campaign. As a proportion of deployed forces, four NATO nations—Canada, the United Kingdom, Estonia, and Denmark—sustained higher casualty rates in Afghanistan than the United States did. NATO is also useful to the United States, even when the Alliance itself is not centrally involved in an operation. The US-led campaign against the Islamic State of Iraq and al-Sham (ISIS) includes contributions from a range of NATO allies. Over a third of the air strikes against ISIS in Iraq and Libya have been flown by NATO partner countries, something that is made possible by the habits of cooperation established and practiced inside NATO. The United States' European allies certainly do need to spend more on defense, and the president should push them to do it. But that is not to say that NATO is a burden for the United States. It has proven itself key to American national security objectives since the late 1940s. It is, after all, the United States' alliance. Magnus Nordenman is director of the Transatlantic Security Initiative at the Atlantic Council's Scowcroft Center for Strategy and Security. Follow him on Twitter @MNordenman. The Atlantic Council is supporting the #StrongerWithAllies campaign, promoting the idea that the United States is stronger and safer with friends abroad. Please join our effort by visiting StrongerWithAllies.org and using our social media toolkit to share your own content about why we're #StrongerWithAllies.
{ "redpajama_set_name": "RedPajamaC4" }
Q: All data in a row. Move observations under each other I have the following data: data <- list(list(eventId = 8, subEventName = "Simple pass", tags = list( list(id = 1801)), playerId = 122671, positions = list(list( y = 50, x = 50), list(y = 53, x = 35)), matchId = 2057954, eventName = "Pass", teamId = 16521, matchPeriod = "1H", eventSec = 1.656214, subEventId = 85, id = 258612104), list(eventId = 8, subEventName = "High pass", tags = list(list(id = 1801)), playerId = 139393, positions = list( list(y = 53, x = 35), list(y = 19, x = 75)), matchId = 2057954, eventName = "Pass", teamId = 16521, matchPeriod = "1H", eventSec = 4.487814, subEventId = 83, id = 258612106)) I want to create a data frame out of this list. I use unlist(data), which creates a row with repeated variables. > unlist(data) eventId subEventName tags.id playerId positions.y positions.x positions.y "8" "Simple pass" "1801" "122671" "50" "50" "53" positions.x matchId eventName teamId matchPeriod eventSec subEventId "35" "2057954" "Pass" "16521" "1H" "1.656214" "85" id eventId subEventName tags.id playerId positions.y positions.x "258612104" "8" "High pass" "1801" "139393" "53" "35" positions.y positions.x matchId eventName teamId matchPeriod eventSec "19" "75" "2057954" "Pass" "16521" "1H" "4.487814" subEventId id "83" "258612106" Each observation starts with the eventId variable. So, basically I have to split the data into dataframes starting with eventId, and then moving those dataframes one under the other. I.e. having two observations in this case. Do you have any idea? thanks in advance A: Try tibblify-- library(tibblify) tibblify(data) ## A tibble: 2 x 12 # eventId subEventName tags playerId positions matchId eventName teamId matchPeriod eventSec subEventId id # <dbl> <chr> <list<tbl_df[,1]>> <dbl> <list<tbl_df[,2]>> <dbl> <chr> <dbl> <chr> <dbl> <dbl> <dbl> #1 8 Simple pass [1 x 1] 122671 [2 x 2] 2057954 Pass 16521 1H 1.66 85 258612104 #2 8 High pass [1 x 1] 139393 [2 x 2] 2057954 Pass 16521 1H 4.49 83 258612106 A: You can use rbindlist from data.table : result <- data.table::rbindlist(data) result # eventId subEventName tags playerId positions matchId eventName teamId matchPeriod eventSec subEventId id #1: 8 Simple pass <list[1]> 122671 <list[2]> 2057954 Pass 16521 1H 1.66 85 2.59e+08 #2: 8 Simple pass <list[1]> 122671 <list[2]> 2057954 Pass 16521 1H 1.66 85 2.59e+08 #3: 8 High pass <list[1]> 139393 <list[2]> 2057954 Pass 16521 1H 4.49 83 2.59e+08 #4: 8 High pass <list[1]> 139393 <list[2]> 2057954 Pass 16521 1H 4.49 83 2.59e+08 A: Does this help solve your problem? df <- data.frame(matrix(unlist(data), nrow=length(data), byrow=T))
{ "redpajama_set_name": "RedPajamaStackExchange" }
Check your Basic general knowledge and improve it. From the following, choose the set in which names of Secretary-Generals of the UNO are arranged in correct chronological order? ? U Thant, Kurt Waldheim, Dag Hammarskjoeld, Trygve Lie. ? Trygve Lie, Dag Hammarskjoeld, U Thant, Kurt Waldheim. ? Trygve Lie, U Thant , Dag Hammarskjoeld, Kurt Waldheim. ? U Thant, Dag Hammarskjoeld, Trygve Lie, Kurt Waldheim.
{ "redpajama_set_name": "RedPajamaC4" }
<?xml version="1.0"?> <arquillian xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://jboss.org/schema/arquillian" xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd"> <!-- We have to bind the docker hostname and port, otherwise RMI will choose a random port, which we can't forward to the docker host. RMI is a difficult protocol to configure :(. --> <extension qualifier="docker"> <property name="serverVersion">${docker.api.version}</property> <property name="serverUri">${docker.api.url}</property> <property name="definitionFormat">COMPOSE</property> <property name="dockerContainersFile">docker-compose.yml</property> </extension> <container qualifier="tomcat"> <configuration> <property name="user">admin</property> <property name="pass">mypass</property> </configuration> </container> </arquillian>
{ "redpajama_set_name": "RedPajamaGithub" }
Епи́скоп Фо́тий Хадзиантони́у (; ) — архиерей Александрийской православной церкви, епископ Малавийский (с 2018). Биография Родился 23 июля 1954 года в Никее, в Аттике, в Греции. После завершения обучения в средней школе окончил философский факультет и Богословский институт Афинского университета. Также имеет диплом Школы духовной византийской музыки Никейской митрополии. 22 июля 1980 года рукоположён во иеродиакона, а 9 сентября того же года рукоположён во иеромонаха и возведён в сан архимандрита митрополитом Кассандрийским Синесием (Висвинисом). В 2002 году познакомился с миссионерскими усилиями Александрийского патриархата и перешёл в клир этой церкви. Служил в Камерунской митрополии, а с 2010 по 2016 год являлся протосингелом Иринопольской митрополии. В октябре 2016 года патриарх Александрийский Феодор II пригласил его в Александрию и назначил игуменом и духовником патриаршего монастыря Святого Саввы. 26 ноября 2018 года Синодом Александрийского Патриархата был избран на новообразованную Малавийскую кафедру. 23 декабря того же года последовала его епископская хиротония, которую совершили Папа и Патриарх Александрийский Феодор II, митрополит Мемфисский Никодим (Приангелос), митрополит Пелусийский Нифон (Цаварис), митрополит Акумский Даниил (Биазис), митрополит Бурундийский Иннокентий (Бьякатонда), епископ Гулуский Сильвестр (Киситу) и епископ Вавилонский Феодор (Дридакис) Примечания Выпускники философского факультета Афинского университета Выпускники богословского института Афинского университета Епископы Александрийской православной церкви
{ "redpajama_set_name": "RedPajamaWikipedia" }
The 172279th positive integer is an odd prime number that follows the number 172278 and comes before 172280. One hundred seventy-two thousand two hundred seventy-nine is 6 digits long. Q: Is 172279 a prime number? Q: What is the negative number for 172279? Q: What is half of 172279? Q: What is a third of 172279? Q: What is a quarter of 172279? Q: What is the square root of 172279? Q: What is 172279 times Pi? Q: What is 172279 divided by Pi? Q: What is the scientific notation for 172279? Q: What are the divisors for 172279? Q: What is the factorization of 172279? Q: What is the sum of divisors of 172279, including itself? Q: What is the sum of divisors of 172279, excluding itself? The spelling of 172279 in different languages. Q: What is the roman numeral for 172279? Q: What is the digital capacity for 172279? The number 172279 represented in different base number systems. List the frequency of characters that make up the number 172279. List of hash code values for 172279.
{ "redpajama_set_name": "RedPajamaC4" }
Exhibit 10.74 EMPLOYMENT AGREEMENT THIS EMPLOYMENT AGREEMENT is entered into as of the 1 day of October 1997, by and between Meadow Valley Corporation, a Nevada corporation (the "Employer"), and Paul R. Lewis (the "Employee"). The Employer hereby... Filed: March 17th, 1998 Contract Type Employment Agreement Jurisdiction Arizona Industry Water, sewer, pipeline, comm & power line construction Company Meadow Valley Corp SEC Filing Type 10-k405 1. EMPLOYMENT 2. TERM 3. COMPENSATION 3. CONTINUATION OF INDEMNITY 4. NOTIFICATION AND DEFENSE OF CLAIM 5. REPAYMENT OF EXPENSES 9. ADDITIONAL RIGHTS 2. LIMITATIONS ON INDEMNITY Employer and Meadow Valley Contractors 16. ASSIGNMENT OF AGREEMENT 17. SURVIVAL OF REPRESENTATIONS, WARRANTIES AND COVENANTS 18. FURTHER INSTRUMENTS 22. SPECIAL RIGHT OF EMPLOYEE UNDER CERTAIN CIRCUMSTANCES 4. OPTIONS TO ACQUIRE COMMON STOCK 5. EMPLOYEE BENEFITS 6. MOVING EXPENSES AND SUBSISTENCE 7. HOLIDAYS AND VACATION 8. RESPONSIBILITIES OF EMPLOYEE 9. WORKING FACILITIES 10. EXPENSES 11. DISABILITY A) WITHOUT CAUSE C) TERMINATION BY EMPLOYER FOR REASONABLE CAUSE B) VOLUNTARY TERMINATION BY EMPLOYEE WITHOUT CAUSE THIS EMPLOYMENT AGREEMENT is entered into as of the 1 day of October 1997, by and between Meadow Valley Corporation, a Nevada corporation (the "Employer"), and Xxxx X. Xxxxx (the "Employee"). The Employer hereby employs the Employee on a full-time basis, and the Employee hereby accepts such full-time employment on the terms condition hereinafter set forth. 1. EMPLOYMENT. Employee is employed as the Chief Operating Officer for the Employer. Employee shall perform all duties as outlined herein and as may be assigned by the Employer and shall devote full time, attention and loyalty to the affairs of the Employer. The duties of the Employee shall specifically be: A) Oversee all operating entities of the Employer. Reporting to Xxx Xxxxx will be each Area Manager for the Nevada, Arizona, AKR and Utah Areas, and the Presidents of Prestressed Products Incorporated and Ready Mix, Inc., and the Manager for the Rock & Sand Operations. B) Assist operating units in decision-making relative to work bidding, margins bid, and preparation and submission of estimates. C) Assist operating units to maximize profitability by active participation in project planning, problem-solving, partnering, and claims/litigation preparation. D) Assist and oversee operating budgets, capital expenditure budgets and approve project specific budgets for use in the Company's Budget Bonus Incentive Program. E) Oversee and delegate as necessary administration of the Company's equipment and other resources. The COO is responsible for decision-making regarding the types of equipment acquired in capital purchases and leases. F) Assist in selection and evaluation of merger and/or acquisition opportunities of the Company. G) Assist in formulating and executing strategic plans. H) Any other area specifically assigned by the Chief Executive Officer or the Board of Directors. 2. TERM. Subject to the provisions of termination provided in paragraph 12, the initial term of this Agreement shall commence on October 1, 1997 and terminate on September 30, 2002. This Agreement may be extended by the mutual written agreement of the Employee and the Employer. 3. COMPENSATION. Employee shall receive a base salary of One Hundred Ten Thousand Dollars ($110,000.00) per year, payable in accordance with the regular payroll practices of Employer, and subject to applicable deductions of withholding taxes and other customary employment taxes. The Chief Executive Officer of Employer shall review Employee's salary at a minimum annually and may adjust Employee's salary of 1934 and amendments thereto or similar provisions of any federal, state or local law; or (d) On account of Indemnified Party's conduct which is finally determined to have been knowingly fraudulent, deliberately dishonest or willfully in violation of applicable law for which the corporation suffered actual financial damages; or (e) If a final decision by a court having jurisdiction in the matter shall determine that such indemnification is not lawful. 3. CONTINUATION OF INDEMNITY. All agreements and obligations of the Corporation contained herein shall continue during the period Indemnified Party is an officer or director of the Corporation or a subsidiary and thereafter so long as Indemnified Party shall be subject to any possible claim or threatened, pending or completed action, suit or proceeding, whether civil, criminal or investigate, by reason of the fact that Indemnified party was an officer or a director of the Corporation or any subsidiary. 4. NOTIFICATION AND DEFENSE OF CLAIM. Within 30 days after receipt by Indemnified Party of notice of any claim or any threatened, pending or completed action, suit or proceeding, whether civil, criminal, administrative or investigative, in which Indemnification Party has a right to Indemnification hereunder, Indemnified Party will notify the Corporation of the commencement thereof. With respect to any such action, suit or proceeding as to which Indemnified Party notifies the Corporation of the commencement thereof: (a) The Corporation will be entitled to participate therein at its own expense; and (b) Except as otherwise provided below, to the extent that it may wish, the Corporation jointly with any other indemnifying party will be entitled to assume the defense thereof, with counsel satisfactory to Indemnified Party. After notice from the Corporation to Indemnified Party of its election to assume the defense thereof, the Corporation will not be liable to Indemnified Party under this Agreement for any legal or other expenses subsequently incurred by Indemnified Party in connection with the defense thereof other than reasonable costs of investigation or as otherwise provided below. Indemnified Party shall have the right to employ counsel in such action, suit or proceeding, but the fees and expenses of such counsel incurred after notice from the Corporation of its assumption of the defense thereof shall be at the expense of Indemnified Party, unless (i) the employment of counsel by Indemnified Party has been authorized by the Corporation, (ii) Indemnified Party shall have reasonably concluded that there may be a conflict of interest between the Corporation and Indemnified Party in the conduct of the defense of such action, (iii) the Corporation shall not in fact have employed counsel to assume the defense of such action, in each of which cases the fees and expenses of counsel shall be at the expense of the Corporation, or (iv) unless the Indemnified Party reasonably and in good faith asserts defenses and theories of defense not asserted by the Corporation. The Corporation shall not be entitled to assume the defense of any action, suit or proceeding brought by or on behalf of the Corporation or as to which Indemnified Party shall have made the conclusion provided for in (ii) or (iv) (c) The Corporation shall not be liable to indemnify Indemnified Party under this Agreement for any amounts paid in settlement of any action or claim effected without the Corporation's written consent. The Corporation shall not settle any action or claim in any manner which would impose any penalty or limitation on Indemnified Party without Indemnified Party's written consent. Neither the Corporation or Indemnified Party will unreasonably withhold their consent to any proposed settlement. 5. REPAYMENT OF EXPENSES. Indemnified Party agrees that Indemnified Party will reimburse the Corporation for all reasonable expenses paid by the Corporation in defending any civil or criminal action, suit or proceeding against Indemnified Party in the event and only to the extent that Indemnified Party is finally determined that Indemnified Party is not entitled to be indemnified by the Corporation for such expenses under the Corporation's charter or bylaws, this Agreement or under applicable law. 6. ENFORCEMENT. (a) The Corporation expressly confirms and agrees that it has entered into this Agreement and assumed the obligations imposed on the Corporation hereby in order to induce Indemnified Party to serve as an officer and/or director of the Corporation or any subsidiary thereof, and acknowledges that Indemnified Party is relying upon this Agreement as part of the consideration for so acting. (b) In the event Indemnified Party is requiring to bring any action to enforce rights on to collect moneys due under this Agreement and is successful in such action, the Corporation shall reimburse Indemnified Party for all of Indemnified Party's reasonable attorneys' and other fees and expenses in bringing and pursuing such action. 7. SEVERABILITY. Each of the provisions of this Agreement in a separate and distinct agreement and independent of the others, so that if any provision hereof shall be held to be invalid or unenforceable for any reason, such invalidity or unenforceability shall not affect the validity or enforceability of the other provisions hereof. 8. GOVERNING LAW: BINDING EFFECT: AMENDMENT AND TERMINATION. (a) This Agreement shall be interpreted and enforced in accordance with the laws of the State of Arizona. (b) This Agreement shall be binding upon Indemnified Party and upon the Corporation, its successors and assigns, and shall inure to the benefit of Indemnified Party, his heirs, personal representatives and assigns and to the benefit of the Corporation, its successors and assigns. (c) No amendment, modification, termination or change of this Agreement shall be effective unless it is signed by both parties hereto. 9. ADDITIONAL RIGHTS. This Agreement is in addition to, and not in lieu of, any other right to indemnification under the Corporation's corporate charter, bylaws, insurance contracts or otherwise at law or in equity. IN WITNESS WHEREOF, the parties hereto have executed this Agreement on and as of the day and year first above written. MEADOW VALLEY CORPORATION AND MEADOW VALLEY CONTRACTORS, INC. By: /s/ Xxxxxxx X. Xxxxxx Xxxxxxx X. Xxxxxx, President and Chief Executive Indemnified Party: /s/ Xxxx X. Xxxxx Xxxx X. Xxxxx Agreement by Employer or (ii) failure of Employer to pay any amount owed Employee hereunder at the time and in the amount due or (iii) failure of Employer to follow applicable law, especially with respect to SEC filings and compliance over the objection of Employee or contrary to the reasonable advice of Employee or (iv) egregiously improper conduct with respect to dealing with Employee or in a manner which brings discredit to Employee. 13. CONFIDENTIALITY. Employee agrees not to disclose any confidential, proprietary competitively sensitive information to persons who are not employees, directors, lenders, bonding agents, insurance companies or advisors of the Employer, except as required by law, without prior consent of the Employer, provided however, any disclosure involving this paragraph shall not result in a breach of this Agreement unless the disclosure has a materially adverse effect on the Employer. 14. INDEMNIFICATION. Employer and Meadow Valley Contractors, Inc. shall provide Employee with an Officer Indemnification Agreement in the form attached hereto. 15. NOTICES. All notices, demands, and communications given under this Agreement ("Notice") shall be in writing and delivered personally or sent by registered or certified mail, return receipt requested, in the United States mail, postage prepaid, addressed as follows: If to Employer: Meadow Valley Corporation X.X. Xxx 00000 Xxxxxxx, XX 00000-0000 If to Employee: X.X. Xxx 00 Xxxxx, XX 00000 or at such other address as a party may from time to time designate by Notice hereunder. Notice shall be effective upon delivery in person, or if mailed, at midnight on the third business day after the date of mailing. 16. ASSIGNMENT OF AGREEMENT. Neither party may assign or otherwise transfer this Agreement or any of its rights or obligations hereunder without the prior written consent to such assignment or transfer by the other party hereto; and all the provisions of this Agreement shall be binding upon the respective employees, successors, heirs and assigns of the parties; provided, however, the benefits payable to Employee hereunder in the event of disability or death or incapacity are payable to Employee's spouse or personal representative. 17. SURVIVAL OF REPRESENTATIONS, WARRANTIES AND COVENANTS. This Agreement and the representations, warranties, covenants and other agreements (however characterized or described) by both parties and contained herein or made pursuant to the provisions hereof shall survive the execution and delivery of this Agreement. 18. FURTHER INSTRUMENTS. The parties shall execute and deliver any and all such other instruments in reasonable mutually acceptable form and substance and shall take any and all such other actions as may be reasonably necessary to carry the intent of the Agreement into full force and effect. 19. SEVERABILITY. If any provision of this Agreement shall be held, declared or pronounced void, voidable, invalid, unenforceable or inoperative for any reason by any court of competent jurisdiction, governmental authority or otherwise, such holding, declaration or pronouncement shall not affect adversely any other provision of this Agreement, which shall otherwise remain in full force and effect and be enforced in accordance with its terms, and the effect of such holding, declaration or pronouncement shall be limited to the territory of jurisdiction in which made. 20. WAIVER. All the rights and remedies of either party under this Agreement are cumulative and not exclusive of any other rights and remedies provided by law. No delay or failure on the part of either party in the exercise of any right or remedy arising from a breach of this Agreement shall operate as a waiver of any subsequent right or remedy arising from a subsequent breach of this Agreement. The consent of any party where required hereunder to any act or occurrence shall not be deemed to be a consent to any other act or occurrence. 21. GENERAL PROVISIONS. This Agreement shall be construed and enforced in accordance with, and governed by, the laws of the state of Arizona. Except as otherwise expressly stated herein, time is of the essence in performing under this Agreement. This Agreement embodies the entire agreement and understanding between the parties and supersedes all prior agreements and understandings relating to the subject matter of this Agreement as it relates to the parties' duties and obligations from and after April 1, 1997, and this Agreement may not be modified or amended or any term or provision hereof waived or discharged except in writing signed by the party against whom such amendment, modification, waiver or discharge is sought to be enforced. The headings of this Agreement are for convenience in reference only and shall not limit or otherwise affect the meaning thereof. This Agreement may be executed in any number of counterparts, each of which shall be deemed an original but all of which taken together shall constitute one and the same instrument. 22. SPECIAL RIGHT OF EMPLOYEE UNDER CERTAIN CIRCUMSTANCES. During the term of this Agreement, if (i) Employer is involved in a merger, consolidation or other business combination in which Employer is not the surviving and controlling entity; or (ii) all or substantially all the assets of Employer or principal subsidiary are sold; or (iii) in the event Employee is required to relocate outside the Moapa, Nevada area in a manner not mutually acceptable to Employee and Employer, then Employee shall have the following rights: A) To terminate this Agreement with 30 days prior notice, in which event Employer shall pay Employee as if there were a termination without cause by the Employer; and B) All options granted shall, to the extent not specifically prohibited by the stock option plan then in effect, vest immediately and be exercisable within one year of the occurring of one of the events set forth in (i), (ii) or (iii) above. IN WITNESS WHEREOF, the parties have executed this Agreement on the day and year first above written. /s/ Xxxx X. Xxxxx By /s/ Xxxxxxx X. Xxxxxx ----------------------------- --------------------------------- Employee President/CEO XXXXXX XXXXXX XXXXXXXXXXX XXX XXXXXX XXXXXX CONTRACTORS, INC. OFFICER/DIRECTOR INDEMNIFICATION AGREEMENT THIS AGREEMENT ("Agreement") is entered into and effective this __ day of _______, 19__, by and between Meadow Valley Corporation and Meadow Valley Contractors, Inc., Nevada corporations ("Corporation"), and Xxxx X. Xxxxx ("Indemnified Party"). WHEREAS, the Board of Directors has determined that it is in the best interest of the Corporation and its shareholders to agree to indemnify Indemnified Party (who is a Director and/or Officer of the Corporation) from and against certain liabilities for actions taken by him during the performance of his tasks for the Corporation. NOW, THEREFORE, in consideration of the premises and for other good and valuable consideration, the receipt, adequacy and sufficiency of which is hereby acknowledged, the parties hereto agree as follows: 1. INDEMNIFICATION. The Corporation hereby agrees to indemnify and hold harmless Indemnified Party to the maximum extent possible under all applicable laws against any and all claims, demands, debts, duties, liabilities, judgments, fines and amounts paid in settlement and expenses (including attorneys' fees and expenses) actually and reasonably incurred by Indemnified Party in connection with the investigation, defense, negotiation and settlement of any such claim or any threatened, pending or completed action, suit or proceeding, whether civil, criminal, administrative or investigative (including an action by or in the right of the Corporation) to which Indemnified Party is or becomes a party, or is threatened to be made a party, by reason of the fact that Indemnified Party is an officer or a director of the Corporation or any of its subsidiaries. 2. LIMITATIONS ON INDEMNITY. No indemnity pursuant to this Agreement shall be made by the Corporation: (a) For the amount of such losses for which the Indemnified Party is indemnified pursuant to any insurance purchased and maintained by the Corporation; or (b) In respect to remuneration paid to Indemnified Party if it shall be determined by a final judgment or other final adjudication that such remuneration was in violation of law; or (c) On account of any suit in which judgment is rendered against Indemnified Party for an accounting of profits made (i) for an improper personal profit without full and fair disclosure to the Corporation of all material conflicts of interest and not approved thereof by a majority of the disinterested members of the Board of Directors of the Corporation; or (ii) from the purchase or sale by Indemnified Party of securities of the Corporation pursuant to the provisions of Section 16(b) of the Securities Exchange Act upward to recognize improvement, achievement or expansion of Employee's responsibilities subject to approval of the Board Compensation Committee. Employee shall participate as a member of senior management in cash incentive plans as currently existing or as amended or adopted in the future by the Compensation Committee of Employer's Board of Directors. Cash bonus plans are subject to annual review and/or change as recommended by the Compensation Committee and approved by the Board of Directors. 4. OPTIONS TO ACQUIRE COMMON STOCK. Employee is eligible to participate in the Meadow Valley Corporation 1994 Stock Option Plan. Future grants of stock options shall be subject to the discretion of Meadow Valley Corporation's board of directors. 5. EMPLOYEE BENEFITS. Employer shall provide to Employee, and to the Employee's dependents, a comprehensive major medical, health, and dental insurance program comparable to the programs normally provided by other employers in the same industry and marketplace, and the Employer shall pay the cost of the Employee's portion of the premium. Should, at any time, the Employee opt to maintain a personal major medical and health insurance policy for himself and for his dependents and not participate in the Employer's group plan, then Employer shall reimburse Employee the lesser of the amount Employee pays for said personal policy, as evidenced by adequate documentation, or what Employer would otherwise be paying were Employee participating in the Employer's group plan. Should the Employee opt to maintain his own coverage, neither he nor his dependents shall be precluded from later participating in the Employer's group plan so long as they otherwise qualify for enrollment. At Employer's cost, Employer will maintain a life insurance policy covering Employee, with at least $250,000 of death benefits being payable, in a manner that is free of income tax, to Employee's estate or other beneficiaries designated by Employee. Employer agrees to provide Employee with an automobile for business-related use. In addition to the cost of the vehicle itself, Employer shall pay, directly or by reimbursement to Employee, for all maintenance, fuel, repairs, insurance, operating and other costs incidental thereto. Employer shall pay for, or reimburse Employee for, dues for his membership in industry related associations perceived as beneficial to Employer and as approved by the Chief Executive Officer. So long as it is within the guidelines of the respective plan, Employee shall be given the opportunity to participate in Employer's 401(k) and any other plans made available to other members of executive management. Employee shall be entitled to receive all other employee benefits for senior management personnel upon the terms and conditions then in effect. 6. MOVING EXPENSES AND SUBSISTENCE. In the event the Employer requires the Employee to relocate, the Employer shall pay for all moving costs of reasonable and normal household effects, including up to six months storage of such household effects while Employee obtains a permanent residence in the relocation area. Employee shall obtain a minimum of two moving and storage quotes from reputable movers and Employer shall pay the most competitive rate. Employer shall provide Employee a subsistence allowance of Two Thousand Dollars ($2,000.00) per month for the lesser of nine months from the date of reassignment in a new location or until such time as the relocation of Employee and his/her spouse to the relocation area is complete. In addition, costs for one round-trip airline ticket per week between the Employee's previous location and the relocation area will be reimbursed by Employer to Employee during the same nine-month period, or less if relocation is completed earlier. Such tickets may be used either by Employee or by his/her spouse. 7. HOLIDAYS AND VACATION. A) Employee shall be paid for the following seven (7) holidays: New Year's Day, Memorial Day, Independence Day, Labor Day, Thanksgiving Day and the day after Thanksgiving, and Christmas Day and all other holidays for Employees of the Company as approved by the Chief Executive Officer or Board of Directors. B) Employee is entitled to four weeks vacation during the first year of employment and for each year thereafter. Unused vacation in any given year shall accrue to following years up to a maximum of eight weeks in any one year. 8. RESPONSIBILITIES OF EMPLOYEE. The Employee shall devote such reasonable time as is necessary or is deemed reasonably necessary by the Employer to carry out all required duties and will devote full time to the Employer during normal business hours. The Employee shall at all times faithfully, with diligence and to the Employee's best good faith ability, experience and talents, perform all the duties that may be required pursuant to the express terms hereof to the reasonable satisfaction of the Employer, in accordance with customary professional standards. 9. WORKING FACILITIES. The Employee shall be furnished with all facilities and services suitable to Employee's position and adequate for the performance of Employee's duties. 10. EXPENSES. The Employee is authorized to incur reasonable expenses for promoting business of the Employer, including expenses for entertainment, travel and similar items. The Employer shall reimburse the Employee for all such expenses on the presentation by the Employee of itemized and adequately documented accounts of such expenditures. 11. DISABILITY. If unable to perform duties under the terms of this Agreement by reason of illness or incapacity for a period of four weeks, Employee shall, commencing at the end of such four week period, be entitled to receive Employee's compensation hereunder for a period of up to and including a maximum of one year or until he is no longer disabled, whichever occurs first. After one year of disability at full salary, the Employee, or his designated beneficiary, shall be provided with a disability insurance policy, if available, at no cost to Employee. The disability income policy would provide for monthly income benefits at the rate of sixty percent (60%) of the Employee's base salary at the time the disability occurred. The Company will attempt to procure a disability income policy that would provide monthly benefits until the Employee reaches 65 years of age or is no longer disabled whichever occurs first. If such a policy is unavailable, the Company will attempt to provide the best policy available. If no policy is available, no other disability income benefits will be provided. 12. TERMINATION. This Employment Agreement may be terminated under the following circumstances. A) WITHOUT CAUSE. Employer may terminate this Agreement at any time upon thirty (30) days written notice to Employee, but Employer shall be obligated to pay to Employee compensation in a lump sum for the balance of the term of this Agreement within 30 days of termination, unless Employee agrees to other payment terms. B) VOLUNTARY TERMINATION BY EMPLOYEE WITHOUT CAUSE. Employee may terminate this Agreement at any time upon thirty (30) days written notice to Employer and Employer shall be obligated, in that event, to pay Employee compensation up to the date of the termination only. All accrued but unpaid compensation and Employee benefits shall be paid in cash within 30 days of termination, unless Employee agrees to other payment terms. C) TERMINATION BY EMPLOYER FOR REASONABLE CAUSE. The Employer may terminate this Agreement for reasonable cause upon the unanimous vote of the Board of Directors and by thirty (30) days written notice to the Employee and Employer shall be obligated, in that event, to pay Employee compensation up to the date of termination only. For purposes hereof, "cause" shall be defined as meaning (i) such conduct by the Employee which constitutes material breach of this Agreement which is not cured within ninety (90) days of written notice to the Employee of said alleged breach or (ii) a material failure to competently perform Employee's duties as stated in paragraph 1 in accordance with applicable professional standards as stated in paragraphs 1 and 8 hereof provided that Employer has previously given Employee written notice and a reasonable opportunity to remedy such failure and such failure has a materially adverse effect on the business or financial condition of Employer or (iii) material breach of Employee's fiduciary duty and such breach has a material adverse effect on the business or financial condition of Employer to (iv) egregiously improper or illegal conduct of the Employee which, based upon a unanimous good faith determination of the Board of Directors of the Employer, has a material adverse affect on Employer. D) TERMINATION BY EMPLOYEE FOR REASONABLE CAUSE. Employee may terminate this Agreement for cause. In such event, Employer shall be obligated to pay Employee compensation in lump sum for the balance of the term of this Agreement within 30 days of termination or as Employee shall agree, plus damages suffered and expenses incurred by reason thereof. For this purpose "cause" shall mean (i) a material breach of this
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
Q: Cannot read property 'map' of undefined on useState value I'm new to react, I'm getting this error constantly and after google some I can't find the reason why the useState value can't be read as array :( ... this the error I'm getting: 'TypeError: team.map is not a function' import React, { useEffect, useState } from "react"; const SportTeams = () => { const [team, setTeam] = useState([]); useEffect(() => { const getSports = async () => { const response = await fetch("https://www.thesportsdb.com/api/v1/json/1/all_sports.php"); const data = await response.json(); setTeam(data); console.log(data); } getSports(); }, []); return ( <div className="myClass"> <ul> {team.map((sport, index) => { return <li key={`${sport.strSport}-${index}`}>{sport.strSport}</li> })} </ul> </div> ); }; export default SportTeams; A: Just update setTeam like following, your error will be resolved. setTeam(data.sports); A: It is because you are setting the team state with the data without checking if its undefined. If the data is undefined your state team become undefined as well. So make sure to check the data. import React, { useEffect, useState } from "react"; const SportTeams = () => { const [team, setTeam] = useState([]); useEffect(() => { const getSports = async () => { const response = await fetch("https://www.thesportsdb.com/api/v1/json/1/all_sports.php"); if (response) { const data = await response.json(); if (data) { setTeam(data); } } console.log(data); } getSports(); }, []); return ( <div className="myClass"> <ul> {team.map((sport, index) => { return <li key={`${sport.strSport}-${index}`}>{sport.strSport}</li> })} </ul> </div> ); }; export default SportTeams; There might also be the chance that your response is not what you expected and the actual data might be inside your response. In that case you need check what your response first then proceed to set the data. A: As I said in my comment. the value you are setting to teams isn't an array. const data = await response.json(); setTeam(data.sports);
{ "redpajama_set_name": "RedPajamaStackExchange" }
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ namespace Scada.Web { public partial class WFrmEvents { /// <summary> /// EventsForm control. /// </summary> /// <remarks> /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// </remarks> protected global::System.Web.UI.HtmlControls.HtmlForm EventsForm; /// <summary> /// lblEvents control. /// </summary> /// <remarks> /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// </remarks> protected global::System.Web.UI.WebControls.Label lblEvents; /// <summary> /// rbEvAll control. /// </summary> /// <remarks> /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// </remarks> protected global::System.Web.UI.WebControls.RadioButton rbEvAll; /// <summary> /// rbEvView control. /// </summary> /// <remarks> /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// </remarks> protected global::System.Web.UI.WebControls.RadioButton rbEvView; /// <summary> /// chkEvPause control. /// </summary> /// <remarks> /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// </remarks> protected global::System.Web.UI.WebControls.CheckBox chkEvPause; /// <summary> /// lblEvPause control. /// </summary> /// <remarks> /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// </remarks> protected global::System.Web.UI.WebControls.Label lblEvPause; } }
{ "redpajama_set_name": "RedPajamaGithub" }
Q: How to use listing, tikz and tikzmark packages together to annotate source code listing? I'd like to annotate code listing something like this: Below is what I've attempted so far. I am a little worried about having to use raisebox so that the arrow tip doesn't point to the base of the line. How can I avoid this hardcoding? I would also appreciate any advice on improvements so that it's easier to handle a few varieties of annotations as seen in the screenshot. It would be nice, to get the desired results, if I can just specify the following: * *the distance between the end of source line and the arrow tip *the length of the horizontal line and the length of the vertical line of the arrow (and whether the vertical line goes upwards or downwards) *and the position of the text node (whether right or left of the vertical line and vertical alignment of text node with the top or bottom. \documentclass[twoside, openright, 10pt]{book} \usepackage{listings} \usepackage{tikz} \usetikzlibrary{arrows.meta, tikzmark} \begin{document} \chapter{TiKz} \begin{lstlisting}[caption={[MeetKarel]{MeetKarel}}, label={lst:meet_karel}, escapechar=ß] import stanford.karel.Karel; public class MeetKarel extends Karel { public void run() { move(); move(); move(); ß\tikzmark{b}ßpickBeeper();ß\raisebox{2.6pt}{\tikzmark{a}}ß turnLeft(); move(); move(); turnLeft(); turnLeft(); turnLeft();ß\raisebox{2.6pt}{\tikzmark{c}}ß move(); putBeeper(); move(); } } \end{lstlisting} \begin{tikzpicture}[remember picture,overlay] \draw([shift={(12ex,10ex)}] pic cs:a) ++ (0.05, 0) % shift just a little to the right % set inner and outer to 0 so that text is alighed with the beginning of the vertical line node[inner sep=0,outer sep=0, fill=yellow!80!black,text width=5cm, anchor= north west] {Shifted a little above so that the arrow head points to the middle of the line.}; \draw[thin, gray, arrows = {-Stealth[inset=0pt, angle=45:7pt]}] ([shift={(12ex,10ex)}] pic cs:a) -- ([shift={(12ex,0ex)}] pic cs:a) -- ([shift={(0ex,0ex)}] pic cs:a); \draw([shift={(12ex,-10ex)}] pic cs:c) ++ (0.05, -0.05) % shift just a little to the right and down % set inner and outer to 0 so that text is alighed with the beginning of the vertical line node[inner sep=0,outer sep=0, fill=yellow!80!black,text width=5cm, anchor= south west] {I want to align base line of this text to the `c` node nicely. }; \draw[thin, gray, arrows = {-Stealth[inset=0pt, angle=45:7pt]}] ([shift={(12ex,-10ex)}] pic cs:c) -- ([shift={(12ex,0ex)}] pic cs:c) -- ([shift={(0ex,0ex)}] pic cs:c); \end{tikzpicture} \end{document} Result: A: Here's a slightly simplified version of your code. * *By using the tikzmark special listings library then you don't need to specify tikzmarks in your code, they are all provided for you. *The arrows start at (0.5,.5ex) away from the corresponding tikzmarks. The .5ex is half the height of an x, and looks a good vertical height to me. *The lines and nodes are drawn together and the -| path construction is used to make the line bend nicely. *A little bit is added to the outer xsep of the label nodes to move them away from the joining line. Other ways of achieving the same effect do seem to cause issues with the arrow placement. All of this contrives to make the code much shorter. Various numbers could be hard-coded into a style to make it even more simple and a bit more flexible. \documentclass[twoside, openright, 10pt]{book} %\url{https://tex.stackexchange.com/q/657375/86} \usepackage{listings} \usepackage{tikz} \usetikzlibrary{ arrows.meta, tikzmark, calc, positioning } \usetikzmarklibrary{listings} \begin{document} \chapter{Ti\emph{k}Z} \begin{lstlisting}[ caption={[MeetKarel]{MeetKarel}}, label={lst:meet_karel}, name=karel, escapechar=ß ] import stanford.karel.Karel; public class MeetKarel extends Karel { public void run() { move(); move(); move(); pickBeeper(); turnLeft(); move(); move(); turnLeft(); turnLeft(); turnLeft(); move(); putBeeper(); move(); } } \end{lstlisting} \begin{tikzpicture}[ remember picture, overlay, annotation/.style={ inner sep=0pt, outer sep=0pt, outer xsep=1mm, fill=yellow!80!black, text width=5cm }, >={Stealth[inset=0pt, angle=45:7pt]} ] \draw[<-] (pic cs:line-karel-7-end) ++(.5,.5ex) -| ++(2,1.5) node[annotation, below right] {Shifted a little above so that the arrow head points to the middle of the line.}; \draw[<-] (pic cs:line-karel-13-end) ++(0.5,.5ex) -| ++(2,-1) node[annotation, above right] {I want to align base line of this text to the `c` node nicely. }; \end{tikzpicture} \end{document}
{ "redpajama_set_name": "RedPajamaStackExchange" }
Q: How to get number of matching colums count in the same table as another column? I have a table like below. +----+----------+---------+--------+----------+---------+---------------------+ | id | box_name | diIndex | diMode | diStatus | status | last_updated | +----+----------+---------+--------+----------+---------+---------------------+ | 7 | boxa | 0 | 0 | 0 | 1 | 2017-03-02 10:49:35 | | 8 | boxa | 1 | 0 | 1 | 0 | 2017-03-02 10:49:35 | | 9 | boxa | 2 | 0 | 0 | 1 | 2017-03-02 10:49:36 | | 10 | boxa | 3 | 0 | 0 | 1 | 2017-03-02 10:49:36 | | 11 | boxa | 4 | 0 | 0 | 0 | 2017-03-02 10:49:36 | | 12 | boxa | 5 | 0 | 0 | 2 | 2017-03-02 10:49:36 | | 13 | boxa | 6 | 0 | 0 | 2 | 2017-03-02 10:49:36 | | 14 | boxa | 7 | 0 | 0 | 3 | 2017-03-02 10:49:36 | +----+----------+---------+--------+----------+---------+---------------------+ Now I want to add a new column in the table which will get me the total number of each matching record of status column like below. +----+----------+---------+--------+----------+---------+---------------+---------------------+ | id | box_name | diIndex | diMode | diStatus | status | status count | last_updated | +----+----------+---------+--------+----------+---------+---------------+---------------------+ | 7 | boxa | 0 | 0 | 0 | 1 | 3 | 2017-03-02 10:49:35 | | 8 | boxa | 1 | 0 | 1 | 0 | 2 | 2017-03-02 10:49:35 | | 9 | boxa | 2 | 0 | 0 | 1 | 3 | 2017-03-02 10:49:36 | | 10 | boxa | 3 | 0 | 0 | 1 | 3 | 2017-03-02 10:49:36 | | 11 | boxa | 4 | 0 | 0 | 0 | 2 | 2017-03-02 10:49:36 | | 12 | boxa | 5 | 0 | 0 | 2 | 2 | 2017-03-02 10:49:36 | | 13 | boxa | 6 | 0 | 0 | 2 | 2 | 2017-03-02 10:49:36 | | 14 | boxa | 7 | 0 | 0 | 3 | 1 | 2017-03-02 10:49:36 | +----+----------+---------+--------+----------+---------++--------------+---------------------+ Here you can see that for status value 1 there are 3 records so value for status_count for columns having status as 1 will be 3 and so on.. How can I achieve this? A: With window functions, this would be almost trivial to add as a column in a query: COUNT(*) OVER (PARTITION BY status) AS status_count Since MySQL hasn't implemented them (you'll have to wait, they may be in the next version), you'll need something more complex now. It can be done with a derived table - to calculate these counts - and then join to the base table: SELECT t.id, t.box_name, t.diIndex, t.diMode, t.diStatus, t.status, g.status_count, t.last_updated FROM tableX AS t JOIN ( SELECT status, COUNT(*) AS status_count FROM tableX GROUP BY status ) AS g ON t.status = g.status ;
{ "redpajama_set_name": "RedPajamaStackExchange" }
\section{Introduction} \noindent The vertical dynamics of a free falling ball on a moving racket is considered. The racket is supposed to move periodically in the vertical direction according to a regular periodic function $f(t)$ and the ball is reflected according to the law of elastic bouncing when hitting the racket. The only force acting on the ball is the gravity $g$. Moreover, the mass of the racket is assumed to be large with respect to the mass of the ball so that the impacts do not affect the motion of the racket. \noindent This model has inspired many authors as it represents a simple model exhibiting complex dynamics, depending on the properties of the function $f$. The first results were given by Pustyl'nikov in \cite{pust} who studied the possibility of having motions with velocity tending to infinity, for $\df$ large enough. On the other hand, KAM theory implies that if the $C^k$ norm, for $k$ large, of $\df$ is small then all motions are bounded. On these lines some recent results are given in \cite{ma_xu,maro4,maro6}. Bounded motions can be regular (periodic and quasiperiodic, see \cite{maro3}) and chaotic (see \cite{maro5,maro2,ruiztorres}). Moreover, the non periodic case is studied in \cite{kunzeortega2,ortegakunze}, the case of different potentials is considered in \cite{dolgo} and recent results on ergodic properties are present in \cite{studolgo}. In this paper we are concerned with $(p,q)$-periodic motions understood as $p$-periodic with $q$ bounces in each period. Here $p,q$ are supposed to be positive coprime integers. In \cite{maro3} it is proved that if $p/q$ is sufficiently large, then there exists at least one $(p,q)$-periodic motion. This result comes from an application of Aubry-Mather theory as presented in \cite{bangert}. Actually, the bouncing motions correspond to the orbits of an exact symplectic twist map of the cylinder. The orbits of such maps can be found as critical points of an action functional and the $(p,q)$-periodic orbits found in \cite{maro3} correspond to minima. Here we first note that a refined version of Aubry-Mather theory (see \cite{katok_hass}) gives, for each couple of coprime $p,q$ such that $p/q$ is large, the existence of another $(p,q)$-periodic orbit that is not a minimum, since it is found via a minimax argument. This gives the existence of two different $(p,q)$-periodic motions for fixed values of $p,q$, with $p/q$ large. We are first interested in the stability in the sense of Lyapunov of such periodic motions. This is related to the structure of the $(p,q)$-periodic orbits of the corresponding exact symplectic twist map, for fixed $p,q$. It comes from Aubry-Mather theory that the $(p,q)$-periodic orbits that are minima can be ordered and if there are two with no other in the middle then they are connected by heteroclinic orbits. In this case they are unstable. On the other hand, $(p,q)$-periodic orbits can form an invariant curve. In this case they are all minima but their stability cannot be determined as before since we are in a degenerate scenario. However, if we suppose to be in the real analytic case, a topological argument (see \cite{ortega_fp,ortega_book}) can be used to deduce instability. More precisely we will use the fact that for a real analytic area and orientation preserving embedding of the plane that is not the identity, every stable fixed point is isolated. Therefore, the hypothesis of $f$ being real analytic comes here into play. Concerning the structure of the set of $(p,q)$-periodic motions we prove that in the real analytic case they can only be either isolated or in a degenerate case, in the sense that the corresponding orbits form an invariant curve that is the graph of a real analytic function. As before, in the isolated case at least one is unstable and in the degenerate case they all are minima and unstable. Note that this result differs from Aubry-Mather theory since we are not requiring the orbits to be minima of a functional. To prove this result we need the $q$-th iterate of the map to be twist. For $q=1$ this is true for every real analytic $f$, while for the general case $q>1$ we need to restrict to $\norm{\ddf}$ being small. The paper is organized as follows. In Section \ref{sec:theory} we recall some known facts about exact symplectic twist maps together with the results for the analytic case. In Section \ref{sec:tennis} we introduce the bouncing ball map and describe its main properties. Finally, the results on the existence of two $(p,q)$-periodic motions, the instability and the structure of the set are given in Section \ref{sec:per}. \section{Some results on periodic orbits of exact symplectic twist maps}\label{sec:theory} Let us denote by $\Sigma=\RR\times(a,b)$ with $-\infty\leq a<b\leq +\infty$ a possibly unbounded strip of $\RR^2$. We will deal with $C^k$ ($k\geq 1$) or real analytic embeddings $\tilde{S}:\Sigma \rightarrow \RR^2$ such that \begin{equation}\label{def_cyl} \tilde{S}\circ\sigma=\sigma\circ \tilde{S} \end{equation} where $\sigma:\RR^2\rightarrow\RR^2$ and $\sigma(x,y)=(x+1,y)$. By this latter property, $\tilde{S}$ can be seen as the lift of an embedding $S:\Sigma\rightarrow\AA$ where $\AA = \TT\times \RR$ with $\TT = \RR/\ZZ$ and $\Sigma$ is now understood as the corresponding strip of the cylinder. We denote $\tilde{S}(x,y)=(\bar{x},\bar{y})$ and the corresponding orbit by $(x_n,y_n)_{n\in\ZZ}$. We say that $\tilde{S}$ is exact symplectic if there exists a $C^1$ function $V:\Sigma\rightarrow \RR$ such that $V\circ\sigma=V$ and \[ \bar{y} d \bar{x} -y dx = dV(x,y) \quad\mbox{in }\Sigma. \] Moreover, by the (positive) twist condition we understand \[ \frac{\partial \bar{x}}{\partial y} >0 \quad\mbox{in }\Sigma. \] A negative twist condition would give analogous results. The exact symplectic condition implies that $\tilde{S}$ preserves the two-form $dy\wedge dx$ so that it is area and orientation preserving. An equivalent characterization is the existence of a generating function, i.e. a $C^2$ function $h:\Omega\subset \RR^2\rightarrow \RR$ such that $h(x+1,\bar{x}+1) = h(x,\bar{x})$ and $h_{12}(x,\bar{x}) <0$ in $\Omega$ and for $(x,y)\in\Sigma$ we have $\tilde{S}(x,y) = (\bar{x},\bar{y})$ if and only if \[ \left\{ \begin{split} h_1(x,\bar{x})&=-y \\ h_2(x,\bar{x})&=\bar{y}. \end{split} \right. \] Moreover, $\tilde{S}$ preserves the ends of the cylinder if, uniformly in $x$, \[ \bar{y}(x,y) \rightarrow \pm\infty \quad\mbox{as }y\rightarrow \pm\infty \] and twists each end infinitely if, uniformly in $x$, \[ \bar{x}(x,y)-x \rightarrow \pm\infty \quad\mbox{as }y\rightarrow \pm\infty. \] Finally we will say that an embedding of the cylinder $S:\Sigma\rightarrow\AA$ satisfies any of these properties if so does its corresponding lift. These maps enjoy several properties and many interesting orbits are proved to exist. Here we recall some results concerning periodic orbits. We start with the following \begin{definition} Fix two coprime integers $p,q$ with $q\neq 0$. An orbit $(x_n,y_n)_{n\in\ZZ}$ of $\tilde{S}$ is said $(p,q)$-periodic if $(x_{n+q},y_{n+q})=(x_n+p,y_n)$ for every $n\in\ZZ$. Moreover, we say that it is stable (in the sense of Lyapunov) if for every $\varepsilon>0$ there exists $\delta>0$ such that for every $(\hat{x}_0,\hat{y}_0)$ satisfying $|(x_0,y_0)-(\hat{x}_0,\hat{y}_0)|<\delta$ we have $|\tilde{S}^n(\hat{x}_0,\hat{y}_0)-({x}_n,{y}_n)|<\varepsilon$ for every $n\in\ZZ$. \end{definition} \begin{remark}\label{rem_periodic} Note that $(q,p)$-periodic orbits correspond to fixed points of the map $\sigma^{-p}\circ \tilde{S}^q$. This follows from the fact that $\tilde{S}$ is a diffeomorphism defined on the cylinder. Each point of the orbit is a fixed point of $\sigma^{-p}\circ\tilde{S}^q$ and a fixed point of $\sigma^{-p}\circ\tilde{S}^q$ is the initial condition of a $(p,q)$-periodic orbit. Note that different fixed points may correspond to the same orbit but not viceversa. Moreover, if an orbit is $(q,p)$-periodic then it cannot be also $(q',p')$-periodic unless $p/q=p'/q'$. Actually, let $\xi=(x,y)$ and suppose that $\xi=\sigma^{-p}\circ\Phi^q(\xi)=\sigma^{-p'}\circ \Phi^{q'}(\xi)$. Then $\sigma^{p}(\xi)=\Phi^q(\xi)$ and $\sigma^{p'}(\xi)=\Phi^{q'}(\xi)$ from which $\Phi^{qq'}(\xi)=\sigma^{pq'}(\xi)=\sigma^{p'q}(\xi)$ and $pq'=p'q$. Finally, the stability of a $(q,p)$-periodic orbit corresponds to the stability in the sense of Lyapunov of the corresponding fixed point of the map $\sigma^{-p}\circ\tilde{S}^q$. \end{remark} A particular class of periodic orbits are the so called Birkhoff periodic orbits. \begin{definition} Fix two coprime integers $p,q$ with $q\neq 0$. An orbit $(x_n,y_n)_{n\in\ZZ}$ of $\tilde{S}$ is said a Birkhoff $(p,q)$-periodic orbit if there exists a sequence $(s_n,u_n)_{n\in\ZZ}$ such that \begin{itemize} \item $(s_0,u_0)=(x_0,y_0)$ \item $s_{n+1}>s_n$ \item $(s_{n+q},u_{n+q})=(s_{n}+1,u_{n})$ \item $(s_{n+p},u_{n+p})=\tilde{S}(s_{n},u_{n})$ \end{itemize} \end{definition} \begin{remark} Note that a Birkhoff $(p,q)$-periodic orbit is a $(p,q)$-periodic orbit since \[ (x_{n+q},y_{n+q})=(s_{np+qp},u_{np+qp})=(s_{np}+p,u_{np})=\tilde{S}^n(s_0,u_0)+(p,0)=(x_{n}+p,y_{n}). \] \end{remark} The existence of Birkhoff $(p,q)$-periodic orbits comes from Aubry-Mather theory. Here we give a related result \cite[Th. 9.3.7]{katok_hass} \begin{theorem}\label{birk_orbits} Let $S:\AA\rightarrow\AA$ be an exact symplectic twist diffeomorphism that preserves and twists the ends infinitely and let $p,q$ be two coprime integers. Then there exist at least two Birkhoff $(p,q)$-periodic orbits for $S$. \end{theorem} \begin{remark} The Theorem is proved via variational techniques. The periodic orbits correspond to critical points of an action defined in terms of the generating function. One of this point is a minimum and the other is a minimax if the critical points are isolated. \end{remark} In the analytic case, something more can be said on the topology of these orbits. \begin{proposition}\label{unstable} Let $\tilde{S}:\Sigma\rightarrow\RR^2$ be an exact symplectic twist embedding satisfying condition \eqref{def_cyl} and admitting a $(p,q)$-periodic orbit. Then there exists at least one $(p,q)$-periodic orbit that is unstable. \end{proposition} \begin{proof} The proof is essentially given in \cite{maroTMNA,ortega_fp,ortega_book}. We give here a sketch. It is enough to prove that there exists at least one unstable fixed point of the area and orientation preserving 1-1 real analytic map $\sigma^{-p}\circ \tilde{S}^q$. Let us first note that since $\tilde{S}$ is twist, the map $\sigma^{-p}\circ \tilde{S}^q$ is not the identity. Actually, it is known (see for example \cite{herman})) that if $\tilde{S}$ is twist, then the image of a vertical line under $\tilde{S}^q$ is a positive path, i.e. a curve such that the angle between the tangent vector and the vertical is always positive. This implies that $\tilde{S}^q$ cannot be a horizontal translation.\\ By hypothesis the set of fixed points of $\sigma^{-p}\circ \tilde{S}^q$ is not empty so that applying \cite[Chapter 4.9, Theorem 15]{ortega_book} we deduce that every stable fixed point is an isolated fixed point.\\ Hence, if there exists some non isolated fixed point, it must be unstable. Finally, suppose that we only have isolated fixed points that are all stable. From \cite[Chapter 4.5, Theorem 12]{ortega_book} they must all have index $1$. On the other hand, the Euler characteristic of the cylinder is null, and by the Poincar\'e-Hopf index formula we have a contradiction. Hence, there must exists at least one fixed point that is unstable. \end{proof} \begin{corollary} In the conditions of Theorem \ref{birk_orbits}, if $S$ is real analytic then there exists at least one unstable $(p,q)$-periodic orbit. \end{corollary} In the analytic case, the twist condition gives information on the structure of the set of $(p,q)$-periodic orbits. Actually the following result has been proved in \cite{maroTMNA,ortega_pb} \begin{theorem}\label{maro_teo} Consider a $C^1$-embedding $\tilde{S}:\Sigma\rightarrow\RR$ satisfying property \eqref{def_cyl} and suppose it is exact symplectic and twist. Fix a positive integer $p$ and assume that for every $x\in\RR$ there exists $y\in (a,b)$ such that \begin{equation}\label{maro_cond} \bar{x}(x,a)<x+p<\bar{x}(x,y). \end{equation} Then the map $\sigma^{-p}\circ\tilde{S}$ has at least two fixed points in $[0,1)\times (a,b)$. Moreover, if $\tilde{S}$ is real analytic then the set of fixed points is finite or the graph of a real analytic $1$-periodic function. In the first case the index of such fixed points is either $-1$, $0$, $1$ and at least one is unstable. In the second case, all the fixed points are unstable. \end{theorem} \begin{remark} Aubry-Mather theory gives a description, for fixed $p,q$ of those $(p,q)$-periodic orbits that are global minimizers. They can be ordered and if two of them are neighbouring, in the sense that there is no other minimal $(p,q)$-periodic orbit in the middle, then there are heteroclinic connections between them (\cite{bangert,katok_hass}). In this case, the $(p,q)$-periodic orbits are unstable. On the other hand, they can form an invariant curve. We stress that in the analytic case Theorem \ref{maro_teo} gives the description of the set of all $(p,q)$-periodic orbits, not only those that are action minimizing. \end{remark} \section{The bouncing ball map and its properties}\label{sec:tennis} Consider the motion of a bouncing ball on a vertically moving racket. We assume that the impacts do not affect the racket whose vertical position is described by a $1$-periodic $C^k$, $k\geq 2$, or real analytic function $f:\RR\rightarrow\RR$. Let us start getting the equations of motion, following \cite{maro5}. In an inertial frame, denote by $(\to,w)$ the time of impact and the corresponding velocity just after the bounce, and by $(\Pto,\bar w)$ the corresponding values at the subsequent bounce. From the free falling condition we have \begin{equation}\label{timeeq} f(t) + w(\Pto-\to) - \frac{g}{2}(\Pto -\to)^2 = f(\Pto) \,, \end{equation} where $g$ stands for the standard acceleration due to gravity. Noting that the velocity just before the impact at time $\Pto$ is $w-g(\Pto-\to)$, using the elastic impact condition and recalling that the racket is not affected by the ball, we obtain \begin{equation} \label{veleq} \bar{w}+w-g(\Pto-\to) = 2\dot{f}(\Pto)\,, \end{equation} where $\dot{}$ stands for the derivative with respect to time. From conditions (\ref{timeeq}-\ref{veleq}) we can define a bouncing motion given an initial condition $(t,w)$ in the following way. If $w\leq\df(t)$ then we set $\bar{t}=t$ and $\bar{w}=w$. If $w>\df(t)$, we claim that we can choose $\bar{t}$ to be the smallest solution $\bar{t}> t$ of \eqref{timeeq}. Bolzano theorem gives the existence of a solution of \eqref{timeeq} considering \[ F_t(\bar{t})=f(t)-f(\Pto) + w(\Pto-\to) - \frac{g}{2}(\Pto -\to)^2 \] and noting that $F_t(\bar{t})<0$ for $\Pto-\to$ large and $F_t(\bar{t})>0$ for $\Pto-\to\rightarrow 0^+$. Moreover, the infimum $\bar{t}$ of all these solutions is strictly larger than $t$ since if there exists a sequence $\bar{t}_n\rightarrow t$ satisfying \eqref{timeeq} then, \[ w - \frac{g}{2}(\Pto_n -\to) = (f(\Pto_n)- f(t)) /(\Pto_n-\to) \] that contradicts $w>\df(t)$ using the mean value theorem. For this value of $\bar{t}$, condition \eqref{veleq} gives the updated velocity $\bar{w}$. For $\Pto-\to>0$, we introduce the notation \[ f[\to,\Pto]=\frac{f(\Pto)-f(\to)}{\Pto-\to}, \] and write \begin{equation} \label{w1} \Pto = \to + \frac 2g w -\frac 2g f[\to,\Pto]\,, \end{equation} that also gives \begin{equation} \label{w2} \bar{w}= w -2f [\to,\Pto] + 2\dot{f}(\Pto). \end{equation} Now we change to the moving frame attached to the racket, where the velocity after the impact is expressed as $v=w-\dot{f}(t)$, and we get the equations \begin{equation}\label{eq:unb} \left\{ \begin{split} \Pto = {} & \to + \frac 2g \vo-\frac 2g f[\to,\Pto]+\frac 2g \df(\to)\textcolor{blue}{\,} \\ \Pvo = {} & \vo - 2f[\to,\Pto] + \df (\Pto)+\df(\to)\textcolor{blue}{\,.} \end{split} \right. \end{equation} By the periodicity of the function $f$, the coordinate $t$ can be seen as an angle. Hence, equations \eqref{eq:unb} define formally a map \[ \begin{array}{rcl} \tilde\Psi: \RR & \longrightarrow & \RR \\ (\to,\vo) & \longmapsto & (\Pto, \Pvo), \end{array} \] satisfying $\tilde\Psi\circ\sigma=\sigma\circ\tilde\Psi$ and the associated map of the cylinder $\Psi:\AA\rightarrow\AA$. This is the formulation considered by Kunze and Ortega \cite{kunzeortega2}. Another approach was considered by Pustylnikov in \cite{pust} and leads to a map that is equivalent to \eqref{eq:unb}, see \cite{maro3}. Noting that $w>\df(t)$ if and only if $v>0$, we can define a bouncing motion as before and denote it as a sequence $(t_n,v_n)_{n\in\ZZ^+}$ with $\ZZ^+=\{n\in\ZZ \::\: n\geq 0\}$ such that $(t_n,v_n)\in \TT\times [0,+\infty)$ for every $n\in\ZZ^+$. The maps $\Psi$ and its lift $\tilde{\Psi}$ are only defined formally. In the following lemma we state that they are well defined and have some regularity. Let us introduce the notation $\RR_{v_*}=\{v\in\RR \: :\: v>v_* \}$, $\AA_{v_*} = \TT\times \RR_{v_*}$ and $\RR^2_{v_*}=\RR\times\RR_{v_*}$. We will denote the $\sup$ norm by $\norm{\cdot}$ and recall that $f\in C^k(\TT), k\geq 2$ or real analytic. \begin{lemma} \label{well_def} There exists $v_*>4\norm{\df}$ such that the map $\Psi:\AA_{v_*}\rightarrow \AA$ is a $C^{k-1}$ embedding. If $f$ is real analytic, then $\Psi$ is a real analytic embedding. \end{lemma} \begin{proof} The proof is essentially given in \cite{maro5}. We give here a sketch. To prove that the map is well defined and $C^{k-1}$ we denote $v_{**}=4\norm{\df}$ and apply the implicit function theorem to the $C^{k-1}$ function $F :\{(\to,\vo,\Pto,\Pvo)\in \AA_{v_{**}} \times \RR^2 \: :\:\to\neq\Pto \} \rightarrow \RR^2$ given by \begin{equation*} F(\to,\vo,\Pto,\Pvo):= \left( \begin{split} & \Pto - \to - \frac 2g \vo + \frac 2g f[\to,\Pto]-\frac 2g \df (\to) \\ & \Pvo - \vo + 2f[\to,\Pto] - \df(\Pto)-\df(\to) \end{split} \right), \end{equation*} This gives the existence of a $C^{k-1}$ map $\Psi$ defined in $\AA_{v_{**}}$ such that $F(\to,\vo,\Psi(\to,\vo) )=0$. If $f$ is real analytic, we get that $\Psi$ is real analytic applying the analytic version of the implicit function theorem. \\ One can easily check that $\Psi$ is a local diffeomorphism since \[ \det \Dif_{\to,\vo} \Psi (t,v) =-\frac{\det (\Dif_{\to,\vo} F(\to,\vo,\Psi(\to,\vo) ))}{ \det (\Dif_{\Pto,\Pvo} F(\to,\vo,\Psi(\to,\vo) ))} \neq 0 \quad\mbox{on }\AA_{v_{**}}. \] To prove that $\Psi$ is a global embedding we need to prove that it is injective in $\AA_{v_*}$ for $v_*$ eventually larger than $v_{**}$. This can be done as in \cite{maro5}. \end{proof} \begin{remark} Note that we cannot guarantee that if $(\to_0,\vo_0) \in \AA_{v_*}$ then $\Psi(\to_0,\vo_0) \in \AA_{v_*}$. This is reasonable, since the ball can slow down decreasing its velocity at every bounce. However, a bouncing motion is defined for $v\geq 0$ \end{remark} \begin{remark} From the physical point of view, the condition $\Psi^n(\to_0,\vo_0)\in\AA_{v_*}$ for every $n$, implies that we can only hit the ball when it is falling. To prove it, suppose that $\to_0 =0$ and let us see what happens at the first iterate. The time at which the ball reaches its maximum height is $t^{max}=\frac{\vo_0}{g}$. On the other hand, the first impact time $\Pto$ satisfies, \[ \Pto \geq \frac{2}{g}\vo_0 - \frac{4}{g}\norm{\df}= t^{max}\left( 2-\frac{4}{\vo_0}\norm{\df} \right) > t^{max}, \] where the last inequality comes from $\vo_0\in\RR_{v_*}$ and $v_*>4\norm{\df}$. \end{remark} The map $\tilde\Psi$ is exact symplectic if we pass to the variables time-energy $(\to,\Eo)$ defined by \[ (\to,\Eo) = \left(\to,\frac{1}{2}\vo^2\right), \] obtaining the conjugated map \[ \Phi :\AA_{\Eo_*} \longrightarrow \AA, \qquad \Eo_*=\frac{1}{2}v_*^2 \] defined by \begin{equation}\label{eq:unbe} \left\{ \begin{split} \Pto = & \to + \frac 2g \sqrt{2\Eo}-\frac 2g f[\to,\Pto]+\frac 2g \df(\to) \\ \PEo = & \frac{1}{2}\left( \sqrt{2\Eo} - 2f[\to,\Pto] + \df (\Pto)+\df(\to) \right)^2, \end{split} \right. \end{equation} that by Lemma \ref{well_def} is a $C^{k-1}$-embedding or real analytic if $f$ is real analytic. More precisely, we have the following \begin{lemma} \label{lemma:exact} The map $\Phi$ is exact symplectic and twist in $\AA_{e_*}$. Moreover, $\Phi$ preserves and twists infinitely the upper end. \end{lemma} The map $\Phi$ is not defined in the whole cylinder. However, it is possible to extend to the whole cylinder preserving its properties. More precisely: \begin{lemma} \label{extension} There exists a $C^{k-2}$ exact symplectic and twist diffeomorphism $\bar{\Phi}:\AA\rightarrow\AA$ such that $\bar{\Phi} \equiv \Phi$ on $\AA_{e_*}$ and $\bar{\Phi}\equiv\Phi_0$ on $\AA\setminus\AA_{\frac{e_*}{2}}$ where $\Phi_0$ is the integrable twist map $\Phi_0(t,e)=(t+e,e)$. Moreover, $\bar{\Phi}$ preserves the ends of the cylinder and twists them infinitely. If $f$ is real analytic, then the extension $\bar{\Phi}$ is $C^\infty$. \end{lemma} Due to Lemma \ref{well_def} and the fact that the maps $\Phi$ and $\Psi$ are conjugated we can consider the lift $\tilde{\Phi}:\RR^2_{e_*}\rightarrow\RR^2$ and give the following \begin{definition} A complete bouncing motion $(t_n,e_n)_{n\in\ZZ}$ is a complete orbit of the map $\tilde{\Phi}$. \end{definition} In the following section we will study the existence and properties of periodic complete bouncing motions as orbits of the map $\tilde{\Phi}$ defined in \eqref{eq:unbe}. \section{Periodic bouncing motions}\label{sec:per} The existence of periodic complete bouncing motions follows from an application of Aubry-Mather theory. In this section we prove it and in the analytic case we give some results on the structure of such motions and their stability. We start saying that a complete bouncing motion is $(q,p)$-periodic if in time $p$ the ball makes $q$ bouncing before repeating the motion, more precisely: \begin{definition} Given two coprime integers $q,p\in\ZZ^+$, a complete bouncing motion $(t_n,e_n)_{n\in\ZZ}$ is $(q,p)$-periodic if the corresponding orbit of $\tilde{\Phi}$ is $(p,q)$-periodic. Moreover, we say that it is stable if the corresponding orbit is stable. \end{definition} The existence of two $(q,p)$-periodic complete bouncing motions comes from an application of Theorem \ref{birk_orbits}. \begin{theorem}\label{pre_bouncing} For every $f\in C^3$ there exists $\alpha>0$ such that for every positive coprime $p,q$ satisfying $p/q>\alpha$ there exist two different $(q,p)$-periodic complete bouncing motions. Moreover, if $f$ is real analytic, then at least one of the $(q,p)$-periodic complete bouncing motion is unstable. \end{theorem} \begin{proof} By Lemma \ref{lemma:exact}, the map $\Phi$ defined in \eqref{eq:unbe} is a $C^2$ exact symplectic twist embedding in $\AA_{e_*}$ for some large $e_*$ depending on $\norm{\df}$. Moreover $\Phi$ preserves and twists infinitely the upper end. Its extension $\bar{\Phi}$ coming from Lemma \ref{extension} satisfies the hypothesis of Theorem \ref{birk_orbits} and admits for every coprime $p,q$ two Birkhoff $(q,p)$-periodic orbit. Consider the Birkhoff $(q,p)$-periodic orbits for $p,q$ positive and $p/q$ large enough such that \begin{equation}\label{choice_pq} \frac{p}{q}-1-\frac{4}{g}\norm\df>\frac{2}{g}\sqrt{2e_*}. \end{equation} Since Birkhoff periodic orbits are cyclically ordered, from \cite[lemma 9.1]{gole} we have that they satisfy the estimate $t_{n+1}-t_n>p/q - 1$. On the other hand, from \eqref{eq:unbe}, \[ t_{n+1}-t_n\leq\frac{2}{g}\sqrt{2e_n}+\frac{4}{g}\norm\df \] so that it must be \[ \frac{2}{g}\sqrt{2e_n}+\frac{4}{g}\norm\df>\frac{p}{q}-1. \] By the choice of $p/q$ in \eqref{choice_pq} we have that $e_n>e_*$ for every $n\in\ZZ$ so that these Birkhoff periodic orbits are all contained in $\AA_{e_*}$ and so they are orbits of the original map $\Phi$. If $f$ is real analytic the result on the instability follows from Proposition \ref{unstable}. \end{proof} Theorem \ref{pre_bouncing} gives the existence of $(p,q)$-periodic bouncing motions but does not give information on the topological structure of the set of $(p,q)$-periodic bouncing motions for fixed values of $(p,q)$. This is a complicated issue and some results comes from Aubry-Mather theory. However, here we will see which results can be obtained using Theorem \ref{maro_teo}. To state this result we give the following \begin{definition} We say that the set of $(p,q)$-periodic complete bouncing motions is (analytically) degenerate if there exists a real analytic curve $(t(s),e(s))$ such that $(t(s+1),e(s+1))=(t(s)+1,e(s))$ for every $s\in\RR$, the function $t(s)$ is bijective for $s\in[0,1)$ and $(t_n,e_n)_{n\in\ZZ}$ is a $(p,q)$-periodic complete bouncing motion if and only if there exist $n_0,s_0$ such that $(t_{n_0},e_{n_0})=(t(s_0),e(s_0))$. \end{definition} The following result is a quite direct consequence of Lemma \ref{lemma:exact}. \begin{proposition} If $f$ is real analytic, then there exists $\alpha>0$ such that for every $p>\alpha$ the set of $(p,1)$-periodic complete bouncing motions is either finite or degenerate. In the first case at least one $(p,1)$-periodic complete bouncing motion is unstable. In the degenerate case, all $(p,1)$-periodic complete bouncing motion are unstable. \end{proposition} \begin{proof} By Lemma \ref{lemma:exact} the map $\tilde{\Phi}$ is exact symplectic and twist on $\RR^2_{e_*}$. Moreover, let us choose $a$ such that $e_*<\sqrt{2a}$ and $p$ such that \[ \frac{gp}{2}-2\norm{\dot{f}}>\sqrt{2a}. \] Let us start with the following estimates for the lift $\tilde{\Phi}$ that can be easily proved by induction on $n$ from \eqref{eq:unbe}: \begin{equation}\label{stim_t_e} |\sqrt{2e_n}-\sqrt{2e}|\leq 4n\norm{\dot{f}}, \qquad \left|t_n-t-\frac{2}{g}n\sqrt{2e}\right|\leq 4n^2\frac{\norm{\dot{f}}}{g}. \end{equation} These give \[ \bar{t}(t,a)-t\leq \frac{2}{g}\sqrt{2a}+4\frac{\norm{\dot{f}}}{g}<p. \] On the other hand, Lemma \ref{lemma:exact} also gives that $\tilde{\Phi}$ twists the upper end infinitely, i.e. $\lim_{e\rightarrow +\infty}\bar{t}(t,e)-t=+\infty$ uniformly in $t$. Hence, condition \eqref{maro_cond} is satisfied in the strip $\Sigma=[a,+\infty)$ for every $p$. The conclusion comes from the application of Theorem \ref{maro_teo} and the fact that $(p,1)$-periodic complete bouncing motions corresponds to the fixed points of the map $\sigma^{-p}\circ\tilde{\Phi}$. \end{proof} This result is not trivially extended to $(p,q)$-periodic motions for $q\geq 1$ since $\Phi^q$ need to be exact symplectic and twist. The twist condition is in general not preserved by composition, while the exactness is, as shown in the following result, inspired by \cite{bosc_ort} \begin{lemma}\label{lemma_isot_exact} For every $q>0$ there exists $e_\#\geq e_*$ such that for every $p>0$ the map $\sigma^{-p}\circ\tilde{\Phi}^q:\RR^2_{e_\#}\rightarrow\RR^2$ is exact symplectic \end{lemma} \begin{proof} Since the map $\tilde{\Phi}$ is defined in $\RR^2_{e_*}$, the image $\tilde{\Phi}(\RR^2_{e_*})$ could not be contained in $\RR^2_{e_*}$ so that the iterate could not be defined. From \eqref{eq:unb} we have that $|\bar{v}-v|\leq 4\norm{\dot{f}}$ from which, the map $\tilde{\Psi}^q$ is well defined in $\RR^2_{v_\#}$ with $v_\#=v_* + 4 q \norm{\dot{f}}$. Hence passing to the variables $(t,e)$, the map $\tilde{\Phi}^q$ is defined in $\RR^2_{e_\#}$ with $e_\#=\frac{1}{2}v_\#^2$. Since $\Phi$ is exact symplectic, there exists $V:\RR^2_{e_\#}\rightarrow\RR$ such that, defining $\lambda=e dt$ we have $\tilde{\Phi}^*\lambda-\lambda=dV$. Hence, denoting $V_1=V+V\circ\tilde{\Phi}+\dots+V\circ\tilde{\Phi}^{q-1}$ it holds that $V_1\circ\sigma=V_1$ on $\RR^2_{e_\#}$ and \begin{align*} dV_1 &= dV+\tilde{\Phi}^*dV+\dots+(\tilde{\Phi}^{q-1})^*dV \\ & = \tilde{\Phi}^*\lambda-\lambda + (\tilde{\Phi}^2)^*\lambda-\tilde{\Phi}^*\lambda +\dots+(\tilde{\Phi}^q)^*\lambda-(\tilde{\Phi}^{q-1})^*\lambda \\ &= (\tilde{\Phi}^q)^*\lambda-\lambda \end{align*} from which $\tilde{\Phi}$ is exact symplectic. Finally, we conclude noting that by the definition of $\sigma^{-p}$, $(\sigma^{-p}\circ\tilde{\Phi}^q)^*\lambda = (\tilde{\Phi}^q)^*\lambda$. \end{proof} Concerning the twist condition the following technical result holds. \begin{lemma}\label{twist_q} Let $f$ be $C^2$. For every $q\geq 1$ there exist $\epsilon_q>0$, $e^q>e_\#$, such that if $\norm{\ddf}<\epsilon_q$ then \[ \frac{\partial t_q}{\partial e}=\frac{2q}{g\sqrt{2e}}(1+\tilde{f}_q(t,e)) \] where $|\tilde{f}_q(t,e)|< 1/2$ on $\RR^2_{e^q}$. \end{lemma} \begin{proof} To simplify the computation, let us perform the change of variables $y=\sqrt{2e}+\df(t)$ so that \eqref{eq:unbe} becomes \begin{equation}\label{eq:unby} \left\{ \begin{split} \Pto = & \to + \frac 2g y-\frac 2g f[\to,\Pto] \\ \bar{y} = & y - 2f[\to,\Pto] + 2\df (\Pto). \end{split} \right. \end{equation} Since $\partial t_q/\partial e=(\partial t_q/\partial y) (\partial y/\partial e)$ it is enough to prove that for every $q\geq 1$ there exist $\epsilon_q>0$ and $y^q$ large, such that if $\norm{\ddf}<\epsilon_q$ then \begin{equation}\label{new_th} \frac{\partial t_q}{\partial y}=\frac{2q}{g}(1+\tilde{f}_q(t,y)) \end{equation} where $|\tilde{f}_q(t,y)|< 1/2$ on $\RR^2_{y^q}$. Let us start with some estimates that hold for every $q\geq 1$. It comes from \eqref{eq:unby} that \begin{equation}\label{y_q} y_q=y+2\sum_{i=1}^{q}\df(t_i)+2\sum_{i=1}^{q}f[t_{i-1},t_{i}] \end{equation} so that \[ |y_q-y|\leq 4q\norm\df. \] Using it, \begin{equation}\label{t_q} |t_q-t_{q-1}|\geq \frac{2}{g}y-\frac{2}{g}(4q+1)\norm\df, \end{equation} from which there exists $y^q$ large enough and $C_q$ such that \begin{equation}\label{fqq-11} \left|\partial_{t_q}f[t_{q-1},t_q]\right|=\left|\frac{\dot{f}(t_q)-f[t_{q-1},t_q]}{t_q-t_{q-1}}\right|\leq \frac{g\norm{\dot{f}}}{y-(4q+2)\norm{\dot{f}}}<\frac{C_q}{y} \qquad \mbox{on } \RR^2_{y^q} \end{equation} and analogously \begin{equation}\label{fqq-12} \left|\partial_{t_{q-1}}f[t_{q-1},t_q]\right|<\frac{C_{q-1}}{y} \qquad \mbox{on } \RR^2_{y^{q-1}} \end{equation} Now we can start the proof by induction on $q\geq 1$. For $q=1$ we have, differentiating the first equation in \eqref{eq:unby} \begin{equation}\label{t_1_y} \frac{\partial t_1}{\partial y}\left(1+\frac{2}{g}\partial_{t_{1}}f[t,t_1]\right)=\frac{2}{g}y \end{equation} from which, using \eqref{fqq-11} we get the initial step taking a suitably larger value of $y^1$.\\ For the inductive step, let us suppose \eqref{new_th} to be true for $i=1,\dots,q-1$. By implicit differentiation \begin{equation}\label{t_q_e} \frac{\partial t_q}{\partial y}\left(1+\frac{2}{g}\partial_{t_{q}}f[t_{q-1},t_q]\right)=\frac{2}{g}\frac{\partial y_{q-1}}{\partial y}+\frac{\partial t_{q-1}}{\partial y}\left(1-\frac{2}{g}\partial_{t_{q-1}}f[t_{q-1},t_q]\right) \end{equation} From \eqref{y_q} and the inductive hypothesis we have \begin{align*} \frac{\partial y_{q-1}}{\partial y}&=1+2\sum_{i=1}^{q-1}\left(\ddf(t_i) \frac{\partial t_i}{\partial y}-\partial_{t_{i}}f[t_{i-1},t_{i}]\frac{\partial t_i}{\partial y} -\partial_{t_{i-1}}f[t_{i-1},t_{i}]\frac{\partial t_{i-1}}{\partial y}\right)\\ &=1+2\sum_{i=1}^{q-1}\left(\ddf(t_i) (1+\tilde{f}_i)-\partial_{t_{i}}f[t_{i-1},t_{i}](1+\tilde{f}_i) -\partial_{t_{i-1}}f[t_{i-1},t_{i}](1+\tilde{f}_{i-1})\right). \end{align*} Since by (\ref{fqq-11}-\ref{fqq-12}) for every $i$ $|\partial_{t_{i}}f[t_{i-1},t_{i}]|$ tends to zero uniformly as $y \rightarrow +\infty$ and $|\tilde{f}_i|<1/2$ for $y$ large, we can find new constants $C_{q-1}$ and $y^{q-1}$ such that on $\RR^2_{y^{q-1}}$, \begin{equation}\label{stim_y} \frac{\partial y_{q-1}}{\partial y} = 1 + \bar{f}_{q-1}(t,y) \qquad \mbox{with } |\bar{f}_{q-1}|\leq C_{q-1}\norm\ddf. \end{equation} Using it and the inductive hypothesis in \eqref{t_q_e} we get \begin{align}\label{final} \frac{\partial t_q}{\partial y}\left(1+\frac{2}{g}\partial_{t_{q}}f[t_{q-1},t_q]\right)&=\frac{2}{g}(1 + \bar{f}_{q-1}(t,y))+\frac{2(q-1)}{g}(1+\tilde{f}_{q-1}(t,y))\left(1-\frac{2}{g}\partial_{t_{q-1}}f[t_{q-1},t_q]\right)\\ &=\frac{2q}{g}\left(1+ \tilde{f}_q(t,y)\right) \end{align} where, \[ \tilde{f}_q(t,y)=\frac{1}{q}\bar{f}_{q-1}(t,y)+\frac{q-1}{q}\tilde{f}_{q-1}(t,y)+\frac{2(q-1)}{gq}\partial_{t_{q-1}}f[t_{q-1},t_q](1+\tilde{f}_{q-1}(t,y)). \] Now (\ref{fqq-11}-\ref{fqq-12}) and \eqref{stim_y} imply \[ |\tilde{f}_q|<\frac{C_{q-1}}{q}\norm\ddf+\frac{q-1}{2q}+\frac{C'_{q-1}}{y} \] so that we can find $\epsilon_q$ and $y_q$ such that if $\norm\ddf<\epsilon_q$ then $|\tilde{f}_q|<\frac{1}{2}-\frac{1}{2q}$ on $\RR^2_{y^{q}}$. Plugging it into \eqref{final} and using again (\ref{fqq-11}-\ref{fqq-12}) we get the thesis, eventually increasing $y^q$. \end{proof} This is used to prove the following result \begin{proposition} Suppose that $f$ is real analytic. For every $q>0$ there exist $\alpha>0$ and $\epsilon_q>0$ such that if $p>\alpha$ and $\norm{\ddf}<\epsilon_q$ then the set of $(p,q)$-periodic complete bouncing motion is either finite or degenerate. In the first case at least one $(p,q)$-periodic complete bouncing motion is unstable. In the degenerate case, all $(p,q)$-periodic complete bouncing motion are unstable. \end{proposition} \begin{proof} We would like to apply Theorem \ref{maro_teo} to the map $\tilde{\Phi}^q$, noting that $(p,q)$-periodic bouncing motions correspond to fixed points of the map $\sigma^{-p}\circ\tilde{\Phi}^q$. Let us fix $q>0$. In Lemma \ref{lemma_isot_exact} we proved that $\tilde{\Phi}^q$ is exact symplectic in $\RR^2_{e_\#}$ for some $e_\#$ depending on $q$. Moreover, by Lemma \ref{twist_q}, there exist $\epsilon_q$ and $e^q>e_\#$ such that if $\norm{\ddf}<\epsilon_q$ then $\tilde{\Phi}^q$ is also twist on $\RR^2_{e^q}$. Now choose $p>0$ such that \[ \frac{gp}{2q}-2q\norm{\dot{f}}>e^q. \] Hence, there exist $b>a$ such that \[ e^q<\sqrt{2a}<\frac{gp}{2q}-2q\norm{\dot{f}}<\frac{gp}{2q}+2q\norm{\dot{f}}<\sqrt{2b}. \] This choice for $a,b$ gives condition \eqref{maro_cond} on the strip $\Sigma=\RR\times (a,b)$. Actually, from \eqref{stim_t_e}, \begin{align*} t_q(t,b)-t & \geq\frac{2}{g}q\sqrt{2b}-4q^2\frac{\norm{\dot{f}}}{g}>p \\ t_q(t,a)-t & \leq\frac{2}{g}q\sqrt{2a}+4q^2\frac{\norm{\dot{f}}}{g}<p. \end{align*} This concludes the proof. \end{proof}
{ "redpajama_set_name": "RedPajamaArXiv" }
Q: How can I correct my war application (Tomcat 8)? I made a Web Java Application, on JDK 1.8, with the next libraries: - Hibernate 4.3.x - bootstrap 1.0.10 - commons codec 1.10 - commons logging 1.2 - poi 3.12-20150511 - poi ooxml 3.12-20150511 - poi ooxml-schemas 3.12-20150511 - xmlbeans 2.6.0 - gson 2.3.1 - bson4jackson 2.7.0 - jackson annotations 2.7.3 - jackson core 2.7.3 - jackson databind 2.7.3 - jongo 1.3.0 - mongo java driver 3.2.2 - postgresql 9.4.1208jre6 - primefaces 6.0 - commons fileupload 1.3.1 - commons io 2.4 I developed my application on Netbeans 8.0 and finally I generated a war file. After I downloaded and installed Tomcat 8 in my computer (with Windows 8.1 to 64 bits) to 32 bits, and when I mount my war file on Tomcat, and I accessed to http://localhost:8080/MyApplication the page respond with HTTP STATUS 404 message. As I don't know what is the file with the specific exception, I show all the files of the log folder: catalina.2017-03-20.log 20-Mar-2017 19:31:57.589 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.12 20-Mar-2017 19:31:57.616 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Mar 8 2017 17:41:47 UTC 20-Mar-2017 19:31:57.637 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.12.0 20-Mar-2017 19:31:57.660 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 8.1 20-Mar-2017 19:31:57.661 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 6.3 20-Mar-2017 19:31:57.662 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: x86 20-Mar-2017 19:31:57.662 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files (x86)\Java\jre1.8.0_101 20-Mar-2017 19:31:57.663 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_101-b13 20-Mar-2017 19:31:57.663 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation 20-Mar-2017 19:31:57.663 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5 20-Mar-2017 19:31:57.664 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5 20-Mar-2017 19:31:57.665 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5 20-Mar-2017 19:31:57.665 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5 20-Mar-2017 19:31:57.666 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\temp 20-Mar-2017 19:31:57.666 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 20-Mar-2017 19:31:57.666 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\conf\logging.properties 20-Mar-2017 19:31:57.667 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit 20-Mar-2017 19:31:57.667 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms128m 20-Mar-2017 19:31:57.667 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx256m 20-Mar-2017 19:31:57.667 INFORMACIÓN [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent La biblioteca nativa de Apache Tomcat basada en ARP que permite un rendimiento óptimo en entornos de desarrollo no ha sido hallada en java.library.path: C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\TXE Components\TCS\;C:\Program Files\Intel\TXE Components\TCS\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\nodejs\;C:\Program Files\MongoDB\Server\3.2\bin;C:\Program Files\PostgreSQL\9.3\bin;C:\tas-8.3-1\multiserver\enhydra\bin; C:\Program Files\PostgreSQL\9.3\bin;C:\Python27;C:\Python27\Scripts;C:\Program Files (x86)\Skype\Phone\;;. 20-Mar-2017 19:31:58.005 INFORMACIÓN [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8081"] 20-Mar-2017 19:31:58.593 INFORMACIÓN [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 20-Mar-2017 19:31:58.599 INFORMACIÓN [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"] 20-Mar-2017 19:31:58.605 INFORMACIÓN [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 20-Mar-2017 19:31:58.606 INFORMACIÓN [main] org.apache.catalina.startup.Catalina.load Initialization processed in 2024 ms 20-Mar-2017 19:31:58.680 INFORMACIÓN [main] org.apache.catalina.core.StandardService.startInternal Arrancando servicio Catalina 20-Mar-2017 19:31:58.680 INFORMACIÓN [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.12 20-Mar-2017 19:31:58.761 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Despliegue del archivo C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\MyApplication.war de la aplicación web 20-Mar-2017 19:32:15.612 GRAVE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/MyApplication]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.IllegalArgumentException: El mapeo de filtro especifica un nombre desconocido de filtro PrimeFaces FileUpload Filter at org.apache.catalina.core.StandardContext.validateFilterMap(StandardContext.java:2987) at org.apache.catalina.core.StandardContext.addFilterMap(StandardContext.java:2950) at org.apache.catalina.startup.ContextConfig.configureContext(ContextConfig.java:1275) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1190) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:775) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5114) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 10 more 20-Mar-2017 19:32:15.615 GRAVE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Error durante el despliegue del archivo C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\MyApplication.war de la aplicación web java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/MyApplication]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:756) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 20-Mar-2017 19:32:15.621 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\MyApplication.war has finished in 16.856 ms 20-Mar-2017 19:32:15.625 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Despliegue del directorio C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\docs de la aplicación web 20-Mar-2017 19:32:15.899 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\docs has finished in 274 ms 20-Mar-2017 19:32:15.900 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Despliegue del directorio C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\examples de la aplicación web 20-Mar-2017 19:32:16.762 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\examples has finished in 862 ms 20-Mar-2017 19:32:16.762 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Despliegue del directorio C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\host-manager de la aplicación web 20-Mar-2017 19:32:16.833 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\host-manager has finished in 71 ms 20-Mar-2017 19:32:16.834 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Despliegue del directorio C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\manager de la aplicación web 20-Mar-2017 19:32:16.954 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\manager has finished in 120 ms 20-Mar-2017 19:32:16.955 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Despliegue del directorio C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\ROOT de la aplicación web 20-Mar-2017 19:32:16.999 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\ROOT has finished in 44 ms 20-Mar-2017 19:32:17.008 INFORMACIÓN [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [http-nio-8081] 20-Mar-2017 19:32:17.047 INFORMACIÓN [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [ajp-nio-8009] 20-Mar-2017 19:32:17.054 INFORMACIÓN [main] org.apache.catalina.startup.Catalina.start Server startup in 18447 ms commons-daemon.2017-03-20.log [2017-03-20 19:31:55] [info] [ 1908] Commons Daemon procrun (1.0.15.0 32-bit) started [2017-03-20 19:31:55] [info] [ 1908] Running 'Tomcat8' Service... [2017-03-20 19:31:55] [info] [ 4584] Starting service... [2017-03-20 19:31:57] [info] [ 4584] Service started in 1292 ms. host-manager.2017-03-20.log [is empty] localhost.2017-03-20.log 20-Mar-2017 19:32:16.740 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized() 20-Mar-2017 19:32:16.741 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized() localhost_access_log.2017-03-20.txt 0:0:0:0:0:0:0:1 - - [20/Mar/2017:19:32:27 -0500] "GET /MyApplication/ HTTP/1.1" 404 994 0:0:0:0:0:0:0:1 - - [20/Mar/2017:19:32:29 -0500] "GET /MyApplication/ HTTP/1.1" 404 994 0:0:0:0:0:0:0:1 - - [20/Mar/2017:19:32:29 -0500] "GET /favicon.ico HTTP/1.1" 200 21630 0:0:0:0:0:0:0:1 - - [20/Mar/2017:19:32:30 -0500] "GET /MyApplication/ HTTP/1.1" 404 994 0:0:0:0:0:0:0:1 - - [20/Mar/2017:19:32:30 -0500] "GET /favicon.ico HTTP/1.1" 200 21630 manager.2017-03-20.log [Is empty] tomcat8-stderr.2017-03-20.log 2017-03-20 19:31:55 Commons Daemon procrun stderr initialized 20-Mar-2017 19:31:57.589 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.12 20-Mar-2017 19:31:57.616 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Mar 8 2017 17:41:47 UTC 20-Mar-2017 19:31:57.637 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.12.0 20-Mar-2017 19:31:57.660 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 8.1 20-Mar-2017 19:31:57.661 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 6.3 20-Mar-2017 19:31:57.662 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: x86 20-Mar-2017 19:31:57.662 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files (x86)\Java\jre1.8.0_101 20-Mar-2017 19:31:57.663 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_101-b13 20-Mar-2017 19:31:57.663 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation 20-Mar-2017 19:31:57.663 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5 20-Mar-2017 19:31:57.664 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5 20-Mar-2017 19:31:57.665 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5 20-Mar-2017 19:31:57.665 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5 20-Mar-2017 19:31:57.666 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\temp 20-Mar-2017 19:31:57.666 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 20-Mar-2017 19:31:57.666 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\conf\logging.properties 20-Mar-2017 19:31:57.667 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit 20-Mar-2017 19:31:57.667 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms128m 20-Mar-2017 19:31:57.667 INFORMACIÓN [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx256m 20-Mar-2017 19:31:57.667 INFORMACIÓN [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent La biblioteca nativa de Apache Tomcat basada en ARP que permite un rendimiento óptimo en entornos de desarrollo no ha sido hallada en java.library.path: C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\TXE Components\TCS\;C:\Program Files\Intel\TXE Components\TCS\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\nodejs\;C:\Program Files\MongoDB\Server\3.2\bin;C:\Program Files\PostgreSQL\9.3\bin;C:\tas-8.3-1\multiserver\enhydra\bin; C:\Program Files\PostgreSQL\9.3\bin;C:\Python27;C:\Python27\Scripts;C:\Program Files (x86)\Skype\Phone\;;. 20-Mar-2017 19:31:58.005 INFORMACIÓN [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8081"] 20-Mar-2017 19:31:58.593 INFORMACIÓN [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 20-Mar-2017 19:31:58.599 INFORMACIÓN [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"] 20-Mar-2017 19:31:58.605 INFORMACIÓN [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 20-Mar-2017 19:31:58.606 INFORMACIÓN [main] org.apache.catalina.startup.Catalina.load Initialization processed in 2024 ms 20-Mar-2017 19:31:58.680 INFORMACIÓN [main] org.apache.catalina.core.StandardService.startInternal Arrancando servicio Catalina 20-Mar-2017 19:31:58.680 INFORMACIÓN [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.12 20-Mar-2017 19:31:58.761 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Despliegue del archivo C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\MyApplication.war de la aplicación web 20-Mar-2017 19:32:15.612 GRAVE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/MyApplication]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.IllegalArgumentException: El mapeo de filtro especifica un nombre desconocido de filtro PrimeFaces FileUpload Filter at org.apache.catalina.core.StandardContext.validateFilterMap(StandardContext.java:2987) at org.apache.catalina.core.StandardContext.addFilterMap(StandardContext.java:2950) at org.apache.catalina.startup.ContextConfig.configureContext(ContextConfig.java:1275) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1190) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:775) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5114) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 10 more 20-Mar-2017 19:32:15.615 GRAVE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Error durante el despliegue del archivo C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\MyApplication.war de la aplicación web java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/MyApplication]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:756) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 20-Mar-2017 19:32:15.621 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\MyApplication.war has finished in 16.856 ms 20-Mar-2017 19:32:15.625 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Despliegue del directorio C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\docs de la aplicación web 20-Mar-2017 19:32:15.899 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\docs has finished in 274 ms 20-Mar-2017 19:32:15.900 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Despliegue del directorio C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\examples de la aplicación web 20-Mar-2017 19:32:16.762 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\examples has finished in 862 ms 20-Mar-2017 19:32:16.762 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Despliegue del directorio C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\host-manager de la aplicación web 20-Mar-2017 19:32:16.833 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\host-manager has finished in 71 ms 20-Mar-2017 19:32:16.834 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Despliegue del directorio C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\manager de la aplicación web 20-Mar-2017 19:32:16.954 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\manager has finished in 120 ms 20-Mar-2017 19:32:16.955 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Despliegue del directorio C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\ROOT de la aplicación web 20-Mar-2017 19:32:16.999 INFORMACIÓN [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.5\webapps\ROOT has finished in 44 ms 20-Mar-2017 19:32:17.008 INFORMACIÓN [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [http-nio-8081] 20-Mar-2017 19:32:17.047 INFORMACIÓN [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [ajp-nio-8009] 20-Mar-2017 19:32:17.054 INFORMACIÓN [main] org.apache.catalina.startup.Catalina.start Server startup in 18447 ms tomcat8-stdout.2017-03-20.log 2017-03-20 19:31:55 Commons Daemon procrun stdout initialized And the web.xml of my application is: <?xml version="1.0" encoding="UTF-8"?> <web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"> <context-param> <param-name>primefaces.THEME</param-name> <param-value>bootstrap</param-value> </context-param> <context-param> <param-name>javax.faces.PROJECT_STAGE</param-name> <param-value>Development</param-value> </context-param> <context-param> <param-name>facelets.LIBRARIES</param-name> <param-value>/WEB-INF/tsp.taglib.xml</param-value> </context-param> <context-param> <param-name>primefaces.FONT_AWESOME</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE</param-name> <param-value>true</param-value> </context-param> <mime-mapping> <extension>ttf</extension> <mime-type>application/x-font-ttf</mime-type> </mime-mapping> <mime-mapping> <extension>woff</extension> <mime-type>application/x-font-woff</mime-type> </mime-mapping> <mime-mapping> <extension>woff2</extension> <mime-type>application/x-font-woff2</mime-type> </mime-mapping> <mime-mapping> <extension>eot</extension> <mime-type>application/x-font-eot</mime-type> </mime-mapping> <filter-mapping> <filter-name>PrimeFaces FileUpload Filter</filter-name> <servlet-name>Faces Servlet</servlet-name> </filter-mapping> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>/faces/*</url-pattern> </servlet-mapping> <session-config> <session-timeout> -1 </session-timeout> </session-config> <welcome-file-list> <welcome-file>faces/index.xhtml</welcome-file> </welcome-file-list> </web-app> Could you help me to understand and solve the error? Thank you very much!!
{ "redpajama_set_name": "RedPajamaStackExchange" }
Thomas Prince (20 February 1879 – 1950) was an English professional footballer who played as a winger for Sunderland. References 1879 births 1950 deaths People from Hetton-le-Hole Footballers from Tyne and Wear English footballers Association football wingers Selbourne F.C. players Sunderland A.F.C. players English Football League players
{ "redpajama_set_name": "RedPajamaWikipedia" }

TinyPajama

Subset of SlimPajama

Approximately 10B tokens

Downloads last month
76
Edit dataset card