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://ru.wikipedia.org/wiki/Bauria
Wikipedia
Open Web
CC-By-SA
2,023
Bauria
https://ru.wikipedia.org/w/index.php?title=Bauria&action=history
Russian
Spoken
170
540
Bauria — род вымерших тероцефалов (Therocephalia) из семейства бауриид (Bauriidae). Жили в раннем триасовом периоде (около 246—251 миллионов лет назад) на территории Южной Африки. Описание Bauria была небольшим животным. У неё не было чешуи, как и у многих тероцефалов. Также предполагается, что у неё были вибриссы и шерсть. Череп имеет много особенностей, характерных для млекопитающих. Они включают вторичное нёбо, которое разделяет пищевые и дыхательные пути. Зубы специализированные, с разделением на резцы, клыки и корневые зубы. Уплощённые моляры характерны для животного, питающегося растениями, тогда как резцы имеют заострённую форму, что отражает его хищное происхождение. Вероятно, баурия питалась растениями и мелкими беспозвоночными. Классификация Разделяют всего два вида баурии: Типовой вид — Bauria cynops, открытый южноафриканским палеонтологом Робертом Брумом в 1909 году, и Bauria robusta, изученная в 1965 году по единичному экземпляру — черепу (BPI 369), найденному в районе Бургерсдорпа. Филогения Несмотря на то, что она анатомически похожа на первых млекопитающих, баурия не является их предком, а принадлежит боковой ветви эволюционного дерева млекопитающих. Примечания Тероцефалы Синапсиды триасового периода Фоссилии из триасовых отложений ЮАР
49,265
https://stackoverflow.com/questions/33539645
StackExchange
Open Web
CC-By-SA
2,015
Stack Exchange
Brandon Carvalho, Guffa, Guillaume, Jongware, https://stackoverflow.com/users/2564301, https://stackoverflow.com/users/5340729, https://stackoverflow.com/users/5528254, https://stackoverflow.com/users/69083
English
Spoken
1,162
2,284
How to initialize a struct in C Since 2-3 days I have a small problem with a project, in fact my project is to make a roundabout with cars. I am beginner in C so I tried to initialize a struct by myself. My struct is : typedef struct Car Car; struct Car { char vehicule; /* N, S, E, W */ int speed; /* 1 => slow ou 2 => fast */ int pos_i; /* Position courante 'i' du véhicule sur la route */ int pos_j; /* Position courante 'j' du véhicule sur la route */ char alig; /* 'l' for left and 'r' for right */ }; Then I create a function called initCar, in order to put two random cars at (23,1) at the red circle, (21,1) the orange one, like this : My initCar function: Car initCar () { Car car [43][90] = {{0}}; char direction [] = {'N', 'S', 'E', 'W'}; int position [2][2] = {{0}}; position [0][0] = 23; position [0][1] = 1; position [1][0] = 21; position [1][1] = 1; int i = 0, j = 0; srand (time (NULL)); for (i = 0; i < 43; i++) { for (j = 0; j < 90; j++) { car [i][j].vehicule = direction [rand () % 4]; car [i][j].speed = 1; car [i][j].pos_i = position [i][j]; car [i][j].pos_j = position [i][j]; car [i][j].alignement = 'r'; } printf("\n"); } roadMap(car); } But I have this when I execute: roadMap is my roundabout function, else if (j < 33) { do { printf("%c", matrice[i][j].vehicule); j++; } while (j < 33); } Based on : (my mcve) function.h : #ifndef FONCTIONS_H_INCLUDED #define FONCTIONS_H_INCLUDED #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #define NB_LIN 43 #define NB_COL 90 #define clrscr() printf("\033[H\033[2J") #define couleur(param) printf("\033[%sm",param) typedef struct Car Car; struct Car { char vehicule; /* N, S, E, W */ int speed; /* 1 => slow ou 2 => fast */ int pos_i; /* Position courante 'i' du véhicule sur la route */ int pos_j; /* Position courante 'j' du véhicule sur la route */ char alig; /* 'l' for left and 'r' for right */ }; void roadMap (char matrice [NB_LIN][NB_COL]); void initCarFromEst (); main.c : #include "function.h" int main () { initCarFromEst (); return 0; } And function.c : void myDelay (float i) { // Fais une pause de l'app durant i secondes clock_t start, end; start = clock (); while (((end = clock ()) - start) <= i * CLOCKS_PER_SEC); } void roadMap (Car matrice [NB_LIN][NB_COL]) { int i = 0, j = 0; //NB_LIN de NB_COL for (i = 0; i < NB_LIN; i++) { for (j = 0; j < NB_COL; j++) { switch (i) { case 20: { if (j < 19) { do { printf("■"); j++; } while (j < 19); } else if (j < 33) { do { printf("%c", matrice[i][j].vehicule); j++; } while (j < 33); } else if (j < 53) { do { printf("╬"); j++; } while (j < 53); } else if (j < 67) { do { printf("%c", matrice[i][j].vehicule); j++; } while (j < 67); } else if (j < 87) { do { printf("■"); j++; } while (j < 87); } } break; case 18: case 22: { if (j < 10) { do { printf("─ "); j++; } while (j < 10); } else if (j < 23) { do { printf("%c", matrice[i][j].vehicule); j++; } while (j < 23); } else if (j < 43) { do { printf("╬"); j++; } while (j < 43); } else if (j < 57) { do { printf("%c", matrice[i][j].vehicule); j++; } while (j < 57); } else if (j < 68) { do { printf("─ "); j++; } while (j < 68); } } break; } printf("\n"); } } Car initCarFromWest () { Car car [43][90] = {{0}}; char direction [] = {'N', 'S', 'E', 'W'}; int position [2][2] = {{0}}; position [0][0] = 23; position [0][1] = 1; position [1][0] = 21; position [1][1] = 1; int i = 0, j = 0; srand (time (NULL)); for (i = 0; i < 43; i++) { for (j = 0; j < 90; j++) { car [i][j].vehicule = direction [rand () % 4]; car [i][j].speed = 1; car [i][j].pos_i = position [i][j]; car [i][j].pos_j = position [i][j]; car [i][j].alignement = 'r'; } printf("\n"); } roadMap(car); } Voiture initCarFromEst () { } Voiture initCarFromSouth () { } Voiture initCarFromNorth () { } My function roadMap is nearly 400 lines that's why i gave you a sample If you only want to place two cars, why do you create 3870 cars? Can you please post a mcve Click the blue link in @Guillaume's comment :) It's short for Minimal, Complete, Verifiable, Example – that way we can reproduce your problem case to test out possible solutions. As it is, we need to invent a framework around your code just to run it, and this may hide your error. I put my mcve in the answers Jongware i made the edit :) Well, first of all you're not creating 2 cars, you're creating 43*90 = 3870 cars. You are declaring a 43x90 array of cars, for a total of 3870 cars. You then iterate over all of the cars in the array, initializing all 3870 of them. But you're indexing outside of the bounds of your position array. position is a 2x2 array, so both indices must be in the range [0,1]. But you're using your loop indices to index into it, so you are going way past the bounds of the array, and you're getting whatever values happen to be on the call stack. It sounds like what you want to do just have 2 cars. That should work a lot better. At the end of my project i have to make a program who can move my cars like this ; Moving Cars That's why i made a 2d Array with 43 lin and 90 col You have 43*90 cars, as you just declared Car car[43][90]. Even if you declared them as 'empty' (containing 0). I suggest you modify your code as following: Car* car[43][90] = {{0}}; and basically have every pointer set as NULL and the non empty ones pointing to a dynamically allocated car (moving it would also be more efficient, aside from the obvious minimization in memory consumption. Of course you'll need to modify your map drawing function accordingly. Your position[i][j] is wrong as both i and j travel outside of the array limits (position is only [2][2]). I suppose that your map is 43x90 and that's where your confusion came from. If this is the case, you shouldn't even have a position variable (pos_i and pos_j) as the array index already marks the position (say arr[i][j] is the car, then the car is in i, j). I don't understand what you are saying (i am so bad in english) ^^ do you have any examples ?
25,576
https://ru.wikipedia.org/wiki/%D0%98%D0%B2%D0%B0%D0%BD%D0%BE%D0%B2%2C%20%D0%93%D0%B5%D0%BE%D1%80%D0%B3%D0%B8%D0%B9
Wikipedia
Open Web
CC-By-SA
2,023
Иванов, Георгий
https://ru.wikipedia.org/w/index.php?title=Иванов, Георгий&action=history
Russian
Spoken
93
343
Гео́ргий Ивано́в (реже — Ива́нов): Иванов, Георгий (род. 1976) — болгарский футболист. Иванов, Георгий Владимирович (1894—1958) — русский поэт, прозаик и публицист, переводчик, критик. Иванов, Георгий Иванович (1912—1942) — советский футболист. Иванов, Георгий Матвеевич (1890—1942) — руководитель киевского губернского ГПУ. Иванов, Георгий Николаевич (1927—2010) — советский и российский композитор и педагог. Иванов, Георгий Сергеевич (род. 1998) — российский хоккеист. Иванов, Георгий Степанович (1901—1970) — советский военачальник, полковник. Иванов, Георгий Тихонович (1922—2013) — Герой Социалистического Труда. Иванов, Георгий Фёдорович (1918—1994) — Герой Советского Союза. Иванов, Георгий Яковлевич (1925—1994) — советский артиллерист, Герой Советского Союза.
19,820
https://es.wikipedia.org/wiki/Michele%20Tafoya
Wikipedia
Open Web
CC-By-SA
2,023
Michele Tafoya
https://es.wikipedia.org/w/index.php?title=Michele Tafoya&action=history
Spanish
Spoken
1,106
1,866
Michele Joan Tafoya Vandersall (nacida el 17 de diciembre de 1964) es una ex comentarista deportiva estadounidense. De 2011 a 2022, fue reportera de NBC Sports, principalmente como reportera a pie de campo de NBC Sunday Night Football . Actualmente trabaja como asesora política y hace apariciones televisivas en programas de entrevistas sobre el estado de la política y la cultura estadounidenses. Biografía Tafoya asistió a la Escuela Secundaria Mira Costa. Recibió una licenciatura en comunicación de masas de la Universidad de California, Berkeley en 1988 y un master en administración de empresas de la Universidad del Sur de California en 1991. Carrera profesional Tafoya trabajó como presentadora y reportera para KFAN-AM en Minneapolis, principalmente para transmisiones de baloncesto femenino de los Minnesota Vikings y la Universidad de Minnesota . Trabajó para WAQS (ahora WFNZ) en Charlotte, donde se hacía llamar Mickey Conley. Conley es el apellido de soltera de su madre. Tafoya también trabajó para Midwest Sports Channel, sirviendo como presentadora de los Minnesota Timberwolves y reportera a pie de campo, así como comentarista de juego para el baloncesto y voleibol femenino Big Ten. Tafoya luego pasó tres años en WCCO-TV en Minneapolis como presentadora y reportera de deportes. CBS Sports Tafoya se incorporó a CBS Sports en septiembre de 1994 como reportera y presentadora del programa deportivo antológico de la cadena de televisión CBS Sports Spectacular y de la cobertura del baloncesto universitario de CBS Television Network. Fue presentadora de At The Half y reportera de partidos de fútbol americano universitario. Debutó en antena en el Abierto de Tenis de EE . UU. de 1994. En 1997, La organización American Women in Radio and Television concedió a Tafoya el premio Gracie al "Logro sobresaliente de una personalidad de la televisión en directo" por su por su interpretación de los partidos de la WNBA en Lifetime Television. Tafoya trabajó como reportera para la cobertura de la NFL, fútbol americano universitario, incluido el Campeonato Nacional Orange Bowl de 1998, y fue copresentadora con Al Trautwig de los Juegos Olímpicos de Invierno de 1998 en Nagano. Además de sus diversas tareas, Tafoya fue presentadora del programa de selección de torneos de la NCAA de CBS, Goodwill Games y de la cobertura del US Open Tennis Championships. Dejó la CBS a finales de 1999, después de cinco años en la cadena. ABC Deportes y ESPN Tafoya se unió a ESPN y ABC Sports en enero de 2000, trabajando como reportera a pie de campo para <i id="mwVw">Monday Night Football</i> de ABC Sports durante la temporada 2004 de la NFL y la temporada 2005 de la NFL antes de que el programa se trasladara a ESPN; trabajó como reportera a pie de campo para ESPN Monday Night Football a partir de 2006 . Tafoya fue copresentadora del Mike Tirico Show en ESPN radio. Ayudó a ABC en su cobertura de la Super Bowl XL en Detroit como reportera a pie de campo con Suzy Kolber. Fue prestada a NBC Sports para los Juegos Olímpicos de Sydney 2000 como reportera de gimnasia rítmica y como comentarista para el softbol . El 10 de octubre de 2003, Tafoya derramó cerveza a propósito sobre dos aficionados bajo su palco de lujo en el Metrodome durante un partido entre la Universidad de Minnesota y la Universidad de Míchigan. Tafoya admitió haber perdido la compostura y dijo que estaba avergonzada por el incidente. También emitió una disculpa pública. Tafoya trabajó anteriormente en juegos de la NBA en ABC y ESPN . El 21 de octubre de 2008, anunció que renunciaría a sus funciones como reportera principal de la NBA. Tafoya ha desempeñado otras funciones como presentadora de baloncesto masculino y femenino de la NCAA y como reportera de fútbol americano universitario y baloncesto . También fue presentadora suplente en Pardon the Interruption y del panel de comentaristas en The Sports Reporters II. Sus otros trabajos en ESPN han incluido la transmisión de juegos de la WNBA, así como rla presentación de transmisiones televisivas de esquí y reportera en los programas de selección de baloncesto universitario de ESPN como reportera. También fue corresponsal de SportsCenter y Outside the Lines. En 2006, el índice Davie-Brown clasificó a Tafoya entre las personalidades deportivas televisivas más simpáticas- Al final de la temporada 2010-2011 de la NFL, dejó ESPN por NBC Sports. Regreso a WCCO El 20 de abril, Tafoya fue anunciada como la nueva presentadora de la radio nocturna WCCO-AM. Su programa comenzó el 1 de junio de 2009 y terminó el 27 de enero de 2012. Radio KQRS Tafoya se unió a "The KQ Morning Show" en KQRS-FM como copresentadora con Tom Barnard el 8 de septiembre de 2016. NBC deportes El 4 de mayo de 2011, Tafoya fue anunciada como la nueva comentarista deportiva de NBC Sunday Night Football, reemplazando a Andrea Kremer y reuniéndose con su ex compañero de trabajo y locutor Al Michaels. Tafoya también cubrió la natación durante los Juegos Olímpicos de Verano para NBC . Andrew Marchand del New York Post informó que Tafoya dejaría Sunday Night Football después de la temporada 2021. El 11 de enero de 2022, NBC confirmó en un comunicado de prensa que Tafoya dejaría la cadena, con el Super Bowl LVI como su última misión, para buscar otras oportunidades. Política El 14 de febrero de 2022, un día después de su salida de NBC Sports, la candidata republicana a gobernadora de Minnesota, Kendall Qualls, anunció que Tafoya se uniría a su campaña como copresidenta. Vida personal Tafoya y su esposo Mark Vandersall tienen un hijo y una hija. La familia vive en Edina, Minnesota. En 2007, declaró a WCCO-TV que había estado luchando contra un trastorno alimentario desde que era niña. Tafoya se describe a sí misma como una "conservadora ' proabortista ' con inclinaciones libertarias". Cronología de la carrera 1998: Anfitrión nocturno de los Juegos Olímpicos de Invierno 1994 – 1997 y 1999 NCAA en CBS Sideline Reporter 1998: NFL en CBS Sideline Reporter 1999: SEC en CBS Sideline Reporter 2000 – 2003: reportero secundario de ESPN College Football 2002 – 2003: reportera de Monday Night Countdown 2004 – 2010: reportero de la línea lateral de Monday Night Football 2002 – 2008: NBA en ABC y NBA en ESPN Sideline Reporter 2009 – 2012: Anfitrión de la unidad vespertina de radio WCCO 2011 – 2021: NBC Sunday Night Football Sideline Reporter 2016 – 2020: Coanfitrión del programa matutino de KQRS 2022 – presente: dejó NBC para convertirse en reportero independiente Referencias Comentaristas de tenis Libertarios de Estados Unidos Alumnado de la Universidad de California en Berkeley Personas de Manhattan Beach (California) Wikipedia:Páginas con traducciones sin revisar
15,377
https://jv.wikipedia.org/wiki/Dhataran%20Wallachian
Wikipedia
Open Web
CC-By-SA
2,023
Dhataran Wallachian
https://jv.wikipedia.org/w/index.php?title=Dhataran Wallachian&action=history
Javanese
Spoken
40
130
Dhataran Wallachian utawa Dhataran Romania () iku sawijining dhataran sing dumunung ing Romania sisih kidul lan pinggiran sisih wétan Serbia. Galeri Dhataran ing Rumania Dhataran ing Bulgaria Dhataran bg:Дунавска равнина de:Walachische Tiefebene en: Wallachian Plain nl:Beneden-Donauvlakte ro:Câmpia Română uk:Нижньодунайська рівнина
41,731
https://it.wikipedia.org/wiki/Baliano%20I%20de%20Grenier
Wikipedia
Open Web
CC-By-SA
2,023
Baliano I de Grenier
https://it.wikipedia.org/w/index.php?title=Baliano I de Grenier&action=history
Italian
Spoken
391
767
Biografia Ereditò la Contea di Sidone dal padre Reginaldo. Fu chiamato Baliano come il suo illustre nonno materno, difensore di Gerusalemme contro il Saladino, infatti sua madre era Helvis, figlia di Baliano di Ibelin. Suo padre morì nel 1202, quando Baliano era ancora molto giovane, sua madre Helvis si risposò con Guido di Montfort che allevò Baliano e gestì il suo patrimonio fino alla maggiore età. Baliano divenne un potente e importante rappresentante della nobiltà nativa della Terrasanta, durante tre crociate nel Levante della prima metà del XIII secolo. Durante la Quinta crociata Baliano sconsigliò le truppe di Andrea II d'Ungheria di tentare sortite nelle regioni deserte della sua contea di Sidone, che erano pressoché interamente controllate dai saraceni. Gli ungheresi rifiutarono di ascoltare e molti furono massacrati nel corso di un agguato dei turcomanni. Durante la Sesta crociata, Baliano sostenne l'Imperatore Federico II per il trono di Gerusalemme. Egli negoziò con Giordano Filangieri, il maresciallo del Sicilia, inviato da Federico nel 1228 per rappresentare la sua autorità in San Giovanni d'Acri fino a quando l'imperatore poté fare il viaggio di persona. Baliano fu il principale tra gli alleati locali dei crociati, nel momento in cui questi non erano ben accolti dalla popolazione locale. Egli sostenne l'imperatore e la sua germanizzazione e tentò, come con la precedente crociata, di evitare un bagno di sangue. Nel 1229 Frederico lasciò Baliano in carica a Tiro e nel 1231 gli diede la co-reggenza (baliato) del regno con Gualtiero l'alemanno. Durante la crociata del 1239 di Tebaldo I di Navarra nel 1239, combatté nella battaglia vicino ad Ascalona fra i crociati e le forze egiziane. Contro il suo buon giudizio Amalrico VI di Montfort ed Enrico II di Bar caricarono gli egiziani e furono sconfitti. Più tardi Baliano ricevette, dal sultano al-Salih Ayyub, il castello di Shaqil Arnun, che suo padre aveva difeso con uno stratagemma da Saladino nel 1190. Egli morì nel 1240 o, secondo Filippo di Novara, nel 1241. A Sidone, che Baliano aveva recuperato per la maggior parte, gli succedette il figlio Giuliano, nato dal matrimonio con Margherita di Brienne, figlia di Gualtieri Conte di Brienne, fratello maggiore di Giovanni di Brienne, re di Gerusalemme. Margherita, prima di sposare Baliano, era stata l'amante dell'imperatore Federico II. Bibliografia Collegamenti esterni Cristiani della quinta crociata Cristiani della sesta crociata Cristiani della crociata del 1239
38,108
https://ar.wikipedia.org/wiki/%D8%B4%D9%8A%D8%A9%20%D8%B3%D9%88%D8%AF%D8%A7%D9%86%D9%8A%D8%A9
Wikipedia
Open Web
CC-By-SA
2,023
شية سودانية
https://ar.wikipedia.org/w/index.php?title=شية سودانية&action=history
Arabic
Spoken
136
442
يعتبر شية السودانية أحد اطباق اللحوم المحببه لجميع السودانيين، ومعظمهم يحب شواء اللحم وخاصة في عيد الأضحي المبارك وبمزيج سوداني خاص لأعطاء اللحم رائحة ونكهة خاصة ومذاق رائع. مكونات الشية السودانية كيلو لحم ضاني 4 قطع ليه (الضنب) أو الشحم 1 بصلة كبيرة شرائح 2 فص ثوم مهروس ملعقة صغيرة ثوم بودر ملعقة صغيرة كزبرة ناشفة ملعقة صغيرة فلفل أسود ملح (حسب الرغبة) أنواع الشية السودانية شية الجمر أو الفحم شية الصاج الشواية الشواية تكون سلك أو صاج به ثقوب وعلي الفحم.وتستخدم لعمل شية الجمر الصاج هو عباره عن وعاء بدون ثقوب يستخدم لعمل شية الصاج يمكنك تقديم هذه الأكلة مع شرائح البصل الأبيض وشطة خضراء بالدكوة (زبدة الفول السوداني مع رشة ملح وعصرة ليمون). وصلا ت خارجية الشية السودان على قناة العربية شية الصاج السودانية أكلات الشارع السوداني المراجع أطباق لحوم طعام الشارع مطبخ سوداني
7,705
https://stackoverflow.com/questions/7609918
StackExchange
Open Web
CC-By-SA
2,011
Stack Exchange
ArtOfWarfare, Karpe Varad, Nicola Musatti, Rahul, Rauf Mammadov, Yash Sethi, agf, branyayxvi, https://stackoverflow.com/users/16846519, https://stackoverflow.com/users/16846520, https://stackoverflow.com/users/16846521, https://stackoverflow.com/users/16846642, https://stackoverflow.com/users/16847639, https://stackoverflow.com/users/22790861, https://stackoverflow.com/users/500584, https://stackoverflow.com/users/670629, https://stackoverflow.com/users/838975, https://stackoverflow.com/users/901641, https://stackoverflow.com/users/972791, kennyk4silva, thias, user16846520
English
Spoken
546
966
How to send multiple inputs to the remote shell using subprocess.Popen I am trying to run multiple commands on a remote computer after doing ssh to that machine and then running commands on its terminal. I want to use subprocess for this work. So I wrote the following command:- import subprocess process = subprocess.Popen(['ssh', 'rahul@172.20.70.121'], shell=False, stdin=subprocess.PIPE) Now I get the terminal of remote machine and I pass the following command which gets executed on that machine:- print process.communicate('python test.py /home/rahul/vPath-dissector') But when I am again calling the last called command, it gives an error:- print process.communicate('python temp.py /home/rahul/vPath-dissector') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.6/subprocess.py", line 690, in communicate self.stdin.write(input) ValueError: I/O operation on closed file So what command can I use to send multiple commands without closing the file??? Did you try process.stdin.write('python temp.py /home/rahul/vPath-dissector') instead of using communicate? Hi, then how will I get the output of the above command?? I am unable to get its output.... process.stdout.readlines()? No, there is some issue with this... let me check... I need to specify stdout in the subprocess.Popen command..... otherwise, it will not recognize stdout and when I did that, its not showing the output. There might be some issue with that... Trying to find the answer to the same problem I ended up using pexpect instead of subprocess. import pexpect ssh = pexpect.spawn('ssh rahul@172.20.70.121') prompts = [">", "#", "\$", "}", '%', pexpect.TIMEOUT] ssh.sendline('echo Hello') ssh.expect(prompts) print ssh.before For ssh specific there is even pxssh. Not sure whether this is useful for you since you asked explicitely for subprocess.Popen - still, you can simply execute your remote command from the shell using ssh rahul@172.20.70.121 python test.py /home/rahul/vPath-dissector and of course from python with os.system("ssh rahul@172.20.70.121 python test.py /home/rahul/vPath-dissector") You can also capture the output of this command. Sorry if I missed your point, though... His question was about sending multiple commands to a single ssh process. sure, but maybe Rahul can accomplish his goal with multiple ssh-connections as well - or do you see any problem with using separate ssh-calls? Hi, I want to explicitly use subprocess here.... os.system is not the efficient way of doing the system calls as even written on the python's website. Even they suggest of using subprocess rather than os.system . When I had a similar problem years ago I ended up using this recipe from the Python Cookbook. Apparently it is now also available from Pypi, but I don't know if it's exactly the same code or not. Doesn't look like the same code to me. The pip module doesn't work at all (it always returns (None, None) despite my having passed PIPE in to stdin, stdout, and stderr.) Going to see if the other module works better. No, you're right. I thought I had added a comment to point it out, but if I did it was't here. Is that recipe your best suggestion still, 3 years later? I'm probably going to give it a shot first thing tomorrow (I read your post just before heading home for the day and just quickly tried the module on pip and found that it didn't work.) I'd go with pexpect except it seems to be Unix only, and I'd like a cross platform solution.
3,871
https://arz.wikipedia.org/wiki/%D8%A7%D8%B1%D8%B4%D9%8A%D8%A8%D8%A7%D9%84%D8%AF%20%D8%A8%D8%A7%D8%AA%D9%88%D9%86%20%D8%AB%D9%88%D8%B1%D9%86%D8%AA%D9%88%D9%86
Wikipedia
Open Web
CC-By-SA
2,023
ارشيبالد باتون ثورنتون
https://arz.wikipedia.org/w/index.php?title=ارشيبالد باتون ثورنتون&action=history
Egyptian Arabic
Spoken
56
191
ارشيبالد باتون ثورنتون كان مؤرخ من المملكه المتحده. حياته ارشيبالد باتون ثورنتون من مواليد سنة 1921. الدراسه درس فى جامعة جلاسجو و ترينيتى كوليدچ اوكسفورد. العضويه كان عضو فى: الجمعيه الملكيه الكنديه جوايز زماله الجمعيه الملكيه فى كندا وفاته ارشيبالد باتون ثورنتون مات يوم 19 فبراير سنة 2004. لينكات برانيه مصادر مؤرخين مؤرخين من المملكه المتحده
37,974
https://sv.wikipedia.org/wiki/Typosquatting
Wikipedia
Open Web
CC-By-SA
2,023
Typosquatting
https://sv.wikipedia.org/w/index.php?title=Typosquatting&action=history
Swedish
Spoken
97
248
Typosquatting eller URL-kapning, är en form av cybersquatting och utnyttjar felstavningar av en internetbesökare för att locka denne till en annan webbplats. Till exempel blir användaren omdirigerad till andra (skadliga) webbplatser om denne (av misstag) skulle skriva [www.wiipedia.org] eller [www.wilipedia.org] istället för [www.wikipedia.org]. Typosquatting innebär alltså att man skapar en webbplats med en startsidesadress som är väldigt lik originalsajtens adress eller rentav med samma adress men med en annan ändelse: [www.wikipedia.nu] Anledningar till typosquatting Generera träffar till en kommersiell webbplats Installera sabotageprogram på användarens dator för egen vinning Propaganda Chocksajter Se även Cybersquatting Phishing Spoofing Internet Datasäkerhet
31,633
https://eu.wikipedia.org/wiki/Isabel%20Fern%C3%A1ndez%20Reviriego
Wikipedia
Open Web
CC-By-SA
2,023
Isabel Fernández Reviriego
https://eu.wikipedia.org/w/index.php?title=Isabel Fernández Reviriego&action=history
Basque
Spoken
579
1,591
Isabel Fernández Reviriego (Bilbo, ) bizkaitar musikagile, eta aldi berean soinu-banden konpositore gisa jarduten du. Ekoizlea eta artista grafikoa. Gaur egun, pertsona bakarreko proiektua da Aries, eta haren musika-jarduera Bilbon hasi zen 90eko hamarkadaren amaieran Electrobikinis taldea sortu zuen eta 2000ko hamarkadan Charades izenekoa. Madrilen jarraitu zuen, eta, ondoren, Vigon bakarkako artista gisa. Bere proiektu guztien artean, hamar disko inguru argitaratu ditu, zazpi album barne, Espainian, Estatu Batuetan eta Japonian, eta hainbat artista eta bandarekin kolaboratu du, hala nola Delorean, Atom Rhumba, Alberto Montero edo Wild Honey. Biografia Isabel Fernández Reviriego 1979ko apirilaren 7an jaio zen Bilbon. Bere nerabezaroan Guetxoko musika-girora joaten hasi zen, garai hartan oso dinamikoa baitzen Getxo Sound, deritzonaren jardueraren ondorioz, eta garai hartan punka, rock and rolla eta 90eko hamarkadako korronte batzuk lantzen hasi zen. Handik gutxira, 1997an, bere lehen taldea osatu zuen, eta harekin EP bat eta album bat grabatu zituen. Taldeko kide zen Miren Iza ere, geroago Tulsa taldea osatuko zuena, eta Asier Gurruchaga, ordurako Zodiacs taldean bateria zena. 2001ean Madrilera joan zen, eta han Giza Zientzietako lizentziaduna izan zen Carlos III Unibertsitatean, eta musika-jarduerarekin jarraitu zuen talde berri batean, Charades. Bertan sinatu zituen lehen kantak gaztelaniaz, pixkanaka ahots-harmonietan oinarritutako pop estiloa lortuz, eta azkenean bere zigilu pertsonala bihurtu zen. Bigarren ahotsen zalea zen. Hauxe zuen lema:Inoiz ez da kororik sobratzen.Charadesek hiru LP eta EP bat argitaratu zituen bederatzi urtean. Kill Rock Stars underground amerikar zigilu ospetsuak bere gaietako bat aukeratu zuen Tracks and fields (2004) bildumarako. En ningún lugar izeneko bigarren albuma, Japonian argitaratu zen Art Union zigiluarekin. La Blogoteque izeneko blog entzutetsuarentzat lan egin zuten, eta jaialdi nazional nagusietan, Erresuma Batuan, AEBn eta Espainian jo zuten. Azkenik, 2010eko abenduaren 13an, taldea 'hiato' mugagabe batean sartu aurretik azkena izango zela iragarri zuten. Aries Charadesen etenaldiaren ondoren, Isabel berriro joan zen Vigora. Hiri horretan askatu zuen bere literatura-ekoizpena (Madrilen hasia), eta zenbait argitalpen autoeditatu edo fanzin egin zituen, musikari, arteari, filosofiari, saiakerako testu laburrei eta autobiografikoei buruzko gogoetek osatuak, bere diseinuekin batera, sarritan collageak. Testu horietako batzuk, elkarrizketa zaharren eta material berrien laburpenekin batera, Un rayo ultravioleta izeneko lehen liburua osatu zuten. Vigon bakarkako ibilbideari ekin zion, Aries izenaz(zeinu zodiakoa). Musika-tresna elektroniko ugari zuen soinu-formatu berrian barneratu zenproiektuan, baina oinarri harmonikoari eta pop-estiloari eutsi zion, melodia-aberastasun handiaz. Ariesen grabazioek musika-munduaren arreta bereganatzen jarraitu zuten Espainia barruan eta kanpoan, eta, hala, albumetako hirugarren eta laugarrena, Adieu or die eta Juramento Mantarraya, batera argitaratu zituzten La Castanyak Espainian eta K Records Estatu Batuetan eta Kanadan. Ariesek bira egin zuen AEB eta Europatik, nazioarteko jaialdi ugaritan parte hartuz, hala nola Primavera Sound, Eurosonic, edo SXSW. Magia Bruta 2021eko urrian, Magia Bruta izeneko bikote baten sorrera iragarri zuen, eta 2022ko otsailean argitaratu zuen Un día nuevo lehen albuma. Bideo-jokoak eta marrazki bizidunak Linea elektroniko eta melodiko berean, Isabelek Melbit World bideo-jokoaren soinu-banda (Playstation, 2019) konposatu eta ekoitzi zuen, baita soinu-efektuen eta joko-ahotsen diseinua ere. 2011n, Cartoon Network-en Hora de aventura telesail animatuan lanean hasi zen. Bertan, pertsonaia ugari bikoiztu zituen, besteak beste, Chicle printzesa, «Limoncín-en kanta» abestuz, «Limoncín, 2. zatia» kapituluan (5. denboraldia, 51. kapitulua)., Princesa Llama printzesa, Fionna, Cake edo Andereño uhartea. Halaber, Apple & Onion (Cartoon Network) eta Summer Camp Island (Cartoon Network) serietan jarri du ahotsa. Soinu-bandak Saturn is not faraway (2018) film laburraren soinu-banda ere konposatu du Isabelek Stella McCartney enpresarentzat. Kanadak ekoiztutako filma Diskografia Electrobinikis Charades Aries Magia Bruta Un día nuevo (album, 2022ko otsailaren 2an) BSO Birnahasketak Liburuak Erreferentziak Kanpo estekak Isabel Fernández Reviriegoren webgune ofiziala Bilbotarrak Bizkaiko musikagileak Gaztelaniazko abeslariak
34,473
https://stackoverflow.com/questions/13743869
StackExchange
Open Web
CC-By-SA
2,012
Stack Exchange
https://stackoverflow.com/users/1048093, wemu
English
Spoken
153
222
Does maven-android-plugin supports multiple source folders? On my current Android Project we have some generated java code which we would like to build tru a CI(Jenkins) chain. This code should be place in some extra folder like: src/main/java src/main/some-generated-code The Code will not generated using maven, its already in the repository. Is there support doing this with Android-Maven-Plugin ? Any best practices for this ? Thanks a lot, Kitesurfer I would create an own maven module, generate the sources there, build/deploy that module and use it as a dependency in your module. The best solution is to have the generated code stand on its own as a separate project that is deployed to a repository manager and declared as a dependency to the current project. If that is not an option and the source code has to be in the location you reference you can try the build-helper-maven-plugin to add more source folders.
19,824
https://war.wikipedia.org/wiki/Pilophorus%20piceicola
Wikipedia
Open Web
CC-By-SA
2,023
Pilophorus piceicola
https://war.wikipedia.org/w/index.php?title=Pilophorus piceicola&action=history
Waray
Spoken
35
61
An Pilophorus piceicola in uska species han Insecta nga ginhulagway ni Knight hadton 1926. An Pilophorus piceicola in nahilalakip ha genus nga Pilophorus, ngan familia nga Miridae. Waray hini subspecies nga nakalista. Mga kasarigan Pilophorus
15,857
https://ceb.wikipedia.org/wiki/Trypoxylon%20carpenteri
Wikipedia
Open Web
CC-By-SA
2,023
Trypoxylon carpenteri
https://ceb.wikipedia.org/w/index.php?title=Trypoxylon carpenteri&action=history
Cebuano
Spoken
40
70
Kaliwatan sa insekto ang Trypoxylon carpenteri. Una ning gihulagway ni Richards ni adtong 1933. Ang Trypoxylon carpenteri sakop sa kahenera nga Trypoxylon, ug kabanay nga Crabronidae. Walay nalista nga matang nga sama niini. Ang mga gi basihan niini Buyog Trypoxylon
11,217
https://zh.wikipedia.org/wiki/%E5%AE%B0%E6%81%A9%20%28%E5%9C%A3%E5%9F%BA%E8%8C%A8%E5%92%8C%E5%B0%BC%E7%BB%B4%E6%96%AF%29
Wikipedia
Open Web
CC-By-SA
2,023
宰恩 (圣基茨和尼维斯)
https://zh.wikipedia.org/w/index.php?title=宰恩 (圣基茨和尼维斯)&action=history
Chinese
Spoken
3
110
宰恩(Zion)是加勒比海島國聖基茨和尼維斯尼維斯島聖喬治金哲蘭區的一個城鎮,位於該島東南海岸的內陸,該區首府马凯特肖普西北部。 圣基茨和尼维斯聚居地 圣乔治金杰兰区
48,610
https://stackoverflow.com/questions/70769032
StackExchange
Open Web
CC-By-SA
2,022
Stack Exchange
PSR, https://stackoverflow.com/users/15131974, https://stackoverflow.com/users/7534358, santosh kumar
Danish
Spoken
398
1,336
how to launch seperate browser for each test in python selenium while running test_login.py , 3 browsers should be launched and verify the tests but only one is getting launched and second test is failing as second is continuing after first test steps. *********** Conftest.py********** below is conftest file import pytest from selenium import webdriver from webdriver_manager.chrome import ChromeDriverManager @pytest.fixture(scope="class") def setup(request): driver = webdriver.Chrome(ChromeDriverManager().install()) driver.get("https://itera-qa.azurewebsites.net/Login") driver.maximize_window() request.cls.driver = driver yield driver.close() test_login.py this test file contains 3 tests to verify import pytest from pages.loginpage import PageLogin @pytest.mark.usefixtures("setup") class TestLogin: @pytest.fixture(autouse=True) def class_setup(self): self.tl = PageLogin(self.driver) @pytest.mark.login def test_login1(self): self.tl.enter_user_name("sysadm") self.tl.enter_password("sysadm") self.tl.click_login() def test_empty_user_pwd(self): # self.driver.get(self.url) self.tl.enter_user_name("") self.tl.enter_password("") self.tl.click_login() if self.tl.error_text() == 'Login error: Enter your username.': assert True else: assert False def test_empty_pwd(self): # self.driver.get(self.url) self.tl.enter_user_name("sysadm") self.tl.enter_password("") self.tl.click_login() if self.tl.error_text() == 'Login error: Enter your password.': assert True else: assert False ********* PageLogin*********** this is loginpage where all the xpaths were defined import time from selenium.webdriver.common.by import By class PageLogin(SelectCustomer): textbox_username_id = "user" textbox_password_id = "pass" button_login_xpath = "//input[@value='Log In']" get_error_text_xpath = "//p[@class='error']" def __init__(self, driver): self.driver = driver def enter_user_name(self, username): self.driver.find_element(By.ID, self.textbox_username_id).send_keys(username) def enter_password(self, password): self.driver.find_element(By.ID, self.textbox_password_id).send_keys(password) def click_login(self): self.driver.find_element(By.XPATH, self.button_login_xpath).click() def error_text(self): returned_error_text = self.driver.find_element(By.XPATH, self.get_error_text_xpath).text return returned_error_text time.sleep(4) Why do you want to run tests in different browsers ? I apologize, i am unable understand what is going on. First i have created test_login1 to verify success of login then i have created test_empty_user_pwd to check login behavior when i provide empty user and password but test_empty_user_pwd is failing with "No such element exception" as login was successful in previous section. Ideally again website should be launched and enter empty user and pwd but that is not happening. Issue resolved after changing code in conftest.py below code: able to launch separate browser for each test case import pytest from selenium import webdriver from webdriver_manager.chrome import ChromeDriverManager from webdriver_manager.firefox import GeckoDriverManager from webdriver_manager.microsoft import EdgeChromiumDriverManager driver = None @pytest.fixture(autouse=True) def setup(request, browser, url): global driver if browser == "chrome": driver = webdriver.Chrome(executable_path=ChromeDriverManager().install()) elif browser == "firefox": driver = webdriver.Firefox(executable_path=GeckoDriverManager().install()) elif browser == "edge": driver = webdriver.Edge(EdgeChromiumDriverManager().install()) driver.get(url) driver.maximize_window() request.cls.driver = driver yield driver.close() #this will get the value of CLI/Hooks def pytest_addoption(parser): parser.addoption("--browser") parser.addoption("--url") #This will return the browser value to setup method @pytest.fixture(scope="class", autouse=True) def browser(request): return request.config.getoption("--browser") #This will return the url value to setup method @pytest.fixture(scope="class", autouse=True) def url(request): return request.config.getoption("--url")
44,325
https://en.wikipedia.org/wiki/Robert%20Kosch
Wikipedia
Open Web
CC-By-SA
2,023
Robert Kosch
https://en.wikipedia.org/w/index.php?title=Robert Kosch&action=history
English
Spoken
721
1,068
Robert Paul Theodor von Kosch (5 April 1856 – 22 December 1942) was a Prussian General of the Infantry during World War I. Early life Robert was the youngest of ten children of Hermann and Agnes Kosch. After attending the Cadet corps, on 23 April 1874 Kosch graduated as a Sekonde-Leutnant in the (4th Lower Silesian) Infantry Regiment No. 51 of the Prussian Army. From 1877 to 1880 he studied at the Military Academy. On 3 April 1880 he married Gertrude Noeggerath, with whom he had three daughters. Career From 1 April 1881 to 31 March 1887 he was posted as battalion and regimental adjutant to Infantry Regiment No. 132 in Glatz. On 1 April 1887 he was seconded to the General Staff to Berlin. After a number of regimental and staff assignments Kosch was promoted to Oberst on 22 April 1905 and took command of the Landwehrbezirk II in Berlin. On 16 February 1907 he took command of the 8. Brandenburgisches Infanterie-Regiment „General-Feldmarschall Prinz Friedrich Karl von Preußen“ Nr. 64 in Prenzlau. On 19 August 1909 he was promoted to Generalmajor and assigned to the 78th Infantry Brigade in Brieg. On 22 April 1912 he was made Generalleutnant and he was appointed commander of the 10th Division in Posen. After the outbreak of World War I he led his division into the Loraine region on the Western Front. On 9 October 1914, he became commander of the I. Army Corps in Lithuania, where his troops opposed numerically superior Russian forces. After initial tactical setbacks Kosch and his men finally won the Second Battle of the Masurian Lakes. For this victory Kosch was awarded the Pour le Mérite. On 11 June 1915 he was appointed Commanding General of the X. Reserve Corps. He led them in the battles on the Dniester, the Battle of Gnila Lipa and at Krasnostaw. He transferred to the Balkans Theater, where he fought against Serbia. For his success Kosch received, on 27 November 1915, the Oak Leaves to his Pour le Mérite. At the end of February 1916 the Battle of Verdun began, and Kosch was in it. He was promoted to General der Infanterie on 18 August 1916. Ten days later he assumed command of the newly formed General Command No. 52, a.k.a. the Danube Army; that was used in the Bulgarian Danube region. The multi-day battle at Argesch, in late November to early December 1916, culminating in a Romanian defeat, led to the occupation of Bucharest and the crumbling of Romania's western and northwestern front sectors. From 1 May 1917 on he temporarily led the 9th Army until the arrival of Johannes von Eben. After dissolution of the Danube Army in March 1918 Kosch participated in the occupation of the Ukraine and the struggles against the Red Army. On 1 May 1918 he was appointed commander of all troops in Taurida and the Crimea. Directly after the war he commanded the Border Guard East, effectively all German forces east of Berlin, before he retired from the Army on 10 January 1919. Kosch died in 1942 and was buried in the Invalids' Cemetery. His grave did not survive. Awards and decorations Order of the Red Eagle I. Class with Oak Leaves and Swords (6 August 1818) Golden Grand Cross of the Albert Order with Swords (22 August 1917) Pour le Merite (20 February 1915) with Oak Leaves (27 November 1915) Grand Cross of the Order of Leopold with Swords (13 September 1917) Order of Saint Alexander (14 March 1917) Frederickscross (17 October 1916) Iron Crescent (20 January 1916) Hanseatic Cross (10 June 1916) Order of the Iron Crown I. Class with War Decoration (31 August 1915) Iron Cross I. Class (1914) and II. Class (1914) Order of the Crown II. Class (18 January 1909) Notes References Hanns Möller: Geschichte der Ritter des Ordens „pour le mérite“ im Weltkrieg. Band 1: A–L. Verlag Bernard & Graefe. Berlin 1935. S. 607–609. Karl-Friedrich Hildebrand, Christian Zweng: Die Ritter des Ordens Pour le Mérite des I. Weltkriegs. Band 2: H–O. Biblio Verlag. Bissendorf 2003.  . S. 254–256. 1856 births 1942 deaths People from Kłodzko Recipients of the Iron Cross (1914), 1st class Recipients of the Iron Cross (1914), 2nd class Recipients of the Pour le Mérite (military class) German Army generals of World War I Generals of Infantry (Prussia)
38,329
https://arz.wikipedia.org/wiki/2dFGRS%20TGN343Z176%20%28%D9%85%D8%AC%D8%B1%D9%87%29
Wikipedia
Open Web
CC-By-SA
2,023
2dFGRS TGN343Z176 (مجره)
https://arz.wikipedia.org/w/index.php?title=2dFGRS TGN343Z176 (مجره)&action=history
Egyptian Arabic
Spoken
166
466
2dFGRS TGN343Z176 مجره بتتبع كوكبة العدرا اللى هيا كوكبه ف دايرة البروج معلومات المجره الانزياح الأحمر: 0.05034. السرعه الشعاعيه: 14712. المطلع المستقيم: 214.343207. الميل: 0.472681. مصطلحات تعريفيه الكوكبه هيا مجموعه من النجوم اللى بتكون شكل أو صوره و هيا مجال الكره السماويه اللى المجره جزء منها. الانزياح الاحمر هو زيادة طول الموجه الكهرومغناطيسيه اللى جايه لينا من المجره بسبب سرعه ابتعادها عننا. ده بيستخدم فى حسابات الفلك. السرعه الشعاعيه هيا سرعه الجرم الفضائى فى اتجاه الراصد و بتنقاس بالانزياح الاحمر. المطلع المستقيم هوا الزاويه المحصوره بين الدايره الساعيه لجرم سماوى و الدايره الساعيه لنقطة الاعتدال الربيعى. المطلع المستقيم ممكن يتقاس بقوس دايره الاستواء السماويه من نقطه الاعتدال الربيعى لحد نقطه تقاطع الدايره الساعيه لجرم سماوى مع دايره الاستواء السماويه. الميل هوا المكافئ الفلكى لخط العرض و بيتقس بقيمة الزاويه بين أى جسم سماوى و خط الاستوا السماوى. لو كان النجم شمال خط الاستوا السماوى تكون قيمة بعده بالموجب (+) و لو النجم جنوب خط الاستوا السماوى تكون قيمة بعده بالسالب (-). مصادر مجرات فضاء عدرا (كوكبه)
17,301
https://stackoverflow.com/questions/25182929
StackExchange
Open Web
CC-By-SA
2,014
Stack Exchange
Jonathan Lerner, Stillmatic1985, https://stackoverflow.com/users/625681, https://stackoverflow.com/users/731465
Danish
Spoken
432
888
Elasticsearch function_score with nested_objects I have a problem with a query.I used a query for boosting documents with no nested_objects. Now i use nested_objects and changed the query to use a nested filter but nothing is boosted. I get the documents i expected but with no _score changes. Am i doing something wrong ?? GET index/type/_search { "query": { "function_score": { "filter": { "bool": { "must": [ { "term": { "parent.child": "test" } } ] } }, "functions": [ { "boost_factor": "100", "filter": { "nested": { "path": "parent", "filter": { "bool": { "must": [ { "term": { "child": "test" } } ] } } } } } ], "score_mode": "sum" } }, "sort": "_score", "from": 0, "size": 320 } EDIT: Could it be caused by nested filter A nested filter behaves much like a nested query, except that it doesn’t accept the score_mode parameter. It can only be used in “filter context” — such as inside a filtered query —  and it behaves like any other filter: it includes or excludes, but it doesn’t score. While the results of the nested filter itself are not cached, the usual caching rules apply to the filter inside the nested filter. http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/nested-query.html As the documentation says: nested filter A nested filter behaves much like a nested query, except that it doesn’t accept the score_mode parameter. It can only be used in “filter context” — such as inside a filtered query —  and it behaves like any other filter: it includes or excludes, but it doesn’t score. While the results of the nested filter itself are not cached, the usual caching rules apply to the filter inside the nested filter. http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/nested-query.html I get the feeling your JSON should look closer this (maybe not exactly though, I havent tested it). { "query": { "function_score": { "query": { "nested": { "path": "parent", "query": { "bool": { "must": [ { "term": { "parent.child": "test" } } ] } } } }, "functions": [ { "boost_factor": "100" } ], "score_mode": "sum" } }, "sort": "_score", "from": 0, "size": 320 } Specifically, you dont want to filter the boost_factor, you just want to boost this function_score by 100. The actual nested query though goes in the query section of the function_score, and the functions section just contains the boost_factor. I think. The query works as expected if i remove the nested part and boost on a root field. In the nested query, shouldnt it still be "parent.child": "test" and not "child": "test"? In terms of the actual problem, sorry, I cant actually test stuff right now :( Ill delete my answer
6,833
https://dba.stackexchange.com/questions/132369
StackExchange
Open Web
CC-By-SA
2,016
Stack Exchange
English
Spoken
315
584
Is reply to client about transaction commit, before binary log or after? When does MySQL server reply to client that a SQL statement has completed or a transaction has been committed? Before it writes to binary log or after? In general, Mysql writes to the binary log at the end of the transaction. So if a client opens an explicit transaction the statements will be written into the binary log only after a commit. But if the statements involve nontransactional tables (MyIsam) it is possible that they are written to the binary log before the end of the transaction. If you have autocommit enabled, Mysql replies to client after a statement is written to the binary log, because every statement is a transaction. Using mysqlbinlog command utility you can do the following experiment. Open a shell with a command like this: mysqlbinlog --read-from-remote-server --stop-never -h<host> -P<port> -u<user> -p<passwordd> binary-log.000003 Into another shell you can launch mysql client. mysql> create table tr (i int) engine=innodb; mysql> insert into tr values(1),(2),(3); You could see the output of mysqlbinlog scrolling immediately with a text like this: # at 1016 [..] SET TIMESTAMP=1458127130/*!*/; create table tr (i int) engine=innodb [...] # at 1281 [..] SET TIMESTAMP=1458127136/*!*/; BEGIN /*!*/; # at 1384 [..] SET TIMESTAMP=1458127136/*!*/; insert into tr values(1),(2),(3) /*!*/; # at 1514 [...] COMMIT/*!*/; If you try: mysql> start transaction; Query OK, 0 rows affected (0.00 sec) mysql> insert into tr values(1),(2),(3); Query OK, 3 rows affected (0.00 sec) Records: 3 Duplicates: 0 Warnings: 0 mysql> commit; Query OK, 0 rows affected (0.01 sec) the output of mysqlbinlog scrolls down only after the commit. If you try create table notr (i int) engine=myisam; and try to insert into notr , mysql writes immediately to binlog independently if the insert is inner a transaction. And the behavior can be different if you mix notransaction and transactional tables. Hope this help.
17,022
https://et.wikipedia.org/wiki/Lapsek%C3%A4ru
Wikipedia
Open Web
CC-By-SA
2,023
Lapsekäru
https://et.wikipedia.org/w/index.php?title=Lapsekäru&action=history
Estonian
Spoken
105
276
Lapsekäru või lihtsalt käru on lahtine ratastega sõiduk väikelapse transportimiseks. Kärus transporditakse tavaliselt last alates vanusest, kus ta suudab iseseisvalt istuda, kuni umbes kolme aasta vanuseni. Laps on kärus istuvas asendis, tavaliselt näoga sõidusuunas, kuid käru võib võimaldada ka seljatoe laskmist lamavasse asendisse ja lükkamiseks mõeldud käepideme(te) asendi muutmist, et laps istuks seljaga sõidusuunas. Laps on kinnitatud turvarihmadega. Kärul võib olla neli või kolm ratast, mis võivad olla varustatud piduritega. Käru lisavarustuses võivad olla tasku asjade hoidmiseks, kaarvari pea kohal ja vihmakate. Käru võib mahutada ka rohkem kui ühe lapse, sel juhul on istmed paigutatud kas kõrvuti või üksteise taha. Vaata ka Lapsevanker Transport Lastetarbed
33,377
https://es.wikipedia.org/wiki/Atlanta%20%28Nebraska%29
Wikipedia
Open Web
CC-By-SA
2,023
Atlanta (Nebraska)
https://es.wikipedia.org/w/index.php?title=Atlanta (Nebraska)&action=history
Spanish
Spoken
167
285
Atlanta es una villa ubicada en el condado de Phelps en el estado estadounidense de Nebraska. En el Censo de 2010 tenía una población de 131 habitantes y una densidad poblacional de 218,96 personas por km². Geografía Atlanta se encuentra ubicada en las coordenadas . Según la Oficina del Censo de los Estados Unidos, Atlanta tiene una superficie total de 0.6 km², de la cual 0.6 km² corresponden a tierra firme y (0%) 0 km² es agua. Demografía Según el censo de 2010, había 131 personas residiendo en Atlanta. La densidad de población era de 218,96 hab./km². De los 131 habitantes, Atlanta estaba compuesto por el 99.24% blancos, el 0% eran afroamericanos, el 0.76% eran amerindios, el 0% eran asiáticos, el 0% eran isleños del Pacífico, el 0% eran de otras razas y el 0% pertenecían a dos o más razas. Del total de la población el 0% eran hispanos o latinos de cualquier raza. Referencias Enlaces externos Villas de Nebraska Localidades del condado de Phelps (Nebraska)
41,221
https://ceb.wikipedia.org/wiki/Moncong%20Tinambung
Wikipedia
Open Web
CC-By-SA
2,023
Moncong Tinambung
https://ceb.wikipedia.org/w/index.php?title=Moncong Tinambung&action=history
Cebuano
Spoken
183
303
Bukid ang Moncong Tinambung sa Indonesya. Nahimutang ni sa lalawigan sa Provinsi Sulawesi Selatan, sa sentro nga bahin sa nasod, km sa sidlakan sa Jakarta ang ulohan sa nasod. metros ibabaw sa dagat kahaboga ang nahimutangan sa Moncong Tinambung, o ka metros sa ibabaw sa naglibot nga tereyn. Mga ka kilometro ang gilapdon sa tiilan niini. Ang yuta palibot sa Moncong Tinambung kabungtoran. Kinahabogang dapit sa palibot ang Moncong Bulobulo, ka metros ni kahaboga ibabaw sa dagat, km sa sidlakan sa Moncong Tinambung. Dunay mga ka tawo kada kilometro kwadrado sa palibot sa Moncong Tinambung medyo hilabihan populasyon.. Sa rehiyon palibot sa Moncong Tinambung, kabukiran talagsaon komon. Hapit nalukop sa kaumahan ang palibot sa Moncong Tinambung. Ang klima habagat. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Oktubre, sa  °C, ug ang kinabugnawan Enero, sa  °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Enero, sa milimetro nga ulan, ug ang kinaugahan Septiyembre, sa milimetro. Saysay Ang mga gi basihan niini Kabukiran sa Provinsi Sulawesi Selatan Kabukiran sa Indonesya nga mas taas kay sa 500 metros ibabaw sa dagat nga lebel
24,176
https://cs.wikipedia.org/wiki/Radek%20Duda
Wikipedia
Open Web
CC-By-SA
2,023
Radek Duda
https://cs.wikipedia.org/w/index.php?title=Radek Duda&action=history
Czech
Spoken
689
1,860
Radek Duda (* 28. ledna 1979 Chodov) je bývalý český profesionální hokejista. Po odchodu z Chomutova hostoval v Plzni. Zde mu však smlouva po sezoně 2011–2012 skončila a Duda se domluvil na angažmá v Ženevě, kam odešel hostovat. Kvůli přetlaku cizinců v týmu byla hráči předčasně ukončena smlouva a ten se vrátil zpět do Chomutova. Radek dělal v týmu HC Energie Karlovy Vary v sezóně 2014/2015 a na začátku sezóny 2015/2016 kapitána, ale po několika prohřešcích byl nejdříve zbaven kapitánského céčka a poté vyměněn do Litvínova. V sezoně 2016/2017 se stal členem týmu německého Freiburgu. Od února 2020 působil v rakouském EHC Lustenau. V sezóně 2021/2022 se vrátil zpátky do prvoligového klubu HC Benátky nad Jizerou, během sezóny přestoupil do Dukly Trenčín hrající slovenskou extraligu a v březnu oznámil konec profesionální kariéry. Prohřešky Radka Dudy V play-off v roce 2002 poznamenal o Aloisi Hadamczikovi že je "šišlavý Polák" od té doby si pod tímto trenérem nikdy nezahrál v národním týmu. V roce 2002 po výměně z HC Keramika Plzeň do HC Slavia Praha obvinil kapitána Plzně Josefa Řezníčka, že prodává zápasy. Josef Řezníček zase obvinil Radka Dudu, že dopuje. Na konci ledna 2003 byl vyloučen do konce zápasu, po vyloučení šel do šatny soupeře, kde dal pěstí Martinu Čakajíkovi. Duda toto popíral, ale usvědčil ho videozáznam. Na konci roku 2005 po zápase se Vsetínem údajně uhodil šestnáctiletého fanouška domácích, který byl podle slov Radka opilý a chtěl ničit autobus. Při letní přípravě v týmu Českých Budějovicích vytáhl a několikrát udeřil řidiče kamiónu, který hráče úmyslně vybržďoval při přípravě na kole. Při angažmá v Českých Budějovicích měl při tréninku potyčku s Milanem Gulašem. Při utkání HC Škoda Plzeň a HC Slavia Praha dal facku při podáváních rukou Vladimíru Růžičkovi. Poté poznamenal že byla výchovná, jelikož to táta neudělal. Při utkání Karlových Varů s Zlínem udeřil hlavičkou Oldřicha Kotvana. Kromě trestu do konce utkání dostal i trest na několik zápasů. Při přípravném utkání HC Energie Karlovy Vary a HC Slavia Praha se popral na trestné lavici. Problémy se zákonem Radek Duda byl v roce 2012 odsouzen za napadení důchodce na přechodu pro chodce k trestu tříměsíčního odnětí svobody s podmíněným odkladem na jeden rok. Duda tvrdí, že důchodce pouze štípnul do tváře. Duda měl už dříve dva podobné incidenty, ve Vsetíně a v Českých Budějovicích. Za ty dostal pokutu za přestupek. Hráčská kariéra 1994-95 HC Baník Sokolov 1995-96 HC Baník Sokolov 1996-97 HC Sparta Praha, HC Baník Sokolov 1997-98 HC Sparta Praha 1998-99 Regina Pats (WHL) 1999-00 Lethbridge Hurricanes (WHL) 2000-01 HC Sparta Praha, HC Plzeň, Kapfenberg EC (Rakousko) 2001-02 HC Plzeň 2002-03 HC Plzeň, HC Slavia Praha 2003-04 Ak Bars Kazaň (Rusko) 2004-05 HC Slavia Praha, HC Plzeň 2005-06 HC Slavia Praha 2006-07 Malmö Redhawks (Švédsko), Ilves Tampere (Finsko) 2007-08 HC Slavia Praha, SC Langau, EHC Basel (Švýcarsko) 2008-09 HC České Budějovice 2009-10 KLH Chomutov (1. liga) 2010-11 KLH Chomutov (1. liga), HC Plzeň 1929 2011–2012 HC Plzeň 1929 2012-13 Piráti Chomutov, Bílí Tygři Liberec 2013-14 HC Škoda Plzeň 2014-15 HC Energie Karlovy Vary 2015-16 HC Energie Karlovy Vary, HC Baník Sokolov, HC Verva Litvínov 2016–2017 EHC Freiburg (Německo) 2017/18 HC Benátky nad Jizerou 2018/19 HC Benátky nad Jizerou, Piráti Chomutov 2019/20 HC Benátky nad Jizerou, EHC Lustenau (AUT) 2020/21 Nehrál 2021/22 HC Benátky nad Jizerou, HK Dukla Trenčín (SVK) Reprezentace | 1997 | Česko 18 | MEJ |6||1||2||3||6 |-bgcolor="#f0f0f0" | 1998 | Česko 20 | MSJ |7||1||0||1||14 |- | 2003 | Česko | MS |8||1||4||5||22 |-bgcolor="#e0e0e0" ! colspan="3" | Juniorská kariéra celkově !13!!2!!2!!4!!20 |} Reference Externí odkazy Dudovy kauzy Hokejista Duda stíhaný za napadení chodce nereaguje na výzvy soudu, idnes.cz, 10. května 2011 Hokejista Radek Duda dostal za napadení muže podmínku, idnes.cz, 30. ledna 2012 Čeští hokejoví útočníci Čeští hokejoví reprezentanti Hokejisté Western Hockey League Hokejisté Ruské superligy Hokejisté Svenska hockeyligan Hokejisté Nationalligy A Hokejisté EHC Basel Hráči HC Sparta Praha Hráči HC Škoda Plzeň Hráči HC Slavia Praha Hráči Banes Motor České Budějovice Hráči Bílí Tygři Liberec Hráči Piráti Chomutov Hokejisté EHC Freiburg Vítězové české hokejové extraligy Narození v Chodově (okres Sokolov) Narození v roce 1979 Narození 28. ledna Žijící lidé Muži Hráči draftovaní Calgary Flames Hokejisté Liigy
28,556
https://ceb.wikipedia.org/wiki/Coalmine%20Coulee
Wikipedia
Open Web
CC-By-SA
2,023
Coalmine Coulee
https://ceb.wikipedia.org/w/index.php?title=Coalmine Coulee&action=history
Cebuano
Spoken
87
149
Walog ang Coalmine Coulee sa Tinipong Bansa. Ang Coalmine Coulee nahimutang sa kondado sa Richland County ug estado sa Montana, sa sentro nga bahin sa nasod, km sa kasadpan sa ulohang dakbayan Washington, D.C. Ang klima bugnaw nga ugahon. 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 Enero, sa milimetro. Ang mga gi basihan niini Mga walog sa Montana (estado)
894
https://hu.wikipedia.org/wiki/Andr%C3%A9s%20Junquera
Wikipedia
Open Web
CC-By-SA
2,023
Andrés Junquera
https://hu.wikipedia.org/w/index.php?title=Andrés Junquera&action=history
Hungarian
Spoken
102
279
Andrés Avelino Zapico Junquera (La Felguera, 1946. április 23. – Langreo, 2019. május 6.) spanyol labdarúgó, kapus. Pályafutása 1964 és 1964 között a Langreo labdarúgója volt. 1966 és 1975 között a Real Madrid kapusa volt, ahol öt bajnoki címet és három spanyol kupa-győzelmet szerzett a csapattal. 1975 és 1978 között a Real Zaragoza csapatában. 1978-ban sérülés miatt vonult vissza. Sikerei, díjai Real Madrid Spanyol bajnokság bajnok (5): 1966–67, 1967–68, 1968–69, 1971–72, 1974–75 Spanyol kupa győztes (3): 1970, 1974, 1975 Jegyzetek Források 1946-ban született személyek 2019-ben elhunyt személyek Spanyol labdarúgók Labdarúgókapusok A Real Madrid labdarúgói A Real Zaragoza labdarúgói A La Liga labdarúgói
38,439
https://ru.stackoverflow.com/questions/1098252
StackExchange
Open Web
CC-By-SA
2,020
Stack Exchange
Andrej Levkovitch, https://ru.stackoverflow.com/users/261597, https://ru.stackoverflow.com/users/377788, Ося Саакян
Russian
Spoken
948
2,650
Заполнение двунаправленного списка на с++ Всем привет! Я новичок в программировании,изучаю с++ как первый свой язык. Дали лабу в вузе,мне нужно создать двунаправленный список и заполнить его рандомными числами от -50 до 50 Я создал список,сделал добавление,удаление Но именно заполнение всего списка я не могу реализовать. Пытался при помощи гугла решить проблему,не смог Вот код программы: #include <ctime> #include <string> using namespace std; int ReadMenuItem() { string buttonStr; int button; while (true) { try { cin >> buttonStr; button = stoi(buttonStr); return button; } catch (const std::exception) { cout << "Invalid value , please type digit" << endl; } } } class MyList { //Список MyList int x, count_; MyList* Head, * Tail, * Next, * Prev; public: MyList() :count_(0), Head(NULL), Tail(NULL) {}; //Инициализация с помощью конструктора по умолчанию void Add(int); void Show(); void Del(int); //Функция принимает целочисленный параметр, обозначающий номер удаляемого элемента ~MyList(); }; /*ДОБАВЛЕНИЕ ЭЛЕМЕНТА В СПИСОК*/ void MyList::Add(int x) { MyList* temp = new MyList; temp->x = x; temp->Next = NULL; count_++; if (!Head) { temp->Prev = NULL; Head = temp; Tail = Head; } else { temp->Prev = Tail; //Указываем, что предыдущим элементом списка относительно добавленного, будет последний элемент существующего списка Tail->Next = temp; //Следующий за последним существующим это непосредственно сейчас добавляемый элемент списка Tail = temp; //После того как указали что есть настоящий и что предыдущий, объявляем, что последний существующий это только что добавленный элемент } } /*ПОКАЗЫВАЕТ СПИСОК НА ЭКРАНЕ*/ void MyList::Show() { MyList* t = Head; while (t) { cout << t->x << " "; t = t->Next; } cout << "\n\n"; } /*ФУНКЦИЯ УДАЛЕНИЯ КОНКРЕТНОГО ЭЛЕМЕНТА ДВУСВЯЗНОГО СПИСКА*/ void MyList::Del(int x) { //Если удаляем первый элемент, то могут быть такие варианты //В списке есть только первый, в списке есть несколько элементов //Поэтому разбиваем логику выполнения if ((x == 1) and (Head->Next)) { //Если удаляем первый, но есть и другие, то MyList* temp = Head; //Указываем, что нам нужно начало списка Head = Head->Next; //Сдвигаем начало на следующий за началом элемент Head->Prev = NULL; //Делаем так, чтоб предыдущий началу элемент был пустым delete temp; //Удаляем удаляемое начало count_--; //Обязательно уменьшаем счетчик return; //И выходим из функции } else if ((x == 1) and (Head == Tail)) { //Если удаляем первый, но в списке только 1 элемент Head->Next = NULL; //обнуляем все что нужно Head = NULL; delete Head; //Удаляем указатель на начало count_ = 0; //Обязательно обозначаем, что в списке ноль элементов return; //и выходим из функции } //Также может быть, что удаляемый элемент является последним элементом списка if (x == count_) { MyList* temp = Tail; //Указываем, что нам нужен хвост Tail = Tail->Prev; //Отодвигаем хвост немного назад Tail->Next = NULL; //Обозначаем, что впереди за хвостом пусто delete temp; //Очищаем память от бывшего хвоста count_--; //Обязательно уменьшаем счетчик элементов return; //И выходим из функции } //Если же удаляемый элемент лежит где-то в середине списка, то тогда его можно удалить MyList* temp = Head, * temp2; //temp-Удаляемый элемент, temp2 нужен, чтобы не потерять данные //cout<<count_<<"\n"; for (int i = 0; i < x - 1; i++) temp = temp->Next; //Идем к адресу удаляемого элемента temp2 = temp; //Временно запоминаем адрес удаляемого элемента temp2->Prev->Next = temp->Next; //Записываем данные, что следующий за перед сейчас удаляемым элементом - это следующий от удаляемого temp2->Next->Prev = temp->Prev; //а предыдущий для следующего - это предыдущий для удаляемого delete temp; //теперь смело можно освободить память, удалив адрес на начало удаляемого элемента count_--; //Обязательно уменьшаем число элементов в списке. } /*ДЕСТРУКТОР ДЛЯ КОРРЕКТНОГО ВЫСВОБОЖДЕНИЯ ПАМЯТИ*/ MyList::~MyList() { // cout<<"\nDELETES\n"; while (Head) { // cout<<"Del is: "<<Head->x<<" "; Tail = Head->Next; delete Head; Head = Tail; } } void Adding() { } int main() { srand(time(NULL)); void Adding(); MyList List1; int ValueToAdd; int ValueToDelete; int count = 0; while (count < 1) { cout << "You can:\n1-Add element\n2-Delete Element\n3-Show elements\nWhich action do you choose?" << endl; int button = ReadMenuItem(); if (button == 1) { cout << "Enter value to add" << endl; List1.Add(ValueToAdd = ReadMenuItem()); } else if (button == 2) { cout << "Enter value to delete" << endl; List1.Del(ValueToDelete = ReadMenuItem()); } else if (button == 3) { List1.Show(); } else { cout << "Please ,choose your action" << endl; } } return 0;``` Сразу с ходу: ваш список является одновременно и элементом списка и самим списком - это ошибка проектирования. Вы должны реализовать два класса: список и ноду - список будет иметь head и tail, а нода - prev и next Её нужно обязательно исправлять? Просто пока что все работает,если я создаю отдельный класс Ноуд и убираю в Майлист нект и прев,то мне надо переделывать функции,а я не знаю как "просто пока все работает" - тогда почему вы сдесь? Ошибки проектирования самые проблематичные - вы можете написать ваш контейнер по жёсткому забив на проектирование реализовав как попало, НО! При увеличении функционала или модификации вы каждый раз будете сталкивается с проблемами, которые можно было решить просто обдумав изначальную структуру. А так количество говнокода у вас будет только расти я здесь -чтобы научиться не изобретать велосипед каждый раз в с++ уже давно все написано,поэтому я не вижу смысла что-то придумывать самому Если я делаю как вы говорите,то у меня ломаются функции 1-void MyList::Add 2void MyList::Show 3-void MyList::Del Как мне исправить их,помогите если не сложно если вы не хотите изобретать велосипед то какова черта пишите реализацию листа? Ещё и априори неверную? Почему не взять std::list? Вы сами можете ответить на эти вопросы? Я писал эту реализацию на 20% сам Код был взят с гугла Я только сейчас загуглил std::list.... Мне это нигде не встречалось раньше,я смотрел десятки видео,но нигде такого не было видео - это, ИМХО, худший вариант для обучения. Почитайте лучше Прата и/или Шлее - это лучшее для новичков, что знаю (к Шлее я до сих пор обращаюсь)
1,627
https://pl.wikipedia.org/wiki/Fontenay-le-Marmion
Wikipedia
Open Web
CC-By-SA
2,023
Fontenay-le-Marmion
https://pl.wikipedia.org/w/index.php?title=Fontenay-le-Marmion&action=history
Polish
Spoken
55
143
Fontenay-le-Marmion – miejscowość i gmina we Francji, w regionie Normandia, w departamencie Calvados. Według danych na rok 1990 gminę zamieszkiwało 1375 osób, a gęstość zaludnienia wynosiła 135 osób/km² (wśród 1815 gmin Dolnej Normandii Fontenay-le-Marmion plasuje się na 163. miejscu pod względem liczby ludności, natomiast pod względem powierzchni na miejscu 494.). Bibliografia Miejscowości w departamencie Calvados
2,531
https://stackoverflow.com/questions/76095193
StackExchange
Open Web
CC-By-SA
2,023
Stack Exchange
CatWithAKeyboard, Rahul, https://stackoverflow.com/users/16569443, https://stackoverflow.com/users/19159224
English
Spoken
526
1,267
How can my Flutter content resize when the mobile keyboard is shown? I have been trying to make a BottomAppBar containing a TextField push itself and the Scaffold body above the soft keyboard when it is opened on a mobile device. The content of the screen is a ListView. When a user taps the TextField, it should resize the Scaffold and its content to accommodate the keyboard, but it does not. I am at quite a loss for this. import 'package:flutter/material.dart'; void main() { runApp( MyApp( items: List<String>.generate(10000, (i) => 'Item $i'), ), ); } class MyApp extends StatelessWidget { final List<String> items; const MyApp({super.key, required this.items}); @override Widget build(BuildContext context) { const title = 'Long List'; return MaterialApp( title: title, home: Scaffold( bottomNavigationBar: const BottomAppBar(child: TextField()), appBar: AppBar( title: const Text(title), ), body: ListView.builder( itemCount: items.length, prototypeItem: ListTile( title: Text(items.first), ), itemBuilder: (context, index) { return ListTile( title: Text(items[index]), ); }, ), ), ); } } Above is a simple recreation of the issue (as far as I understand). List.generate creates items for a ListView, and the BottomAppBar is parenting the TextField. Below is my actual code I have for this project, in case my interpretation of the issue is wrong. import 'package:flutter/material.dart'; import 'package:cloud_firestore/cloud_firestore.dart'; import 'package:firebase_core/firebase_core.dart'; import 'firebase_options.dart'; import 'variables.dart'; void main() async { WidgetsFlutterBinding.ensureInitialized(); await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform); runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); @override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( bottomNavigationBar: BottomAppBar( child: TextField( onSubmitted: (value) { if (value.isEmpty) return; final message = <String, dynamic>{ "message": value, "user": "Anonymous", "timestamp": DateTime.now().millisecondsSinceEpoch, }; db.collection("messages").add(message); }, ), ), body: const Center( child: ChatMessageStream(), ), ), ); } } class ChatMessageStream extends StatefulWidget { const ChatMessageStream({Key? key}) : super(key: key); @override State<ChatMessageStream> createState() => _ChatMessageStreamState(); } class _ChatMessageStreamState extends State<ChatMessageStream> { final Stream<QuerySnapshot> _messagesStream = FirebaseFirestore.instance .collection('messages') .orderBy('timestamp') .snapshots(); @override Widget build(BuildContext context) { return StreamBuilder<QuerySnapshot>( stream: _messagesStream, builder: (BuildContext context, AsyncSnapshot<QuerySnapshot> snapshot) { if (snapshot.hasError) { return const Text('Something went wrong :('); } if (snapshot.connectionState == ConnectionState.waiting) { return const CircularProgressIndicator(); } return ListView( children: snapshot.data!.docs .map((DocumentSnapshot document) { Map<String, dynamic> data = document.data()! as Map<String, dynamic>; return ListTile( title: Text(data['message']), ); }) .toList() .cast(), ); }, ); } } My assumption is that because the ListView is a scrollable element, the built-in resizing of the scaffold body gets ignored (resizeToAvoidBottomInset defaults to true). What can I do to fix this issue? I do want to note that keeping the TextField in the BottomAppBar isn't a strict necessity, but it is nice. I don't think that is possible right now. But you can wrap you listview in flexible and make flexible and textfield as children of column to achieve your desired result. @Rahul That works!... mostly. The TextField will leave the bottom of the screen if ListView widget is empty, or there is not enough content to fill the viewport. Also somewhat related, the ListView does not scroll when it gets resized, so the keyboard obstructs the view until a user scrolls manually again. Expanded on my ListView and Flexible on my TextField seems to counteract this issue. Will post an answer once I figure out the scrolling thing.
48,247
https://stackoverflow.com/questions/2379532
StackExchange
Open Web
CC-By-SA
2,010
Stack Exchange
Ghaya Zarrouk, Josh Smith, KBK, Ola Andersson, Sunny, https://stackoverflow.com/users/4837115, https://stackoverflow.com/users/4837116, https://stackoverflow.com/users/4837117, https://stackoverflow.com/users/4837147, https://stackoverflow.com/users/4837218
English
Spoken
139
235
How to put variable value inside value of resource file I have been working with resource files for a while now and I was wondering if there is some nifty way I don't know of yet to put variables inside a resource value. A simple example: You have bought #amountOfBooksBought books. My current way of working would be to declare two resource values (for 2 labels): BoughtBooksAmountPreTextLabel.Text : "You have bought " BoughtBooksAmountPostTextLabel.Text : " books." Inbetween the two labels with this text, there would be a label named BoughtBooksAmountValueLabel which contains the amount of books bought. Is there a more elegant solution to this or is this just it? You could put a formatted string in your resource file: "You have bought {0} books." Then use the formatted string with your value like this: BoughtBooksAmountTextLabel.Text = String.Format(yourResourceString, BoughtBooksAmountValueLabel)
25,350
https://hy.wikipedia.org/wiki/%D4%B1%D5%B6%D5%A4%D6%80%D5%A5%D5%A1%D5%BD%20%D5%8C%D5%B5%D5%B8%D6%82%D5%A4%D5%AB%D5%A3%D5%A5%D6%80
Wikipedia
Open Web
CC-By-SA
2,023
Անդրեաս Ռյուդիգեր
https://hy.wikipedia.org/w/index.php?title=Անդրեաս Ռյուդիգեր&action=history
Armenian
Spoken
370
1,523
Անդրեաս Ռյուդիգեր (, ), գերմանացի փիլիսոփա, Քրիստիան Թոմազիուսի աշակերտը։ Փիլիսոփայության դասախոսություններ է կարդացել Հալլեի և Լայպցիգի համալսարաններում։ Կենսագրություն Ռյուդիգերը՝ ծնողների չքավորության պատճառով 14 տարեկան հասակում է դպրոց գնացել։ Այնուհետև սովորել է Հերայի գիմնազիայում։ 1692 թվականին փիլիսոփայություն և աստվածաբանություն է ուսումնասիրել Հալլեի համալսարանում։ Միաժամանակ Քրիստիան Թումազիուսի մոտ աշխատել է որպես տնային ուսուցիչ։ 1695 թվականի հիվանդության պատճառով կիսատ է թողել ուսումը, իսկ 1696 թվականին աստվածաբանության ուսումնասիրությունը շարունակել է Իենի համալսարանում։ Մեկ տարի հետո սկսել է ուսումնասիրել բժշկություն և իրավունք Լայպցիգի համալսարանում։ 1700 թվականին Ռյուդիգերը ստացել է Լայպցիգի համալսարանի փիլիսոփայության մագիստրոսի աստիճան և սկսել է կարդալ առաջին մասնավոր դասախոսությունները։ 1707 թվականին տեղափոխվել է Հալլե։ 1712 թվականին վերադառնում է Լայպցիգ, զբաղվում բժշկությամբ և կարդում դասախոսություններ։ 1716 թվականին դառնում է Սաքսոնիայի կուրֆյուրստի խորհրդականը և պալատական բժիշկը, սակայն շուտով իրեն ամբողջությամբ նվիրում է դասավանդմանը և գրքեր գրելուն։ Փիլիսոփայություն Ռյուդիգերը՝ որպես փիլիսոփա, էկլեկտիկ էր, նա հանդես է եկել Գոթֆրիդ Լայբնիցի և Քրիստիան Վոլֆի որոշ դրույթների դեմ (օրինակ, բնածին գաղափարների ուսմունքի դեմ, նախասահմանված ներդաշնակության) և պնդում էր, որ հոգին տարածական է և, որ բոլոր պատկերացումները ծագում են զգայություններից։ Ռյուդիգերի ողջ փիլիսոփայության հիմքը աստծո մասին պատկերացումն է։ Աստված իր կամքն է թելադրում մարդկանց որպես օրենք․ առաքինի են այն մարդիկ, որոնք իրագործում են այդ կամքը։ Աստծո գոյության և հոգու անմահության նկատմամբ վստահությունը հարկավոր է քաղել ոչ թե հայտնություններից, այլ ինքն իրեն տրված բանականությունից։ Գլխավոր աշխատություններ «Philosophia synthetica» (Հալլե, 1707, հետագայում հրատարակվել է «Institutiones eruditionis» խորագրով), «Physica divina» (Ֆրանկֆուրտ, 1716), «Philosophia pragmatica» (Լայպցիգ, 1723), «Anweisung zur Zufriedenheit der menschlichen Seele als dem höchsten Gute dieses zeitlichen Lebens» (1721 և 1726). Ср. W. Carls, «A. Rüdigere Moral-philosophie» (Հալլե, 1894). Ծանոթագրություններ Գրականություն Wilhelm Carls: Andreas Rüdigers Moralphilosophie. Olms, Hildesheim 1999, Nachdr. der Ausg. Niemeyer, Halle 1894, ISBN 3-487-10946-8. Heinrich Schepers: Andreas Rüdigers Methodologie und ihre Voraussetzungen. Ein Beitrag zur Geschichte der deutschen Schulphilosophie im 18. Jahrhundert, Köln 1959 (Kantstudien Ergänzungshefte, Bd. 78, Hrsg. v. Baum, Manfred / Dörflinger, Bernd / Klemme, Heiner F.), . Riccarda Suitner: „Jus naturae und natura humana in August Friedrich Müllers handschriftlichem Kommentar zu Andreas Rüdigers Institutiones eruditionis“, in Jahrbuch Aufklärung, XXV (2014), S. 113–32. Արտաքին հղումներ Rüdiger, Johann Andreas Andreas Rüdiger: Divine physics, the correct road between superstition and atheism, which guides towards the natural and moral well-being of humans (1716) Գերմանացի փիլիսոփաներ 18-րդ դարի փիլիսոփաներ Գերմանացի ֆիզիկոսներ
31,865
https://stackoverflow.com/questions/42492171
StackExchange
Open Web
CC-By-SA
2,017
Stack Exchange
ennon, https://stackoverflow.com/users/6888296
Norwegian Nynorsk
Spoken
245
538
Cipher filter logstash 5.2 I'm using Logstash 5.2 and I need to encrypt some value from my log using chiper filter but unfortunately i get this error. bin/logstash-plugin install logstash-filter-cipher Validating logstash-filter-cipher Installing logstash-filter-cipher Plugin version conflict, aborting ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "logstash-core-plugin-api": In snapshot (Gemfile.lock): logstash-core-plugin-api (= 2.1.12) In Gemfile: logstash-devutils (>= 0) java depends on logstash-core-plugin-api (<= 2.99, >= 2.0) java logstash-input-s3 (>= 0) java depends on logstash-mixin-aws (>= 0) java depends on logstash-core-plugin-api (<= 2.99, >= 1.60) java the error continues till it says Running `bundle update` will rebuild your snapshot from scratch, using only the gems in your Gemfile, which may resolve the conflict. Bundler could not find compatible versions for gem "logstash": In Gemfile: logstash-filter-cipher (>= 0) java depends on logstash (< 2.0.0, >= 1.4.0) java Could not find gem 'logstash (< 2.0.0, >= 1.4.0) java', which is required by gem 'logstash-filter-cipher (>= 0) java', in any of the sources. I don't understand if this problem is about chiper filter that is not supported yet or I'm doing something wrong.. The gem has not yet been updated to support versions of Logstash newer than the 2.x series. Your clue is in the bundler output: In Gemfile: logstash-filter-cipher (>= 0) java depends on logstash (< 2.0.0, >= 1.4.0) java Running logstash 2.4 will likely work better for you. true, is not compatible yet...what options do I have in logstash for encrypting specific fields?
16,962
https://zh.wikipedia.org/wiki/%E5%B0%8F%E7%AC%A0%E5%8E%9F%E9%95%B7%E6%88%BF
Wikipedia
Open Web
CC-By-SA
2,023
小笠原長房
https://zh.wikipedia.org/w/index.php?title=小笠原長房&action=history
Chinese
Spoken
8
407
小笠原長房(おがさわらながふさ,生年不詳-明曆元年(1655))戰國時代後期江戶幕府前期武將。後北條氏後改德川氏幕府旗本。父小笠原康廣。幼名孫増丸。別名紹機、六郎、市左衛門、逢殿助。 根據〈寬政重修諸家譜〉記載,長房在天正2年(1574)2月19日接任家督。天正18年(1590)小田原合戰作為北條氏直的近習參與戰役。小田原開城後隨父親康廣和主君氏直一同在高野山出家。在氏直死後出仕德川家康。慶長元年(1596)被給予多摩郡300貫。 慶長5年關原之戰跟隨家康次子德川秀忠進攻真田昌幸、真田信繁父子居城上田城,參與第二次上田城之戰。接著參與大坂之陣。 元和9年(1623)任大番組頭,加增下總國香取郡200石。寬永20年(1643)退休,家業由長子長真繼承。 戰國武將 江戶幕府旗本 小笠原氏 1655年逝世
12,601
https://askubuntu.com/questions/451727
StackExchange
Open Web
CC-By-SA
2,014
Stack Exchange
Alan Hou, Arfat, Elder Geek, Eric, Ken Peirce, Khalid Ansari, L1ttleMan, Marvin Xu, Matt, Mattias Martens, Miompolly, Naz, Nima.S, Reuben Cooper, Ryan Coulson, Ser3n7ty, Tomas Opazo, byaruhaf, davzarov, https://askubuntu.com/users/1590698, https://askubuntu.com/users/1590699, https://askubuntu.com/users/1590700, https://askubuntu.com/users/1593548, https://askubuntu.com/users/1600608, https://askubuntu.com/users/1600623, https://askubuntu.com/users/1601041, https://askubuntu.com/users/1607062, https://askubuntu.com/users/1607154, https://askubuntu.com/users/1614123, https://askubuntu.com/users/1614124, https://askubuntu.com/users/1618105, https://askubuntu.com/users/1623089, https://askubuntu.com/users/1623431, https://askubuntu.com/users/1644236, https://askubuntu.com/users/1644243, https://askubuntu.com/users/1644324, https://askubuntu.com/users/1644331, https://askubuntu.com/users/1670047, https://askubuntu.com/users/183317, https://askubuntu.com/users/225694, https://askubuntu.com/users/248223, https://askubuntu.com/users/72576, jobin, jvb, nadim-gwynedd, silvercondor
English
Spoken
205
471
Error sending USSD Ubuntu 14.04 GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.freedesktop.ModemManager1.Modem.Modem3gpp.Ussd' on object at path /org/freedesktop/ModemManager1/Modem/2 modem manager GUI work properly in ubuntu 13.10 after upgrade to ubuntu 14.04 Can't send USSD.I have a huawei E158 usb router and ASUS N53T laptop, Help me to solve this problem. when i install ubuntu resevied this message! but i have latest bios When do you get this problem? What are you trying to do? Please describe the problem in greater detail. @Jobin this occurs when sending USSD using modem manger in 14.04 @Thnzrmzwr It appears that your hardware may not be compatible with USSD. Are you sure that it is? The error states "UnknownMethod: No such interface" @Thnzrmzwr Thank you for adding further information to your question. Have you updated the firmware? It looks like the latest for your e158 is 11.609.18.01.158 as of this date available here: http://huaweifirmwares.com/download/e158-firmware-update_11-609-18-01-158/ Problem Solved new Modem Manager Version 0.017(Module Backend) Change Module Backend Try updating the firmware. It looks like the latest for your e158 is 11.609.18.01.158 as of this date available here: http://huaweifirmwares.com/download/e158-firmware-update_11-609-18-01-158/. Failing that I've found that contacting the manufacturer is often helpful. http://www.huawei.com/ilink/us/about-huawei/contact-us/index.htm it's not compatible for ubuntu but it compatible for windows and mac @Thnzrmzwr Edited answer
26,402
https://math.stackexchange.com/questions/315476
StackExchange
Open Web
CC-By-SA
2,013
Stack Exchange
André Nicolas, Erick Wong, Gerry Myerson, J.H., Michael Khalili, Moorts, Qiaochu Yuan, Sara Baydoun, Spammer McSpamface, Zack Perreault, awllower, https://math.stackexchange.com/users/232, https://math.stackexchange.com/users/30402, https://math.stackexchange.com/users/43946, https://math.stackexchange.com/users/51246, https://math.stackexchange.com/users/6312, https://math.stackexchange.com/users/6792, https://math.stackexchange.com/users/8269, https://math.stackexchange.com/users/919925, https://math.stackexchange.com/users/919926, https://math.stackexchange.com/users/919927, https://math.stackexchange.com/users/919975, https://math.stackexchange.com/users/920012, https://math.stackexchange.com/users/920081, https://math.stackexchange.com/users/920105, https://math.stackexchange.com/users/920116, https://math.stackexchange.com/users/920232, jkbliss, user10415542, vonbrand, xcelm
English
Spoken
701
1,220
Quadratic Forms and Congruences How does one prove (the non-trivial direction) that, for $n \in \mathbb{N}$, $x^2 + y^2 + z^2 = n$ solvable $\iff$ $x^2 + y^2 + z^2 \equiv n\ (m)$ solvable for all $m$? In particular, is there a weaker assumption (less congruences on the right)? I am also interested in generalisations. Please, include references. Thanks! I think $x^2+y^2+z^2\equiv-3\pmod m$ is solvable for all $m$, but I know $x^2+y^2+z^2=-3$ is not solvable (in integers). Thanks! Yes, there are some assumptions. As for the generalisations, I know that Ramanujan investigated $x^2 + y^2 + 10z^2 = n$ and found values where there are solutions to $x^2 + y^2 + 10z^2 \equiv n\ (m)$ for all $m$, but no solution in integers for the given $n$. I am looking for references too. The key search phrases are "Hasse principle" and "local-to-global". For quadratics, add the condition of solvability in the reals. I'd also suggest "Davenport-Cassels lemma" as a search phrase. Let's see, Gerry is correct, of course, about the Hasse principle. I cannot tell your background, so: The list of the 102 diagonal forms $a x^2 + b y^2 + c z^2$ that do the same thing, with $1 \leq a \leq b \leq c, \gcd(a,b,c) = 1,$ is in the document I called Dickson_Diagonal_1939 at TERNARY. Complete proofs for some of the 102 (including yours) are in that book, Modern Elementary Theory of Numbers, by Leonard Eugene Dickson. The full list of 913 forms $ a x^2 + b y^2 + c z^2 + r y z + s z x + t x y, $ or $\langle a,b,c,r,s,t \rangle$ is at the same site in my paper with Kaplansky labelled Kap_Jagy_Schiemann_1997. At the time, 22 out of 913 forms lacked proof. Byeong-Kweon Oh (item 26, Acta Arithmetica) proved 8 more. The latest thing is that Ken Ono's student R. Lemke Oliver (item number 9, Bulletin London M. Soc., turns out his correct last name is Lemke Oliver, no hyphen) has shown that GRH implies the final 14 are regular. Let's see, there are infinitely many indefinite forms that do this. Indeed, it took quite a bit of effort to show that there were any indefinite ternary forms that were not regular. Back to positive ternaries, Wai Kiu Chan and Oh have made an industry of forms that have finitely many exceptions. For ternary forms, we must distinguish weak and strong exceptions: the form $x^2 + 4 y^2 + 9 z^2$ represents all eligible numbers except 2, Kap called that a weak exception. The form $2x^2 + 3 y^2 + 5 z^2 + 2 y z + 2 z x$ misses 1 and, indeed, all $4^k,$ so Kap called this a strong exception. That is in my paper, Jagy_1996_Acta_Arithmetica at the same site. Proofs. The proofs for the 913-14 = 899 are all over. Many are in the document Jagy_Encyclopedia, including those that Kap did not write down anywhere permanent. It is automatic if a form is alone in its genus. The forms in a genus, taken together, represent all eligible numbers. Lists of genera are available at SCHIEMANN_1 and SCHIEMANN_2 EEEEDDDDIIITTTTTTTTT: since Erick Wong mentions the Aubry-Davenport-Cassels technique, I should draw some distinctions between rational representation and integral representation. As Pete L. Clark (item 23, with me, Acta Arithmetica) calls it, the very strong ADC property, that a form represents a number integrally if and only it represents the number rationally, actually happens for only 103 forms. Your, milder, condition, is referred to as regularity. Here is a good one: $ x^2 + 2 y^2 + 10 z^2$ is regular, it is on Dickson's list, but it is not ADC. Such thoroughly researched answers as this deserve many more votes. $x^2 + y^2 + z^2 = n$ is solvable over the integers iff $n$ is not of the form $4^t (8k+7)$. If $n = 4^t (8k+7)$, then $x^2 + y^2 + z^2 = n$ is not solvable mod $4^t \times 8$. Where does that come from? It is sometimes called the "three-square theorem." The proof is somewhat hard. Also referred to as the Lagrange theorem, whose proof can be found in A first course in arithmetic by J.P.Serre.
20,744
https://ceb.wikipedia.org/wiki/Krueng%20Gentangpirak
Wikipedia
Open Web
CC-By-SA
2,023
Krueng Gentangpirak
https://ceb.wikipedia.org/w/index.php?title=Krueng Gentangpirak&action=history
Cebuano
Spoken
57
114
Suba ang Krueng Gentangpirak sa Indonesya. Nahimutang ni sa lalawigan sa Nanggroe Aceh Darussalam Province, sa kasadpang bahin sa nasod, km sa amihanan-kasadpan sa Jakarta ang ulohan sa nasod. Krueng Gentangpirak nidagayday paingon ngadto sa Kadagatang Indyan. Ang mga gi basihan niini Mga suba nidagayday paingon ngadto sa Kadagatang Indyan Mga suba sa Nanggroe Aceh Darussalam Province
23,125
https://stackoverflow.com/questions/76106693
StackExchange
Open Web
CC-By-SA
2,023
Stack Exchange
English
Spoken
70
137
How to autoplay the vimeo video from flutter I try to autoplay the vimeo video in flutter using flutter_inappwebview package https://pub.dev/packages/flutter_inappwebview I readed many of the blogs. And my senior says to me to use the below function. Can anyone please tell me the exact code in flutter. mWebView.getSettings().setMediaPlaybackRequiresUserGesture(false); or if you have any other ideas to autoplay vimeo video in flutter please tell me the solutions for this issue
28,666
https://ceb.wikipedia.org/wiki/Dhaola%20Dh%C4%81r%20%28tagaytay%20sa%20Indiya%2C%20State%20of%20Him%C4%81chal%20Pradesh%2C%20lat%2032%2C32%2C%20long%2076%2C35%29
Wikipedia
Open Web
CC-By-SA
2,023
Dhaola Dhār (tagaytay sa Indiya, State of Himāchal Pradesh, lat 32,32, long 76,35)
https://ceb.wikipedia.org/w/index.php?title=Dhaola Dhār (tagaytay sa Indiya, State of Himāchal Pradesh, lat 32,32, long 76,35)&action=history
Cebuano
Spoken
114
189
Alang sa ubang mga dapit sa mao gihapon nga ngalan, tan-awa ang Dhaola Dhār. Tagaytay ang Dhaola Dhār sa Indiya. Nahimutang ni sa estado sa State of Himāchal Pradesh, sa amihanang bahin sa nasod, km sa amihanan sa New Delhi ang ulohan sa nasod. Ang klima umogon ug subtropikal. Ang kasarangang giiniton °C. Ang kinainitan nga bulan Hunyo, sa  °C, ug ang kinabugnawan Pebrero, sa  °C. Ang kasarangang pag-ulan milimetro matag tuig. Ang kinabasaan nga bulan Agosto, sa milimetro nga ulan, ug ang kinaugahan Nobiyembre, sa milimetro. Ang mga gi basihan niini Mga bungtod sa State of Himāchal Pradesh Kabukiran sa Indiya nga mas taas kay sa 4000 metros ibabaw sa dagat nga lebel
6,332
https://stackoverflow.com/questions/23500762
StackExchange
Open Web
CC-By-SA
2,014
Stack Exchange
Ian Bytchek, https://stackoverflow.com/users/458356
Norwegian Nynorsk
Spoken
311
559
Setting DI to new Controller and models in Phalcon I'm creating a RESTful API in Phalcon PHP, I set the DI and the database information as always using: This is how I'm configuring the database in the DI. use Phalcon\Db\Adapter\Pdo\Postgresql as DbAdapter; $di = new FactoryDefault(); $di['db'] = function() use ($config) { return new DbAdapter(array( "host" => $config->database->host, "username" => $config->database->username, "password" => $config->database->password, "dbname" => $config->database->dbname, "schema" => $config->database->schema, )); }; Then setting the DI $app->setDi($di); And I'm handling the actions like this: //Gets a client information $app->get('/client', array(new ClientController, 'getAction')); The problem is that when ClientController creates a new model object it simply returns an error saying that the table was not found and I think is because it is not loading the database information from the DI, so my question is, how can I set up that information globally, is it not supposed that Phalcon do it? The database works fine in the main application controller, but I want to order the methods in other different subcontrollers and there is where the database config doesn't work. I'm doing this as stated in the documentation: http://docs.phalconphp.com/es/latest/reference/micro.html Thanks. How are you configuring the db service in your config and DI? It might be to do with the fact that you pass an existing controller and Phalcon assumes you've set it up already, but I might be wrong… To find out, in your getAction check if the $di is set: public function getAction() { echo isset($this->di) ? 'di is set' : 'di is not set'; } If it's not set, then you can manually set it before configuring the route: $controller->setDI($app->di); $app->get('/client', array($controller, 'getAction')); That would solve the problem if it's to do with the DI not being specified, though I doubt it :) Post more details about the actual error and how you're configuring your model if that doesn't work.
3,164
https://es.wikipedia.org/wiki/Atriplex%20glauca
Wikipedia
Open Web
CC-By-SA
2,023
Atriplex glauca
https://es.wikipedia.org/w/index.php?title=Atriplex glauca&action=history
Spanish
Spoken
313
775
Atriplex glauca es una especie de planta perenne perteneciente a la familia de las amarantáceas. Es originaria de la región mediterránea. Descripción Es una planta sufrútice que alcanza un tamaño de hasta 50 cm de altura; con los tallos generalmente postrados, blanquecinos. Las hojas de hasta 10 × 7 mm, sésiles, salvo a veces las inferiores, a menudo con fasciculillos de hojas axilares dispersos por toda la planta, de suborbiculares a ovadas, enteras, de obtusas a acutiúsculas, a veces mucronuladas, de subglaucas a pulverulento-blanquecinas, carnositas; las inferiores a veces pecioladas, elípticas u oblongo-lanceoladas. Flores agrupadas en glomerulillos que se disponen en espigas terminales, generalmente compuestas, afilas. Bractéolas fructíferas rómbico-deltoides u ovado-deltoides, agudas, con los márgenes dentados y dorso fuertemente tuberculado. Semilla de 1,5-1,6 mm de diámetro, ± orbicular, a veces aplanada; radícula vertical. Distribución y hábitat Se encuentra sobre suelos arenosos o arcillosos ± salinos; piso basal. En el oeste de la región mediterránea. Sudeste árido de la península ibérica y estuario del Sado. Taxonomía Atriplex glauca fue descrita por Carlos Linneo y publicado en Species Plantarum, Editio Secunda 2: 1493. 1763. Etimología Atriplex: nombre genérico latino con el que se conoce a la planta. glauca: epíteto latino que significa "glauca, de color verde-azulado. Sinonimia Atriplex alexandrina Boiss. Atriplex coriacea Raddi ex Moq. Atriplex crystallina Ehrenb. ex Boiss. Atriplex glauca var. embergeri Maire Atriplex glauca var. ifniensis (Caball.) Maire Atriplex glauca subsp. ifniensis (Caball.) Rivas Mart. & al. Atriplex glauca var. mauritanica (Boiss. & Reut.) Maire Atriplex ifniensis Caball. Atriplex mauritanica Boiss. & Reut. Atriplex palaestina Boiss. Atriplex parvifolia Lowe Atriplex stylosa Viv. Chenopodium vestitum Thunb. Obione alexandrina (Boiss.) Ulbr. Obione glauca Moq. Obione stylosa'' Moq. Nombres comunes Castellano: saladilla, salado, sosa blanca, armuelle saladilla, cenizo, correhuela toledana, , salailla, salgadillo, uñas de sapo. Referencias Enlaces externos glauca Plantas halófitas Flora de la cuenca mediterránea Plantas descritas en 1753 Plantas descritas por Linnaeus
15,658
https://my.wikipedia.org/wiki/%E1%80%A1%E1%80%9B%E1%80%BE%E1%80%84%E1%80%BA%E1%80%95%E1%80%AD%E1%80%9A%E1%80%AC%E1%80%9C%E1%80%96%E1%80%9C%E1%80%92%E1%80%AB%E1%80%9A%E1%80%80%E1%80%91%E1%80%B1%E1%80%9B%E1%80%BA
Wikipedia
Open Web
CC-By-SA
2,023
အရှင်ပိယာလဖလဒါယကထေရ်
https://my.wikipedia.org/w/index.php?title=အရှင်ပိယာလဖလဒါယကထေရ်&action=history
Burmese
Spoken
4
74
ပိယာလဖလဒါယက၊ ကိင်္ကဏိပုပ္ဖဝဂ် ပိယာလဖလဒါယက၊ သောဘိတဝဂ်
25,498
https://ja.wikipedia.org/wiki/%E5%9B%BD%E6%B0%91%E8%A9%A9%E6%9B%B2
Wikipedia
Open Web
CC-By-SA
2,023
国民詩曲
https://ja.wikipedia.org/w/index.php?title=国民詩曲&action=history
Japanese
Spoken
32
742
国民詩曲(こくみんしきょく)は、JOAK(後のNHK)が、1938年から1940年にかけて委嘱した、17曲におよぶ管弦楽曲の総称である。JOAKは、作曲家に委嘱をするに際し日本の民謡旋律を主題とすることを条件とし、1938年から1940年にかけて、JOAKのラジオ放送で初演が行なわれた。 作品リスト 作曲者名の五十音順に列挙する。 飯田信夫:夏祭り 池内友次郎:馬子歌 大木正夫:日本狂詩曲第1番 太田忠:狂詩曲第一 大中寅二:お茶節による前奏と歌 清瀬保二:日本民謡の主題による幻想曲 江文也:田園詩曲 須賀田礒太郎:東北と関東 菅原明朗:明石海峡 杉山長谷雄:富士、箱根の印象 服部正:日本風牧歌 平尾貴四男:機織唄による変奏曲 深井史郎:日本民謡による嬉遊曲 松平頼則:南部子守唄を主題とするピアノと管弦楽のための変奏曲 宮原禎次:ピアノと管弦楽のための交響曲第2番 山田和男:交響的木曽 山本直忠:日本幻想曲 評価 作曲家の早坂文雄は、『日本的音楽論』に収録の随筆『国民詩曲とそれに関連して』において、菅原、大中、須賀田、松平、清瀬、杉山、山田、太田、山本の作品を批評しているが、山田の『交響的木曾』を「国民詩曲中最上位に置かれるべき佳品と思う」と肯定的に評した他は、いずれの作品に対しても厳しい評価を下している。 山田の『交響的木曽』は、少年時代の外山雄三に感銘を与え、後に『管弦楽のためのラプソディ』を作曲するきっかけとなったと言われている。 出典 参考文献 管弦楽曲 日本の音楽史 日本の楽曲 昭和時代戦前の文化 こくみんしきよく 日本放送協会の歴史 クラシック音楽史
26,852
https://ceb.wikipedia.org/wiki/Winiwini
Wikipedia
Open Web
CC-By-SA
2,023
Winiwini
https://ceb.wikipedia.org/w/index.php?title=Winiwini&action=history
Cebuano
Spoken
60
97
Suba ang Winiwini sa Uganda. Nahimutang ni sa distrito sa Kaabong District ug rehiyon sa Northern Region, sa amihanan-sidlakang bahin sa nasod, km sa amihanan sa Kampala ang ulohan sa nasod. Ang Winiwini mao ang bahin sa tubig-saluran sa Nile River. Ang mga gi basihan niini Nile River (suba sa Ehipto) tubig-saluran Mga suba sa Northern Region (rehiyon sa Uganda)
9,370
https://fa.wikipedia.org/wiki/%D8%AF%D9%85%D9%81%DB%8C%D8%B1
Wikipedia
Open Web
CC-By-SA
2,023
دمفیر
https://fa.wikipedia.org/w/index.php?title=دمفیر&action=history
Persian
Spoken
74
327
دمپایر یا دمفیر در باور عامیانه شبه جزیرهٔ بالکان به فرزند پدری خون‌آشام و مادری انسان گفته می‌شود. دمپایرها معمولاً قدرت خون‌آشام‌ها را دارند ولی ضعف آن‌ها (مانند حساسیت به نور) را ندارند. معمولاً دمپایرها به شکارچیان خون‌آشام‌ها بدل می‌گردند. از دمپایرهای معروف در فرهنگ می‌توان به شکارچی خون‌آشام دی اشاره کرد. جستارهای وابسته خون‌آشام منابع http://wiki.fantasy.ir/index.php?title=دمپایر ویکی‌پدیای انگلیسی اسطوره‌شناسی آلبانی اسطوره‌شناسی صربستان خون‌آشام‌ها شکارچیان خیالی خون‌آشام فناناپذیری جسمانی فولکلور بلغارستان آفریده‌های افسانه‌ای اسلاو
10,093
https://arz.wikipedia.org/wiki/%D8%A8%D9%8A%D8%AA%20%D8%AC%D9%8A%D9%87%20%D9%83%D8%B1%D9%88%D9%86%D9%8A%D9%86%D8%A8%D9%8A%D8%B1%D8%AC
Wikipedia
Open Web
CC-By-SA
2,023
بيت جيه كرونينبيرج
https://arz.wikipedia.org/w/index.php?title=بيت جيه كرونينبيرج&action=history
Egyptian Arabic
Spoken
37
112
بيت جيه كرونينبيرج كان مؤرخ من مملكة نيديرلاند. حياته بيت جيه كرونينبيرج من مواليد يوم 9 مايو سنة 1927. وفاته بيت جيه كرونينبيرج مات يوم 7 سبتمبر سنة 2016. لينكات برانيه مصادر مؤرخين مؤرخين من مملكه نيديرلاند
50,586
https://de.wikipedia.org/wiki/Campionato%20Sammarinese%20di%20Calcio%202004/05
Wikipedia
Open Web
CC-By-SA
2,023
Campionato Sammarinese di Calcio 2004/05
https://de.wikipedia.org/w/index.php?title=Campionato Sammarinese di Calcio 2004/05&action=history
German
Spoken
212
427
Die Campionato Sammarinese di Calcio 2004/05 war die 20. Spielzeit der san-marinesischen Fußballliga der Männer. Die Meisterschaft wurde in zwei Phasen ausgetragen. Im Grunddurchgang spielten die Teams in zwei gleichberechtigten Gruppen zu acht bzw. sieben Teams. Jede Mannschaft traf dabei zweimal auf die Teams der eigenen Gruppe, sowie einmal auf jede Mannschaft der anderen Gruppe. Danach traten die drei bestplatzierten Teams jeder Gruppe im Meisterschaftsplayoff an, welches in einem Doppel-K.-o.-System gespielt wurde. Die beiden Gruppensieger erhielten dabei in der ersten Runde ein Freilos und stiegen erst in der zweiten Runde in die Playoffs ein. Der SP Domagnano konnte den vierten Titel in der Vereinsgeschichte gewinnen. Titelverteidiger SS Pennarossa konnte sich hingegen nicht für das Meisterschaftsplayoff qualifizieren. Grunddurchgang Gruppe A SP Tre Fiori konnte sich aufgrund der besseren direkten Bilanz gegen den SS Pennarossa für das Meisterschaftsplayoff qualifizieren (3:1, 1:2). Gruppe B Kreuztabelle Meisterplayoff Das folgende Diagramm gibt die Ergebnisse des Meisterschaftsplayoffs wieder. Die beiden Gruppensieger erhielten in der ersten Runde ein Freilos. Die Bezeichnungen Ax bzw. Bx geben die Gruppe und die Platzierung der jeweiligen Mannschaft im Grunddurchgang an. Vx kennzeichnet Teams, die von der Sieger- in die Verliererrunde wechselten, sowie die Nummer des Spiels, welches sie verloren hatten. Weblinks Ergebnisse auf rsssf.com, abgerufen am 16. Juli 2013 Einzelnachweise 2004 Fußballsaison 2004/05
24,785
https://de.wikipedia.org/wiki/Verrecchia
Wikipedia
Open Web
CC-By-SA
2,023
Verrecchia
https://de.wikipedia.org/w/index.php?title=Verrecchia&action=history
German
Spoken
19
54
Verrecchia ist der Familienname von: Anacleto Verrecchia (1926–2012), italienischer Philosoph, Kulturkritiker und Essayist Robert Verrecchia, US-amerikanischer Wirtschaftswissenschaftler und Hochschullehrer
7,087
https://stackoverflow.com/questions/67382022
StackExchange
Open Web
CC-By-SA
2,021
Stack Exchange
463035818_is_not_an_ai, Biffen, Devolus, ElMaestroDeToMare, abaraj11, https://stackoverflow.com/users/15830982, https://stackoverflow.com/users/2282011, https://stackoverflow.com/users/4117728, https://stackoverflow.com/users/418066, https://stackoverflow.com/users/6699433, https://stackoverflow.com/users/7200959, klutt
Norwegian Nynorsk
Spoken
641
1,110
I got an infinite while loop with this string so I got this part of my code here: string stringparam; string stringparam1; double d; unsigned x; cout << "Welcome" << endl; cout << "Choose one (ASUS, MSI, Gigabyte, ASrock)" << endl; cin >> stringparam; while (stringparam != "ASUS" || "MSI" || "Gigabyte" || "ASrock") { cout << "you gave bad input \n" << endl; cout << "Choose one (ASUS, MSI, Gigabyte, ASrock)" << endl; cin >> stringparam; } the problem is even if I give him a correct answer like "ASUS" it still gives me the error message : "you gave bad input" What can i do about it? stringparam != "ASUS" || "MSI" || "Gigabyte" || "ASrock" doesn’t do what you think it does. It’s the same as (stringparam != "ASUS") || "MSI" || "Gigabyte" || "ASrock", and "MSI" will always be true. You want stringparam != "ASUS" && stringparam != "MSI" && .... Just blindly guessing syntax never works. Learn what stringparam != "ASUS" || "MSI" || "Gigabyte" || "ASrock" really means by reading about the operators. thats the closest I could find: https://stackoverflow.com/questions/28144294/c-multiple-conditions-for-if-statement. Your condition is: "(stringparam is not "ASUS") or ("MSI") or ..." not "stringparam is not ("ASUS" or "MSI" or ...)" or is the wrong operator anyway, even if you fix the more obvious problem of not comparing the string. A logical or is very different from the or as used in a natural spoken languange. thanks for the fast response guys I will try to look around a bit more Here the main problem is that you can't do what you want with "or" operator, because in that way while condition it will always be True. For example: if you type "ASUS", the result of while is True, this because you need ONLY one || expression = True to "come in" while's body (this caused infinite loop). So you have to use "&" operator. With this, all condition MUST be True to execute while's body. while (stringparam != "ASUS" && "MSI" && "Gigabyte" && "ASrock") Alternatively, you can use the do/while loop: do{ cout << "you gave bad input \n" << endl; cout << "Choose one (ASUS, MSI, Gigabyte, ASrock)" << endl; cin >> stringparam; }while(stringparam != "ASUS" && stringparam != "MSI" && ...); it's working now thanks for the help You're welcome! Have a good day! :) cout << cout << .. compiles? @AndreaMaestrutti Good that you're taking it the right way. More often than not, such comments are completely without any bad intent. But I think this answer should be improved further. You're making the do-while the central thing, but that's not really related to the problem. It's just an improvement. But you don't explain anything what's done to actually solve the problem. @AndreaMaestrutti I removed my downvote because you reacted so well. Correct the issues I mentioned and have an upvote. ;) Ok thanks for suggestion, and sorry for the bad answer ;) but this morning i was at work with some bugs in the code, and that made me so nervous... Just blindly guessing syntax never works. I recommend learning what stringparam != "ASUS" || "MSI" || "Gigabyte" || "ASrock" really means by reading about the operators. You could do something like this to achieve what you want in a quite neat way. It requires C++11 or later. std::set<std::string> ss = {"ASUS","MSI" , "Gigabyte","ASrock" }; while(ss.find(stringparam) == ss.end()) { Yes,your code goes in infinite loop Because ,your have used string with OR operator. And in C++ anything except O, null, empty string is positive. So,your while loop condition is always true. That's why your code goes in infinite loop. Your explanation is wrong. Assuming that O == 0, and an empty string is also a string which would return true. What you probably meant is using string.empty() which is rather different.
32,624
https://stackoverflow.com/questions/57267205
StackExchange
Open Web
CC-By-SA
2,019
Stack Exchange
English
Spoken
333
639
Vtk Heatmap: Scientific visualization of Radar data: Updating the vtkFloatArray for a vtkPlaneSource Being a beginnger with vtk it's a bit hard to know where to start. What I'm trying to do is a radar view using data that's send to me every time a sensor is full (and that represents a single row). My initial idea was to use a grid and map the values that I get as Z's, filling the grid a column at a time. Each time the sensors is filled, I call an update function that should update the Scalars of the vtkPlaneData A few things to consider: I don't know if I'm using the best structures for the problem, vtk has too many structures and I'm just learning. I know c++ but I'm not good with 3d software (yet). void Window::handleData(const std::vector<float> data) { vtkFloatArray* currentCellData = dynamic_cast<vtkFloatArray*>( m_planeSource->GetOutput()->GetCellData()->GetScalars()); vtkFloatArray* cellData = vtkFloatArray::New(); cellData->SetNumberOfComponents(1); cellData->SetNumberOfValues(2000 * 2000); // Move elements one row above; for (vtkIdType i = 0, end = 200 * 200 - 200; i < end; i++) { cellData->SetValue(i + 200, currentCellData->GetValue(i)); } // Add the new row. for (vtkIdType i = 0, end = 200; i < end; i++) { cellData->SetValue(i, data[(int)i]); } // update the cells planeSource->GetOutput()->GetCellData()->SetScalars(cellData); // update the window renderWindow->GetInteractor()->Render(); } I know that the code smells fishy, I'm not reusing the data vector and I'm doing a monstruosity iterating thru all the elements every time to append the last row. When I reused the same cellData the view did not refresh the heatmap. So, my questions: How can I "shift left" a row in the vtkFloatArray? (being it N * M elements, I want to << M; to move all elements one row up and leave the last row free) How can I append a row directly without having to iterate thru all the items (something like cellData.insertAt(pos, array.data(), array.size())) How can I reutilize the current CellData()->Scalars() from the PlaneSource to not need to allocate / deallocate memory every step?
29,970
https://fr.wikipedia.org/wiki/Radio%20Moldova
Wikipedia
Open Web
CC-By-SA
2,023
Radio Moldova
https://fr.wikipedia.org/w/index.php?title=Radio Moldova&action=history
French
Spoken
256
414
Radio Moldova est le nom de l'une des trois stations de radio publiques de Moldavie. Née le , elle est la plus ancienne station de radio moldave. Elle dépend de la compagnie d'état Teleradio-Moldova et émet depuis des studios installés dans la capitale du pays, Chișinău. Les émissions débutent chaque matin à 6 heures par la diffusion de l'hymne national auquel succède en semaine le programme « Radiomatinal », lequel mêle bulletins d'information, musique et chroniques pratiques (prévisions météorologiques, horoscope, trafic, agenda politique et culturel). Les principaux programmes diffusés sur les ondes de Radio Moldova sont d'ordre informatif, tel « Panorama zilei » (Panorama du jour) ou « Panorama săptămînii » (Panorama de la semaine). Des « Buletin de știri » (bulletins d'information) viennent interrompre les programmes régulièrement, tandis que le soir est diffusé « Radiojurnal » un journal traitant de l'actualité en profondeur. Les autres émissions de la station laissent la part belle aux programmes culturels et à la musique locale et internationale. La clôture des programmes intervient à minuit par la diffusion de l'hymne national, lequel est ensuite suivi durant la nuit de rediffusions et de musique. Les émissions de Radio Moldova sont diffusées en langue roumaine, ainsi que dans les langues des minorités nationales. La station dispose de fréquences en ondes courtes et en modulation de fréquence ; les programmes de Radio Moldova et de Radio Moldova Internațional peuvent également être entendus dans le monde entier par le biais d'internet. Notes et références Radio en Moldavie Station de radio fondée en 1930 Teleradio-Moldova
29,062
https://en.wikipedia.org/wiki/Bobby%20LaKind
Wikipedia
Open Web
CC-By-SA
2,023
Bobby LaKind
https://en.wikipedia.org/w/index.php?title=Bobby LaKind&action=history
English
Spoken
326
494
Robert Jay LaKind (November 3, 1945 – December 24, 1992) was an American conga player, vocalist, songwriter and occasional backup drummer with The Doobie Brothers. Originally a lighting roadie for the band, he was invited to join as a sideman for studio sessions after band members noticed his talent when LaKind goofed around on the congas after a concert. LaKind was from Teaneck, New Jersey and graduated from Teaneck High School, Class of 1963. He attended the University of Kentucky and was a member of Sigma Nu fraternity, the Animal House of the university's fraternities during the 1960s. Also a member of Sigma Nu during this time was basketball player and future coach, Pat Riley. LaKind was a session man with the Doobie Brothers from 1976 and joined them onstage as well. When the band appeared as guest stars on What's Happening!! in early 1978, he was portrayed as a full member. However, he was not actually credited as such on an album until the Farewell Tour album in 1983. When the band reformed in 1988, he rejoined and was featured on the album Cycles, but he was soon forced into retirement by illness. During the Doobie Brothers hiatus, and with some overlap, between approximately 1985 to 1991, he was also a member of local Santa Monica Afro-Cuban band, The Bonedaddys. He played congas and other percussion and recorded at least two albums with them: "A-Koo-De-A" (1988) and "Worldbeatniks" (1991). LaKind's former bandmates performed two benefit concerts in 1992 to raise money for a trust fund set up for LaKind's two sons, Nicky and Cutter. He died from colon cancer on December 24 that year, at age 47. References 1945 births 1992 deaths American rock drummers Musicians from Teaneck, New Jersey The Doobie Brothers members University of Kentucky alumni American rock percussionists Deaths from colorectal cancer Deaths from cancer in California 20th-century American singers Conga players 20th-century American drummers American male drummers 20th-century American male singers
27,819
https://ban.wikipedia.org/wiki/Juntinyuat%2C%20Indramayu
Wikipedia
Open Web
CC-By-SA
2,023
Juntinyuat, Indramayu
https://ban.wikipedia.org/w/index.php?title=Juntinyuat, Indramayu&action=history
Balinese
Spoken
64
260
Juntinyuat (Aksara Bali: ᬚᬸᬦ᭄ᬢᬶᬜᬸᬯᬢ᭄) inggih punika silih tunggil kecamatan ring Kabupatén Indramayu, propinsi Jawa Barat, ring panegara Indonésia. Pamréntahan Wawengkon administratif Kecamatan puniki madué 12 désa, inggih punika: Dadap Juntikebon Juntikedokan Juntinyuat Juntiweden Limbangan Lombang Pondoh Sambimaya Segeran Segeran Kidul Tinumpuk Pustaka Pranala jaba BPS Kabupatén Indramayu Situs Resmi Kabupatén Indramayu Prodeskel Binapemdes Kemendagri Kabupatén Indramayu Kecamatan ring Kabupatén Indramayu Kecamatan ring Jawa Barat
8,388
https://pl.wikipedia.org/wiki/Gugerdczi
Wikipedia
Open Web
CC-By-SA
2,023
Gugerdczi
https://pl.wikipedia.org/w/index.php?title=Gugerdczi&action=history
Polish
Spoken
23
64
Gugerdczi – wieś w Iranie, w ostanie Azerbejdżan Zachodni, w szahrestanie Takab. W 2006 roku liczyła 191 mieszkańców. Przypisy Miejscowości w Azerbejdżanie Zachodnim
19,809
https://stackoverflow.com/questions/58100390
StackExchange
Open Web
CC-By-SA
2,019
Stack Exchange
Marco Castanho, https://stackoverflow.com/users/1971089
English
Spoken
932
3,567
How to solve this celery Error: Unable to load celery application. Module 'forecast' has no attribute 'celery' I am trying to seting up Celery and Amazon SQS  for my project but faced with problems. I did following. I put celery.py file inside my project directory where settings py located. Here is snapshot of my project  --predictions --forecast --dataflow --forecast ** __init__.py ** celery.py ** urls.py ** settings.py ** wsgi.py --manage.py --env I doted with "--" folders and with "**" files. Inside celery.py file i have the folliwing code from __future__ import absolute_import, unicode_literals import os from celery import Celery os.environ.setdefault ('DJANGO_SETTINGS_MODULE', 'forecast.settings') app = Celery('forecast') app.config_from_object ('django.conf:settings') app.autodiscover_tasks() app.conf.beat_schedule = { 'display_time-30-seconds': { 'task': 'demoapp.tasks.display_time', 'schedule': 10.0 }, } @app.task(bind=True) def debug_task(self): print('Request: {0r}'.format(self.request)) Inside settings.py file i set up Amazon credentials,broker_url etc #settings.py # AWS Credentials AWS_ACCESS_KEY_ID = ('lol') AWS_SECRET_ACCESS_KEY = ('Lol') # Celery BROKER_URL = "sqs://%s:%s@" % (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY) CELERY_ACCEPT_CONTENT = ['application/json'] CELERY_RESULT_SERIALIZER = 'json' CELERY_TASK_SERIALIZER = 'json' CELERY_DEFAULT_QUEUE = 'test.fifo' CELERY_RESULT_BACKEND = None # Disabling the results backend BROKER_TRANSPORT_OPTIONS = {'region': 'us-west-2', 'polling_interval': 20,} Inside init.py file i put the following code from __future__ import absolute_import, unicode_literals from .celery import app as celery_app__all__ = ['celery_app'] Then i added in my django app task.py which contain the following code from datetime import datetime from celery import shared_task @shared_task def display_time(x, y): print("The time is %s :" % str(datetime.now())) return True after it i create inside AWS default queue. Than inside predictions folder in terminal i run the following command celery -A forecast worker -l info Which give me Error Error: Unable to load celery application. Module 'forecast' has no attribute 'celery' When i run this command inside predictions/forecast folder its give traceback about many errors some of them in models.py file. Here is Traceback Traceback (most recent call last): File "/data/data/com.termux/files/ home/storage/predictions/env/bin/ celery", line 10, in <module> sys.exit(main()) File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/celery/ __main__.py", line 16, in main _main() File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/celery/bin/ celery.py", line 322, in main cmd.execute_from_commandline (argv) File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/celery/bin/ celery.py", line 496, in execute_from_commandline super(CeleryCommand, self) .execute_from_commandline(argv))) File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/celery/bin/ base.py", line 298, in execute_from_commandline return self.handle_argv(self.prog_name, argv[1:]) File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/celery/bin/ celery.py", line 488, in handle_argv return self.execute(command, argv) File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/celery/bin/ celery.py", line 420, in execute ).run_from_argv(self.prog_name, argv[1:], command=argv[0]) File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/celery/bin/ worker.py", line 223, in run_from_argv return self(*args, **options) File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/celery/bin/ base.py", line 252, in __call__ ret = self.run(*args, **kwargs) return self.handle_argv(self.prog_name, argv[1:]) File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/celery/bin/ celery.py", line 488, in handle_argv return self.execute(command, argv) File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/celery/bin/ celery.py", line 420, in execute ).run_from_argv(self.prog_name, argv[1:], command=argv[0]) File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/celery/bin/ worker.py", line 223, in run_from_argv return self(*args, **options) File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/celery/bin/ base.py", line 252, in __call__ ret = self.run(*args, **kwargs) File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/celery/bin/ worker.py", line 257, in run **kwargs) File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/celery/bin/ worker.py", line 223, in run_from_argv return self(*args, **options) File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/celery/bin/ base.py", line 252, in __call__ ret = self.run(*args, **kwargs) File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/celery/bin/ worker.py", line 257, in run **kwargs) File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/celery/ worker/worker.py", line 96, in __init__ self.app.loader.init_worker() File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/celery/ loaders/base.py", line 114, in init_worker self.import_default_modules() File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/celery/ loaders/base.py", line 108, in import_default_modules File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/celery/utils/ dispatch/signal.py", line 288, in send response = receiver(signal=self, sender=sender, **named) File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/celery/ fixups/django.py", line 84, in on_import_modules self.worker_fixup.validate_models() File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/celery/ fixups/django.py", line 122, in validate_models self.django_setup() File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/celery/ fixups/django.py", line 118, in django_setup django.setup() File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/django/ __init__.py", line 24, in setup apps.populate (settings.INSTALLED_APPS) File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/django/ apps/registry.py", line 114, in populate app_config.import_models() File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/site-packages/django/ apps/config.py", line 211, in import_models self.models_module=import_module (models_module_name) File "/data/data/com.termux/files/ home/storage/predictions/env/lib/ python3.7/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 724, in exec_module File "<frozen importlib._bootstrap_external>", line 860, in get_code File "<frozen importlib._bootstrap_external File "<frozen importlib._bootstrap_external>", line 860, in get_code File "<frozen importlib._bootstrap_external>", line 791, in source_to_code File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/data/data/com.termux/files/ home/storage/predictions/forecast/ dataflow/models.py", line 78 home_startXI = models.JSONField() home_substitutes = models.JSONField() away_formation = models.CharField(null=True) away_startXI = models.JSONField() away_substitutes = models.JSONField() ^ SyntaxError: invalid syntax What i should do to solve this problem This may not solve the entire issue but from .celery import app as celery_app__all__ = ['celery_app'] Should read from .celery import app as celery_app __all__ = ('celery_app',) I had a similar issue. You just need to check that you're in the right directory. Run cd forecast if you're in the predictions directory. That should workout fine because celery tries to look for celery app settings in predictions/forecast/ which doesn't exist. Your celery app is in predictions/forecast/forecast/, that is, inside your django project directory. That was my issue. I was running python project/migrate.py celery when I should be running cd project then python migrate.py celery. Thanks! I think this will help newbie like me: You should give the full project name to workers: celery worker --app config.celery.app Here are my observation in django.Project folder structure is abc/ config/ celery.py - os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings") - app = Celery("test") settings.py if you follow the same folder structure as specified in doc and task app naming convention then you can give application name(let say test) to workers celery worker --app test abc/ test/ celery.py - os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test.settings") - app = Celery("test") settings.py then celery auto-detect test.celery.applcation In init.py of your forecast directory add following and try to restart this might work: from .celery import app as celery_app __all__ = ('celery_app',)
46,370
https://stackoverflow.com/questions/49005202
StackExchange
Open Web
CC-By-SA
2,018
Stack Exchange
Pᴇʜ, Qing Shun, https://stackoverflow.com/users/3114352, https://stackoverflow.com/users/3219613, https://stackoverflow.com/users/9417736, jivko
English
Spoken
473
936
Copy specific columns in all rows from sheet 1 to sheet 2 based on condition I tried using the code below but it display the entire row in the new sheet. Is there a way that i can move only specific columns to the new sheet by modifying the vba macro code below? Thanks in advance! Sub CopyExpired() Dim bottomB As Integer bottomB = Sheets("sheet1").Range("B" & Rows.Count).End(xlUp).Row Dim c As Range For Each c In Sheets("sheet1").Range("B1:B" & bottomB) If c.Value = "expired" Then c.EntireRow.Copy Worksheets("sheet2").Range("A" & Rows.Count).End(xlUp).Offset(1) End If Next c End Sub Maybe if you remove .EntireRow from c.EntireRow.Copy? Note: Don't use Integer when counting rows, Excel has more rows than Integer can handle. Always use Long instead of Integer there is no benefit in Integer at all. Try to use an .AutoFilter. Sub CopyExpired() With Worksheets("sheet1") If .AutoFilterMode Then .AutoFilterMode = False With .Cells(1, "A").CurrentRegion .AutoFilter field:=2, Criteria1:="expired" With .Resize(.Rows.Count - 1, 1).Offset(1, 0) If CBool(Application.Subtotal(103, .Cells)) Then .SpecialCells(xlCellTypeVisible).Copy _ Destination:=Worksheets("sheet2").Range("A" & Rows.Count).End(xlUp).Offset(1) End If End With End With If .AutoFilterMode Then .AutoFilterMode = False End With End Sub I tried this vba macro code but it still display the entire row in the new sheet I guess you should have provided more detail than 'only specific columns'. The first column comprises of dates and the second column is the status(expired/not expired). I need a vba macro code which move the dates in first column which are expired to sheet 2 instead of moving both columns to the new sheet. So when you say 'copy specific columns' you actually meant 'move one column'? btw, copy and move are two different things. Sorry I'm new to excel, what i meant was copy. Btw how to modify the code if i want to copy mulitiple columns to sheet 2? (For example column A, C and E) There isn't anywhere to put an answer and that sounds like a new question. Replace c.EntireRow.Copy with Range("C" & c.Row & ",E" & c.Row & ",H" & c.Row).Copy and you can select what columns to use if I didnt do the syntax 100% right then sorry. Dont have excel near me. 1st: please dont use A1 codes in your macros. Rather use the R1C1 method as follows: dim sh as worksheet set sh =activeworkbook.activesheet sh.cells(1,2) = "Test worked!!" 'this will put the text into row 1 column 2 of your sheet. 2nd: you could copy each cell via a subroutine. for example: dim rw1 as integer, lastRw as integer, cellsToRight as integer lastRw = sh.UsedRange.SpecialCells(xlCellTypeLastCell).Row for rw1 = 1 to lrw for col=1 to 10 sh.cells(rw1,col + cellstoright)=sh.cells(rw1,col) next col next rw1 or you could just do the colums yourself manualls, eg... array of integer with the values 1,3,4,6,7,8 ... and then loop over the array with your integers as columns, same thing as the above loops.
2,783
https://sv.wikipedia.org/wiki/Dianthus%20algetanus
Wikipedia
Open Web
CC-By-SA
2,023
Dianthus algetanus
https://sv.wikipedia.org/w/index.php?title=Dianthus algetanus&action=history
Swedish
Spoken
54
155
Dianthus algetanus är en nejlikväxt. Dianthus algetanus ingår i släktet nejlikor, och familjen nejlikväxter. Underarter Arten delas in i följande underarter: Dianthus aalgetanus ssp. algetanus (Graells ex Williams)M.Laínz, Muñoz Garm. & Soriano, 1987 Dianthus algetanus ssp. costae (Willk.) Romo, 1989 Dianthus aalgetanus ssp. turolensis (Pau) M.Bernal, M.Laínz & Muñoz Garm., 1989 Källor   Nejlikor algetanus
46,528
https://ko.wikipedia.org/wiki/%EB%93%A4%EA%B0%9C%20%281983%EB%85%84%20%EC%98%81%ED%99%94%29
Wikipedia
Open Web
CC-By-SA
2,023
들개 (1983년 영화)
https://ko.wikipedia.org/w/index.php?title=들개 (1983년 영화)&action=history
Korean
Spoken
49
232
"들개"는 1983년에 개봉한 대한민국의 영화이다. 캐스팅 정애리 정한용 노주현 이대근 강태기 추석양 김봉환 김기종 양일민 추봉 안진수 나갑성 신동욱 박부양 이인옥 조학자 김신명 외부 링크 들개 - 다음영화 들개 - 무비스트 들개 - 한국영화 데이터베이스 한국어 영화 작품 1983년 영화 대한민국의 영화 작품 대한민국의 드라마 영화 박철수 감독 영화
17,610
https://eu.wikipedia.org/wiki/Andrew%20Ng
Wikipedia
Open Web
CC-By-SA
2,023
Andrew Ng
https://eu.wikipedia.org/w/index.php?title=Andrew Ng&action=history
Basque
Spoken
195
582
Andrew Yan-Tak Ng (; 1976an jaioa) informatikari amerikarra da. Baidu bilatzaileko zientzia arduradun ohia, non Adimen Artifizialeko taldea gidatzen baitzuen. Egun, Stanford unibertsitateko irakaslea da. Coursera, hezkuntzarako online plataformaren fundatzaileetakoa da baita. Ikerketa Bere ikerketak Adimen Artifiziala, Machine Learning (Ikasketa Automatikoa) eta Deep Learning (Ikaskuntza Sakona) arloen ingurukoak dira. Lehenbiziko egitasmoen artean nabarmentzekoak dira Stanford-eko Helikoptero Autonomoa, mundu mailako helikoptero autonomorik aurreratuena kontsideratua eta STAIR (STanford Artificial Intelligence Robot) (Stanford-eko Adimen Artifizialdun Robota) , bertatik eratorri zen gerora ROS (Robots Operating System), robotikarako kode irekiko software egitura ezaguna. 2011an, Angrew Ng-k Google Brain egitasmoa jarri zuen martxan Google konpainian. Bertan, Google-eko konputazio azpiegitura banatua erabiliz, eskala handiko sare neuronal artifizialak garatu zituzten. Egitasmo honen emaitzarik esanguratsuenen artean dago ikasketa sakoneko algoritmoak erabiliz 16.000 PUZ nukleotan entrenatutako sare neuronala. Sare honek goi-mailako zenbait kontzeptu bereizten ikasi zuen, besteren artean, katuak bereizten, horretarako YouTube-ko bideoak soilik ikusiz eta "katua" zer den azaldu beharrik gabe. Egitasmo horretako teknologia oraindik orain erabiltzen da Android Sistema Eragileko ahots errekonozimenduko sisteman. David M. Blei eta Michael I. Jordan-ekin batera, Latent Dirichlet Allocation metodoa aurkeztu zuen zientzia publikazio ezagunean. Erreferentziak Ameriketako Estatu Batuetako informatikariak Stanford Unibertsitatea Sino-estatubatuarrak Massachusetts Institute of Technologyko ikasleak
45,685
https://stackoverflow.com/questions/64791739
StackExchange
Open Web
CC-By-SA
2,020
Stack Exchange
https://stackoverflow.com/users/1265393, https://stackoverflow.com/users/5044042, pkamb, vadian
English
Spoken
198
356
SWIFT sorting array of array by date I'm to trying sort an array of array by date in Swift, but I'm getting this three errors: Cannot infer contextual base in reference to member 'orderedAscending' Value of type 'Any' has no member 'compare' Cast 'Any' to 'AnyObject' or use 'as!' to force downcast to a more specific type to access members That is the array declaration: let array = [[5.5, 1, 2020-11-05 23:00:00 +0000], [8.0, 2, 2020-11-10 23:00:00 +0000], [5.5, 1, 2020-10-27 23:00:00 +0000]] and that is the code that I've written to sort the array: let sortedArray = array.sorted(by: { (($0[2]).compare($1[2]))! == .orderedAscending }) array = sortedArray How can I solve? Thanks in advance Does this answer your question? Sort Objects in Array by date Using a custom struct rather than a heterogenous array could make your life much easier And the first code line doesn't compile anyway. You need to cast the element to sort on to Date. The following cast's the last element of each sub-array to a Date and if the cast fails the sub-array will be sorted last let sorted = array.sorted(by: { ($0.last as? Date ?? Date.distantFuture) < ($1.last as? Date ?? Date.distantPast)})
32,885
https://bcl.wikipedia.org/wiki/Kinoguitan
Wikipedia
Open Web
CC-By-SA
2,023
Kinoguitan
https://bcl.wikipedia.org/w/index.php?title=Kinoguitan&action=history
Central Bikol
Spoken
91
239
An Kinoguitan sarong ikalimang klase banwaan na namumugtak sa probinsya nin Misamis Oriental, Filipinas. Igwa ining sukol na 42.56 kilometro kwadrado na kadagaan asin namumugtak sa ikalimang distrito. An designadong zip code kaini iyo . Sosog sa sensus kan , igwa ining katawong nag-eerok digdi sa kaharongan. Igwa ining sukol na kilometro kwadrado. Mga Barangay Beray Bolisong Buko Kalitian Calubo Campo Esperanza Kagumahan Kitotok Panabol Poblacion Salicapawan Salubsob Suarez Sumalag Demograpiko Toltolan Mga panluwas na takod PhilAtlas.com Philippine Standard Geographic Code Local Governance Performance Management System Mga banwaan kan Misamis Oriental
41,356
J_t8c9HOjBc_1
Youtube-Commons
Open Web
CC-By
null
Quieter notifications permissions
None
English
Spoken
1,550
1,826
Hi everyone. Thanks for joining. I'm PJ. I'm a product manager on the Chrome web platform team responsible for progressive web apps, notifications, and permissions. Today's talk is about quieter notification permission prompts and how recent changes to how Chrome handles notification permission requests can make browsing for the web a little better for everyone. There's also important information in here for developers who use notifications to help you improve your user experience, improve your notification accept rates, and to tell you about upcoming changes that will detect and flag abuse abuse of notification prompts or content. If you're not familiar with them, web notifications are a channel for communicating timely and contextually relevant information to the user. Mostly these work just like push notifications in mobile apps except they can also work on desktop, on Windows, Mac, as well as smartphones. On Android, for example, web notifications appear in the notification drawer and on desktop, they typically appear in the top right corner of the screen. In some cases, notifications aren't just helpful. They're almost essential to the app's functionality. For example, if you had an incoming call from a communication app, like Google Duo or chat, that's not something you want to know about later. You need to know about it right away. Of course, not everyone uses apps that require notifications, and not all websites are putting the needs of their users first. That means that we are seeing a lot of websites out there that are misusing notifications in ways that are annoying or could be abusive. Before we get into that, though, I want to talk about how users get enrolled in notifications. To receive web notifications, a user needs to accept a notification permission request. When websites prompt users out of context for a notification, such as when a user first arrives on the website, it can be a pretty annoying distraction, both from the browsing experience itself as well as from the website's content. Worse, some abusive websites look for ways to trick users into accepting notifications that are then used to promote malware or undesired content. I want to cover why we have notifications in the web platform in the first place in a little bit more depth. The web platform is there to enable web developers to create powerful applications, and web notifications are part of that toolkit. Without notification support, there would be entire types of apps that would be simply impossible to build using web technology. So, for example, messaging apps, calendars, e-commerce for food delivery notifiers, taxier ride-sharing apps, all dependent notifications to provide a timely tap on the shoulder to the user. And, well, you can imagine that some of these apps might be usable without notifications. You could see that most of the time, you're probably going to want one. We've also all equally experienced some of the misuse of notifications, though. That includes things like unwanted marketing, promotions, or content that just isn't very important or relevant to us at a given moment. To address this problem starting in Chrome 80 that was released in January of 2020, we started making changes to how these notifications requests work to help make browsing the web safer and less interruptive. We're going to get into that new UI in the next slide. In Chrome 80, we added quiet notifications UI. Quiet notification UI is less interruptive, but it still lets the users know that the request has been made. There's a little bit of animation to catch the eye, but on desktop, the dialogue is in the omni box, so it doesn't actually cover any part of the web content. On mobile, the notification prompt used to be a modal in normal UI, but in quiet UI, it's an easily dismissed info bar at the bottom of the screen. Quiet notification UI aims to reduce the visual priority and interruptiveness of notification requests. On desktop, which you're seeing in this example on the left, you'll notice the bell icon initially animates with text, indicating that notifications are blocked on the site. In mobile, the quiet UI is now an info bar. In both of these cases, in product help explains to the user why notifications were blocked on the site. Quiet notifications UI was created specifically to address the concerns I mentioned earlier in this talk. We receive frequent complaints from users in Chrome feedback about disruptive notification permission prompts or unwanted notifications. That being said, there are services with tens or hundreds of millions of users like messaging apps and calendars that are depending on timely web notifications every single day. Let's talk for a moment about how users get enrolled in quiet notification UI. There are several ways that this can happen. First, users could just enroll themselves manually by changing their preferences in Chrome settings. Second, sites that have very low accept rates for notification permission requests will be automatically enrolled in quiet notifications UI. And this is currently sites that have the lowest few percentile of notification accept rates. So the absolute rate needed for quiet notification UI does change over time because we are using percentiles. We'll also periodically increase the accept rate percentile that's needed to preserve normal notification UI. We always keep a control group of users that are in normal notification permission UI so that if a site's accept rates improve, we can remove it from quiet UI enforcement. Third, there are some users who almost never accept any notification permission request. These users simply don't want notifications. And for these users, we adaptively enable quiet notification mode on their behalf in Chrome settings if they repeatedly block notification requests. As sites improve their behavior and use of notification permission requests, we expect that there will be fewer and fewer users who are adaptively placed in quiet notification UI mode. Finally, and this is starting in Chrome 84, which is coming up soon, we're going to begin enforcing against abusive notification prompts that try to mislead users or phishing for private information or promoting malware. In this case, in addition to quiet notifications UI, the user is going to be advised in the notification prompt that the site may be trying to trick them. So what should you do to make sure your website is not enrolled in quiet notification UI? Well, first and foremost, if you're prompting users to enroll notifications as soon as they arrive on your website, please stop doing that. This is the easiest way to improve your notification accept rate. Very few users will accept a notification from a site they're visiting for the first time. And if you think about it, why would they? We're all experiencing information overload. Wait until you know your user better and you know you can add value for your user before you prompt them. You can and should prompt your user to accept notification when there's a clear user benefit and in the context of the user's journey in your application. Websites that ask for notification permission in the context where the benefit is clear to the user have 80% accept rates or higher. That should be your goal. Even if you do the best possible job with your notification prompt UX, it's possible that some of your users may be in quiet notification UI mode. So the first thing you want to check here is to make sure that the accept rates on your site are what you really expect them to be. Notification accept rate data is in the Chrome User Experience Report, which is a public database containing important information about real world Chrome metrics for popular destinations on the web. There's a minimum number of users and decisions that are required for data to be available in the Chrome User Experience Report, and that's to help with preserving visitor privacy. So if your site doesn't have data in the Chrome User Experience Report, you may need to get that information from somewhere else. For example, most notification service providers will have this instrumented so that you can check your accept rates. Or if you've rolled your own notification implementation, you may need to add your own instrumentation. It's also a good idea to look at the notification accept rates of sites that are like yours in the Chrome User Experience Report, so you can get a sense for what the benchmark accept rates are and aim to be better than those. The article linked here in the slide will give you more details about how to use the Chrome User Experience Data Set to learn more about user's notification permission prompt decisions on your website. So the second thing you need to think about is how can you make your notification requests more in context? I know I mentioned this before, but it bears repeating. You want to make absolutely sure that you're asking for notification permission at a moment in the user's journey that makes sense to them. In this example, we're showing a notification request the first time the user receives a response to their first chat. This is a perfect moment. Even with quiet notification UI, it should be obvious to the user why they would want to accept notifications.
3,802
https://sv.wikipedia.org/wiki/Heliophanus%20mucronatus
Wikipedia
Open Web
CC-By-SA
2,023
Heliophanus mucronatus
https://sv.wikipedia.org/w/index.php?title=Heliophanus mucronatus&action=history
Swedish
Spoken
30
66
Heliophanus mucronatus är en spindelart som beskrevs av Simon 1901. Heliophanus mucronatus ingår i släktet Heliophanus och familjen hoppspindlar. Inga underarter finns listade i Catalogue of Life. Källor Hoppspindlar mucronatus
2,290
https://ceb.wikipedia.org/wiki/Greenes%20Pond
Wikipedia
Open Web
CC-By-SA
2,023
Greenes Pond
https://ceb.wikipedia.org/w/index.php?title=Greenes Pond&action=history
Cebuano
Spoken
40
78
Ang Greenes Pond ngalan niining mga mosunod: Heyograpiya Tinipong Bansa Greenes Pond (tubiganan sa Tinipong Bansa, North Carolina), Bladen County, Greenes Pond (tubiganan sa Tinipong Bansa, Massachusetts), Worcester County, Pagklaro paghimo ni bot 2017-02 Pagklaro paghimo ni bot Tinipong Bansa
13,587
https://uk.wikipedia.org/wiki/%D0%A1%D0%BE%D1%87%D0%B8%D0%B2%D0%B5%D1%86%D1%8C
Wikipedia
Open Web
CC-By-SA
2,023
Сочивець
https://uk.wikipedia.org/w/index.php?title=Сочивець&action=history
Ukrainian
Spoken
24
107
Сочивець: Сочивець Валерія Юріївна ( 1992) — українська кінорежисерка, сценаристка та продюсерка. Сочивець Іван Йосипович (1917—2004) — український гуморист-прозаїк. Українські прізвища Прізвища на -ець
43,975
https://math.stackexchange.com/questions/2164978
StackExchange
Open Web
CC-By-SA
2,017
Stack Exchange
Fabio Somenzi, bof, https://math.stackexchange.com/users/111012, https://math.stackexchange.com/users/123852
English
Spoken
750
1,269
How many reflexive, symmetric, and antisymmetric relations are there on an n-element set? I believe the answer is 1, and here is my reasoning. I worked through the number of relations for each of the three relations separately. But when I found the number of both symmetric and anti-symmetric relations on an n-element set, this was the most useful. For this relation, I considered the $n$-element set as an $n \times n$ matrix. Therefore, there are $n^2$ entries total, $n$ entries on the main-diagonal, and $(n^2)-n$ non-diagonal entries. To be symmetric is to say that if $(a, b)$ is in $R$, then $(b, a)$ is also in $R$, where $a$ doesn't have to be equal to $b$. To be anti-symmetric is to say that if $(a, b)$ is in $R$ and $(b, a)$ is in $R$, then $a$ is equal to $b$. Now to be both symmetric and anti-symmetric is basically to just be anti-symmetric and say that if $(a, b)$ is in $R$ and $(b, a)$ is in $R$, then $a$ must be equal to $b$. Based off of these definitions, to be both symmetric and anti-symmetric, I split it into two steps. (1) The main-diagonal: Now the main-diagonal consists of the reflexive relations, and these can either be present (1) or empty (0). Therefore, there are 2 possible options for the main diagonal (or $n$ entries), and thus $2^n$ relations. (2) Non-diagonal entries: The non-diagonal entries can be thought of as being divided into two groups that are divided by the main-diagonal. I will call them the upper-triangular entries and lower-triangular entries. Now, for both symmetric and antisymmetric entries, the lower-triangular entries are fixed, in the sense that they are dependent on the upper-triangular entries. For example, if symmetric, and $(1, 2)$ is in $R$, then $(2, 1)$ has to also be in $R$. Therefore, we only need to concern ourselves with the upper-triangular entries, which is $((n^2)-n)/2$ entries in total. To fit the definition of being symmetric and anti-symmetric, there is only one possible option of the $3$ I will mention below: (a) $(a, b)$ is in $R$, but $(b, a)$ is not in $R$ $\Rightarrow$ Doesn't work: contradicts symmetry. (b) $(a, b)$ is not in $R$, but $(b, a)$ is in $R$ $\Rightarrow$ Doesn't work: same as for (a). (c) $(a, b)$ is not in $R$, and $(b, a)$ is not in $R$ $\Rightarrow$ This option works. Therefore, for non-diagonal entries, there is only one possible option for being both symmetric and antisymmetric, and thus the non-diagonal entries have a fixed value of 1. Thus, we only need to consider the main diagonal entries, which gives us the final value of having $2^n$ relations. Based off of what I just did above, if you were to add the fact that there are reflexive relations, then this would mean that the main-diagonal entries would all be included, and thus have a fixed-value of 1 as well. Therefore, I believe the final answer is that there is only 1 relation. Is my answer correct? I think it sounds pretty logical. Please let me know. And thank you for your time. $1$ is the correct answer. I don't have the time to read your incredibly long argument. Here is my argument. First, for $a,b\in X$ (the $n$-element set), $a=b\implies aRb$ by reflexivity. Second, if $aRb,$ then $bRa$ by symmetry, and then $a=b$ follows by antisymmetry, so $aRb\implies a=b.$ Thus, $aRb$ holds if and only if $a=b,$ in other words, $R={(a,b)\in X\times X: a=b},$ a unique set. Aside from some trivial mistakes ("thus the non-diagonal entries have a fixed value of 1," where you actually mean 0) your proof is based on the same idea as bof's or mine, just a lot longer. Part of the extra length comes from recalling definitions, but most of it comes from its getting lost in some irrelevant detail. Also note that your cases (a) and (b) are just one case. Yes, the identity relation, $I_n = \{(a,a) \mid 0 \leq a < n\}$, is the only reflexive, symmetric, and antisymmetric relation on $\{0,\ldots,n-1\}$. Clearly, any such relation must contain $I_n$; otherwise it's not reflexive. Suppose $R$ is reflexive, symmetric, antisymmetric, and a proper superset of $I_n$. Then there exists $(a,b) \in R$ such that $a \neq b$. By symmetry of $R$, $(b,a) \in R$ too, but then by antisymmetry of $R$, $a = b$ contradicting the assumption that $a \neq b$. Therefore the $R$ proper superset of $I_n$ we seek does not exist.
9,967
https://fr.wikipedia.org/wiki/G%C3%A9rard%20Bonnevie
Wikipedia
Open Web
CC-By-SA
2,023
Gérard Bonnevie
https://fr.wikipedia.org/w/index.php?title=Gérard Bonnevie&action=history
French
Spoken
363
630
Gérard Bonnevie, né le , est un skieur alpin français. Biographie Il est le fils de Jean Bonnevie (moniteur de ski) et Armandine Thérisod. La famille Bonnevie est une famille historique du village de Val d'Isère, avant l'implantation de la station de ski. Il intègre l'équipe de France en 1970. Le 23 février 1973 lors des championnats de France à La Foux d'Allos, il participe avec 18 membres de l'équipe de France, au mouvement de contestation contre la fédération française de ski. Le 26 février il est temporairement exclu de l'équipe de France avec huit de ses coéquipiers (dont son frère Michel). Le 9 mars, il est réintégré dans l'équipe. Cette contestation fait partie des éléments qui mèneront en décembre 1973 à l'invraisemblable exclusion définitive de 6 leaders du ski français (Jean-Noël Augert, Henri Duvillard, Roger Rossat-Mignod, Patrick Russel,Britt et sa sœur Ingrid Lafforgue). L'année suivante en 1974 , il termine au pied du podium des championnats du monde de slalom à Saint-Moritz en prenant une remarquable place. C'est de loin le meilleur résultat de l'équipe de France masculine pour cette édition, aucun autre coureur français n'entrant dans le top-10 d'une des épreuves. En 1976, il participe aux Jeux olympiques d'Innsbruck . Il dispute le slalom et abandonne dans la seconde manche après avoir obtenu la place de la première manche. En 1990, il est le principal conseiller de Bernhard Russi pour le tracé de la spectaculaire descente de la face de Bellevarde à Val d'Isère qui sera la piste des Jeux olympique de 1992. Hommage Un stade de slalom de Val d'Isère porte son nom. Palmarès Championnats du monde Jeux olympiques Classiques internationales Les résultats qui suivent ne sont qu'une vue très partielle de l'ensemble de ses performances. 1970 : Semaine internationale des Alpes vaudoises : du slalom et du slalom géant 1973 : Kranjska Gora : du slalom 1976 : Oberstaufen : du slalom Garmisch : du slalom Notes et références Articles annexes Meilleures performances françaises aux Championnats du monde de ski alpin Liens externes Skieur alpin français Naissance en février 1952 Skieur alpin aux Jeux olympiques d'hiver de 1972 Skieur alpin aux Jeux olympiques d'hiver de 1976 Naissance en Savoie
4,124
https://en.wikipedia.org/wiki/Jaros%C5%82aw%20Chwastek
Wikipedia
Open Web
CC-By-SA
2,023
Jarosław Chwastek
https://en.wikipedia.org/w/index.php?title=Jarosław Chwastek&action=history
English
Spoken
374
562
Jarosław Chwastek (born 3 June 1975) is a former footballer who played as a defender. Biography Chwastek started playing football with Gryf Polanów and later Gwardia Koszalin. Over the summer of 1995 Chwastek moved to London to go to a language school over the summer holidays, ending up spending the next year in the city washing windows and playing for the Heinz Ketchup factory's team. Chwastek was wanted by Hayes F.C. but would not have been able to get a work permit due to Poland not currently being in the EU at the time. To try and circumnavigate this club officials said they would provide an English woman for him to marry so he could apply for citizenship. Chwastek declined and decided to study at AWF University (University of Physical Education and Sport) in Gdańsk, where he joined Lechia Gdańsk as a result. During his first spell at Lechia Chwastek made 8 appearances in the league, scoring one goal. Chwastek performed well in the first half of the season and garnered interest from promotion chasing Pogoń Szczecin, whom he joined midway through the season. Pogoń finished second in the league at the end of the season, securing promotion to the I liga. Pogoń spent three seasons in the top division before being relegated with Chwastek making 50 appearances and scoring 2 top flight goals. After relegation Chwastek joined Lechia-Polonia Gdańsk, making 16 appearances for the club. This move was the first of short lived moves for Chwastek, not spending more than a season at a club for the rest of his career. Despite moves to TuS Celle in Germany and Widzew Łódź, most of the clubs he played for were in towns or cities located on the Baltic Sea coast, playing for; Chemik Police, Wybrzeże Rewalskie Rewal, Kotwica Kołobrzeg, Gwardia Koszalin, as well as the aforementioned Lechia Gdańsk and Pogoń Szczecin. Chwastek joined Gryf Polanów in 2010, the team he started his career with, initially choosing to retire with his local team growing up. He returned to playing football again in 2018 playing a season with Saturn Mielno. References 1975 births Lechia Gdańsk players Pogoń Szczecin players Polish men's footballers Men's association football defenders Living people People from Sławno Footballers from West Pomeranian Voivodeship
6,373
https://cy.wikipedia.org/wiki/Gobled/ffiol%20y%20coed
Wikipedia
Open Web
CC-By-SA
2,023
Gobled/ffiol y coed
https://cy.wikipedia.org/w/index.php?title=Gobled/ffiol y coed&action=history
Welsh
Spoken
166
446
Math a rhywogaeth o ffwng yn nheulu'r Tricholomataceae yw'r Gobled/ffiol y coed (Lladin: Pseudoclitocybe cyathiformis; Saesneg: Goblet). Mae'r teulu Tricholomataceae yn gorwedd o fewn urdd yr Agaricales. Mae'r rhywogaeth hon o ffwng i'w chael yn Ewrop a Gogledd America. Ffyngau Credir fod rhwng 2.2 a 3.8 miliwn o wahanol rywogaethau o ffwng, a'u bod yn perthyn yn nes at grwp yr anifeiliaid nag at blanhigion. Gelwir yr astudiaeth o ffwng yn "feicoleg", sy'n dod o'r Groeg μύκης (mykes) sef 'madarchen'. Mae tua 120,000 o'r rhain wedi'u disgrifio gan naturiaethwyr megis Carolus Linnaeus, Christiaan Hendrik Persoon ac Elias Magnus Fries. Oherwydd mai prin iawn yw gwybodaeth gwyddonwyr am y pwnc hwn, mae tacson y ffyngau'n newid o ddydd i ddydd. Credir bod oddeutu 20,000 o rywogaethau o ffyngau yng ngwledydd Prydain. Aelodau eraill o deulu'r Tricholomataceae Mae gan Gobled/ffiol y coed ambell aelod arall yn y teulu hwn, gan gynnwys y canlynol: Gweler hefyd Rhestr Goch yr IUCN Llên Natur Cyfeiriadau Agaricales Ffyngau Ewrop Ffyngau Gogledd America
41,042
https://mk.wikipedia.org/wiki/Ostariophysi
Wikipedia
Open Web
CC-By-SA
2,023
Ostariophysi
https://mk.wikipedia.org/w/index.php?title=Ostariophysi&action=history
Macedonian
Spoken
536
1,513
Ostariophysi — вториот најголем надред на зракоперки. Оваа нашироко распространета група содржи речиси околу 8000 видови, околу 28% од сите познати риби и 68% од сите слатководни видови. Тие споделуваат неколку заеднички одлики, како производство на алармна супстанца кога се во опасност и Веберов апарат. Некои видови се користат во исхраната, додека други за рекреација (спорт, аквариуми и сл.). Видовите од овој надред се присутни на сите континенти и поголеми копнени маси, освен на Антарктик, Гренланд и Нов Зеланд. Тука припаѓа најголемата слатководна риба, меконгскиот џиновски сом (Pangasianodon gigas), кој може да тежи и до 300 кг. Исто така, тука се наоѓаат и некои од најмалите риби, како Danionella translucida со само 12 mm во должина. Некои од овие риби се способни да дишат атмосферски воздух (од фамилијата Clariidae) или да живеат надвор од водата (Phreatobius cisternarum). Еден дел од претставниците можат да произведат електричество (Malapteruridae, Gymnotiformes). Систематика Овој надред е поделен на две серии - Anotophysi и Otophysi. Но, во постарата литература, Ostariophysi бил ограничен само на рибите кои сега се класифицираат како Otophysi. Името Otophysi е создадено во 1970, кога Роузен и Гринвуд се обиделе да ги одделат традиционалните Ostariophysi од додадените Gonorynchiformes. Систематиката на овој надред е следна: Серија Anotophysi Gonorynchiformes, со околу 37 вида Серија Otophysi (Euostariophysi) Cypriniformes, со околу 3,268 вида (ја содржи фамилијата Cyprinidae, најголемата фамилија на слатководни риби) Characiformes (пастрмкокраповите и нивните сродници), околу 1674 вида Siluriformes (сомови), со околу 1,727 вида Gymnotiformes (електрични јагули, америкаснки ножориби), со околу 173 вида (понекогаш се групираат како Siluriformes) Монофилијата на Ostariophysi е под сомневање со презентираните молекуларни докази. Gonorynchiformes се поблиски со Clupeiformes отколку со Otophysi. Возможно е дека Gonorynchiformes и Clupeiformes образуваат монофилетска група. Постојат докази и за тоа дека Clupeomorpha би можела да е сестринска група на Ostariophysi (во тој случај би постоел таксонот Ostarioclupeomorpha, познат и како Otocephala). Морфологија Повеќето видови имаат рибен меур (освен Gonorynchus). Тој обично е поделен на две комори. Помалата антериорна комора е делумно или целосно прекриена со сребренеста перитонеална туника. Поголемата постериорна комора може да е самалена или да отсуствува кај некои групи. Присутни се ситни, едноклеточни и боцкасти испапчувања на различните телесни делови, наречени ункули. Тие досега се сретнати само кај овој надред. Многу видови испуштаат во средината алармна супстанца кога се исплашени или повредени. По својата природа таа претставува феромон кој се создава во епидермалните клетки и е слична кај сите видови. Таа ги предупредува останатите единки за опасноста. Веберов апарат Една од поважните одлики на овие риби е Веберовиот апарат. На него се припишува заслужноста за успехот на овие риби. Се состои од групација на коски наречени Веберови осикули поредени во ланец. Тие го поврзуваат слушниот систем со рибниот меур преку Y-виден лимфен синус, кој се граничи со лимфните канали од левото и десното уво. Ова овозможува пренос на вибрации до внатрешното уво. Кај Anotophysi, првите три прешлени се специјализирани и поврзани со едно или повеќе цефалични ребра (примитивен Веберов апарат). Кај Otophysi, постои измена на предните четири или пет прешлени. Целосниот Веберов апарат се состои од рибниот меур, Веберовите осикули, дел од предните прешлени, како и од неколку мускули и лигаменти. Именуван е по германскиот анатом и физиолог Ернст Хајнрих Вебер кој прв ги опишал Веберовите осикули. Наводи Зракоперки
191
https://stackoverflow.com/questions/6796323
StackExchange
Open Web
CC-By-SA
2,011
Stack Exchange
Christos Karapapas, KORAY YENAL, fridiebmwb, https://stackoverflow.com/users/14865413, https://stackoverflow.com/users/14865414, https://stackoverflow.com/users/14865415, https://stackoverflow.com/users/14865913, https://stackoverflow.com/users/224260, https://stackoverflow.com/users/837438, jdmonty, magdan1urb, redoc.z
English
Spoken
241
431
Is there any alternative to carlosAg Excel XML Workbook Code Generator and FlexCel APIMate? Please HELP! carlosAg Code Generator works nice and it's free but destroys the text inside the cells, i guess because of incompatibility with Greek in which the xml is written. On the other hand FlexCel APIMate recognises Greek text but FlexCel library is not free.. Is there any other option for those who need to convert xls/xml to C# code ? OpenXML SDK is a good alternative http://blogs.msdn.com/b/erikaehrli/archive/2010/03/15/open-xml-sdk-2-0-rtm-articles-videos-code-snippets-and-resources-on-msdn.aspx http://msdn.microsoft.com/en-us/office/ee358824.aspx does OpenXML includes a tool that converts-generates C# code out of .xml file ? It has LINQ querying capabilities which should be robust enough for whatever data is needed from the sheet finally i used both openXml SDK and carlosAg on the same xml and the the openXml did produce twice as many code lines as carlosAg... i still donn't understand why carlosAg ruins the fonts the xml is saved in unicode format shouldn't this be enought for the library to recognise the greek letters ?... Besides the extra lines of coded, did OpenXML not jumble the greek letters? OpenXML and the APImate from Flexcel managed to recognice Greek... with CarlosAg still can't find a way to do it... i wouldn't search a solution but there are a lot of code lines.. even with carlosAg it's about 4.000 and with openxml almost 11.000 ...so change them one by one it's not a good idea.. any suggestions are welcome!!
37,028
https://it.wikipedia.org/wiki/Mesanthophora
Wikipedia
Open Web
CC-By-SA
2,023
Mesanthophora
https://it.wikipedia.org/w/index.php?title=Mesanthophora&action=history
Italian
Spoken
825
1,646
Mesanthophora Harold Ernest Robinson, 1992 è un genere di piante angiosperme dicotiledoni della famiglia delle Asteraceae. Etimologia Il nome scientifico del genere è stato definito per la prima volta dal botanico Harold Ernest Robinson (1932-2020) nella pubblicazione " Novon; a Journal for Botanical Nomenclature. St. Louis, MO" ( Novon 2(2): 172) del 1992. Descrizione Le specie di questa voce sono delle piante con un habitus erbaceo e con cicli biologici perenni. L'indumento è glabro. Gli organi interni di queste piante contengono lattoni sesquiterpenici. Le foglie lungo il caule sono disposte in modo alternato (per lo più sessili); sono inoltre brevemente decorrenti e auricolate. La forma è intera e più o meno lanceolata con margini interi. La superficie delle foglie è percorsa da venature di tipo pennato. La pagina inferiore è ricoperta da punti ghiandolosi. Le infiorescenze, disposte nel mezzo degli internodi, sono formate da diversi capolini sessili. I capolini sono composti da un involucro, in genere cilindrico, formato da circa 100 brattee embricate e disposte in circa 5 serie che fanno da protezione al ricettacolo sul quale s'inseriscono i fiori tubulosi. Le brattee dell'involucro sono persistenti; hanno forme lineari-lanceolate con portamento eretto-patente e apici acuti. Il ricettacolo, a protezione della base dei fiori, è nudo, ossia privo di pagliette. I fiori, da 90 a 100 per capolino, sono tetra-ciclici (ossia sono presenti 4 verticilli: calice – corolla – androceo – gineceo) e pentameri (ogni verticillo ha in genere 5 elementi). I fiori sono inoltre ermafroditi e actinomorfi (raramente possono essere zigomorfi). Formula fiorale: */x K , [C (5), A (5)], G 2 (infero), achenio Calice: i sepali del calice sono ridotti ad una coroncina di squame. Corolla: le corolle sono formate da un tubo terminante in 5 lobi; il colore varia da lavanda a bianco; la superficie può essere sia pubescente che glabra. I lobi possono essere riflessi. Androceo: gli stami sono 5 con filamenti liberi e distinti, mentre le antere sono saldate in un manicotto (o tubo) circondante lo stilo. Le antere, sagittate e sprovviste di ghiandole, hanno la base arrotondata; le appendici apicali in genere sono glabre e indurite (sclerificate). Il polline è triporato (con tre aperture di tipo isodiametrica o poro), echinato (con punte); in alcune piante la parte più esterna dell'esina è sollevata a forma di creste e depressioni (polline "lophato"). Gineceo: lo stilo è filiforme e provvisto di nodi. Gli stigmi dello stilo sono due divergenti con la superficie stigmatica posizionata internamente (vicino alla base). La pubescenza è del tipo a spazzola con peli appuntiti. L'ovario è infero uniloculare formato da 2 carpelli. I frutti sono degli acheni con pappo. Gli acheni, a forma oblunga-ovoide e con 8 - 10 coste, hanno la superficie scabra. All'interno si può trovare del tessuto di tipo idioblasto e rafidi allungati (o possono mancare); non è presente il tessuto tipo fitomelanina. Il pappo, pluriseriato, è formato da setole capillari decidue frammiste con squamelle (queste ultime sono persistenti). Biologia Impollinazione: l'impollinazione avviene tramite insetti (impollinazione entomogama tramite farfalle diurne e notturne). Riproduzione: la fecondazione avviene fondamentalmente tramite l'impollinazione dei fiori (vedi sopra). Dispersione: i semi (gli acheni) cadendo a terra sono successivamente dispersi soprattutto da insetti tipo formiche (disseminazione mirmecoria). In questo tipo di piante avviene anche un altro tipo di dispersione: zoocoria. Infatti gli uncini delle brattee dell'involucro si agganciano ai peli degli animali di passaggio disperdendo così anche su lunghe distanze i semi della pianta. Distribuzione e habitat Le specie di questo gruppo sono distribuite solamente nell'America Meridionale (Bolivia) e prediligono habitat più o meno subtropicali. Tassonomia La famiglia di appartenenza di questa voce (Asteraceae o Compositae, nomen conservandum) probabilmente originaria del Sud America, è la più numerosa del mondo vegetale, comprende oltre 23.000 specie distribuite su 1.535 generi, oppure 22.750 specie e 1.530 generi secondo altre fonti (una delle checklist più aggiornata elenca fino a 1.679 generi). La famiglia attualmente (2021) è divisa in 16 sottofamiglie. Filogenesi Le specie di questo gruppo appartengono alla sottotribù Lychnophorinae descritta all'interno della tribù Vernonieae Cass. della sottofamiglia Vernonioideae Lindl.. Questa classificazione è stata ottenuta ultimamente con le analisi del DNA delle varie specie del gruppo. Da un punto di vista filogenetico in base alle ultime analisi sul DNA la tribù Vernonieae è risultata divisa in due grandi cladi: Muovo Mondo e Vecchio Mondo. I generi di Mesanthophorinae appartengono al clade relativo all'America. In precedenza la tribù Vernonieae, e quindi la sottotribù (Mesanthophorinae) di questo genere, era descritta all'interno della sottofamiglia Cichorioideae. In particolare tutti i generi della sottotribù in passato erano descritti all'interno della sottotribù Erlangeinae. I caratteri distintivi per le specie di questo genere ( Mesanthophora) sono: l'indumento delle piante è glabro; i capolini sono peduncolati e inseriti nel mezzo degli internodi; le foglie hanno delle basi sessili e auricolate. Elenco delle specie Questo genere ha 2 specie: Mesanthophora brunneri H.Rob. Mesanthophora rojasii (Cabrera) H.Rob. Note Bibliografia Voci correlate Generi di Asteraceae Altri progetti Collegamenti esterni Mesanthophora Royal Botanic Gardens KEW - Database Vernonioideae
32,253
https://en.wikipedia.org/wiki/Paul%20Brears
Wikipedia
Open Web
CC-By-SA
2,023
Paul Brears
https://en.wikipedia.org/w/index.php?title=Paul Brears&action=history
English
Spoken
38
72
Paul Brears (born 25 September 1954) is a former English footballer who played as a midfielder. References 1954 births Living people English men's footballers Men's association football midfielders Rochdale A.F.C. players English Football League players Footballers from Oldham
16,321
https://nl.wikipedia.org/wiki/Kruislaanbrug
Wikipedia
Open Web
CC-By-SA
2,023
Kruislaanbrug
https://nl.wikipedia.org/w/index.php?title=Kruislaanbrug&action=history
Dutch
Spoken
554
959
De Kruislaanbrug (brug 458) is een kunstwerk in Amsterdam-Oost. Alhoewel genummerd als brug, is het een viaduct of tunnel afhankelijk van het gezichtspunt. Het bouwwerk overspant de Kruislaan en is gelegen in de Gooiseweg. De Gooiseweg deelt de Kruislaan in tweeën, aan beide kanten is de Kruislaan geschikt voor al het verkeer, maar ter plaatse van het viaduct is ze alleen toegankelijk voor langzaam verkeer. De wens voor een weg tussen Amsterdam en Het Gooi dateert al vanaf de jaren dertig van de 20e eeuw, een definitief besluit volgde 30 maart 1938. Door de Tweede Wereldoorlog werd alles op de lange baan geschoven. Pas in de jaren vijftig werd er vervolgactie ondernomen. Daartoe moest het originele ontwerp in verband met het toename van autogebruik geheel op de schop. In 1956/1957 werd een begin gemaakt met de aanleg van een dijklichaam, die deze (toekomstige) snelweg moest dragen. In april 1957 was er tot aan de Hugo de Vrieslaan al zoveel zand geplaatst dat het mogelijk was daar aan Hugo de Vriesbrug te kunnen beginnen. Echter het Rijk had een bestedingsstop afgekondigd, zodat nog wel zand kon worden bijgestort, maar van bouwwerkzaamheden kon geen sprake zijn. De gemeente Amsterdam kreeg de financiering door die bestedingsstop niet rond. Een totaalpakket van circa 40 miljoen voor bouwwerken was te veel van het goede. In september 1958 vond de Dienst der Publieke Werken wel de mogelijkheid om voor een bedrag van 10 miljoen gulden aan een elftal bruggen te kunnen bouwen/herstellen waarvan vier in de Gooiseweg (Kamerlingh Onnesbrug, Hugo de Vriesbrug, brug 460 en Kruislaanbrug), maar ook het enorme viaduct (toen grootste brug van de stad) brug 705. De kosten waren inmiddels wel opgelopen tot 350.000 gulden. De breedte van de tunnel zou 6,50 meter bedragen. In december 1959 was het bouwwerk grotendeels voltooid zodat geschat werd dat in de zomer van 1960 het traject Gooiseweg geopend kon worden. Op 2 mei 1960 werd de noordelijk rijbaan van die weg opengesteld voor verkeer (zij diende een aantal maanden als tweerichtingenweg). Er lag een drie kilometer lange nieuwe weg tussen het Prins Bernhardplein (toen nog Mr. Treubplein) en de Harteveldsebrug. De opening werd verricht door wethouder Publieke Werken Goos van 't Tull. Het ontwerp zou zijn van de Amsterdamse Publieke Werken, de specifieke ontwerper is vooralsnog onbekend. De ontwerper liet een voor de tunnel strak rechthoekig model bouwen. De “landhoofden” zijn echter glooiend en betegeld uitgevoerd. De weg maakte een onderdeel uit van een geplande doorgaande route (de Ringweg Amsterdam was er nog niet) tussen Het Gooi en Noord-Holland boven het IJ via de dan nog te bouwen IJtunnel. De opening van de gehele Gooiseweg leverde de jaren daarop direct verkeersproblemen op. Door werkzaamheden aan de Wibautstraat en Weesperstraat moest bijna alle verkeer naar en van de Gooiseweg over de Berlagebrug, die daarop niet berekend was. Het kunstwerk ging vanaf de opening naamloos door het leven. Op 8 december 2017 publiceerde de gemeente Amsterdam een lijst met vernoemingen van bouwwerken voor opname in de Basisregistraties Adressen en Gebouwen. Het ging toen om objecten in en over snelwegen in en om Amsterdam. De brug werd toen direct vernoemd naar de weg die ze overspant de Kruislaan en die werd zo genoemd omdat zij de Watergraafsmeer doorkruiste en dwars stond op de belangrijkste weg (toen en nu), de Middenweg. Brug in Amsterdam-Oost
13,129
https://ce.wikipedia.org/wiki/%D0%9A%D0%B8%D1%80%D0%B0%D0%B7%D0%BB%D0%B8%D0%B9%D0%B0%D0%B9%D0%BB%D0%B0%20%28%D0%99%D0%B5%D0%BD%D0%B8%D1%88%D0%B5%D1%85%D3%80%D0%B8%D1%80%29
Wikipedia
Open Web
CC-By-SA
2,023
Киразлийайла (ЙенишехӀир)
https://ce.wikipedia.org/w/index.php?title=Киразлийайла (ЙенишехӀир)&action=history
Chechen
Spoken
40
177
Киразлийайла () — Туркойчоьнан Мармаран хӀордан регионан Бурса провинцин (ил) ЙенишехӀирнан кӀоштара эвла/микрокӀошт (). Географи Истори Бахархой Билгалдахарш Хьажоргаш Бурса провинцин нах беха меттигаш Бурса провинцин микрокӀошташ ЙенишехӀирнан микрокӀошташ ЙенишехӀирнан кӀоштан нах беха меттигаш Туркойчоьнан микрокӀошташ Туркойчоьнан нах беха меттигаш
21,675
https://es.wikipedia.org/wiki/Terremoto%20de%20Vallenar%20de%202013
Wikipedia
Open Web
CC-By-SA
2,023
Terremoto de Vallenar de 2013
https://es.wikipedia.org/w/index.php?title=Terremoto de Vallenar de 2013&action=history
Spanish
Spoken
722
1,280
El terremoto de Vallenar de 2013 fue un sismo ocurrido a las 17:15 hora local del día miércoles 30 de enero de 2013. Tuvo una magnitud de 6,7 MW, y se percibió en las regiones chilenas de Antofagasta, Atacama, Coquimbo, Valparaíso, Metropolitana de Santiago, O'Higgins y Maule, y en las provincias argentinas de La Rioja, San Juan, Mendoza, Córdoba, Catamarca y Tucumán. Su epicentro se localizó a 46 kilómetros al noroeste de Huasco y a 56 kilómetros al nornoroeste de Vallenar, en tanto que su hipocentro se ubicó a 52,2 kilómetros de profundidad bajo la corteza terrestre. Tanto el Servicio Hidrográfico y Oceanográfico de la Armada de Chile como el Centro de Alerta de Tsunamis del Pacífico evaluaron que el sismo no reunía las condiciones necesarias para generar un tsunami destructivo en las costas chilenas ni en la cuenca del Pacífico, pero algunos expertos, como el geógrafo chileno Marcelo Lagos, no descartaron la ocurrencia de un «tsunami centimétrico» en las costas de la Región de Atacama. Geología El terremoto ocurrió en el borde convergente (de tipo oceánico-continental) de la costa pacífica de América del Sur, donde la placa de Nazca deriva hacia el este a razón de 68 milímetros por año, y colisiona con la placa Sudamericana que deriva hacia el oeste. Al proceso de subducción resultante, que ocurre permanentemente a lo largo de la fosa de Chile y Perú, debe su existencia la cordillera de los Andes, como así también la ocurrencia de los terremotos más fuertes registrados en Chile y el mundo, tales como el terremoto de 2010, de magnitud 8,8 MW, el terremoto de 1868, de magnitud 9,0 MW, y el terremoto de 1960, el que con una magnitud de 9,5 MW es el mayor registrado en la historia de la humanidad. El último evento de consideración ocurrido en la zona fue el terremoto de Vallenar de 1922, el día 10 de noviembre de ese año con una magnitud de 8,6 MW, por lo que este terremoto ocurrió en una región de relativo silencio sísmico. Intensidades Tanto el Centro Sismológico Nacional de Chile como el Instituto Nacional de Prevención Sísmica de Argentina informaron perceptibilidad del sismo en sus respectivos territorios. Las intensidades a continuación están expresadas en la escala sismológica de Mercalli. Consecuencias Según medios locales, el sismo fue precedido por un fuerte ruido subterráneo y se sintieron dos intensas sacudidas. Pese a que los organismos gubernamentales no emitieron una alarma de tsunami, miles de personas que se encontraban en el litoral evacuaron preventivamente a zonas de seguridad instantes después de ocurrido el terremoto. Se registraron cortes parciales de suministro eléctrico y agua potable en Copiapó, Tierra Amarilla y Huasco, que afectaron a cerca de 20 mil personas. Durante las dos horas posteriores al sismo, los servicios de telefonía móvil, fija y mensajería vía SMS presentaron niveles de congestión de diversa consideración, en tanto que los cortes de electricidad obligaron a las compañías de telecomunicaciones a usar alimentación de emergencia para garantizar la continuidad de los servicios. En general, los daños estructurales fueron menores. En Copiapó, varios edificios institucionales sufrieron daños, tales como el edificio de la municipalidad y el Hospital Regional, mientras que en Vallenar se evidenciaron caídas de murallas y desprendimiento de cornisas. En total, 86 viviendas quedaron inhabitables en la zona, la mayoría de ellas hecha de adobe. En cuanto a conectividad, una serie de rodados bloqueó caminos secundarios en la zona afectada. El alcalde de Vallenar, Cristián Tapia, reportó un derrumbe en el acceso norte de la comuna, mientras que el Director Regional de ONEMI Atacama, Mauricio Maturana, informó el corte de un pequeño tramo de la ruta costera del Parque Llanos de Challe, que une Huasco con Copiapó. Por su parte, la Red Nacional de Emergencia reportó derrumbes en el kilómetro 580 de la Ruta 5 Norte. La situación más grave se produjo en la Ruta C48, cerca del Embalse Santa Juana, donde los deslizamientos de tierra cortaron parcialmente el camino por 20 kilómetros. También se confirmó el fallecimiento de una mujer de 50 años, oriunda de Copiapó, a causa de un paro cardiorrespiratorio, y un total de 11 lesionados. Véase también Anexo:Terremotos en Chile Terremoto de Chile de 2010 Terremoto de Vallenar de 1922 Referencias Enlaces externos Vallenar de 2013 Terremotos de 2013 Chile en 2013 Desastres naturales en la Región de Atacama
48,084
https://webapps.stackexchange.com/questions/66091
StackExchange
Open Web
CC-By-SA
2,014
Stack Exchange
Ana Phillips, Andreea Popa, Couvreur Toulon 83, KetoUltraDietNatural, Lutfi Creativesys, Ojo-Femi Oma-Victor, Paï Tgnpż, Spammer, asamjuriya, https://webapps.stackexchange.com/users/200651, https://webapps.stackexchange.com/users/200652, https://webapps.stackexchange.com/users/200653, https://webapps.stackexchange.com/users/200718, https://webapps.stackexchange.com/users/200788, https://webapps.stackexchange.com/users/292993, https://webapps.stackexchange.com/users/296537, https://webapps.stackexchange.com/users/301312, https://webapps.stackexchange.com/users/305261, https://webapps.stackexchange.com/users/309119, https://webapps.stackexchange.com/users/312950, sigmapi13, Âdriýana Xéfâ
English
Spoken
121
192
How to verify if emails have been received through Google Apps? I am new to Google Apps. Our domain has MX records pointing to Google Apps but I have not been receiving some emails in Gmail sent from the server. Where do I check to see if the emails have been received? Is there a log record in Google Apps? Super administrators of Google Apps for Work, for Education, for Government and Unlimited editions could use the Email Log. See https://support.google.com/a/answer/2604578?hl=en for further details. By the other hand, the Google Apps Toolbox could be used to check several issues. See https://support.google.com/a/answer/2520136?hl=en. On the end user side, users could use the following Gmail troubleshooter: An incoming message was delayed or hasn’t arrived
4,204
https://stackoverflow.com/questions/58085586
StackExchange
Open Web
CC-By-SA
2,019
Stack Exchange
Barmar, MyNameIsCaleb, ajburnett344, https://stackoverflow.com/users/10366273, https://stackoverflow.com/users/11056926, https://stackoverflow.com/users/1491895
English
Spoken
575
1,554
Query Table and Get Values Based on Conditional Statement I am querying a table to get two values (yesterday_cy_day,yesterday_cy_day2). I also have another conditional statement under it to get "yesterday_cy_day". What i want to do is: If yesterdays date falls in any value in the list "extrareaddays" then run the first if statement. If the date is not in the list then run the second if statement below. What i Tried: I tried to put the second block of code in an else statement but they both ran. First code: for extrareadday in extrareaddays: if extrareadday in extrareadayday_date: for col, col2 in zip(extra_read_day1, extra_read_day2): yesterday_cy_day = col[8] yesterday_cy_day2 = col2[8] print("Saturday was an extra read day. We are going to use cycle days:", yesterday_cy_day, yesterday_cy_day2) second code: for col, col2 in zip(yesterday, friday): yesterday_cy_day = col[8] friday_cy_day = col2[8] if today_day == 'Monday' and today_day in col[18]: yesterday_cy_day = friday_cy_day print("Today is Monday so we will use Friday's cycle day") else: yesterday_cy_day = col[8] print("Today is not a monday so we will use yesterdays cycle day") full code: extrareaddays = ['2019-09-21', '2019-09-30', '2019-11-02', '2019-11-30', '2019-12-21'] # Format extra read day date as YYYY_MM-DD extrareadayday_date = date.today() - timedelta(days=3) extrareadayday_date = extrareadayday_date.strftime("%Y-%m-%d") yesterday_date = date.today() - timedelta(days=1) yesterday_date = yesterday_date.strftime("%Y-%m-%d") print(yesterday_date) friday_date = date.today() - timedelta(days=4) friday_date = friday_date.strftime("%Y-%m-%d") today_day = date.today() today_day = today_day.strftime('%A') yesterday_gregorian_q = """SELECT * FROM table WHERE to_char(GREGORIAN_DATE, 'YYYY-MM-DD') = '{}'""".format(yesterday_date) mdwcursor.execute(yesterday_gregorian_q) friday_gregorian_q = """SELECT * FROM table WHERE to_char(GREGORIAN_DATE, 'YYYY-MM-DD') = '{}'""".format(friday_date) mdwcursor2.execute(friday_gregorian_q) yesterday_cy_date = date.today() - timedelta(days=18) yesterday_cy_date2 = date.today() - timedelta(days=17) extra_read_day_gregorian_q = """SELECT * FROM table WHERE to_char(GREGORIAN_DATE, 'YYYY-MM-DD') = '{}'""".format(yesterday_cy_date) extra_read_day_gregorian_q2 = """SELECT * FROM table WHERE to_char(GREGORIAN_DATE, 'YYYY-MM-DD') = '{}'""".format(yesterday_cy_date2) yesterday = mdwcursor.fetchall() friday = mdwcursor2.fetchall() extra_read_day1 = mdwcursor3.execute(extra_read_day_gregorian_q) extra_read_day2 = mdwcursor4.execute(extra_read_day_gregorian_q2) for extrareadday in extrareaddays: if extrareadday in extrareadayday_date: for col, col2 in zip(extra_read_day1, extra_read_day2): yesterday_cy_day = col[8] yesterday_cy_day2 = col2[8] print("Saturday was an extra read day. We are going to use cycle days:", yesterday_cy_day, yesterday_cy_day2) for col, col2 in zip(yesterday, friday): yesterday_cy_day = col[8] friday_cy_day = col2[8] if today_day == 'Monday' and today_day in col[18]: yesterday_cy_day = friday_cy_day print("Today is Monday so we will use Friday's cycle day") else: yesterday_cy_day = col[8] print("Today is not a monday so we will use yesterdays cycle day") Can you give us the example inputs and outputs? I don't quite understand what you are trying to do. It seems like it should be a simple if else Don't use .format() to substitute into the SQL. Use parameters that cursor.execute() replaces. @MyNameIsCaleb I am iterating through extrareaddays list. If the date is in the list then execute the first block of code. If it is not in the list then execute the second block of code. I didn't rewrite all of your code but I blocked out how it should look for what you are trying to do as an answer. Let me know if you still don't understand how it should work. @ajburnett344 Your primary code should look something like this calling to functions: for each_date in extrareaddays: if each_date in extrareadayday_date: first_thing(each_date) else: second_thing(each_date) Now you'll need to define the functions above that as well, so: def first_thing(each_date): # the code you want to do for the first thing would be here # access the date for this loop using `each_date` def second_thing(each_date): # the code you want to do for the second thing would be here # access the date for this loop using `each_date`
16,001
https://ru.wikipedia.org/wiki/%D0%9A%D0%B8%D1%81%D0%B5%D0%BB%D1%91%D0%B2%D0%BE%20%D0%91%D0%BE%D0%BB%D1%8C%D1%88%D0%BE%D0%B5
Wikipedia
Open Web
CC-By-SA
2,023
Киселёво Большое
https://ru.wikipedia.org/w/index.php?title=Киселёво Большое&action=history
Russian
Spoken
157
457
Киселёво Большое — деревня в Юрьевецком районе Ивановской области России. Входит в состав Михайловского сельского поселения. География Деревня расположена в северо-восточной части Ивановской области, в зоне хвойно-широколиственных лесов, на левом берегу реки Паж, вблизи места впадения её в реку Ёлнать, к востоку от автодороги , на расстоянии примерно 22 километров (по прямой) к юго-западу от города Юрьевца, административного центра района. Абсолютная высота — 90 метров над уровнем моря. Климат Климат характеризуется как умеренно континентальный, с умеренно холодной снежной зимой и относительно тёплым влажным летом. Среднегодовая температура воздуха — 2,6 °C. Средняя температура воздуха самого холодного месяца (января) — −12,1 °C; самого тёплого месяца (июля) — 17,7 °C. Безморозный период длится около 137 дней. Годовое количество атмосферных осадков — 554 мм, из которых 391 мм выпадает в период с апреля по октябрь. Часовой пояс Население Национальный состав Согласно результатам переписи 2002 года, в национальной структуре населения русские составляли 100 % из 4 чел. Примечания Населённые пункты Юрьевецкого района
45,408
https://stackoverflow.com/questions/18221507
StackExchange
Open Web
CC-By-SA
2,013
Stack Exchange
Mathieu Guindon, Vaughan Hilts, https://stackoverflow.com/users/1188513, https://stackoverflow.com/users/1554844
English
Spoken
616
978
How to store variable 2D array via Entity Framework? I have a 2D array of values that can range in size (although, I can make a large, fixed size if needed) that I want to store in a database. Can anyone tell me the best way to do this? Why not map each dimension to a column/property, and have another for the value? @retailcoder I'm a database rookie - so I don't really understand how I could do this. Could you elaborate? I'm using something like EF to keep persistance work to a minimum. To me a 2D array sounds like (x,y) = somevalue. So I'm thinking of something simple, something like this (assuming somevalue is an int): public interface IArrayValueEntity { int ArrayIndexX { get; set; } int ArrayIndexY { get; set; } int Value { get; set; } } The entity type implements it like this (or you can have just the implementation if you prefer): public class ArrayValue : IArrayValueEntity { public int ArrayIndexX { get; set; } public int ArrayIndexY { get; set; } public int Value { get; set; } } Then you can make ArrayIndexX and ArrayIndexY be entity's primary key (and have EF enforce uniqueness of combinations of these two values) in overriding the OnModelCreating method of your DbContext if you're going code-first. public class MyDbContext : DbContext { public IDbSet<ArrayValue> ArrayValues { get; set; } protected override void OnModelCreating(DbModelBuilder modelBuilder) { // there are several options here... } } If you don't have the database from the start, EF can create it for you (and will by default, if I'm not mistaken), based on how you configure your entities. And then you can have a service that gets you a value for a given (x,y) key, and/or another that gets you... your 2D array back. EDIT To address the 2D array being "part of" a map entity, you merely need to define navigation properties - if you want you can also define a foreign key property: public class Map : IMapEntity { public int Id { get; set; } // primary key public string Description { get; set; } public DateTime DateCreated { get; set; } public DateTime? DateUpdated { get; set; } // Navigation property on the "one" side (note "virtual ICollection") public virtual ICollection<ArrayValue> ArrayValues { get; set; } } public class ArrayValue : IArrayValueEntity { public int ArrayIndexX { get; set; } public int ArrayIndexY { get; set; } public int Value { get; set; } // FK property //public int MapId { get; set; } // Navigation property on the "many" side (note "virtual") public virtual Map Map { get; set; } } Using the modelBuilder in OnModelCreating or attributes decorating the entity class members, you then configure those relationships: modelBuilder.Entity<Map>().HasMany(e => e.ArrayValues) .WithRequired(e => e.Map); This looks like it's what I'd need - how would one attach the actual object to an another? Just make it a property and then map that property accordingly? The mapping is kinda automagical - it just works (column names are after your property names, tables after your classes, etc.). Not sure I understand your question though; what do you mean "attach"? Sorry - I have a 2D class called "Map", with a 2D array of these values. I assume I just need to attach an ArrayValue to this class, and things should just work? I think I'd need to see this "Map" class to tell for sure... but if "Map" is also an entity with a "one map, many coordinates" relationship with the "ArrayValues" dbset then I'll edit my answer. Yeah, it's just a POCO that is supposed to contain 'many array values'. Think... like a grid.
25,808
https://zh.wikipedia.org/wiki/%E6%96%BD%E7%88%B6
Wikipedia
Open Web
CC-By-SA
2,023
施父
https://zh.wikipedia.org/w/index.php?title=施父&action=history
Chinese
Spoken
8
230
施父(),姬姓,名尾,字施父,魯惠公之子,魯隱公和魯桓公的兄弟。 生平 前703年冬季,曹國的太子射姑來朝見鲁桓公,鲁国设享礼招待曹太子。首先献酒,接着奏乐,曹太子就叹气。施父說:「曹国太子恐怕会有什么忧心事吧?因为这里不是叹息的地方。」結果第二年春季曹桓公便過世,太子射姑即位,是為曹莊公。 评价 ·《汉书·古今人表》:中中 参考资料 春秋人 姬姓
30,241
https://pt.wikipedia.org/wiki/Wurmannsquick
Wikipedia
Open Web
CC-By-SA
2,023
Wurmannsquick
https://pt.wikipedia.org/w/index.php?title=Wurmannsquick&action=history
Portuguese
Spoken
31
65
Wurmannsquick é um município da Alemanha, situado no distrito de Rottal-Inn, no estado da Baviera. Tem de área, e sua população em 2019 foi estimada em 3.520 habitantes. Municípios da Baviera
4,147
https://stackoverflow.com/questions/70852823
StackExchange
Open Web
CC-By-SA
2,022
Stack Exchange
English
Spoken
147
199
Allow specific user roles to log into WordPress site I built up a membership site and i want only user can login if they have any of these user roles: administrator, tutor_instructor and club_members. Could you please advise. Thank you. The easiest way would be to use a custom code snippet or plugin with some custom code. During the login process check the user role and redirect/logout. Flow Login > Check user role > If correct > redirect to membership page > else logout and redirect to membership sign up?. Though ideally, you shouldn't have any users signed up without the correct roles anyway. You could try using what's available on the plugin repository. User Role Redirect Use a Wordpress Function Role Login If the plugin does not work, a small functions.php snippet should do the job (try clicking the first 10 links in that second bullet).
37,568
https://fa.wikipedia.org/wiki/%D9%81%D9%87%D8%B1%D8%B3%D8%AA%20%D9%85%D9%86%D8%A7%D8%B7%D9%82%20%D9%85%D8%B3%DA%A9%D9%88%D9%86%DB%8C%20%D8%A7%D8%B3%D8%AA%D8%A7%D9%86%20%D8%A7%D9%84%D8%A8%D8%B1%D8%B2
Wikipedia
Open Web
CC-By-SA
2,023
فهرست مناطق مسکونی استان البرز
https://fa.wikipedia.org/w/index.php?title=فهرست مناطق مسکونی استان البرز&action=history
Persian
Spoken
887
2,445
در زیر فهرستی از شهرها، شهرک‌ها و روستاهای استان البرز بر اساس حروف الفبا آمده‌است: بر اساس حروف الفبا نام شهرها به صورت پررنگ درآمده است. بقیه روستا یا شهرک هستند. الف ابهرک | ابصار | آدران | آغشت | اغچه حصار | احمدآباد اعتماد الدوله | احمدآباد مصدق | اهوارک | آئین کلایه | آجین دوجین | امین آباد | امیرنان | انبار تپه | آنگه | اقدسیه | | آران | ارنگه | آردهه | آردکان | آرموت | آرتون | آسارا | آسکان | آسیاب برجی | اسفاران | آسیاب‌درگاه | اسکول‌دره | آتشگاه | آوانک | اویزر | ایگان | آزادبر | ازبکی | ازنق | اغلان تپه | اوچان | اورازان | ایپک | ایقربلاغ ابراهیم‌بیگی | ابراهیم‌آباد | امام‌چشمه | اقبالیه | اشتهارد | اسمعیل‌آباد شورقلعه بالا | اسمعیل‌آباد شورقلعه پایین | اسماعیل‌آباد | اسلام‌آباد | امیدی ب باغبان کلاچی | باغ پیر | بختیار | بانو صحرا | برغان | باریکان | بریان چال | بزج | بیسیم کمال‌آباد | باغستان پ پلنگ آباد | پاراچان | پرگه | پل خواب | پرده سر | پورکان ت تکیه ارموت | تکیه ناوه | تنکمان | تأسیسات سد امیرکبیر | تکیه سپهسالار | تلمبه‌خانه شرکت نفت ج جعفرآباد | جارو | جزن | جی | جوستان | جزینان | جوراب | جهانشهر چ چهارباغ | چلنگدار | چاران | چگینی ح حاجی بیک | حاجی‌آباد | حسن بکول | حسنجون | حسن‌آباد | حسن‌آباد | حسن‌آباد مجدالدوله | حسن‌کدر | هشان | حصیران | حسین‌آباد | حسین‌آباد کوشکذر | حاجی‌آباد | حصار | حیدرآباد کرج خ خچیره | خسبان | خیرآباد | خیکان | خرم‌آباد | خسروآباد | خور (کرج) | خور (ساوجبلاغ) | خوروین | خوزنکلا | خوارس | خودکاوند | خوران | خورانک د دنبلید | دنگیزک | درده | دروان | دهدر | دهکده طالقانی | درا پی | درخشانیه | دیزان | دوخانواری | دولت‌آباد | دوزعنبر ر رامجین | ری زمین | رضاآباد | رضاآباد صوفیان | روشنابدر | رونده ز زعفرانیه | زکی آباد | زیدشت س صفاج خانی | صفر خواجه | ساگران | ساگران چال | سعیدآباد | سنگبن | سنج | سر زیارت | سرک | سرودار | سفیداران | سفیدارک | صحت آباد | سپیددشت | سیف آباد بزرگ | سیف آباد خالصه | سیدآباد | شاه بداغ | سیاه کلان | سیاه‌کران | سیبان‌دره | سیب‌ستان | سیجان | سیرا | سیرود | سلطان آباد | سلطان آباد آران | سنقرآباد | سرحه | سرخاب | سرخه‌دره | سوهان ش شهرک مرکز تحقیقات منطقه البرز | شهرک معاونت آب و خاک جهاد کشاورزی | شهرک مرکز خاک‌شناسی و حاصلخیزی خاک | شهرک افشاریه | شهرک الهیه | شهرک مهندسی زراعی | شهرک صنعتی اشتهارد | شهرک طالقانی | شهراسر | شهر جدید هشتگرد | شهرستانک | شلمزار | شلنک | شنده | شیخ حسن | شهرک مرکز اصلاح نژاد و بهبود شیر | شهرک نهال و بذر | شاهین ویلا | شهرک مرکز آموزش مهندسی رزمی | شرکت درفشان ط طاووسیه |طالقان | طالیان ع عباس‌آباد بزرگ | عباس‌آباد کوچک | عبدل آباد | علی سید | علی‌آباد گونه | علاقبند | عالی‌سر | عرب آباد | عرب آباد خسروی | عظیمیه ف فردآباد | فرخ‌آباد | فشندک | فتح‌آباد | فیروزآباد | فردیس ق قلعه آذری | قلعه روستائی | قلعه شیخ | قنبرآباد | قانلی بلاغ | قره قباد | قارپوزآباد (صالحیه) | قاسم‌آباد آقا | قاسم‌آباد بزرگ | قاسم‌آباد گرجی | قاسم‌آباد کوچک | قبچاق | قشلاق دیلار | قشلاق گونگ | قشلاق محمدلو | قزل حصار کرج | قزل حصار | قوزلو | قوهه ک کهریزک | کجیران | کلانک | کلها | کالینرود | کله بهرام | کالوان | کمال‌شهر | کرج | کرگلین | کریم آباد | کرکبود | کرود | کش رود | کش | کاظم‌آباد | کلارود | کیا محله | کیاسر | کیاسرلات | کهنه ده | کلاله چین | کندور | کردان | کوهسار | کوین علیا | کولج | کوشکک | کوشک بالا | کوشک زار | کوی بهروز | کوی کارمندان جنوبی | کیانمهر گ گچسر | گلینک | گلیرد | گر آب | گرماب | گرمدره | گشنادر | گسیل | گته ده | گازر سنگ | گل دره | گلستانک | گلسار | گوران | گوهردشت ل لاهران | لانیز | لشکرآباد | لیلستان م مغرورآباد | ماهدشت | محمودآباد | ملک فالیز | ملک‌آباد حمام‌لو | منگلان | مرجان | مسعودیه | مهدی‌آباد | مهدی‌آباد | مهران | مشکین دشت | میدانک | میناوند | ایستگاه فضایی میر | میراش | محمدآباد | محمدآباد افخم الدوله | محمدآباد افشار | محمدشهر | محسن آباد | مختارآباد | مراد تپه | مرغک ۱ | موچان | مورود | مرکز شهر کرج | مهرشهر | مزرعه گزل دره ن نجم‌آباد | نمکلان | ناریان | ناصرآباد | نشترود | نویزک | نظرآباد | نکوجار | نسا | نسا علیا | نساء سفلی | نصرت آباد | نویز علیا | نوکند | نوجان | نهالستان و وله | ولیان | ومکوه | وارنگه رود | ورده | واریان | ورکش | ورزن | وشته | وایه بک | ولایت رود | وینه ه هلجرد | همه جا | هرنج | هرجاب | همت‌آباد | هیو | هشتگرد ی یعقوب آباد | یمن جلوق | ینگی امام پانویس منابع فهرست‌های مرتبط با جغرافیای ایران مناطق مسکونی در استان البرز
44,492
https://stackoverflow.com/questions/18144444
StackExchange
Open Web
CC-By-SA
2,013
Stack Exchange
English
Spoken
170
221
Android text on image I am working on an android app and i am trying to achive the same functionality as seen here place text ontop of picture and on 0:43 - 0:50 the more text added the smaller it gets, anyone has an idea or guidance? In this video is the example of the functionality i am trying to achieve Btw I thought about placing textview on imageview than programatically "print screen" the view - is that possible? Tnx in advance I need to know if its possible to take a "print screen" of a layout programatically than export it to an image file ... If you want an image of a View try using getDrawingCache to get a Bitmap of the View which you can manipulate as you please. ... also my question is how to resize the text in case it's going out of the imageview bounds For this you can extend ImageView and override onLayout to adjust the size of its TextView depending on its size.
29,954
https://hu.wikipedia.org/wiki/Parkett%20angyalai
Wikipedia
Open Web
CC-By-SA
2,023
Parkett angyalai
https://hu.wikipedia.org/w/index.php?title=Parkett angyalai&action=history
Hungarian
Spoken
179
617
A Parkett angyalai Zoltán Erika sorban 10. stúdiólemeze. Az album dalai Intro (Kiss Gábor-Makka Tm) 1:31 Láz (Kiss Gábor-Makka Tm) 3:15 A szerelem (Kiss Gábor-Makka Tm) 3:45 Interlude 1. (Kiss Gábor) 0:27 Funky bár (Kiss Gábor-Makka Tm) 3:20 Interlude 2. (Székely Krisztián-Kátai Róbert) 0:38 Nem számít, csak táncolj (Kiss Gábor-Makka Tm) 3:32 Interlude 3. (Székely Krisztián-Kátai Róbert) 1:11 Naplemente (Kiss Gábor-Makka Tm) 3:24 Rossz napok után remix 2004 (Kassai Róbert-Varga Szabolcs-Duba Gábor) 4:50 rap: Dopeman, remix: Székely Krisztián Ez az életünk (Kiss Gábor-Makka Tm) 3:20 Nem akarom már (Rakonczai Viktor-Makka Tm) 3:53 Interlude 4. (Székely Krisztián-Kátai Róbert) 0:06 Jó veled (Kiss Gábor-Makka Tm) 3:58 Rázd meg magad feat Robby D (Rakonczai Viktor-Makka Tm) 4:35 rap: Béres Attila Musical intro (Székely Krisztián-Kátai Róbert) 1.25 Meditáció (Kiss Gábor-Makka Tm) 1:27 Ördög angyal (Kiss Gábor-Makka Tm) 2.32 Croissant belépője (Kiss Gábor-Makka Tm) 2:56 A felvételi (Kiss Gábor-Makka Tm) 2:45 A parkett angyalai (Kiss Gábor-Makka Tm) 3:45 Közreműködtek Zoltán Erika - ének, vokál Sipeki Zoltán - gitár Kiss Gábor, Rakonczai Viktor - hangszerelés Smiley, Robby D - vokál Jegyzetek 2003 nagylemezei Zoltán Erika-albumok
20,223
https://stackoverflow.com/questions/50697417
StackExchange
Open Web
CC-By-SA
2,018
Stack Exchange
Amith Dissanayaka, Anto Antony, https://stackoverflow.com/users/4035232, https://stackoverflow.com/users/9532360
English
Spoken
258
620
API call when tab closing angular 5 I'm working on angular 5 project. So that I want to call API when closing tab. How can use "beforeunload" or any Technic to this. what you mean by tab? is it a component? No. tab means browser window tab. I need to call http request "https://*********.com/sessionStatus" when closing browser tab this one is similar to your question https://stackoverflow.com/questions/37642589/how-can-we-detect-when-user-closes-browser/37642657 https://stackoverflow.com/questions/38999842/angular-2-execute-code-when-closing-window/39005933 same as my question. But this solution is not work for when tab closing. Can't display any alert also when tab closing. It works only when refreshing. Sorry, It was my mistake. Your answer is worked for me. Thank You. Is there any method to find $event is refresh event of tab close event 'beforeunload' would be trigger when refreshing pages, closing tab, or closing the browser. @HostListener('window:beforeunload', ['$event']) beforeUnload(e: Event) { e.returnValue = false; } You can set 'e.returnValue = false;' or 'return false;' to show a confirm dialogue from browser. But You can not show the customized message by return string since April 2016. refer to https://developers.google.com/web/updates/2016/04/chrome-51-deprecations?hl=en#remove_custom_messages_in_onbeforeunload_dialogs You can set 'navigator.sendBeacon()' in beforeunload event to send a POST API. However 'navigator.sendBeacon()' can only POST API, and it can't set customized header like token. (refer to Navigator.sendBeacon() to pass header information) Some document recommend using fetch with attribute 'keepalive': const token = localStorage.getItem('token'); fetch(url, { headers: { 'content-type': 'application/json', 'authorization': token }, method: 'POST', body: JSON.stringify(data), credentials: 'include', mode: 'no-cors', keepalive: true, }) But keepalive is not working now in chrome M78, which is reported but not fixed.(refer to https://bugs.chromium.org/p/chromium/issues/detail?id=835821)
8,678
https://en.wikipedia.org/wiki/1944%E2%80%9345%20Puebla%20F.C.%20season
Wikipedia
Open Web
CC-By-SA
2,023
1944–45 Puebla F.C. season
https://en.wikipedia.org/w/index.php?title=1944–45 Puebla F.C. season&action=history
English
Spoken
146
270
The 1944–45 Puebla season was the first professional season of Mexico's top-flight football league. This was the first season the club played in the Mexican professional league. The club had joined a year after the league began competition in 1943. Puebla finished second in the league to Club Espana and managed to establishment itself as one of the countries powerful clubs. League 1944-45 season was the first the club played in the First Division after being invited by the league in 1943. Matchday Puebla had by weeks in rounds :2,4,5,7,12,14,17,19,23,28,30,34 Copa Mexico Matches Puebla Had by weeks in rounds 3 and 4th . Final phase First leg: Second leg: Semi-final América bye to Final Final Goalscorers See also 1944–45 Mexican Primera División season 1944–45 Copa México Liga MX References Mexico - List of final tables (RSSSF) - Mexico 1944/45 (RSSSF) 1945-46 Mex 1945–46 in Mexican football
7,994
https://stackoverflow.com/questions/40019000
StackExchange
Open Web
CC-By-SA
2,016
Stack Exchange
Entalpi, https://stackoverflow.com/users/1548601, https://stackoverflow.com/users/6565967, user2525
Somali
Spoken
393
826
Recompile, relink, vertex shader in shader program I have in place a system for detecting changes made to my shader files. When a shader is changes, let's say the vertex shader, I want to compile that one and replace it with the old version (while not changing the input/output of the shader and thus reusing the VAO, VBO, etc). std::pair<bool, std::string> Shader::recompile() { std::string vertex_src = load_shader_source(vertex_filepath); glDetachShader(gl_program, vertex_shader); // gl_program is a GLuint for the shader program glDeleteShader(vertex_shader); vertex_shader = glCreateShader(GL_VERTEX_SHADER); auto raw_str = vertex_src.c_str(); glShaderSource(vertex_shader, 1, &raw_str, NULL); glCompileShader(vertex_shader); GLint vertex_shader_status; glGetShaderiv(vertex_shader, GL_COMPILE_STATUS, &vertex_shader_status); GLint fragment_shader_status = 1; if (vertex_shader_status == 1) { glAttachShader(gl_program, vertex_shader); // glLinkProgram(gl_program); // Logging - mostly irrelevant to the question GLint is_linked = 0; glGetProgramiv(gl_program, GL_LINK_STATUS, &is_linked); SDL_Log("Shader relinking is success: %i", is_linked == GL_TRUE); std::string err_log = ""; GLint max_log_lng = 0; glGetProgramiv(gl_program, GL_INFO_LOG_LENGTH, &max_log_lng); err_log.reserve(max_log_lng); glGetProgramInfoLog(gl_program, max_log_lng, NULL, (char *) err_log.c_str()); SDL_Log("%s", err_log.c_str()); return {true, ""}; } The result when using this approach is that nothing changes, but when I link the program (inside the if-statement) it goes all away. I am assuming this is because the linking changes all the bindings and thus makes the existing ones invalid, resulting in nothing being rendered at all. So, is this even possible to hotswap the a specific shader like this in a shader program? Linking does not invalidate any attribute bindings since they are part of the VAO state and not of the program. There are two things that could happpen when relinking the program: The index of an attribute might change. This can be prevented by either fixing them in both shaders (layout (location=...)) or by fixing them between compile and load (glBindAttribLocation​). The same thing might also happen for uniforms and can be handled in the same way. The values of uniforms are lost. This can not simply be prevented, but setting them in each frame should fix the problem. Yes! The index of all the attributes were changed and thus made it render nothing! I just relinked every attribute and bam. :) Do the output attributes also need to be fixed? And if so, do the locations need to match between the vertex shader and fragment shader? I'm in a similar position to the op with one of my attributes (not the other) disappearing, but I've explicitly set the layout for both.
11,105
https://en.wikipedia.org/wiki/Gardening%20for%20Kids%20with%20Madi
Wikipedia
Open Web
CC-By-SA
2,023
Gardening for Kids with Madi
https://en.wikipedia.org/w/index.php?title=Gardening for Kids with Madi&action=history
English
Spoken
555
817
Gardening for Kids with Madi (called Madi's Garden on Discovery Kids Asia) is an Australian series of shorts for preschoolers. It is a follow-up to Cooking for Kids with Luis from the same creators (Luis also appeared in some of the episodes). The shorts are about a green-fingered girl named Madi who teaches viewers how to garden. Madi loves gardening because she likes to learn about different plants. The first short aired in 2006 on Nick Jr. Australia. Later on, new shorts with Madi were made for the All for Kids show on the Seven Network. The gardening segments from All for Kids were then broadcast on Nick Jr. Australia beginning on December 29, 2008. In 2007, the show won the ASTRA Award for Most Outstanding Children's Program. Episodes One season of 20 episodes was made. List Tools for the Garden - Madi shows viewers the essential tools of gardening. Grow Your Own Salad - Madi shows viewers how to plant a vegetable patch. Rock Garden for a Rock Concert - Madi builds a rock garden for a blue-tongued lizard. At the Nursery - Madi visits her favorite nursery. Making Compost - Madi explains what compost is, and how it helps gardens. Working Bee - Madi's friends Aisling and Niamh need her help making a garden. Big Ideas for a Little Garden - Madi helps make a garden small enough for an apartment. Botanic Gardens Adventure - Madi and her cousin Naomi visit the Botanic Gardens. Sandpit for Conor - Madi's friend Conor wants to recreate the beach in his backyard. Off to the Show - Madi and Naomi visit a fair to find the perfect plant. Native Plants - Madi visits a native plant nursery and finds a rare Wollomi Pine. Cubby with Dad and Cam - Madi's brother and father join her in making a cubby. Worm Farm - Madi creates her own worm farm and gets new earthworm pets. Herbs Herbs Herbs - Madi buys a variety of herbs and shows viewers how to plant them. The Great Glass Pyramid - Madi takes Naomi to a greenhouse to see exotic orchids. Garden for the School Yard - Madi convinces her class to help create a new school garden. Rabbit Hutch for Starsky - Madi builds a portable hutch for her pet rabbit, Starsky. Flower Market - Madi visits the flower market early in the morning. A Visit to the Orchard - Madi goes to a fruit orchard to pick persimmons. Bird Bath - Madi gets a birdbath for her friend Rachel, whose yard is home to many birds. Broadcast The series aired on Nick Jr. Australia in its country of origin. It also aired on TVOntario in Canada and Discovery Kids in Asia. Awards The program was nominated for two ASTRA Awards in 2007, winning the ASTRA for Most Outstanding Children's Program. Madi was nominated as Most Outstanding Television Presenter. Editor Enzo Tedeschi received an Australian Screen Editors nomination in 2008 for his work on the show, in the "Best Editing in a Non-Drama Television Programme" category. External links Show page on NickJr.com.au (archive) References Australian children's television series Gardening television Nickelodeon (Australia and New Zealand) original programming 2006 Australian television series debuts 2008 Australian television series endings Television series about children Australian preschool education television series 2000s preschool education television series
10,089
https://fr.wikipedia.org/wiki/Ernest%20de%20Ganay
Wikipedia
Open Web
CC-By-SA
2,023
Ernest de Ganay
https://fr.wikipedia.org/w/index.php?title=Ernest de Ganay&action=history
French
Spoken
575
1,065
Ernest, comte de Ganay, né le à l'ancienne abbaye de Bellevaux en Haute-Saône et mort le à Cirey, est un historien des jardins et des châteaux. Biographie Ernest de Ganay est le fils d'Octave de Ganay (1838-1898) et de Charlotte Madeleine Henriette Jodrell. Il épouse Geneviève Chauchat, cousine germaine de Paul Panhard. Ernest de Ganay a retrouvé, et publié en 1919, l'ouvrage de François-Henri d'Harcourt, le Traité de la décoration des dehors, des jardins et des parcs, rédigé vers 1774. Il a été vice-président de la commission chargée de la section « parcs et jardins » de l'exposition internationale de Paris en 1937. L’Académie française lui décerne le prix Bordin en 1926, le prix d’Académie en 1933 et le prix Jules-Davaine en 1945. Publications Syrinx, poème in Akademos, février 1909. Les fleurs du silence, 1911 Le vol de la victoire : poème..., 1914-1918, 1918 Le Poème des jardins, 1919 Traité de la décoration des dehors, des jardins et des parcs, 1919 Les voyages d'Antoine-Nicolas Duchesne à Écouen, Chantilly, ..., 1921 Introduction et notes relatives au livre du Prince de Ligne : Coup d'œil sur Beloeil et sur une grande partie des jardins de l'Europe d, 1922 Cœurs, concerts, couronnes, 1924 Chantilly au XVIIIe siècle, 1925 Les embarquements: histoire de quatre jeunes filles, 1927 Le jardin de la Fontaine a Nîmes, 1931 Jehan de Ganay: un chancelier de France sous Louis XII, 1932 Le goût du Moyen Age et des ruines dans les jardins du XVIIIe siècle, 1932 Fabriques aux jardins du XVIIIe siècle: édifices de la Chine et de l'Orient: temples, belvédères, pavillons, 1933 Châteaux et manoirs de France: Région de la Loire: Volume 2, 1934 Châteaux et manoirs de France [XI-XIV]. Ile-de-France Ile-de-France ...: Notes d'histoire et d'art, 1938 Chateaux & Manoirs de France: Ile-de-France. Volume IV. Notes d'histoire et d'art, 1939 Les Jardins à la française en France au XVIIIe siècle..., 1943 Châteaux de France, 1948 Châteaux de France: Environs de Paris, 1948 Le Chateau de Grégy, 1948 Le château de Chambord, 1949 Les Jardins de France et leur décor, Paris, Librairie Larousse, 1949, 316 p. Beaux Jardins de France, Paris, Plon, 1950 Contes immoraux..., 1953 Châteaux de France: Normandie et régions Nord et Est, 1953 Châteaux royaux de France, 1956 Un jardin naturel sous Louis XIV à Marly : le Chenil royal, 1958 Diane de Poitiers en son château d'Anet, 1960 Chantilly: notice historique et descriptive sur le château et les jardins, 1962 André Le Nostre, 1613-1700, 1962 Bibliographie de l'art des jardins, Paris, Bibliothèque des arts décoratifs, 1989 Cent jardins à Paris et en Ile-de-France, Béatrice de Andia, Ernest de Ganay, Gabrielle Jourdiou et Pierre Wittmer, Délégation à l'Action Artistique de la Ville de Paris, 1992 Entre bibliothèque et jardin [nouvelle édition de la Bibliographie de l'art des jardins], Besançon, Editions de l'imprimeur, 2005, 288 p. Notes et références Voir aussi Bibliographie Monique Mosser et Josiane Sartre: Entre bibliothèque et jardin, Ernest de Ganay. Besançon / Paris: Les Éditions de l'Imprimeur / Les Arts décoratifs, 2005 Bulletin de la Société de l'histoire de l'art français, 1965 Gabriel Perreux: [Biographie d'Ernest de Ganay]. Association franc-comtoise Les Gaudes, compte rendu du Dîner [], pp. 7–11. Articles connexes Famille de Ganay François-Henri d'Harcourt Jean-Charles Moreux Charles-Joseph de Ligne Liens externes Historien français du XXe siècle Historien de l'art français Poète français du XXe siècle Jardin Famille de Ganay Naissance en mai 1880 Décès en septembre 1963 Décès à 83 ans Lauréat du prix Bordin
49,199
https://es.wikipedia.org/wiki/Tratado%20de%20Fontainebleau%20%281807%29
Wikipedia
Open Web
CC-By-SA
2,023
Tratado de Fontainebleau (1807)
https://es.wikipedia.org/w/index.php?title=Tratado de Fontainebleau (1807)&action=history
Spanish
Spoken
1,022
1,696
El Tratado de Fontainebleau fue firmado el 27 de octubre de 1807 en la ciudad francesa de Fontainebleau entre los respectivos representantes plenipotenciarios de Manuel Godoy, valido del rey de España Carlos IV de Borbón, y Napoleón Bonaparte, emperador de los franceses. En él se estipulaba la invasión militar conjunta franco-española de Portugal aliada del Reino Unido de Gran Bretaña e Irlanda y se permitía para ello el paso de las tropas francesas por territorio español, siendo así el antecedente de la posterior invasión francesa de la península ibérica y de la Guerra de la Independencia Española. Historia En 1806, tras fracasar su intento de invasión de Gran Bretaña, Napoleón decreta el Bloqueo Continental, que prohibía el comercio de productos británicos en el continente europeo. Portugal, tradicional aliada de Inglaterra, se niega a acatarlo y Napoleón decide su invasión. Para ello necesita transportar allí sus tropas terrestres. El 27 de octubre de 1807, Manuel Godoy, valido de Carlos IV, representado por su plenipotenciario, el Consejero de Estado y Guerra Eugenio Izquierdo, firma con Gérard Duroc, representante de Napoleón, el Tratado de Fontainebleau, en el que se estipula la invasión militar conjunta franco-española de Portugal, para lo que se permite el paso de tropas francesas por territorio español. El Tratado Conforme al tratado, una vez invadido, Portugal sería dividido en tres zonas. El norte (Oporto y Entre-Minho-e-Douro) sería entregado, con el nombre de Reino de Lusitania Septentrional, al antiguo rey de Etruria, Carlos Luis de Parma (Luis II de Etruria), sobrino de Fernando VII, en compensación por sus territorios italianos (Reino de Etruria) entregados a Napoleón. La zona centro (Beira, Trás-os-Montes y Estremadura portuguesa) se reservaría para un posible cambio por Gibraltar y la isla de Trinidad, en manos de Gran Bretaña. La zona sur (Alentejo y Algarve) pasaría a Manuel Godoy y su familia como Principado de los Algarves. En cuanto a las colonias, su división entre Francia y España se dejaba para un acuerdo posterior. Consecuencias La invasión franco-española de Portugal A los pocos días, las tropas españolas del norte, tras entrar por la villa portuguesa de Valença, habían tomado Oporto y las del sur, desde Badajoz habían llegado a Setúbal, quedando así fuera de territorio español, las tropas más operativas de su ejército. Por su parte, el ejército expedicionario francés del general Andoche Junot —que había cruzado el río Bidasoa el 18 de octubre— atravesaba España (no sin algún incidente), cruzaba la frontera portuguesa por Alcántara el 20 de noviembre y entraba en Lisboa el 30 de noviembre. El día anterior, la familia real portuguesa, encabezada por el Príncipe Regente, futuro Juan VI, y otras quince mil personas, habían salido hacia Brasil, donde quedaría fijada la Corte hasta el 26 de abril de 1821. El inicio de la ocupación francesa de España La presencia de tropas francesas en España, sin embargo, siguió aumentando y el pueblo comenzó a observarlas como algo amenazante, pues en lugar de continuar transitando hacia Portugal fueron ocupando, sin ningún respaldo del Tratado, diversas localidades como Burgos, Salamanca, Pamplona, San Sebastián, Barcelona o Figueras. El total de soldados franceses acantonados en España ascendía a unos 65 000, que controlaban no solo las comunicaciones con Portugal, sino también con Madrid, así como la frontera francesa. Algunos autores no descartan la idea de un tratado oculto, del que no hay prueba alguna, por el que Manuel Godoy ya conocería que, según los planes del emperador, 100 000 soldados franceses ocuparían España. Esta ocupación «amistosa», no obstante, terminó por alarmar al propio Godoy y en marzo de 1808, temiéndose lo peor, indicó a la familia real que se retirase a la localidad de Aranjuez para, en caso de necesidad, seguir camino hacia el sur, hacia Sevilla, después hacia Cádiz y, finalmente, embarcarse para América, como ya había hecho el Príncipe Regente de Portugal en el Traslado de la corte portuguesa a Brasil. Crisis de la monarquía e inicio de la guerra El 17 de marzo de 1808 se produjo el Motín de Aranjuez, que provocó la caída de Godoy, la abdicación de Carlos IV y la subida al trono de Fernando VII. Madrid es ocupada por las tropas francesas del mariscal Murat (23 de marzo), que es recibido por Fernando como aliado, confiando todavía en que Napoleón cumpliría el Tratado de Fontainebleau. Pero el emperador ya había advertido que en España existía un claro vacío de poder político, pues tanto Carlos como Fernando acudían a él para pedir apoyo a sus respectivas pretensiones, a lo que hay que añadir la ventaja militar que le otorgaba la ocupación de numerosas plazas españolas por las tropas imperiales y la salida de las tropas españolas hacia Portugal. Tras convocar a padre e hijo a Bayona, adonde llegó Fernando el 20 de abril (dejando en Madrid como su representante a una Junta de Gobierno), y sus padres, Carlos IV y María Luisa de Parma, el 30 de abril, Napoleón obtuvo de ellos la abdicación a su favor, el 5 de mayo de 1808, tras lo cual cedió la Corona a su hermano José I Bonaparte el 6 de junio. Para entonces ya se había producido en Madrid el Levantamiento del 2 de mayo contra la ocupación francesa del país, dando comienzo a lo que posteriormente se conocería como Guerra de la Independencia. Respecto de los territorios, debe mencionarse que en sus negociaciones secretas muchas veces Napoleón ofreció territorios ajenos. En 1803 ofreció las islas Baleares a Fernando IV de Nápoles (quien estaba refugiado en Sicilia) en compensación por Nápoles, sin consultar a Madrid. Con apoyo ruso se esperaba poder forzar a Carlos IV a ceder las islas. También ofreció a Londres reconocerles la posesión de Hannover, el Cabo de Buena Esperanza, Malta, Tobago y Puducherry. Napoleón siguió alterando las fronteras europeas según sus intereses y circunstancias, por decreto del 26 de enero de 1812 se anexó Cataluña y Andorra. Véase también Palacio de Fontainebleau Guerra de la Independencia Española Historia de Portugal (1777-1834) Invasión de Portugal (1807) Referencias Bibliografía Política en 1807 Francia en 1807 Fontainebleau 1807 Fontainebleau 1807 Fontainebleau 1807 Fontainebleau 1807 Fontainebleau 1807 Fontainebleau 1807 Fontainebleau 1807 Reinado de Carlos IV
24,378
https://fiu-vro.wikipedia.org/wiki/K%C3%B5v%C3%B5ra%20j%C3%A4rv
Wikipedia
Open Web
CC-By-SA
2,023
Kõvõra järv
https://fiu-vro.wikipedia.org/w/index.php?title=Kõvõra järv&action=history
Võro
Spoken
21
74
Kõvõra järv om järv Vahtsõliina kihlkunnan Orava vallan. Järve vesi vaihtus ärq üte kõrra aastagan. Viieläjäq ja -kasvoq Vahtsõliina kihlkunna järveq
19,618
https://fi.wikipedia.org/wiki/Hugh%20Munro
Wikipedia
Open Web
CC-By-SA
2,023
Hugh Munro
https://fi.wikipedia.org/w/index.php?title=Hugh Munro&action=history
Finnish
Spoken
264
744
Hugh Thomas Munro (16. lokakuuta 1856 Lontoo – 19. maaliskuuta 1919 Tarascon) oli skotlantilainen vuorikiipeilijä ja Munrojen nimeäjä. Hän kuului Munron klaaniin, ja hän oli neljäs Lindertisin baronetti. Monro syntyi yhdeksänlapsisen perheen vanhimpana vuonna 1856. Perhe vietti osan vuodesta Lontoossa sekä osan heidän Lindertisin tilalla lähellä Kirriemuiria Angusissa. Vuonna 1873 17-vuotias Munro lähti Stuttgartiin opiskelemaan saksankieltä. Siellä hän ihastui Alpeihin ja kiinnostui muutenkin vuorista. Vuonna 1880 hän muutti Etelä-Afrikkaan terveydellisistä syistä, koska hänellä oli puhjennut keuhkopussitulehdus. Etelä-Afrikassa hänestä tuli Natalin kuvernöörin Sir George Colleyn yksityinen sihteeri, ja hän palveli epäsäännöllisesti ratsuväessä Basutomaan Gun War-sodassa. Sir George Colley kuoleman jälkeen Munro palasi Lindertisin tilalle, ja otti osaa perheen tilanhoidosta. Samaan aikaan hän kiinnostui politiikasta, ja oli aktiivinen Forfarshiren paikallispolitiikassa. Vuonna 1885 hän nousi Konservatiivipuolueen ehdokkaaksi Kirckaldy Burghsin parlamenttipaikalle, joka oli tuolloin yksi skotlantilainen vaalipiiri Fifen Kirckaldyssa. Vuonna 1889 hän oli perustamassa skotlantilaista vuorikiipeilyseuraa Scottish Moutaineering Clubia. Pari vuotta myöhemmin vuonna 1991 hän julkaisi listan, jossa hän luetteloi 538 skotlantilaista yli 3000 jalkaa korkeaa vuorenhuippua, ja joista 283 hän nimesi Munroksi. Tämän ansiosta hänet tunnetaan Skotlannissa sekä muualla maailmassa vuorikiipeilijöiden parissa. Munro rakasti matkustamista, ja hän matkusti paljon perheenä kanssa ympäri maailmaa. Ensimmäisen maailmansodan sytyttyä hän oli 58-vuotias ja liian vanha palvelukseen. Tuolloin hän ilmoittautui vapaaehtoiseksi Punaisen ristin palvelukseen, ja lähti vuonna 1915 Maltalle etsimään ja auttamaan pakolaisia. Sieltä hänen oli pakko palata takaisin kotiin sairauden takia, mutta hän palasi vuonna 1918 Etelä-Ranskaan Tarasconiin tyttärensä kanssa pitämään Punaisen ristin kanttiinia ranskalaisille sotilaille. Vuonna 1919 hän palellutti itsenä ja sai keuhkokuumeen, johon hän myös menehtyi. Lähteet Brittiläiset vuorikiipeilijät Baronetit Skotlantilaiset henkilöt Vuonna 1856 syntyneet Vuonna 1919 kuolleet
6,260
https://ne.wikipedia.org/wiki/%E0%A4%B6%E0%A4%BE%E0%A4%B0%E0%A5%8D%E0%A4%A6%E0%A5%82%E0%A4%B2%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A5%8D%E0%A4%B0%E0%A5%80%E0%A4%A1%E0%A4%BF%E0%A4%A4%20%E0%A4%9B%E0%A4%A8%E0%A5%8D%E0%A4%A6
Wikipedia
Open Web
CC-By-SA
2,023
शार्दूलविक्रीडित छन्द
https://ne.wikipedia.org/w/index.php?title=शार्दूलविक्रीडित छन्द&action=history
Nepali
Spoken
347
1,705
यो समपाद वृत्त हो। यस्मा उन्नाइस अक्षरका चारओटा पाउ हुन्छ। यसमा बाह्रौँ र उन्नाइसौँ अक्षरमा विश्राम हुन्छ। गण यस प्रकार हुन्छन्: म SSS स IIS ज ISI स IIS त SSI त SSI गुरू S = १९ उदाहरण १ कालीदास भनेर कोकिळहरू काला भए ता पनि कुँज्दै छन् वनमा नअड्छ तिनको आफ्नो वसन्ती ध्वनि के मण्डूक कराउनू प्रकृतिले पापीपना हुन्छ र ! गौरीशङ्करको नजिकचुचुरा उठ्छन् अरू वामन।। यसमा तीन तीन अक्षरका समूह गण बन्छन् जस्तैः कालीदा SSS म गणः सभने IIS सगणः रकोकि ISI जगणः लहरू IIS सगणः कालाभ SSI तगणः एताप SSI तगणः नी S गुरू उदाहरण २ बर्खाका दिनमा__बडा बिरहमा__एक्लै बसेँ झ्यालमा__ बादलको दल आइ__घेरिन गयो__आकाश ख्यालख्यालमा__ उदाहरण ३ इच्छा यो छ महेश अन्तिम जसै त्यो मृत्युशय्या जली मेरो रक्त सुकाउला म गरुँला अन्योल भई छटपटी त्यो बेला मुखमा बुटीहरू परून् नेपालकै केवल जे-जेमा हिमशैलको छ मधुरो मीठो चिसो चुम्बन । (इच्छा कविता, बालकृष्ण सम) मुख्य विश्राम १२ र १९ अक्षरमा विश्राम हुन्छ। सुक्ष्म विश्राम ६ - ६ (७ पनि हुन सक्छ)। ४ पाउको श्लोक एकै पाउमा सकिन्दैन र विश्राम हुन्छ हरेक पाउमा। समाप्ति ४ पाउपछि मात्र कविताको नमुना नेपाल साम्राज्यहरु ती झुकेर रहँदा , उठ्दै थियो हाँकले लेखायो अलगै जहाँ समयको,नौलो कथा सानले। आफ्नै तागतले जितेर दुनियाँ,सत्ता र सम्मानको झुक्नै जो कहिलै परेन जगमा,त्यो देश नेपाल हो।। भोका बालक ती कसेर तनमा,थापेर गोलीहरु मेटाए तब हेर प्यास मनको, मारेर वैरीहरु । पूर्खाको बलमा उठेर नभमा,हाँस्दै र नाच्दै बस्यो सुर्ताले कहिलै डगेन जगमा,त्यो देश नेपाल हो।। झर्ना ताल हिमाल खोच पहरा, खोला र पाखाहरु बास्छन् ती कोइली रमेर वनमा,चाहिन्छ के लौ अरु खोजेको मनले विचित्र बहुतै, बेजोड श्रृङ्गार हो बर्षौँ भुल्छ जहाँ वसन्त वनमा, त्यो देश नेपाल हो इन्द्रेणी रङमा रचेर एकता,हाँस्छन् र नाच्छन् जहाँ ईर्ष्याले पनि हार मान्छ सजिलै, देखेर माया जहाँ। भाषा भेष परम्परा रस मिठो,जात्रा र मेला मिठो लाखौँ लाख कला समेट्छ जसले,त्यो देश नेपाल हो।। हाम्रो रक्त शिरा बहेछ सहजै , मेची र काली बनी हाम्रो गौरब त्यो झुकेन कहिलै,लाछी र जाली भनी। बेचिन्छौ किन हो मरुस्थल गई, छाडेर सौभाग्य यो तिम्रो मार्ग कुरेर बस्छ जसले, त्यो देश नेपाल हो।। S.p सन्दर्भ सामग्री यो पनि हेर्नुहोस छन्द गीत गजल साहित्य संस्कृत
48,017
https://ky.wikipedia.org/wiki/%D0%9A%D0%BE%D1%88%D0%BA%D0%BE%D0%BD%20%D0%BC%D0%B0%D0%B9
Wikipedia
Open Web
CC-By-SA
2,023
Кошкон май
https://ky.wikipedia.org/w/index.php?title=Кошкон май&action=history
Kyrgyz
Spoken
72
267
Кошкон май — акталган таруу, кесек тартылган талкан, шекер (кээде бал) аралаштырылган сары май. Карында же мөөндө узакка сакталат. Талканды бир аз сууга жай кайнатып алып, көлөмүнө жараша май, сүт, шекер кошуп аралаштырып, тоңдуруп коюу керек. Кошкон май жылкынын сорпого чыккан майынан да жасалат. Тамак-аш Колдонулган адабияттар “Кыргызстан” улуттук энциклопедиясы: 4-том. Башкы редактору Асанов Ү. А. К 97. Б.: Мамлекеттик тил жана энциклопедия борбору, 2012. 832 бет, илл. ISBN 978 9967-14-104 -9
46,507
https://stackoverflow.com/questions/42492248
StackExchange
Open Web
CC-By-SA
2,017
Stack Exchange
https://stackoverflow.com/users/1256452, torek
English
Spoken
345
567
Git: Preventing Commit During a Rebase I know how to easily 'fix' this state, when I've accidentally done a git commit --amend during an interactive rebase. But I'm wondering if anyone has a solution, of any level of complexity, that would allow me to configure git/terminal/bash to PREVENT me from being able to do this. I'm just using Mac OSX Terminal. I'd be open to other terminal programs if the solution required them. 1 @: master$ git pull 2 @: master$ git checkout my/feature/branch 3 @: my/feature/branch$ git rebase -i master // There are merge conflicts // I fix them, then 4 @: my/feature/branch$ git add . // Then what I should do is: 5correct @: my/feature/branch$ git rebase --continue // But instead, just due to dumb muscle memory, I do: 5incorrect @: my/feature/branch$ git commit --amend I can easily fix the broken resulting state. I'm just trying to figure out if there's a way I can configure something to PREVENT me from ever being able to execute the 5incorrect command if I'm in the middle of a rebase. Not really. You can use a bash alias to run something other than git itself when you enter git ..., and in that alias / function / script, check if you are in a rebase and whether you want to allow some other command—but it's normal to do amends and/or additional commits during interactive rebase, to split commits. (Note: a trick with bash is that command foo runs the actual foo instead of your alias, so you use that in your alias when needed.) You can add the following local pre-commit hook as .git/hooks/pre-commit: #!/bin/bash set -e shopt -s extglob if [[ -d `git rev-parse --git-path rebase-merge` \ || -d `git rev-parse --git-path rebase-apply` ]]; then read -p 'Rebase in progress, continue? ' [[ ${REPLY,,} == @(y|yes) ]] fi Then just chmod +x .git/hooks/pre-commit and you're sorted. If a rebase is in progress, then you'll be prompted to continue or otherwise press ctrl-c or just enter or what's handier for you, and the script/commit will stop.
15,738
https://gaming.stackexchange.com/questions/156766
StackExchange
Open Web
CC-By-SA
2,014
Stack Exchange
English
Spoken
143
204
How to Uninstall DLC in The Last of Us I have finished the "Left Behind" DLC episode and would like to uninstall it to get some space on my hard drive. I would, however, like to keep the "Abandoned Territories" multiplayer DLC and the base game files. In the game files folder there is a tab called "Additional Content", but I suspect this includes everything, like the special edition content, the multiplayer DLC and "Left Behind". Is there any way to uninstall DLC seperately? And if there is not, can I safely delete the "Additional Content" tab and re-install the other DLC? Your best bet is to remove the "additional content" & redownload your requested DLC. It shouldn't pose any problem, and if it does, just delete all game content and download the DLC again. You'll need to download the patch again, though.
21,913
https://stackoverflow.com/questions/66532301
StackExchange
Open Web
CC-By-SA
2,021
Stack Exchange
Agustín Jacob, Daniel Mann, https://stackoverflow.com/users/11318604, https://stackoverflow.com/users/781754
English
Spoken
212
356
ADO API with TFS is deleting the URL project and returning an error I'm currently using this ADO API to get test results. The Uri has the following structure: "https://server.com:1234/tfs/Collection/Project" The service endpoint is: "_apis/test/Runs/{runId}/results/{testCaseResultId}?api-version=6.0" Where I replace runId and testCaseResultId with the needed information. Now, my request is failing with a 404 error, and when I check the url I see that the Project from my URI has been deleted. Is this normal behavior? If I add one last "/" after the URI, I get a bad request error. How are you calling the API? Update your question to include the code. Also, if this is on-prem TFS (or Azure DevOps Server), what version? API v6 may not be available in the version you're using. I'm using TFS Version Dev17.M153.2, code works for API calls when the API version is 1.0, but isn't working when the api version is 6.0. Right, because that's Azure DevOps Server 2019, which doesn't support the v6 APIs. It supports v5 APIs. Look closely at the documentation. The rest api version supported for Azure DevOps Server 2019 is v5.0. Please change your service endpoint to use 5.0 version api-version=5.0 You can click the Version dropdown list in the document to select correct api version. See below:
39,388
https://stackoverflow.com/questions/30271336
StackExchange
Open Web
CC-By-SA
2,015
Stack Exchange
English
Spoken
66
132
eurl.axd webresource.axd scriptresource axd not found errors IIS6 I have recently started getting these errors: eurl.axd webresource.axd scriptresource axd not found errors IIS6. IIS logs show file not found error. The website is very slow. Has anybody faced this problem? In your global.asax in Application_Error try to log the offending url and find out which control is causing it. ((HttpApplication)sender).Context.Request.Url File Not Found Exception Application Error
5,567
https://ru.stackoverflow.com/questions/1429578
StackExchange
Open Web
CC-By-SA
2,022
Stack Exchange
Vadim Ganin, https://ru.stackoverflow.com/users/355827, https://ru.stackoverflow.com/users/494547, qwerty
Papiamento
Spoken
164
677
Стили CSS в Django перестали работать Я учу Django и столкнулся с проблемой, что если я удалю что-нибудь из файла styles.css или добавлю, ничего не изменится. Даже если удалить все содержание файла и перезапустить сервер ничего не поменяется. Файлы сохраняются автоматически. layout.html {% load static %} <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>{% block title %}{% endblock %}</title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.1.1/css/all.css"> <link rel="stylesheet" href="{% static 'main/css/styles.css' %}"> </head> <body> <aside> <img src="{% static 'main/img/logo.png' %}" alt="картинка всралась:("> <span class="logo">DoubleNut</span><br><br> <h3>Навигация</h3> <ul> <a href="{% url 'home' %}"><li><i class="fa-solid fa-house-chimney"></i> Главная</li></a> <a href="{% url 'about' %}"><li><i class="fa-solid fa-address-card"></i> О нас</li></a> <a href="{% url 'news_home' %}"><li><i class="fa-solid fa-newspaper"></i> Новости</li></a> <a href=""><li><i class="fa-solid fa-paper-plane"></i> Контакты</li></a> </ul> </aside> <main> {% block content %} {% endblock %} </main> </body> </html> Настройки статических файлов в settings.py STATIC_URL = 'static/' STATICFILES_DIRS = [ BASE_DIR / "static", ] ctrl + f5 в браузере пробовали? Спасибо, работает! Обычно для STATICFILES_DIRS у меня такая запись. Работает безотказно) STATICFILES_DIRS = [os.path.join(BASE_DIR, 'path_to_static_dir')]
19,056