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://cdo.wikipedia.org/wiki/8%20ngu%C5%8Fk%2025%20h%C3%B4%CC%A4%20%28n%C3%B9ng-l%C4%ADk%29
Wikipedia
Open Web
CC-By-SA
2,023
8 nguŏk 25 hô̤ (nùng-lĭk)
https://cdo.wikipedia.org/w/index.php?title=8 nguŏk 25 hô̤ (nùng-lĭk)&action=history
Min Dong Chinese
Spoken
15
54
8 nguŏk 25 hô̤ sê nùng-lĭk 8 nguŏk gì dâ̤ 25 gĕ̤ng. Nùng-lĭk 8 nguŏk
48,731
https://askubuntu.com/questions/497679
StackExchange
Open Web
CC-By-SA
2,014
Stack Exchange
English
Spoken
105
154
Script To Logout Root and Login User I was wondering if there was a way to make a script that logouts of root or takes the automatic root login and logs in a user. This is for security reason so that the user cannot change important files. I am using Ubuntu 12.04 or a EMB-3500 freescale board(i.mx6 chip)(ARM). Note* I do not have a bootloader or inittab file. My opening console that logs in as root is ttymxc0 which is specific to the board. Could try: su -l user;exit; That would switch to the user, then drop the root session if the user logs out.
45,267
https://en.wikipedia.org/wiki/Janet%20Broughton
Wikipedia
Open Web
CC-By-SA
2,023
Janet Broughton
https://en.wikipedia.org/w/index.php?title=Janet Broughton&action=history
English
Spoken
330
550
Janet Broughton is Emerita Professor of Philosophy and former Vice Provost for the Faculty at the University of California, Berkeley. Her academic research focuses on early modern philosophy, in particular that of David Hume and René Descartes. Education and career Broughton attended Mount Holyoke College for a year but interrupted her formal education to join the VISTA program, where she worked on community programs for preschoolers and teenagers in Houston's Third Ward. Following that, she worked as a programmer and announcer for a classical music show on WRVR (now WLTW) in New York City. She returned to school and earned her B.A. in philosophy at the University of California, Davis. Broughton earned her Ph.D. in philosophy at Princeton University with a dissertation on Descartes' theory of causation. Broughton's first academic position in philosophy was at Harvard University. She moved to the University of California, Berkeley in 1979 and served as department chair for 5 years. In 2006, she was appointed Dean of the Arts and Humanities division of Berkeley's College of Letters and Science in 2006. In 2010 she was appointed Vice Provost for the Faculty. Select publications Descartes's Method of Doubt A Companion to Descartes (co-edited with John Carriero) "The Inquiry in Hume's Treatise," The Philosophical Review 113 (4) (2004): 537-556. ""Hume's Naturalism About Cognitive Norms," Philosophical Topics 31 (1/2) (2003): 1-19 "Explaining General Ideas," Hume Studies 26 (2)(2000): 279-289. "What does the Scientist of Man Observe?" Hume Studies 18 (2) (1992):155-168 "Hume's Ideas about Necessary Connection," Hume Studies 13 (2)(1987):217-244. "Reinterpreting Descartes on the Notion of the Union of Mind and Body," Journal of the History of Philosophy 16 (1)(1978): 23-32 (with Ruth Mattern). References External links Janet Broughton 20th-century American philosophers 21st-century American philosophers American historians of philosophy Living people Princeton University alumni University of California, Berkeley College of Letters and Science faculty University of California, Davis alumni American women philosophers Year of birth missing (living people) 20th-century American women 21st-century American women Scholars of modern philosophy
30,702
https://stackoverflow.com/questions/69155340
StackExchange
Open Web
CC-By-SA
2,021
Stack Exchange
Alex Howansky, https://stackoverflow.com/users/453002
English
Spoken
232
397
String Length validation php form This is my code to check if the field is empty and it works fine, however i want to check for both, if its empty and if its got less than 10 characters <pre> if(empty($_POST['comments'])){ $errors[]="Please enter a comment."; } </pre> I tried this <pre> if(empty($_POST['comments'])){ $errors[]="Please enter a comment."; } if(strlen($_POST['comments']) > 10){ $errors[]="Please enter a comment."; } </pre> However this then made neither work so i tried which had the same result with neither of them working <pre> if(empty($_POST['comments']) && strlen($_POST['comments']) > 10)){ $errors[]="Your comment must be longer than 10 characters."; } </pre> I have tried mb_strlen as well but that changed nothing. Your strlen comparison is backwards. You're doing, "if length is greater than 10, then issue an error." Your logic is a bit off. You're currently adding the error if the string is empty and longer than 10 characters (which would be a paradox.) You need to check if the string is empty or less then 10 characters. Try this: if (empty($_POST['comments']) || strlen($_POST['comments']) < 10) { $errors[] = "Your comment must be longer than 10 characters."; } That condition checks if the string is either empty or if the string has less < than 10 characters. && means and || means or < means less than > means greater than You can read more about logical and comparison operators in the manual.
47,848
https://es.stackoverflow.com/questions/267711
StackExchange
Open Web
CC-By-SA
2,019
Stack Exchange
Alonso Ureña, Cristianp1993, https://es.stackoverflow.com/users/130463, https://es.stackoverflow.com/users/92401
Spanish
Spoken
172
318
Trying to get property 'inv_nombre' of non-object - laravel Tengo el Metodo de la imagen(Laravel) que deberia insertar los valores que se ingresan en un formulario hecho en angular a la base de datos, desde el front llega un objeto form con todos los atributos a guardar pero cuando clickeo el boton sale el mensaje Trying to get property 'inv_nombre' of non-object por que desde angular envio lo siguiente public form = { inv_nombre : null, inv_apellPater : null, inv_apellMater: null, inv_cedula: null, inv_correo: null, inv_telefono: null, fk_ciu_codigo: null, fk_ent_codigo: null } Entonces debo accesar a el como un array par poder entrar a cada atributo a no ser que me este equivocando. obvio los null se reemplazan por lo que ingresa por teclado Por favor el código que completa tu pregunta agrégalo al cuerpo de la misma, pero en forma de texto, lo mismo con el que ya habías colocado Hola @Cristianp1993, revisa que en el modelo investigador, tengas la propiedad de la sigueiente forma protected $fillable = [ 'inv_nombre ']
24,611
https://math.stackexchange.com/questions/3168257
StackExchange
Open Web
CC-By-SA
2,019
Stack Exchange
Matematleta, https://math.stackexchange.com/users/138929
English
Spoken
376
843
Continuity of polynomials I've seen an answer (How can I prove that a polynomial with degree $n$ is continuous everywhere in $\mathbb{R}$ using definitions?) on the question to prove that all polynomials are continuous, so I tried to follow his steps. Could you please tell me if that is alright and if not tell me what I could consider? Also the 1,2, and 4 are fairly obvious(from my lecture notes) so I did not write them out. P.S How can I (start) prove that if r=p/q is a ratio of two polynomials then it is continuous at every point of R where q≠0. 1) $f(x)=x$ is continuous everywhere 2) If $f(x)$ and $g(x)$ are continuous in $D$ then $f(x)\cdot g(x)$ in continuous on $D$. 3) Using $2$ and $1$ show that $x^n$ is continuous for every $n \in \mathbb N$ 4) If $f(x)$ and $g(x)$ are continuous on $D$ then $f(x)+g(x)$ is continous on $D$ 5) Now use $3$ and $4$. So here is how I followed the steps: 1) elementary proof 2) algebraic property of coninuous functions proof 3) Proof: If $f_1(x)=x$ and $f_2(x)=x$ are both continuous on $D$ then from 2) we know that $f_1(x)\cdot f_2(x)=x^2$ is continuous. Suppose now that $f_1(x)=x$ $f_2(x)=x^2$ $f_3(x)=x^3 ... f_m(x)=x^m$. Hence we can conclude that $f_1(x)\cdot ....f_m(x)=x^n$ is continuous on $D$, for $n=m(m+1)/2$. 4) algebraic property of continuous functions 5) proof: from $3)$ we know that $x^n$ is contionuous on $D$ and hence if we add a polynomial of degree $n-1$ or smaller then by $4)$ we can conclude that $x^n+x^{n-1}+...+1$ is continuous. Hence all polynomials are continuous. There is one little matter with 5, since not every polynomial are in form of $x^n+x^{n-1}+...+1$, should prove for any $a_nx_n+a_{n-1}x^{n-1}+...+a_0$. For the second question regarding rational function, if $q(x)$ is not $0$ in some point $c$, then it is nonzero in a neighbourhood of $c$, then just apply $\epsilon - \delta$ defintion as usual. Also, in step 3, $n=m$, not $m(m+1)/2$. Well on step 3 I said that n=m(m+1)/2 since x.x^2.x^3...x^m=x^n, isnt that right? or that's an unnecessary thing? But your definition seems to be $f_1(x)=f_2(x)=...=f_m(x)=x$ yeah sorry edited it. All you need to do is two easy induction: $\lim_{x\to a} x^n= a^n$ and $\lim_{x\to a} \sum^n_{k=1}f_k(x)= \sum ^n_{k=1}f_k(a)$
50,282
https://ja.wikipedia.org/wiki/%E6%A3%AE%E6%9C%AC%E9%BA%BB%E8%A1%A3
Wikipedia
Open Web
CC-By-SA
2,023
森本麻衣
https://ja.wikipedia.org/w/index.php?title=森本麻衣&action=history
Japanese
Spoken
44
733
森本 麻衣(もりもと まい、1984年10月16日 - )は、日本のピアノ奏者。愛媛県松山市出身。 人物・略歴 愛媛大学附属教育学部附属幼稚園、愛媛大学教育学部附属小学校、愛媛大学教育学部附属中学校愛媛県立松山東高等学校普通科、東京藝術大学音楽学部ピアノ科卒業。 2010年に東京芸術大学大学院を休学し、ドイツ国立ミュンヘン音楽・演劇大学大学院に留学。世界的ピアニスト、ゲルハルト・オピッツの門下生として研鑽を積み中間演奏試験、卒業演奏試験ともに高得点を得て卒業した。 2013年3月、東京芸術大学大学院音楽研究科修士課程器楽科修了。「リストのハンガリー狂詩曲への一考察」と題し修士論文を執筆。 コンサートでは、聴衆とのコミュニケーションを大事にしており、トークを交えながらの演奏スタイルを好んでいる。 ピティナ正会員 受賞 第3回ロケッタ市国際ピアノコンクール 第1位受賞 第1回マデージモ国際ピアノコンクール 第1位受賞 東京藝術大学音楽学部附属音楽高等学校非常勤講師 師事 これまでに、ピアノを森山伸、大空佳穂理、高野輝子、御木本澄子、播本枝未子、岡田敦子、ガブリエル・タッキーノ、ゲルハルト・オピッツ、角野裕らに師事(順不同)。また、音楽理論ソルフェージュを土田英介に師事。 テレビ 関ジャニ∞のTheモーツァルト ピアノ王No.1決定戦 (2016年9月30日) 第3回「ピアノ王」 雑誌 連載「ピアニスト道」(月刊Piano 2021年3月号 - ) 出典 外部リンク ピアニスト 森本麻衣公式ホームページ | Mai Morimoto official website 日本のクラシック音楽のピアニスト 東京芸術大学出身の人物 愛媛県立松山東高等学校出身の人物 愛媛県出身の人物 1985年生 存命人物
35,190
https://space.stackexchange.com/questions/29838
StackExchange
Open Web
CC-By-SA
2,018
Stack Exchange
Erin Anne, Magic Octopus Urn, Mark Adler, Organic Marble, Tom Spilker, https://space.stackexchange.com/users/11262, https://space.stackexchange.com/users/12102, https://space.stackexchange.com/users/25116, https://space.stackexchange.com/users/25224, https://space.stackexchange.com/users/265, https://space.stackexchange.com/users/6944, https://space.stackexchange.com/users/8609, leftaroundabout, uhoh
English
Spoken
1,896
2,815
How can an *increase* in atmospheric temperature cause an *increase* in the atmospheric mass density? We often hear that heating Earth's atmosphere from solar activity or CMEs increases the mass density of the atmosphere at a given altitude, causing orbiting spacecraft to lose altitude faster from increased drag. Most space fans are familiar with the Ideal Gas Law: PV = NRT, where P is pressure, V is the volume of a gas parcel, N is the number of moles of the gas, R is the universal gas constant, and T is the temperature on an absolute scale (like Kelvins). People who like dealing with individual atoms or molecules express it as PV = nkT, where n is the number of gas particles (either atoms or molecules) and k is Boltzmann's constant. Regardless of which equation you use, you find (via some simple algebra to rearrange the equation) that if you increase the temperature of a gas parcel without changing the pressure or the number of particles involved (N or n), then the volume must increase in proportion to temperature, and that decreases the mass density! So how can the statement in the first sentence be true? How can a temperature increase result in a mass density increase?? The effect is real (https://agupubs.onlinelibrary.wiley.com/doi/pdf/10.1002/2014JA019885) and this paper (https://www.ann-geophys.net/34/725/2016/angeo-34-725-2016.pdf) may be describing the why, but it's beyond a simple aerospace engineer's reading level. Perhaps you can make something of it. Hint: It doesn't use the ideal gas law. Very nice question! ;-) @OrganicMarble , I asked this question in response to some comments on another question, folks not understanding how this could happen, and answering those queries in a way useful for non-Ph.D. folks would take more characters than a comment. Thanks for the references! I downloaded them and will give them a look. Scientists and engineers often use different language: one group says "optical depths", the other says "dB", etc. This sometimes makes it difficult for someone to read the other group's publications. The key concept is that for a satellite at a fixed altitude, when the atmospheric temperatures below its altitude increase, atmospheric expansion pushes more atmosphere up above the satellite! At the satellite's altitude the pressure must increase to support the weight of that additional atmospheric mass above, and the increase in pressure outweighs the increase in temperature. I'm going to make some simplifying assumptions that, although not descriptive of Earth's actual atmosphere, won't change the general result. I'll assume the atmosphere is isothermal, i.e. the same temperature regardless of altitude (it's not). And I'll assume that g, the acceleration due to gravity, is constant regardless of altitude (it's not). Later on I'll say why these don't change the conclusions. I'll rearrange the Ideal Gas Law to yield mass density. The first rearrangement gives $$\frac{N}{V} =\frac{P}{RT}$$ N/V is the number of moles per volume, or the molar density. Since N is the total mass of all the molecules in the parcel, m, divided by the average molar mass $\mu$, $$\frac{m}{\mu V} =\frac{P}{RT}$$ or $$\frac{m}{V} =\frac{P\mu}{RT}$$ and m/V is just mass density. A parameter central to atmospheric science and dynamics is the scale height, which is the vertical distance you have to travel to change the atmospheric pressure by a factor of e; e if you go downward, 1/e if you go upward. Usually denoted by H, it is given by $$H =\frac{RT}{\mu g}$$ where R is the universal gas constant, T is temperature in absolute units (like kelvins), $\mu$ is the average molar mass of the air mixture, and g is the acceleration of gravity. Since I'm keeping T, g, and $\mu$ constant, H is a constant for this analysis. An isothermal atmosphere has a vertical pressure profile given by $$P(h) = Po e^{-h/H}$$ where Po is the pressure at some specified altitude (like sea level), h is the altitude with respect to the specified reference altitude, H is the scale height, and P(h) is the pressure at altitude h. Now imagine a layered, isothermal (for now) atmosphere with 10-km layers. Each layer supports all the layers above it. Assume a typical scale height for Earth's lower atmosphere of 8 km. Then at the top of a layer, the pressure would be $$P(top) = P(bottom) e^{-10/8}$$ or ~1/3.5 of the pressure at the bottom. Now increase the temperature of the entire lowest layer by 10%, expanding it by 10% per the Ideal Gas Law, so now it's 11 km thick, with the pressure at its top unchanged. It pushed all the higher layers up by 1 km and is still supporting their weight, which hasn't changed (due to constant g). Now do the same for the next higher layer—another 1 km rise for the layers above that one. The top of layer 2 is now 22 km up instead of the original 20 km, and everything above it has been pushed up by 2 km. Do that another 8 times, for successively higher layers. Now the top of the 10th layer is at 110 km, where the top of the 11th layer used to be, but it's still at the original top-of-the-10th pressure. The pressure at the top of the 10th is the same as the pressure at the bottom of the 11th, so the pressure at the top of the 11th is ~1/3.5 of the pressure at the top of the 10th. At h = 110 km, before the heating, the pressure was that of the top of level 11 (~1/3.5 times the pressure at the top of level 10), and the temperature was the original isothermal temperature, call it To. Calculating an expression for the original density at 110 km, defining Po as the original pressure at the top of level 10: $$\frac{m}{V} =\frac{(Po/3.5)\mu}{RTo} = \frac{1}{3.5} \times\frac{Po \mu}{RTo}$$ After heating, the pressure at h = 110 km is now the pressure of the top of level 10 and the temperature is up by 10%. Now calculate an expression for the density at 110 km after that heating: $$\frac{m}{V} =\frac{(Po)\mu}{R(1.1\times To)} = \frac{1}{1.1} \times\frac{Po \mu}{RTo}$$ The second is greater than the first by a factor of ~3.2! This arises from the fact that the entire mass of layer 11, which originally was beneath the 110 km altitude, is now above the 110 km level, so the pressure at 110 km must increase enough to support that added weight. Note that this upward movement is a result of increasing the temperatures of layers below the 110 km altitude. If you increase the temperatures of layers above the specified altitude, it has no effect on the density at the specified altitude, other than a transient due to accelerating air upward. For those who don't like the isothermal assumption, fine: make the temperature variable. Now, instead of 10 km layers, have 1 m layers, each at its own temperature, which in each layer will be very nearly constant over that 1 m altitude change. Change the temperature of each by 10% and do the expansion, and voila!: you get the same net result—after a lot more iterations through the process. Gravitational acceleration does indeed decrease with altitude, increasing the scale height (g is in the denominator of that equation), but for an altitude change of 110 km it varies less than 4%, not enough to offset that factor-of-3+ increase seen in the analysis above. As Mark Adler says, the reality is much more complicated, but this treatment helps to see why the density increase occurs. During real atmospheric heating events (solar flares, coronal mass ejections) the heating occurs well above the surface—nobody not in the space business ever notices it—but significant portions of it occur at altitudes below normal LEO, so it affects LEO birds. Based on the way you posed the question, I think there should be something about why the Ideal Gas Law doesn't apply, and the answer to that would roughly be that the Ideal Gas Law assumes the gas is in a container, where the molecules rebound off walls (or off of gas around it etc). This doesn't hold at the top of the atmosphere. @ErinAnne , Actually no, the Ideal Gas law doesn't assume a container per se, it just assumes a parcel of gas that doesn't exchange energy or matter with its surroundings, i.e. it's isentropic. The Ideal Gas Law doesn't apply here because the gas around the satellite after expansion is not the same parcel of gas that was there before expansion (heating). Notably, the enthalpy of the gas around the satellite after expansion started out different from that of the pre-expansion gas that was around the satellite. wow I managed to misread that quite badly. Thanks for re-explaining. Wow-- I was entirely wrong in my earlier comment, thanks for explaining-- I never had considered the atmosphere could temporarily expand beyond what it currently is. But it makes a LOT of sense. Thanks again sir! I used to see it as anne said--the atmosphere is a container! Rather its a layer upon other layers, where one infinitesimal layer just happens to be the end with no specified altitude due to many factors. The scale height is proportional to temperature. As the scale height increases, the density above about one scale height increases. (The density below that decreases.) This is what you'd expect if the whole atmosphere gets heated. In short, the atmosphere blooms, so you are simply getting more particles higher up. The reality is way more complicated than that though, since the thermosphere is not in equilibrium, is not close to an ideal gas, and is partly a plasma. Oh, and gravity varies enough that scale height doesn't quite work anymore. This paper discusses modeling density changes in the thermosphere in response to a geomagnetic storm. Since you decided to answer an easy question (likely targeted to new users) rather than a hard one can you at least mention very roughly, below what altitude does the density slightly drop during a "bloom" in order to conserve total number? Sorry, I don't know how to answer this very roughly. The altitude at which two exponential density distributions of equal mass are equal is exactly $h_1 h_2\left(\log{h_1}-\log{h_2}\right)\over h_1-h_2$, where $h_1$ and $h_2$ are the two scale heights. Below that the density of the longer scale height (higher temperature) is lower. Above that the density of the longer scale height is higher. Okay I'll try to do some further reading. Here's the density profile of an isothermal atmosphere of fixed total mass 1, $$ \rho(h) = \frac{\exp(-h/h_0)}{h_0} $$ animated over different temperatures (and thus different scale heights): We see that, whilst the density at ground level indeed always decreases with rising temperature, the density at greater heights increases at first, as the temperature drives the atmosphere to greater expansion. Source code (Haskell): import Graphics.Dynamic.Plot.R2 main = plotWindow [ plotLatest [legendName ("ℎ₀ = "++take 4(show h0)) . continFnPlot $ \h -> exp (-h/h0)/h0 | h0 <- [0,0.06..]] , forceXRange (0,10), forceYRange (0,0.5) , xAxisLabel "ℎ", yAxisLabel "" ] Well, the plotted function is just \h -> exp (-h/h0)/h0, i.e. $\rho(h) = \frac{\exp(-h/h_0)}{h_0}$. Simply normalised to $\int\limits_0^\infty!\mathrm{d}h:\rho(h) = 1$. It does go to zero, but that doesn't represent the centerpoint of Earth but the surface. (And the gravity potential is not central but homogeneous, which is a good approximation if the scale hight is much smaller than the radius, as it is on all planets).
6,050
https://stackoverflow.com/questions/63892133
StackExchange
Open Web
CC-By-SA
2,020
Stack Exchange
StefanMZ, https://stackoverflow.com/users/2099394
English
Spoken
147
273
How can I pass a dictionary from HTML to a Flask Python method? I have a dictionary in a HTML file. I want to be able to download this data in the 'xlsx' (Excel) format. I have the code to convert any Python dictionary into a newly converted Excel file but I don't know how to pass the dictionary from the HTML to the Python/Flask route method. you really can't ... you should use js to generate a json from what data you have set in html ... call a url (which is you python / flask server) Flask Route to get data. @app.route('/postmethod', methods = ['POST']) def get_post_javascript_data(): jsdata = request.get_json() # parse as json AJAX to send JSON data var person = {"name":"Andrew", "loves":"Open Source"}; var asJSON = JSON.stringify(person); var xhttp = new XMLHttpRequest(); xhttp.open("POST", "/postmethod", true); xhttp.setRequestHeader("Content-type", "application/json; charset=utf-8"); xhttp.send(asJSON); something like that ...
8,021
https://stackoverflow.com/questions/6810025
StackExchange
Open Web
CC-By-SA
2,011
Stack Exchange
Dien Mat Troi SUNEMIT, IsumiAI, M coder, Snorre Aas, StefanMK, Wael Kabil, abdelbasset, devnikesh, gillicubhp, https://stackoverflow.com/users/14898787, https://stackoverflow.com/users/14898788, https://stackoverflow.com/users/14898789, https://stackoverflow.com/users/14898866, https://stackoverflow.com/users/14955140, https://stackoverflow.com/users/14955581, https://stackoverflow.com/users/14955582, https://stackoverflow.com/users/14958010, https://stackoverflow.com/users/14958840, https://stackoverflow.com/users/14958841, https://stackoverflow.com/users/827253, user14898866, user827253
Dutch
Spoken
191
463
Changing links color from textbox value and then store with cookies I'm bulding a Google Chrome extension and I have to change links color from a texfield and save the change with a cookie using jquery cookie plugin. This is what i'm trying to do: $(document).ready(function(){ $('.linkbox').append('-&nbsp;<a class="save" href="#">&nbsp-;save</a><input id="textbox" name="textbox" value="" />'); $('#textbox').keypress(function(event) { if (event.which == '13') { event.preventDefault(); $(".linkstochange").filter('a[href$="'+$(this).val()+'"]').addClass("green"); $.cookie("linkstosave", "green", {path: '/'}); } }); var rememberme = $.cookie("linkstosave"); if (rememberme == "green") { $(".linkstochange").filter('a[href$="'+$(this).val()+'"]').addClass("green"); }; }); Html <div class = "linkstochange"> <a href = "u123">firstlink</a>, <a href ="u333">secondlink</a>, <a href="u656">thirdlink</a>, <a href="u656">thirdlink</a>... </div> The problem is that if i click on the link "Save" all the links change color (not only one) and then if i refresh tha page nothing is saved. How can i do? I don't know what you want to do with the cookies (what do you want to save: links or class?) but this code might help you out: http://jsbin.com/atisaf/31 What i would like to save is that when i write (for example) u333 the link change color (green) and when I refresh the page the link is green (sorry for my English)
47,758
https://fa.wikipedia.org/wiki/%D8%A8%D8%AF%D8%B1%20%D8%A7%D9%84%D8%B5%D9%81%D8%B1%D8%A7%D8%A1
Wikipedia
Open Web
CC-By-SA
2,023
بدر الصفراء
https://fa.wikipedia.org/w/index.php?title=بدر الصفراء&action=history
Persian
Spoken
282
788
بدر الصفراء، منطقه‌ای نزدیک به منطقه بدر واقع در حجاز است. این منطقه به جهت بازار موسمی اعراب در آن پیش از اسلام و همینطور وقوع یکی از غروات محمد به نام بدر صغری مورد توجه منابع قرار گرفته است. موقعیت جغرافیایی این منطقه در نزدیکی بدر واقع شده‌است. این منطقه دارای سه کوه می‌باشد که به نام شنکوئه و یا جمع آن شنائک شناخته می‌شوند. منصرف دیگر منطقه نزدیک این وادی است که بین مدینه و صفراء واقع شده‌است. در بین منطقه صفراء و بدر، ناحیه‌ای نخلستانی به نام اثیل وجود داشت که متعلق به جعفر بن ابی‌طالب بود. موفعیت تاریخی بر اساس گزارش دایره المعارف بزرگ اسلامی، پس از آنکه سپاهیان ابوسفیان و مکه در نبرد بدر کبری از مسلمانان شکست خوردند،‌ برای انتقام پیامبر را به جنگی دیگر در سال آینده دعوت کردند. محل و قرار این نبرد انتقامی، توسط ابوسفیان منطقه ای به نام بدرالصفراء بود. این محل جایگاهی برای بازارهای موسمی در منطقه بدر بود. مقریزی و مغازی گزارش می‌کند که در موعد مقرر، پس از آنکه محمد به منطقه بدرالصفرا رسید، مشرکین مکه از جنگ امتناع کردند و از راه بازگشتند. برخی منابع این غزوه پیامبر اسلام را غزوه بدر صغری نامیده‌اند. در خصوص تعداد روزهای ماندن سپاه اسلام به انتظار سپاه مشرکین مکه، ابن هشام گزارش می‌کند که هشت روز به طول انجامید. مسلمانان در این مدت، از هر درهم خود با شرکت در بازار موسمی اعراب، یک درهم کسب کردند. موقعیت اقتصادی این منطقه از جهت اقتصادی برای مسلمانان مورد توجه بوده و در بازارچه شکل گرفته در آن که سایر قبایل عرب نیز شرکت داشتند، حضور به هم می‌رساندند و از این طریق سود مالی کسب می‌کردند. پانویس عربستان سعودی مدینه تاریخ اسلام
17,667
https://sr.wikipedia.org/wiki/Juraj%20Dobrila
Wikipedia
Open Web
CC-By-SA
2,023
Juraj Dobrila
https://sr.wikipedia.org/w/index.php?title=Juraj Dobrila&action=history
Serbian
Spoken
358
854
Juraj Dobrila (Veli Ježanj, 16. mart 1812 - Trst, 13. januar 1882)bio je biskup, štampar i dobrotvor. Biografija Dobrila se rodio u selu Veli Ježenj, u području Tinjanštine u centralnoj Istri, koja je tada bila dio Ilirskih provincija, da bi ubrzo prešla u Habzburšku monarhiju. Bio je iznadprosečno inteligentan, pa je prvo pohađao nemačku osnovnu školu u Tinjanu i Pazinu, a potom gimnaziju u Goriciji i Karlovcu, gde je išao i u sjemenište. Zaredio se 1837. godine i radio 1837-1838 u Munami i Hrušićima. Od 1839. studirao je teologiju u bečkom Augustineumu gdje je diplomirao 1842. godine. Nakon studija je postao kapelan u Trstu i direktor devojačke škole. U periodu 1857-1875 bio je biskup porečko-pulski, a od 1875. do smrti biskup tršćansko-koparski. Dobrilin studijski kolega i prijatelj bio je Josip Juraj Štrosmajer, hrvatski biskup i dobročinitelj u XIX veku. Dobrila je glasno zastupao prava Hrvata i Slovenaca u Istri. Za vreme Revolucije 1848, Dobrila se učlanio u Slavjansko društvo u Trstu. Zalagao se za uvođenje slovenskih jezika u škole i u javni život, finansirao školovanje dece u hrvatskom delu monarhije (u Rijeci i Kastvu) te je poticao hrvatske i slovenačke seljake u Istri da čitaju knjige na materinskom jeziku i da ih ne tlače politički i kulturno moćniji Italijani. Dobrila je 1854. štampao molitvenik "Oče, budi volja tvoja" na hrvatskom i podupirao je izdavanje prvih hrvatskih novina u Istri, "Naše sloge" 1870. godine. Takođe je objavio zbirku narodnih bajki i poslovica, "Različno cvijeće". Njegov drugi molitvenik, "Mladi bogoljub", objavljen je 1889. Bio je član Regionalnog savjeta Poreča od nejgova osnivanja 1861. i njegov predstavnik u bečkom parlamentu do 1867. Osim toga, učestvovao je u Prvom vatikanskom saboru (1870), gde je podupirao Štrosmajerove stavove o budućnosti Crkve. Dobrila je postumno darovao celo svoje imanje u dobrotvorne svrhe. Njegova se slika nalazi na novčanici od 10 hrvatskih kuna. Drugi o Dobrili Šimun Milinović je poznavao Dobrilu i o njemu je zapisao da ne želi da ga potomstvo kune, jer se uticalo da bogoslovija postane rasadnik talijanštine. Dobrilu su posprdno nazivali biskupom Slovena, vescovo dei Schiavoni. Vidi još Univerzitet Juraja Dobrile u Puli Reference Рођени 1812. Умрли 1882. Пазинци Хрватски бискупи
47,167
https://fa.wikipedia.org/wiki/%D8%A8%DB%8C%D9%84%DB%8C%E2%80%8C%D8%B1%D9%88%D8%A8%DB%8C%D9%86
Wikipedia
Open Web
CC-By-SA
2,023
بیلی‌روبین
https://fa.wikipedia.org/w/index.php?title=بیلی‌روبین&action=history
Persian
Spoken
520
1,769
بیلی‌روبین یکی از پیگمان‌های زردرنگ صفراوی است که از شکست و تجزیهٔ طبیعی هموگلوبین حاصل می‌شود و عامل رنگ زرد ادرار و رنگ قهوه‌ای مدفوع است. گلبولهای قرمز پس از طی عمر ۱۲۰روزهٔ خود در طحال، توسط ماکروفاژهای طحالی تخریب می‌شوند. هموگلوبینِ موجود در گلبولهای قرمز پس از تخریب اریتروسیتها آزاد و به یک «هِم» (heme) و اسید آمینه تجزیه می‌شوند. ساختار شیمیایی بیلی‌روبین شامل زنجیره‌ای باز از چهار پیرول حلقه‌مانند (تتراپیرول) است. در هِم،این چهار حلقه به یک حلقهٔ بزرگ متصل می‌شود که حلقهٔ پورفیرین نامیده می‌شود. بیلی‌روبین بسیار شبیه به رنگ‌دانه یا پیگمنتی به‌نام فیکوبیلین (phycobilin) است که توسط برخی از جلبک‌ها برای جذب انرژی نور استفاده می‌شود و حاوی یک زنجیره باز از چهار حلقه پیرولیک می‌باشد. از این پدیده ایزومری شدن در برابر نور امروزه استفاده‌های بسیاری می‌شود. از کاربردهای این پدیده می‌توان به فتوتراپی(درمان توسط نور) در زردی نوزادان اشاره نمود. بیلیروبین دارای ایزومرهایی ازجمله Z و Y و نیز Z-Z می‌باشد. انواع بیلیروبین بیلی‌روبین توسط فعالیت بیلی‌وردین ردوکتاز بر روی بیلی‌وردین که رنگ‌دانه یا پیگمنتی سبزرنگ حاصل از کاتابولیزم هم است٬ حاصل می‌گردد. بیلی روبین غیر مستقیم اریتروسیتها (سلول‌های قرمز خون) که در مغز استخوان تولید می‌شوند پس از طی عمر یا آسیب دیدگی٬ در طحال دفع و تخلیه شده و هموگلوبین این سلول‌ها به هم و گلوبین (که به اسید آمینه برگشت می‌شود)شکسته می‌شوند. حلقه هم در سلول‌های رتیکولواندوتلیال درطحال به بیلی روبین غیرمستقیم تبدیل می‌شود. این بیلی‌روبین آزاد است و به هیچ ماده دیگری جفت و پیوند نشده و به همین دلیل غیرکنژوگه نامیده می‌شود و با توجه به پیوند هیدروژنی درون ذره‌ای در آب محلول نیست و درون ادرار دیده نمی‌شود. پس از آن به آلبومین متصل شده و به کبد فرستاده می‌شود. بیلی روبین مستقیم بیلیروبین غیر مستقیم حمل شده توسط آلبومین بدرون کبد٬ توسط آنزیم گلوکورونیل ترانسفراز با اسید گلوکورونیک جفت (کنژوگه) شده که در این مرحله قابل حل در آب بوده و درون ادرار نیز می‌تواند وارد شود. مقدار زیادی از این بیلیروبین کنژوگه به صفرا رفته و به این ترتیب به روده باریک راه می‌یابد ولی در ادامه روند هضم٬ حدود ٪۹۵ آن توسط خود روده باریک٬ باز جذب می‌شود و طی چرخه انتروهپاتیک به کبد بازمی‌گردد. بیلیروبین دلتا(بیلی پروتئین):همان بیلیروبین کنژوگه می‌باشد که با انتقال دهنده‌ای در خون به نام آلبومین باند شده‌است و امکان دفع آن توسط کلیه کاهش یافته و در نتیجه عامل دوام زردی در بیماران مبتلا به یرقان کبدی یا کلاستاز می‌باشد. هیپر بیلیروبینمی هیپر بیلی روبینمی غیر مستقیم: در این حالت بیلی روبین غیرکنژوگه افزایش می‌یابد. افزایش بیلی روبین غیرکنژوگه در موارد زیر اتفاق می‌افتد: زردی نوزادان نشانگان ژیلبرت کم‌خونی همولیتیک نشانگان کریگلر نجار هیپر بیلی روبینمی کنژوگه: در این حالت که معمولاً به‌دنبال بیماری‌های کبدی و صفراوی اتفاق می افتد میزان بیلی روبین کنژوگه افزایش میابد. از جمله مواردی که باعث افزایش این فرم بیلی روبین می‌شود عبارتند از: بیماری‌های کبدی شامل سیروز کبدی، تومور یا آبسه کبد، انسداد داخل کبدی و هپاتیت سندرم‌های مادرزادی روتور و دوبین جانسون مقادیر طبیعی برای بیلی‌روبین مقادیر طبیعی گوناگونی گزارش شده‌است که در ادامه به یکی از آن‌ها اشاره می‌شود. منابع آزمایش‌های عمل‌کرد کبد پزشکی کودکان تتراپیرول‌ها خون‌شناسی رنگدانه‌ها رنگدانه‌های زیستی کبدشناسی متابولیسم
46,773
https://stats.stackexchange.com/questions/281548
StackExchange
Open Web
CC-By-SA
2,017
Stack Exchange
Alex R., Frey, https://stats.stackexchange.com/users/124679, https://stats.stackexchange.com/users/61092, https://stats.stackexchange.com/users/919, whuber
English
Spoken
108
271
To check random variables i.i.d. or not I have continuous random variables: $X_i;~i=1,\cdots,K$ which are i.i.d. and $Y_i;~i=1,\cdots,K$ which are i.i.d. However, $X_i$ and $Y_i$ are independent but not identical. Now I have $Z_i=\min(X_i,Y_i);~i=1,\cdots,K$. Can I claim that $Z_i;~i=1,\cdots,K$ are i.i.d? Yes you can claim that $Z_i$ are independent. This follows from the rules of independence, as long as $X_i,Y_j$ are also independent between each other. are they identical? Since the distribution of $(X_i,Y_i)$ determines the distribution of $\min(X_i,Y_i)$ when $X_i$ and $Y_i$ are independent, it is immediate that the $Z_i$ are identically distributed. Yeah that is what i noticed too. Thanks @Alex and whuber for the clarifications.
39,152
https://ca.wikipedia.org/wiki/Morrisville%20%28Carolina%20del%20Nord%29
Wikipedia
Open Web
CC-By-SA
2,023
Morrisville (Carolina del Nord)
https://ca.wikipedia.org/w/index.php?title=Morrisville (Carolina del Nord)&action=history
Catalan
Spoken
277
499
Morrisville és una població dels Estats Units a l'estat de Carolina del Nord. Segons el cens del 2008 estimate tenia una població de 14.954 habitants. Demografia Segons el cens del 2000, Morrisville tenia 5.208 habitants, 2.476 habitatges i 1.297 famílies. La densitat de població era de 297 habitants per km². Dels 2.476 habitatges en un 24,7% hi vivien nens de menys de 18 anys, en un 42% hi vivien parelles casades, en un 7,1% dones solteres, i en un 47,6% no eren unitats familiars. En el 36,6% dels habitatges hi vivien persones soles el 2,3% de les quals corresponia a persones de 65 anys o més que vivien soles. El nombre mitjà de persones vivint en cada habitatge era de 2,1 i el nombre mitjà de persones que vivien en cada família era de 2,8. Per edats la població es repartia de la següent manera: un 20,6% tenia menys de 18 anys, un 11,2% entre 18 i 24, un 50% entre 25 i 44, un 14,2% de 45 a 60 i un 4% 65 anys o més. L'edat mediana era de 30 anys. Per cada 100 dones de 18 o més anys hi havia 104,9 homes. La renda mediana per habitatge era de 56.548 $ i la renda mediana per família de 64.625 $. Els homes tenien una renda mediana de 46.750 $ mentre que les dones 34.528 $. La renda per capita de la població era de 32.243 $. Entorn del 3,4% de les famílies i el 4,6% de la població estaven per davall del llindar de pobresa. Poblacions properes El següent diagrama mostra les poblacions més properes. Referències Entitats de població de Carolina del Nord
18,544
https://askubuntu.com/questions/504004
StackExchange
Open Web
CC-By-SA
2,014
Stack Exchange
Sylvain Pineau, Wolf F., https://askubuntu.com/users/15809, https://askubuntu.com/users/158442, https://askubuntu.com/users/32239, muru
English
Spoken
141
216
Is there a command line or some other way to bring up nm-applet UI? Folks, Environment: Ubuntu 14.04 In my current environment, nm-applet icon can be seen in the panel (as expected). I can right-click on it and bring up its UI. I need to trigger the same UI from within my application. Is there a command line tool I can run to bring up this UI? Or, perhaps there is a message I can send to the panel to force-display the UI? Thank you in advance for your help. Regards, Peter If you wish to control NetworkManager, the nmcli command might be of interest. You could try "nm-connection-editor". Maybe this package have to be installed (I did not know anymore if I have installed this package later). nm-connection-editor is provided by the network-manager-gnome package (normally already installed). @Sylvain Pineau: Thanx
9,661
https://stackoverflow.com/questions/63962864
StackExchange
Open Web
CC-By-SA
2,020
Stack Exchange
Ken T, Robo Mop, https://stackoverflow.com/users/2720402, https://stackoverflow.com/users/3846117, https://stackoverflow.com/users/8089674, pavangulhane
English
Spoken
571
1,236
Python Regular expression of group to match text before amount I am trying to write a python regular expression which captures multiple values from a few columns in dataframe. Below regular expression attempts to do the same. There are 4 parts of the string. group 1: Date - month and day group 2: Date - month and day group 3: description text before amount i.e. group 4 group 4: amount - this group is optional Some peculiar conditions for group 3 - text that (1)the text itself might contain characters like "-" , "$". So we cannot use - & $ as the boundary of text. (2) The text (group 3) sometimes may not be followed by amount. (3) Empty space between group 3 and 4 is optional Below is python function code which takes in a dataframe having 4 columns c1,c2,c3,c4 adds the columns dt, txt and amt after processing to dataframe. def parse_values(args): re_1='(([JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC]{3}\s{0,}[\d]{1,2})\s{0,}){2}(.*[\s]|.*[^\$]|.*[^-]){1}([-+]?\$[\d|,]+(?:\.\d+)?)?' srch=re.search(re_1, args[0]) if srch is None: return args m = re.match(re_1, args[0]) args['dt']=m.group(1) args['txt']=m.group(3) args['amt']=m.group(4) if m.group(4) is None: if pd.isnull(args['c3']): args['amt']=args.c2 else: args['amt']=args.c3 return args And in order to test the results I have below 6 rows which needs to return a properly formatted amt column in return. tt=[{'c1':'OCT 7 OCT 8 HURRY CURRY THORNHILL ','c2':'$16.84'}, {'c1':'OCT 7 OCT 8 HURRY CURRY THORNHILL','c2':'$16.84'}, {'c1':'MAR 15 MAR 16 LOBLAWS FOODS INC - EAST YORK -$80,00,7770.70'}, {'c1':'MAR 15 MAR 16 LOBLAWS FOODS INC - EAST YORK-$2070.70'}, {'c1':'MAR 15 MAR 16 LOBLAWS FOODS INC - EAST YORK$2070.70'}, {'c1':'MAR 15 MAR 16 LOBLAWS FOODS INC - EAST YORK $80,00,7770.70'} ] t=pd.DataFrame(tt,columns=['c1','c2','c3','c4']) t=t.apply(parse_values,1) t However due to the error in my regular expression in re_1 I am not getting the amt column and txt column parsed properly as they return NaN or miss some words (as dipicted in some rows of the output image below). This probably isn't the solution, but I should probably tell you right now that character sets ([]) don't work like that. They match a single character from the entire set. [JAN] will match J, A, N from JAN, while (JAN) matches the entire string of JAN How about this: (((?:JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)\s*[\d]{1,2})\s*){2}(.*?)\s*(?=[\-$])([-+]?\$[\d|,]+(?:\.\d+)?) As seen at regex101.com Explanation: First off, I've shortened the regex by changing a few minor details like using \s* instead of \s{0,}, which mean the exact same thing. The whole [Jan|...|DEC] code was using a character class i.e. [], whcih only takes a single character from the entire set. Using non capturing groups is the correct way of selecting from different groups of multiple letters, which in your case are 'months'. The meat of the regex: LOOKAHEADS (?=[\-$]) tells the regex that the text before it in (.*) should match as much as it can until it finds a position followed by a dash or a dollar sign. Lookaheads don't actually match whatever they're looking for, they just tell the regex that the lookahead's arguments should be following that position. It seems that the lookahead expression (?=[\-$]) can be removed. Thanks Robo Mop for the response. I believe I did not mention earlier some peculiar conditions for group 3 - text that (1)the text itself might contain characters like "-" , "$". So we cannot use - & $ as the boundary of text. (2) The text (group 3) sometimes may not be followed by amount. (3) Empty space between group 3 and 4 is optional I will edit this in original question.
14,486
https://stackoverflow.com/questions/60559668
StackExchange
Open Web
CC-By-SA
2,020
Stack Exchange
Oddity, Sjoerd Linders, Wiktor Stribiżew, https://stackoverflow.com/users/2486021, https://stackoverflow.com/users/3832970, https://stackoverflow.com/users/9618483
English
Spoken
550
1,172
Wordpress Invalid Range In Character Class After Update I have a problem about Visual Compser Backend not showing any elements, it only shows the code in the classic mode editor. See Screenshot Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 11 in /home/customer/www/******.com/public_html/wp-content/plugins/js_composer/include/autoload/hook-vc-grid.php on line 162 This is line 162 preg_match_all( "/$pattern/", $post->post_content, $found ); // fetch only needed shortcodes ```public function gridSavePostSettingsId( array $settings, $post_id, $post ) { $pattern = $this->getShortcodeRegexForId(); preg_match_all( "/$pattern/", $post->post_content, $found ); // fetch only needed shortcodes $settings['vc_grid_id'] = array(); if ( is_array( $found ) && ! empty( $found[0] ) ) { $to_save = array(); if ( isset( $found[1] ) && is_array( $found[1] ) ) { foreach ( $found[1] as $key => $parse_able ) { if ( empty( $parse_able ) || '[' !== $parse_able ) { $id_pattern = '/' . $this->grid_id_unique_name . '\:([\w-_]+)/'; $id_value = $found[4][ $key ]; preg_match( $id_pattern, $id_value, $id_matches ); if ( ! empty( $id_matches ) ) { $id_to_save = $id_matches[1]; // why we need to check if shortcode is parse able? // 1: if it is escaped it must not be displayed (parsed) // 2: so if 1 is true it must not be saved in database meta $shortcode_tag = $found[2][ $key ]; $shortcode_atts_string = $found[3][ $key ]; /** @var $atts array */ $atts = shortcode_parse_atts( $shortcode_atts_string ); $content = $found[6][ $key ]; $data = array( 'tag' => $shortcode_tag, 'atts' => $atts, 'content' => $content, ); $to_save[ $id_to_save ] = $data; } } } } if ( ! empty( $to_save ) ) { $settings['vc_grid_id'] = array( 'shortcodes' => $to_save ); } } return $settings; }``` I tried disabling all plug-ins and rollback wordpress version but still the same. Is this problem related to the warning above? I know very little about coding. Please point me in the right direction. Thank you! Does this answer your question? preg_match(): Compilation failed: invalid range in character class at offset [\w-_] is wrong, it must be [\w-] Hi @wiktor, Thank you so much for your quick response and suggestions. I haven't found a fix yet but I found a temporary fix for my problem.by changing my PHP version from 7.3.15 (which is the recommend version) to 7.1.33. It'll do for now :) Change '\:([\w-_]+)/' with ':([\w-]+)/'. Though it is not clear what regex you have in $pattern = $this->getShortcodeRegexForId() Exactly same problem back-end mode didn't show any elements and /hook-vc-grid.php on line 162 error. " [\w-_] is wrong, it must be [\w-] " this helps only dissappear error but not solution for not showing elements. Edit: php 7.1 works. It solved elements thing also. Thank you guys The underscore '_' shoud not be removed, but the hyphen '-' should be escaped. So the answer should be: "[\w-_]" (See my complete answer with explanation below) All hyphen '-' characters (that are not used as a range character) should be escaped '\-' as of PHP 7.3 so that it will NOT be treated anymore as a range character. Therefor the following WordPress function needs to be changed this way to make this expression work the same again: private function getShortcodeRegexForId() { return '\\[' // Opening bracket . '(\\[?)' // 1: Optional second opening bracket for escaping shortcodes: [[tag]] . '([\\w\-_]+)' // 2: Shortcode name . '(?![\\w\-])' // Not followed by word character or hyphen
9,858
https://ca.wikipedia.org/wiki/Josep%20Alsina%20i%20Bofill
Wikipedia
Open Web
CC-By-SA
2,023
Josep Alsina i Bofill
https://ca.wikipedia.org/w/index.php?title=Josep Alsina i Bofill&action=history
Catalan
Spoken
403
839
Josep Alsina i Bofill (Palafrugell, Baix Empordà, 1904 – Calella de Palafrugell, Baix Empordà, 1993) fou un metge català. La seva família estava molt relacionada amb la indústria surera palafrugellenca. Biografia De petit es va traslladar amb la seva família a Barcelona, on va fer els estudis. Es llicencià en medicina a la Universitat de Barcelona el 1927, on fou deixeble de Santiago Pi i Sunyer, Francesc Ferrer i Solervicens i Joaquim Trias i Pujol, i s'especialitzà en medicina interna i nefrologia. El 1934-1939 fou professor de patologia mèdica a la Universitat Autònoma de Barcelona. Col·laborà al Diccionari de Medicina elaborat el 1936 per Manuel Corachan i Garcia. Durant la guerra civil espanyola fou mobilitzat com a tinent metge provisional a la Clínica Militar de Manresa. En acabar la guerra fou depurat per les autoritats franquistes, i se li va impedir, juntament amb altres metges, l'accés a la docència, fins i tot l'entrada a l'Hospital Clínic. Va exercir durant molts anys la medicina privada a la Clínica Plató. Es va casar amb Montserrat Dachs el 1930 i tingueren sis fills. Ajudà a la reconstitució en la clandestinitat de la Societat Catalana de Biologia, de la que en fou president el 1963-1967. També ha estat membre de la Reial Acadèmia de Medicina de Barcelona (1965) i president de l'Institut d'Estudis Catalans (1974-1978) i de l'Acadèmia de Ciències Mèdiques de Catalunya i Balears. El 1976 presidí el X Congrés de Metges i Biòlegs de Llengua Catalana a Perpinyà. Publicà nombrosos treballs sobre la prevenció de malalties dels ronyons i de l'aparell circulatori, d'entre els quals destaquen Albuminúria, la seva valoració pràctica (1935) i El metge davant l'hipertens (1969) de la col·lecció Monografies Mèdiques. També ha col·laborat en el Vocabulari Mèdic (1979). El 1982 va rebre la Creu de Sant Jordi. També formà part de la Fundació Josep Pla. El seu fons documental es conserva i es pot consultar a l'Arxiu Municipal de Palafrugell (AMP). Obres Albuminúria, la seva valoració pràctica (1935) El metge davant l'hipertens (1969) Referències Bibliografia Enllaços externs Metges catalans del sud contemporanis Estudiants de medicina de la UB Professors de la Universitat Autònoma de Barcelona Membres de la Secció de Ciències de l'IEC Presidents de l'IEC Creus de Sant Jordi 1982 Pedagogs palafrugellencs contemporanis Morts a Palafrugell Presidents de l'Acadèmia de Ciències Mèdiques i de la Salut de Catalunya i de Balears Metges baix-empordanesos Polítics palafrugellencs Polítics catalans del sud contemporanis Nefròlegs
1,742
https://crypto.stackexchange.com/questions/49967
StackExchange
Open Web
CC-By-SA
2,017
Stack Exchange
English
Spoken
293
370
Is it possible to prove that I have half a key to decrypt file, to someone who has other half, without disclosing my part? Is it possible to prove that I have half a key to decrypt file, to someone who has other half, without disclosing my part? Or better yet, could you suggest a place where I can read about solved and unsolvable practical cryptographic problems like this one? This is similar to problems in Multi-Party Computation, but in this case I don't know how its possible if there is no trusted third party, and no corollary data accompanying the secret keys. However if you relax the scenario, and allow the distributor to convey an extra piece of information to both parties, then this can be achieved. Have the distributor distribute a second piece of information to both parties, for this example let it be Hash(First Half) XOR Hash(Second Half) So both parties know the hash of their half, and the XOR of the hashes of both halves. They can easily figure out the hash of the other parties data. So effectively, they both have a password which they can authenticate each other with. So then use a secure verification protocol that isn't subject to replay attacks (perhaps Password-authenticated key agreement algorithms such as SPEKE) Then they can both verify each other, and that they knew the Hash of their block of half of the key, which we now assume means that they knew that data. Sign a challenge nonce with an HMAC using your half. The entity that created the full key to begin with would act as a trusted third party, and could issue the challenge and verify your possession of the key to the other party and vice versa.
17,945
https://codereview.stackexchange.com/questions/127718
StackExchange
Open Web
CC-By-SA
2,016
Stack Exchange
Andrew Scott Evans, Joseph Farah, Tunaki, https://codereview.stackexchange.com/users/77131, https://codereview.stackexchange.com/users/91869, https://codereview.stackexchange.com/users/95296
English
Spoken
1,213
2,248
Hangman from a beginner I'm trying to learn programming with python by myself and I've made a hangman game for exercise purposes. import random words = ['egypt', 'automobile', 'world', 'python', 'miniority', 'treehouse', 'friend', 'program' , 'people'] def start(): print "Hello! Welcome to a tiny hangman game that I made for exercise purposes." raw_input('Press enter to continue') key = random.randint(0,(len(words)-1)) global word word = words[key] global word_template word_template = '_' * len(word) word_template = list(word_template) guesser() def draw(int): if int == 0: print " _________ " print "| | " print "| " print "| " print "| " print "| " print "| " elif int == 1: print " _________ " print "| | " print "| 0 " print "| " print "| " print "| " print "| " elif int == 2: print " _________ " print "| | " print "| 0 " print "| | " print "| " print "| " print "| " elif int == 3: print " _________ " print "| | " print "| 0 " print "| /| " print "| " print "| " print "| " elif int == 4: print " _________ " print "| | " print "| 0 " print "| /|\\ " print "| " print "| " print "| " elif int == 5: print " _________ " print "| | " print "| 0 " print "| /|\\ " print "| / " print "| " print "| " elif int == 6: print " _________ " print "| | " print "| 0 " print "| /|\\ " print "| / \\ " print "| " print "| " def guesser(): global counter counter = 0 checker = list(word) guesses = [] while counter < 6: draw(counter) print word_template print '\nYour previous letters are:', guesses print 'You have ',(6 - counter), 'guesses left.' choice = raw_input('Choose a letter: ') if choice in guesses: print "\nYou made that guess before!" elif choice in checker: if checker.count(choice) == 1: pointer = checker.index(choice) word_template[pointer] = checker[pointer] checker[pointer] = 1 guesses.append(choice) print "\nThat's a hit!" if list(word) == word_template: win() else: continue elif checker.count(choice) > 1: for i in range(0, checker.count(choice)): pointer = checker.index(choice) word_template[pointer] = checker[pointer] checker[pointer] = 1 guesses.append(choice) print "\nWOW! That was a multiple hit!" if list(word) == word_template: win() else: continue elif choice not in checker: guesses.append(choice) counter += 1 print '\nMiss!' if counter == 6: draw(counter) print 'Sorry, you lose :(' print 'The word was:', word retry() def win(): print "\nYou won!" print "You found the word:", word retry() def retry(): print "Do you want to play again?" choice = raw_input('Type retry for restart, Ctrl + C for exit:') if choice == 'retry': start() else: print "Sorry, I can't understand." retry() start() Is there any flaws on my logic and what can you suggest me to improve my code? Welcome to Code Review! I hope you get great answers! hahaha I love your first print statement! Use a decorator and create a hangman object. That way , you can just call things like .addRightArm and it will recreate the arm string in a list of strings. You can store the state of the hangee as an integer to test for the condition. Avoid global variables Instead of using global variables, it would be better to reorganize the code so that values are passed around in function parameters as necessary. Don't use int as variable name int is the name of a built-in type. Don't use it as a variable name. It prevents the rest of the code from using it, and it's confusing for readers. Don't use recursive menu In the current implementation the menu uses recursive logic: start calls guesser, which will call win or retry, which will again call start, or retry, and so on. This is all very confusing, and leads to a long stack. Rewrite this to use a loop for the game menu instead of recursion. Use the print function I know you tagged your question with python-2.7, but with the simple change of print something to print(something) you get something that works just as well, and you're one step closer to compatibility with Python 3, and building a good habit. That's so awesome you are learning Python! I love it and I am sure you will too. Your code looks pretty good! I played it and enjoyed doing so. It's harder than I expected though! So here are a few quick ideas for how you could improve your code. Fewer print statements with """ Instead of printing each line separately to create the hangman, you could use triple quotation marks to print it as a block. For example, instead of this: print " _________ " print "| | " print "| 0 " print "| /|\\ " print "| / \\ " print "| " print "| " ...you can try this: print """ _________ | | | 0 | /|\\ | / \\ | | """ Add a space for readability This is a minor issue, but it helps if you add a space in your string that is being printed for the user input. So instead of this: choice = raw_input('Type retry for restart, Ctrl + C for exit:') I would recommend this (note the space after the colon): choice = raw_input('Type retry for restart, Ctrl + C for exit: ') Also note that you don't have to do this for print statements where you've added an argument, because with a line of code like print 'The word was:', word Python will insert automatically insert a space between the two strings. Wrapping more with start() aka main() One last thing, and this is a more advanced concept. You did a good job by wrapping most of your code with the start() function. In most code I see it is more conventional to call this main() and it also will make more sense when you see the main in other languages as well. But whether you call it main() or start(), I would add your words list inside of it, like so: def start(): words = ['egypt', 'automobile', 'world', 'python', 'miniority', # Isn't this spelled 'minority' ? 'treehouse', 'friend', 'program' , 'people'] print "Hello! Welcome to a tiny hangman game that I made for exercise purposes." raw_input('Press enter to continue') key = random.randint(0,(len(words)-1)) global word word = words[key] global word_template word_template = '_' * len(word) word_template = list(word_template) guesser() It's also customary to have your main() function at the very bottom of your script, so I would move your start() function to the very end of your file, but above where you are actually executing start() From future import print_function Building on the answer that @janos provided, I make it a habit to add this to the top of all of my Python2.X code, so that it's easier to transition it to Python3 if and when you are ready to do so: from __future__ import print_function I would then try and go back through all of your print statements and change it to the print() convention that @janos described. Note that you should add this as the very first import, above import random. Hope that helps! Great job, keep at it and happy coding!
10,038
https://stackoverflow.com/questions/40866269
StackExchange
Open Web
CC-By-SA
2,016
Stack Exchange
463035818_is_not_an_ai, Bathsheba, Gerard, Jarod42, M.M, Peter - Reinstate Monica, Sam Varshavchik, StoryTeller - Unslander Monica, Walter, Will Custode, https://stackoverflow.com/users/1023390, https://stackoverflow.com/users/1203839, https://stackoverflow.com/users/1404233, https://stackoverflow.com/users/2153848, https://stackoverflow.com/users/2380830, https://stackoverflow.com/users/2684539, https://stackoverflow.com/users/3150802, https://stackoverflow.com/users/3943312, https://stackoverflow.com/users/4117728, https://stackoverflow.com/users/6196010, https://stackoverflow.com/users/7225048, https://stackoverflow.com/users/817643, jhbh, puppy
English
Spoken
592
938
What do you call a member function that follows a member function and how do I write one? What do you call function that follows a member function and modifies the return value and how do I write one? In other words how do I successfully write: std::cout << box.getVolume().inCubicFeet(); std::cout << box.getVolume().inCubicCentimeters(); It's called method/member-function chaining. Very similar to this is the concept of fluent interface where the methods return the this, which allows for method chaining. But given that you're returning a different class, it's not exactly the same. For that to work getVolume() needs to return an object of type Volume ( or even a reference to an object of type Volume &), so that whatever method follows you are able to invoke it on said object. For instance: class Volume{ ... int inCubicFeet() const { //convert it and return it } int inCubicCentimeters() const { //convert it and return it } }; class Box{ Volume v; //volume object that is initialized somewhere //(either in the constructor of Box or in a method like setVolume) ... Volume const& getVolume() const { return v; } }; did you mean Volume& getVolume(){.. or maybe const Volume& getVolume(){.. ? As a matter of fact, i didn't. Because it is not necessary, but it might be useful depending on the purpose and size occupied by a Volume instance before your edit, the text said "...you need to return a reference.." which was not consistent with the code. However, now I have no complaints anymore ;) I don't see how it would be a benefit. doesnt return make a copy anyways so that the object isnt destroyed at the end of the function scope? @MM sorry, I edited before seeing this discussion. I too think that returning a non-const reference is bad, since it allows the (inadvertent) change of the underlying volumeObject. Always use const if possible. I call it "elephant-style chaining". I see the pretinance and accept the advice, thanks for improving this answer. Returning by value has its merits, too. One could chain modifiers without affecting the original object: box.Volume().addpercent(10).tocc().roundup()... In cases like this with small PODs it's also not slower than returning references and potentially opens the door for better optimization, I suppose (because all objects are independent). How is the int variable from 'box' class being passed into 'inCubicFeet()' 'Volume' class and what would I put in place of 'volumeObject'? box.getVolume() needs to return an object of a class for which a function inCubicFeet() is defined which returns a value for which std::ostream has an overloaded << operator (although you are allowed to define your own overloads). For that second part, a double would suffice. Perhaps mention the term "method chaining" or "function chaining", as that's what (part of) the pattern is called. @Gerard: Isn't that what the C# quiche-eating set call it? it's a pattern agnostic of the language. This being c++, we could come up with a cryptic 4 letter acronym. Perhaps 'FNCN' or 'MFMC'. It can be any combination of 4 letters - then bacronym some meaning: Cf. RAII. It is called "member function of the return type". There is nothing special about those methods. The code could be written like this: const Volume& v = box.getVolume(); // my guess on what the return type is std::cout << v.inCubicFeet(); const Volume& v seems better. Or even auto&& v. @Jarod42 auto&& would defeat the whole point of the snippets as it was just meant to show that that there is another type involved. However agreed for the const&
27,592
https://biology.stackexchange.com/questions/50644
StackExchange
Open Web
CC-By-SA
2,016
Stack Exchange
Han Zhengzu, Remi.b, Rodrigo, https://biology.stackexchange.com/users/22459, https://biology.stackexchange.com/users/4108, https://biology.stackexchange.com/users/4821
English
Spoken
350
461
Comparing the amount of domestic animals and wild animals? From some material, I read about the ammonia (NH3) emission from animal waste. I found that the emission from domestic animals are greater than wild animals. Then, I can't help wondering the amount of wild animals and domestic animals(cow, pig, chicken, etc). Which has the greater amount on Earth? And how to estimate the amount approximately? You may find this interesting: https://xkcd.com/1338/ Can you please link and cite your source? That would definitely help. The comparing of NH3 emission was from a textbook named Atmospheric Science by Hobbs.Link And how to estimate the amount approximately? You cannot. Most of the earth is water, and fauna diversity is highest in water. We are still tagging and tracking the movement and reproduction cycles of animals, and that is a never ending task. I say we cannot reach an accurate approximation because of how these projects work. They are targeted towards the monitoring of specific species. Next, different countries have different approaches towards conservation of the same species, and above all this many countries choose not to report numbers. The example which comes to mind is the Red panda. As many animals come inside the radar of active conservation efforts, even more remain outside it. In fact, some time ago I read a compelling article about why the WWF should change their logo to a Red panda (or known as the lesser panda) rather than the giant panda, the argument being that awareness about the giant panda is very high while red pandas are still misunderstood as pandas. Unfortunately I cannot find that article now, but you can visit the red panda network to find out more. Which has the greater amount on Earth? Second, what do you consider as a wild animal? are insects included? are gutter rats included? Is the infestation of wild boars near the now defunct Fukushima plant included? If yes then they outnumber domesticated animals by a long shot. I would dare to say that cities are habitats more for members belonging to Animalia but not belonging to Homo.
35,157
https://uk.wikipedia.org/wiki/%D0%90%D0%B9%D0%B2%D0%B5%D0%BD%D0%B3%D0%BE%20%28%D0%A2%D0%B5%D1%85%D0%B0%D1%81%29
Wikipedia
Open Web
CC-By-SA
2,023
Айвенго (Техас)
https://uk.wikipedia.org/w/index.php?title=Айвенго (Техас)&action=history
Ukrainian
Spoken
283
768
Айвенго () — місто () в США, в окрузі Тайлер штату Техас. Населення — 887 осіб (2010). Географія Айвенго розташоване за координатами (30.676629, -94.405144). За даними Бюро перепису населення США в 2010 році місто мало площу 4,77 км², з яких 4,28 км² — суходіл та 0,49 км² — водойми. В 2017 році площа становила 9,41 км², з яких 8,52 км² — суходіл та 0,89 км² — водойми. Демографія Згідно з переписом 2010 року, у місті мешкало 887 осіб у 386 домогосподарствах у складі 259 родин. Густота населення становила 186 осіб/км². Було 577 помешкань (121/км²). Расовий склад населення: До двох чи більше рас належало 2,5 %. Частка іспаномовних становила 2,5 % від усіх жителів. За віковим діапазоном населення розподілялося таким чином: 19,8 % — особи молодші 18 років, 53,6 % — особи у віці 18—64 років, 26,6 % — особи у віці 65 років та старші. Медіана віку мешканця становила 50,5 року. На 100 осіб жіночої статі у місті припадало 92,8 чоловіків; на 100 жінок у віці від 18 років та старших — 91,1 чоловіків також старших 18 років. Середній дохід на одне домашнє господарство становив долар США (медіана — ), а середній дохід на одну сім'ю — долари (медіана — ). Медіана доходів становила доларів для чоловіків та долари для жінок. За межею бідності перебувало 30,4 % осіб, у тому числі 41,9 % дітей у віці до 18 років та 19,8 % осіб у віці 65 років та старших. Цивільне працевлаштоване населення становило 367 осіб. Основні галузі зайнятості: роздрібна торгівля — 22,6 %, освіта, охорона здоров'я та соціальна допомога — 22,3 %, фінанси, страхування та нерухомість — 9,8 %, публічна адміністрація — 9,5 %. Примітки Джерела Міста Техасу Населені пункти округу Тайлер (Техас)
41,936
https://stackoverflow.com/questions/76112744
StackExchange
Open Web
CC-By-SA
2,023
Stack Exchange
Charchit Kapoor, Sajna Sheeja, https://stackoverflow.com/users/12368154, https://stackoverflow.com/users/20210545
English
Spoken
238
414
MongoDB query for getting the latest result I am a novice in Mongo development and I have a collection that has fields such as id, name, region, more_details, and created_at. I have implemented a cron job to insert new data into this collection every day at 12 AM to keep a history of details. However, when I fetch documents from this collection, I receive all records which is not my requirement. I only require the latest data. How can I implement this using a Mongo query? I attempted to retrieve the documents using the query: db.collection.find({"region":"asia"}).sort("created_at":-1) However, this query returned all the documents created on different dates. I also attempted to refine the query to db.collection.find({"region":"asia","name":"ramu"}).sort("created_at":-1).limit(1) But this query failed to retrieve all documents that met the specified conditions. Can you explain more about how the query failed to retrieve documents, matching the specified conditions What all information do you want like ? You said in the question, that the second query gave wrong output, can you add some docs, along with what is the expected output and what are you getting Interpreting "I only require the latest data." as just the documents that have "created_at" dates of the current day, you could use something like this. db.collection.find({ "region": "asia", "$expr": { "$gte": [ "$created_at", { // truncate $$NOW to beginning of day "$dateTrunc": { "date": "$$NOW", "unit": "day" } } ] } }) Try it on mongoplayground.net.
8,681
https://stackoverflow.com/questions/63962893
StackExchange
Open Web
CC-By-SA
2,020
Stack Exchange
https://stackoverflow.com/users/1623521, user1623521
English
Spoken
94
279
Problem adding the Mono repository to a Red Hat 7 server Having a problem importing the rpmkeys for mono on a Red Hat 7 server(Red Hat Enterprise Linux Server release 7.2 (Maipo)). I'm getting the error below: [root@hostname ~]# rpmkeys --import "http://pool.sks-keyservers.net/pks/lookup?op=get&search=0x3fa7e0328081bff6a14da29aa6a19b38d3d831ef" curl: (6) Could not resolve host: pool.sks-keyservers.net.lehigh.edu; Name or service not known error: http://pool.sks-keyservers.net/pks/lookup?op=get&search=0x3fa7e0328081bff6a14da29aa6a19b38d3d831ef: import read failed(2). Any ideas on what might cause this... where did you get the instructions to import that key from pool.sks-keyservers.net? Running the commands below seems to have resolved the problem yum clean all rm -rf /var/cache/yum
22,312
https://es.wikipedia.org/wiki/Mozo
Wikipedia
Open Web
CC-By-SA
2,023
Mozo
https://es.wikipedia.org/w/index.php?title=Mozo&action=history
Spanish
Spoken
92
173
El término mozo puede hacer referencia a diferentes hombres o pueden ser personas cariñosas con otras personas: Mozo, camarero. Mozo, persona que acompaña a otra en un tipo de relación principalmente sexual. Mozo de espadas, ayudante del torero. Mozo de cordel, hombre que llevaba cargas o hacía recados. Mozo de cámara, sirviente de la cámara en palacio. Mozo del bacín, sirviente que retiraba el bacín del rey. Mozo de cuadra, hombre que debe hacer camas y labores de propias de las caballerizas. Mozo de escuadra, tipo de policía de Cataluña en España.
34,897
https://fr.wikipedia.org/wiki/Macy%20Ilema
Wikipedia
Open Web
CC-By-SA
2,023
Macy Ilema
https://fr.wikipedia.org/w/index.php?title=Macy Ilema&action=history
French
Spoken
226
380
Macy Ilema (née en 1984 à Libreville, Gabon) est une artiste gabonaise tradi-moderne qui fait la promotion de la culture gabonaise. Biographie Ses débuts: dès l’âge de 8 ans, elle fait ses premiers pas dans la chanson à l’église comme choriste. Sa passion pour la musique se développe en 1998 lorsqu’elle accompagne plusieurs artistes et groupes musicaux tels qu’African Soul, Dr Adam’s, Val-R et certains rappeurs de la capitale . Discographie Singles 2007 : Ndjami 2017 : Célébrer 2020 : Cette voix Albums Engagement social L’artiste Macy consacre une grande partie de son temps et de sa carrière dans les œuvres sociales notamment son engagement auprès des orphelins. Son apport dans de nombreuses caravanes médicales à travers le pays exprime et montre son attachement envers les couches les plus démunies et surtout celles qui ont besoin d’un soutien. Ayant constaté l'accroissement du taux d'analphabétisme, le désir d'accompagner les jeunes non scolarisés s'est fait sentir chez Macy Ilema a tel point qu'en 2017, elle s'est joint à l'association des gabonais de Lyon pour la matérialisation du projet bibliothèque. Ledit projet dont l’objectif principal était de renforcer les efforts de scolarisation des apprenants fut mener en collaboration avec les mouvements de jeunesse suivants : l'ONG 9Projets, Lozo avenir et l'ONG ABA. Références et liens Liens externes Chanteuse gabonaise du XXIe siècle Naissance à Libreville Naissance en novembre 1984
1,245
https://stackoverflow.com/questions/60564780
StackExchange
Open Web
CC-By-SA
2,020
Stack Exchange
Ayness, https://stackoverflow.com/users/12429601
English
Spoken
438
603
How determinate number of rounds in TFF context In TFF, It is necessary to determinate number of rounds. So, to obtain optimal performance of our model, How we can know the optimal number of rounds? TFF does not necessarily need you to specify the number of rounds for federated training beforehand. TFF is more about specifying the federated aspect of your computation (which you can essentially think of as specifying the communication), and considers actually "running" the rounds to be at the system level. When you write TFF, generally you are writing at three levels (explanation of this statement here); the question you are asking (and every concern TFF considers a "system concern") is at the Python level. Since Python controls the actual invocation of your computation written in TFF, you can stop training with any criterion expressible in Python. E.g. if you want to monitor performance on a validation set and use that as a stopping criteria, this is entirely doable. If you have a tff.utils.IterativeProcess ip, and evaluation function eval_fn (see here for an example), this could be implemented as something like: while True: data = sample_client_data() state, metrics = ip.next(state, data) eval_metrics = eval_fn(state) if condition(eval_metrics): break Abstractly: since the Python drives the experiment process, you can stop whenever you want to, based on any observable characteristic of the training procedure. Therefore you do not in fact need to know how many rounds you will be running beforehand. A more direct answer to the original question is, I think at this point in the history of FL, not quite achievable for the general case; nobody (as far as I am aware) knows of reliable system-level settings for FL at this point. This is not surprising; it is somewhat akin to knowing beforehand how many epochs one should specify in datacenter training, which I think tends to be quite problem-dependent. FL is similar in this regard. Practically speaking, my advice tends to be: monitor performance on a validation set, run for as long as you can, and keep the state of your highest-performing model on the val set around. I think a more general answer than this may be quite difficult. Thank you very much, it was an important answer, to monitor performance on a validation set ( evaluation was invoked on the latest state we arrived at during training. In order to extract the latest trained model from the server state, you simply access the .model member, as follows.: train_metrics = evaluation(state.model, federated_train_data). I understand from here that the latest state of model is provided after a predeterminated number_of_round.. what do you think about this
2,113
https://stackoverflow.com/questions/13724776
StackExchange
Open Web
CC-By-SA
2,012
Stack Exchange
English
Spoken
85
175
Facebook App Authenticate Im using Manuel Lemos's OAuth 2.0 PHP library, recently I removed my application from https://www.facebook.com/settings?tab=applications and now when i tried to authorized my application, I'm getting this error. OAuth client error Error: it was not possible to access the API call: it was returned an unexpected response status 400 Response: {"error":{"message":"Error validating access token: User 123456 has not authorized application 987654321.","type":"OAuthException","code":190,"error_subcode":458}} Does any one know how to re-authenticate my app ? Resolved. It is just a cookie issue. Huh... Thanks GOD. (y)
2,871
I9_83xfeyi0_1
Youtube-Commons
Open Web
CC-By
null
Increasing Language Diversity on Wikimedia projects | #Wikimania2023
None
English
Spoken
3,429
3,967
Hello, can you hear me? Welcome to this session. My name is Sadeq Shahadu and I will be presenting this session on behalf of the Wikimedia Language Diversity Hub. And I have my co-presenter online, Sadeq. He will be joining us shortly. So I will be talking to you about the Wikimedia Language Diversity Hub's works and research that we did in 2022 in October. And I will be sharing more with you the findings, the background of the hub and the method that we used in the interview and then also the findings and then the next steps. So the Language Diversity Hub initiative, it was the initiative started in 2021, building upon the existing Wikimedia Language Diversity Network. We started way back in 2012. And the purpose of this was to like support and connect affiliate and volunteers to new and smaller language versions of Wikimedia projects. And we have been working on this project since 2021. And we have a steering committee from a very diverse linguistic background and also from different regions of the world. So this is the list of steering committee members. And I'm sure some of you may be familiar with their usernames. And Amir and Amkwe Ayumo John from Kenya, Norway and Mali Oscar Sadeq, who is my co-presenter, myself. And then that is the steering committee members for the Wikimedia Language Diversity Hub. We also have an observer steering committee who are members from the Wikitonks. And art and feminism and also Wikimedia UK. So what exactly were we trying to discover or investigate? So the research was focused on understanding the limitations within the smaller language community communities. And we wanted to understand what is limiting the contributors of new language Wikipedia editions. That is from the stats in the incubator to when they are approved. And the method we used to conduct this research was semi-structured interview with contributors from different countries. And we were looking at identifying, you know, four types of barriers that these communities are facing. Prior to that, we had conducted like a survey within ourselves to see some of the topmost priorities as far as the research is concerned. So when we talk about the challenges faced by smaller language community communities, we are talking about challenges that most of us are already aware of, especially those who are working closely with language communities. Some of them are challenges that we can simply address by working collaboratively together. Some of them are also like challenges that foundation can work to support. And we had like open questions where we invited contributors or participants of the research to exchange their information via Zoom. And I also conducted some of the sessions in person, especially at the Wikimdaba. I engaged like some committee members from the Igbo and Nigerian Wikimedia communities. And but largely we conducted most of the interview sessions online because of the different time zones that people were on. And also the fact that we did not get the opportunity to travel to meet most of these people because of limited funding support. So most of the interviews already like uploaded on our YouTube channel that you can watch later. And in terms of identifying which community we should work with, we try to look at how the community are involved in the Wikipedia project. We also wanted to make sure we are having a globally represented community. And then, of course, we wanted to make sure that there's somebody that we can speak to who is already involved in these communities. So if you look on my screen, you will see languages that we engage from South Asia, Middle East, the Caribbean, Issa, Northern and Western Europe. We have from Middle East, Dagbani, Gurini, Igbo, and Nigerian Pigeon. And then Issa, we have Taiwan and Mon Wikipedia. And the other languages from different parts of the regions. So like I said, we wanted to engage them to understand the real challenges, not just like a survey. We could conduct surveys like most companies do, but we wanted to get like in-depth information from them. And we wanted them to share these information personally with individuals who are part of the company, especially those that are already familiar with. We believe that this will allow them to share more information, and we will be able to use that to analyze our data from the research. And there's a YouTube channel that we've created for this. And you can find all the research in-person and online research that we did by going to this tiny URL. And so yeah, we needed somebody who is very closer to the community and also the possibility of getting the approval of the committee that we were engaging so that we can get a smooth flow of the work. And this took quite a long time between August and November in 2022. So what we also wanted to understand was like, even though we selected random committee members from different language groups, we wanted to understand why their motivation of accepting to be part of this research program. So most of them shared that they want to bring knowledge about their language and culture to the next generation and the rest of the world. And others shared that they are interested in conserving the knowledge about culture, history, and tradition from their language companies. And most of them were also sharing about revitalizing their language and then doing something for their culture and people. So now let's talk about the barriers. So when we talk about the barriers, we're looking at technical barriers, economic barriers, social and education and knowledge related barriers. So for technical knowledge, technical barriers, we're looking for other, what are some of the technical challenges that they face in terms of like language. We know when we talk about language, most of them would have different you know, keyboards or maybe they have like some special character that are not currently supported in the Wikimedia ecosystem or if they have, how do they easily navigate through these keyboards? Then in terms of technology, again, we looked at the incubator. If you are currently working on the incubator projects, you will realize that it is not user friendly as people would think. Like if you are very new to Wikimedia movement or you are just starting up a new language project, it is not really as easy as we wanted it to be. So we wanted to see some of the challenges that people face in these projects on the incubator. So we also looked for like those who are really interested in getting basic knowledge in terms of training how they can effectively organize online and in-person training for committee members. So these were technical skills like training people how to use Wikidata tools, training people how to use specific gadgets on Wikimedia or Wikipedia projects. And then we looked at the economic barriers. So economic barriers, most of the committee members we engage complained of not having enough time to contribute to Wikipedia. And some of them complained about the cost of internet data and equipment. I know most of you are already familiar with these challenges as far as communities from the global south is concerned, especially in Africa. And there's also like unemployment issues related to these economic barriers. And then the most surprising thing was the lack of interest in volunteering. So what exactly is stopping people from contributing to Wikipedia or being like volunteers? And then we talked about the social barriers with few of the participants. And we realized that there were too few contributors to these smaller language projects on the incubator, especially. And then the gender imbalance at the early stage, they are very small language projects. And we already see like a huge gender gap like the number of female contributors, for example, were very limited as compared to the male contributors. And also those who contribute to biographies of female content we try to like identify their username and engage them to learn more about why they mostly like contribute to articles related to women in Africa. And then we talked about education and other knowledge related barriers. We discovered that the language is not taught, most of the languages that we engage like the Dabani is not like taught in schools, even though it's one of the government sponsored languages. And the other challenge is that there's no like rich online resources for teachers or students who want to teach Dabani in schools. For example, so in Ghana we engage like the Dabani community and also the Gruny community which I'm closely connected to. There's also not like standardized written version of the language, which is very, very challenging for most people to continue to contribute to Wikipedia and then challenges with language knowledge and also in the community. Even though we have so many like students and teachers within some of these language communities, but there's still like limitations to what resources they can get to contribute to Wikipedia in their various languages. So in summary, the work that are done by smaller language Wikipedia contributors is really, really remarkable. And I think there has been like an increase in the number of people who contribute to smaller language Wikipedia projects. And there has also been like a lot of new language incubator projects coming out from these language communities like the Dabani. When I engage them at the initial stage, they had only two language communities like the Gruny and the Dabani. Now I've seen like a few more languages coming from the group, which is very great. So the largest barrier for many emerging Wikipedia communities are even outside the Wikipedia community. So these are some of the things that we want to discuss and also learn from the community how we can connect like non-Wikimedia communities to Wikipedia communities or affiliates to be able to work together and provide like solution for these communities. And we looked at how we can also connect linguists and also language technologies outside the Wikipedia movement and those who are like professional background, especially technology that are related to, you know, languages or language revitalization. And within the movement we have most of the resources needed. I know we have a lot of, let's say, money to support these communities, but we don't know where to channel that money to and who need these resources the most. So what is our next step? My colleague, Sadip will be joining us. I don't know if he's online. Okay. So Sadip, if you are ready, please let me know. And our next step we have proposed a grant proposal and the grant proposal is through the movement strategy grant. And this grant proposal will help us, you know, restructure, keep building the hub and also organize like more regular meetings to engage more of these language communities. It is also a way to foster collaboration among the language communities and also provide like technical support and language support for these communities. We have already started engaging, you know, you know, individuals and organizations that are interested in supporting us. Galingo from Norway, who are, you know, they are very much interested in providing support like keyboard support for these language communities that we work with. So as part of our next grant program, we would like to provide like a robust solution, especially those who need support with keyboard for their various languages. And then we also focused on need assessment, how can user groups or chapters better understand or support the smaller language community communities. And then we engage most of the steering committee members who are also members of the Wikimedia Language Committee to understand what exactly we can do to improve the incubator and if that is still necessary for smaller or test weekies. For me personally, when I started engaging most of these language communities, it was really difficult to, you know, teach them how to, you know, do basic things like adding references on Wikipedia in the incubator. The fact that you have to like use templates on Wikipedia, the incubator is really a big challenge, especially for those who are just joining the movement. We assume that not everybody would have the technical knowledge to be able to create templates or use templates on the incubator. So this is one of the things that we want to see improve within the Wikimedia and Cubeta interface. And then we are trying to build a network of linguists and language technologists with Wikitons who already have like a large community base that are working to support language revitalization. And as most of us are already aware, Wikitons is one of the affiliates who are working so much with language communities and want to, you know, partner with them to improve our work and also support their initiatives, especially the language accelerator program that they are currently, you know, doing within the Africa communities. And we want to expand this work. We want to keep engaging people via interviews to document and build a solid foundation for other people to, you know, leverage on. We also want to help document resources for the incubator. There is currently no like resources available for people, especially those who are working with smaller language communities. So we want to see how best we can collaborate to create like more resources and documentation for those who need it most. Most of times, community leaders have to always like reinvent the world. So if you are working with, for example, language A and after supporting them to get out of the incubator, you have to go back again and start doing the same thing with the next language. So if there's a possibility of us like having a documentation or rich online resources, either on Wikimedia commons or maybe YouTube or other forms of documentation that people can easily find and learn from so that we don't have to always like start from scratch. So this is very important to us as a hub. And we want to see this implemented in the next phase of our program. So another thing that we want to do is to define the governance of the hub and also answer the questions of how a hub should look like. And we are also interested in building, as I said in my earlier presentation slides, we want to build an infrastructure for keyboard and language technology. So if you are interested in, you know, collaborating with us, you have like any community that is working to support these challenges will be very happy to, you know, have you on board. Now my colleague Sadiq would join us to discuss. I'm also looking for feedback, comments, suggestions on how we can improve the work that we do and also the possibility of collaborating with other athletes as a hub. Yeah. So over to you Sadiq. Thank you so much Sadiq for having me here. Thank you so much everyone for attending this conversation. I'd like to acknowledge all the support that the initial hub discussions that we have been having and the research that we did for that all the support we had from the steering committee from, especially from Mali and John Harold from the community of Norway. And, you know, I'm not sure how much time we have, but I'll just like to open it up for a conversation. I'll also invite you all to read the proposal for what the hub is to do in the coming years. But so far on what you've heard, I'll just like open up the space if you have any questions or feedback based on what you what you heard so far. Are we missing something? Should we be focusing on something else? Then let's say working on the Wikimedia Intubator, should that be someone else's responsibility? But then who's responsibility? Can we better support the different communities across the globe? How can we do that? And finally, are there affiliates or individuals in the room or beyond who would like to join forces with this hub experiment that we're doing? Yeah, so just want to open it up as much long as time we have. It's supposed to be more of a conversation around anything that you think would be most useful for now. Thank you so much for having me here. Thank you so much Sadiq for the presentation. I will just remain here to listen to any questions and if needed to respond to anything. Thank you. Thank you so much Sadiq. So we are looking for feedback as I said and this is going to be like an open conversation. If you are working with an affiliate that is interested in supporting the hub who will be very much excited to hear from you and if you have any feedback for us as a hub, what can we improve on? What can we change as a hub? This will be very, very useful to us. It was supposed to be like a panel session but unfortunately only a few of us are here and my colleague Sadiq will be joining to hear more and if you have any question for me, I will be happy to answer them. Thank you. So the floor is yours. Yeah, thank you very much. Yeah, my name is Geoffrey from the Wikimedia Community User Group in Uganda. So yeah, we do have a local language Wikipedia called the Loganda Wikipedia that we're trying to grow in the country and yeah, we are very much interested in the initiative and joining hands with the hub. So thank you for the good work so far. I think my question is yeah, how do you see this hub working with other hubs because the other hubs that are also being formulated and maybe they are also trying to see how they can support local language Wikipedia's in their region. So just trying to think like yeah, how do we, how do you plan to avoid duplication of efforts when those regional hubs are also trying to support local language Wikipedia's. Have you had like discussions with them and how do you envision that working out? Thank you so much for the question and I'm so happy to hear that there are new language companies also coming up in Uganda and my colleague Sadiq would like to maybe Sadiq, are you ready to speak about this? I know he has been working with a few other hubs who are also interested in collaborating with us. Yeah, sure, I think that's first of all that's a really important question that we all should sit together and think about. But a very simple answer would be that most of the regional hubs kind of will be addressing more regional issues. For instance, bringing in new communities and maybe addressing some of these concerns like let's say economic or social barriers, maybe they can address those. But then the hub at more of a global level can kind of support the infrastructure. Let's say if we are improving the incubator, if that's something that we do, that would then support languages across the world, not specific to any region. So I do see that there are opportunities to collaborate. But then again, there is a lot of work needs to be done and I don't have the sphere of that there's going to be a situation where we are duplicating. I see more like an image I remember from the movement strategy, which was often orchestra. We're all working or playing a different instrument and making beautiful music together, I hope. Thank you so much Sadiq, anymore. So as I said, we are looking for affiliates to join us. We are looking for affiliates who are interested in collaborating with us. They necessarily do not have to be like a language affiliate or an affiliate that is working specifically on language. But any language affiliate or chapter that is interested in like supporting our work, we are also currently looking for fiscal sponsors. So if you know your help comes help us improve our work, receive support from foundation, this will be very, very useful to us. Any more questions, suggestions, comments? Okay, I have five more minutes left.
19,656
https://uk.wikipedia.org/wiki/%D0%9B%D1%83%D0%B7%D1%96%D0%BD%D1%8C%D1%8F%D0%BA
Wikipedia
Open Web
CC-By-SA
2,023
Лузіньяк
https://uk.wikipedia.org/w/index.php?title=Лузіньяк&action=history
Ukrainian
Spoken
95
326
Лузінья́к () — муніципалітет у Франції, у регіоні Нова Аквітанія, департамент Приморська Шаранта. Населення — осіб (2011). Муніципалітет розташований на відстані близько 390 км на південний захід від Парижа, 95 км на південний захід від Пуатьє, 80 км на південний схід від Ла-Рошель. Демографія Розподіл населення за віком та статтю (2006): Економіка У 2010 році в муніципалітеті числилось 74 оподатковані домогосподарства, у яких проживали 164,0 особи, медіана доходів виносила євро на одного особоспоживача Сусідні муніципалітети Посилання Лузіньяк на сайті французького Національного інституту географії Див. також Список муніципалітетів департаменту Приморська Шаранта Примітки Муніципалітети департаменту Приморська Шаранта
28,041
https://ru.wikipedia.org/wiki/%D0%93%D1%83%D1%82%D1%8C%D0%B5%D1%80%D1%80%D0%B5%D1%81%2C%20%D0%A1%D0%B8%D0%BD%D1%82%D0%B8%D1%8F
Wikipedia
Open Web
CC-By-SA
2,023
Гутьеррес, Синтия
https://ru.wikipedia.org/w/index.php?title=Гутьеррес, Синтия&action=history
Russian
Spoken
404
1,147
Синтия Гутьеррес Альварес (; род. 1978, Гвадалахара, Мексика) — мексиканская художница и скульптор. Биография С 1997 года училась в Университете Гвадалахары, в 2001 году получила степень бакалавра по специальности изобразительное искусство со специализацией скульптура. Затем в 2001—2002 гг. занималась в семинаре по современного искусства «Наследие Дюшана» у чилийского художника Кристиана Сильвы, в дальнейшем училась также в мастер-классах мексиканского художника Рубена Мендеса. В 2004 году выступила одним из соучредителем лаборатории экспериментального искусства Clemente Jacqs — ключевой институции независимых художников в Гвадалахаре. В 2006 и 2010 годах она была лауреатом стипендии Программы поощрения художественного творчества и развития (PECDA), предоставленной (CONACULTA). С 2012 года Синтия Гутьеррес является членом Национального совета по культуре и искусству (CECA). Творческая карьера Синтия Гутьеррес выставляется с 2002 года в Мексике и в других странах. В 2009 году она была приглашена в резиденцию LABoral в Хихоне (Испания) с проектом, посвящённым воздействию миграции на коллективную, личную и семейную память. Среди важнейших международных проектов, в которых участвовала Гутьеррес, — Московская международная биеннале молодого искусства (2010) и (2014). В 2016 году Гутьеррес выиграла международный конкурс «Общественный договор», объявленный фондом «Изоляция», на художественное оформление пустого места, оставшегося после сноса памятника Ленину на Бессарабской площади в Киеве: на месте памятника на неделю была установлена инсталляция Гутьеррес «Населяя тени». Для Синтии Гутьеррес созерцание — это повседневная привычка. Паломничество, которое предлагает нам увидеть повседневные предметы быта, а затем снова взглянуть на них и ощутить то, чего мы не видели. Работа художницы раскрывает нам самые возвышенные тайны вещей и проявляет в них неведомую силу: память. Выставки Персональные 2019 Todos los siglos son un solo instante (La Tallera, Куэрнавака). 2019 No para siempre en la tierra (Proyecto Paralelo, Мехико) 2017 Persisting Monuments (SCAD Museum of Art, Саванна, США) 2017 Roca, lastre, polvo (Fundación CALOSA, Ирапуато) 2016 Paráfrasis del estrago (Museo de Arte Raúl Anguiano, Гвадалахара) 2016 Pop-up summer (Proyecto Paralelo, Мехико) 2015 Abismo flotante, Batiente 0.6 (Casa del Lago, Мехико) 2014 Coreografía del colapso (Proyecto Paralelo, Мехико) 2012 Casi puedo recordar el inútil paso del tiempo (WARE, Леон, Мексика) 2011 Notas de carnaval, curaduría Alicia Lozano (Museo de Arte de Zapopan, Сапопан, Мексика) 2010 Line out (La Vitrina, Гвадалахара) 2009 Hombre muerto caminando la Luna (Las Monas, Леон, Мексика) 2008 Escuela para cadáveres (Laboratorio 390, Гвадалахара) 2007 No pulp, just fiction (Museo de Arte Raúl Anguiano, Гвадалахара) 2007 Milking a dead cow (Charro Negro Galería, Сапопан, Мексика) 2005 Motores vegetales (Arena México Arte Contemporáneo, Гвадалахара) Примечания Ссылки Деятели искусства Мексики Скульпторы Мексики
45,958
https://stackoverflow.com/questions/45790005
StackExchange
Open Web
CC-By-SA
2,017
Stack Exchange
PGDev, https://stackoverflow.com/users/5716829
English
Spoken
192
286
Convert Complex UITableView to UICollectionView I currently have a prototyped UITableView in my storyboard, which has many cell with very complex layout. Now, I need to convert it into a UICollectionView, because I always have some problem with the way UITableView handles cell layout(See my this question). I figured the code part to be the easy one, as I only need to tweak the inheritance of my cell classes, as well as switch the delegate and datasource with previously written code. However, I am a little stuck on the storyboard side, that is, given all my cells are complex in layout and even copying and pasting them from one cell to another would require many layout tweaking and IBOutlet/IBAction reconnecting. Is there a fast way to convert those UITableViewCells designed in storyboard into UICollectionViewCells? Use storyboard source code to do that. Copy the relevant code of UITableViewCell and paste it to UICollectionViewCell. This is a bit complex task. I suggest you create a new UICollectionViewCell instead. I think, you save data into one class, In CollectionView, You get data from class. You remember, tableview and collection are reverse about cell and row.
15,030
https://de.wikipedia.org/wiki/Filtrierter%20Kolimes
Wikipedia
Open Web
CC-By-SA
2,023
Filtrierter Kolimes
https://de.wikipedia.org/w/index.php?title=Filtrierter Kolimes&action=history
German
Spoken
191
413
Im mathematischen Teilgebiet der Kategorientheorie ist ein filtrierter Kolimes (auch direkter Limes oder induktiver Limes) ein spezieller Kolimes. Er kann in gewissen Fällen als Verallgemeinerung der Vereinigung betrachtet werden. Elementare Definition (für teilgeordnete Indexmengen) Die Indexmenge sei eine feste gerichtete Menge. Ein induktives System besteht aus Objekten (beispielsweise Mengen, Gruppen oder topologischen Räumen) für die Indizes sowie Übergangsabbildungen für , die mit der jeweiligen Struktur verträglich sind (d. h. Mengenabbildungen, Gruppenhomomorphismen, stetige Abbildungen topologischer Räume) und folgende Bedingungen erfüllen für alle die identische Abbildung auf und für alle . Der induktive Limes eines induktiven Systems ist ein Objekt zusammen mit Abbildungen , die mit den kompatibel sind, d. h. für mit der folgenden universellen Eigenschaft: Kompatible Systeme von Abbildungen der in ein beliebiges Testobjekt entsprechen Abbildungen von nach . Das bedeutet: Wann immer Abbildungen gegeben sind, für die für gilt, gibt es eine eindeutige Abbildung , von der die Abbildungen „herkommen“, d. h. . Der induktive Limes eines induktiven Systems (Xi, fi,j) von Mengen kann explizit konstruiert werden als eine Menge von Äquivalenzklassen in der disjunkten Vereinigung . Hierbei sollen Elemente und äquivalent sein, wenn ein existiert, für das gilt. Kategorientheorie
5,494
https://ace.wikipedia.org/wiki/Burni%20Angkip
Wikipedia
Open Web
CC-By-SA
2,023
Burni Angkip
https://ace.wikipedia.org/w/index.php?title=Burni Angkip&action=history
Acehnese
Spoken
56
133
Burni Angkip nakeuh gunong di Propinsi Acèh. Manyang gunong nyoe nakeuh 1515 mètè di ateuh babah la'ôt. Peunawôt luwa Data layer bak laman OpenStreetMap Koordinat gunong nyoe bak laman Geonames Data gunong nyoe bak Wikidata Data cuaca daerah gunong nyoe bak laman NASA Data matauroe teubiet & teunom di da'irah bak laman SunriseSunset.com Gunong di Acèh
43,262
https://stackoverflow.com/questions/69090506
StackExchange
Open Web
CC-By-SA
2,021
Stack Exchange
Michael Bahl, https://stackoverflow.com/users/12357289, https://stackoverflow.com/users/5905466, unnamed
English
Spoken
87
125
How do I zoom out on the react-native-maps using xcode simulator? zooming in is fine with double click on the mouse, but yes I cant zoom out, any help? Thank you Press alt to enable pinch Hi, yes when I do that the two grey markers appear and the move inwards like pinching but the map is not zooming out. You can try using double tap: Move the cursor over the map Double click on the map area and don‘t release second press Drag the cursor upwards/downwards
22,395
https://stackoverflow.com/questions/46637909
StackExchange
Open Web
CC-By-SA
2,017
Stack Exchange
Tarif Aljnidi, Tom, https://stackoverflow.com/users/13294119, https://stackoverflow.com/users/168012
English
Spoken
449
1,316
Netinfo.isConnected.fetch() returns true I use NetInfo in my app, to check if it's connected to internet. NetInfo.isConnected.fetch().then( (isConnected) => { console.log('isConnected: ', isConnected); }); It returns true if i am connected to router or mobile data is on, and return false if not. My problem is, if I am connected to the router or my mobile data is on, even though it doesn't have internet connection. It still returns true. Any idea to solve this? Or other workaround/alternatives to check internet connection? This is due to a bug with RN. https://github.com/facebook/react-native/issues/8615 There are a couple of work arounds listed here: componentDidMount() { const dispatchConnected = isConnected => this.props.dispatch(setIsConnected(isConnected)); NetInfo.isConnected.fetch().then().done(() => { NetInfo.isConnected.addEventListener('change', dispatchConnected); }); } or export function isNetworkConnected() { if (Platform.OS === 'ios') { return new Promise(resolve => { const handleFirstConnectivityChangeIOS = isConnected => { NetInfo.isConnected.removeEventListener('change', handleFirstConnectivityChangeIOS); resolve(isConnected); }; NetInfo.isConnected.addEventListener('change', handleFirstConnectivityChangeIOS); }); } return NetInfo.isConnected.fetch(); } Hello, i am having a similar issue , can you help https://stackoverflow.com/questions/61915497/ @TarifAljnidi I've just had a quick look and the NetInfo code has moved here now, have you tried as they document? https://github.com/react-native-community/react-native-netinfo . I'd also suggest looking through the issues there 1- Clean gradlew, run command in your android folder: Linux / MacOS --------------> ./gradlew clean Windows PowerShell --------> .\gradlew clean Windows cmd --------------> gradlew clean 2- Import and use this component: import React, {Component} from 'react'; import {StyleSheet, Text, View} from 'react-native'; import NetInfo from '@ react-native-community / netinfo'; class ConnectionInfo extends Component { NetInfoSubcription = null; constructor (props) { super (props); this.state = { connection_status: false, connection_type: null, connection_net_reachable: false, connection_wifi_enabled: false, connection_details: null, } } componentDidMount () { this.NetInfoSubscribtion = NetInfo.addEventListener ( this._handleConnectivityChange, ); } componentWillUnmount () { this.NetInfoSubscribtion && this.NetInfoSubscribtion (); } _handleConnectivityChange = (state) => { this.setState ({ connection_status: state.isConnected, connection_type: state.type, connection_net_reachable: state.isInternetReachable, connection_wifi_enabled: state.isWifiEnabled, connection_details: state.details, }) } render () { return ( <View> <Text> Connection Status: {this.state.connection_status? 'Connected': 'Disconnected'} </Text> <Text> Connection Type: {this.state.connection_type} </Text> <Text> Internet Reachable: {this.state.connection_net_reachable? 'YES': 'NO'} </Text> <Text> Wifi Enabled: {this.state.connection_wifi_enabled? 'YES': 'NO'} </Text> <Text> Connection Details: {'\ n'} {this.state.connection_type == 'wifi'? (this.state.connection_details.isConnectionExpensive? 'Connection Expensive: YES': 'Connection Expensive: NO') + '\ n' + 'ssid:' + this.state.connection_details.ssid + '\ n' + 'bssid:' + this.state.connection_details.bssid + '\ n' + 'strength:' + this.state.connection_details.strength + '\ n' + 'ipAddress:' + this.state.connection_details.ipAddress + '\ n' + 'subnet:' + this.state.connection_details.subnet + '\ n' + 'frequency:' + this.state.connection_details.frequency : this.state.connection_type == 'cellular'? (this.state.connection_details.isConnectionExpensive? 'Connection Expensive: YES': 'Connection Expensive: NO') + '\ n' + 'cellularGeneration:' + this.state.connection_details.cellularGeneration + '\ n' + 'carrier:' + this.state.connection_details.carrier : '---' } </Text> </View> ); } } export default ConnectionInfo; 3. Reconstruct the project from Android Studio from: Android Studio> File> Invalidate cache and restart Information based on this tutorial
31,837
https://es.wikipedia.org/wiki/Final%20Fantasy%20Crystal%20Chronicles%3A%20Ring%20of%20Fates
Wikipedia
Open Web
CC-By-SA
2,023
Final Fantasy Crystal Chronicles: Ring of Fates
https://es.wikipedia.org/w/index.php?title=Final Fantasy Crystal Chronicles: Ring of Fates&action=history
Spanish
Spoken
547
1,007
es un videojuego de rol de acción para Nintendo DS desarrollado y publicado por Square Enix. Es una protosecuela de Final Fantasy Crystal Chronicles para GameCube. Historia La historia se basa en los gemelos Yuri y Chelinka que viven en un mundo amenazado por la luna pagana que habita en el espacio. Su historia empieza cuando empiezan a derrotar a monstruos con un cristal rojo en su cuerpo. Un enemigo que quiere devolver al oscuridad habitante en la luna a la tierra es el causante de todos los monstruos. Pero hay un símbolo de los cristales. Razas Clavates: Se puede decir que son los humanos. Utilizan espadas. Liltis: Son una raza que por muy ancianos que sean tendrán siempre la estatura de un niño. Utilizan el poder de la alquimia para realizar objetos y magicitas. Utilizan mazas. Yukos: Se dicen que son seres formados por plumas como pájaros. Utilizan varas. Selkis: Son habitantes de los bosques que han abandonado el bosque hace tiempo. Son seres de supuesta extrema belleza de gran agilidad y destreza. Todos son arqueros. Utilizan arcos. Personajes Yuri: Es el hermano mellizo "menor" de Chelinka, un niño muy curioso, valiente y amable. Es de naturaleza optimista, no se deja intimidar por las circunstancia y está dispuesto a correr riesgos en su afán por ayudar a los demás. Chelinka: Es la hermana "mayor" de los mellizos, quien esconde un gran poder que solo con su hermano es capaz de usar, muchas veces pagando precios altos, como una mudez temporal. Meeth: (Alquimista) Una Lilti adulta que es considerada como una niña por los mellizos. Es testaruda con todos, pero demuestra cierto afecto hacia los mellizos. Alhanalem "Al": (Hechicero) Tutor de los mellizos en el arte de la magia. A pesar de ser muy disciplinado se dejara llevar por el carisma de los mellizos. Gnash: (Arquero) Un selki considerado "bestia", sin embargo en más de una ocasión demuestra ser de gran ayuda para los mellizos. Se dice que fue abandonado por su pueblo en el bosque. Tilika: La hija del rey. Ella también comparte una afinidad para el cristal, justo como Chelinka. Fue capturada por los lunitas años antes de que nacieran los mellizos y se sacrificó para evitar una catástrofe. Instrucciones -Controles + (Panel de control): Mover a los personajes y sus anillo. START: Abrir la pantalla del menú o saltar eventos. SELECT: Solo en "Modo historia".Cambiar de personaje en las tiendas. Solo en "Modo pruebas".Alternar entre el icono de escapar y el icono del menú principal. Botón A: Aceptar/ Atacar/ levantar objeto/ Leer/ Hablar. Botón B: Cancelar/ Saltar/ Desplazar el texto. Botón X: Hacer aparecer el anillo, mantén el Botón X. Para usar objetos y magia, mantén y suelta el botón X. Botón Y: Llevar/ Colocar objetos y enemigos/ Ordenar objetos en las tiendas o en la pantalla de Objetos.Para lanzar un objeto en determinada dirección, pulsa Y al saltar o usa el +(Panel de control). Botón L: Fijar el anillo cuando aparece en pantalla. En "Modo historia", pulsa el Botón L para reunir a los personajes. Si ya están reunidos, púlsalo para que avancen juntos. Botón R: Usar la habilidad tribal. Referencias Enlaces externos Página oficial Final Fantasy Crystal Chronicles Videojuegos de rol Videojuegos de Square Enix Videojuegos para Nintendo DS Videojuegos de 2007
47,630
https://en.wikipedia.org/wiki/Michelin%20House
Wikipedia
Open Web
CC-By-SA
2,023
Michelin House
https://en.wikipedia.org/w/index.php?title=Michelin House&action=history
English
Spoken
1,871
2,505
Michelin House at 81 Fulham Road, Chelsea, London, was constructed as the first permanent UK headquarters and tyre depot for the Michelin Tyre Company Ltd. The building opened for business on 20 January 1911. In 1987 the building was converted to mixed-use, with a store, restaurant, bar and office space. Brief history Designed by one of Michelin's employees, François Espinasse, the building has three large stained-glass windows based on Michelin advertisements of the time, all featuring the Michelin Man "Bibendum". Around the front of the original building at street level there is a number of decorative tiles showing famous racing cars of the time that used Michelin tyres. More tiles can be found inside the front of the building, which was originally a tyre-fitting bay for passing motorists. People walking into the reception area of the building are still greeted by a mosaic on the floor showing Bibendum holding aloft a glass of nuts, bolts and other hazards, proclaiming "Nunc Est Bibendum" (Latin for "Now is the time to drink"). The reception area also features more decorative tiles around its walls. Two glass cupolas, which look like piles of tyres, frame either side of the front of the building. The Michelin company's close association with road maps and tourism is represented by a number of etchings of the streets of Paris on some of the first-floor windows. Michelin moved out of the building in 1985, when it was purchased by publisher Paul Hamlyn and the restaurateur/retailer Sir Terence Conran, who shared a love for the building. They embarked on a major redevelopment that included the restoration of some the original features. The new development also featured offices for Hamlyn's company Octopus Publishing, as well as Conran's Bibendum Restaurant & Oyster Bar, and a Conran Shop. All three businesses opened in August 1987. Design and construction Patents owned by Dunlop prevented other manufacturers from selling their tyres in Britain, except under licence. The patents were due to expire in the autumn of 1904, and in anticipation of this, Michelin opened an office in Tavistock Place, South Kensington. Michelin sent four employees over from France to Britain to establish the new British branch of the company. Fourteen local staff were also recruited. In June 1905, the Michelin Tyre Company Limited was incorporated. Within a year, the staff had increased to over forty and the company moved into new premises in Sussex Place. When it soon became apparent that the company needed much larger premises, the search for a new site began. A number of different sites were looked into and the earliest plans for a purpose-built London Headquarters date from 1906 for a site on Vauxhall Bridge Road. In 1909, a site on Fulham Road was offered to the company. Fulham Road, one of the main routes into London was considered a great location. Later that same year, a piece of land bordered by Fulham Road, Sloane Avenue, Leader Street and Lucan Place was purchased freehold from Cadgan and Hans Estate Co. Work on a design for the building had already begun and on 4 April 1910, the final designs for Michelin House were completed. Shortly after, work began on the building's construction. Technical aspects Michelin House is known for its decorative design. What cannot be seen from its exterior or interior design is that it is an early example of concrete construction in Britain. The building was constructed using Hennebique's ferro-concrete construction system. The ferro-concrete system offered great benefits for the construction of clear open spaces (ideal for storing tyres in the most efficient way). It also offered fire resistance properties which were very important when storing large quantities of highly flammable tyres. The system also had the advantage of quick construction; Michelin House took only 5 months to build. The original floors were constructed using hollow pot tiles. This flooring system as well as being highly durable also offered very good fireproofing qualities. Other interesting original features in Michelin House were automatic doors into the entrance hall and a weighing bay in the fitting area which weighed customers' cars so the correct tyre pressure could be applied. Architect The architect behind Michelin House was François Espinasse (1880–1925), who was employed as an engineer in the construction department at Michelin's headquarters in Clermont-Ferrand. It is believed that he worked on the design of Michelin's Headquarters in Paris (1908), but this is the only other known architectural work of his. The French Order of Architects in Paris have no record of him. Not much else is known about him other than he spent most of his working life at Michelin. Architectural style Michelin House is a unique building that is fine example of late Modern Style (British Art Nouveau style) and early Art Deco. It was designed and built at the end of the Art-Nouveau period; parts of this style can be seen in the decorative metal work at the front of the building above the fitting bays, and the tangling plants round the tyre motifs at the front and side of the building, and also in the mosaic in the entrance hall. Despite this, Michelin House is very much like an Art-Deco building, the popular style of the 1930s with its prominent roadside position and its strong advertising images and symmetry. In this respect, Michelin House is a building twenty years before its time and is also the first of the highly decorated buildings 'built on tyres', as Michelin House was built before Fort Dunlop (1916) and the Firestone Building (1928–1980). Michelin House has been listed Grade II on the National Heritage List for England since April 1969. Rise and fall On 20 January 1911, Michelin House was officially opened. The building offered everything the motorist of the time required. Fitting bays at the front of the building allowed motorist to have their tyres speedily changed by Michelin fitters from the stock of over 30,000 stored in the basement. Tyres were brought up on a lift and rolled to the front of the building along the purposely sloped floor. To the left of the front recipient, a 'Touring Office' provided maps and writing implements for the keen motorist to plan his or her journey. Within a year of opening, work started on an extension to the building to provide additional office space and included a second floor. The extension was built along the Lucan Place side of the building. A further extension was built in 1922, ten years after the first. Located where a garage had stood, it reached three floors. In 1927, Michelin built a factory in Stoke-on-Trent using the firm of Peter Lind & Company of London. The factory started producing the first British made Michelin tyres and in 1930, the company moved their head office to Stoke-on-Trent. Michelin continued to use the basement and the ground floor of the building, but over two-thirds were left empty. Between 1933 and 1940, the upper storeys were let as a furniture warehouse, a workshop and offices for the Air Ministry. In 1940, because of the risk of bombing, Michelin removed the three stained glass windows. They were carefully packed into wooden crates and sent to the Stoke-on-Trent factory for safe keeping. After the war, Michelin returned its headquarters to London. The reduced staff meant only the front, original part of the building was occupied, while the rest of the building was leased. In 1950, a long term lease was signed by a new tenant for the space created in the 1912 and 1922 extensions. In 1952, an extension was added for the tenant. A steel frame construction, it extended part of the second floor and added a third floor along the Lucan Place side of the building. In 1960, Michelin and their tenant began a modernisation programme for the interior of the building. The programme went along with the general taste of the time, dividing the open plan office and making much use of wood panelling. Although the work concentrated on the interior of the building, updating the exterior of the building with a cement rendered facade was considered. On 15 April 1969 the original front section of the Michelin Building was given a Grade II listing. Despite this, outline planning permission was granted to demolish all but the listed part and build a ten-storey office block. Michelin instead decided to spend the money on a new factory in North America. Sale In 1985, Michelin put the building up for sale. It was located in an expensive and fashionable part of London, but did not fit their office requirements. Of the many people who made bids to buy Michelin House, the restaurateur and retailer Sir Terence Conran and Paul Hamlyn, owner of the Octopus Publishing Group, were friends who when they discovered they had been bidding against each other, formed a partnership to purchase it. In August 1985, it was sold to them for 8 million pounds. Plans were then set into action to create a new lease of life for Michelin House. Rebirth Conran and Hamlyn set up Michelin House Developments to redevelop the building, to include a major retailing store, restaurant, bar and large office space. In November 1985, Conran Roche and YRM, the architects and designers placed in charge, made an application for planning permission to increase the existing floor area from 90,000 to . This was to be achieved by building a new steel and glass structure that would fill the space occupied by the side loading bay on the Sloane Avenue side, and by also adding a new neater front end to the third floor plus a new fourth floor and plant room above. Planning permission was granted and work began. The chief contractor was Bovis, who worked on the shell and core. Conran Roche worked on the interior of the new Conran Shop, and YRM worked on the interiors of the Octopus Publishing offices. Conran Roche and YRM had to search for suppliers to recreate many of the building's original features. The three stained glass windows which had been removed for safety during the Second World War had been lost and the glass cupolas at the front of the building had disappeared. After a long search, suppliers were found, and replicas of the windows and cupolas were made using original drawings, photos and posters. In August 1987, Michelin House re-opened. In the late 1990s, Reed/Octopus Publishing moved out. In 1999, Monitor Group, an international business consulting firm, moved into the office space. 20 January 2011 marked the 100th anniversary of the building's opening. The event was celebrated by the building's then occupants, Bibendum Restaurant and The Conran Shop, and the former owner, Michelin. As part of the centennial, Michelin has renewed its efforts to find the original stained glass windows. A stained glass amnesty website and hotline have been set up for this purpose. References External links Bibendum Restaurant The Conran Shop 1911 establishments in England Art Nouveau architecture in London Art Nouveau commercial buildings Buildings and structures in the Royal Borough of Kensington and Chelsea Michelin House Commercial buildings completed in 1911 Grade II listed buildings in the Royal Borough of Kensington and Chelsea Michelin Tourist attractions in the Royal Borough of Kensington and Chelsea
7,955
https://stackoverflow.com/questions/49900105
StackExchange
Open Web
CC-By-SA
2,018
Stack Exchange
Nandita Sharma, Robert, https://stackoverflow.com/users/1317766, https://stackoverflow.com/users/4990572, https://stackoverflow.com/users/9663991, maheenul
English
Spoken
574
2,081
Images not stacking column wise within a row in bootstrap 4.0 I am trying to create a responsive web page using bootstrap. In the small view (xs and sm) the page works fine. I hid some images for the smaller view and it has a very standard layout. Problem starts when I increase the screen size. In the large views (>=md) I have tried to stack four images column-wise with a row. The fourth image always goes to the next row, no matter what I do. I have tried setting margin,padding and borders to zero but still no luck. I have attached a link to my problem in code pen. The actual html file and css are slightly bigger so I have narrowed it down only to show the problematic part. Please ignore any unused classes or ids in my code. Thanks https://codepen.io/maheenul/pen/mLdmvy?editors=1100 HTML: <!DOCTYPE html> <html lang="en"> <head> <title>Responsive Design Lab</title> <link rel="stylesheet" type="text/css" href="css/responsive.css"/> <meta charset = "UTF-8"> <!-- Latest compiled and minified CSS --> <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous"> </head> <body> <section id = "center"> <div class="container"> <div class="row"> <div class="col-12"> <h2>Images not confined within the row</h2> <div class="myClass"> <h3> Loren Ipsum</h3> </div> </div> </div> <div class="row d-none d-md-block"> <img class="col-md-3" src="https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcTzDojh5E0fzvTg4nWYs0JadpTwcS2S1KHOtnVQnlruNqmNvfIk" alt="Football"> <img class="col-md-3" src="https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcTO8WIJ5ygVENopHPC5Op9z4ua-MoGD-LoUZuEd6vdL-EMro28CWw" alt="Solar Car"> <img class="col-md-3" src="http://www-personal.umich.edu/~jensenl/visuals/album/annarbor/IMG_1051.jpg" alt="campus"> <img class="col-md-3" src="https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcTzDojh5E0fzvTg4nWYs0JadpTwcS2S1KHOtnVQnlruNqmNvfIk" alt="Football"> </div> </div> </section> <footer> <p>The images above don't stack .<br/> Responsive Design</p> </footer> </body> </html> CSS: body{ margin: 1%; padding:1%; background-color: rgba(0,0,255,.2) !important; font-size: 100%; min-width: 500px; } header, footer{ background-color:#0066FF; padding: 1%; margin: 1%; } header h1{ font-size: 3rem; color:rgba(0,0,0,.7);; } section{ margin:0%; padding:0%; } .myClass{ margin: 0em 1em; padding:.75em; border: 1px solid black; border-radius: .25%; } footer{ clear: both; text-align:center; text-transform: uppercase; } @media screen and (min-width: 768px){ header, footer{ background-color:transparent; } img{ display: inline-block; margin: 0; padding: 0; border:0; overflow: auto; } } The easiest fix for this would be to wrap your image in a <div class="col-md-3">...</div> instead of applying the class directly to the image. Tried but makes things worse. The images overflows the divs and stacks on top of one another. Thanks for your input though :) Add font-size: 0; on <div class="row d-none d-md-block">. The spaces between images are taking space, thats why its not fitting in 1 row. Please refer the following link https://css-tricks.com/fighting-the-space-between-inline-block-elements/ Thank you so much! I wasted hours trying to figure this out! It works perfectly! The problem you're having with row d-none d-md-block is that the Grid in Bootstrap 4 is not a block element; it is flex. This code changes the display method on MD+ devices from flex to block. The correct class to use is row d-none d-md-flex. When you do this you restore Bootstrap's Grid behavior; but you also cause your images to display incorrectly as you've applied the Grid directly to the image. To fix that we have to wrap the columns around the image and then apply some responsive image behavior to the actual image element. <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous"> <div class="container"> <div class="row"> <div class="col-12"> <h2>Images not confined within the row</h2> <div class="my-3 p-3 border border-secondary bg-secondary text-light"> <h3>Loren Ipsum</h3> </div> </div> </div> <div class="row align-items-center d-none d-md-flex"> <div class="col-md-3"><img src="https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcTzDojh5E0fzvTg4nWYs0JadpTwcS2S1KHOtnVQnlruNqmNvfIk" class="img-fluid img-thumbnail" alt="Football"></div> <div class="col-md-3"><img src="https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcTO8WIJ5ygVENopHPC5Op9z4ua-MoGD-LoUZuEd6vdL-EMro28CWw" class="img-fluid img-thumbnail" alt="Solar Car"></div> <div class="col-md-3"><img src="http://www-personal.umich.edu/~jensenl/visuals/album/annarbor/IMG_1051.jpg" class="img-fluid img-thumbnail" alt="campus"></div> <div class="col-md-3"><img src="https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcTzDojh5E0fzvTg4nWYs0JadpTwcS2S1KHOtnVQnlruNqmNvfIk" class="img-fluid img-thumbnail" alt="Football"></div> </div> </div> Note: Because we're hiding elements at the smallest breakpoint you will need to expand the snippet to see the full results.
26,076
https://sv.wikipedia.org/wiki/Folkia%20mrazeki
Wikipedia
Open Web
CC-By-SA
2,023
Folkia mrazeki
https://sv.wikipedia.org/w/index.php?title=Folkia mrazeki&action=history
Swedish
Spoken
36
85
Folkia mrazeki är en spindelart som först beskrevs av Josef Nosek 1904. Folkia mrazeki ingår i släktet Folkia och familjen ringögonspindlar. Artens utbredningsområde är Montenegro. Inga underarter finns listade i Catalogue of Life. Källor Ringögonspindlar mrazeki
16,950
https://ceb.wikipedia.org/wiki/Boomer%20Mine
Wikipedia
Open Web
CC-By-SA
2,023
Boomer Mine
https://ceb.wikipedia.org/w/index.php?title=Boomer Mine&action=history
Cebuano
Spoken
39
74
Ang Boomer Mine ngalan niining mga mosunod: Heyograpiya Tinipong Bansa Boomer Mine (minahan sa Tinipong Bansa, Colorado), Park County, Boomer Mine (minahan sa Tinipong Bansa, California), Trinity County, Pagklaro paghimo ni bot 2017-02 Pagklaro paghimo ni bot Tinipong Bansa
22,682
https://outdoors.stackexchange.com/questions/11405
StackExchange
Open Web
CC-By-SA
2,016
Stack Exchange
Bohemian, Ken - Enough about Monica, Nate W, Roflo, SnakeDoc, TafT, delliottg, foobarbecue, https://outdoors.stackexchange.com/users/2199, https://outdoors.stackexchange.com/users/3574, https://outdoors.stackexchange.com/users/5465, https://outdoors.stackexchange.com/users/8970, https://outdoors.stackexchange.com/users/9054, https://outdoors.stackexchange.com/users/9206, https://outdoors.stackexchange.com/users/9209, https://outdoors.stackexchange.com/users/9213
English
Spoken
1,822
2,355
Is it polite to ask other climbers to belay for you? I'm a beginner climber. There are many climbers all over my area (doing cliffs). Would it be polite, impolite, or neutral, to approach groups and ask them if I could join them? Maybe this is 'obviously' impolite, but I've had a group offer before, so I wonder if this is just part of climbing etiquette. FYI - the climbers are from all different countries (lots of Germans, Australians, and others.) I kind of feel this is opinion based? @Liam, maybe? In my experience "climbers are a friendly lot" but couldn't offer more than that as a possible answer. I know I have asked other groups to belay me but after observing them to make sure they know what they're doing. Indoors, I would definitely consider it normal and OK to ask, but you do have to be more careful about trusting yourself to an incompetent belayer. Outdoors, I think it's complicated and depends on the situation. A pretty common situation outdoors is that group A and group B have set up topropes next to each other, and they take turns climbing on each other's ropes. Often if you just hang out and watch someone climbing a route, you don't have to ask -- they will offer to belay you. @BenCrowell - So just sit there with my harness and shoes watching? Would that seem pushy? No more pushy than directly asking them to climb with them. Great question, which begs the broader question "how do I get into climbing and the climbing community?" This can be extremely hard to do, especially if you're new to an area and / or the sport. The internet can be useful -- there are a lot of friendly local climbing facebook groups, Meetup groups, and traditional clubs. If you are a beginner, you either need to learn in a group, or you'll need an expert who is generous or paid. If you are a beginner, remember that an expert is sacrificing a huge chunk of time to help you. I used to do that often, but got tired of it. Rest but don't hangdog! A climber was killed in Australia after he was invited to join strangers on a climb. The top rope was set up by someone with no training and was thread though a sling. It failed as he was lowered off. Make sure when you climb with strangers you know what you are getting into. @mattnz Ugh. A friend of mine was belayed by someone we thought was experienced after she had led the climb. He got to the top, and found the same -- the anchor setup had the rope running through a sling. He was able to fix the anchor before being lowered. But this is a good point -- you can't check an anchor from the ground. My answer is "don't ask". It's not so much that it's "impolite", but it's an imposition to them and potentially dangerous for you: Belaying can take quite some time, so you're asking the person to give up a chunk of their recreation time to a total stranger. It's not like you're asking someone to help for 30 seconds You're putting your life in their hands, literally. That's a big decision. What if they're also a complete novice but feel embarrassed to admit it. I wouldn't let anyone belay me unless I was confident they knew what they were doing and trusted them to do it Don't go to a two-person sport venue by yourself. What if you get to the cliff and no one else is there? Find a climbing partner(s). Learn together. It can be rewarding and build a great relationship as you both improve. You'll have someone to share your climbing highs and lows with. Thanks for the good answer. Doesn't finding a partner and learning together necessitate trusting myself to a complete novice also, though? @horsehair of course. You should probably get lessons from an expert before going out into the wild. Maybe do a climbing course either together, or just yourself and teach your partner what you learned. Or join a climbing club and pair up with an experienced climber to learn. It's really important you get the techniques right. It's easy to die while climbing - many do. Having a partner also means you can go to any venue any time and climb. This answer very closely mirrors my feelings. I also wouldn't do it, mostly for the second bullet point, you're literally putting your life in the hands of someone you don't know. I also doubt I would allow someone to join my group (consider I haven't done any climbing for decades now), you're adding a potential threat to your group and there's almost no upside to doing so. I've never climbed at a gym, so I don't know the etiquette there, but it may be more acceptable to ask there. @delli at a gym, there's usually spare staff floating around for this very purpose. You might find lazy people like me in your local climbing societies. I have climbed for many years but can only do sport leading. I have never tried to do trad(itional) leading and I am not that worried about learning to do it. I cannot go climbing unless I freestyle or find a leader to go with. If you were planning to lead, someone like me could second you and give advice based on experience about everything apart from the placement of gear (though I might comment when given something difficult to retrieve). They (or I) would be pleased to have a person to climb with. How about "Don't learn to climb on cliffs!!!!". Go to an indoor climbing facility, they'll have many experts, and proper safety equipment to ensure you are not severely injured. Your cliff climbing could go wrong in a number of ways -- even for experts! From my experience, the simple act of asking won't be perceived as impolite. There is a good chance that people will let you join them, but be prepared to accept "no" as an answer just in case. It would be impolite to press on and try to get them to change their minds, but if you politely accept the "no", you should be fine. (I assume that you actually want to join the group and belay them, too. If you just ask for a belay and don't offer anything in return, that might probably be seen as rude.) But this highly depends on the people and on the circumstances; for example, on routes that are well equipped with bolts, I would be more willing to accept new partners than on challenging multi-pitch trad climbs. The same goes for the perceived experience of the potential partner: People that seen experienced and want to try a hard route that I'm also interested in will more likely get a positive response than obviously inexperienced people that beg me to put up a top rope on a UIAA 5 for them. Of course, this also applies the other way: Make sure that you are comfortable with the people in the group belaying you. See Vetting belayers at the gym?; most things also apply outdoors. In short: Asking won't hurt, and trying to make sure that you would fit into the group will maximize your chances of joining them. Where I climb (New Mexico, USA), I think it would be impolite to walk up to a stranger outside and ask them out of the blue to belay you. I have been awkward position of being asked to belay someone I don't know / don't want to, and it is certainly uncomfortable. However, it's certainly not impolite to go to a cliff looking to find new climbing partners or join a group of climbers. Approach them, start a friendly conversation, and explain that you're looking for climbing partners but having trouble finding them, or whatever the case is. You might say you enjoy the area and like to come out even when you don't have someone to go with. This gives them the opportunity to offer to belay you without putting them in the awkward position of having to refuse. Also, you might offer to belay before requesting a belay. Find an odd-numbered group that seems to be about at your skill level and offer to belay whoever is waiting around. They may be very happy for that and then they'll belay you after that, and you may have made a new friend. I think even asking sometimes can be impolite. Some people just have a hard time saying 'no', even if they don't want you there. If there's a good chance they wouldn't want you in the group, don't put them in a difficult situation. Probably Don't Ask: A group of 2 climbers obviously on a climbing date An even-number group of climbers who look experienced and setup quickly. They don't need a third/odd person to slow them down Any group of climbers that are having a great time catching up, haven't seen each other in awhile, or sharing inside jokes. You'd be disrupting the social experience for them as they try to accommodate you. If you are inexperienced enough, such that you would need them to coach you through different tasks. If you are missing equipment that you would need to borrow from them. If you sense a great skill imbalance (you are much less experienced than they are), you probably aren't welcome. If you are much more experienced, you might be welcome if they need a lot of help. But you could also be unwelcome if your presence makes them feel intimidated or feel rushed. If you wouldn't feel safe on their anchors or being belayed by them. Okay To Ask (assuming situation doesn't fall into previous list): An odd-number group of climbers that seem impatient about waiting around. They would probably benefit from your belaying presence. A group of climbers that are around your same skill level (so you guys can climb the same routes) You have a necessary piece of equipment that they are missing, so no one can climb unless you all do it together. For all the reasons in the other answers, one probably should not ask to be belayed by another group of climbers. There's just a lot of awkwardness involved, and a lot of strange risk in trusting someone with your life. However, if you do want to try to get belayed by others, don't be afraid to use a social approach. Go up to groups and chat with them a bit, show your interest both in the climb and in them. There's a reasonable chance they will offer to let you join, if you play it right. And if they don't, you still spent your time networking with the climbing community. Who knows what you might learn!
36,390
https://stackoverflow.com/questions/10231307
StackExchange
Open Web
CC-By-SA
2,012
Stack Exchange
Ankur Loriya, Cris Castillo, Davide Piccioli, Kamonrat Meesak, Sagar Patel, Talented Dev, https://stackoverflow.com/users/1166505, https://stackoverflow.com/users/23470751, https://stackoverflow.com/users/23470752, https://stackoverflow.com/users/23470753, https://stackoverflow.com/users/23471112, https://stackoverflow.com/users/23918827, https://stackoverflow.com/users/23919411, thabbott
English
Spoken
104
191
Options for HTML 5 local database storage I am using HTML 5. Wanted to know what kind of local database storage is available. The localStorage (used key value pair) has a limiation on it so wanted to know if there is something else available. tell me what kind of data store rather key value pair ? This page has a list of varieties of storage methods that can be used with HTML5: http://www.html5rocks.com/en/features/storage Here's a page explaining the differences between the different methods: http://csimms.botonomy.com/2011/05/html5-storage-wars-localstorage-vs-indexeddb-vs-web-sql.html If you're looking for more than just key-value storage, maybe you want WebSQL database. Though, I believe that's being deprecated.
2,786
https://zh.wikipedia.org/wiki/%E8%A3%B4%E7%BB%B0
Wikipedia
Open Web
CC-By-SA
2,023
裴绰
https://zh.wikipedia.org/w/index.php?title=裴绰&action=history
Chinese
Spoken
5
55
裴绰可以指: 裴绰 (西晋),西晋大臣,裴徽之子。 裴绰 (疏勒),唐朝疏勒王。
37,480
https://superuser.com/questions/1437147
StackExchange
Open Web
CC-By-SA
2,019
Stack Exchange
Greg Viers, Saryk, Wolfgang Jacques, fixer1234, https://superuser.com/users/364367, https://superuser.com/users/621911, https://superuser.com/users/864961, https://superuser.com/users/891849
English
Spoken
542
737
Adjust row height in excel from INDEX formula I have some cells whose content is determined by an INDEX formula. They are horizontally merged cells, on a single row. The content they can show is quite variable in length, so the cells are set to wrap text. When they are updated by the change in the index reference value, it happens that they are too short to show all that they should show. Thing is, I don't want to manually set a large height for the couple of instances where the content overflows, as it presents badly in all other cases ; and when they do overflow, there is no way other than manual to set an appropriate height. That means that when I double click the line to auto-set height, it stays at default ; and if I actually manually enlarge it and then double click the same auto-set height line : it goes back to default and only part of the first line shows. I there any way to automatically tell the sheet to auto-set the height of the rows where cells have been updated due to change of index value ? I cannot confirm this as of Excel in Office 365 ProPlus (Ver. 1808). Double clicking the row adjusts the height fine in terms of enlarging or shrinking as needed. Just not automatically. I'm on ProPlus version 1904. @WolfgangJacques Just to be clear, regular auto resizing works fine ; whereas auto resizing dynamic content that gets filled from INDEX formula doesn't. Are any of the cells merged? @GregViers as a matter of fact yes, but only horizontally. I just checked, and it works fine on a single cell... I'll edit the question. This is a known issue. You cannot use the AutoFit feature for rows or columns that contain merged cells in Excel. You can fix it by unmerging your cells. If you want them to autofit after a recalculation, add this subroutine to your sheet code: Private Sub Worksheet_SelectionChange(ByVal Target As Range) For Each c In Target.Cells c.EntireRow.AutoFit Next c End Sub Sure, autofit works if I unmerge my cells. The question I'm asking is, even on unmerged cells, how do I auto adjust when the cell gets updated from resolving an Index function ? I have edited my answer. Would it work to have the macro unmerge, do this autofit, then remerge? @fixer1234 - probably, but the result would not be desirable, since the autofit would produce a height based on the unmerged width, which is less, and make the row too high. @GregViers Thanks for the edit ; unfortunately this does not work. Bear in mind I'm not selecting and changing the cell's content directly, the content that needs fitting is the result of a formula. You could modify above macro to execute when the source is updated and do the autofit on the target cells. @WolfgangJacques That seems reasonable, however I have no experience with excel VB scripting. How would I do that ? (a separate answer would be appreciated, to be able to close the question) @Saryk if you provide more information about where the source cells and the merged cells are, what the formula is etc. then I could change the answer above.
50,163
https://ceb.wikipedia.org/wiki/Kali%20Rejo%20%28suba%20sa%20Jawa%20Timur%2C%20lat%20-8%2C24%2C%20long%20112%2C86%29
Wikipedia
Open Web
CC-By-SA
2,023
Kali Rejo (suba sa Jawa Timur, lat -8,24, long 112,86)
https://ceb.wikipedia.org/w/index.php?title=Kali Rejo (suba sa Jawa Timur, lat -8,24, long 112,86)&action=history
Cebuano
Spoken
51
80
Alang sa ubang mga dapit sa mao gihapon nga ngalan, tan-awa ang Kali Rejo. Suba ang Kali Rejo sa Indonesya. Nahimutang ni sa lalawigan sa Jawa Timur, sa habagatan-kasadpang bahin sa nasod, km sa sidlakan sa Jakarta ang ulohan sa nasod. Ang mga gi basihan niini Mga suba sa Jawa Timur
14,943
https://sv.wikipedia.org/wiki/Homoneura%20africana
Wikipedia
Open Web
CC-By-SA
2,023
Homoneura africana
https://sv.wikipedia.org/w/index.php?title=Homoneura africana&action=history
Swedish
Spoken
35
75
Homoneura africana är en tvåvingeart som först beskrevs av Adams 1905. Homoneura africana ingår i släktet Homoneura och familjen lövflugor. Artens utbredningsområde är Zimbabwe. Inga underarter finns listade i Catalogue of Life. Källor Lövflugor africana
28,703
https://min.wikipedia.org/wiki/%2852101%29%202598%20P-L
Wikipedia
Open Web
CC-By-SA
2,023
(52101) 2598 P-L
https://min.wikipedia.org/w/index.php?title=(52101) 2598 P-L&action=history
Minangkabau
Spoken
68
166
(52101) 2598 P-L adolah sabuah asteroid nan talatak di sabuak utamo. Asteroid ko ditamukan pado tanggal 24 September 1960 dek C J van Houten, I van Houten-Groeneveld, T Gehrels di Palomar. Pambantuakan Sarupo asteroid sacaro kasaluruahan, asteroid ko tabantuak dari nebula matoari primordial sabagai pacahan planetesimal, sasuatu di nebula Matoari mudo nan indak cukuik gadang untuak barubah manjadi planet. Catatan kaki Pautan lua JPL Small-Body Database Browser 52101
27,727
https://en.wikipedia.org/wiki/Tear%20Me%20Apart
Wikipedia
Open Web
CC-By-SA
2,023
Tear Me Apart
https://en.wikipedia.org/w/index.php?title=Tear Me Apart&action=history
English
Spoken
158
260
Tear Me Apart is the tenth studio album by American country music artist Tanya Tucker released on October 29. 1979. Produced by British rocker Mike Chapman, who along with longtime songwriting partner Nicky Chinn, wrote two of its songs, it continues the more rock-based sound begun on the preceding TNT, but even more so. The album rose to the No. 33 position on the Billboard Country Albums chart, although there were no charting singles for the first time in Tucker's career. Track listing Personnel Tanya Tucker – lead vocals Beau Segal – drums, percussion Jeff Eyrich – bass guitar Steve Goldstein – keyboards Bill Andersen, Jerry Swallow – guitar Jerry Swallow – mandolin Jerry Peterson – saxophone Bill Andersen, Rusty Buchanan, Steve Goldstein, Lynda Lawley, Sue Richman, Andrea Robinson, Julia Tillman Waters, Tanya Tucker, Luther Waters, Oren Waters, Maxine Willard Waters – backing vocals References 1979 albums Tanya Tucker albums Albums produced by Mike Chapman MCA Records albums
13,257
https://stackoverflow.com/questions/8411288
StackExchange
Open Web
CC-By-SA
2,011
Stack Exchange
Ashby Silverman, Keziah Moses, Steven Eddy, THelper, https://stackoverflow.com/users/18854116, https://stackoverflow.com/users/18854117, https://stackoverflow.com/users/18854118, https://stackoverflow.com/users/18856066, https://stackoverflow.com/users/21607960, https://stackoverflow.com/users/21609104, https://stackoverflow.com/users/741249, poori azarakhsh, xian wangdu, 通榆县宾馆上门大学生兼职
English
Spoken
210
371
Unable to get responses in ACRA Crash report after first response i have being using ACRA ,which is a library enabling Android Application to automatically post their crash reports to a GoogleDoc form. i have been using following code in OnCreate of Application @ReportsCrashes(formKey = "XXXXXXX", mode=ReportingInteractionMode.TOAST, forceCloseDialogAfterToast = false,resToastText = R.string.crash_toast_text) public class MyApplication extends Application{ @Override public void onCreate() { // The following line triggers the initialization of ACRA ACRA.init(this); super.onCreate(); } } When i First test it i got response in ACRA CrashReport form(In form of Google Doc) but for next time for same crash i didnt get response whenever any crash/exception occur in my android application. Are you sure there was an Internet connection when the errors occured?If I remember correctly ACRA will save the error report on the device when it can't be sent and try again when the app is restarted, so you might want to check if there are error reports. Check that you set all permissions needed ACRA. It depends on fields that you want in report, some of them need READ_LOGS permission or READ_PHONE_STATE permission (for more http://code.google.com/p/acra/wiki/ReportContent) If error still present and connected with report sending on Google Doc try to add custom timeout: @ReportsCrashes(formKey = "xxxxxxxxx", socketTimeout = 25000)
4,726
https://unix.stackexchange.com/questions/333342
StackExchange
Open Web
CC-By-SA
2,016
Stack Exchange
Ashwin Gupta, https://unix.stackexchange.com/users/207608
English
Spoken
346
854
Apache name-based virtual hosts configured, but both hostnames direct to the same site I have an apache2 webserver running perfectly on my Raspberry Pi (raspbian) and I recently wanted to make another site. To do this, I am trying to make use of name based virtual hosts. I've obtained another dynamic dns host name from https://my.noip.com/#!/dynamic-dns. I believe I have configured my 2 site conf files correctly and the hosts file. My two websites are called ashwingupta.ddns.net and javacloudcompile.ddns.net (which is the one I had previously). However, if I connect to either one, I now get the site for ashwingupta.ddns.net. The following are the config files: hosts 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters 127.0.1.1 raspberrypi 127.0.1.1 javacloudcompile.ddns.net 127.0.0.1 ashwingupta.ddns.net javacloudcompile.ddns.net.conf NameVirtualHost *:80 <VirtualHost *:8080> ServerName javacloudcompile.ddns.net ServerAdmin ashiwingupta@localhost DocumentRoot /var/www/html/vhosts/javacloudcompile.ddns.net/ ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost> # vim: syntax=apache ts=4 sw=4 sts=4 sr noet ashwingupta.ddns.net.conf NameVirtualHost *:8080 <VirtualHost *:8080> ServerName ashwingupta.ddns.net ServerAdmin ashiwingupta@localhost DocumentRoot /var/www/html/vhosts/ashwingupta.ddns.net/ ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost> # vim: syntax=apache ts=4 sw=4 sts=4 sr noet I've enabled both sites w/ a2ensite and both claim to have been enabaled correctly. I then refreshed apache w/ service apache2 restart. (Note, everything is intentionally on 8080, my ISP blocks inbound on 80) edit: Forgot to mention, I do have Listen 8080 in my ports.conf It appears to me that the NOIP service is calling your server via a frame, and the frame source is your server's IP address, rather than a domain name: <frame src="http://68.101.98.197:8080" name="redir_frame" frameborder=0> Your Apache server isn't receiving the server name with the request. Since the conf files are loaded in alphabetical order, ashwingupta.ddns.net.conf has the highest priority and is seen as the primary or default server (see https://httpd.apache.org/docs/2.2/vhosts/examples.html). One way around this would be to use a different port for ashwingupta.ddns.net, e.g. port 8081, assuming you can specify that port number in the NOIP configuration. ah thanks, I'll try this when I get a chance and let you know! is there any other free domain service I might be able to use that you know of?
38,990
https://zh.wikipedia.org/wiki/%E5%9C%A3%E4%BA%8E%E8%BF%9E%E5%BE%B7%E6%AD%A6%E6%97%BA%E7%89%B9
Wikipedia
Open Web
CC-By-SA
2,023
圣于连德武旺特
https://zh.wikipedia.org/w/index.php?title=圣于连德武旺特&action=history
Chinese
Spoken
83
3,579
圣于连德武旺特(,),法国西部市镇,位于卢瓦尔河地区大区大西洋卢瓦尔省,隶属于沙托布里扬-昂斯尼区,其市镇面积为25.6平方公里,时人口数量为人,在法国城市中排名第10,289位。 圣于连德武旺特位于大西洋卢瓦尔省东北部,栋河畔,多个方向的公路在此交汇。 地名来源 “圣于连德武旺特”一名最初于公元1104年以拉丁语“Sancti Juliani de Voantes”的形式被记载,其中“Juliani”可能为一名天主教圣人,其生平尚有待考证。 因翻译标准不同,“Saint-Julien-de-Vouvantes”在部分汉语资料中被译为含有连字号“-”的圣于连-德武旺特,而“Julien”在作为人名时又常被译为朱利安。 历史 根据当地官方网站的论述,圣于连德武旺特始建于公元十世纪,彼时布列塔尼地区遭遇诺曼人入侵,当地居民躲避进入栋河附近的一片森林,后该区域逐渐形成村落。法国大革命后,圣于连德武旺特成为大西洋卢瓦尔省的一个市镇。1886至1947年间,途径圣于连德武旺特的沙托布里扬-拉沙佩勒格兰铁路()曾有运营,后因公路兴起而停运拆除。1889年,当地建成了圣朱利安教堂。20世纪中后期,当地人口数量有所下降。 地理 圣于连德武旺特位于法国西部,卢瓦尔河地区大区中西部和大西洋卢瓦尔省东北部,距离省会南特大约64公里。与圣于连德武旺特接壤的市镇包括:埃尔布赖、瑞涅德穆捷、小欧韦内和拉沙佩勒格兰。 地形 圣于连德武旺特位于阿摩里卡丘陵腹地,境内以浅丘为主,市镇中心地势较为平坦,全境海拔在47到99米之间。 水文 栋河自东北向西蜿蜒流经境内,另有莱布瓦溪()等流经境内。栋河左岸有一处天然湖泊。 植被 圣于连德武旺特属于温带阔叶混交林区,林地主要分布于河流附近。 在鲜花城市的评比中,圣于连德武旺特暂未被评级。 气候 圣于连德武旺特在柯本气候分类法中属于温带海洋性气候。 行政区划 圣于连德武旺特的市镇编号为44170,邮政编号为44670。 在行政管理方面,圣于连德武旺特隶属于法国卢瓦尔河地区大区大西洋卢瓦尔省沙托布里扬-昂斯尼区;在地方选举方面,圣于连德武旺特隶属于,其市镇范围全境被划入;在社会管理方面,圣于连德武旺特是的组成部分。 截至2023年8月,圣于连德武旺特市镇范围内暂无任何及。 法国国家统计与经济研究所(简称“”)在进行数据统计时,未将圣于连德武旺特划入任何城市核心区()以及城市区()内。自2020年起,圣于连德武旺特城市区被划入包含20个市镇的内。 此外,还将圣于连德武旺特市镇整体看作一个个“块区”(),以便于统计人口分布情况。 交通 公路 大西洋卢瓦尔省省道D2线、D20线、D40线、D122线、D163线和D878线在圣于连德武旺特境内交汇。卢瓦尔河地区大区下属的城际客运提供校车巴士线路,可前往周边部分市镇。 2018年,78.8%的圣于连德武旺特家庭拥有至少一辆私人汽车。2018年,圣于连德武旺特境内共发生各类交通事故1起,造成1人受伤。 铁路 途径圣于连德武旺特的沙托布里扬-拉沙佩勒格兰铁路已于1947年彻底废弃。 距离圣于连德武旺特最近的运营中的客运铁路车站为14公里外的沙托布里扬站,该站停靠前往雷恩的区域列车以及前往南特的Tram-train列车。 航空 圣于连德武旺特距离雷恩机场和南特机场的公路里程分别约72和74公里。 城市公共交通 截至2022年3月,圣于连德武旺特暂无城市公共交通系统。 政治 圣于连德武旺特的现任市长为萝丝-玛丽·布科女士(),她是一名无党派人士的一名成员,在中获得了100%的支持率(无其他候选人)。 在2022年的法国总统大选中,法国极右翼政党国民阵线主席玛丽娜·勒庞在圣于连德武旺特获得了51.1%的支持率。 人口 2020年,圣于连德武旺特市镇人口数量为959,在法国排名第10,289位。其中男性454人,女性513人,75岁及以上人口占11.3%,外籍人口数量为9人,人口密度为37人/平方公里,当地居民被称为(男性)或(女性)。2020年,圣于连德武旺特境内出生10人,死亡人口16人。 经济 截止2022年3月,圣于连德武旺特市镇范围内共有各类用人单位(包含自雇)152家,平均历史为22年,均为中小型企业()。 财政与居民收入 2020年,圣于连德武旺特的财政收入总额为926,740欧元,财政支出总额为749,080欧元,当年的债务总额为549,480欧元。2021年,圣于连德武旺特共获得259,181欧元的国家财政补助,比上一年增加了3.36%。 2020年,圣于连德武旺特的家庭单位平均月收入总额为1,673欧元,低于法国平均水平(2,303欧元)。 2022年,圣于连德武旺特境内的青壮年(15至64岁)失业率为9.4%,当地33%的家庭拥有纳税资格,平均纳税1,037欧元,低于法国平均水平(4,393欧元)。 社会事务 教育 圣于连德武旺特属于。截止2020年1月1日,圣于连德武旺特境内有1所小学。 医疗 截止2020年1月1日,圣于连德武旺特境内共有全科医生1名以及护士2名。境内共有药房1家、养老院1家。 圣于连德武旺特是“沙托布里扬-诺宰-普昂塞中心医院”()的服务范围,后者是法国的一个,其下属的普昂塞病区位于翁布雷当茹镇中心,距离圣于连德武旺特市区的正常车程约13分钟,该院设有床位258个,是当地规模最大的公立综合性医院。 住房 2018年,圣于连德武旺特境内共有各类住房458套,其中94.8%为独立式居民区,4.8%为集中式居民区。常住房屋占圣于连德武旺特市镇范围内居民建筑总量的84.1%。 在住房保障政策方面,2020年,圣于连德武旺特境内共有61户家庭获得了住房经济补助,受益人数占总人口数量的6.3%,其中50份为房租补助。 商业 2019年,圣于连德武旺特境内共有各类实体商铺18家,其中餐厅1家、面包房1家、肉铺1家、银行门店1家、美容美发店2家以及汽车维修店2家。镇中心有一家烟酒店。 体育 2020年,圣于连德武旺特境内共有1间体育馆以及1处足球或橄榄球场。 截至2022年3月,武旺特运动员-格兰体育联盟(,编号546436)是当地唯一的注册足球俱乐部,其主队2023至2024赛季参加大西洋卢瓦尔省足球联赛丁组(法国第十二级别),其主场莱万球场()位于市区北部。 环境 圣于连德武旺特的环境事务由其所属的负责。2019年,圣于连德武旺特境内暂无污染企业。 治安 圣于连德武旺特所在地是沙托布里扬国家宪兵队()的管辖范围。2020年,该宪兵队辖区内共47个市镇累计发生各类案件3,796起,其中盗窃类案件2,244起,经济类案件521起,毒品交易类案件57起。 文化 2020年,圣于连德武旺特境内暂无任何文化设施。圣于连德武旺特建有市际图书馆(),每周三、五、六向公众开放。 建筑 圣于连德武旺特境内有多处历史建筑,其中镇中心的是法国国家文物保护单位,也是当地的地标性建筑物。 旅游 圣于连德武旺特的旅游事务由其所属的负责。2021年,圣于连德武旺特境内暂无任何游客接待设施。 媒体 法国主要的媒体均可在圣于连德武旺特接收,法国电视三台下属的卢瓦尔河地区大区频道在部分时段播出圣于连德武旺特所在大西洋卢瓦尔省的地方新闻。《》(隶属于《》)、、、等是当地主要的地方性媒体。 相关人物 友好城市 截至2022年3月,圣于连德武旺特暂未建立任何友好城市关系。 参考资料 外部链接 S 圣于连德武旺特 S
33,058
https://tt.wikipedia.org/wiki/NGC%206344
Wikipedia
Open Web
CC-By-SA
2,023
NGC 6344
https://tt.wikipedia.org/w/index.php?title=NGC 6344&action=history
Tatar
Spoken
45
197
NGC 6344 — Томанлыклар һәм йолдыз тупланмалары яңа гомуми каталогында теркәлгән галактика. Тарихы Әлеге галактика елда тарафыннан, яктылык җыючы элемент буларак көзге кулланучы, зурлыктагы оптик телескоп ярдәмендә ачылган. Чыганаклар VizieR NASA/IPAC Extragalactic Database Искәрмәләр Шулай ук карагыз Яңа гомуми каталог Мессье җисемнәр исемлеге 6344 6344
26,728
https://es.wikipedia.org/wiki/Fist%20of%20Zen
Wikipedia
Open Web
CC-By-SA
2,023
Fist of Zen
https://es.wikipedia.org/w/index.php?title=Fist of Zen&action=history
Spanish
Spoken
659
1,068
Fist of Zen (también conocido como Las locuras del Zen) es un programa de concursos de telerrealidad transmitido por MTV. Está basado en la secuencia La biblioteca silenciosa de la serie cómica japonesa Downtown no Gaki no Tsukai ya Arahende!!. País:Reino Unido Argumento El programa serio es un concurso televisivo puro, en el que participan cinco personas (por lo general, hombres británicos de entre 20 y 30 años de edad y siempre se les añade la terminación -san a sus nombres) bajo la supervisión del maestro Zen, interpretado por el actor Peter Law, que asigna los rituales que deben cumplir para llegar supuestamente a la iluminación Zen; no hay diálogos entre los participantes. El programa se compone de nueve rituales, cada uno de los cuales supone a la víctima algún tipo de dolor o malestar, y debe completarse en silencio, y a veces en un período determinado de tiempo. Cada ritual es presentado por primera vez por su nombre, que más o menos describe la tarea a realizar, y cómo muchas veces y/o en qué período. Los participantes luego aparecen sentados en una mesa. Ellos deben meter su mano en una caja de cartón puesta en el centro de la mesa, y sacar una bola de ella. En la caja hay cuatro bolas rojas y una negra. El que recibe la pelota negra, se considera el que va a tener el ritual. Tras la finalización de cada ritual, el maestro Zen, que supuestamente sigue a los participantes en su progreso a través de la llamada "fuente mágica de Ling Wee", aparece y dice comentarios a los participantes sobre su rendimiento, ya sea animándolos para que tengan éxito o insultándolos por su fracaso, a menudo haciendo comentarios crudos, comparándolos a las niñas o bebés y llamándolos cretinos. Cada ritual transcurrido inglés acumula 100 libras esterlinas en una llamada "olla" o "pozo". Después de haber pasado por los nueve rituales, los "occidentales" se presentan con el "1 minuto de tortura". En esta prueba final, tienen que completar algunas tareas estando en calzoncillos, mientras que sus penes (los llamados "Serpientes") están siendo tirados (supuestamente por el maestro Zen), con una cadena que ha sido vinculada a ellos. Por lo menos en una ocasión, una mujer era parte del grupo de occidentales, por lo que en el desafío final, fue reemplazado a dos cadenas en sus pezones. La tarea a realizar puede ser uno de las tres: El uso de palillos, cada uno de ellos debe poner un huevo de un cuenco en una taza pequeña. En esta prueba, los que terminan poniendo sus propios huevos en los vasos, parece que se les permitiera ayudar a los demás con las suyas. Cascos con un embudo y una pelota colgando de una cuerda, ellos moviendo la cabeza deben conseguir poner la bola en el citado embudo. Pasando pelotas de tenis de mesa con la boca y echarlas en un tubo hasta completarlo. Con cucharas en la boca, deben pasar limones de uno a otro, entre a ellos, a fin de obtener uno (a veces dos) los limones en un tazón al final de la línea. En caso de tener éxito en el desafío definitivo, ganan todo el dinero acumulado, mientras que si no, pierden todo. Palabras de iluminación Zen Cada tres rituales, los muchachos buscan al maestro Zen para pedir su asesoramiento. En ese momento, el maestro Zen muestra el supuesto profundo asesoramiento para alcanzar la iluminación, que suele ser algo totalmente al azar y sin sentido. Los participantes se muestran a continuación, para darle las gracias por sus palabras. Además, al final del espectáculo, el maestro Zen da algunas palabras finales, en las cuales después de que habla en chino en todo el programa, se revela que también habla inglés (algo que no hace durante todo el show), y pasa a estar en una pantalla de croma, con todos los antecedentes de ser un montaje. Referencias Concursos televisivos Programas de televisión de MTV
1,118
https://pl.wikipedia.org/wiki/Jezioro%20%C5%9Alepe%20%28gmina%20P%C5%82aska%29
Wikipedia
Open Web
CC-By-SA
2,023
Jezioro Ślepe (gmina Płaska)
https://pl.wikipedia.org/w/index.php?title=Jezioro Ślepe (gmina Płaska)&action=history
Polish
Spoken
68
197
Jezioro Ślepe – jezioro dystroficzne w gminie Płaska, w powiecie augustowskim, w woj. podlaskim. Jezioro leży na Równinie Augustowskiej w Puszczy Augustowskiej. Jest to niewielkie, zarastające jezioro o bagnistych brzegach. Brzegi porośnięte są lasem. Nad jeziorem występuje wiele roślin bagiennych, między innymi rosiczki. Nocami nad jeziorem pojawiają się błędne ogniki. W pobliżu znajduje się wieś Mikaszówka. Przypisy Bibliografia Jeziora w Puszczy Augustowskiej Jeziora w gminie Płaska Suwalszczyzna Mikaszówka
47,061
https://pt.stackoverflow.com/questions/204423
StackExchange
Open Web
CC-By-SA
2,017
Stack Exchange
Carlos Cinelli, Daniel Ikenaga, José, Rita, https://pt.stackoverflow.com/users/23492, https://pt.stackoverflow.com/users/33676, https://pt.stackoverflow.com/users/5010, https://pt.stackoverflow.com/users/76396
Portuguese
Spoken
308
513
Fazer o R esperar pelo utilizador Tenho um programa completo em R, em que primeiro pede um número ao utilizador, usando a função menu: menu(c('1','2','3'),title='Escolha um numero') De seguida, umas linhas de código abaixo, este número escolhido é necessário para algumas funções. É requerido que o programa seja o mais independente possível ou seja, utilizador faça "Run all", introduza o número e de seguida o programa corra sozinho e dê o resultado final. O problema está que ao efetuar "Run all", o programa não espera que o utilizador introduza o número e executa um ciclo infinito ou seja o programa dá erro. Existe alguma função que possa fazer o R esperar que o utilizador introduza o número e só de seguida continue o programa usando "Run all"? Para mim seu código isoladamente deveria funcionar normalmente, mas não está claro o que você quer para além disso. Talvez seja interessante incluir mais linhas de código para alguém poder lhe ajudar. O utilizador tem de escolher um número e só depois pode seguir o programa, o meu objetivo é que quando o utilizador faz "run all" o R espere que o utilizador introduza um número e depois continue. Já tentei usar a função source para ir buscar a outro ficheiro assim como: if interactive()==TRUE continuar o programa if interactive()==FALSE voltar a perguntar Mas continua a dar erro porque o R não espera a resposta Já utilizou o Shiny para fazer uma interface com o usuário? Não, vou procurar como se usa. Mas isso implica usar o Rstudio e eu tenho de trabalhar em R mas obrigada pela resposta. Você ja experimentou usar readline(prompt="Entre um número") Sim já, mas não é esse o problema. A pergunta estava mal explicada, já editei penso que esteja mais clara agora Possível duplicata de Erro com função iterativa de menu quando corre código em bloco
30,401
https://sh.wikipedia.org/wiki/Los%20Almendros%2C%20Jiquipilas
Wikipedia
Open Web
CC-By-SA
2,023
Los Almendros, Jiquipilas
https://sh.wikipedia.org/w/index.php?title=Los Almendros, Jiquipilas&action=history
Serbo-Croatian
Spoken
56
153
Los Almendros je naselje u Meksiku, u saveznoj državi Chiapas, u opštini Jiquipilas. Prema proceni iz 2014. godine u naselju je živelo 7 stanovnika. Naselje se nalazi na nadmorskoj visini od 616 m. Vidite još Meksiko Administrativna podjela Meksika Popis gradova u Meksiku Reference Literatura Vanjske veze Naselja u opštini Jiquipilas, Čijapas Wikiprojekat geografija/Naselja u Meksiku
39,308
https://stackoverflow.com/questions/19979973
StackExchange
Open Web
CC-By-SA
2,013
Stack Exchange
Damien Overeem, Ing. Michal Hudak, deceze, https://stackoverflow.com/users/1183662, https://stackoverflow.com/users/1472389, https://stackoverflow.com/users/476
Sardinian
Spoken
416
724
php create instance of loaded model in controller Question: // TODO: add $name to $models array in Controller class How to add $name from function model() in Load class to $models array in Controller class ? Note: I have Load and Controller classes in separated files. PHP: <?php class Controller { public $models = array(); public $load; //TODO: for each model create instance // public $name; public function __construct() { $this->load = new Load(); // TODO: for each model create instance // $this->name = new Name(); } } class Load { public function model($name) { require(APP_DIR . 'models/' . strtolower($name) . '.php'); $model = new $name; // TODO: add $name to $models array in Controller class return $model; } } Edit: My Goal: If I load model in Controller as this: $this->load->model('model_name'); then I want to have instance of that loaded model as $this->model_name->method(); I have no idea what you're asking. If I load model in controller I want to create instance of model in Controller so I can then use model as $this->model_name->method();. Since you are not using any local properties in the Load class, you could make the model method static: public static function model($name) { require(APP_DIR . 'models/' . strtolower($name) . '.php'); $model = new $name; // TODO: add $name to $models array in Controller class return $model; } You can then call that method from your Controller class as follows: $model = Load::model($name); Update: You commented: If I load model somewhere I want to create instance in Controller so I can then use model as $this->model_name->method(); You can use the magic method __get (documentation) to access your model in such a way. Add the following method to your Controller class: public function __get($model) { return Load::model($model); } After adding this function $this->model_name->somemethod() will work in your Controller. Obviously this needs some fine tuning, but it will do what you want. If I load model in Controller as this: $this->load->model('model_name'); then I want to have instance of that loaded model as $this->model_name->method(); See updated answers. Magic method __get will do this for you. Just find tune it to your wishes. You could ofcourse do the loads earlier and store them in in a array property, and then adjust the __get method to return models from that array only if they exist. Is this good example what I am trying to achieve ? http://stackoverflow.com/a/3652341/1183662 You can use class_exists before doing the require yes. Otherwise you would require it even if it was already loaded.
33,053
https://stackoverflow.com/questions/66543097
StackExchange
Open Web
CC-By-SA
2,021
Stack Exchange
https://stackoverflow.com/users/13573444, s.kuznetsov
English
Spoken
976
3,102
How to get data of selected rows of table in controller using ajax in asp.net core? I'm creating an online exam project.In "add questions from question bank" part I have a problem.I want to send the datas in selected rows to controller but my table codes is a little complex.I want to get the title of questions and grades and even if those are choice questions I want to get choices and correct answers and etc so I created a ViewModel. This is the viewModel: public class AddQuestionViewModel { public int QuestionId { get; set; } public int ExamId { get; set; } public string UserId { get; set; } public decimal Grade { get; set; } public string questionTitle { get; set; } public List<ChoiceQuestionSelection> choice { get; set; } public List<TrueFalseQuestion> trueFalse { get; set; } public bool IsShow { get; set; } public bool IsSelect { get; set; } } This is the html: @model IEnumerable<AddQuestionViewModel> <form id="QuestionsForm" method="post" asp-action="CreateQuestionFromQuestionBank"> <table class="table" id="tblQuestions"> <thead> <tr> <th></th> <th></th> <th>سوال</th> <th>نمره</th> <th>نوع</th> <th>دستورات</th> </tr> </thead> <tbody> @foreach (var item in Model) { <tr> <td><input type="checkbox" /></td> <td><input type="hidden" name="qId" asp-for="@item.QuestionId" />@item.QuestionId</td> <td> <input name="questionTitle" asp-for="@item.questionTitle" disabled value="@item.questionTitle" /> </td> <td> <input name="Grade" id="Grade[@i]" asp-for="@item.Grade" readonly="readonly" value="@item.Grade" /> </td> @if (item.choice.Any(ch => ch.QuestionId == item.QuestionId)) { <td> گزینه ای <div> <br /> @foreach (var choice in item.choice.Where(q => q.QuestionId == item.QuestionId)) { <div class="form-group" name="choices"> <label class="radio-inline" style=""> <input type="radio" disabled value="" @((choice.IsTrue) ? "checked" : "")> <input type="text" value="@choice.Choice" asp- for="@item.choice" readonly="readonly" /> </label> </div> choices++; } </div> </td> } else if (item.trueFalse.Any(q => q.QuestionId == item.QuestionId)) { <td> صحیح و غلط <div> <br /> @foreach (var trueFalse in item.trueFalse.Where(q => q.QuestionId == item.QuestionId)) { <div> @if (trueFalse.IsTrue) { <div>صحیح</div> } else { <div>غلط</div> } </div> } </div> </td> } else { <td>تشریحی</td> } <td></td> </tr> i++; } </tbody> </table> <input name="submit" type="submit" value="save" /> </form> This is the ajax code: <script type="text/javascript"> $(':submit').click(function (event) { event.preventDefault(); $('input:checked').each(function () { $this = $(this); stringresult += $this.parent().siblings('td').text(); }); var frm = $('#QuestionsForm'); $.ajax({ url: frm.attr('action'), method: "POST", data: stringresult.serialize(), }).done(function (response) { window.location.href = response.redirectToUrl; }); }); </script> This is choice question model: public class ChoiceQuestionSelection { [Key] public int ChoiceQuestionSelectionId { get; set; } public int QuestionId { get; set; } public string Choice { get; set; } public bool IsTrue { get; set; } #region relations public Question question { get; set; } #endregion } This is truefalse question model: public class TrueFalseQuestion { public int TrueFalseQuestionId { get; set; } public int QuestionId { get; set; } public bool IsTrue { get; set; } #region public Question question { get; set; } #endregion } This is the controller: [HttpPost] public IActionResult CreateQuestionFromQuestionBank(AddQuestionViewModel addQuestions) { //to do something } I searched a lot but I couldn't find anything like my situation. Thank you in advance. Will this question help you? There are common coherent points here. - https://stackoverflow.com/questions/52620273/get-table-column-value-of-selected-row-in-table-asp-net-in-jquery You could use JQuery Selectors and the find method to find the elements in the selected row, and get the value. After that, you could create a JavaScript object to store these values, then, send them to the controller and do something. Please refer the following sample code: Controller: public IActionResult QuestionIndex() { //test data List<AddQuestionViewModel> items = new List<AddQuestionViewModel>() { new AddQuestionViewModel(){ QuestionId=101, questionTitle="What's you name?", UserId="User A", ExamId=1, Grade= 2, IsShow=true, IsSelect=true, choice = new List<ChoiceQuestionSelection>(){ new ChoiceQuestionSelection(){ QuestionId=101, Choice="C1", IsTrue=true, ChoiceQuestionSelectionId=1} } }, new AddQuestionViewModel(){ QuestionId=102, questionTitle="How are you?", UserId="User B", ExamId=2, Grade= 2, IsShow=true, IsSelect=true, choice = new List<ChoiceQuestionSelection>(){ new ChoiceQuestionSelection(){ QuestionId=102, Choice="C2", IsTrue=true, ChoiceQuestionSelectionId=1} } } }; return View(items); } //Since we might submit multiple selected items, it is better to use a List to receive the records. [HttpPost] public IActionResult CreateQuestionFromQuestionBank(List<AddQuestionViewModel> addQuestions) { //to do something return Json(new { status = "Success", redirectToUrl = "/Reports/Index" }); } Index View page: @model IEnumerable<WebApplication.Models.AddQuestionViewModel> @{ ViewData["Title"] = "QuestionIndex"; Layout = "~/Views/Shared/_Layout.cshtml"; } <form id="QuestionsForm" method="post" asp-action="CreateQuestionFromQuestionBank"> <table class="table" id="tblQuestions"> <thead> <tr> <th></th> <th></th> <th>سوال</th> <th>نمره</th> <th>نوع</th> <th>دستورات</th> </tr> </thead> <tbody> @foreach (var item in Model) { <tr> <td><input type="checkbox" /></td> <td> <input type="hidden" name="qId" asp-for="@item.QuestionId" />@item.QuestionId </td> <td> <input name="questionTitle" asp-for="@item.questionTitle" disabled value="@item.questionTitle" /> </td> <td> <input name="Grade" id="Grade" asp-for="@item.Grade" readonly="readonly" value="@item.Grade" /> </td> @if (item.choice.Any(ch => ch.QuestionId == item.QuestionId)) { <td> گزینه ای <div> <br /> @foreach (var choice in item.choice.Where(q => q.QuestionId == item.QuestionId)) { <div class="form-group" name="choices"> <label class="radio-inline" style=""> <input type="radio" disabled value="" @((choice.IsTrue) ? "checked" : "")> <input type="text" value="@choice.Choice" asp- for="@item.choice" readonly="readonly" /> </label> </div> } </div> </td> } else if (item.trueFalse.Any(q => q.QuestionId == item.QuestionId)) { <td> صحیح و غلط <div> <br /> @foreach (var trueFalse in item.trueFalse.Where(q => q.QuestionId == item.QuestionId)) { <div> @if (trueFalse.IsTrue) { <div>صحیح</div> } else { <div>غلط</div> } </div> } </div> </td> } else { <td>تشریحی</td> } <td></td> </tr> } </tbody> </table> <input name="submit" type="submit" value="save" /> </form> The Scripts in the Index page: @section Scripts{ <script> $(function () { $(':submit').click(function (event) { event.preventDefault(); //define an array to store the selected AddQuestionViewModel list. var selectedModel = []; //loop through all checked checkbox. $("input[type='checkbox']:checked").each(function (index, item) { //get current row var tr = $(item).closest('tr'); //define an object to store the AddQuestionViewModel information. var model = new Object(); //using find method to find element from current row, and then get the value. model.questionId = $(tr).find("input[name='qId']").val(); model.questionTitle = $(tr).find("input[name='questionTitle']").val(); model.grade = $(tr).find("input[name='Grade']").val(); //define an array to store the choise list. var choicearray = []; //define an object to store the choise information. var choice = new Object(); choice.IsTrue = $(tr).find("div[name='choices']").find("input:radio").is(':checked') ? true : false; choice.choice = $(tr).find("div[name='choices']").find("input[type='text']").val(); choicearray.push(choice); model.choice = choicearray; //use the same method to get all the required values. selectedModel.push(model); }); var frm = $('#QuestionsForm'); $.ajax({ url: frm.attr('action'), method: "POST", data: { addQuestions: selectedModel }, }).done(function (response) { window.location.href = response.redirectToUrl; }); }); }); </script> } The test screenshot like this:
44,036
https://stackoverflow.com/questions/35956273
StackExchange
Open Web
CC-By-SA
2,016
Stack Exchange
Ishan Dhaliwal, https://stackoverflow.com/users/6053462
English
Spoken
390
512
Can a Webdriver interface be static(refer description for questions)? While writing selenium code I had seen a statement:- public static WebDriver driver = new Firefox Driver(); Now I have multiple questions:- WebDriver is an interface. Can an interface be static? If yes as per my understanding all the methods part of this interface will also be static methods. As per my understanding for static class/method/variable no object should be defined as static cannot be instantiated. But from the above program statement it appears we are creating a new object of the WebDriver class although it is static. Please clarify how is this possible or is there a deviation in my understanding? For #2: public static WebDriver driver = new Firefox Driver(); Above statement is not creating an object of Webdriver interface but it creates an object of class FirefoxDriver. FirefoxDriver is a class that inherits or implements interface WebDriver. First of all your understanding of what is static is incorrect. In public static WebDriver driver = new FirefoxDriver();, WebDriver is type of the object, while driver is an instance of the object. When you declare a member as static, it refers to its instance, not its type. So you are not "making" WebDriver static, you are making driver static. So the question "Can an interface be static?" does not apply to your situation at all. But if you care about it anyways, the answer is yes, you can define interface like this and it will be static for the parent class: public class WithStaticInterface { public static interface MyInterface { void hello(); } } However the members of the interface can never be static I suggest reading more on what static members mean. For example here: Sometimes, you want to have variables that are common to all objects. This is accomplished with the static modifier. Fields that have the static modifier in their declaration are called static fields or class variables. They are associated with the class, rather than with any object. Every instance of the class shares a class variable, which is in one fixed location in memory. Any object can change the value of a class variable, but class variables can also be manipulated without creating an instance of the class. Thanks for the reply Kiril. Things are pretty much clear now. Thanks for clearing out the confusion.
153
https://zh.wikipedia.org/wiki/%E5%AE%89%E5%B8%83%E5%B8%8C%E9%A6%AC%E5%93%88%E8%98%87%E9%98%BF%E5%8D%80
Wikipedia
Open Web
CC-By-SA
2,023
安布希馬哈蘇阿區
https://zh.wikipedia.org/w/index.php?title=安布希馬哈蘇阿區&action=history
Chinese
Spoken
2
109
安布希馬哈蘇阿區(),是馬達加斯加的行政區,位於該國中部,由上馬齊亞特拉區負責管轄,首府設於安布希馬哈蘇阿,面積2,560平方公里,2011年人口203,438,人口密度每平方公里19人。 馬達加斯加行政區劃
11,683
https://war.wikipedia.org/wiki/Quartinia%20hetaira
Wikipedia
Open Web
CC-By-SA
2,023
Quartinia hetaira
https://war.wikipedia.org/w/index.php?title=Quartinia hetaira&action=history
Waray
Spoken
36
61
An Quartinia hetaira in uska species han Hymenoptera nga syahan ginhulagway ni Richards hadton 1962. An Quartinia hetaira in nahilalakip ha genus nga Quartinia, ngan familia nga Masaridae. Waray hini subspecies nga nakalista. Mga kasarigan Quartinia
5,429
https://nl.wikipedia.org/wiki/Brandenburgisches%20Orgelmuseum
Wikipedia
Open Web
CC-By-SA
2,023
Brandenburgisches Orgelmuseum
https://nl.wikipedia.org/w/index.php?title=Brandenburgisches Orgelmuseum&action=history
Dutch
Spoken
234
454
Het Brandenburgisches Orgelmuseum is een museum in Bad Belzig in de Duitse deelstaat Brandenburg. Het museum gaat in op de geschiedenis van orgels en instrumentenbouw, toont een collectie en houdt concerten. Het museum wordt sinds 2013 beheerd door Musica Viva, een vereniging die kerkmuziek bevordert. Het is gevestigd in de stadskerk St. Marien die aan het begin van de 13e eeuw werd gebouwd. In deze kerk werd in 1530 geschiedenis geschreven toen Maarten Luther er een preek hield. In het museum staan orgels die in de afgelopen eeuwen zijn gebouwd, waaronder het grote kerkorgel van Johann Adolarius Papenius. Het orgel werd in 1747 door hem gebouwd. In de collectie bevinden zich bij elkaar zeven pijporgels waarvan er vijf bespeelbaar zijn, maar ook andere orgels zoals een kamerorgel en een harmonium. Daarnaast staat er allerlei gerestaureerde objecten opgesteld, waaronder een portatief. In de expositie wordt dieper ingegaan op de regionale geschiedenis van de instrumentenbouw en de ontwikkeling van het orgel van de 18e tot en met de 20e eeuw. Daarnaast worden er concerten gegeven en met evenementen meegewerkt, zoals de Duitse Orgeldag die jaarlijks wordt gehouden tijdens de open monumentendag (Tag des offenen Denkmals). Elke zaterdag wordt 's middags een blaassessie gehouden door torenblazers (Turmbläser). Impressie Zie ook Lijst van muziekmusea Lijst van musea in Duitsland Externe link teltOwkanal, Zu Besuch in Brandenburgs einzigem Orgelmuseum - Bad Belzig (video) Muziekmuseum in Duitsland Museum in Brandenburg
50,344
https://math.stackexchange.com/questions/4097369
StackExchange
Open Web
CC-By-SA
2,021
Stack Exchange
English
Spoken
188
342
Determine if the graph is Hamiltonian using Dirac's theorem I know that Dirac's theorem states “If $G$ is a graph with $n$ vertices, $n \geq 3$, each of degree at least $n/2$, then $G$ is Hamiltonian”, but how do I use this to prove that a graph with $99$ edges on $15$ vertices is Hamiltonian? Should I use a degree sum formula and compare that to the results of Dirac's theorem? Welcome to MSE! Hint: How many edges are there in a complete graph on $15$ vertices? So how many edges have you removed? Even if you removed each of these from the same vertex, how many edges would it have? How does this compare to Dirac's condition? I hope this helps ^_^ Let $G=(V,E)$ be such that $|V|=15$ and $|E|=99$. To show that $G$ is Hamiltonian it suffices to show $\deg(v)\ge 8$ for all $v\in V$. Suppose instead that $\deg(v)\le 7$ for some $v\in V$. Then for the graph $H=G-v$, the sum of the degree is at least $$ 2{\,\cdot\,}99-2{\,\cdot\,7}=184 $$ contradiction, since $H$ has $14$ vertices, so the sum of the degrees is at most $14{\,\cdot\,}13=182$.
14,043
https://stackoverflow.com/questions/68293268
StackExchange
Open Web
CC-By-SA
2,021
Stack Exchange
English
Spoken
177
393
Environment.userName is Unknown in Hololens2 I have an hololens2 application that I built in Unity. The Environment.Username works in the Unity editor correctly, but when I deployed to the HL2, the Environment.UserName is Unknown. Under the player settings I've applied Enterprise Application, WebCam,Microphone, HumanInterfaceDevice, UserAccountInformation, Bluetooth, SystemManagement, UserDataTasks and Contacts. It builds just fine and deploys to HL2 without problems, but the UserName is Unknown. When I go to the HL2 start menu, it displays my name correctly. Please Help, Martin F. Please try the following code, it should display the account name signed into the HoloLens2: using System; using System.Collections.Generic; using System.Text; using TMPro; using UnityEngine; #if WINDOWS_UWP using Windows.System; #endif public class UserName : MonoBehaviour { [SerializeField] private TMP_Text userNameText = null; // Start is called before the first frame update async void Start() { #if WINDOWS_UWP IReadOnlyList<User> users = await User.FindAllAsync(); StringBuilder sb = new StringBuilder(); foreach (User u in users) { string name = (string)await u.GetPropertyAsync(KnownUserProperties.AccountName); if (string.IsNullOrWhiteSpace(name)) { name = "unknown account name"; } sb.AppendLine(name); } userNameText.text = sb.ToString(); #endif } }
5,341
https://sw.wikipedia.org/wiki/Mswakini
Wikipedia
Open Web
CC-By-SA
2,023
Mswakini
https://sw.wikipedia.org/w/index.php?title=Mswakini&action=history
Swahili
Spoken
35
92
Mswakini ni kata ya Wilaya ya Monduli katika Mkoa wa Arusha, Tanzania yenye postikodi namba 23408. Wakati wa sensa iliyofanyika mwaka wa 2012, kata ilikuwa na wakazi wapatao 5,776 walioishi humo. Marejeo Wilaya ya Monduli
33,657
https://stackoverflow.com/questions/54867277
StackExchange
Open Web
CC-By-SA
2,019
Stack Exchange
Foxtrek_64, https://stackoverflow.com/users/5411541
English
Spoken
182
232
Can I run Windows Workflow Foundation inside a docker containter I could not find any option to add docker or container support for my Windows Workflow Foundation project. I manage to add for WCF *.csproject in the same solution but cannot see any option for WF *.vbproj. I could not find anything related to Workflow Foundation and docker while searching in the net. So, is this not supported yet? Can I say that the workflow foundation cannot be run in a container? I am trying to build a Docker container that basically runs a windows workflow foundation project to run locally. I am not worried about the size. Is it doable? I'm researching this currently. As far as I can tell, it is possible, though you will need a console application host which can run the WWF workflow. This will need to intercept log requests and inject input variables, but it should be doable. I'll be open sourcing this activity runner when I finish and I'll respond with an answer should I finish it or find a different/better way of doing this.
45,441
https://vi.wikipedia.org/wiki/Anthurium%20canaliculatum
Wikipedia
Open Web
CC-By-SA
2,023
Anthurium canaliculatum
https://vi.wikipedia.org/w/index.php?title=Anthurium canaliculatum&action=history
Vietnamese
Spoken
64
137
Anthurium canaliculatum là một loài thực vật thuộc họ Araceae. Đây là loài đặc hữu của Ecuador. Môi trường sống tự nhiên của chúng là vùng núi ẩm nhiệt đới hoặc cận nhiệt đới. Chú thích Tham khảo Benavides, G. & Pitman, N. 2003. Anthurium canaliculatum. 2006 IUCN Red List of Threatened Species. Truy cập 20 tháng 8 năm 2007. Thực vật Ecuador C
13,501
https://pt.wikipedia.org/wiki/Filmografia%20de%20Charlton%20Heston
Wikipedia
Open Web
CC-By-SA
2,023
Filmografia de Charlton Heston
https://pt.wikipedia.org/w/index.php?title=Filmografia de Charlton Heston&action=history
Portuguese
Spoken
15
42
Esta é a filmografia do ator estadunidense Charlton Heston. Filmografia Cinema Ligações externas Heston Heston
34,076
https://stackoverflow.com/questions/11960500
StackExchange
Open Web
CC-By-SA
2,012
Stack Exchange
Ceeram, https://stackoverflow.com/users/1556968
English
Spoken
209
369
CakePHP find not returning correctly - missing model name After performing a find on a model I would expect the result to be of the format Array ( [0] => Array ( [ModelName] => Array ( [id] => 83 [field1] => value1 [field2] => value2 [field3] => value3 ) ) ) However, what I appear to be getting is Array ( [0] => Array ( [0] => Array ( [id] => 83 [field1] => value1 [field2] => value2 [field3] => value3 ) ) ) Note the missing model name. I've only been getting this problem since migrating across to what appears to be a very poorly configured VPS that I now have full control over. My problem is, I can't think of anything that would cause this problem. Any ideas greatly appreciated. Turns out to be very similar to this. Again the problem was with an outdated pdo_mysql version. This can be checked by running strings -f pdo_mysql.so | grep ': table' If there are no results then pdo_mysql is out of date most likely due to an installation such as pecl install pdo_mysql My fix was an easy one yum install php53-mysql I hope that this helps someone. Thanks for sharing this, this happens occasionaly to more people
12,215
https://de.wikipedia.org/wiki/Joshua%20Trachtenberg
Wikipedia
Open Web
CC-By-SA
2,023
Joshua Trachtenberg
https://de.wikipedia.org/w/index.php?title=Joshua Trachtenberg&action=history
German
Spoken
199
383
Joshua Trachtenberg (geboren 11. Juli 1904 in London; gestorben 14. September 1959 in Teaneck) war ein US-amerikanischer Rabbiner. Leben Joshua Trachtenberg zog als Kleinkind mit seinen Eltern Simon Trachtenberg und Deborah Gershuny 1907 in die USA. Er heiratete 1930 Edna Suer. Trachtenberg wurde 1936 am Hebrew Union College ordiniert und 1939 an der Columbia University mit einer Arbeit über Magie und Aberglaube promoviert. Daraus resultierte eine weitere Arbeit über die Stellung des Teufels im europäischen Antisemitismus. Trachtenberg war Zionist und arbeitete als Rabbiner in mehreren reformierten Gemeinden, darunter von 1930 bis 1951 in Easton, Pennsylvania und von 1953 bis 1959 in Teaneck, New Jersey. Schriften (Auswahl) Jewish Magic and Superstition. Philadelphia : Behrmans, 1939. Ausgabe 2004 mit einem Vorwort von Moshe Idel. The devil and the Jews : the medieval conception of the Jews and its relation to modern antisemitism. New Haven, Conn. : Yale Univ. Press, 1943 Consider the Years : the story of the Jewish community of Easton, 1752–1942. Easton, Pa. : Centennial Committee of Temple Brith Sholom, 1944 Literatur Sefton D. Temkin: Trachtenberg, Joshua, in: Encyclopedia Judaica, 2007, Band 20, S. 79 Weblinks Rabbiner (Vereinigte Staaten) Judaist Antisemitismusforscher Emigrant Brite US-Amerikaner Geboren 1904 Gestorben 1959 Mann
10,430
https://mathematica.stackexchange.com/questions/136518
StackExchange
Open Web
CC-By-SA
2,017
Stack Exchange
Felix, MarcoB, https://mathematica.stackexchange.com/users/27951, https://mathematica.stackexchange.com/users/29734, https://mathematica.stackexchange.com/users/38410, https://mathematica.stackexchange.com/users/52, march, rcollyer
English
Spoken
614
1,075
ListLinePlot with vertical filling gradient I am aware that the topic of vertical filling has been discussed before (e.g., here and here), but I could not find any reasonably simple solution to the following problem: I have a discrete data set which I plot with ListLinePlot. I want to fill the area between the data and a given y value if the data is below that value. That much is easy: data = Table[{x, (x - 5)^2 + 3}, {x, 0, 10}]; Show[ListLinePlot[data, Filling -> {1 -> {15, {Directive[Blue, Opacity[0.1]], None}}}], ListPlot[data]] However, now I want the filling to have a vertical gradient in opacity (or white level, I don't really mind) such that the filling is blue at y=3 and transparent for y>15. I found a solution for filling under all data points using polygons and for parametrizable functions. However, as it happens, my filling does not end at a data point and it seems to me that applying the polygon solution would be quite a hack that involves first finding and constructing proper boundary points for the polygon. Is there really no simpler way for vertical gradients? Edit: Just for the sake of completeness, I realized that the above link (filling under all data points) does give a suggestion of how to use ParametricPlot together with Interpolate to create a vertical gradient filling on discrete data. The code would look like this: interp = Interpolation[data, InterpolationOrder -> 1]; Show[ListLinePlot[data], ParametricPlot[{x, With[{value = 15 (1 - y) + interp[x] y}, If[value > interp[x], value]]}, {x, 0, 10}, {y, 0, 1}, ColorFunction -> (Blend[{Blue, White}, #2] &), BoundaryStyle -> None]] However, the result is much less appealing then the polygon solution. It is possible to improve the quality by ramping up the PlotPoints, but then it takes very long to calculate the graph and exporting it, in particular to pdf, crashes Mathematica completely on my computer. Your plotting code can be simplified: ListLinePlot[data, Filling -> {1 -> {15, {Directive[Blue, Opacity[0.1]], None}}}, PlotMarkers -> Automatic. My thought is to do the "hack" you mention, but constructing the polygon is not hard, because it's already done for you. If the plot is called p1, then Cases[Normal@p1, _Polygon, Infinity] extracts the polygon. As you say, it's a hack, but it's a relatively small one: p1 = ListLinePlot[data, Filling -> {1 -> {15, {Blue, None}}}, PlotMarkers -> Automatic] (I changed the Filling parameters on a suggestion by the OP.) Then: Normal@p1 /. Polygon[x_] :> Polygon[x, VertexColors -> (Blend[{Blue, White}, #] & /@ Rescale[x[[All, 2]]])] The Rescale stuff is meant to re-scale the y-values so that they go between 0 and 1, allowing us to Blend from Blue to White. (Thanks to MarcoB for the nicer code.) It works very well. Good idea to extract the polygon from the plot! +1. You could also write: VertexColors -> (Blend[{Blue, White}, #] & /@ Rescale[x[[All, 2]]]) rather than doing the rescaling by hand. Of course the result is the same, but perhaps it enhances readability. Btw, the gradient looks quite faint in this picture, like not really going from blue to white. The reason is that the opacity of the original polygon (that is, 0.1 in this case) is inherited on the final polygon. I would recommend to set opacity to 1 (or skip the argument entirely) in the definition of p1 and then control the color only in the second line. @Felix. Yeah, I agree. I think I'll edit it real quick. Using LinearGradientFilling: (Introduced with v12.2, 2020) data = Table[{x, (x - 5)^2 + 3}, {x, 0, 10}]; ListLinePlot[data , Mesh -> All , Filling -> {1 -> {15, {Directive[ LinearGradientFilling[{Blue, White}, Top]] , None } } } ]
5,024
https://en.wikipedia.org/wiki/The%20Week%20%28Canadian%20magazine%29
Wikipedia
Open Web
CC-By-SA
2,023
The Week (Canadian magazine)
https://en.wikipedia.org/w/index.php?title=The Week (Canadian magazine)&action=history
English
Spoken
91
130
The Week was a seminal literary magazine in Canada published between 1883 and 1896. It was subtitled as Canadian Journal of Politics, Society and Literature, and it was "Canada's leading political and literary periodical". The magazine was headquartered in Toronto. Prominent contributors included poet Charles G. D. Roberts; journalist and novelist Sara Jeannette Duncan; and political critic and intellectual Goldwin Smith. Smith also edited the magazine. References Defunct political magazines published in Canada Defunct literary magazines published in Canada Magazines established in 1883 Magazines disestablished in 1896 Magazines published in Toronto
11,239
https://stackoverflow.com/questions/25241508
StackExchange
Open Web
CC-By-SA
2,014
Stack Exchange
English
Spoken
102
179
How to use import tools for K2 in Joomla to import CSV? I'm upgrading my joomla site from v1.5 to latest joomla version. So i need to import the required data from old database to new one. For importing i'm using K2 import/export tools. I have read the documentation here Instructions for K2 Import Component. But couldn't understand the flow. Can any body show me the correct way to import the data from old database to new one ? Any help would be appreciated. 1.5 to 3.* you might find spupgrade easier to use. k2 is one of the supported extensions: http://cyend.com/extensions/extensions/components/5-upgrade-joomla-from-15-to-16
41,658
https://stackoverflow.com/questions/59781324
StackExchange
Open Web
CC-By-SA
2,020
Stack Exchange
English
Spoken
342
891
In Flutter How to use Providers with AMQP? in Flutter -which I just recently begin to use-, I am trying to use an AMQP stream using dart_amqp: ^0.1.4 and use providers provider: ^3.1.0+1 to make the data available throughout the app. Only after logging in I start the AMQP service. The AMQP part works without any issues, I get the data but I never manage to use it with Providers. main.dart class BigBrother extends StatelessWidget { @override Widget build(BuildContext context) { return MultiProvider( providers: [ ChangeNotifierProvider<EventsModel>(create: (_) => EventsModel()), ChangeNotifierProxyProvider<EventsModel, DeviceState>( create: (_) => new DeviceState(), update: (context, eModel, deviceState) { deviceState.updateFromEvent(eModel.value); }, ), ], My models in models.dart (As seen in below code, I also tried to used StreamProvider and commented it out) // Global data model class DeviceState with ChangeNotifier { Map<String, Map<String, dynamic>> state = {}; DeviceState() { this.state['xxx'] = {}; this.state['yyy'] = {}; } updateFromEvent(EventsItemModel event) { if (event != null && event.type != null) { switch (event.type) { case 'heartbeat': this.state[event.device][event.type] = event.createdAt; break; case 'metrics': this.state[event.device][event.type] = {} ..addAll(this.state[event.device][event.type]) ..addAll(event.message); break; } notifyListeners(); } } } class EventsModel with ChangeNotifier { EventsItemModel value; bool isSubscribed = false; AMQPModel _amqp = new AMQPModel(); // final _controller = StreamController<EventsItemModel>(); EventsModel(); // Stream<EventsItemModel> get stream => _controller.stream; _set(String jsonString) { value = new EventsItemModel.fromJson(jsonString); // _controller.sink.add(value); // send data to stream // Provider.of<DeviceState>(context, listen: false).updateFromEvent(value); notifyListeners(); } subscribe() { if (!this.isSubscribed) { this.isSubscribed = true; this._amqp.subscribeEvents(_set); // start AMQP service after login } } } So on the login.dart view, on button pressed and validating the login, I start the AMQP stream: onPressed: () { if (_formKey.currentState.validate()) { print("Login button onPressed"); Provider.of<EventsModel>(context, listen: false) .subscribe(); Navigator.pushReplacementNamed(context, Routes.live); } And lastly the view after successful login: class _LivePageState extends State<LivePage> { @override Widget build(BuildContext context) { DeviceState deviceState = Provider.of<DeviceState>(context); print('#### Device state updated'); print(deviceState.state['xxx']); In the above code, deviceState is always null. So after trying many combination of various Providers, I am still unable to make this work. Would be glad to have someone's insight on this. Best regards!
16,917
https://en.wikipedia.org/wiki/1913%20in%20paleontology
Wikipedia
Open Web
CC-By-SA
2,023
1913 in paleontology
https://en.wikipedia.org/w/index.php?title=1913 in paleontology&action=history
English
Spoken
174
285
Insects Vertebrates Data courtesy of George Olshevsky's dinosaur genera list. Expeditions, field work, and fossil discoveries April: William Edmund Cutler prospected in Dinosaur Provincial Park. His work was underwritten by the Calgary Syndicate for Prehistoric Research, a group of local philanthropist businessmen, and a small local museum, the Calgary Public Museum, which no long exists. Summer: The American Museum of Natural History dispatched a team of fossil hunters to Dinosaur Provincial Park. Cutler joined the expedition but was "asked to leave" after only a few months of involvement. Cutler excavated a juvenile Gryposaurus now catalogued by the Canadian Museum of Nature as CMN 8784. The site of the excavation has since been designated "quarry 252". Winter: Cutler partly prepared the young Gryposaurus specimen, possibly in Calgary while working on dinosaurs for Euston Sisely. A US Geological Survey crew headed by Eugene Stebinger and a US National Museum crew headed by Charles Gilmore worked together to excavate the first dinosaur discovery of the Two Medicine Formation. See also References 1910s in paleontology Paleontology Paleontology 3
44,759
https://stackoverflow.com/questions/67384340
StackExchange
Open Web
CC-By-SA
2,021
Stack Exchange
Clashsoft, https://stackoverflow.com/users/13919748, https://stackoverflow.com/users/4138801, javaistaucheineinsel
English
Spoken
110
213
How to escape html within tooltip directive I would like to escape the following html text so that the browser can render the text with its carriage returns : messages.properties tooltip_text=Status:<br/>1- Accepted<br/>2- Rejected mycomponent.component.html <span class="info" tooltip="{{'tooltip_text' | translate }}">i</span> I am aware of the [innerHTML] property binding but this would not fit for my use case since the text itself is read by the tooltip directive and not displayed raw. Any idea how may I achieve this please? Depends on where the tooltip directive comes from. Maybe it supports HTML, maybe not, we can't know @Clashsoft it is part of ngx-bootstrap/tooltip In that case, its in the docs: https://valor-software.com/ngx-bootstrap/#/tooltip#dynamic-html
20,352
https://stackoverflow.com/questions/34322657
StackExchange
Open Web
CC-By-SA
2,015
Stack Exchange
Papiamento
Spoken
131
486
Custom Validation in asp.net I want custom validation , if my status is Reject then only client able to put integer value in Qty Rejected textbox withing the rang 1 to 10000000. how will be my CustomValidator1_ServerValidate() method?? Here is my code for status and Qty Reject: <tr> <td width="30%"> <b>Status:</b> </td> <td> <asp:DropDownList ID="lAccept" runat="server" Height="25px" Width="102px"> <asp:ListItem>Accept</asp:ListItem> <asp:ListItem>Reject</asp:ListItem> </asp:DropDownList> </tr> <tr> <td width="30%"> <b>Qty Rejected:</b> </td> <td> <asp:TextBox ID="lRejectedQty" runat="server" CausesValidation="True"></asp:TextBox> <asp:CustomValidator ID="CustomValidator1" runat="server" ErrorMessage="Only interger between 1 to 10000000 " ondisposed="Page_Load" oninit="Page_Load" onservervalidate="CustomValidator1_ServerValidate"></asp:CustomValidator> </td> I think it is better to use jquery in your case: $(document).ready(function(){ $('#lRejectedQty').change(function(){ var txt_value = ParseInt(document.getElementById('lRejectedQty').value); var ddl_value = document.getElementById('lAccept').value; if(ddl_value == 'Reject'){ if (txt_value < 1 || txt_value > 10000000){ document.getElementById('lRejectedQty').focus(); document.getElementById('some_label_to_display_error_message').value = 'Wrong value'; } } }); }); Hope it helps
22,313
https://pl.wikipedia.org/wiki/London%20Grand%20Prix%202016
Wikipedia
Open Web
CC-By-SA
2,023
London Grand Prix 2016
https://pl.wikipedia.org/w/index.php?title=London Grand Prix 2016&action=history
Polish
Spoken
67
171
London Grand Prix 2016, właśc. Müller Anniversary Games 2016 – mityng lekkoatletyczny, który odbył się w dniach 22–23 lipca w Londynie. Zawody były dziesiątą odsłoną prestiżowej Diamentowej Ligi w sezonie 2016. Wyniki Mężczyźni Kobiety Rekordy Podczas mityngu ustanowiono 1 rekord świata oraz 2 rekordy narodowe w kategorii seniorów: Zobacz też Diamentowa Liga 2016 Przypisy Bibliografia 2016 w lekkoatletyce 2016 w Anglii London Grand Prix Diamentowa Liga 2016
15,071
https://nl.wikipedia.org/wiki/V%C3%A5gen%20%28Bergen%29
Wikipedia
Open Web
CC-By-SA
2,023
Vågen (Bergen)
https://nl.wikipedia.org/w/index.php?title=Vågen (Bergen)&action=history
Dutch
Spoken
564
1,105
Vågen (Noors voor "de baai") is de baai waaraan de oude haven van Bergen ligt. Het middeleeuwse centrum van de stad ligt rond deze natuurlijke haven. Aan Vågen ligt Bryggen, een reeks Hanze-handelshuizen die sinds 1979 op de UNESCO-Werelderfgoedlijst staat. Ook een andere populaire toeristenattractie, de Bergense vismarkt, ligt aan Vågen. Vågen is een arm van de fjord Byfjord ("stadsfjord"). De baai loopt min of meer in zuidoostelijke richting naar de vismarkt (Torget). De ingang wordt gevormd door (aan westelijke kant) het noordelijke einde van het schiereiland Nordnes en (aan oostelijke kant) de vesting Bergenhus. Het gebied rond het binnenste gedeelte van de baai wordt al sinds de middeleeuwen Vågsbunnen genoemd. In deze wijk waren vooral Duitse en Nederlandse schoenmakers werkzaam. Vandaag de dag is Vågen de belangrijkste jachthaven van de stad. Tevens vertrekken hiervandaan excursieboten en veerboten, waaronder vleugelboten die de stad verbinden met diverse plaatsjes langs de Noorse westkust en grotere schepen die veerdiensten onderhouden met onder meer Newcastle upon Tyne (Engeland) en Hanstholm (Denemarken). Het is mogelijk Vågen per boot over te steken: veerbootjes steken maandag tot en met vrijdag Vågen over en verbinden zo Bryggen met Nordnes. De Statsraad Lehmkuhl, een driemaster uit 1914 (nu schoolschip voor de Noorse marine), ligt meestal afgemeerd in Vågen. Bij de vismarkt is een nieuw restaurantcomplex langs de kade gebouwd met de naam Zachariasbryggen. Geschiedenis Volgens de overlevering werd Bergen gesticht door koning Olav Kyrre (1067-1093) nadat hij in 1070 Vågen binnenzeilde. Wetenschappelijk onderzoek heeft echter aangetoond dat het gebied langs de oostelijke oever van Vågen al vele eeuwen eerder in gebruik was voor landbouw. Vågen diende mogelijk als haven voor de Noorse koningszetel bij Alrekstad (Alrekstaðir), dat zo'n 2 kilometer ten zuidoosten lag. Tijdens de middeleeuwen groeide de haven aan Vågen uit tot een belangrijke handelsplaats. De goed beschermde baai maakte het mogelijk voor Bergen om uit te groeien tot de belangrijkste handelsplaats van Scandinavië in de 17e eeuw. Op 12 augustus 1665, tijdens de Tweede Engels-Nederlandse Oorlog, vond een zeeslag plaats in Vågen. Deze Slag in de Baai van Bergen werd uitgevochten tussen een Nederlandse handelsvloot en een Engels flottielje. De slag eindigde met de nederlaag van de Engelse vloot, die zich terug trok, zwaar beschadigd maar zonder schepen verloren te hebben. Tijdens een grote brand in 1901 brandde een groot deel van de bebouwing aan de noordwestelijke kant van de baai af. Daarom is de bebouwing aan deze kant veel moderner dan aan de zuidoostelijke Bryggen-kant. Op 20 april 1944 (tijdens de Duitse bezetting van Noorwegen in de Tweede Wereldoorlog) ontplofte het Nederlandse schip de Voorbode met zo'n 120 ton ammunitie aan boord in de baai. Hierbij kwamen 98 mensen om en raakten 4.800 mensen gewond. Veel gebouwen langs de baai raakten zwaar beschadigd, waaronder de monumentale Håkonshallen (Håkonshal) en Rosenkrantztårnet (Rosenkrantztoren). Op 30 juli 1953 werden de bewoners van Bergen opgeschrikt door een ijsbeer die in Vågen zwom. Op weg naar een dierentuin in Duitsland zou de ijsbeer in Bergen van een schip uit Tromsø overgebracht worden op een schip naar Duitsland. De ijsbeer wist echter te ontsnappen, wandelde langs de kade en viel in het water. Uiteindelijk werd de ijsbeer weer gevangen. Tijdens de Tall Ships' Races van 2008 meerden honderden deelnemende zeilschepen in augustus van dat jaar af in Vågen. Van hieruit vertrokken de schepen naar de finishplaats Den Helder. Afbeeldingen Bergen (Noorwegen) Baai van de Atlantische Oceaan
32,037
https://stackoverflow.com/questions/1455160
StackExchange
Open Web
CC-By-SA
2,009
Stack Exchange
Alex Martelli, BlindSide78, Chandy, Christian Oudard, Endre Both, Robert Schmidt, Shuzheng, Thomas Perrot, https://stackoverflow.com/users/1020139, https://stackoverflow.com/users/1701240, https://stackoverflow.com/users/2880557, https://stackoverflow.com/users/2880558, https://stackoverflow.com/users/2880559, https://stackoverflow.com/users/2880621, https://stackoverflow.com/users/2880835, https://stackoverflow.com/users/2881111, https://stackoverflow.com/users/3757, https://stackoverflow.com/users/6853252, https://stackoverflow.com/users/95810, user2880557, user2880621, user2881111
English
Spoken
430
898
How to set ignorecase flag for part of regular expression in Python? Is it possible to implement in Python something like this simple one: #!/usr/bin/perl my $a = 'Use HELLO1 code'; if($a =~ /(?i:use)\s+([A-Z0-9]+)\s+(?i:code)/){ print "$1\n"; } Letters of token in the middle of string are always capital. Letters of the rest of words can have any case (USE, use, Use, CODE, code, Code and so on) As far as I could find, the python regular expression engine does not support partial ignore-case. Here is a solution using a case-insensitive regular expression, which then tests if the token is uppercase afterward. #! /usr/bin/env python import re token_re = re.compile(r'use\s+([a-z0-9]+)\s+code', re.IGNORECASE) def find_token(s): m = token_re.search(s) if m is not None: token = m.group(1) if token.isupper(): return token if __name__ == '__main__': for s in ['Use HELLO1 code', 'USE hello1 CODE', 'this does not match', ]: print s, '->', print find_token(s) Here is the program's output: Use HELLO1 code -> HELLO1 USE hello1 CODE -> None this does not match -> None match clearly isn't the right method -- and if you switch to search, since you don't loop looking for "next possible candidate", your find_token will give false negatives (if an instance of "good except for case" precedes one of "good including case"). @Alex Martelli: Thanks. Search is better, you're right. Fixed. Since python 3.6 you can use flag inside groups : (?imsx-imsx:...) (Zero or more letters from the set 'i', 'm', 's', 'x', optionally followed by '-' followed by one or more letters from the same set.) The letters set or removes the corresponding flags: re.I (ignore case), re.M (multi-line), re.S (dot matches all), and re.X (verbose), for the part of the expression. Thus (?i:use) is now a correct syntaxe. From a python3.6 terminal: >>> import re >>> regex = re.compile('(?i:use)\s+([A-Z0-9]+)\s+(?i:code)') >>> regex.match('Use HELLO1 code') <_sre.SRE_Match object; span=(0, 15), match='Use HELLO1 code'> >>> regex.match('use HELLO1 Code') <_sre.SRE_Match object; span=(0, 15), match='use HELLO1 Code'> In earlier versions, you can use the regex module which is a drop-in for re. Where do you see the documentation for (?imsx-imsx:...)? I only see (?aiLmsux) Set the A, I, L, M, S, U, or X flag for the RE (see below) in help(re). ... and the above, should only be used at the start of the regular expression. @Shuzheng https://docs.python.org/3.6/library/re.html According to the docs, this is not possible. The (?x) syntax only allows you to modify a flag for the whole expression. Therefore, you must split this into three regexp and apply them one after the other or do the "ignore case" manually: /[uU][sS][eE]...
36,418
https://es.wikipedia.org/wiki/John%20L.%20Hall
Wikipedia
Open Web
CC-By-SA
2,023
John L. Hall
https://es.wikipedia.org/w/index.php?title=John L. Hall&action=history
Spanish
Spoken
387
648
John L. Hall (nacido el 21 de agosto de 1934) es un Profesor de física estadounidense que trabaja en la Universidad de Colorado en Boulder y es investigador del Instituto de Astrofísica de Laboratorio (JILA) de la Universidad de Colorado y del Instituto Nacional de Estándares y Tecnología (NIST) del Departamento de Comercio de los Estados Unidos. Hall fue galardonado en 2005 con el Premio Nobel de Física junto con Theodor W. Hänsch por sus contribuciones al desarrollo de la espectroscopia de precisión basada en láser, incluyendo la técnica de frecuencia óptica comb. La otra mitad del premio fue otorgada a Roy J. Glauber. Las contribuciones de John Hall y Theodor Hänsch de finales de la década de 1990, hicieron posible medir frecuencias con una precisión de quince dígitos. Ahora se pueden construir láseres con colores extremadamente precisos y con la técnica de frecuencia comb se pueden realizar lecturas precisas de la luz de todos los colores. Esta técnica hace posible llevar a cabo estudios de por ejemplo, la estabilidad de las constantes de la naturaleza en el tiempo y el desarrollo de relojes extremadamente exactos y tecnología GPS mejorada. Hall ha recibido varios honores por su trabajo seminal, incluyendo el Premio Max Born de la Sociedad Óptica Estadounidense "por sus trabajos seminales en el área de láseres estables incluyendo sus aplicaciones en física fundamental y, más recientemente, en la estabilización de láseres de femtosegundos que permitieron impresionantes avances en metrología de frecuencia óptica." John Hall obtuvo diplomas de pregrado (1956), máster (1958) y doctorado (1961) en el Instituto Carnegie de Tecnología. Tiene estudios postdoctorales en la Oficina Nacional de Estándares, donde trabajó entre 1962 y 1971. Ha sido profesor en Colorado desde 1967. Con Hall, son tres los científicos del JILA que han sido galardonados. En 2001 fueron premiados Eric A. Cornell y Carl E. Wieman. Enlaces externos Premio Nobel de Física de 2005 CV y lista de publicaciones NIST Fotografía en grupo incluye, derecha a izquierda, Marlan Scully, Willis E. Lamb, John L. Hall, y F. J. Duarte. Premios Nobel de Estados Unidos Físicos de Estados Unidos Ópticos de Estados Unidos Personas relacionadas con los láseres Alumnado de la Universidad Carnegie Mellon Graduados honorarios de la Universidad Carnegie Mellon Laureados con el Premio Nobel de Física Laureados con el Premio Nobel 2005 Nacidos en Denver
36,537
https://stackoverflow.com/questions/50749307
StackExchange
Open Web
CC-By-SA
2,018
Stack Exchange
Alex, Michael Ryan Soileau, https://stackoverflow.com/users/1713620, https://stackoverflow.com/users/9305993
English
Spoken
432
1,489
npm script throws an error, but doesn't give anything useful Attempting to run jest and see if my tests pass. However, running jest instead gives me this very cryptic error. Is there any way to get something useful out of node error messages or am I just not able to read this correctly? 0 info it worked if it ends with ok 1 verbose cli [ '/home/ec2-user/.nvm/versions/node/v10.4.0/bin/node', 1 verbose cli '/home/ec2-user/.nvm/versions/node/v10.4.0/bin/npm', 1 verbose cli 'run', 1 verbose cli 'test' ] 2 info using npm@6.1.0 3 info using node@v10.4.0 4 verbose run-script [ 'pretest', 'test', 'posttest' ] 5 info lifecycle api_rule_template@0.0.0-beta~pretest: api_rule_template@0.0.0-beta 6 info lifecycle api_rule_template@0.0.0-beta~test: api_rule_template@0.0.0-beta 7 verbose lifecycle api_rule_template@0.0.0-beta~test: unsafe-perm in lifecycle true 8 verbose lifecycle api_rule_template@0.0.0-beta~test: PATH: /home/ec2-user/.nvm/versions/node/v10.4.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/ec2-user/environment/api_rule_template/node_modules/.bin:/home/ec2-user/.nvm/versions/node/v10.4.0/bin:/usr/local/rvm/gems/ruby-2.4.1/bin:/usr/local/rvm/gems/ruby-2.4.1@global/bin:/usr/local/rvm/rubies/ruby-2.4.1/bin:/usr/local/bin:/bin:/usr/bin:/home/ec2-user/.local/bin:/home/ec2-user/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/aws/bin:/home/ec2-user/.local/bin:/home/ec2-user/bin:/home/ec2-user/.local/bin:/home/ec2-user/bin:/opt/aws/bin:/usr/local/rvm/bin:/home/ec2-user/.local/bin:/home/ec2-user/bin:/home/ec2-user/.local/bin:/home/ec2-user/bin 9 verbose lifecycle api_rule_template@0.0.0-beta~test: CWD: /home/ec2-user/environment/api_rule_template 10 silly lifecycle api_rule_template@0.0.0-beta~test: Args: [ '-c', 'jest' ] 11 silly lifecycle api_rule_template@0.0.0-beta~test: Returned: code: 1 signal: null 12 info lifecycle api_rule_template@0.0.0-beta~test: Failed to exec test script 13 verbose stack Error: api_rule_template@0.0.0-beta test: `jest` 13 verbose stack Exit status 1 13 verbose stack at EventEmitter.<anonymous> (/home/ec2-user/.nvm/versions/node/v10.4.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:304:16) 13 verbose stack at EventEmitter.emit (events.js:182:13) 13 verbose stack at ChildProcess.<anonymous> (/home/ec2-user/.nvm/versions/node/v10.4.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 13 verbose stack at ChildProcess.emit (events.js:182:13) 13 verbose stack at maybeClose (internal/child_process.js:961:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5) 14 verbose pkgid api_rule_template@0.0.0-beta 15 verbose cwd /home/ec2-user/environment/api_rule_template 16 verbose Linux 4.14.33-51.37.amzn1.x86_64 17 verbose argv "/home/ec2-user/.nvm/versions/node/v10.4.0/bin/node" "/home/ec2-user/.nvm/versions/node/v10.4.0/bin/npm" "run" "test" 18 verbose node v10.4.0 19 verbose npm v6.1.0 20 error code ELIFECYCLE 21 error errno 1 22 error api_rule_template@0.0.0-beta test: `jest` 22 error Exit status 1 23 error Failed at the api_rule_template@0.0.0-beta test script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 1, true ] Check your file paths and so on for jest, make note of root folder and check for typos. It runs jest fine, so long as it's a useless test like expect(true).toBe(true). It's failing on a more difficult test like this one. Except it's not a useful error message, it's vague and useless. So the answer. The problem was that there was a database connection being attempted to port 3306 for MySQL instead of using SQLite because an environment variable wasn't being set. Instead of telling me that, Jest would just silently exit instead, even running jest from the global command line. Even turning on verbose/debug didn't help with that problem. The way I discovered it was by installing the expect global package and writing a few wrapper shims around describe and it. Then running that through node directly instead of through Jest showed the actual error. I'm guessing this is a Jest bug.
33,326
https://de.wikipedia.org/wiki/Andr%C3%A9%20Hartwig
Wikipedia
Open Web
CC-By-SA
2,023
André Hartwig
https://de.wikipedia.org/w/index.php?title=André Hartwig&action=history
German
Spoken
440
795
André Hartwig (* 14. März 1983 in Rostock) ist ein ehemaliger deutscher Shorttracker. André Hartwig startete für ESV Turbine Rostock. Bei den Juniorenweltmeisterschaften 2000 belegte er über 500 m und 1500 m 14. Plätze. Bei den Männer-Europameisterschaften des Jahres kam er auf den 13. Platz über 500 m, wurde 20. über 100 m, 24. über 1500 m und 19. über 3000 m. Mit der Staffel kam er auf Platz sechs. Drittes Großereignis wurden die Weltmeisterschaften. Hartwig wurde 47. der Mehrkampfwertung, 46. über 500 m, 41. über 1000 m sowie 47. über 1500 m und 3000 m. Besser waren die Resultate ein Jahr später bei den Weltmeisterschaften in Südkorea. Im Mehrkampf wurde der Deutsche 29., 23. über 500 m, 29. über 1000 m, 19. über 1500 m und 29. über 3000 m. Bei den Juniorenweltmeisterschaften 2002 kamen die Resultate neun über 500 m, elf über 1000 m und acht über 1500 m hinzu. Mit der deutschen Staffel gewann er die Bronzemedaille hinter Südkorea und Kanada. Anschließend wurde er bei den Europameisterschaften der Männer in Grenoble Siebter über 500 m, 14. über 1000 m, Sechster über 1500 m, Achter über 3000 m und gewann hinter Italien und Belgien mit der deutschen Staffel die Bronzemedaille. Höhepunkt der Saison und ein erster Karrierehöhepunkt wurden die Olympischen Winterspiele 2002 in Salt Lake City, bei denen Hartwig über 1500 m eingesetzt wurde und auf der Strecke den abschließenden 15. Platz erreichte. In der Weltcup-Saison 2002/03 erreichte Hartwig mit Arian Nachbar, Sebastian Praus und Holger Helas im Staffelrennen in Bormio mit Rang drei eine Podestplatzierung. Nächste internationale Meisterschaft wurden die Europameisterschaften 2003 in Russland. Hartwig wurde 16. über 500 m, Zehnter über 1000 m, Achter über 1500 m und Zehnter mit der Staffel. Bei den Weltmeisterschaften von Polen kamen die Ränge 25 in der Mehrkampfwertung, 20. über 500 m und 23. über 1000 m und 1500 m. Mit der Staffel wurde Hartwig Vierter. Bei den Europameisterschaften 2004 in Zoetermeer gewann er mit Praus, Thomas Bauer und Nachbar hinter den Italienern und den Russen erneut die Bronzemedaille im Staffelrennen. 2005 konnte er in Turin mit diesen sogar den Titel erringen. Weniger gut waren die Einzelresultate mit Platz 19 über 500 m, 25 über 1000 m und 20 über 1500 m. 2006 gewann Hartwig mit Praus, Bauer und Tyson Heung in Krynica-Zdrój erneut die Staffel-Bronzemedaille. Zum Abschluss der Karriere wurden die Olympischen Spiele 2006 von Turin. Hartwig kam einzig im Vorlauf mit der Staffel zum Einsatz und wurde am Ende mit dieser Siebter. Weblinks Profil bei der ISU Shorttracker (Deutschland) Olympiateilnehmer (Deutschland) Teilnehmer der Olympischen Winterspiele 2002 Teilnehmer der Olympischen Winterspiele 2006 Europameister (Shorttrack) DDR-Bürger Deutscher Geboren 1983 Mann
32,910
https://sl.wikipedia.org/wiki/Kaprosuchus
Wikipedia
Open Web
CC-By-SA
2,023
Kaprosuchus
https://sl.wikipedia.org/w/index.php?title=Kaprosuchus&action=history
Slovenian
Spoken
216
550
Kaprosuchus je izumrl rod arhozavrov, podoben krokodilom sorodnim plazilcem iz družine Mahajangasuchidae. Poznan je iz edinega znanega primerka iz zgodnje krede iz Echkarjeve formacije v Nigru. Ime pomeni »merjaščev krokodil« (iz stare grščine kapros - merjasec in souchos - krokodil), izhaja pa iz njegovega nenavadno velikega zobovje, ki spominja na zobovje merjasca. Paul Sereno in Hans Larsson, ki sta prva opisala rod v članku, objavljenem v ZooKeys leta 2009 skupaj z drugimi saharskimi krokodilom podobnimi živalmi, kot so Anatosuchus in Laganosuchus, sta mu podelila vzdevek »BoarCroc« oz. »Pujs Kroki«. Tipska vrsta je K. saharicus. Opis Kaprosuchusova dolžina je ocenjena na 6 m. Posedoval je tri komplete čekanastih zobov, ki so segali navzdol in navzgor iz gobca, pri čemer je en spodnji komplet prilegal v zareze v zgornji čeljusti. Takšna zbona razvrstitev še ni bila opažena pri krokodilom podobnih plazilcih. Dodatna posebnost Kaprosuchusa je prisotnost velikega zgrbančenega roga, ki je nastal iz luskastih in temeničnih kosti in izhajal iz zadnjega dela lobanje. Manjše rogove je imel tudi sorodni Mahajangasuchus. Gobec Kaprosuchusa kaže splošne proporcije. Klasifikacija Kaprosuchus je predstavnik družine Mahajangasuchidae skupaj z bližnjih sorodnikom Mahajangasuchus insignis iz zgornje krede na Madagaskarju. Čeprav se znatno razlikuje od drugih krokodilom podobnim plazilcem, ima Kaprosuchus kljub temu veliko skupnih značilnosti z Mahajangasuchusom. Reference Izumrle živali Arhozavri Taksoni, opisani leta 2009
10,266
https://stackoverflow.com/questions/12005492
StackExchange
Open Web
CC-By-SA
2,012
Stack Exchange
CodeCaster, Kees C. Bakker, https://stackoverflow.com/users/201482, https://stackoverflow.com/users/266143
English
Spoken
143
199
How to manage IIS from C#? I would like to write a service that does some IIS management tasks for me, like creating virtual directories or adding new applications. Is it possible to do some management of IIS by a C# application or WCF service. What have you tried? How would I go about? Is there a DLL present I could use? The idea is doing some research before building it. That why I asked it. Never done something like this before. I don't even know if it is possible. See the link I provided. :-) I found it searching for "C# manage IIS", I guess it'll do what you want. @CodeCaster, I didn't see that your comment was a link ;-) It looks like you can use the Microsoft.Web.Administration api to do most tasks with IIS 7+. Would that meet your requirements?
15,496
https://en.wikipedia.org/wiki/Amblygaster
Wikipedia
Open Web
CC-By-SA
2,023
Amblygaster
https://en.wikipedia.org/w/index.php?title=Amblygaster&action=history
English
Spoken
47
128
Amblygaster is a small genus of sardinellas in the herring family Dorosomatidae. It currently contains three species. Species Amblygaster clupeoides Bleeker, 1849 (Bleeker's smoothbelly sardinella) Amblygaster leiogaster (Valenciennes, 1847) (Smoothbelly sardinella) Amblygaster sirm (Walbaum, 1792) (Spotted sardinella) References Amblygaster Taxa named by Pieter Bleeker Marine fish genera
34,563
https://stackoverflow.com/questions/46636282
StackExchange
Open Web
CC-By-SA
2,017
Stack Exchange
Cody Gray - on strike, https://stackoverflow.com/users/3404097, https://stackoverflow.com/users/366904, philipxy
English
Spoken
339
588
Decompose the following relation into BCNF Given a Relation R with attributes A, B, C, D, E and set of Functional Dependencies A->B, BC->E, ED->A. Decompose it into high normal form. Please show what you are able to do. Google 'stackexchange homework' & read [ask]. We're not here to do your homework. From the definition of candidate key: In the relational model of databases, a candidate key of a relation is a minimal superkey for that relation; that is, a set of attributes such that: The relation does not have two distinct tuples (i.e. rows or records in common database language) with the same values for these attributes (which means that the set of attributes is a superkey) There is no proper subset of these attributes for which (1) holds (which means that the set is minimal). Given the F.D's only C and D come on the left side, which means every key must possess C and D. closure(CD) is not equal to all attributes, however, from the F.D's we can clearly see that: closure(CDA) = closure(CDB) = closure(CDE) = set of all attributes, this means that all three CDA, CDB and CDE are candidate keys. Now let us follow the BCNF decomposition algorithm given in this stanford lecture. Given a schema R. Compute keys for R. Repeat until all relations are in BCNF. Pick any R' having a F.D A --> B that violates BCNF. Decompose R' into R1(A,B) and R2(A,Rest of attributes). Compute F.D's for R1 and R2. Compute keys for R1 and R2. A-->B violates BCNF as A is not a key, so we decompose R into R1(A,C,D,E) and R2(A,B). R2 is in BCNF now, but R1 is not due to F.D ED-->A, as ED is not a key. So we decompose R1 further as: R3(C,D,E) and R4(A,E,D), now clearly both R3 an R4 are in BCNF. From what source are these quotations being taken? You need to include a link to that source, along with the name of the author, in your answer. See: https://stackoverflow.com/help/referencing
2,650
https://electronics.stackexchange.com/questions/332769
StackExchange
Open Web
CC-By-SA
2,017
Stack Exchange
Captain Caboose, Kevin White, Transistor, https://electronics.stackexchange.com/users/139677, https://electronics.stackexchange.com/users/41003, https://electronics.stackexchange.com/users/73158
English
Spoken
742
1,020
Electrolysis Current Question I have seen images online that show the current of electrons going from Negative to Positive in electrolysis with water but with my knowledge, the electron flow should flow from Positive to Negative. I am having issues finding out why this is which is why I have come to the Electrical Engineering side of this website. For electrolysis, is the flow POS ---> NEG or NEG ---> POS? Thanks and sorry for dumb question Note that during electrolysis, there are no electrons flowing in the water. During electric currents inside electrolytes, the charge-carriers are charged atoms (ions.) In acids, the main charge-carrier is the proton (also called the +H ion.) For example, in salt water, an electric current is made up of positive +Na ions flowing one way, and negative -Cl ions flowing the other. Imagine them as two clouds flowing through each other without interacting. Now ask yourself this: inside a single conductor, if two groups of charges are flowing in opposite directions, which is the "real" direction of the current? If there are opposite charges moving oppositely, how can there be a single direction, or a single current? Simple answer: the purpose of "Conventional Current" is to conceal all the complicated stuff inside conductors. Stuff like positive and negative ions flowing in salt water (or in acids, or alkaline solutions.) Electron-flows are made of Conventional Current. Ammeters measure Conventional Current. "Conventional Current" happens whenever we add the flows of positive particles to the reversed flows of negative particles. For salt water, just subtract the negative -Cl amperes from the positive +Na amperes, and that gives us a single number in amps. (Subtracting a negative number will increase the total Conventional Current, of course.) Note that human bodies are made of salt water. Whenever you get a shock, no electrons flowed through your body at all. The amperes were made of flowing +Na, +K, -Cl, +H, and -OH charged ion particles. If we try to inject electrons into salt water (or into human skin,) the electrons won't go in. Instead we just get chemistry at the surface, where the positive ions rush to meet with the incoming electrons from the metal wire. The two cancel out, forming neutral metals (sodium and potassium,) while the +H ions cancel with electrons to produce hydrogen gas. At the surface, electrons and positive atoms are flowing together and neutralizing. Finally: inside metals, the movable charge-carriers are the negative electrons. For this reason, it SEEMS like conventional current must be backwards. But actually it's only a problem for metal conductors. Out in nature, metallic conductivity is rare, and most electric currents are flows of positives and negatives, both at the same time in opposite directions. Whenever pos and neg are flowing in opposite directions, there is no "One True Direction," and no "Backwards." Weird trivia: suppose we rotate a metal wire circuit slowly backwards against the electric current, so the electrons stop in place. The current doesn't stop. Instead, the electric current is now composed of positive copper ions moving forward! This demonstrates that electric current inside wires was never a negative flow at all. Instead it was a relative flow between the metal's electron-sea and the metal's positive-charged atom grid. If we say that "electrons flow in wires," that's only true for non-moving wires. If the metal is moving, then both the positives and the negatives are flowing. The difference between their flows is called "amperes of conventional current." Electrons always flow towards positive. Conventional current flows the other way - from positive to negative. This convention was established before the discovery of the electron by J.J. Thompson. For electrolysis, is the flow POS ---> NEG or NEG ---> POS? For electrolysis the charge carriers could be electrons (-) or positive ions (+). They will always migrate to the opposite polarity node. (The common word for anode / cathode escapes me just now.) Thank you, I was thinking of current. I am self teaching myself this stuff so thank you for helping me understand this better. I've added a little more regarding electrolysis. @Transistor - you may be thinking of "electrode". ELECTRONS flow from negative to positive, CURRENT flows form positive to negative. If you remember electrons have a negative charge you may be able to understand it better. Thank you, I was thinking of current. I am self teaching myself this stuff so thank you for helping me understand this better.
16,027
https://pt.wikipedia.org/wiki/Strikeforce%3A%20Rockhold%20vs.%20Jardine
Wikipedia
Open Web
CC-By-SA
2,023
Strikeforce: Rockhold vs. Jardine
https://pt.wikipedia.org/w/index.php?title=Strikeforce: Rockhold vs. Jardine&action=history
Portuguese
Spoken
171
321
Strikeforce: Rockhold vs. Jardine foi um evento de artes marciais mistas promovido pelo Strikeforce, ocorrido em 7 de janeiro de 2012 no Hard Rock Hotel and Casino em Las Vegas, Nevada. Background Começando nesse evento, as lutas preliminares foram transmitidas na Showtime Extreme antes do card principal, transmitido na Showtime. Miesha Tate era esperada para defender seu Cinturão Peso Galo Feminino do Strikeforce contra a ex-campeã Sarah Kaufman nesse evento, mas a luta foi cancelada. Luke Rockhold era esperado para enfrentar com Tim Kennedy, mas uma lesão no joelho fez Kennedy desistir dessa luta e ele foi substituído por Keith Jardine, fazendo sua estréia no peso médio. A luta entre Rockhold e Kennedy acabou ocorrendo no Strikeforce: Rockhold vs. Kennedy, quando Rockhold defendeu seu título por decisão unânime. Bobby Green era esperado para enfrentar o estreante na organização Alonzo Martinez no evento, mas teve que se retirar do evento por conta de uma lesão. Ele foi substituído pelo também estreante Estevan Payan. Resultados Ligações externas Strikeforce 2012 nas artes marciais mistas
929
https://unix.stackexchange.com/questions/330120
StackExchange
Open Web
CC-By-SA
2,016
Stack Exchange
Ipor Sircer, https://unix.stackexchange.com/users/182562
English
Spoken
219
406
How to add a user that accept any password as a valid password? How to add a user that accept any password as a valid password? PS: I am aware of the security issue. The user will have a very restricted access (as the guest user in Ubuntu). related question: How to log into another user if the entered password is wrong? look at /etc/pam.d/passwd. This configuration was tested on Ubuntu 16.04.1 LTS Server. Modify /etc/pam.d/common-auth. # [...] auth [success=2 default=ignore] pam_unix.so nullok_secure auth [success=1 default=ignore] pam_succeed_if.so user = the_username # [...] auth requisite pam_deny.so # [...] auth required pam_permit.so # [...] The success=x portion tells PAM to skip x rules on success. Substitute the real username for the_username, above. So, all users first try to authenticate with pam_unix.so, which requires a correct username and password in order to succeed. If authentication succeeds with pam_unix.so, then proceed to pam_permit.so. That's the default behavior. If authentication failed with pam_unix.so, proceed to pam_succeed_if.so, which succeeds whenever a user enters the username of the_username, using whatever password was entered. If both pam_unix.so and pam_succeed_if.so fail, then proceed to pam_deny.so; otherwise, proceed to pam_permit.so. A word of caution: be very careful on a live system because it's easy to make a mistake and lock yourself out, probably requiring a fix via rescue media.
19,572
https://fa.wikipedia.org/wiki/%D8%B2%D8%A7%D9%88%DB%8C%D8%A9%D8%A7%D9%84%D8%B9%D9%88%D8%A7%D8%A1
Wikipedia
Open Web
CC-By-SA
2,023
زاویةالعواء
https://fa.wikipedia.org/w/index.php?title=زاویةالعواء&action=history
Persian
Spoken
53
192
زاویةالعواء یا بتا دوشیزه یک ستاره است که در صورت فلکی دوشیزه قرار دارد. منابع اجرام اچ‌آر اجرام اچ‌آی‌پی اجرام بایر اجرام فلمستید اجرام کاتالوگ هنری دراپر اجرام گلیز و جی‌جی ستارگان دارای نام خاص ستارگان رشته اصلی کلاس F ستاره‌های از نوع خورشیدی ستاره‌های موجود در فهرست نظرسنجی بن صورت فلکی دوشیزه
24,018
https://pt.wikipedia.org/wiki/Castelo%20de%20Bragan%C3%A7a
Wikipedia
Open Web
CC-By-SA
2,023
Castelo de Bragança
https://pt.wikipedia.org/w/index.php?title=Castelo de Bragança&action=history
Portuguese
Spoken
1,779
3,424
O Castelo de Bragança localiza-se na freguesia de Sé, Santa Maria e Meixedo, no centro histórico da cidade de Bragança, no município e distrito do mesmo nome, em Portugal. Em Trás-os-Montes, no extremo nordeste do país, à margem do rio Fervença, é um dos mais importantes e bem preservados castelos portugueses. Do alto de seus muros avistam-se as serras de Montesinho e de Sanábria (a norte), a de Rebordões (a nordeste) e a de Nogueira (a oeste). No século XX, o castelo foi classificado como Monumento Nacional por decreto publicado em 23 de junho de 1910. História Antecedentes Aceita-se que primitiva ocupação humana do local se deu em local vizinho da atual cidade, onde se ergueu um castro no período Neolítico. Após a Invasão romana da Península Ibérica essa defesa teria sido reformulada, dominando a estrada romana que teria cortado a região. Aquando das invasões bárbaras, foi denominada como Brigância e, posteriormente, ocupada pelos muçulmanos, vindo a ser arrasada durante as lutas da Reconquista cristã da península. O castelo medieval Em meados do século X, à época do repovoamento da região de Guimarães pelo conde Hermenegildo Gonçalves e sua esposa Mumadona Dias, os domínios de Bragança tinham como senhor um irmão de Ermenegildo, o conde Paio Gonçalves. Posteriormente, o senhorio passou para a posse de um ramo da família Mendes, encontrando-se, conforme mencionado em documento datado 7 de Julho de 1128, no domínio de Fernão Mendes de Bragança II, cunhado de D. Afonso Henriques (1112-1185). Considera-se que, nesse período, por razões de defesa, a povoação tivesse sido transferida para o atual sítio, no outeiro da Benquerença, à margem do rio Fervença, reaproveitando-se os materiais na construção das novas residências e de um castelo para a defesa das gentes. As informações mais seguras, entretanto, referem que, pela importância da sua posição estratégica sobre a raia com a Galiza, em 1187 recebeu Carta de Foral de D. Sancho I (1185-1211). Este soberano dotou, à época, a povoação com a primeira cerca amuralhada (1188). Os conflitos entre este soberano e o rei D. Afonso IX de Leão levaram a que esta região fosse invadida pelas forças leonesas (1199) até à reação do soberano português. Sob o reinado de D. Dinis (1279-1325), determinou-se erguer um segundo perímetro amuralhado (1293), o que indica a prosperidade do povoado. O seu sucessor, D. Afonso IV (1325-1357), ao subir ao trono, confiscou os bens de seu irmão ilegítimo, D. Afonso Sanches, que então residia na vila de Albuquerque. Defendendo os seus interesses, D. Afonso Sanches declarou guerra ao soberano e invadiu Portugal pela fronteira de Bragança, matando gentes, saqueando bens e destruindo propriedades. A paz seria acordada, com dificuldade, pela viúva de D. Dinis, a Rainha Santa Isabel. Posteriormente, já sob o reinado de D. Fernando (1367-1383), o castelo de Bragança recebeu obras de beneficiação. Nesta fase, em virtude do envolvimento do soberano português na disputa sucessória de Castela, Bragança foi cercada e ocupada pelas tropas castelhanas, retornando à posse portuguesa só depois da assinatura do Tratado de Alcoutim (1371). Na crise de 1383-1385, aberta pela sucessão deste soberano, a lealdade do alcaide de Bragança, João Afonso Pimentel, oscilou entre Portugal e Castela: partidário da herdeira D. Beatriz e de seu esposo João I de Castela, apenas por diligências do Condestável D. Nuno Álvares Pereira, em 1386, veio a reconhecer a soberania de D. João I (1385-1433). Porém, em 1398, tendo o novo soberano deixado impune o assassino de sua filha D. Brites, o alcaide de Évora, Martim Afonso de Melo, como represália retornou ao partido de Castela, para onde emigrou, fazendo-lhe menagem da sua povoação e castelo, que só retornariam à posse portuguesa, agora pelo Tratado de Segóvia (1400). D. João procedeu-lhe, a partir de 1409, à modernização e reforço das defesas, obras inscritas na tarefa maior que se impôs, de reforço daquela fronteira. O casamento de D. Afonso (1.º Duque de Bragança), filho bastardo de D. João I, com D. Beatriz Pereira de Alvim, filha de D. Nuno Álvares Pereira, inaugurou a Casa de Bragança. Data desse período a construção da imponente torre de menagem, estando as obras concluídas por volta de 1439, no reinado de seu sucessor, D. Duarte (1433-1438). D. Afonso V (1438-1481) elevou a vila de Bragança à condição de cidade (1466). Sob o reinado de D. Manuel I (1495-1521), a povoação e seu castelo encontram-se figurados por Duarte de Armas (Livro das Fortalezas, c. 1509). Da crise de sucessão de 1580 aos nossos dias Durante a crise de sucessão de 1580, Bragança tomou partido por D. António, Prior do Crato. No século XVII, ao se encerrar o período da Dinastia Filipina, quando da Guerra da Restauração da independência portuguesa, a cerca do antigo castelo perdeu diversas ameias, devido à instalação de peças de artilharia no espaço dos adarves. Em 1762, as tropas espanholas que invadiram Trás-os-Montes sob o comando do marquês de Sarria, assaltaram os muros do castelo e as casas que então se colavam às muralhas, causando extensos danos. Foram repelidas pelas forças portuguesas sob o comando do conde de Lippe. Às vésperas da Guerra Peninsular, o trecho leste dos muros foi aproveitado para a construção do aquartelamento de um batalhão de infantaria. Nesse período repeliu as tropas napoleónicas, fase em que a região conviveu com novas ondas de saques e pilhagens. A partir da década de 1930 a Direção-Geral dos Edifícios e Monumentos Nacionais (DGEMN) iniciou uma extensa intervenção de consolidação e restauro, que incluiu a recolocação de ameias em toda a extensão dos muros, a demolição do quartel oitocentista e de diversas edificações adossadas aos muros, bem como a reposição de troços desaparecidos de muralhas e a reconstrução da Porta da Traição. Desde 1936, um museu histórico-militar está instalado nas dependências da torre de menagem, sendo um dos mais visitados do país. Características O castelo, de planta ovalada, erguido na cota de 700 metros acima do nível do mar, é constituído por uma cerca ameada com um perímetro de 660 metros, reforçada por quinze cubelos. Os panos de muralhas, com a espessura média de dois metros, envolvem o núcleo histórico da cidade, ocupando uma área de cerca de três hectares e delimitando quatro espaços, orientados por dois eixos viários, cujo principal é a antiga rua da Cidadela. No seu interior, o visitante pode apreciar as edificações da Domus Municipalis (exemplar único no país da arquitetura civil românica e que se acredita tenha tido, primitivamente, as funções de cisterna), da Igreja de Santa Maria (ou de Nossa Senhora do Sardão) e o Pelourinho medieval. Nessa cerca, rasgam-se três portas (duas sob a invocação de Santo António e a Porta do Sol, a Leste) e dois postigos (a Porta da Traição e o Postigo do Poço do Rei). A porta principal, de Santo António, em arco de volta perfeita, entre dois torreões, é defendida por uma barbacã, na qual se situa a Porta da Vila, em arco ogival. No interior, na praça de armas, é possível observar as adaptações dos acessos e as plataformas destinadas à artilharia. No setor Norte, onde se ergueram as instalações do Batalhão de Caçadores n.º 3, destaca-se a Torre de Menagem, de planta quadrada, com 17 metros de largura, erguendo-se a 34 metros de altura, adossada à cerca. Em alvenaria de xisto, rocha abundante na região, nos cunhais e nas aberturas foi empregado o granito. O seu interior, onde se encontram o calabouço e a cisterna, divide-se em dois pavimentos, com salas cobertas por abóbadas de aresta, reforçadas por arcos torais. Primitivamente, uma ponte levadiça dava acesso à a porta, em plano mais elevado, hoje substituída por uma escada externa, de alvenaria adossada à face Norte da sua couraça. Na face Sul, a meia altura da torre, encontra-se uma pedra de armas com o brasão da Casa de Avis. O topo é coroado por ameias com seteiras cruzetadas, balcões com matacães, com quatro guaritas cilíndricas nos vértices, dominando, na face Leste e na face Sul, duas janelas de góticas maineladas. Uma cerca, reforçada por sete cubelos (três a Leste, três a Oeste e um a Sul) de planta circular, defendem o exterior da torre, delimitando um espaço aproximadamente retangular. Ainda pelo lado Norte da cerca exterior, junto a um dos cubelos, destaca-se a chamada Torre da Princesa, antigo Paço do Alcaide. Edifício de características residenciais (torre-alcáçova), a sua existência é cercada de histórias, uma das mais populares a Lenda da princesa moura. Em tempos históricos, afirma-se que foi habitada por D. Sancha, irmã de D. Afonso Henriques, a título de refúgio diante das infidelidades conjugais praticadas por seu esposo Fernão Mendes. Nela, também, esteve encarcerada D. Leonor, esposa do quarto duque de Bragança, D. Jaime, acusada (injustamente) de adultério pelo próprio marido. O duque acabou por assassinar a esposa, no Paço Ducal de Vila Viçosa, a punhaladas, a 2 de Novembro de 1512. No setor sul, um saliente de planta quadrangular é fechado pelo chamado Poço del'Rei, estrutura quinhentista com a função de defesa de uma cisterna. A lenda da Torre da Princesa A tradição local refere que há muito, quando a povoação ainda era a aldeia da Benquerença, existiu uma bela princesa órfã, que ali vivia com o seu tio, o senhor do castelo. Esta princesa apaixonou-se por um nobre, valoroso e jovem cavaleiro, porém carente de recursos. Por esse motivo, o jovem partiu da aldeia em longa jornada em busca de fortuna, prometendo retornar apenas quando se achasse digno de pedir-lhe a mão. Nesse ínterim, durante anos a fio, a jovem recusou todos os seus pretendentes, até que o seu tio, impaciente, prometeu-a a um amigo, forçando-a ao compromisso. Ao ser apresentada ao candidato do tio, a jovem confessou-lhe que o seu coração pertencia a outro homem, cujo retorno aguardava há anos. A revelação enfureceu o tio, que decidiu aumentar a coerção por meio um estratagema: nessa noite, disfarçou-se como um fantasma e, penetrando por uma das duas portas dos aposentos da princesa, simulando ser o fantasma do jovem ausente, afirmou-lhe com voz lúgubre, que ela estava condenada para sempre à danação, caso não aceitasse casar-se com o novo pretendente. Prestes a obter um juramento por Cristo por parte da princesa, milagrosamente abriu-se a outra porta e, apesar de ser noite, um raio de sol penetrou nos aposentos, desmascarando o tio impostor. Daí em diante, a princesa passou a viver recolhida na torre que hoje leva o seu nome, e as duas portas passaram a ser conhecidas como Porta da Traição e Porta do Sol, respectivamente. Ver também Lista de património edificado no distrito de Bragança Ligações externas Instituto Português de Arqueologia Sé (Bragança) Património edificado em Bragança Bragança Monumentos nacionais no distrito de Bragança Lendas de Portugal Castelos no distrito de Bragança
34,911
https://ceb.wikipedia.org/wiki/Lasmenia
Wikipedia
Open Web
CC-By-SA
2,023
Lasmenia
https://ceb.wikipedia.org/w/index.php?title=Lasmenia&action=history
Cebuano
Spoken
32
76
Kahenera sa mga uhong ang Lasmenia. Ang Lasmenia sakop sa ka-ulo nga Ascomycota, ug kaginharian nga abungawg-uhong. Ang kladogram matud sa Catalogue of Life mao: Ang mga gi basihan niini Abungawg-uhong Lasmenia
20,032
https://es.wikipedia.org/wiki/Silometopus
Wikipedia
Open Web
CC-By-SA
2,023
Silometopus
https://es.wikipedia.org/w/index.php?title=Silometopus&action=history
Spanish
Spoken
97
274
Silometopus es un género de arañas araneomorfas de la familia Linyphiidae. Se encuentra en la zona paleártica. Lista de especies Según The World Spider Catalog 12.0: Silometopus acutus Holm, 1977 Silometopus ambiguus (O. Pickard-Cambridge, 1905) Silometopus bonessi Casemir, 1970 Silometopus braunianus Thaler, 1978 Silometopus crassipedis Tanasevitch & Piterkina, 2007 Silometopus curtus (Simon, 1881) Silometopus elegans (O. Pickard-Cambridge, 1872) Silometopus incurvatus (O. Pickard-Cambridge, 1873) Silometopus nitidithorax (Simon, 1914) Silometopus reussi (Thorell, 1871) Silometopus rosemariae Wunderlich, 1969 Silometopus sachalinensis (Eskov & Marusik, 1994) Silometopus tenuispinus Denis, 1949 Silometopus uralensis Tanasevitch, 1985 Referencias Enlaces externos En ION Nomenclator Zoologicus Erigoninae
35,091
https://de.wikipedia.org/wiki/Gundula%20K%C3%B6ster
Wikipedia
Open Web
CC-By-SA
2,023
Gundula Köster
https://de.wikipedia.org/w/index.php?title=Gundula Köster&action=history
German
Spoken
222
472
Gundula Köster (* 11. Januar 1966) ist eine deutsche Schauspielerin und Hörspielsprecherin. Leben Gundula Köster wurde als Tochter des Schauspielers Erhard Köster geboren. Ihre ältere Schwester Ev-Katrin Weiß arbeitet im selben Beruf. Von 1982 bis 1986 besuchte Köster die Hochschule für Schauspielkunst „Ernst Busch“ Berlin. Engagements und Gastverträge führten sie an das Nationaltheater Weimar, wo sie die Titelrolle in Sophokles’ Tragödie Antigone verkörperte, an das Theater am Goetheplatz in Bremen, an das Münchner Prinzregententheater, auf den Theaterkahn Dresden, sowie in Berlin an das Theater im Palais und das Maxim-Gorki-Theater. Weitere Rollen waren unter anderem die Ljudmilla in Wassa Schelesnowa von Maxim Gorki, Constanze Mozart in Peter Shaffers Amadeus oder Angelique im Eingebildeten Kranken von Molière. Bis Ende der 2000er-Jahre arbeitete Köster auch umfangreich vor der Kamera. Im Fernsehen der DDR war sie in der Krimireihe Der Staatsanwalt hat das Wort zu sehen und in mehreren Folgen der Kiezgeschichten. Nach 1990 wirkte sie gastweise in Serien wie Wolffs Revier, Der letzte Zeuge, Im Namen des Gesetzes und in einigen Folgen der Reihe Polizeiruf 110 mit. Seit Mitte der 1980er- bis zum Beginn der 2000er-Jahre war Köster außerdem eine vielbeschäftigte Hörspielsprecherin. Gemeinsam mit dem Bühnenbildner Martin Köster-Rößling hat sie eine Tochter. Gundula Köster lebt in Berlin. Filmografie (Auswahl) Hörspiele (Auswahl) Weblinks Gundula Köster eigene Website Einzelnachweise Theaterschauspieler Filmschauspieler Hörspielsprecher Synchronsprecher Deutscher Geboren 1966 Frau
44,765
https://fr.wikipedia.org/wiki/Mariage%20mortel
Wikipedia
Open Web
CC-By-SA
2,023
Mariage mortel
https://fr.wikipedia.org/w/index.php?title=Mariage mortel&action=history
French
Spoken
271
502
Mariage mortel (The Perfect Wife) est un téléfilm américain réalisé par Don E. FauntLeRoy et diffusé en 2001 à la télévision. Synopsis Rubin a toujours occupé la première place dans la vie de sa sœur, Leah. Depuis qu'ils sont petits, celle-ci prend soin de son frère, le protégeant de leur sévère beau-père. Un après-midi, sur une route de campagne en Floride, Rubin meurt, victime d'un accident de voiture. Après cette catastrophe, Leah, désespérée, est déterminée à supprimer toutes les personnes qu'elle considère responsables de cette tragédie. Fiche technique Date de sortie : aux USA Réalisateur : Don E. FauntLeRoy Scénariste : George Saunders et Richard Dana Smith Producteur : Pierre David, Carmi Gallo Costumes : Jose Rivera Décors : Debbie Andrews Musique : Richard Bowers Photo : Don E. FauntLeRoy Pays d'origine : Langue : anglais Genre : Film dramatique Durée : 90 minutes Distribution Perry King : Dr. Robert Steward Shannon Sturges : Leah Tyman / Liza Steward Lesley-Anne Down : Helen Coburn William R. Moses : Dr. Brad Steward Michele Greene : Felicia Laurel Max Gail : Ted Vance Michael Fairman : Orville Gleason Luisa Leschin : Greta Molina Sondra Currie : Nora Toling Khadijah Karriem : Judith Dave Cole : Ruben Tyman Alex Fatovich : Maryanne Gleason Bonita Brisker : l'infirmière en chef Christopher Kriesa : McGovern Jack Ong : le médecin de Tallahassee Jacqueline Steiger : Leah Tyman (à 8 ans) Craig Patton : Wayne Tyman Chase Ellison : Ruben Tyman (à 5 ans) et selon le carton de doublage télévisuel. Références Lien externe Téléfilm américain des années 2000 Téléfilm diffusé en 2001 Téléfilm dramatique Téléfilm thriller
23,030
https://de.wikipedia.org/wiki/William%20Allen%20%28Segler%29
Wikipedia
Open Web
CC-By-SA
2,023
William Allen (Segler)
https://de.wikipedia.org/w/index.php?title=William Allen (Segler)&action=history
German
Spoken
159
349
William Charles „Bill“ Allen (* 20. Dezember 1947 in Minneapolis) ist ein ehemaliger US-amerikanischer Segler. Erfolge William Allen nahm an den Olympischen Spielen 1972 in München, dessen Segelregatten im Olympiazentrum Schilksee in Kiel stattfanden, neben William Bentsen als Crewmitglied des US-amerikanischen Bootes der Soling-Klasse von Skipper Harry Melges teil. Sie gewannen drei der sechs Wettfahrten und schlossen die beiden übrigen in die Wertung eingehenden Wettfahrten auf den Rängen zwei und drei ab, womit sie die Regatta mit 8,7 Punkten mit deutlichem Vorsprung als Olympiasieger beendeten. Die zweitplatzierten Schweden um Stig Wennerström kamen auf 31,7 Punkte. 1970 gewann Allen den US-amerikanischen Meistertitel in der Bootsklasse E-Scow sowie zwei Jahre darauf auch im Finn-Dinghy. Allen schloss 1971 ein Studium der Betriebswirtschaftslehre am Colorado College ab. Weblinks William Allen in der Datenbank von World Sailing (englisch) Regattasegler (Vereinigte Staaten) Olympiasieger (Segeln) Olympiateilnehmer (Vereinigte Staaten) Teilnehmer der Olympischen Sommerspiele 1972 Panamerikaspielesieger (Segeln) Teilnehmer an den Panamerikanischen Spielen (Vereinigte Staaten) US-Amerikaner Geboren 1947 Mann
44,492