identifier
stringlengths
7
768
collection
stringclasses
3 values
open_type
stringclasses
1 value
license
stringclasses
2 values
date
float64
2.01k
2.02k
title
stringlengths
1
250
creator
stringlengths
0
19.5k
language
stringclasses
357 values
language_type
stringclasses
3 values
word_count
int64
0
69k
token_count
int64
2
438k
text
stringlengths
1
388k
__index_level_0__
int64
0
57.4k
https://pt.wikipedia.org/wiki/Sceliphron
Wikipedia
Open Web
CC-By-SA
2,023
Sceliphron
https://pt.wikipedia.org/w/index.php?title=Sceliphron&action=history
Portuguese
Spoken
444
1,008
Sceliphron é um género de himenópteros da familia Sphecidae. Está distribuído por todo o mundo, excepto nas regiões polares. Biologia São solitários e usam barro para construir ninhos, por regra em zonas sombrias, por vezes mesmo no interior de portas e janelas; a construção cabe à fêmea, que pode construir uma célula por dia. O barro é transportado do seu local de origem até ao ninho através de dezenas de viagens da fêmea. As fêmeas adicionam novas células ao ninho uma por uma, à medida que as já construídas vão sendo fornecidas com presas (aranhas paralisadas para alimentar as larvas). Cada célula de barro contém um ovo, podendo as fêmeas pôr em média 15 ovos durante a sua vida. Vários parasitas atacam esses ninhos, como as vespa-cuco da família Chrysididae, que põem os seus ovos nos ninhos da Sceliphron, sendo tanto a larva ou o ovo desta como a aranha devorados pela larva da vespa-cuco. Como em outros géneros de insectos, muitas espécies são tropicais. As mais comuns nas zonas temperadas são S. caementarium, S. sprifex e S. curvatum. Como outras vespas solitárias, as Sceliphron não são agressivas para o homem se não forem atacadas. São consideradas benéficas devido ao seu controle da população de aranhas, embora as próprias aranhas também possam ser úteis no controle de outras pragas. Espécies como a Sceliphron curvatum são invasoras em algumas partes de Europa, onde se tem observado um rápido incremento da sua distribuição nos últimos anos. Espécies Sceliphron Klug 1801 Sceliphron spirifex Linnaeus 1758 (Sphex); África, Sul da Europa. Sceliphron asiaticum Linnaeus 1758 (Sphex), sin. S. figulum; Neotrópicos Sceliphron caementarium Drury 1773 (Sphex); América do Norte, chegou à Europa e às ilhas do Pacífico durante os anos 70. Sceliphron jamaicense Fabricius 1775; México, Caraíbas Sceliphron madraspatanum Fabricius 1781; Mediterrâneo Sceliphron (m.) tubifex Latreille 1809; Mediterrâneo Sceliphron destillatorium Illiger 1807; Sul do Paleártico Sceliphron assimile Dahlbom 1843 (Pelopoeus); Texas, México e Caraíbas Sceliphron fistularium Dahlbom 1843; Neotrópicos Sceliphron javanum Lepeletier 1845 Sceliphron coromandelicum Lepeletier 1845 Sceliphron chilensis Spinola 1851 Sceliphron laetum Smith 1856; Austrália Sceliphron formosum Smith 1856; Austrália Sceliphron deforme Smith 1856; Ásia, visto na Europa desde 2004. Sceliphron benignum Smith 1859 Sceliphron curvatum Smith 1870; Ásia, na Europa desde os anos 70 Sceliphron quartinae Gribodo 1884 Sceliphron imflexum Sickmann 1894 Sceliphron nalandicum Strand 1915 Sceliphron argentifrons Cresson 1916 Sceliphron bugabense Dalla Torre 1897 Sceliphron cyclocephalum Dalla Torre 1897 Sceliphron intermedium Dalla Torre 1897 Sceliphron rufiventre Dalla Torre 1897 Sceliphron abdominale Dalla Torre 1897 Sceliphron soror Dalla Torre 1897 Sceliphron caucasicum Dalla Torre 1897 Ligações externas Artigo sobre uma espécia australiana, Sceliphron formosum (em Inglês) Artigo sobre uma espécie norte-america, Sceliphron caementarium (em Inglês) Sphecidae !
34,009
https://ca.wikipedia.org/wiki/Roberto%20Venturoni
Wikipedia
Open Web
CC-By-SA
2,023
Roberto Venturoni
https://ca.wikipedia.org/w/index.php?title=Roberto Venturoni&action=history
Catalan
Spoken
245
552
Roberto Venturoni (Roma, 22 d'octubre de 1945 - Roma 18 de setembre de 2011) va ser un pintor italià. Va començar a pintar de jove, seguint l'estil figuratiu del seu temps, principalment paisatgístic. Es revela com a artista amb una intensa activitat productiva com a pintor, escultor i gravador. Per sobre de tot pintor, investiga i experimenta diferents solucions estilístiques pictòriques, prefereix l'impressionisme. Ha assistit a cursos d'especialització en pintura i gravat des del 1973, estudiant dibuix, aquarel·la i pastel amb Silvio Bicchi a Roma. Des del 1979 ha seguit cursos de tècniques de gravat i impressió de calcografia al laboratori escolar Luigi Guardigli "ELLEGI". Va conèixer famosos exponents de l'art pictòric italià, però va ser sobretot amic de Paolo Salvati (1939-2014), company de nombroses exposicions. Venturoni va morir el 2011 a Roma. Bibliografia Catalog. I paesaggi di Roberto Venturoni: percezione e comunicativa di una efficace interpretazione, by Carlo Savini, 1987. Monograph, Roberto Venturoni: i paesaggi dell'io; by Dario Micacchi, 1990. Catalog, Venturoni: Sala del Bramante, 1991. Catalog, L'incisione: Roberto Venturoni, by Roberta Perfetti, 1994. Catalog, Venturoni: strutture, maschere e manufatti: opere grafiche, 1995. Catalog, Le maschere di Roberto Venturoni, by Domenico Guzzi, 1999. Monograph, Venturoni: terrecotte, 1999, Edizioni Four For Art, Roma,. Catalog, Roberto Venturoni: l'opera grafica: 1979-2002, by Ferruccio Massimi, 2003. Catalog, Venturoni: opere astratte 2006. Catalog, Venturoni: Blu cosmici: Castel Sant'Angelo, 8-10 dicembre 2007. Referències Enllaços externs Roberto Venturoni on Artprice.com Pintors italians del segle XX Pintors de Roma Morts a Roma
30,680
https://ceb.wikipedia.org/wiki/Sch.Bip.%20%28awtor%29
Wikipedia
Open Web
CC-By-SA
2,023
Sch.Bip. (awtor)
https://ceb.wikipedia.org/w/index.php?title=Sch.Bip. (awtor)&action=history
Cebuano
Spoken
20
50
Si Sch.Bip. nga ang hamubong pangalan niini nag tudlo kang: Carl Heinrich Schultz Bipontinus Carl Heinrich Schultz "Bipontinus" Mga awtor
10,679
https://et.wikipedia.org/wiki/Aktant
Wikipedia
Open Web
CC-By-SA
2,023
Aktant
https://et.wikipedia.org/w/index.php?title=Aktant&action=history
Estonian
Spoken
385
1,037
Aktant on moodustaja, mis märgib lauses situatsiooni osalist. Aktantide olemasolu, arvu, funktsiooni ja vormistuse määrab lauses semantiline predikaat, milleks võib olla öeldis, öeldis koos öeldistäitega, kõrvallause öeldis (+ öeldistäide) või tegusõna käändeline vorm (infiniittarindi põhi). Primaarne semantiline predikaat on öeldis. Semantiline predikaat on lause semantiline kese ning väljendab lauses situatsiooni tüüpi. Näiteks lauses Ta kardab ämblikke. on semantiliseks predikaadiks öeldis kardab, mis väljendab kartmise situatsiooni, ning situatsioonis osalejateks ehk aktandideks on öeldise seotud laiendid ta ja ämblikke. Aktant võib olla öeldise seotud laiend või vaba laiend. Aktandi semantilised funktsioonid Aktandi semantiline funktsioon on situatsiooni osaliste rollide näitamine. Aktantide kirjelduse täpsusest oleneb konkreetsete funktsioonide arv. Osa funktsioone esineb ainult teatud käände- või kaassõnakasutuses (nt võib aktant olla ainult kaasaütlevas käändes), osade funktsioonide süntaktiline taust on laiem. Viimaste hulka kuuluvad: tegija ehk agent on teadlikult toimiv, oma tegevust kontrolliv osaline: Sprinter jookseb 400 meetrit; Vaasis on minu valitud lilled. kogeja on psüühilises situatsioonis osaleja: Miia armastab loomi; Mulle ei meeldi see raamat. valdaja: Need paberid on minu käes; Ma sain need paberid Peetrilt. neutraalne osaline: Uksed on avatud; Konn on kahepaikne. vahend: Ta avas ukse võtmega; Pult paneb teleka tööle. koht: Lapsed on kinos; Isa kiirustab tööle. aeg: Hommikuti tõuseb päike; Ema tuli õhtul koju. Tegevussubjekt Tegevussubjekt on aktant, mis täidab lauses tähelepanuväärseima osalise rolli - see on teiste osalistega võrreldes semantiliselt esile tõstetud. Tegevussubjekt on alati situatsiooni aktiivseim osaline – tegevuse sooritaja, seisundis või protsessis osaleja. Erinevates lausetes võivad tegevussubjektiks olla erinevaid konkreetseid semantilisi funktsioone täitvad aktandid. Kui lauses on olemas tegija ehk agent, on see tegevussubjekt, nt Ma lugesin raamatu läbi. Kui lauses puudub tegija ehk agent, on tegevussubjektiks kogeja või valdaja, nt Mulle meeldivad hobused. Kui lauses pole tegijat ega kogejat või valdajat, on tegevussubjektiks tavaliselt vahend, nt Nuga lõikas kätte. Primaarne tegevussubjekt on lauses alus ehk grammatiline subjekt. Eesti keeles võib alalütlevas ehk adessiivis, alaleütlevas ehk allatiivis või osastavas käändes ehk partitiivis võib tegevussubjekt olla vaid kogeja-omajalauses ja olemasolulauses, omastavas käändes ehk genitiivis esineb sekundaartarind tegevussubjekt (tema nähes). Tegevusobjekt Tegevusobjekt on aktant, mis näitab, kellele või millele on lausega tähistatud tegevus suunatud. Tegevusobjekt vastandub tegevussubjektile. Primaarne tegevusobjekt on lauses sihitis ehk grammatiline objekt, nt Ma armastan teda; Mees kaevas kraavi. Tegevusobjekt võib olla ka määrus, nt Ta andestab sulle; Ta noogutas mulle''. Vaata ka Lause semantiline funktsioon Lause moodustajad Tegusõna valents Viited Süntaks
12,469
https://cs.wikipedia.org/wiki/Plze%C5%88%208-%C4%8Cernice
Wikipedia
Open Web
CC-By-SA
2,023
Plzeň 8-Černice
https://cs.wikipedia.org/w/index.php?title=Plzeň 8-Černice&action=history
Czech
Spoken
514
1,290
Plzeň 8-Černice je městský obvod rozkládající se na jihovýchodním okraji statutárního města Plzně. Se svoji rozlohou 500,58 ha se řadí mezi 8. největší městský obvod statutárního města Plzně. Městský obvod zahrnuje celé katastrální území Černice. Protéká jím řeka Úhlava. Je zde evidováno 42 ulic a 492 adres. Trvalý pobyt zde má 1750 obyvatel(k 26.3.2021) (7. nejlidnatější obvod města Plzeň). Sousedící městské obvody a obce Území městského obvodu sousedí na severu s městským obvodem Plzeň 2-Slovany, na východě s městem Starým Plzencem, na jihu s obcí Losiná, na jihozápadě s obcí Štěnovice a na západě s městským obvodem Plzeň 3. Historie obce Černice jsou jednou z vesnických památkových rezervací na území Plzeňského kraje. Selská náves v Plzni-Černicích má návesní půdorys středověkého původu s charakteristickou kapličkou (z roku 1875). Zděné obytné a hospodářské stavby se vyznačují náročnou výzdobou štítových průčelí a vjezdových bran, typickou pro širší oblast Plzeňska. Nejstarší psané zmínky o vesnici jsou již z 1. poloviny 15. století, kdy patřila k Plzni. V berní knize z roku 1418 je uvedeno 27 hospodářů. Byla největší plzeňskou vsí, teprve po ní následovaly Skvrňany s 24 usedlostmi a Radobyčice s 16 usedlostmi. V roce 1496 na jižní straně obce založili velký rybník, po Boleveckém největší. Tento černický rybník byl v roce 1836 zrušen. Od 17. století se v několika vápencových lomech nacházel kvalitní vápenec a ten se zpracovával v pecích na vynikající vápno. První zmínky o celkem dvanácti vápenicích se datují z roku 1661, ale před koncem 19. století zanikly. Místo nich vznikly v obci cihelny, k nimž dal podnět nález ložisek kvalitní cihlářské hlíny. Cihelny zastavily výrobu až v poslední třetině 20. století. V roce 1826 byla v Černicích zřízena obecná škola (nyní Tyršova základní škola) a v roce 1887 byla postavena nová budova školy. Od roku 1953 jsou Černice napojeny na městskou hromadnou dopravu a obslouženy trolejbusovou linkou. Společenský život v obci významně dotváří Tělovýchovná jednota Sokol Černice a Sbor dobrovolných hasičů Černice. V roce 1983 byla otevřena nová hasičská zbrojnice, kterou hasiči vybudovali svépomocí. Novodobá historie obce 1. dubna 1992 se Černice staly samostatným městským obvodem s vlastním obecním zastupitelstvem. Od roku 1993 až do současnosti probíhá v městském obvodě rozsáhlá modernizace. Byly vybudovány kompletní inženýrské sítě, zrekonstruovány ulice včetně chodníků a vyrostly nové obytné zóny s rodinnými a bytovými domy. V roce 1998 městský obvod slavnostně dokončil ve spolupráci se Sokolem Černice vysněné travnaté fotbalové hřiště se sociálním zázemím pro místní sportovce. Velké nákupní centrum OLYMPIA s multikinem CINESTAR působí na území Černic od roku 2004. Od roku 2004 přibyla v městském obvodě autobusová linka MHD propojující Černice s městským obvodem Plzeň 3 (konečná Bory) přes Radobyčice. V roce 2006 byla dokončena dálnice D5, která tvoří obchvat Plzně a přímo zasahuje do území městského obvodu. Přes dálnici vede lávka pro pěší a cyklisty. Je to ojedinělá stavba zavěšená na lanech, měřící pětašedesát metrů. Díky závěsné konstrukci má výrazný vzhled. Tato lávka slouží turistům především jako oblíbená trasa na královský hrad Radyni. V roce 2007 zde zahájil činnost minipivovar s názvem Purkmistr. Historický přehled starostů městského obvodu Odkazy Reference Externí odkazy Městské obvody Plzně
26,790
https://azb.wikipedia.org/wiki/%DB%B1%DB%B9%DB%B4%DB%B6-%D8%AC%DB%8C%20%D8%A7%DB%8C%D9%84%20%D8%A7%DB%8C%D8%B1%D8%A7%D9%86%20%D8%A8%D8%AD%D8%B1%D8%A7%D9%86%DB%8C
Wikipedia
Open Web
CC-By-SA
2,023
۱۹۴۶-جی ایل ایران بحرانی
https://azb.wikipedia.org/w/index.php?title=۱۹۴۶-جی ایل ایران بحرانی&action=history
South Azerbaijani
Spoken
82
398
''۱۹۴۶-جی ایل ایران بحرانی (اینگیلیسجه: Iran crisis of 1946) سویوق ساواشنین بیر قیسمی‌دیر. ایران ایله آذربایجان میلی حوکومتی و مهاباد جومهوریتی آراسیندا اوز وئرمیش‌دیر. ۱۳۲۵-ین ۲۱ آذر گۆنونده آذربایجان میلّی حؤکومتی یؽخیلدی و پهلوی حؤکومتی ۲۱ آذر سویقیریمی آدی آلتیندا تانینان بؤیوک بیر سوْیقیریم سالدی و ۲۵ مین اینسانی اؤلدوردو . گؤرونتولر قایناق‌لار اینگیلیسجه ویکی‌پدیاسی‌نین ایشلدنلری طرفیندن یارانمیش«Iran crisis of 1946»، مقاله‌سیندن گؤتورولوبدور.( ۲۸ سپتامبر ۲۰۱۸ تاریخینده یوْخلانیلیبدیر). ساواشلار ۱۹۴۶-جی ایلده ایران ۱۹۴۷-جی ایلده ایران ایرانین ساواش‌لاری شوروینین ساواش‌لاری آذربایجان جومهوریتینین ساواش‌لاری
9,953
https://et.wikipedia.org/wiki/Reet%20Ann%20Nurmberg
Wikipedia
Open Web
CC-By-SA
2,023
Reet Ann Nurmberg
https://et.wikipedia.org/w/index.php?title=Reet Ann Nurmberg&action=history
Estonian
Spoken
221
624
Reet Ann Nurmberg (aastast 1974 Reet Howell; 19. märts 1945 Ängelholm, Rootsi – 10. juuni 1993 Brisbane, Austraalia) oli eestlasest sporditeadlane ja -ajaloolane. Ta sündis Ängelholmis Skåne maakonnas Rootsis. 1967. aastal lõpetas ta ajaloolasena Kanadas Toronto Ülikooli, ta oli Eesti Akadeemilise Kodu esimees ja korporatsiooni Filiae Patriae esinaine. 1970. aastal kaitses ta Alberta Ülikoolis magistrikraadi ja 1972. aastal Berkeley ülikoolis (USA California osariigis) doktorikraadi teemal "Sport ja kehaline kasvatus Eestis" Ta on tegelenud võimlemise, tennise ja pikamaajooksuga. Ta pidas aastatel 1972–1973 loenguid Palomari kolledžis, aastatel 1974–1979 oli ta San Diego ülikoolis abi- ja kaasprofessor, aastatel 1979–1981 oli ta Ottawa ülikoolis kaasprofessor. 1982. aastal pidas ta loenguid Brisbane'i kolledžis, aastatel 1983–1989 oli ta teadur Queenslandi Ülikoolis, aastatel 1983–1989 kaasprofessor Queenslandi Tehnikaülikoolis. Ta osales Austraalia Olümpiakomitee allüksuste ja rahvusvaheliste teadusorganisatsioonide töös, aitas korraldada ülemaailmseid konverentse ja kongresse. Ta on kirjutanud 15 raamatut ja üle poolesaja ulatusliku artikli või raamatupeatüki (enamasti koos abikaasa Max Howelliga). Ta oli 1982. aastal üks Austraalia Mängude peakorraldajaid. 1991. aastal valiti ta Ameerika Kehalise Kasvatuse Akadeemia kirjavahetajaliikmeks, 1992. aastal Austraalia Olümpiakomiteesse, 1993. aastal pälvis Saksa Olümpiainstituudilt aunimetuse Olympic Scholar. Isiklikku Ta abiellus 1974. aastal Max Howelliga. Mäesuusataja Tiiu Nurmberg on tema vennatütar. Kirjandus Kes on kes? Kes on kus? Kaugete maade eestlased. Lühielulood. Vello Lään. Olion 2011. Välislingid http://isik.tlulib.ee/index.php?id=1618 Ajaloolased Väliseestlased Korporatsioon Filiae Patriae liikmed Sündinud 1945 Surnud 1993
1,686
https://fr.wikipedia.org/wiki/Liste%20des%20parlements%20supranationaux
Wikipedia
Open Web
CC-By-SA
2,023
Liste des parlements supranationaux
https://fr.wikipedia.org/w/index.php?title=Liste des parlements supranationaux&action=history
French
Spoken
99
171
Cet article recense les parlements supranationaux et institutions interparlementaires, c'est-à-dire, des assemblées dont les parlementaires sont généralement élus au sein de leurs instances nationales et qui assurent la représentation du peuple de plusieurs États au sein d'une même institution. Par rapport aux parlements nationaux, leurs fonctions sont fortement variables et vont d'un simple rôle consultatif à une compétence législative supra-étatique. Notes et références Notes Références Voir aussi Bibliographie . . Articles connexes Organisation supranationale Organisation intergouvernementale Liste des parlements actuels Liens externes Les procédures décisionnelles de type supranational dans l'Union européenne, sur le site du Parlement européen. . .
25,841
https://ar.wikipedia.org/wiki/%D8%BA%D8%A7%D8%B1%D9%84%D8%A7%D9%86%D8%AF%20%D8%B1%D8%A7%D9%8A%D8%AA
Wikipedia
Open Web
CC-By-SA
2,023
غارلاند رايت
https://ar.wikipedia.org/w/index.php?title=غارلاند رايت&action=history
Arabic
Spoken
41
131
غارلاند رايت هو ضابط أمريكي، ولد في 4 أغسطس 1954. مراجع أدميرالات بحرية الولايات المتحدة أفراد البحرية الأمريكية في حرب العراق حائزون على وسام الاستحقاق الأمريكي خريجو الأكاديمية البحرية الأمريكية خريجو جامعة سان دييغو الحكومية خريجو كلية الحرب البحرية مواليد 1954
9,568
https://stackoverflow.com/questions/19976161
StackExchange
Open Web
CC-By-SA
2,013
Stack Exchange
Vlad Alexeev, https://stackoverflow.com/users/2735262, https://stackoverflow.com/users/2976267, pavanmvn
Dutch
Spoken
277
494
Android java - Correct way of onActivityResult() with local service working? I have a local service and I let my program go further in onServiceConnected method : intentaudio=new Intent(this,AudioService.class); sConn=new ServiceConnection() { @Override public void onServiceDisconnected(ComponentName name) { // TODO Auto-generated method stub bound=false; } @Override public void onServiceConnected(ComponentName name, IBinder binder) { // TODO Auto-generated method stub audioService = ((AudioService.MyBinder) binder).getService(); bound = true; body(); //this is the main code for the Activity - I moved it to separate method } }; startService(intentaudio); bindService(intentaudio, sConn, 0); so, during this Activity I start another one : intent=new Intent(mContext,Prayer.class); startActivityForResult(intent,1); and second Activity goes well, but.. if I go back - I don't know what to do. in onActivityResult - I need service to connect back, so I should do another sConn=new ServiceConnection() {... etc, but how can I just let the Activity go on connected to service? As you see, the whole Activity is in onServiceConnected method so it can interact with service immideately. So.. I just don't know what to do. Please help! utilise onpause onrestart onresume.. sry for not clear answer from me, my intention is use restart your service when your coming back to the previous activity by using onrestart or re create activity.. okay, look.. This activity goes inside onServiceConnected method, second Activity also works inside onServiceConnected method. So when I go back to onActivityResult method - how do I properly restart service connection? you mean it can be bound in both Activities at the same time? if you are starting service application level it won't occur where ever you are, if activity level we have to handle the service in different way..
15,767
https://stackoverflow.com/questions/33489952
StackExchange
Open Web
CC-By-SA
2,015
Stack Exchange
Craig Ringer, https://stackoverflow.com/users/398670
English
Spoken
566
763
Psql - sub queries in from clause - bad practice? The task at hand is to select musicians (pid) and the amount of instruments each play, including instruments only played at a concert - these instruments might not be in the [plays] table. I've solved it, but I read that sub queries in a from clause should be avoided if possible. Just out of curiosity, can anyone show me a more effective way? Or is this a good solution? I'm using psql. select a.pid, sum(a.instr) from ( select pid, count(instr) as instr from plays group by pid union all select pid, count(instr) as instr from concert group by pid ) as a group by a.pid; Such queries are not a issue. The query optimizer of the database will take care of getting the best out of this query. In some cases a INNER JOIN will be converted to exactly the same execution plan as a sub-SELECT. If you think the query has a problem you can always fire up the EXPLAIN ANALYZE function of psql. This will give you a overview what your query is actually doing. This way you can also compare different ways to write the query. The example you gave... I do not think you can solve this without sub-queries very easily. I think the way you chose is good. Anything involving some LEFT JOINs will be more difficult to read. To be more specific, the query planner can and often does flatten subqueries, pull conditions up from subqueries to the outer query, push conditions down from the outer query into subqueries, etc. Subqueries are mostly just notational, and don't have as much to do with how the query really gets executed as you might expect. At least in PostgreSQL. Advantages Subqueries are advantageous because they structure the query to isolate each part of the statement, perform the same operation that would ordinarily require complex joins and unions and are easier to read. Disadvantages When using subqueries the query optimizer may need to perform additional steps so they take longer to execute than a join. Uncorrelated subqueries are executed one time for each row of the parent query. If this kind of subqueries process a great amount of data, you should expect it to take a very long time to process the data. Possible solution: You can create temporary tables for storing the data of subqueries, then use a JOIN for completing the query. Remember that using a JOIN is better than using a subquery. How to Create a Table Use a with clause. WITH provides a way to write auxiliary statements for use in a larger query. These statements, which are often referred to as Common Table Expressions or CTEs, can be thought of as defining temporary tables that exist just for one query. It allows you to execute a subquery just once instead of executing it for each row. How to Use With Clause NOTICE: You should avoid using UNION or UNION ALL. Your disadvantages are incorrect. A correlated subquery is executed once for each row in the outer query, but an uncorrelated subquery isn't. A temp table is often slower, and unnecessary since you could use a CTE, which also has issues due to optimiser fencing. This really isn't accurate. The advantage part isn't correct either, for that matter, since the optimiser can pull up, push down and flatten subqueries.
29,436
https://stackoverflow.com/questions/41720469
StackExchange
Open Web
CC-By-SA
2,017
Stack Exchange
English
Spoken
226
290
Moving popup to back - C# UWP Universal Windows Is there a way to move a popup to back, so it does not always display on the front of the application? I have a canvas that displays many shapes, which are resizable. To get the resize box I am using a popup, because it was suggested that the best way would be to use adorners, but these are not used in UWP, so the alternative are popups. It works quite well, but when I have another element overlaying my canvas and resizing was enabled on a shape, the popup elements (resize thumbs/nodes) are displayed on top of the element that should be overlaying the canvas. Is there a way to tell the popup that it should not display on a "higher level" than my canvas? A Popup control is intended to be displayed on top of all other content so it seems you're not using an appropriate control for what you are trying to achieve. Without seeing more of your code and having a clearer idea of what you're doing (repro?) it's hard to suggest what you should do. However, I'd avoid resizing control that aren't on top of the viewable area or having multiple items in a resizable mode (or just with adorners displayed) at a time. Both of these should avoid what you're reporting.
33,174
https://stackoverflow.com/questions/49069031
StackExchange
Open Web
CC-By-SA
2,018
Stack Exchange
Daniel Rearden, JamesG, https://stackoverflow.com/users/1058586, https://stackoverflow.com/users/6024220
English
Spoken
572
1,120
Apollo Client and Redux setup causes infinite render loop I'm trying to link up React Apollo with Redux so Apollo performs the queries and mutations, and the returned data is dispatched to the Redux store in order to distribute the data around the app. I believe I'm close to getting it right, but for some reason the app goes into an infinite loop of Redux dispatches, and I can't figure out why. See code below: class Admin extends Component { constructor(props) { super(props); } render({ adminAllTokens }, {}) { return ( /* JSX */ ) ); } } const AllRefreshTokens = gql ` query { allUsers { refreshToken email } } `; const gqlWrapper = graphql(AllRefreshTokens, { props: ({ ownProps, data }) => { ownProps.receivedAdminTokens(data.allUsers); //dispatch to Redux store return { ...data, gqladminAllTokens }; } }); function mapStateToProps(state, ownProps) { return { adminAllTokens: state.auth.adminAllTokens }; } function mapDispatchToProps(dispatch) { return { receivedAdminTokens: tokens => { dispatch(adminTokensReceived(tokens)); } }; } const reduxWrapper = connect(mapStateToProps, mapDispatchToProps); export default compose(reduxWrapper, gqlWrapper)(Admin); The adminTokensReceived() action is in the reducer file: export const adminTokensReceived = tokens => ({ type: 'ADMIN_TOKENS_RECEIVED', tokens }); The GraphQL query only sends one network request, but the console is showing the ADMIN_TOKENS_RECEIVED action dispatching constantly and crashes the browser. Thanks in advance Whenever the Apollo HOC receives new props, it causes your action to fire, which updates the store and sends new props to your Apollo HOC, which causes your action to fire... There's a couple of different ways you could handle this. In my mind, the most straightforward would be to drop the graphql HOC and use withApollo instead. Something like: compose( withApollo, connect(mapStateToProps, mapDispatchToProps) lifecycle({ componentDidMount() { const { client } = this.props client.query({ query: AllRefreshTokens }) .then(({data}) => { receivedAdminTokens(data.allUsers) }) .catch( //any error handling logic ) } }) ) The above uses recompose's lifecycle but you could just as easily stick the componentDidMount method inside your component. That said, it seems a little redundant to use Redux to store the results of your GraphQL queries when Apollo already does it for you. Apollo's default behavior is to retrieve the data from the cache first, and only make a network request if the data doesn't exist (which is also why you only saw the one network call). That means any number of components inside your app could be wrapped with the same graphql HOC, and only the first component to be rendered would trigger a request to your GraphQL endpoint -- all other components would get their data from the cache. Thanks so much for the reply, I understand what you mean. I am trying to replicate what the following repo is doing: https://github.com/MacKentoch/react-redux-graphql-apollo-bootstrap-webpack-starter/blob/master/src/app/views/register/index.js - do you know why this is able to mix them both together but mine won't work? I see what you mean about Redux being kind of obsolete though. In that example, the actions are being fired off in response to a mutation, unlike what you're trying to do here. It doesn't look like that repo uses Redux to persist the query results, it relies on the existing cache: https://github.com/MacKentoch/react-redux-graphql-apollo-bootstrap-webpack-starter/blob/01e344471c1435881a00e0f5c525409dc45b8887/src/app/views/home/index.js#L47 Ok thanks for responding again. My final reason for wanting to include redux still was because I think it's good for setting global state on things like loading states. i.e. start loading and finished loading states, but I guess all that can be handled by Apollo too. I wonder why the repo even uses redux?
46,648
https://ux.stackexchange.com/questions/68541
StackExchange
Open Web
CC-By-SA
2,014
Stack Exchange
English
Spoken
344
449
Where is the best place to put Terms & Conditions in a sign-up flow? I am creating an app that when the user taps a certain action button such as "Follow" they are taken through the login flow. Included in the login flow is 1) Asking for Facebook permission 2) Creating a profile (Name, Picture, Email, Phone) 3) Accepting Terms & Conditions We need to actually show the T&C's for legal purposes so we can't have the "By creating a profile you are accepting our Terms & Conditions" format. I was hoping to get some answers or statistics on whether placing it before or after "Create a profile" would be a better experience for the user or a higher conversion rate of accepting the T&C's. I strongly recommend that you put the T&C first, followed by the Facebook agreement, followed by the account creation. This is the most logical flow because the end user will want to know there rights above anything, and know how their personal information will be handled, with creating an account being the least important step. The best option for T&C is use a check box with the link to TC, only when the check box is selected you can go to the next step. Another alternative is to show the T&C and have the Agree or Not agree with the display. I think i would say the obvious: the common patter for that now is [] I agree to the {Company Name} Terms and Conditions [] I accept the terms and conditions. where [] is a checkbox. I think this is somewhat debatable. if they are agreeing to your Facebook sign in and you get the permissions, what happens if they decline the t&c? I would question if in this case and t&c should be the first thing that is shown to the user followed by account creation/facebook permission request. I would also like to know in what way you're planning to present the user with the t&c and how long it is. (This can help us helping you).
14,230
nzSbYDIbsIg_1
Youtube-Commons
Open Web
CC-By
null
SPY PLAY OF THE DAY REVIEW THE STOCK SWOOSH 3-23-2020
None
English
Spoken
386
494
Hello everyone and welcome. This is Melissa Arma with the Stock Swoosh and reviewing the spy here. Market has had a wild ride here once again today. This just continues the volatility. Don't expect this to go away anytime soon. Don't expect this volatility to go away even after they pass the stimulus package. In fact, there'll probably be more volatility. So long story short, we were down pretty big this morning. Then we were gapping up this morning. Then we ended up the last 15 minutes right from 9.15 to 9.30, right into the end of the open. We actually then ended up gapping down. So it was a wild ride in the pre-market today. Really the wildest ride I've seen in a long time, but we've been seeing a lot of wild rides. So it's hard to keep track of it anymore. Every day runs together now. But we closed at 2.2880 on Friday. Then we opened at 2.2819 on Monday. And again, I'm just going to show you this here. We were up at one point this morning substantially. Actually, let's just see where the high was. 2.3889. Now I would not have bought this, but I'm just letting you know we were here. And then we lost it and we're open down here. Anyways, I called a fast, just a really quick day trade short. And the spy this morning was a good idea. It was a wonderful trade and went bigger than expected. And it's interesting because I really wasn't anticipating doing anything today. And then all of a sudden I'm like, oh, here this is. So the market dropped, fell off, rallied back, called the short, got the drop. And there it was. So a nice short today in the spy. You could have done the spy. You could have done the cues. You could have done Apple. You could have shorted any one of a number of things today. But a really nice day trade called by me. So I call the entry, the stop and the exit in the live trading room for equity trades. If you're interested in doing options, that's a separate newsletter. It's called the gap options newsletter. You can sign up for that. It is on the website or email me for more information.
17,375
https://stackoverflow.com/questions/19127167
StackExchange
Open Web
CC-By-SA
2,013
Stack Exchange
Foo Bar User, M. Deinum, Sotirios Delimanolis, https://stackoverflow.com/users/1624763, https://stackoverflow.com/users/2696260, https://stackoverflow.com/users/438154
English
Spoken
251
782
Handler mapping issue after integrating with spring security I have two mapping patter /userdetails one for get request and one for post request. It was working fine till I integrated Spring authorization into my project. Now I am getting below error any idea why this is happening? My Two mappings are like this. @RequestMapping(value = "/userdetails* ", method = RequestMethod.GET) @RequestMapping(value = "/userdetails*", method = RequestMethod.POST) Please suggest any reason for this error. Caused by: java.lang.IllegalStateException: Cannot map handler 'LoginController' to URL path [/userdetails]: There is already handler of type [class com.sample.user.controller.MyController] mapped. at org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(AbstractUrlHandlerMapping.java:390) at org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(AbstractUrlHandlerMapping.java:362) at org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping.detectHandlers(AbstractDetectingUrlHandlerMapping.java:82) at org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping.initApplicationContext(AbstractDetectingUrlHandlerMapping.java:58) at org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(ApplicationObjectSupport.java:119) at org.springframework.web.context.support.WebApplicationObjectSupport.initApplicationContext(WebApplicationObjectSupport.java:72) at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:73) at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces(ApplicationContextAwareProcessor.java:117) at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:92) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:396) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1475) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521) There must another handler that you aren't posting. The error is telling you there is already a handler method mapped for that type of request. check this http://stackoverflow.com/questions/4802293/spring-beancreationexception-confusion-about-mapping Which Spring version are you using and post the output of mvn dependency:tree. My guess you are using mvc:annotation-driven /> and due to Spring Security you get the 3.0 version instead of the 3.1 (or up) version. I faced similar kind of problem. I have defined the controller class with "@Controller" and also in the Spring-config.xml file as a bean and have injected the dependencies. This was causing the problem. @Controller is defining the bean and again, the bean defined in the xml file is redefining the dependencies. I tried autowiring the dependency and removed it as a bean from the xml file. Then it worked.
26,679
https://stackoverflow.com/questions/78086173
StackExchange
Open Web
CC-By-SA
null
Stack Exchange
Quốc Cường, https://stackoverflow.com/users/11423857
Sardinian
Spoken
457
1,364
how to use i18n in ts file vue 3 i18n.ts import { definePlugin } from '/@src/app' import { createI18n } from 'vue-i18n' import uz from '/@src/locales/uz.json' import en from '/@src/locales/en.json' import ru from '/@src/locales/ru.json' // @ts-ignore globalThis.__VUE_PROD_DEVTOOLS__ = false export default definePlugin(({ app }) => { const i18n = createI18n({ legacy: false, locale: 'uz', fallbackLocale: 'uz', globalInjection: true, messages: { uz, ru, en, }, }) app.use(i18n) }) LocalChanger.vue <template> <div class="locale-changer"> <select v-model="$i18n.locale"> <option v-for="(lang, i) in langs" :key="`Lang${lang.id}`" :value="lang.value"> {{ lang.label }} </option> </select> </div> </template> <script> import { useI18n } from 'vue-i18n' export default { setup () { const { locale } = useI18n({ useScope: 'global' }) return { locale, langs: [ {id:1, value: 'en', label: 'English' }, {id:2, value: 'ru', label: 'Руский' }, {id:3, value: 'uz', label: 'Uzbek' }, ] } } } </script> How can I use i18n in index.ts file?? index.ts export const resources4 = [ { id: 0, image: '/assets/illustrations/blog/muniversity.png', title: i18n.global.t('universitet_title'), // likes: '76', categories: [ { name: 'Website', }, { name: 'Webdesign', }, { name: 'Development', }, ], date: 'mart, 2023', duration: 2, path: '/blog/post' }, ... ] this error TypeError: Cannot read properties of undefined (reading 't') 0 I have separate i18n.ts file as shown below. I might have missed something somewhere in the documentation, and if that's the case I apologize in advance. i18n.ts import { definePlugin } from '/@src/app' import { createI18n } from 'vue-i18n' import uz from '/@src/locales/uz.json' import en from '/@src/locales/en.json' import ru from '/@src/locales/ru.json' // @ts-ignore globalThis.__VUE_PROD_DEVTOOLS__ = false export default definePlugin(({ app }) => { const i18n = createI18n({ legacy: false, locale: 'uz', fallbackLocale: 'uz', globalInjection: true, messages: { uz, ru, en, }, }) app.use(i18n) }) LocalChanger.vue <template> <div class="locale-changer"> <select v-model="$i18n.locale"> <option v-for="(lang, i) in langs" :key="`Lang${lang.id}`" :value="lang.value"> {{ lang.label }} </option> </select> </div> </template> <script> import { useI18n } from 'vue-i18n' export default { setup () { const { locale } = useI18n({ useScope: 'global' }) return { locale, langs: [ {id:1, value: 'en', label: 'English' }, {id:2, value: 'ru', label: 'Руский' }, {id:3, value: 'uz', label: 'Uzbek' }, ] } } } </script> How can I use i18n in index.ts file?? index.ts export const resources4 = [ { id: 0, image: '/assets/illustrations/blog/muniversity.png', title: i18n.global.t('universitet_title'), // likes: '76', categories: [ { name: 'Website', }, { name: 'Webdesign', }, { name: 'Development', }, ], date: 'mart, 2023', duration: 2, path: '/blog/post' }, ... ] this error TypeError: Cannot read properties of undefined (reading 't') 0 I have separate i18n.ts file as shown below. I might have missed something somewhere in the documentation, and if that's the case I apologize in advance. https://stackoverflow.com/questions/57049471/problem-to-use-vuei18n-outside-a-component Is this what you are looking for? Does this answer your question? Problem to use VueI18n outside a component
12,994
https://stackoverflow.com/questions/28654482
StackExchange
Open Web
CC-By-SA
2,015
Stack Exchange
PM 77-1, https://stackoverflow.com/users/2055998
English
Spoken
324
613
Javascript error with Returning the provided string with the first letter of each word capitalized I am working on solving a basic coding challenge, I feel like my code SHOULD work. But this line is not reassigning correctly "str[i][0] = str[i].charAt(0).toUpperCase();" I just don't know why this is working this way in Javascript, I think I've solved this same problem in Ruby without issue. Any tips or links on where to learn more about how this works in Javascript would be MUCH appreciated! This is the challenge: Return the provided string with the first letter of each word capitalized. function titleCase(str) { str = str.toLowerCase(); str = str.split(" "); for (var i = 0; i < str.length; i++) { str[i][0] = str[i].charAt(0).toUpperCase(); } str = str.join(" "); return str; } console.log(titleCase("I'm a little tea pot")); JavaScript strings are not arrays (like in C). In JavaScript, Strings are immutable objects. So, once a String object is created, you cannot change individual characters in them, but you need to create a new String object. So, you are better off with something like this function titleCase(str) { str = str.toLowerCase().split(" "); for (var i = 0; i < str.length; i++) { str[i] = str[i].charAt(0).toUpperCase() + str[i].substring(1); } return str.join(" "); } console.log(titleCase("I'm a little tea pot")); # I'm A Little Tea Pot The key here is, str[i] = str[i].charAt(0).toUpperCase() + str[i].substring(1); We are taking each word's first character, converting that to upper case and then concatenating it with the rest of the actual string and storing the newly created String object back in the str array. Apart from that, if you prefer the functional touch to solve this problem, you can do function titleCase(str) { return str.toLowerCase().split(" ").map(function(currentPart) { return currentPart.charAt(0).toUpperCase() + currentPart.substring(1); }).join(" "); } The map function will invoke the function passed to it, with each element from the split array and returns another array. Finally we join all of the elements together with join.
34,122
https://photo.stackexchange.com/questions/56253
StackExchange
Open Web
CC-By-SA
2,014
Stack Exchange
JDługosz, https://photo.stackexchange.com/users/27440, https://photo.stackexchange.com/users/33948, inkista
English
Spoken
546
788
DNG updates settings in the file itself? I do know that fiddling with stuff in LR is non-destructive to the original raw data, as only the settings themselves are changed. With CR2 files, LR writes an XML file with the same base name, and doesn't write to the image file. But with DNG, the settings are saved in the DNG file itself. Does this give anyone else a less-confidant feeling about the image data preservation? I'm thinking that it will affect the volume snapshot (backups) size if the large file is rewritten instead of only a small file being written. Does it resave the entire file thus taking up more network bandwidth, or is that info arranged at the end or have a fixed position to overwrite, or otherwise only change some of the bytes in the existing file as opposed to saving the whole file? This is also a problem if I make the original image files read-only! Does anyone know more about it? Can I somehow keep it separate in DNG like it does with other formats? I don't think there's any way around the issue of the larger DNG file size causing more issues with backups, since any change to the image's metadata/processing instructions will write out the entire file again. However, you can create a .xmp sidecar file from a DNG file with exiftool: exiftool -xmp -b -w xmp <path_containing_dngs> And, in fact, if you open a DNG file with Microsoft Word, you can copy and paste out the XMP data, according to this website. So no, I don't feel any less secure with the XMP information embedded within a DNG file than outside it in an external .xmp file. And, actually, I don't really feel that insecure with all the information in the .lrcat library file, either, since it's just an SQLite database, and works with all the SQLite tools for data browsing and dumping. Sure, databases go corrupt, but if you need to can opener data out of one, better it be a widely-adopted open source SQL-based one with a bunch of tools out there for you to do so. ;) Also, apparently, if you make the DNG file read-only, that's the perfect solution, as Lightroom will then make a .xmp sidecar file for the DNG. Addendum: I just tried Metadata -> Save Metadata to File in Lightroom 5.6 (on OSX, 10.8.5), and got .xmp sidecar files for a folder's worth of DNG files. Ah, I'll try that. Actually, I just tried Metadata -> Save Metadata to File with some DNGs, and got .xmp files without having to make them read-only. I'm running Lr 5.6. Will edit the answer. But did that still re-write the DNG file too? That's the point, not having the xmp for its own sake. Don't think it did--the datetime stamps on the DNGs are unchanged. I mean this presupposes that the dng had already been updated with xmp info, if you are later splitting it out. I don't care about having the xmp, I just want the dng to be read-only once it's put on the filesystem. The volume snapshot works on the specific file sectors, so even rewriting with identical contents (which git considers unchanged, for example) will cause it to make another backup.
40,595
https://stackoverflow.com/questions/31128262
StackExchange
Open Web
CC-By-SA
2,015
Stack Exchange
Wolof
Spoken
231
1,136
How to add cq:listener to a component I am trying to add cq:listener https://docs.adobe.com/docs/en/cq/5-5/developing/components/edit_config.html#cq:listeners to my component so that after selecting an asset and clicking "ok", the page refreshes. This is how the component looks on the screen where I select an asset and click ok. In my code, the dialog.xml looks like this <?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="cq:Dialog" xtype="dialog"> <items jcr:primaryType="cq:Widget" xtype="tabpanel"> <items jcr:primaryType="cq:WidgetCollection"> <tab1 jcr:primaryType="cq:Panel" title="Tab"> <items jcr:primaryType="cq:WidgetCollection"> <asset-reference jcr:primaryType="cq:Widget" fieldLabel="Foo Bar:" fieldDescription="Select the asset under /content/dam/foo-sync" name="./fileReference" xtype="pathfield" rootPath="/content/dam/evernote-sync"/> </items> </tab1> </items> </items> </jcr:root> _cq_editConfig.xml looks like this <?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" jcr:primaryType="cq:EditConfig"> <cq:dropTargets jcr:primaryType="nt:unstructured"> <fileReference jcr:primaryType="cq:DropTargetConfig" accept="[text/.*]" groups="[media]" propertyName="./fileReference"/> </cq:dropTargets> </jcr:root> Create a node with name cq:listeners and type as cq:EditListenersConfig as a child of the cq:EditConfig node. Add the property afteredit to the newly created node with value REFRESH_PAGE, to refresh the page once the component is edited. By default this value is REFRESH_SELF, hence only the component is refreshed after edit and not the entire page. The _cq_editConfig.xml would look something like this. <?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" jcr:primaryType="cq:EditConfig"> <cq:listeners jcr:primaryType="cq:EditListenersConfig" afteredit="REFRESH_PAGE"/> <cq:dropTargets jcr:primaryType="nt:unstructured"> <fileReference jcr:primaryType="cq:DropTargetConfig" accept="[text/.*]" groups="[media]" propertyName="./fileReference"/> </cq:dropTargets> </jcr:root> More details can be found in the link mentioned in the question itself. You might try the following in your _cq_editConfig.xml <?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" jcr:primaryType="cq:EditConfig"> <cq:listeners jcr:primaryType="cq:EditListenersConfig" afterdelete="REFRESH_PAGE" afteredit="REFRESH_PAGE" afterinsert="REFRESH_PAGE" afterMove="REFRESH_PAGE"/> </jcr:root>
37,290
https://stackoverflow.com/questions/20028793
StackExchange
Open Web
CC-By-SA
2,013
Stack Exchange
https://stackoverflow.com/users/1672009, https://stackoverflow.com/users/2481199, https://stackoverflow.com/users/2820570, jjaderberg, remigio, vaib
Papiamento
Spoken
330
2,373
I am getting 'org/neo4j/kernel/impl/core/RelationshipTypeHolder ' error while Running spring data neo4j configuration I have changed dependency of neo4j-kernel version but still getting this issue. Please suggest to me how to get rid out of this issue. Below are my pom, spring configuration and error console. Dependency in pom : <dependency> <groupId>com.sun.jersey</groupId> <artifactId>jersey-bundle</artifactId> <version>1.17.1</version> </dependency> <dependency> <groupId>org.neo4j</groupId> <artifactId>neo4j-kernel</artifactId> <version>1.6.M01</version> </dependency> <dependency> <groupId>org.neo4j</groupId> <artifactId>neo4j-cypher</artifactId> <version>2.0.0-M06</version> </dependency> <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-neo4j</artifactId> <version>2.3.1.RELEASE</version> <exclusions> <exclusion> <groupId>org.neo4j</groupId> <artifactId>neo4j</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-neo4j-rest</artifactId> <version>2.3.1.RELEASE</version> </dependency> Spring configuration: <bean id="restGraphDatabase" class="org.springframework.data.neo4j.rest.SpringRestGraphDatabase"> <constructor-arg value="http://localhost:7474/db/data/" /> </bean> <neo4j:config graphDatabaseService="restGraphDatabase" /> <neo4j:repositories base-package="com.neo.repodb" /> Console Error: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.data.neo4j.config.Neo4jConfiguration#0': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/neo4j/kernel/impl/core/RelationshipTypeHolder at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:651) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:599) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:665) at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:518) at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:459) at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136) at javax.servlet.GenericServlet.init(GenericServlet.java:160) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1088) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5176) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5460) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask$Sync.innerRun(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.NoClassDefFoundError: org/neo4j/kernel/impl/core/RelationshipTypeHolder at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.getDeclaredMethods(Unknown Source) at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findPersistenceMetadata(PersistenceAnnotationBeanPostProcessor.java:384) at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(PersistenceAnnotationBeanPostProcessor.java:322) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:840) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:495) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1387) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1128) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) ... 28 more Caused by: java.lang.ClassNotFoundException: org.neo4j.kernel.impl.core.RelationshipTypeHolder at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559) ... 45 more Nov 17, 2013 1:44:29 PM org.apache.catalina.core.StandardContext loadOnStartup SEVERE: Servlet /opinion threw load() exception java.lang.ClassNotFoundException: org.neo4j.kernel.impl.core.RelationshipTypeHolder at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559) at java.la Remove the neo4j-kernel dependency and the neo4j exclusion from the spring-data-neo4j dependency, SDN just carries the correct neo4j version on. Thanks remigio..but still getting the same error :( You could use the mvn dependency:tree -Dverbose command to analyze inclusion of jars and try to detect where is the issue, the class you need is included in the neo4j-kernel jar. Remove the neo4j-cypher artifact too, it pulls in all of neo4j 2.0 which is not compatible with SDN 2.3.
7,080
https://stackoverflow.com/questions/26897491
StackExchange
Open Web
CC-By-SA
2,014
Stack Exchange
Itamar Haber, Ricardo, https://stackoverflow.com/users/2139691, https://stackoverflow.com/users/3160475
English
Spoken
392
553
what number and/or kind of dynos pick in heroku I'm new in heroku and I wonder what questions should ask to myself to pick a save configuration(number and kind) of dynos in heroku. If I have a chat like this made in python, gunicorn, redis and websockets to 800 concurrent users. The lifetime of this chat will last few hours(close to 5 hours) and finally when the chat is no longer used I want to recover the last message of each user. I'm planning take one PX but I'm afraid the system could fail and loose all due to redis save all in RAM so maybe should I take three 3X? or maybe two PX? And what about redis, this is the available plans. Should I use nginx? I think is not necesary, there is almost 90% static pages. More details: The info sent in websockets are json with a lenght of 100 tops. Your Heroku dynos run the app, but the add-on (e.g. Redis Cloud) are run on separate instances by the provider (i.e. Redis Labs) so you shouldn't worry about that. @ItamarHaber but There is something that I don't understand. If i pick 8 instances of 2X dynos the Redis cloud are running on separate instances, so if any dynos falls down then I will loose all data in RAM and finally i could will not get the last message of each user. If a dyno fails, everything that it didn't persist to the outside (e.g. Redis or any other datastore) will be lost. From your question it appeared to me as if you were asking what would happen to the data in Redis' RAM once this happens. @ItamarHaber ok, then I have to persist data but when a dynos falls down and recovers and it's working again I'm not sure if should I do something special to "sync" data to other redis databases located in other instances? I mean, Is there any shared data between dynos?. Should I worry about I can't access too all data (persisted or RAM) from one dynos? I'm not familiar with your app, but if you use Redis to keep the last message, your code should be able to fetch it after a dyno restart thanks for help @ItamarHaber I probably try to find the way to save all data in all dynos instances.
22,122
https://stackoverflow.com/questions/35964187
StackExchange
Open Web
CC-By-SA
2,016
Stack Exchange
Inessaria, https://stackoverflow.com/users/4863652
English
Spoken
1,045
2,616
App Crashes when trying to view DB I am attempting to view all data in an SQLite DB that I created externally and put in my app. The code I have is a conglomeration of a couple tutorials and my own code. The app runs fine until I click the "View All" button. I then get the following error in my LogCat: java.lang.NullPointerException: Attempt to invoke virtual method 'android.database.Cursor com.example.fourth.DBHelper.getAllData()' on a null object reference at com.example.fourth.MainActivity$1.onClick I currently have 2 classes: DBHelper package com.example.fourth; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import android.content.Context; import android.database.Cursor; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteException; import android.database.sqlite.SQLiteOpenHelper; public class DBHelper extends SQLiteOpenHelper { // The Android's default system path of your application database. private static String DB_PATH = "/data/data/com.example.fourth/databases/"; private static String DB_NAME = "bar_info.db"; private SQLiteDatabase myDataBase; private final Context myContext; public static final String TABLE_NAME = "bar_info"; /** * Constructor Takes and keeps a reference of the passed context in order to * access to the application assets and resources. * * @param context */ public DBHelper(Context context) { super(context, DB_NAME, null, 1); this.myContext = context; } /** * Creates a empty database on the system and rewrites it with your own * database. */ public void createDataBase() throws IOException { boolean dbExist = checkDataBase(); if (dbExist) { // do nothing - database already exist } else { // By calling this method and empty database will be created into // the default system path // of your application so we are gonna be able to overwrite that // database with our database. this.getReadableDatabase(); try { this.close(); copyDataBase(); } catch (IOException e) { throw new Error("Error copying database"); } } } /** * Check if the database already exist to avoid re-copying the file each * time you open the application. * * @return true if it exists, false if it doesn't */ private boolean checkDataBase() { SQLiteDatabase checkDB = null; try { String myPath = DB_PATH + DB_NAME; checkDB = SQLiteDatabase.openDatabase(myPath, null, SQLiteDatabase.OPEN_READONLY); } catch (SQLiteException e) { // database does't exist yet. } if (checkDB != null) { checkDB.close(); } return checkDB != null ? true : false; } /** * Copies your database from your local assets-folder to the just created * empty database in the system folder, from where it can be accessed and * handled. This is done by transfering bytestream. */ private void copyDataBase() throws IOException { // Open your local db as the input stream InputStream myInput = myContext.getAssets().open(DB_NAME); // Path to the just created empty db String outFileName = DB_PATH + DB_NAME; // Open the empty db as the output stream OutputStream myOutput = new FileOutputStream(outFileName); // transfer bytes from the inputfile to the outputfile byte[] buffer = new byte[1024]; int length; while ((length = myInput.read(buffer)) > 0) { myOutput.write(buffer, 0, length); } // Close the streams myOutput.flush(); myOutput.close(); myInput.close(); } public void openDataBase() throws SQLException { // Open the database String myPath = DB_PATH + DB_NAME; myDataBase = SQLiteDatabase.openDatabase(myPath, null, SQLiteDatabase.OPEN_READONLY); } @Override public synchronized void close() { if (myDataBase != null) myDataBase.close(); super.close(); } @Override public void onCreate(SQLiteDatabase db) { } @Override public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { } public Cursor getAllData() { SQLiteDatabase db = this.getWritableDatabase(); Cursor res = db.rawQuery("select * from " + TABLE_NAME, null); return res; } // Add your public helper methods to access and get content from the // database. // You could return cursors by doing "return myDataBase.query(....)" so it'd // be easy // to you to create adapters for your views. } and the MainActivity: package com.example.fourth; import android.support.v7.app.ActionBarActivity; import java.io.IOException; import android.app.AlertDialog; import android.database.Cursor; import android.database.SQLException; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; public class MainActivity extends ActionBarActivity { DBHelper myDB; EditText editBarName, editBarCity, editDrinkName; Button btnAddData, btnViewAll; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); DBHelper myDbHelper = new DBHelper(this); myDbHelper = new DBHelper(this); try { myDbHelper.createDataBase(); } catch (IOException ioe) { throw new Error("Unable to create database"); } try { myDbHelper.openDataBase(); } catch (SQLException sqle) { throw sqle; } /* * editBarName = (EditText) findViewById(R.id.editBarName); editBarCity * = (EditText) findViewById(R.id.editBarCity); editDrinkName = * (EditText) findViewById(R.id.editDrinkName); btnAddData = (Button) * findViewById(R.id.btnAddData); */ btnViewAll = (Button) findViewById(R.id.btnViewAll); // AddData(); ViewAll(); } /* * public void AddData() { btnAddData.setOnClickListener(new * View.OnClickListener() { * * @Override public void onClick(View v) { boolean isInsterted = * myDB.insertData(editBarName.getText().toString(), * editBarCity.getText().toString(), editDrinkName.getText().toString()); if * (isInsterted == true) Toast.makeText(MainActivity.this, "Data Inserted", * Toast.LENGTH_LONG).show(); else Toast.makeText(MainActivity.this, * "Data Not Inserted", Toast.LENGTH_LONG).show(); } }); } */ public void ViewAll() { btnViewAll.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Cursor res = myDB.getAllData(); if (res.getCount() == 0) { // show message showMessage("Error", "No Data Found"); return; } StringBuffer buffer = new StringBuffer(); while (res.moveToNext()) { buffer.append("ID :" + res.getString(0) + "\n"); buffer.append("Bar Name :" + res.getString(1) + "\n"); buffer.append("Bar City :" + res.getString(2) + "\n"); buffer.append("Drink Name :" + res.getString(3) + "\n\n"); } // Show All Data showMessage("Data", buffer.toString()); } }); } public void showMessage(String title, String message) { AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.setCancelable(true); builder.setTitle(title); builder.setMessage(message); builder.show(); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.main, menu); return true; } @Override public boolean onOptionsItemSelected(MenuItem item) { // Handle action bar item clicks here. The action bar will // automatically handle clicks on the Home/Up button, so long // as you specify a parent activity in AndroidManifest.xml. int id = item.getItemId(); if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); } } Yesterday I was able to use much of the same code (there have been some changes) to create a DB one entry at a time from the virtual device. Today I am attempting to use an externally created DB and view the 3 results that I have within it. I know that the DB successfully transferred to the emulator, that gives no error. Only when I click "View all" (which worked fine yesterday) do I get an error myDB is null, you haven't set it Main activity Just replace DBHelper myDbHelper = new DBHelper(this); to myDB = new DBHelper(this); use myDb object throughout and remove myDbHelper Thank you very much. That fixed it and I'm off and running!
39,521
https://ceb.wikipedia.org/wiki/Chekhm%C5%ABr
Wikipedia
Open Web
CC-By-SA
2,023
Chekhmūr
https://ceb.wikipedia.org/w/index.php?title=Chekhmūr&action=history
Cebuano
Spoken
188
334
Lungsod ang Chekhmūr (Pinulongang Persiyano: چخمور) sa Iran. Nahimutang ni sa lalawigan sa East Azerbaijan, sa amihanan-kasadpang bahin sa nasod, km sa kasadpan sa Tehrān ang ulohan sa nasod. metros ibabaw sa dagat kahaboga ang nahimutangan sa Chekhmūr, ug adunay ka molupyo. Ang yuta palibot sa Chekhmūr kasagaran kabungtoran, apan sa diha-diha nga ang mga palibot nga kini mao ang patag. Ang yuta palibot sa Chekhmūr nga tinakpan sa ubos sa sidlakan. Ang kinahabogang dapit sa palibot dunay gihabogon nga ka metro ug km sa habagatan-kasadpan sa Chekhmūr. Dunay mga ka tawo kada kilometro kwadrado sa palibot sa Chekhmūr medyo gamay nga populasyon. Ang kinadul-ang mas dakong lungsod mao ang Darīn Daraq, km sa sidlakan sa Chekhmūr. Hapit nalukop sa kasagbotan ang palibot sa Chekhmūr. Sa rehiyon palibot sa Chekhmūr, kabukiran talagsaon komon. Ang klima mediteranyo. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Hulyo, sa  °C, ug ang kinabugnawan Enero, sa  °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Mayo, sa milimetro nga ulan, ug ang kinaugahan Agosto, sa milimetro. Saysay Ang mga gi basihan niini Mga lungsod sa East Azerbaijan (lalawigan sa Iran)
33,903
https://law.stackexchange.com/questions/76388
StackExchange
Open Web
CC-By-SA
2,021
Stack Exchange
David Siegel, gnasher729, https://law.stackexchange.com/users/17500, https://law.stackexchange.com/users/333, https://law.stackexchange.com/users/525, https://law.stackexchange.com/users/9517, ohwilleke, phoog
English
Spoken
1,831
2,418
I supposedly owe 91 dollars for a 4 dollar toll from half a decade ago. Can it be disputed and what penalty may I face if I don't pay? Today I got a letter in the mail from 'Linebarger Goggan Blair & Sampson llp' claiming I had a 4 dollar toll from a state I pretty much never drive in back in 2018 that I now owe 91 dollars on now, including a 15 dollar 'violent crime' fee, because not paying tolls is very violent? But it's okay because Delaware has an amnesty program and if I just pay in the next 20 days I 'only' have to pay 64 dollars on my 4 dollar toll. As I said the state is hours of driving away from me and I couldn't imagine why I would be driving through it, though it's close enough, and long enough ago, that I can't rule out some forgotten long drive that took me through it. I've always had an ez-pass though so I would think any toll would have been automatically payed anyways. I've never received any notice about this supposed toll before today. I'd honestly suspect a phishing attempt if it wasn't for their asking me to pay via credit card in an easily tracked and recoverable manner, plus sending physical mail and knowing my license plate isn't the sort of thing phishers are likely to do. However, even if the fee was real I dispute being asked to pay non-payment penalties for a charge I was never informed I owe, plus I'm still skeptical how a 4 dollar toll qualifies as a 'violent crime'. Is there any grounds to dispute something like this or will they tell me I'm guilty of not paying even if I didn't get informed I owed it? For that matter, what kind of penalty would I face if I just threw the thing out? It's been 5 years and nothing has happened, so it seems like there isn't much they could do. I'd have no problem with paying a 4 dollar toll, but 91 dollars for a toll I was never informed about is just insane. I'm in MD but the toll was supposedly in Delaware. If you in fact incurred the toll and never paid, you may well owe some penalties. If your EZ pass account was at that time unfunded (linked credit card expired and not yet updated, say) or if the transponder was blocker or otherwise not read correctly the toll might have gone unpaid and your plate been captured. You could, surely demand evidence of the violation, and cites of regs under which it is claimed you owe the penalties. Simply ignoring this may cause you problems, including enforcement by MD. (I am also in MD). I haven;t checked DE regs so this is not an answer yet. "Is there any grounds to dispute something like this": debt collectors have to have evidence that the debt is real. Ask them for the photograph of your car passing through the toll booth. Maybe someone misread the license plate. You won't have to worry about whether the add-on charges are legally justified if they don't have sufficient evidence that the debt was valid to start with. "what kind of penalty would I face if I just threw the thing out?" It seems that the firm in question is indeed a licensed debt collector in Maryland, so, if they do have evidence that the debt is yours, they can seek to obtain a judgment against you in court. You might then owe additional fees. If they take you to court and you ignore them, their evidence doesn't even need to be particularly good, because there will be nobody to challenge it. "Someone misread the license plate" - happened to a mate of mine whose white van was supposedly caught speeding, so he sent them back a photo of his motorbike with an almost identical license plate (with a Y instead of a V). It doesn't sound like the $92 was reduced to judgment by a court. So, there is probably a statute of limitations on the claim that applies. Have there been any further developments? Did you ask for evidence of the violation? It appears that 91.50 is the correct amount for a $4 toll that went unpaid for more than 42 days. EZ Pass violation notices can be appealed. Your communication is apparently from a debt collector. You may demand evidence that the debt is valid before deciding whether to pay or contest the alleged debt. Or you can go straight to the Delaware EZ Pass authorities. According to this official EZ Pass FAQ: Q: What do I do if I receive a Violation Notice? A: A Toll Violation Notice is issued for every violation (see example). In addition to the toll, a Violation Notice has a $25 Administrative Fee, $10 Ambulance Company Fund Fee, and a $15 fee to Combat Violent Crimes. A Toll Violation Final Notice (see example) is issued if the Violation Notice has not been paid within 30 days. The Toll Violation Final Notice adds a Civil Penalty of $25 and a Civil Penalty Surcharge of $12.50 to the fees listed on the first Notice of Toll Violation. If the Toll Violation Final Notice is not paid, it will be subject to registration hold, collection activities or legal action. Those fees would add up to $91.50 on a $4 toll if a violation went unpaid for 30 days or more. Note that the "violent crimes part" is to fund the "Combat Violent Crimes" program, not because a toll violation is itself violent. The FAQ goes on to state: Q: How can I appeal my violation? A: Delaware E-ZPass Customers with accounts in good standing can appeal their violation notices by accessing the Appeal Page of this website, over the phone, in person, by fax or mail. If you are not a Delaware E-ZPass customer, please follow the written instructions on the violation notice. You can appeal by completing the appeal form on the back of your violation notice and mailing it to PO Box 697, Dover, DE 19903-0697. To appeal your violation using this webpage, you must meet the following criteria: You must be a Delaware E-ZPass customer. You can tell by your transponder number, it must start with 019 and have a label identifying it as belonging to DelDOT. (If you are not a Delaware E-ZPass Customer, please follow the written instructions on your violation notice). You will need your transponder number. If you have multiple transponders on your account, any of your transponder numbers will do. It does not have to be the one on the vehicle for which you got the violation. Your account must be in good standing. An account in good standing has a positive balance. All the information you need is on the notice. Select Appeals and enter your license plate number then select the correct state of issuance from the pull down list. Enter the notice number. This is the 10-digit number at the top of your notice. It is called the Violation Number. Click submit. You will see the Appeal Screen. Enter your 11-digit Delaware E-ZPass transponder number and click submit. You will receive a confirmation that your appeal has been sent to be reviewed and processed. If you receive an error message, double-check and re-enter the required information. If you still receive an error message or have any other problem, call us at 1-888-EZPassDE (1-888-397-2773). Q: How do I know the outcome of my appeal? A: You will receive a letter in the mail indicating that your appeal has been accepted or rejected. If your appeal is rejected, the letter will explain why. Q: What are the reasons why I might have gotten a violation and how do I prevent it in the future? A: If you are an E-ZPass Customer and have received a violation notice(s), please consider the following to help prevent additional violation notices. If you do not receive confirmation that your E-ZPass transponder was read in the lane, it is possible that your transponder is not working properly. The reason for this could be: Your vehicle windshield blocks the transponder requiring you to use an external transponder. The transponder is not mounted properly. The transponder has been reported lost or stolen. Your E-ZPass account is in insufficient funds status. The transponder is malfunctioning. If you need further help, please contact your Customer Service Center. Usually the phone number to contact your service center can be found on your transponder. If you are a Delaware E-ZPass customer, please contact the Delaware E-ZPass Service Center at 1-888-EZPassDE (1-888-397-2773) for assistance. The "amnesty" program is describe on the page "Motorists who violated Delaware tolls to get 3 months to settle up with severely reduced penalties ", which states: Anyone in arrears who committed a violation between January 1, 2014, and April 30, 2020, will receive a notification of the program to settle the debt owed plus an additional amnesty fee. The bill details that a person who fails to pay a $1 toll typically incurs the following penalties: an administrative fee of $25; a civil penalty of $25; for violations that occurred after January 31, 2017, a $10 fee for the Volunteer Ambulance Company Fund for violations that occurred after January 31, 2017, a $15 fee for the Fund to Combat Violent Crimes. In addition, a civil penalty surcharge of $12.50 is added for each toll violation that remains unpaid after 42 days Ultimately, a $1 debt can increase to $51 initially, and then $88.50 after 42 days. Under the new bill, the amnesty fee is applied on a sliding scale, with penalties further reduced based on the increasing number of violations one may have incurred. The resolution creating the amnesty program reads, in pertinent part: BE IT FURTHER RESOLVED that the Amnesty Program will be designed as follows: (1) Include toll violations that occurred on I-95 or SR 1 between January 1, 2014 through April 30, 2020 but does not apply retroactively. (2) Include toll violations by residential and commercial vehicles registered in any state. (3) Satisfies toll debt if all of the following is paid: a. The full amount of the unpaid tolls. b. In lieu of the outstanding administrative fees and civil penalties, an amnesty fee as follows: For up to 10 toll violations, $60.00. For 11 through 50 toll violations, $135.00. ... By the way all the above was fond on the fist page of results from the Google search: "Delaware ez pass unpaid regulations". It may be a pure scam. If you google the firms name you will see negative reviews from people who also got similar letters. The firm has a proper looking web site and an address in LA. I checked two of the names at the CA bar association and neither name came up with a hit. I suggest going directly to the state.
26,708
https://en.wikipedia.org/wiki/UK%20Coal
Wikipedia
Open Web
CC-By-SA
2,023
UK Coal
https://en.wikipedia.org/w/index.php?title=UK Coal&action=history
English
Spoken
1,009
1,361
UK Coal Production Ltd, formerly UK Coal plc, was the largest coal mining business in the United Kingdom. The company was based in Harworth, in Nottinghamshire. The company was a constituent of the FTSE 250 Index. The successor company that contains the former property division, Harworth Group, is still listed on the London Stock Exchange. History The predecessor company of UK Coal was founded by Richard J. Budge in 1974 as RJB Mining. In 1994, following the privatisation of the UK mining industry, it grew fivefold with the acquisition of British Coal's core activities. It changed its name to UK Coal in 2001 after the retirement of its founder, having acquired UK Coal plc. Former operations At year end 2008, the company estimated coal reserves and resources of 105 Mt at the mines, of which 45 Mt was accessible under existing five year mining and investment plans. Its most important customers were electricity generators. In 2010 the company proposed a series of developments, mainly opencast mining, including the Minorca mine project development in Measham, Leicestershire. However, UK Coal exited surface mining in late 2014, so these plans did not materialise. In 2012, UK Coal were fined £200,000 after pleading guilty to breaching health and safety laws after a death of a miner at Kellingley Colliery. One deep mine, the Welbeck colliery, in Nottinghamshire closed in 2011 after continuous production since 1912. Another deep mine, Daw Mill at Furnace End, Warwickshire, closed in 2013 after an underground fire damaged much of the facilities. On 10 April 2014, Reuters reported that the British government was to give UK Coal a £10 million loan to help fund the closure of its two remaining deep mines. The company will carry out a managed closure of the deep mines by Autumn 2015 and will seek a buyer for its surface mines. UK Coal's difficulties have been precipitated by a flood of U.S. coal on to the market, as a result of shale gas development, and by the strength of sterling. Thoresby Colliery was shut in July 2015, while Kellingley Colliery ceased production on 18 December 2015. with ownership to be transferred to Harworth Estates for future redevelopment. Former opencast mining operations Three surface mines in North East England were owned by UK Coal Surface Mines Limited (company number 08492512) which went into administration on 14 November 2014. The business was then sold to UKCSMR Limited (company number 09275881). The three surface mines are Butterwell and Potland Burn in Northumberland and Park Wall North in County Durham. Former renewable energy and gas operations The company moved into renewable energy, expanding into windfarms, which is helped by a large land bank and the desire to diversify into energy activities beyond coal. Wind power offers financial incentives such as Renewables Obligation Certificates. UK Coal, through its Harworth Power subsidiary, engaged in mine gas recovery, to generate electricity. Harworth Power was sold on 1 October 2012 to Red Rose Infrastructure Limited for £20.30 million. At the time of the sale, it operated 14 gas engines of 26 MW generation capacity supplying electricity to UK Coal and the National Grid. Restructuring On 12 December 2012 UK Coal plc completed a complex financial restructuring of the company to secure its future and changed its name to Coalfield Resources plc. The company's operations had been restructured into two separate businesses: the mining division (under UK Coal Mine Holdings Limited) and the property division (under Harworth Estates Property Group Limited). Control of the mining division had passed to an employee benefit trust ("EBT"), which initially held shares representing 67% of the voting and 10% of the economic rights in UK Coal Mine Holdings for the benefit of current and future employees of the mining division. Coalfield Resources initially retained the remainder of UK Coal Mine Holdings's economic and voting rights, but the shareholdings rank behind pension fund debt. On 9 July 2013, following a devastating fire, their largest mine, Daw Mill, was forced into closure. As a direct, result both UK Coal Mine Holdings Ltd (UKCMHL) and UK Coal Operations Ltd (UKCOL) were put into administration. The remaining mining operations were again restructured, resulting in the formation of a new business "UK Coal Production Ltd". The successor of Coalfield Resources, Harworth Group had no equity interest in the mining business by the time the last two mines were closed in 2015. Harworth Group initially (in 2012) owned 24.9% of Harworth Estates Property Group, with 75.1% having passed to EBT in return for a £30 million cash injection and their financial support to the mines. However, in November 2014 Coalfield Resources announced that it had agreed terms with the Pension Protection Fund to buy back the 75.1% of Harworth Estates Property Group it did not already own and to change the name of the company to Harworth Group plc. This transaction was completed on 24 March 2015. Operations The company is no longer active in mining. On 18 December 2015 the company closed its last deep mine located in Yorkshire, at Kellingley. Surface mines were sold to UKCSMR Limited in late 2014. Coal extraction declined from 37.1 million tonnes in 1995 to around 7 million tonnes in 2009. Only the former property division operates as the successor company Harworth Estates (wholly owned by the Harworth Group). At the end of 2007 Harworth Estates land was estimated to be worth £411 million. The estate assets are primarily in business parks, industrial sites and agriculture, with a smaller portfolio of residential property (residential assets associated with agricultural properties). Harworth Estates manage, develop and regenerate their extensive portfolio of land totalling over . Harworth Estates are now wholly owned by the Harworth Group, which had divested its equity interest in the mining operations before the restructuring of March 2015. See also Coal mining in the United Kingdom References External links Website archived on 9 November 2015 Harworth Estates Coal companies of the United Kingdom Companies based in Nottinghamshire Bassetlaw District Energy companies established in 1974 Non-renewable resource companies established in 1974 British companies established in 1974
26,323
https://stackoverflow.com/questions/72859863
StackExchange
Open Web
CC-By-SA
2,022
Stack Exchange
English
Spoken
315
609
How to block web request but stay on page that initiated navigation w/ a Chrome extension (mv3) I am trying to make a very simple Manifest v3 chrome extension that blocks an "automatic redirect" on a website. I like to use an overseas online merchant ("foo.com") but when you click into a product's details, it sends me to sso.foo.com to login w/ a free account. I can tap the browser stop button when the product page shows up, but before the "redirect" executes (i think its more like a JS triggered window.location) - and i can work around it that way; but i'd rather just make a chrome extension for myself that blocks this. I tried creating a declarative_new_request that blocks requests to sso.foo.com [{ "id" : 1, "priority": 1, "action" : { "type" : "block" }, "condition" : { "urlFilter" : "sso.foo.com", "domains" : ["foo.com"], "resourceTypes" : ["script", "main_frame", "sub_frame"] } }] ...And this almost works, however the browser blocks the "end" of the request to https://sso.foo.com - so instead of "stopping" on the Product page, i see a chrome page saying "sso.foo.com" was blocked by an extension. What i want, is to block the navigation to https://soo.foo.com/* but leave me on the current page ... is this possible? Thoughts on how i can do this? For script resource type you can try redirecting to a data URL: "action" : { "type" : "redirect", "url": "data:," }, The main_frame and sub_frame navigation cancelling is not implemented yet. Please star https://crbug.com/943223 to raise its importance. The workaround Assuming the page is using an <a> link you can declare a content script with a click listener in the capturing phase that hides this event from the page. manifest.json: "content_scripts": [{ "matches": ["*://*.foo.com/*"], "js": ["content.js"], "run_at": "document_start" }] content.js: window.addEventListener('click', ev => { const a = ev.target.closest('a'); if (a?.hostname === 'sso.foo.com') { ev.stopPropagation(); ev.preventDefault(); } }, true);
37,562
https://nn.wikipedia.org/wiki/British%20South%20American%20Airways
Wikipedia
Open Web
CC-By-SA
2,023
British South American Airways
https://nn.wikipedia.org/w/index.php?title=British South American Airways&action=history
Norwegian Nynorsk
Spoken
67
150
British South American Airways (BSAA) var eit britisk statsdrive flyselskap som i tida 1946-49 flaug ruter til Karibia og vestkysten av Sør-Amerika. BSAA nytta i hovudsak Avro-fly på rutene. Etter at to av flya forsvann, vart selskapet slått saman med med British Overseas Airways Corporation (BOAC) frå 1. januar 1950. Kjelder Denne artikkelen bygger på «British South American Airways» frå , den 25. juli 2015. Britiske flyselskap
24,608
https://stackoverflow.com/questions/66821878
StackExchange
Open Web
CC-By-SA
2,021
Stack Exchange
Bhanu, Frank van Puffelen, https://stackoverflow.com/users/13739678, https://stackoverflow.com/users/209103
English
Spoken
320
653
Problem while handling simultaneous updates in realtime database firebase I am new to mobile android development. I am trying to build an library management application. Here I have two admins ,who can modify the database (realtime database, firebase).I tried the following code to handle the case when both admins try to alter the database simultaneously: int books= Integer.parseInt(addBooks.getText().toString()); String isbn=isbnNo.getText().toString(); DatabaseReference ref=reference.child("books").child(isbn).child("bookCount"); ref.runTransaction(new Transaction.Handler() { @NonNull @Override public Transaction.Result doTransaction(@NonNull MutableData mutableData) { Integer currentBookCount=mutableData.getValue(Integer.class); mutableData.setValue(currentBookCount+books); return Transaction.success(mutableData); } @Override public void onComplete(@Nullable DatabaseError error, boolean committed, @Nullable DataSnapshot currentData) { Toast.makeText(getApplicationContext(),"Added successfully",Toast.LENGTH_LONG).show(); } }); My database looks like this: It shows "Added successsfully" messages in both the devices when I run simultaneously, but is not upadating the final answer in the database.I am also not sure if this approach is appropriate, any help is appreciated. Transactions can fail, and you're ignoring that case right now in your code. Can you check if error has a value in onComplete? If you want to do a simple increment (or decrement) operation, Firebase has a much easier solution for that these days with a built in increment() operation. For that it is important that you store the value as a number though, and not as a string as you have it now. Once you store it as a number, you can increment the bookCount by books with: int books= Integer.parseInt(addBooks.getText().toString()); String isbn=isbnNo.getText().toString(); DatabaseReference ref=reference.child("books").child(isbn).child("bookCount"); ref.setValue(ServerValue.increment(books)); Also see: How quickly can you atomically increment a value on the Firebase Realtime Database? for a performance comparison between using a runTransaction and increment. Thanks, this solution works. I also want to add one more condition that the bookCount shouldn't exceed 100. Is it possible to add such condition by using ServerValue.increment()? Not in the code itself, but you could do that in the server-side security rules. See https://firebase.google.com/docs/firestore/security/rules-conditions#data_validation. If you're having trouble making that work, I'd recommend posting a new question with its own reproduction.
8,884
https://cs.wikipedia.org/wiki/Maigret%20a%20p%C5%99%C3%ADpad%20mrtv%C3%A9ho%20mu%C5%BEe
Wikipedia
Open Web
CC-By-SA
2,023
Maigret a případ mrtvého muže
https://cs.wikipedia.org/w/index.php?title=Maigret a případ mrtvého muže&action=history
Czech
Spoken
222
567
Maigret a případ mrtvého muže (v originále Maigret's Dead Man) je britský hraný film z roku 2016, který je součástí minisérie Maigret. Film natočil Jon East podle románu Georgese Simenona Maigret a jeho mrtvý. Komisař Maigret, kterého hraje Rowan Atkinson, vyšetřuje vraždu neznámého muže. Děj Jednoho rána telefonuje Maigretovi do kanceláře neznámý muž, který prohlašuje, že ho pronásledují muži, kteří ho chtějí zabít. Poté se již neozve. Během noci objeví svědci tělo na ulici, které tam dovezl modrý Citroën. Ten byl spatřen zaparkovaný u bistra „Petit Albert“ na rohu nábřeží. Když tam Maigret dorazí, najde dveře odemčené a dům prázdný. Rozhodne se zde s manželkou předstírat, že dočasně převzali podnik. Do Paříže mezitím dorazil inspektor Colombani, který vyšetřuje sérii vražedných vloupání v Pikardii. Stopa totiž vede do Paříže. Komisař Maigret mu má pomoci, ale on se drží svého případu. V bistru se ukáže podezřelý muž, kterého začnou pronásledovat inspektoři. Než ho však dopadnou, je zastřelen jedním ze svých kompliců. Zastřelený je imigrant Poliensky a díky němu Maigret přijde na stopu gangu z Československa, který vyrážel do Pikardie na loupežné vraždy. Maigret také zjistí, jaká je spojitost s barmanem Albertem Rochainem, první obětí. Obsazení Reference Externí odkazy Britské kriminální filmy Britské dramatické filmy Britské mysteriózní filmy Filmy z roku 2016 Filmy odehrávající se v Paříži Filmy inspirované dílem Georgese Simenona Britské televizní filmy
34,839
https://ru.wikipedia.org/wiki/%D0%A0%D0%B0%D0%BD%D0%B6%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5%20%28%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D1%8F%29
Wikipedia
Open Web
CC-By-SA
2,023
Ранжирование (значения)
https://ru.wikipedia.org/w/index.php?title=Ранжирование (значения)&action=history
Russian
Spoken
35
107
Ранжи́рование — определение ранга чего-либо или что-либо, например: Ранжирование — сортировка сайтов в поисковой выдаче, применяемая в поисковых системах. Ранжирование — квалификация преступления в зависимости от поста или ранга чиновника в иерархии государственной службы Примечания
40,857
https://en.wikipedia.org/wiki/Lady%20%28EXID%20song%29
Wikipedia
Open Web
CC-By-SA
2,023
Lady (EXID song)
https://en.wikipedia.org/w/index.php?title=Lady (EXID song)&action=history
English
Spoken
301
459
"Lady" (Hangul: 내일해; RR: naeilhae, lit. "Tomorrow") is a song recorded by South Korean girl group EXID. It was released as a single on April 2, 2018, by Banana Culture and distributed by Sony Music. A music video for the song was also released on April 2. This is the second single released by the group as a 4-member group, with the absence of member Solji due to health reasons. Release The song was released as a digital single on April 2, 2018, through several music portals, including MelOn in South Korea, and iTunes for the global market. A CD single was released a day later in South Korea. It contains a photobook, a random photo card, post card, name sticker, film photo and a poster. Composition The song is written by V!VE, Shinsadong Tiger and LE, and produced by the latter two. Billboards Tamar Herman described the song as funky while "recalling the '90s" era. New Jack Swing brassy beat is also noted, describing LE rap as "sassy", Hyelin and Jeonghwa verses as the dominants of the songs and Hani as the singsong chant in the chorus. Papers Bradley Stern cited Aaliyah, Bobby Brown, Janet Jackson, TLC and Toni Braxton as inspirations for the song. Commercial performance "Lady" debuted and peaked at number 32 on the Gaon Digital Chart and at number 4 on the Gaon Album Chart, in the week ending April 7, 2018. It also entered and peaked at number 37 on the Billboard KPop Hot 100, on the issue dated April 15, 2018. The physical copy of the single placed at number 22 for the month of April 2018 on the Gaon Album Chart, selling 14,633 copies. Track listing Charts Awards Music programs Release history References 2018 songs 2018 singles EXID songs Songs written by Shinsadong Tiger
15,545
https://stackoverflow.com/questions/55117726
StackExchange
Open Web
CC-By-SA
2,019
Stack Exchange
Cabry, Denis Schaf, Rain336, https://stackoverflow.com/users/10737661, https://stackoverflow.com/users/2716623, https://stackoverflow.com/users/4977546, https://stackoverflow.com/users/7252182, https://stackoverflow.com/users/8463053, mm8, vasily.sib
English
Spoken
671
1,277
Loop through all checkboxes in xaml and compose string from their content I am looping through all checkboxes with this code. string where = string.Empty; foreach (CheckBox c in gridApi.Children.OfType<CheckBox>()) { if (c.IsChecked == true) { MessageBox.Show(where += "CategoryMulti like '%" + c.Content.ToString() + "%'"); } } From these checkboxes I would like to build one string (where variable) for SQL command: select telephone from Contacts where CategoryMulti like '%1%' Problem is that I need to have or between sql like tags like this select telephone from Contacts where CategoryMulti like '%1%' or CategoryMulti like'%2%' I need to tell the program how to behave with or adding. For example sql command can't end with or select telephone from Contacts where CategoryMulti like '%1%' or CategoryMulti like'%2%' or Because sql command would end with error. Could you help me how can I build something like that? I had an idea to leave OR for each checked checkbox and get last checked checkbox position in array and remove last 2 characters. This would work I guess because every checked checkbox gonna add same amount of characters into the where variable no matter what. Problem is that I have no idea how to add all checkboxes into array in this loop.. Thank you for any idea. .xaml <CheckBox Content="cul" HorizontalAlignment="Left" VerticalAlignment="Top" x:Name="chkBoxCul" Margin="325,59,0,0"/> <CheckBox Content="inf" Visibility="Visible" HorizontalAlignment="Left" VerticalAlignment="Top" x:Name="chkBoxInfo" Margin="408,59,0,0"/> <CheckBox Content="spo" Visibility="Visible" HorizontalAlignment="Left" VerticalAlignment="Top" x:Name="chkBoxSp" Margin="479,56,0,0"/> <CheckBox Content="war" HorizontalAlignment="Left" VerticalAlignment="Top" x:Name="chkBoxWar" Margin="540,56,0,0"/> You should consider learning the MVVM pattern to make use of WPFs abilities. It will make your life a lot easier in the future. WPF is not supposed to be used like WInForms was... Regarding your question: you can "add" strings to each other like this: string myString = "TestString"; string output = "testText" + myString; The result will be output = "testTextTestString" @Cabry: Did you consider to use the Trim method to remove the trailing "or"? query = query.TrimEnd(new char[] { ' ', 'o', 'r' }); store your conditions in a var conditions = new List<string>(), inside foreach loop you may conditions.Add($"CategoryMulti like '%{c.Content}%'"), then finally use var query = string.Join(" OR ", conditions) One simple solution would be to add the where expressions in a List<string>. Then, you can use string.Join(" or ", yourList); An example: var list = new List<string> { "Asd", "Qwe", "Zxc" }; var result = string.Join(" OR ",list); Console.WriteLine(result); Result from the example will be: "Asd OR Qwe OR Zxc" I would approche this using String.Join. You could for example add all the CategoryMulti like '%1%'s for your Checkboxes into a list and then use String.Join like this: var list = new List<string>(); foreach (CheckBox c in gridApi.Children.OfType<CheckBox>()) { if (c.IsChecked == true) { list.Add("CategoryMulti like '%" + c.Content.ToString() + "%'"); } } var result = string.Join(" or ", list); result now contains CategoryMulti like '%1%' or CategoryMulti like'%2%' or .... But if we now also add LINQ to the mix we can even simplify this to: var result = string.Join(" or ", gridApi.Children .OfType<CheckBox>() .Where(c => c.IsChecked == true) .Select(c => "CategoryMulti like '%" + c.Content.ToString() + "%'")); I did not manage to get the second code to work but the first one works perfectly. One more question maybe, is it also possible to do the same with listview? What if I wanted dynamically add checkbox for each category in CategoryMulti? Basically what I mean is. foreach (category in categorymulti) {new checkbox into listview, checbox.name = category}. How do I make these checkboxes arranged in ListView and make the same with original foreach loop. edit: I manage to make this: foreach (var item in list1.Items) { MessageBox.Show(item.ToString()); } But now I do not know how to make the same. I only get if item is true / false, but how do I make the condition if item.ischecked = true now? @rain336 Shouldn't you just be able to set IsChecked to true. Like item.IsChecked = true; i had it bad in foreach variable. It should be foreach(checkbox item in list1.Items) instead of var item. Sorry
38,521
https://ar.wikipedia.org/wiki/%D8%B9%D9%84%D9%8A%20%D8%A7%D9%84%D8%AD%D8%B1%D9%8A%D8%B1%D9%8A
Wikipedia
Open Web
CC-By-SA
2,023
علي الحريري
https://ar.wikipedia.org/w/index.php?title=علي الحريري&action=history
Arabic
Spoken
131
388
علي الحريري أو شيخ أحمد بوطاني هو شاعر كردي ولد في عام 1009 وتوفي في عام 1079 أو 1080. كتب باللهجة الكردية الكرمانجية وأعتبر رائدا في الأدب الصوفي الكردي الكلاسيكي ومؤسسا للتقاليد الأدبية الكردية. ولد الحريري عام 1009 في قرية الحرير في قضاء هكاري التابعة لإمارة بوطان الكرديّة. وذكره أحمد خاني لأول مرة في القرن السابع عشر. ركز شعره على الحب وحب كردستان وطبيعتها وجمال شعبها، وأشتهرت قصائده وانتشرت في جميع أنحاء كردستان. وفقا للمؤرخ محمد بن فضل الله المحبي، انتقل الحريري إلى دمشق للدراسة وكان له ابن يدعى شيخ أحمد. توفي الحريري في جزرة وأصبح الناس يزورون قبره كل عام. انظر أيضا ملا جزيري مراجع أشخاص من أربيل أشخاص من هكاري (منطقة) أكراد صوفيون أكراد في القرن 11 شعراء أكراد فلاسفة أكراد مواليد 1009 مواليد 1425 وفيات 1079 وفيات 1495
27,559
https://rus.stackexchange.com/questions/454733
StackExchange
Open Web
CC-By-SA
2,019
Stack Exchange
Russian
Spoken
114
321
Обособить запятыми или тире? "Представьте" иногда выступает в роли вводного слова, но оно может обособляться тире? Например, "И - представьте - он упал" Тут нужна пауза и до и после "представьте", а паузой же обычно выделяется тире. Как быть? Тире возможно. Не вижу причин сомневаться. Хотя я бы все равно использовал запятые, они тоже прекрасно передают паузу. Тире нужны более для зрительного выделения, а в такой короткой фразе это будет излишним, если только автор не имеет в виду что-то уж очень для него важное. Запятые тоже обозначают паузу. Тире обозначает усиление интонации перед фразой. Тогда лучше так: И - представьте, он упал. Довольно часто перед вводными словами ставится тире. Полно примеров с запятыми: http://new.gramota.ru/spravka/punctum?layout=item&id=58_626
3,142
https://gamedev.stackexchange.com/questions/160439
StackExchange
Open Web
CC-By-SA
2,018
Stack Exchange
Philipp, Richard Carpenter, blurry, https://gamedev.stackexchange.com/users/115415, https://gamedev.stackexchange.com/users/117726, https://gamedev.stackexchange.com/users/21890
English
Spoken
849
1,080
c++ text rpg loading rooms/mobs So for practice and as a learning exercise i foolishly decided to make a text based rpg on my phone using the c4droid ide. ive done well and have learned a lot. So far you can create a new character or load the previous one. and you can walk around in the rooms ive made. currently the rooms load from a file when you enter it, and then it loads again every time you do anything except leave,which loads the next room instead. ill be tweaking my gameloop so it doesnt reload the room everytime soon. My next step is the addition of mobs. and here ive run into a problem i cant find the answer to with google. My plan was/is to make a class for mobs and instantiate it when there was a mob present and load data from a file. But then i was trying to figure out how to code which room to load them in. First answer was to have the room file dictate which mobs, if any to load. great. except that i want the mobs to stay dead, not reapawn everytime the room reloads. so now im wondering if i should be loading the rooms from file all at the same time before the game loop. Potentially too memory intensive down the line when the game has more rooms and mobs? and what to load them to? i havent used arrays in c++ yet, though i have used map which seems similar. Im not even sure what a vector is. i expect ill be needing to read up on those very soon. so the basic question is this: leave loading the rooms the eay it is, load them all at the beginning of the game, or something else? all help is appreciated std::vector is basically an array encapsulated in an object-oriented wrapper. Careful with Vectors in C++, as you could be talking about the std::vector as mentioned above, or be talking about directional vectors such as Vector3D in the DirectX framework and similar. To add to other answers, we don't really know how many rooms you have (or plan to), so loading every room in the beginning might work, but not in all cases. As a text-based game however, you can still keep track of all spawned enemies, something like this: Move to a new room, load it Enemy is in the room (based on the room file), check if that enemy has already spawned (exists) in the "enemy array" if not, spawn a new enemy, and add its instance to the enemy array. if yes, do not load that enemy again, as its most likely wondering around the map. Now every time you visit a new room, keep in memory the previous room (that the enemy is in) so that it can navigate through the room to find you. If you move too many rooms away, maybe you can despawn the enemy (unload and remove from enemy array) or you can keep all previous rooms in memory, until the enemy navigates past them. It all depends on how you want enemies to behave. Since you are using C++, the best choice is a std::vector, as mentioned in the comments as well. The details really are up to you to decide, as its implementation will slightly change the enemy's behaviour (if you want it to respawn, or chase you indefinitely etc etc). Also, I'm not sure what's the size of the "map" that contains all the rooms, but if you have divined your game in stages, or something that can make you "progress" to another set of rooms (like ascending, descending floor), you can load all rooms of that stage in the memory, and spawn all enemies the moment you appear there. Assuming that your gave mimics the appearance of rogue-like games, it shouldn't be intensive at all memory-wise. You didn't post any numbers regarding the RAM usage of your game, but reading between the lines I get the impression that your game is still far too simple to require so much memory that you can't load all the rooms at game startup and then keep their state in memory while the game is running. But if you want to keep your architecture where you load every room from the filesystem when you enter it and unload it when you leave it, then you could add a second "change file" for each room. This file represents the state of any changing properties of the room (like the status of any mobs in it). After you loaded the room file, check if there is a change file for that room and when you have one, load it and apply the changes to the room data you just loaded. When these properties change, write a change file for that room with those changes. And by the way, you now have a working savegame system. I'm looking forward to playing your game. thanks! ill share it somewhere for folks to try it out when it gets to a playable point.
17,751
https://stackoverflow.com/questions/15868656
StackExchange
Open Web
CC-By-SA
2,013
Stack Exchange
ELLIOTTCABLE, Steven Lu, https://stackoverflow.com/users/31897, https://stackoverflow.com/users/340947
English
Spoken
600
957
Control a pager (like the less program) from an extenal (parent) script In this question I am exploring how to go about monitoring my project directory for changes so that I can keep a terminal that shows an always up-to-date git diff so that I can skip typing git diff over and over into the shell and further streamline my workflow. Supposing that I have a sufficiently intelligent tool that knows exactly when the filesystem has changed, how can I go about disrupting the display of git diff? The ultimate solution would be able to figure out where the current display is scrolled to, and re-scroll to the same position (where reasonable, as everything could potentially have been changed, of course). I'm sure there's a way to find out how far down in the buffer you are with less and then pass that along with the new instance of it. But the question here is how do I programmatically control an interface that is also interactive? Is this something that is possible to do? Could I make use of certain heavy-duty tools like tmux, to send input into the program? In my experience of customizing tmux to do many things it does have the ability to receive commands from the shell and also to execute shell commands, and it does have a command which sends keys. Just want to say that at least one dev (this one!) is still interested in information about a programmatic solution to this (not requiring a tmux wrapper). The wrapper didn't really work. Well, actually, maybe it does work. Still, it's just horrifying so I would never use it. Now the good news is, iTerm2 recently got this capability. You can scroll around in less in its own term window all day long!! However, it still does not work inside of tmux, so that sucks dearly. What's this? a close vote? Maybe somebody thought this couldn't be done. ;) I present to you the full solution (you can find the most up to date versions on github): ~/util/git-diff-puppet: #!/bin/sh # This script runs git diff through tmux at the current directory, so that you can # interactively scroll it. Listens for changes to the filesystem at this directory # and tmux is used to issue commands to reload the diff. set -e [[ -f .tmp_git_diff ]] && echo "found .tmp_git_diff, exiting" && exit -1 # save the current git diff string to use for comparison git diff > .tmp_git_diff function cleanup { kill $FSWATCHPID rm .tmp_git_diff tmux kill-session -t git-diff-puppet } trap cleanup EXIT tmux new-session -d -s git-diff-puppet sh tmux send-keys -t git-diff-puppet "git diff" enter fswatch . ~/util/git-diff-puppet-onchange & FSWATCHPID=$! tmux attach -t git-diff-puppet echo "tmux finished: puppet script exiting" ~/util/git-diff-puppet-onchange: #!/bin/sh # This script is not for invoking directly. It is for use in conjunction (as a "callback") with # git-diff-puppet: this script will be looking for the .tmp_git_diff file set -e [[ ! -f .tmp_git_diff ]] && echo ".tmp_git_diff not found; i was probably invoked in error, aborting" && exit 1 # diffing the current diff with the saved diff to see if we should re-show the git diff in tmux if ! git diff | diff - .tmp_git_diff > /dev/null; then tmux send-keys -t git-diff-puppet q "git diff" enter git diff > .tmp_git_diff fi It is glorious. Instantaneous update thanks to the super fast fswatch program. What is also nice, is that I account for fswatch firing spuriously (which it unfortunately does). If my git diff is unchanged, no re-running via tmux is done, so the scroll offset is preserved.
14,628
https://en.wikipedia.org/wiki/Ma%C4%8Diulis
Wikipedia
Open Web
CC-By-SA
2,023
Mačiulis
https://en.wikipedia.org/w/index.php?title=Mačiulis&action=history
English
Spoken
62
142
Mačiulis is the masculine form of a Lithuanian family name. Its feminine forms are: Mačiulienė (married woman or widow) and Mačiulytė (unmarried woman). The surname may refer to: Jonas Mačiulis, Lithuanian professional basketball player Maironis, Lithuanian poet, birth name Jonas Mačiulis Teklė Mačiulienė, chief editor of Kauno diena newspaper (1987–1998), recipient of medal Už nuopelnus žurnalistikai ("For Merits in Journalism") Lithuanian-language surnames
10,074
https://stackoverflow.com/questions/13081609
StackExchange
Open Web
CC-By-SA
2,012
Stack Exchange
Shirish Kamath, https://stackoverflow.com/users/1131910
English
Spoken
382
582
Node.js Live Streaming: Avoid buffering I've written a small nodeJS server that outputs system audio captured by ffmpeg on Windows (using DirectShow) to the browser as a streaming MP3 file. The audio needs to be as live as possible, with minimum/no buffering, and a "skipping" effect in the audio is perfectly acceptable. When I play the audio in Chrome using the HTML5 audio tag, there's a delay of about 8-10 secs over a low-latency LAN connection. I suspected this to be a client-side buffer, and used a Flash MP3 player on the client-side, which brought down the delay to 2-3 secs. Now, the buffering seems to taking place on the server-side. The documentation for NodeJS's response.write mentions that the data is written kernel buffers. How do I go about avoiding any buffering altogether or at least getting around it, so that the client always gets the latest audio data? Strategies for handling 'drain' events to always push live data? On the request object, I've used setNoDelay(true) to avoid the use of Nagle's algorithm. Following is a snippet of how data is written when the spawned ffmpeg process emits data. var clients = []; //List of client connections currently being served ffmpeg.stdout.on('data', function(data) { for(var i = 0; i < clients.length; i++){ clients[i].res.write(data); } }); There are a few places where delay/buffering occurs: DirectShow Capturing (~100ms or so) FFMPEG MPEG Encoding Buffer (1-10 seconds, depending on configuration) Network Writes and Transmission (near 0 in your setup) Client-Side Buffering (varies by client, as you have seen - most clients buffer ~2 seconds for decoding) I suspect the buffer you need to look at is the one for FFMPEG encoding. I've been able to reduce this by making sure the input format is configured explicitly when executing FFMPEG. Also, make sure to drop the first chunks of data for encoding, as the first bits will undoubtedly be delayed more than later. Once you've done this, you will find that your delay is a second or two. At least, that's what I'm getting with a similar setup. ffmpeg doesn't seem to be a major bottleneck in my setup. The current delay over LAN is of about 2-3 secs and I'm trying to reduce it further. I'll try your suggestion of dropping the first few bits. Thanks.
50,527
https://nl.wikipedia.org/wiki/Molgoot
Wikipedia
Open Web
CC-By-SA
2,023
Molgoot
https://nl.wikipedia.org/w/index.php?title=Molgoot&action=history
Dutch
Spoken
62
116
Een molgoot is een gootconstructie in de wegenbouw. Het doel is om water af te voeren naar bijvoorbeeld een straatkolk. De goot bestaat uit meerdere rijen klinkers naast elkaar waarbij de middelste rijen lager liggen dan de meer naar buiten gelegen rijen. In de meeste gevallen bestaat een molgoot uit een oneven aantal rijen met klinkers. Visuele impressie, diverse functies Wegenbouwkunde Waterbeheer
31,791
https://sharepoint.stackexchange.com/questions/231129
StackExchange
Open Web
CC-By-SA
2,017
Stack Exchange
Danny '365CSI' Engelman, https://sharepoint.stackexchange.com/users/16539, https://sharepoint.stackexchange.com/users/32871, vivek m
Norwegian Nynorsk
Spoken
385
595
Handle errors while attaching files to list item via SPServices I have used the below code to add multiple attachments to a list item function AddAttachments(itemID) { //Retrieving all the files which are available in an Array, Created this Array in //the above step(Step 2) for (var i = 0; i < fileCount; i++) { if (fileData[i] != '') $().SPServices({ operation: 'AddAttachment', async: false, listName: 'Documents', listItemID: itemID, fileName: fileName[i], attachment: fileData[i], completefunc: function (xData, Status) { } }); } } The code works really well but sometimes when there are lets say 10 attachments that need to be attached, 9 of the files get attached successfully and one file would fail to get attached because of a network error. The error occurs very randomly and it is unpredictable. XMLHttpRequest: Network Error 0x2ef3, Could not complete the operation due to error 00002ef3. The error would occur silently and the user would not even be aware that one of the files did not get attached. I saw the error because I was watching the network tab in Developer Tools in IE What I would like is - to modify the above code to -if a network error occurs while trying to attach then to retry the operation again and go on retrying until it succeeds. Because of the random nature of this error I am very confident that if the attachment operation is retried immediately after a failure due to network error, it would succeed in the following attempt. Can someone help with any tips on how to go about the above? Any assistance will be much appreciated. Thanks... Do not use a for loop, use the avaible callback pattern pop/unshift the array of attachments. Do ONE upload (async:true recommended not required, helps performance if you have other async code going on) use the completefunc to proces the next attachment (in the array) (call the ONE fileupload again) why do you think a For loop should not be used? A for loop iterates, that's all it does. You can't redo an iteration.. which is what you, on failure, want to do. That's why the Callback (function) pattern was developed ages ago. We now use Promises, or Async/Await in the latest Javascript thanks for the explanation Danny. that was very helpful. Thanks again, have a nice day
50,438
https://tt.wikipedia.org/wiki/%D0%AF%D0%B7%D0%B0%D0%BA
Wikipedia
Open Web
CC-By-SA
2,023
Язак
https://tt.wikipedia.org/w/index.php?title=Язак&action=history
Tatar
Spoken
184
607
Язак () — Сербиянең Воеводина автоном крае җирлегендә () урнашкан торак пункт. Географиясе Урта Дунай тигезлегенең көньяк өлешендә, диңгез дәрәҗәсе өстеннән биеклектә урнашкан. Климаты Климат уртача, континенталь. Биредә кышлар кыска һәм карлы, җәйләр җылы. Иң салкын ай – гыйнвар, иң җылы ай – июль. Июльнең уртача температурасы 22 — 24 °C, гыйнварның -1,2 — 2,6 °C. Явым-төшем күләме елына 550-750 мм. Демография Искәрмәләр Әдәбият Никифоров К. В. Сербия на Балканах. XX век. — Москва: Индрик, 2012. — 176 с. — ISBN 978-5-91674-209-1. Поспелов Е. М. Географические названия мира. Топонимический словарь / отв. ред. Р. А. Агеева. — 2-е изд., стереотип. — М.: Русские словари, Астрель, АСТ, 2002. — 512 с. — 3000 экз. — ISBN 5-17-001389-2. Љубоја, Бранко. Организација власти у локалној самоуправи у Републици Србији. — Београд: Стална конференција градова и општина — Савез градова и општина Србије, 2013. — 57 с. — ISBN 978-86-88459-08-2. Ђурић В., Танасковић Д., Вукмировић Д., Лађевић П. Етноконфесионални и језички мозаик Србије. — Београд: Републички завод за статистику, 2014. — 209 с. — ISBN 978-86-6161-126-1. Воеводина автоном крае торак пунктлары Сербия торак пунктлары Әлифба буенча торак пунктлар
33,801
https://ru.stackoverflow.com/questions/524690
StackExchange
Open Web
CC-By-SA
2,016
Stack Exchange
https://ru.stackoverflow.com/users/179379, https://ru.stackoverflow.com/users/191482, https://ru.stackoverflow.com/users/210755, Алексей Шиманский, Ипатьев, Никита
Sardinian
Spoken
530
1,593
Оптимизация кода в PHP (шаблонизатор) Привет всем! PHP изучаю давно, вот перешел на шаблоны. Появился такой вопрос по оптимизации кода. У меня есть шаблон и сам шаблонизатор, а так же главная страница. Вот шаблонизатор: <?php class parse_class { var $vars = array(); var $template; function get_tpl($tpl_name) { if(empty($tpl_name) || !file_exists($tpl_name)) { return false; } else { $this->template = file_get_contents($tpl_name); } } function set_tpl($key,$var) { $this->vars[$key] = $var; } function tpl_parse() { foreach($this->vars as $find => $replace) { $this->template = str_replace($find, $replace, $this->template); } } } $parse = new parse_class; ?> вот шаблон <html> <head> <title>{title}</title> <meta charset="utf-8"> </head> <body> {content} </body> Собственно вопрос: можно ли как то оптимизировать следующий код, чтобы не писать по многу раз одни и те же функции: $parse->set_tpl('{title}','Заголовок сайта'); $parse->set_tpl('{content}','Контент сайта'); Заранее спасибо! во-первых уберите из set_tpl скобки и перенесите их в tpl_parse чтоб было str_replace('{'.$find.'}', ... вы же точно знаете, что парсятся такие значения, так зачем проблемы создавать в передаче имен? во-вторых можно передавать в set_tpl ассоциативный массив - ключ значение: set_tpl(['title'=>'заголовок', 'content' => 'контент']), а в функции уже пробежаться по нему и занести всё в $this->vars Это не шаблонизатор. А типичное заблуждение всех начинающих шаблонописателей. В реальной жизни это не будет работать. Потому что реальный контент не состоит из строчки "контент сайта". На самом деле он состоит из сотен сток чистого как слеза HTML. И если мы ваяем весь этот HTML в коде скрипта, то разумеется, ни о каком использовании шаблонов речь в принципе не идет. Рекомендую любые свои идеи проверять на хотя бы минимально приближенных к реальной жизни примерах. И после такой проверки сделать следующий шаг всех шаблонописателей - написать обертку над include, вида public function render($template, $data) { extract ($data); include $template; } Этого в реальной жизни тоже будет недостаточно, но этот шаблонизатор хотя бы в минимальной степени может называться таковым, позволяя отделять логику приложения от логики отображения. можете рассказать подробней про extract, как я понимаю полученные переменные нужно использовать для записи в них как раз таки сотен строк HTML кода? Нет в полученные переменные надо записывать переданные из в шаблонизатор переменные. А вот файл $template должен представлять из себя РНР файл, в котором эти переменные выводятся, обычным порядком, <?=$title?> Для практики рекомендую написать шаблон для вывода сообщений гостевой книги. С тем, чтобы HTML присутствовал только в шаблоне. Спасибо Алексею за комментарий. Посидел, разобрался, вот что в итоге получилось: Шаблонизатор: <?php class pattern // Создаем класс шаблонизатора. { public $template; // Переменная, в которую запишем оригинальный шаблон, а затем модифицированый. function get_tpl($tpl_name) // Получаем файл шаблона. { if(!empty($tpl_name) || file_exists($tpl_name)) $this->template = file_get_contents($tpl_name); // Проверяем // Проверим, есть ли файл шаблона и не пустой ли он. else return false; // В противном случае вернем false. } function tpl_construct($dataarr) // "Построение" шаблона. { foreach($dataarr as $key => $value) $this->template = str_replace($key, $value, $this->template); // Через foreach заменяем все значения в шаблоне на значения, полученные из массива. } } ?> И сама страничка: <?php require('./templates/pattern.class.php'); // Подгружаем шаблонизатор. $pattern = new pattern; // Создаем объект шаблонизатора. $pattern->get_tpl('./templates/default/template.tpl'); // Указываем путь к файлу шаблона. // Массив с данными. $data = array ( "{title}" => "заголовок", "{content}" => "контент", ); $pattern->tpl_construct($data); // Меняем значения в шаблоне на значения в массиве. print $pattern->template; // Отображаем страницу. ?>
17,783
https://scifi.stackexchange.com/questions/214601
StackExchange
Open Web
CC-By-SA
2,019
Stack Exchange
Adamant, Darren, DavidW, JBH, Joe W, Nolimon, PawnInGameOfLife, https://scifi.stackexchange.com/users/101407, https://scifi.stackexchange.com/users/26053, https://scifi.stackexchange.com/users/51379, https://scifi.stackexchange.com/users/75476, https://scifi.stackexchange.com/users/84996, https://scifi.stackexchange.com/users/87710, https://scifi.stackexchange.com/users/89839
English
Spoken
874
1,297
Has the filial relation between Nightcrawler and Mystique, from the comics, been explicitly excluded from the X-Men Cinematic Universe? In the comics, Nightcrawler is Mystique's son. I could accept in X2 that it just never comes up, as I don't recall the two being on screen much together (if at all). But with X-Men: Apocalypse and now Dark Phoenix, it seems like something the filmmakers decided to ignore or just did not realize. Has this ever been addressed in interviews or the films themselves (different timelines or some other explanation)? He could just not be Mystique's son. If it's a decision that the writers of the movies have made, and they express it in the movie, is it necessary for them to talk about it publicly? Has there ever been any connection between them in the on screen universe? @JoeW They are both X-men in Dark Phoenix (as in doing missions together). And in Apocalypse (going from memory here) she saves him from some sort of organized fight/match (haven't seen it since it was in the theatre). @Adamant Sorry, should of clarified a bit. In most other instances I've seen (comic books and verifying on Wikipedia [https://en.wikipedia.org/wiki/Nightcrawler_(comics)#Family_relations]) Nightcrawler is Mystique's son. That is not the connection you are asking about or that I was talking about. As far as I can remember there has never been any relation between the two in the movies @JoeW Agreed. Outside of the movies I thought this relationship was established and was wondering if it had ever been addressed why the films went in a different direction (either in the films themselves and I missed it, or by interviews with the film makers or something). It is common for films to vary from the original comic (indeed, all) sources. I can't think of a single based-on-a-book/comic/story movie I've ever seen that didn't vary from the original source. I wonder, though, about the somewhat aggressive title to your post. Please note that no Stack permits rants (although based on your comments, I don't believe that's what you intended). There is a scene of them together in X2. IIRC from the dvd commentary, Singer deliberately put it in as an homage to their relationship in the comics. @JBH Sorry about the title, meant to be more light-hearted sarcasm than a rant. I can change it if you'd like. @Darren That is a good example of what I was hoping to find out! I am however more curious about the more recent films and if there has been any mention about their relationship (even if it's just a simple "yep, we wanted both characters but they aren't related in our version" or something). @PawnInGameOfLife, no big deal. Thanks for letting us know. While it's never addressed, First Class does have Mystique joining the same mutant organization as Nightcrawler's father from the comics 21 years before a young Nightcrawler shows up in Apocalypse (his actor was 19 at the time). It could be they were leaving the possibility open, much like Days of Future Past did with Quicksilver's paternity. Unofficially, there's a bit in the Apocalypse blooper reel where Mystique introduces Nightcrawler as her son, so it seems very likely the filmmakers were aware of it. Yes, they're not supposed to be related, even if you as an out-of-universe movie spectator know their comic backstory. There are two pieces of evidence for that. The first is the audio commentary of X-Men 2, over the Mystique/Nightcrawler scene below (timestamp 1:14:13 in the movie, and therefore in the commentary): Alright, this is uh, this is a big moment, 'cause this is another one of those scenes I think where... It's one of the first scenes I kind of took a step back, because being a nerd/geek, I really wanted to see a moment between Mystique and Nightcrawler. And fans of the comics know that in the comics, they're mother and son. So I really wanted to have a scene that would hint at maybe that's where we were going, but not necessarily there yet. And I think it's also a moment that kind of sums up Mystique's point of view, which we have never really heard up until now. The second one is located in The Art of X-Men: The Last Stand (2006), page 47: After the cancellation of “Ms. Marvel,” Claremont and Byrne brought the character over to “Uncanny X-Men” as the leader of a new Brotherhood of Evil Mutants. In the course of the Brotherhood’s battle with the X-Men, Nightcrawler notices the physical similarities between himself and Mystique and wonders aloud whether they are connected. Two decades later it is finally revealed that Mystique is Nightcrawler's mother, a part of X-Men lore that has not been adopted by the movies. Now arguably Peter Sanderson, who wrote the "X-Men: From Comic To Screen" text above, was not involved in the making of the movie, but it's reasonable to think he talked with the movie's creators. Furthermore, the above is an official Marvel publication, and I doubt Marvel would have accepted to print such a phrasing if they wanted to have room for a potential "Nightcrawler is Mystique's son" part in the movies. Thank you for both the great answer and un-deleting/editing this question!
18,868
https://de.wikipedia.org/wiki/European%20Championships%202018
Wikipedia
Open Web
CC-By-SA
2,023
European Championships 2018
https://de.wikipedia.org/w/index.php?title=European Championships 2018&action=history
German
Spoken
543
1,284
Die 1. European Championships 2018 umfassten Europameisterschaften in sieben Sportarten. Sie fanden vom 2. bis 12. August 2018 in der schottischen Stadt Glasgow (Vereinigtes Königreich) und in der deutschen Hauptstadt Berlin statt. Zu dieser Zeit wurden in Glasgow die Europameisterschaften im Schwimmen (Disziplinen Schwimmsport, Synchronschwimmen, Wasserspringen, Freiwasserschwimmen), Radsport (Disziplinen Bahnradsport, Straßenradsport, Mountainbike, BMX), Rudern, Triathlon, Golf und Turnen ausgetragen. Zusätzlich fanden die Leichtathletik-Europameisterschaften vom 6. bis 12. August in Berlin statt. Für die Wettbewerbe wurden rund 4500 Sportler erwartet. Die European Championships schaffen eine neue Plattform für Sportarten, deren Europameisterschaften bislang auf ein unterschiedliches mediales Echo stießen. Ausgetragene Europameisterschaften Die europäischen Sportverbände für Leichtathletik, Schwimmen, Radsport, Golf, Turnen, Rudern und Triathlon koordinierten im Rahmen der ersten Ausgabe der European Championships ihre jeweiligen Kontinentalmeisterschaften. Zum Zeitpunkt dieses Beschlusses hatten bereits Berlin für die Leichtathletik-EM und Glasgow für die Schwimm-EM den Zuschlag erhalten. Glasgow wurde die Ausrichtung der Titelkämpfe der anderen beteiligten Verbände übertragen. Leichtathletik-Europameisterschaften 2018 Schwimmeuropameisterschaften 2018 Bahn-, Straßen-, BMX- und Mountainbike-Europameisterschaften 2018 Ruder-Europameisterschaften 2018 Triathlon-Europameisterschaften 2018 Turn-Europameisterschaften 2018 Golf-Team-Europameisterschaften 2018 Übersicht über die ausgetragenen Europameisterschaften: Wettkampfstätten Die meisten Anlagen befanden sich in Berlin und Glasgow. Darüber hinaus gab es einige Anlagen außerhalb Glasgows. Insgesamt gab es 13 verschiedene Wettkampfstätten. Berlin Olympiastadion Berlin für Leichtathletik Breitscheidplatz als Start und Ziel der Wettbewerbe im Gehen und Marathonlauf sowie die Qualifikationsrunde im Kugelstoßen der Herren Glasgow Tollcross International Swimming Centre für Schwimmsport bzw. Beckenschwimmen Scotstoun Sports Campus für Synchronschwimmen Commonwealth Arena and Sir Chris Hoy Velodrome für Bahnradsport Straßen von Glasgow, East Dunbartonshire und Stirling für Straßenradsport Cathkin Braes Mountain Bike Trails für Mountainbike Knightswood Park für BMX The SSE Hydro für Turnen bzw. Gerätturnen Außerhalb Glasgows Loch Lomond im Loch-Lomond-and-the-Trossachs-Nationalpark für Freiwasserschwimmen Royal Commonwealth Pool in Edinburgh für Wasserspringen PGA Centenary Course, Gleneagles in Auchterarder für Golf Strathclyde Country Park in Lanarkshire für Rudern und Triathlon Teilnehmende Nationen und Teams Insgesamt waren 3.791 Athleten aus 52 Nationen und zwei Teams gemeldet (Stand: 4. August 2018). Bei den Europameisterschaften in der Leichtathletik wurden keine Athleten unter russischer Flagge zugelassen, ein Teil durfte dennoch unter neutraler Flagge (Authorised Neutral Athletes (ANA)) antreten. Außerdem trat ein anerkannter Flüchtling bei den Europameisterschaften in der Leichtathletik als Flüchtlingsteam (Athlete Refugee Team (ART)) auf. Zeitplan Legende: Medaillenspiegel Übersicht der Medaillen der European Championships 2018. Gastgeber in blau. Endstand nach 187 Wettbewerben: Medien und Sponsoren Alle wichtigen öffentlich-rechtlichen TV-Anstalten Europas übertrugen die European Championships 2018. Darunter fielen die BBC in Großbritannien, ARD/ZDF in Deutschland, France Télévisions in Frankreich, RAI in Italien und RTVE in Spanien. Weitere Mitglieder der EBU sind unter anderem VRT (Belgien), HRT (Kroatien), DR (Dänemark), YLE (Finnland), RTÉ (Irland), NOS (Niederlande), NRK (Norwegen), TVP (Polen), SRG SSR (Schweiz) und SVT/TV4 (Schweden). Die Verbreitung der Übertragung wurde zudem auch noch durch einen Vertrag mit Eurosport ergänzt. Bis April 2018 hatten insgesamt 40 EBU-Mitglieder Vereinbarungen mit der EBU zur Übertragung der European Championships getroffen. Die Veranstalter in Glasgow hatten vier offizielle Partner (People Make Glasgow, die Schottische Regierung, Strathmore und Spar), Berlin fünf (Spar, Le Gruyere, Nike, Toyo Tires und Eurovision) sowie zusätzlich eine weitere Sponsoring-Ebene von „Official Supporters“. Die Meisterschaften wurden unter einer neuen Marke mit dem „Mark of a Champion“, einem sternartigen, sechsfarbigen Logo, inszeniert. Weblinks Offizielle Veranstaltungsseite (englisch) Einzelnachweise Sportveranstaltung in Glasgow Leichtathletikwettbewerb in Berlin 2018 Multisportveranstaltung 2018
35,355
https://pl.wikipedia.org/wiki/Jafa%20an-Naserije
Wikipedia
Open Web
CC-By-SA
2,023
Jafa an-Naserije
https://pl.wikipedia.org/w/index.php?title=Jafa an-Naserije&action=history
Polish
Spoken
1,158
2,917
Jafa an-Naserije (hebr. יפיע; arab. يافة الناصره; ang. Yafa an-Naseriyye) – samorząd lokalny położony w Dystrykcie Północnym, w Izraelu. Niewielka arabska miejscowość w Dolnej Galilei. Dużym walorem Jafa an-Naserije jest atrakcyjne turystycznie otoczenie wzgórz masywu Hare Nacerat oraz sąsiedztwo miasta Nazaret. Położenie Miejscowość Jafa an-Naserije jest położona w zachodnim skraju masywu górskiego Hare Nacerat w Dolnej Galilei, na północy Izraela. W jej otoczeniu znajdują się miasta Nazaret i Migdal ha-Emek, moszaw Tel Adaszim, kibuce Mizra, Ginnegar i Kefar ha-Choresz. Miejscowość jest częścią obszaru metropolitalnego Nazaretu. Jafa an-Naserije jest położone w Poddystrykcie Jezreel, w Dystrykcie Północnym Izraela. Środowisko naturalne Miejscowość leży na wysokości od 295 do 400 metrów n.p.m. w zachodnim skraju masywu górskiego Hare Nacerat (ok. 400 m n.p.m.). Na południe od miejscowości teren stromo opada 200 metrów niżej do intensywnie użytkowanej rolniczo Doliny Jezreel. Spływa tędy strumień Mizra. Po stronie zachodniej wznoszą się zalesione wzgórza Har Bahran (438 m n.p.m.), Har Cameret (470 m n.p.m.) i Giwat Jifa (430 m n.p.m.). Okoliczne wzgórza są częściowo zalesione. Historia Miejscowość jest utożsamiana z biblijnym miastem Jafia (hebr. יפיע), które po podboju Kanaanu przez Żydów zostało przyznane pokoleniu Zabulona. Lokalna tradycja twierdzi, że mieszkał tutaj Zebedeusz, ojciec apostołów Jakuba i Jana. W czasie wojny żydowsko-rzymskiej miasto było jednym z ważnych ośrodków żydowskiego oporu. Zostało ono ufortyfikowane przez Józefa Flawiusza, i po ciężkiej walce zdobyte w 67 roku przez wojska Tytusa Flawiusza. Rzymianie całkowicie zniszczyli miasto. Badania archeologiczne odsłoniły między innymi pozostałości starożytnej synagogi z tego okresu. W późniejszym okresie istniała tutaj niewielka wioska, w której mieszkała społeczność chrześcijańska, a później arabska. Pochodzący z 1881 roku opis przedstawia ją, jako „umiarkowanej wielkości miejscowość o silnej pozycji wpływającej na obszar od Nazaretu do Jubata”. Na początku XX wieku zamieszkali w niej członkowie beduińskiego plemienia al-Hazalin. Po I wojnie światowej w 1918 roku wraz z całą Palestyną wioska przeszła pod panowanie Brytyjczyków. Utworzyli oni w 1921 roku Brytyjski Mandat Palestyny. W poszukiwaniu skutecznego rozwiązania narastającego konfliktu izraelsko-arabskiego w dniu 29 listopada 1947 roku została przyjęta Rezolucja Zgromadzenia Ogólnego ONZ nr 181. Zakładała ona między innymi, że wioska Jafa an-Naserije miała znaleźć się w granicach nowo utworzonego państwa arabskiego. Arabowie odrzucili tę Rezolucję i dzień później doprowadzili do wybuchu wojny domowej w Mandacie Palestyny. W trakcie jej trwania rejon wioski zajęły siły Arabskiej Armii Wyzwoleńczej, które paraliżowały żydowską komunikację w rejonie. Podczas I wojny izraelsko-arabskiej w trakcie operacji „Dekel” w lipcu 1948 roku wioskę zajęły wojska izraelskie. W odróżnieniu od wielu wiosek w Galilei, Izraelczycy nie wysiedlili jednak mieszkańców Jafy. Dzięki temu zachowała ona swoją arabską tożsamość. Po wojnie osiedlili się tutaj mieszkańcy zniszczonych arabskich wiosek Malul i Al-Mudżajdil. W 1960 roku otrzymała status samorządu lokalnego. Nazwa Arabska nazwa nawiązuje do nadmorskiej miejscowości Jafa, i dla odróżnienia dodaje an-Naserije, czyli Jafa z Nazaretu. Odnośnie do etymologii słowa Jafa albo Jafo występują różnorodne koncepcje. Niektórzy uważają, że wywodzi się ono od hebrajskich słów jafah lub jofi oznaczających piękny lub piękno. Natomiast lokalna tradycja wskazuje na Jafeta, syna Noego, który miał założyć to nadmorskie miasto (obecnie dzielnica miasta Tel Awiw-Jafa). Demografia Zgodnie z danymi Izraelskiego Centrum Danych Statystycznych w 2012 roku w Jafa an-Naserije żyło prawie 17,7 tys. mieszkańców, w 80,5% Arabowie muzułmanie i 19,5% Arabowie chrześcijanie. Jest to niewielkie miasteczko, którego populacja charakteryzuje się niewielkim, lecz stałym wzrostem liczebności. Według danych z 2011 roku przyrost naturalny w porównaniu do poprzedniego roku wyniósł 2,6%. W roku tym urodziło się 334 dzieci, a zmarło 59 osób (odnotowano 2 zgony niemowląt). Według danych za 2010 rok liczba zatrudnionych pracowników wynosiła 5317, a liczba osób pracujących na własny rachunek wynosiła 486. Średnie miesięczne wynagrodzenie w 2010 roku wynosiło 5150 ILS (średnia krajowa 7522 ILS). Zasiłki dla bezrobotnych pobierało 97 osób, w tym 73 mężczyzn (średni wiek: 42 lata). Świadczenia emerytalne oraz rentowe pobierało 772 osób, a zapomogi społeczne 1308 osób. Źródło danych: Central Bureau of Statistics. Symbole Herb Jafa an-Naserije został przyjęty w 1970 roku. Widnieje na nim kłos pszenicy, kielnia i młotek, jako wyobrażenia zawodów wykonywanych przez mieszkańców miejscowości. Dodatkowo, na herbie widnieje nazwa miasta w języku arabskim i hebrajskim. Oficjalna flaga miasta jest w kolorze niebieskim z białym herbem pośrodku. Gospodarka Lokalna gospodarka opiera się głównie na handlu i rzemiośle. Część mieszkańców dojeżdża do pracy w pobliskich strefach przemysłowych, najczęściej przy sąsiednim mieście Migdal ha-Emek. Około 5% mieszkańców pracuje w rolnictwie, 60% w przemyśle, oraz 35% w usługach i handlu. Infrastruktura W miejscowości nie ma szpitala, jednak w sąsiednim Nazarecie są zlokalizowane Szpital Świętej Rodziny (tzw. Włoski Szpital), Szpital Nazaret (tzw. Angielski Szpital) oraz Szpital św. Wincenta à Paulo (tzw. Francuski Szpital). W Jafa an-Naserije znajdują się jedynie przychodnie zdrowia. Transport Miejscowość leży przy jednej z najważniejszych arterii komunikacyjnej Doliny Jezreel, co wywiera korzystny wpływ na jego rozwój. Przez samo jego centrum przechodzi droga nr 75, którą jadąc na północny wschód dojeżdża się do Nazaretu i skrzyżowania z drogą nr 60, lub jadąc na zachód do miasta Migdal ha-Emek. Głównym środkiem transportu publicznego są dalekobieżne autobusy linii Egged i lokalne autobusy linii Kavim. Przez cały dzień autobusy regularnie odjeżdżają do Nazaretu, Afuli i Hajfy. W 2011 roku w mieście było zarejestrowanych 4984 pojazdów silnikowych, w tym 3820 samochodów osobowych (średnia wieku samochodów prywatnych wynosiła 11 lat). W roku tym w mieście doszło do 18 wypadków drogowych. Izraelski rząd przyjął plan budowy linii kolejowej Rakewet Jisra’el, która ma w przyszłości połączyć Hajfę z Nazaretem. Początkowo zakładano, że linia będzie obsługiwać jedynie lekkie pociągi pasażerskie, jednak w 2011 roku zdecydowano, że będą tędy także jeździć ciężkie pociągi towarowe. Linia kolejowa będzie przebiegać wzdłuż południowej granicy miasta i Jafa an-Naserije prawdopodobnie będzie mieć własną stację kolejową. W odległości 8 km na południe od miasta znajduje się port lotniczy Megiddo. Mogą na nim lądować niewielkie prywatne samoloty. Natomiast 19 km na północny zachód znajduje się duży port lotniczy Hajfa obsługujący połączenia międzynarodowe. Architektura Pierwotnie była to wieś rolnicza, jednak wraz ze wzrostem liczebności mieszkańców zaprzestano gospodarki rolnej. Kolejne domy budowano w sposób chaotyczny, bez zintegrowanej infrastruktury, która umożliwiałaby korzystanie z budynków publicznych i usług komunalnych. Miejscowość posiada kilka osiedli, które pierwotnie były odrębnymi wioskami: Ras Ismail, Um el-Adcham, Mrach el-Dżuzlan, el-Amair, el-Almani, Manzel Rnur, el-Madaries, el-Lakalum, Wadi el-Chareji, el-Balad, Alsira, el-Amal, al-Bajader, Alajn, al-Dżabal, el-Szimali i Mar Ja'akub. Edukacja Zgodnie z danymi Izraelskiego Centrum Danych Statystycznych w Jafa an-Naserije mieści się 9 przedszkoli oraz 6 szkół – w tym 4 szkoły podstawowe, szkoła edukacji specjalnej i jedna prywatna szkoła chrześcijańska. W 2011 roku w 141 klasach szkolnych uczyło się ponad 4,1 tys. uczniów, w tym prawie 2,4 tys. w szkołach podstawowych. Średnia liczba uczniów w klasie wynosiła 28. Religia Ponieważ jest to miejscowość zamieszkała przez muzułmanów i chrześcijan, dlatego są tutaj meczety (stary meczet, meczet al-Rahma, meczet Omara el-Muchtar) i kościoły (kościół baptystów, trzy kościoły katolickie, w tym pod wyzwaniem św. Jana, oraz greckokatolicka cerkiew). Zauważalny jest jednak systematyczny proces spadku liczebności chrześcijan. Wojsko Na północny zachód od miasteczka znajduje się baza wojskowa Ma’alul. Uwagi Przypisy Linki zewnętrzne Samorządy lokalne poddystryktu Jezreel Samorządy lokalne Izraela Arabskie miasta i miejscowości w Izraelu
20,944
https://arz.wikipedia.org/wiki/%D8%AC%D9%88%D8%B3%D8%AA%D8%A7%DA%A4%D9%88%20%D9%86%D9%8A%DA%A4%D9%8A%D8%B3%20%D9%83%D8%A7%D9%85%D9%BE%D9%8A%D9%84%D9%88
Wikipedia
Open Web
CC-By-SA
2,023
جوستاڤو نيڤيس كامپيلو
https://arz.wikipedia.org/w/index.php?title=جوستاڤو نيڤيس كامپيلو&action=history
Egyptian Arabic
Spoken
83
261
جوستاڤو نيڤيس كامپيلو منافس العاب قوى من اسبانيا. حياته جوستاڤو نيڤيس كامپيلو من مواليد يوم 9 مارس 1982 فى ڤيلالبا. الدراسه درس فى جامعة فيجو. المشاركات شارك فى: الالعاب البارالمبيه الصيفيه 2012 العاب قوى هى مجموعة رياضات متكونه من الجرى و المشى و الرمى و النط, كانت موجوده قبل الميلاد بايام الحضاره اليونانيه و بقت بعدين جزء اساسى من الالعاب الاولمبيه الى بتتنظم كل 4 سنين و بتتعرف بأم الألعاب. لينكات برانيه مصادر منافس العاب قوى العاب قوى منافس العاب قوى من اسبانيا
28,965
https://pt.wikipedia.org/wiki/CDL%20FM
Wikipedia
Open Web
CC-By-SA
2,023
CDL FM
https://pt.wikipedia.org/w/index.php?title=CDL FM&action=history
Portuguese
Spoken
71
140
CDL FM é uma rádio em FM 102.9 MHz pertencente ao Grupo Bel. A emissora por anos foi a conhecida Rádio CDL, parceria do Grupo Bel com a CDL Belo Horizonte. Mesmo com a mudança de nome, manteve sua programação, voltada ao público adulto-contemporâneo, e manteve a parceria, com o qual consegue captar apoiadores culturais. Ligações externas Grupo Bel Estações de rádio de Belo Horizonte Fundações em Minas Gerais em 2007
47,010
https://ta.wikipedia.org/wiki/%E0%AE%A4%E0%AE%BF%E0%AE%B0%E0%AF%81%E0%AE%95%E0%AF%8D%E0%AE%95%E0%AF%8B%E0%AE%9F%E0%AE%BF%E0%AE%95%E0%AF%8D%E0%AE%95%E0%AE%BE%E0%AE%B5%E0%AE%B2%E0%AF%8D%20%E0%AE%95%E0%AE%BF%E0%AE%B0%E0%AF%81%E0%AE%B7%E0%AF%8D%E0%AE%A3%E0%AE%B0%E0%AF%8D
Wikipedia
Open Web
CC-By-SA
2,023
திருக்கோடிக்காவல் கிருஷ்ணர்
https://ta.wikipedia.org/w/index.php?title=திருக்கோடிக்காவல் கிருஷ்ணர்&action=history
Tamil
Spoken
313
2,518
திருக்கோடிக்காவல் கிருஷ்ணர் (Thirukodikaval Krishnar, 1857-1913) தமிழகத்தைச் சேர்ந்த ஒரு கருநாடக இசை வயலின் வாத்தியக் கலைஞராவார். இளமைக்காலம் இவரது தகப்பனார் குப்புசுவாமி (பாகவதர்) இசைப் பேருரைகள் ஆற்றும் கலைஞர். கிருஷ்ணர் தொடக்கத்தில் தனது தந்தையாரிடம் இசை பயின்றார். பின்னர் கொடவாசல் வெங்கடராமரிடம் இசை கற்றுக்கொண்டார். வெங்கடராமர் தான வர்ணங்கள் இயற்றுவதில் வல்லவர். கிருஷ்ணருக்குக் குரல் வளம் நன்றாக இருக்கவில்லை. ஆகவே, ஆசிரியர் அவரை வயலின் கற்றுக்கொள்ளுமாறு கூறினார். எனவே அவர் பிடில் சுப்பாவிடம் வயலின் கற்றுக் கொள்ளத் தொடங்கினார். பின்னர் முத்துசுவாமி சிஷ்ய பரம்பரையில் வந்த சாத்தூர் பஞ்சுவிடம் இசை கற்றார். இவருடன் கூட வீணை தனம்மாள், நாதசுவரம் வித்துவான் திருப்பாம்புரம் நடராஜசுந்தரம் ஆகியோரும் பஞ்சுவிடம் இசை பயின்றனர். இசை அநுபவங்கள் தொடக்கக் காலத்தில் மட்டுமன்றி பிற்காலத்திலும் கூட வயலின் வாத்தியத்தை கருநாடக இசைக்கு ஏற்றவாறு எவ்வாறு மேம்படுத்தலாம் என்பது பற்றி எந்நேரமும் அர்ப்பணிப்பு சிந்தையுடன் செயற்பட்டார். ஒவ்வொரு நாளும் சரளி வரிசை, தானம் என்பவற்றை சாதகம் செய்தார். மிகக் குறைந்த கதியில் தொடங்கி நான்கு ஸ்தாயிகளில் பயிற்சி செய்தார். அத்துடன் வில்லின் ஒரு அசைவிலே 4, 8, 16, 32 இசைக்குறிப்புகளை எழுப்ப பயிற்சி பெற்றார். ஒவ்வொரு நாளும் நான்கு வர்ணங்கள் வாசிப்பார். ஆயினும், வயலின் ஒரு பக்கவாத்திய இசைக் கருவி என்பதும் பிரதான பாடகரின் இசையை பிரகாசிக்கச் செய்வதே வயலின் வித்துவானின் கடமை என்ற நினைவும் அவருக்கு இருந்தது. அவர் வயலின் வாசிக்கும்போது வெறுமனே இசைக்கோலங்கள் போடுவதில்லை. பாடகர் பாடும் ஒவ்வொரு சொல்லையும் திருப்பிச் சொல்வது போல் இருக்கும். அரங்கிசை நிகழ்ச்சிகள் அக்காலத்தின் பிரபல வித்துவான்களான மகா வைத்தியநாதர், பட்னம் சுப்பிரமணியர் போன்றவர்களின் இசைக்கச்சேரிகளுக்கு வயலின் வாசித்துள்ளார். ஒரு சமயம் திருமண வைபவம் ஒன்றின்போது கோனேரிராஜபுரம் வைத்தியநாதரின் இசைக்கச்சேரிக்கு கிருஷ்ணர் வயலின் வாசித்தார். கும்பகோணம் அழகநம்பி மிருதங்கம், புதுக்கோட்டை தட்சணாமூர்த்தி கஞ்சிரா, உமையாள்புரம் சுந்தரம் கடம் வாசித்தனர். கச்சேரி நான்கு மணி நேரம் நடைபெற்றது. அச்சமயம் சிறுவனாக இருந்த அரியக்குடி இராமானுஜர் தனது தகப்பனாரான திருவேங்கடதாருடன் வந்திருந்தார். பிரதான கச்சேரி முடிந்ததும் சிறுவனைப் பாட வைத்தனர். மிகப் பெரிய பக்க வாத்திய வித்துவான்களுக்கு மத்தியில் உட்காரப் பயந்து சிறுவன் இராமானுஜன் ஒரு ஓரமாக உட்கார்ந்தான். அச்சமயம் திருக்கோடிக்காவல் கிருஷ்ணர் சிறுவனை நோக்கி "முன்னுக்கு வா" என்று கூறினார். அவர் மேடையில் முன்னுக்கு வா என்ற கருத்தில் சொன்னாலும் அதுவே ஆசீர்வாதமாக அமைந்து பின்னாளில் அரியக்குடி இராமானுஜர் மிகப் பெரும் இசைக் கலைஞரானார். மாணாக்கர்கள் செம்மங்குடி நாராயணசுவாமி, திருக்கோடிக்காவல் இராமசுவாமி ஆகியோர் இவரது மாணாக்கர்கள் ஆவர். செம்மங்குடி சீனிவாசர் இவரின் மருகராவர். அரச பணி இவர் அக்கால அரச பதவியான கிராம முன்சீப் ஆக இருந்தார். ஆனால் அப்போதிருந்த வெள்ளைக்கார நிருவாக அதிகாரி இவர் இசை நிகழ்ச்சிகளில் பங்குபற்றுவதாகக் கூறி பதவியை பறித்துவிட்டார். ஆயினும் இவர் வாதாடி அந்த வேலையை தனது மகனுக்கு வாங்கிக் கொடுத்தார். மேற்கோள்கள் குறிப்புகள் இந்திய வயலின் கலைஞர்கள் 1857 பிறப்புகள் 1913 இறப்புகள் தஞ்சாவூர் மாவட்ட நபர்கள்
13,625
https://ru.wikipedia.org/wiki/%D0%92%D1%8B%D1%81%D0%BE%D0%BA%D0%BE%D0%B5
Wikipedia
Open Web
CC-By-SA
2,023
Высокое
https://ru.wikipedia.org/w/index.php?title=Высокое&action=history
Russian
Spoken
1,266
3,910
Высо́кое — название населённых пунктов: Белоруссия Высокое — деревня в Берёзовском районе Брестской области. Высокое — город в Каменецком районе Брестской области. Высокое — деревня в Малоритском районе Брестской области. Высокое — деревня в Пинском районе Брестской области. Высокое — деревня в Столинском районе Брестской области. Высокое — деревня в Оршанском районе Витебской области. Высокое — посёлок в Оршанском районе Витебской области. Высокое — деревня в Рогачёвском районе Гомельской области. Высокое — деревня в Хойникском районе Гомельской области. Высокое — деревня в Воложинском районе Минской области. Высокое — деревня в Крупском районе Минской области. Высокое — деревня в Смолевичском районе Минской области. Высокое — деревня в Климовичском районе Могилёвской области. Высокое — деревня в Костюковичском районе Могилёвской области. Высокое — посёлок в Кричевском районе Могилёвской области. Высокое — деревня в Чаусском районе Могилёвской области. Казахстан Высокое — село в Айыртауском районе Северо-Казахстанской области. Высокое — название села Шакпак баба до 1990-х годов, Тюлькубасском районе Южно-Казахстанской области. Россия Алтайский край Высокое — село в Табунском районе, упразднено. Амурская область Высокое — село в Михайловском районе. Высокое — село в Ромненском районе. Архангельская область Высокое — деревня в Холмогорском районе. Белгородская область Высокое — село в Яковлевском районе. Высокое — до 2001 г. название хутора Высокий в Краснояружском районе. Брянская область Высокое — деревня в Жирятинском районе. Высокое — село в Жирятинском районе. Высокое — село в Мглинском районе. Высокое — деревня в Рогнединском районе. Высокое — село в Унечском районе. Высокое — посёлок в Унечском районе. Вологодская область Высокое — деревня в Верховажском районе. Высокое — посёлок в Усть-Кубинском районе. Высокое — деревня в Череповецком районе. Воронежская область Высокое — посёлок в Воробьевском районе. Высокое — село в Лискинском районе. Калининградская область Высокое — посёлок в Багратионовском районе. Высокое — посёлок в Гурьевском районе. Высокое — посёлок в Краснознаменском районе. Высокое — посёлок в Нестеровском районе. Высокое — посёлок в Славском районе. Калужская область Высокое — деревня в Бабынинском районе. Высокое — деревня в Думиничском районе. Высокое — деревня в Куйбышевском районе, сельское поселение «Деревня Высокое». Высокое — деревня в Куйбышевском районе, сельское поселение «Село Мокрое». Высокое — деревня в Мещовском районе. Высокое — деревня в Мосальском районе. Высокое — деревня в Хвастовичском районе. Костромская область Высокое — деревня в Октябрьском районе. Краснодарский край Высокое — село в составе города Сочи. Курская область Высокое — село в Глушковском районе. Высокое — село в Медвенском районе. Мордовия Высокое — село в Ковылкинском районе. Высокое — деревня в Темниковском районе. Московская область Высокое — деревня в Можайском районе. Высокое — деревня в Солнечногорском районе. Высокое — деревня в городском округе Шаховская Новгородская область Высокое — деревня в Мошенском районе. Высокое — деревня в Солецком районе. Высокое — деревня в Старорусском районе, Великосельское сельское поселение. Высокое — деревня в Старорусском районе, Луньшинское сельское поселение. Высокое — деревня в Холмском районе, Красноборское сельское поселение. Высокое — деревня в Холмском районе, Наволокское сельское поселение. Высокое — деревня в Холмском районе, Находское сельское поселение. Высокое — деревня в Чудовском районе. Орловская область Высокое — деревня в Знаменском районе. Высокое — деревня во Мценском районе. Высокое — деревня в Орловском районе. Высокое — деревня в Покровском районе. Высокое — село в Троснянском районе. Высокое — село в Шаблыкинском районе. Пензенская область Высокое — село в Башмаковском районе. Приморский край Высокое — село в Черниговском районе. Псковская область Высокое — деревня в Дедовичском районе. Высокое — деревня в Невельском районе. Высокое — деревня в Новоржевском районе. Высокое — деревня в Опочецком районе. Высокое — деревня в Струго-Красненском районе. Высокое — озеро в Красногородском районе. Рязанская область Высокое — деревня в Ермишинском районе. Высокое — село в Пителинском районе. Высокое — деревня в Рыбновском районе. Высокое — село в Рязанском районе. Высокое — село в Сараевском районе. Высокое — село в Скопинском районе. Высокое — село в Шацком районе. Самарская область Высокое — село в Пестравском районе. Саратовская область Высокое — село в Красноармейском районе. Сахалинская область Высокое — село в Анивском районе. Смоленская область Высокое — деревня в Гагаринском районе. Высокое — деревня в Ельнинском районе. Высокое — деревня в Монастырщинском районе. Высокое — село в Новодугинском районе, Высоковское сельское поселение. Высокое — деревня в Новодугинском районе, Извековское сельское поселение. Высокое — деревня в Сафоновском районе. Высокое — деревня в Смоленском районе. Высокое — деревня в Угранском районе, Захарьевское сельское поселение. Высокое — деревня в Угранском районе, Знаменское сельское поселение. Высокое — деревня в Холм-Жирковском районе. Тверская область Высокое — деревня в Весьегонском районе, Пронинское сельское поселение Высокое — деревня в Весьегонском районе, Чамеровское сельское поселение. Высокое — деревня в Калязинском районе. Высокое — село в Кесовогорском районе. Высокое — деревня в Кувшиновском районе, Борковское сельское поселение. Высокое — деревня в Кувшиновском районе, Васильковское сельское поселение. Высокое — деревня в Лихославльском районе. Высокое — деревня в Нелидовском районе, Высокинское сельское поселение. Высокое — деревня в Нелидовском районе, Нелидовское сельское поселение. Высокое — деревня в Оленинском районе, Гришинское сельское поселение. Высокое — деревня в Оленинском районе, Гусевское сельское поселение. Высокое — деревня в Оленинском районе, Мостовское сельское поселение. Высокое — деревня в Осташковском районе. Высокое — деревня в Селижаровском районе. Высокое — деревня в Старицком районе. Высокое — посёлок в Торжокском районе, центр Высоковского сельского поселения Высокое — деревня в Торжокском районе, Высоковское сельское поселение Высокое — деревня в Торжокском районе, Страшевичское сельское поселение, ОКАТО 28254860026. Высокое — деревня в Торжокском районе, Страшевичское сельское поселение, ОКАТО 28254860009. Высокое — деревня в Торопецком районе. Высокое — микрорайон города Ржева Томская область Высокое — село в Зырянском районе. Тульская область Высокое — деревня в Венёвском районе. Высокое — деревня в Воловском районе. Высокое — деревня в Дубенском районе. Высокое — село в городском округе город Тула. Высокое — деревня в Одоевском районе. Высокое — упразднённый в 1958 году рабочий посёлок Алексинского района Тульской области России. Ярославская область Высокое — упразднённая деревня в Пошехонском районе. Крым спорная между Россией и Украиной территория, де-факто в составе России Высокое — село в Бахчисарайском районе. Высокое — упразднённое село в Ленинском районе (Ленинский сельсовет). Высокое — упразднённое село в Ленинском районе (Марфовский сельсовет). Высокое — упразднённое село на территории Городского округа Судак/Судакского городского совета. Высокое — упразднённое село в Черноморском районе. Украина Высокое — село в Томашпольском районе Винницкой области. Высокое — село в Любомльском районе Волынской области. Высокое — село в Криничанском районе Днепропетровской области. Высокое — село в Никопольском районе Днепропетровской области. Высокое (до 2016 года — Владимировка) — село в Томаковском районе Днепропетровской области. Высокое — посёлок в составе города Макеевка Донецкой области. Высокое — село в Брусиловском районе Житомирской области. Высокое — село в Черняховском районе Житомирской области. Высокое — село в Мелитопольском районе Запорожской области. Высокое — село в Михайловском районе Запорожской области. Высокое — село в Тетиевском районе Киевской области. Высокое — село в Троицком районе Луганской области. Высокое — село в Гребёнковском районе Полтавской области. Высокое — село в Зеньковском районе Полтавской области. Высокое — село в Лохвицком районе Полтавской области. Высокое — село в Пирятинском районе Полтавской области. Высокое — село в Ахтырском районе Сумской области. Высокое — село в Краснопольском районе Сумской области. Высокое — село в Монастырисском районе Тернопольской области. Высокое (до 2016 года — Жовтнёвое) — село в Барвенковском районе Харьковской области. Высокое — село в Кегичёвском районе Харьковской области. Высокое — село в Красноградском районе Харьковской области. Высокое — село в Первомайском районе Харьковской области. Высокое — село в Бериславском районе Херсонской области. Высокое — село в Борзнянском районе Черниговской области. Высокое — село в Корюковском районе Черниговской области. Высокое — село в Прилукском районе Черниговской области. См. также Высокое Поле Ново-Высокое Нововысокое Новое Высокое Посёлок дома отдыха «Высокое» Сельское поселение Высокое Сельское поселение Деревня Высокое Старое Высокое Высочкино Высочка
20,721
https://fr.wikipedia.org/wiki/Liste%20des%20%C3%A9pisodes%20de%20Star%20Wars%3A%20The%20Clone%20Wars
Wikipedia
Open Web
CC-By-SA
2,023
Liste des épisodes de Star Wars: The Clone Wars
https://fr.wikipedia.org/w/index.php?title=Liste des épisodes de Star Wars: The Clone Wars&action=history
French
Spoken
1,465
2,655
Cet article présente la liste des épisodes de la série télévisée . Ils sont listées dans l'ordre de leur position dans la sortie de la série, et, sauf mention du contraire dans la section sur l'arc concerné, dans l'ordre chronologique par conséquent. Généralités Le , le site officiel de Star Wars présente un ordre chronologique des de la série, incluant le long-métrage homonyme . La liste est par la suite mise à jour par l'ajout des épisodes de la septième saison, sortie ultérieurement. Chaque épisode de la série commence par une phrase, une , censée marquer le spectateur et l'amener à une réflexion philosophique en lien avec l'intrigue de l'épisode. Première saison (2008-2009) Toydaria Embuscade () Malveillant Pour le premier épisode de l'arc, L'Aube du Malveillant, le compositeur Kevin Kiner est nominé dans la catégorie de la meilleure musique dans une production télévisuelle lors de la des , le . L'Aube du Malveillant () L'Ombre du Malveillant () Détruisez le Malveillant () Soldats clones Les Bleus () R2-D2 La Chute du droïde () Duel de droïdes () Nute Gunray En , le troisième épisode de l'arc, L'Antre de Grievous, est récompensé comme meilleur montage sonore lors des . Ce même épisode est l'épisode le plus apprécié de la saison, selon les notes du site IMDb. Jedi Bombad () La Cape des ténèbres () L'Antre de Grievous () Comte Dooku La Capture du comte Dooku () Le Général Gungan () Marridun Le Crash () Les Défenseurs de la paix () Orto Plutonia Intrusion () Christophsis Il s'agit du deuxième épisode dans l'ordre chronologique, après Le Chat et la Souris, lui aussi seizième épisode de sa saison. Ces deux épisodes se déroulent avant même le film pilote de la série. L'Ennemi caché () Ombre bleue Le Virus de l'ombre bleue () Les Mystères des mille lunes () Ryloth Tempête sur Ryloth () Les Innocents de Ryloth () Liberté sur Ryloth () Chasseurs de primes Malgré sa place dans la première saison, cet épisode se déroule tardivement, entre les deux épisodes de l'arc de la troisième saison. Prise d'otage () Deuxième saison (2009-2010) Le surnom utilisé pour la promotion de la saison, , est, une fois les épisodes tous sortis, jugé trompeur face au peu d'épisodes où les chasseurs de primes apparaissent et à l'absence de fil directeur autour de ces chasseurs de primes. Holocron Le Vol de l'holocron () La Dangereuse Cargaison () Les Enfants de la Force () Géonosis Pour l'épisode au milieu de l'arc, L'Usine d'armement, le compositeur Kevin Kiner est nominé dans la catégorie de la meilleure musique dans une production télévisuelle lors de la des , le . Le même mois, le deuxième épisode de l'arc est nominé pour le meilleur montage sonore lors des . Ce même épisode est l'épisode le plus apprécié de la saison, selon les notes du site IMDb. Un espion au Sénat () Atterrissage mouvementé () L'Usine d'armement () L'Héritage de la terreur () Les Envahisseurs mentaux () Saleucami L'Intrigue de Grievous () Le Déserteur () Ahsoka Le Sabre laser perdu () Mandalore Le Complot de Mandalore () Le Voyage de la tentation () La Duchesse de Mandalore () Sénat Meurtres au Sénat () Christophsis Il s'agit du premier épisode dans l'ordre chronologique, suivi de L'Ennemi caché, lui aussi seizième épisode de sa saison. Ces deux épisodes se déroulent avant même le film pilote de la série. Le Chat et la Souris () Felucia Cet épisode se déroule entre les deux premiers arcs de la saison. Les Chasseurs de primes () Zillo Cet arc se déroule entre les deux premiers arcs de la saison. L'arc est une référence à Godzilla. George Lucas souhaitait en effet introduire dans cet univers un monstre de style kaiju. La Bête de Zillo () La bête de Zillo contre-attaque () Boba Fett Cet arc centré autour du personnage de Boba Fett, qu'il introduit dans la série, sort pour le trentième anniversaire de l'introduction originale de Boba, dans L'Empire contre-attaque. Piège mortel () R2 rentre au bercail () La Traque mortelle () Troisième saison (2010-2011) Soldats clones Le premier épisode de l'arc se déroule avant Les Bleus, de la première saison. Le second épisode de l'arc se déroule après Les Bleus. Les Clones cadets () Les ARC Troopers () Toydaria Cet épisode se déroule avant Embuscade, de la première saison. Les Renforts () Pantora La Sphère de l'influence () Mandalore Corruption () L'Académie () Ahsoka Assassin () Hutts Plans malveillants () La Chasse de Ziro () Sénat Héros des deux côtés () À la poursuite de la paix () Sœurs de la nuit Les Sœurs de la nuit () Monstre () Les Sorcières de la brume () Mortis Les Fantômes de Mortis est l'épisode le plus apprécié de la saison, selon les notes du site IMDb. Les Grands Seigneurs () L'Autel de Mortis () Les Fantômes de Mortis () Nexus La Citadelle () Contre-attaque () Sauvetage à la citadelle () Trandoshans La Padawan perdue () La Chasse au Wookie () Quatrième saison (2011-2012) Mon Calamari Guerre aquatique () L'Attaque Gungan () Prisonniers () Gungans Le Guerrier de l'ombre () Droïdes L'aventure de C-3PO et R2-D2 dans le deuxième épisode de l'arc est une référence au classique de la littérature anglophone Les Voyages de Gulliver de Jonathan Swift. Mission humanitaire () Les Droïdes nomades () Soldats clones Le Carnage de Krell est l'épisode le plus apprécié de la saison, selon les notes du site IMDb. L'Obscurité sur Umbara () Le Général () Insubordination () Le Carnage de Krell () Zygerria L'Enlèvement () Les Esclaves de la République () Les Évadés de Kadavo () Ahsoka Un ami dans le besoin () Espionnage Manigance () Amis et Ennemis () La Boîte () Crise sur Naboo () Sœurs de la nuit Le Massacre () Les Chasseurs () Les Frères () Vengeance () Cinquième saison (2012-2013) Les frères de la nuit Bien qu'il ouvre la saison, cet épisode se déroule entre les arcs et , plus tard dans la même saison. Retour en force () Onderon Une guerre sur deux fronts () Les Meneurs () La Reconquête () Points de rupture () Les Padawan LLe , , l'un des membres du , révèle que l'arc devait initialement former un film pilote pour une série télévisée qui aurait été dérivée de . George Lucas souhaitait créer cette série alors même qu'il planifiait la vente de Star Wars. Après le montage des épisodes, le film aurait fait l'objet d'une projection test lors de la Star Wars Celebration , mais Lucas abandonne ce projet et place ces épisodes dans la cinquième saison de . La Collecte () Le Test de résistance () Sauvetage en cours () Une alliance nécessaire () Les droïdes Une journée ensoleillée dans le néant et l'épisode de la série préféré de George Lucas, le créateur de la franchise. Les Armes secrètes () Une journée ensoleillée dans le néant () Porté disparu () Point de non-retour () Mandalore Sans foi ni loi est l'épisode le plus apprécié de la saison, selon les notes du site IMDb. L'Alliance () La Conspiration () Sans foi ni loi () Ahsoka L'Attentat () Le Jedi qui en savait trop () À la poursuite d'un Jedi () La Fausse Coupable () Sixième saison (2014) Ordre 66 L'Inconnu () Le Complot () Le Fugitif () Les Ordres () Scipio Une vieille connaissance () L’Ascension de Clovis () Le Système en crise () Bardotta Les Disparus, première partie () Les Disparus, deuxième partie () Sifo-Dyas Le Jedi oublié () Yoda Le Sacrifice est l'épisode le plus apprécié de la saison, selon les notes du site IMDb. Les Voix () La Destinée () Le Sacrifice () Septième saison (2020) Le Bad Batch () Un écho distant () Sur les ailes des Keeradaks () Une affaire en suspens () Ahsoka Tano Bien qu'il soit situé dans la place de deuxième arc de la saison du fait de son lien avec le dernier arc, cet arc se déroule avant l'arc . Une amitié de haut vol () Une affaire douteuse () Une dette dangereuse () Réunis à nouveau () Le siège de Mandalore Chacun des quatre épisodes de cet arc est présent parmi les dix épisodes les plus appréciés de la série, selon les votes du site . Ces quatre épisodes sont aussi les quatre plus appréciés de la série, selon les notes du site IMDb. En particulier, le dernier épisode, La victoire et la mort, est le plus apprécié, selon le même site. Amis envers et contre tout () L'Apprentie fantôme () Anéantie () La victoire et la mort () (2014) titre français inconnu () titre français inconnu () titre français inconnu () titre français inconnu () titre français inconnu () Notes et références Notes Références Star Wars: The Clone Wars (série télévisée d'animation) Star Wars Clone Wars
31,556
https://unix.stackexchange.com/questions/572921
StackExchange
Open Web
CC-By-SA
2,020
Stack Exchange
Murray Jensen, crass, https://unix.stackexchange.com/users/186963, https://unix.stackexchange.com/users/289039, https://unix.stackexchange.com/users/36176, https://unix.stackexchange.com/users/70524, mattia.b89, muru
English
Spoken
1,657
2,921
Boot kernel from UEFI directly I want to boot Arch Linux directly from UEFI. My idea is to create a boot entry using the tool efibootmgr; I used this command: efibootmgr --create --label "arch-test" --loader /vmlinuz-linux --unicode 'root=PARTUUID=f2083749-8bbc-570b-ab3b-e79d72fa08ac rw initrd=\initramfs-linux.img' --verbose I followed the Arch Wiki page on EFISTUB and I created the entry but when I try to boot from that, system stuck on boot at very early stage with this message: VFS: unable to mount root fs on unknown-block(0,0) PS: I want to have this working as emergency/rescue tool; i.e. latest systemd upgrade break up the boot manager (systemd-boot) making my machine unusable; I have been able to recover my system thanks to an external live USB. I want to AVOID this in the future! UPDATEs: 1. having or not/slash or backslash, before initrd doesn't matter 2. tried with both UUID and PARTUUID, nothing changes 3. my /boot is on /dev/sda1 while root on /dev/sda3 4. and /boot is ESP, as well # fdisk -l /dev/sda [...] Disklabel type: gpt [...] Device Start End Sectors Size Type /dev/sda1 2048 2099199 2097152 1G EFI System /dev/sda2 2099200 18874367 16775168 8G Linux swap /dev/sda3 18874368 104857599 85983232 41G Linux filesystem [...] # minfo -i /dev/sda1 :: | grep 'disk type' disk type="FAT32 " following your comments, I tried UEFI Shell. I had left this option as latest since my machine does not have an internal UEFI Shell (is it possible?). Anyway, I have: downloaded one from tianocore placed Shell.efi into /boot/EFI/Boot/ added an entry with efibootmgr --create --label "TIANO-0" --loader /EFI/Boot/Shell.efi --verbose rebooted into this Shell, I typed fs0: and vmlinuz-linux root=/dev/sda3 resulting in the same error: VFS: unable to mount root fs on unknown-block(0,0) it looks like initrd is mandatory (at least for Arch Linux); the command vmlinuz-linux initrd=initramfs-linux.img root=/dev/sda3 makes the magic my system is a Dell XPS 9343 laptop and I discovered it suffers of a bug: can't boot EFISTUB, reported on ArchWiki here. I think it explains the failure of the (first mentioned) correct procedure! ArchWiki page suggests a workaround too, but at the moment I have tried it. You will need to build a kernel that has the drivers for the device containing the root filesystem built in. @MurrayJensen How? Do you have some suggestions, links to guides, wikis? I just noticed you have a backslash () at the start of the initrd= option - try removing that ... @MurrayJensen I tried replacing it with a normal slash, as well removing it but the result does not change The kernel needs drivers for the device that contains the root filesystem otherwise you will get the unable to mount error - either build them into /vmlinuz-linux or make them available as modules in /initrd-linux.img PS it needs to be a forward slash I followed this guide [https://wiki.archlinux.org/index.php/Mkinitcpio] and included ext4 module as root has an ext4 partition but nothing changed; Maybe the partition uuid is wrong and it can't find the root filesystem? @MurrayJensen no, try again and also with PARTUUID I'm out of ideas - try using the UEFI Shell and other things suggested in the EFISTUB manual ... also, looks like it does need to be backslash - it is not a linux path, it is being interpreted by UEFI, if I'm reading it right ... I should bow out here because I risk talking about things I have no experience with. Cheers! FWIW, my working command was efibootmgr --disk /dev/nvme0n1 --part 1 --create --gpt --label "Arch Linux" --loader /vmlinuz-linux --unicode "root=UUID=e5018f7e-5838-4a47-b146-fc1614673356 rw initrd=/initramfs-linux.img" (booting of the NMVe disk instead of the HDD). Where is your ESP mounted and where are the vminuz and initramfs created? @muru /boot on /dev/sda1 while root on /dev/sda3; updated OP And is /dev/sda1 your ESP? @muru yes, it should; I update OP with some info -l | --loader NAME Specify a loader (defaults to \\elilo.efi) A kernel with EFI-stub is still not a loader. To boot from BIOS it has to be an EFI-application. All the boot loaders have .EFI suffix. I think it is possible to turn a kernel into such a directly bootable object, but normally it is one of the boot loaders that gets started (with or without offering a choice). But you can use UEFI shell (on modern systems) as the interactive boot loader. This is perfect for testing. You activate it like a boot device in BIOS, cd to fs0:, which is the ESP, and then you can fs0:> bzImage root=/dev/sda3 I just compiled a first bzImage a few days ago. First I forgot CONFIG_EFI_STUB and the UEFI shell treated the kernel like a non-binary. A second version did boot, without any initrd=. Besides EFI_STUB=y I just switched off a few options and kept the defaults. But it is true most distros have kernels that do not have the basic block device drivers - they need the initrd=IMAGE option. I use Uefi Shell as my boot loader. This is not super elegant, but very simple and flexible. And as an emergency option I think it is perfect, because the Uefi Shell is built-in, while a boot loader on a partition can be deleted. This is from Documentation/efi-stub.txt > Passing kernel parameters from the EFI shell > -------------------------------------------- > > Arguments to the kernel can be passed after bzImage.efi, e.g.:: > > fs0:> bzImage.efi console=ttyS0 root=/dev/sda4 I have the same Uefi Shell prompt fs0:>, but I found that all the usual distros have EFI_STUB kernels, and the name does not matter at all. Most common is "vmlinuz" (= loader around a compressed vmlinux). If you leave away the ".efi" and the "console=" option, this is left: fs0:> bzImage root=/dev/sda4 Which is the same minimal boot command, except that I have sda3: Uefi Shell starts the bzImage by the stub, the kernel is unpacked and started and the built-in modules recognize the SATA disk. If the root= device is not valid, you get that VFS: unable to mount panic. I could not manage to start a bzImage (or vmlinuz, or ...) from BIOS directly, like a grub64.EFI. UEFI - Applications (wikipedia): Beyond loading an OS, UEFI can run UEFI applications, which reside as files on the EFI System Partition. They can be executed from the UEFI command shell, by the firmware's boot manager, or by other UEFI applications. UEFI applications can be developed and installed independently of the system manufacturer. A type of UEFI application is an OS loader such as GRUB, rEFInd, Gummiboot, and Windows Boot Manager; which loads an OS file into memory and executes it. Also, an OS loader can provide a user interface to allow the selection of another UEFI application to run. Utilities like the UEFI shell are also UEFI applications. This confirms my view that the UEFI Shell is between the firmware boot loader and the kernel. Gentoo has similar examples; they insist on naming the kernel with .EFI suffix. If for some reason an initramfs is needed, it can either be embedded into the kernel or be used as a separate file. ... Some UEFI implementations however seem to not support passing parameters from the NVRAM to the EFI stub kernel. On Arch Linux, the kernels are EFI applications by default ("The Linux kernel supports EFISTUB booting which allows EFI firmware to load the kernel as an EFI executable. The option is enabled by default on Arch Linux kernels ..." https://wiki.archlinux.org/index.php/EFISTUB) I think EFI-stub is not EFI-application. To me it looks like Uefi Shell can execute these kernels, but BIOS can not boot into them. BIOS/efibootmgr can only boot into things like elilo.EFI, systemd-bootx64.EFI. Documentation/efi-stub.txt: "Without the extension the EFI firmware loader will refuse to execute it." is confusing, this must be from a early generation of "EFI firmware". I tried with UEFI Shell: first, my machine doesn't have an internal one, so I downloaded one from tianocore here [https://github.com/tianocore/edk2/releases/tag/edk2-stable202002]; placed into my /boot/EFI/Boot; added an entry with efibootmgr; result-> I get exactly the same error; updated OP @mattia.b89 you left out the initrd= parameter in your EDIT5. @muru thank you now UEFI Shell works! While it may be true to that some UEFI firmwares won't boot EFI applications without the .efi extension, that's not the case here. The firmware is clearly booting the kernel, which is why the OP gets VFS: unable to mount root fs on unknown-block(0,0), which comes from the running kernel. And the kernel with EFISTUB is an EFI application and can be a replacement for the bootloader: Since the EFI boot stub performs the jobs of a boot loader, in a certain sense it IS the boot loader. [https://www.kernel.org/doc/html/latest/admin-guide/efi-stub.html] Technically, I don't think this answers the question because the question is about booting the linux kernel directly from the UEFI environment, not UEFI shell environment. And I believe this is possible with the OP's setup, despite the UEFI firmware bug where parameters are not passed to the kernel. But it requires a custom built kernel which includes the initrd and kernel command line. With this answer, the OP is using the UEFIShell as the bootloader which could've just as easily been GRUB or another UEFI bootloader. It seems that some older machines with older UEFI firmware do not pass command line arguments to EFI binaries (such as an EFISTUB-enabled Linux kernel). This makes it impossible to pass important parameters such as root= and initrd= to the kernel at boot time. I've used the exact same procedure to boot the kernel directly from UEFI (specifically, the one outlined at https://wiki.debian.org/EFIStub , but I was actually doing it on Ubuntu) on two different machines. On my three year old ASrock motherboard, it worked flawlessly. On my eleven year old Dell laptop, it simply ignores the kernel command line arguments. So if your firmware doesn't support command line arguments you may be out of luck. I am going to keep trying and will post a follow up if I figure out a workaround.
12,486
https://ru.wikipedia.org/wiki/%D0%A1%D0%B0%D0%BD-%D0%A5%D0%BE%D1%81%D0%B5-%D0%90%D0%B3%D1%83%D0%B0-%D0%90%D1%81%D1%83%D0%BB%D1%8C
Wikipedia
Open Web
CC-By-SA
2,023
Сан-Хосе-Агуа-Асуль
https://ru.wikipedia.org/w/index.php?title=Сан-Хосе-Агуа-Асуль&action=history
Russian
Spoken
146
402
Сан-Хосе-Агуа-Асуль () — город в Мексике, входит в муниципалитет Апасео-эль-Гранде штата Гуанахуато. Численность населения, по данным переписи 2010 года, составила 5139 человек. Общие сведения Центр города расположен на средней высоте в 1810 метров над уровнем моря. Имеет автомобильное сообщение трассой Celaya-Querétaro и расположен на 33,5 км Панамериканского шоссе. История Происхождение города не совсем установлено, но по некоторым подтверждённым данным об истории его появления, основание датируется XVI веком, после испанских завоеваний. Ранее населённый пункт назывался San José de Urrutia, возможно по имени первого поселенца или землевладельца с таким именем. В источниках также говорится, что первые поселенцы обосновались здесь рядом с источниками и от одного из них отвели канал, протянувшийся до места под названием Лос-Акрос (). Вода была окрашены в светло-синий цвет и люди, посещавшие это место, произносили «vamos a SAN JOSE EL DE AGUA AZUL…», от чего и пошло нынешнее наименование. Ссылки Официальный сайт Примечания Города Гуанахуато
14,347
https://en.wikipedia.org/wiki/Chen%20Horng-chi
Wikipedia
Open Web
CC-By-SA
2,023
Chen Horng-chi
https://en.wikipedia.org/w/index.php?title=Chen Horng-chi&action=history
English
Spoken
576
798
Chen Horng-chi (; born 30 September 1950) is a Taiwanese politician who served as a member National Assembly between 1992 and 1996, when he was seated to the Legislative Yuan. Shortly after stepping down from the legislature in 2002, Chen left the Kuomintang and joined the Taiwan Solidarity Union. Education Chen attended the Tamsui Institute of Industrial and Business Administration, then Nihon University and Kinki University in Japan. Political career Chen was elected to the National Assembly in 1991, and to the Legislative Yuan in 1995 and 1998. He was an ally of Lee Teng-hui, and later led the Generation-E Alliance affiliated with the parties of the Pan-Blue Coalition, namely the Kuomintang and People First Party. Chen was a proponent of reform for the Kuomintang, and was willing to work with the Democratic Progressive Party to resolve questions regarding the Kuomintang's assets. However, he was frequently critical of the DPP, and repeatedly commented on President Chen Shui-bian's ability to build a government. Chen Horng-chi actively pursued the recall of Chen Shui-bian and the resignation of premier Chang Chun-hsiung. As a legislator, Chen maintained an interest in social and medical services. He opposed the legalization of gambling on Taiwan's offshore islands. For a portion of his second term in office, Chen chaired the Legislative Yuan's Discipline Committee. In February 2001, Chen spoke out against a Kuomintang proposal to form dual party tickets alongside the People First Party for that year's municipal elections. Later it was reported that Chen and fellow members of the Generation-E Alliance were considering withdrawal from the Kuomintang. Chen eventually accepted the Kuomintang nomination to run in Taipei South. During his campaign, Chen called for cooperation with the Democratic Progressive Party. His statement led to continued rumors of party switching and a potential split vote. Chen apologized for the statement but did not retract it, and led a rally to lend further support to the proposed coalition. Chen lost the election, and subsequently joined the Taiwan Solidarity Union in November 2002. Having experience in the Kuomintang's organization department, Chen was named director of the same office within the TSU. He was formally expelled from the Kuomintang in December 2002. By 2003, Chen had become the TSU's deputy secretary general. In June 2004, he was named Taiwan's deputy representative to Japan. Chen took office in October. He considered standing for the 2004 legislative elections, but ended his bid to support David Huang. Lo Koon-tsan joined Chen as a deputy representative to Japan in June 2006. Chen then served as the chairman of the Association of East Asian Relations. In January 2008, Chen was charged with taking bribes to support amendments to the Pharmaceutical Affairs Law from the National Chinese Herbal Apothecary Association in 1998. The case was heard by the Taipei District Court in 2009, and appealed to the Taiwan High Court in September 2010. Both courts found Chen guilty, but the High Court decision was overruled by the Supreme Court. The retrial was heard by the Taiwan High Court in 2012, and Chen was found not guilty. Awards and honors 2022 Grand Cordon of the Order of the Rising Sun – Japan References 1950 births Living people Taiwan Solidarity Union politicians Kuomintang Members of the Legislative Yuan in Taiwan Members of the 3rd Legislative Yuan Members of the 4th Legislative Yuan Nihon University alumni Kindai University alumni Expelled members of the Kuomintang Grand Cordons of the Order of the Rising Sun Aletheia University alumni
29,818
https://ms.wikipedia.org/wiki/Owli%20Qeshlaq
Wikipedia
Open Web
CC-By-SA
2,023
Owli Qeshlaq
https://ms.wikipedia.org/w/index.php?title=Owli Qeshlaq&action=history
Malay
Spoken
13
35
Owli Qeshlaq merupakan sebuah kawasan yang terletak di Iran. Rujukan Kawasan di Iran
1,875
https://be-x-old.wikipedia.org/wiki/%D0%9D%D0%B0%D1%86%D1%8B%D1%8F%D0%BD%D0%B0%D0%BB%D1%8C%D0%BD%D0%B0-%D0%B4%D1%8D%D0%BC%D0%B0%D0%BA%D1%80%D0%B0%D1%82%D1%8B%D1%87%D0%BD%D1%8B%20%D0%B0%D0%BB%D1%8C%D1%8F%D0%BD%D1%81%20%28%D0%A0%D0%B0%D1%81%D0%B5%D1%8F%29
Wikipedia
Open Web
CC-By-SA
2,023
Нацыянальна-дэмакратычны альянс (Расея)
https://be-x-old.wikipedia.org/w/index.php?title=Нацыянальна-дэмакратычны альянс (Расея)&action=history
Belarusian (Taraškievica)
Spoken
65
323
Нацыянал-Дэмакратычны Альянс (НДА) — грамадзка-палітычны рух у Расейскай Фэдэрацыі. Выступае за стварэнне некалькіх расейскіх рэспублік, перазаснаваньне Фэдэрацыі і заключэньне адзінай фэдэратыўнай дамовы паміж суб'ектамі РФ. Сустаршынямі НДА з'яўляюцца Аляксей Шырапаеў, Ільля Лазарэнка, Міхаіл Пажарскі. НДА ўяўляе сабой асацыяцыю рэгіянальных рухаў, якія аб'ядноўвае агульная ідэалёгія (нацыянал-дэмакратыя), а таксама мэты і задачы, сфармуляваныя ў Маніфэсце НДА. Зьяўляецца апазыцыйным рухам. Крыніцы Катэгорыя:Зьявіліся ў 2010 годзе Катэгорыя:Палітычныя арганізацыі Расеі
14,063
https://en.wikipedia.org/wiki/Virco
Wikipedia
Open Web
CC-By-SA
2,023
Virco
https://en.wikipedia.org/w/index.php?title=Virco&action=history
English
Spoken
1,741
2,308
The Virco Manufacturing Corporation, more commonly known as Virco, is an American furniture manufacturer based in Torrance, California which focuses on providing products for educational markets. The principal products of the company include student desks and activity tables, school and office seating, computer stations, lightweight folding tables, and upholstered chairs. History Foundation and early years Prior to founding Virco, Julian Virtue had cofounded Virtue Chrome Plating (later known as Virtue Brothers Manufacturing Company) with his brother Philip Virtue in August 1926. This company was quite successful, initially providing custom nickel and chrome plating for furniture manufacturers. By the mid-1930s, the company began to directly manufacture its own furniture from its factory on West Century Boulevard, producing dinette sets for restaurants and consumer homes, chrome-plated chairs for offices, and beauty-parlor equipment. During World War II, the company became a significant supplier of furniture for the military, providing furniture for the sleeping quarters and mess halls of US Navy ships, and thousands of bunkbeds for US Army and Marine barracks. Even after the conclusion of the war, the company remained a significant military contractor, while also expanding further into the consumer furniture market. However, due to a disagreement between the brothers, Julian Virtue left the company. After dividing their assets, Julian got a check for $1,000,000 and Philip continued to run Virtue Brothers. In February 1950, Virco was founded by Julian Virtue in Los Angeles, California, opening its first factory on Vermont Avenue. To avoid starting his new business entirely from scratch, Virtue also purchased the Slauson Aircraft Company in 1950. Despite its name, in the post-World War II peacetime economy, Slauson Aircraft had become a school furniture maker and held a lucrative contract with the Los Angeles School Districts. This acquisition quickly allowed Virco to become the leading manufacturer of school equipment in the Greater Los Angeles area. Growth and expansion Virco further expanded in 1954 with the purchase of the Dunn Furniture Company in Conway, Arkansas. This purchase established a nationwide presence for the company, allowing for sales along both the East Coast and West Coast and increasing their sales volume significantly. Julian's son Robert joined the company in 1956, after having graduated from college and serving in the navy. He rose up the corporate ladder and began working quite closely with his father in the management of the company. In 1964, became a publicly-traded company, selling its shares on the over-the-counter market. With increasing competition and rising labor costs hurting profit margins, the company decided to expand its operations internationally. In 1971, they opened a new factory in San Luis Río Colorado, Mexico directly across the border from Yuma, Arizona. This new facility, operated under the maquiladora concept, helped to drive down labor costs for the company. This, in turn, increased company profitability and allowed it to grow large enough to be listed on the American Stock Exchange in 1977. The 1980s and early 1990s were a time of continued growth for the company, as well as leadership change. Facilities in Conway not only had their manufacturing capacities increased, but also became distribution and packing centers. Meanwhile, the factory in Mexico grew to nearly 1,200 workers. The company also purchased a 55,000-square-foot facility in Newport, Tennessee from the struggling Heywood-Wakefield Company in 1984. This facility, used for the manufacture of melamine plastic chair seats, soon employed 200 workers. Julian Virtue also semi-retired from the company, with his son Robert becoming president in 1982. Julian died in December 1991, with Robert having taken over as CEO and chairman of the board in 1988 and 1990, respectively. Recent struggles In recent years, the company has struggled financially due to the declines in public school funding. The company has also faced increased competition as school and government contracts have increasingly been awarded to local furniture suppliers. As a result, company revenue and profitability has fluctuated greatly over the past twenty years. The company relocated to its current facility in Torrance in April 1994, shutting down two Los Angeles area facilities in an effort to reduce handling and distribution expenses. These facilities, a 200,000-square-foot warehouse and a 160,000-square-foot manufacturing facility, were sold off in April 2000 and November 2003, respectively. In 1995, the factory in Mexico was shut down after being damaged by a minor fire in 1993 and in an effort to further reduce operating margins. The company's Newport facility was shut down and donated to the Newport Cocke County Economic Development Commission in 2002. Corporate affairs Finances In the fiscal year 2019, Virco had net sales of around $191 million, with a net income of approximately $2 million. In the preceding fiscal year, the company had net sales of $201 million, with a net loss of around $2 million. The company has occasionally paid out dividends, with five such distributions occurring between December 2017 and December 2018, after 7 years without such distributions. Virco primarily operates in two countries, the United States where it derived 93.6% of its revenue, and Canada which was responsible for much of the remaining 6.4% of revenue. Virco reportedly supplies between 50 and 60% of school furniture within Los Angeles County. It was estimated in 1997 that Virco controlled a majority of the educational furniture market in the United States. Financial struggles Virco's financial performance peaked in the late 1990s, reaching a record stock price of $17.50 a share in February 1998. Profits also peaked in 1998, with the company turning a profit of nearly $18 million on revenues of $275 million. Revenue continued to grow until 2000, when it peaked at $287 million. Since 2000, the company has struggled with declining revenues which have made it difficult to remain consistently profitable. In the past 20 years, revenue has fluctuated between a low of $158 million in 2012 to $229 million in 2007, averaging around $200 million a year. In the seventeen years since 2002, the company has turned a profit in seven years, with losses exceeding $20 million in 2003. While Virco has successfully reduced costs in recent years, profitability for the company remains, in part, dependent on the cost of raw material purchases. Volatility in the commodity market for materials such as steel, plastic, and wood has resulted in cost increases which the company has not always been able to offset through increasing the price of its products. The tariffs announced under the "America First" policy of the Trump administration in 2018 were recognized as leading to a significant increase in the cost of steel purchases for the company. These financial woes led to signification reductions in the number of permanent employees. The number of employees peaked at nearly 2,950 in August 2000. A voluntary separation program in 2003 led to the departure of 485 employees while an additional 160 employees were laid off. Further cost-trimming measures instituted by cutting labor costs brought the number of employees from 1,045 in 2011 to 825 at the beginning of 2020, a more than 70% workforce reduction since 2000. The company supplements this reduced full-time workforce with temporary workers that help with seasonal production bumps in the summer months, sometimes utilizing around 200–300 temporary workers. Management Robert Virtue is the current chairman of the board and CEO of Virco. Born in 1932, he joined the company full-time in 1956 and is the son of the company's founder, Julian Virtue. Douglas (Doug) Virtue, the son of Robert, is the current president of the company, having been appointed to the position in 2014. He joined the company in 1984. In 2014, the board of directors was reorganized and reduced in size to five seats from nine seats. However, by 2020 there were eight seats on the board of directors. Environmental initiatives Virco has engaged in a number of environmental initiatives, with these efforts receiving recognition from local, state, and federal authorities. Doug Virtue, Virco's president and a director on the Mono Lake Committee, has been influential in this drive towards more environmentally conscious business practices, stating in 2002 that sustainability is "the state towards which all business must evolve." The company began a recycling program in 1989, and by 2010 the company had processed over 313 million pounds of recyclable materials spanning more than 40 categories. Virco has made significant efforts to restrict chemical emissions from its products, becoming the first classroom manufacturers to have their product lines to meet GREENGUARD indoor air quality certification for children and schools. By 2005, hundreds of the companies products were indoor air quality certified with these products accounting for 75% of the company's sales volume. With a desire to become largely waste-free, Virco also completed a transition from wet paint lines to powder by 2002. At the local level, Virco has been recognized by the Sanitation Districts of Los Angeles County as a "Good Corporate Citizen" in limiting its wastewater discharge and maintaining their environmental equipment without any violations. At the state level, Virco has repeatedly been recognized by the California Integrated Waste Management Board in their Waste Reduction Awards Program for its efforts to recycle waste and success in diverting waste from landfills. Finally, Virco is a member of the U.S. Environmental Protection Agency's WasteWise program, joining as a charter member in 1994. Virco remains an active member in the WasteWise program, receiving numerous awards and being selected as one of the first three charter members in the WasteWise Hall of Fame in 2003. Virco has also received environmental awards from the United States General Services Administration, Sierra Club, and National Recycling Coalition. Facilities Virco currently has manufacturing facilities in two states, California and Arkansas. In Torrance, California, the company has leased a 560,000-square-foot facility since 1994 which includes the corporate headquarters and a showroom. The facility is also used for manufacturing, distribution, and warehousing. In Conway, Arkansas, the company owns three facilities for manufacturing and distribution. The primary facility contains 1.2 million square foot and is used for warehousing, manufacturing, and office space. The company also owns a 375,000-square-foot factory in Conway, purchased in 1954, used for chrome plating, manufacturing steel components, and plastic molding. The third property owned in Conway is a 175,000-square-foot facility used for the manufacturing of hard plastic mold components and was purchased in 2017. See also Herman Miller (manufacturer) La-Z-Boy Notes References External links Furniture companies of the United States Manufacturing companies based in California Torrance, California American companies established in 1950 Manufacturing companies established in 1950 1950 establishments in California Companies listed on the Nasdaq
4,635
https://hy.wikipedia.org/wiki/%D5%8F%D5%A5%D5%BE%D6%86%D6%80%D5%A1%D5%B6%D5%BF
Wikipedia
Open Web
CC-By-SA
2,023
Տեվֆրանտ
https://hy.wikipedia.org/w/index.php?title=Տեվֆրանտ&action=history
Armenian
Spoken
41
225
Տեվֆրանտ (), կերպար հունական դիցաբանությունից, կայսրը Տեվֆրանիի (Միզիյա), Ավգեի ամուսինը և Տելեֆոսի խորթ հայրը։ Իր աղջկան՝ Արգիոպեին, կնության է տվել Տելեֆոսին։ Երբեմն նույնացվում էր Թեքմեսի հոր հետ։ Ըստ մի քանի վարկածների, որդին Պանդիոնի, հայրը՝ Ֆեսպիի։ Հղումներ Տեվֆրանտ Ծանոթագրություններ Հին հունական դիցաբանություն
50,131
https://codereview.stackexchange.com/questions/214234
StackExchange
Open Web
CC-By-SA
2,019
Stack Exchange
200_success, A J Brockberg, TorbenPutkonen, abuzittin gillifirca, bace1000, https://codereview.stackexchange.com/users/12866, https://codereview.stackexchange.com/users/134386, https://codereview.stackexchange.com/users/193788, https://codereview.stackexchange.com/users/20251, https://codereview.stackexchange.com/users/61681, https://codereview.stackexchange.com/users/9357, rath
Dutch
Spoken
651
1,235
Switch case implementation in Java for an integer pair combination I have following Python code: def get_subject_from_stream_id_and_subject_id(stream_id, subject_id): #(stream_id, subject_id): ("subject_name") return { (1, 1): "Accounts", (1, 2): "English", (1, 3): "Organization of Commerce", (2, 1): "Physics", (2, 2): "English", (2, 3): "Biology" }.get((stream_id, subject_id), "None") In this code, I want to get subject name from the integer pair combination i.e. stream_id, subject_id e.g. (1, 2) is for English. It was implemented using a Python tuple. I want to implement the same piece of code in Java. Could someone write this in a better way in Java? public String getSubjectFromStreamIdAndSubjectId(int streamId, int subjectId) { switch (streamId) { case 1: switch (subjectId) { case 1: return "Accounts"; case 2: return "English"; case 3: return "Organization of Commerce"; default: return null; } case 2: switch (subjectId) { case 1: return "Physics"; case 2: return "English"; case 3: return "Biology"; default: return null; } default: return null; } } That doesn't look like syntactically valid Java code. It's lacking method parameter types. Otherwise it compiles just great. @200_success I updated it This looks like a fairly simple 2D array lookup. Just subtract 1 from the indices, and check they're in bounds. Any solution involving a dictionary is inefficient - both in terms of performance and code complexity. Neither is good, but surely we can all agree that the Java example is way uglier. The biggest problem, however, is that both examples hard code data into code. Separate data, i.e. stream and subject IDs and their titles into a data class and in that class implement code that accesses the data structure without detailed knowledge about the actual data. Responsibility of setting up the data structure to resemble your stream and subject numbering is left to a separate component (load it from file or set up in static code). Whether the data class is a recursive structure or just a wrapper for a HashMap depends on the complexity of your data. Java equivalent of the above Python code goes more like this: private static final Map<List<Integer>, String> SUBJECT_MAP = createSubjectMap(); private static Map<List<Integer>, String> createSubjectMap() { Map<List<Integer>, String> map = new HashMap<>(); map.put(asList(1, 1), "Accounts"); map.put(asList(1, 2), "English"); map.put(asList(1, 3), "Organization of Commerce"); map.put(asList(2, 1), "Physics"); map.put(asList(2, 2), "English"); map.put(asList(2, 3), "Biology"); return map; } public static String getSubjectFromStreamIdAndSubjectId(int streamId, int subjectId) { return SUBJECT_MAP.get(asList(streamId, subjectId)); } Might be better to use a custom SubjectIdentifier class since a List seems rather inefficient. @rath I don't know about efficiency, but it would certainly be more idiomatic java. OP seems to be new to java, and I wanted to show him that Lists support equals and hashcode thus can be used as keys in maps and sets. Why not just concatenate the integers into a String? map.put("1.1", "Accounts") ... map.get(streamId + "." + subjectId)? I'm aware it's not Pure OOP, but it's "only an internal data structure." When something is difficult in Java it's nearly always because there is a better way to do it (in Java, it generally means you are missing a class). In your case, it looks like you need a "Subject" class. Let's say you had a "Subject" class, how would it be implemented? Here's one way (Not my favorite) enum Subject { Accounts(1,1), English(1,2), …; public static Subject getSubject(streamId, subjectId) { // Iterate over Subject.values and return one that matches } This means that your call becomes simple: assertEquals(Subjects.Accounts, Subject.getSubject(1,1)); I don't completely love this because it's still hard-coded. I would personally make the Subjects class a full class and load it from either a database or a data file, but it should still have a getSubject() static. Just in case you think there is some kind of performance issue caused by looping instead of a switch, note that A) java is 10x faster than python to start and B) premature optimization is the root of all evil (well, lots of evil)
267
https://askubuntu.com/questions/1418758
StackExchange
Open Web
CC-By-SA
2,022
Stack Exchange
English
Spoken
119
227
Link directory to another directory to ccopy files I have a folder: /share/public I am working in the folder: /home/john/workingfolder It means that currently I am in the "workingfolder". I would like to send files to /share/public but faster like this: Create something in "workingfloder" and copy files to that something: cp pixel.c somethingidontknow And the file pixel.c is copied to /share/public Or: pixel.c > somethingidontknow It is faster than typing: cp pixel.c /share/public Is this possible? Create an alias: alias cp2p="cp -t /share/public" (p for "public") You can put the alias to your .bashrc to make it permanent. And of course you can name the alias different... Then you can run: cp2p FILE or cp2p FILE1 FILE2 ...
29,648
https://en.wikipedia.org/wiki/Shikantaza
Wikipedia
Open Web
CC-By-SA
2,023
Shikantaza
https://en.wikipedia.org/w/index.php?title=Shikantaza&action=history
English
Spoken
921
1,578
is Dogen's Japanese translation of the Chinese phrase zhǐguǎn dǎzuò (只管打坐 / 祇管 打坐), "just sitting." The phrase was used by his teacher Rujing, a monk of the Caodong school of Chan Buddhism, to refer to the meditation-practice called "Silent Illumination" (), or "Serene Reflection," taught by the Caodong master Hongzhi Zhengjue (1091-1157). In Japan, it is associated with the Zen Soto school. In shikantaza one does not focus attention on a specific object (such as the breath); instead, practitioners "just sit" in a state of conscious awareness. Etymology The term shikantaza is the Sino-Japanese reading of Zhǐguǎn dǎzuò (只管打坐 / 祇管 打坐) "just sitting," "nothing but sitting," "meditation of just sitting," “just mind [yourself] sitting.” Zhǐguǎn dǎzuò (只管打坐 / 祇管打坐) translates as follows: zhǐguǎn (只管, J. shikan; or 祇管, with 祇 [zhǐ] serving as a variant of 只 [zhǐ]), "by all means; merely, simply; only concerned with," "to focus exclusively on"; dǎzuò 打坐, "[Buddhism/Daoism] sit in meditation," "to squat, sit down cross-legged", which corresponds with Sanskrit utkuṭuka-stha; According to Buswell and Lopez, shikantaza may simply be used by Dogen as a synonym for “sitting in meditation” (zazen), sitting in dhyana, which may also be practiced while walking, standing or lying down. James Ishmael Ford states that "some trace the root of this word [shikantaza] to the Japanese pronunciation of Sanskrit vipassana, though this is far from certain." This etymological error about 只管 (shikan, "only," "just") is rooted in the fact that Japanese has many homophones pronounced shikan. It stems from a more commonly used Japanese word, namely 止観 (shikan, "concentration and observation" (as practiced by the Tendai sect) that translates the Sanskrit "śamatha and vipaśyanā," the two basic forms of Buddhist meditation. The phrase zhǐguǎn dǎzuò ("just sitting") was used by Dōgen's teacher Tiantong Rujing (1162-1228) for silent illumination (Chinese mòzhào 默照; Japanese mokushō). According to Koten Benson, in mochao Practice Classical sources "Silent illumination" or "silent reflection" was the hallmark of the Chinese Caodong school of Chan. The first Chan teacher to articulate silent illumination was the Caodong master Hongzhi Zhengjue (1091—1157), who wrote an inscription entitled "silent illumination meditation" (Mokushō zen 默照禅 or Mòzhào chán 默照禪). With the phrase shikantaza Dōgen means "doing only zazen whole-heartedly" or "single-minded sitting." According to Merv Fowler, shikantaza is described best as "quiet sitting in open awareness, reflecting directly the reality of life." According to Austin, shikantaza is "an alert condition, performed erect, with no trace of sluggishness or drowsiness." Fred Reinhard Dallmayr writes, Modern sources Zen master John Daido Loori describes shikantaza as a challenging practice in spite of its name's simplicity. Mental strength (joriki) is not achieved through sustained concentration as in breath meditation, but through awareness of the flow of mind, without actively attempting to let go of a thought. The user must watch its thoughts, "without analyzing them, judging them, attempting to understand or categorize them," being only aware of them. According to him, this helps mental activity move on and produce samadhi. Commenting on Loori's words, meditation expert Eric Harrison likens shikantaza to a psychological process of extinction, in which repeated reduction of a behavioral response eventually leads to no response. Loori describes awareness as the one thing necessary to the practice of shikantaza. This requires a heightened state of mental alertness, which he warns cannot be maintained for too long periods of time. He recommends to practice shikantaza half an hour to an hour, then stand up and practice kinhin in order to relax the mind before sitting down and continuing. Shunryū Suzuki states about shikantaza, "do not try to stop your mind, but leave everything as it is. Then things will not stay in your mind for so long. Things will come as they come and go as they go. Eventually your clear, empty mind will last fairly long." For his part, describing the practice's goal as being simply aware of thoughts without getting caught by them, Sean Murphy cites Taizan Maezumi as advising to "regard our thoughts as if they were clouds, watching them as they drift from one end to the mind to the other, but making no attempt to hold onto them - and when they pass over the horizon, as they inevitably will, making no attempt to grasp after them. Jundo Cohen warns that its meaning of "just sitting" must not be taken too literally, and underlines the importance of awareness. When faced against strong emotions or anxious thoughts, Cohen instructs to simply observe them with equanimity, "treating them like passing weather clouds". At the same time, he stresses not to play with and being pulled in by thoughts. He compares shikantaza to "the children's puzzle of Chinese finger cuffs, which are escaped not by forceful effort, but by non-resistance". Only by dropping the hunt for enlightenment, accepting everything without grasping or avoiding, can enlightenment be found in it. Do Nothing meditation A modern technique described as similar to shikantaza is called "Do Nothing Meditation" by Shinzen Young. The user is instructed to let go of all mental intentions, without trying to meditate or concentrate in any way. Any distraction or thought is allowed, unless the user feels they are intentionally thinking or doing something, in whose case they must stop this intention and let it go, including any possible struggle at it. As a result, "eventually the mind feels very spacious, open, and relaxed, but also bright, clear, and vivid". See also Buddha-nature Abhāvanā Dzogchen Turiya Notes References Sources Printed sources Web-sources Further reading Buddhist meditation Zen Nonduality Zazen Silence
50,554
https://stackoverflow.com/questions/67632252
StackExchange
Open Web
CC-By-SA
2,021
Stack Exchange
Kinglish, https://stackoverflow.com/users/1772933
Sardinian
Spoken
108
384
How to save iframe as PDF or Image I am working on a project where we need to save the iframe content as a PDF or an image. Currently, I getting issue where the PDF is just blank. Does anyone has any solution for this ? Thanks in advance. Here is my code: <html> <head> <script src="jspdf.umd.min.js"></script> <script src="html2canvas.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.8.1/html2pdf.bundle.min.js" ></script> <script > function createPdf(){ window.jsPDF = window.jspdf.jsPDF var pdf = new jsPDF() var element = document.getElementById("capture") pdf.save("output.pdf") } </script> </head> <body> <iframe id="capture" src="https://wikipedia.org/wiki/Main_Page" style=" width: 100%; height: 600px" frameborder="0"></iframe> <button onclick="createPdf()">create pdf </button> </body> </html> A little dated, but this might assist: https://stackoverflow.com/a/19290964/1772933
40,528
https://electronics.stackexchange.com/questions/532367
StackExchange
Open Web
CC-By-SA
2,020
Stack Exchange
DKNguyen, Justme, M lab, Marcus Müller, Transistor, https://electronics.stackexchange.com/users/139908, https://electronics.stackexchange.com/users/199993, https://electronics.stackexchange.com/users/212967, https://electronics.stackexchange.com/users/251254, https://electronics.stackexchange.com/users/64158, https://electronics.stackexchange.com/users/73158, jsotola
English
Spoken
625
848
How to connect device with 5V power to PC via USB without power conflict? The PC's USB port design to suppply 5V to connected device but what if device already has 5V supply? Considered voltage stabillity/accuracy and data-tranfer abiility, what is the best way to do? Don't use USB 5V, just use common ground to transfer data. Use USB 5V to power device and disconnect internal 5V supply. That would depend on what the device is. And you don't mention it. And USB-A and USB-B ports are designed to prevent this being a problem. Again, no information in your question. @Justme I asking for general device that I design. something that power by AC plug or battery and plug to PC sometime like 3D printer or robot. @Transistor but how?? Have a look at some existing circuits. The 5 V Arduino boards can be powered over USB or from an alternate source through the on-board regulator. The schematics are freely available. You can use a MODIFIED version of the PMOS reverse polarity ideal diode. Modified is important because the simple PMOS ideal diode only protects against reverse polarity NOT current being forced backward through it from the load side if you plan to never power the device from USB, then power only the USB interface .... use only common ground and data connections between the USB interface and the rest of the device .... the USB interface could be external to the device Devices you mention are so high powered that they would not work with USB power, so USB powering is not even possible. So USB power can be left sometimes unconnected or simply used for detecting if there is a USB connection plugged in or not. It does not have to power anything. (there's literally dozens of similar questions on how to savely operate from one of two power sources, whichever is present, you've not looked far enough) What you are describing is called a "Self-powered function" in the USB 2.0 specification section 7.2.1. The key points in the spec are... No device shall supply (source) current on VBUS at its upstream facing port at any time. From VBUS on its upstream facing port a device may only draw (sink) current. They may not provide power to the pull-up resistor on D+/D- unless VBUS is present (see Section 7.1.5). When VBUS is removed, the device must remove power from the D+/D- pull-up resistor within 10 seconds. On power-up, a device needs to ensure that its upstream facing port is not driving the bus, so that the device is able to receive the reset signaling. Devices must also ensure that the maximum operating current drawn by a device is one unit load, until configured. The typical setup to switch between USB power or another power source is to tie the grounds together and use a pair of diodes (or ideal diodes) to switch between the power sources. The USB specification wants the upstream facing interface on the device to not back-power the host in any way. This includes providing power to pullup resistors when VBUS is removed. For that reason, whatever chip is providing the USB interface (FTDI chip, MCU, etc) is usually powered directly from usb VBUS in order to meet the requirement of the USB specification. The rest of the system can be powered as you please. You listed two options, and both are incorrect. The correct version is: Use your local 5V supply to power everything you need to power, MCU, whatever, but you must use the VBUS voltage level (aka USB 5V) to start USB interface. Thus you just need to sense the VBUS, translate it into your logic level, just as a logic signal, no more. See more here.
37,170
https://stackoverflow.com/questions/77775703
StackExchange
Open Web
CC-By-SA
null
Stack Exchange
Alarm-1202, John Hanley, Roopa M, https://stackoverflow.com/users/13301435, https://stackoverflow.com/users/18265570, https://stackoverflow.com/users/8016720
English
Spoken
407
1,096
How can I fix a KeyError when connecting to cloudsql? I am trying to connect to a cloudsql server using google.cloud.sql.connector, with this code taken from the docs: def connect_with_connector(self) -> sqlalchemy.engine.base.Engine: """ Initializes a connection pool for a Cloud SQL instance of Postgres. Uses the Cloud SQL Python Connector package. """ # Note: Saving credentials in environment variables is convenient, but not # secure - consider a more secure solution such as # Cloud Secret Manager (https://cloud.google.com/secret-manager) to help # keep secrets safe. instance_connection_name = os.environ[self.keys["gProj"]] # e.g. 'project:region:instance' db_user = os.environ[self.keys["gUser"]] # e.g. 'my-db-user' db_pass = os.environ[self.keys["gPass"]] # e.g. 'my-db-password' db_name = os.environ[self.keys["gDB"]] # e.g. 'my-database' ip_type = IPTypes.PRIVATE if os.environ.get(self.keys["gPrivIP"]) else IPTypes.PUBLIC # initialize Cloud SQL Python Connector object connector = Connector() def getconn() -> pg8000.dbapi.Connection: conn: pg8000.dbapi.Connection = connector.connect( instance_connection_name, "pg8000", user=db_user, password=db_pass, db=db_name, ip_type=ip_type, ) return conn # The Cloud SQL Python Connector can be used with SQLAlchemy # using the 'creator' argument to 'create_engine' pool = sqlalchemy.create_engine( "postgresql+pg8000://", creator=getconn, # ... ) return pool I give it the connection name with instance_connection_name, but it then gives me this error: instance_connection_name = os.environ[self.keys["gProj"]] File "C:\Users\--\AppData\Local\Programs\Python\Python310\lib\os.py", line 679, in __getitem__ raise KeyError(key) from None KeyError: '--connection_name_here--' I've double checked that the connection name is correct and I've messed around with the IPs, does anyone know what the issue might be? self.keys["gProj"] is None (empty). It should contain a string value. Can you have a look at this similar thread? @JohnHanley, self.keys["gProj"] points to the project name string in the format "project:region:instance", it isn't empty. I realised it was an issue with os.environ, I don't know why the example uses it but I just passed the arguments straight to the connector instead and it worked fine. def connect_with_connector(self) -> sqlalchemy.engine.base.Engine: """ Initializes a connection pool for a Cloud SQL instance of Postgres. Uses the Cloud SQL Python Connector package. """ # Note: Saving credentials in environment variables is convenient, but not # secure - consider a more secure solution such as # Cloud Secret Manager (https://cloud.google.com/secret-manager) to help # keep secrets safe. ip_type = IPTypes.PRIVATE if os.environ.get(self.keys["gPrivIP"]) else IPTypes.PUBLIC # initialize Cloud SQL Python Connector object connector = Connector() def getconn() -> pg8000.dbapi.Connection: conn: pg8000.dbapi.Connection = connector.connect( self.keys["gProj"], "pg8000", user=self.keys["gUser"], password=self.keys["gPass"], db=self.keys["gDB"], ip_type=ip_type, ) return conn # The Cloud SQL Python Connector can be used with SQLAlchemy # using the 'creator' argument to 'create_engine' pool = sqlalchemy.create_engine( "postgresql+pg8000://", creator=getconn, # ... ) return pool
31,588
https://uk.wikipedia.org/wiki/%D0%A5%D1%80%D0%BE%D0%BD%D0%BE%D0%BB%D0%BE%D0%B3%D1%96%D1%8F%20%D1%80%D0%B5%D0%BA%D0%BE%D1%80%D0%B4%D1%96%D0%B2%20%D0%A3%D0%BA%D1%80%D0%B0%D1%97%D0%BD%D0%B8%20%D0%B7%20%D0%BB%D0%B5%D0%B3%D0%BA%D0%BE%D1%97%20%D0%B0%D1%82%D0%BB%D0%B5%D1%82%D0%B8%D0%BA%D0%B8%20%E2%80%93%203000%20%D0%BC%D0%B5%D1%82%D1%80%D1%96%D0%B2%20%28%D1%87%D0%BE%D0%BB%D0%BE%D0%B2%D1%96%D0%BA%D0%B8%29
Wikipedia
Open Web
CC-By-SA
2,023
Хронологія рекордів України з легкої атлетики – 3000 метрів (чоловіки)
https://uk.wikipedia.org/w/index.php?title=Хронологія рекордів України з легкої атлетики – 3000 метрів (чоловіки)&action=history
Ukrainian
Spoken
68
244
Рекорди України з бігу на 3000 метрів визнаються Федерацією легкої атлетики України з-поміж результатів, показаних українськими легкоатлетами на відповідній дистанції на біговій доріжці стадіону, за умови дотримання встановлених вимог. Хронологія рекордів Див. також Хронологія світових рекордів з легкої атлетики – 3000 метрів (чоловіки) Хронологія рекордів Європи з легкої атлетики – 3000 метрів (чоловіки) Хронологія рекордів СРСР з легкої атлетики – 3000 метрів (чоловіки) Примітки Джерела Статистика на Ч
2,978
https://war.wikipedia.org/wiki/Chlaenius%20platyderus
Wikipedia
Open Web
CC-By-SA
2,023
Chlaenius platyderus
https://war.wikipedia.org/w/index.php?title=Chlaenius platyderus&action=history
Waray
Spoken
35
69
An Chlaenius platyderus in uska species han Coleoptera nga ginhulagway ni Maximilien de Chaudoir. An Chlaenius platyderus in nahilalakip ha genus nga Chlaenius, ngan familia nga Carabidae. Waray hini subspecies nga nakalista. Mga kasarigan Chlaenius
21,092
https://ceb.wikipedia.org/wiki/Dothichiza%20coronillae
Wikipedia
Open Web
CC-By-SA
2,023
Dothichiza coronillae
https://ceb.wikipedia.org/w/index.php?title=Dothichiza coronillae&action=history
Cebuano
Spoken
49
96
Kaliwatan sa uhong ang Dothichiza coronillae. sakop sa ka-ulo nga Ascomycota, ug Una ning gihulagway ni Franz Xaver von Höhnel ni adtong 1902. Ang Dothichiza coronillae sakop sa kahenera nga Dothichiza, ug kabanay nga Dothioraceae. Walay nalista nga matang nga sama niini. Ang mga gi basihan niini Abungawg-uhong Dothichiza
43,668
https://ceb.wikipedia.org/wiki/Gunnable%20Mountain
Wikipedia
Open Web
CC-By-SA
2,023
Gunnable Mountain
https://ceb.wikipedia.org/w/index.php?title=Gunnable Mountain&action=history
Cebuano
Spoken
214
338
Bungtod ang Gunnable Mountain sa Ostralya. Nahimutang ni sa rehiyon sa Gunnedah ug estado sa State of New South Wales, sa sidlakang bahin sa nasod, km sa amihanan sa Canberra ang ulohan sa nasod. metros ibabaw sa dagat kahaboga ang nahimutangan sa Gunnable Mountain, o ka metros sa ibabaw sa naglibot nga tereyn. Mga ka kilometro ang gilapdon sa tiilan niini. Ang yuta palibot sa Gunnable Mountain kasagaran patag. Ang kinahabogang dapit sa palibot dunay gihabogon nga ka metro ug km sa amihanan sa Gunnable Mountain. Dunay mga ka tawo kada kilometro kwadrado sa palibot sa Gunnable Mountain may kaayo gamay nga populasyon.. Ang kinadul-ang mas dakong lungsod mao ang Gunnedah, km sa habagatan sa Gunnable Mountain. Sa rehiyon palibot sa Gunnable Mountain, kabukiran talagsaon komon. Hapit nalukop sa kaumahan ang palibot sa Gunnable Mountain. Ang klima umogon ug subtropikal. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Enero, sa  °C, ug ang kinabugnawan Hulyo, sa  °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Pebrero, sa milimetro nga ulan, ug ang kinaugahan Oktubre, sa milimetro. Saysay Ang mga gi basihan niini Mga bungtod sa State of New South Wales Mga artikulo sa posisyon itarong ni bot Kabukiran sa Ostralya nga mas taas kay sa 200 metros ibabaw sa dagat nga lebel
27,834
https://pt.stackoverflow.com/questions/355661
StackExchange
Open Web
CC-By-SA
2,019
Stack Exchange
Maniero, Marconi, Máttheus Spoo, bfavaretto, https://pt.stackoverflow.com/users/101, https://pt.stackoverflow.com/users/110001, https://pt.stackoverflow.com/users/13322, https://pt.stackoverflow.com/users/74
Portuguese
Spoken
350
601
Como funciona o "array.sort()"? Como funciona o array.sort((a, b) => a - b) ? Por que este simbolo =>, e porque esta operação a - b está subtraindo os elementos? Isso não faz sentido pra mim. Isso => se chama Arrow functions https://developer.mozilla.org/pt-BR/docs/Web/JavaScript/Reference/Functions/Arrow_functions. Não acho que a pergunta deveria ficar como pendente, o questionamento está bem claro e a explicação é simples. Sobre a sintaxe com => (Arrow functions): O que é Arrow Function e quando usar? // Sobre o Array.prototype.sort: Como o método sort funciona?. Fechei como ampla demais porque são duas coisas totalmente distintas. @bfavaretto se tivesse indicado a sup do sort antes do primeiro fechamento eu nem teria respondido, e claro também não tinha achado ampla porque fazia tudo parte de uma explicação do sort(), embora eu sabia que o => já tinha resposta, da função em si não. @Maniero Fechei primeiro pra buscar os links depois, pois tinha certeza de que existiam no site. E escolhi "ampla" e não duplicata porque fiquei na dúvida se era uma boa linkar duas duplicatas sobre assuntos diferentes @Maniero. @bfavaretto isso é oque mais tem. Parte já foi respondido em O que significa o operador "=>"? (ou todas estas indicadas em O que é Arrow Function e quando usar?). Faz todo sentido. Sempre que você for usar uma função deve ler a documentação dela antes de usar. Não pode usar "na loucura", tem que estudar a ferramenta, saber como ela funciona, como é o jeito de usar. Veja a documentação da função. Lá diz que se o valor retornado por esta função lambda for negativo então o elemento a é menor que o elemento b, se o resultado for 0 então são iguais, e se for maior que 0 o b é menor que a. E saber qual é o menor é uma necessidade básica para classificar uma coleção de dados. Portanto você está passando para o sort() uma função que indica qual dos dois elementos é o menor ou igual, assim o algoritmo de classificação saberá o que fazer, mas o critério para decidir isso você faz como quiser.
35,759
https://vi.wikipedia.org/wiki/Kamanahalli%2C%20Turuvekere
Wikipedia
Open Web
CC-By-SA
2,023
Kamanahalli, Turuvekere
https://vi.wikipedia.org/w/index.php?title=Kamanahalli, Turuvekere&action=history
Vietnamese
Spoken
17
56
Kamanahalli là một làng thuộc tehsil Turuvekere, huyện Tumkur, bang Karnataka, Ấn Độ. Tham khảo Tumkur (huyện)
45,850
https://stackoverflow.com/questions/66783779
StackExchange
Open Web
CC-By-SA
2,021
Stack Exchange
English
Spoken
440
1,053
Pivoting Varchar Value to column I am trying to pivot this data set in SQL Server 2016 --Dataset CarModel Tire MakeDate Owner Subaru MRF 20200101 John D Subaru Goodyear 20200101 John D Subaru MRF 20200101 John D Subaru MRF 20200101 John D The output result should be : CarModel Tire1 Tire2 Tire3 Tire4 MakeDate Owner Subaru MRF GoodYear MRF MRF 20200101 John D I tried this but with no success. Can you please let me know if I am making any mistakes ? create table #temp_Dataset (Carmodel varchar(10), Tire varchar(10), MakeDate int, [Owner] Varchar(10)) insert into #temp_Dataset (Carmodel, Tire, MakeDate, [Owner]) values ('Subaru', 'MRF', 20200101 , 'John D'), ('Subaru', 'Goodyear', 20200101 , 'John D'), ('Subaru', 'MRF', 20200101 , 'John D'), ('Subaru', 'MRF', 20200101 , 'John D') Select * from( SELECT CarModel, Tire, MakeDate, [Owner] FROM #temp_Dataset)a pivot (max(carmodel) for Tire in (Tire1, Tire2, Tire3, Tire4))piv drop table #temp_Dataset You missed to enumerate the tires and use wrong argument([Carmodel]) within the MAX aggregation. Prefer using such as SELECT * FROM( SELECT *, CONCAT('Tire',ROW_NUMBER() OVER (PARTITION BY [Carmodel], [MakeDate], [Owner] ORDER BY [CarModel])) AS [rn] FROM #temp_Dataset ) AS ds PIVOT( MAX([Tire]) FOR [rn] IN ([Tire1],[Tire2],[Tire3],[Tire4]) ) AS piv Btw, the four tires will be ordered arbitrarly in the current case, you can change as desired through changing the columns within the ORDER BY clause. You can even make the pivoting dynamic in order to add or subtract the values of the tires when grouped by the other columns such as DECLARE @cols AS NVARCHAR(MAX), @query AS NVARCHAR(MAX) SELECT @cols = STUFF((SELECT DISTINCT ',' + QUOTENAME(CONCAT('Tire',[rn])) AS formulas FROM ( SELECT *, ROW_NUMBER() OVER (PARTITION BY [Carmodel], [MakeDate], [Owner] ORDER BY [CarModel]) AS rn FROM [#temp_Dataset] ) ff FOR XML PATH(''), TYPE ).value('.', 'NVARCHAR(MAX)') ,1,1,''); SET @query = N'SELECT * FROM( SELECT *, CONCAT(''Tire'', ROW_NUMBER() OVER (PARTITION BY [Carmodel], [MakeDate], [Owner] ORDER BY [CarModel])) AS [rn] FROM [#temp_Dataset] ) AS ds PIVOT( MAX([Tire]) FOR [rn] IN (' + @cols + N' ) ) AS piv' EXEC sp_executesql @query; Demo You can use conditional aggregation and row_number(): select carmodel, makedate, owner, max(case when seqnum = 1 then tire end) as tire_1, max(case when seqnum = 2 then tire end) as tire_2, max(case when seqnum = 3 then tire end) as tire_3, max(case when seqnum = 4 then tire end) as tire_4 from (select t.*, row_number() over (partition by carmodel, makedate, owner order by ?) as seqnum from #temp_Dataset t ) t group by carmodel, makedate, owner; The ? is for the ordering of the columns. It is not obvious what order you want the results in -- and SQL tables represent unordered sets.
38,955
https://stackoverflow.com/questions/36231693
StackExchange
Open Web
CC-By-SA
2,016
Stack Exchange
NomanJaved, Torchify, gmfm, https://stackoverflow.com/users/1689781, https://stackoverflow.com/users/2750582, https://stackoverflow.com/users/6107862, https://stackoverflow.com/users/6116338, t_coding
Danish
Spoken
269
814
Delete element from JSON array I'm trying to delete an element from a JSON array. The action starts when the user click in a delete button. I can't figure out what's wrong. Maybe it's something on the PHP script. javascript.js $(".delete").on('click', function(e){ var deleteItem = e.target.id; console.log(deleteItem); $(this).closest('div').css({"text-decoration": "line-through", "color": "#e74c3c"}).fadeOut(600); $.ajax({ url: 'deletejson.php', method: 'POST', dataType: 'json', data: { target: e.target.id}, success: function(){ console.log('Item was deleted'); console.log(data); } }); data.json { "prescriptions":[ { "name":"Edogen", "unit":"drops", "dosage":"2 drops", "doc_name":"Dr. Wu", "apperance":"black", "days":"Monday", "frequency":"twice", "hour":"1pm" }, { "name":"Lexapro", "unit":"drops", "dosage":"2 drops", "doc_name":"Dr. Wu", "apperance":"black", "days":"Sunday", "frequency":"twice", "hour":"1pm" }, { "name":"Plavix", "unit":"drops", "dosage":"4 drops", "doc_name":"Dr. Ammy Lee", "apperance":"blue", "days":"Monday", "frequency":"twice", "hour":"10pm" } ]} deletejson.php <?php $var = $_POST["target"]; $file = "json/data.json"; $json_array = json_decode(file_get_contents($file), true); function removeNode($var, $json_array) { foreach($json_array["prescriptions"] as $key => $value) { if($value === $var) unset($json_array["prescriptions"][$key]); } $json = json_encode($json); file_put_contents($file, $json); } ?> are you getting the data in variable with ajax call? What do the php logs say? does the javascript console give any errors? Yes. In another part of the code I call the data. No. In the javascript console.log everything seems ok Have you made sure that $var and $value actually has the data type you expect? You are explicitly comparing Maybe try passing the $value as reference? so like this: foreach($json_array["prescriptions"] as $key => &$value) { I don't see you ever calling the "removeNode" function in your php file. @gmfm is correct, you need to call your function. Try replacing your foreach loop with the following: foreach($json_array["prescriptions"] as $values) { foreach($values as $key => $value) { if($value === $var){ unset($json_array["prescriptions"][$key]); } } }
17,953
https://ar.wikipedia.org/wiki/%D8%B5%D9%86%D9%88%D8%A8%D8%B1%20%D9%85%D8%AA%D8%A3%D8%AE%D8%B1%20%D8%A7%D9%84%D8%A5%D8%AB%D9%85%D8%A7%D8%B1
Wikipedia
Open Web
CC-By-SA
2,023
صنوبر متأخر الإثمار
https://ar.wikipedia.org/w/index.php?title=صنوبر متأخر الإثمار&action=history
Arabic
Spoken
48
166
الصنوبر المتأخر الإثمار نوع نباتي شجري من جُنيس الصنوبر الحقيقي يتبع الفصيلة الصنوبرية. الانتشار ينتشر في جنوب شرق الولايات المتحدة. الوصف النباتي مراجع أشجار أشجار الجنوب الشرقي للولايات المتحدة أشجار الولايات المتحدة أشجار شمال شرق الولايات المتحدة أنواع القائمة الحمراء غير المهددة الحياة النباتية في أمريكا الشمالية صنوبر
12,015
https://nl.wikipedia.org/wiki/Amara%20saginata
Wikipedia
Open Web
CC-By-SA
2,023
Amara saginata
https://nl.wikipedia.org/w/index.php?title=Amara saginata&action=history
Dutch
Spoken
29
51
Amara saginata is een keversoort uit de familie van de loopkevers (Carabidae). De wetenschappelijke naam van de soort is voor het eerst geldig gepubliceerd in 1849 door Menetries. saginata
39,177
https://avk.wikipedia.org/wiki/Werpol%20%28Tamiasciurus%20hudsonicus%20mogollonensis%29
Wikipedia
Open Web
CC-By-SA
2,023
Werpol (Tamiasciurus hudsonicus mogollonensis)
https://avk.wikipedia.org/w/index.php?title=Werpol (Tamiasciurus hudsonicus mogollonensis)&action=history
Kotava
Spoken
353
1,084
Werpol (Tamiasciurus hudsonicus mogollonensis) tir tana moukolafa apta ke hudsonicus katca vey Tamiasciurus oxi vey Sciuridae yasa ( Sciurinae volveyyasa ) ke RODENTIA veem ( SCIUROMORPHA volveyveem ). Gan Mearns bak 1890 taneon zo pimtayar. Vexala dem milkatcaf apteem Sedme Mammal Species of the World (siatos ke 2005), konakara apta dere tid ke mila veyafa katca : Werpol (Tamiasciurus hudsonicus hudsonicus) (Erxleben, 1777) Werpol (Tamiasciurus hudsonicus abieticola) (A. H. Howell, 1929) Werpol (Tamiasciurus hudsonicus baileyi) (J. A. Allen, 1898) Werpol (Tamiasciurus hudsonicus dakotensis) (J. A. Allen, 1894) Werpol (Tamiasciurus hudsonicus dixiensis) (Hardy, 1942) Werpol (Tamiasciurus hudsonicus fremonti) (Audubon and Bachman, 1853) Werpol (Tamiasciurus hudsonicus grahamensis) (J. A. Allen, 1894) Werpol (Tamiasciurus hudsonicus gymnicus) (Bangs, 1899) Werpol (Tamiasciurus hudsonicus kenaiensis) (A. H. Howell, 1936) Werpol (Tamiasciurus hudsonicus lanuginosus) (Bachman, 1839) Werpol (Tamiasciurus hudsonicus laurentianus) (Anderson, 1942) Werpol (Tamiasciurus hudsonicus loquax) (Bangs, 1896) Werpol (Tamiasciurus hudsonicus lychnuchus) (Stone and Rehn, 1903) Werpol (Tamiasciurus hudsonicus minnesota) (J. A. Allen, 1899) Werpol (Tamiasciurus hudsonicus mogollonensis) (Mearns, 1890) Werpol (Tamiasciurus hudsonicus pallescens) (A. H. Howell, 1942) Werpol (Tamiasciurus hudsonicus petulans) (Osgood, 1900) Werpol (Tamiasciurus hudsonicus picatus) (Swarth, 1921) Werpol (Tamiasciurus hudsonicus preblei) (A. H. Howell, 1936) Werpol (Tamiasciurus hudsonicus regalis) (A. H. Howell, 1936) Werpol (Tamiasciurus hudsonicus richardsoni) (Bachman, 1839) Werpol (Tamiasciurus hudsonicus streatori) (J. A. Allen, 1898) Werpol (Tamiasciurus hudsonicus ungavensis) (Anderson, 1942) Werpol (Tamiasciurus hudsonicus ventorum) (J. A. Allen, 1898) Pulasa vuestexa is xantaza (en) vuest- : Mammal Species of the World (v- 3, 2005) : Tamiasciurus hudsonicus mogollonensis (Mearns, 1890) (en) vuest- : CITES : Tamiasciurus hudsonicus mogollonensis (en) vuest- : UICN : apta Tamiasciurus hudsonicus mogollonensis (Mearns, 1890) (en, fr) vuest- : ITIS : Tamiasciurus hudsonicus mogollonensis (Mearns, 1890) (en) vuest- : Tree of Life Web Project : Tamiasciurus hudsonicus mogollonensis (en) vuest- : Catalogue of Life : Tamiasciurus hudsonicus mogollonensis (Mearns, 1890) (en) vuest- : Paleobiology Database : Tamiasciurus hudsonicus mogollonensis (Mearns, 1890) (en) vuest- : Animal Diversity Web : Tamiasciurus hudsonicus mogollonensis (en) vuest- : NCBI : Tamiasciurus hudsonicus mogollonensis Kotavafa vuestesa xantaza Kotava winugaf moukolaf ravlemak (Kotava, Latinava, 2019) Werpol (Tamiasciurus hudsonicus mogollonensis) Werpol (Tamiasciurus hudsonicus mogollonensis) Werpol (Tamiasciurus hudsonicus mogollonensis)
44,827
https://fa.wikipedia.org/wiki/%DB%B7-%D8%AF%D9%87%DB%8C%D8%AF%D8%B1%D9%88%DA%A9%D9%84%D8%B3%D8%AA%D8%B1%D9%88%D9%84
Wikipedia
Open Web
CC-By-SA
2,023
۷-دهیدروکلسترول
https://fa.wikipedia.org/w/index.php?title=۷-دهیدروکلسترول&action=history
Persian
Spoken
49
224
۷-دهیدروکلسترول با فرمول شیمیایی C۲۷H۴۴O یک ترکیب شیمیایی با شناسه پاب‌کم ۱۷۲ است. که جرم مولی آن ۳۸۴٫۶۳۸ g/mol می‌باشد. 7_Dehydrocholestrol یکی ازمشتقات کلسترول است که می‌تواند درنواحی زیرپوست ودرمعرض اشعهUV، پروویتانینDراایحادکند. جستارهای وابسته ترکیب شیمیایی نام‌گذاری اتحادیه بین‌المللی شیمی محض و کاربردی منابع استرول‌ها علوم تغذیه ویتامین د
44,775
https://magento.stackexchange.com/questions/269652
StackExchange
Open Web
CC-By-SA
2,019
Stack Exchange
Arunprabakaran M, Ken, Kowsigan Atsayam, Muhammad Hasham, https://magento.stackexchange.com/users/49772, https://magento.stackexchange.com/users/60921, https://magento.stackexchange.com/users/78418, https://magento.stackexchange.com/users/79909
Limburgish
Spoken
565
5,668
Invalid argument supplied for foreach() Error in magento 2.3 I am getting this error on some Products on Magento 2.3 when I try to view them: 1 exception(s): Exception #0 (Exception): Warning: Invalid argument supplied for foreach() in /www/htdocs/w018f7f2/pema/vendor/magento/module-catalog/Block/Product/View/Options.php on line 215 Exception #0 (Exception): Warning: Invalid argument supplied for foreach() in /www/htdocs/w018f7f2/pema/vendor/magento/module-catalog/Block/Product/View/Options.php on line 215 #0 /www/htdocs/w018f7f2/pema/vendor/magento/module-catalog/Block/Product/View/Options.php(215): Magento\Framework\App\ErrorHandler->handler(2, 'Invalid argumen...', '/www/htdocs/w01...', 215, Array) #1 /www/htdocs/w018f7f2/pema/vendor/magento/module-catalog/view/frontend/templates/product/view/options.phtml(19): Magento\Catalog\Block\Product\View\Options->getJsonConfig() #2 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/www/htdocs/w01...') #3 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Element/Template.php(271): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Catalog\Block\Product\View\Options), '/www/htdocs/w01...', Array) #4 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Element/Template.php(301): Magento\Framework\View\Element\Template->fetchView('/www/htdocs/w01...') #5 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Element/AbstractBlock.php(668): Magento\Framework\View\Element\Template->_toHtml() #6 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Element\AbstractBlock->toHtml() #7 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(533): Magento\Framework\View\Layout->_renderBlock('product.info.op...') #8 /www/htdocs/w018f7f2/pema/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('product.info.op...') #9 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('product.info.op...') #10 /www/htdocs/w018f7f2/pema/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('product.info.op...', true) #11 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Element/AbstractBlock.php(512): Magento\Framework\View\Layout\Interceptor->renderElement('product.info.op...', true) #12 /www/htdocs/w018f7f2/pema/generated/code/Magento/Catalog/Block/Product/View/Interceptor.php(778): Magento\Framework\View\Element\AbstractBlock->getChildHtml('', true) #13 /www/htdocs/w018f7f2/pema/vendor/magento/module-catalog/view/frontend/templates/product/view/options/wrapper.phtml(15): Magento\Catalog\Block\Product\View\Interceptor->getChildHtml('', true) #14 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/www/htdocs/w01...') #15 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Element/Template.php(271): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Catalog\Block\Product\View\Interceptor), '/www/htdocs/w01...', Array) #16 /www/htdocs/w018f7f2/pema/generated/code/Magento/Catalog/Block/Product/View/Interceptor.php(544): Magento\Framework\View\Element\Template->fetchView('/www/htdocs/w01...') #17 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Element/Template.php(301): Magento\Catalog\Block\Product\View\Interceptor->fetchView('/www/htdocs/w01...') #18 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Element/AbstractBlock.php(668): Magento\Framework\View\Element\Template->_toHtml() #19 /www/htdocs/w018f7f2/pema/generated/code/Magento/Catalog/Block/Product/View/Interceptor.php(869): Magento\Framework\View\Element\AbstractBlock->toHtml() #20 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(557): Magento\Catalog\Block\Product\View\Interceptor->toHtml() #21 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(533): Magento\Framework\View\Layout->_renderBlock('product.info.op...') #22 /www/htdocs/w018f7f2/pema/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('product.info.op...') #23 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('product.info.op...') #24 /www/htdocs/w018f7f2/pema/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('product.info.op...', true) #25 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Element/AbstractBlock.php(543): Magento\Framework\View\Layout\Interceptor->renderElement('product.info.op...', true) #26 /www/htdocs/w018f7f2/pema/generated/code/Magento/Catalog/Block/Product/View/Interceptor.php(791): Magento\Framework\View\Element\AbstractBlock->getChildChildHtml('options_contain...', '', true) #27 /www/htdocs/w018f7f2/pema/vendor/magento/module-catalog/view/frontend/templates/product/view/form.phtml(37): Magento\Catalog\Block\Product\View\Interceptor->getChildChildHtml('options_contain...') #28 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/www/htdocs/w01...') #29 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Element/Template.php(271): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Catalog\Block\Product\View\Interceptor), '/www/htdocs/w01...', Array) #30 /www/htdocs/w018f7f2/pema/generated/code/Magento/Catalog/Block/Product/View/Interceptor.php(544): Magento\Framework\View\Element\Template->fetchView('/www/htdocs/w01...') #31 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Element/Template.php(301): Magento\Catalog\Block\Product\View\Interceptor->fetchView('/www/htdocs/w01...') #32 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Element/AbstractBlock.php(668): Magento\Framework\View\Element\Template->_toHtml() #33 /www/htdocs/w018f7f2/pema/generated/code/Magento/Catalog/Block/Product/View/Interceptor.php(869): Magento\Framework\View\Element\AbstractBlock->toHtml() #34 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(557): Magento\Catalog\Block\Product\View\Interceptor->toHtml() #35 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(533): Magento\Framework\View\Layout->_renderBlock('product.info') #36 /www/htdocs/w018f7f2/pema/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('product.info') #37 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('product.info') #38 /www/htdocs/w018f7f2/pema/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('product.info', false) #39 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('product.info', false) #40 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(535): Magento\Framework\View\Layout->_renderContainer('product.info.ma...', false) #41 /www/htdocs/w018f7f2/pema/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('product.info.ma...') #42 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('product.info.ma...') #43 /www/htdocs/w018f7f2/pema/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('product.info.ma...', false) #44 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('product.info.ma...', false) #45 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(535): Magento\Framework\View\Layout->_renderContainer('content', false) #46 /www/htdocs/w018f7f2/pema/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('content') #47 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('content') #48 /www/htdocs/w018f7f2/pema/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('content', false) #49 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('content', false) #50 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(535): Magento\Framework\View\Layout->_renderContainer('main', false) #51 /www/htdocs/w018f7f2/pema/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('main') #52 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main') #53 /www/htdocs/w018f7f2/pema/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('main', false) #54 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('main', false) #55 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(535): Magento\Framework\View\Layout->_renderContainer('columns', false) #56 /www/htdocs/w018f7f2/pema/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('columns') #57 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('columns') #58 /www/htdocs/w018f7f2/pema/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('columns', false) #59 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('columns', false) #60 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(535): Magento\Framework\View\Layout->_renderContainer('main.content', false) #61 /www/htdocs/w018f7f2/pema/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('main.content') #62 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main.content') #63 /www/htdocs/w018f7f2/pema/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('main.content', false) #64 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('main.content', false) #65 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(535): Magento\Framework\View\Layout->_renderContainer('page.wrapper', false) #66 /www/htdocs/w018f7f2/pema/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.wrapper') #67 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.wrapper') #68 /www/htdocs/w018f7f2/pema/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.wrapper', false) #69 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(585): Magento\Framework\View\Layout\Interceptor->renderElement('page.wrapper', false) #70 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(535): Magento\Framework\View\Layout->_renderContainer('root', false) #71 /www/htdocs/w018f7f2/pema/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('root') #72 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(488): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('root') #73 /www/htdocs/w018f7f2/pema/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('root', true) #74 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Layout.php(954): Magento\Framework\View\Layout\Interceptor->renderElement('root') #75 /www/htdocs/w018f7f2/pema/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Layout->getOutput() #76 /www/htdocs/w018f7f2/pema/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Layout\Interceptor->___callParent('getOutput', Array) #77 /www/htdocs/w018f7f2/pema/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() #78 /www/htdocs/w018f7f2/pema/generated/code/Magento/Framework/View/Layout/Interceptor.php(494): Magento\Framework\View\Layout\Interceptor->___callPlugins('getOutput', Array, Array) #79 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Result/Page.php(258): Magento\Framework\View\Layout\Interceptor->getOutput() #80 /www/htdocs/w018f7f2/pema/vendor/magento/framework/View/Result/Layout.php(171): Magento\Framework\View\Result\Page->render(Object(Magento\Framework\App\Response\Http\Interceptor)) #81 /www/htdocs/w018f7f2/pema/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Result\Layout->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor)) #82 /www/htdocs/w018f7f2/pema/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Result\Page\Interceptor->___callParent('renderResult', Array) #83 /www/htdocs/w018f7f2/pema/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Response\Http\Interceptor)) #84 /www/htdocs/w018f7f2/pema/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(130): Magento\Framework\View\Result\Page\Interceptor->___callPlugins('renderResult', Array, Array) #85 /www/htdocs/w018f7f2/pema/vendor/magento/framework/App/Http.php(139): Magento\Framework\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor)) #86 /www/htdocs/w018f7f2/pema/generated/code/Magento/Framework/App/Http/Interceptor.php(24): Magento\Framework\App\Http->launch() #87 /www/htdocs/w018f7f2/pema/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http\Interceptor->launch() #88 /www/htdocs/w018f7f2/pema/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #89 {main} Any Ideas? kindly mention your Magento version and PHP version Magento 2.3 PHP v. 7.2 Invalid argument supplied for foreach() is the warning occurs when you pass null to foreach() instead of array. if it is related to product then may be your product collection return an instance instead of array. So use this return $collection->getData(); instead of return $collection; in your getProductCollection() function I hope this will help It is related to a few Products. Not all. How do i use return $collection->getData(); Not very familiar with magento. Yes because not every time you got null in your collection instance that's why it occurs in few products Okay, where do i find that function? I have tried in list.phtml but can not find return $collection; You can find the getProductCollection() function in your module block. if my answer is helpful please mark my answer correct and upvote my answer. so it helps other readers as well Sorry but i can not find the file where i have to change the function. can you give me the filename and path so i can try? I am new to magento. Check in module-catalog/Block/ folder.
20,973
https://eu.wikipedia.org/wiki/Huney%20uhartea
Wikipedia
Open Web
CC-By-SA
2,023
Huney uhartea
https://eu.wikipedia.org/w/index.php?title=Huney uhartea&action=history
Basque
Spoken
93
266
Huney uhartea Shetland uharteetan dagoen uharte jendegabetua da. Unst uhartetik gertu dago, muturreko marea beherarekin biak Yei of Huney izeneko tombolo batez konektatuta gelditzen dira, eta Balta uhartetik kilometro batera dago. Oso txikia da: 0,2 km². Historia Lehen Mundu Gerran E49 itsaspeko britainiarra Huney eta Balta artean urperatu zen, 1917ko martxoaren 12an. Ondorioz, hiru ofizial eta 28 marinel hil ziren. Itsaspekoa Balta Soundetik atera zen eta ziur aski UC-76 itsaspeko alemanarrak utzitako mina baten aurka jo zuen. Naufragioaren tokia gaur egun hilerri gisa izendatuta dago. Erreferentziak Kanpo estekak Uharte jendegabetuak Shetlandetako uharteak Tonboloak
21,971
https://stackoverflow.com/questions/7910613
StackExchange
Open Web
CC-By-SA
2,011
Stack Exchange
Dobson Lassen, Ledian Bregasi, Lowe Cruz, elmarajclp, https://stackoverflow.com/users/17583359, https://stackoverflow.com/users/17583360, https://stackoverflow.com/users/17583361, https://stackoverflow.com/users/21438673
English
Spoken
314
486
Trouble with mediaElementJs and Firefox / Safari I have two issues that have been plaguing a new web site I developed using MediaElement.js. First, thanks so much for making this available; it really helped me get this project together which shows a bunch of videos to users on a variety of platforms. My site has a folder full of .mov files, which are (from what I understand, another person made the video files in iMovie) H.264 encoded. The site works great in Chrome, which is what I use and what I used in developing / testing. The videos play using the native HTML 5 support in Chrome. In Firefox (several versions) the videos "fall forward" to the flash player. The videos play. However, whether or not I specify "player.play()" in the complete event handler, the video switches from showing the Play icon to showing the pause icon, but does not start playing. The user has to click the pause button, then click the play button to get each video to play. Here's my call to the mediaelement: $('video').mediaelementplayer({     defaultVideoWidth: 400, ...     features: ['playpause','duration','volume'<?php echo "$progressBar"; ?>], success: function(player, node) { player.play(); player.addEventListener('ended', function(e) { $('#feedback').append('<p>Press "NEXT" to continue.</p>').promise().done(function() { enableNext(); }); }); } }); 2nd problem: There are times when users have tried to use my site using MacOs / Safari that they have gotten into a situation where the 'ended' event handler doesn't seem to ever be called. I don't let people proceed through and click the "Next" button on my site until the video is ended -- this is a training site and users are required to sit through the entire experience. I have not been able to reproduce this, but we can't go live until I can come up with some fix. I have the same problem in Firefox. About the ended event: try calling play() after adding the event listener.
10,494
https://electronics.stackexchange.com/questions/532655
StackExchange
Open Web
CC-By-SA
2,020
Stack Exchange
JRE, The Force Awakens, https://electronics.stackexchange.com/users/267963, https://electronics.stackexchange.com/users/47070
English
Spoken
288
399
Envelope detector RC values I have understood how the envelope detector works, but I am unable to find the formula for R and C appropriate values. The closest I have found is this link: Explain The Square Law Demodulation and Envelope Demodulation of AM Wave Any help? You've posted a list of google results, not a link to a particular site. That returns different results for everyone who clicks on it. Post a direct link to whatever source you are referring to, and draw an example circuit. Include the frequency (or frequency range) of the input signal. There is no single formula. Think about the characteristics you want and pick RC that suits your purpose. You want an RC that accepts the highest frequency you're interested in (-3dB point higher than that frequency) and rejects the lowest frequency you want to remove (-3dB point much lower than that frequency). Usually there is a range of suitable RC values. If you have a large ratio between the highest frequency of the information, and the carrier frequency, then you might set the RC time constant at the geometric_mean midpoint between the carrier period and the information period Thus with 1MHz carrier (AM radio) and 5MHz voice/music, thus 1uSec and 200uSec, set the RC at sqrt(1uS * 200uS) = about 15uS. =================================== By using the geometric_mean, you have a starting point of optimization. There will be deterministic trash on output of the RC LPF. You may want to further filter the waveform. You may need to perform some time simulations, with diode half-wave rectifiers, and think about the residual ripple coming from the RC LPF. Analog systems RF the information frequency is at kiloherz. Can I still use the mean midpoint?
37,984
https://et.wikipedia.org/wiki/Lambarahu%20%28Hiiu%20maakond%29
Wikipedia
Open Web
CC-By-SA
2,023
Lambarahu (Hiiu maakond)
https://et.wikipedia.org/w/index.php?title=Lambarahu (Hiiu maakond)&action=history
Estonian
Spoken
55
155
Lambarahu on Hiiu maakonnas Hiiumaa vallas Orjaku külas Kassari lähedal asuv 945 m² suurune saar (rahu). Saare rannajoone pikkus on 142 meetrit. Rahu koordinaadid on . Rahu asub 200 meetrit Orjaku säärest kagus. Rahu on pikliku kujuga ja liivase pinnamoega. Rahu kuulub Väinamere hoiuala koosseisu ja on looduskaitse all. Välislingid Hiiu maakonna saared‎ Hiiumaa vald‎
1,835
https://en.wikipedia.org/wiki/East%20Tamaki%20RFC
Wikipedia
Open Web
CC-By-SA
2,023
East Tamaki RFC
https://en.wikipedia.org/w/index.php?title=East Tamaki RFC&action=history
English
Spoken
169
289
East Tamaki Rugby Football Club is a rugby union club based in Auckland, New Zealand. The club was established in 1962 and is affiliated with the Auckland Rugby Football Union. History East Tamaki was initially founded as a "branch" of Otahuhu RFC. However, with the influx of Polynesian immigrants to the Ōtara and East Tāmaki area in the 1960s, East Tamaki broke away from Otahuhu, becoming an independent club in 1962. Today, the club has junior and senior teams, with age grades ranging from under-6 to over-60. To date, the club has never won the Gallaher Shield, the premier senior men's trophy in Auckland rugby. International players The club has produced a number of players who have gone on to play international rugby: New Zealand Eric Rush Pita Alatini Manu Samoa Peter Fatialofa Francis Leilua Junior Paramore Ngapaku Ngapaku Mark Luafalealo Koki Avei Tupo Fa'amasino Tonga Talai Fifita Sam Alatini Tony Alatini External links Club website Auckland RFU club profile Sport in Auckland Rugby union teams in New Zealand
9,778
https://ast.wikipedia.org/wiki/Baltisk
Wikipedia
Open Web
CC-By-SA
2,023
Baltisk
https://ast.wikipedia.org/w/index.php?title=Baltisk&action=history
Asturian
Spoken
101
202
Baltisk , antes de 1945 conocida pol so nome alemán Pillau (en polacu: Piława; en lituanu: Piliava), ye una ciudá puertu rusu del óblast de Kaliningráu. Ta asitiáu en partir norte del gordón del Vístula, a 29 km de Kaliningráu, a veres del estrechu homónimu que dixebra la llaguna del Vistula de la badea de Gdansk. Baltisk ye la ciudá más occidental de Rusia. La ciudá ye un puertu del ferry na ruta a San Petersburgu. Sede de la Flota del Bálticu cola so base naval del mesmu nome. Galería Referencies Enllaces esternos Llocalidaes del óblast de Kaliningráu Puertos de Rusia
8,135
https://ht.wikipedia.org/wiki/Akselerasyon%20santrip%C3%A8t
Wikipedia
Open Web
CC-By-SA
2,023
Akselerasyon santripèt
https://ht.wikipedia.org/w/index.php?title=Akselerasyon santripèt&action=history
Haitian Creole
Spoken
30
69
Akselerasyon santripèt se yon akselerasyon k ap chèche sant yon objè k ap deplase nan yon sèk a yon vitès konstan (ki pa chanje). Referans Syans en:Acceleration#Tangential and centripetal acceleration
40,665
https://pl.wikipedia.org/wiki/Jolicoeur
Wikipedia
Open Web
CC-By-SA
2,023
Jolicoeur
https://pl.wikipedia.org/w/index.php?title=Jolicoeur&action=history
Polish
Spoken
29
67
Jolicoeur – stacja metra w Montrealu, na linii zielonej. Obsługiwana przez Société de transport de Montréal (STM). Znajduje się w Côte-Saint-Paul, w dzielnicy Le Sud-Ouest. Przypisy Metro w Montrealu
48,935
https://stackoverflow.com/questions/18514990
StackExchange
Open Web
CC-By-SA
2,013
Stack Exchange
Ed Morton, Einherjar101, glenn jackman, https://stackoverflow.com/users/1745001, https://stackoverflow.com/users/2729824, https://stackoverflow.com/users/7552
English
Spoken
430
740
How do I use sed to replace decimal exponential values with 0 in a data file My problem is that in among a column of data there are a few values that are exponentials, usually in the form of 2.796e-05. The decimal value in front of the 'e' always varies but it seems like its always to e-05. So what i've been trying so far (having tried various amounts of changes in the hopes it'll work) is: sed -i -e 's/[0-9]*\.[0-9]*e-05/0/g' datafile.txt All of my attempts so far have not had any result. Now im sure im just leaving out one little thing or something similar to that extent but I just cant see it, so any help will be appreciated. As requested: The input is a large file in the form of 19990207 8.891 6.1756 07/02/1999 9.707767 Q31 19990208 0.87234 5.2431 08/02/1999 10.239032 Q31 19990209 4.8225e-06 4.2400 09/02/1999 12.312976 Q31 19990210 0.00013825 5.3127 10/02/1999 10.353386 Q31 (The above is tab seperated but I have no idea how to show this here) For the output I basically just wont the bolded part to be 0. But instead of getting 0's in the places where there are exponentials nothing seems to happen and the output remains the same as the input. The script in which the code is used is a bit long but I can post it if it will help. Your script will work fine for the sample you gave so post a few lines of sample input along with expected output and a copy/paste of your window showing you running your command and the output you get. Lose the -i option for now. If you're specifically useing e-05 in your regex, you won't match the bolded number "4.8225e-06" I feel like and idiot now. Thanks glenn, can't believe I missed that re='-?([[:digit:]]+(\.[[:digit:]]*)?|[[:digit:]]*\.[[:digit:]]+)[Ee]-[[:digit:]]+' sed -r "s/$re/0/g" file That regular expression will accept numbers like -3e-3, 3.1e-1234, .14159E-01 -- there is: an optional negative sign followed by either mandatory digits and optional dot and fractional digits or optional digits and a mandatory dot and fractional digits followed by E or e and a negative integer. I use the POSIX [:digit:] character class because it's available. I save the regular expression in a variable to make maintenance a little easier. Then you have to use double quotes around the sed program body so the shell variable can be substituted. Using sed's -r flag means you can avoid a lot of backslash escapes. It is (I think) a GNU sed extension, but you tagged your question linux so you should have it.
24,205
https://ml.wikipedia.org/wiki/%E0%B4%95%E0%B4%BE%E0%B5%BC%E0%B4%B9%E0%B5%8D%E0%B4%B5%E0%B4%BE%E0%B4%B8%E0%B4%BE%E0%B4%A8%E0%B5%8D%E0%B4%A4
Wikipedia
Open Web
CC-By-SA
2,023
കാർഹ്വാസാന്ത
https://ml.wikipedia.org/w/index.php?title=കാർഹ്വാസാന്ത&action=history
Malayalam
Spoken
76
750
പെറുവിലെ അരെക്വിപ്പാ മേഖലയിലൂടെ പ്രവഹിക്കുന്ന ഒരു ചെറുനദിയാണ് കാർഹ്വാസാന്ത. ഇത് ആമസോൺ നദിയുടെ ഉത്ഭവപ്രദേശത്തെ ഉറവിടങ്ങളിലൊന്നായി പരിഗണിക്കപ്പെടുന്നു. അറ്റ്ലാന്റിക് മഹാ സമുദ്രത്തിൽ നിന്ന് ഏകദേശം 6,400 കിലോമീറ്റർ ദൂരെ 5,597 മീറ്റർ ഉയരത്തിലുള്ള നെവാഡോ മിസ്മിയിലെ മഞ്ഞുരുകിയെത്തുന്നതാണ് ഈ നദിയിലെ ജലം. ആമസോൺ തടത്തിലെ മറ്റെല്ലാ സ്രോതസ്സുകളേക്കാളും, കർഹ്വാസാന്തായിലെ ഹിമജലമാണ്, ആമസോണിലെ ഏറ്റവും വിദൂരത്തു നിന്നുള്ള ജലത്തിന്റെ ഉറവിടമായി കാർട്ടോഗ്രാഫർമാർ കണക്കാക്കുന്നത്. കർഹ്വാസാന്താ, ക്വെബ്രാഡാ അപാചിതയുമായി സംയോജിച്ച് റിയോ ലോക്വെറ്റ നദിയായി മാറുന്നു. അപൂരിമാക് നദിയായി മാറുന്നതിനുമുമ്പായി ഈ നദിയ്ക്ക് നിരവധി പേരുമാറ്റങ്ങളുണ്ടാകുന്നു. നാലു നദികൾ സംയോജിച്ച് അപുരിമാക് നദിയായി മാറുന്ന ജംഗ്ഷനിൽ ഖനന നഗരമായ കയില്ലോമ സ്ഥിതിചെയ്യുന്നു. അവലംബം പെറുവിലെ നദികൾ ആമസോൺ നദിയുടെ പോഷകനദികൾ
35,924
https://uk.wikipedia.org/wiki/ICE%20MC
Wikipedia
Open Web
CC-By-SA
2,023
ICE MC
https://uk.wikipedia.org/w/index.php?title=ICE MC&action=history
Ukrainian
Spoken
679
1,762
ICE MC (справжнє ім’я Ян Кемпбелл; нар. 22 березня 1965 р., Ноттінгем, Англія) — репер, музикант і художник. Біографія Ян народився і виріс у районі Хайсон Грін у Ноттінгемі в сім’ї вихідців з Ямайки. У школі завдяки ініціалам IC він дістав прізвисько ICE (пізніше інтерпретоване ним як Ian Campbell Esquire — Ян Кемпбелл Есквайр). У 1983 році приєднався до групи брейкдансерів, що подорожували по Європі. У 1989 році в Італії він познайомився з Роберто Занетті — композитором і співаком, відомішим під сценічним ім’ям Savage. Занетті в той час займався продюсерською діяльністю під псевдонімом Robyx та шукав підхожого репера для нового проекту. Їхній перший спільний сингл «Easy», виконаний у стилі хіп-хаус, вийшов 1989 року та відразу потрапив у чарти всіх європейських хіт-парадів, посівши в Італії п’яте, а в Німеччині — третє місце. Два наступні сингли «Cinema» і «Scream», а також альбом «Cinema», выпущений у 1990 році, теж стали популярними в Європі і Японії. Ян багато гастролював, однак мода на хіп-хаус швидко минала, на сцену вийшли нові стилі — техно і єврохаус, у результаті чого альбом «My World», що побачив світ 1992 року, виявився далеко менш успішним. Для запису третього альбому Занетті запросив як вокалістку італійську співачку на ймення Alexia, а ICE MC повністю змінив свій зовнішній вигляд та стиль: тепер це був ragga-рэп або raggamuffin. Альбом було витримано в класичному євроденс-стилі і він швидко потрапив на верхні місця в хітпарадах по всьому світові. Найвідоміші хіти, що ввійшли в альбом, це It’s A Rainy Day, Take Away The Colour, Russian Roulette і Think About The Way; останній ще й послужив одним із саундтреків до фільму 1996 р. "На голці". У 1995 році з’явився на світ альбом реміксів «Ice’n’Green — The Remix Album», головним синглом з якого була нова версія «Take Away The Colour '95 Reconstruction». У 1996 році розбіжності між ICE MC і Занетті призводять до розриву. Ян поїхав у Німеччину, де в 1996 році випустив альбом «Dreadatour», що не став популярним. Продюсером альбому виступила група Masterboy. 1998 року чиниться ще одна спроба підкорити чарти: виходять промо-сингли «Busy Body» та «Energy», але з огляду на відхід ери євроденсу гучні лейбли інтересу до них не проявили. Наприкінці 2002 року Ян вирішив повернутися в Італію і зв’язатися з Занетті. В результаті в 2004 році з’явились два нові сингли — «It’s a Miracle» та «My World», відтак 19 квітня на «Time Records» вийшов «Cold Skool». Ні сингли, ні альбом зацікавлення у слухачів не викликали, і Ян знову розстався з Занетті. Згодом Ян повернувся в Англію, де розпочав роботу над новим альбомом, який мав з’явитися наприкінці 2008 року, одначе так і не вийшов. Дискографія Сингли 1989 — «Easy» 1989 — «Easy (Attack Remix)» 1990 — «Scream» 1990 — «Scream (The U.S. Remix)» 1990 — «Cinema» 1990 — «OK Corral!» 1990 — «OK Corral! (The Cotton Remixes)» 1990 — «The Megamix» 1991 — «People» 1991 — «People (Remix)» 1991 — «Happy Weekend» 1991 — «Happy Weekend (Remix)» 1992 — «Rainy Days» 1993 — «Take Away the Colour» 1993 — «Take Away the Colour (Remixes)» 1994 — «Think About the Way» (в UK вийшов під назвою «Bom Digi Bom») 1994 — «Think About the Way (Boom Di Di Boom Remixes)» 1994 — «It’s a Rainy Day» 1994 — «It’s a Rainy Day (Remixes)» 1994 — «It’s A Rainy Day (The Christmas Remix)» 1995 — «Take Away the Colour ('95 Reconstruction)» 1995 — «Ice’n' Mix» (Triple set remixes) (тільки в Італії) 1995 — «Megamix» (тільки у Франції) 1995 — «Run Fa Cover» (тільки в США) 1996 — «Russian Roulette» (тільки в Швеції) 1996 — «Funkin' With You» (тільки у Франції) 1996 — «Give Me the Light» 1996 — «Give Me the Light (Remixes)» 1996 — «Music for Money» 1997 — «Let’s Take It Easy» 2004 — «It’s a Miracle» 2004 — «My World» Альбоми 1990 — Cinema 1991 — My World — The Early Songs 1994 — Ice’n’Green 1995 — Ice’n’Green — The Remix Album 1996 — Greatest Hits and Remixes 1996 — Dreadatour 2004 — Cold Skool (тільки в Італії) Посилання Офіційний сайт Ice MC. Ice MC на MySpace . Ice MC: біографія, дискографія, фотоальбом. Британські музиканти
44,062
https://cs.wikipedia.org/wiki/Lake%20Cavanaugh
Wikipedia
Open Web
CC-By-SA
2,023
Lake Cavanaugh
https://cs.wikipedia.org/w/index.php?title=Lake Cavanaugh&action=history
Czech
Spoken
82
190
Lake Cavanaugh je obec v okrese Skagit v americkém státě Washington. V roce 2010 měla 167 obyvatel a patřila do metropolitní oblasti Mount Vernon-Anacortes. Podle důchodu na hlavu se jednalo nejen o 30. nejbohatší obec ve státě Washington, ale také o celkově nejbohatší v okrese Skagit. 59 % z rozlohy obce, která činí 5,5 km2, tvoří vodní plocha. 99 % obyvatelstva tvořili běloši, necelé 1 % původní obyvatelé. K hispánskému původu se hlásilo necelé 1 % obyvatel obce. Reference Města ve Washingtonu
31,437
https://stackoverflow.com/questions/69386818
StackExchange
Open Web
CC-By-SA
2,021
Stack Exchange
Abdul Hoque Nuri, Rahman Haroon, https://stackoverflow.com/users/13913053, https://stackoverflow.com/users/6681858
English
Spoken
160
236
Why I can't check target membership for GoogleService-Info.plist in react native iOS I was implementing push notification in react native for ios for that i was following react native firebase document After adding GoogleService-info.plist I was getting this error: could not find a valid GoogleService-Info.plist in your project When I check the Target Membership of GoogleService-Info.plist the project checking was disabled as shown in the below image Here is, how I added file to the project: 1: Right click on project folder and selected option for add file to {project name} after that I tried adding folder in both group and folder reference. But it showed same error Select info.plist, delete it and add again into the project. Don't create folder reference, Create groups. Yeah I checked in both ways also..but same error Have you tried after deleting derived data and re-run Xcode. Also check duplicates of same file. I checked for the duplicates..and there is no duplicates on that
49,470
https://stats.stackexchange.com/questions/478757
StackExchange
Open Web
CC-By-SA
2,020
Stack Exchange
Roman Luštrik, Ryan SY Kwan, SeánMcK, https://stats.stackexchange.com/users/144, https://stats.stackexchange.com/users/184719, https://stats.stackexchange.com/users/206635
English
Spoken
597
1,142
Why does the value of a conversion rate change the number of observations required when calculating statistical power? This is probably basic, but I haven't come across it before: With a minimum detectable effect of 10% and a baseline conversion rate of 0.44% it takes 265,857 observations per cohort to reach 80% power (1-sided test with 5% alpha). Keeping the same parameters, but changing the baseline rate to, say, 44%, we see only 1,573 observations are needed per cohort. Why does the value of the conversion rate change the number of observations required? Code (Using R power.prop.test) # Choose baseline (control) conversion rate #BaselineConversion <- 0.0044 # <- This is the real conversion rate BaselineConversion <- 0.44 # <- This is the adjusted rate for comparision # We want to be able to detect a minumium of 10% drop in conversion rates (i.e. if the reduction in conversion rates is <10% we don't care) minDetectedDrop_10pct <- 0.1 # Power calculation: -10% minDetectedConversion_10pct <- BaselineConversion*(1-minDetectedDrop_10pct) testResult_10pct <- power.prop.test( p1= BaselineConversion, p2 = minDetectedConversion_10pct, sig.level = 0.05, power = 0.8, alternative = 'one.sided') paste0('Number observations needed with baseline conversion of: ',BaselineConversion,' is: ', round(testResult_10pct$n)) The bigger the effect size, the less observation you will need to show a statistical significance (got I hate that phrase). Thanks for your reply... so I guess when you say 'big' you mean relative to the denominator right? So even though the numerator could be hundreds of thousands, if the denominator is much bigger, that's still a small effect size. If you measure A LOT of giraffes in Africa and you notice a 1 mm statistically significant difference in height between the Masai and Angolian population... would you make this biologically significant? Hint, giraffes can grow up to 5-6 meters. The average number of success with success rate p is p for binomial distribution. So the difference between p and 0.9 * p is proportional to p. In your examples, 10% of 0.44 is much greater than 10% of 0.0044 . The figure below shows the probability density of the success number from 1000 draws. The success rates are 0.05, 0.5, 0.95 for the solid lines from left to right. The success rates of the dashed lines are 10% smaller than the solid lines. Observe that the variance is wider in the middle and thinner on both sides, but its effect on power is not as strong as the distance between peaks. (Note that the variance of average success is p(1-p)/n) The R code for the plot. N = 1000 x_ = 0:N plot(x_/N, dbinom(x_, size=N, prob=0.05) * N, type='l', xlab='Mean success number', ylab='Density') lines(x_/N, dbinom(x_, size=N, prob=0.05*0.9) * N, lty=2) lines(x_/N, dbinom(x_, size=N, prob=0.5) * N, col='red') lines(x_/N, dbinom(x_, size=N, prob=0.5*0.9) * N, lty=2, col='red') lines(x_/N, dbinom(x_, size=N, prob=0.95) * N, col='blue') lines(x_/N, dbinom(x_, size=N, prob=0.95*0.9) * N, lty=2, col='blue') Thanks for the clear answer (and sorry for the delay in accepting). I think this was a side remark, but I'm curious why is the 'variance in the middle'? Do you mean why is the variance in the middle wider? The variance of binomial distribution is np(1-p). So the variance of binomial distribution divided by n (i.e. success rate) is p(1-p)/n. if p=0.1, 0.1*0.9 = 0.09; if p=0.5, 0.5*0.5 = 0.25; if p=0.9, 0.9*0.1 = 0.09; Ok cool, so it's just a mechanical effect from the definition of variance in a binomial distribution. Thanks for all the clarity! Thank you for the interesting question! After thinking twice, both extreme cases do give a feeling of less "surprises" than the middle 50/50 case does.
7,420
https://stackoverflow.com/questions/50169445
StackExchange
Open Web
CC-By-SA
2,018
Stack Exchange
GhostCat, Niki, ernest_k, https://stackoverflow.com/users/1531124, https://stackoverflow.com/users/5761558, https://stackoverflow.com/users/9739610
English
Spoken
621
1,037
try/catch holds for + if + switch statements, break; needed after if statement enclosed in for loop that contains switch, why? I'm kind of new to Java and I can't really understand break; that's needed after if statement in my code. If I don't add the last break; statement after switch is closed, I get multiple copies of songs that have same title just different time length. However, if I add break;, I only get one copy of specified song inside user's music file. I'm trying to understand why is that happening. Is it because if I don't break away from if statement that holds the switch then the switch repeats it self? try{ Scanner input = new Scanner(inFile); //looping through user requested file of music while (input.hasNextLine()){ //reads new line in the file String line = input.nextLine(); String[] tokens = line.split("[,]"); // loops through list of all songs for (int i = 0; i < allSongs.length; i++){ String nameOfSong = tokens[1]; if (allSongs[i].getTitle().equals(nameOfSong)){ String playlistTypeName = tokens[0]; switch (playlistTypeName){ case "playlist1": playlist1.enqueue(allSongs[i]); break; case "playlist2": playlist2.enqueue(allSongs[i]); break; case "playlist3": playlist3.enqueue(allSongs[i]); break; default: break; } break; } } } It means that the condition allSongs[i].getTitle().equals(nameOfSong) matches many entries in allSongs. Breaking the loop makes sure that you stop adding after the first match is found. Thank you, that makes sense :) Awesome, it's very helpful, thank you tons. I didn't know about map, learned something new :). You have a switch in a loop in a loop. The break statements within the switch body "jump" out of the switch part. But that code still sits in a loop (which sits in another loop). Thus, the outer break affects how the "looping" takes place. So, the real answer here is to step back and look at each of these things individually. And one good way to get there is by not putting so many things into a single method. Rather use a distinct method that does the "switch" handling by itself. In other words: you put too much complexity into your code. And now you lost track of what is going on. And to be more precise: in your case, you are using the wrong solution. Meaning: what you actually want to do is to map a string (like "playlist1" to a specific object. So instead of doing that manually, using a switch statement, you could use Map<String, PlayList> playListsByName = new HashMap<>(); playListsByName.put("playlist1", playlist1); ... And then your switch statement goes away, and instead you do something like: PlayList plist = playListsByName.get(yourToken); if (plist != null) { plist.enqueue(allSongs[i]); } else { ... error handling: invalid play list token Got it, thank you, I do need to break that method to be more simple, I'm just trying to figure out how to pull out that switch statement and make it work without breaking all of it because its dependent on allSong[i] Just a quick follow up question if I may. Would I do the Map<> for each playlist separately if I have 3 playlists? I'm asking because I have 3 different play list queues, so I'm trying to figure out if map has to be done for each of those. Would I add Map under the for loop? (Sorry for so many questions just trying to wrap my mind around this) @Niki You add on the smallest scope it fits in. If you need it in more than one place, you make it a field of your class for example. But even when it is just a "local" variable within that method - then you would put the code to initialize that map into its own method. Try to dissect your problem into many small pieces, and ideally, one method per piece!
47,546
https://stackoverflow.com/questions/54269201
StackExchange
Open Web
CC-By-SA
2,019
Stack Exchange
Dev X, Gert Arnold, https://stackoverflow.com/users/4165149, https://stackoverflow.com/users/6855542, https://stackoverflow.com/users/861716, sri harsha
English
Spoken
862
1,345
How do I deal with iterating over a one to many (or zero) entity when there are zero/null entry? I keep getting NullReferenceException trying to iterate over a null entry on a row. public class Person { public int ID { get; set; } public string Name { get; set; } public Address Address { get; set; } public int AddressID { get; set; } } public class Address { public int ID { get; set; } public string FirstLine { get; set; } public string SecondLine { get; set; } } With the default scaffold template, _context.Person.Include(c => c.Address); The view works fine if there is an address or not. However, I'm now replacing the default index page with a newer grid that loads via AJAX with filtering and paging mechanism. For this, I need to convert the data to my ViewModel I want to be able to display the address in line as text. I've tried the following: var tmp = _context.Person.Include(x => x.Address).ToList(); tmp.ForEach(x => vm.List.Add(new IndexListItem() { Name = x.Name, Address = x.Address.FirstLine + " " + x.Address.SecondLine, ID = x.ID })); But, when debugging, Address seems to always be null, even if there is data on the row. I'm pretty sure I can do this on a standard foreach loop, and doing an if null check, but, I can't help but feel this is something that is quite simple and I'm over complicating it. Is there a simpler way to return the address details I need? Seems impossible that the same query behaves differently in two situations. Note however that it's far more efficient to project to the view model directly by _context.Person.Select(p => new IndexListItem {Name = p.Name, Address = p.Address.FirstLine + " " + p.Address.SecondLine, ... }. Hi Gert, sorry if I wasn't clear - using the default scaffold view/controller, I never try to enumerate address before the view handles it. It is only since I modify and try to put the address to a string that I get the error. I'm guessing it is because I've already called tolist or similar. But thank you also for your comment. I'm still very much a novice and performance/best practice is something that I really want to understand better (after I have learnt how to actually make it work!!) Can you try the address like this: Address = x.Address?.FirstLine + " " + x.Address?.SecondLine, I think that was clear. It's just that the part _context.Person.Include(c => c.Address) didn't seem to change and that should always do the same thing. @sriharsha - I feel like such a noob - I didn't know you call nullable strings like that to get rid of the error... That works great - feel free to put it as an answer... Bonus points if you can tell me how I can get rid of the white space/only display it if there is something I need to separate to its left! (but will probably do that in the view...) can you please keep it in question of what you mean to get rid of white space data. @sriharsha - I meant, what you have done is great, but, I now get " " returned instead of null... is there any easy way to do the same sort of check on the whitespace? or do I need to do something along the lines of ... + address ?? null + or I am returning the whitespace only. As I said in a comment, you should do this in one statement: vm.List = _context.Person .Select(p => new IndexListItem { Name = p.Name, Address = p.Address.FirstLine + " " + p.Address.SecondLine, ID = p.ID }).ToList(); This has two advantages: It's translated into SQL, so only the four required fields are pulled from the database (which makes a considerable difference with wider records). EF will generate SQL that takes null values into account. If you don't want " " as result you could do... Address = (p.Address.FirstLine + " " + p.Address.SecondLine).Trim() ...or... Address = p.Address.FirstLine != null ? p.Address.FirstLine + " " : "") + p.Address.SecondLine But I don't think it matters much for viewing data. Thanks - ok, so, I now fully understand what is going on and why (the other answer on this post fixes it, but the other question goes in to detail and explains the problem)... This answer is great for performance, but, doesn't address the issue (If you can edit/do Address? - I can mark as answer and the performance boost is a bonus!). However... I'm also curious if there is any syntax I can use on a single line to return null/remove the whitespace within the select function? I've tried x.Address?.FirstLine + x.Address ?? x.Address : null and some others without luck :( I don't know what you mean by "If you can edit/do Address?", but here's anther way to add the space conditionally in a one-liner (sort of). There are no other/shorter options. Can you try the address like this: Address = x.Address?.FirstLine + " " + x.Address?.SecondLine, If you don't want white-space, try like below: Address = x.Address == null ? null : (x.Address.FirstLine + " " + x.Address.SecondLine),
3,622
https://ceb.wikipedia.org/wiki/Passiflora%20fernandezii
Wikipedia
Open Web
CC-By-SA
2,023
Passiflora fernandezii
https://ceb.wikipedia.org/w/index.php?title=Passiflora fernandezii&action=history
Cebuano
Spoken
70
136
Kaliwatan sa tanom nga bulak ang Passiflora fernandezii. Una ning gihulagway ni L. K. Escobar. Ang Passiflora fernandezii sakop sa kahenera nga Passiflora, ug kabanay nga Passifloraceae. Kini nga matang hayop na sabwag sa: Bolibiya La Paz (ulohang dakbayan) Departamento de Pando Walay nalista nga matang nga sama niini. Ang mga gi basihan niini Tanom Tanom sa Bolibiya Tanom sa La Paz (ulohang dakbayan) Tanom sa Departamento de Pando Passiflora
47,114
https://sk.wikipedia.org/wiki/Zoznam%20kult%C3%BArnych%20pamiatok%20v%20obci%20%C4%BDubore%C4%8D
Wikipedia
Open Web
CC-By-SA
2,023
Zoznam kultúrnych pamiatok v obci Ľuboreč
https://sk.wikipedia.org/w/index.php?title=Zoznam kultúrnych pamiatok v obci Ľuboreč&action=history
Slovak
Spoken
13
37
Toto je zoznam kultúrnych pamiatok v obci Ľuboreč v okrese Lučenec. ~ Ľuboreč
19,794
https://ru.stackoverflow.com/questions/524353
StackExchange
Open Web
CC-By-SA
2,016
Stack Exchange
Aleksandr Zharinov, MaximK, https://ru.stackoverflow.com/users/190069, https://ru.stackoverflow.com/users/191274, https://ru.stackoverflow.com/users/210352, user210352
Russian
Spoken
427
1,559
Результат выполнения запросов В mssql есть таблица,имеется столбец (st) , типа лог. Мне надо заполнять таблицу так: если запрос выполнено успешно то 1,если ошибка то 2 , если сервис недоступен то 3. И если ошибка, то комментарий при ошибке в другой столбец надо. Как сделать? cn.Open(); using (SqlDataAdapter adapter = new SqlDataAdapter("select s.id, s.name_ru, s.sendType, c1.cod, s.typPeriod, c2.name_ru, s.metaAlg, m.cod, s.dt_send, s.dt_beg, s.dt_send_daytime, s.dt_period_end FROM Shedule s inner join ClBaseItem c1 on s.sendType=c1.id inner join ClBaseItem c2 on s.typPeriod=c2.id inner join MetaAlg m on s.metaAlg=m.id", cn)) using (DataTable dt = new DataTable()) { adapter.Fill(dt); foreach (DataRow row in dt.Rows) { MyTimer myTimer = new MyTimer(); string dt_str = Convert.ToString(row["dt_send_daytime"]); string[] dt_str_tmp = dt_str.Split(':'); switch (Convert.ToString(row["name_ru"].ToString())) { case "Час": Console.WriteLine(dt_str_tmp[2]);//мм break; case "Неделя": Console.WriteLine(dt_str_tmp[0] + ":" + dt_str_tmp[1]);//дд:чч break; case "День": Console.WriteLine(dt_str_tmp[1] + ":" + dt_str_tmp[2]);//чч:мм break; case "5 минут": Console.WriteLine(dt_str_tmp[3]);//сс break; case "10 минут": Console.WriteLine(dt_str_tmp[3]);//сс break; case "30 минут": Console.WriteLine(dt_str_tmp[2] + ":" + dt_str_tmp[3]);//мм:сс break; } myTimer.Interval = Convert.ToString(row["dt_send_daytime"]); myTimer.datetime = Convert.ToString(row["dt_send_daytime"]); myTimer.id = Convert.ToString(row["id"]); myTimer.alg = Convert.ToString(row["cod"]); myTimer.Dt_Begin = Convert.ToDateTime(row["dt_beg"]); myTimer.Dt_Period_End = row["dt_period_end"]; myTimer.Elapsed += OnTimeout; myTimer.AutoReset = true; myTimer.Enabled = true; } } cn.Close(); } Console.WriteLine("Идёт запись..."); Console.WriteLine("Нажмите ENTER чтобы выйти"); Console.Read(); } static void OnTimeout(object sender, System.Timers.ElapsedEventArgs e) { var id = new[] { ((MyTimer)sender).id }; var alg = new[] { ((MyTimer)sender).alg}; var date = new[] { ((MyTimer)sender).datetime }; var st = new[] { ((MyTimer)sender).st.ToString() }; var comment = new[] { ((MyTimer)sender).comment.ToString() }; var beg = new[] { ((MyTimer)sender).Dt_Begin }; var end = new[] { ((MyTimer)sender).Dt_Period_End }; var cr = new[] { ((MyTimer)sender).dt_create }; var upd = new[] { ((MyTimer)sender).dt_update }; string sql = string.Format("Insert Into Alg_stack" + "(id,metaAlg,datetime, st, comment, dt_beg, dt_end, dt_create, dt_update) Values(@id, @alg, @date, @st, @comment, @begin, @end, @create, @update)"); using (SqlConnection cn = new SqlConnection()) { cn.ConnectionString = @"Data Source=192.168.1.156;Initial Catalog=ihd_aktobe;User ID=sa;Password=Pa$$w0rd"; cn.Open(); using (SqlCommand cmd = new SqlCommand(sql, cn)) { cmd.Parameters.AddWithValue("@id", id); cmd.Parameters.AddWithValue("@alg", alg); cmd.Parameters.AddWithValue("@date", date); cmd.Parameters.AddWithValue("@st", st); cmd.Parameters.AddWithValue("@comment", comment); cmd.Parameters.AddWithValue("@begin", beg); cmd.Parameters.AddWithValue("@end", end); cmd.Parameters.AddWithValue("@create", cr); cmd.Parameters.AddWithValue("@update", upd); cmd.ExecuteNonQuery(); } cn.Close(); } Конкретизируйте в чем Ваша проблема то. Исходя из Вашего вопроса ответ будет примерно такой: insert into table (st) values (1) Я обновил код. Мне нужно записать в st (1,2,3) . А в comment надо комментарий при ошибке. Теперь понятно??? Какой именно запрос? добавление в таблицу alg_stack Ты добавляешь строку в таблицу. И если не получилось, ты туда же хочешь вставить туже строку, но с комментарием? комментарий в другую колонку надо @MaximK копался в инете ничё не нашёл @propro17 а почему бы не сохранять ошибки в отдельную таблицу или файл? я обновил код. Можете помочь с проблемой???
50,371
https://en.wikipedia.org/wiki/San%20Jose%20College%2C%20Valladolid
Wikipedia
Open Web
CC-By-SA
2,023
San Jose College, Valladolid
https://en.wikipedia.org/w/index.php?title=San Jose College, Valladolid&action=history
English
Spoken
228
321
San Jose College () is a private Catholic primary and secondary school, located in Valladolid, in the autonomous community of Castile and León, Spain. The school was founded by the Society of Jesus in 1881 and teaches pre-primary, primary, high school (ESO), and baccalaureate. Designed by Ortiz de Urbina, the school building is considered a good example of the eclecticism of the time. History In 1881 the Society of Jesus received an important donation from Justa López Martínez, making it possible to start the Colegio de San José in the now demolished Plazuela del Duque nr. 7, next to the Church of San Juan. A year later in 1882, the Jesuits obtained the land of the Gregorio Remón asked the City Council for permission to expand the campus of the school. The foundation stone was laid on 8 June 1882, the feast of Corpus Christi. The building was completed in 1884 and occupied on January 30, 1885. Notable alumni Juan Hernández Saravia - General and Minister of Defence during the Second Spanish Republic Tomás Villanueva - Vice-president of the Board of Castile and León Gallery See also Catholic Church in Spain Education in Spain List of Jesuit schools References Jesuit secondary schools in Spain Jesuit primary schools in Spain Buildings and structures in Valladolid Education in Castile and León Educational institutions established in 1881 1881 establishments in Spain
44,277
https://zh.wikipedia.org/wiki/%E7%8E%8B%E5%AF%BA%E8%A1%97%E9%81%93
Wikipedia
Open Web
CC-By-SA
2,023
王寺街道
https://zh.wikipedia.org/w/index.php?title=王寺街道&action=history
Chinese
Spoken
5
53
王寺街道,是下辖的一个乡镇级行政单位。 行政区划 王寺街道下辖以下地区: 。 参考资料
9,340
https://uz.wikipedia.org/wiki/Vladimir%20Mar%C3%ADn
Wikipedia
Open Web
CC-By-SA
2,023
Vladimir Marín
https://uz.wikipedia.org/w/index.php?title=Vladimir Marín&action=history
Uzbek
Spoken
223
736
Vladimir Marin Rios () — kolumbiyalik futbolchi, „Sportivo Trinidense“ klubi va Kolumbiya terma jamoasi yarim himoyachisi hisoblanadi. Jamoalardagi faoliyati Vladimir Marín oʻz faoliyatini „Deportivo Rionegro“ jamoasida oʻz shahridan boshlagan. 1999-yilda u „Mustang“ kubogida klub safida debyut qildi. 2001-yil yozida Vladimir Marín Boliviya „Jorge Wilstermann“ jamoasiga koʻchib oʻtdi. U yangi jamoada uch yarim mavsum oʻynadi va 100 dan ortiq oʻyin oʻtkazdi. Vladimir Marín 2005-yilda klubni tark etdi va ikki yil Braziliyaning „Athletico Paranaense“ jamoasi, Argentinaning „Independiente“ jamoasi va „Atlético Nacional“ klublarida oʻynadi. 2015-yilning yozida u „Águilas“ jamoasiga koʻchib oʻtdi. 12-iyul kuni „Atlético Nacional“ jamoasiga qarshi oʻyinda Vladimir Marín yangi jamoa tarkibida debyut qildi. 4-oktyabr kuni „Atlético Huila“ jamoasiga qarshi bahsda Vladimir Marín „Águilas“ uchun birinchi golini raqib darvozasiga kiritdi. 2016-yil boshida Vladimir Marín Paragvayning „Sportivo Luqueño“ klubiga oʻtdi. „General Díaz“ klubiga qarshi oʻyinda u yangi jamoada debyut qildi. 19-fevral kuni „Rubio Nu“ klubiga qarshi duelda Vladimir Marín „Sportivo Luqueno“ jamoasi uchun birinchi golini kiritdi. Xalqaro karyerasi 2006-yilda Vladimir Marín Kolumbiya terma jamoasida debyut qildi. 2007-yilda Vladimir Amerika kubogida ishtirok etdi. Turnirda u Paragvay va AQSH jamoalariga qarshi duelda oʻynadi. 2009-yil 11-fevralda Vladimir Marín terma jamoadagi ilk golini Gaiti darvozasiga kiritdi. Statistikasi Yutuqlari Jamoaviy yutuqlari „Libertad“ Paragvay chempionati — 2007-yil Paragvay chempionati — Apertura- 2008 Paragvay chempionati — Klausura-2008 Paragvay chempionati — Klausura-2010 „Toluca“ Meksika chempionati — Bisentenario-2010 Manbalar Yashayotgan insonlar 1979-yilda tugʻilganlar 26-sentabrda tugʻilganlar
39,781
https://en.wikipedia.org/wiki/Barred%20minnow
Wikipedia
Open Web
CC-By-SA
2,023
Barred minnow
https://en.wikipedia.org/w/index.php?title=Barred minnow&action=history
English
Spoken
47
79
The barred minnow (Opsaridium zambezense) is a species of cyprinid fish found in river systems from the Democratic Republic of Congo, south to Namibia, Zimbabwe and far northern areas of South Africa. References Opsaridium Freshwater fish of Africa Fish described in 1852 Taxa named by Wilhelm Peters
25,146